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

A data synchronization and data technology, applied in the Internet field, can solve problems such as the inability to guarantee the legality of synchronized data, the inability to determine the accuracy of data, and the self-verification of light node data.

Active Publication Date: 2021-04-02
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In existing data synchronization technologies, such as Ethereum, Enterprise Operating System (EOS), etc., light nodes cannot self-verify the acquired data. If there are malicious behaviors in the blockchain network, then light nodes It is impossible to determine the accuracy of the obtained data, and thus cannot guarantee the legality of the synchronized 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
  • 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

[0098] 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.

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

[0100] 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 present application discloses a data synchronization method, device, and computer-readable storage medium, wherein the method includes: obtaining a data synchronization request sent by a light node; the request includes a block identifier; obtaining a synchronization transaction in a synchronization block according to the block identifier data; synchronous transaction data includes transaction details data and contract information; obtain the target data set corresponding to the synchronous transaction data from the full database; the target data set includes the read data or result data obtained when executing the transaction details data based on the contract information ; Obtain the verification data of the synchronous transaction data, and return the synchronous transaction data, verification data and target data set to the light node, so that the light node can verify the corresponding pending verification results of the synchronous transaction data and transaction detail data according to the verification data and target data set Legality of Data. By adopting the application, the legality of the synchronized data can be verified, thereby ensuring the legality of the synchronized data.

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, the 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 ...

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): G06F16/27G06F21/64
CPCG06F16/27G06F21/64H04L67/1095G06F16/2365H04L9/50G06F16/275
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