CN109889780B - Data synchronization method and device - Google Patents
Data synchronization method and device Download PDFInfo
- Publication number
- CN109889780B CN109889780B CN201910101438.1A CN201910101438A CN109889780B CN 109889780 B CN109889780 B CN 109889780B CN 201910101438 A CN201910101438 A CN 201910101438A CN 109889780 B CN109889780 B CN 109889780B
- Authority
- CN
- China
- Prior art keywords
- monitoring
- changed
- information
- resources
- directory
- 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.)
- Active
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a data synchronization method and a data synchronization device, which are applied to a video network. The method comprises the following steps: the monitoring protocol conversion server receives information of the changed monitoring resources which are reported by a third-party monitoring platform through the Internet and are packaged based on the Internet protocol; the monitoring co-transformation server acquires a complete directory to which the changed monitoring resource belongs; the monitoring protocol conversion server encapsulates information of the changed monitoring resources and a complete directory to which the changed monitoring resources belong based on the video networking protocol, and synchronizes to the video networking monitoring platform through the video networking. According to the invention, when the user wants to check the complete directory to which the changed monitoring resource belongs, the video networking monitoring platform can acquire the complete directory more simply, conveniently and quickly, so that the user experience is improved.
Description
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a data synchronization method and a data synchronization apparatus.
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 video monitoring platform is used for managing information of all monitoring devices. In practical applications, the monitoring device may change for some reason, such as changing from online to offline, or from offline to online, etc. The identification and state of the changed monitoring equipment can be synchronized to the video monitoring platform.
However, when the user wants to view other information of the changed monitoring device, the video monitoring platform needs to query the information of all the monitoring devices managed by the video monitoring platform. Because the information amount of the monitoring equipment managed by the video monitoring platform is very large, the query process is complex, the query efficiency is low, and the user experience is poor.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are proposed to provide a data synchronization method and a corresponding data synchronization apparatus that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a data synchronization method, where the method is applied to a video network, the video network includes a video network monitoring platform and a monitoring protocol conversion server, the internet includes a third party monitoring platform, and the third party monitoring platform is connected to multiple monitoring resources, and the method includes:
the monitoring co-transformation server receives information of the changed monitoring resources based on the internet protocol package, which is reported by the third-party monitoring platform through the internet;
the monitoring co-transformation server acquires a complete directory to which the changed monitoring resource belongs;
and the monitoring protocol conversion server encapsulates the information of the changed monitoring resources and the complete directory to which the changed monitoring resources belong based on a video networking protocol, and synchronizes to the video networking monitoring platform through the video networking.
Optionally, before the step of obtaining, by the monitoring co-rotation server, the complete directory to which the changed monitoring resource belongs, the method further includes: and the monitoring co-transfer server judges whether the third-party monitoring platform finishes reporting the information of the changed monitoring resources. The step of acquiring the complete directory to which the changed monitoring resource belongs by the monitoring cooperative server includes: and when the monitoring protocol conversion server judges that the reporting is finished, acquiring the complete directory to which the changed monitoring resource belongs.
Optionally, the step of determining, by the monitoring co-transformation server, whether the third-party monitoring platform has reported the information of the changed monitoring resource includes: the monitoring protocol conversion server judges whether the time of the current time distance from the last time when the information of the monitoring resource which changes based on the internet protocol encapsulation is received exceeds a set threshold value; when the report time exceeds the preset time, the report is judged to be finished; and when the report is not over, judging that the report is not finished.
Optionally, after the step of obtaining the complete directory to which the changed monitoring resource belongs when the monitoring co-transfer server determines that the reporting is completed, the method further includes: the monitoring co-rotation server sends a synchronization request to the third-party monitoring platform, wherein the synchronization request comprises a complete directory to which the changed monitoring resource belongs; the monitoring co-transformation server receives information of all monitoring resources contained in a complete directory to which the changed monitoring resources belong, which is returned by the third-party monitoring platform aiming at the synchronous request; and the monitoring cooperative conversion server selects information of the monitoring resources with more monitoring resources from the changed information of the monitoring resources and the information of all the monitoring resources. The step of the monitoring protocol conversion server packaging the information of the changed monitoring resource and the complete catalogue to which the changed monitoring resource belongs based on a video networking protocol comprises the following steps: and the monitoring protocol conversion server encapsulates the information of the selected monitoring resources and the complete directory to which the selected monitoring resources belong based on the video networking protocol.
Optionally, the information of the changed monitoring resource includes a lowest directory to which the changed monitoring resource belongs; the step of acquiring the complete directory to which the changed monitoring resource belongs by the monitoring cooperative server includes: the monitoring co-transformation server queries the upper-level directory step by step according to the lowest-level directory to which the changed monitoring resource belongs until the highest-level directory to which the changed monitoring resource belongs is queried; and the monitoring co-rotation server connects the lowest-level directory with the inquired directories at all levels step by step to serve as the complete directory to which the changed monitoring resource belongs.
On the other hand, the embodiment of the invention also discloses a data synchronization device, the device is applied to a video network, the video network comprises a video network monitoring platform and a monitoring transfer server, the internet comprises a third-party monitoring platform, the third-party monitoring platform is connected with a plurality of monitoring resources, and the monitoring transfer server comprises:
the first receiving module is used for receiving information of the monitoring resource which is reported by the third-party monitoring platform through the Internet and is based on the change of the Internet protocol package;
the acquisition module is used for acquiring the complete catalogue to which the changed monitoring resource belongs;
and the synchronization module is used for packaging the information of the changed monitoring resources and the complete catalogue to which the changed monitoring resources belong based on a video networking protocol, and synchronizing the information to the video networking monitoring platform through the video networking.
Optionally, the monitoring co-rotation server further includes: and the judging module is used for judging whether the information of the changed monitoring resource is reported by the third-party monitoring platform before the step of acquiring the complete catalogue to which the changed monitoring resource belongs by the acquiring module. And the acquisition module is used for acquiring the complete catalogue to which the changed monitoring resource belongs when the judgment module judges that the reporting is finished.
Optionally, the determining module includes: the time judging unit is used for judging whether the time from the current time to the last time when the information of the monitoring resource which changes based on the internet protocol encapsulation is received exceeds a set threshold value; the result determining unit is used for judging that the report is finished when the report exceeds the threshold value; and when the report is not over, judging that the report is not finished.
Optionally, the monitoring co-rotation server further includes: a sending module, configured to send a synchronization request to the third-party monitoring platform, where the synchronization request includes a complete directory to which the changed monitoring resource belongs; a second receiving module, configured to receive information of all monitoring resources included in a complete directory to which the changed monitoring resource belongs, where the information is returned by the third-party monitoring platform for the synchronization request; and the selecting module is used for selecting the information of the monitoring resources with more monitoring resources from the changed information of the monitoring resources and the information of all the monitoring resources. And the synchronization module is used for packaging the information of the selected monitoring resources and the complete catalogue to which the selected monitoring resources belong based on the video networking protocol, and synchronizing the information to the video networking monitoring platform through the video networking.
Optionally, the information of the changed monitoring resource includes a lowest directory to which the changed monitoring resource belongs; the acquisition module includes: the query unit is used for querying the upper-level directory step by step according to the lowest-level directory to which the changed monitoring resource belongs until the highest-level directory to which the changed monitoring resource belongs is queried; and the directory determining unit is used for connecting the lowest directory with the inquired directories of all levels step by step to serve as the complete directory to which the changed monitoring resource belongs.
In the embodiment of the invention, a monitoring protocol conversion server receives information of monitoring resources which are reported by a third-party monitoring platform through the Internet and are packaged based on the change of an Internet protocol; the monitoring co-transformation server acquires a complete directory to which the changed monitoring resource belongs; the monitoring protocol conversion server encapsulates information of the changed monitoring resources and a complete directory to which the changed monitoring resources belong based on the video networking protocol, and synchronizes to the video networking monitoring platform through the video networking. Therefore, in the embodiment of the invention, the monitoring coordination server not only synchronizes the information of the changed monitoring resources to the video network monitoring platform, but also synchronizes the complete directory to which the changed monitoring resources belong to the video network monitoring platform, so that when a user wants to check the complete directory to which the changed monitoring resources belong, the video network monitoring platform can acquire the complete directory more simply, conveniently and quickly, and the user experience is improved. In addition, the embodiment of the invention can also realize that the monitoring resources in the Internet are accessed into the video network for processing, and the video network has higher speed and higher safety compared with the Internet.
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 data synchronization method according to a first embodiment of the present invention;
FIG. 6 is a flowchart illustrating steps of a data synchronization method according to a second embodiment of the present invention;
FIG. 7 is a flowchart illustrating steps of a data synchronization method according to a third embodiment of the present invention;
fig. 8 is a block diagram of a data synchronization apparatus according to a fourth 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.
1. 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, obtains 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 MAC SA 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 data synchronization scheme provided by the embodiment of the invention follows the protocol of the video network, accesses the monitoring resources in the internet into the video network for processing, and has more comprehensive synchronized data and improved user experience.
The data synchronization method of the embodiment of the invention can be applied to the video network. The video network monitoring platform and the monitoring transfer server can be included in the video network, and the video network monitoring platform can be connected with the monitoring transfer server so as to add the monitoring transfer server. The video networking monitoring platform and the monitoring protocol conversion server can perform bidirectional interaction based on a video networking protocol.
The monitoring protocol server may be understood as a gateway, and is responsible for accessing external (e.g., on the internet) monitoring resources (which may also be described as monitoring devices) to the video network monitoring platform. The monitoring resources encode the collected monitoring videos based on the corresponding internet protocol, the monitoring protocol transfer server can acquire monitoring data based on the internet protocol after the monitoring resources are encoded, the monitoring protocol transfer server can convert the monitoring data based on the internet protocol into monitoring data based on the video networking protocol, and then the monitoring data is sent to a video networking monitoring platform, so that the monitoring resources on the internet are browsed and controlled in the video networking.
The monitoring protocol server may be connected to a plurality of monitoring resources, where the connection may be a direct connection. Therefore, the monitoring coordination server can record the information of the plurality of monitoring resources connected with the monitoring coordination server and can acquire the monitoring data of the plurality of monitoring resources connected with the monitoring coordination server.
The monitoring protocol server can also be connected with at least one third-party monitoring platform located in the internet. The third-party monitoring platform is required to be accessed to the monitoring protocol conversion server, firstly, the third-party monitoring platform is required to be registered on the monitoring protocol conversion server, and after the registration is successful, the third-party monitoring platform is accessed to the monitoring protocol conversion server. The monitoring co-transformation server and the third-party monitoring platform can perform bidirectional interaction based on an internet protocol. Each third party monitoring platform may be connected to a plurality of monitoring resources. Therefore, the monitoring co-transfer server can record the information of a plurality of monitoring resources connected through the accessed third-party monitoring platform and can acquire the monitoring data of the plurality of monitoring resources connected through the third-party monitoring platform, so that the video network monitoring platform and the third-party monitoring platform are in butt joint, and the monitoring resources in the video network and the internet are shared. The third-party monitoring platform can be a public security monitoring platform, a medical monitoring platform, and the like.
The video network monitoring platform can comprise a video network monitoring client, a video network monitoring server and a video network monitoring database. The video network monitoring client can be a Web end, and the video network monitoring server can be an Mserver. The video network monitoring client mainly provides interaction with a user; the video network monitoring server can be connected with the monitoring transfer server and is mainly used for providing interaction with the monitoring transfer server; the video network monitoring database can be connected with the video network monitoring server and is mainly used for storing relevant information of monitoring resources so as to enable the video network monitoring server to perform operations such as inquiry and modification.
Example one
Referring to fig. 5, a flowchart illustrating steps of a data synchronization method according to a first embodiment of the present invention is shown. The data synchronization method of the embodiment of the invention mainly relates to the synchronization of monitoring resources connected with a third-party monitoring platform.
The data synchronization method of the embodiment of the invention can comprise the following steps:
In practical applications, the monitoring resources connected to the third-party monitoring platform may change. For example, the status of the monitoring resource changes from online to offline due to disconnection of the network, or from offline to online due to reconnection of the network, etc.
The third-party monitoring platform can store the information of the monitoring resources connected with the third-party monitoring platform. The third-party monitoring platform can detect the condition that the monitoring resource connected with the third-party monitoring platform changes, and can report the information of the changed monitoring resource to the monitoring transfer server after detecting that the monitoring resource connected with the third-party monitoring platform changes.
In the implementation, the third-party monitoring platform and the monitoring co-transformation server interact based on an internet protocol. Therefore, the third-party monitoring platform encapsulates the information of the changed monitoring resource based on the internet protocol to obtain the internet protocol data packet encapsulated with the information of the changed monitoring resource. And the third-party monitoring platform reports the information of the monitoring resources which are packaged based on the Internet protocol and change, namely the Internet protocol data packet, to the monitoring protocol conversion server through the Internet. For example, the third party monitoring platform may be a national standard (GB/T28181) platform, and the third party monitoring platform encapsulates information of the changed monitoring resource based on a national standard GB/T28181 protocol.
After receiving the information of the changed monitoring resource, which is encapsulated based on the internet protocol, once, that is, the internet protocol data packet, the monitoring protocol data packet is decapsulated and the like to obtain the information of the changed monitoring resource included therein.
In the embodiment of the invention, the third-party monitoring platform can store the lowest directory to which the monitoring resources connected with the third-party monitoring platform belong. The lowermost directory refers to the lowermost region to which the monitoring resource belongs. For example, if the complete directory to which a certain monitoring resource belongs is a beijing city-hai lake district-zhongguancun street, the beijing city is the top directory to which the monitoring resource belongs, and the zhongguancun street is the bottom directory to which the monitoring resource belongs. The information of the changed monitoring resource reported by the third-party monitoring platform may include information such as an identifier, a state, and a subordinate directory of the changed monitoring resource. The monitoring co-transformation server can obtain the complete directory to which the changed monitoring resource belongs according to the information of the changed monitoring resource.
In an alternative embodiment, step 502 may include: the monitoring co-transformation server queries the upper-level directory step by step according to the lowest-level directory to which the changed monitoring resource belongs until the highest-level directory to which the changed monitoring resource belongs is queried; and the monitoring co-transformation server connects the lowest-level directory with the inquired directories at all levels step by step to serve as the complete directory to which the changed monitoring resource belongs.
For example, if the lowest-level directory to which the changed monitoring resource belongs, which is included in the information of the changed monitoring resource received by the monitoring co-transfer server, is a customs street, the monitoring co-transfer server may query that the previous-level directory of the customs street is a hai lake area according to the customs street, and may query that the previous-level directory of the hai lake area is beijing, and that the beijing is the highest-level directory to which the changed monitoring resource belongs according to a dry point, so that the monitoring co-transfer server may determine that beijing, hai lake area, and customs street are complete directories to which the changed monitoring resource belongs.
After the monitoring co-transformation server obtains the complete directory to which the changed monitoring resource belongs, the information of the changed monitoring resource and the complete directory to which the changed monitoring resource belongs can be synchronized to the video network monitoring platform. Therefore, the complete directory to which the changed monitoring resource belongs is searched in the subsequent process, the method is simpler and more efficient, and the user experience is improved.
In the implementation, the monitoring protocol conversion server and the video networking monitoring platform interact based on a video networking protocol. Therefore, the monitoring protocol conversion server encapsulates the information of the changed monitoring resource and the complete directory to which the changed monitoring resource belongs based on the video networking protocol to obtain the video networking protocol data packet encapsulated with the information of the changed monitoring resource and the complete directory to which the changed monitoring resource belongs. The monitoring protocol conversion server synchronizes the information of the changed monitoring resources based on the video networking protocol encapsulation and the complete catalogue to which the changed monitoring resources belong, namely the video networking protocol data packet, to the video networking monitoring platform through the video networking.
Specifically, the monitoring cooperation server interacts with a video network monitoring server of a video network monitoring platform, and information of the changed monitoring resources based on the video network protocol package and a complete directory to which the changed monitoring resources belong are synchronized to the video network monitoring server through the video network. And the video network monitoring server stores the information of the changed monitoring resources based on the video network protocol package and the complete directory to which the changed monitoring resources belong to the video network monitoring database. The user can check the information of the changed monitoring resources and the complete catalog to which the changed monitoring resources belong on the video network monitoring client.
In the embodiment of the invention, the monitoring coordination server not only synchronizes the information of the changed monitoring resources to the video network monitoring platform, but also synchronizes the complete directory to which the changed monitoring resources belong to the video network monitoring platform, so that when a user wants to check the complete directory to which the changed monitoring resources belong, the video network monitoring platform can acquire the complete directory more simply, conveniently and quickly, and the user experience is improved. In addition, the embodiment of the invention can also realize that the monitoring resources in the Internet are accessed into the video network for processing, and the video network has higher speed and higher safety compared with the Internet.
Example two
Referring to fig. 6, a flowchart illustrating steps of a data synchronization method according to a second embodiment of the present invention is shown.
The data synchronization method of the embodiment of the invention can comprise the following steps:
In the embodiment of the invention, the information of the changed monitoring resources is reported to the monitoring transfer server for multiple times by the third-party monitoring platform in consideration of the possibility that the changed monitoring resources are multiple, and the information of the changed monitoring resources which are reported by the third-party monitoring platform through the internet and are packaged based on the internet protocol is received by the monitoring transfer server for multiple times.
Considering that if the monitoring protocol conversion server obtains the complete directory to which the changed monitoring resource belongs after receiving the information of the changed monitoring resource encapsulated based on the internet protocol each time, and synchronizes the information of the changed monitoring resource and the complete directory to which the changed monitoring resource belongs to the video network monitoring platform, the interaction times between the monitoring protocol conversion server and the video network monitoring platform are large, and the process is complex.
Therefore, in the embodiment of the present invention, after receiving information of a changed monitoring resource encapsulated based on an internet protocol once, the monitoring co-transformation server may first determine whether the third-party monitoring platform has reported the information of the changed monitoring resource. When the third-party monitoring platform has reported the information of the changed monitoring resource, executing step 603; and when the third-party monitoring platform does not report the information of the changed monitoring resource, the monitoring co-transfer server continues to receive the information of the changed monitoring resource which is reported by the third-party monitoring platform through the Internet and is packaged based on the Internet protocol.
In an alternative embodiment, step 602 may include: the monitoring protocol conversion server judges whether the time of the current time distance from the last time when the information of the monitoring resource which changes based on the internet protocol encapsulation is received exceeds a set threshold value; when the reported time exceeds a set threshold value, the reported time is judged to be over; and when the threshold value is not exceeded, judging that the report is not finished. For the specific value of the set threshold, a person skilled in the art may set any suitable value according to practical experience, for example, the set threshold may be set to 3000ms, 5000ms, and the like, which is not limited in this embodiment of the present invention.
And when the monitoring protocol conversion server judges that the information of the changed monitoring resources is reported by the third-party monitoring platform, uniformly acquiring the complete directory to which the changed monitoring resources belong. In this case, the changed monitoring resource is the monitoring resource corresponding to the received information of all the changed monitoring resources, and the monitoring coordination server obtains the complete directory to which the changed monitoring resource belongs for each changed monitoring resource. Of course, if the lowest directories to which the two changed monitoring resources belong are the same, the complete directories to which the two changed monitoring resources belong are also the same, so for the two changed monitoring resources, the complete directory to which the changed monitoring resources belong can be obtained only once as the complete directories to which the two changed monitoring resources belong.
For the specific process of acquiring the complete directory to which the changed monitoring resource belongs, reference is made to the related description of step 502 in the first embodiment, and the embodiment of the present invention is not discussed in detail herein.
And step 604, the monitoring cooperative conversion server packages the information of the changed monitoring resources and the complete directory to which the changed monitoring resources belong based on a video networking protocol, and synchronizes to the video networking monitoring platform through the video networking.
After acquiring the complete catalogue to which the monitoring resource belongs corresponding to the information of all the received changed monitoring resources, the monitoring protocol conversion server synchronizes the information of all the received changed monitoring resources and the complete catalogue to which all the changed monitoring resources belong to the video network monitoring platform.
For the specific process of synchronization, reference is made to the related description of step 503 in the first embodiment, and the embodiment of the present invention is not discussed in detail herein.
In the embodiment of the invention, the interaction times between the monitoring cooperative server and the video network monitoring platform can be reduced and the processing process is simplified in a batch processing mode.
EXAMPLE III
Referring to fig. 7, a flowchart illustrating steps of a data synchronization method according to a third embodiment of the present invention is shown.
The data synchronization method of the embodiment of the invention can comprise the following steps:
In the embodiment of the present invention, step 701 is the same as step 601 in the second embodiment, and specific reference may be made to the related description in the second embodiment.
In the embodiment of the present invention, step 702 is the same as step 602 in the second embodiment, and specific reference may be made to the related description of the second embodiment.
In the embodiment of the present invention, step 703 is the same as step 603 in the second embodiment, and specific reference may be made to the related description in the second embodiment.
Considering that the third-party monitoring platform and the monitoring Protocol-assisted transfer server interact based on the video networking Protocol, for example, the third-party monitoring platform uses a UDP (User Datagram Protocol) transmission mode to report information of the monitoring resource, which is encapsulated based on the internet Protocol and changes, to the monitoring Protocol-assisted transfer server. However, the reliability of the UDP transmission mode is relatively poor, and packet loss may occur, so that the monitoring coordination server may not completely receive information of the changed monitoring resource reported by the third-party monitoring platform. Moreover, when the monitoring resources of the third-party monitoring platform change, it is generally possible that all the monitoring resources in the entire complete directory change.
Therefore, in the embodiment of the present invention, after acquiring the complete directory to which the monitoring resource belongs corresponding to all the received information of the changed monitoring resource, the monitoring co-transformation server may send a synchronization request to the third-party monitoring platform. In the implementation, the monitoring protocol conversion server encapsulates the synchronous request based on the internet protocol to obtain the internet protocol data packet encapsulated with the synchronous request. And the monitoring protocol conversion server sends the synchronization request based on the internet protocol encapsulation, namely the internet protocol data packet to a third-party monitoring platform through the internet.
The synchronization request may include the complete directory to which all changed monitoring resources belong. And after receiving the synchronization request, the third-party monitoring platform carries out operations such as decapsulation and the like on the synchronization request to obtain a complete directory to which all the changed monitoring resources belong. And the third-party monitoring platform acquires information of all monitoring resources contained in the complete directory to which the changed monitoring resources belong, and returns the acquired information of all monitoring resources to the monitoring transfer server.
In the implementation, the third-party monitoring platform encapsulates the obtained information of all the monitoring resources based on the internet protocol to obtain an internet protocol data packet encapsulating the obtained information of all the monitoring resources. And the third-party monitoring platform returns all the acquired information of the monitoring resources, namely the internet protocol data packet, based on the internet protocol package to the monitoring protocol conversion server through the internet.
And after receiving the information of all the monitoring resources contained in the complete catalogue to which the changed monitoring resources encapsulated based on the internet protocol and returned by the third-party monitoring platform belong, the monitoring protocol conversion server carries out operations such as decapsulation and the like on the information of all the monitoring resources contained in the information.
The monitoring protocol conversion server compares the information of the changed monitoring resources reported by the third-party monitoring platform in step 701 with the information of all monitoring resources contained in the complete directory to which the changed monitoring resources belong, which is returned by the third-party monitoring platform in step 705, and selects information of monitoring resources containing more monitoring resources from the information.
And step 707, the monitoring protocol conversion server encapsulates the information of the selected monitoring resource and the complete directory to which the selected monitoring resource belongs based on the video networking protocol, and synchronizes to the video networking monitoring platform through the video networking.
And the monitoring cooperation server synchronizes the information of the selected monitoring resources and the complete directory to which the selected monitoring resources belong to the video network monitoring platform.
For the specific process of synchronization, reference is made to the related description of step 503 in the first embodiment, and the embodiment of the present invention is not discussed in detail herein.
In the embodiment of the invention, the monitoring co-transformation server further sends the synchronization request, so that the received information of the monitoring resource sent by the third-party monitoring platform is more complete, and the influence caused by packet loss is reduced.
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 four
Referring to fig. 8, a block diagram of a data synchronization apparatus according to a fourth embodiment of the present invention is shown. The data synchronization device can be applied to the video network, the video network comprises a video network monitoring platform and a monitoring protocol conversion server, the internet comprises a third-party monitoring platform, and the third-party monitoring platform is connected with a plurality of monitoring resources.
The data synchronization device of the embodiment of the invention can comprise the following modules in the monitoring cooperative server:
the monitoring co-rotation server comprises:
a first receiving module 801, configured to receive information of a monitoring resource that changes based on internet protocol encapsulation and is reported by the third-party monitoring platform through the internet;
an obtaining module 802, configured to obtain a complete directory to which the changed monitoring resource belongs;
and the synchronization module 803 is configured to encapsulate, based on an internet of view protocol, the information of the changed monitoring resource and the complete directory to which the changed monitoring resource belongs, and synchronize to the internet of view monitoring platform through the internet of view.
Optionally, the monitoring co-rotation server further includes: and the judging module is used for judging whether the information of the changed monitoring resource is reported by the third-party monitoring platform before the step of acquiring the complete catalogue to which the changed monitoring resource belongs by the acquiring module. And the acquisition module is used for acquiring the complete catalogue to which the changed monitoring resource belongs when the judgment module judges that the reporting is finished.
Optionally, the determining module includes: the time judging unit is used for judging whether the time from the current time to the last time when the information of the monitoring resource which changes based on the internet protocol encapsulation is received exceeds a set threshold value; the result determining unit is used for judging that the report is finished when the report exceeds the threshold value; and when the report is not over, judging that the report is not finished.
Optionally, the monitoring co-rotation server further includes: a sending module, configured to send a synchronization request to the third-party monitoring platform, where the synchronization request includes a complete directory to which the changed monitoring resource belongs; a second receiving module, configured to receive information of all monitoring resources included in a complete directory to which the changed monitoring resource belongs, where the information is returned by the third-party monitoring platform for the synchronization request; and the selecting module is used for selecting the information of the monitoring resources with more monitoring resources from the changed information of the monitoring resources and the information of all the monitoring resources. And the synchronization module is used for packaging the information of the selected monitoring resources and the complete catalogue to which the selected monitoring resources belong based on the video networking protocol, and synchronizing the information to the video networking monitoring platform through the video networking.
Optionally, the information of the changed monitoring resource includes a lowest directory to which the changed monitoring resource belongs; the acquisition module includes: the query unit is used for querying the upper-level directory step by step according to the lowest-level directory to which the changed monitoring resource belongs until the highest-level directory to which the changed monitoring resource belongs is queried; and the directory determining unit is used for connecting the lowest directory with the inquired directories of all levels step by step to serve as the complete directory to which the changed monitoring resource belongs.
In the embodiment of the invention, the monitoring coordination server not only synchronizes the information of the changed monitoring resources to the video network monitoring platform, but also synchronizes the complete directory to which the changed monitoring resources belong to the video network monitoring platform, so that when a user wants to check the complete directory to which the changed monitoring resources belong, the video network monitoring platform can acquire the complete directory more simply, conveniently and quickly, and the user experience is improved. In addition, the embodiment of the invention can also realize that the monitoring resources in the Internet are accessed into the video network for processing, and the video network has higher speed and higher safety compared with the Internet.
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 data synchronization method and the data synchronization device provided by the present invention are described in detail above, and the principle and the implementation of the present invention are explained in the present document by applying specific examples, and the description of the above embodiments 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 (8)
1. A data synchronization method is applied to a video network, wherein the video network comprises a video network monitoring platform and a monitoring protocol conversion server, the internet comprises a third-party monitoring platform, and the third-party monitoring platform is connected with a plurality of monitoring resources, and the method comprises the following steps:
the monitoring co-transformation server receives information of the changed monitoring resources based on the internet protocol package, which is reported by the third-party monitoring platform through the internet;
the monitoring co-transformation server acquires a complete directory to which the changed monitoring resource belongs;
the monitoring protocol conversion server encapsulates the information of the changed monitoring resources and the complete catalogue to which the changed monitoring resources belong based on a video networking protocol, and synchronizes to the video networking monitoring platform through a video networking;
the information of the changed monitoring resource comprises a lowest directory to which the changed monitoring resource belongs;
the step of acquiring the complete directory to which the changed monitoring resource belongs by the monitoring cooperative server includes:
the monitoring co-transformation server queries the upper-level directory step by step according to the lowest-level directory to which the changed monitoring resource belongs until the highest-level directory to which the changed monitoring resource belongs is queried;
and the monitoring co-rotation server connects the lowest-level directory with the inquired directories at all levels step by step to serve as the complete directory to which the changed monitoring resource belongs.
2. The method of claim 1,
before the step of acquiring the complete directory to which the changed monitoring resource belongs by the monitoring co-transformation server, the method further includes: the monitoring co-transfer server judges whether the third-party monitoring platform finishes reporting the information of the changed monitoring resources;
the step of acquiring the complete directory to which the changed monitoring resource belongs by the monitoring cooperative server includes: and when the monitoring protocol conversion server judges that the reporting is finished, acquiring the complete directory to which the changed monitoring resource belongs.
3. The method of claim 2, wherein the step of the monitoring co-transformation server determining whether the third-party monitoring platform has reported the information of the changed monitoring resource comprises:
the monitoring protocol conversion server judges whether the time of the current time distance from the last time when the information of the monitoring resource which changes based on the internet protocol encapsulation is received exceeds a set threshold value;
when the report time exceeds the preset time, the report is judged to be finished; and when the report is not over, judging that the report is not finished.
4. The method of claim 2,
after the step of obtaining the complete directory to which the changed monitoring resource belongs when the monitoring protocol conversion server judges that the reporting is completed, the method further includes:
the monitoring co-rotation server sends a synchronization request to the third-party monitoring platform, wherein the synchronization request comprises a complete directory to which the changed monitoring resource belongs;
the monitoring co-transformation server receives information of all monitoring resources contained in a complete directory to which the changed monitoring resources belong, which is returned by the third-party monitoring platform aiming at the synchronous request;
the monitoring cooperative conversion server selects information of monitoring resources with more monitoring resources from the information of the changed monitoring resources and the information of all monitoring resources;
the step of the monitoring protocol conversion server packaging the information of the changed monitoring resource and the complete catalogue to which the changed monitoring resource belongs based on a video networking protocol comprises the following steps: and the monitoring protocol conversion server encapsulates the information of the selected monitoring resources and the complete directory to which the selected monitoring resources belong based on the video networking protocol.
5. The utility model provides a data synchronizer, its characterized in that, the device is applied to in the video networking, includes video networking monitor platform and control in the video networking and collaborates the commentaries on classics server, includes third party monitor platform in the internet, a plurality of control resources are connected to third party monitor platform, control is collaborated and is changeed the server and include:
the first receiving module is used for receiving information of the monitoring resource which is reported by the third-party monitoring platform through the Internet and is based on the change of the Internet protocol package;
the acquisition module is used for acquiring the complete catalogue to which the changed monitoring resource belongs;
the synchronization module is used for packaging the information of the changed monitoring resources and the complete catalogue to which the changed monitoring resources belong based on a video networking protocol and synchronizing the information to the video networking monitoring platform through the video networking;
the information of the changed monitoring resource comprises a lowest directory to which the changed monitoring resource belongs;
the acquisition module includes:
the query unit is used for querying the upper-level directory step by step according to the lowest-level directory to which the changed monitoring resource belongs until the highest-level directory to which the changed monitoring resource belongs is queried;
and the directory determining unit is used for connecting the lowest directory with the inquired directories of all levels step by step to serve as the complete directory to which the changed monitoring resource belongs.
6. The apparatus of claim 5,
the monitoring co-transformation server further comprises: a judging module, configured to judge whether the third-party monitoring platform has reported information of the changed monitoring resource before the step of acquiring the complete directory to which the changed monitoring resource belongs by the acquiring module;
and the acquisition module is used for acquiring the complete catalogue to which the changed monitoring resource belongs when the judgment module judges that the reporting is finished.
7. The apparatus of claim 6, wherein the determining module comprises:
the time judging unit is used for judging whether the time from the current time to the last time when the information of the monitoring resource which changes based on the internet protocol encapsulation is received exceeds a set threshold value;
the result determining unit is used for judging that the report is finished when the report exceeds the threshold value; and when the report is not over, judging that the report is not finished.
8. The apparatus of claim 6,
the monitoring co-transformation server further comprises:
a sending module, configured to send a synchronization request to the third-party monitoring platform, where the synchronization request includes a complete directory to which the changed monitoring resource belongs;
a second receiving module, configured to receive information of all monitoring resources included in a complete directory to which the changed monitoring resource belongs, where the information is returned by the third-party monitoring platform for the synchronization request;
the selecting module is used for selecting the information of the monitoring resources with more monitoring resources from the changed information of the monitoring resources and the information of all the monitoring resources;
and the synchronization module is used for packaging the information of the selected monitoring resources and the complete catalogue to which the selected monitoring resources belong based on the video networking protocol, and synchronizing the information to the video networking monitoring platform through the video networking.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910101438.1A CN109889780B (en) | 2019-01-31 | 2019-01-31 | Data synchronization method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910101438.1A CN109889780B (en) | 2019-01-31 | 2019-01-31 | Data synchronization method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109889780A CN109889780A (en) | 2019-06-14 |
CN109889780B true CN109889780B (en) | 2021-01-22 |
Family
ID=66927659
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910101438.1A Active CN109889780B (en) | 2019-01-31 | 2019-01-31 | Data synchronization method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109889780B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110381029B (en) * | 2019-06-20 | 2022-03-01 | 视联动力信息技术股份有限公司 | Monitoring resource synchronization method and device |
CN110557608B (en) * | 2019-07-29 | 2020-12-11 | 视联动力信息技术股份有限公司 | Resource monitoring method, device and computer readable storage medium |
CN110557435A (en) * | 2019-07-30 | 2019-12-10 | 视联动力信息技术股份有限公司 | data synchronization method and device |
CN110557611B (en) * | 2019-08-28 | 2021-12-17 | 视联动力信息技术股份有限公司 | Information synchronization method, device and storage medium |
CN111159291A (en) * | 2019-12-19 | 2020-05-15 | 视联动力信息技术股份有限公司 | Progress bar display method and device, terminal equipment and storage medium |
CN111212255B (en) * | 2019-12-30 | 2022-10-18 | 视联动力信息技术股份有限公司 | Monitoring resource obtaining method and device and computer readable storage medium |
CN111526198B (en) * | 2020-04-24 | 2023-06-13 | 深圳融安网络科技有限公司 | Data synchronization method and device of server and computer readable storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106953905A (en) * | 2017-03-14 | 2017-07-14 | 浙江宇视科技有限公司 | Catalogue sharing method and device between domain |
KR20170087377A (en) * | 2016-01-20 | 2017-07-28 | 인천유시티 주식회사 | A method for smart u-city integrated monitoring and controlling platform, based on variable divice connection and data integration, and the system therefor |
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 |
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 |
CN108632238A (en) * | 2017-09-18 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of permission control |
CN108881817A (en) * | 2017-10-30 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of methods, devices and systems that data are synchronous |
-
2019
- 2019-01-31 CN CN201910101438.1A patent/CN109889780B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20170087377A (en) * | 2016-01-20 | 2017-07-28 | 인천유시티 주식회사 | A method for smart u-city integrated monitoring and controlling platform, based on variable divice connection and data integration, and the system therefor |
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 |
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 |
CN106953905A (en) * | 2017-03-14 | 2017-07-14 | 浙江宇视科技有限公司 | Catalogue sharing method and device between domain |
CN108632238A (en) * | 2017-09-18 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of method and apparatus of permission control |
CN108881817A (en) * | 2017-10-30 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | A kind of methods, devices and systems that data are synchronous |
Also Published As
Publication number | Publication date |
---|---|
CN109889780A (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109889780B (en) | Data synchronization method and device | |
CN108632525B (en) | Method and system for processing service | |
CN109672856B (en) | Resource synchronization method and device | |
CN109617956B (en) | Data processing method and device | |
CN110190973B (en) | Online state detection method and device | |
CN109672857B (en) | Information processing method and device for monitoring resources | |
CN109842519B (en) | Method and device for previewing video stream | |
CN109474715B (en) | Resource configuration method and device based on video network | |
CN110381030B (en) | Method and device for processing synchronization request | |
CN110113566B (en) | Method and device for calling video stream | |
CN109660753B (en) | Resource synchronization method and device | |
CN110475131B (en) | Terminal connection method, server and terminal | |
CN110602039A (en) | Data acquisition method and system | |
CN110224988B (en) | Image data processing method, system and device and storage medium | |
CN110049280B (en) | Method and device for processing monitoring data | |
CN109803119B (en) | Method and device for monitoring information transmission | |
CN110839142B (en) | Monitoring directory sharing method and device | |
CN109802952B (en) | Monitoring data synchronization method and device | |
CN110609818B (en) | Log processing method and device | |
CN111212255B (en) | Monitoring resource obtaining method and device and computer readable storage medium | |
CN110557608B (en) | Resource monitoring method, device and computer readable storage medium | |
CN110134892B (en) | Loading method and system of monitoring resource list | |
CN108881148B (en) | Data acquisition method and device | |
CN110381029B (en) | Monitoring resource synchronization method and device | |
CN110557611B (en) | Information synchronization method, 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |