wangrong
2021-11-24 749179ef60bca3074f8e12325b92b0d406d9246c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Markdown Player</title>
</head>
<body>
 
<h1>接口清单:</h1>
 
<hr/>
 
<h3>0. 登录</h3>
 
<pre><code>  接口地址:#{host:port}/dataservice/getNoTokenData
  参数:
    bid:login
    userid:  用户账户
    psw:  密码
  ex:
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=login&amp;userid=admin&amp;psw=admin123</code></pre>
 
<hr/>
 
<h3>1. 全网频率清单</h3>
 
<pre><code>  接口地址:#{host:port}/dataservice/getNoTokenData
  参数:
    bid: getCurrNetFreqs # 当前监测网频率清单
  ex:
      http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getCurrNetFreqs</code></pre>
 
<hr/>
 
<h3>2. 频率对应的时间轴</h3>
 
<pre><code>  接口地址:#{host:port}/dataservice/getNoTokenData
    参数:
            bid: 人工-getTimeline   自动-getTimeline_auto
            frequencystr: ex 1557
  ex: http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getTimeline&amp;frequencystr=1557</code></pre>
 
<hr/>
 
<h3>3.  全网设备状态</h3>
 
<pre><code>    http://wiibox.xicp.io:19868/FRP/TMonitorpointInfo.do?method=searchByPage&amp;type=1&amp;key=10010&amp;iDisplayStart=0&amp;iDisplayLength=100000</code></pre>
 
<hr/>
 
<h3>4.  (地图渲染)全网设备指定频率的场强 (把长强值加载到每个点的label上显示)</h3>
 
<pre><code>  接口地址:#{host:port}/dataservice/getNoTokenData
    参数:
        bid: getNetStrength
        frequency: ex 1557
        wdate: ex  2021-07-02
        whour: ex  08
  ex: http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getNetStrength&amp;frequency=1557&amp;wdate=2021-07-07&amp;whour=21</code></pre>
 
<hr/>
 
<h3>4. 发射塔清单</h3>
 
<pre><code>  接口地址:#{host:port}/dataservice/getNoTokenData
  参数:
    bid: getLauncher
  ex: http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getLauncher</code></pre>
 
<hr/>
 
<h3>5. (右上)所有设备压制效果 (指定频率、小时)  右上</h3>
 
<pre><code>接口地址:#{host:port}/dataservice/getNoTokenData
    参数:
        bid: 人工-getFreqParams   自动-getFreqParams_auto
        frequencystr: ex 1557
        wdate: ex  2021-07-02
        whour: ex  08
ex: http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getFreqParams&amp;wdate=2021-06-30&amp;whour=12&amp;frequencystr=1557</code></pre>
 
<hr/>
 
<h3>7. (右中)指定频率的 压制覆盖率(历史)</h3>
 
<pre><code>    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getFreqSuppress&amp;frequencystr=1557
        参数:
        bid: 人工-getFreqSuppress   自动-getFreqSuppress_auto
        frequencystr: ex 1557
        wdate: ex  2021-07-02
        whour: ex  08</code></pre>
 
<hr/>
 
<h3>8. (右下)压制覆盖率 历史 (收藏频率清单)</h3>
 
<pre><code>    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getFreqsCover
        参数:
        bid: 人工-getFreqsCover   自动-getFreqsCover_auto
9. (左上)压制覆盖率 (指定频率、小时)
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getCoverByArea&amp;wdate=2021-07-02&amp;whour=02&amp;frequencystr=1557
        参数:
        bid: 人工-getCoverByArea   自动-getCoverByArea_auto
        frequencystr: ex 1557
        wdate: ex  2021-07-02
        whour: ex  08
10. (左下)频率运行图
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getFreqRuntime&amp;frequencystr=1557
        参数:
        bid: 人工-getFreqRuntime   自动-getFreqRuntime_auto
        frequencystr: ex 1557
11. 设备控制面板
a. 设备状态 当前监听频率、当前录制通道设置
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getChannelRecord&amp;monitorpointId=22
    参数:bid=getChannelRecord  ,monitorpointId=22
 
b. 设备 当前频率清单、频率场强值、频率当前自动评分值
    getCurrPointFreqs # 当前监测点频率清单
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getCurrPointFreqs&amp;monitorpointId=22
    (1) 已收藏频率清单
            获取收藏频率清单:
         http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getFavoriteFreqs
    (2) 添加到收藏
      添加
         http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=addFavoriteFreqs&amp;frequency=1222&amp;adduser=admin
    (3) 取消频率收藏
      http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=delFavoriteFreqs&amp;frequency=1222&amp;canceluser=admin
        i. 取消频率收藏提示
        http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=cancelFavoriteFreqs&amp;frequency=1222
