CN109889780A - Method of data synchronization and device - Google Patents

Method of data synchronization and device Download PDF

Info

Publication number
CN109889780A
CN109889780A CN201910101438.1A CN201910101438A CN109889780A CN 109889780 A CN109889780 A CN 109889780A CN 201910101438 A CN201910101438 A CN 201910101438A CN 109889780 A CN109889780 A CN 109889780A
Authority
CN
China
Prior art keywords
monitoring
resource
changed
networking
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.)
Granted
Application number
CN201910101438.1A
Other languages
Chinese (zh)
Other versions
CN109889780B (en
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 CN201910101438.1A priority Critical patent/CN109889780B/en
Publication of CN109889780A publication Critical patent/CN109889780A/en
Application granted granted Critical
Publication of CN109889780B publication Critical patent/CN109889780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method of data synchronization and devices, are applied in view networking.Wherein method include: monitoring association turn server receive third party's monitor supervision platform reported by internet, internet protocol-based encapsulation changed monitoring resource information;Monitoring association turns server and obtains full directory belonging to changed monitoring resource;Monitoring association turns server based on full directory belonging to the information and changed monitoring resource for encapsulating changed monitoring resource depending on networking protocol, and by being synchronized to view networking monitoring platform depending on networking.The present invention can more simply and quickly get full directory depending on networking monitoring platform, to promote user experience when user wants to check full directory belonging to changed monitoring resource.

Description

Method of data synchronization and device
Technical field
The present invention relates to view networking technology fields, more particularly to a kind of a kind of method of data synchronization dress synchronous with data It sets.
Background technique
Video monitoring is the important component of safety and protection system.Video monitoring is intuitive with it, accurate, in time and information It is abundant in content and be widely used in many occasions.In recent years, with computer, network and image procossing, transmission technology fly Speed development, there has also been significant progresses for Video Supervision Technique.
Traditional monitoring system includes front end surveillance device, transmission cable, video monitoring platform.Video monitoring platform is used for Manage the information of whole monitoring devices.In practical applications, monitoring device may change for some reason, such as by Become offline online, or from becoming online etc. offline.Mark, the state of these changed monitoring devices may synchronize to Video monitoring platform.
But when user wants to check the other information of changed monitoring device, video monitoring platform need from It is inquired in the information of its whole monitoring device managed.Since the information content of the monitoring device of video monitoring platform management is non- Chang great, therefore query process is complicated, search efficiency is low, leads to poor user experience.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind A kind of method of data synchronization and a kind of corresponding data synchronization unit to solve the above problems.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of method of data synchronization, the method is applied to view Include turning server depending on networking monitoring platform and monitoring association in depending on networking in networking, includes that third party monitors in internet Platform, third party's monitor supervision platform connect multiple monitoring resources, which comprises
The monitoring association turns server and receives what third party's monitor supervision platform was reported by internet, is based on internet protocol Discuss the information of the changed monitoring resource of encapsulation;
The monitoring association turns server and obtains full directory belonging to the changed monitoring resource;
It is described monitoring association turn server based on view networking protocol encapsulate it is described it is changed monitor resource information and Full directory belonging to the changed monitoring resource, and by being synchronized to the view networking monitoring platform depending on networking.
Optionally, turn server in the monitoring association and obtain full directory belonging to the changed monitoring resource Before step, further includes: monitoring association turns server and judge whether third party's monitor supervision platform has reported to change Monitoring resource information.The monitoring association turns server and obtains full directory belonging to the changed monitoring resource Step, comprising: the monitoring association turns server when judging to have reported, and obtains belonging to the changed monitoring resource Full directory.
Optionally, monitoring association turns server to judge whether third party's monitor supervision platform has reported changed The step of monitoring the information of resource, comprising: the monitoring association turns server and judges that current time distance last time receives base It whether is more than given threshold in the time of the information of the changed monitoring resource of Internet protocol encapsulation;When being more than, sentence It is disconnected to go out to have reported;When being less than, judge not reported.
Optionally, turn server when judging to have reported in monitoring association, obtain the changed monitoring After the step of full directory belonging to resource, further includes: the monitoring association turns server and sends out to third party's monitor supervision platform Synchronization request is sent, the synchronization request includes full directory belonging to the changed monitoring resource;The monitoring association turns Server receives what third party's monitor supervision platform was returned for the synchronization request, belonging to the changed monitoring resource Full directory under include whole monitoring resources information;The monitoring association turns server and provides from the changed monitoring In the information of the information in source and all monitoring resource, the letter that resource is more monitored comprising monitoring resource quantity is chosen Breath.The monitoring association turns server based on the information and the hair for encapsulating the changed monitoring resource depending on networking protocol The step of full directory belonging to the monitoring resource for changing, comprising: the monitoring association turns server and is based on view networking protocol envelope Fill full directory belonging to the information of monitoring resource and the monitoring resource of selection chosen.
Optionally, it is described it is changed monitoring resource information include belonging to the changed monitoring resource most Subprime directory;The monitoring association turns the step of server obtains full directory belonging to the changed monitoring resource, wraps Include: the monitoring association turns server most subprime directory according to belonging to the changed monitoring resource, inquires upper one step by step Grade catalogue, until inquiring most higher level's catalogue belonging to the changed monitoring resource;The monitoring association turns server will The most subprime directory is connect step by step with the catalogues at different levels inquired, as complete belonging to the changed monitoring resource Catalogue.
On the other hand, the embodiment of the invention also discloses a kind of data synchronization unit, described device is applied in view networking, Include turning server depending on networking monitoring platform and monitoring association in depending on networking, includes third party's monitor supervision platform, institute in internet It states third party's monitor supervision platform and connects multiple monitoring resources, the monitoring association turns server and includes:
First receiving module is reported by internet for receiving third party's monitor supervision platform, and internet protocol is based on Discuss the information of the changed monitoring resource of encapsulation;
Module is obtained, for obtaining full directory belonging to the changed monitoring resource;
Synchronization module, for based on the information and the hair for encapsulating the changed monitoring resource depending on networking protocol Full directory belonging to the monitoring resource for changing, and by being synchronized to the view networking monitoring platform depending on networking.
Optionally, the monitoring association turns server further include: judgment module, for obtaining the hair in the acquisition module Before the step of full directory belonging to the monitoring resource for changing, judge whether third party's monitor supervision platform has reported hair The information of the monitoring resource for changing.The acquisition module, for obtaining institute when the judgment module is judged to have reported State full directory belonging to changed monitoring resource.
Optionally, the judgment module includes: time judging unit, for judging that current time distance last time receives Whether the time of the information of the changed monitoring resource encapsulated to internet protocol-based is more than given threshold;As a result it determines Unit, for judging to have reported when being more than;When being less than, judge not reported.
Optionally, the monitoring association turns server further include: sending module, for being sent to third party's monitor supervision platform Synchronization request, the synchronization request include full directory belonging to the changed monitoring resource;Second receiving module is used It is directed to what the synchronization request returned in receiving third party's monitor supervision platform, it is complete belonging to the changed monitoring resource The information for the whole monitoring resources for including under whole catalogue;Module is chosen, for the information from the changed monitoring resource And in the information of all monitoring resource, choose the information that resource is more monitored comprising monitoring resource quantity.It is described same Module is walked, it is complete belonging to the information of monitoring resource and the monitoring resource of selection for being chosen based on view networking protocol encapsulation Catalogue, and by being synchronized to the view networking monitoring platform depending on networking.
Optionally, it is described it is changed monitoring resource information include belonging to the changed monitoring resource most Subprime directory;The acquisition module includes: query unit, for the most junior according to belonging to the changed monitoring resource Catalogue inquires upper level catalogue step by step, until inquiring most higher level's catalogue belonging to the changed monitoring resource;Catalogue Determination unit, for the most subprime directory to be connect step by step with the catalogues at different levels inquired, as the changed prison Control full directory belonging to resource.
In the embodiment of the present invention, monitoring association turns server and receives what third party's monitor supervision platform was reported by internet, is based on The information of the changed monitoring resource of Internet protocol encapsulation;Monitoring association turns server and obtains changed monitoring resource Affiliated full directory;Monitoring association turns server based on the information and hair for encapsulating changed monitoring resource depending on networking protocol Full directory belonging to the monitoring resource for changing, and by being synchronized to view networking monitoring platform depending on networking.It follows that this hair Monitoring association turns server not only by the synchronizing information of changed monitoring resource to view networking monitoring platform, also in bright embodiment Full directory belonging to changed monitoring resource is synchronized to view networking monitoring platform, therefore when user wants to check generation When full directory belonging to the monitoring resource of variation, complete mesh can be more simply and quickly got depending on networking monitoring platform Record, to promote user experience.Also, it can also be realized in the embodiment of the present invention by the monitoring resource access view connection in internet It is handled in net, faster compared to interconnection net spee depending on networking, safety is higher.
Detailed description of the invention
Fig. 1 is a kind of networking schematic diagram of view networking of the invention;
Fig. 2 is a kind of hardware structural diagram of node server of the invention;
Fig. 3 is a kind of hardware structural diagram of access switch of the invention;
Fig. 4 is the hardware structural diagram that a kind of Ethernet association of the invention turns gateway;
Fig. 5 is a kind of step flow chart of method of data synchronization of the embodiment of the present invention one;
Fig. 6 is a kind of step flow chart of method of data synchronization of the embodiment of the present invention two;
Fig. 7 is a kind of step flow chart of method of data synchronization of the embodiment of the present invention three;
Fig. 8 is a kind of structural block diagram of data synchronization unit of the embodiment of the present invention four.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
It is the important milestone of network Development depending on networking, is a real-time network, can be realized HD video real-time Transmission, Push numerous Internet applications to HD video, high definition is face-to-face.
Real-time high-definition video switching technology is used depending on networking, it can be such as high in a network platform by required service Clear video conference, Intellectualized monitoring analysis, emergency command, digital broadcast television, delay TV, the Web-based instruction, shows video monitoring Field live streaming, VOD program request, TV Mail, individual character records (PVR), Intranet (manages) channel by oneself, intelligent video Broadcast Control, information publication All be incorporated into a system platform etc. services such as tens of kinds of videos, voice, picture, text, communication, data, by TV or Computer realizes that high-definition quality video plays.
Embodiment in order to enable those skilled in the art to better understand the present invention is introduced to depending on networking below:
Depending on networking, applied portion of techniques is as described below:
Network technology (Network Technology)
Traditional ethernet (Ethernet) is improved depending on the network technology innovation networked, with potential huge on network Video flow.(Circuit is exchanged different from simple network packet packet switch (Packet Switching) or lattice network Switching), Streaming demand is met using Packet Switching depending on networking technology.Has grouping depending on networking technology Flexible, the simple and low price of exchange, is provided simultaneously with the quality and safety assurance of circuit switching, it is virtually electric to realize the whole network switch type The seamless connection of road and data format.
Switching technology (Switching Technology)
Two advantages of asynchronous and packet switch that Ethernet is used depending on networking eliminate Ethernet under the premise of complete compatible and lack It falls into, has the end-to-end seamless connection of the whole network, direct user terminal, directly carrying IP data packet.User data is in network-wide basis It is not required to any format conversion.It is the more advanced form of Ethernet depending on networking, is a real-time exchange platform, can be realized at present mutually The whole network large-scale high-definition realtime video transmission that networking cannot achieve pushes numerous network video applications to high Qinghua, unitizes.
Server technology (Server Technology)
It is different from traditional server, its Streaming Media depending on the server technology in networking and unified video platform Transmission be built upon it is connection-oriented on the basis of, data-handling capacity is unrelated with flow, communication time, single network layer energy Enough transmitted comprising signaling and data.For voice and video business, handled depending on networking and unified video platform Streaming Media Complexity many simpler than data processing, efficiency substantially increase hundred times or more than traditional server.
Reservoir technology (Storage Technology)
The ultrahigh speed reservoir technology of unified video platform in order to adapt to the media content of vast capacity and super-flow and Using state-of-the-art real time operating system, the programme information in server instruction is mapped to specific hard drive space, media Content is no longer pass through server, and moment is directly delivered to user terminal, and user waits typical time less than 0.2 second.It optimizes Sector distribution greatly reduces the mechanical movement of hard disc magnetic head tracking, and resource consumption only accounts for the 20% of the internet ad eundem IP, but The concurrent flow greater than 3 times of traditional disk array is generated, overall efficiency promotes 10 times or more.
Network security technology (Network Security Technology)
Depending on the structural design networked by servicing independent licence system, equipment and the modes such as user data is completely isolated every time The network security problem that puzzlement internet has thoroughly been eradicated from structure, does not need antivirus applet, firewall generally, has prevented black The attack of visitor and virus, structural carefree secure network is provided for user.
It services innovative technology (Service Innovation Technology)
Business and transmission are fused together by unified video platform, whether single user, private user or a net The sum total of network is all only primary automatic connection.User terminal, set-top box or PC are attached directly to unified video platform, obtain rich The multimedia video service of rich colorful various forms.Unified video platform is traditional to substitute with table schema using " menu type " Complicated applications programming, considerably less code, which can be used, can be realized complicated application, realize the new business innovation of " endless ".
Networking depending on networking is as described below:
It is a kind of central controlled network structure depending on networking, which can be Tree Network, Star network, ring network etc. class Type, but centralized control node is needed to control whole network in network on this basis.
As shown in Figure 1, being divided into access net and Metropolitan Area Network (MAN) two parts depending on networking.
The equipment of access mesh portions can be mainly divided into 3 classes: node server, access switch, terminal (including various machines Top box, encoding board, memory etc.).Node server is connected with access switch, and access switch can be with multiple terminal phases Even, and it can connect Ethernet.
Wherein, node server is the node that centralized control functions are played in access net, can control access switch and terminal. Node server can directly be connected with access switch, can also directly be connected with terminal.
Similar, the equipment of metropolitan area mesh portions can also be divided into 3 classes: metropolitan area server, node switch, node serve Device.Metropolitan area server is connected with node switch, and node switch can be connected with multiple node servers.
Wherein, node server is the node server for accessing mesh portions, i.e. node server had both belonged to access wet end Point, and belong to metropolitan area mesh portions.
Metropolitan area server is the node that centralized control functions are played in Metropolitan Area Network (MAN), can control node switch and node serve Device.Metropolitan area server can be directly connected to node switch, can also be directly connected to node server.
It can be seen that be entirely a kind of central controlled network structure of layering depending on networking network, and node server and metropolitan area The network controlled under server can be the various structures such as tree-shaped, star-like, cyclic annular.
Visually claim, access mesh portions can form unified video platform (part in virtual coil), and multiple unified videos are flat Platform can form view networking;Each unified video platform can be interconnected by metropolitan area and wide area depending on networking.
1, view networked devices classification
1.1 embodiment of the present invention can be mainly divided into 3 classes: server depending on the equipment in networking, interchanger (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).Depending on networking can be divided on the whole Metropolitan Area Network (MAN) (or National net, World Wide Web etc.) and access net.
1.2 equipment for wherein accessing mesh portions can be mainly divided into 3 classes: node server, access switch (including ether Net gateway), terminal (including various set-top boxes, encoding board, memory etc.).
The specific hardware structure of each access network equipment are as follows:
Node server:
As shown in Fig. 2, mainly including Network Interface Module 201, switching engine module 202, CPU module 203, disk array Module 204;
Wherein, Network Interface Module 201, the Bao Jun that CPU module 203, disk array module 204 are come in enter switching engine Module 202;Switching engine module 202 look into the operation of address table 205 to the packet come in, to obtain the navigation information of packet; And the packet is stored according to the navigation information of packet the queue of corresponding pack buffer 206;If the queue of pack buffer 206 is close It is full, then it abandons;All pack buffer queues of 202 poll of switching engine mould, are forwarded: 1) port if meeting the following conditions It is less than to send caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, including The operation such as initialization, read-write to hard disk;CPU module 203 is mainly responsible between access switch, terminal (not shown) Protocol processes, to address table 205 (including descending protocol packet address table, uplink protocol package address table, data packet addressed table) Configuration, and, the configuration to disk array module 204.
Access switch:
As shown in figure 3, mainly including Network Interface Module (downstream network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
Wherein, the packet (upstream data) that downstream network interface module 301 is come in enters packet detection module 305;Packet detection mould Whether mesh way address (DA), source address (SA), type of data packet and the packet length of the detection packet of block 305 meet the requirements, if met, It then distributes corresponding flow identifier (stream-id), and enters switching engine module 303, otherwise abandon;Uplink network interface mould The packet (downlink data) that block 302 is come in enters switching engine module 303;The data packet that CPU module 204 is come in enters switching engine Module 303;Switching engine module 303 look into the operation of address table 306 to the packet come in, to obtain the navigation information of packet; If the packet into switching engine module 303 is that downstream network interface is gone toward uplink network interface, in conjunction with flow identifier (stream-id) packet is stored in the queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, It abandons;If the packet into switching engine module 303 is not that downstream network interface is gone toward uplink network interface, according to packet Navigation information is stored in the data packet queue of corresponding pack buffer 307;If the queue of the pack buffer 307 is close full, Then abandon.
All pack buffer queues of 303 poll of switching engine module, are divided to two kinds of situations in embodiments of the present invention:
If the queue is that downstream network interface is gone toward uplink network interface, meets the following conditions and be forwarded: 1) It is less than that the port sends caching;2) the queue package counting facility is greater than zero;3) token that rate control module generates is obtained;
If the queue is not that downstream network interface is gone toward uplink network interface, meets the following conditions and is forwarded: 1) it is less than to send caching for the port;2) the queue package counting facility is greater than zero.
Rate control module 208 is configured by CPU module 204, to all downlink networks in programmable interval Interface generates token toward the pack buffer queue that uplink network interface is gone, to control the code rate of forwarded upstream.
CPU module 304 is mainly responsible for the protocol processes between node server, the configuration to address table 306, and, Configuration to rate control module 308.
Ethernet association turns gateway:
As shown in figure 4, mainly including Network Interface Module (downstream network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, rate control module 408, address table 406, Bao Huan Storage 407 and MAC adding module 409, MAC removing module 410.
Wherein, the data packet that downstream network interface module 401 is come in enters packet detection module 405;Packet detection module 405 is examined Ethernet mac DA, ethernet mac SA, Ethernet length or frame type, the view networking destination address of measured data packet DA, whether meet the requirements depending on networking source address SA, depending on networking data Packet type and packet length, corresponding stream is distributed if meeting Identifier (stream-id);Then, MAC DA, MAC SA, length or frame type are subtracted by MAC removing module 410 (2byte), and enter corresponding receive and cache, otherwise abandon;
Downstream network interface module 401 detects the transmission caching of the port, if there is Bao Ze is according to the view of packet networking purpose Address D A knows the ethernet mac DA of corresponding terminal, adds the ethernet mac DA of terminal, Ethernet assists the MAC for turning gateway SA, Ethernet length or frame type, and send.
The function that Ethernet association turns other modules in gateway is similar with access switch.
Terminal:
It mainly include Network Interface Module, Service Processing Module and CPU module;For example, set-top box mainly connects including network Mouth mold block, video/audio encoding and decoding engine modules, CPU module;Encoding board mainly includes Network Interface Module, video encoding engine Module, CPU module;Memory mainly includes Network Interface Module, CPU module and disk array module.
The equipment of 1.3 metropolitan area mesh portions can be mainly divided into 2 classes: node server, node switch, metropolitan area server. Wherein, node switch mainly includes Network Interface Module, switching engine module and CPU module;Metropolitan area server mainly includes Network Interface Module, switching engine module and CPU module are constituted.
2, networking data package definition is regarded
2.1 access network data package definitions
Access net data packet mainly include following sections: destination address (DA), source address (SA), reserve bytes, payload(PDU)、CRC。
As shown in the table, the data packet for accessing net mainly includes following sections:
DA SA Reserved Payload CRC
Wherein:
Destination address (DA) is made of 8 bytes (byte), and first character section indicates type (such as the various associations of data packet Discuss packet, multicast packet, unicast packet etc.), be up to 256 kinds of possibility, the second byte to the 6th byte is metropolitan area net address, Seven, the 8th bytes are access net address;
Source address (SA) is also to be made of 8 bytes (byte), is defined identical as destination address (DA);
Reserve bytes are made of 2 bytes;
The part payload has different length according to the type of different data packets, is if it is various protocol packages 64 bytes are 32+1024=1056 bytes if it is single group unicast packets words, are not restricted to above 2 kinds certainly;
CRC is made of 4 bytes, and calculation method follows the Ethernet CRC algorithm of standard.
2.2 Metropolitan Area Network (MAN) packet definitions
The topology of Metropolitan Area Network (MAN) is pattern, may there is 2 kinds, connection even of more than two kinds, i.e. node switching between two equipment It can all can exceed that 2 kinds between machine and node server, node switch and node switch, node switch and node server Connection.But the metropolitan area net address of metropolitan area network equipment is uniquely, to close to accurately describe the connection between metropolitan area network equipment System, introduces parameter in embodiments of the present invention: label, uniquely to describe a metropolitan area network equipment.
(Multi-Protocol Label Switch, multiprotocol label are handed over by the definition of label and MPLS in this specification Change) label definition it is similar, it is assumed that between equipment A and equipment B there are two connection, then data packet from equipment A to equipment B just There are 2 labels, data packet also there are 2 labels from equipment B to equipment A.Label is divided into label, outgoing label, it is assumed that data packet enters The label (entering label) of equipment A is 0x0000, and the label (outgoing label) when this data packet leaves equipment A may reform into 0x0001.The networking process of Metropolitan Area Network (MAN) is to enter network process under centralized control, also means that address distribution, the label of Metropolitan Area Network (MAN) Distribution be all to be dominated by metropolitan area server, node switch, node server be all passively execute, this point with The label distribution of MPLS is different, and the distribution of the label of MPLS is the result that interchanger, server are negotiated mutually.
As shown in the table, the data packet of Metropolitan Area Network (MAN) mainly includes following sections:
DA SA Reserved Label Payload CRC
That is destination address (DA), source address (SA), reserve bytes (Reserved), label, payload (PDU), CRC.Its In, the format of label, which can refer to, such as gives a definition: label is 32bit, wherein high 16bit retains, only with low 16bit, its position Set is between the reserve bytes and payload of data packet.
Based on the above-mentioned characteristic of view networking, the data synchronization scheme of the embodiment of the present invention is proposed, it then follows regard the association of networking View, by the monitoring resource access in internet depending on handling in networking, synchronous data are more comprehensive, promote user experience.
The method of data synchronization of the embodiment of the present invention can be applied in view networking.It may include view networking in depending on networking Monitor supervision platform and monitoring association turn server, can turn server with monitoring association depending on networking monitoring platform and connect, to add monitoring Association turns server.Turn that two-way interactive can be carried out based on view networking protocol between server depending on networking monitoring platform and monitoring association.
Monitoring association turns server and can be understood as gateway, and being responsible for (can also external (such as on internet) monitoring resource It is described as monitoring device) it is linked into view networking monitoring platform.It monitors resource and the monitor video of acquisition is based on corresponding interconnection FidonetFido is encoded, and monitoring association turns the monitoring number of the internet protocol-based after the available monitoring resource code of server According to monitoring association, which turns server, can be converted to the monitoring data of internet protocol-based the monitoring number based on view networking protocol According to, be sent to later view networking monitoring platform on, thus realize view networking in browse and control internet on monitoring resource.
Monitoring association turns server can connect with multiple monitoring resources, and connection herein can be to be directly connected to.Therefore, it supervises Control association turns the information that server can recorde multiple monitoring resources of itself connection, multiple monitoring money of itself available connection The monitoring data in source.
Monitoring association turns server and can also be located at third party's monitor supervision platform in internet at least one to connect.Third party Monitor supervision platform will access monitoring association and turn server, first have to turn to be registered on server in monitoring association, after succeeding in registration, the Tripartite's monitor supervision platform accesses monitoring association and turns server.Monitoring association turns can be based on mutual between server and third party's monitor supervision platform Networking protocol carries out two-way interactive.Each third party's monitor supervision platform can be connect with multiple monitoring resources.Therefore, monitoring association turns clothes Business device can recorde the information of the multiple monitoring resources connected by third party's monitor supervision platform for having accessed, available by the The monitoring data of multiple monitoring resources of tripartite's monitor supervision platform connection, to realize that view networking monitoring platform and third party's monitoring are flat The docking of platform realizes that view networking neutralizes and monitors the shared of resource in internet.Wherein, third party's monitor supervision platform can supervise for public security Control platform, medical monitoring platform, etc..
It may include view networking monitoring client, view networking monitoring server and view networking monitoring number depending on networking monitoring platform According to library.Wherein, regarding networking monitoring client can be the end Web, and regarding networking monitoring server can be Mserver.It is supervised depending on networking Control client mainly provides the interaction between user;It can turn server with monitoring association depending on networking monitoring server to connect, it is main It is used to provide and monitor the interaction assisted and turned between server;It can connect with view networking monitoring server depending on networking monitoring database It connects, is mainly used for saving the relevant information of monitoring resource, be operated for being inquired, being modified depending on networking monitoring server etc..
Embodiment one
Referring to Fig. 5, a kind of step flow chart of method of data synchronization of the embodiment of the present invention one is shown.The present invention is implemented The method of data synchronization of example relates generally to synchronize the monitoring resource that third party's monitor supervision platform connects.
The method of data synchronization of the embodiment of the present invention may comprise steps of:
Step 501, monitoring association turns server and receives what third party's monitor supervision platform was reported by internet, based on interconnection The information of the changed monitoring resource of fidonetFido encapsulation.
In practical applications, the monitoring resource of third party's monitor supervision platform connection may change.For example, due to network The state of the reasons monitoring resource such as connection disconnection monitors resource from becoming offline online, or due to network reconnect etc. State from becoming online, etc. offline.
Third party's monitor supervision platform can save the information of the monitoring resource of itself connection.Third party's monitor supervision platform can detecte The case where monitoring resource connected to itself changes, after detecting that the monitoring resource of itself connection changes, third The information reporting of changed monitoring resource to monitoring association can be turned server by square monitor supervision platform.
In the implementation, third party's monitor supervision platform turns internet protocol-based between server and interacts with monitoring association.Therefore the Tripartite's monitor supervision platform internet protocol-based encapsulates the information of changed monitoring resource, obtains being packaged with changed prison Control the Internet protocol data packet of the information of resource.What third party's monitor supervision platform was encapsulated internet protocol-based by internet The information of changed monitoring resource namely above-mentioned the Internet protocol data packet report to monitoring association and turn server.For example, the Tripartite's monitor supervision platform can be national standard (GB/T28181) platform, then third party's monitor supervision platform is sealed based on national standard GB/T28181 agreement Fill the information of changed monitoring resource.
Step 502, monitoring association turns server and obtains full directory belonging to the changed monitoring resource.
Monitoring association turns server in the letter for the changed monitoring resource for receiving the encapsulation of an internet protocol-based Breath namely above-mentioned the Internet protocol data packet after, it is carried out the operation such as to decapsulate, obtain including changed prison Control the information of resource.
In the embodiment of the present invention, third party's monitor supervision platform can save most junior's mesh belonging to the monitoring resource of itself connection Record.Most subprime directory refers to most junior region belonging to monitoring resource.For example, full directory belonging to some monitoring resource is north Jing Shi-Haidian District-Zhong Guan-cun street, then Beijing is most higher level's catalogue belonging to the monitoring resource, and Zhong Guan-cun street is the prison Control most subprime directory belonging to resource.The information for the changed monitoring resource that third party's monitor supervision platform reports may include hair The information such as mark, state, the affiliated most subprime directory of the monitoring resource for changing.Monitoring association turns server can be according to generation The information of the monitoring resource of variation obtains full directory belonging to changed monitoring resource.
In a kind of optional embodiment, step 502 may include: that monitoring association turns server according to described changed Most subprime directory belonging to resource is monitored, inquires upper level catalogue step by step, until inquiring the changed monitoring resource Affiliated most higher level catalogue;Monitoring association turns server and connect the most subprime directory step by step with the catalogues at different levels inquired, makees For full directory belonging to the changed monitoring resource.
For example, monitoring association turns to include in the information of the changed monitoring resource that server receives changed Monitoring most subprime directory belonging to resource is Zhong Guan-cun street, then monitoring association and turning server can inquire according to Zhong Guan-cun street The upper level catalogue in Zhong Guan-cun street is Haidian District, is Beijing further according to the upper level catalogue that can inquire Haidian District is done City, Beijing is most higher level's catalogue belonging to changed monitoring resource, therefore monitoring association turns server and can determine north Jing Shi-Haidian District-Zhong Guan-cun street is full directory belonging to changed monitoring resource.
Step 503, monitoring association turns server based on the information for encapsulating the changed monitoring resource depending on networking protocol And full directory belonging to the changed monitoring resource, and it is flat by being synchronized to the view networking monitoring depending on networking Platform.
Monitoring association turns server after obtaining full directory belonging to changed monitoring resource, can will change Monitoring resource information and changed monitoring resource belonging to full directory be synchronized to view networking monitoring platform.With Continue, promotion user experience easier, efficient when inquiring full directory belonging to changed monitoring resource after an action of the bowels.
In the implementation, monitoring association turns server and depending on being based on interacting depending on networking protocol between networking monitoring platform.Cause This monitoring association turns server based on the information and changed monitoring for encapsulating changed monitoring resource depending on networking protocol Full directory belonging to resource obtains the information and the changed monitoring resource institute that are packaged with changed monitoring resource The view networking protocol data packet of the full directory of category.Monitoring association turns server will be based on view networking protocol encapsulation by view networking Full directory belonging to the information and changed monitoring resource of changed monitoring resource namely above-mentioned view networking association Packet synchronisation is discussed to view networking monitoring platform.
Specifically, monitoring association turns server and interacting depending on networking monitoring server depending on networking monitoring platform, is joined by view Net will be belonging to the information and changed monitoring resource of the changed monitoring resource based on view networking protocol encapsulation Full directory is synchronized to view networking monitoring server.Depending on networking monitoring server again by based on depending on networking protocol encapsulation become Full directory belonging to the information of the monitoring resource of change and changed monitoring resource is stored to view networking monitoring database. User can check the information and changed monitoring money of changed monitoring resource on depending on networking monitoring client Full directory belonging to source.
In the embodiment of the present invention monitoring association turn server not only by it is changed monitoring resource synchronizing information to regard connection Full directory belonging to changed monitoring resource is also synchronized to view networking monitoring platform, therefore works as and use by net monitor supervision platform It, can be easier, quick depending on networking monitoring platform when family is wanted to check full directory belonging to changed monitoring resource Ground gets full directory, to promote user experience.Also, it can also be realized in the embodiment of the present invention by the prison in internet The access of control resource in networking depending on being handled, and faster compared to interconnection net spee depending on networking, safety is higher.
Embodiment two
Referring to Fig. 6, a kind of step flow chart of method of data synchronization of the embodiment of the present invention two is shown.
The method of data synchronization of the embodiment of the present invention may comprise steps of:
Step 601, monitoring association turns server and receives what third party's monitor supervision platform was reported by internet, based on interconnection The information of the changed monitoring resource of fidonetFido encapsulation.
In the embodiment of the present invention, it is contemplated that changed monitoring resource may have multiple, therefore third party's monitor supervision platform It can turn the information that server repeatedly reports changed monitoring resource to monitoring association, monitoring association, which turns server, repeatedly to be received Third party's monitor supervision platform is reported by internet, the information of the changed monitoring resource of internet protocol-based encapsulation.
Step 602, monitoring association turns server and judges whether third party's monitor supervision platform has reported changed prison Control the information of resource.If so then execute step 603, if otherwise return step 601.
If often receiving the changed of an internet protocol-based encapsulation in view of monitoring association turns server After the information for monitoring resource, full directory belonging to changed monitoring resource is just obtained, and changed monitoring is provided Full directory belonging to the information in source and changed monitoring resource is synchronized to view networking monitoring platform, then monitors association and turn Server and the number depending on interacting between networking monitoring platform are more, and process is complex.
Therefore in the embodiment of the present invention, monitoring association turns server in the generation for receiving the encapsulation of an internet protocol-based After the information of the monitoring resource of variation, it can first judge whether third party's monitor supervision platform has reported changed monitoring resource Information.When third party's monitor supervision platform has reported the information of changed monitoring resource, step 603 is executed;In third When square monitor supervision platform has not reported the information of changed monitoring resource, monitoring association turns server and continues to third party's monitoring Platform is reported by internet, the information of the changed monitoring resource of internet protocol-based encapsulation.
In a kind of optional embodiment, step 602 may include: that monitoring association turns server and judge current time apart from most Whether the time for once receiving the information of the changed monitoring resource of internet protocol-based encapsulation afterwards is more than setting threshold Value;When being more than given threshold, judge to have reported;When being less than given threshold, judge not reported.For setting The specific value of threshold value, any suitable value is arranged in those skilled in the art based on practical experience, for example can be set and set Determining threshold value is 3000ms, 5000ms etc., the embodiment of the present invention to this with no restriction.
Step 603, monitoring association turns server when judging to have reported, and obtains the changed monitoring resource institute The full directory of category.
Monitoring association turns server in the information for judging that third party's monitor supervision platform has reported changed monitoring resource When, it is unified to obtain full directory belonging to changed monitoring resource.In such cases, changed monitoring resource is The corresponding monitoring resource of information of the changed monitoring resource of the whole received, monitoring association turn server for each generation Full directory of the monitoring resource acquisition of variation belonging to it.Certainly, if it is most lower belonging to two changed monitoring resources Grade catalogue is identical, then full directory belonging to the two changed monitoring resources is also identical, therefore for the two generations The monitoring resource of variation can only obtain full directory belonging to primary changed monitoring resource, as the two generations Full directory belonging to the monitoring resource of variation.
For obtaining the detailed process of full directory belonging to changed monitoring resource, referring to step in embodiment one 502 associated description, the embodiment of the present invention are no longer discussed in detail herein.
Step 604, monitoring association turns server based on the information for encapsulating the changed monitoring resource depending on networking protocol And full directory belonging to the changed monitoring resource, and it is flat by being synchronized to the view networking monitoring depending on networking Platform.
It is corresponding in the information for getting the changed monitoring resource of the whole received by it that monitoring association turns server After monitoring full directory belonging to resource, the information of the changed monitoring resource of the whole received and whole are changed Monitoring resource belonging to full directory be synchronized to view networking monitoring platform.
For synchronous detailed process, referring to the associated description of step 503 in embodiment one, the embodiment of the present invention exists This is no longer discussed in detail.
By batch processing mode in the embodiment of the present invention, monitoring association can be reduced and turn server and view networking monitoring platform Between interaction times, simplify treatment process.
Embodiment three
Referring to Fig. 7, a kind of step flow chart of method of data synchronization of the embodiment of the present invention three is shown.
The method of data synchronization of the embodiment of the present invention may comprise steps of:
Step 701, monitoring association turns server and receives what third party's monitor supervision platform was reported by internet, based on interconnection The information of the changed monitoring resource of fidonetFido encapsulation.
In the embodiment of the present invention, step 701 is identical as step 601 in embodiment two, referring in particular to the correlation of embodiment two Description.
Step 702, monitoring association turns server and judges whether third party's monitor supervision platform has reported changed prison Control the information of resource.If so then execute step 703, if otherwise return step 701.
In the embodiment of the present invention, step 702 is identical as step 602 in embodiment two, referring in particular to the correlation of embodiment two Description.
Step 703, monitoring association turns server when judging to have reported, and obtains the changed monitoring resource institute The full directory of category.
In the embodiment of the present invention, step 703 is identical as step 603 in embodiment two, referring in particular to the correlation of embodiment two Description.
Step 704, monitoring association turns server to third party's monitor supervision platform transmission synchronization request, the synchronization request packet Include full directory belonging to the changed monitoring resource.
In view of third party's monitor supervision platform turns to be based on interacting depending on networking protocol between server with monitoring association, such as third party Monitor supervision platform uses UDP (User Datagram Protocol, User Datagram Protocol) transmission mode, will be based on internet protocol Information reporting to the monitoring association for discussing the changed monitoring resource of encapsulation turns server.And the reliability phase of UDP transmission mode To poor, there may be packet loss situation, monitoring association is caused to turn server and cannot be completely received third party's monitor supervision platform to report Changed monitoring resource information.Also, when the monitoring resource of third party's monitor supervision platform changes, usually may It is that whole monitoring resources under entire full directory change.
Therefore in the embodiment of the present invention, monitoring association turns server and is getting the changed prison of whole received by it After controlling full directory belonging to the corresponding monitoring resource of information of resource, synchronization request can be sent to third party's monitor supervision platform. In the implementation, monitoring association turns server internet protocol-based encapsulation synchronization request, obtains the internet for being packaged with synchronization request Protocol data packet.Monitoring association turns the synchronization request that internet protocol-based encapsulate by internet by server namely above-mentioned mutual Networking protocol data packet is sent to third party's monitor supervision platform.
It may include full directory belonging to whole changed monitoring resources in synchronization request.Third party's monitor supervision platform After receiving synchronization request, it is carried out the operation such as to decapsulate, obtain including the changed monitoring resource of whole Affiliated full directory.Third party's monitor supervision platform obtains the whole for including under full directory belonging to changed monitoring resource The information for the whole monitoring resources that monitors the information of resource, and will acquire is back to monitoring association and turns server.
In the implementation, the information for whole monitoring resources that the encapsulation of third party's monitor supervision platform internet protocol-based is got, Obtain the Internet protocol data packet for being packaged with the information of the whole monitoring resources got.Third party's monitor supervision platform passes through interconnection Net returns the information for the whole monitoring resources got that internet protocol-based encapsulates namely above-mentioned the Internet protocol data packet It is back to monitoring association and turns server.
Step 705, monitoring association turn server receive third party's monitor supervision platform for the synchronization request return, institute State the information for the whole monitoring resources for including under full directory belonging to changed monitoring resource.
Step 706, monitoring association turns information and all monitoring of the server from the changed monitoring resource In the information of resource, the information that resource is more monitored comprising monitoring resource quantity is chosen.
Monitoring association turns server and is receiving the return of third party's monitor supervision platform, and internet protocol-based, which encapsulates, to be become After the information for the whole monitoring resources for including under full directory belonging to the monitoring resource of change, it is carried out the operation such as to decapsulate, Obtain including whole monitoring resources information.
Monitoring association turns the changed monitoring that server reports the third party's monitor supervision platform received in step 701 and provides The information in source is complete belonging to the changed monitoring resource returned with third party's monitor supervision platform for receiving in step 705 The information for the whole monitoring resources for including under catalogue compares, and more monitors money comprising monitoring resource quantity from wherein choosing The information in source.
Step 707, monitoring association turns the information and selection for the monitoring resource that server is chosen based on view networking protocol encapsulation Monitoring resource belonging to full directory, and by view network be synchronized to the view networking monitoring platform.
Monitoring association turns server for full directory belonging to the information of the monitoring resource of selection and the monitoring resource of selection It is synchronized to view networking monitoring platform.
For synchronous detailed process, referring to the associated description of step 503 in embodiment one, the embodiment of the present invention exists This is no longer discussed in detail.
In the embodiment of the present invention, turns server by monitoring association and further send synchronization request, can make to receive the The information for the monitoring resource that tripartite's monitor supervision platform is sent is more complete, reduces the influence generated due to packet loss.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Example IV
Referring to Fig. 8, a kind of structural block diagram of data synchronization unit of the embodiment of the present invention four is shown.The embodiment of the present invention Data synchronization unit can be applied to view networking in, view networking in include view networking monitoring platform and monitoring association turn service Device, includes third party's monitor supervision platform in internet, and third party's monitor supervision platform connects multiple monitoring resources.
The data synchronization unit of the embodiment of the present invention may include the following module for being located at and monitoring and assisting and turn in server:
The monitoring association turns server and includes:
First receiving module 801 is reported by internet for receiving third party's monitor supervision platform, and internet is based on The information of the changed monitoring resource of protocol encapsulation;
Module 802 is obtained, for obtaining full directory belonging to the changed monitoring resource;
Synchronization module 803, for based on information and the institute for encapsulating the changed monitoring resource depending on networking protocol Full directory belonging to changed monitoring resource is stated, and by being synchronized to the view networking monitoring platform depending on networking.
Optionally, the monitoring association turns server further include: judgment module, for obtaining the hair in the acquisition module Before the step of full directory belonging to the monitoring resource for changing, judge whether third party's monitor supervision platform has reported hair The information of the monitoring resource for changing.The acquisition module, for obtaining institute when the judgment module is judged to have reported State full directory belonging to changed monitoring resource.
Optionally, the judgment module includes: time judging unit, for judging that current time distance last time receives Whether the time of the information of the changed monitoring resource encapsulated to internet protocol-based is more than given threshold;As a result it determines Unit, for judging to have reported when being more than;When being less than, judge not reported.
Optionally, the monitoring association turns server further include: sending module, for being sent to third party's monitor supervision platform Synchronization request, the synchronization request include full directory belonging to the changed monitoring resource;Second receiving module is used It is directed to what the synchronization request returned in receiving third party's monitor supervision platform, it is complete belonging to the changed monitoring resource The information for the whole monitoring resources for including under whole catalogue;Module is chosen, for the information from the changed monitoring resource And in the information of all monitoring resource, choose the information that resource is more monitored comprising monitoring resource quantity.It is described same Module is walked, it is complete belonging to the information of monitoring resource and the monitoring resource of selection for being chosen based on view networking protocol encapsulation Catalogue, and by being synchronized to the view networking monitoring platform depending on networking.
Optionally, it is described it is changed monitoring resource information include belonging to the changed monitoring resource most Subprime directory;The acquisition module includes: query unit, for the most junior according to belonging to the changed monitoring resource Catalogue inquires upper level catalogue step by step, until inquiring most higher level's catalogue belonging to the changed monitoring resource;Catalogue Determination unit, for the most subprime directory to be connect step by step with the catalogues at different levels inquired, as the changed prison Control full directory belonging to resource.
In the embodiment of the present invention monitoring association turn server not only by it is changed monitoring resource synchronizing information to regard connection Full directory belonging to changed monitoring resource is also synchronized to view networking monitoring platform, therefore works as and use by net monitor supervision platform It, can be easier, quick depending on networking monitoring platform when family is wanted to check full directory belonging to changed monitoring resource Ground gets full directory, to promote user experience.Also, it can also be realized in the embodiment of the present invention by the prison in internet The access of control resource in networking depending on being handled, and faster compared to interconnection net spee depending on networking, safety is higher.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of method of data synchronization provided by the present invention and a kind of data synchronization unit, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of method of data synchronization, which is characterized in that the method is applied in view networking, includes view networking in view networking Monitor supervision platform and monitoring association turn server, include third party's monitor supervision platform in internet, third party's monitor supervision platform connection Multiple monitoring resources, which comprises
The monitoring association turns server and receives what third party's monitor supervision platform was reported by internet, internet protocol-based envelope The information of the changed monitoring resource of dress;
The monitoring association turns server and obtains full directory belonging to the changed monitoring resource;
The monitoring association turns server and encapsulates the changed information of resource and described of monitoring based on view networking protocol Full directory belonging to changed monitoring resource, and by being synchronized to the view networking monitoring platform depending on networking.
2. the method according to claim 1, wherein
Before monitoring association turns the step of server obtains full directory belonging to the changed monitoring resource, also It include: that monitoring association turns server and judges whether third party's monitor supervision platform has reported changed monitoring resource Information;
The monitoring association turns the step of server obtains full directory belonging to the changed monitoring resource, comprising: institute It states monitoring association and turns server when judging to have reported, obtain full directory belonging to the changed monitoring resource.
3. according to the method described in claim 2, it is characterized in that, monitoring association, which turns server, judges third party's monitoring Whether platform has reported the step of information of changed monitoring resource, comprising:
The monitoring association turns server and judges that current time distance last time receives the generation of internet protocol-based encapsulation Whether the time of the information of the monitoring resource of variation is more than given threshold;
When being more than, judge to have reported;When being less than, judge not reported.
4. according to the method described in claim 2, it is characterized in that,
In the monitoring, association turns server when judging to have reported, and obtains complete belonging to the changed monitoring resource After the step of whole catalogue, further includes:
The monitoring association turns server and sends synchronization request to third party's monitor supervision platform, and the synchronization request includes the hair Full directory belonging to the monitoring resource for changing;
The monitoring association turns server and receives what third party's monitor supervision platform was returned for the synchronization request, described to become The information for the whole monitoring resources for including under full directory belonging to the monitoring resource of change;
The monitoring association turns server from the information of the changed monitoring resource and the letter of all monitoring resource In breath, the information that resource is more monitored comprising monitoring resource quantity is chosen;
The monitoring association turns server and encapsulates the changed information of resource and described of monitoring based on view networking protocol The step of full directory belonging to changed monitoring resource, comprising: the monitoring association turns server and is based on view networking protocol Encapsulate full directory belonging to the information of monitoring resource and the monitoring resource of selection chosen.
5. the method according to claim 1, wherein the information of the changed monitoring resource includes described Most subprime directory belonging to changed monitoring resource;
The monitoring association turns the step of server obtains full directory belonging to the changed monitoring resource, comprising:
The monitoring association turns server most subprime directory according to belonging to the changed monitoring resource, inquires upper one step by step Grade catalogue, until inquiring most higher level's catalogue belonging to the changed monitoring resource;
The monitoring association turns server and connect the most subprime directory step by step with the catalogues at different levels inquired, as the generation Full directory belonging to the monitoring resource of variation.
6. a kind of data synchronization unit, which is characterized in that described device is applied in view networking, includes view networking in view networking Monitor supervision platform and monitoring association turn server, include third party's monitor supervision platform in internet, third party's monitor supervision platform connection Multiple monitoring resources, the monitoring association turn server and include:
First receiving module is reported by internet for receiving third party's monitor supervision platform, internet protocol-based envelope The information of the changed monitoring resource of dress;
Module is obtained, for obtaining full directory belonging to the changed monitoring resource;
Synchronization module, for based on the information for encapsulating the changed monitoring resource depending on networking protocol and described becoming Full directory belonging to the monitoring resource of change, and by being synchronized to the view networking monitoring platform depending on networking.
7. device according to claim 6, which is characterized in that
The monitoring association turns server further include: judgment module, for obtaining the changed prison in the acquisition module Before the step of controlling full directory belonging to resource, judge whether third party's monitor supervision platform has reported changed prison Control the information of resource;
The acquisition module, for when the judgment module is judged to have reported, obtaining the changed monitoring money Full directory belonging to source.
8. device according to claim 7, which is characterized in that the judgment module includes:
Time judging unit becomes for judging that current time distance last time receives internet protocol-based encapsulation Whether the time of the information of the monitoring resource of change is more than given threshold;
As a result determination unit, for judging to have reported when being more than;When being less than, judge not reported.
9. device according to claim 7, which is characterized in that
The monitoring association turns server further include:
Sending module, for sending synchronization request to third party's monitor supervision platform, the synchronization request includes described becomes Full directory belonging to the monitoring resource of change;
Second receiving module is directed to what the synchronization request returned for receiving third party's monitor supervision platform, described to become The information for the whole monitoring resources for including under full directory belonging to the monitoring resource of change;
Choose module, for from it is described it is changed monitoring resource information and it is described all monitoring resource information in, Choose the information that resource is more monitored comprising monitoring resource quantity;
The synchronization module, the information of the monitoring resource for being chosen based on view networking protocol encapsulation and the monitoring resource of selection Affiliated full directory, and by being synchronized to the view networking monitoring platform depending on networking.
10. device according to claim 6, which is characterized in that the information of the changed monitoring resource includes institute State most subprime directory belonging to changed monitoring resource;
The acquisition module includes:
Query unit inquires upper level mesh for the most subprime directory according to belonging to the changed monitoring resource step by step Record, until inquiring most higher level's catalogue belonging to the changed monitoring resource;
Catalogue determination unit, for the most subprime directory to be connect step by step with the catalogues at different levels inquired, as the generation Full directory belonging to the monitoring resource of variation.
CN201910101438.1A 2019-01-31 2019-01-31 Data synchronization method and device Active CN109889780B (en)

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 true CN109889780A (en) 2019-06-14
CN109889780B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381029A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of monitoring resource synchronization method and device
CN110557608A (en) * 2019-07-29 2019-12-10 视联动力信息技术股份有限公司 resource monitoring method, device and computer readable storage medium
CN110557611A (en) * 2019-08-28 2019-12-10 视联动力信息技术股份有限公司 Information synchronization method, device and storage medium
CN110557435A (en) * 2019-07-30 2019-12-10 视联动力信息技术股份有限公司 data synchronization method and device
CN111212255A (en) * 2019-12-30 2020-05-29 视联动力信息技术股份有限公司 Monitoring resource obtaining method and device and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
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
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
CN108093014A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and device
CN108093206A (en) * 2016-11-21 2018-05-29 北京视联动力国际信息技术有限公司 A kind of resource monitoring method and system
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381029A (en) * 2019-06-20 2019-10-25 视联动力信息技术股份有限公司 A kind of monitoring resource synchronization method and device
CN110381029B (en) * 2019-06-20 2022-03-01 视联动力信息技术股份有限公司 Monitoring resource synchronization method and device
CN110557608A (en) * 2019-07-29 2019-12-10 视联动力信息技术股份有限公司 resource monitoring method, device and computer readable storage medium
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
CN110557611A (en) * 2019-08-28 2019-12-10 视联动力信息技术股份有限公司 Information synchronization method, device and storage medium
CN111212255A (en) * 2019-12-30 2020-05-29 视联动力信息技术股份有限公司 Monitoring resource obtaining method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN109889780B (en) 2021-01-22

Similar Documents

Publication Publication Date Title
CN108012106B (en) A kind of method and system regarding networking monitoring source synchronous
CN109889780A (en) Method of data synchronization and device
CN109672856A (en) Resource synchronization method and device
CN108632525A (en) A kind of method and system of business processing
CN109547417A (en) Code stream transmission method and device
CN108965040A (en) A kind of business monitoring method and device of view networking
CN108737768A (en) A kind of monitoring method and monitoring device based on monitoring system
CN109743595A (en) Terminal data synchronous method and device
CN109167962A (en) It is a kind of to turn server depending on networked resources method for releasing and monitoring association
CN109660753A (en) Resource synchronization method and device
CN109802952A (en) Monitoring data synchronous method and device
CN110087102A (en) Method for inquiring status, device and storage medium
CN109743526A (en) A kind of communication connection method for building up and system based on view networking
CN109889420A (en) Method and device for business processing
CN109284265A (en) A kind of date storage method and system
CN110475125A (en) Video transcoding method and device
CN109889779A (en) A kind for the treatment of method and apparatus of packet out-ordering
CN109842630A (en) Method for processing video frequency and device
CN109698859A (en) A kind of date storage method and device based on view networking
CN109803119A (en) A kind of method and apparatus of monitoring information transmission
CN109462594A (en) A kind of data processing method and system based on view networking
CN109491783A (en) A kind of acquisition methods and system of memory usage
CN110505107A (en) A kind of monitoring method and view networking management system
CN110324578A (en) Monitor video processing method, device and storage medium
CN110392233A (en) Monitor video processing 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