[go: up one dir, main page]

CN109559227A - Cross-block chain network transaction method, device and storage medium - Google Patents

Cross-block chain network transaction method, device and storage medium Download PDF

Info

Publication number
CN109559227A
CN109559227A CN201811444598.8A CN201811444598A CN109559227A CN 109559227 A CN109559227 A CN 109559227A CN 201811444598 A CN201811444598 A CN 201811444598A CN 109559227 A CN109559227 A CN 109559227A
Authority
CN
China
Prior art keywords
transaction
blockchain network
request
information
user
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.)
Pending
Application number
CN201811444598.8A
Other languages
Chinese (zh)
Inventor
唐清原
刁鹰
李家杰
蒋亚军
张聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MIGU Culture Technology Co Ltd
Original Assignee
MIGU Culture Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by MIGU Culture Technology Co Ltd filed Critical MIGU Culture Technology Co Ltd
Priority to CN201811444598.8A priority Critical patent/CN109559227A/en
Publication of CN109559227A publication Critical patent/CN109559227A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

本发明公开了一种跨区块链网络的交易方法,包括:通过第一区块链网络发起第一交易请求,所述第一交易请求用于表征第一交易用户从所述第一区块链网络向其它区块链网络发起跨区块链网络的交易请求,其中,所述第一交易用户为所述第一交易请求的发起方;响应于所述第一交易请求,提取所述第一区块链网络中所保存的所述第一交易用户的账本信息;基于所提取的第一交易用户的账本信息,向代理服务器发送第一操作请求,以实现通过所述代理服务器将所述第一交易请求对应的操作转换为相应类型的可执行SQL语句;接收所述代理服务器发送的交易结果;在所述第一交易用户的账本中记录所接收的交易结果。本发明还公开了一种跨区块链网络的交易装置和存储介质。

The invention discloses a transaction method across a blockchain network, comprising: initiating a first transaction request through a first blockchain network, where the first transaction request is used to represent a first transaction user from the first block The blockchain network initiates a transaction request across the blockchain network to other blockchain networks, wherein the first transaction user is the initiator of the first transaction request; in response to the first transaction request, extract the first transaction request. The account book information of the first transaction user saved in a blockchain network; based on the extracted account book information of the first transaction user, a first operation request is sent to the proxy server, so as to realize the transfer of the first transaction user through the proxy server. The operation corresponding to the first transaction request is converted into a corresponding type of executable SQL statement; the transaction result sent by the proxy server is received; and the received transaction result is recorded in the account book of the first transaction user. The invention also discloses a transaction device and a storage medium across the blockchain network.

Description