c. 设备 切换频率监听
    (1) 记录频率监听操作记录  post接口
        http://wiibox.xicp.io:8484/dataservice/dealData?bid=setChannelRecord&amp;frequency=146&amp;userid=admin&amp;monitorpointId=22
        参数:bid:setTempRecord
            frequency 录制频率
            userid  用户id
            monitorpointid  当前监测点id
            requesturl   向设备端发起api指令
            success
            msg
            flvurl
    (2) 调用设备端api,将切换指令传输到终端,从终端返回直播地址,并用于直播播放;
    (3) 压制效果评估
        http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:# bid assessPress
        # assessvalue  --评分分值 ,
        # frequency  --频率
        # userid  用户id
        # monitorpointId  监测点
        # taskid   任务id, 若无,传空串
        # recording_time 听取直播的时间
        ex:  http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=assessPress&amp;frequency=1557&amp;assessvalue=3&amp;userid=admin&amp;monitorpointId=22&amp;taskid=13586&amp;recording_time=2021-07-21%2017:00:00
 
d. 设备 切换频率录制
    (1) 调用当前频率录制设置记录,用于提示用户操作会覆盖当前录制设置;
        接口:
        http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=checkChannelRecord&amp;channelid=22&amp;frequency=1557&amp;monitorpointId=22
        参数:bid:checkChannelRecord
            frequency 录制频率
            monitorpointid  当前监测点id
    (2) 记录当前用户录制设置
        接口:post接口
        http://wiibox.xicp.io:8484/dataservice/dealData?bid=setChannelRecord&amp;channelid=22&amp;frequency=1557&amp;userid=admin&amp;monitorpointId=22&amp;requesturl=http://
        参数:bid:setChannelRecord
            frequency 录制频率
            userid  用户id
            monitorpointid  当前监测点id
            requesturl   向设备端发起api指令
            success
            msg
    (3) 调用设备端api,将频率录制指令传输到终端;
e. 历史压制效果
    设备+收藏频率 的历史压制效果折线图
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getPointSuppress&amp;frequencystr=1557&amp;monitorpointId=20
        参数:
        bid: 人工-getPointSuppress   自动-getPointSuppress_auto
        frequencystr: ex 1557
        monitorpointId: ex 16
 
12.  (地图渲染)全网压制覆盖的等高分布图
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getConTour&amp;frequencystr=1557
        参数:
        bid: 人工-getConTour   自动-getConTour_auto
        frequencystr: ex 1557
 
13. 天气接口
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getWeather&amp;datestr=2021-07-07&amp;whour=02
        参数:
        bid: getWeather
        datestr: 2021-07-02
        whour: 02
14. 覆盖评估字典接口
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=assessDict
        参数:
        bid: assessDict
 
15. 评分任务清单调取:
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getAssessTask&amp;userid=admin
        参数:
        bid: getAssessTask
        userid:  当前用户账户
 
16. 上海各区域多边形分布
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getAreaShape
        参数:getAreaShape
 
17. 各点评估结果
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:
        bid: 人工-getAssessValue   自动-getAssessValue_auto
        frequencystr: ex 1557
        wdate: ex  2021-07-02
        whour: ex  08
18. 采集汇聚数据接口
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:
        bid: getStatSepctrum
        querymode:   year  month  day time (四种查询模式  年 月 日 时)
        timevalue1:
        timevalue2:
        statuvalue_:  频率类型参数0-合法频率 1-非法频点 2-误报  3-白名单  4-异地频点 5-疑似非法频点 6-丢失
        frequencystr: ex 1557
        pagesize:  分页查询  页大小(每页记录条数)
        pageno: 页数   第几页
19. 评估任务接口
    接口1:获取未执行完的任务节点
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:
        bid: getAssessSchedule
        userid: 用户账号
             ex:http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getAssessSchedule&amp;userid=zhiban
    接口2:获取未执行的评分任务
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:
        bid: getAssessTask
        schedule_id:上面接口1返回的json中的id字段
        userid: 用户账号
            ex: http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getAssessTask&amp;schedule_id=10&amp;userid=zhiban
20.录制通道管理
    接口1:查询所有录制通道的设置
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:
        bid: getChannelSetting
             ex:http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getChannelSetting
 
21. 获取覆盖评估记录
    接口1:获取覆盖评估记录
    http://wiibox.xicp.io:8484/dataservice/getNoTokenData
        参数:
        bid: getAssessRecord
        taskid:任务id
    ex: http://wiibox.xicp.io:8484/dataservice/getNoTokenData?bid=getAssessRecord&amp;taskid=135666</code></pre>
 
</body>
</html>