Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

External data access method, device and system of block chain, equipment and medium

An external data and blockchain technology, applied in the blockchain field, can solve the problems of consensus failure and high pressure on external data servers, and achieve the effect of improving accuracy, avoiding repeated calls and reducing pressure.

Pending Publication Date: 2022-01-28
BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Smart contracts in HyperledgerFabric can directly call external data, but there are defects that repeated calls lead to high pressure on external data servers, and external data may cause consensus failure due to network errors

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
  • External data access method, device and system of block chain, equipment and medium
  • External data access method, device and system of block chain, equipment and medium
  • External data access method, device and system of block chain, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] Hereinafter, exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. It should be understood that the present application is not limited by the exemplary embodiments described here.

[0041] figure 1 It is a schematic structural diagram of a blockchain external data access system provided by the embodiment of this application. Such as figure 1 As shown, the external data access system of the blockchain is set in the consortium chain, including at least one endorsement node 11 and an oracle server 12; wherein, the endorsement node 11 is set with a user contract and an oracle contract, and the oracle server 12 corresponds to At least one endorsement node 11, the endorsement node 11 is used to: obtain the external data access request of the...

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 an external data access method, device and system of a block chain, equipment and a medium, the method is applied to an endorsement node of an alliance chain, a user contract and an oracle contract are set in the endorsement node, and an oracle server corresponds to at least one endorsement node. The method comprises the steps that an external data access request of a user client is acquired, the external data access request carries transaction information, under the condition that target external data does not exist in an oracle contract, the oracle contract is called through a user contract, the external data access request is sent to an oracle server, the target external data is the data requested by the external data access request, the target external data corresponding to the transaction information returned by the oracle server is received, and the target external data is returned to the user client. By adopting the technical scheme, the external data can be accessed through the oracle machine in the alliance chain, the pressure of the external data server is reduced, and the accuracy is improved.

Description

technical field [0001] The present application relates to the technical field of blockchain, and in particular to a blockchain external data access method, device, system, equipment and medium. Background technique [0002] Blockchain is a method that uses block chain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses automated script codes to A new distributed infrastructure and computing method that uses smart contracts to program and manipulate data. [0003] Blockchain can include public chains and private chains. Smart contracts in public chains can access external data through Oracles, while private chains, especially consortium chains, such as Hyperledger Fabric, have the same operating mechanism as public chains. There is a difference, through the mechanism of multi-node endorsement, the block is finally generated by the sor...

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/25G06F16/27
CPCG06F16/252G06F16/27
Inventor 朱江王森刘春伟
Owner BEIJING KINGSOFT CLOUD NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products