Subscribe to Task Results
Receive inspection-point task result notifications through RocketMQ.
Subscription Information
Section titled “Subscription Information”- Name: Task result notification
- Description: Subscribe to RocketMQ messages to receive inspection results.
- Topic:
httpRemote - Tag:
uploadHttpRemoteResult - Login required: No
- Permission required: Yes
Note: Remote publishing must be enabled. In System Management > Parameter Settings, set
http_three_part_remote_upload to true.
Message Body
Section titled “Message Body”Robot and Inspection Point
Section titled “Robot and Inspection Point”| Field / Type | Description and Example |
|---|---|
dogCodeString | Robot code Example: 1 |
dogNameString | Robot name |
taskNameString | Task name; see the field examples below. |
taskCodeString | Task-template code Example: 1989299475652878336 |
devicePointNameString | Inspection-point name |
devicePointCodeString | Inspection-point code |
Inspection Result
Section titled “Inspection Result”| Field / Type | Description and Example |
|---|---|
patrolValueString | Inspection value |
patrolUnitString | Unit of the inspection value |
patrolTimeString | Inspection time |
recognitionTypeString | Recognition type; see Enumerations |
Result Files
Section titled “Result Files”| Field / Type | Description and Example |
|---|---|
fileListList<TcpFileList> | Files associated with the result |
fileList.fileTypeString | File type: 1 infrared image, 2 visible-light image, 3 audio, 4 video, 5 annotated image, 101 voiceprint image |
fileList.filePathString | File path |
Task Execution Information
Section titled “Task Execution Information”| Field / Type | Description and Example |
|---|---|
taskExecuteCodeString | Task execution identifier; see the field examples below. |
validString | Result: 0 acquisition failed, 1 valid, 2 analysis failed |
statusString | Task status: 1 completed, 2 in progress, 3 paused, 4 terminated, 5 not executed, 6 overdueExample: 2 |
planStartTimeString | Planned start time Example: 2025/11/15 15:33 |
startTimeString | Actual start time Example: 15:33:08 |
taskProgressString | Task progress Example: 100% |
Recognition Quality and Alarms
Section titled “Recognition Quality and Alarms”| Field / Type | Description and Example |
|---|---|
confidenceString | Recognition confidence; available in v1.3.1 and later. Defaults to 1.Example: 0-1 |
alarmLevelString | Alarm severity: 0 normal, 1 warning, 2 minor, 3 major, 4 critical; available in v1.3.2 and laterExample: 0 |
Field Examples
Section titled “Field Examples”taskName
Full inspection 1114-(20251115153307)taskExecuteCode
ysc001_1989299475652878336_20251115153307_yiibTo keep notifications responsive, results are published in stages. One message is sent after the original media has been captured. When recognition is enabled, a second message containing the complete result, including the original and annotated images, is sent when recognition finishes.
Message After Acquisition
Section titled “Message After Acquisition”{ "devicePointCode": "2044338926658785280_DEV_002", "devicePointName": "Meter 02", "dogCode": "robot_01", "dogName": "Simulation 1", "fileList": [ { "filePath": "oss-inspection-result/2026/7/13/ysc_2076507459730092032_20260713153017_vwe9/2044338926658785280_DEV_002_visible_light_2.jpg", "fileType": "2" } ], "patrolTime": "2026-07-13 15:30:42", "planStartTime": "2026-07-13 15:30:18", "recognitionType": "1", "startTime": "2026-07-13 15:30:20", "status": "2", "taskCode": "2076507459730092032", "taskExecuteCode": "ysc_2076507459730092032_20260713153017_vwe9", "taskName": "111", "taskProgress": "50%", "valid": "1", "confidence": "1", "alarmLevel": "0"}Message After Recognition
Section titled “Message After Recognition”{ "devicePointCode": "2044338926658785280_DEV_002", "devicePointName": "Meter 02", "dogCode": "robot_01", "dogName": "Simulation 1", "fileList": [ { "filePath": "oss-inspection-result/2026/7/13/ysc_2076507459730092032_20260713153017_vwe9/2044338926658785280_DEV_002_visible_light_2.jpg", "fileType": "2" }, { "filePath": "oss-inspection-result/2026/7/13/ysc_2076507459730092032_20260713153017_vwe9/2044338926658785280_DEV_002_meter_result_5.jpg", "fileType": "5" } ], "patrolTime": "2026-07-13 15:30:45", "patrolValue": "6.69", "planStartTime": "2026-07-13 15:30:18", "recognitionType": "1", "startTime": "2026-07-13 15:30:20", "status": "2", "taskCode": "2076507459730092032", "taskExecuteCode": "ysc_2076507459730092032_20260713153017_vwe9", "taskName": "111", "taskProgress": "50%", "valid": "1", "confidence": "0.86", "alarmLevel": "1"}