CN110839139A - Monitoring state sharing method and device - Google Patents

Monitoring state sharing method and device Download PDF

Info

Publication number
CN110839139A
CN110839139A CN201810941444.3A CN201810941444A CN110839139A CN 110839139 A CN110839139 A CN 110839139A CN 201810941444 A CN201810941444 A CN 201810941444A CN 110839139 A CN110839139 A CN 110839139A
Authority
CN
China
Prior art keywords
monitoring
resource
platform
video
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
CN201810941444.3A
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 CN201810941444.3A priority Critical patent/CN110839139A/en
Publication of CN110839139A publication Critical patent/CN110839139A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Abstract

The embodiment of the invention provides a monitoring state sharing method and device, which are applied to a video network. The method comprises the following steps: the monitoring cooperative switching server detects the state of each monitoring resource connected with the monitoring cooperative switching server at set time intervals and judges whether the monitoring resource with changed state exists; if the monitoring protocol conversion server judges that the monitoring protocol conversion server exists, the information of the monitoring resources with changed states is packaged into a video networking protocol data packet based on a video networking protocol, and the video networking protocol data packet is sent to a video networking monitoring platform through the video networking; the video network monitoring platform 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; the video networking monitoring platform encapsulates information of the monitoring resources with changed states into a national standard protocol data packet based on a national standard protocol, and sends the information to the associated third-party monitoring platform through the Internet. 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

