资源状态接口
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>资源状态接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/cm5g_monitor/api/get_imei_resource_status</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">project_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>项目id</td>
</tr>
<tr>
<td style="text-align: left;">imei</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>终端标识</td>
</tr>
<tr>
<td style="text-align: left;">search</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>模糊查询</td>
</tr>
<tr>
<td style="text-align: left;">page_number</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>分页:第几页</td>
</tr>
<tr>
<td style="text-align: left;">page_count</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>分页:每页数量</td>
</tr>
<tr>
<td style="text-align: left;">resource_type</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>资源类型</td>
</tr>
<tr>
<td style="text-align: left;">begin_time</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>查询开始时间</td>
</tr>
<tr>
<td style="text-align: left;">end_time</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>查询结束时间</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
&quot;status&quot;: 0,
&quot;message&quot;: &quot;执行成功&quot;,
&quot;total&quot;: 100,
&quot;result&quot;: [根据资源类型不同,返回数据不同,详见下列]
}
1、终端状态信息:cm5g_dial_test_tel_status_inf
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;systemtime&quot;: &quot;终端系统时间&quot;,
&quot;devciemodel&quot;: &quot;开机时间&quot;,
&quot;cpumodel&quot;: &quot;运行时间单位秒&quot;,
&quot;hardwareversion&quot;: &quot;CPU使用率&quot;,
&quot;softwareversion&quot;: &quot;内存使用率&quot;,
&quot;flashsize&quot;: &quot;FLASH使用率&quot;,
&quot;wifiapcount&quot;: &quot;终端设备温度&quot;,
&quot;lancount&quot;: &quot;设备是否在线&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
2、蜂窝模块信息:cm5g_dial_test_tel_cellular_module_inf
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;vendor&quot;: &quot;提供商信息&quot;,
&quot;model&quot;: &quot;型号信息&quot;,
&quot;version&quot;: &quot;版本信息&quot;,
&quot;imsi&quot;: &quot;用户标识&quot;,
&quot;eff_from_date&quot;: &quot;数据开始时间&quot;,
&quot;eff_to_date&quot;: &quot;数据有效结束时间&quot;,
&quot;curr_flag&quot;: &quot;有效标识&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
3、蜂窝状态信息表:cm5g_dial_test_tel_cellular_status_inf
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;ip&quot;: &quot;分配IP&quot;,
&quot;netgeneration&quot;: &quot;蜂窝网络技术&quot;,
&quot;rsrp&quot;: &quot;参考信号接收功率&quot;,
&quot;rsrq&quot;: &quot;信号接收质量&quot;,
&quot;rssi&quot;: &quot;接收信号强度&quot;,
&quot;sinr&quot;: &quot;信号的信干噪比&quot;,
&quot;cqi&quot;: &quot;信道质量&quot;,
&quot;mcs_up&quot;: &quot;调制与编码策略&quot;,
&quot;mcs_down&quot;: &quot;调制与编码策略&quot;,
&quot;ber&quot;: &quot;误块率&quot;,
&quot;uplinkrate&quot;: &quot;上行瞬时速率&quot;,
&quot;downlinkrate&quot;: &quot;下行瞬时速率&quot;,
&quot;sumdatasent&quot;: &quot;累计上行数据量&quot;,
&quot;sumdatareceived&quot;: &quot;累计下行数据量&quot;,
&quot;temperature&quot;: &quot;蜂窝模块温度&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
4、蜂窝小区信息表:cm5g_dial_test_tel_cellular_cell_inf
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;cellid&quot;: &quot;接入小区ID&quot;,
&quot;pci&quot;: &quot;接入小区 PCI&quot;,
&quot;tac&quot;: &quot;跟踪(位置)区号&quot;,
&quot;sysmode&quot;: &quot;接入小区制式&quot;,
&quot;earfcn&quot;: &quot;接入下行主小区频点&quot;,
&quot;band&quot;: &quot;接入下行主小区频段信息&quot;,
&quot;bandwidth&quot;: &quot;接入下行主小区系统带宽&quot;,
&quot;txpower&quot;: &quot;接入小区下行功率&quot;,
&quot;sliceid&quot;: &quot;切片 ID&quot;,
&quot;dnn&quot;: &quot;APN/DNN&quot;,
&quot;neighborcellearfcn&quot;: &quot;邻近小区频点&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
5、终端事件表:cm5g_dial_test_event_info
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;eventtype&quot;: &quot;事件类型&quot;,
&quot;eventtime&quot;: &quot;事件发生时间&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
6、GPS卫星定位系统信息表:cm5g_dial_gps_system_info
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;gprmc&quot;: &quot;推荐最小定位信息&quot;,
&quot;gpgga&quot;: &quot;GPS定位信息&quot;,
&quot;gpgsa&quot;: &quot;当前卫星信息&quot;,
&quot;gpgsv&quot;: &quot;可见卫星信息&quot;,
&quot;gpvtg&quot;: &quot;地面速度信息&quot;,
&quot;bdrmc&quot;: &quot;推荐最小定位信息&quot;,
&quot;bdgga&quot;: &quot;BDS定位信息&quot;,
&quot;bdgsa&quot;: &quot;当前卫星信息&quot;,
&quot;bdgsv&quot;: &quot;可见卫星信息&quot;,
&quot;bdvtg&quot;: &quot;地面速度信息&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
7、Wifi状态信息表:cm5g_dial_wifi_type_info
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;moduleid&quot;: &quot;模块标识信息&quot;,
&quot;ssid&quot;: &quot;SSID&quot;,
&quot;ssidhidden&quot;: &quot;SSID是否隐藏&quot;,
&quot;ip&quot;: &quot;IP地址&quot;,
&quot;mask&quot;: &quot;子网掩码&quot;,
&quot;mac&quot;: &quot;MAC地址&quot;,
&quot;mode&quot;: &quot;工作模式&quot;,
&quot;encryption&quot;: &quot;加密方式&quot;,
&quot;txpower&quot;: &quot;下行发射功率&quot;,
&quot;channel&quot;: &quot;通道号&quot;,
&quot;channelutilization&quot;: &quot;信道利用率&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
8、下挂WiFi设备信息表:cm5g_dial_wifi_down_info
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;ssid&quot;: &quot;SSID&quot;,
&quot;name&quot;: &quot;AP获取设备名称&quot;,
&quot;ip&quot;: &quot;IP地址&quot;,
&quot;mac&quot;: &quot;MAC地址&quot;,
&quot;connectdatetime&quot;: &quot;连接时间&quot;,
&quot;sinr&quot;: &quot;网络下行SINR&quot;,
&quot;signalint32ensity&quot;: &quot;网关接收的终端设备信号强度&quot;,
&quot;negotiatingrate&quot;: &quot;协商速率 KB/秒&quot;,
&quot;uplinkrate&quot;: &quot;下挂Wifi设备上行速率 KB/秒&quot;,
&quot;downlinkrate&quot;: &quot;下挂Wifi设备下行速率 KB/秒&quot;,
&quot;sumdatasent&quot;: &quot;下挂Wifi设备累计上行流量0.00MB&quot;,
&quot;sumdatareceived&quot;: &quot;下挂Wifi设备累计下行流量0.00MB&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
9、Ethernet状态信息表:cm5g_dial_ethernet_type_info
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;moduleid&quot;: &quot;模块标识信息&quot;,
&quot;ifname&quot;: &quot;接口名称&quot;,
&quot;ip&quot;: &quot;设定IP&quot;,
&quot;mask&quot;: &quot;子网掩码&quot;,
&quot;mac&quot;: &quot;MAC地址&quot;,
&quot;mode&quot;: &quot;接口模式WAN/LAN&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}
10、下挂Ethernet设备信息表:cm5g_dial_test_ethernet_down_info
{
&quot;statisticaltime&quot;: &quot;轻量化网管平台采集时间&quot;,
&quot;imei&quot;: &quot;终端标识&quot;,
&quot;ifname&quot;: &quot;接口名称&quot;,
&quot;name&quot;: &quot;下挂的设备名称&quot;,
&quot;ip&quot;: &quot;IP地址&quot;,
&quot;mac&quot;: &quot;MAC地址&quot;,
&quot;ipmethod&quot;: &quot;IP获取方式&quot;,
&quot;connectdatetime&quot;: &quot;连接时间&quot;,
&quot;uplinkrate &quot;: &quot;下挂Ethernet设备上行速率 KB/秒&quot;,
&quot;downlinkrate&quot;: &quot;下挂Ethernet设备下行速率 KB/秒&quot;,
&quot;sumdatasent&quot;: &quot;下挂Ethernet设备累计上行流量0.00MB&quot;,
&quot;sumdatareceived&quot;: &quot;下挂Ethernet设备累计下行流量0.00MB&quot;,
&quot;partner_name&quot;: &quot;所属客户&quot;,
&quot;project_name&quot;: &quot;所属项目&quot;,
&quot;city&quot;: &quot;所属地市&quot;,
&quot;industry&quot;: &quot;所属行业&quot;,
&quot;create_date&quot;: &quot;创建时间&quot;,
&quot;write_date&quot;: &quot;更新时间&quot;,
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">groupid</td>
<td style="text-align: left;">int</td>
<td>用户组id,1:超级管理员;2:普通用户</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>