A kind of method of commerce, device and the storage medium of transregional piece of chain network
Technical field
The present invention relates to the information processing technologies in internet communication, more particularly to a kind of counterparty of transregional piece of chain network Method, device and storage medium.
Background technique
In the prior art, it may be implemented to safeguard a complete customer transaction record jointly by block chain technology.Due to There is block chain technology decentralization, open and clear, every calculating equipment can participate in data-base recording and calculate equipment Between can be rapidly performed by the synchronous characteristic of data, decentralization system is built using block chain technology, and in block chain Distributed data base in include various execution programs and executed automatically, widely applied in numerous fields. But different block chain networks has been due to having used different structure languages, the user in different blocks chain network is not Can not be shifted and be exchanged with the assets between block chain network, affect between the user in different blocks chain network carry out across The transaction of block chain network.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of method of commerce of transregional piece of chain network, device and storages to be situated between Matter, user only need the block node in the first block chain network to initiate the first transaction request;It is asked in response to first transaction It asks, extracts the account book information of the first trade user saved in the first block chain network, first trade user is used In the initiator for characterizing first transaction request;Based on the account book information of extracted first trade user, to agency service Device sends the first operation requests;Receive the transaction results that the proxy server is sent;In the account book of first trade user The received transaction results of middle record institute.The transactional operation between different blocks chain network can be completed in user as a result,.
In order to achieve the above objectives, the technical solution of the embodiment of the present invention is achieved in that
The embodiment of the invention provides a kind of method of commerce of transregional piece of chain network, comprising:
The first transaction request is initiated by the first block chain network, first transaction request is used for characterizing the first transaction The transaction request of transregional piece of chain network is initiated from the first block chain network to other block chain networks in family, wherein described One trade user is the initiator of first transaction request;
In response to first transaction request, extracts first transaction saved in the first block chain network and use The account book information at family;
Based on the account book information of extracted first trade user, the first operation requests are sent to proxy server, with reality The corresponding operation of first transaction request is now converted to by the proxy server the executable SQL language of respective type Sentence;
Receive the transaction results that the proxy server is sent;
The received transaction results of record institute in the account book of first trade user.
In above scheme, first transaction request in response to being initiated extracts institute in the first block chain The account book information of the first trade user saved, comprising:
In response to first transaction request initiated, the intelligent contract of triggering first;
By the triggered first intelligent contract, the account of the first trade user described in the first block chain network is extracted The private key of Merkel's tree root information of block node corresponding to this information and first trade user;
Merkel's tree root information and described first based on block node in the extracted first block chain network are handed over The private key of easy user, extracts the account book information of the first trade user saved in the first block chain network.
In above scheme, the intelligent contract of the triggering first, comprising:
Based on the parameter transaction in first transaction request, inquiry and the associated status data of the first trade user Library;
According to the query result with the associated slip condition database of the first trade user, the described first intelligent contract is in institute State the characteristic information that first trade user is added in the first transaction request.
In above scheme, the intelligent contract of the triggering first, comprising:
Based on the type of block chain network locating for first trade user, by described in response to being initiated Operation performed by one transaction request is converted to the executable SQL statement of respective type;
The api interface that first transaction request is called by the described first intelligent contract, executes in the api interface The executable SQL statement.
In above scheme, the method also includes:
By transaction knot recorded in the account book with the first trade user saved in the first block chain network Fruit broadcasts the transaction results in the first block chain network.
The embodiment of the invention also provides a kind of method of commerce of transregional piece of chain network, comprising:
The first operation requests are received, first operation requests are used to characterize the first transaction in the first block chain network and use The transaction that transregional piece of chain network is initiated to different block chain networks is initiated by proxy server in family;
In response to received first operation requests of institute, the second block link network corresponding with first operation requests is obtained The information of network;
First operation requests are parsed, the parsing result based on first operation requests is to the second block link network Network sends the second operation requests, and second operation requests initiate transregional piece to the second block chain network for characterizing request The transaction of chain network;
Receive the transaction results in the second block chain network;
Transaction results in the second block chain network are sent into the first block chain network, to realize by described Account book information in first block chain network records the result of second operation requests.
In above scheme, the parsing first operation requests, the parsing result based on first operation requests to The second block chain network sends the second operation requests, comprising:
According to the information of the second block chain network, registration information corresponding with the second block chain network is inquired;
Based on the corresponding registration information of the second block chain network, the information storage of the second block chain network is determined Address;
Second operation requests are sent to the information storage addresses of the second block chain network.
In above scheme, the method also includes:
Second operation requests are converted into respective class according to the corresponding registration information of the second block chain network The executable SQL statement of type executes the executable SQL statement to realize in corresponding api interface.
In above scheme, the method also includes:
Receive the registration information of different blocks chain network;
According to the received obstructed block chain network registration information, for the different blocks chain network configuration mutually fit The intelligent contract answered, to realize the executable SQL statement that operation performed by corresponding transaction request is converted to respective type;
The registration information of the different blocks chain network includes at least one:
The Platform Type of the block chain network, the unique identification of the block chain network, money in the block chain network The related information of packet.
In above scheme, the parsing result based on first operation requests sends second to the second block chain network Before operation requests, the method also includes:
It is verified to being saved in the first block chain network with the account balance of the first trade user;
Described first is not up to the account balance of the first trade user when being saved in the first block chain network Transaction limit indicated by the parsing result of operation requests issues the first prompt information, to realize that prompt first transaction is used The adjustment of family income family.
In above scheme, the method also includes:
Received first operation requests of institute are added in request waiting list;
According to the Request Priority mark in the request waiting list, the request in the request waiting list is operated Sequence is adjusted.
The embodiment of the invention also provides a kind of the transaction devices of transregional piece of chain network, comprising:
First information transmission module, for initiating the first transaction request, first transaction by the first block chain network Request initiates transregional piece of chain network from the first block chain network to other block chain networks for characterizing the first trade user Transaction request, wherein first trade user be first transaction request initiator;
First processing module, for extracting and being protected in the first block chain network in response to first transaction request The account book information for first trade user deposited;
The first information transmission module takes for the account book information based on extracted first trade user to agency Business device sends the first operation requests, is converted the corresponding operation of first transaction request by the proxy server with realizing For the executable SQL statement of respective type;
The first information transmission module, the transaction results sent for receiving the proxy server;
The first processing module, for the received transaction results of record institute in the account book of first trade user.
In above scheme, the first processing module, for first transaction request in response to being initiated, triggering the One intelligent contract;
The first processing module, for extracting the first block chain network by the triggered first intelligent contract Described in the first trade user account book information corresponding to block node Merkel's tree root information and it is described first transaction use The private key at family;
The first processing module, for the Merkel based on block node in the extracted first block chain network The private key of tree root information and first trade user extracts the first trade user saved in the first block chain network Account book information.
In above scheme, the first processing module, for based on the parameter transaction in first transaction request, inquiry With the associated slip condition database of the first trade user;
The first processing module, for according to the inquiry knot with the associated slip condition database of the first trade user Fruit, the described first intelligent contract add the characteristic information of first trade user in first transaction request.
In above scheme, the first processing module, for based on block chain network locating for first trade user Type, be converted to the executable of respective type in response to operation performed by first transaction request initiated for described SQL statement;
Described device further include:
Execution module, for calling the api interface of first transaction request by the described first intelligent contract, described The executable SQL statement is executed in api interface.
In above scheme, the first processing module, for will be saved in the first block chain network and Transaction results recorded in the account book of one trade user carry out the transaction results in the first block chain network wide It broadcasts.
The embodiment of the invention also provides a kind of the transaction devices of transregional piece of chain network, comprising:
Second information transmission modular, for receiving the first operation requests, first operation requests are for characterizing the firstth area The first trade user in block chain network initiates to initiate transregional piece of chain network to different block chain networks by proxy server Transaction;
Second processing module, for obtaining and the first operation requests phase in response to received first operation requests of institute The information of corresponding second block chain network;
The Second processing module, for parsing first operation requests, the parsing based on first operation requests As a result the second operation requests are sent to the second block chain network, second operation requests are for characterizing request to described the Two block chain networks initiate the transaction of transregional piece of chain network;
Second information transmission modular, for receiving the transaction results in the second block chain network;
Second information transmission modular, for by the transaction results in the second block chain network to the first block chain It is sent in network, to realize the knot for recording second operation requests by the account book information in the first block chain network Fruit.
In above scheme,
The Second processing module, for the information according to the second block chain network, inquiry and second block The corresponding registration information of chain network;
The Second processing module determines described for being based on the corresponding registration information of the second block chain network The information storage addresses of two block chain networks;
Second information transmission modular, for sending described the to the information storage addresses of the second block chain network Two operation requests.
In above scheme, the Second processing module is used for according to the corresponding registration information of the second block chain network, By second operation requests, the executable SQL statement of respective type is converted to, is executed in corresponding api interface with realizing The executable SQL statement.
In above scheme, second information transmission modular, for receiving the registration information of different blocks chain network;
The Second processing module, for according to the received obstructed block chain network registration information, be described The adaptable intelligent contract of different blocks chain network configuration, is converted to phase for operation performed by corresponding transaction request to realize Answer the executable SQL statement of type;
The registration information of the different blocks chain network includes at least one:
The Platform Type of the block chain network, the unique identification of the block chain network, money in the block chain network The related information of packet.
In above scheme, described device further include:
Authentication module, for saved in the first block chain network with the account balance of the first trade user into Row verifying;
The authentication module, more than the account with the first trade user for being saved in the first block chain network Volume is not up to transaction limit indicated by the parsing result of first operation requests, issues the first prompt information, is mentioned with realizing Show the first trade user income family adjustment.
In above scheme, the Second processing module waits team for request to be added in received first operation requests of institute In column;
The Second processing module is asked for being identified according to the Request Priority in the request waiting list to described The request operation sequencing in waiting list is asked to be adjusted.
The embodiment of the invention also provides a kind of the transaction devices of transregional piece of chain network, comprising:
Processor and memory for storing the executable instruction that can be run on a processor,
Wherein, the processor is for when running the executable instruction, executing following operation:
The first transaction request is initiated by the first block chain network, first transaction request is used for characterizing the first transaction The transaction request of transregional piece of chain network is initiated from the first block chain network to other block chain networks in family, wherein described One trade user is the initiator of first transaction request;
In response to first transaction request, extracts first transaction saved in the first block chain network and use The account book information at family;
Based on the account book information of extracted first trade user, the first operation requests are sent to proxy server, with reality The corresponding operation of first transaction request is now converted to by the proxy server the executable SQL language of respective type Sentence;
Receive the transaction results that the proxy server is sent;
The received transaction results of record institute in the account book of first trade user.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored with executable instruction, feature It is, operation below is realized when executable instruction is executed by processor:
The first transaction request is initiated by the first block chain network, first transaction request is used for characterizing the first transaction The transaction request of transregional piece of chain network is initiated from the first block chain network to other block chain networks in family, wherein described One trade user is the initiator of first transaction request;
In response to first transaction request, extracts first transaction saved in the first block chain network and use The account book information at family;
Based on the account book information of extracted first trade user, the first operation requests are sent to proxy server, with reality The corresponding operation of first transaction request is now converted to by the proxy server the executable SQL language of respective type Sentence;
Receive the transaction results that the proxy server is sent;
The received transaction results of record institute in the account book of first trade user.
The embodiment of the invention also provides a kind of the transaction devices of transregional piece of chain network, comprising:
Processor and memory for storing the executable instruction that can be run on a processor,
Wherein, the processor is for when running the executable instruction, executing following operation:
The first operation requests are received, first operation requests are used to characterize the first transaction in the first block chain network and use The transaction that transregional piece of chain network is initiated to different block chain networks is initiated by proxy server in family;
In response to received first operation requests of institute, the second block link network corresponding with first operation requests is obtained The information of network;
First operation requests are parsed, the parsing result based on first operation requests is to the second block link network Network sends the second operation requests, and second operation requests initiate transregional piece to the second block chain network for characterizing request The transaction of chain network;
Receive the transaction results in the second block chain network;
Transaction results in the second block chain network are sent into the first block chain network, to realize by described Account book information in first block chain network records the result of second operation requests.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored with executable instruction, feature It is, operation below is realized when executable instruction is executed by processor:
The first operation requests are received, first operation requests are used to characterize the first transaction in the first block chain network and use The transaction that transregional piece of chain network is initiated to different block chain networks is initiated by proxy server in family;
In response to received first operation requests of institute, the second block link network corresponding with first operation requests is obtained The information of network;
First operation requests are parsed, the parsing result based on first operation requests is to the second block link network Network sends the second operation requests, and second operation requests initiate transregional piece to the second block chain network for characterizing request The transaction of chain network;
Receive the transaction results in the second block chain network;
Transaction results in the second block chain network are sent into the first block chain network, to realize by described Account book information in first block chain network records the result of second operation requests.
The method of commerce, device and storage medium of transregional piece of chain network provided by the embodiment of the present invention, by obtaining the Block node initiates the first transaction request in one block chain;In response to first transaction request initiated, described the is extracted It is being saved in one block chain with the first trade user account book information, first trade user is handed over for characterizing described first The initiator easily requested;Based on the account book information of extracted first trade user, the first operation is sent to proxy server and is asked It asks;Receive the transaction results that the proxy server is sent;Saved in the first block chain with the first trade user Account book in the received transaction results of record institute.
User only needs to ask in corresponding block chain to the transaction that proxy server initiates transregional piece of chain network as a result, It asks, and the transaction results that Receiving Agent server is sent, the transaction of the transregional piece of chain network in different blocks chain can be completed. The program does not need to limit use environment, and realization is simple and convenient, and the scope of application is wider, while improving the experience of user.
Detailed description of the invention
Fig. 1 is one optional process schematic of method of commerce of transregional piece of chain network provided in an embodiment of the present invention;
Fig. 2 is one optional process schematic of method of commerce of transregional piece of chain network provided in an embodiment of the present invention;
Fig. 3 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention;
Fig. 4 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention;
Fig. 5 is one optional process schematic of method of commerce of transregional piece of chain network provided in an embodiment of the present invention;
Fig. 6 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention;
Fig. 7 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, described embodiment is not construed as limitation of the present invention, and those of ordinary skill in the art are not having All other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Unless otherwise defined, all technical and scientific terms used herein and belong to technical field of the invention The normally understood meaning of technical staff is identical.Term used herein is intended merely to the purpose of the description embodiment of the present invention, It is not intended to limit the present invention.
Before the embodiment of the present invention is further elaborated, to noun involved in the embodiment of the present invention and term It is illustrated, noun involved in the embodiment of the present invention and term are suitable for following explanation.
1) transaction request is that characterization is transferred accounts or paid by the block chain network, and the transaction request can be sent out Life is between different block chains, for example, carrying out transaction between account, the fusing of Trading Authorization access, account trading.
2) new block is included in a series of, the acentric node of block chain by block chain network by way of common recognition Set, there is the ability for disposing intelligent contract.Wherein, different block chain networks generallys use different data structures.
3) account book information, the storage of actual block data, i.e., a series of friendships that are orderly, can not distorting recorded in block chain Easy record shows as the form of the file of file system, and personal information including user is traded using block chain network A series of transaction record.
4) it knows together, is a process in block chain network, for reaching between multiple nodes in block chain network Unanimously, such as according to the initiator of first Transaction Information whether it is located at the service node of Light Directory Access Protocol In, to whether establish it is corresponding with the first transaction initiator for the block chain network and Light Directory Access Protocol The mapping of service node catalogue and level identity are reached an agreement.The mechanism for realizing common recognition includes proof of work (PoW), equity card Bright (PoS, Proof of Stake), share authorisation verification (DPoS, Delegated Proof-of-Stake), elapsed time amount Prove (PoET, Proof of Elapsed Time) etc..
5) intelligent contract, the program that execution is triggered according to condition being deployed in block chain network, for example, in the area In block chain network complete to each single item included in first Transaction Information do not spend transaction export signature verification with it is corresponding The process verified of matching of public key can be carried out by corresponding intelligent contract automatic trigger.
6) SQL statement, structured query language (Structured Query Language), for access data and Query, update, and manage relational database system;It is simultaneously also the extension name of database script file.
7) ether mill ETH (Ethereum), the public block platform chain for having intelligent contract function of an open source, passes through it Dedicated encrypted currency ether coin (Ether) provides the virtual machine of decentralization to handle point-to-point contract.
6) block chain fabric is generated based on super account book project, is capable of providing and is constructed the most basic of distributed account book The functions such as data are transmitted, common recognition is reached may be implemented in ability.
Fig. 1 is one optional process schematic of method of commerce of transregional piece of chain network provided in an embodiment of the present invention, Applied to locating for transaction initiator in block chain network, as shown in Figure 1, being handed between the user of different blocks chain network In easy process, method of commerce one optional process of transregional piece of chain network provided in an embodiment of the present invention includes following step It is rapid:
Step 101: the first transaction request is initiated by the first block chain network.
Wherein, first transaction request is for characterizing the first trade user from the first block chain network to other areas Block chain network initiates the transaction request of transregional piece of chain network, wherein first trade user is first transaction request Initiator.
Step 102: in response to first transaction request, extracting described the saved in the first block chain network The account book information of one trade user.
In one embodiment of the invention, first transaction request in response to being initiated extracts described the The account book information of the first trade user saved in one block chain, comprising:
In response to first transaction request initiated, the intelligent contract of triggering first;Pass through the first intelligence triggered Contract extracts the Merck of block node corresponding to the account book information of the first trade user described in the first block chain network The private key of your tree root information and first trade user;Based on block node in the extracted first block chain network The private key of Merkel tree (Merkle Tree) root information and first trade user extracts in the first block chain network The account book information of the first trade user saved.Technical solution shown in through this embodiment, when institute occurs for transaction request It states the first intelligent contract to be triggered, the block link network where the user for initiating transaction can be extracted by the described first intelligent contract The private key of the user of Merkel's tree root information of block node and initiation transaction in network, and the user for initiating transaction is tested Card carries out subsequent transaction processing, when determining the ownership of the transaction not when determining when being attributed to transaction initiator of the transaction It when being transaction initiator, sends a warning, to prompt current transaction for illegal transaction.
Wherein, the method for the Merkle tree root value of calculation block body can be as follows: management node by corresponding block node into Row Hash calculation is stored in Merkle tree, then layer by layer adjacent using the cryptographic Hash being calculated as leaf node The cryptographic Hash of two leaf nodes is together in series, and the obtained character string that will finally connect carries out Hash calculation, will finally calculate Merkle tree root value of the cryptographic Hash arrived as the block body, i.e. recurrence obtain the leaf node in its block body.
In one embodiment of the invention, the intelligent contract of the triggering first, comprising:
Based on the parameter transaction in first transaction request, inquiry and the associated status data of the first trade user Library;According to the query result with the associated slip condition database of the first trade user, the first intelligent contract is described the The characteristic information of first trade user is added in one transaction request.Technical solution shown in through this embodiment, transaction hair The user for playing side can be added in process of exchange with itself locating for the corresponding characteristic information of block chain network, specifically, It can decide whether slip condition database belonging to query originator account according to the difference of the API parameter of locating block chain network Data.If the transaction initiates user and calls corresponding api interface, need to be added oneself distinctive business number in Transaction Information According to, for example number, street number, these data are can to put the data of the world State node oneself inside Fabric Inside library.Therefore, if including those business datums in API parameter, state belonging to query originator account can be passed through Database data, to obtain the characteristic information of trade user.
In one embodiment of the invention, the intelligent contract of the triggering first, comprising:
Based on the type of block chain network locating for first trade user, by described in response to being initiated Operation performed by one transaction request is converted to the executable SQL statement of respective type;It is called by the described first intelligent contract The api interface of first transaction request executes the executable SQL statement in the api interface.Institute through this embodiment The technical solution shown, the transaction for transregional piece of chain network will be corresponding for using the block chain network of different data structure Pending operation is converted to the executable SQL statement of corresponding respective block chain, and realization carries out in different block chain networks Transaction.
In one embodiment of the invention, the type based on block chain network locating for first trade user, will It is described can in response to the executable SQL statement that operation is converted to respective type performed by first transaction request initiated To carry out in the following manner:
According to the different action types that transaction initiator calls resolve to unified chain_transaction, The SQL of chain_state database table structure is operated, wherein the database table structure includes: transaction initiator's block linkwork System mark, transaction initiator's wallet address, block catenary system mark, transaction acceptance side wallet address locating for transaction acceptance side, friendship Easy type, block head, block body, timestamp.
Step 103: the account book information based on extracted first trade user sends the first operation to proxy server and asks It asks.
By first operation requests, may be implemented by the proxy server that first transaction request is corresponding Operation be converted to the executable SQL statement of respective type.
Step 104: receiving the transaction results that the proxy server is sent.
Step 105: the received transaction results of record institute in the account book of first trade user.
In one embodiment of the invention, the method also includes:
By transaction knot recorded in the account book with the first trade user saved in the first block chain network Fruit broadcasts the transaction results in the first block chain network.Technical solution shown in through this embodiment is handed over All nodes in block chain network locating for easy initiator can recorde completed Transaction Information, and can be according to being remembered The Transaction Information of record is verified in the transaction in this block chain network later.
Fig. 2 is one optional process schematic of method of commerce of transregional piece of chain network provided in an embodiment of the present invention, Applied in the corresponding proxy server of transaction of the transregional piece of chain network, as shown in Fig. 2, in the use of different blocks chain network During being traded between family, one optional process of method of commerce of transregional piece of chain network provided in an embodiment of the present invention The following steps are included:
Step 201: receiving the first operation requests;
Wherein, the first trade user that first operation requests are used to characterize in the first block chain network is taken by agency Business device initiates the transaction that transregional piece of chain network is initiated to different block chain networks.
In one embodiment of the invention, the method also includes:
Receive the registration information of different blocks chain network;
According to the received obstructed block chain network registration information, for the different blocks chain network configuration mutually fit The intelligent contract answered, to realize the executable SQL statement that operation performed by corresponding transaction request is converted to respective type;
The registration information of the different blocks chain network includes at least one: the platform class of the block chain network Type, the unique identification of the block chain network, in the block chain network wallet related information.
Technical solution shown in through this embodiment, when the block chain network of different data structure is complete in proxy server When at registration, the proxy server can save characteristic information corresponding with the block chain network feature, the agency service Device can be that the block chain network registered distributes corresponding unique identification and adaptable intelligent contract, pass through what is be adapted to Operation performed by corresponding transaction request can be converted to the executable SQL statement of respective type corresponding by intelligent contract It is executed in api interface.
Step 202: in response to received first operation requests of institute, obtaining and first operation requests corresponding second The information of block chain network.
Specifically, it is described as the second block chain network be transaction acceptance side locating for block chain network, institute State the address information that the first transaction request carries the second block chain network.
Step 203: parsing first operation requests, the parsing result based on first operation requests is to described second Block chain network sends the second operation requests.
Wherein, second operation requests initiate transregional piece of chain network to the second block chain network for characterizing request Transaction.
In one embodiment of the invention, parsing first operation requests, are based on first operation requests Parsing result to the second block chain network send the second operation requests, comprising:
According to the information of the second block chain network, registration information corresponding with the second block chain network is inquired; Based on the corresponding registration information of the second block chain network, the information storage addresses of the second block chain network are determined;To The information storage addresses of the second block chain network send second operation requests.
Technical solution shown in through this embodiment, due to be the second block chain network in registration process in generation The Platform Type of block chain network, the unique identification of the block chain network and the block chain network are preserved in reason server Therefore the related information of middle wallet can know the transregional piece of chain network transaction by parsing first operation requests Transaction acceptance side, and determine the information storage addresses of block chain network locating for the transaction acceptance side, it is asked with the determination transaction The reception address asked.
In one embodiment of the invention, the method also includes:
Second operation requests are converted into respective class according to the corresponding registration information of the second block chain network The executable SQL statement of type executes the executable SQL statement to realize in corresponding api interface.
Technical solution shown in through this embodiment, the transaction for transregional piece of chain network, for using different data knot Corresponding pending operation is converted to the executable SQL statement of corresponding respective block chain, realized by the block chain network of structure It trades in different block chain networks.Wherein, the language for the structured query language (SQL) that different api interfaces is supported Method order includes:
CREATE, for creating the table in database;Block INSERT is for executing insertion operation;Block SELECT For executing selection operation;Verify transaction is for executing verification operation;Commit transaction is for holding Row recovery operation.DML (Data Manipulation Language, data manipulation language) sentence can be formed;DDL(Data Definition Language, Data Definition Language) sentence;DCL (Data Control Language, data control language) Sentence;Transaction controlling sentence.It can be realized creation block using above-mentioned executable SQL statement, creation transaction, verifying transaction, mention Trade into chain, select particular account number block, verifying transaction account book normalizing operation.
In one embodiment of the invention, the parsing result of the first operation requests of Yu Suoshu is to the second block link network Before network sends the second operation requests, the method also includes:
It is verified to being saved in the first block chain network with the account balance of the first trade user;
Described first is not up to the account balance of the first trade user when being saved in the first block chain network Transaction limit indicated by the parsing result of operation requests issues the first prompt information, to realize that prompt first transaction is used The adjustment of family income family.
Technical solution shown in through this embodiment, when the useful multiple digital wallets of initiator of transregional piece of chain network transaction When, when the remaining sum of enough transaction can not be provided by being chosen as the wallet of transaction, the user of transaction initiator can be reminded in time Adjustment carries out digital wallet used in the transaction of transregional piece of chain network.
In one embodiment of the invention, the method also includes:
Received first operation requests of institute are added in request waiting list;
According to the Request Priority mark in the request waiting list, the request in the request waiting list is operated Sequence is adjusted.
Technical solution shown in through this embodiment, when the proxy server of transregional piece of chain network transaction receives simultaneously When to a large amount of transaction requests, classify for transaction request, identified according to the Request Priority in the request waiting list, Request operation sequencing in the request waiting list is adjusted, the higher transaction request of priority processing priority.Wherein, The priority tag of the transaction request can be paid by the transaction request tranaction costs of the proxy server into Row determines that the corresponding priority of the higher transaction request of tranaction costs is higher.
Step 204: receiving the transaction results in the second block chain network.
Step 205: the transaction results in the second block chain network being sent into the first block chain network, to realize The result of second operation requests is recorded by the account book information in the first block chain network.
Fig. 3 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention, such as Shown in Fig. 3, the transaction device one optional structure of transregional piece of chain network provided in an embodiment of the present invention includes:
First information transmission module 301, for initiating the first transaction request by the first block chain network, described first is handed over Easily request initiates transregional piece of link network from the first block chain network to other block chain networks for characterizing the first trade user The transaction request of network, wherein first trade user is the initiator of first transaction request;
First processing module 302, for extracting institute in the first block chain network in response to first transaction request The account book information of first trade user saved;
The first information transmission module 301, for the account book information based on extracted first trade user, Xiang Daili Server sends the first operation requests, is turned the corresponding operation of first transaction request by the proxy server with realizing It is changed to the executable SQL statement of respective type;
The first information transmission module 301, the transaction results sent for receiving the proxy server;
The first processing module 302, for the received transaction knot of record institute in the account book of first trade user Fruit.
In one embodiment of the invention, the first processing module 302, for described first in response to being initiated Transaction request, the intelligent contract of triggering first;
The first processing module 302, for extracting the first block link network by the triggered first intelligent contract Merkel's tree root information of block node corresponding to the account book information of first trade user described in network and first transaction The private key of user;
The first processing module 302, for based in the extracted first block chain network block node it is silent The private key of Ke Er tree root information and first trade user extracts the first transaction saved in the first block chain network The account book information of user.Technical solution shown in through this embodiment, when transaction request occurs described in the first intelligent contract quilt Triggering can extract the silent of block node in the block chain network where the user of musical instruments used in a Buddhist or Taoist mass transaction by the described first intelligent contract Ke Er tree root information and initiate transaction user private key, and the user for initiating transaction is verified, when determining the transaction Be attributed to transaction initiator when, carry out subsequent transaction processing, when the ownership of the surely described transaction be not transaction initiator when, issue Warning information, to prompt current transaction for illegal transaction.
Wherein, the method for the Merkle tree root value of calculation block body can be as follows: management node by corresponding block node into Row Hash calculation is stored in MerKle tree, then layer by layer adjacent using the cryptographic Hash being calculated as leaf node The cryptographic Hash of two leaf nodes is together in series, and the obtained character string that will finally connect carries out Hash calculation, will finally calculate Merkle tree root value of the cryptographic Hash arrived as the block body, i.e. recurrence obtain the leaf node in its block body.
In one embodiment of the invention, the first processing module 302, for based in first transaction request Parameter transaction, inquiry with the associated slip condition database of the first trade user;
The first processing module 302, for according to the inquiry with the associated slip condition database of the first trade user As a result, the described first intelligent contract adds the characteristic information of first trade user in first transaction request.Pass through Technical solution shown in the present embodiment, the user for the initiator that trades can add in process of exchange and the block chain locating for itself The corresponding characteristic information of network, specifically, can decide whether to look into according to the difference of the API parameter of locating block chain network Ask slip condition database data belonging to initiator's account.If the transaction initiates user and calls corresponding api interface, need handing over Oneself distinctive business datum, such as number, street number are added in easy information, these data can be put inside Fabric World State node oneself database inside.Therefore, if in API parameter including those business datums, Ke Yitong Slip condition database data belonging to query originator account are crossed, to obtain the characteristic information of trade user.
In one embodiment of the invention, the first processing module 302, for being based on the first trade user institute The type of the block chain network at place is converted to phase in response to operation performed by first transaction request initiated for described Answer the executable SQL statement of type;
Described device further include:
Execution module 303, for calling the api interface of first transaction request by the described first intelligent contract, The executable SQL statement is executed in the api interface.Technical solution shown in through this embodiment, the use for the initiator that trades Family can be added in process of exchange with itself locating for the corresponding characteristic information of block chain network, specifically, can basis The difference of the API parameter of locating block chain network decides whether slip condition database data belonging to query originator account.If The transaction initiates user and calls corresponding api interface, needs to be added oneself distinctive business datum, such as door in Transaction Information The trade mark, street number, these data can be put inside the database of the world State node oneself inside Fabric. Therefore, if including those business datums in API parameter, slip condition database number belonging to query originator account can be passed through According to obtain the characteristic information of trade user.
In one embodiment of the invention, the type based on block chain network locating for first trade user, will It is described can in response to the executable SQL statement that operation is converted to respective type performed by first transaction request initiated To carry out in the following manner:
It is resolved to according to the different action types that transaction initiator calls to unified chain_transaction, The SQL of chain_state database table structure is operated, wherein the database table structure includes: transaction initiator's block linkwork System mark, transaction initiator's wallet address, block catenary system mark, transaction acceptance side wallet address locating for transaction acceptance side, friendship Easy type, block head, block body, timestamp.
In one embodiment of the invention, the first processing module 302, being used for will be in the first block chain network Transaction results recorded in middle the saved account book with the first trade user, to described in the first block chain network Transaction results are broadcasted.
Technical solution shown in through this embodiment, all nodes traded locating for initiator in block chain network To record completed Transaction Information, and being capable of friendship according to the Transaction Information recorded, in this block chain network later It is verified in easily.
Fig. 4 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention, such as Shown in Fig. 4, the transaction device one optional structure of transregional piece of chain network provided in an embodiment of the present invention includes:
Second information transmission modular 401, for receiving the first operation requests, first operation requests are for characterizing first The first trade user in block chain network initiates to initiate transregional piece of link network to different block chain networks by proxy server The transaction of network;
Second processing module 402, for obtaining and first operation requests in response to received first operation requests of institute The information of corresponding second block chain network;
The Second processing module 402, for parsing first operation requests, the solution based on first operation requests It analyses result and sends the second operation requests to the second block chain network, second operation requests are requested for characterizing to described Second block chain network initiates the transaction of transregional piece of chain network;
Second information transmission modular 402, for receiving the transaction results in the second block chain network;
Second information transmission modular 402, for by the transaction results in the second block chain network to the firstth area It is sent in block chain network, second operation requests is recorded by the account book information in the first block chain network to realize As a result.
In one embodiment of the invention, the Second processing module 402, for according to the second block chain network Information, inquire corresponding with the second block chain network registration information;
The Second processing module 402, described in determining based on the corresponding registration information of the second block chain network The information storage addresses of second block chain network;
Second information transmission modular 401, for sending institute to the information storage addresses of the second block chain network State the second operation requests.Technical solution shown in through this embodiment, due to being the second block chain network in registration process The Platform Type of block chain network, the unique identification of the block chain network and the area are preserved in proxy server Therefore the related information of wallet in block chain network can know the transregional piece of link network by parsing first operation requests The transaction acceptance side of network transaction, and determine the information storage addresses of block chain network locating for the transaction acceptance side, to determine State the reception address of transaction request.
In one embodiment of the invention, the Second processing module 402, for according to the second block chain network Second operation requests are converted to the executable SQL statement of respective type by corresponding registration information, to realize corresponding Api interface in execute the executable SQL statement.Technical solution shown in through this embodiment, for transregional piece of chain network Transaction corresponding pending operation is converted into corresponding respective area for using the block chain network of different data structure The executable SQL statement of block chain, realization are traded in different block chain networks.Wherein, different api interfaces is supported The grammer order of structured query language (SQL) include:
CREATE, for creating the table in database;Block INSERT is for executing insertion operation;Block SELECT For executing selection operation;Verify transaction is for executing verification operation;Commit transaction is for holding Row recovery operation.DML (Data Manipulation Language, data manipulation language) sentence can be formed;DDL(Data Definition Language, Data Definition Language) sentence;DCL (Data Control Language, data control language) Sentence;Transaction controlling sentence.It can be realized creation block using above-mentioned executable SQL statement, creation transaction, verifying transaction, mention Trade into chain, select particular account number block, verifying transaction account book normalizing operation.
In one embodiment of the invention, second information transmission modular 401, for receiving different blocks chain network Registration information;
The Second processing module 402, for according to the received obstructed block chain network registration information, for institute The adaptable intelligent contract of different blocks chain network configuration is stated, is converted to operation performed by corresponding transaction request with realizing The executable SQL statement of respective type;
The registration information of the different blocks chain network includes at least one:
The Platform Type of the block chain network, the unique identification of the block chain network, money in the block chain network The related information of packet.Technical solution shown in through this embodiment, when the block chain network of different data structure is in agency service When completing registration in device, the proxy server can save characteristic information corresponding with the block chain network feature, the generation Reason server can be that the block chain network registered distributes corresponding unique identification and adaptable intelligent contract, pass through institute The intelligent contract of adaptation can exist the executable SQL statement that operation is converted to respective type performed by corresponding transaction request It is executed in corresponding api interface.
In one embodiment of the invention, described device further include:
Authentication module 403, for more than the account with the first trade user saved in the first block chain network Volume is verified;
The authentication module 403, for when the account with the first trade user saved in the first block chain network Family remaining sum is not up to transaction limit indicated by the parsing result of first operation requests, the first prompt information is issued, with reality The first trade user income family is now prompted to adjust.Technical solution shown in through this embodiment, when transregional piece of chain network is handed over It, can be with when the remaining sum of enough transaction can not be provided by being chosen as the wallet of transaction when the useful multiple digital wallets of easy initiator The user of transaction initiator is reminded to adjust digital wallet used in the transaction for carrying out transregional piece of chain network in time.
In one embodiment of the invention, the Second processing module 402 is used for received first operation requests of institute It is added in request waiting list;
The Second processing module 402, for being identified according to the Request Priority in the request waiting list, to described Request operation sequencing in request waiting list is adjusted.Technical solution shown in through this embodiment, when described transregional piece When the proxy server of chain network transaction receives a large amount of transaction requests simultaneously, classify for transaction request, according to described The Request Priority mark in waiting list is requested, the request operation sequencing in the request waiting list is adjusted, it is excellent The first higher transaction request of processing priority.Wherein, the priority tag of the transaction request can pass through the transaction request The tranaction costs for paying the proxy server are determined, and the corresponding priority of the higher transaction request of tranaction costs is more It is high.
Fig. 5 is one optional process schematic of method of commerce of transregional piece of chain network provided in an embodiment of the present invention, such as Shown in Fig. 5, during transaction between the user of different blocks chain network (ETH and Fabric), the embodiment of the present invention There is provided transregional piece of chain network method of commerce one optional process the following steps are included:
Step 501: proxy server registers different blocks chain network.
Specifically, different blocks chain is registered in proxy server Acting Center, proxy server center is registered as it Include: Platform Type (BTC, ETH, Fabric, EOS..etc), unique identification (are proxy servers to each block platform chain The unique identification of configuration, eg:ETH_Chain_001, Fabric_Chain_002 ... etc), each block platform chain subordinate it is all The profile data bank of the information such as wallet address, proxy server Acting Center are directed to the block platform chain of different frameworks, difference The block catenary system of bottom frame version provides different SDK plug-in units (eg: proxy server _ fabric1.0_sdk, agency's clothes Be engaged in device _ ETH2.0_sdk), the plug-in unit in isomery block catenary system as embedded pluggable intelligence and about SDK, when initiation across When chain operates, Dapp layers are handed over by the particular plug-in in the SDK restful API provided and each isomery block platform chain Mutually, across chain operation is realized.
The Dapps of step 502:ETH calls SDK plug-in unit API to initiate across chain transaction;
Specifically, ETH calls the restful API of corresponding types SDK plug-in unit to initiate across chain transaction, the block chain of the type The corresponding intelligent contract of the SDK type plug-in of platform is triggered, and executes following logic:
SDK extracts Merkle Tree root in the block head of incoming SDK, and the private key of transaction initiator, and verifying transaction is returned Belong to.
By the merkle root in the block head of the block data of submission SDK, recurrence obtains the leaf in its block body Node (is submitted to the transaction account book data on chain).
Simultaneously according to the difference of API parameter, decide whether slip condition database data belonging to query originator account (eg: The World State of Fabric block chain network).If the user calls API, need that oneself is added in Transaction Information peculiar Business datum, such as number, street etc, these data be can put worldState node inside Fabric from Inside oneself database, other block platform chains are also similar.It therefore, can if in API parameter including those business datums To pass through slip condition database data belonging to query originator account, to obtain these information.
SDK is resolved to according to the different action types that transaction initiator calls to unified chain_transaction, The SQL of chain_state database table structure is operated.
Chain_transaction table structure example is as shown in table 1:
Table 1
Chain_state is indicated for example shown in table 2
Block catenary system mark Account wallet address State repository key State repository value
Table 2
The SDK plug-in unit of step 503::ETH extracts account book data, resolves to SQL;
The SDK plug-in unit of step 504:ETH initiates transaction request to proxy server.
Specifically, the account in ETH ether mill network (being registered as ETH_Chain_001 in proxy server) AccountA (wallet address addressA), by Dapps execute SDK API to BTC bit coin network (in proxy server Be registered as BTC_Chain_001) accountB (wallet address addressB) account transfer 100 bit coin (for transferring accounts The merkle root of UTXO input is transaction_000x1), call SDK API to be passed to normalizing operation sentence:
The transaction of the delete of class sql, insert, the action types such as select and different blocks catenary system and State multi-table manipulation realizes the grade transactional operations of transferring accounts between isomery block catenary system.
Step 505: proxy server receives the operation requests that ETH is sent.
Step 506: proxy server obtains target side block catenary system information according to registration information.
Specifically, such as previous embodiment, proxy server can determine the transaction are as follows: (acted on behalf of to BTC bit coin network BTC_Chain_001 is registered as in server) 100 bit coin of account B (wallet address address B) account transfer. Proxy server can inquire the profile data bank information that target side block catenary system is registered in proxy server as a result, only One mark Id and account address information etc., is addressed to the target position to operate across chain.
Step 507: proxy server receives SQL, the corresponding DDL of reverse resolution, and encapsulates a target side block chain SQL and ask It asks.
Hereby it is achieved that the transaction for transregional piece of chain network will for using the block chain network of different data structure Corresponding pending operation is converted to the executable SQL statement of corresponding respective block chain, realizes in different block chain networks In trade.
The SDK plug-in unit Receiving Agent server of step 508:Fabric is requested.
Step 509:Fabric block chain network reverse resolution SQL completes transaction, generates account book data.
By the transaction request of the sent out transmission of the proxy server, according to the corresponding registration of the second block chain network Second operation requests are had been converted into the executable SQL statement of respective type by information, are connect with realizing in corresponding API The executable SQL statement is executed in mouthful.Therefore reverse resolution SQL is only needed, transaction can be completed.
Corresponding account book is written in the transaction by step 510:Fabric.
Corresponding account book is written in the transaction by step 511:ETH.
Fig. 6 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention, such as Shown in Fig. 6, by the transaction device of transregional piece of chain network of diagram, it may be implemented to initiate by band server and complete transregional piece The transaction of chain network is asked.It includes the server with trading function that the transaction device 600 of transregional piece of chain network, which can be and have,.Institute The transaction device 600 for the transregional piece of chain network shown includes: that at least one processor 601, memory 602, at least one network connect Mouth 604 and user interface 603.Various components in the transaction device 600 of transregional piece of chain network are coupled in by bus system 605 Together.It is understood that bus system 605 is for realizing the connection communication between these components.It includes that data are total that bus system 605, which is removed, It further include power bus, control bus and status signal bus in addition except line.It, will be each in Fig. 6 but for the sake of clear explanation Kind bus is all designated as bus system 605.
Wherein, user interface 603 may include display, keyboard, mouse, trace ball, click wheel, key, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 602 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.The memory 602 of description of the embodiment of the present invention is intended to include these and any other suitable type Memory.
Memory 602 in the embodiment of the present invention is for storing including user data, transaction request, registration information, intelligence The program of contract is to support the operation of the transaction device 600 of transregional piece of chain network.The example of these data includes: for transregional Any computer program operated in the transaction device 600 of block chain network, such as operating system 6021 and application program 6022;User Data, intelligent contract program etc..Wherein, operating system 6021 includes various system programs, such as ccf layer, core library layer, drive Dynamic layer etc., for realizing various basic businesses and the hardware based task of processing.Application program 6022 may include various answer With program, such as the client with trading function, media player (Media Player), browser (Browser) etc., use In realization including passing through the various applied business including transregional piece of chain network transaction program or intelligent contract.Realize that the present invention is real The program for applying an information processing method may be embodied in application program 6022.
The method that the embodiments of the present invention disclose can be applied in processor 601, or be realized by processor 601. Processor 601 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 601 or the operation of software form.Above-mentioned processing Device 601 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 601 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 602, and processor 601 reads the information in memory 602, in conjunction with its hardware The step of completing preceding method.
In the exemplary embodiment, the transaction device 600 of transregional piece of chain network can be by the dedicated collection of one or more application At circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for executing the information processing method.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The memory 602 of computer program, above-mentioned computer program can be by the processors 601 of the transaction device 600 of transregional piece of chain network It executes, to complete step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, The memories such as EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include above-mentioned memory One of or any combination various equipment, such as mobile phone, computer, tablet device, personal digital assistant.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter When calculation machine program is run by processor, execute:
The first transaction request is initiated by the first block chain network, first transaction request is used for characterizing the first transaction The transaction request of transregional piece of chain network is initiated from the first block chain network to other block chain networks in family, wherein described One trade user is the initiator of first transaction request;
In response to first transaction request, extracts first transaction saved in the first block chain network and use The account book information at family;
Based on the account book information of extracted first trade user, the first operation requests are sent to proxy server, with reality The corresponding operation of first transaction request is now converted to by the proxy server the executable SQL language of respective type Sentence;
Receive the transaction results that the proxy server is sent;
The received transaction results of record institute in the account book of first trade user.
Fig. 7 is one optional structural schematic diagram of the transaction device of transregional piece of chain network provided in an embodiment of the present invention, such as Shown in Fig. 7, by the transaction device of transregional piece of chain network of diagram, it may be implemented to complete transregional piece of chain network.Transregional piece of chain It includes the server with trading function that the transaction device 700 of network, which can be and have,.Shown in transregional piece of chain network transaction Device 700 includes: at least one processor 701, memory 702, at least one network interface 704 and user interface 703.It is transregional Various components in the transaction device 700 of block chain network are coupled by bus system 705.It is understood that bus system 705 For realizing the connection communication between these components.Bus system 705 except include data/address bus in addition to, further include power bus, Control bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system in Fig. 7 705。
Wherein, user interface 703 may include display, keyboard, mouse, trace ball, click wheel, key, button, sense of touch Plate or touch screen etc..
It is appreciated that memory 702 can be volatile memory or nonvolatile memory, may also comprise volatibility and Both nonvolatile memories.The memory 702 of description of the embodiment of the present invention is intended to include these and any other suitable type Memory.
Memory 702 in the embodiment of the present invention is for storing including user data, key data, the program of intelligent contract To support the operation of the transaction device 700 of transregional piece of chain network.The example of these data includes: in transregional piece of chain network Any computer program operated in the transaction device 700, such as operating system 7021 and application program 7022;User data, intelligence Contract program etc..Wherein, operating system 7021 includes various system programs, such as ccf layer, core library layer, driving layer etc., is used In the various basic businesses of realization and the hardware based task of processing.Application program 7022 may include various application programs, example Client, media player (Media Player), browser (Browser) such as with trading function, for realizing packet It includes through the various applied business including transregional piece of chain network transaction program or intelligent contract.Realize information of the embodiment of the present invention The program of processing method may be embodied in application program 7022.
The method that the embodiments of the present invention disclose can be applied in processor 701, or be realized by processor 701. Processor 701 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is each Step can be completed by the integrated logic circuit of the hardware in processor 701 or the operation of software form.Above-mentioned processing Device 701 can be general processor, digital signal processor (DSP, Digital Signal Processor) or other can Programmed logic device, discrete gate or transistor logic, discrete hardware components etc..Processor 701 may be implemented or hold Disclosed each method, step and logic diagram in the row embodiment of the present invention.General processor can be microprocessor or appoint What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly at hardware decoding Reason device executes completion, or in decoding processor hardware and software module combine and execute completion.Software module can be located at In storage medium, which is located at memory 702, and processor 701 reads the information in memory 702, in conjunction with its hardware The step of completing preceding method.
In the exemplary embodiment, the transaction device 700 of transregional piece of chain network can be by the dedicated collection of one or more application At circuit (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), Complex Programmable Logic Devices (CPLD, Complex Programmable Logic Device), field programmable gate array (FPGA, Field-Programmable Gate Array), general processor, control Device, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor) or other electronics member Part is realized, for executing the information processing method.
In the exemplary embodiment, the embodiment of the invention also provides a kind of computer readable storage medium, for example including The memory 702 of computer program, above-mentioned computer program can be by the processors 701 of the transaction device 700 of transregional piece of chain network It executes, to complete step described in preceding method.Computer readable storage medium can be FRAM, ROM, PROM, EPROM, The memories such as EEPROM, Flash Memory, magnetic surface storage, CD or CD-ROM;It is also possible to include above-mentioned memory One of or any combination various equipment, such as mobile phone, computer, tablet device, personal digital assistant.
The embodiment of the invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, the meter When calculation machine program is run by processor, execute:
The first operation requests are received, first operation requests are used to characterize the first transaction in the first block chain network and use The transaction that transregional piece of chain network is initiated to different block chain networks is initiated by proxy server in family;
In response to received first operation requests of institute, the second block link network corresponding with first operation requests is obtained The information of network;
First operation requests are parsed, the parsing result based on first operation requests is to the second block link network Network sends the second operation requests, and second operation requests initiate transregional piece to the second block chain network for characterizing request The transaction of chain network;
Receive the transaction results in the second block chain network;
Transaction results in the second block chain network are sent into the first block chain network, to realize by described Account book information in first block chain network records the result of second operation requests.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as the production of method, system or computer program Product.Therefore, hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the embodiment of the present invention Form.Moreover, it wherein includes the calculating of computer usable program code that the embodiment of the present invention, which can be used in one or more, The form for the computer program product implemented in machine usable storage medium (including magnetic disk storage and optical memory etc.).
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, equipment (system) and computer program product Flowchart and/or the block diagram describe.It should be understood that can be operated by computer program in implementation flow chart and/or block diagram The combination of process and/or box in each flow and/or block and flowchart and/or the block diagram.It can provide these calculating Processing of the machine procedure operation to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices Device is to generate a machine, so that being generated by the operation that computer or the processor of other programmable data processing devices execute For realizing the function of being specified in one or more flows of the flowchart and/or one or more blocks of the block diagram Device.
The operation of these computer programs, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes behaviour that operation stored in the computer readable memory, which generates, Make the manufacture of device, the operating device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
The operation of these computer programs also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The operation executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention, it is all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention, should be included in protection of the invention Within the scope of.

Claims (17)

1.一种跨区块链网络的交易方法,其特征在于,所述方法包括:1. A transaction method across a blockchain network, wherein the method comprises: 通过第一区块链网络发起第一交易请求,所述第一交易请求用于表征第一交易用户从所述第一区块链网络向其它区块链网络发起跨区块链网络的交易请求,其中,所述第一交易用户为所述第一交易请求的发起方;A first transaction request is initiated through the first blockchain network, where the first transaction request is used to represent that a first transaction user initiates a transaction request across blockchain networks from the first blockchain network to other blockchain networks , wherein the first transaction user is the initiator of the first transaction request; 响应于所述第一交易请求,提取所述第一区块链网络中所保存的所述第一交易用户的账本信息;In response to the first transaction request, extracting the ledger information of the first transaction user stored in the first blockchain network; 基于所提取的第一交易用户的账本信息,向代理服务器发送第一操作请求,以实现通过所述代理服务器将所述第一交易请求对应的操作转换为相应类型的可执行SQL语句;Based on the extracted account book information of the first transaction user, a first operation request is sent to the proxy server, so as to convert the operation corresponding to the first transaction request into a corresponding type of executable SQL statement through the proxy server; 接收所述代理服务器发送的交易结果;receiving the transaction result sent by the proxy server; 在所述第一交易用户的账本中记录所接收的交易结果。The received transaction result is recorded in the ledger of the first transaction user. 2.根据权利要求1所述的跨区块链网络的交易处理方法,其特征在于,所述响应于所发起的所述第一交易请求,提取所述第一区块链中所保存的第一交易用户的账本信息,包括:2 . The transaction processing method across a blockchain network according to claim 1 , wherein, in response to the first transaction request initiated, extract the first transaction request stored in the first blockchain. 3 . A transaction user's ledger information, including: 响应于所发起的所述第一交易请求,触发第一智能合约;triggering a first smart contract in response to the initiated first transaction request; 通过所触发的第一智能合约,提取所述第一区块链网络中所述第一交易用户的账本信息所对应的区块节点的默克尔树根信息和所述第一交易用户的私钥;Extract the Merkle tree root information of the block node corresponding to the ledger information of the first transaction user in the first blockchain network and the private information of the first transaction user through the triggered first smart contract key; 基于所提取的所述第一区块链网络中区块节点的默克尔树根信息和所述第一交易用户的私钥,提取所述第一区块链网络中所保存的第一交易用户的账本信息。Extract the first transaction stored in the first blockchain network based on the extracted Merkle tree root information of the block node in the first blockchain network and the private key of the first transaction user User's ledger information. 3.根据权利要求2所述的跨区块链网络的交易方法,其特征在于,所述触发第一智能合约,包括:3. The transaction method across a blockchain network according to claim 2, wherein the triggering of the first smart contract comprises: 基于所述第一交易请求中的交易参数,查询与所述第一交易用户关联的状态数据库;querying a state database associated with the first transaction user based on the transaction parameters in the first transaction request; 根据与所述第一交易用户关联的状态数据库的查询结果,所述第一智能合约在所述第一交易请求中添加所述第一交易用户的特征信息。According to the query result of the state database associated with the first transaction user, the first smart contract adds the characteristic information of the first transaction user to the first transaction request. 4.根据权利要求2所述的跨区块链网络的交易方法,其特征在于,所述触发第一智能合约,包括:4. The transaction method across a blockchain network according to claim 2, wherein the triggering of the first smart contract comprises: 基于所述第一交易用户所处的区块链网络的类型,将所述响应于所发起的所述第一交易请求所执行的操作转换为相应类型的可执行SQL语句;Based on the type of the blockchain network where the first transaction user is located, converting the operation performed in response to the initiated first transaction request into an executable SQL statement of a corresponding type; 通过所述第一智能合约调用所述第一交易请求的API接口,在所述API接口中执行所述可执行SQL语句。The API interface of the first transaction request is invoked through the first smart contract, and the executable SQL statement is executed in the API interface. 5.根据权利要求1所述的跨区块链网络的交易方法,其特征在于,所述方法还包括:5. The transaction method across a blockchain network according to claim 1, wherein the method further comprises: 将在所述第一区块链网络中所保存的与第一交易用户的账本中所记录的交易结果,在所述第一区块链网络中对所述交易结果进行广播。The transaction results recorded in the ledger with the first transaction user saved in the first blockchain network are broadcast in the first blockchain network. 6.一种跨区块链网络的交易方法,其特征在于,所述方法包括:6. A transaction method across a blockchain network, wherein the method comprises: 接收第一操作请求,所述第一操作请求用于表征第一区块链网络中的第一交易用户通过代理服务器发起向不同的区块链网络发起跨区块链网络的交易;receiving a first operation request, where the first operation request is used to represent that a first transaction user in the first blockchain network initiates a transaction across blockchain networks to different blockchain networks through a proxy server; 响应于所接收的第一操作请求,获取与所述第一操作请求相对应的第二区块链网络的信息;In response to the received first operation request, obtain information of the second blockchain network corresponding to the first operation request; 解析所述第一操作请求,基于所述第一操作请求的解析结果向所述第二区块链网络发送第二操作请求,所述第二操作请求用于表征请求向所述第二区块链网络发起跨区块链网络的交易;Parse the first operation request, and send a second operation request to the second blockchain network based on the parsing result of the first operation request, where the second operation request is used to characterize the request to the second block The chain network initiates transactions across the blockchain network; 接收所述第二区块链网络中的交易结果;receiving a transaction result in the second blockchain network; 将所述第二区块链网络中的交易结果向第一区块链网络中发送,以实现通过所述第一区块链网络中的账本信息记录所述第二操作请求的结果。Send the transaction result in the second blockchain network to the first blockchain network, so as to record the result of the second operation request through the ledger information in the first blockchain network. 7.根据权利要求6所述的跨区块链网络的交易方法,其特征在于,所述解析所述第一操作请求,基于所述第一操作请求的解析结果向所述第二区块链网络发送第二操作请求,包括:7 . The transaction method across blockchain networks according to claim 6 , wherein the parsing of the first operation request is based on a parsing result of the first operation request to the second blockchain. 8 . The network sends a second operation request, including: 根据所述第二区块链网络的信息,查询与所述第二区块链网络对应的注册信息;According to the information of the second blockchain network, query the registration information corresponding to the second blockchain network; 基于所述第二区块链网络对应的注册信息,确定所述第二区块链网络的信息存储地址;determining the information storage address of the second blockchain network based on the registration information corresponding to the second blockchain network; 向所述第二区块链网络的信息存储地址发送所述第二操作请求。The second operation request is sent to the information storage address of the second blockchain network. 8.根据权利要求7所述的跨区块链网络的交易方法,其特征在于,所述方法还包括:8. The transaction method across a blockchain network according to claim 7, wherein the method further comprises: 根据所述第二区块链网络对应的注册信息,将所述第二操作请求,转换为相应类型的可执行SQL语句,以实现在相应的API接口中执行所述可执行SQL语句。According to the registration information corresponding to the second blockchain network, the second operation request is converted into an executable SQL statement of a corresponding type, so as to implement the executable SQL statement in a corresponding API interface. 9.根据权利要求6所述的跨区块链网络的交易方法,其特征在于,所述方法还包括:9. The transaction method across a blockchain network according to claim 6, wherein the method further comprises: 接收不同区块链网络的注册信息;Receive registration information from different blockchain networks; 根据所接收的所述不通区块链网络的注册信息,为所述不同区块链网络配置相适应的智能合约,以实现将相应的交易请求所执行的操作转换为相应类型的可执行SQL语句;According to the received registration information of the different blockchain networks, configure suitable smart contracts for the different blockchain networks, so as to convert the operation performed by the corresponding transaction request into a corresponding type of executable SQL statement ; 所述不同区块链网络的注册信息包括至少以下之一:The registration information of the different blockchain networks includes at least one of the following: 所述区块链网络的平台类型、所述区块链网络的唯一标识、所述区块链网络中钱包的关联信息。The platform type of the blockchain network, the unique identifier of the blockchain network, and the associated information of the wallet in the blockchain network. 10.根据权利要求6所述的跨区块链网络的交易方法,其特征在于,基于所述第一操作请求的解析结果向所述第二区块链网络发送第二操作请求之前,所述方法还包括:10. The transaction method across blockchain networks according to claim 6, characterized in that, before sending a second operation request to the second blockchain network based on the parsing result of the first operation request, the Methods also include: 对所述第一区块链网络中所保存的与第一交易用户的账户余额进行验证;Verifying the account balance with the first transaction user stored in the first blockchain network; 当所述第一区块链网络中所保存的与第一交易用户的账户余额未达到所述第一操作请求的解析结果所指示的交易额度,发出第一提示信息,以实现提示所述第一交易用户进账户调整。When the account balance with the first transaction user stored in the first blockchain network does not reach the transaction limit indicated by the analysis result of the first operation request, a first prompt message is sent to prompt the first transaction user. A trading user makes an account adjustment. 11.根据权利要求6所述的跨区块链网络的交易方法,其特征在于,所述方法还包括:11. The transaction method across a blockchain network according to claim 6, wherein the method further comprises: 将所接收的第一操作请求加入请求等待队列中;adding the received first operation request to the request waiting queue; 根据所述请求等待队列中的请求优先级标识,对所述请求等待队列中的请求操作排序进行调整。According to the request priority identifier in the request waiting queue, the ordering of the request operations in the request waiting queue is adjusted. 12.一种跨区块链网络的交易装置,其特征在于,所述装置包括:12. A transaction device across a blockchain network, wherein the device comprises: 第一信息传输模块,用于通过第一区块链网络发起第一交易请求,所述第一交易请求用于表征第一交易用户从所述第一区块链网络向其它区块链网络发起跨区块链网络的交易请求,其中,所述第一交易用户为所述第一交易请求的发起方;The first information transmission module is used to initiate a first transaction request through the first blockchain network, and the first transaction request is used to represent that the first transaction user initiates from the first blockchain network to other blockchain networks A transaction request across the blockchain network, wherein the first transaction user is the initiator of the first transaction request; 第一处理模块,用于响应于所述第一交易请求,提取所述第一区块链网络中所保存的所述第一交易用户的账本信息;a first processing module, configured to extract the ledger information of the first transaction user stored in the first blockchain network in response to the first transaction request; 所述第一信息传输模块,用于基于所提取的第一交易用户的账本信息,向代理服务器发送第一操作请求,以实现通过所述代理服务器将所述第一交易请求对应的操作转换为相应类型的可执行SQL语句;The first information transmission module is configured to send a first operation request to the proxy server based on the extracted account book information of the first transaction user, so as to convert the operation corresponding to the first transaction request to the proxy server through the proxy server. The corresponding type of executable SQL statement; 所述第一信息传输模块,用于接收所述代理服务器发送的交易结果;the first information transmission module, configured to receive the transaction result sent by the proxy server; 所述第一处理模块,用于在所述第一交易用户的账本中记录所接收的交易结果。The first processing module is configured to record the received transaction result in the account book of the first transaction user. 13.一种跨区块链网络的交易装置,其特征在于,所述装置包括:13. A transaction device across a blockchain network, wherein the device comprises: 第二信息传输模块,用于接收第一操作请求,所述第一操作请求用于表征第一区块链网络中的第一交易用户通过代理服务器发起向不同的区块链网络发起跨区块链网络的交易;The second information transmission module is configured to receive a first operation request, where the first operation request is used to represent that the first transaction user in the first blockchain network initiates cross-blocking to different blockchain networks through a proxy server Chain network transactions; 第二处理模块,用于响应于所接收的第一操作请求,获取与所述第一操作请求相对应的第二区块链网络的信息;a second processing module, configured to, in response to the received first operation request, acquire information of the second blockchain network corresponding to the first operation request; 所述第二处理模块,用于解析所述第一操作请求,基于所述第一操作请求的解析结果向所述第二区块链网络发送第二操作请求,所述第二操作请求用于表征请求向所述第二区块链网络发起跨区块链网络的交易;The second processing module is configured to parse the first operation request, and send a second operation request to the second blockchain network based on the parsing result of the first operation request, where the second operation request is used for characterizing a request to initiate a transaction across the blockchain network to the second blockchain network; 所述第二信息传输模块,用于接收所述第二区块链网络中的交易结果;the second information transmission module, configured to receive the transaction result in the second blockchain network; 所述第二信息传输模块,用于将所述第二区块链网络中的交易结果向第一区块链网络中发送,以实现通过所述第一区块链网络中的账本信息记录所述第二操作请求的结果。The second information transmission module is used to send the transaction result in the second blockchain network to the first blockchain network, so as to realize the record of the ledger information through the first blockchain network. Describe the result of the second operation request. 14.一种跨区块链网络的交易装置,其特征在于,所述装置包括:14. A transaction device across a blockchain network, wherein the device comprises: 处理器和用于存储能够在处理器上运行的可执行指令的存储器,a processor and memory for storing executable instructions capable of being executed on the processor, 其中,所述处理器用于运行所述可执行指令时,执行以下操作:Wherein, when the processor is configured to run the executable instructions, the following operations are performed: 通过第一区块链网络发起第一交易请求,所述第一交易请求用于表征第一交易用户从所述第一区块链网络向其它区块链网络发起跨区块链网络的交易请求,其中,所述第一交易用户为所述第一交易请求的发起方;A first transaction request is initiated through the first blockchain network, where the first transaction request is used to represent that a first transaction user initiates a transaction request across blockchain networks from the first blockchain network to other blockchain networks , wherein the first transaction user is the initiator of the first transaction request; 响应于所述第一交易请求,提取所述第一区块链网络中所保存的所述第一交易用户的账本信息;In response to the first transaction request, extracting the ledger information of the first transaction user stored in the first blockchain network; 基于所提取的第一交易用户的账本信息,向代理服务器发送第一操作请求,以实现通过所述代理服务器将所述第一交易请求对应的操作转换为相应类型的可执行SQL语句;Based on the extracted account book information of the first transaction user, a first operation request is sent to the proxy server, so as to convert the operation corresponding to the first transaction request into a corresponding type of executable SQL statement through the proxy server; 接收所述代理服务器发送的交易结果;receiving the transaction result sent by the proxy server; 在所述第一交易用户的账本中记录所接收的交易结果。The received transaction result is recorded in the ledger of the first transaction user. 15.一种计算机可读存储介质,其存储有可执行指令,其特征在于,可执行指令被处理器执行时实现以下的操作:15. A computer-readable storage medium storing executable instructions, wherein the executable instructions realize the following operations when executed by a processor: 通过第一区块链网络发起第一交易请求,所述第一交易请求用于表征第一交易用户从所述第一区块链网络向其它区块链网络发起跨区块链网络的交易请求,其中,所述第一交易用户为所述第一交易请求的发起方;A first transaction request is initiated through the first blockchain network, where the first transaction request is used to represent that a first transaction user initiates a transaction request across blockchain networks from the first blockchain network to other blockchain networks , wherein the first transaction user is the initiator of the first transaction request; 响应于所述第一交易请求,提取所述第一区块链网络中所保存的所述第一交易用户的账本信息;In response to the first transaction request, extracting the ledger information of the first transaction user stored in the first blockchain network; 基于所提取的第一交易用户的账本信息,向代理服务器发送第一操作请求,以实现通过所述代理服务器将所述第一交易请求对应的操作转换为相应类型的可执行SQL语句;Based on the extracted account book information of the first transaction user, a first operation request is sent to the proxy server, so as to convert the operation corresponding to the first transaction request into an executable SQL statement of a corresponding type through the proxy server; 接收所述代理服务器发送的交易结果;receiving the transaction result sent by the proxy server; 在所述第一交易用户的账本中记录所接收的交易结果。The received transaction result is recorded in the ledger of the first transaction user. 16.一种跨区块链网络的交易装置,其特征在于,所述装置包括:16. A transaction device across a blockchain network, wherein the device comprises: 处理器和用于存储能够在处理器上运行的可执行指令的存储器,a processor and memory for storing executable instructions capable of being executed on the processor, 其中,所述处理器用于运行所述可执行指令时,执行以下操作:Wherein, when the processor is configured to run the executable instructions, the following operations are performed: 接收第一操作请求,所述第一操作请求用于表征第一区块链网络中的第一交易用户通过代理服务器发起向不同的区块链网络发起跨区块链网络的交易;receiving a first operation request, where the first operation request is used to represent that a first transaction user in the first blockchain network initiates a transaction across blockchain networks to different blockchain networks through a proxy server; 响应于所接收的第一操作请求,获取与所述第一操作请求相对应的第二区块链网络的信息;In response to the received first operation request, obtain information of the second blockchain network corresponding to the first operation request; 解析所述第一操作请求,基于所述第一操作请求的解析结果向所述第二区块链网络发送第二操作请求,所述第二操作请求用于表征请求向所述第二区块链网络发起跨区块链网络的交易;Parse the first operation request, and send a second operation request to the second blockchain network based on the parsing result of the first operation request, where the second operation request is used to represent the request to the second block The chain network initiates transactions across the blockchain network; 接收所述第二区块链网络中的交易结果;receiving a transaction result in the second blockchain network; 将所述第二区块链网络中的交易结果向第一区块链网络中发送,以实现通过所述第一区块链网络中的账本信息记录所述第二操作请求的结果。Send the transaction result in the second blockchain network to the first blockchain network, so as to record the result of the second operation request through the ledger information in the first blockchain network. 17.一种计算机可读存储介质,其存储有可执行指令,其特征在于,可执行指令被处理器执行时实现以下的操作:17. A computer-readable storage medium storing executable instructions, wherein the executable instructions realize the following operations when executed by a processor: 接收第一操作请求,所述第一操作请求用于表征第一区块链网络中的第一交易用户通过代理服务器发起向不同的区块链网络发起跨区块链网络的交易;receiving a first operation request, where the first operation request is used to represent that a first transaction user in the first blockchain network initiates a transaction across the blockchain network to a different blockchain network through a proxy server; 响应于所接收的第一操作请求,获取与所述第一操作请求相对应的第二区块链网络的信息;In response to the received first operation request, obtain information of the second blockchain network corresponding to the first operation request; 解析所述第一操作请求,基于所述第一操作请求的解析结果向所述第二区块链网络发送第二操作请求,所述第二操作请求用于表征请求向所述第二区块链网络发起跨区块链网络的交易;Parse the first operation request, and send a second operation request to the second blockchain network based on the parsing result of the first operation request, where the second operation request is used to represent the request to the second block The chain network initiates transactions across the blockchain network; 接收所述第二区块链网络中的交易结果;receiving a transaction result in the second blockchain network; 将所述第二区块链网络中的交易结果向第一区块链网络中发送,以实现通过所述第一区块链网络中的账本信息记录所述第二操作请求的结果。Send the transaction result in the second blockchain network to the first blockchain network, so as to record the result of the second operation request through the ledger information in the first blockchain network.
CN201811444598.8A 2018-11-29 2018-11-29 Cross-block chain network transaction method, device and storage medium Pending CN109559227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811444598.8A CN109559227A (en) 2018-11-29 2018-11-29 Cross-block chain network transaction method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811444598.8A CN109559227A (en) 2018-11-29 2018-11-29 Cross-block chain network transaction method, device and storage medium

