CN110839011A - Method and device for reporting monitoring resource information - Google Patents

Method and device for reporting monitoring resource information Download PDF

Info

Publication number
CN110839011A
CN110839011A CN201810943455.5A CN201810943455A CN110839011A CN 110839011 A CN110839011 A CN 110839011A CN 201810943455 A CN201810943455 A CN 201810943455A CN 110839011 A CN110839011 A CN 110839011A
Authority
CN
China
Prior art keywords
monitoring
monitoring platform
party
platform
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810943455.5A
Other languages
Chinese (zh)
Inventor
付林
沈军
杨传坤
王洪超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201810943455.5A priority Critical patent/CN110839011A/en
Publication of CN110839011A publication Critical patent/CN110839011A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Abstract

The embodiment of the invention provides a method and a device for reporting monitoring resource information, which are applied to a video network. The method comprises the following steps: the video network monitoring platform receives a subscription request sent by a third-party monitoring platform; the video network monitoring platform searches monitoring resources related to the third-party monitoring platform according to the subscription request and marks the monitoring resources as the monitoring resources subscribed by the third-party monitoring platform; the video networking monitoring platform receives information of monitoring resources with changed states, which is sent by the monitoring co-transfer server; and the video network monitoring platform determines a third-party monitoring platform for subscribing the monitoring resources with the changed state according to the information, and reports the information of the monitoring resources with the changed state to the third-party monitoring platform for subscribing the monitoring resources with the changed state. The embodiment of the invention can ensure the information consistency of the video network monitoring platform and the third-party monitoring platform, improve the information accuracy and improve the user experience.

Description

