Data synchronization method and system for edge devices

A data synchronization, edge device technology, applied in transmission systems, electrical components, etc., can solve problems such as low data synchronization efficiency and data congestion

Active Publication Date: 2021-09-03
广州得一信息科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Using this method, the transmission of a synchronous data needs to go through a three-way handshake. If the network condition is not good, data congestion is likely to occur, and the data synchronization efficiency is low.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method and system for edge devices
  • Data synchronization method and system for edge devices
  • Data synchronization method and system for edge devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0035] Such as figure 1 As shown, an embodiment of the present invention provides a data synchronization method for an edge device, at least including the following steps:

[0036] Step S101: Collect the data to be synchronized and extract the data to be sent that currently needs to be sent from the data to be synchronized, add the data to be sent in the sending window and send the data to be sent in the sending window according to the quality of service of QoS0 s...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a data synchronization method and system of an edge device. The method sends data to be sent to a cloud server according to the service quality of QoS0, and the cloud server generates data synchronization state information and updates a data synchronization state topic. Obtain the data synchronization status information from the data synchronization status topic; if the data synchronization status information is successfully obtained and it is determined that the synchronization of the data to be sent is successful, the data to be sent in the sending window is removed, and the data is re-extracted and sent. If the data synchronization status information is successfully obtained but it is determined that the synchronization of the data to be sent fails, the data to be sent will be resent, and when the number of resends or the resend time exceeds the threshold, the data to be sent will be removed from the sending window, and the data will be re-extracted for further processing. send. If the synchronization status information cannot be obtained, the data to be sent in the current window is removed, and new data to be sent is re-extracted and sent. By implementing the invention, the efficiency and stability of data synchronization can be improved.

Description

technical field [0001] The present invention relates to the technical field of data synchronization, in particular to a data synchronization method and system for an edge device. Background technique [0002] In the existing IoT scenarios, all kinds of terminals continue to develop in the direction of intelligence, and massive data gathers at the edge. The cloud IoT service platform provides storage, analysis and value mining of massive data. The data collaboration between the edge and the cloud forms a complete data flow path, ensuring efficient and low-cost full lifecycle management and value mining of IoT data. However, in the existing data synchronization process between the edge device and the cloud server, the MQTT client is directly invoked on the edge device in real time, and then the device data message is sent to the cloud server according to the quality of service of QoS 1 or QoS 2. This method uses The message retransmission and confirmation mechanism in the MQ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095
Inventor 谢飞冯振飞
Owner 广州得一信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products