Security monitoring platform EasyCVR video surveillance platform Haikang Dahua equipment international GB28181 detailed instructions for alarm deployment

TSINGSEE Qingxi video surveillance integrated management platform EasyCVR is based on cloud-edge-device collaboration, which can support lightweight access and aggregation management of massive videos. The platform not only has the capabilities of traditional security video surveillance, such as: video surveillance live broadcast, cloud recording, cloud storage, video retrieval and playback, alarm reporting, platform cascading, PTZ control, voice intercom, etc., but also can access AI intelligence Analysis capabilities, including face detection, vehicle detection, smoke detection, helmet detection, area intrusion detection, etc.

In terms of alarm functions, the security video surveillance convergence platform EasyCVR supports the configuration of alarm plans and alarm types, can display snapshots at the time of alarms, and can save alarm videos, and the number of days to keep alarm videos can also be set. The alarm function is very practical in application scenarios. Today we will introduce the message description of the national standard GB28181 alarm arming of Hikvision Dahua equipment.

1. Alarm arm and disarm command

The national standard GB/T28181-2016 stipulates the type of arming/disarming control

Arm: SetGuard

Disarm: ResetGuard

1) Alarm arming signaling

The Content-type header field of the Message header is Content-type:Application/MANSCDP+xml.

<?xml version="1.0"?>\n
<Control>\r\n
<CmdType>DeviceControl</CmdType>\r\n
<SN>0</SN>\r\n
<DeviceID>31010000001340000090</DeviceID>\r\n
<GuardCmd>SetGuard</GuardCmd>\r\n
</Control>\r\n

2) Alarm and disarm signaling

The Content-type header field of the Message header is Content-type:Application/MANSCDP+xml.

<?xml version="1.0"?>\n
<Control>\r\n
<CmdType>DeviceControl</CmdType>\r\n
<SN>0</SN>\r\n
<DeviceID>31010000001340000090</DeviceID>\r\n
<GuardCmd>ResetGuard</GuardCmd>\r\n
</Control>\r\n

2. Alarm information after the alarm is triggered

<?xml version="1.0" encoding-"gb2312"?>\r\n
<Notify>\n
<cmdType>Alarm</cmdType>\n
<SN>51</SN>\n
<DeviceID>31010000001340000001</DeviceID>\n
<AlarmPriority>4</AlarmPriority>\n
<AlarmTime>2017-07-19T10:19:14</AlarmTime>\n
<Longitude>0.000</Longitude>\n
<Latitude>0.000</Latitude>\n
<AlarmMethod>2</AlarmMethod>\n
</Notify>\n
 
报警级别:AlarmPriority, 1为一级警情, 2为二级警情, 3为三级警情, 4为四级警情
 
/**
* AlarmType报警类型,
* AlarmMethod报警方式为2时,不携带 AlarmType为默认的报警设备报警,
* 携带 AlarmType取值及对应报警类型如下:
* 1-视频丢失报警;
* 2-设备防拆报警;
* 3-存储设备磁盘满报警;
* 4-设备高温报警;
* 5-设备低温报警。
* 报警方式为5时,取值如下:
* 1-人工视频报警;
* 2-运动目标检测报警;
* 3-遗留物检测报警;
* 4-物体移除检测报警;
* 5-绊线检测报警;
* 6-入侵检测报警;
* 7-逆行检测报警;
* 8-徘徊检测报警;
* 9-流量统计报警;
* 10-密度检测报警;
* 11-视频异常检测报警;
* 12-快速移动报警。
* 报警方式为6时,取值下:
* 1-存储设备磁盘故障报警;
* 2-存储设备风扇故障报警。
*/

TSINGSEE Qingxi video security surveillance video platform EasyCVR has strong compatibility and high expansion, and can support multi-protocol and multi-type device access, including: national standard GB28181, RTMP, RTSP/Onvif, Hikvision Ehome, Hikvision SDK, Dahua SDK, Uniview SDK, etc. Interested users can go to the demonstration platform for experience or deployment testing.

Guess you like

Origin blog.csdn.net/EasyNTS/article/details/132313877