Method and device for reporting monitoring resource information
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for reporting monitored resource information.
Background
Video surveillance is an important component of security systems. Video monitoring is widely applied to many occasions due to intuition, accuracy, timeliness and rich information content. In recent years, with the rapid development of computers, networks, image processing and transmission technologies, video monitoring technologies have been developed. The traditional monitoring system comprises front-end monitoring equipment, a transmission cable and a video monitoring platform. The front-end monitoring equipment transmits the collected monitoring video to the video monitoring platform, and a user can check the real-time monitoring video on the video monitoring platform.
In practical applications, the operation status of the monitoring device may change for some reason, such as changing from online to offline, or from offline to online. The change condition of the running state of the monitoring equipment cannot be updated in time, so that the information of the monitoring equipment in the video monitoring platform or other docking platforms is inaccurate, and the user experience is reduced.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a method for reporting monitor resource information and a corresponding apparatus for reporting monitor resource information, which overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a method for reporting monitor resource information, where the method is applied to a video network, the video network includes a video network monitor platform, a monitor coordination server and a plurality of monitor resources, and the internet includes a plurality of third party monitor platforms, and the method includes:
the video network monitoring platform receives a subscription request sent by the third-party monitoring platform;
the video network monitoring platform searches monitoring resources related to the third-party monitoring platform according to the subscription request and marks the monitoring resources as the monitoring resources subscribed by the third-party monitoring platform;
the video network monitoring platform receives information of monitoring resources with changed states, which is sent by the monitoring coordination server; the information of the monitoring resources with changed states is acquired by the monitoring coordination server after the state change of at least one monitoring resource is detected;
and the video network monitoring platform determines a third-party monitoring platform subscribing the monitoring resource with the changed state according to the information, and reports the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing the monitoring resource with the changed state.
Preferably, before the step of receiving, by the video networking monitoring platform, the subscription request sent by the third party monitoring platform, the method further includes: the video network monitoring platform respectively sends preset registration information to each third-party monitoring platform; and after the third-party monitoring platform successfully registers according to the registration information, the video network monitoring platform establishes association between the third-party monitoring platform and the corresponding monitoring resource according to a preset corresponding relation.
Preferably, the step of receiving, by the video networking monitoring platform, information of the monitoring resource whose state is changed, which is sent by the monitoring coordination server, includes: the video networking monitoring platform receives information of monitoring resources which are sent by the monitoring protocol conversion server and change based on the state of the video networking protocol package; the step of reporting the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing to the monitoring resource with the changed state includes: and the video network monitoring platform converts the information of the monitoring resource with the changed state based on the video network protocol package into the information of the monitoring resource with the changed state based on the SIP protocol package, and reports the information to the third party monitoring platform subscribing the monitoring resource with the changed state.
Preferably, the method further comprises: the video network monitoring platform receives a subscription stopping request sent by the third-party monitoring platform; and the video network monitoring platform searches the monitoring resources associated with the third-party monitoring platform according to the subscription stopping request and marks the monitoring resources as the monitoring resources for which the third-party monitoring platform stops subscribing.
Preferably, the subscription request is sent by the third party monitoring platform by using a subscribe signaling based on a SIP protocol; and the information of the monitoring resource with the changed state is sent by the video networking monitoring platform by adopting notify signaling based on an SIP protocol.
On the other hand, the embodiment of the invention also discloses a device for reporting the monitoring resource information, which is applied to the video network, wherein the video network comprises a video network monitoring platform, a monitoring protocol conversion server and a plurality of monitoring resources, the internet comprises a plurality of third party monitoring platforms, and the video network monitoring platform comprises:
the first receiving module is used for receiving a subscription request sent by the third-party monitoring platform;
the first marking module is used for searching the monitoring resources related to the third-party monitoring platform according to the subscription request and marking the monitoring resources as the monitoring resources subscribed by the third-party monitoring platform;
the second receiving module is used for receiving the information of the monitoring resources with changed states, which is sent by the monitoring coordination server; the information of the monitoring resources with changed states is acquired by the monitoring coordination server after the state change of at least one monitoring resource is detected;
and the reporting module is used for determining a third-party monitoring platform subscribing the monitoring resource with the changed state according to the information and reporting the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing the monitoring resource with the changed state.
Preferably, the video networking monitoring platform further comprises: the sending module is used for sending the preset registration information to each third-party monitoring platform respectively; and the association module is used for establishing the association between the third-party monitoring platform and the corresponding monitoring resource according to a preset corresponding relation after the third-party monitoring platform successfully registers according to the registration information.
Preferably, the second receiving module is specifically configured to receive information of the monitoring resource that is sent by the monitoring protocol conversion server and is based on a state change encapsulated by a video networking protocol; the reporting module is specifically configured to convert the information of the monitoring resource with the changed state, which is encapsulated based on the video networking protocol, into information of the monitoring resource with the changed state, which is encapsulated based on the SIP protocol, and report the information to the third-party monitoring platform subscribing to the monitoring resource with the changed state.
Preferably, the video networking monitoring platform further comprises: the third receiving module is used for receiving a subscription stop request sent by the third-party monitoring platform; and the second marking module is used for searching the monitoring resource associated with the third-party monitoring platform according to the subscription stop request and marking the monitoring resource which is not subscribed by the third-party monitoring platform.
Preferably, the subscription request is sent by the third party monitoring platform by using a subscribe signaling based on a SIP protocol; and the information of the monitoring resource with the changed state is sent by the video networking monitoring platform by adopting notify signaling based on an SIP protocol.
In the embodiment of the invention, the third-party monitoring platform can send a subscription request to the video network monitoring platform, and the video network monitoring platform searches the monitoring resources associated with the third-party monitoring platform according to the subscription request and marks the monitoring resources as the monitoring resources subscribed by the third-party monitoring platform; the monitoring protocol conversion server detects the state of the monitoring resource, acquires the information of the monitoring resource with the changed state after detecting the state change of the monitoring resource and sends the information to the video network monitoring platform, and the video network monitoring platform determines a third-party monitoring platform subscribing to the monitoring resource with the changed state according to the information and reports the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing to the monitoring resource with the changed state. Therefore, the embodiment of the invention can realize the butt joint of the video networking monitoring platform and the third party monitoring platform, and the two platforms can share monitoring resources; and the video network monitoring platform can timely acquire the state change condition of the monitoring resource, and the third party monitoring platform can also make the video network monitoring platform timely report the state change condition of the monitoring resource through subscription, so that the consistency of the information of the video network monitoring platform and the third party monitoring platform is ensured, the accuracy of the information is improved, and the user experience is improved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
fig. 5 is a flowchart illustrating a step of a method for reporting monitor resource information according to a first embodiment of the present invention;
fig. 6 is a flowchart illustrating a step of a method for reporting monitor resource information according to a second embodiment of the present invention;
fig. 7 is a schematic view of interaction of a device for monitoring reporting of resource information according to a second embodiment of the present invention;
fig. 8 is a schematic signaling diagram of a third party monitoring platform subscribing to monitoring resources according to a second embodiment of the present invention;
fig. 9 is a signaling trend diagram of a monitoring coordination server and a video networking monitoring platform returning monitoring resource information according to a second embodiment of the present invention;
fig. 10 is a block diagram of a monitoring resource information reporting apparatus according to a third embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network circuit Switching (circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment of the present invention is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the video networking destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of data packets, and is 64 bytes if the data packet is a variety of protocol packets, and is 32+1024 or 1056 bytes if the data packet is a unicast data packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, the reporting scheme of the monitoring resource information provided by the embodiment of the invention follows the protocol of the video network, so that the video network monitoring platform and a third party monitoring platform can acquire the state change condition of the monitoring resource in time, and the information consistency of the two platforms is ensured.
Example one
The monitoring state sharing method can be applied to the video network. In the monitoring system of the video network, the monitoring system can comprise a video network monitoring platform, a monitoring transfer server and a plurality of monitoring resources, the video network monitoring platform can be connected with the monitoring transfer server, and one monitoring transfer server can be connected with the plurality of monitoring resources. The monitoring protocol conversion server can be understood as a gateway and is responsible for accessing external monitoring resources (such as monitoring equipment on the internet) into the video networking monitoring platform, the monitoring resources transmit acquired monitoring videos to the monitoring protocol conversion server based on corresponding internet protocol codes, the monitoring protocol conversion server can convert monitoring data based on the internet protocol into monitoring data based on the video networking protocol and transmit the monitoring data to the video networking monitoring platform, and therefore browsing and controlling of the monitoring resources on the internet in the video networking is achieved. In the embodiment of the invention, the internet can comprise a plurality of third-party monitoring platforms, the third-party monitoring platforms can be in butt joint with the video networking monitoring platforms, and the video networking monitoring platforms can send monitoring data to the third-party monitoring platforms, so that monitoring resources in the video networking can be shared to the internet platform.
However, the status of the monitoring resource may change, for example, the status of the monitoring resource changes from online to offline due to disconnection of the network, or the status of the monitoring resource changes from offline to online due to reconnection of the network. The video network monitoring platform may not know the status change condition of the monitoring resource in time, or even if the video network monitoring platform can know the status change condition of the monitoring resource in time, the docked third party monitoring platform cannot know the status change condition of the monitoring resource in time, so that the monitoring resource information of the third party monitoring platform is inconsistent with the monitoring resource information of the video network monitoring platform. In view of the above situation, the embodiment of the present invention provides a method for implementing consistency of monitoring resource information of a third party monitoring platform and a video network monitoring platform through resource subscription.
Referring to fig. 5, a flowchart illustrating a step of a method for reporting monitoring resource information according to an embodiment of the present invention is shown.
The method for reporting the monitoring resource information of the embodiment of the invention can comprise the following steps:
step 501, the video network monitoring platform receives a subscription request sent by the third party monitoring platform.
The third-party monitoring platform can be in butt joint with the video networking monitoring platform to share monitoring resources. The third-party monitoring platform and the video network monitoring platform can interact through the internet, so that the third-party monitoring platform can send a subscription request to the video network monitoring platform through the internet for subscribing monitoring resources to the video network monitoring platform.
Step 502, the video network monitoring platform searches the monitoring resource associated with the third party monitoring platform according to the subscription request, and marks the monitoring resource as the monitoring resource subscribed by the third party monitoring platform.
The video network monitoring platform can preset the incidence relation between each third-party monitoring platform and the corresponding monitoring resource. After receiving a subscription request sent by a certain third-party monitoring platform, the video network monitoring platform may search for a monitoring resource associated with the third-party monitoring platform according to the subscription request, and mark the searched associated monitoring resource as a monitoring resource subscribed by the third-party monitoring platform. And subsequently, when the state of the monitoring resource subscribed by the third-party monitoring platform is changed, the video network monitoring platform feeds back the changed condition to the third-party monitoring platform subscribed with the monitoring resource.
Step 503, the video network monitoring platform receives the information of the monitoring resource with changed state, which is sent by the monitoring collaboration server.
The monitoring coordination and transformation server can detect the states of all connected monitoring resources, and when the states of one or more monitoring resources are detected to be changed, the monitoring coordination and transformation server acquires the information of the monitoring resources with the changed states and sends the information to the video network monitoring platform.
Step 504, the video network monitoring platform determines a third party monitoring platform subscribing to the monitoring resource with the changed state according to the information, and reports the information of the monitoring resource with the changed state to the third party monitoring platform subscribing to the monitoring resource with the changed state.
After receiving the information of the monitoring resource with the changed state, which is sent by the monitoring coordination server, the video network monitoring platform can query the mark of the monitoring resource with the changed state, and determine a third-party monitoring platform which subscribes the monitoring resource with the changed state. And then the video network monitoring platform reports the information of the monitoring resources with the changed state to a third-party monitoring platform subscribing the monitoring resources with the changed state. Therefore, the third-party monitoring platform can acquire the condition of the monitoring resource with changed state, and the information consistency of the third-party monitoring platform and the video network monitoring platform is ensured.
In the embodiment of the invention, the video network monitoring platform and the third-party monitoring platform can be butted, and the two platforms can share monitoring resources; and the video network monitoring platform can timely acquire the state change condition of the monitoring resource, and the third party monitoring platform can also make the video network monitoring platform timely report the state change condition of the monitoring resource through subscription, so that the consistency of the information of the video network monitoring platform and the third party monitoring platform is ensured, the accuracy of the information is improved, and the user experience is improved.
Example two
Referring to fig. 6, a flowchart illustrating a step of a method for reporting monitoring resource information according to a second embodiment of the present invention is shown.
The method for reporting the monitoring resource information of the embodiment of the invention can comprise the following steps:
step 601, the video network monitoring platform sends the preset registration information to each third party monitoring platform respectively.
In the embodiment of the invention, the video network monitoring platform can comprise a video network monitoring client, a video network monitoring server and the like, wherein the video network terminal client can be a Web client, and the video network monitoring server can be an Mserver. In a specific implementation, the embodiment of the invention can interact with a third-party monitoring platform and a monitoring cooperation server through the Mserver of the video network monitoring platform. The third party monitoring platform may be any suitable dedicated monitoring platform, such as a public security system monitoring platform, and the like.
In the monitoring system of the video network, a large number of monitoring resources can be included, the monitoring resources can be devices such as network cameras, in order to avoid too heavy burden of one monitoring coordination server, a plurality of monitoring coordination servers can be arranged, and each monitoring coordination server is connected with a plurality of monitoring resources so as to provide service for the monitoring resources.
Fig. 7 is a schematic diagram illustrating an interaction of a device for monitoring reporting of resource information according to a second embodiment of the present invention. As shown in fig. 7, the video network may include an Mserver, a plurality of monitoring collaboration servers, and a plurality of monitoring resources. Each monitoring co-transformation server can realize bidirectional interaction with a plurality of monitoring resources, and each monitoring co-transformation server can realize bidirectional interaction with Mserver. The internet can comprise a plurality of third-party monitoring platforms, and each third-party monitoring platform can realize bidirectional interaction with the Mserver. It should be noted that the Mserver belongs to an internet of view monitoring platform in the internet of view, and other parts (such as an internet of view monitoring client) included in the internet of view monitoring platform are not shown in fig. 7.
If the third-party monitoring platform wants to realize the butt joint with the video network monitoring platform so as to share the monitoring resources of the video network monitoring platform, the third-party monitoring platform can be firstly registered on the video network monitoring platform.
In the embodiment of the present invention, registration information may be configured in advance for each third-party monitoring platform in the video networking monitoring platform, and the registration information may include information such as an IP address, a port number, an account number, and a password of the third-party monitoring platform. The video network monitoring platform can respectively send the registration information of each third-party monitoring platform to the corresponding third-party monitoring platform after being started.
In a specific implementation, registration information can be configured for a third-party monitoring platform through the Mserver in the video network monitoring platform, and the registration information is sent to the third-party monitoring platform through the Internet. For example, the Mserver may encapsulate the registration information into a first internet Protocol data packet based on a Session Initiation Protocol (SIP), and send the first internet Protocol data packet to the third party monitoring platform through the internet.
Step 602, after the registration of the third-party monitoring platform according to the registration information is successful, the video network monitoring platform establishes association between the third-party monitoring platform and the corresponding monitoring resource according to a preset corresponding relationship.
The third-party monitoring platform analyzes the first internet protocol data packet after receiving the first internet protocol data packet, acquires the registration information in the first internet protocol data packet, and can register on the video network monitoring platform according to the registration information. For example, a registration interface may be provided on the third-party monitoring platform, and the user may fill registration information such as an account number and a password in the registration interface and click a registration button to register. After the third-party monitoring platform is successfully registered, the video networking monitoring platform can provide service for the successfully registered third-party monitoring platform.
In the embodiment of the invention, the corresponding relation between the third-party monitoring platform and the monitoring resource can be preset. After the third-party monitoring platform is successfully registered, the video network monitoring platform can establish the association between the third-party monitoring platform and the corresponding monitoring resource according to the preset corresponding relation.
In a specific implementation, the corresponding relationship may be stored in the Mserver; the third-party monitoring platform can further comprise a video network monitoring database, the corresponding relation can also be stored in the video network monitoring database, and the Mserver can read the corresponding relation from the video network monitoring database. The corresponding relationship between the third party monitoring platform and the monitoring resource may be a corresponding relationship between an account of the third party monitoring platform and the device ID of the monitoring resource. The Mserver can search the corresponding equipment ID of the monitoring resource from the corresponding relation according to the account number of the successfully registered third-party monitoring platform, and then the association between the third-party monitoring platform and the corresponding monitoring resource is established.
For example, there are three third-party monitoring platforms, namely, a third-party monitoring platform a, a third-party monitoring platform B, and a third-party monitoring platform C, after the association is established, the third-party monitoring platform a is associated with the monitoring resource 1, the monitoring resource 2, and the monitoring resource 3, the third-party monitoring platform B is associated with the monitoring resource 3, the monitoring resource 4, and the monitoring resource 5, and the third-party monitoring platform C is associated with the monitoring resource 5 and the monitoring resource 6, respectively.
Step 603, the video network monitoring platform receives the subscription request sent by the third party monitoring platform.
If the third-party monitoring platform wants to synchronize the monitoring resource information of the video network monitoring platform, a subscription request can be sent to the video network monitoring platform.
In a specific implementation, the third party monitoring platform may encapsulate the subscription request into a second internet protocol data packet based on the SIP, and send the second internet protocol data packet to the video networking monitoring platform through the internet. Preferably, the third party monitoring platform may send the second internet protocol data packet to the video networking monitoring platform by using SIP protocol-based subscribe signaling.
Referring to fig. 8, a signaling trend diagram of subscribing to a monitoring resource by a third party monitoring platform according to a second embodiment of the present invention is shown. As can be seen from fig. 8, the third party monitoring platform sends a subscribe signaling based on the SIP protocol to the Mserver for subscription, and the subscribe signaling may carry the second internet protocol data packet (that is, carry a subscription request), so as to send the subscription request to the Mserver.
Step 604, the video network monitoring platform searches the monitoring resource associated with the third-party monitoring platform according to the subscription request, and marks the monitoring resource as the monitoring resource subscribed by the third-party monitoring platform.
After receiving the subscribe signaling, the video networking monitoring platform (specifically, Mserver) acquires the second internet protocol data packet therein, and analyzes the second internet protocol data packet to obtain the relevant data of the subscription request. The subscription request may include information such as an account number of the third-party monitoring platform, a subscription indicator, and the like, and the video network monitoring platform (specifically, Mserver) may search, according to the account number of the third-party monitoring platform, monitoring resources associated with the third-party monitoring platform, and mark the associated monitoring resources as monitoring resources subscribed by the third-party monitoring platform.
For example, the third-party monitoring platform a, the third-party monitoring platform B, and the third-party monitoring platform C all send subscription requests to the video network monitoring platform, the video network monitoring platform marks the monitoring resource 1 as a monitoring resource subscribed by the third-party monitoring platform a, marks the monitoring resource 2 as a monitoring resource subscribed by the third-party monitoring platform a, marks the monitoring resource 3 as a monitoring resource subscribed by the third-party monitoring platform a and the third-party monitoring platform B, marks the monitoring resource 4 as a monitoring resource subscribed by the third-party monitoring platform B, marks the monitoring resource 5 as a monitoring resource subscribed by the third-party monitoring platform B and the third-party monitoring platform C, and marks the monitoring resource 6 as a monitoring resource subscribed by the third-party monitoring platform C.
If the third-party monitoring platform sends a subscription request to the video network monitoring platform, the third-party monitoring platform indicates that the third-party monitoring platform subscribes the monitoring resource to the video network monitoring platform, so that after the state of the monitoring resource under the video network monitoring platform changes, the third-party monitoring platform can report the state change condition of the monitoring resource to the third-party monitoring platform which subscribes the monitoring resource.
Step 605, the video network monitoring platform receives the information of the monitoring resource with changed state, which is sent by the monitoring collaboration server.
The monitoring coordination server can detect the state of each monitoring resource connected with the monitoring coordination server. In a specific implementation, the monitoring coordination server may detect the state of the monitoring resource through a heartbeat mechanism. The method specifically comprises the following steps: the monitoring coordination and conversion server sends heartbeat messages to all monitoring resources connected with the monitoring coordination and conversion server according to a set time interval; each monitoring resource responds to each other and replies a heartbeat message to the monitoring coordination and transfer server; if the monitoring cooperative conversion server does not receive the heartbeat message replied by a certain online monitoring resource for a continuously set number of times, the monitoring cooperative conversion server can determine that the monitoring resource is changed from an online state to an offline state; if the monitoring protocol conversion server receives the heartbeat message replied by the certain offline monitoring resource again, the monitoring protocol conversion server can determine that the monitoring resource is changed from the offline state to the online state.
In this embodiment, for the specific values of the set time interval and the set times, a person skilled in the art may select any suitable value according to practical experience, and the embodiment of the present invention is not limited thereto. For example, the set time interval may be 10s, 20s, 30s, etc., and the set number of times may be 3 times, 4 times, 5 times, etc.
And after detecting the state change of at least one monitoring resource, the monitoring coordination server acquires the information of the monitoring resource with the changed state and sends the information to the video network monitoring platform.
In a specific implementation, the monitoring protocol conversion server may encapsulate information of the monitoring resource whose state is changed into a video networking protocol data packet based on a video networking protocol, and send the video networking protocol data packet to a video networking monitoring platform (which may be specifically an Mserver) through the video networking.
Referring to fig. 9, a signaling trend diagram of a monitoring coordination server and a video networking monitoring platform returning monitoring resource information in a second embodiment of the present invention is shown. As can be seen from fig. 9, the monitoring protocol server sends a video networking 0x0004C protocol packet to the Mserver, where the packet carries information of the monitoring resource whose status changes.
In a preferred embodiment, the video networking protocol data packet encapsulated by the monitoring protocol conversion server may include path information, where the path information is used to indicate a transmission path of the video networking protocol data packet in the video networking. The path information may include a source address and a destination address, the source address may be an address of the monitoring protocol server (e.g., a MAC address of the monitoring protocol server, etc.), and the destination address may be an address of the Mserver (e.g., a MAC address of the Mserver, an IP address, etc.). The monitoring protocol conversion server can send the video networking protocol data packet to the Mserver according to the path information, so that a routing process similar to that in the Internet is not needed, and data transmission is simplified.
Step 606, the video network monitoring platform determines a third party monitoring platform subscribing to the monitoring resource with the changed state according to the information, and reports the information of the monitoring resource with the changed state to the third party monitoring platform subscribing to the monitoring resource with the changed state.
And the video networking monitoring platform (specifically, Mserver) receives the video networking protocol data packet and then analyzes the video networking protocol data packet to acquire information of the monitoring resource with changed state. The information of the monitoring resource whose status is changed may include a Device ID (Device ID) of the monitoring resource and flag information of Offline (OFF), Online (ON) of the monitoring resource, among others.
And the video network monitoring platform (specifically, Mserver) determines a third party monitoring platform associated with the monitoring resource with the changed state according to the information of the monitoring resource with the changed state. Specifically, the account of the corresponding third-party monitoring platform may be searched for according to the device ID of the monitoring resource with the changed state, and the third-party monitoring platform corresponding to the searched account is determined to be the third-party monitoring platform associated with the monitoring resource with the changed state.
For example, if the device ID of the monitoring resource whose state is changed is 3, that is, the state of the monitoring resource 3 changes, it can be known that the monitoring resource 3 is marked as the monitoring resource subscribed by the third-party monitoring platform a and the third-party monitoring platform B according to the marking in the step 604, so that it can be determined that the third-party monitoring platform subscribed to the monitoring resource 3 is the third-party monitoring platform a and the third-party monitoring platform B.
The video network monitoring platform (specifically, the Mserver) may report the information of the monitoring resource with the changed state to a third party monitoring platform subscribing to the monitoring resource with the changed state. The method specifically comprises the following steps: and the video networking monitoring platform converts the information of the monitoring resources with the changed state based on the video networking protocol into the information of the monitoring resources with the changed state based on the SIP protocol, and reports the information to a third party monitoring platform subscribing the monitoring resources with the changed state.
In a specific implementation, the video-networking monitoring platform (specifically, Mserver) packages information of the monitoring resource with the changed state into a third internet protocol data packet based on SIP, and sends the third internet protocol data packet to a third-party monitoring platform subscribing to the monitoring resource with the changed state through the internet. Preferably, the Mserver may send a third internet protocol data packet to a third party monitoring platform subscribing to the monitoring resource whose status changes by using notify signaling based on the SIP protocol.
As shown in fig. 9, the Mserver sends a notify signaling to the third party monitoring platform to notify, where the notify signaling may carry the third internet protocol data packet (i.e., information of the monitoring resource with a changed state).
And after receiving the third internet protocol data packet, the third-party monitoring platform analyzes the third internet protocol data packet to obtain the information of the monitoring resource with the changed state, and further updates the relevant information of the monitoring resource with the changed state, such as updating the state of the monitoring resource and the like, which is stored by the third-party monitoring platform, so that the information of the third-party monitoring platform is consistent with the information of the video network monitoring platform.
Step 607, the video network monitoring platform receives the subscription stop request sent by the third party monitoring platform.
And if the third-party monitoring platform does not continue to synchronize the monitoring resource information of the video network monitoring platform, sending a subscription stopping request to the video network monitoring platform.
In a specific implementation, the third party monitoring platform may encapsulate the subscription stop request into a fourth internet protocol data packet based on SIP, and send the fourth internet protocol data packet to the video network monitoring platform (specifically, the video network monitoring platform may be an Mserver) through the internet.
Step 608, the video network monitoring platform searches for the monitoring resource associated with the third-party monitoring platform according to the subscription stop request, and marks the monitoring resource for which the third-party monitoring platform stops subscription.
And after receiving the fourth internet protocol data packet, the video networking monitoring platform (specifically, the Mserver) analyzes the fourth internet protocol data packet to obtain related data of the subscription stop request. The subscription stop request may include information such as an account number of the third-party monitoring platform and a subscription stop indication flag, and the video network monitoring platform (specifically, Mserver) may search, according to the account number of the third-party monitoring platform, monitoring resources associated with the third-party monitoring platform, and flag the associated monitoring resources as the monitoring resources for which the third-party monitoring platform stops subscription.
For example, the third party monitoring platform a sends a subscription stop request to the video network monitoring platform, and the video network monitoring platform marks the monitoring resource 1, the monitoring resource 2, and the monitoring resource 3 as the monitoring resource for which the third party monitoring platform a stops subscription.
If the third-party monitoring platform sends a subscription stop request to the video network monitoring platform, the third-party monitoring platform indicates that the third-party monitoring platform does not subscribe the monitoring resource to the video network monitoring platform any more, so that after the state of the monitoring resource under the video network monitoring platform changes, the third-party monitoring platform can not report the state change condition of the monitoring resource to the third-party monitoring platform which stops subscribing the monitoring resource any more. Thereby saving resources and avoiding unnecessary interactive processes.
In the embodiment of the invention, the third-party monitoring platform can be a platform which is specified by GBT28181 national standard and accords with the national standard access standard, and the video networking monitoring platform background service Mserver can perform information sharing on the offline state change of massive monitoring resources with a plurality of third-party monitoring platforms so as to keep the offline state of the monitoring resources under multiple platforms consistent. Logic inside the program can adopt a C + + dictionary data structure so as to achieve the purpose of efficiently searching the corresponding relation between the monitoring resources and the third-party monitoring platform. The technical scheme is used as part of national standard docking and national standard subscription, and provides the method for sending the state change information of the multiple resources to the multiple third-party monitoring platforms, so that the multiple third-party monitoring platforms can update the state information of the platform monitoring resources in time.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
EXAMPLE III
Referring to fig. 10, a block diagram of a reporting apparatus for monitoring resource information according to a third embodiment of the present invention is shown. The device can be applied to the video network, including video network monitoring platform, control transfer server and a plurality of control resources in the video network, include a plurality of third party monitoring platforms in the internet.
The reporting device for monitoring resource information of the embodiment of the invention can comprise the following modules positioned on a video network monitoring platform:
the video networking monitor platform includes:
a first receiving module 1001, configured to receive a subscription request sent by the third party monitoring platform;
a first marking module 1002, configured to search, according to the subscription request, a monitoring resource associated with the third-party monitoring platform, and mark the monitoring resource as a monitoring resource subscribed by the third-party monitoring platform;
a second receiving module 1003, configured to receive information of the monitoring resource whose state is changed and sent by the monitoring coordination server; the information of the monitoring resources with changed states is acquired by the monitoring coordination server after the state change of at least one monitoring resource is detected;
a reporting module 1004, configured to determine, according to the information, a third-party monitoring platform that subscribes to the monitoring resource with the changed state, and report the information of the monitoring resource with the changed state to the third-party monitoring platform that subscribes to the monitoring resource with the changed state.
Preferably, the video networking monitoring platform further comprises: the sending module is used for sending the preset registration information to each third-party monitoring platform respectively; and the association module is used for establishing the association between the third-party monitoring platform and the corresponding monitoring resource according to a preset corresponding relation after the third-party monitoring platform successfully registers according to the registration information.
Preferably, the second receiving module is specifically configured to receive information of the monitoring resource that is sent by the monitoring protocol conversion server and is based on a state change encapsulated by a video networking protocol; the reporting module is specifically configured to convert the information of the monitoring resource with the changed state, which is encapsulated based on the video networking protocol, into information of the monitoring resource with the changed state, which is encapsulated based on the SIP protocol, and report the information to the third-party monitoring platform subscribing to the monitoring resource with the changed state.
Preferably, the video networking monitoring platform further comprises: the third receiving module is used for receiving a subscription stop request sent by the third-party monitoring platform; and the second marking module is used for searching the monitoring resource associated with the third-party monitoring platform according to the subscription stop request and marking the monitoring resource which is not subscribed by the third-party monitoring platform.
Preferably, the subscription request is sent by the third party monitoring platform by using a subscribe signaling based on a SIP protocol; and the information of the monitoring resource with the changed state is sent by the video networking monitoring platform by adopting notify signaling based on an SIP protocol.
In the embodiment of the invention, the video network monitoring platform and the third-party monitoring platform can be butted, and the two platforms can share monitoring resources; and the video network monitoring platform can timely acquire the state change condition of the monitoring resource, and the third party monitoring platform can also make the video network monitoring platform timely report the state change condition of the monitoring resource through subscription, so that the consistency of the information of the video network monitoring platform and the third party monitoring platform is ensured, the accuracy of the information is improved, and the user experience is improved.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and the device for reporting the monitored resource information provided by the invention are introduced in detail, and a specific example is applied in the text to explain the principle and the implementation mode of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A method for reporting monitoring resource information is characterized in that the method is applied to a video network, the video network comprises a video network monitoring platform, a monitoring protocol server and a plurality of monitoring resources, the internet comprises a plurality of third party monitoring platforms, and the method comprises the following steps:
the video network monitoring platform receives a subscription request sent by the third-party monitoring platform;
the video network monitoring platform searches monitoring resources related to the third-party monitoring platform according to the subscription request and marks the monitoring resources as the monitoring resources subscribed by the third-party monitoring platform;
the video network monitoring platform receives information of monitoring resources with changed states, which is sent by the monitoring coordination server; the information of the monitoring resources with changed states is acquired by the monitoring coordination server after the state change of at least one monitoring resource is detected;
and the video network monitoring platform determines a third-party monitoring platform subscribing the monitoring resource with the changed state according to the information, and reports the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing the monitoring resource with the changed state.
2. The method according to claim 1, prior to the step of receiving, by the video networking monitoring platform, the subscription request sent by the third party monitoring platform, further comprising:
the video network monitoring platform respectively sends preset registration information to each third-party monitoring platform;
and after the third-party monitoring platform successfully registers according to the registration information, the video network monitoring platform establishes association between the third-party monitoring platform and the corresponding monitoring resource according to a preset corresponding relation.
3. The method of claim 1,
the step of receiving the information of the monitoring resources with changed states, which is sent by the monitoring coordination server, by the video networking monitoring platform comprises the following steps:
the video networking monitoring platform receives information of monitoring resources which are sent by the monitoring protocol conversion server and change based on the state of the video networking protocol package;
the step of reporting the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing to the monitoring resource with the changed state includes:
and the video network monitoring platform converts the information of the monitoring resource with the changed state based on the video network protocol package into the information of the monitoring resource with the changed state based on the SIP protocol package, and reports the information to the third party monitoring platform subscribing the monitoring resource with the changed state.
4. The method of claim 1, further comprising:
the video network monitoring platform receives a subscription stopping request sent by the third-party monitoring platform;
and the video network monitoring platform searches the monitoring resources associated with the third-party monitoring platform according to the subscription stopping request and marks the monitoring resources as the monitoring resources for which the third-party monitoring platform stops subscribing.
5. The method of claim 1, wherein the subscription request is sent by the third-party monitoring platform using SIP protocol-based subscription signaling; and the information of the monitoring resource with the changed state is sent by the video networking monitoring platform by adopting notify signaling based on an SIP protocol.
6. The utility model provides a report device of control resource information, its characterized in that, the device is applied to in the video networking, includes video networking monitoring platform, control transfer server and a plurality of control resource in the video networking, includes a plurality of third party monitoring platforms in the internet, the video networking monitoring platform includes:
the first receiving module is used for receiving a subscription request sent by the third-party monitoring platform;
the first marking module is used for searching the monitoring resources related to the third-party monitoring platform according to the subscription request and marking the monitoring resources as the monitoring resources subscribed by the third-party monitoring platform;
the second receiving module is used for receiving the information of the monitoring resources with changed states, which is sent by the monitoring coordination server; the information of the monitoring resources with changed states is acquired by the monitoring coordination server after the state change of at least one monitoring resource is detected;
and the reporting module is used for determining a third-party monitoring platform subscribing the monitoring resource with the changed state according to the information and reporting the information of the monitoring resource with the changed state to the third-party monitoring platform subscribing the monitoring resource with the changed state.
7. The apparatus of claim 6, wherein the video networking monitoring platform further comprises:
the sending module is used for sending the preset registration information to each third-party monitoring platform respectively;
and the association module is used for establishing the association between the third-party monitoring platform and the corresponding monitoring resource according to a preset corresponding relation after the third-party monitoring platform successfully registers according to the registration information.
8. The apparatus of claim 6,
the second receiving module is specifically configured to receive information of the monitoring resource, which is sent by the monitoring protocol conversion server and changes based on the state of the state encapsulated by the video networking protocol;
the reporting module is specifically configured to convert the information of the monitoring resource with the changed state, which is encapsulated based on the video networking protocol, into information of the monitoring resource with the changed state, which is encapsulated based on the SIP protocol, and report the information to the third-party monitoring platform subscribing to the monitoring resource with the changed state.
9. The apparatus of claim 6, wherein the video networking monitoring platform further comprises:
the third receiving module is used for receiving a subscription stop request sent by the third-party monitoring platform;
and the second marking module is used for searching the monitoring resource associated with the third-party monitoring platform according to the subscription stop request and marking the monitoring resource which is not subscribed by the third-party monitoring platform.
10. The apparatus of claim 6, wherein the subscription request is sent by the third party monitoring platform using SIP protocol based subscription signaling; and the information of the monitoring resource with the changed state is sent by the video networking monitoring platform by adopting notify signaling based on an SIP protocol.
CN201810943455.5A 2018-08-17 2018-08-17 Method and device for reporting monitoring resource information Pending CN110839011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810943455.5A CN110839011A (en) 2018-08-17 2018-08-17 Method and device for reporting monitoring resource information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810943455.5A CN110839011A (en) 2018-08-17 2018-08-17 Method and device for reporting monitoring resource information

Publications (1)

Publication Number Publication Date
CN110839011A true CN110839011A (en) 2020-02-25

Family

ID=69574354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810943455.5A Pending CN110839011A (en) 2018-08-17 2018-08-17 Method and device for reporting monitoring resource information

Country Status (1)

Country Link
CN (1) CN110839011A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434766A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Subscription information pushing method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289097A1 (en) * 2004-06-23 2005-12-29 Nokia Corporation Method, system and computer program to enable querying of resources in a certain context by definition of sip event package
CN1897581A (en) * 2005-07-15 2007-01-17 日本电气株式会社 Information exchange system, management server, and method for reducing the network load
CN103618800A (en) * 2013-12-05 2014-03-05 华为技术有限公司 Method and device for achieving subscription informing
CN103746855A (en) * 2014-01-27 2014-04-23 华为技术有限公司 Method and device for processing abnormal events in telecom cloud
CN107770754A (en) * 2017-10-23 2018-03-06 中兴通讯股份有限公司 A kind of notice sending method, device and system
CN108234396A (en) * 2016-12-14 2018-06-29 北京视联动力国际信息技术有限公司 A kind of method and device of monitoring device status information real-time synchronization
CN108234816A (en) * 2016-12-15 2018-06-29 北京视联动力国际信息技术有限公司 The method and device of resource information real-time synchronization is monitored between a kind of monitoring device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050289097A1 (en) * 2004-06-23 2005-12-29 Nokia Corporation Method, system and computer program to enable querying of resources in a certain context by definition of sip event package
CN1897581A (en) * 2005-07-15 2007-01-17 日本电气株式会社 Information exchange system, management server, and method for reducing the network load
CN103618800A (en) * 2013-12-05 2014-03-05 华为技术有限公司 Method and device for achieving subscription informing
CN103746855A (en) * 2014-01-27 2014-04-23 华为技术有限公司 Method and device for processing abnormal events in telecom cloud
CN108234396A (en) * 2016-12-14 2018-06-29 北京视联动力国际信息技术有限公司 A kind of method and device of monitoring device status information real-time synchronization
CN108234816A (en) * 2016-12-15 2018-06-29 北京视联动力国际信息技术有限公司 The method and device of resource information real-time synchronization is monitored between a kind of monitoring device
CN107770754A (en) * 2017-10-23 2018-03-06 中兴通讯股份有限公司 A kind of notice sending method, device and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434766A (en) * 2021-06-30 2021-09-24 青岛海尔科技有限公司 Subscription information pushing method and device, storage medium and electronic device
CN113434766B (en) * 2021-06-30 2024-03-22 青岛海尔科技有限公司 Subscription information pushing method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
CN109672856B (en) Resource synchronization method and device
CN109167960B (en) Method and system for processing video stream data
CN109309806B (en) Video conference management method and system
CN110190973B (en) Online state detection method and device
CN109714527B (en) Method and device for controlling video network camera in internet
CN109617956B (en) Data processing method and device
CN110087040B (en) Monitoring video calling method and system
CN110191315B (en) Monitoring and checking method and device based on video network
CN109660753B (en) Resource synchronization method and device
CN110557319B (en) Message processing method and device based on video network
CN109802952B (en) Monitoring data synchronization method and device
CN110224988B (en) Image data processing method, system and device and storage medium
CN110049280B (en) Method and device for processing monitoring data
CN110839142B (en) Monitoring directory sharing method and device
CN110557273A (en) Terminal state warning method and device
CN110493149B (en) Message processing method and device
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110134892B (en) Loading method and system of monitoring resource list
CN110166363B (en) Multicast link monitoring method and device
CN110519554B (en) Monitoring detection method and device
CN111131788A (en) Monitoring resource state detection method and device and computer readable storage medium
CN110677315A (en) Method and system for monitoring state
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110839011A (en) Method and device for reporting monitoring resource information
CN110267110B (en) Concurrent on-demand processing method and system based on video network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200225