告警信息
1、回调地址https://www.support.com/callBack,同一个回调地址,根据不同的回调类型区分
2、请求类型:post
3、image字段的图片地址有有效期,业务方最好做下图片拉取存到业务方自己存储服务
4、bbox字段是告警图片画框的坐标点信息,业务方可以根据坐标点在图片上画框
{
"corpId": "corpId",
"bizType": "ai_alarm",
"subBizType": "platform_analysis",
"bizData": {
"eventId": "123456",
"eventName": "我是事件名称",
"eventTime": 1648710973596,
"deviceSn":"我是设备序列号",
"deviceName":"设备名称",
"channelNumber":"1",
"detailData": [{
"image": "https://sh-fy-img.obs.cn-east-3.myhuaweicloud.com:443//device/alarm/image/2024-04-09-a852295d-4a07-423b-9217-7ddae6359636.jpg?AccessKeyId=Y6EFRC2WRVJML4IFXPQN&Expires=1712652581&Signature=hm7R6JpGNIkpCmAwhthkrtyNgLs%3D",
"objects": null
}, {
"image": "https://sh-fy-img.obs.cn-east-3.myhuaweicloud.com:443//device/alarm/image/2024-04-09-c87c7ead-f1c1-477e-8dba-ddf910e7cac3.jpg?AccessKeyId=Y6EFRC2WRVJML4IFXPQN&Expires=1712652581&Signature=Gzol%2BWSynK0otl8V%2F5PGWXu14gM%3D",
"objects": null
}, {
"image": "https://sh-fy-img.obs.cn-east-3.myhuaweicloud.com:443//device/alarm/image/2024-04-09-3561b011-40dd-4989-aff5-2a117c1386f4.jpg?AccessKeyId=Y6EFRC2WRVJML4IFXPQN&Expires=1712652581&Signature=0ldEVfDUZRLak13UkUSW%2BSPuaGw%3D",
"objects": [{
"label": "fall",
"obClass": null,
"confidence": null,
"bbox": {
"xmin": "140",
"ymin": "236",
"xmax": "232",
"ymax": "348"
},
"customName": null,
"custId": null,
"custUrl": null,
"attrs": null,
"attrConfs": null,
"extraData": null
}]
}]
}
}
{
"corpId": "corpId",
"bizType": "ai_alarm",
"subBizType": "equipment_report",
"bizData": {
"eventId": "123456",
"eventName": "我是事件名称",
"eventTime": 1648710973596,
"deviceSn":"我是设备序列号",
"deviceName":"设备名称",
"channelNumber":"1",
"detailData": [{
"image": "https://sh-fy-img.obs.cn-east-3.myhuaweicloud.com:443//device/alarm/image/2024-04-09-a852295d-4a07-423b-9217-7ddae6359636.jpg?AccessKeyId=Y6EFRC2WRVJML4IFXPQN&Expires=1712652581&Signature=hm7R6JpGNIkpCmAwhthkrtyNgLs%3D",
"objects": null
}, {
"image": "https://sh-fy-img.obs.cn-east-3.myhuaweicloud.com:443//device/alarm/image/2024-04-09-c87c7ead-f1c1-477e-8dba-ddf910e7cac3.jpg?AccessKeyId=Y6EFRC2WRVJML4IFXPQN&Expires=1712652581&Signature=Gzol%2BWSynK0otl8V%2F5PGWXu14gM%3D",
"objects": null
}, {
"image": "https://sh-fy-img.obs.cn-east-3.myhuaweicloud.com:443//device/alarm/image/2024-04-09-3561b011-40dd-4989-aff5-2a117c1386f4.jpg?AccessKeyId=Y6EFRC2WRVJML4IFXPQN&Expires=1712652581&Signature=0ldEVfDUZRLak13UkUSW%2BSPuaGw%3D",
"objects": [{
"label": "fall",
"obClass": null,
"confidence": null,
"bbox": {
"xmin": "140",
"ymin": "236",
"xmax": "232",
"ymax": "348"
},
"customName": null,
"custId": null,
"custUrl": null,
"attrs": null,
"attrConfs": null,
"extraData": null
}]
}]
}
}
{
"corpId": "corpId",
"bizType": "hardware_event",
"subBizType": "online",
"bizData": {
"eventId": "123456",
"eventName": "我是事件名称",
"eventTime": 1648710973596,
"deviceSn":"我是设备序列号",
"deviceName":"设备名称",
"channelNumber":"1"
}
}
{
"corpId": "corpId",
"bizType": "hardware_event",
"subBizType": "offline",
"bizData": {
"eventId": "123456",
"eventName": "我是事件名称",
"eventTime": 1648710973596,
"deviceSn":"我是设备序列号",
"deviceName":"设备名称",
"channelNumber":"1"
}
}