A data synchronization method, device and computer-readable storage medium

A data synchronization and data technology, applied in the Internet field, can solve the problems of inability to guarantee the legality of data, large amount of synchronized data, and increase the space cost of light nodes.

Active Publication Date: 2021-03-19
TENCENT TECH (SHENZHEN) CO LTD
View PDF10 Cites 0 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
[0005] In addition, in the existing technology, the light nodes ca...

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0099] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present 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.

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

[0101] 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 technol...

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 present application discloses a data synchronization method, device, and computer-readable storage medium, wherein the method includes: acquiring a data synchronization request including a node ID and a block ID; acquiring synchronous transaction data in a synchronous block according to the block ID , to obtain the target data set including read data or result data; determine the target synchronous read transaction execution function for the transaction details data according to the contract information and data synchronization request; determine the synchronization according to the transaction details data, node identification and target synchronous read transaction execution function Data collection; obtain verification data, and return the synchronous transaction data, verification data and synchronous data set to the light node, so that the light node can verify the synchronous transaction data and the result data to be verified corresponding to the transaction details data according to the verification data and the synchronous data set legality. By adopting this application, not only can the space cost of the light node be reduced, but also the legality of the synchronized data can be guaranteed.

Description

technical field [0001] 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 [0002] 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. [0003] 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. Instead, they obtain block headers from the consensus network through identity authentication. data and block data that is partially authorized to be visible. Therefore, the full number of nodes need to broadcast the block header of the new block after consensus through the peer-to-peer (Peer-to-Peer, P2P) network layer, so that the light nodes can synchronize the ...

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
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