Publications (1)

Publication Number Publication Date
CN109559227A true CN109559227A (en) 2019-04-02

Family

ID=65868004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811444598.8A Pending CN109559227A (en) 2018-11-29 2018-11-29 Cross-block chain network transaction method, device and storage medium

Country Status (1)

Country Link
CN (1) CN109559227A (en)

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175840A (en) * 2019-04-19 2019-08-27 华中科技大学 Method, client, alliance's chain and the system of light wallet mechanism are realized in alliance's chain
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Cross-chain communication method, device, main chain node and storage medium
CN110442652A (en) * 2019-08-15 2019-11-12 腾讯科技(深圳)有限公司 A kind of across chain data processing method and device based on block chain
CN110503488A (en) * 2019-08-29 2019-11-26 江苏德赢软件科技有限公司 A kind of method, apparatus and system based on guest room stock promotional
CN110517138A (en) * 2019-08-20 2019-11-29 深圳市网心科技有限公司 Intelligent contract processing method, device, computer equipment and storage medium
CN110532801A (en) * 2019-08-29 2019-12-03 深圳市网心科技有限公司 Communication means, device, client and storage medium based on multi-tiling interchain
CN110750303A (en) * 2019-09-25 2020-02-04 支付宝(杭州)信息技术有限公司 Pipelined instruction reading method and device based on FPGA
CN110780945A (en) * 2019-10-24 2020-02-11 杭州趣链科技有限公司 Cross-chain bridging method, equipment and storage medium capable of plugging heterogeneous block chain
CN111008206A (en) * 2019-11-21 2020-04-14 深圳壹账通智能科技有限公司 Storage method, device and storage medium for state data of cross-chain transaction
CN111108521A (en) * 2019-06-27 2020-05-05 阿里巴巴集团控股有限公司 Implementing a blockchain based workflow
CN111275414A (en) * 2019-12-31 2020-06-12 深圳市网心科技有限公司 A blockchain-based digital currency exchange method, device and system
WO2020143854A2 (en) 2020-04-22 2020-07-16 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
CN111489161A (en) * 2020-04-20 2020-08-04 北京俩撇科技有限公司 Block chain system, registration and chain crossing method and device
CN111652728A (en) * 2020-06-17 2020-09-11 深圳前海微众银行股份有限公司 A transaction processing method and device
CN111866085A (en) * 2020-06-28 2020-10-30 北京沃东天骏信息技术有限公司 Data storage method, system and device based on block chain
CN112052436A (en) * 2020-08-07 2020-12-08 深圳区块大陆科技有限公司 Block chain account management mode
CN112491846A (en) * 2020-11-18 2021-03-12 深圳前海微众银行股份有限公司 Cross-chain block chain communication method and device
CN112527890A (en) * 2019-09-19 2021-03-19 上海哔哩哔哩科技有限公司 Block chain data synchronization method and device and computer equipment
CN112734432A (en) * 2021-03-30 2021-04-30 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
CN112995344A (en) * 2021-04-29 2021-06-18 杭州链城数字科技有限公司 Block chain all-in-one machine, and chain crossing method and device and storage medium of multiple nodes in block chain all-in-one machine
WO2021134426A1 (en) * 2019-12-31 2021-07-08 深圳市网心科技有限公司 Blockchain-based method, apparatus and system for digital currency transactions
CN113254538A (en) * 2021-06-17 2021-08-13 支付宝(杭州)信息技术有限公司 Method for executing transaction in block chain and block chain link point
WO2021174930A1 (en) * 2020-03-05 2021-09-10 支付宝(杭州)信息技术有限公司 Service processing system and service processing method, apparatus and device
US20210398211A1 (en) * 2020-06-17 2021-12-23 Coinbase, Inc. Systems and methods for converting cryptocurrency
CN114255030A (en) * 2020-09-22 2022-03-29 中国电信股份有限公司 Cross-blockchain transaction method and system for supporting cross-blockchain transaction
CN114826766A (en) * 2022-05-18 2022-07-29 北京交通大学 Block chain cross-chain based security verifiable service providing method and system
CN115022053A (en) * 2022-06-08 2022-09-06 京东科技控股股份有限公司 Method, apparatus and system for accessing a blockchain network
US11455631B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11455297B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
CN115314375A (en) * 2022-07-22 2022-11-08 京东科技信息技术有限公司 Block chain network cross-domain networking method, device, storage medium and program product
WO2024066749A1 (en) * 2022-09-26 2024-04-04 腾讯科技(深圳)有限公司 Blockchain transaction execution method and apparatus, program product, device, and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874440A (en) * 2017-02-07 2017-06-20 杭州秘猿科技有限公司 A kind of block chain state storage method based on SQL database
CN106960388A (en) * 2017-03-01 2017-07-18 中钞信用卡产业发展有限公司北京智能卡技术研究院 The method and apparatus of the digital asset circulation of transregional piece of chain
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN108320228A (en) * 2018-03-07 2018-07-24 物数(上海)信息科技有限公司 Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN108509523A (en) * 2018-03-13 2018-09-07 深圳前海微众银行股份有限公司 Structuring processing method, equipment and the readable storage medium storing program for executing of block chain data
KR101922565B1 (en) * 2018-05-23 2018-11-27 (주)에스씨씨 Alliance block chain system that enables sharing of data between different block chains

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106874440A (en) * 2017-02-07 2017-06-20 杭州秘猿科技有限公司 A kind of block chain state storage method based on SQL database
CN106960388A (en) * 2017-03-01 2017-07-18 中钞信用卡产业发展有限公司北京智能卡技术研究院 The method and apparatus of the digital asset circulation of transregional piece of chain
CN107239940A (en) * 2017-05-11 2017-10-10 北京博晨技术有限公司 Network trading method and device based on block catenary system
CN108320228A (en) * 2018-03-07 2018-07-24 物数(上海)信息科技有限公司 Transregional piece of chain transaction in assets method, platform, equipment and storage medium
CN108509523A (en) * 2018-03-13 2018-09-07 深圳前海微众银行股份有限公司 Structuring processing method, equipment and the readable storage medium storing program for executing of block chain data
KR101922565B1 (en) * 2018-05-23 2018-11-27 (주)에스씨씨 Alliance block chain system that enables sharing of data between different block chains

