Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

摄像头立即拍摄测试出现指令超时问题 #1

Open
ljh115 opened this issue Jul 4, 2021 · 0 comments
Open

摄像头立即拍摄测试出现指令超时问题 #1

ljh115 opened this issue Jul 4, 2021 · 0 comments

Comments

@ljh115
Copy link

ljh115 commented Jul 4, 2021

环境搭建完成并对接终端测试基本808指令和1078实时音视频都成功。再测试多媒体出现指令超时不成功。操作过程如下:

  1. 拍照指令发送成功,在gnss-web日志如下:

2021-07-02 19:06:18.521 INFO [http-nio-8088-exec-7] com.gnss.web.command.service.CommandOperationService:114 - 同步指令内容:终端ID:62,指令ID:8801,指令参数:{逻辑通道号=1, 拍摄命令=1, 拍照间隔/录像时间=0, 保存标志=1:保存, 分辨率=0x01:320x240, 图
像/视频质量=1, 亮度=100, 对比度=100, 饱和度=100, 色度=100},commandProto:{"downCommandDesc":"摄像头立即拍摄命令","downCommandId":"8801","fromNode":"web-server","messageBody":"AQABAAABAQFkZGRk","operationId":"617797401008144384","paramsDesc":"{逻
辑通道号=1, 拍摄命令=1, 拍照间隔/录像时间=0, 保存标志=1:保存, 分辨率=0x01:320x240, 图像/视频质量=1, 亮度=100, 对比度=100, 饱和度=100, 色度=100}","requestType":"SYNC","respCommandId":"0001","startTime":1625223978521,"terminalInfo":{"nodeName":"jt
808-server","protocolType":"JT808_2011","terminalId":62,"terminalNum":"19942257112","terminalSimCode":"19942257112","terminalStrId":"62","vehicleNum":"京A-test001","vehiclePlateColor":"YELLOW"},"timeout":15000,"toNode":"jt808-server","wholePacke
t":false}
2021-07-02 19:06:18.522 INFO [http-nio-8088-exec-7] com.gnss.web.command.service.CommandOperationService:119 - 同步指令发送成功到MQ,终端ID:62,指令ID:8801,指令参数:{逻辑通道号=1, 拍摄命令=1, 拍照间隔/录像时间=0, 保存标志=1:保存, 分辨率=0x01:320x
240, 图像/视频质量=1, 亮度=100, 对比度=100, 饱和度=100, 色度=100}
2021-07-02 19:06:18.706 INFO [org.springframework.amqp.rabbit.RabbitListenerEndpointContainer#5-2] com.gnss.web.consumer.TerminalUploadDataReceiver:128 - 收到终端上传数据,终端手机号:19942257112,上传类型:TAKE_PHOTO_RESPONSE,上传内容:{"idCount":1
,"idList":[24],"replyMsgFlowId":555,"result":0}
2021-07-02 19:06:33.523 ERROR [http-nio-8088-exec-7] com.gnss.web.command.service.CommandOperationService:169 - 等待指令应答超时,终端ID:62,终端号:19942257112,指令ID:8801,指令参数:{逻辑通道号=1, 拍摄命令=1, 拍照间隔/录像时间=0, 保存标志=1:保存,
分辨率=0x01:320x240, 图像/视频质量=1, 亮度=100, 对比度=100, 饱和度=100, 色度=100},等待时间:15000

  1. 拍照指令下发终端成功,在jt808-server日志如下:

com.gnss.gateway.common.consumer.AbstractDownCommandReceiver:132 - 下发指令:8801(摄像头立即拍摄命令),终端ID:62,终端手机号:19942257112,车牌号:京A-
test001,流水号:707,参数:{逻辑通道号=2, 拍摄命令=1, 拍照间隔/录像时间=0, 保存标志=0:实时上传, 分辨率=0x01:320x240, 图像/视频质量=1, 亮度=100, 对比度=100, 饱和度=100, 色度=100},消息体:020001000000010164646464,响应指令:0001
2021-07-02 19:55:45.684 INFO [nioEventLoopGroup-4-1] com.gnss.jt808.netty.codec.Jt808FrameDecoder:135 - 收到:7e08050009019942257112c17a02c30000010000001bf87e
2021-07-02 19:55:45.684 INFO [defaultEventExecutorGroup-5-1] com.gnss.jt808.netty.handler.Jt808BusinessHandler:59 - 收到摄像头立即拍摄命令应答(0x0805),终端手机号:19942257112,消息流水号:49530,内容:{应答流水号=707, 结果=0, ID个数=1, ID列表=[27]}
2021-07-02 19:55:52.394 INFO [nioEventLoopGroup-4-1] com.gnss.jt808.netty.codec.Jt808FrameDecoder:135 - 收到:7e02000048019942257112c17b000008000000000302624e0d06f14eb60041000000002107021955440104000000000302000014040000000115040000000c160400000
0001702000025040cff000030011f31011bfe7e

  1. 问题--在gnss-web端没有收到上行指令, UpCommandReceiver没收到响应消息导致指令超时
    JT808多媒体文件(拍照等)订阅 MediaFileReceiver 消费端也没收到消息和任何日志。

请问问题出在哪个环节? 这个功能测试工具发布之前是否正常调通? 请大神帮助排查,多谢!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant