CN110489484A - Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment - Google Patents

Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment Download PDF

Info

Publication number
CN110489484A
CN110489484A CN201910626498.5A CN201910626498A CN110489484A CN 110489484 A CN110489484 A CN 110489484A CN 201910626498 A CN201910626498 A CN 201910626498A CN 110489484 A CN110489484 A CN 110489484A
Authority
CN
China
Prior art keywords
grade
machine
data
server
data 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
CN201910626498.5A
Other languages
Chinese (zh)
Other versions
CN110489484B (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 CN201910626498.5A priority Critical patent/CN110489484B/en
Publication of CN110489484A publication Critical patent/CN110489484A/en
Application granted granted Critical
Publication of CN110489484B publication Critical patent/CN110489484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of method of data synchronization, device, electronic equipment and readable storage medium storing program for executing, the method applies the one grade of client of a machine connecting with one grade of server communication of a machine, it include: collected data information to be cached in local file, and the storage path of the major key of data information mark and data information in the local file is saved in the local database;In the case that first network connection status between one grade of server of a machine is connection failure, major key mark is stored in data queue to be synchronized;Periodically determining the second network connection state between one grade of server of a machine;In the case where second network connection state is successful connection, major key mark is obtained from data queue to be synchronized;It is identified according to major key and obtains storage path, and data information is obtained from local file according to storage path;Data information is synchronized to one grade of server of a machine.Data information is realized not lose and synchronize automatically according to network state.

Description

Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment
Technical field
The present invention relates to technical field of data transmission, more particularly to a kind of method of data synchronization, data synchronization unit, can Read storage medium and electronic equipment.
Background technique
One one grade of machine, for acquiring the archive information of monitoring, defines more than 40 kinds according to public security platform standard in view networking Field information, main includes monitoring title, producer, model, O&M contact person, affiliated area, administrator, installation site etc..By One grade of information of a machine that operator uses one grade of APP client typing of a machine to monitor, typing information are committed to backstage after the completion and take Business, background service provide data for each platform for needing to monitor one grade of information of machine.
Due to one grade of APP client and server separation of a machine, network environment is unknown between the two, in this case, One machine of client typing, one grade of information and when being committed to server in real time and saving, usually save it is unsuccessful cause loss of data, use Family experience is very poor.
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, a kind of data synchronization unit to solve the above problems, a kind of electronic equipment and a kind of computer can Read storage medium.
The embodiment of the present invention in a first aspect, provide a kind of method of data synchronization, the method is applied to one grade of visitor of a machine Family end, one grade of client of a machine are connect with one grade of server communication of a machine;The described method includes:
Collected data information is cached in local file, and by the major key of the data information mark and the number It is believed that storage path of the breath in the local file saves in the local database;
The determining first network connection status between one grade of server of a machine;
In the case where determining the first network connection status is the state of connection failure, the major key is identified and is stored in Data queue to be synchronized;
The second network connection state between periodically determining and described one grade of server of a machine;
In the case where determining second network connection state is the state of successful connection, from the data team to be synchronized Column obtain the major key mark;
The storage path is obtained from the local data base according to major key mark, and according to the storage road Diameter obtains the data information from the local file;
The data information is synchronized to one grade of server of a machine.
Optionally it is determined that the first network connection status between one grade of server of a machine, comprising:
Data synchronization request is sent to one grade of server of a machine;
When not receiving response of the one grade of server of a machine for the data synchronization request, connection failure is generated Mark, the connection failure mark characterize the state that the first network connection status is connection failure;
The second network connection state between periodically determining and described one grade of server of a machine, comprising:
Periodically network connecting request is sent to one grade of server of a machine;
Record is directed to the network connection from the transmission network connecting request to one grade of server of a machine is received Request the duration of the network packet returned;
In the case where the duration is less than preset duration threshold value, connection failure mark is updated to successful connection Mark, the successful connection mark characterize the state that second network connection state is successful connection.
Optionally, the method also includes:
It is in the case where determining the first network connection status is the state of successful connection, the data information is synchronous To one grade of server of a machine;
When receive one grade of server of machine return first synchronizes successfully signaling, in the local data base Label has been sent for major key mark addition, and the data information has been removed from the local file.
Optionally, the data information of acquisition is cached in local file, and by the major key of the data information mark and Storage path of the data information in the local file saves in the local database, comprising:
Multiple field datas of acquisition are converted into data information according to user-defined format, the data information is cached to In local file, and the format identification (FID) of major key mark, the storage path and the user-defined format is stored in described In local data base;
The data information is synchronized to one grade of server of a machine, comprising:
The format identification (FID) is obtained from the local data base, the data information is corresponding according to the format identification (FID) User-defined format be reduced into the multiple field data;
The multiple field data is synchronized to one grade of server of a machine.
Optionally, the method also includes:
When receive one grade of server of machine return second synchronizes successfully signaling, the major key is identified from institute It states data queue to be synchronized to remove, and in the local data base is that the major key mark addition has sent label, and, general The data information is removed from the local file.
The second aspect of the embodiment of the present invention, provides a kind of data synchronization unit, and described device is applied to one grade of visitor of a machine Family end, one grade of client of a machine are connect with one grade of server communication of a machine;Described device includes:
Data storage module, for collected data information to be cached in local file, and by the data information Major key mark and the data information local file storage path save in the local database;
First connection status determining module connects shape for the first network between determining and described one grade of server of a machine State;
Data markers module, for determine the first network connection status be connection failure state in the case where, Major key mark is stored in data queue to be synchronized;
Second connection status determining module, for the second network between periodically determining and described one grade of server of a machine Connection status;
Data markers obtain module, for determining the case where second network connection state is the state of successful connection Under, the major key mark is obtained from the data queue to be synchronized;
Data information obtains module, for obtaining the storage road from the local data base according to major key mark Diameter, and according to the storage path, the data information is obtained from the local file;
Data simultaneous module, for the data information to be synchronized to one grade of server of a machine.
Optionally, the first connection status determining module, comprising:
Data synchronization request unit, for sending data synchronization request to one grade of server of a machine;
Network identity setting unit, for not receiving one grade of server of a machine for the data synchronization request Response when, generate connection failure mark, it is connection failure that connection failure mark, which characterizes the first network connection status, State;
The second connection status determining module, comprising:
It is periodically detected unit, for periodically sending network connecting request to one grade of server of a machine;
Duration recording unit, for recording from the network connecting request is sent to receiving one grade of server of a machine For the duration for the network packet that the network connecting request returns;
The network identity setting unit is also used in the case where the duration is less than preset duration threshold value, by institute It states connection failure mark and is updated to successful connection mark, it is to connect that the successful connection mark, which characterizes second network connection state, Connect successful state.
Optionally, the data simultaneous module is also used to determining that the first network connection status is successful connection In the case where state, the data information is synchronized to one grade of server of a machine;
Described device further include:
Data markers module, when for synchronizing successfully signaling receive one grade of server of machine return first, It is that the major key mark addition has sent label in the local data base;
Data dump module, for when receiving described first and synchronizing successfully signaling, by the data information from described It is removed in local file.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence realizes the method for data synchronization when program is executed by processor.
The fourth aspect of the embodiment of the present invention, provides a kind of electronic equipment, including memory, processor and is stored in storage On device and the computer program that can run on a processor, the method for data synchronization is realized when the processor executes.
The embodiment of the present invention includes following advantages:
In embodiments of the present invention, first collected data information is cached to local file, the successful connection the case where Under, the data information cached in local file is synchronized to one grade of server of a machine, in the case where connection failure is smooth, periodically Network connection state is detected, and in the case where successful connection, the data information cached in local file is synchronized to a machine one Shelves server.Since the data information to acquisition is first backed up, it ensure that data information is not lost;Due to can the company of waiting The data information of backup is sent to server again when being connected into function, user is allowed to submit one grade of a machine in logging data information After server, mono- grade of client of You Yiji is synchronous automatically according to network state, improves the efficiency of synchrodata information.
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;
Fig. 6 is the structural schematic diagram of the kind data synchronization unit of the embodiment of the present invention.
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 First video flow.It is exchanged different from simple network packet packet switch (Packet Switching) or lattice network (Circuit Switching) meets Streaming demand using Packet Switching depending on networking technology.Depending on skill of networking Art has flexible, the simple and low price of packet switch, is provided simultaneously with the quality and safety assurance of circuit switching, realizes the whole network friendship Change the seamless connection of formula virtual circuit 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.
Classify depending on networked devices
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 association turns gateway), terminal (including various set-top boxes, encoding board, memory etc.).Metropolitan Area Network (MAN) can be divided on the whole depending on networking (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 association turns 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 module, are forwarded: 1) end if meeting the following conditions It is less than that mouth sends caching;2) the queue package counting facility is greater than zero.Disk array module 204 mainly realizes the control to hard disk, packet Include the operation such as initialization, read-write to hard disk;CPU module 203 be mainly responsible for access switch, terminal (not shown) it Between 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 304 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, may include two kinds of situations:
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 308 is configured by CPU module 304, 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 mesh way 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, according to the view of packet networking mesh if there is Bao Ze 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 datagrams, 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, one of the design for solving above-mentioned technical problem, one grade of a machine client are contemplated After collected data information is first cached to local file, mono- grade of server of Xiang Yiji requests synchrodata information, if with one The network connection of one grade of server of machine is obstructed, then data information is delayed and synchronizes, and again believes data when waiting network connection unobstructed Breath is synchronized to one grade of server of a machine.
In order to make ordinary people in the field more fully understand the technical solution of the disclosure, below in conjunction with attached drawing, to this public affairs The technical solution opened in embodiment is clearly and completely described.
Fig. 5 is a kind of flow chart of method of data synchronization shown according to an exemplary embodiment, as shown in figure 5, described Method can be applied to one grade of client of a machine, and one grade of client of a machine is connect with one grade of server communication of a machine, wherein One grade of server of one one grade of machine client and a machine can be in view networking, and one grade of a machine client can be one grade with a machine Server is used and is communicated depending on networking protocol.
Method of data synchronization described in the present embodiment may comprise steps of:
In step 501, collected data information is cached in local file, and by the major key of the data information The storage path of mark and the data information in the local file saves in the local database.
In the present embodiment, one grade of a machine client may be mounted at smart phone, computer, on tablet computer, collected Data information can be user's typing in one grade of client of a machine, and the mode of typing can be but be not limited to following sides Formula: keyboard typing, barcode scanning typing, voice input etc..Wherein, barcode scanning typing, which can be two dimensional code barcode scanning and be also possible to bar code, sweeps Code etc..Local data base can be the included database of one grade of client of machine, can be but is not limited to following databases: light Type SQLite database.
In practice, after collecting data information, data information can be cached in local file, wherein local File can be but not limited to the file in the storage unit in the equipment of one one grade of client of machine of installation, and storage unit can be Installed System Memory is also possible to the hard disk in equipment.It, can be by the master of data information after data information is cached to local file Key mark and the storage path in local file save in the local database.Wherein, major key mark can be understood as only The mark of the one collected data information of mark, can be sequence number, is also possible to monitoring device identification code.
Data information is buffered in local file by the present embodiment, stores the major key mark of data information in the local database With storage path, realize data information and the message identification of the mark data information separates storage.On the one hand, this is written Information content in ground database is small, improves writing speed.On the other hand, data information carries out local cache, can also be improved The storage speed of data information realizes that data information is faster saved, disappears to avoid when local data base is written in data information The long problem of time-consuming.
In step 502, the determining first network connection status between one grade of server of a machine.
It in step 503, will be described in the case where determining the first network connection status is the state of connection failure Major key mark is stored in data queue to be synchronized.
In the present embodiment, when not connecting one grade of server of machine, the major key of data information can be identified and be added to In data queue to be synchronized, corresponding data information needs delay synchronization is identified to identify the major key.Because in data team to be synchronized What is stored in column is the major key mark of marking data information, then can greatly reduce the data volume stored in data queue to be synchronized Size guarantee the normal of other business of one grade of machine client to reduce the running background load of one grade of client of a machine It carries out.
In step 504, the second network connection state periodically between determination and described one grade of server of a machine.
In the present embodiment, one grade of a machine client can periodically determine whether to can connect to one grade of server of a machine, It periodically determines and can be understood as just determining whether connection one machine, one grade of server at interval of the preset time, wherein is default Time can be set according to actual needs, determine to when can connect to one grade of server of machine, expression can be with synchrodata Information then goes to step 505.
In step 505, in the case where determining second network connection state is the state of successful connection, from described Data queue to be synchronized obtains the major key mark.
In step 506, it is identified according to the major key and obtains the storage path from the local data base, and according to The storage path, obtains the data information from the local file.
When can be with synchrodata information, then data information to be synchronized in local file be synchronized to one grade of machine clothes Business device.Specifically, major key mark can be obtained from data queue to be synchronized, because major key identifies data information described in unique identification, Storage path corresponding with major key mark can be then searched from local data base, obtained from local file according to storage path The data information of caching.
In step 507, the data information is synchronized to one grade of server of a machine.
In practice, it after data information to be synchronized to one grade of server of a machine, just realizes collected data information It is uploaded to view networking, so that other users or administrative staff can browse the data information in depending on networking.
In practice, one grade of client of a machine can acquire a plurality of data information, when collecting a plurality of data information, for Each data information can be realized according to the process of above-mentioned steps 501 to step 507 and be synchronized to each data information One one grade of machine server.
Collected data information can be first cached to local file, In by the embodiment of the present invention, one grade of a machine client Major key mark and the storage path that the data information is stored in local data base, later, in synchrodata information to one grade of a machine When server, major key mark is added to data queue to be synchronized, and periodically confirmation and a machine one if network connection failure The network connection status of shelves server, can connect to one grade of server of a machine if confirming, according in data queue to be synchronized Major key mark, from local data base search storage path, according to storage path data information is obtained from local file, and Data information is synchronized to one grade of server of a machine.
Using the embodiment of the present invention, due to caching collected data information in advance so that with one grade of server of a machine In the case where network connection failure, guarantee not losing for data information, simultaneously as periodically confirmation and one grade of server of a machine Network connection, confirm can connect to one grade of server of machine when, then it is the data information of caching is synchronous, ensure that data Automatic synchronization improves the synchronous flexibility of data information to one grade of server of a machine when information can be over network connections.
In conjunction with above embodiments, in one embodiment, step 502 be may comprise steps of:
Step 5021, mono- machine of Xiang Suoshu, one grade of server sends data synchronization request.
In the present embodiment, after data cached information, then synchrodata information, tool can be requested to one grade of server of a machine It, can be by the data synchronization request to this to one grade of server request transmission http agreement of a machine, to request to synchronize for body Data information, the data synchronization request can be initiated after the complete data information of typing by user.
Step 5022, raw when not receiving response of the one grade of server of a machine for the data synchronization request It is identified at connection failure, the connection failure mark characterizes the state that the first network connection status is connection failure.
In practice, after sending the data synchronization request, if not receiving one grade of a machine in preset waiting time The response signaling that server returns, alternatively, according to the display when cannot get one grade of server response of machine of one grade of client of a machine HTTP type 404 information when, then can determine with one grade of a machine service network connection failure, generate connection failure mark To characterize first network connection status as the state of connection failure.
It optionally, can be with when not receiving one grade of server of a machine and being directed to the response of the data synchronization request Step 5021 is repeated to step 5022, if the number for repeating step 5021 to step 5022 reaches preset times, Generate the connection failure mark.For example, not obtaining the sound of one grade of server of machine after first time issues data synchronization request It answers, then issues data synchronization request again, if still to obtain the response of one grade of server of machine, then to carry out third time data same The transmission of request is walked, if still generating connection failure mark to obtain the response of one grade of server of machine.
Correspondingly, step 504 may comprise steps of:
Step 5041, network connecting request periodically is sent to one grade of server of a machine.
In the present embodiment, one grade of a machine server can send network connection to one grade of server of a machine by periodicity and ask It asks, with determining the second network connection state with one grade of server of a machine.Wherein, network connecting request can be but not limited to Ping request.
Step 5042, record is from the network connecting request is sent to receiving one grade of server of a machine for described The duration for the network packet that network connecting request returns.
When sending network connecting request every time, then it can recorde the time for sending network connecting request, and, it is receiving When being directed to the network packet that the secondary network connecting request returns to one grade of server of a machine, it can recorde and receive network data The time of data packet, according to the time of the transmission network connecting request of record and record receive network data packet when Between, calculate the time difference, by the time difference be determined as sending the network connecting request to receive the network packet when It is long.
Step 5043, in the case where the duration is less than preset duration threshold value, the connection failure is identified and is updated For successful connection mark, the successful connection mark characterizes the state that second network connection state is successful connection.
When it is implemented, can be according to the transmission network connecting request to the duration for receiving the network packet, really Specifically preset duration can be set in the quality condition of network between fixed one grade of server of one grade of client of a machine and a machine Threshold value can indicate that network is unobstructed in the case where the duration is less than preset duration threshold value, be more than preset duration in the duration In the case where threshold value, network blockage can be indicated.
Optionally, in present embodiment, the flat of each duration can also be determined after determining repeatedly transmission network connection It is unobstructed can to identify network in the case where average duration is less than preset duration threshold value for equal duration.
Optionally, preset duration threshold value can be set to 2000ms, when duration is more than 2000ms, then it is assumed that network blockage Seriously, data information synchronous the problem of time-consuming, even loss may be led to because network is obstructed if synchrodata information.
The present embodiment can will connect when the network between one grade of server of one grade of client of a machine and a machine is unobstructed Failure mark is updated to successful connection mark, and then one grade of client of a machine is identified according to the successful connection, determination and a machine one Network between shelves server is unobstructed, and it is synchronous can to carry out subsequent data information.
By adopting the above technical scheme, due to can periodically confirm transmission network connecting request and receive network data Duration between packet, when duration is less than preset duration threshold value, the network connection between determining and one grade of server of a machine is logical Freely, synchrodata information in this case, and then the synchronous efficiency of data information can be improved, it avoids making because of network congestion At synchronization time-consuming, loss of data the problem of.
In conjunction with above embodiments, in one embodiment, except including above-mentioned steps 501 to step 507, can also include Following steps:
Step 503 ', in the case where determining the first network connection status is the state of successful connection, by the number It is believed that breath is synchronized to one grade of server of a machine.
Step 504 ', when receive one grade of server of machine return first synchronizes successfully signaling, at described It is that the major key mark addition has sent label, and the data information is removed from local file in ground database.
In present embodiment, after data cached information to local file, it can be synchronized to one grade of server request of a machine Data information, if requesting successfully, then it represents that it is normal with the network connection of one grade of server of machine, then the data of caching can be believed Breath is synchronized to one grade of server of a machine.After one grade of server of a machine has received data information, first can be returned and synchronize success Signaling, then one grade of client of a machine can synchronize successfully signaling according to first, will be labeled as in the major key of local data base It has been sent that, and delete data information from local file.In practice, successful label can be sent by identifying addition for major key It has successfully been sent to one grade of server of a machine to identify data information belonging to major key mark.
By adopting the above technical scheme, due to deleting data from local file when receiving first and synchronizing successfully signaling Information can occupy spatial cache to avoid data information, to improve the operational efficiency of one grade of client of machine.
In conjunction with above embodiments, in one embodiment, step 501 can be following steps:
Step 501 ', multiple field datas of acquisition are converted into data information according to user-defined format, by the data Information cache into local file, and by the major key mark, it is described storage path and the user-defined format format identification (FID) It saves in the database.
It in practice, may include name information, the failure letter of the monitoring device for the data information of a monitoring device The format of the much informations such as breath, installation site information, status information, network identification information, each information can be different, because This, the information of each type can be acquired with field data, can be according to certainly after collecting multiple field datas Multiple field datas are integrated into data information by definition format, and data information is saved in local file to facilitate, to avoid When inconsistent because of the format of field data, to cache field data needs be retained separately and caused by inefficiency the problem of.
Illustratively, the multiple field datas for collecting monitoring device are respectively as follows: DeviceID-0021, cloudid- 12548214, Address-- Haidian District, Beijing Cities, (picture of the video camera can be JPG to the picture of FilePath- video camera Format), wherein DeviceID indicates field, and 0021 is the data of the field, and DeviceID-0021 is just known as field data, Above-mentioned field data can be converted into data information according to user-defined format, for example, can will be between every two field data Customized newline is added, by multiple field data integrated data information, to facilitate field data with document form It is cached to local file, and the format identification (FID) of the customized newline is saved in the local database.
Correspondingly, step 507 can specifically include following steps:
Step 5071, the format identification (FID) is obtained from the local data base, by the data information according to the lattice Formula identifies corresponding user-defined format and is reduced into the multiple field data.
Step 5072, the multiple field data is synchronized to one grade of server of a machine.
When needing synchrodata information, can will be obtained from local file according to the corresponding user-defined format of format identification (FID) The data information taken is reduced to field data, and field data is synchronized to one grade of server of a machine, so that one grade of server of a machine Directly field data can be written in the database of one grade of server of machine connection.
By adopting the above technical scheme, since the field data of acquisition is converted into data information according to user-defined format, and Data information is buffered in local file, allows one grade of client of a machine by a variety of of a collected monitoring device Different types of information is converted to data information, and then improves the preservation efficiency of field data, due in synchrodata information When, data information can be reduced to field data and synchronized, so that one grade of server of a machine received is multiple fields Data, and then one grade of server of a machine is improved by the efficiency of field data write-in database.
In conjunction with above embodiments, in one embodiment, except including above-mentioned steps 501 to step 507, can also include Following steps:
Step 508, when receive one grade of server of machine return second synchronizes successfully signaling, by the major key Mark is removed from the data queue to be synchronized, and is that the major key mark addition has sent mark in the local data base Note, and, the data information is removed from local file.
The process of this step 508 and step 504 ' process it is similar, details are not described herein.
By adopting the above technical scheme, due to when receiving second and synchronizing successfully signaling, from the data queue to be synchronized Removing major key mark indicates that corresponding data information has synchronously completed to characterize the major key, and data letter is deleted from local file Breath can occupy spatial cache to avoid data information, to improve the operational efficiency of one grade of client of machine.
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.
With reference to Fig. 6, show the data synchronization unit of the embodiment of the present invention, be applied to one grade of client of a machine, described one One grade of client of machine is connect with one grade of server communication of a machine, and the apparatus may include with lower module:
Data storage module, for collected data information to be cached in local file, and by the data information Major key mark and the data information local file storage path save in the local database;
First connection status determining module connects shape for the first network between determining and described one grade of server of a machine State;
Data markers module, for determine the first network connection status be connection failure state in the case where, Major key mark is stored in data queue to be synchronized;
Second connection status determining module, for the second network between periodically determining and described one grade of server of a machine Connection status;
Data markers obtain module, for determining the case where second network connection state is the state of successful connection Under, the major key mark is obtained from the data queue to be synchronized;
Data information obtains module, for obtaining the storage road from the local data base according to major key mark Diameter, and according to the storage path, the data information is obtained from the local file;
Data simultaneous module, for the data information to be synchronized to one grade of server of a machine.
Optionally, the first connection status determining module, can specifically include with lower unit:
Data synchronization request unit, for sending data synchronization request to one grade of server of a machine;
Network identity setting unit, for not receiving one grade of server of a machine for the data synchronization request Response when, generate connection failure mark, it is connection failure that connection failure mark, which characterizes the first network connection status, State;
The second connection status determining module, comprising:
It is periodically detected unit, for periodically sending network connecting request to one grade of server of a machine;
Duration recording unit, for recording from the network connecting request is sent to receiving one grade of server of a machine For the duration for the network packet that the network connecting request returns;
The network identity setting unit is also used in the case where the duration is less than preset duration threshold value, by institute It states connection failure mark and is updated to successful connection mark, it is to connect that the successful connection mark, which characterizes second network connection state, Connect successful state.
Optionally, the data simultaneous module is also used to determining that the first network connection status is successful connection In the case where state, the data information is synchronized to one grade of server of a machine;
Described device further include:
First data markers module, for synchronizing successfully signaling receive one grade of server of machine return first When, it is that the major key mark addition has sent label in the local data base;
First data dump module, for synchronizing successfully signaling receive one grade of server of machine return first When, the data information is deleted from the local file.
Optionally, the data storage module turns specifically for the multiple field datas that will be acquired according to user-defined format It changes data information into, the data information is cached in local file, and by major key mark, the storage path and institute The format identification (FID) for stating user-defined format saves in the database;
The data simultaneous module can specifically include with lower unit:
Format conversion unit presses the data information for obtaining the format identification (FID) from the local data base The field data is converted into according to the corresponding user-defined format of the format identification (FID);
Data transmission unit, for the field data to be synchronized to one grade of server of a machine.
Optionally, described device further includes with lower module:
Major key mark removes module, for synchronizing successfully signaling receive one grade of server of machine return second When, major key mark is removed from the data queue to be synchronized;
Second data markers module, for synchronizing successfully signaling receive one grade of server of machine return second When, it is that the major key mark addition has sent label in the local data base;
Second data dump module, for synchronizing successfully signaling receive one grade of server of machine return second When, the data information is deleted from the local file.
For data synchronization unit embodiment, since it is substantially similar to method of data synchronization embodiment, so retouching That states is fairly simple, and related place illustrates referring to the part of method of data synchronization embodiment.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, deposit Method of data synchronization described in the embodiment of the present invention is realized when the computer program of storage executes processor.
The embodiment of the invention also provides a kind of electronic equipment, comprising:
Memory, processor and storage on a memory and the computer program that can run on a processor, the processing Method of data synchronization described in inventive embodiments is realized when device executes.
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, a kind of data synchronization unit, a kind of computer-readable Storage medium and electronic equipment are described in detail, and specific case used herein is to the principle of the present invention and embodiment It is expounded, the above description of the embodiment is only used to help understand the method for the present invention and its core ideas;Meanwhile for Those of ordinary skill in the art have change according to the thought of the present invention in specific embodiments and applications Place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of method of data synchronization, which is characterized in that the method is applied to one grade of client of a machine, one grade of visitor of a machine Family end is connect with one grade of server communication of a machine;The described method includes:
Collected data information is cached in local file, and the major key of data information mark and the data are believed The storage path ceased in the local file saves in the local database;
The determining first network connection status between one grade of server of a machine;
In the case where determining the first network connection status is the state of connection failure, by major key mark deposit to same Step data queue;
The second network connection state between periodically determining and described one grade of server of a machine;
In the case where determining second network connection state is the state of successful connection, obtained from the data queue to be synchronized The major key is taken to identify;
The storage path is obtained from the local data base according to major key mark, and according to the storage path, from The data information is obtained in the local file;
The data information is synchronized to one grade of server of a machine.
2. the method according to claim 1, wherein the first net between determining and described one grade of server of a machine Network connection status, comprising:
Data synchronization request is sent to one grade of server of a machine;
When not receiving response of the one grade of server of a machine for the data synchronization request, connection failure mark is generated Know, the connection failure mark characterizes the state that the first network connection status is connection failure;
The second network connection state between periodically determining and described one grade of server of a machine, comprising:
Periodically network connecting request is sent to one grade of server of a machine;
Record is directed to the network connecting request from the transmission network connecting request to one grade of server of a machine is received The duration of the network packet of return;
In the case where the duration is less than preset duration threshold value, connection failure mark is updated to successful connection mark Know, the successful connection mark characterizes the state that second network connection state is successful connection.
3. the method according to claim 1, wherein the method also includes:
In the case where determining the first network connection status is the state of successful connection, the data information is synchronized to institute State one grade of server of a machine;
It is institute in the local data base when receive one grade of server of machine return first synchronizes successfully signaling It states major key mark addition and has sent label, and the data information is removed from the local file.
4. the method according to claim 1, wherein the data information of acquisition is cached in local file, and The storage path of the major key mark of the data information and the data information in the local file is stored in local number According in library, comprising:
Multiple field datas of acquisition are converted into data information according to user-defined format, the data information is cached to local In file, and the format identification (FID) of major key mark, the storage path and the user-defined format is stored in the local In database;
The data information is synchronized to one grade of server of a machine, comprising:
The format identification (FID) is obtained from the local data base, the data information is corresponding certainly according to the format identification (FID) Definition format is reduced into the multiple field data;
The multiple field data is synchronized to one grade of server of a machine.
5. the method according to claim 1, wherein the method also includes:
When receive that one grade of server of a machine returns second synchronizes successfully signaling, by major key mark from it is described to It is removed in synchrodata queue, and in the local data base is that the major key mark addition has sent label, and, by institute Data information is stated to remove from the local file.
6. a kind of data synchronization unit, which is characterized in that described device is applied to one grade of client of a machine, one grade of visitor of a machine Family end is connect with one grade of server communication of a machine;Described device includes:
Data storage module, for collected data information to be cached in local file, and by the master of the data information Key mark and the data information save in the local database in the storage path of local file;
First connection status determining module, for the first network connection status between determining and described one grade of server of a machine;
Data markers module, for determine the first network connection status be connection failure state in the case where, by institute It states major key mark and is stored in data queue to be synchronized;
Second connection status determining module, for the second network connection between periodically determining and described one grade of server of a machine State;
Data markers obtain module, for determine second network connection state be successful connection state in the case where, The major key mark is obtained from the data queue to be synchronized;
Data information obtains module, for obtaining the storage path from the local data base according to major key mark, And according to the storage path, the data information is obtained from the local file;
Data simultaneous module, for the data information to be synchronized to one grade of server of a machine.
7. device according to claim 6, which is characterized in that the first connection status determining module, comprising:
Data synchronization request unit, for sending data synchronization request to one grade of server of a machine;
Network identity setting unit, for not receiving one grade of server of a machine for the sound of the data synchronization request At once, connection failure mark is generated, the connection failure mark characterizes the shape that the first network connection status is connection failure State;
The second connection status determining module, comprising:
It is periodically detected unit, for periodically sending network connecting request to one grade of server of a machine;
Duration recording unit is directed to for recording from the transmission network connecting request to one grade of server of a machine is received The duration for the network packet that the network connecting request returns;
The network identity setting unit is also used in the case where the duration is less than preset duration threshold value, by the company It connects unsuccessfully mark and is updated to successful connection mark, it is to connect into that the successful connection mark, which characterizes second network connection state, The state of function.
8. device according to claim 6, which is characterized in that
The data simultaneous module is also used to determining the case where first network connection status is the state of successful connection Under, the data information is synchronized to one grade of server of a machine;
Described device further include:
Data markers module, when for synchronizing successfully signaling receive one grade of server of machine return first, in institute State in local data base is that the major key mark addition has sent label;
Data dump module, for when receiving described first and synchronizing successfully signaling, by the data information from the local It is removed in file.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor Method a method as claimed in any one of claims 1 to 5 is realized when row.
10. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor Machine program, which is characterized in that the processor realizes method a method as claimed in any one of claims 1 to 5 when executing.
CN201910626498.5A 2019-07-11 2019-07-11 Data synchronization method and device, readable storage medium and electronic equipment Active CN110489484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910626498.5A CN110489484B (en) 2019-07-11 2019-07-11 Data synchronization method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910626498.5A CN110489484B (en) 2019-07-11 2019-07-11 Data synchronization method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN110489484A true CN110489484A (en) 2019-11-22
CN110489484B CN110489484B (en) 2022-07-05

Family

ID=68546008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910626498.5A Active CN110489484B (en) 2019-07-11 2019-07-11 Data synchronization method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110489484B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177456A (en) * 2019-11-27 2020-05-19 视联动力信息技术股份有限公司 Method, device and equipment for parallel synchronization of data and storage medium
CN111756748A (en) * 2020-06-24 2020-10-09 中国建设银行股份有限公司 Data interaction method and device, electronic equipment and storage medium
CN111930841A (en) * 2020-08-07 2020-11-13 中国工商银行股份有限公司 Data synchronization method and device
CN112434034A (en) * 2020-11-20 2021-03-02 南京国通智能科技有限公司 Page table single data storage processing method and device
CN112492001A (en) * 2020-11-18 2021-03-12 深圳市商汤科技有限公司 Data transmission method, device and equipment and computer storage medium
CN112650807A (en) * 2021-01-04 2021-04-13 成都知道创宇信息技术有限公司 Data storage management method and device, electronic equipment and readable storage medium
CN112752123A (en) * 2020-12-28 2021-05-04 上海哔哩哔哩科技有限公司 Network quality evaluation method and device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034261A (en) * 2015-03-17 2016-10-19 北京视联动力国际信息技术有限公司 Visual networking service processing method and apparatus thereof
CN106293527A (en) * 2016-08-05 2017-01-04 成都佳荣科技有限公司 Data-storage system
CN106547746A (en) * 2015-09-16 2017-03-29 北京国双科技有限公司 The method and device of data is activation
CN106973074A (en) * 2016-01-13 2017-07-21 腾讯科技(深圳)有限公司 A kind of data processing method, apparatus and system
CN107330031A (en) * 2017-06-26 2017-11-07 广州华多网络科技有限公司 A kind of method of data storage, device and electronic equipment
CN107786623A (en) * 2016-09-20 2018-03-09 平安科技(深圳)有限公司 Message asynchronous processing method and device
CN108038127A (en) * 2017-11-08 2018-05-15 中国平安人寿保险股份有限公司 A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN108833591A (en) * 2018-07-13 2018-11-16 广州虎牙信息科技有限公司 Method, electronic equipment, device, the network architecture of P2P data transmission in network
CN108900907A (en) * 2018-07-13 2018-11-27 广州虎牙信息科技有限公司 Encapsulated data packet method and device, electronic equipment, medium
CN109284265A (en) * 2018-09-05 2019-01-29 视联动力信息技术股份有限公司 A kind of date storage method and system
KR20190010007A (en) * 2017-07-20 2019-01-30 주식회사 엠투엠비전 IoT GATEWAY, MANAGEMENT SERVER AND USER TERMINAL, AND IoT ACCESS MANAGEMENT SYSTEM COMPRISING THE SAME
CN109561137A (en) * 2018-11-14 2019-04-02 广州虎牙信息科技有限公司 Establish method, apparatus, terminal device and the medium of P2P network
CN109861929A (en) * 2018-12-26 2019-06-07 视联动力信息技术股份有限公司 A kind of method and apparatus of data buffer storage processing

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034261A (en) * 2015-03-17 2016-10-19 北京视联动力国际信息技术有限公司 Visual networking service processing method and apparatus thereof
CN106547746A (en) * 2015-09-16 2017-03-29 北京国双科技有限公司 The method and device of data is activation
CN106973074A (en) * 2016-01-13 2017-07-21 腾讯科技(深圳)有限公司 A kind of data processing method, apparatus and system
CN106293527A (en) * 2016-08-05 2017-01-04 成都佳荣科技有限公司 Data-storage system
CN107786623A (en) * 2016-09-20 2018-03-09 平安科技(深圳)有限公司 Message asynchronous processing method and device
CN107330031A (en) * 2017-06-26 2017-11-07 广州华多网络科技有限公司 A kind of method of data storage, device and electronic equipment
KR20190010007A (en) * 2017-07-20 2019-01-30 주식회사 엠투엠비전 IoT GATEWAY, MANAGEMENT SERVER AND USER TERMINAL, AND IoT ACCESS MANAGEMENT SYSTEM COMPRISING THE SAME
CN108038127A (en) * 2017-11-08 2018-05-15 中国平安人寿保险股份有限公司 A kind of method, apparatus, terminal device and the storage medium of data synchronization
CN108900907A (en) * 2018-07-13 2018-11-27 广州虎牙信息科技有限公司 Encapsulated data packet method and device, electronic equipment, medium
CN108833591A (en) * 2018-07-13 2018-11-16 广州虎牙信息科技有限公司 Method, electronic equipment, device, the network architecture of P2P data transmission in network
CN109284265A (en) * 2018-09-05 2019-01-29 视联动力信息技术股份有限公司 A kind of date storage method and system
CN109561137A (en) * 2018-11-14 2019-04-02 广州虎牙信息科技有限公司 Establish method, apparatus, terminal device and the medium of P2P network
CN109861929A (en) * 2018-12-26 2019-06-07 视联动力信息技术股份有限公司 A kind of method and apparatus of data buffer storage processing

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李殿坤: "基于视联网的高清视频互动科普平台监控协转服务器设计与研究", 《广播电视网络》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177456A (en) * 2019-11-27 2020-05-19 视联动力信息技术股份有限公司 Method, device and equipment for parallel synchronization of data and storage medium
CN111177456B (en) * 2019-11-27 2022-12-23 视联动力信息技术股份有限公司 Method, device and equipment for parallel synchronization of data and storage medium
CN111756748A (en) * 2020-06-24 2020-10-09 中国建设银行股份有限公司 Data interaction method and device, electronic equipment and storage medium
CN111756748B (en) * 2020-06-24 2022-11-15 中国建设银行股份有限公司 Data interaction method and device, electronic equipment and storage medium
CN111930841A (en) * 2020-08-07 2020-11-13 中国工商银行股份有限公司 Data synchronization method and device
CN112492001A (en) * 2020-11-18 2021-03-12 深圳市商汤科技有限公司 Data transmission method, device and equipment and computer storage medium
CN112434034A (en) * 2020-11-20 2021-03-02 南京国通智能科技有限公司 Page table single data storage processing method and device
CN112752123A (en) * 2020-12-28 2021-05-04 上海哔哩哔哩科技有限公司 Network quality evaluation method and device
CN112752123B (en) * 2020-12-28 2022-03-25 上海哔哩哔哩科技有限公司 Network quality evaluation method and device
CN112650807A (en) * 2021-01-04 2021-04-13 成都知道创宇信息技术有限公司 Data storage management method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN110489484B (en) 2022-07-05

Similar Documents

Publication Publication Date Title
CN108234816B (en) The method and device of resource information real-time synchronization is monitored between a kind of monitoring device
CN108075920B (en) A kind of management method and system regarding networked terminals
CN110489484A (en) Method of data synchronization, device, readable storage medium storing program for executing and electronic equipment
CN109672856A (en) Resource synchronization method and device
CN110121059A (en) Monitor video processing method, device and storage medium
CN109617956A (en) A kind of data processing method and device
CN109634988A (en) A kind of monitoring polling method and device
CN108234178B (en) A kind of method and apparatus being managed collectively menu file
CN108234922B (en) A kind of recorded broadcast method and device
CN110113566A (en) A kind of method and apparatus that video flowing is transferred
CN109218093A (en) A kind of method and system obtaining alarm
CN109788247A (en) A kind of method and apparatus monitoring instruction identification
CN109284265A (en) A kind of date storage method and system
CN109246135A (en) A kind of acquisition methods and system of stream medium data
CN110475100A (en) A kind of method and device of monitoring management
CN110224988A (en) A kind of processing method of image data, system and device and storage medium
CN110139124A (en) A kind for the treatment of method and apparatus that monitoring is recorded
CN109768957A (en) A kind of processing method and system of monitoring data
CN109889775A (en) A kind of method and apparatus of data timeout treatment
CN109803119A (en) A kind of method and apparatus of monitoring information transmission
CN109544879A (en) A kind of processing method and system of alert data
CN110134892A (en) A kind of loading method and system monitoring the Resources list
CN110196839A (en) A kind of shared file method and apparatus based on view networking
CN110166742A (en) Video distribution method and apparatus based on view networking
CN110109823A (en) A kind of application program repairing method and device

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