Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data synchronization method and device and terminal equipment

A data synchronization and data item technology, applied in the field of data processing, can solve the problems of time consumption, performance growth, limit the amount of data in a single synchronization, etc., and achieve the effect of less comparison times

Inactive Publication Date: 2019-06-25
GOLO IOV DATA TECH CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the embodiment of the present application provides a data synchronization method, device, and terminal equipment to solve the problem that when the existing data synchronization method performs redundant data screening, the time and performance consumed will increase in the form of a square, which limits the single The problem of the amount of data synchronized

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 device and terminal equipment
  • Data synchronization method and device and terminal equipment
  • Data synchronization method and device and terminal equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0062] The following describes a data synchronization method provided by Embodiment 1 of this application, please refer to the attached figure 1 , the data synchronization method in Embodiment 1 of the present application includes:

[0063] Step S101, acquiring the version ID of the update data in the first synchronization data;

[0064] The first synchronization data is the data that needs to be synchronized. The first data can include updated data, new data and deleted data. Among them, the new data and deleted data need to be fully synchronized, and there are a lot of redundant data in the updated data , need to filter and clean up these redundant data.

[0065] There are multiple data items in the database. Each data item can be used to describe and record one or more types of content. Whenever the content of these data items is updated, corresponding update data will be generated. The same data item may generate multiple update data , each piece of updated data has a co...

Embodiment 2

[0105] Embodiment 2 of the present application provides a data synchronization device. For the convenience of description, only the parts related to the present application are shown, such as figure 2 As shown, the data synchronization means include,

[0106] A data acquisition module 201, configured to acquire the version ID of the update data in the first synchronization data;

[0107] The redundancy deletion module 202 is used to use the update data with the largest version ID in the update data corresponding to each data item as the valid update data, delete the non-valid update data in the first synchronization data, and obtain the second synchronization data;

[0108] A data synchronization module, configured to perform a data synchronization operation on the second synchronization data.

[0109] Further, the device also includes:

[0110] The re-synchronization module is configured to perform a re-synchronization operation on the third synchronization data whose sync...

Embodiment 3

[0126] image 3 It is a schematic diagram of a terminal device provided in Embodiment 3 of the present application. Such as image 3 As shown, the terminal device 3 in this embodiment includes: a processor 30 , a memory 31 , and a computer program 32 stored in the memory 31 and operable on the processor 30 . When the processor 30 executes the computer program 32, the steps in the above-mentioned data synchronization method embodiment are implemented, for example figure 1 Steps S101 to S103 are shown. Alternatively, when the processor 30 executes the computer program 32, it realizes the functions of the modules / units in the above-mentioned device embodiments, for example figure 2 The functions of modules 201 to 203 are shown.

[0127] Exemplarily, the computer program 32 can be divided into one or more modules / units, and the one or more modules / units are stored in the memory 31 and executed by the processor 30 to complete this application. The one or more modules / units m...

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 is applicable to the technical field of data processing, and provides a data synchronization method and device and terminal equipment, and the method comprises the steps: obtaining a version ID of updated data in first synchronization data; Taking the update data with the maximum version ID in the update data corresponding to each data item as effective update data, and deleting non-effective update data in the first synchronous data to obtain second synchronous data; And executing a data synchronization operation on the second synchronization data. According to the data synchronization method and device, the problem that when redundant data are screened through an existing data synchronization method, the consumed time performance can be increased in a square mode, and the data size of single synchronization is limited can be solved.

Description

technical field [0001] The present application belongs to the technical field of data processing, and in particular relates to a data synchronization method, device and terminal equipment. Background technique [0002] The database can be regarded as an electronic filing cabinet, which can be used to store electronic files, and users can perform operations such as adding, updating, and deleting data in the files. [0003] When multiple databases in an enterprise need to cooperate with each other, or when databases of multiple enterprises need to cooperate with each other, data synchronization between databases is required. [0004] When performing data synchronization, redundant data in the data to be synchronized needs to be screened out. Currently, redundant data is screened mainly through double subqueries. The principle of double subqueries is that each element of the inner and outer queries must be compared once. For operations, therefore, when the amount of data to be...

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 Applications(China)
IPC IPC(8): G06F16/23G06F16/27
Inventor 刘新郭朝晖兰飞赵锋
Owner GOLO IOV DATA TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products