日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪(fǎng)問(wèn) 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 编程资源 > 编程问答 >内容正文

编程问答

ONVIF 事件--能力集

發(fā)布時(shí)間:2023/12/8 编程问答 51 豆豆
生活随笔 收集整理的這篇文章主要介紹了 ONVIF 事件--能力集 小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

ONVIF 事件(events)–能力集

ONIVF事件能力集

events事件能力集如下,可以選擇設(shè)備支持的選項(xiàng)。
如果服務(wù)端支持事件推送功能(移動(dòng)偵測(cè)告警、絆線(xiàn)檢測(cè)告警、區(qū)域檢測(cè)告警,這里只例舉告警事件),那么服務(wù)端要支持客戶(hù)端的訂閱功能,也叫訂閱主題,主題的分類(lèi)有很多:

tns1:RuleEngine/TamperDetector/Tamper # 遮擋報(bào)警 tns1:RuleEngine/CellMotionDetector/Motion # 移動(dòng)偵測(cè) tns1:RuleEngine/FieldDetector/ObjectsInside # 區(qū)域檢測(cè) tns1:RuleEngine/LineDetector/Crossed # 絆線(xiàn)檢測(cè) ... ...

能力集

WSSubscriptionPolicySupport # 表明設(shè)備是否支持WS訂閱策略 WSPullPointSupport # 表明設(shè)備是否支持WS拉點(diǎn)推送 WSPausableSubscriptionManagerInterfaceSupport # 表明設(shè)備支持WS可暫停訂閱管理接口 MaxNotificationProducers # WS-BaseNotification定義的支持通知生產(chǎn)者的最大數(shù)量。 MaxPullPoints # 受支持的最大通知拉點(diǎn)數(shù) PersistentNotificationStorage #是否支持持久通知存儲(chǔ)

能力集交互過(guò)程

  • tds:Getcapabilities
    客戶(hù)端請(qǐng)求報(bào)文:
<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:tds="http://www.onvif.org/ver10/device/wsdl"> <SOAP-ENV:Body> <tds:GetCapabilities> <tds:Category>All</tds:Category> </tds:GetCapabilities> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

服務(wù)器回復(fù)報(bào)文:

<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tds="http://www.onvif.org/ver10/device/wsdl"> <SOAP-ENV:Body> <tds:GetCapabilitiesResponse> <tds:Capabilities> <tt:Device> <tt:XAddr>http://169.254.76.145/onvif/services</tt:XAddr> <tt:Network> <tt:IPFilter>true</tt:IPFilter> <tt:ZeroConfiguration>true</tt:ZeroConfiguration> <tt:IPVersion6>true</tt:IPVersion6> <tt:DynDNS>true</tt:DynDNS> </tt:Network> <tt:System> <tt:DiscoveryResolve>true</tt:DiscoveryResolve> <tt:DiscoveryBye>true</tt:DiscoveryBye> <tt:RemoteDiscovery>false</tt:RemoteDiscovery> <tt:SystemBackup>false</tt:SystemBackup> <tt:SystemLogging>true</tt:SystemLogging> <tt:FirmwareUpgrade>false</tt:FirmwareUpgrade> <tt:SupportedVersions> <tt:Major>1</tt:Major> <tt:Minor>0</tt:Minor> </tt:SupportedVersions> </tt:System> <tt:IO> <tt:InputConnectors>1</tt:InputConnectors> <tt:RelayOutputs>0</tt:RelayOutputs> </tt:IO> <tt:Security> <tt:TLS1.1>false</tt:TLS1.1> <tt:TLS1.2>false</tt:TLS1.2> <tt:OnboardKeyGeneration>false</tt:OnboardKeyGeneration> <tt:AccessPolicyConfig>false</tt:AccessPolicyConfig> <tt:X.509Token>false</tt:X.509Token> <tt:SAMLToken>false</tt:SAMLToken> <tt:KerberosToken>false</tt:KerberosToken> <tt:RELToken>false</tt:RELToken> </tt:Security> </tt:Device> <tt:Events> <tt:XAddr>http://169.254.76.145/onvif/services</tt:XAddr> <tt:WSSubscriptionPolicySupport>false</tt:WSSubscriptionPolicySupport> <tt:WSPullPointSupport>false</tt:WSPullPointSupport><tt:WSPausableSubscriptionManagerInterfaceSupport>false</tt:WSPausableSubscriptionManagerInterfaceSupport> </tt:Events><tt:Media> <tt:XAddr>http://169.254.76.145/onvif/services</tt:XAddr> <tt:StreamingCapabilities> <tt:RTPMulticast>true</tt:RTPMulticast> <tt:RTP_TCP>true</tt:RTP_TCP> <tt:RTP_RTSP_TCP>true</tt:RTP_RTSP_TCP> </tt:StreamingCapabilities> </tt:Media> </tds:Capabilities> </tds:GetCapabilitiesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>
  • tev:GetServiceCapabilities
    客戶(hù)端請(qǐng)求報(bào)文:
POST /onvif/device_service HTTP/1.1 Host: 192.16.11.180 User-Agent: gSOAP/2.8 Content-Type: application/soap+xml; charset=utf-8; action="http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesRequest" Content-Length: 2589 Connection: close SOAPAction: "http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesRequest"<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:chan="http://schemas.microsoft.com/ws/2005/02/duplex" xmlns:c14n="http://www.w3.org/2001/10/xml-exc-c14n#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml1="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:wsc="http://docs.oasis-open.org/ws-sx/ws-secureconversation/200512" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:dn="http://www.onvif.org/ver10/network/wsdl" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:tr2="http://www.onvif.org/ver20/media/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl"> <SOAP-ENV:Header><wsa:MessageID>urn:uuid:432d9097-6c1d-4a60-81d9-0b27d815ba6a</wsa:MessageID><wsa:ReplyTo SOAP-ENV:mustUnderstand="true"><wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address></wsa:ReplyTo><wsa:To SOAP-ENV:mustUnderstand="true">http://172.16.11.180:80/onvif/device_service</wsa:To><wsa:Action SOAP-ENV:mustUnderstand="true">http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesRequest</wsa:Action> </SOAP-ENV:Header> <SOAP-ENV:Body><tev:GetServiceCapabilities></tev:GetServiceCapabilities> </SOAP-ENV:Body> </SOAP-ENV:Envelope>

服務(wù)器回復(fù)報(bào)文:

HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: 827 Connection: close<?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:wsa5="http://www.w3.org/2005/08/addressing"><SOAP-ENV:Header><wsa5:Action>http://www.onvif.org/ver10/events/wsdl/EventPortType/GetServiceCapabilitiesResponse</wsa5:Action></SOAP-ENV:Header><SOAP-ENV:Body><tev:GetServiceCapabilitiesResponse><tev:Capabilities WSSubscriptionPolicySupport="false" WSPullPointSupport="true" WSPausableSubscriptionManagerInterfaceSupport="false" MaxNotificationProducers="0" MaxPullPoints="10" PersistentNotificationStorage="false" /></tev:GetServiceCapabilitiesResponse></SOAP-ENV:Body> </SOAP-ENV:Envelope>

總結(jié)

以上是生活随笔為你收集整理的ONVIF 事件--能力集的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。

如果覺(jué)得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。