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-01-29
TENCENT TECH (SHENZHEN) CO LTD
View PDF7 Cites 6 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
  • Data synchronization method, device and computer readable storage medium
  • Data synchronization method, device and computer readable storage medium
  • Data synchronization method, device and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[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 techno...

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, a device and a computer readable storage medium. The method comprises the steps that: a data synchronization request transmitted by a light nodeis obtained, wherein the request comprises a block identifier; synchronous transaction data in a synchronous block is acquired according to the block identifier, wherein the synchronous transaction data comprises transaction detail data and contract information; a target data set corresponding to the synchronous transaction data is obtained from a full-volume database, wherein the target data setcomprises read data or result data obtained when the transaction detail data is executed based on the contract information; and verification data of the synchronous transaction data is obtained, and the synchronous transaction data, the verification data and the target data set arereturned to the light node, so that the light node verifies the legality of to-be-verified result data corresponding to the synchronous transaction data and the transaction detail data according to the verification data and the target data set. By the adoption of the data synchronization method, the device and computer readable storage medium, legality verification can be conducted on the synchronized data, and then 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, 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 Applications(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