Monitoring state sharing method and device
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a monitoring state sharing method and a monitoring state sharing device.
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, embodiments of the present invention are proposed to provide a method for sharing a monitoring status and a corresponding device for sharing a monitoring status, which overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present invention discloses a method for sharing a monitoring state, where the method is applied to a video network, the video network includes a video network monitoring platform, a monitoring protocol server and a plurality of monitoring resources, and the internet includes at least one third-party monitoring platform, and the method includes:
the monitoring cooperative switching server detects the state of each monitoring resource connected with the monitoring cooperative switching server at set time intervals and judges whether the monitoring resource with changed state exists;
if the monitoring protocol conversion server judges that the monitoring protocol conversion server exists, the information of the monitoring resource with the changed state is packaged into a video networking protocol data packet based on a video networking protocol, and the video networking protocol data packet is sent to the video networking monitoring platform through the video networking;
the video network monitoring platform 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;
and the video networking monitoring platform encapsulates the information of the monitoring resources with changed states into a national standard protocol data packet based on a national standard protocol, and sends the information to the associated third party monitoring platform through the Internet.
Preferably, the step of detecting the state of each monitoring resource connected to the monitoring coordination server at set time intervals includes: the monitoring co-rotation server sends a login command to each monitoring resource connected with the monitoring co-rotation server per set time through a preset Software Development Kit (SDK); if the monitoring co-transfer server judges that the monitoring resource is successfully logged in, determining that the state of the monitoring resource is online; and if the monitoring resource is judged to be failed to log in, determining that the state of the monitoring resource is offline.
Preferably, the step of determining whether there is a monitoring resource with a changed state includes: the monitoring coordination transfer server compares the detected state of the monitoring resource with the stored state of the monitoring resource; and if the monitoring resources with inconsistent comparison exist, determining that the monitoring resources with inconsistent comparison are the monitoring resources with changed states.
Preferably, before the step of detecting the state of each monitoring resource connected to the monitoring coordination server at set time intervals and determining whether there is a monitoring resource with a changed state, 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 encapsulating the information of the monitoring resource with the changed state into an internet of view protocol data packet based on an internet of view protocol and sending the information to the internet of view monitoring platform through the internet of view comprises: the monitoring protocol conversion server packages the information of the monitoring resources with changed states into a video networking protocol data packet comprising path information based on a video networking protocol; the path information is used for indicating the transmission path of the video networking protocol data packet in the video networking; and the monitoring protocol conversion server sends the video networking protocol data packet to the video networking monitoring platform through the video networking according to the path information.
On the other hand, the embodiment of the invention also discloses a sharing device for monitoring the state, the device is applied to the video network, the video network comprises a video network monitoring platform, a monitoring protocol conversion server and a plurality of monitoring resources, the internet comprises at least one third party monitoring platform,
the monitoring co-rotation server comprises:
the detection module is used for detecting the state of each monitoring resource connected with the detection module at set time intervals and judging whether the monitoring resource with changed state exists;
the first sending module is used for packaging the information of the monitoring resource with the changed state into a video networking protocol data packet based on a video networking protocol if the detecting module judges that the monitoring resource exists, and sending the information to the video networking monitoring platform through the video networking;
the video networking monitor platform includes:
the determining module is used for determining a third-party monitoring platform related to the monitoring resource with the changed state according to the information of the monitoring resource with the changed state;
and the second sending module is used for packaging the information of the monitoring resources with the changed states into a national standard protocol data packet based on a national standard protocol and sending the information to the associated third-party monitoring platform through the Internet.
Preferably, the detection module comprises: the command sending unit is used for sending a login command to each monitoring resource connected with the command sending unit per set time through a preset Software Development Kit (SDK); the state determining unit is used for determining that the state of the monitoring resource is online if the monitoring resource is judged to be successfully logged in; and if the monitoring resource is judged to be failed to log in, determining that the state of the monitoring resource is offline.
Preferably, the detection module comprises: the state comparison unit is used for comparing the detected state of the monitoring resource with the stored state of the monitoring resource; and the resource determining unit is used for determining the monitoring resource with inconsistent comparison as the monitoring resource with changed state if the monitoring resource with inconsistent comparison exists.
Preferably, the video networking monitoring platform further comprises: the third sending module is used for respectively sending the preset registration information to each third-party monitoring platform; 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 first transmitting module includes: the information packaging unit is used for packaging the information of the monitoring resource with the changed state into an internet of video protocol data packet comprising path information based on an internet of video protocol; the path information is used for indicating the transmission path of the video networking protocol data packet in the video networking; and the data sending unit is used for sending the video networking protocol data packet to the video networking monitoring platform through the video networking according to the path information.
In the embodiment of the invention, the monitoring coordination server detects the state of each monitoring resource connected with the monitoring coordination server at set time intervals and judges whether the monitoring resource with changed state exists; if the monitoring resource exists, the information of the monitoring resource with the changed state is packaged into a video networking protocol data packet based on the video networking protocol, and the video networking protocol data packet is sent to a video networking monitoring platform through the video networking; the video network monitoring platform determines a third-party monitoring platform related to the monitoring resource with the changed state according to the information of the monitoring resource with the changed state; the video networking monitoring platform encapsulates information of the monitoring resources with changed states into a national standard protocol data packet based on a national standard protocol, and sends the information to the associated third-party monitoring platform through the Internet. Therefore, the embodiment of the invention can realize the butt joint of the video network monitoring platform and the third party monitoring platform, so that the monitoring resources in the video network can be shared to the Internet; and the video network monitoring platform can timely acquire the state change condition of the monitoring resource and timely report the state change condition of the monitoring resource to the third-party monitoring platform, so that the information consistency of the video network monitoring platform and the third-party monitoring platform is ensured, the information accuracy 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 steps of a method for monitoring status sharing according to a first embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a monitoring status sharing method according to a second embodiment of the present invention;
fig. 7 is a flowchart illustrating a monitoring status sharing method according to a second embodiment of the present invention;
fig. 8 is a block diagram of a shared device for monitoring states 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 sharing scheme of the monitoring state provided by the embodiment of the invention follows the protocol of the video network, so that the video network monitoring platform can share the state change condition of the monitoring resource to a third party monitoring platform 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 at least one third-party monitoring platform, the third-party monitoring platform can be in butt joint with the video network monitoring platform, and the video network monitoring platform can send monitoring data to the third-party monitoring platform, so that monitoring resources in the video network 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 sharing a monitoring state, so as to achieve consistency of monitoring resource information of a third party monitoring platform and a video networking monitoring platform.
Referring to fig. 5, a flowchart illustrating steps of a monitoring status sharing method according to a first embodiment of the present invention is shown.
The monitoring state sharing method of the embodiment of the invention can comprise the following steps:
step 501, the monitoring coordination server detects the state of each monitoring resource connected to the monitoring coordination server at set time intervals, and judges whether the monitoring resource with changed state exists.
The monitoring coordination server may detect the states of each monitoring resource connected to the monitoring coordination server, for example, the states of each monitoring resource connected to the monitoring coordination server may be detected at set time intervals. And judging whether the monitoring resource with the changed state exists according to the detection result. Wherein, the state change can be the state changing from online to offline, or from offline to online, etc.
In addition, for the specific value of the set time interval, 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 may be 20s, 30s, 60s, and so on.
And 502, if the monitoring protocol conversion server judges that the monitoring protocol conversion server exists, the information of the monitoring resource with the changed state is packaged into a video networking protocol data packet based on a video networking protocol, and the video networking protocol data packet is sent to the video networking monitoring platform through the video networking.
If the monitoring resources with the changed states exist, the monitoring coordination and transformation server can acquire the information of the monitoring resources with the changed states and send the information to the video network monitoring platform.
Specifically, the monitoring cooperation server and the video network monitoring platform can interact through the video network. Therefore, the monitoring protocol conversion server can package the information of the monitoring resources with changed states into the video networking protocol data packet, and sends the video networking protocol data packet to the video networking monitoring platform through the video networking so as to achieve the purpose of sending the information of the monitoring resources with changed states to the video networking monitoring platform, and ensure that the video networking monitoring platform can timely know the state change conditions of the monitoring resources.
Step 503, the video network monitoring platform 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.
The video network monitoring platform can allocate corresponding monitoring resources to each third-party monitoring platform in advance, and establish the association relationship between the third-party monitoring platform and the corresponding monitoring resources.
After receiving the video networking protocol data packet, the video networking monitoring platform analyzes the video networking protocol data packet to acquire the information of the monitoring resource with changed state. The third party monitoring platform associated with the state-changed monitoring resource can be determined according to the information of the state-changed monitoring resource.
Step 504, the video network monitoring platform encapsulates the information of the monitoring resources with changed states into a national standard protocol data packet based on a national standard protocol, and sends the information to the associated third party monitoring platform through the internet.
The third-party monitoring platform can be in butt joint with the video networking monitoring platform, so that monitoring resources are shared. The video networking monitoring platform may send information of the status-changed monitoring resource to a third party monitoring platform associated with the status-changed monitoring resource. 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.
Specifically, the third-party monitoring platform and the video networking monitoring platform can interact through the internet. The third-party monitoring platform can be a platform based on a national standard protocol, so that the video network monitoring platform can package information of the monitoring resources with changed states into a national standard protocol data packet based on the national standard protocol, and send the national standard protocol data packet to the third-party monitoring platform associated with the monitoring resources with changed states through the internet.
In the embodiment of the invention, the video network monitoring platform can be butted with a third-party monitoring platform, so that monitoring resources in the video network can be shared to the Internet; and the video network monitoring platform can timely acquire the state change condition of the monitoring resource and timely report the state change condition of the monitoring resource to the third-party monitoring platform, so that the information consistency of the video network monitoring platform and the third-party monitoring platform is ensured, the information accuracy is improved, and the user experience is improved.
Example two
Referring to fig. 6, a flowchart illustrating steps of a monitoring status sharing method according to a second embodiment of the present invention is shown.
The monitoring state sharing method 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.
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. The video network monitoring platform and the third-party monitoring platform can perform bidirectional interaction through the internet. 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 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, the video networking monitoring platform (also described as a video networking monitoring and networking management scheduling platform) can be divided into a front-end display (webpage) and a back-end service, and the front end, that is, a video networking monitoring client, is responsible for displaying an overall monitoring directory, calling a monitoring video, and configuring the video networking monitoring and networking management scheduling platform. The backend, also called an MServer, is also responsible for the unified management of all accessed monitoring resources in the entire video network, and the docking service of a third-party monitoring platform (such as a national standard (GB/T28181) platform) monitoring system. Therefore, the registration information can be configured for the 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 national standard protocol data packet based on a national standard protocol, and send the national standard protocol data packet to a corresponding third party monitoring platform through the internet. The national standard protocol can be GB/T28181 protocol.
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 national standard protocol data packet after receiving the national standard protocol data packet, acquires the registration information in the national standard 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 a database of the MServer, and the MServer may read the corresponding relationship between the third-party monitoring platform and the monitoring resource from the 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 device ID of the corresponding 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.
It should be noted that, if there is one third-party monitoring platform, the video network monitoring platform may establish that the third-party monitoring platform is associated with all monitoring resources. If the number of the third-party monitoring platforms is multiple, the video network monitoring platform can establish that each third-party monitoring platform is associated with part of the monitoring resources.
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, the monitoring resource 6, and the monitoring resource 7. Wherein A, B, C represents the account number of the third party monitoring platform, and 1, 2, 3, 4, 5, 6, 7 represents the device ID of the monitoring resource.
After the registration is successful, the third-party monitoring platform can share the monitoring resources on the video networking monitoring platform. For example, the MServer may obtain data of the monitoring resources on the monitoring co-rotation server through the video network, integrate the data of the monitoring resources of the multiple monitoring co-rotation servers, and share the data of the monitoring resources accessed by the video network to the third-party monitoring platform through the national standard protocol.
Step 603, the monitoring coordination server detects the state of each monitoring resource connected with the monitoring coordination server at set time intervals, and judges whether the monitoring resource with changed state exists.
The monitoring protocol conversion server can access a plurality of monitoring resources, and the monitoring resources in the embodiment of the invention can encode related data by adopting encoding modes such as national standard protocols (such as GB/T28181) and the like, and send the encoded data to the monitoring protocol conversion server through the Internet. The monitoring resource may be a Network Video Recorder (NVR), a Digital Video Recorder (DVR), an Internet Protocol Camera (IPC), or other devices.
In the monitoring system of the video network, a large number of monitoring resources can be included, and in order to avoid too heavy burden on 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 services for the monitoring resources.
The monitoring coordination server can detect the states of each monitoring resource connected with the monitoring coordination server at set time intervals so as to determine whether the states of the monitoring resources change.
In one embodiment, the detection process may include: the monitoring co-rotation server sends login commands to each monitoring resource connected with the monitoring co-rotation server through a preset SDK (Software Development Kit) at set time intervals; if the monitoring co-transfer server judges that the monitoring resource is successfully logged in, determining that the state of the monitoring resource is online; and if the monitoring resource is judged to be failed to log in, determining that the state of the monitoring resource is offline. The monitoring resource performs the login operation after receiving the login command, for example, the login command may include login information (an account, a password, and the like), and the monitoring resource may perform the login operation according to the login information. If the monitoring equipment is on line, the login is successful, and a login response can be replied to the monitoring co-rotation server; if the monitoring resource is offline due to a network or the like, the login fails, and in this case, a login response will not be replied to the monitoring co-rotation server. Therefore, the monitoring coordination server can determine whether the monitoring resource is on-line according to whether the monitoring resource is successful or not.
In another embodiment, the monitoring coordination server may detect the status 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 each monitoring resource connected with the monitoring coordination and conversion server at set time intervals; each monitoring resource responds to each other and replies a heartbeat message to the monitoring coordination and transfer server; if the monitoring protocol conversion server does not receive the heartbeat message replied by a certain monitoring resource for the continuously set times, the monitoring protocol conversion server can determine that the state of the monitoring resource is offline; if the monitoring coordination server receives a heartbeat message replied by a certain monitoring resource, the monitoring coordination server can determine that the state of the monitoring resource is online.
In this embodiment, for the specific values of the setting time and the setting 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 setting time may be 20s, 30s, 60s, etc., and the setting times may be 3 times, 4 times, 5 times, etc.
In the monitoring coordination server, information of each monitoring resource, such as the state of the monitoring resource, the device ID, and the like, may be stored. After detecting the states of the monitoring resources, the monitoring coordination server can judge whether the monitoring resources with changed states exist. The monitoring coordination server can compare the detected state of the monitoring resource with the stored state of the monitoring resource; and if the monitoring resources with inconsistent comparison exist, determining that the monitoring resources with inconsistent comparison are the monitoring resources with changed states. And if the state of a certain monitoring resource changes, the stored state of the corresponding monitoring resource is updated, that is, the stored state of the monitoring resource is updated to the changed state.
And step 604, if the monitoring protocol conversion server judges that the monitoring protocol conversion server exists, the information of the monitoring resource with the changed state is packaged into a video networking protocol data packet based on a video networking protocol, and the video networking protocol data packet is sent to the video networking monitoring platform through the video networking.
And if the monitoring coordination server detects that the monitoring resources with the changed states exist, acquiring the information of the monitoring resources with the changed states and sending the information to the video network monitoring platform. If the monitoring coordination server detects that there is no monitoring resource with changed state, the process of step 603 is executed continuously without executing step 604.
In a specific implementation, the monitoring protocol conversion server may encapsulate information of the monitoring resource whose state is changed into an internet of view protocol data packet based on an internet of view protocol, and send the internet of view protocol data packet to the internet of view monitoring platform (specifically, may be an MServer) through the internet of view. For example, the monitoring protocol conversion server may send an internet of view 0x0004C protocol data packet to the MServer, where the data packet carries information of the monitoring resource whose status is changed.
In a preferred embodiment, the monitoring protocol conversion server encapsulates information of each monitoring resource connected to itself based on the video networking protocol, and the obtained video networking protocol data packet 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 through the video networking according to the path information, so that the routing process in the similar internet is not needed, and the data transmission is simplified.
Step 605, the video network monitoring platform 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.
After receiving the video networking protocol data packet sent by the monitoring protocol conversion server, the video networking monitoring platform (specifically, the MServer) analyzes the video networking protocol data packet to obtain the information of the monitoring resource with changed state included therein. The information of the monitoring resource whose status is changed may include a Device ID (Device ID) of the monitoring resource and a status of the monitoring resource (e.g., flag information of Offline (OFF), Online (ON)), among others.
The video network monitoring platform (specifically, the 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, according to the example of step 602, if the device ID of the monitoring resource with the changed state is 3, that is, the state of the monitoring resource 3 changes, it may be determined that the third party monitoring platforms associated with the monitoring resource with the changed state (that is, the monitoring resource 3) are the third party monitoring platform a and the third party monitoring platform B.
And 606, the video network monitoring platform packages the information of the monitoring resources with changed states into a national standard protocol data packet based on a national standard protocol, and sends the information to the associated third party monitoring platform through the internet.
The internet of view monitoring platform (specifically, MServer) may send information of the monitoring resource whose status is changed to a third party monitoring platform associated with the monitoring resource whose status is changed. The method specifically comprises the following steps: the video networking monitoring platform encapsulates information of the monitoring resources with the changed state into a national standard protocol data packet based on a national standard protocol, and sends the national standard protocol data packet to a third party monitoring platform associated with the monitoring resources with the changed state through the Internet.
After receiving the international protocol data packet, the third-party monitoring platform analyzes the international protocol data packet to acquire information of the monitoring resource with the changed state, and further updates the information, such as updating the state of the monitoring resource, of the monitoring resource with the changed state, which is stored by the third-party monitoring platform, so that the information of the third-party monitoring platform is consistent with that of the video network monitoring platform.
The following summarizes the description. Referring to fig. 7, a flowchart of a monitoring status sharing method according to a second embodiment of the present invention is shown. Fig. 7 illustrates an example of a third party monitoring platform. The monitoring co-transformation server and the MServer are positioned in a video network, and the third-party monitoring platform is positioned in an IP network (namely the Internet). The monitoring co-rotation server sends a login command to a monitoring resource (NVR, DVR and IPC are included in the graph); the monitoring resource performs login operation after receiving the login command, and the monitoring resource is successfully or unsuccessfully logged in; the monitoring protocol conversion server determines whether the monitoring resource is on-line or off-line according to whether the monitoring resource is successfully logged in, and reports the on-line or off-line state of the monitoring resource with the changed state to the MServer based on the video networking protocol; and the MServer sends the online or offline state of the monitoring resource with the changed state to a corresponding third-party monitoring platform based on a national standard protocol.
In the embodiment of the invention, the third-party monitoring platform can be a platform which is specified by GB/T28181 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 at least one third-party monitoring platform, so that the offline states of the monitoring resources under multiple platforms are kept consistent. 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 third-party monitoring platform, 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. 8, a block diagram of a shared device for monitoring status according to a third embodiment of the present invention is shown. The device can be applied to the video network, and the video network comprises a video network monitoring platform, a monitoring cooperation server and a plurality of monitoring resources, and the internet comprises at least one third-party monitoring platform.
The monitoring state sharing device of the embodiment of the invention can comprise the following modules positioned in the monitoring coordination server and the video network monitoring platform:
the monitoring co-rotation server comprises:
a detection module 801, configured to detect the state of each monitoring resource connected to itself at set intervals, and determine whether there is a monitoring resource with a changed state;
a first sending module 802, configured to, if the detecting module determines that the monitoring resource exists, package information of the monitoring resource whose state is changed into an internet of view protocol data packet based on an internet of view protocol, and send the information to the internet of view monitoring platform through the internet of view;
the video networking monitor platform includes:
a determining module 803, configured to determine, according to the information of the monitoring resource whose state changes, a third-party monitoring platform associated with the monitoring resource whose state changes;
a second sending module 804, configured to encapsulate the information of the monitoring resource whose state is changed into a national standard protocol data packet based on a national standard protocol, and send the information to the associated third-party monitoring platform through the internet.
In a preferred embodiment, the detection module comprises: the command sending unit is used for sending a login command to each monitoring resource connected with the command sending unit per set time through a preset Software Development Kit (SDK); the state determining unit is used for determining that the state of the monitoring resource is online if the monitoring resource is judged to be successfully logged in; and if the monitoring resource is judged to be failed to log in, determining that the state of the monitoring resource is offline.
In a preferred embodiment, the detection module comprises: the state comparison unit is used for comparing the detected state of the monitoring resource with the stored state of the monitoring resource; and the resource determining unit is used for determining the monitoring resource with inconsistent comparison as the monitoring resource with changed state if the monitoring resource with inconsistent comparison exists.
In a preferred embodiment, the video networking monitoring platform further comprises: the third sending module is used for respectively sending the preset registration information to each third-party monitoring platform; 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.
In a preferred embodiment, the first transmitting module comprises: the information packaging unit is used for packaging the information of the monitoring resource with the changed state into an internet of video protocol data packet comprising path information based on an internet of video protocol; the path information is used for indicating the transmission path of the video networking protocol data packet in the video networking; and the data sending unit is used for sending the video networking protocol data packet to the video networking monitoring platform through the video networking according to the path information.
In the embodiment of the invention, the video network monitoring platform can be butted with a third-party monitoring platform, so that monitoring resources in the video network can be shared to the Internet; and the video network monitoring platform can timely acquire the state change condition of the monitoring resource and timely report the state change condition of the monitoring resource to the third-party monitoring platform, so that the information consistency of the video network monitoring platform and the third-party monitoring platform is ensured, the information accuracy 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 above detailed description is provided for a monitoring state sharing method and a monitoring state sharing device provided by the present invention, and a specific example is applied in the present document to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understanding the method and the core idea of the present 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 sharing monitoring state is applied to a video network, wherein the video network comprises a video network monitoring platform, a monitoring coordination server and a plurality of monitoring resources, the internet comprises at least one third party monitoring platform, and the method comprises the following steps:
the monitoring cooperative switching server detects the state of each monitoring resource connected with the monitoring cooperative switching server at set time intervals and judges whether the monitoring resource with changed state exists;
if the monitoring protocol conversion server judges that the monitoring protocol conversion server exists, the information of the monitoring resource with the changed state is packaged into a video networking protocol data packet based on a video networking protocol, and the video networking protocol data packet is sent to the video networking monitoring platform through the video networking;
the video network monitoring platform 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;
and the video networking monitoring platform encapsulates the information of the monitoring resources with changed states into a national standard protocol data packet based on a national standard protocol, and sends the information to the associated third party monitoring platform through the Internet.
2. The method according to claim 1, wherein the step of the monitoring coordination server detecting the status of each monitoring resource connected to the monitoring coordination server at set time intervals comprises:
the monitoring co-rotation server sends a login command to each monitoring resource connected with the monitoring co-rotation server per set time through a preset Software Development Kit (SDK);
if the monitoring co-transfer server judges that the monitoring resource is successfully logged in, determining that the state of the monitoring resource is online; and if the monitoring resource is judged to be failed to log in, determining that the state of the monitoring resource is offline.
3. The method of claim 1, wherein the step of determining whether there is a monitoring resource with a changed state comprises:
the monitoring coordination transfer server compares the detected state of the monitoring resource with the stored state of the monitoring resource;
and if the monitoring resources with inconsistent comparison exist, determining that the monitoring resources with inconsistent comparison are the monitoring resources with changed states.
4. The method according to claim 1, wherein before the step of the monitoring coordination server detecting the status of each monitoring resource connected to the monitoring coordination server at set time intervals and determining whether there is a monitoring resource with a changed status, the method further comprises:
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.
5. The method according to claim 1, wherein the step of encapsulating the information of the monitoring resource with the changed state into an internet protocol data packet based on an internet protocol and sending the information to the internet monitoring platform through the internet comprises:
the monitoring protocol conversion server packages the information of the monitoring resources with changed states into a video networking protocol data packet comprising path information based on a video networking protocol; the path information is used for indicating the transmission path of the video networking protocol data packet in the video networking;
and the monitoring protocol conversion server sends the video networking protocol data packet to the video networking monitoring platform through the video networking according to the path information.
6. The shared device for monitoring the state is applied to the video network, the video network comprises a video network monitoring platform, a monitoring protocol server and a plurality of monitoring resources, the internet comprises at least one third-party monitoring platform,
the monitoring co-rotation server comprises:
the detection module is used for detecting the state of each monitoring resource connected with the detection module at set time intervals and judging whether the monitoring resource with changed state exists;
the first sending module is used for packaging the information of the monitoring resource with the changed state into a video networking protocol data packet based on a video networking protocol if the detecting module judges that the monitoring resource exists, and sending the information to the video networking monitoring platform through the video networking;
the video networking monitor platform includes:
the determining module is used for determining a third-party monitoring platform related to the monitoring resource with the changed state according to the information of the monitoring resource with the changed state;
and the second sending module is used for packaging the information of the monitoring resources with the changed states into a national standard protocol data packet based on a national standard protocol and sending the information to the associated third-party monitoring platform through the Internet.
7. The apparatus of claim 6, wherein the detection module comprises:
the command sending unit is used for sending a login command to each monitoring resource connected with the command sending unit per set time through a preset Software Development Kit (SDK);
the state determining unit is used for determining that the state of the monitoring resource is online if the monitoring resource is judged to be successfully logged in; and if the monitoring resource is judged to be failed to log in, determining that the state of the monitoring resource is offline.
8. The apparatus of claim 6, wherein the detection module comprises:
the state comparison unit is used for comparing the detected state of the monitoring resource with the stored state of the monitoring resource;
and the resource determining unit is used for determining the monitoring resource with inconsistent comparison as the monitoring resource with changed state if the monitoring resource with inconsistent comparison exists.
9. The apparatus of claim 6, wherein the video networking monitoring platform further comprises:
the third sending module is used for respectively sending the preset registration information to each third-party monitoring platform;
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.
10. The apparatus of claim 6, wherein the first sending module comprises:
the information packaging unit is used for packaging the information of the monitoring resource with the changed state into an internet of video protocol data packet comprising path information based on an internet of video protocol; the path information is used for indicating the transmission path of the video networking protocol data packet in the video networking;
and the data sending unit is used for sending the video networking protocol data packet to the video networking monitoring platform through the video networking according to the path information.
CN201810941444.3A 2018-08-17 2018-08-17 Monitoring state sharing method and device Pending CN110839139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810941444.3A CN110839139A (en) 2018-08-17 2018-08-17 Monitoring state sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810941444.3A CN110839139A (en) 2018-08-17 2018-08-17 Monitoring state sharing method and device

Publications (1)

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

Family

ID=69574186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810941444.3A Pending CN110839139A (en) 2018-08-17 2018-08-17 Monitoring state sharing method and device

Country Status (1)

Country Link
CN (1) CN110839139A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120169874A1 (en) * 2011-01-04 2012-07-05 Calgary Scientific Inc. Method and system for providing remote control from a remote client computer
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device
CN108234396A (en) * 2016-12-14 2018-06-29 北京视联动力国际信息技术有限公司 A kind of method and device of monitoring device status information real-time synchronization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120169874A1 (en) * 2011-01-04 2012-07-05 Calgary Scientific Inc. Method and system for providing remote control from a remote client computer
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108234396A (en) * 2016-12-14 2018-06-29 北京视联动力国际信息技术有限公司 A kind of method and device of monitoring device status information real-time synchronization
CN108206934A (en) * 2016-12-16 2018-06-26 北京视联动力国际信息技术有限公司 A kind of monitor video sharing method and device

Similar Documents

Publication Publication Date Title
CN108632525B (en) Method and system for processing service
CN109672856B (en) Resource synchronization method and device
CN109167960B (en) Method and system for processing video stream data
CN110087040B (en) Monitoring video calling method and system
CN109309806B (en) Video conference management method and system
CN109617956B (en) Data processing method and device
CN110190973B (en) Online state detection method and device
CN109561072B (en) Link detection method and system
CN110381119B (en) Method, system and device for acquiring log information and storage medium
CN110191315B (en) Monitoring and checking method and device based on video network
CN109660753B (en) Resource synchronization method and device
CN110557612B (en) Control method of monitoring equipment and video networking system
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
CN110557319A (en) Message processing method and device based on video network
CN110493149B (en) Message processing method and device
CN110134892B (en) Loading method and system of monitoring resource list
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110166363B (en) Multicast link monitoring method and device
CN110519554B (en) Monitoring detection method and device
CN111212255A (en) Monitoring resource obtaining method and device and computer readable storage medium
CN108881148B (en) Data acquisition method and device
CN110445701B (en) Business object processing method and device and storage medium

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

Application publication date: 20200225

RJ01 Rejection of invention patent application after publication