Cited By (54)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110175840A (en) * 2019-04-19 2019-08-27 华中科技大学 Method, client, alliance's chain and the system of light wallet mechanism are realized in alliance's chain
CN110175840B (en) * 2019-04-19 2021-08-03 华中科技大学 Method, client, alliance chain and system for realizing light wallet mechanism in alliance chain
CN110288345A (en) * 2019-06-26 2019-09-27 深圳市网心科技有限公司 Cross-chain communication method, device, main chain node and storage medium
CN110288345B (en) * 2019-06-26 2022-04-05 深圳市迅雷网络技术有限公司 Cross-chain communication method, device, main chain node and storage medium
CN111108521A (en) * 2019-06-27 2020-05-05 阿里巴巴集团控股有限公司 Implementing a blockchain based workflow
CN110442652A (en) * 2019-08-15 2019-11-12 腾讯科技(深圳)有限公司 A kind of across chain data processing method and device based on block chain
CN110597925B (en) * 2019-08-15 2021-09-14 腾讯科技(深圳)有限公司 Cross-chain data processing method and device based on block chain
CN110597925A (en) * 2019-08-15 2019-12-20 腾讯科技(深圳)有限公司 Cross-chain data processing method and device based on block chain
CN110442652B (en) * 2019-08-15 2021-09-21 腾讯科技(深圳)有限公司 Cross-chain data processing method and device based on block chain
WO2021031472A1 (en) * 2019-08-20 2021-02-25 深圳市网心科技有限公司 Intelligent contract processing method and device, computer device and storage medium
CN110517138A (en) * 2019-08-20 2019-11-29 深圳市网心科技有限公司 Intelligent contract processing method, device, computer equipment and storage medium
CN110503488A (en) * 2019-08-29 2019-11-26 江苏德赢软件科技有限公司 A kind of method, apparatus and system based on guest room stock promotional
CN110532801A (en) * 2019-08-29 2019-12-03 深圳市网心科技有限公司 Communication means, device, client and storage medium based on multi-tiling interchain
CN112527890A (en) * 2019-09-19 2021-03-19 上海哔哩哔哩科技有限公司 Block chain data synchronization method and device and computer equipment
CN112527890B (en) * 2019-09-19 2023-04-11 上海哔哩哔哩科技有限公司 Block chain data synchronization method and device and computer equipment
CN110750303A (en) * 2019-09-25 2020-02-04 支付宝(杭州)信息技术有限公司 Pipelined instruction reading method and device based on FPGA
CN110750303B (en) * 2019-09-25 2020-10-20 支付宝(杭州)信息技术有限公司 Pipelined instruction reading method and device based on FPGA
CN110780945A (en) * 2019-10-24 2020-02-11 杭州趣链科技有限公司 Cross-chain bridging method, equipment and storage medium capable of plugging heterogeneous block chain
CN110780945B (en) * 2019-10-24 2023-09-08 杭州趣链科技有限公司 Cross-chain bridging method, device and storage medium for pluggable heterogeneous blockchain
CN111008206A (en) * 2019-11-21 2020-04-14 深圳壹账通智能科技有限公司 Storage method, device and storage medium for state data of cross-chain transaction
WO2021098139A1 (en) * 2019-11-21 2021-05-27 深圳壹账通智能科技有限公司 Method and device for storing state data of cross-chain transaction, and storage medium
CN111275414A (en) * 2019-12-31 2020-06-12 深圳市网心科技有限公司 A blockchain-based digital currency exchange method, device and system
WO2021134426A1 (en) * 2019-12-31 2021-07-08 深圳市网心科技有限公司 Blockchain-based method, apparatus and system for digital currency transactions
WO2021174930A1 (en) * 2020-03-05 2021-09-10 支付宝(杭州)信息技术有限公司 Service processing system and service processing method, apparatus and device
CN111489161A (en) * 2020-04-20 2020-08-04 北京俩撇科技有限公司 Block chain system, registration and chain crossing method and device
EP3837657A4 (en) * 2020-04-22 2021-08-04 Alipay (Hangzhou) Information Technology Co., Ltd. MANAGEMENT OF TRANSACTION INQUIRIES IN ACCOUNT SYSTEMS
US11455297B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11250428B2 (en) 2020-04-22 2022-02-15 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
WO2020143854A2 (en) 2020-04-22 2020-07-16 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US11455631B2 (en) 2020-04-22 2022-09-27 Alipay (Hangzhou) Information Technology Co., Ltd. Managing transaction requests in ledger systems
US20210398211A1 (en) * 2020-06-17 2021-12-23 Coinbase, Inc. Systems and methods for converting cryptocurrency
CN111652728A (en) * 2020-06-17 2020-09-11 深圳前海微众银行股份有限公司 A transaction processing method and device
US12093999B2 (en) * 2020-06-17 2024-09-17 Coinbase, Inc. Systems and methods for converting cryptocurrency
CN111866085B (en) * 2020-06-28 2021-12-14 北京沃东天骏信息技术有限公司 Data storage method, system and device based on block chain
CN111866085A (en) * 2020-06-28 2020-10-30 北京沃东天骏信息技术有限公司 Data storage method, system and device based on block chain
CN112052436A (en) * 2020-08-07 2020-12-08 深圳区块大陆科技有限公司 Block chain account management mode
CN114255030A (en) * 2020-09-22 2022-03-29 中国电信股份有限公司 Cross-blockchain transaction method and system for supporting cross-blockchain transaction
CN112491846A (en) * 2020-11-18 2021-03-12 深圳前海微众银行股份有限公司 Cross-chain block chain communication method and device
CN112491846B (en) * 2020-11-18 2023-04-18 深圳前海微众银行股份有限公司 Cross-chain block chain communication method and device
CN113673991A (en) * 2021-03-30 2021-11-19 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
CN112734432A (en) * 2021-03-30 2021-04-30 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
CN113673991B (en) * 2021-03-30 2024-11-12 蚂蚁区块链科技(上海)有限公司 Cross-chain data processing method and device
CN112734432B (en) * 2021-03-30 2021-07-23 支付宝(杭州)信息技术有限公司 Cross-link data processing method and device
WO2022205960A1 (en) * 2021-03-30 2022-10-06 蚂蚁区块链科技(上海)有限公司 Cross-chain data processing method and apparatus
CN112995344A (en) * 2021-04-29 2021-06-18 杭州链城数字科技有限公司 Block chain all-in-one machine, and chain crossing method and device and storage medium of multiple nodes in block chain all-in-one machine
CN113254538B (en) * 2021-06-17 2021-11-16 支付宝(杭州)信息技术有限公司 Method for executing transaction in block chain and block chain link point
CN113254538A (en) * 2021-06-17 2021-08-13 支付宝(杭州)信息技术有限公司 Method for executing transaction in block chain and block chain link point
CN114385756A (en) * 2021-06-17 2022-04-22 支付宝(杭州)信息技术有限公司 Method and blockchain node for executing transactions in blockchain
CN114385756B (en) * 2021-06-17 2024-12-17 蚂蚁区块链科技(上海)有限公司 Method for executing transaction in block chain and block chain link point
CN114826766A (en) * 2022-05-18 2022-07-29 北京交通大学 Block chain cross-chain based security verifiable service providing method and system
CN115022053A (en) * 2022-06-08 2022-09-06 京东科技控股股份有限公司 Method, apparatus and system for accessing a blockchain network
CN115314375A (en) * 2022-07-22 2022-11-08 京东科技信息技术有限公司 Block chain network cross-domain networking method, device, storage medium and program product
CN115314375B (en) * 2022-07-22 2024-02-06 京东科技信息技术有限公司 Blockchain network cross-domain networking method, equipment, storage medium and program product
WO2024066749A1 (en) * 2022-09-26 2024-04-04 腾讯科技(深圳)有限公司 Blockchain transaction execution method and apparatus, program product, device, and medium

