Skip to content

Subscribe to Task Results

Receive inspection-point task result notifications through RocketMQ.

  • 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.


Field / TypeDescription and Example
dogCode
String
Robot code
Example: 1
dogName
String
Robot name
taskName
String
Task name; see the field examples below.
taskCode
String
Task-template code
Example: 1989299475652878336
devicePointName
String
Inspection-point name
devicePointCode
String
Inspection-point code
Field / TypeDescription and Example
patrolValue
String
Inspection value
patrolUnit
String
Unit of the inspection value
patrolTime
String
Inspection time
recognitionType
String
Recognition type; see Enumerations
Field / TypeDescription and Example
fileList
List<TcpFileList>
Files associated with the result
fileList.fileType
String
File type: 1 infrared image, 2 visible-light image, 3 audio, 4 video, 5 annotated image, 101 voiceprint image
fileList.filePath
String
File path
Field / TypeDescription and Example
taskExecuteCode
String
Task execution identifier; see the field examples below.
valid
String
Result: 0 acquisition failed, 1 valid, 2 analysis failed
status
String
Task status: 1 completed, 2 in progress, 3 paused, 4 terminated, 5 not executed, 6 overdue
Example: 2
planStartTime
String
Planned start time
Example: 2025/11/15 15:33
startTime
String
Actual start time
Example: 15:33:08
taskProgress
String
Task progress
Example: 100%
Field / TypeDescription and Example
confidence
String
Recognition confidence; available in v1.3.1 and later. Defaults to 1.
Example: 0-1
alarmLevel
String
Alarm severity: 0 normal, 1 warning, 2 minor, 3 major, 4 critical; available in v1.3.2 and later
Example: 0

taskName

Full inspection 1114-(20251115153307)

taskExecuteCode

ysc001_1989299475652878336_20251115153307_yiib

To 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.

{
"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"
}
{
"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"
}