Data synchronization method and device and computer readable storage medium

A data synchronization and data technology, applied in the Internet field, can solve the problems of increasing the space cost of light nodes, the large amount of synchronized data, and the inability of data self-checking of light nodes to achieve the effect of reducing the amount of data transmission and space cost.

Active Publication Date: 2021-06-01
TENCENT TECH (SHENZHEN) CO LTD
View PDF8 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, the transmission of synchronization blocks has the defect of large amount of synchronization data, which will increase the space cost of light nodes
[0006] In addition, in the existing technology, the light nodes cannot self-verify the acquired data. If there are malicious behaviors in the blockchain network, the light nodes cannot determine the accuracy of the acquired data, and thus cannot guarantee the synchronization legality of the data

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 computer readable storage medium
  • Data synchronization method and device and computer readable storage medium
  • Data synchronization method and device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0101] For ease of understanding, some nouns are briefly explained as follows:

[0102] 1. Blockchain: In a narrow sense, blockchain is a chained data structure with blocks as the basic unit. Digital summaries are used in blocks to verify the previously acquired transaction history, which is suitable for distributed accounting scenarios Anti-tampering and scalability requirements; in a broad sense, blockchain also refers to the distributed accounting technology implemented by the blockchain ...

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 embodiment of the invention discloses a data synchronization method and device and a computer readable storage medium, and the method comprises the steps: obtaining a data synchronization request comprising a node identifier and a block identifier; acquiring synchronous transaction data in the synchronous block according to the block identifier, and acquiring a target data set comprising read data or result data; determining a target synchronous read transaction execution function for the transaction detail data according to the contract information and the data synchronization request; determining a synchronous data set according to the transaction detail data, the node identifier and the target synchronous read transaction execution function; and obtaining verification data, and returning the synchronous transaction data, the verification data and the synchronous data set to the light node, so that the light node verifies the legality of the synchronous transaction data and the to-be-verified result data corresponding to the transaction detail data according to the verification data and the synchronous data set. By adopting the method and the device, the space cost of the light node can be reduced, and the legality of the synchronized data can be ensured.

Description

[0001] This application is a divisional application of a Chinese patent application submitted to the China Patent Office on December 24, 2020, with the application number 202011544909.5 and the application name "A Data Synchronization Method, Device, and Computer-Readable Storage Medium", and its entire content Incorporated in this application by reference. technical field [0002] The present application relates to the technical field of the Internet, and in particular to a data synchronization method, device and computer-readable storage medium. Background technique [0003] With the rapid development of network technology and the emphasis on data security by the government and enterprises, blockchain has received great attention and application. [0004] The blockchain includes full nodes and light nodes. Full nodes have full data and participate in bookkeeping consensus. Light nodes mainly perform business execution and do not participate in bookkeeping consensus. Instea...

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/27G06F21/64G06Q40/04
CPCG06F16/27G06Q40/04G06F21/64
Inventor 李茂材王宗友时一防蓝虎
Owner TENCENT TECH (SHENZHEN) CO LTD
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