AIRIOT物联网低代码平台如何配置交通部JT-808协议?

属性配置可配置终端ID和SIM卡号,数据点配置决定设备传上来的哪些数据可以存储展示。
驱动配置可配置采集周期和通讯超时时间。
AIRIOT物联网低代码平台如何配置交通部JT-808协议?具体操作如下:
属性配置
 
在创建一个模型,名称叫车辆,点击属性配置增加如下属性字段
 
 
终端ID terminalid
SIM卡号 mobileNumber
车牌颜色 plateColor
车辆是否注册 registeredVehicle
鉴权码 authCode
 
之后在资产中配置终端ID和SIM卡号。资产编号填写车牌号
 
驱动配置
 
 
 
填写通讯超时时间
配置数据点
 
 
添加名称和标识即可
名称标识组合如下,需要哪些数据点就添加哪些数据点,类型全是数字
名称
标识
报警标志
warningMark
状态
status
纬度
latitude
经度
longitude
高程
altitude
速度
speed
方向
direction
里程
mileage
油量
oilCapacity
时间
dateTime
线路编号
lineCode
业务类型
serviceType
紧急报警
emergency
超速报警
overSpeed
疲劳驾驶
fatigueDriving
预警
preWarning
GNSS模块发生故障
GNSSFault
GNSS天线未接或被剪断
GNSSAntennaConn
GNSS天线短路
GNSSAntennaShortCircuit
终端主电源欠压
terminalLowPower
终端主电源掉电
terminalOffPower
终端LCD或显示器故障
terminalLCDFault
TTS模块故障
TTSFault
摄像头故障
cameraFault
当天累计驾驶超时
dailyOverDriveTime
超时停车
overTimeParking
进出区域
inOutArea
进出路线
inOutLine
路段行驶时间不足/过长
lineDriveTime
路线偏离报警
lineOffsetPreWarning
车辆VSS故障
VSSFault
车辆油量异常
fuelGaugeFault
车辆被盗(通过车辆防盗器)
stolen
车辆非法点火
illegalIgnition
车辆非法位移
illegalDisplacement
指令
平台会自带配置好指令,下面格式中name是指令名称,params是指令参数
1.实时位置
 
{ "name": "位置信息查询" }
 
2.拍照上传
 
{ "name": "摄像头立即拍摄命令", "params": { "channelid": 7, "shotCommand": 2, "shotInterval": 2, "keepFlag": 0, "resolution": 2, "shotQuality": 5, "brightness": 120, "contrast": 60, "saturation": 60, "hue": 120 } }
 
3.文本信息下发
 
{ "name": "文本信息下发", "params": { "flag": 4, "message": "测试文本20200303" } }
 
4.运营登记
 
{ "name": "运营登记", "params": { "lineCode": 1, "workerCode": "测试员工编号1" } }
5.行车计划下发
 
{ "name": "行车计划下发", "params": { "operationTime": "2020-03-10 12:00:00", "startTime": "2020-03-10 11:41:00", "endTime": "2020-03-10 13:00:00", "dispatchBusQueueCount": 1, "dispatchBusQueue": [ { "lineCode": 202003, "busSign": "龙泉苑街(东)", "busTripNo": "1", "busCode": "1100", "serviceType": 1, "dispatchType": 1, "driverCode": "1588775454", "driverName": "王老五", "conductorCode1": "1001", "conductorCode2": "1002", "startTime": "2020-03-10 11:41:00", "endTime": "2020-03-10 13:00:00", "initialStationCode": 1, "initialStationName": "龙泉苑街(东)", "destinationCode": 8, "destinationName": "龙泉苑街(东)" } ], "additionalContent": "附加内容" } }
 
6.业务变更指令
 
{ "name": "业务变更指令", "params": { "lineCode": 202003, "serviceType": 1, "additionalContent": "附加内容" } }
 
7.多媒体数据上传
 
{ "name": "存储多媒体数据上传命令", "params": { "mediaType": 0, "channelid": 1, "eventCode": 0, "startTime": "2020-03-05 09:00:00", "endTime": "2020-03-05 10:00:00", "deleteFlag": 0 } }
 
8.发车通知
 
