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

Data access method, device and equipment and storage medium

A data access and data technology, applied in the computer field, can solve problems such as the limitation of blockchain application space, the difficulty of chain-to-chain collaboration, and the lack of blockchain interoperability, so as to ensure effectiveness and accuracy, and enrich the scope of application Effect

Active Publication Date: 2020-06-23
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, due to the fact that different blockchains operate independently of each other, the data is highly heterogeneous, and the collaboration between chains is difficult, resulting in the lack of interoperability between blockchains and the problem of information islands, which greatly limits the blockchain. application space

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 access method, device and equipment and storage medium
  • Data access method, device and equipment and storage medium
  • Data access method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] figure 1 It is a flowchart of a data access method in Embodiment 1 of the present application. The embodiment of the present application is applicable to the situation of cross-chain access to data objects belonging to different blockchains in the super blockchain network. In the blockchain system, smart contracts that implement different functions can be deployed. Each smart contract includes a combination of programs, and the set function processing is completed during the process of running the program. The operation of smart contracts involves generating and reading some data, such as user data, business data, etc., which can be called data objects. Each smart contract can manage the storage and read-write access of its own data objects based on the set data storage model, forming a data object set. Generally speaking, the sets of data objects between different smart contracts do not overlap and cannot access each other. When different smart contracts are located...

Embodiment 2

[0092] figure 2 It is a flow chart of a data access method in Embodiment 2 of the present application. The embodiment of the present application is optimized and improved on the basis of the technical solutions of the foregoing embodiments.

[0093] Further, in the process of data access, add "According to the data identification of the data object to be accessed in the source transaction request, if it is determined that the data object to be accessed belongs to a different blockchain, then it is determined that there is a data object belonging to the target blockchain." The access requirements; wherein, the data identification includes at least the names of the data level and the chain level, and the data identification also includes the names of the contract level and the network level", so as to improve the determination mechanism of access requirements.

[0094] Such as figure 2 One data access method shown, including:

[0095] S201. During the process of locally pre-...

Embodiment 3

[0114] image 3 It is a flowchart of a data access method in Embodiment 3 of the present application. The embodiments of the present application are optimized and improved on the basis of the technical solutions of the foregoing embodiments.

[0115] Further, "monitor whether the block where the latest data in the target blockchain is located is a block that is prohibited from rolling back" is refined into "monitoring whether the block where the latest data is located in the target blockchain Whether it is a checkpoint block; wherein, the block before the checkpoint block is prohibited from rolling back", so as to improve the block monitoring mechanism.

[0116] Further, in the process of continuous monitoring, add "if the latest data of the data object to be accessed is monitored to be updated by the target blockchain, then use the updated latest data of the data object to be accessed as the access result, and re-preset Execute the source transaction request" to improve the d...

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 access method, device and equipment and a storage medium, and relates to the technical field of block chains. The specific implementation mode is as follows: in a process of locally pre-executing a source transaction request initiated in a source blockchain, if an access demand of a data object to which a target blockchain belongs exists, accessing latest data of a to-be-accessed data object in the target blockchain, and determining a pre-execution result of the source transaction request according to an access result; monitoring whether a block where the latestdata in the target block chain is located is a block prohibited from rolling back or not; if so, packaging the pre-execution result into the source transaction request, and initiating an uplink operation to the source blockchain network; and otherwise, continuously monitoring until the block where the latest data is located is changed into the block which is forbidden to roll back. According to the embodiment of the invention, the sharing of data in different block chains is realized, and the effectiveness and accuracy of the pre-execution result of the source transaction request are ensured.

Description

technical field [0001] The present application relates to computer technology, in particular to the field of blockchain technology, and in particular to a data access method, device, equipment and storage medium. Background technique [0002] Blockchain is essentially a distributed shared ledger and database, which has the characteristics of decentralization, immutability, traceability throughout the process, traceability, collective maintenance, and openness and transparency. [0003] However, due to the fact that different blockchains operate independently of each other, the data is highly heterogeneous, and the collaboration between chains is difficult, resulting in the lack of interoperability between blockchains and the problem of information islands, which greatly limits the blockchain. application space. [0004] In view of this, realizing data sharing between different blockchains through cross-chain technology has become an urgent problem to be solved. Contents o...

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): G06F9/46G06F11/14G06F21/64
CPCG06F9/466G06F11/1438G06F21/64G06F2221/2141
Inventor 肖伟
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD