[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN110489484B - Data synchronization method and device, readable storage medium and electronic equipment - Google Patents

Data synchronization method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN110489484B
CN110489484B CN201910626498.5A CN201910626498A CN110489484B CN 110489484 B CN110489484 B CN 110489484B CN 201910626498 A CN201910626498 A CN 201910626498A CN 110489484 B CN110489484 B CN 110489484B
Authority
CN
China
Prior art keywords
machine
data
data information
file
file server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910626498.5A
Other languages
Chinese (zh)
Other versions
CN110489484A (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

Images

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)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a data synchronization method, a device, electronic equipment and a readable storage medium, wherein the method applies a one-machine one-file client which is in communication connection with a one-machine one-file server, and comprises the following steps: caching the collected data information into a local file, and storing the main key identification of the data information and the storage path of the data information in the local file in a local database; storing the primary key identification into a data queue to be synchronized under the condition that the first network connection state between the primary key identification and a one-machine one-file server is connection failure; periodically determining a second network connection state between the server and a machine-file server; under the condition that the second network connection state is successful, acquiring a primary key identifier from a data queue to be synchronized; acquiring a storage path according to the primary key identification, and acquiring data information from a local file according to the storage path; and synchronizing the data information to the one-machine one-file server. The data information is not lost and is automatically synchronized according to the network state.

Description

Data synchronization method and device, readable storage medium and electronic equipment
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data synchronization method, a data synchronization apparatus, a readable storage medium, and an electronic device.
Background
One file is used for collecting monitored file information in a video network, more than 40 kinds of field information are defined according to the standard of a public security platform, and the field information mainly comprises a monitoring name, a manufacturer, a model, operation and maintenance contacts, a region, a manager, an installation position and the like. An operator uses the one-machine one-file APP client to input the monitored one-machine one-file information, the input information is submitted to the background service after being completed, and the background service provides data for each platform needing to monitor the one-machine one-file information.
Because the APP client and the server are separated, and the network environment between the APP client and the server is unknown, under the condition, when the client inputs the information of one machine and one file and submits the information to the server for storage in real time, the data are lost due to the fact that the storage is often unsuccessful, and the user experience is very poor.
Disclosure of Invention
In view of the above problems, embodiments of the present invention are provided to provide a data synchronization method, a data synchronization apparatus, an electronic device, and a computer-readable storage medium that overcome or at least partially solve the above problems.
In a first aspect of the embodiments of the present invention, a data synchronization method is provided, where the method is applied to a one-machine one-file client, and the one-machine one-file client is in communication connection with a one-machine one-file server; the method comprises the following steps:
caching the collected data information into a local file, and storing a main key identifier of the data information and a storage path of the data information in the local file in a local database;
determining a first network connection state between the server and the one-machine one-file server;
storing the primary key identification into a data queue to be synchronized under the condition that the first network connection state is determined to be a connection failure state;
periodically determining a second network connection state between the first-file server and the first-file server;
under the condition that the second network connection state is determined to be a successful connection state, acquiring the primary key identification from the data queue to be synchronized;
acquiring the storage path from the local database according to the primary key identifier, and acquiring the data information from the local file according to the storage path;
and synchronizing the data information to the one-machine one-file server.
Optionally, determining a first network connection status with the first-file server comprises:
sending a data synchronization request to the one-machine one-file server;
when a response of the one-machine one-file server to the data synchronization request is not received, generating a connection failure identifier, wherein the connection failure identifier represents that the first network connection state is a connection failure state;
periodically determining a second network connection status with the one-machine one-file server, comprising:
periodically sending a network connection request to the one-machine one-file server;
recording the time length from the time when the network connection request is sent to the time when the network data packet returned by the one-machine one-file server aiming at the network connection request is received;
and under the condition that the time length does not exceed a preset time length threshold value, updating the connection failure identifier into a connection success identifier, wherein the connection success identifier represents that the second network connection state is a connection success state.
Optionally, the method further comprises:
under the condition that the first network connection state is determined to be a successful connection state, synchronizing the data information to the one-machine one-file server;
and when a first synchronization success signaling returned by the one-machine one-file server is received, adding a sent mark for the primary key identification in the local database, and removing the data information from the local file.
Optionally, caching the collected data information in a local file, and storing the primary key identifier of the data information and the storage path of the data information in the local file in a local database, including:
converting the collected field data into data information according to a custom format, caching the data information into a local file, and storing the main key identification, the storage path and the format identification of the custom format in the local database;
synchronizing the data message to the one-machine one-file server, comprising:
acquiring the format identifier from the local database, and restoring the data information into the plurality of field data according to a user-defined format corresponding to the format identifier;
synchronizing the plurality of field data to the one-machine one-file server.
Optionally, the method further comprises:
and when a second synchronization success signaling returned by the one-machine one-file server is received, clearing the primary key identification from the data queue to be synchronized, adding a sent mark for the primary key identification in the local database, and clearing the data information from the local file.
In a second aspect of the embodiments of the present invention, a data synchronization apparatus is provided, where the apparatus is applied to a one-machine one-file client, and the one-machine one-file client is in communication connection with a one-machine one-file server; the device comprises:
the data storage module is used for caching the acquired data information into a local file and storing the primary key identification of the data information and the storage path of the data information in the local file into a local database;
the first connection state determining module is used for determining a first network connection state between the first connection state determining module and the one-machine one-file server;
the data marking module is used for storing the primary key identification into a data queue to be synchronized under the condition that the first network connection state is determined to be a connection failure state;
the second connection state determining module is used for periodically determining a second network connection state between the first network connection state and the first-file server;
a data mark obtaining module, configured to obtain the primary key identifier from the to-be-synchronized data queue when it is determined that the second network connection state is a connection successful state;
the data information acquisition module is used for acquiring the storage path from the local database according to the primary key identifier and acquiring the data information from the local file according to the storage path;
and the data synchronization module is used for synchronizing the data information to the one-machine one-file server.
Optionally, the first connection status determining module includes:
the data synchronization request unit is used for sending a data synchronization request to the one-machine one-file server;
a network identifier setting unit, configured to generate a connection failure identifier when a response to the data synchronization request from the one-machine one-file server is not received, where the connection failure identifier represents that the first network connection state is a connection failure state;
the second connection state determination module includes:
the periodic detection unit is used for periodically sending a network connection request to the one-machine one-file server;
the time length recording unit is used for recording the time length from the time when the network connection request is sent to the time when the network data packet returned by the one-machine one-file server aiming at the network connection request is received;
the network identifier setting unit is further configured to update the connection failure identifier to a connection success identifier when the duration does not exceed a preset duration threshold, where the connection success identifier represents that the second network connection state is a connection success state.
Optionally, the data synchronization module is further configured to synchronize the data information to the one-machine one-file server when it is determined that the first network connection state is a connection successful state;
the device further comprises:
a data marking module, configured to add a sent mark to the primary key identifier in the local database when receiving a first synchronization success signaling returned by the one-machine one-file server;
and the data clearing module is used for clearing the data information from the local file when the first synchronization success signaling is received.
In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements the data synchronization method.
In a fourth aspect of the embodiments of the present invention, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the data synchronization method is implemented.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the acquired data information is cached to a local file, the cached data information in the local file is synchronized to a one-machine one-file server under the condition of successful connection, the network connection state is periodically detected under the condition of unsuccessful connection, and the cached data information in the local file is synchronized to the one-machine one-file server under the condition of successful connection. The acquired data information is backed up first, so that the data information is ensured not to be lost; the backup data information can be sent to the server when the connection is successful, so that a user can automatically synchronize according to the network state by the one-machine one-file client after inputting the data information and submitting the data information to the one-machine one-file server, and the efficiency of synchronizing the data information is improved.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
FIG. 5 is a flow chart of the steps of a method of data synchronization according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data synchronization apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network Technology (Network Technology)
Network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 according to the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
reserved bytes consist of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the characteristics of the video network, one of the concepts for solving the technical problems is conceived, the one-machine one-file client caches the acquired data information to a local file, then requests the one-machine one-file server for synchronizing the data information, delays and synchronizes the data information if the network connection with the one-machine one-file server is not successful, and synchronizes the data information to the one-machine one-file server when the network connection is smooth.
In order to make the technical solutions of the present disclosure better understood, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
Fig. 5 is a flowchart illustrating a data synchronization method according to an exemplary embodiment, and as shown in fig. 5, the method may be applied to a one-machine-one-file client communicatively connected to a one-machine-one-file server, where the one-machine-one-file client and the one-machine-one-file server may both be in a video network, and the one-machine-one-file client may communicate with the one-machine-one-file server using a video network protocol.
The data synchronization method described in this embodiment may include the following steps:
in step 501, the collected data information is cached in a local file, and the primary key identifier of the data information and the storage path of the data information in the local file are stored in a local database.
In this embodiment, the one-machine one-file client may be installed on a smart phone, a computer, and a tablet computer, and the acquired data information may be entered by a user on the one-machine one-file client, where the entry mode may be, but is not limited to, the following mode: keyboard entry, code scanning entry, voice entry, and the like. The code scanning entry can be a two-dimensional code scanning or a bar code scanning and the like. The local database may be a database that is self-contained in a one-file client, and may be, but is not limited to, the following databases: lightweight SQLite database.
In practice, after the data information is collected, the data information may be cached in a local file, where the local file may be, but is not limited to, a file on a storage unit on a device on which a one-file client is installed, and the storage unit may be a system memory or a hard disk on the device. After the data information is cached in the local file, the primary key identifier of the data information and the storage path in the local file can be stored in the local database. The primary key identifier may be understood as an identifier that uniquely identifies the acquired data information, and may be a serial number or an identification code of the monitoring device.
In this embodiment, the data information is cached in the local file, and the primary key identifier and the storage path of the data information are stored in the local database, so that the data information and the information identifier for identifying the data information are separately stored. On one hand, the amount of information written into the local database is small, and the writing speed is improved. On the other hand, the data information is cached locally, the storage speed of the data information can be improved, the data information is stored more quickly, and the problem that long time is consumed when the data information is written into a local database is solved.
In step 502, a first network connection status with the one-machine-one-file server is determined.
In step 503, in the case that it is determined that the first network connection status is a connection failure status, storing the primary key identifier into a to-be-synchronized data queue.
In this embodiment, when a server with one file is not connected, the primary key identifier of the data information may be added to the data queue to be synchronized, so as to identify that the data information corresponding to the primary key identifier needs to be synchronized in a delayed manner. The main key identification for identifying the data information is stored in the data queue to be synchronized, so that the size of the data quantity stored in the data queue to be synchronized can be greatly reduced, the background operation load of the one-machine one-file client is reduced, and the normal operation of other services of the one-machine one-file client is ensured.
In step 504, a second network connection status with the one-machine one-file server is periodically determined.
In this embodiment, the one-machine one-file client may periodically determine whether to connect to the one-machine one-file server, where the periodic determination may be to determine whether to connect to the one-machine one-file server every preset time, where the preset time may be set according to actual needs, and when it is determined that it is possible to connect to the one-machine one-file server, it indicates that data information may be synchronized, step 505 is performed.
In step 505, in case that it is determined that the second network connection status is a connection successful status, the primary key identifier is obtained from the data queue to be synchronized.
In step 506, the storage path is obtained from the local database according to the primary key identifier, and the data information is obtained from the local file according to the storage path.
When the data information can be synchronized, the data information to be synchronized in the local file is synchronized to a one-machine one-file server. Specifically, the primary key identifier may be obtained from the data queue to be synchronized, and since the primary key identifier uniquely identifies the data information, a storage path corresponding to the primary key identifier may be searched from the local database, and the cached data information may be obtained from the local file according to the storage path.
In step 507, the data information is synchronized to the one-machine one-file server.
In practice, after the data information is synchronized to a one-machine one-file server, the acquired data information is uploaded to the video network, so that other users or managers can browse the data information in the video network.
In practice, a one-machine one-file client may collect multiple pieces of data information, and when multiple pieces of data information are collected, each piece of data information may be synchronized to a one-machine one-file server according to the flow from step 501 to step 507.
According to the embodiment of the invention, the one-machine one-file client can cache the acquired data information to a local file, the main key identification and the storage path of the data information are stored in the local database, then when the data information is synchronized to the one-machine one-file server, if the network connection fails, the main key identification is added to the data queue to be synchronized, the network connection condition with the one-machine one-file server is periodically confirmed, if the data information can be connected to the one-machine one-file server, the storage path is searched from the local database according to the main key identification in the data queue to be synchronized, the data information is obtained from the local file according to the storage path, and the data information is synchronized to the one-machine one-file server.
By adopting the embodiment of the invention, the acquired data information is cached in advance, so that the data information is ensured not to be lost under the condition of network connection failure with the one-machine one-file server, and meanwhile, the cached data information is synchronized when the connection with the one-machine one-file server is confirmed, so that the data information can be automatically synchronized to the one-machine one-file server when the network connection is ensured, and the flexibility of data information synchronization is improved.
In combination with the above embodiments, in an implementation, the step 502 may include the following steps:
step 5021, a data synchronization request is sent to the one-machine one-file server.
In this embodiment, after the data information is cached, a request for synchronizing the data information may be made to the one-machine one-file server, specifically, a data synchronization request of an http protocol may be sent to the one-machine one-file server to request for synchronizing the data information, and the data synchronization request may be initiated by a user after the data information is entered.
Step 5022, when a response of the one-machine one-file server to the data synchronization request is not received, a connection failure identifier is generated, and the connection failure identifier represents that the first network connection state is a connection failure state.
In practice, after the data synchronization request is sent, if a response signaling returned by the one-machine one-file server is not received in a preset waiting time period, or according to the information 404 of the HTTP type displayed when the one-machine one-file client cannot obtain the response of the one-machine one-file server, it may be determined that the network connection with the one-machine one-file service fails, and a connection failure identifier is generated to represent that the first network connection state is the connection failure state.
Optionally, when a response of the one-machine one-file server to the data synchronization request is not received, steps 5021 to 5022 may be repeatedly executed, and if the number of times of repeatedly executing steps 5021 to 5022 reaches a preset number, the connection failure identifier is generated. For example, after a data synchronization request is sent for the first time, if a response of a one-machine one-file server is not obtained, the data synchronization request is sent again, if the response of the one-machine one-file server is still obtained, the data synchronization request is sent for the third time, and if the response of the one-machine one-file server is still obtained, a connection failure identifier is generated.
Accordingly, step 504 may include the steps of:
step 5041, periodically sending a network connection request to the one-machine one-file server.
In this embodiment, the one-machine one-file server may determine the second network connection status with the one-machine one-file server by periodically sending a network connection request to the one-machine one-file server. Wherein the network connection request may be, but is not limited to, a Ping request.
Step 5042, record the duration from sending the network connection request to receiving the network data packet returned by the one-machine one-file server for the network connection request.
The time for sending the network connection request can be recorded when the network connection request is sent every time, the time for receiving the network data packet can be recorded when the network data packet returned by a machine-file server aiming at the network connection request is received, the time difference is calculated according to the recorded time for sending the network connection request and the recorded time for receiving the network data packet, and the time difference is determined as the time length from the time for sending the network connection request to the time for receiving the network data packet.
Step 5043, when the duration does not exceed the preset duration threshold, updating the connection failure flag to a connection success flag, where the connection success flag represents that the second network connection state is a connection success state.
In specific implementation, the quality condition of the network between the one-machine one-file client and the one-machine one-file server can be determined according to the time length from the sending of the network connection request to the receiving of the network data packet, specifically, a preset time length threshold value can be set, when the time length does not exceed the preset time length threshold value, the unobstructed network can be represented, and when the time length exceeds the preset time length threshold value, the blocked network can be represented.
Optionally, in this embodiment, after determining to send the network connection for multiple times, the average duration of the duration of each time may be determined, and when the average duration does not exceed the preset duration threshold, it may be identified that the network is unobstructed.
Optionally, the preset time threshold may be set to 2000ms, when the time exceeds 2000ms, it is considered that the network is blocked seriously, and if the data information is synchronized, the data information synchronization may consume time and even be lost due to the unsmooth network.
In this embodiment, when the network between the one-machine one-file client and the one-machine one-file server is unobstructed, the connection failure identifier can be updated to the connection success identifier, and then the one-machine one-file client determines that the network between the one-machine one-file client and the one-machine one-file server is unobstructed according to the connection success identifier, so that subsequent data information synchronization can be performed.
By adopting the technical scheme, the time length between the sending of the network connection request and the receiving of the network data packet can be periodically confirmed, and when the time length does not exceed the preset time length threshold value, the smooth network connection with the one-machine one-file server is determined, so that the data information is synchronized, the synchronization efficiency of the data information can be improved, and the problems of synchronization time consumption and data loss caused by network congestion are solved.
With reference to the above embodiment, in an implementation manner, in addition to the steps 501 to 507, the following steps may be further included:
step 503', in case that it is determined that the first network connection status is a connection successful status, synchronizing the data information to the one-machine one-file server.
Step 504', when receiving a first synchronization success signaling returned by the one-machine one-file server, adding a sent mark for the primary key identifier in the local database, and removing the data information from a local file.
In this embodiment, after caching the data information to the local file, the one-machine one-file server may be requested to synchronize the data information, and if the request is successful, it indicates that the network connection with the one-machine one-file server is normal, the cached data information may be synchronized to the one-machine one-file server. After the one-machine one-file server receives the data information, the first synchronization success signaling can be returned, and the one-machine one-file client can mark the main key identifier in the local database as sent according to the first synchronization success signaling and delete the data information from the local file. In practice, a tag which is successfully sent can be added to the primary key identifier to identify that the data information to which the primary key identifier belongs has been successfully sent to a one-machine one-file server.
By adopting the technical scheme, when the first synchronization success signaling is received, the data information is deleted from the local file, so that the data information can be prevented from occupying the cache space, and the operating efficiency of the one-machine one-file client is improved.
In combination with the above embodiments, in one implementation, the step 501 may be the following steps:
step 501', converting the collected multiple field data into data information according to a custom format, caching the data information into a local file, and storing the primary key identifier, the storage path and the format identifier of the custom format in the database.
In practice, the data information of a monitoring device may include multiple information such as name information, fault information, installation location information, status information, network identification information, and the like of the monitoring device, and formats of each information may be different, so that each type of information may be collected as field data, and after collecting multiple field data, the multiple field data may be integrated into the data information according to a custom format, so as to facilitate storing the data information in a local file, thereby avoiding a problem of low efficiency caused by separate storing of the field data to be cached when the formats of the field data are inconsistent.
Illustratively, the plurality of field data collected from the monitoring device are: the device id-0021, clouded-12548214, Address-beijing haiji district, FilePath-camera picture (picture of the camera can be in JPG format), wherein, the device id represents field, 0021 is data of the field, the device id-0021 is field data, the field data can be converted into data information according to custom format, for example, custom linefeed character can be added between every two field data to integrate a plurality of field data into data information, thereby facilitating to cache the field data to local file in file form and save format identification of the custom linefeed character in local database.
Correspondingly, step 507 may specifically include the following steps:
step 5071, obtaining the format identifier from the local database, and restoring the data information into the plurality of field data according to a custom format corresponding to the format identifier.
Step 5072, synchronizing the plurality of field data to the one-machine one-file server.
When the data information needs to be synchronized, the data information acquired from the local file can be restored into field data according to the custom format corresponding to the format identifier, and the field data is synchronized to the one-machine one-file server, so that the one-machine one-file server can directly write the field data into a database connected with the one-machine one-file server.
By adopting the technical scheme, the collected field data is converted into the data information according to the custom format, and the data information is cached in the local file, so that the one-machine one-file client can convert the collected information of various different types of the monitoring equipment into the data information, and further the storage efficiency of the field data is improved.
With reference to the above embodiment, in an implementation manner, in addition to the steps 501 to 507, the following steps may be further included:
step 508, when receiving a second synchronization success signaling returned by the one-machine one-file server, removing the primary key identifier from the data queue to be synchronized, adding a sent mark to the primary key identifier in the local database, and removing the data information from the local file.
The process of step 508 is similar to that of step 504', and is not described again.
By adopting the technical scheme, when the second synchronization success signaling is received, the main key identification is cleared from the data queue to be synchronized to represent that the main key represents that the corresponding data information is synchronized, and the data information is deleted from the local file, so that the data information can be prevented from occupying the cache space, and the operating efficiency of the one-machine one-file client is improved.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 6, a data synchronization apparatus according to an embodiment of the present invention is shown, which is applied to a file-by-file client communicatively connected to a file-by-file server, and the apparatus may include the following modules:
the data storage module is used for caching the acquired data information into a local file and storing the primary key identification of the data information and the storage path of the data information in the local file into a local database;
the first connection state determining module is used for determining a first network connection state between the first connection state determining module and the one-machine one-file server;
the data marking module is used for storing the primary key identification into a to-be-synchronized data queue under the condition that the first network connection state is determined to be a connection failure state;
the second connection state determining module is used for periodically determining a second network connection state between the first network connection state and the first-file server;
a data mark obtaining module, configured to obtain the primary key identifier from the to-be-synchronized data queue when it is determined that the second network connection state is a connection successful state;
the data information acquisition module is used for acquiring the storage path from the local database according to the primary key identifier and acquiring the data information from the local file according to the storage path;
and the data synchronization module is used for synchronizing the data information to the one-machine one-file server.
Optionally, the first connection state determining module may specifically include the following units:
the data synchronization request unit is used for sending a data synchronization request to the one-machine one-file server;
a network identifier setting unit, configured to generate a connection failure identifier when a response to the data synchronization request from the one-machine one-file server is not received, where the connection failure identifier represents that the first network connection state is a connection failure state;
the second connection state determination module includes:
the periodic detection unit is used for periodically sending a network connection request to the one-machine one-file server;
the time length recording unit is used for recording the time length from the time when the network connection request is sent to the time when the network data packet returned by the one-machine one-file server aiming at the network connection request is received;
the network identifier setting unit is further configured to update the connection failure identifier to a connection success identifier when the duration does not exceed a preset duration threshold, where the connection success identifier represents that the second network connection state is a connection success state.
Optionally, the data synchronization module is further configured to synchronize the data information to the one-machine one-file server when it is determined that the first network connection state is a connection successful state;
the device further comprises:
a first data marking module, configured to add a sent mark to the primary key identifier in the local database when receiving a first synchronization success signaling returned by the one-machine one-file server;
and the first data clearing module is used for deleting the data information from the local file when receiving a first synchronization success signaling returned by the one-machine one-file server.
Optionally, the data storage module is specifically configured to convert the collected multiple field data into data information according to a custom format, cache the data information in a local file, and store the primary key identifier, the storage path, and the format identifier of the custom format in the database;
the data synchronization module may specifically include the following units:
the format conversion unit is used for acquiring the format identifier from the local database and converting the data information into the field data according to the custom format corresponding to the format identifier;
and the data sending unit is used for synchronizing the field data to the one-machine one-file server.
Optionally, the apparatus further comprises the following modules:
a primary key identifier clearing module, configured to clear the primary key identifier from the data queue to be synchronized when a second synchronization success signaling returned by the one-machine one-file server is received;
a second data marking module, configured to add a sent mark to the primary key identifier in the local database when receiving a second synchronization success signaling returned by the one-machine one-file server;
and the second data clearing module is used for deleting the data information from the local file when a second synchronization success signaling returned by the one-machine one-file server is received.
For the embodiment of the data synchronization device, since it is basically similar to the embodiment of the data synchronization method, the description is relatively simple, and for relevant points, reference may be made to part of the description of the embodiment of the data synchronization method.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the stored computer program enables a processor to implement the data synchronization method according to the embodiment of the present invention when the processor executes the computer program.
An embodiment of the present invention further provides an electronic device, including:
the data synchronization system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the data synchronization method in the embodiment of the invention when executing.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "include", "including" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such process, method, article, or terminal device. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or terminal equipment comprising the element.
The data synchronization method, the data synchronization device, the computer-readable storage medium, and the electronic device provided by the present invention are described in detail above, and specific examples are applied herein to explain the principles and embodiments of the present invention, and the descriptions of the above embodiments are only used to help understand the method and the core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A data synchronization method is characterized in that the method is applied to a one-machine one-file client which is in communication connection with a one-machine one-file server; the method comprises the following steps:
caching the acquired data information into a local file, and storing a main key identifier of the data information and a storage path of the data information in the local file in a local database; the main key identification is the identification of data information collected by unique identification, and at least comprises a serial number or a monitoring equipment identification code;
determining a first network connection state between the server and the one-machine one-file server;
storing the primary key identification into a data queue to be synchronized under the condition that the first network connection state is determined to be a connection failure state;
periodically determining a second network connection state with the one-machine one-file server;
under the condition that the second network connection state is determined to be a successful connection state, acquiring the primary key identification from the data queue to be synchronized;
acquiring the storage path from the local database according to the primary key identifier, and acquiring the data information from the local file according to the storage path;
and synchronizing the data information to the one-machine one-file server.
2. The method of claim 1, wherein determining a first network connection status with the one-machine-one-file server comprises:
sending a data synchronization request to the one-machine one-file server;
when a response of the one-machine one-file server to the data synchronization request is not received, generating a connection failure identifier, wherein the connection failure identifier represents that the first network connection state is a connection failure state;
periodically determining a second network connection status with the one-machine one-file server, comprising:
periodically sending a network connection request to the one-machine one-file server;
recording the time length from the time when the network connection request is sent to the time when the network data packet returned by the one-machine one-file server aiming at the network connection request is received;
and under the condition that the time length does not exceed a preset time length threshold value, updating the connection failure identifier into a connection success identifier, wherein the connection success identifier represents that the second network connection state is a connection success state.
3. The method of claim 1, further comprising:
under the condition that the first network connection state is determined to be a successful connection state, synchronizing the data information to the one-machine one-file server;
and when a first synchronization success signaling returned by the one-machine one-file server is received, adding a sent mark for the primary key identification in the local database, and removing the data information from the local file.
4. The method of claim 1, wherein caching the collected data information into a local file, and storing the primary key identifier of the data information and the storage path of the data information in the local file in a local database, comprises:
converting the collected field data into data information according to a custom format, caching the data information into a local file, and storing the main key identification, the storage path and the format identification of the custom format in the local database;
synchronizing the data information to the one-machine one-file server, comprising:
acquiring the format identifier from the local database, and restoring the data information into the plurality of field data according to a user-defined format corresponding to the format identifier;
synchronizing the plurality of field data to the one-machine one-file server.
5. The method of claim 1, further comprising:
and when a second synchronization success signaling returned by the one-machine one-file server is received, the primary key identification is removed from the data queue to be synchronized, a sent mark is added to the primary key identification in the local database, and the data information is removed from the local file.
6. A data synchronization device is characterized in that the device is applied to a one-machine one-file client, and the one-machine one-file client is in communication connection with a one-machine one-file server; the device comprises:
the data storage module is used for caching the acquired data information into a local file and storing the primary key identification of the data information and the storage path of the data information in the local file into a local database; the main key identification is the identification of data information collected by unique identification, and at least comprises a serial number or a monitoring equipment identification code;
the first connection state determining module is used for determining a first network connection state between the first connection state determining module and the one-machine one-file server;
the data marking module is used for storing the primary key identification into a data queue to be synchronized under the condition that the first network connection state is determined to be a connection failure state;
the second connection state determining module is used for periodically determining a second network connection state between the first network connection state and the first-file server;
a data mark obtaining module, configured to obtain the primary key identifier from the to-be-synchronized data queue when it is determined that the second network connection state is a connection success state;
the data information acquisition module is used for acquiring the storage path from the local database according to the primary key identifier and acquiring the data information from the local file according to the storage path;
and the data synchronization module is used for synchronizing the data information to the one-machine one-file server.
7. The apparatus of claim 6, wherein the first connection status determining module comprises:
the data synchronization request unit is used for sending a data synchronization request to the one-machine one-file server;
a network identifier setting unit, configured to generate a connection failure identifier when a response to the data synchronization request from the one-machine one-file server is not received, where the connection failure identifier represents that the first network connection state is a connection failure state;
the second connection state determination module includes:
the periodic detection unit is used for periodically sending a network connection request to the one-machine one-file server;
the time length recording unit is used for recording the time length from the time when the network connection request is sent to the time when the network data packet returned by the one-machine one-file server aiming at the network connection request is received;
the network identifier setting unit is further configured to update the connection failure identifier to a connection success identifier when the duration does not exceed a preset duration threshold, where the connection success identifier represents that the second network connection state is a connection success state.
8. The apparatus of claim 6,
the data synchronization module is further configured to synchronize the data information to the one-machine one-file server when it is determined that the first network connection state is a connection successful state;
the device further comprises:
a data marking module, configured to add a sent mark to the primary key identifier in the local database when receiving a first synchronization success signaling returned by the one-machine one-file server;
and the data clearing module is used for clearing the data information from the local file when the first synchronization success signaling is received.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 5.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor, when executed, implements the method of any of claims 1-5.
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 CN110489484A (en) 2019-11-22
CN110489484B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111177456B (en) * 2019-11-27 2022-12-23 视联动力信息技术股份有限公司 Method, device and equipment for parallel synchronization of data 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
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

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106034261B (en) * 2015-03-17 2019-07-05 视联动力信息技术股份有限公司 A kind of view networking service treating method and apparatus
CN106547746B (en) * 2015-09-16 2021-03-30 北京国双科技有限公司 Data sending method and device
CN106973074B (en) * 2016-01-13 2019-11-19 腾讯科技(深圳)有限公司 A kind of data processing method, apparatus and system
CN106293527A (en) * 2016-08-05 2017-01-04 成都佳荣科技有限公司 Data-storage system
CN107786623B (en) * 2016-09-20 2021-03-30 平安科技(深圳)有限公司 Message asynchronous processing method and device
CN107330031B (en) * 2017-06-26 2020-07-07 广州华多网络科技有限公司 Data storage method and 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
CN108038127B (en) * 2017-11-08 2020-03-20 中国平安人寿保险股份有限公司 Data synchronization method, device, terminal equipment and storage medium
CN108900907A (en) * 2018-07-13 2018-11-27 广州虎牙信息科技有限公司 Encapsulated data packet method and device, electronic equipment, medium
CN108833591B (en) * 2018-07-13 2019-12-06 广州虎牙信息科技有限公司 method, electronic equipment, device and network architecture for data transmission in P2P network
CN109284265A (en) * 2018-09-05 2019-01-29 视联动力信息技术股份有限公司 A kind of date storage method and system
CN109561137B (en) * 2018-11-14 2021-08-24 广州虎牙信息科技有限公司 Method, device, terminal equipment and medium for establishing P2P network
CN109861929B (en) * 2018-12-26 2022-12-13 视联动力信息技术股份有限公司 Data caching processing method and device

Also Published As

Publication number Publication date
CN110489484A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN110489484B (en) Data synchronization method and device, readable storage medium and electronic equipment
CN110545405B (en) Video transmission method and system based on video network
CN109379254B (en) Network connection detection method and system based on video conference
CN109587002B (en) State detection method and system for video network monitoring equipment
CN111447392B (en) Data transmission method, device, server and computer readable storage medium
CN109246135B (en) Method and system for acquiring streaming media data
CN111787349A (en) Data caching method, device, equipment and medium
CN109660753B (en) Resource synchronization method and device
CN109151061B (en) Data storage method and device
CN110224988B (en) Image data processing method, system and device and storage medium
CN109889775B (en) Data timeout processing method and device
CN110557273A (en) Terminal state warning method and device
CN110557608B (en) Resource monitoring method, device and computer readable storage medium
CN109698953B (en) State detection method and system for video network monitoring equipment
CN110557611B (en) Information synchronization method, device and storage medium
CN110830185B (en) Data transmission method and device
CN110401633B (en) Monitoring and inspection data synchronization method and system
CN110012064B (en) Data synchronization method and system
CN110213533B (en) Method and device for acquiring video stream monitored by video network
CN110691214B (en) Data processing method and device for business object
CN109698756B (en) Video conference reservation method and device
CN110475088B (en) User login method and device
CN110768854B (en) Data statistics method and device based on video network
CN110474938B (en) Information query method and device
CN111193619A (en) Method and device for collecting log files

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
CP03 Change of name, title or address

Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013

Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region after: China

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.

Country or region before: China