Unlock instant, AI-driven research and patent intelligence for your innovation.

A data update method and node device

A data update and data technology, applied in the Internet field, can solve the problems of increased difficulty of data update, multi-time, complex calculations, etc., and achieve the effect of reducing difficulty and complexity

Active Publication Date: 2022-05-17
HUAWEI TECH CO LTD
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, it often takes more time and complex calculations to deduce data without defects in the historical version of the smart contract, which increases the difficulty of data update

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 update method and node device
  • A data update method and node device
  • A data update method and node device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0148] The embodiments of the present application provide a data update method and node device. When updating a smart contract, the target data that has been stored can be directly extracted from the snapshot, and the target data is defect-free data in the historical version of the smart contract. Therefore, it is not necessary to consume more resources to derive these flawless data, thereby reducing the difficulty and complexity of data updating.

[0149] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of this application and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that the data so used may be interchanged under appropriate circumstances such that the embodiments of the application described herein can, for example, be practiced in sequences other than those illustrated or described herein. Furthermore, the ter...

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 method for updating data, including: receiving a smart contract deployment request sent by a client, the smart contract deployment request carrying the data snapshot identifier of the first smart contract contained in the data snapshot mapping relationship; according to the smart contract Deploy the request to obtain the second smart contract and target data, the target data is determined according to the data snapshot mapping relationship and the data snapshot identifier of the first smart contract; send the second smart contract and target data to the client, so that the client A smart contract and the data to be updated corresponding to the first smart contract are updated. The present application also provides a node device. When this application updates the smart contract, it can directly extract the stored target data from the snapshot. The target data is the flawless data in the historical version of the smart contract, so it does not need to consume more resources to derive these flawless data. Defective data, thus reducing the difficulty and complexity of data update.

Description

technical field [0001] The present application relates to the field of Internet technologies, and in particular, to a data update method and node device. Background technique [0002] At present, bitcoin transactions on the Internet mainly use blockchain technology, which is based on the principle of cryptography, and directly pays the two parties who have reached an agreement, thus eliminating the need for the participation of third-party intermediaries. A blockchain is a distributed ledger that can be managed using smart contracts. Among them, several transaction records are recorded in each block, and the hash value of the previous block is also included. All blocks are connected in sequence to form a blockchain. [0003] At present, the deployment process of energy contracts is as follows figure 1 As shown, the endorsement node includes an endorsement module (endorser), a lifecycle smart contract module, and an endorsement system smart contract module. The client sends...

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/23
Inventor 谢军安胡瑞丰姜耀国丁海洋蒋飞虎
Owner HUAWEI TECH CO LTD