{ "name": "发车通知", "params": { "dispatchBusQueue": { "lineCode": 202004, "busSign": "龙泉苑街(东)", "busTripNo": "1", "busCode": "1100", "serviceType": 1, "dispatchType": 1, "driverCode": "1588775454", "driverName": "王老五", "conductorCode1": "1001", "conductorCode2": "1002", "startTime": "2020-03-09 17:27:00", "endTime": "2020-03-09 17:48:00", "initialStationCode": 101, "initialStationName": "老阳关", "destinationCode": 107, "destinationName": "贵阳高新管委" }, "additionalContent": "测试发车通知", "serviceTime": "2020-03-05 12:10:00" } }
 
 
9.乘客信息发布
 
{ "name": "乘客信息发布", "params": { "messageType": 2, "messageCount": 1, "messageItems": [ { "messageNo": 1, "messageContent": "信息内容", "messageExpiration": "2020-03-06 12:00:00", "messagePriority": 1, "messageShowMethod": 1, "messageShowPos": 1 } ] } }
 
 
10.单条存储多媒体数据检索上传命令
{ "name": "单条存储多媒体数据检索上传命令", "params": { "mediaid": 1, "deleteFlag": 0 } }
 
11.行车计划变更
 
{ "name": "行车计划变更", "params": { "changeType": 2, "dispatchBusQueueCount": 1, "dispatchBusQueue": [ { "lineCode": 202003, "busSign": "龙泉苑街(东)", "busTripNo": "1", "busCode": "1100", "serviceType": 1, "dispatchType": 1, "driverCode": "1588775454", "driverName": "王老五", "conductorCode1": "1001", "conductorCode2": "1002", "startTime": "2020-03-10 11:51:00", "endTime": "2020-03-10 13:00:00", "initialStationCode": 1, "initialStationName": "龙泉苑街(东)", "destinationCode": 8, "destinationName": "龙泉苑街(东)" } ] } }
 
 
12.远程录像回放请求
 
{ "name": "远程录像回放请求", "params": { "ipLength": 14, "ipAddress": "39.100.146.181", "tcpPort": 1078, "udpPort": 11, "logicChannelNo": 1, "dataType": 0, "flowType": 0, "storageType": 0, "replayPattern": 0, "playTimes": 0, "startTime": "2020-03-10 11:51:00", "endTime": "2020-03-10 13:00:00" } }
 
13.文件上传指令
 
{ "name": "文件上传指令", "params": { "ipLen": 14, "ip": "39.100.146.181", "port": 10021, "usernameLen": 6, "username": "clwftp", "passwordLen": 8, "password": "dell@123", "uploadPathLen": 17, "uploadPath": "/fileServer/video", "logicChannelNo": 7, "startTime": "2020-05-13 12:50:00", "endTime": "2020-05-13 12:53:00", "warnFlag": 0, "dataType": 0, "flowType": 1, "storageType": 1, "executeCondition": 7 } }
 
14.音视频实时传输控制
 
{ "name": "音视频实时传输控制", "params": { "logicChannelNo": 1, "controlCommand": 0, "dataType": 0, "flowType": 0 } }
 
15.查询资源列表
 
{ "name": "查询资源列表", "params": { "logicChannelNo": 7, "startTime": "2020-05-13 12:50:00", "endTime": "2020-05-13 12:53:00", "warnFlag": 0, "dataType": 0, "flowType": 0, "storageType": 0 } }
 
16.终端上传音视频资源列表
 
{ "name": "终端上传音视频资源列表", "params": { "respSerialNumber": 1, "videoSum": 1, "videoList": [ { "logicChannelNo": 7, "startTime": "2020-03-10 11:51:00", "endTime": "2020-03-10 13:00:00", "warnFlag": 0, "dataType": 0, "flowType": 1, "storageType": 1, "size": 7346868 } ] } }
 
17.报警附件上传
 
{ "name": "报警附件上传", "params": { "ipLength": 14, "ipAddress": "39.100.146.181", "tcpPort": 7611, "udpPort": 11, "terminalid": "3122636", "dateTime": "2020-05-26 10:12:14", "sequenceNumber": 0, "attachmentNum": 5, "warnUid": "98fb02e944b8bd9faf4ee051e9e92077" } }
 
18.录音开始命令
{ "name": "录音开始命令", "params": { "recordCommand": 1, "recordTime": 2, "storeFlag": 0, "audioSampleRate": 0 } }
posted @ 2022-11-16 18:14  AIRIOT平台  阅读(314)  评论(0编辑  收藏  举报