Similar Documents

Publication Publication Date Title
CN109559227A (en) Cross-block chain network transaction method, device and storage medium
US10977632B2 (en) Electronic bill management method, apparatus, and storage medium
KR102749705B1 (en) Upgradeable security token
US20200252205A1 (en) Systems, methods, and apparatuses for implementing a multi tenant blockchain platform for managing einstein platform decisions using distributed ledger technology (dlt)
TW202022857A (en) Invoice creating method and device based on block chain and electronic device
TW201937436A (en) Blockchain based transaction execution method and device and electronic equipment
KR102569751B1 (en) Computer-implemented systems and methods for determining the state of machine-executable contracts implemented using blockchains
CN110659906B (en) Bill information processing method, related device and medium
TW202040478A (en) Block chain-based resource allocation method and device and electronic equipment
TW202022754A (en) Invoice creating method and device based on block chain and electronic equipment
CN110494876A (en) For issuing the system and method with track digital token in distributed network node
KR20180115778A (en) Integrated block chain-based data transfer control method and system
CN110163744A (en) A kind of method of payment and device based on block chain
HK1249791A1 (en) Systems and methods of blockchain transaction recordation
CN108197214B (en) Query method and query system for digital currency transaction information
CN108092778B (en) Method and system for inquiring related account based on digital currency wallet
CN108764890A (en) Method and system for handling payment transaction at computing device
US12100014B2 (en) Method and system for providing a service node within a blockchain
KR102188504B1 (en) Method for managing on-line donation with smart contract based on blockchain network, and blockchain node using them
CN110020900A (en) Invoice based on block chain rushes red method and device and electronic equipment
WO2018192931A1 (en) Delivery versus payment mechanism
CN113436009A (en) Public accumulation fund extraction method and system based on alliance chain
JP6721724B2 (en) Methods and devices that facilitate the expansion of payment entities
US20220129873A1 (en) Method and system for an electronic bill payment platform
CN107392600A (en) Digital cash transaction payment register method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402