CN110442652A - A kind of across chain data processing method and device based on block chain - Google Patents
A kind of across chain data processing method and device based on block chain Download PDFInfo
- Publication number
- CN110442652A CN110442652A CN201910752817.7A CN201910752817A CN110442652A CN 110442652 A CN110442652 A CN 110442652A CN 201910752817 A CN201910752817 A CN 201910752817A CN 110442652 A CN110442652 A CN 110442652A
- Authority
- CN
- China
- Prior art keywords
- chain
- block chain
- operating result
- data processing
- account book
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Accounting & Taxation (AREA)
- Physics & Mathematics (AREA)
- Finance (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Computing Systems (AREA)
- Computer Security & Cryptography (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
This application involves Internet technical fields, disclose a kind of across chain data processing method and device based on block chain, for improving efficiency in across chain data handling procedure and reducing resource consumption, the described method includes: the first block chain determines data processing content according to across the chain data processing request received;The first block chain calls the first across chain intelligence contract according to first call address, executes the first operation corresponding with the first block chain in the data processing content, obtains the first operating result;After the first block chain reaches common understanding to first operating result, the first account book is written into the data processing content and first operating result;When the second operating result is written in the second account book for knowing the second block chain in the first block chain, second operating result is obtained from second account book;First account book is written in second operating result by the first block chain.
Description
Technical field
This application involves Internet technical field more particularly to a kind of across chain data processing methods and dress based on block chain
It sets.
Background technique
Block chain is a kind of a kind of chain type number for being sequentially in time combined into data block in such a way that sequence is connected
According to structure, and the distributed account book that can not be distorted He can not forge guaranteed in a manner of cryptography.Broadly, block chain technology
Be verified using block linked data structure with storing data, using distributed node know together algorithm come generate and more new data,
Guaranteed in the way of cryptography data transmission and access safety, using the intelligent contract being made of automatized script code come
One kind of programming and operation data completely new distributed basis framework and calculation paradigm.
With block chain technology and the fast development of application, various mutually independent blocks have currently been had already appeared
Chain network, and realize the transaction of transregional piece of chain and have become the urgent need of current block chain application.Across chain technology is understood that
The bridge being connected between each block chain.Current main across chain technology has: notary's mechanism (Notary schemes), side
Chain/relaying (Sidechains/relays), Hash locking (Hash-locking) etc..
In existing across chain technology, across chain transaction is generally synchronization process.During the processing of the second block chain is traded,
First block chain needs the completion to be transacted such as always, cannot handle other transaction in the process.Accordingly, there exist the wastings of resources and time-consuming
Longer problem.
Summary of the invention
The embodiment of the present application provides a kind of across chain data processing method and device based on block chain, for improving across chain
Efficiency and resource consumption is reduced in data handling procedure.
According to the embodiment of the present application in a first aspect, provide a kind of across chain data processing method based on block chain, wrap
It includes:
First block chain determines data processing content, the data processing according to across the chain data processing request received
Comprising the first call address of the first across chain intelligence contract for being deployed in the first block chain and the is deployed in content
Second call address of the second across chain intelligence contract in two block chains, first across the chain intelligence contract is with described second across chain
Intelligent contract is corresponding;
The first block chain calls the first across chain intelligence contract according to first call address, executes at the data
The first operation corresponding with the first block chain in content is managed, the first operating result is obtained;
After the first block chain reaches common understanding to first operating result, by the data processing content and described
The first account book is written in first operating result;
When the second operating result is written in the second account book for knowing the second block chain in the first block chain, from described
Two account books obtain second operating result, and second operating result is the second block chain according to second calling ground
Corresponding with the second block chain second operates in the second across chain intelligence contract execution of location calling data processing content
It arrives;
First account book is written in second operating result by the first block chain.
In a kind of optional embodiment, the first block chain is obtained after second operating result, further includes:
The first block chain detects second operating result;
If second operating result is consistent with the data processing content, executes and second operating result is written
The operation of first account book;
If second operating result is not consistent with the data processing content, first operating result is executed back
Rolling operation.
In a kind of optional embodiment, the first block chain calls the first across chain intelligence according to first call address
Contract, execute in the data processing content it is corresponding with the first block chain first operation, obtain the first operating result it
Afterwards, further includes:
The first block chain calls first across the chain intelligence contract, based on the data process content and described the
One operating result constructs mono- Mei Keer tree;
First account book is written in the root node of the mono- Mei Keer tree by the first block chain;
The first block chain, which is known in the second account book of the second block chain, to be written after the second operating result, is also wrapped
It includes:
The first block chain obtains the root node of bis- Mei Keer tree, the bis- Mei Keer from second account book
Tree is that the second block chain calls the described second across chain intelligence contract to construct based on second operating result;
The first block chain detects second operating result, comprising:
The first block chain calls first to manage intelligent contract, using the root node of the bis- Mei Keer tree to described
Second operating result is detected.
In a kind of optional embodiment, the first block chain determines number according to across the chain data processing request received
After process content, further includes:
The first block chain detects the digital signature in across the chain data processing request;
The first block chain calls first to manage intelligent contract, examines to the legitimacy of the data processing content
It surveys;
If detecting successfully, calls the described first across chain intelligence contract to execute first operation, obtain the first operation knot
Fruit;
If detection failure, by the data processing content-label failure result.
In a kind of optional embodiment, the first block chain knows the second behaviour of write-in in the second account book of the second block chain
Make result, comprising:
The first block chain checks the Status Flag of second account book according to setpoint frequency;
The first block chain finds that the Status Flag changes, it is determined that described the is written in second account book
Two operating results.
According to the second aspect of the embodiment of the present application, a kind of across chain data processing method based on block chain, institute are provided
The method of stating includes:
Second block chain is known when the first operating result is written in the first account book of the first block chain, from first account book
It is middle to obtain the data processing content;Comprising being deployed in the first block chain first across chain in the data processing content
Second call address of the first call address of intelligent contract and the second across chain intelligence contract being deployed in the second block chain,
First across the chain intelligence contract is corresponding with the described second across chain intelligence contract, and first across the chain intelligence contract is deployed in institute
It states in the first block chain, second across the chain intelligence contract is deployed in the second block chain;
The second block chain calls the second across chain intelligence contract according to second call address, executes at the data
The second operation corresponding with the second block chain in content is managed, the second operating result is obtained;
After the second block chain reaches common understanding to second operating result, second operating result is written second
Account book.
In a kind of optional embodiment, the second block chain knows the first behaviour of write-in in the first account book of the first block chain
After making result, further includes:
The second block chain obtains the root node of mono- Mei Keer tree, the mono- Mei Keer from first account book
Tree is that the first block chain calls first across the chain intelligence contract process content and first behaviour based on the data
Make result building;
The second block chain calls second to manage intelligent contract, using the root node of the mono- Mei Keer tree to described
Data processing content and first operating result are detected;
The second block chain calls the second across chain intelligence to close according to the second call address in the data processing content
About, the second operation corresponding with the second block chain in the data processing content is executed, after obtaining the second operating result,
Further include:
The second block chain calls second across the chain intelligence contract, is based on second operating result, building second
Mei Keer tree;
Second account book is written in the root node of the bis- Mei Keer tree by the second block chain.
In a kind of optional embodiment, the second block chain knows the first behaviour of write-in in the first account book of the first block chain
Make result, comprising:
The second block chain checks the Status Flag of first account book according to setpoint frequency;
The second block chain finds that the Status Flag changes, it is determined that described the is written in first account book
One operating result.
According to the third aspect of the embodiment of the present application, a kind of across chain data processing equipment based on block chain, institute are provided
Stating device includes:
First acquisition unit, for determining data processing content, the number according to across the chain data processing request received
According to the first call address and the portion in process content including the first across chain intelligence contract being deployed in the first block chain
Second call address of across the chain intelligence contract of second be deployed in the second block chain, first across the chain intelligence contract and described the
Two across chain intelligence contracts are corresponding;
First execution unit executes the number for calling the first across chain intelligence contract according to first call address
According to the first operation corresponding with the first block chain in process content, the first operating result is obtained;
First writing unit, after reaching common understanding to first operating result, by the data processing content and
The first account book is written in first operating result;
The first acquisition unit is also used to that the second operating result is written in the second account book for knowing the second block chain
When, second operating result is obtained from second account book, second operating result is the second block chain according to institute
It states corresponding with the second block chain in the second across chain intelligence contract execution of the second call address calling data processing content
The second operation obtain;
First writing unit is also used to second operating result first account book is written.
In a kind of optional embodiment, further includes first detection unit, is used for:
Second operating result is detected;
If second operating result is consistent with the data processing content, first execution unit executes will be described
The operation of first account book is written in second operating result;
If second operating result is not consistent with the data processing content, first execution unit is to described
One operating result executes rolling back action.
In a kind of optional embodiment, first execution unit is also used to call the described first across chain intelligence contract, base
In the data processing content and first operating result, mono- Mei Keer tree is constructed;
First writing unit is also used to the root node of the mono- Mei Keer tree first account book is written;
The first acquisition unit is also used to obtain the root node of bis- Mei Keer tree from second account book, described
Bis- Mei Keer tree is that the second block chain calls second across the chain intelligence contract to construct based on second operating result
's;
The first detection unit is also used to call the first management intelligence contract, utilizes the root of the bis- Mei Keer tree
Node detects second operating result.
In a kind of optional embodiment, the first detection unit is also used to:
Digital signature in across the chain data processing request is detected;
It calls first to manage intelligent contract, the legitimacy of the data processing content is detected;
If detecting successfully, first execution unit calls the described first across chain intelligence contract to execute first behaviour
Make, obtains the first operating result;
If detection failure, first writing unit is by the data processing content-label failure result.
In a kind of optional embodiment, the first acquisition unit is specifically used for:
The Status Flag of second account book is checked according to setpoint frequency;
It was found that the Status Flag changes, it is determined that second operating result is written in second account book.
According to the fourth aspect of the embodiment of the present application, a kind of across chain data processing equipment based on block chain, institute are provided
Stating device includes:
Second acquisition unit, when the first operating result is written in the first account book for knowing the first block chain, from described
The data processing content is obtained in first account book;Comprising being deployed in the first block chain in the data processing content
The second of first call address of the first across chain intelligence contract and the second across chain intelligence contract being deployed in the second block chain
Call address, first across the chain intelligence contract is corresponding with the described second across chain intelligence contract, and first across the chain intelligence is closed
It is about deployed in the first block chain, second across the chain intelligence contract is deployed in the second block chain;
Second execution unit executes the number for calling the second across chain intelligence contract according to second call address
According to the second operation corresponding with the second block chain in process content, the second operating result is obtained;
Second operating result is written after reaching common understanding to second operating result for second writing unit
Second account book.
In a kind of optional embodiment, the second acquisition unit is also used to obtain the first plum from first account book
The root node of Ke Er tree, the mono- Mei Keer tree call first across the chain intelligence contract to be based on institute for the first block chain
State data processing content and first operating result building;
Further include second detection unit, for calling second to manage intelligent contract, utilizes the root of the mono- Mei Keer tree
Node detects the data processing content and first operating result;
Second execution unit is also used to call the described second across chain intelligence contract, is based on second operating result,
Construct bis- Mei Keer tree;
Second writing unit is also used to the root node of the bis- Mei Keer tree second account book is written.
In a kind of optional embodiment, the second acquisition unit is specifically used for:
The Status Flag of first account book is checked according to setpoint frequency;
It was found that the Status Flag changes, it is determined that first operating result is written in first account book.
According to the 5th of the embodiment of the present application aspect, provide a kind of calculating equipment, including at least one processor and
At least one processor, wherein the memory is stored with computer program, when described program is executed by the processor,
So that the processor executes the step of disclosure provided by the embodiments of the present application invites task processing method.
According to the 5th of the embodiment of the present application aspect, provides storage medium described in a kind of storage medium and be stored with computer
Instruction, when the computer instruction is run on computers, so that computer executes disclosure provided by the embodiments of the present application and invites
About task processing method the step of.
In the embodiment of the present application, the first block chain determines that across chain data are asked after receiving across chain data processing request
Seek the data processing content of middle carrying.The first across chain intelligence contract in data processing content comprising being deployed in the first block chain
The first call address and the second across chain intelligence contract being deployed in the second block chain the second call address, wherein
One across chain intelligence contract is corresponding with the second across chain intelligence contract.It is corresponding by being disposed on the first block chain and the second block chain
Across chain intelligence contract, the processing of affairs between Lai Shixian different blocks chain.First block chain is according in data processing content
First call address calls the first across chain intelligence contract, and executes the first operation by the first across chain intelligence contract, obtains the
One operating result.First operation is transactional operation corresponding with the first block chain in data processing content.To in the first block chain
All nodes reach common understanding to the first operating result after, the first block chain writes data processing content and the first operating result
Enter the first account book.To which the second block chain can obtain data processing content from the first account book, and according to data processing content
In the second call address call the second across chain intelligence contract, Lai Zhihang second operate, obtain the second operating result.Second operation
For transactional operation corresponding with the second block chain in data processing content.It is operated to all nodes in the second block chain to second
As a result after reaching common understanding, the second account book is written in the second operating result by the second block chain.In this way, the first block chain is knowing second
When the second operation is written into the second account book for block chain, the second operating result can be obtained from the second account book, and second is grasped
Make result to be written in the first account book.In the embodiment of the present application, the first block chain and the second block chain handle the process traded across chain
For asynchronous process.After first block chain obtains the first operating result, the first operating result is written in the first account book, rather than it is straight
It connects to the second block chain and sends.In this way, the first block chain can continue with it without waiting for the processing result of the second block chain
It trades, to improve treatment effeciency, saves the time.And second block chain without at once to across chain transaction at
Reason can balance the processing pressure of the second block chain with processing time of the flexible arrangement each across chain transaction.Meanwhile secondth area
After block chain obtains the second operating result, the second operating result is charged in the second account book, the second account book is monitored by the first block chain,
It determines in suitable the second operating result of time-triggered protocol, so as to select processing opportunity by the first block chain, more flexibly, and
The process performance for improving data under across chain scene, saves the time.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, will be described below to embodiment
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application
Embodiment.
Fig. 1 is system architecture diagram of one of the embodiment of the present application across chain data processing system;
Fig. 2 is flow chart across chain data processing method of one of the embodiment of the present application based on block chain;
Fig. 3 is a kind of structural schematic diagram of Mei Keer tree in the embodiment of the present application;
Fig. 4 a to Fig. 4 c is flow chart of one of the application specific embodiment across chain data processing method;
Fig. 5 is a kind of structural block diagram across chain data processing equipment based on block chain in the embodiment of the present application;
Fig. 6 is structural block diagram across chain data processing equipment of the another kind based on block chain in the embodiment of the present application;
Fig. 7 shows the structural block diagram of the server of the application one embodiment offer.
Specific embodiment
To keep the purposes, technical schemes and advantages of the embodiment of the present application clearer, below in conjunction with the embodiment of the present application
In attached drawing, the technical solution of the application is clearly and completely described, it is clear that described embodiment is the application skill
A part of the embodiment of art scheme, instead of all the embodiments.Based on the embodiment recorded in present specification, this field is general
Logical technical staff every other embodiment obtained without creative efforts, belongs to present techniques side
The range of case protection.
Part concept involved in the embodiment of the present application is introduced below.
Block chain technology: refer to using block linked data structure to verify and know together with storing data, using distributed node
Algorithm guarantees the safety of data transmission and access to generate, using by automation foot with more new data, in the way of cryptography
The intelligent contract of this code composition programs the completely new distributed basis framework and calculation of one kind with operation data.
Block chain: block chain is a kind of distributed memory system being safeguarded jointly by multiple nodes and trust.Block chain
A series of chain that bottom is made of blocks, in addition to the data of minute book block also will record upper one piece of Hash on each piece
Value forms the data structure of chain type in this way.One block is made of build and block, and wherein build definition includes being somebody's turn to do
The significant fields such as block height, the cryptographic Hash (prevHash) of a upper block, and the main store transaction data of block.Block chain
Guarantee the safety of data transmission and access in the way of cryptography, and guarantees that data can not be usurped on chain using chain structure
Change.The basic construction model of block chain generally comprises data Layer, network layer, common recognition layer, excitation layer, intelligent contract layer and application layer
Composition.Wherein, the chain type block structure based on timestamp, the common recognition mechanism of distributed node, the economy based on common recognition calculation power swash
Encouraging with the intelligent contract of flexible programmable is the most representative innovative point of block chain technology.Intelligent contract layer is actually to establish
Business logic and algorithm on virtual machine are the bases for realizing block catenary system flexible programming and operation data.
Common recognition: being that the node participated in jointly in block chain network is adopted and reaches an agreement by some way for transaction data.
A kind of data structure of the block chain as storing data in chronological order, can support different common recognition mechanism.Common recognition mechanism is area
The significant components of block chain technology.The target of block chain common recognition mechanism is that all honest nodes is made to save consistent block chain view
Figure, while meeting two attributes: the prefix part of consistency, the block chain that all honesty nodes save is identical;Validity,
By the information of certain honest node publication at last by other all honest nodes records in the block chain of oneself.
Source chain, object chain: source chain is the block chain where across chain data processing request initiator.Object chain is across chain data
Handle the block chain where the recipient of request.In an alternative embodiment, linking sources, which are received, is based on being somebody's turn to do across chain transaction system
In across the chain transaction request that issues of source account, then needing will should transaction money in across chain transaction request in corresponding Transaction Information
Production is transferred to the target account to object chain from source account.
Intelligent contract: i.e. Smart contract is a set of agreement for defining in digital form, propagating, verify or executing,
The agreement of these agreements can be executed above including contract participant.Intelligent contract allow in no third-party situation into
Transaction that row is credible, these transaction are traceable and irreversible.
Across chain: carrying out data communication between different block chains, realize the value interconnection in the block chain world.
Mei Keer tree: also known as Hash tree, a binary tree of cryptographic Hash is stored, by a root node, one group of intermediate node
It is formed with one group of leaf node.Nethermost leaf node includes cryptographic Hash, and each intermediate node is its two child nodes
The cryptographic Hash of content, root node are also to be made of the cryptographic Hash of its two sub- node contents.Meter can efficiently be verified very much
The storage, processing and transmission of any data, are able to confirm that the data received are not destroyed or distort between calculation machine.
In the embodiment of the present application, the first block chain corresponds to source chain, and the second block chain corresponds to object chain, each block chain
It is made of multiple nodes, each node can be receiving node, perhaps handle node or common recognition node etc..The application is implemented
Only function declaration and the citings such as receiving node, processing node, common recognition node in example, without limitation.Any in block chain
Node may be receiving node, processing node or common recognition node, and, it be receiving node there is also same node is again processing
Node perhaps another node be handle node again be common recognition node or another node be receiving node, handle node and
The various possibility of common recognition node etc..First block chain, the second block chain are only intended to distinguish the angle that different blocks chain is played the part of
Color;First block chain refers to a kind of block chain that can be used as source chain, and the second block chain refers to can be used as the one of object chain
Class block chain, and being not specific to a certain block chain is " the first block chain " or " the second block chain ".That is, across chain data processing
Either block chain in system can be used as source chain, and the block chain as source chain can be described as the first block chain;Similarly, same system
Either block chain in system also can be used as object chain, and the block chain as object chain can be described as the second block chain.
Referring to FIG. 1, it illustrates the system architecture diagram across chain data processing system that the application one embodiment provides,
It should include first terminal 11, the first data processing server 12, the first block chain, second terminal in across chain data processing system
14, the second data processing server 15 and the second block chain.In embodiment shown in Fig. 1, the first data processing server
12 and second data processing server 15 can be a server, be also possible to several servers composition server cluster
Or cloud computing center.First block chain supports have in the first block chain including at least one by multiple block chain servers 13
The server of across chain intelligence contract function supports that the server of across chain intelligence contract function can be multiple block chain servers 13
In one or more.Second block chain is supported by multiple block chain servers 16, includes at least one tool in the second block chain
There is the server of across chain intelligence contract function, supports that the server of across chain intelligence contract function can be multiple block chain servers
One or more in 16.Public block chain such as ether mill, super in block chain network with across chain intelligence contract function
Account book Hyperledger, RSK etc..
First terminal 11 and second terminal 14 can be the electronic equipment for having Internet communication capacity, and only example goes out two in figure
A terminal, in fact, passing through the terminal of network connection to the first data processing server 12 or the second data processing server 15
Equipment has very much, and terminal device, which can be mobile phone, tablet computer either dedicated handheld device etc., has wireless communication function
Electronic equipment, be also possible to the access in radio such as personal computer (personal computer, abbreviation PC), laptop
The equipment that mode connects online.
First data processing server 12 can be communicated with first terminal 11, the first block chain by network, network
It can be any one in the communication networks such as local area network, wide area network or mobile Internet.Installation is by first in first terminal 11
The client that data processing server 12 is supported.Client of the first terminal 11 based on installation and the first data processing server 12
It is communicated.
Second data processing server 15 can be communicated with second terminal 14, the second block chain by network, network
It can be any one in the communication networks such as local area network, wide area network or mobile Internet.Installation is by second in second terminal 14
The client that data processing server 15 is supported.Client of the second terminal 14 based on installation and the second data processing server 15
It is communicated.
In this scenario, first terminal 11 can be used as the publisher across chain transaction, by the client of its installation to the
Across chain transaction request is sent in one data processing server 12.First data processing server 12 should across chain transaction request upload
To the first block chain.Second terminal 14 can be used as the target side across chain transaction, receive the second number by the client of its installation
The processing result across chain transaction request sent according to processing server 15.Certainly, first terminal 11 may be to trade across chain
Target side receives the processing result across chain transaction request, second terminal 14 or the publisher across chain transaction request, initiates
Across chain transaction.
It should be noted that application scenarios mentioned above are merely for convenience of understanding spirit herein and principle and showing
Out, the embodiment of the present application is unrestricted in this regard.On the contrary, the embodiment of the present application can be applied to applicable any field
Scape.
In order to make it easy to understand, using the first block chain as source chain in specification, the second block chain is said as object chain
It is bright.
In the prior art, across chain transaction is generally synchronization process.Specifically, source chain is by across chain transaction at the part of source chain
After the completion of reason, across chain transaction request is sent to object chain.Object linking receives across chain transaction request, executes across the chain transaction of completion and exists
Behind the part of object chain, processing result is charged to the account book of object chain, and send across chain trading processing result to source chain.Linking sources
After receiving across chain trading processing result, total processing result is kept accounts, thus across the chain transaction that finishes.Wherein, in the second block chain
The first block chain needs to wait always during handling across chain transaction, cannot handle other transaction.And the second block chain is to
After one block chain sends across chain trading processing result, it is also desirable to which the reply for waiting the first block chain, can just finish across chain transaction.This
There is resource and time waste in across the chain transaction synchronization process mode of kind.
The application is based on block chain technology, and it is asynchronous place that the first block chain and the second block chain, which handle the process traded across chain,
Reason.After first block chain obtains transaction implementing result, transaction implementing result is written in the first account book, is rather than directly to second
Block chain is sent.In this way, the first block chain is fed back without waiting for the processing of the second block chain, other transaction can be continued with,
To save the waiting time of the first block chain, treatment effeciency is improved.And second block chain without handing at once across chain
It is easily handled, the processing pressure of the second block chain can be balanced with processing time of the flexible arrangement each across chain transaction.Together
Reason, the second block chain is executed trades to obtain transaction implementing result across chain after, transaction implementing result is charged in the second account book, by the
One block chain monitors the second account book, determines in suitable the second operating result of time-triggered protocol, so as to be selected by the first block chain
Processing opportunity is selected, more flexibly, and the process performance of data under across chain scene is improved, saves the time.
To solve the above-mentioned problems, below with reference to application scenarios shown in FIG. 1, area is based on to provided by the embodiments of the present application
Across the chain data processing method of block chain is illustrated.
Referring to FIG. 2, the embodiment of the present application provides a kind of across chain data processing method based on block chain, such as Fig. 2 institute
Show, method includes:
Step the S201: the first block chain determines data processing content according to across the chain data processing request received.
Wherein, first comprising the first across chain intelligence contract being deployed in the first block chain in data processing content calls
Second call address of address and the second across chain intelligence contract being deployed in the second block chain, the first across chain intelligence contract with
Second across chain intelligence contract is corresponding.First across chain intelligence contract is deployed in the first block chain, the second across chain intelligence contract portion
It is deployed in the second block chain.
The deployment of intelligent contract can be understood as the contract that will be appointed and approve that deployment exists through the common recognition of block chain network
In block chain;The operation of intelligent contract can be understood as executing contract automatically when checking and meeting contract execution condition and will transport
Row result is recorded in block chain.In simple terms, intelligent contract is exactly the digitized version of traditional contract.They are in block chain
The computer program run on database, when condition that can be written in meeting its source code, voluntarily execute.Intelligence and about one
Denier, which writes, to be trusted by user, and agreement terms cannot be changed.Specifically, before executing across chain data processing,
It can state to have developed in across chain intelligence contract with across the chain intelligence contract of joint consultation between first block chain and the second block chain
At across chain intelligence contract program (such as the program code that can be some functional dependences called).Then in the first block
The first across chain intelligence contract is issued in chain, and common recognition processing is carried out by the node device in the first block chain;It, can after common recognition passes through
The first across chain intelligence contract is included the distributed data base stored to the first block chain, to complete the portion of the first intelligent contract
Administration.Meanwhile the second across chain intelligence contract is issued in the second block chain, common recognition is carried out by the node device in the second block chain
Reason;After common recognition passes through, the second across chain intelligence contract can be included into the distributed data base stored to the second block chain, with complete
At the deployment of the second across chain intelligence contract.
It should be noted that pertaining only to two block chains in the embodiment of the present application, but across the chain number in the embodiment of the present application
Across the chain data processing system of multiple block chains is also applied for according to processing method.There is the case where multiple block chains in systems
Under, it can hold consultation for all block chains, and a across chain intelligence contract is disposed on each block chain, so that system
In any block chain between can be performed across chain transaction.
In specific implementation process, receiving node in the first block chain receive across chain transaction request after, to the request
It is parsed, determines transaction content.The first across chain intelligence that application layer in transaction content comprising the first block chain is disposed is closed
The application layer station address of the first call address, the first block chain about, the second block chain ID, corresponding on the second block chain
The second call address and operating method and operation input parameter of two across chain intelligence contracts.
It should be noted that the receiving node, processing node, common recognition node etc. in the embodiment of the present application are only function declaration
And citing, without limitation.Any node in block chain may be receiving node, handle node or common recognition node, and, also deposit
Same node be receiving node not only be processing node perhaps another node be handle node again be know together node or
Another node is the various possibility of receiving node, processing node and node etc. of knowing together.
Step the S202: the first block chain calls the first across chain intelligence contract according to the first call address, executes data processing
The first operation corresponding with the first block chain, obtains the first operating result in content.
In specific implementation process, for the processing node of the first block chain according to the first call address, calling is deployed in the firstth area
The first across chain intelligence contract on block chain executes the first operation corresponding with the first block chain in operating method.Operating method can
For example to transfer accounts, withhold, operation input parameter such as transfer amounts, deducted amount etc..Handle node by first operation and
Operation input parameter inputs in the first across chain intelligence contract, and the first across chain intelligence contract executes transaction, and the first transaction of output executes
As a result, across a chain transaction ID is distributed simultaneously, the secondth area in the above-mentioned first transaction implementing result of binding, data processing content
Block chain ID, the second call address on the second block chain, operating method and operation input parameter etc., and above-mentioned transaction is executed into shape
State and content are cached.
After step the S203: the first block chain reaches common understanding to the first operating result, data processing content and first are grasped
Make result and the first account book is written.
In specific implementation process, all nodes in the first block chain need to know together to the first transaction implementing result, when
After common recognition passes through, node is handled by the first transaction implementing result and the second block chain ID, the second call address, operating method etc.
Transaction content is written in the first account book of the first block chain.
Step the S204: the second block chain is known when the first operating result is written in the first account book of the first block chain, from
Data processing content is obtained in one account book.
Here, the second block chain knows that the first account book updates, and can actively supervise to the first account book for the second block chain
It listens, or the second block chain passively learns that the first account book updates.Second block chain actively monitors the first account book, such as the
Two block chains check the state of the first account book according to preset frequency, determine new transaction content whether is added in the first account book.
After second block chain passively learns that the first account book updates, such as the first block chain has updated the first account book, sent out to the second block chain
One is sent to check request, the second block chain can reply the message acknowledged receipt of, but the secondth area to the first block chain at once
Block chain does not check the first account book immediately, but at suitable time point, such as when the second block chain free time or daily regulation
Period checks and obtains the transaction content in the first account book.In this way, the second block chain can flexibly control processing transaction when
Machine, and the first block chain can continue with other transaction without the processing result for waiting the second block chain.
Step the S205: the second block chain calls the second across chain intelligence contract according to the second call address, executes data processing
The second operation corresponding with the second block chain, obtains the second operating result in content.
Specifically, after the second block chain obtains the data processing content in the first account book, the processing section of the second block chain
Point calls the second across chain intelligence contract being deployed on the second block chain according to the second call address in data processing content,
Execute the second operation corresponding with the second block chain in operating method.Operating method can be such as input fund, operation input
Parameter is for example transferred to amount of money etc..Node is handled to input the second operation and operation input parameter in the second across chain intelligence contract,
Second across chain intelligence contract executes transaction, output the second transaction implementing result, and above-mentioned second transaction implementing result is delayed
It deposits.
After step the S206: the second block chain reaches common understanding to the second operating result, the second account is written into the second operating result
This.
In specific implementation process, all nodes in the second block chain need to know together to the second transaction implementing result, when
After common recognition passes through, the second transaction implementing result is written in the second account book of the second block chain processing node.Preferably, in order to just
In identification, the second transaction implementing result is also bound with across chain transaction ID.
When the second operating result is written in the second account book for knowing the second block chain in step the S207: the first block chain, from
Second account book obtains the second operating result.
Similarly, the first block chain knows that the second account book updates, and can actively supervise to the second account book for the first block chain
It listens, or the first block chain passively learns that the second account book updates, and is not described herein.
The first account book is written in second operating result by step the S208: the first block chain.
In the embodiment of the present application, the first block chain determines that across chain data are asked after receiving across chain data processing request
Seek the data processing content of middle carrying.The first across chain intelligence contract in data processing content comprising being deployed in the first block chain
The first call address and the second across chain intelligence contract being deployed in the second block chain the second call address, wherein
One across chain intelligence contract is corresponding with the second across chain intelligence contract.It is corresponding by being disposed on the first block chain and the second block chain
Across chain intelligence contract, the processing of affairs between Lai Shixian different blocks chain.First block chain is according in data processing content
First call address calls the first across chain intelligence contract, and executes the first operation by the first across chain intelligence contract, obtains the
One operating result.First operation is transactional operation corresponding with the first block chain in data processing content.To in the first block chain
All nodes reach common understanding to the first operating result after, the first block chain writes data processing content and the first operating result
Enter the first account book.To which the second block chain can obtain data processing content from the first account book, and according to data processing content
In the second call address call the second across chain intelligence contract, Lai Zhihang second operate, obtain the second operating result.Second operation
For transactional operation corresponding with the second block chain in data processing content.It is operated to all nodes in the second block chain to second
As a result after reaching common understanding, the second account book is written in the second operating result by the second block chain.In this way, the first block chain is knowing second
When the second operation is written into the second account book for block chain, the second operating result can be obtained from the second account book, and second is grasped
Make result to be written in the first account book.In the embodiment of the present application, the first block chain and the second block chain handle the process traded across chain
For asynchronous process.After first block chain obtains the first operating result, the first operating result is written in the first account book, rather than it is straight
It connects to the second block chain and sends.In this way, the first block chain can continue with it without waiting for the processing result of the second block chain
It trades, to improve treatment effeciency, saves the time.And second block chain without at once to across chain transaction at
Reason can balance the processing pressure of the second block chain with processing time of the flexible arrangement each across chain transaction.Meanwhile secondth area
After block chain obtains the second operating result, the second operating result is charged in the second account book, the second account book is monitored by the first block chain,
It determines in suitable the second operating result of time-triggered protocol, so as to select processing opportunity by the first block chain, more flexibly, and
The process performance for improving data under across chain scene, saves the time.
In order to guarantee the consistency of data processed result in the first block chain and the second block chain, the first block chain needs pair
Second operating result is detected.That is after above-mentioned steps S207, further includes:
First block chain detects the second operating result;
If the second operating result is consistent with data processing content, the behaviour that the second operating result is written to the first account book is executed
Make;
If the second operating result is not consistent with data processing content, rolling back action is executed to the first operating result.
In specific implementation process, there are the second block chains to execute the possibility to fail to the second operation.In this case,
The common recognition node of one block chain be can detecte out in the second operating result and data processing by the detection to the second operating result
Appearance is not consistent, i.e. the second operating result is different from the implementing result of the first block chain, then it is assumed that the second operation of the second block chain
As a result wrong, the first block chain needs to carry out rollback to the first operating result, to guarantee the first block chain and the second block chain
Data consistency.
In addition, in order to guarantee legitimacy across chain transaction request and the legitimacy across chain transaction, the first block chain according to
Across the chain data processing request received, after determining data processing content, further includes:
First block chain detects the digital signature in across chain data processing request;
First block chain calls first to manage intelligent contract, detects to the legitimacy of data process content;
If detecting successfully, calls the first across chain intelligence contract to execute the first operation, obtain the first operating result;
If detection failure, by data processing content-label failure result.
It specifically, also include the digital signature of the initiator across chain data processing request in across chain data processing request.
After first block chain receives across chain data processing request, common recognition node digital signature therein is detected, if detection at
Function just carries out subsequent processing, if detection failure, directly should across chain data processing request label failure result, and to across chain
The initiator's feeding back unsuccessful result and failure cause of data processing request.
After digital signature detects successfully, the first block chain also calls the intelligent contract of the first management to data process content
Legitimacy is tested.Specifically, it can detecte and whether deploy across chain intelligence contract on the first block chain, the first block chain
Whether application layer station address is legal, and whether application layer user balance pays across chain tranaction costs etc. enough on the first block chain.
In the case where detection passes through, then the first across chain intelligence contract is called to execute the first operation.Any one detection is obstructed if it exists
The case where crossing, then should across chain data processing request identify failure result, and to initiator's feeding back unsuccessful across chain request of data
And failure cause as a result.
Above-mentioned first, which manages intelligent contract, is also deployed on the first block chain, with the function of the first across chain intelligence contract with
And effect is different.First across chain intelligence contract is mainly used for executing across chain transaction, and building mono- Mei Keer tree.First
The main function for managing intelligent contract is the legitimacy of inspection data, and whether inspection data is tampered, guarantee the accurate of data and
Safety.
It should be noted that the management intelligence contract in the embodiment of the present application is functional restriction.Manage intelligent contract
The general designation that can be multiple intelligent contracts, for example, the inspection for digital signature in trading across chain deploys on the first block chain
One intelligent contract, the inspection for across chain transaction legitimacy are deployed an intelligent contract, are detected for using Mei Keer tree
Whether data, which are tampered, deploys an intelligent contract, then above three contract is referred to as the first management intelligence contract.It is another
In possible embodiment, first manage intelligent contract may be the same intelligent contract and meanwhile can to digital signature, across chain
Transaction legitimacy and Mei Keer tree are tested.In addition, managing intelligent contract also can have other functions, for example, to across
Chain intelligence contract is managed, and the embodiment of the present application is without limitation.
Further, on the one hand in order to prevent across chain transaction be tampered during transmission, on the other hand need to guarantee across
Chain transaction will not malfunction in transmission process.In a kind of optional embodiment, block chain is according to the implementing result structure traded across chain
Mei Keer tree is built, and is verified using Mei Keer tree.Traditional method is will to trade to be encrypted, and is then passed
It is defeated, it is decrypted at receiving node.However since encrypted communication is frequent, trading volume is larger, the management of frequent encryption and decryption and key
It is all relative complex, therefore conventional approach cannot be used, and the transaction List Table for the use of both solving transmission of Mei Keer tree is correct
The problem of property, and reduce transmission link, to accelerate bulk velocity.By constructing Mei Keer tree, passed carrying out across chain transaction
It is subsidiary to transmit Mei Keer tree together in defeated process.In recipient, the root node of Mei Keer tree is only verified.If occurring
It distorts, then the root node of Mei Keer tree will change, and the transaction letter distorted can be found by binary chop
Breath.
Specifically, step the S202: the first block chain calls the first across chain intelligence contract according to the first call address, executes number
According to the first operation corresponding with the first block chain in process content, after obtaining the first operating result, further includes:
First block chain calls the first across chain intelligence contract, is based on data processing content and the first operating result, building
Mono- Mei Keer tree;
The first account book is written in the root node of mono- Mei Keer tree by the first block chain.
By taking Mei Keer tree as shown in Figure 3 as an example, specific configuration method is as follows:
The cryptographic Hash of All Activity data is calculated, for example, using the first operating result as data 1, in data processing content
Second block chain ID calculates separately the first behaviour as data 4 as data 3, operating method as data 2, the second call address
Make the cryptographic Hash of result, the cryptographic Hash of the second block chain ID, the cryptographic Hash of the second call address, the cryptographic Hash of operating method, obtains
To 4 nodes of Mei Keer tree, respectively node 1-1, node 1-2, node 1-3 and node 1-4.Wherein, hash () is that will count
According to execution Hash operation.Above-mentioned node 1-1, node 1-2, node 1-3 and node 1-4 are the leaf node of Mei Keer tree.According to
The secondary cryptographic Hash by two adjacent leaf nodes is merged into a character string, then calculates the cryptographic Hash of this character string,
Father node of the acquired cryptographic Hash as two leaf nodes.Such as Fig. 3, node 1-1 and node 1-2 are merged into a character
String, calculates the cryptographic Hash of this character string, and as the value of node 2-1, the father that interior joint 2-1 is node 1-1 and node 1-2 is saved
Point.It successively constructs upwards, if certain layer of node number is odd number, by the layer, the last one node is replicated, and gathers into idol
Aforementioned father node cryptographic Hash calculating process is executed after several nodes.The above process is executed repeatedly, until obtaining a single root
Node, the root node of root node Shi Mei Keer tree, entire data structure is Mei Keer tree construction.
First block chain calls the first across chain intelligence contract, constructs mono- Mei Keer tree according to the above method, i.e., will count
It is inputted in the first across chain intelligence contract according to the data such as process content and the first operating result, the first across chain intelligence contract is based on upper
It states construction method and constructs mono- Mei Keer tree, and export the root node of mono- Mei Keer tree, then by the root of mono- Mei Keer tree
Node is written in the first account book.
Later, the second block chain is known in the first account book of the first block chain and is written after the first operating result, further includes:
Second block chain obtains the root node of mono- Mei Keer tree from the first account book;
Second block chain calls second to manage intelligent contract, using the root node of mono- Mei Keer tree to data process content
And first operating result detected.
In specific implementation process, the second block chain is after the root node for obtaining mono- Mei Keer tree in the first account book, benefit
The data processing content of acquisition and the first operating result are detected with the root node of mono- Mei Keer tree, determined at data
Reason content and the first operating result are not tampered with.Specially the second block chain calls second to manage intelligent contract, according to above-mentioned
The mode of building Mei Keer tree again pulls up a Mei Keer tree to the data processing content and the first operating result that receive,
Then the newly-built root node of Mei Keer tree and the root node of mono- Mei Keer tree are compared.If the two is identical, show
Data processing content and the first operating result are not tampered with;If the two is different, show data processing content and the first behaviour
Make there are data to be tampered in result, then stop subsequent processing, sends alarm information to the first block chain.
On the other hand, the second block chain also to the second operating result construct Mei Keer tree, thus prevent the first block chain from
The data obtained in second block chain are tampered.
Second block chain calls the second across chain intelligence contract according to two call address in data processing content, executes data
The second operation corresponding with the second block chain in process content, after obtaining the second operating result, further includes:
Second block chain calls the second across chain intelligence contract, is based on the second operating result, constructs bis- Mei Keer tree;
The second account book is written in the root node of bis- Mei Keer tree by the second block chain.
Specifically, the second block chain executes completion to the second operation, after obtaining the second operating result, based on the second operation
As a result, and other information for needing to be synchronized to the first block chain, construct bis- Mei Keer tree, for preventing the second operating result
It is tampered.Second block chain calls the second across chain intelligence contract, and the data such as the second operating result and other related datas are defeated
Enter in the second across chain intelligence contract, the second across chain intelligence contract is based on above-mentioned construction method and constructs bis- Mei Keer tree, and defeated
The root node of bis- Mei Keer tree out, then the root node of bis- Mei Keer tree is written in the second account book.Bis- Mei Keer tree
Specific construction method is not described herein referring to the construction method of above-mentioned Mei Keer tree.
It is written after the second operating result in this way, the first block chain is known in the second account book of the second block chain, further includes:
First block chain obtains the root node of bis- Mei Keer tree from the second account book;
First block chain detects the second operating result, comprising:
First block chain calls first to manage intelligent contract using the root node of bis- Mei Keer tree to the second operating result
It is detected.
Specifically, after the first block chain determines the relevant content update of across the chain data processing request of this in the second account book,
The root node of bis- Mei Keer tree is obtained from the second account book.Data processing using the root node of mono- Mei Keer tree to acquisition
Content and the first operating result are detected, and determine that data processing content and the first operating result are not tampered with.Specially
Second block chain in the way of above-mentioned building Mei Keer tree to the data processing content and the first operating result received again
Then one Mei Keer tree of secondary building carries out the newly-built root node of Mei Keer tree and the root node of mono- Mei Keer tree pair
Than.If the two is identical, show that data processing content and the first operating result are not tampered with;If the two is different, show to count
According to there are data to be tampered in process content and the first operating result, then stop subsequent processing, sends and alert to the first block chain
Message.
First block chain knows that the method that the second operating result is written in the second account book of the second block chain can be for actively
Know, or passively know.Preferably, being here the first block chain pair to increase the flexibility across chain trading processing
Second account book is monitored, and is specifically included:
First block chain checks the Status Flag of the second account book according to setpoint frequency;
First block chain discovery Status Flag changes, it is determined that the second operating result is written in the second account book.
In implementation process, Status Flag can be arranged for the second account book in the second block chain, such as sets in the second account book
Flag bit is set, includes two character modes.If the data information recorded in the second account book changes, by tab character by working as
Preceding character changes into another character.First block chain monitors the tab character of the second account book, i.e., by the second account book
Tab character and the first block chain in the tab character that caches compare, if the two is identical, show the mark of the second account book
Character is not changed, then the content of the second account book is not also changed;If the two is different, the content of the second account book is changed, the
Second operating result is written with the second account book by two block chains, so that the first block chain obtains the second operation knot from the second account book
Fruit, and the tab character in the first block chain is also accordingly changed.
It is exemplified below, current character is 1 on the flag bit of the second account book.When the second block chain is by the second operating result
When the second account book is written, the character on flag bit is changed to 0 by 1 by the second block chain.It is corresponding with the second account book in first block chain
Tab character be still 1.In this way, finding the tab character of the second account book during the first block chain monitors the second account book
When inconsistent with the tab character that caches in the first block chain, determine that transaction data changes in the second account book, then from second
The second operating result is obtained in account book, and the tab character cached in the first block chain is also changed to 0 by 1.
Further, it is specifically written with which the second operating result across chain transaction in order to identify, the second block chain is also
Status Flag and the mark across chain transaction can be bound, to mutually be distinguished with other across chain transaction.
Corresponding, the second block chain, which is known, is written the first operating result in the first account book, comprising:
Second block chain checks the Status Flag of the first account book according to setpoint frequency;
Second block chain discovery Status Flag changes, it is determined that the first operating result is written in the first account book.
In implementation process, Status Flag can be arranged for the first account book in the first block chain, such as sets in the first account book
Flag bit is set, includes two character modes.If the data information recorded in the first account book changes, by tab character by working as
Preceding character changes into another character.Second block chain monitors the tab character of the first account book, i.e., by the first account book
Tab character and the second block chain in the tab character that caches compare, if the two is identical, show the mark of the first account book
Character is not changed, then the content of the first account book is not also changed;If the two is different, the content of the first account book is changed, the
First operating result is written with the first account book by one block chain, so that the second block chain obtains the first operation knot from the first account book
Fruit, and the tab character in the second block chain is also accordingly changed.
It is described in detail below with specific embodiment to above-mentioned process, the application scenarios of specific embodiment are that user a exists
Bank account is offered in bank M, and user a offers game account in game company N, bank M maintenance has the first block
Chain, game company's N-dimensional shield have the second block chain, and the application layer of the first block chain is deployed with the first across chain intelligence contract, and second
The application layer of block chain is deployed with the second across chain intelligence contract, and the first across chain intelligence contract is opposite with the second across chain intelligence contract
It answers.User a needs to transfer accounts from bank account to game account, and x is first, then user a sends one to bank M by cell phone application and transfers accounts
Application, bank M then generate across a chain transaction request according to the application of transferring accounts, are uploaded to the first block chain.Therefore, the first block
Chain is the source chain across chain transaction request, and the second block chain is object chain.Source chain by across the chain transaction request source chain transaction
After the completion of execution, i.e., provides funds x member from the bank account transfer of user a, the transaction implementing result of source chain is written to the account of source chain
In this.Object chain is monitored the account book of source chain, carries out the account book of the account book of object chain and source chain in the suitable period
It is synchronous, to obtain transaction content of across the chain transaction request on object chain.Object chain should across chain transaction request in object chain
Transaction execute after the completion of, i.e., game asset y are transferred into the game account of user a, wherein game asset y equal to fund
X member.And it will be in the account book of the transaction implementing result of source chain write-in source chain.Source chain is monitored the account book of object chain, suitable
Period the account book of the account book of source chain and object chain is synchronized, to obtain object chain to the processing result of transaction.Source
The processing result of object chain is synchronized in the account book of source chain by chain.In addition, source chain is to source chain account book if object chain processing failure
On transaction implementing result carry out rolling back action.
In above-mentioned application scenarios, source chain handles the process across chain transaction request as shown in fig. 4 a, comprising:
Step S401: source chain determines across chain transaction content by calling intelligent contract to parse across chain transaction request.Wherein,
Across chain transaction content includes the address of the first across chain intelligence contract, account P address, object chain ID, the second across chain intelligence in application layer
It can contract address, operating method and operation input parameter.It further include the digital signature for having bank M in across chain transaction request.
Step S402: source chain verifies the legitimacy of the digital signature;If verification passes through, S403 is thened follow the steps, is otherwise held
Row step S404.
Step S403: source chain calls first to manage intelligent contract, detects the legitimacy across chain transaction content, comprising: source chain
Whether deploy across chain intelligence contract, whether account P address legal in application layer, in account P remaining sum whether enough payment across chain
Tranaction costs etc..If detecting successfully, S405 is thened follow the steps, it is no to then follow the steps S404.
Step S404: source chain will be labeled as failure across the processing result of chain transaction request, and cache.Step is executed later
S407。
Step S405: source chain call the first across chain intelligence contract, execute transaction content in the first operating method, here for
" producing fund x member ", obtained the first operating result caching, and across a chain transaction id is distributed simultaneously, bind above-mentioned across chain friendship
The contents such as easy operating parameter, object chain ID, the second across chain intelligence contract address.Meanwhile corresponding mono- Mei Keer tree is generated,
The root node of mono- Mei Keer tree is cached.
Step S406: it after source chain is to the content common recognition of caching, by the first account book of the content write-in source chain of caching, and changes
The Status Flag of first account book.
Step S407: after source chain is to the content of caching common recognition, by the first account book of the content write-in source chain of caching, and to silver
Row M feedback processing failure result terminates process.
It is as shown in Figure 4 b that object chain handles the process across chain transaction request, comprising:
Step S408: object chain monitors the Status Flag of the first account book, determines that the Status Flag of the first account book changes.
Step S409: object chain obtains across chain transaction content, the first operating result and the first plum gram from the first account book
The root node of your tree.
Step S410: object chain calls second to manage intelligent contract, detects across chain transaction content, comprising: object chain ID is
Whether whether correct, across the chain transaction content of correct, operating parameter and first operates knot for no correct, the second across chain intelligence contract address
Whether fruit passes through the verification of Mei Keer tree.If detection passes through, S412 is thened follow the steps, if detection does not pass through, is thened follow the steps
S411。
Step S411: object chain will be labeled as failure across the processing result of chain transaction request, and cache.Step is executed later
S413。
Step S412: object chain calls the second across chain intelligence contract, executes the operating method formulated in across chain transaction content,
The second operating result is obtained, and bis- Mei Keer tree is constructed based on the second operating result, by the second operating result and the second plum gram
The root node caching of your tree.
Step S413: the second account book is written after reaching common understanding, by cache contents in object chain, and changes the shape of the second account book
State mark.
Source chain continues with the process across chain transaction request as illustrated in fig. 4 c, comprising:
Step S414: source chain monitors the Status Flag of the second account book, determines that the Status Flag of the second account book changes.
Step S415: source chain obtains the root node of the second operating result and bis- Mei Keer tree from the first account book.If
Second operating result is processing failure, thens follow the steps S417, no to then follow the steps S416.
Step S416: source chain calls first to manage intelligent contract, is operated using the root node of bis- Mei Keer tree to second
As a result it tests.If upchecking, step S418 is executed, it is no to then follow the steps S417.
Step S417: the first operating result in the first account book is executed rolling back action by source chain, and to bank's M feedback processing
Failure result, and terminate process.
Step S418: the first account book is written in the second operating result by source chain, and to bank M feedback processing successful result, and
Terminate process.
In above-mentioned process, step S401- step S407 and step S408- step S413 and step S408- step S413
It is asynchronous process between step S413- step S418, i.e. source chain (or object chain) account that processing result is charged to block chain
In this, without waiting for the processing result of other side.To improve the execution efficiency across chain transaction, overall processing is saved
Duration.
It is following that the details of description not detailed in Installation practice can be referred to above-mentioned for the application Installation practice
One-to-one embodiment of the method.
Referring to FIG. 5, it illustrates the knots across chain data processing based on block chain that the application one embodiment provides
Structure block diagram.Across the chain data processing equipment is implemented in combination with by hardware or software and hardware as block chain server in Fig. 1
13 all or part.The device includes: first acquisition unit 501, the first execution unit 502 and the first writing unit
503。
First acquisition unit 501, for determining data processing content, institute according to across the chain data processing request received
State in data processing content comprising the first call address of the first across chain intelligence contract for being deployed in the first block chain with
And the second call address of the second across chain intelligence contract being deployed in the second block chain, first across the chain intelligence contract and institute
It is corresponding to state the second across chain intelligence contract;
First execution unit 502 is used to call the first across chain intelligence contract according to first call address, described in execution
The first operation corresponding with the first block chain, obtains the first operating result in data processing content;
First writing unit 503, after reaching common understanding to first operating result, by the data processing content with
And the first account book is written in first operating result;
The first acquisition unit 501 is also used to be written the second operation knot in the second account book for knowing the second block chain
When fruit, obtain second operating result from second account book, second operating result be the second block chain according to
Second call address call the second across chain intelligence contract execute in the data processing content with the second block chain pair
What the second operation answered obtained;
First writing unit 503 is also used to second operating result first account book is written.
In a kind of optional embodiment, further includes first detection unit 504, is used for:
Second operating result is detected;
If second operating result is consistent with the data processing content, first execution unit executes will be described
The operation of first account book is written in second operating result;
If second operating result is not consistent with the data processing content, first execution unit is to described
One operating result executes rolling back action.
In a kind of optional embodiment, first execution unit 502 is also used to that the described first across chain intelligence is called to close
About, process content and first operating result based on the data construct mono- Mei Keer tree;
First writing unit 503 is also used to the root node of the mono- Mei Keer tree first account book is written;
The first acquisition unit 501 is also used to obtain the root node of bis- Mei Keer tree, institute from second account book
Stating bis- Mei Keer tree is that the second block chain calls second across the chain intelligence contract to be based on the second operating result structure
It builds;
The first detection unit 504 is also used to call the first management intelligence contract, utilizes the bis- Mei Keer tree
Root node detects second operating result.
In a kind of optional embodiment, the first detection unit 504 is also used to:
Digital signature in across the chain data processing request is detected;
It calls first to manage intelligent contract, the legitimacy of the data processing content is detected;
If detecting successfully, first execution unit calls the described first across chain intelligence contract to execute first behaviour
Make, obtains the first operating result;
If detection failure, first writing unit is by the data processing content-label failure result.
In a kind of optional embodiment, the first acquisition unit 501 is specifically used for:
The Status Flag of second account book is checked according to setpoint frequency;
It was found that the Status Flag changes, it is determined that second operating result is written in second account book.
Referring to FIG. 6, it illustrates the knots across chain data processing based on block chain that the application one embodiment provides
Structure block diagram.Across the chain data processing equipment is implemented in combination with by hardware or software and hardware as block chain server in Fig. 1
16 all or part.The device includes: second acquisition unit 601, the second execution unit 602 and the second writing unit
603。
Second acquisition unit 601, when the first operating result is written in the first account book for knowing the first block chain, from institute
It states and obtains the data processing content in the first account book;Comprising being deployed in the first block chain in the data processing content
The first across chain intelligence contract the first call address and be deployed in the second block chain the of the second across chain intelligence contract
Two call address, first across the chain intelligence contract is corresponding with the described second across chain intelligence contract, first across the chain intelligence
Contract is deployed in the first block chain, and second across the chain intelligence contract is deployed in the second block chain;
Second execution unit 602 is used to call the second across chain intelligence contract according to second call address, described in execution
The second operation corresponding with the second block chain, obtains the second operating result in data processing content;
Second writing unit 603 writes second operating result after reaching common understanding to second operating result
Enter the second account book.
In a kind of optional embodiment, the second acquisition unit 601 is also used to obtain first from first account book
The root node of Mei Keer tree, the mono- Mei Keer tree are that the first block chain calls first across the chain intelligence contract to be based on
What the data processing content and first operating result constructed;
Further include second detection unit 604, for calling second to manage intelligent contract, utilizes the mono- Mei Keer tree
Root node detects the data processing content and first operating result;
Second execution unit 602 is also used to call the described second across chain intelligence contract, based on the second operation knot
Fruit constructs bis- Mei Keer tree;
Second writing unit 603 is also used to the root node of the bis- Mei Keer tree second account book is written.
In a kind of optional embodiment, the second acquisition unit 601 is specifically used for:
The Status Flag of first account book is checked according to setpoint frequency;
It was found that the Status Flag changes, it is determined that first operating result is written in first account book.
Referring to FIG. 7, the structural block diagram of the server provided it illustrates the application one embodiment.The server
700 are embodied as block chain server 13 or block chain server 16 in Fig. 1.Specifically:
Server 700 includes central processing unit (CPU) 701 including random access memory (RAM) 702 and read-only deposits
The system storage 704 of reservoir (ROM) 703, and the system bus of connection system storage 704 and central processing unit 701
705.The server 700 further includes the basic input/output that information is transmitted between each device helped in computer
(I/O system) 706, and massive store for storage program area 713, application program 714 and other program modules 715 are set
Standby 707.
The basic input/output 706 includes display 708 for showing information and inputs letter for user
The input equipment 709 of such as mouse, keyboard etc of breath.Wherein the display 708 and input equipment 709 are all by being connected to
The input and output controller 710 of system bus 705 is connected to central processing unit 701.The basic input/output 706
Can also include input and output controller 710 with for receive and handle from keyboard, mouse or electronic touch pen etc. it is multiple its
The input of his equipment.Similarly, input and output controller 710 also provides output to display screen, printer or other kinds of defeated
Equipment out.
The mass-memory unit 707 is by being connected to the bulk memory controller (not shown) of system bus 705
It is connected to central processing unit 701.The mass-memory unit 707 and its associated computer-readable medium are server
700 provide non-volatile memories.That is, the mass-memory unit 707 may include such as hard disk or CD-ROM
The computer-readable medium (not shown) of driver etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer
Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage
The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes
RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape
Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that the computer storage medium
It is not limited to above-mentioned several.Above-mentioned system storage 704 and mass-memory unit 707 may be collectively referred to as memory.
According to the various embodiments of the application, the server 700 can also be arrived by network connections such as internets
Remote computer operation on network.Namely server 700 can be by the network interface that is connected on the system bus 705
Unit 711 is connected to network 712, in other words, Network Interface Unit 711 also can be used be connected to other kinds of network or
Remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in
In memory, the one or more programs include the finger for carrying out method provided by the embodiments of the present application of registering
It enables.
Those of ordinary skill in the art will appreciate that all or part of the steps in the method for registering of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random
Access Memory), disk or CD etc..
Those of ordinary skill in the art will appreciate that all or part of the steps in the method for registering of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can store in computer readable storage medium, and storage is situated between
Matter may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access
Memory), disk or CD etc..
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
The foregoing is merely the preferred embodiments of the application, not to limit the application, it is all in spirit herein and
Within principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.
Claims (10)
1. a kind of across chain data processing method based on block chain, which is characterized in that the described method includes:
First block chain determines data processing content, the data processing content according to across the chain data processing request received
In comprising the first call address of the first across chain intelligence contract for being deployed in the first block chain and be deployed in the secondth area
Second call address of the second across chain intelligence contract in block chain, first across the chain intelligence contract and the described second across chain intelligence
Contract is corresponding;
The first block chain calls the first across chain intelligence contract according to first call address, executes in the data processing
Corresponding first operation of first block chain described in Rong Zhongyu, obtains the first operating result;
After the first block chain reaches common understanding to first operating result, by the data processing content and described first
The first account book is written in operating result;
When the second operating result is written in the second account book for knowing the second block chain in the first block chain, from second account
This acquisition second operating result, second operating result are the second block chain according to the second call address tune
Execute what the second operation corresponding with the second block chain in the data processing content obtained with the second across chain intelligence contract;
First account book is written in second operating result by the first block chain.
2. the method as described in claim 1, which is characterized in that the first block chain obtain second operating result it
Afterwards, further includes:
The first block chain detects second operating result;
If second operating result is consistent with the data processing content, executing will be described in second operating result write-in
The operation of first account book;
If second operating result is not consistent with the data processing content, rollback behaviour is executed to first operating result
Make.
3. method according to claim 2, which is characterized in that the first block chain is called according to first call address
First across chain intelligence contract executes the first operation corresponding with the first block chain in the data processing content, obtains the
After one operating result, further includes:
The first block chain calls first across the chain intelligence contract, based on the data process content and first behaviour
Make as a result, building mono- Mei Keer tree;
First account book is written in the root node of the mono- Mei Keer tree by the first block chain;
The first block chain, which is known in the second account book of the second block chain, to be written after the second operating result, further includes:
The first block chain obtains the root node of bis- Mei Keer tree from second account book, and the bis- Mei Keer tree is
The second block chain calls the described second across chain intelligence contract to construct based on second operating result;
The first block chain detects second operating result, comprising:
The first block chain calls first to manage intelligent contract, using the root node of the bis- Mei Keer tree to described second
Operating result is detected.
4. the method as described in claim 1, which is characterized in that the first block chain is according to across the chain data processing received
Request, after determining data processing content, further includes:
The first block chain detects the digital signature in across the chain data processing request;
The first block chain calls first to manage intelligent contract, detects to the legitimacy of the data processing content;
If detecting successfully, calls the described first across chain intelligence contract to execute first operation, obtain the first operating result;
If detection failure, by the data processing content-label failure result.
5. such as the described in any item methods of Claims 1-4, which is characterized in that the first block chain knows the second block chain
The second account book in the second operating result is written, comprising:
The first block chain checks the Status Flag of second account book according to setpoint frequency;
The first block chain finds that the Status Flag changes, it is determined that second behaviour is written in second account book
Make result.
6. a kind of across chain data processing method based on block chain, which is characterized in that the described method includes:
Second block chain is known when the first operating result is written in the first account book of the first block chain, obtains from first account book
Take the data processing content;The first across chain intelligence in the data processing content comprising being deployed in the first block chain
Second call address of the first call address of contract and the second across chain intelligence contract being deployed in the second block chain, it is described
First across chain intelligence contract is corresponding with the described second across chain intelligence contract, and first across the chain intelligence contract is deployed in described
In one block chain, second across the chain intelligence contract is deployed in the second block chain;
The second block chain calls the second across chain intelligence contract according to second call address, executes in the data processing
Corresponding second operation of second block chain described in Rong Zhongyu, obtains the second operating result;
After the second block chain reaches common understanding to second operating result, the second account is written into second operating result
This.
7. method as claimed in claim 6, which is characterized in that the second block chain knows the first account book of the first block chain
After the first operating result of middle write-in, further includes:
The second block chain obtains the root node of mono- Mei Keer tree from first account book, and the mono- Mei Keer tree is
The first block chain calls first across the chain intelligence contract process content and the first operation knot based on the data
Fruit building;
The second block chain calls second to manage intelligent contract, using the root node of the mono- Mei Keer tree to the data
Process content and first operating result are detected;
The second block chain calls the second across chain intelligence contract according to the second call address in the data processing content, holds
The second operation corresponding with the second block chain, after obtaining the second operating result, is also wrapped in the row data processing content
It includes:
The second block chain calls second across the chain intelligence contract, is based on second operating result, constructs the second plum gram
You set;
Second account book is written in the root node of the bis- Mei Keer tree by the second block chain.
8. a kind of across chain data processing equipment based on block chain, which is characterized in that described device includes:
First acquisition unit, for according to across the chain data processing request that receives, determining data processing content, at the data
It comprising the first call address of the first across chain intelligence contract for being deployed in the first block chain and is deployed in reason content
Second call address of the second across chain intelligence contract in the second block chain, first across the chain intelligence contract with described second across
Chain intelligence contract is corresponding;
First execution unit executes at the data for calling the first across chain intelligence contract according to first call address
The first operation corresponding with the first block chain in content is managed, the first operating result is obtained;
First writing unit, after reaching common understanding to first operating result, by the data processing content and described
The first account book is written in first operating result;
The first acquisition unit, when being also used to that the second operating result is written in the second account book for knowing the second block chain, from
Second account book obtains second operating result, and second operating result is the second block chain according to described second
Call address call the second across chain intelligence contract execute in the data processing content with the second block chain corresponding second
What operation obtained;
First writing unit is also used to second operating result first account book is written.
9. a kind of across chain data processing equipment based on block chain, which is characterized in that described device includes:
Second acquisition unit, when the first operating result is written in the first account book for knowing the first block chain, from described first
The data processing content is obtained in account book;It include first be deployed in the first block chain in the data processing content
Second calling of the first call address of across chain intelligence contract and the second across chain intelligence contract being deployed in the second block chain
Address, first across the chain intelligence contract is corresponding with the described second across chain intelligence contract, first across chain intelligence contract portion
It is deployed in the first block chain, second across the chain intelligence contract is deployed in the second block chain;
Second execution unit executes at the data for calling the second across chain intelligence contract according to second call address
The second operation corresponding with the second block chain in content is managed, the second operating result is obtained;
Second operating result is written second after reaching common understanding to second operating result by the second writing unit
Account book.
10. a kind of computer storage medium, which is characterized in that be stored with the executable finger of computer in the computer storage medium
It enables, the computer executable instructions require 1 to 5 described in any item time calibrating methods for perform claim.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910752817.7A CN110442652B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
CN201910937160.1A CN110597925B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910752817.7A CN110442652B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910937160.1A Division CN110597925B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110442652A true CN110442652A (en) | 2019-11-12 |
CN110442652B CN110442652B (en) | 2021-09-21 |
Family
ID=68435680
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910752817.7A Active CN110442652B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
CN201910937160.1A Active CN110597925B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
Family Applications After (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910937160.1A Active CN110597925B (en) | 2019-08-15 | 2019-08-15 | Cross-chain data processing method and device based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN110442652B (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110706113A (en) * | 2019-12-13 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Cross-block-chain data processing method, device, equipment and medium |
CN111008206A (en) * | 2019-11-21 | 2020-04-14 | 深圳壹账通智能科技有限公司 | Method and device for storing state data of cross-chain transaction and storage medium |
CN111090661A (en) * | 2019-12-10 | 2020-05-01 | 北京海益同展信息科技有限公司 | Block chain cross-chain data access method, device, adapter and system |
CN111399993A (en) * | 2020-03-25 | 2020-07-10 | 百度国际科技(深圳)有限公司 | Cross-chain implementation method, device, equipment and medium for associated transaction request |
CN111414436A (en) * | 2020-05-29 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Data pushing method, device, equipment and system |
CN111461723A (en) * | 2020-04-17 | 2020-07-28 | 支付宝(杭州)信息技术有限公司 | Data processing system, method and device based on block chain |
CN112488679A (en) * | 2020-12-03 | 2021-03-12 | 陈鹏 | Cross-link contract analysis method of block chain, relay chain and cross-link system |
WO2021109735A1 (en) * | 2019-12-05 | 2021-06-10 | 深圳前海微众银行股份有限公司 | Cross-chain-network-based resource processing method, and device |
CN112988818A (en) * | 2021-04-30 | 2021-06-18 | 支付宝(杭州)信息技术有限公司 | Block chain transaction execution method, block chain node and control device |
CN113467888A (en) * | 2021-06-29 | 2021-10-01 | 网易(杭州)网络有限公司 | Cross-chain calling method and device of intelligent contract, electronic equipment and storage medium |
CN114567643A (en) * | 2020-11-27 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Cross-block-chain data transfer method, device and related equipment |
WO2023005500A1 (en) * | 2021-07-27 | 2023-02-02 | 腾讯科技(深圳)有限公司 | Cross-chain transaction processing method and apparatus, electronic device, and storage medium |
EP4152161A4 (en) * | 2020-05-12 | 2023-07-12 | Fujitsu Limited | Control method, control program, and information processing device |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11664973B2 (en) * | 2020-04-21 | 2023-05-30 | International Business Machines Corporation | Trust-varied relationship between blockchain networks |
CN112733174B (en) * | 2020-10-29 | 2022-07-19 | 腾讯科技(深圳)有限公司 | Authentication management method and system of block chain system and electronic equipment |
NL2029245B1 (en) * | 2021-09-24 | 2022-08-12 | Shenzhen Hande Finmaker Co Ltd | Method and a system for cross-ecological identification of digital product based on blockchain, and medium |
CN115082069B (en) * | 2022-08-16 | 2022-11-04 | 人民法院信息技术服务中心 | Cross-chain data acquisition method and device based on intelligent contract scheduling |
CN115580621B (en) * | 2022-09-08 | 2024-02-27 | 中国联合网络通信集团有限公司 | Block chain cross-chain business processing method, node, medium and block chain |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147735A (en) * | 2017-05-12 | 2017-09-08 | 北京博晨技术有限公司 | A kind of distributed account book system based on hierarchy |
CN108848119A (en) * | 2018-04-03 | 2018-11-20 | 阿里巴巴集团控股有限公司 | The exchange method and device, system, electronic equipment of transregional piece of chain |
CN109118364A (en) * | 2018-08-27 | 2019-01-01 | 深圳前海益链网络科技有限公司 | Method, apparatus, computer equipment and the storage medium of asynchronous execution intelligence contract |
CN109559227A (en) * | 2018-11-29 | 2019-04-02 | 咪咕文化科技有限公司 | Cross-block chain network transaction method, device and storage medium |
CN109600433A (en) * | 2018-12-06 | 2019-04-09 | 北京磁云数字科技有限公司 | Data summarization method and device in a kind of system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107085810A (en) * | 2017-04-19 | 2017-08-22 | 朱皞罡 | Across the chain operating method and block chain management system of a kind of block chain |
CN107992621A (en) * | 2017-12-22 | 2018-05-04 | 杭州云象网络技术有限公司 | A kind of intelligent cinematic industry service system based on block chain multichain technological incorporation |
CN108900585A (en) * | 2018-06-15 | 2018-11-27 | 浙江华信区块链科技服务有限公司 | Across chain transaction consistency implementation method |
-
2019
- 2019-08-15 CN CN201910752817.7A patent/CN110442652B/en active Active
- 2019-08-15 CN CN201910937160.1A patent/CN110597925B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107147735A (en) * | 2017-05-12 | 2017-09-08 | 北京博晨技术有限公司 | A kind of distributed account book system based on hierarchy |
CN108848119A (en) * | 2018-04-03 | 2018-11-20 | 阿里巴巴集团控股有限公司 | The exchange method and device, system, electronic equipment of transregional piece of chain |
CN109118364A (en) * | 2018-08-27 | 2019-01-01 | 深圳前海益链网络科技有限公司 | Method, apparatus, computer equipment and the storage medium of asynchronous execution intelligence contract |
CN109559227A (en) * | 2018-11-29 | 2019-04-02 | 咪咕文化科技有限公司 | Cross-block chain network transaction method, device and storage medium |
CN109600433A (en) * | 2018-12-06 | 2019-04-09 | 北京磁云数字科技有限公司 | Data summarization method and device in a kind of system |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111008206A (en) * | 2019-11-21 | 2020-04-14 | 深圳壹账通智能科技有限公司 | Method and device for storing state data of cross-chain transaction and storage medium |
WO2021109735A1 (en) * | 2019-12-05 | 2021-06-10 | 深圳前海微众银行股份有限公司 | Cross-chain-network-based resource processing method, and device |
CN111090661A (en) * | 2019-12-10 | 2020-05-01 | 北京海益同展信息科技有限公司 | Block chain cross-chain data access method, device, adapter and system |
CN111090661B (en) * | 2019-12-10 | 2024-03-01 | 京东科技信息技术有限公司 | Block chain cross-chain data access method, device, adapter and system |
WO2021114572A1 (en) * | 2019-12-10 | 2021-06-17 | 北京海益同展信息科技有限公司 | Blockchain cross-chain data access method and device, adapter, and system |
CN110706113A (en) * | 2019-12-13 | 2020-01-17 | 腾讯科技(深圳)有限公司 | Cross-block-chain data processing method, device, equipment and medium |
CN111399993B (en) * | 2020-03-25 | 2023-03-07 | 百度国际科技(深圳)有限公司 | Cross-chain implementation method, device, equipment and medium for associated transaction request |
CN111399993A (en) * | 2020-03-25 | 2020-07-10 | 百度国际科技(深圳)有限公司 | Cross-chain implementation method, device, equipment and medium for associated transaction request |
CN111461723A (en) * | 2020-04-17 | 2020-07-28 | 支付宝(杭州)信息技术有限公司 | Data processing system, method and device based on block chain |
EP4152161A4 (en) * | 2020-05-12 | 2023-07-12 | Fujitsu Limited | Control method, control program, and information processing device |
CN111414436B (en) * | 2020-05-29 | 2023-08-04 | 支付宝(杭州)信息技术有限公司 | Data pushing method, device, equipment and system |
CN111414436A (en) * | 2020-05-29 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Data pushing method, device, equipment and system |
CN114567643A (en) * | 2020-11-27 | 2022-05-31 | 腾讯科技(深圳)有限公司 | Cross-block-chain data transfer method, device and related equipment |
CN112488679A (en) * | 2020-12-03 | 2021-03-12 | 陈鹏 | Cross-link contract analysis method of block chain, relay chain and cross-link system |
CN112488679B (en) * | 2020-12-03 | 2024-05-07 | 陈鹏 | Cross-link contract analysis method of blockchain, relay chain and cross-link system |
CN113760999A (en) * | 2021-04-30 | 2021-12-07 | 支付宝(杭州)信息技术有限公司 | Block chain transaction execution method, block chain node and control device |
CN112988818A (en) * | 2021-04-30 | 2021-06-18 | 支付宝(杭州)信息技术有限公司 | Block chain transaction execution method, block chain node and control device |
CN113467888A (en) * | 2021-06-29 | 2021-10-01 | 网易(杭州)网络有限公司 | Cross-chain calling method and device of intelligent contract, electronic equipment and storage medium |
CN113467888B (en) * | 2021-06-29 | 2024-02-23 | 网易(杭州)网络有限公司 | Cross-chain calling method and device of intelligent contract, electronic equipment and storage medium |
WO2023005500A1 (en) * | 2021-07-27 | 2023-02-02 | 腾讯科技(深圳)有限公司 | Cross-chain transaction processing method and apparatus, electronic device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110442652B (en) | 2021-09-21 |
CN110597925B (en) | 2021-09-14 |
CN110597925A (en) | 2019-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110442652A (en) | A kind of across chain data processing method and device based on block chain | |
JP7362654B2 (en) | Maintenance and management of blockchain blocks in a divided blockchain network | |
US20220108285A1 (en) | Methods and Systems for Object Validated Blockchain Accounts | |
Wang et al. | Challenges of blockchain in new generation energy systems and future outlooks | |
Huang et al. | Drugledger: A practical blockchain system for drug traceability and regulation | |
US20240048376A1 (en) | Methods and systems implemented in a network architecture with nodes capable of performing message-based transactions | |
CN109697606A (en) | The distributed network and the ecosystem of common recognition agreement are proved based on innovative prestige | |
CN109785136A (en) | A kind of transaction processing method of block chain, client and block chain network | |
Belchior et al. | Do you need a distributed ledger technology interoperability solution? | |
CN108446976B (en) | A kind of common reserve fund transfer method, computer readable storage medium and terminal device | |
CN112801658B (en) | Cross-border resource transfer authenticity auditing method and device and electronic equipment | |
US20230245080A1 (en) | Convergent Consensus Method for Distributed Ledger Transaction Processing | |
EP3736760A1 (en) | Automated transaction protocol linking renewable energy generation assets to energy power consumers applying distributed digital ledger technology and iot energy meters | |
CN110084594A (en) | A kind of block chain method of commerce and device by lightning network | |
KR102139551B1 (en) | Method and server for managing testament | |
Harshavardhan et al. | Blockchain technology in cloud computing to overcome security vulnerabilities | |
Evermann et al. | Workflow management on proof-of-work blockchains: Implications and recommendations | |
Nguyen et al. | A blockchain-based iterative double auction protocol using multiparty state channels | |
Liu et al. | An overview of blockchain efficient interaction technologies | |
Wang | Sok: Applying blockchain technology in industrial internet of things | |
Zhang et al. | Cross-Chain Interoperability and Collaboration for Keyword-Based Embedded Smart Contracts in the Internet of Things | |
Baig et al. | A Study on the adoption of blockchain for IoT devices in supply chain | |
CN113034137A (en) | Data processing method and device based on block chain and related equipment | |
Sytnyk et al. | Decentralized Information System for Supply Chain Management Using Blockchain | |
Reed | Bitcoin cooperative proof-of-stake |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40016760 Country of ref document: HK |
|
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |