Movatterモバイル変換


[0]ホーム

URL:


CN110866823A - Public link-based transaction method and block chain system - Google Patents

Public link-based transaction method and block chain system
Download PDF

Info

Publication number
CN110866823A
CN110866823ACN201811496855.2ACN201811496855ACN110866823ACN 110866823 ACN110866823 ACN 110866823ACN 201811496855 ACN201811496855 ACN 201811496855ACN 110866823 ACN110866823 ACN 110866823A
Authority
CN
China
Prior art keywords
transaction
chain
public
service
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811496855.2A
Other languages
Chinese (zh)
Other versions
CN110866823B (en
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.)
Jiangsu Digital Property Rights Trading Co ltd
Nanjing Aowei Holdings Co ltd
Original Assignee
Aowei Information Technology Jiangsu 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 Aowei Information Technology Jiangsu Co LtdfiledCriticalAowei Information Technology Jiangsu Co Ltd
Priority to PCT/CN2019/101048priorityCriticalpatent/WO2020042931A1/en
Publication of CN110866823ApublicationCriticalpatent/CN110866823A/en
Application grantedgrantedCritical
Publication of CN110866823BpublicationCriticalpatent/CN110866823B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请提供一种基于公链的交易方法及区块链系统。所述方法,先由交易发起链向公链发起查询交易,再通过公链查询接入公链网络的交易目标链,并返回符合所述服务类型信息的交易目标链信息;交易发起链再根据交易目标链要求的交易方式和交易条件向公链发起服务交易;公链将服务交易传递至交易目标链;并且在交易目标链验证所述交易条件合格后根据接收到的服务交易向公链返回服务内容;最后公链再将服务内容传递至交易发起链,完成跨链交易。所述方法通过公链网络查询和传递服务交易,使交易发起链能够获得交易目标链的服务内容,在不同链网络之间完成跨链交易,提高基于区块链交易方法的应用范围。

Figure 201811496855

The present application provides a public chain-based transaction method and blockchain system. In the method, the transaction initiating chain first initiates a query transaction to the public chain, then the transaction target chain connected to the public chain network is inquired through the public chain, and the transaction target chain information conforming to the service type information is returned; The transaction method and transaction conditions required by the transaction target chain initiate a service transaction to the public chain; the public chain transfers the service transaction to the transaction target chain; and returns to the public chain according to the received service transaction after the transaction target chain verifies that the transaction conditions are qualified Service content; finally, the public chain transfers the service content to the transaction initiation chain to complete the cross-chain transaction. The method queries and transmits service transactions through the public chain network, so that the transaction initiator chain can obtain the service content of the transaction target chain, completes cross-chain transactions between different chain networks, and improves the application scope of the blockchain-based transaction method.

Figure 201811496855

Description

Translated fromChinese
基于公链的交易方法及区块链系统Public chain-based transaction method and blockchain system

本申请要求在2018年8月28日提交中国专利局、申请号为201810986825.3、发明名称为“区块链标准应用模型及其应用方法”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on August 28, 2018 with the application number 201810986825.3 and the invention titled "Blockchain Standard Application Model and Its Application Method", the entire contents of which are incorporated by reference in in this application.

技术领域technical field

本申请涉及区块链技术领域,尤其涉及一种基于公链的交易方法及区块链系统。The present application relates to the field of blockchain technology, and in particular, to a public chain-based transaction method and blockchain system.

背景技术Background technique

区块链技术是一种去中心化的系统思想,能通过公众共识的方式,创建一个相对客观的抗抵赖数字环境。区块链技术可以保证网络信息一经发布即不可更改,例如,区块链网络中发生一笔交易,区块链网络中的节点会在生成的区块中记载该笔交易的内容,并将区块数据进行全网广播,网络中的其他节点以同步或异步的方式存储该区块数据,形成不可更改的区块链。Blockchain technology is a decentralized system idea that can create a relatively objective and non-repudiation digital environment through public consensus. Blockchain technology can ensure that network information cannot be changed once it is released. For example, if a transaction occurs in a blockchain network, the nodes in the blockchain network will record the content of the transaction in the generated block, and will The block data is broadcast on the entire network, and other nodes in the network store the block data in a synchronous or asynchronous manner to form an immutable blockchain.

其中,所述交易具有广义性,不是指传统意义上的“商品买卖”、“物品交换”,而是指区块链网络上的某种或某个数据操作内容或操作结果,例如,在网络上某个区块链节点A发起一个某型号通信设备性能的查询请求a,所述查询请求a对于承担查询服务的区块链节点B来说就是一笔交易。同理。节点B将查询得到的该型号通信设备的性能表b发送给节点A也是一笔交易。信息A、a和信息B、b作为交易信息会被写入区块链的数据区块中。Among them, the transaction has a broad sense, and does not refer to "commodity trading" or "item exchange" in the traditional sense, but refers to some or a certain data operation content or operation result on the blockchain network, for example, in the network A certain blockchain node A initiates a query request a for the performance of a certain type of communication equipment, and the query request a is a transaction for the blockchain node B that undertakes the query service. The same is true. It is also a transaction that node B sends the obtained performance table b of the communication device of this type to node A. Information A, a and information B, b will be written into the data block of the blockchain as transaction information.

现有基于区块链的交易方法,仅可局限于同一个区块链网络内,即多为区块链网络中节点与节点之间的交易,并且每种区块链网络以独有的虚拟货币作为交易媒介。例如基于比特币的交易方法仅适用于比特币区块链网络,以比特币(Bitcoin)作为交易虚拟货币;基于以太坊(Etherum)的交易方法只适用于以太坊区块链网络,以以太币作为交易虚拟货币。随着区块链网络技术是发展,越来越多的区块链网络被建立,例如行业链、联盟链以及私链,等等,以实现特定领域内的实际应用。Existing blockchain-based transaction methods can only be limited to the same blockchain network, that is, transactions between nodes in the blockchain network, and each blockchain network has a unique virtual Currency as a medium of exchange. For example, the transaction method based on Bitcoin is only applicable to the Bitcoin blockchain network, and Bitcoin is used as the virtual currency for trading; the transaction method based on Ethereum is only applicable to the Ethereum blockchain network, and the transaction method is based on Ethereum. as a virtual currency for trading. With the development of blockchain network technology, more and more blockchain networks have been established, such as industry chains, alliance chains and private chains, etc., to achieve practical applications in specific fields.

可见,现有的区块链网络之间基本是相互独立的,不同链之间没有统一有效的机制来通讯和交互。而每种区块链因其应用场景的不同,可提供不同的能力集,区块链网络的内生性决定了不同链提供的能力集之间无法进行对接,即造成数据和应用孤岛效应,限制基于区块链交易方法的应用。It can be seen that the existing blockchain networks are basically independent of each other, and there is no unified and effective mechanism for communication and interaction between different chains. Each blockchain can provide different capability sets due to its different application scenarios. The endogenous nature of the blockchain network determines that the capability sets provided by different chains cannot be connected, that is, resulting in data and application island effects, limiting Applications based on blockchain transaction methods.

发明内容SUMMARY OF THE INVENTION

本申请提供了一种基于公链的交易方法及区块链系统,以解决传统交易方法不支持跨链交易,限制基于区块链交易方法应用的问题。This application provides a public chain-based transaction method and a blockchain system to solve the problem that traditional transaction methods do not support cross-chain transactions and limit the application of blockchain-based transaction methods.

一方面,本申请提供一种基于公链的交易方法,包括:On the one hand, the present application provides a public chain-based transaction method, including:

交易发起链向公链发起包含服务类型信息的查询交易;The transaction initiation chain initiates a query transaction containing service type information to the public chain;

公链根据查询交易中的服务类型信息,查询接入公链网络的交易目标链;The public chain queries the transaction target chain connected to the public chain network according to the service type information in the query transaction;

公链向交易发起链返回符合服务类型信息的交易目标链信息,交易目标链信息包括目标链地址,交易方式以及交易条件;The public chain returns the transaction target chain information that matches the service type information to the transaction initiation chain. The transaction target chain information includes the target chain address, transaction method and transaction conditions;

交易发起链根据交易方式和交易条件向公链发起服务交易;The transaction initiation chain initiates service transactions to the public chain according to the transaction method and transaction conditions;

公链传递服务交易至交易目标链;The public chain transmits service transactions to the transaction target chain;

交易目标链验证交易条件,以及在验证合格后根据接收到的服务交易向公链返回服务内容;The transaction target chain verifies the transaction conditions, and returns the service content to the public chain according to the received service transaction after the verification is qualified;

公链传递服务内容至交易发起链。The public chain delivers the service content to the transaction initiation chain.

可选的,交易发起链向公链发起包含服务类型信息的查询交易的步骤包括:Optionally, the steps of the transaction initiation chain initiating a query transaction including service type information to the public chain include:

交易发起链中的交易节点根据实际交易信息生成交易请求;The transaction nodes in the transaction initiation chain generate transaction requests according to the actual transaction information;

交易节点将交易请求在交易发起链中广播,以形成符合交易发起链的区块链记账;The transaction node broadcasts the transaction request in the transaction initiation chain to form a blockchain accounting that conforms to the transaction initiation chain;

结账节点将交易请求进行验证,并打包为区块数据;The checkout node verifies the transaction request and packages it as block data;

记账节点将区块数据广播至其他节点,并向公链中的维护节点发起查询交易,公链提供的智能合约包括公链创建的智能合约和公共智能合约。The accounting node broadcasts the block data to other nodes, and initiates query transactions to the maintenance nodes in the public chain. The smart contracts provided by the public chain include smart contracts created by the public chain and public smart contracts.

可选的,在交易发起链向公链发起包含服务类型信息的查询交易的步骤前,所述方法还包括:Optionally, before the step of initiating a query transaction including service type information to the public chain by the transaction initiation chain, the method further includes:

公链向接入的公链网络的区块链网络发起合约验证信息,验证接入的区块链网络是否支持公链提供的智能合约;The public chain initiates contract verification information to the blockchain network of the connected public chain network to verify whether the connected blockchain network supports the smart contracts provided by the public chain;

公链根据是否支持智能合约的验证结果,为接入的区块链网络设置合约判断标签,包括:为接入的区块链网络对应接口节点设置合约判断标签;或者,为接入的区块链网络地址设置合约判断标签。The public chain sets the contract judgment label for the connected blockchain network according to the verification result of whether it supports the smart contract, including: setting the contract judgment label for the corresponding interface node of the connected blockchain network; or, for the connected block The chain network address sets the contract judgment label.

可选的,在公链向交易发起链返回符合服务类型信息的交易目标链信息的步骤后,如果交易发起链和交易目标链均支持公链约定的接口规范,所述方法还可以通过以下步骤向交易发起链返回服务内容:Optionally, after the public chain returns the transaction target chain information that conforms to the service type information to the transaction initiation chain, if both the transaction initiation chain and the transaction target chain support the interface specification agreed upon by the public chain, the method can also go through the following steps: Return the service content to the transaction initiation chain:

交易发起链根据交易方式和交易条件,直接向交易目标链发起服务交易;The transaction initiation chain directly initiates service transactions to the transaction target chain according to the transaction method and transaction conditions;

交易目标链验证交易条件,以及在验证合格后根据接收到的服务交易向交易发起链返回服务内容;The transaction target chain verifies the transaction conditions, and returns the service content to the transaction initiation chain according to the received service transaction after the verification is qualified;

交易发起链和交易目标链完成交易后,向公链同步交易摘要。After the transaction originating chain and the transaction target chain complete the transaction, the transaction summary is synchronized to the public chain.

可选的,在交易发起链向公链发起包含服务类型信息的查询交易的步骤还包括:Optionally, the step of initiating a query transaction including service type information to the public chain in the transaction initiation chain further includes:

公链判断交易发起链是否支持智能合约;The public chain judges whether the transaction initiation chain supports smart contracts;

如果交易发起链不支持智能合约,通过公链为交易发起链创建智能合约,或者为交易发起链配置公共智能合约;If the transaction initiation chain does not support smart contracts, create a smart contract for the transaction initiation chain through the public chain, or configure a public smart contract for the transaction initiation chain;

公链根据智能合约或公共智能合约,确定交易发起链和交易目标链对应的地址。The public chain determines the addresses corresponding to the transaction originating chain and the transaction target chain according to the smart contract or public smart contract.

可选的,所述交易条件包括交易目标链指定的交易证通数量,交易发起链根据交易条件向公链发起服务交易的步骤前还包括:Optionally, the transaction conditions include the number of transaction tokens specified by the transaction target chain, and before the step of initiating a service transaction to the public chain according to the transaction conditions, the transaction initiation chain further includes:

判断交易发起链所拥有的证通数量,是否满足交易目标链指定的交易证通数量;Determine whether the number of certificates owned by the transaction originating chain meets the number of transaction certificates specified by the transaction target chain;

如果交易发起链拥有的证通数量满足交易目标链指定的交易证通数量,允许交易发起链向公链发起服务交易;If the number of certificates owned by the transaction originating chain meets the number of transaction certificates specified by the transaction target chain, the transaction originating chain is allowed to initiate service transactions to the public chain;

如果交易发起链拥有的证通数量不满足交易目标链指定的交易证通数量,向交易发起链发送提示信息,以及根据服务类型继续查询接入公链网络的其他交易目标链。If the number of tokens owned by the transaction initiation chain does not meet the number of transaction tokens specified by the transaction target chain, a prompt message will be sent to the transaction initiation chain, and other transaction target chains connected to the public chain network will continue to be inquired according to the service type.

可选的,交易发起链根据交易条件向公链发起服务交易的步骤包括:交易发起链在公链上创建转账交易,以触发合约执行,转账交易中包括向交易目标链支付的指定交易证通数量。Optionally, the step of the transaction initiation chain initiating a service transaction to the public chain according to the transaction conditions includes: the transaction initiation chain creates a transfer transaction on the public chain to trigger the execution of the contract, and the transfer transaction includes a designated transaction certificate to be paid to the transaction target chain. quantity.

可选的,公链传递服务交易至交易目标链的步骤包括:Optionally, the steps for the public chain to transmit the service transaction to the transaction target chain include:

公链对转账交易进行锁定,以及根据转账交易,向交易目标链发起请求交易;The public chain locks the transfer transaction, and initiates a request transaction to the transaction target chain according to the transfer transaction;

交易目标链根据交易请求,向公链提供返回交易结果;The transaction target chain provides the return transaction result to the public chain according to the transaction request;

公链验证返回交易结果,如果返回交易与转账交易一致,解除转账交易的锁定状态;The public chain verification returns the transaction result. If the returned transaction is consistent with the transfer transaction, the locked state of the transfer transaction is released;

公链将交易发起链支付的证通,转账至交易目标链,以及将服务内容转至交易发起链。The public chain transfers the certificate of transaction initiation chain payment to the transaction target chain, and transfers the service content to the transaction initiation chain.

可选的,公链在查询接入公链网络的交易目标链之后,所述方法还包括:Optionally, after the public chain queries the transaction target chain connected to the public chain network, the method further includes:

公链判断交易发起链和交易目标链,是否支持直接通过公链的证通进行交易;The public chain determines whether the transaction originating chain and the transaction target chain support transactions directly through the public chain's certificate;

如果交易发起链,和/或交易目标链,不支持直接通过公链的证通进行交易,在交易发起链,和/或交易目标链对应的平行链中转换证通;If the transaction originating chain, and/or the transaction target chain, do not support transactions directly through the certificate of the public chain, the certificate is converted in the parallel chain corresponding to the transaction origination chain and/or the transaction target chain;

由交易发起链对应的平行链向公链发起服务交易,以及由交易目标链对应的平行链向公链返回服务内容。The parachain corresponding to the transaction initiation chain initiates service transactions to the public chain, and the parachain corresponding to the transaction target chain returns the service content to the public chain.

另一方面,本申请还提供一种基于公链的区块链系统,包括:交易发起链、公链以及交易目标链;所述交易发起链通过公链与交易目标链建立网络连接;On the other hand, the present application also provides a public chain-based blockchain system, including: a transaction initiation chain, a public chain, and a transaction target chain; the transaction initiation chain establishes a network connection with the transaction target chain through the public chain;

所述交易发起链被配置为:向公链发起包含服务类型信息的查询交易;以及,根据交易目标链的交易条件向公链发起服务交易;The transaction initiation chain is configured to: initiate a query transaction including service type information to the public chain; and initiate a service transaction to the public chain according to the transaction conditions of the transaction target chain;

所述公链被配置为:根据查询交易中的服务类型,查询接入公链网络的交易目标链;向交易发起链返回符合服务类型信息的交易目标链信息,所述交易目标链信息包括目标链地址、交易方式和交易条件;以及,传递服务交易至交易目标链,和传递服务内容至交易发起链;The public chain is configured to: query the transaction target chain connected to the public chain network according to the service type in the query transaction; return transaction target chain information conforming to the service type information to the transaction initiation chain, and the transaction target chain information includes the target chain. chain address, transaction method and transaction conditions; and, delivering service transactions to the transaction target chain, and delivering service content to the transaction originating chain;

所述交易目标链被配置为:验证交易条件,以及在验证合格后根据接收到的服务交易向公链返回服务内容。The transaction target chain is configured to: verify transaction conditions, and return service content to the public chain according to the received service transaction after the verification is qualified.

由以上技术方案可知,所述方法在实际应用中,先由交易发起链向公链发起查询交易,再通过公链根据查询交易中的服务类型信息,查询接入公链网络的交易目标链;以使公链向交易发起链返回符合所述服务类型信息的交易目标链信息;交易发起链再根据交易目标链要求的交易方式和交易条件向公链发起服务交易;公链将服务交易传递至交易目标链;并且在交易目标链验证所述交易条件合格后根据接收到的服务交易向公链返回服务内容;最后公链再将服务内容传递至交易发起链,完成跨链交易。所述方法通过公链网络查询和传递服务交易,使交易发起链能够获得交易目标链的服务内容,在不同链网络之间完成跨链交易,提高基于区块链交易方法的应用范围。As can be seen from the above technical solutions, in practical application of the method, the transaction initiation chain first initiates a query transaction to the public chain, and then the public chain queries the transaction target chain connected to the public chain network according to the service type information in the query transaction; In order to make the public chain return the transaction target chain information that meets the service type information to the transaction initiation chain; the transaction initiation chain then initiates service transactions to the public chain according to the transaction method and transaction conditions required by the transaction target chain; the public chain transmits the service transaction to the public chain. The transaction target chain; and after the transaction target chain verifies that the transaction conditions are qualified, the service content is returned to the public chain according to the received service transaction; finally, the public chain transmits the service content to the transaction initiation chain to complete the cross-chain transaction. The method queries and transmits service transactions through the public chain network, so that the transaction initiator chain can obtain the service content of the transaction target chain, completes cross-chain transactions between different chain networks, and improves the application scope of the blockchain-based transaction method.

附图说明Description of drawings

为了更清楚地说明本申请的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,对于本领域普通技术人员而言,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions of the present application more clearly, the accompanying drawings required in the embodiments will be briefly introduced below. Obviously, for those of ordinary skill in the art, without creative work, the Additional drawings can be obtained from these drawings.

图1为本申请基于公链的交易方法流程示意图;FIG. 1 is a schematic flowchart of the transaction method based on the public chain of the application;

图2为本申请交易发起链向公链发起查询交易的流程示意图;FIG. 2 is a schematic flowchart of the application transaction initiation chain initiating a query transaction to the public chain;

图3为本申请判断交易发起链是否支持智能合约的流程示意图;FIG. 3 is a schematic flowchart of the application for judging whether the transaction initiation chain supports smart contracts;

图4为本申请判断交易发起链和交易目标链是否支持公链证通交易的流程示意图;4 is a schematic flowchart of the application for judging whether the transaction originating chain and the transaction target chain support the public chain certificate transaction;

图5为本申请判断交易发起链证通数量是否符合要求的流程示意图;FIG. 5 is a schematic flowchart of the application for judging whether the number of Chain Certificate Passes initiated by a transaction meets the requirements;

图6为本申请公链对交易锁定时的交易流程示意图;FIG. 6 is a schematic diagram of the transaction flow when the public chain of the application locks the transaction;

图7为本申请交易发起链和交易目标链支持公链约定的接口规范时交易流程图;Fig. 7 is a transaction flow chart when the transaction initiation chain and the transaction target chain of the application support the interface specification agreed by the public chain;

图8为本申请一种基于公链的区块链系统的结构示意图。FIG. 8 is a schematic structural diagram of a public chain-based blockchain system of the present application.

具体实施方式Detailed ways

下面将详细地对实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下实施例中描述的实施方式并不代表与本申请相一致的所有实施方式。仅是与权利要求书中所详述的、本申请的一些方面相一致的系统和方法的示例。Embodiments will be described in detail below, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following examples are not intended to represent all implementations consistent with this application. are merely exemplary of systems and methods consistent with some aspects of the present application as recited in the claims.

在本申请提供的技术方案中,区块链网络是指具有去中心化应用架构的点对点(P2P)网络,所述区块链网络能够进行分布式存储、公共共识、数字加密、交易记账以及验证。即涵盖了分布式技术、密码学、P2P网络架构以及各种可能被应用的共识算法的交易平台。区块链或区块链信息是指在区块链网络中发生交易时,根据交易信息生成的记账信息,即多笔具体的交易组成一个区块,多个区块形成一条有序区块链。区块链网络中,包括相互建立点对点网络连接的节点,每一个节点都配置有相应的共识机制,如智能合约,并且具有足够的运算能力,以进行交易验证和记账程序。节点上还具有符合某种统一标准的接口规范,以实现通过接口规范接入更多的节点或者其他类型的区块链网络。In the technical solutions provided in this application, the blockchain network refers to a peer-to-peer (P2P) network with a decentralized application architecture, and the blockchain network can perform distributed storage, public consensus, digital encryption, transaction accounting and verify. That is, a trading platform covering distributed technology, cryptography, P2P network architecture and various consensus algorithms that may be applied. Blockchain or blockchain information refers to the accounting information generated according to the transaction information when a transaction occurs in the blockchain network, that is, multiple specific transactions form a block, and multiple blocks form an ordered block chain. The blockchain network includes nodes that establish peer-to-peer network connections with each other. Each node is configured with a corresponding consensus mechanism, such as a smart contract, and has sufficient computing power for transaction verification and accounting procedures. The node also has an interface specification that conforms to a certain unified standard, so as to realize access to more nodes or other types of blockchain networks through the interface specification.

在本申请中,所提及的公链、交易发起链、交易目标链以及平行链,均是指符合区块链技术的不同区块链网络。本申请中除另有说明外,公链、交易发起链、交易目标链以及平行链均是指相应的网络,即公链网络、交易发起链网络、交易目标链网络以及平行链网络。本申请提供的技术方案中,公链网络作为布置在全网的基础平台,其节点接口接入多个区块链网络,如基于公链接口规范搭建的行业链、联盟链以及私有链。每个区块链网络可以作为一个开发平台,并为其网络内部提供相应的服务。其中,公链定义和规范有标准的接口和方式,以便于其他区块链,如交易发起链和交易目标链,进行网络对接。本申请中公链具有支持跨链中介的能力,还具有去中心化的应用和智能合约化能力。In this application, the public chain, transaction initiation chain, transaction target chain and parallel chain mentioned all refer to different blockchain networks that conform to the blockchain technology. Unless otherwise stated in this application, the public chain, transaction initiation chain, transaction target chain and parachain refer to the corresponding networks, namely the public chain network, transaction initiation chain network, transaction target chain network and parachain network. In the technical solution provided by this application, the public chain network is used as the basic platform arranged in the whole network, and its node interface is connected to multiple blockchain networks, such as industry chain, alliance chain and private chain built based on the public chain interface specification. Each blockchain network can serve as a development platform and provide corresponding services within its network. Among them, the definition and specification of the public chain has a standard interface and method to facilitate the network connection of other blockchains, such as the transaction initiation chain and the transaction target chain. In this application, the public chain has the ability to support cross-chain intermediaries, as well as decentralized application and smart contracting capabilities.

交易发起链和交易目标链是指接入公链网络中的区块链,即在本申请中,公链提供基础平台,交易发起链和交易目标链作为接入的网络,具有各自的功能和服务。交易发起链和交易目标链可以是基于公链网络标准和接口规范搭建的区块链网络,即交易发起链和交易目标链可以直接与公链网络之间进行通信和服务对接。交易发起链和交易目标链也可以是各自独立的网络,如现有的区块链网络比特币、以太坊等,或者,某些行业开发的行业链和联盟链,甚至是为了达到某种服务需求而搭建的私有链。这些现有区块链、行业链、联盟链以及私有链,一般不能直接相互交易甚至不能与公链网络之间相互交易,因此,本申请中可通过平行链来连接公链与其他网络。The transaction initiation chain and the transaction target chain refer to the blockchains that are connected to the public chain network, that is, in this application, the public chain provides the basic platform, and the transaction initiation chain and the transaction target chain are the connected networks, with their own functions and Serve. The transaction initiation chain and the transaction target chain can be a blockchain network built on the basis of public chain network standards and interface specifications, that is, the transaction initiation chain and the transaction target chain can directly communicate and connect with the public chain network. The transaction initiation chain and the transaction target chain can also be independent networks, such as the existing blockchain network Bitcoin, Ethereum, etc., or the industry chain and alliance chain developed by some industries, or even to achieve a certain service. A private chain built on demand. These existing blockchains, industry chains, alliance chains and private chains generally cannot directly trade with each other or even with public chain networks. Therefore, in this application, parallel chains can be used to connect public chains and other networks.

平行链可以由公链网络中的部分节点组成,通过平行链可以对公链与其他不能直接交易的网络之间进行桥接。本申请中,对于不能直接交易的网络,每一个区块链网络都对应一个平行链,平行链被设置为具有对应区块链网络的完整功能,并且能够对区块链网络中的交易进行同步转化,并传递到公链网络中。因此,在本申请提供的技术方案中,平行链可以确定为对应区块链网络的镜像,而为了便于描述,对应区块链网络成为母链。在本申请中,平行链由公链网络中的部分节点组成,并且这些节点也是母链中的节点,以进行交易信息的传递。A parachain can be composed of some nodes in a public chain network, and a parachain can bridge between the public chain and other networks that cannot be directly transacted. In this application, for networks that cannot be directly transacted, each blockchain network corresponds to a parachain, and the parachain is set to have the complete functions of the corresponding blockchain network and can synchronize transactions in the blockchain network. Converted and transmitted to the public chain network. Therefore, in the technical solution provided in this application, the parallel chain can be determined as the mirror image of the corresponding blockchain network, and for the convenience of description, the corresponding blockchain network becomes the parent chain. In this application, the parachain is composed of some nodes in the public chain network, and these nodes are also nodes in the parent chain to transmit transaction information.

基于上述组成部分,公链在实际应用中可提供跨链中继,完成交易验证,数据证明,资产转移和智能合约执行等工作。公链统一对外的接口规范,可使其他区块链网络能够快速接入公链网络。公链还提供基础的区块链平台能力,即快速完成方案部署和验证,完成在公链网络中的分布式存储和记账程序。另外,作为基础平台,公链还可以提供公共开发功能,从而一次性完成多个平行链智能合约协同开发和部署。Based on the above components, the public chain can provide cross-chain relay in practical applications, complete transaction verification, data proof, asset transfer and smart contract execution. The public chain unifies the external interface specification, which enables other blockchain networks to quickly access the public chain network. The public chain also provides basic blockchain platform capabilities, that is, the rapid completion of solution deployment and verification, and the completion of distributed storage and accounting procedures in the public chain network. In addition, as a basic platform, the public chain can also provide public development functions, so as to complete the collaborative development and deployment of multiple parallel chain smart contracts at one time.

公链除了记录自己的区块链信息外,还可以用于存储相应跨链交易的信息摘要,即交易摘要。通过格式化的交易数据记录跨链交易的相关内容。同时,为了减少对公链上分布式存储空间的占用,公链在记录某些信息时,还可以通过特定的压缩算法记录第三方区块链信息。示例地,在公链中形成和存储的区块数据可以包括以下内容:区块标识(如序号、时间戳、区块hash值以及前区块hash值)、区块归属(即区块生成者)、区块其他信息(如随机值、难度值以及附加信息等)、区块权重、信息摘要(如交易树、状态树、收据树以及数据树等)、交易费用、奖励、大小等。In addition to recording its own blockchain information, the public chain can also be used to store information summaries of corresponding cross-chain transactions, that is, transaction summaries. Record relevant content of cross-chain transactions through formatted transaction data. At the same time, in order to reduce the occupation of distributed storage space on the public chain, when the public chain records some information, it can also record third-party blockchain information through a specific compression algorithm. Exemplarily, the block data formed and stored in the public chain may include the following: block identification (such as serial number, timestamp, block hash value and previous block hash value), block attribution (that is, the block producer ), other information of the block (such as random value, difficulty value and additional information, etc.), block weight, information summary (such as transaction tree, state tree, receipt tree and data tree, etc.), transaction fee, reward, size, etc.

为了实现跨链交易,本申请提供的一种基于公链的交易方法,如图1所示,所述交易方法包括以下步骤:In order to realize cross-chain transactions, a transaction method based on a public chain provided in this application, as shown in FIG. 1 , the transaction method includes the following steps:

S1:交易发起链向公链发起包含服务类型信息的查询交易。S1: The transaction initiation chain initiates a query transaction containing service type information to the public chain.

本申请提供的技术方案中,交易发起链根据自身的服务需求,确定交易发起链上需要的服务类型,并以查询交易的方式发送给公链网络。由于本申请中,交易发起链也是接入公链的区块链网络,因此,此处所述的发起查询交易可以是交易发起链中的某个节点发起。交易节点发起查询交易后,交易发起链网络先对该服务交易进行判断,以确定在交易发起链网络内部是否可以完成该服务交易。In the technical solution provided in this application, the transaction initiation chain determines the type of service required on the transaction initiation chain according to its own service requirements, and sends it to the public chain network by querying the transaction. Since in this application, the transaction initiation chain is also a blockchain network connected to the public chain, the transaction initiation query described here may be initiated by a node in the transaction initiation chain. After the transaction node initiates the query transaction, the transaction initiation chain network first judges the service transaction to determine whether the service transaction can be completed within the transaction initiation chain network.

如果当前服务交易可以在所述交易发起链内部完成,则不需要向公链网络发起查询交易,即交易节点在交易发起链内部与另一个能够提供对应服务类型的节点之间完成交易,这一交易过程可以在交易发起链内部形成区块链信息,并且在交易发起链内部进行分布式存储、验证等程序。如果当前服务交易不能够在所述交易发起链内部完成,则可以通过交易发起链中的智能合约生成对应的查询交易,并向公链发起所述查询交易。显然,在发起的查询交易中必然包括服务交易中所需求的服务类型。另外,对于无法直接与公链进行交易的第三方区块链,查询交易可以通过平行链传递到公链上,以发起查询交易。If the current service transaction can be completed within the transaction initiation chain, there is no need to initiate a query transaction to the public chain network, that is, the transaction node completes the transaction within the transaction initiation chain and another node that can provide the corresponding service type. The transaction process can form blockchain information within the transaction initiation chain, and perform distributed storage, verification and other procedures within the transaction initiation chain. If the current service transaction cannot be completed within the transaction initiation chain, a corresponding query transaction can be generated through a smart contract in the transaction initiation chain, and the query transaction is initiated to the public chain. Obviously, the type of service required in the service transaction must be included in the initiated query transaction. In addition, for third-party blockchains that cannot directly transact with the public chain, the query transaction can be transmitted to the public chain through the parachain to initiate the query transaction.

例如,接入公链网络P的区块链网络有5个,分别为区块链网络A~E,其中,网络B包含100个节点,分别记为B00~B99。在实际应用中,网络B中的节点B25需要使用100个证通Tb,兑换等价值的证通Ta,则节点B25作为交易节点,其根据需要创建查询交易并形成区块数据,查询交易中包含的服务类型为:证通兑换,节点B25可将查询交易现在网络B中进行广播,即广播至其他节点,如B24和B26,网络B中的其他节点一方面对查询交易的区块数据进行分布式存储,完成记账,另一方面可确定网络B中是否能够满足节点B25的交易请求的其他节点,即其他节点是否能够向节点B25兑换证通Ta。For example, there are 5 blockchain networks connected to the public chain network P, which are respectively the blockchain networks A to E. Among them, the network B includes 100 nodes, which are denoted as B00 to B99 respectively. In practical applications, the node B25 in the network B needs to use 100 certificates Tb to exchange for the equivalent value of the certificate Ta, then the node B25 acts as a transaction node, which creates query transactions and forms block data as needed. The query transactions include The service type is: certificate exchange, node B25 can broadcast the query transaction in network B, that is, broadcast to other nodes, such as B24 and B26, other nodes in network B distribute the block data of the query transaction on the one hand On the other hand, it can be determined whether other nodes in the network B can meet the transaction request of the node B25, that is, whether other nodes can exchange the token Ta to the node B25.

如果网络B中的其他节点不能完成证通兑换,则需要将该查询交易广播给公链网络P中的节点,以便公链网络P中的节点根据该查询交易确定网络A、C、D、E是否能够向节点B25兑换证通Ta。If other nodes in network B cannot complete the certificate exchange, the query transaction needs to be broadcast to the nodes in the public chain network P, so that the nodes in the public chain network P can determine the network A, C, D, E according to the query transaction Whether it is possible to exchange the token Ta to node B25.

进一步地,如图2所示,交易发起链向公链发起包含服务类型信息的查询交易还可以进一步包括以下步骤:Further, as shown in Figure 2, the transaction initiation chain initiating a query transaction including service type information to the public chain may further include the following steps:

S101:所述交易发起链中的交易节点根据实际交易生成交易信息;S101: The transaction node in the transaction initiation chain generates transaction information according to the actual transaction;

S102:所述交易节点将所述交易信息在交易发起链中广播,以形成符合所述交易发起链的区块链记账;S102: The transaction node broadcasts the transaction information in the transaction initiation chain, so as to form a blockchain accounting that conforms to the transaction initiation chain;

S103:记账节点将交易进行验证,并加入区块数据;S103: The accounting node verifies the transaction and adds block data;

S104:记账节点将区块数据广播至交易发起链其他节点,同时向公链中的维护节点发起查询交易,公链提供的智能合约包括公链创建的智能合约和公共智能合约。S104: The accounting node broadcasts the block data to other nodes in the transaction initiation chain, and at the same time initiates a query transaction to the maintenance node in the public chain. The smart contracts provided by the public chain include smart contracts created by the public chain and public smart contracts.

由以上步骤可知,在交易节点生成交易后,可以将交易信息在交易发起链中进行广播,交易发起链根据其记账规则,将交易信息写入区块数据进行分布式存储,形成符合交易发起链的区块链记账数据。所述区块数据中记载了交易节点所发起的实际交易信息,例如:服务类型、交易数量、交易发起方、交易目标方、hash值等。在交易发起链中进行广播后,交易节点还为区块数据添加智能合约和服务类型信息。It can be seen from the above steps that after the transaction node generates the transaction, the transaction information can be broadcast in the transaction initiation chain. The blockchain accounting data of the chain. The block data records the actual transaction information initiated by the transaction node, such as: service type, transaction quantity, transaction initiator, transaction target, hash value, and the like. After broadcasting in the transaction initiation chain, the transaction node also adds smart contract and service type information to the block data.

仍以上述证通兑换的服务为例,交易节点B25在发起查询交易以后,生成包含该证通兑换服务的区块数据,再对查询交易的交易信息在网络B中进行广播,具体的广播形式可以按照网络B中的广播形式要求来确定,例如,交易节点B25可以先将区块数据广播至临近节点B24和B26,临近节点B24和B26对交易进行验证,确定交易是否合法,并对区块数据进行存储形成区块链。再由临近节点B24和B26广播至各自的临近节点,从而使网络B中的全部节点都能够对该区块数据进行验证和存储,形成符合网络B中记账规范的完整区块链数据。Still taking the service of the above-mentioned certificate and token exchange as an example, after the transaction node B25 initiates the query transaction, it generates block data including the certificate and token exchange service, and then broadcasts the transaction information of the query transaction in the network B. The specific broadcast form It can be determined according to the requirements of the broadcast form in network B. For example, the transaction node B25 can first broadcast the block data to the adjacent nodes B24 and B26, and the adjacent nodes B24 and B26 verify the transaction to determine whether the transaction is legal, and the block is valid. Data is stored to form a blockchain. The adjacent nodes B24 and B26 are then broadcast to their respective adjacent nodes, so that all nodes in the network B can verify and store the block data, forming a complete blockchain data that conforms to the accounting specifications in the network B.

本实施例中,公链提供的智能合约包括公链创建的智能合约和公共智能合约,智能合约信息用于实现能够与公链进行交易,以便发起查询交易以及后续的服务交易;服务类型信息包含必要的服务描述信息,或者公链网络中存储的服务代码信息,可以用于发起查询交易。再将添加了智能合约和服务类型信息的区块数据向公链中的维护节点广播,从而实现发起查询交易。公链网络中的维护节点可以是用于交易发起链提供接口的节点,也可以是指定的其他节点。为了便于发起查询交易,可以利用计算能力满足条件,并且与交易发起链的距离较近的节点作为维护节点,以增加区块数据的广播速度。In this embodiment, the smart contracts provided by the public chain include smart contracts created by the public chain and public smart contracts. The smart contract information is used to enable transactions with the public chain to initiate query transactions and subsequent service transactions; the service type information includes Necessary service description information, or service code information stored in the public chain network, can be used to initiate query transactions. Then, the block data with added smart contract and service type information is broadcast to the maintenance nodes in the public chain, so as to initiate query transactions. The maintenance node in the public chain network can be the node that provides the interface for the transaction initiation chain, or it can be another designated node. In order to facilitate the initiation of query transactions, the computing power can be used to meet the conditions, and the nodes that are closer to the transaction initiation chain can be used as maintenance nodes to increase the broadcasting speed of block data.

需要说明的是,在本申请提供的技术方案中,所述服务交易包含具体的交易内容,可以是虚拟货币兑换交易,如通过交易发起链中的证通(token)等价值兑换成交易目标链中证通;也可以是通过虚拟货币购买某种服务,如面向网络的查询服务,报告服务等。查询交易是一种特殊交易,其交易形式与普通交易形式相同,但需要特殊约定具体的交易方式,例如带有查询交易智能合约信息的交易,或者约定转账的证通数量为0的交易。It should be noted that, in the technical solution provided in this application, the service transaction includes specific transaction content, which can be a virtual currency exchange transaction, such as exchanging the value of the token in the transaction initiation chain into the transaction target chain Zhongzhengtong; it can also be used to purchase certain services through virtual currency, such as network-oriented query services, reporting services, etc. Inquiry transaction is a special transaction, and its transaction form is the same as that of ordinary transaction, but requires a special agreement on the specific transaction method, such as a transaction with query transaction smart contract information, or a transaction in which the number of tokens to be transferred is 0.

在本申请的部分实施例中,在所述交易发起链发起查询交易的步骤以前,还可以通过公链对交易发起链进行智能合约验证,确定交易发起链是否支持公链提供的智能合约。即,由所述公链向接入的所述公链网络的区块链网络发起合约验证信息,验证接入的区块链网络是否支持所述公链提供的智能合约。由于在实际应用中,每一个接入公链的区块链网络都有可能作为交易发起链,因此,本实施例中,可以在一个区块链网络接入公链后,即对其进行智能合约验证。In some embodiments of the present application, before the transaction initiation chain initiates the step of querying the transaction, the transaction initiation chain may also be verified by a smart contract through the public chain to determine whether the transaction initiation chain supports the smart contract provided by the public chain. That is, the public chain initiates contract verification information to the connected blockchain network of the public chain network to verify whether the connected blockchain network supports the smart contract provided by the public chain. In practical applications, each blockchain network connected to the public chain may be used as a transaction initiation chain. Therefore, in this embodiment, after a blockchain network is connected to the public chain, intelligent Contract verification.

在进行智能合约验证后,所述公链可根据是否支持所述智能合约的验证结果,为接入的所述区块链网络设置合约判断标签。具体为:为接入的所述区块链网络对应接口节点设置合约判断标签;或者,为接入的所述区块链网络地址设置合约判断标签。其中,为接入的区块链网络对应接口节点设置合约判断标签的方式,可以在对应区块链网络作为交易发起链时,提取为接口节点设置的判断标签,从而确定当前交易发起链是否支持智能合约;而为接入的所述区块链网络地址设置合约判断标签的方式,可以同样通过提取交易发起链的地址确定对应的交易发起链是否支持智能合约。After the smart contract verification is performed, the public chain can set a contract judgment label for the connected blockchain network according to the verification result of whether the smart contract is supported. Specifically: setting a contract judgment label for the interface node corresponding to the accessed blockchain network; or, setting a contract judgment label for the accessed blockchain network address. Among them, the method of setting the contract judgment label for the interface node of the connected blockchain network can extract the judgment label set for the interface node when the corresponding blockchain network is used as the transaction initiation chain, so as to determine whether the current transaction initiation chain supports For the method of setting a contract judgment label for the accessed blockchain network address, it is also possible to determine whether the corresponding transaction initiation chain supports smart contracts by extracting the address of the transaction initiation chain.

本实施例中,对于支持智能合约的交易发起链,可以直接通过智能合约向公链发起查询交易,不需要平行链的参与;而对于不支持智能合约的交易发起链,则可以通过公链为交易发起链配置智能合约,或者采用平行链桥接的方式,将查询交易从交易节点传递到公链,其中,平行链已经配置了智能合约。因此,如图3所示,在交易发起链向公链发起查询交易之前,所述交易方法还可以包括:In this embodiment, for a transaction initiation chain that supports smart contracts, query transactions can be directly initiated to the public chain through smart contracts, without the participation of parallel chains; while for transaction initiation chains that do not support smart contracts, the public chain can be used for transaction initiation. The transaction initiation chain configures the smart contract, or adopts the method of parachain bridging to transfer the query transaction from the transaction node to the public chain, where the parachain has already configured the smart contract. Therefore, as shown in Figure 3, before the transaction initiation chain initiates a query transaction to the public chain, the transaction method may further include:

S105:所述公链判断所述交易发起链是否支持智能合约;S105: the public chain determines whether the transaction initiation chain supports smart contracts;

S106:如果所述交易发起链不支持所述智能合约,通过所述公链为所述交易发起链创建智能合约,或者为所述交易发起链配置公共智能合约;S106: If the transaction initiation chain does not support the smart contract, create a smart contract for the transaction initiation chain through the public chain, or configure a public smart contract for the transaction initiation chain;

S107:所述公链根据所述智能合约或所述公共智能合约,确定交易发起链和交易目标链对应的地址。S107: The public chain determines addresses corresponding to the transaction initiation chain and the transaction target chain according to the smart contract or the public smart contract.

本实施例中,公链对交易发起链是否支持智能合约的判断,可以通过公链对交易发起链上合约判断标签的提取,即通过分析合约判断标签确定是否交易发起链是否支持智能合约,也可以通过公链上的智能合约向交易发起链发起一个的特定格式的合约判断交易,并分析交易发起链返回的合约判断结果。如果交易发起链能够返回符合智能合约规范的内容,确定交易发起链支持智能合约;如果交易发起链不能返回符合智能合约规范的内容,或者未做出响应,确定交易发起链不支持智能合约。In this embodiment, the public chain can determine whether the transaction initiation chain supports smart contracts. The public chain can extract the contract judgment label on the transaction initiation chain, that is, determine whether the transaction initiation chain supports smart contracts by analyzing the contract judgment label. A contract judgment transaction of a specific format can be initiated to the transaction initiation chain through the smart contract on the public chain, and the contract judgment result returned by the transaction initiation chain can be analyzed. If the transaction initiation chain can return content that conforms to the smart contract specification, it is determined that the transaction initiation chain supports smart contracts; if the transaction initiation chain cannot return content that conforms to the smart contract specification, or does not respond, it is determined that the transaction initiation chain does not support smart contracts.

针对支持智能合约的交易发起链,可以执行后续交易步骤,即交易发起链通过智能合约向公链发起查询交易。而针对不支持智能合约的交易发起链,可以通过公链为所述交易发起链配置智能合约,或者通过公链为交易发起链选择一个公共合约,并为交易发起链配置选择的公共合约。本实施例中,公共合约可以是应用程度较高的区块链网络所使用的合约,或者当前行业领域约定的合约规范。在对交易发起链配置了智能合约或公共智能合约后,公链还可以确定交易发起链和交易目标链的地址信息,即明确交易发起链和交易目标链,以便实施后续交易。For the transaction initiation chain that supports smart contracts, subsequent transaction steps can be performed, that is, the transaction initiation chain initiates query transactions to the public chain through smart contracts. For a transaction initiation chain that does not support smart contracts, you can configure a smart contract for the transaction initiation chain through the public chain, or select a public contract for the transaction initiation chain through the public chain, and configure the selected public contract for the transaction initiation chain. In this embodiment, the public contract may be a contract used by a blockchain network with a relatively high degree of application, or a contract specification agreed upon in the current industry field. After the smart contract or public smart contract is configured on the transaction initiation chain, the public chain can also determine the address information of the transaction initiation chain and the transaction target chain, that is, specify the transaction initiation chain and the transaction target chain, so as to implement subsequent transactions.

S2:所述公链根据所述查询交易中的服务类型信息,查询接入公链网络的交易目标链。S2: The public chain queries the transaction target chain connected to the public chain network according to the service type information in the query transaction.

本申请提供的技术方案中,公链在接收到交易发起链发起的查询交易后,提取查询交易中的服务类型信息,并根据服务类型信息在公链网络中进行查询,找到能够提供所述服务类型信息对应服务的区块链网络作为交易目标链。同样,作为交易目标链的网络中也包含多个节点,即多个节点组成交易目标链。因此,交易目标链中所能够提供的服务的可以是一个或部分节点。可见,在本申请提供的技术方案中,公链查询到的结果,可以是交易目标链,也可以是交易目标链中能够提供服务的节点。在本申请提供的技术方案中,优选公链查询到的结果是交易目标链的方式,以便快速确定交易目标链,避免交易目标链不支持公链查询的情况。In the technical solution provided by this application, after receiving the query transaction initiated by the transaction initiation chain, the public chain extracts the service type information in the query transaction, and conducts a query in the public chain network according to the service type information, and finds a service that can provide the service. The type information corresponds to the blockchain network of the service as the transaction target chain. Similarly, the network serving as the transaction target chain also includes multiple nodes, that is, multiple nodes form the transaction target chain. Therefore, the services that can be provided in the transaction target chain can be one or part of the nodes. It can be seen that in the technical solution provided in this application, the result obtained by the public chain query may be the transaction target chain or a node in the transaction target chain that can provide services. In the technical solution provided in this application, it is preferred that the result obtained from the public chain query is the transaction target chain, so as to quickly determine the transaction target chain and avoid the situation that the transaction target chain does not support the public chain query.

本实施例中,公链在公链网络中进行交易目标链的查询,可以由公链中配置的智能合约完成,也可以由公链网络中的去中心化应用完成。具体查询过程,可以是在公链网络中存储的接入区块链网络的信息中查询。这样的查询方式,需要公链在有区块链网络接入时,通过接入节点通信,获取接入的区块链网络登记的信息,登记的信息可以包括:能够提供的服务类型,能够进行兑换的证通类型,以及进行交易的方式、交易的条件等。公链中的程序对这些登记信息与对应的网络地址进行对应存储,并在全网进行广播。In this embodiment, the query of the transaction target chain by the public chain in the public chain network can be completed by a smart contract configured in the public chain, or by a decentralized application in the public chain network. The specific query process may be querying the information stored in the public chain network for accessing the blockchain network. Such a query method requires the public chain to communicate with the access node to obtain the information registered in the accessed blockchain network when the public chain has access to the blockchain network. The registered information may include: the types of services that can be provided, the The type of certificate to be exchanged, as well as the way to conduct the transaction, the conditions of the transaction, etc. The program in the public chain stores the registration information corresponding to the corresponding network address, and broadcasts it on the entire network.

查询过程还可以通过以下形式完成,即公链在接收到查询交易后,在全网广播一次用于服务提供的交易。接入公链的区块链网络在接收到服务提供的交易后,可以针对该交易进行相应的回复,回复的信息中,可以包括交易条件和交易方式。公链选择回复最早的区块链网络作为交易目标链,或者对交易条件进行判断确定最适宜的(如需要证通数量最少的,或者交易证通流通性最好的)交易目标链。The query process can also be completed in the following form, that is, after receiving the query transaction, the public chain broadcasts the transaction for service provision on the entire network once. After receiving the transaction provided by the service, the blockchain network connected to the public chain can reply to the transaction accordingly, and the reply information can include transaction conditions and transaction methods. The public chain selects the blockchain network with the earliest reply as the transaction target chain, or judges the transaction conditions to determine the most suitable transaction target chain (such as the one that requires the least number of certificates, or the best liquidity of transaction certificates).

进一步地,为了便于交易结算和完成记账程序,如图4所示,所述公链在查询接入公链网络的交易目标链之后,所述方法还包括:Further, in order to facilitate transaction settlement and complete the accounting procedure, as shown in FIG. 4 , after the public chain inquires about the transaction target chain connected to the public chain network, the method further includes:

S201:所述公链判断所述交易发起链和所述交易目标链,是否支持直接通过所述公链的证通进行交易;S201: The public chain judges whether the transaction initiation chain and the transaction target chain support transactions directly through the certificate of the public chain;

S202:如果所述交易发起链,和/或所述交易目标链,不支持直接通过所述公链的证通进行交易,在所述交易发起链,和/或所述交易目标链对应的平行链中转换所述证通;S202: If the transaction initiation chain and/or the transaction target chain do not support transactions directly through the certificate of the public chain, the transaction initiation chain and/or the transaction target chain corresponding to the parallel Convert the token in the chain;

S203:由所述交易发起链对应的平行链向公链发起服务交易,以及由所述交易目标链对应的平行链向公链返回服务内容。S203: Initiating a service transaction to the public chain from the parachain corresponding to the transaction initiation chain, and returning service content to the public chain from the parachain corresponding to the transaction target chain.

本实施例中,公链在查询到交易目标链以后,可以根据在公链中存储的信息,判断交易发起链和交易目标链之间是否支持直接通过公链证通进行交易,如果交易发起链和交易目标链可以直接通过公链证通进行交易,从而便于公链进行记账程序和检验交易结算。如果所述交易发起链,和/或所述交易目标链,不支持直接通过所述公链的证通进行交易,可以在所述交易发起链,和/或所述交易目标链对应的平行链中转换所述证通,即按照公链证通与交易发起链,和交易目标链之间的兑换比率,先将交易发起链支付的证通兑换成等价值的公链证通,再通过公链将公链证通传递至交易目标链。并且在后续的交易程序中,由平行链完成服务交易。In this embodiment, after the public chain finds the transaction target chain, it can judge whether the transaction initiation chain and the transaction target chain support the transaction directly through the public chain certificate according to the information stored in the public chain. If the transaction initiation chain The transaction target chain and the transaction target chain can be directly traded through the public chain certificate, so as to facilitate the public chain to carry out the accounting procedure and verify the transaction settlement. If the transaction initiation chain and/or the transaction target chain do not support transactions directly through the certificate of the public chain, the transaction initiation chain and/or the transaction target chain corresponding to the parallel chain In the conversion of the certificate, that is, according to the exchange ratio between the public chain certificate, the transaction originating chain, and the transaction target chain, first convert the certificate paid by the transaction initiation chain into the equivalent value of the public chain certificate, and then pass the public chain certificate. The chain passes the public chain certificate to the transaction target chain. And in the subsequent transaction procedures, the service transaction is completed by the parachain.

S3:所述公链向所述交易发起链返回符合所述服务类型信息的交易目标链信息,所述交易目标链信息包括目标链地址,交易方式以及交易条件。S3: The public chain returns the transaction target chain information conforming to the service type information to the transaction initiation chain, where the transaction target chain information includes the target chain address, transaction method and transaction conditions.

公链在查询到交易目标链以后,可以获取交易目标链的地址信息以及交易方式、交易条件等信息。显然,公链可以从公链存储的登记信息中获取上述信息,也可以通过将查询交易转发给交易目标链的方式,由交易目标链一方提供该信息。为了增加查询效率,本申请优选通过公链存储的登记信息的方式获取上述信息。公链在获取到所述交易目标链信息后,可以将得到的目标链信息发送给交易发起链,以使交易发起链根据交易目标链信息确定是否与其进行交易。After the public chain queries the transaction target chain, it can obtain the address information of the transaction target chain, transaction method, transaction conditions and other information. Obviously, the public chain can obtain the above information from the registration information stored in the public chain, or the information can be provided by the transaction target chain by forwarding the query transaction to the transaction target chain. In order to increase the query efficiency, this application preferably obtains the above information by means of registration information stored in the public chain. After obtaining the transaction target chain information, the public chain can send the obtained target chain information to the transaction initiation chain, so that the transaction initiation chain determines whether to conduct a transaction with it according to the transaction target chain information.

本申请提供的技术方案中,所述目标链地址,为交易目标链在公链网络中的登记地址,或者,交易目标链接入公链时,提供接口的节点地址。交易方式为交易目标链设定的交易时间、区块链信息格式(模板)、支持交易的证通类型等。交易条件不仅可以包括提供服务所需要收取的指定证通数量,而且可以包括对于交易发起链的资质要求,例如所拥有的证通数量要求,交易发起链的信誉评分等。In the technical solution provided in this application, the target chain address is the registered address of the transaction target chain in the public chain network, or the node address that provides the interface when the transaction target chain is connected to the public chain. The transaction method is the transaction time set by the transaction target chain, the blockchain information format (template), and the type of certificate that supports the transaction. The transaction conditions can include not only the specified number of tokens to be charged for providing services, but also the qualification requirements for the transaction initiation chain, such as the requirements for the number of tokens owned, the reputation score of the transaction initiation chain, etc.

进一步地,为了获得更加合适的交易目标链,在查询交易中还可以附带一些附加信息,例如,所能够提供的交易证通类型,所需要的服务规范,交易目标链的服务提供资质,交易证通上限等。Further, in order to obtain a more suitable transaction target chain, some additional information can also be attached to the query transaction, for example, the type of transaction certificate that can be provided, the required service specification, the service provision qualification of the transaction target chain, the transaction certificate. upper limit, etc.

示例地,交易节点B25发出的查询交易在网络B中没有能够该证通兑换服务的节点时,可以通过网络B和公链网络P之间的连接节点BP(或接口节点),将该查询交易广播至公链网络P中的维护节点P01~P99,公链中的维护节点同样需要对该查询交易进行验证和分布式存储,并根据该查询交易在公链网络P上接入的其他区块链网络A、C、D、E是否能够提供该证通兑换服务。如果查询到其他区块链网络中,有能够满足该证通兑换服务的网络A,则获取到网络A在公链网络P中的地址信息,如连接节点AP的IP地址,以及网络A在公链网络P中登记的交易条件,即进行证通Tb兑换证通Ta时所要求的交易条件,如证通Tb和证通Ta的兑换比率、网络A要求的交易对手所拥有的兑换资质等。公链P中的服务节点将网络A的地址,以及网络A的交易条件,创建查询结果,并将查询结果返回给交易节点B25。For example, when the query transaction sent by the transaction node B25 does not have a node capable of the token exchange service in the network B, the query transaction can be sent through the connection node BP (or interface node) between the network B and the public chain network P. Broadcast to the maintenance nodes P01~P99 in the public chain network P. The maintenance nodes in the public chain also need to verify and distribute the query transaction, and access other blocks on the public chain network P according to the query transaction. Whether the chain network A, C, D, E can provide the certificate exchange service. If other blockchain networks are queried and there is a network A that can meet the certificate exchange service, the address information of network A in the public chain network P, such as the IP address of the connecting node AP, and the network A in the public chain network P are obtained. The transaction conditions registered in the chain network P, that is, the transaction conditions required when exchanging Zhengtong Tb for Zhengtong Ta, such as the exchange ratio of Zhengtong Tb and Zhengtong Ta, the exchange qualifications of the counterparty required by network A, etc. The service node in the public chain P creates the query result with the address of the network A and the transaction conditions of the network A, and returns the query result to the transaction node B25.

S4:所述交易发起链根据所述交易方式和交易条件向所述公链发起服务交易。S4: The transaction initiation chain initiates a service transaction to the public chain according to the transaction method and transaction conditions.

本申请提供的技术方案中,交易发起链在接收到公链返回的交易目标链信息后,可以对交易目标链信息进行分析,提取交易目标链信息中的交易方式和交易条件。其中,针对交易方式,交易发起链可以确定是否支持交易目标链提供的交易方式;而对于交易条件,可以自动或手动判断交易目标链所提出的交易条件是否能够被接受。如果能够接受交易条件,并且支持相应的交易方式,交易发起链可以按照指定交易方式,向公链发起满足交易条件的服务交易。In the technical solution provided in this application, after receiving the transaction target chain information returned by the public chain, the transaction initiation chain can analyze the transaction target chain information, and extract the transaction method and transaction conditions in the transaction target chain information. Among them, for the transaction method, the transaction initiation chain can determine whether to support the transaction method provided by the transaction target chain; and for the transaction conditions, it can automatically or manually determine whether the transaction conditions proposed by the transaction target chain can be accepted. If the transaction conditions can be accepted and the corresponding transaction methods are supported, the transaction initiation chain can initiate service transactions that meet the transaction conditions to the public chain according to the specified transaction methods.

交易发起链根据交易条件向公链发起服务交易的步骤包括:交易发起链在所述公链上创建转账交易,以触发合约执行,所述转账交易中包括向所述交易目标链支付的指定交易证通数量。The step of the transaction initiation chain initiating a service transaction to the public chain according to the transaction conditions includes: the transaction initiation chain creates a transfer transaction on the public chain to trigger the execution of the contract, and the transfer transaction includes a designated transaction for payment to the transaction target chain The number of certificates.

示例地,在公链网络P中的维护节点将查询结果返回给交易节点B25后,交易节点B25对返回的查询结果中交易条件和交易方式进行验证,一方面,确定交易是否符合要求即是否能够满足B25的证通兑换服务请求,另一方面可以确定交易条件是否能够被接受,例如,交易目标链A所要求的证通兑换比率是否可以被接受。上述验证过程可以通过节点B25自动判断,也可以主动选择是否接受该交易条件。此外,对返回查询结果的验证还可以包括,交易节点B25是否能够按照交易目标链A指定的交易方式进行交易。For example, after the maintenance node in the public chain network P returns the query result to the transaction node B25, the transaction node B25 verifies the transaction conditions and transaction methods in the returned query result. Satisfying the certificate exchange service request of B25, on the other hand, it can be determined whether the transaction conditions can be accepted, for example, whether the certificate exchange rate required by the transaction target chain A is acceptable. The above verification process can be automatically judged by the node B25, and can also actively choose whether to accept the transaction conditions. In addition, the verification of the returned query result may also include whether the transaction node B25 can conduct transactions according to the transaction mode specified by the transaction target chain A.

如果交易节点B25接受该交易条件,并且能够按照交易目标链A指定的交易方式进行交易,则交易节点B25发起正式的服务交易,即向公链网络P转账100个证通Tb。需要说明的是,由于在此次跨链交易中,公链网络中的维护节点从事了相应的查询和存储操作,以及在后续的交易过程中,还会参与其他操作,如传递、价值转化、记账等,因此,在交易节点B25向公链发起正式的服务交易时,还需要向公链网络中转账特定数量公链证通以作为公链中维护节点的奖励。If the transaction node B25 accepts the transaction conditions and can conduct transactions according to the transaction method specified by the transaction target chain A, the transaction node B25 initiates a formal service transaction, that is, transfers 100 certificates Tb to the public chain network P. It should be noted that in this cross-chain transaction, the maintenance nodes in the public chain network engaged in the corresponding query and storage operations, and in the subsequent transaction process, they will also participate in other operations, such as transmission, value conversion, Accounting, etc. Therefore, when the transaction node B25 initiates a formal service transaction to the public chain, it also needs to transfer a certain amount of public chain certificates to the public chain network as a reward for maintaining nodes in the public chain.

进一步地,如图5所示,所述交易条件包括所述交易目标链指定的交易证通数量,所述交易发起链根据所述交易条件向公链发起服务交易的步骤前还包括:Further, as shown in FIG. 5 , the transaction conditions include the number of transaction certificates specified by the transaction target chain, and the transaction initiation chain further includes before the step of initiating a service transaction to the public chain according to the transaction conditions:

S401:判断所述交易发起链所拥有的证通数量,是否满足所述交易目标链指定的交易证通数量;S401: Determine whether the number of certificates owned by the transaction initiation chain meets the number of transaction certificates specified by the transaction target chain;

S402:如果所述交易发起链拥有的证通数量满足所述交易目标链指定的交易证通数量,允许所述交易发起链向所述公链发起服务交易;S402: If the number of certificates owned by the transaction initiation chain meets the number of transaction certificates specified by the transaction target chain, allow the transaction initiation chain to initiate a service transaction to the public chain;

S403:如果所述交易发起链拥有的证通数量不满足所述交易目标链指定的交易证通数量,向所述交易发起链发送提示信息,以及根据服务类型继续查询接入公链网络的其他交易目标链。S403: If the number of certificates owned by the transaction initiation chain does not meet the number of transaction certificates specified by the transaction target chain, send a prompt message to the transaction initiation chain, and continue to query other access to the public chain network according to the service type. Transaction target chain.

在本实施例中,如果交易条件是交易目标链指定的交易证通数量,则公链可以对交易发起链所拥有的指定证通余额进行判断,以确定交易发起链能否满足交易目标链指定的交易条件要求。对于能够满足交易条件的情况,允许所述交易发起链向所述公链发起服务交易;对于不能够满足交易条件的情况,可以向所述交易发起链发送提示信息,告知交易发起链,并且还可以根据服务类型继续查询接入公链网络的其他交易目标链,并重复上述过程,直至查询到满足交易条件的情况。In this embodiment, if the transaction condition is the number of transaction tokens specified by the transaction target chain, the public chain can judge the balance of the designated tokens owned by the transaction initiation chain to determine whether the transaction initiation chain can satisfy the transaction target chain designation. trading conditions. In the case where the transaction conditions can be met, the transaction initiation chain is allowed to initiate service transactions to the public chain; in the case where the transaction conditions cannot be satisfied, prompt information can be sent to the transaction initiation chain to inform the transaction initiation chain, and also You can continue to query other transaction target chains connected to the public chain network according to the service type, and repeat the above process until the query meets the transaction conditions.

例如,交易目标链A要求的交易条件为作为交易发起方的交易节点所拥有的证通Tb数量不少于100个,因此在发起正式服务交易前,可通过公链网络对交易节点拥有的证通Tb的数量进行判断,如果交易节点拥有的证通Tb的数量为53个,则确定为不满足交易条件,此时公链网络向交易节点B25发送提示信息,如“您所拥有的证通Tb余额不足,无法完成交易”,“交易要求证通Tb数量不少于100个,您还需要47个才能完成交易”。For example, the transaction condition required by the transaction target chain A is that the transaction node as the transaction initiator has not less than 100 certificates Tb. Judging by the number of Tbs, if the number of Tbs owned by the transaction node is 53, it is determined that the transaction conditions are not met. At this time, the public chain network sends a prompt message to the transaction node B25, such as "The certificate you have Insufficient Tb balance, unable to complete the transaction", "The transaction requires at least 100 Tb Tb, and you need 47 more to complete the transaction".

S5:所述公链传递所述服务交易至所述交易目标链。S5: The public chain transmits the service transaction to the transaction target chain.

本申请提供的技术方案中,交易发起链向公链发送的服务交易在公链中可以不做任何处理,仅由公链网络将服务交易传递至交易目标链。其中,公链可以对服务交易中的交易目标链的地址信息进行提取,获取交易目标链的位置,再根据交易目标链的地址将服务交易发送至交易目标链。In the technical solution provided in this application, the service transaction sent by the transaction initiation chain to the public chain may not be processed in the public chain, and only the service transaction will be transmitted to the transaction target chain by the public chain network. Among them, the public chain can extract the address information of the transaction target chain in the service transaction, obtain the location of the transaction target chain, and then send the service transaction to the transaction target chain according to the address of the transaction target chain.

例如,公链网络P中的维护节点在接收到交易节点B25发起的服务交易后,对交易节点转账的100个证通Tb进行验证,并针对服务交易形成符合公链交易形式的区块数据,并对形成的区块数据在公链网络中进行广播,再将这100个证通Tb转移至网络A所对应的Tb账户中。For example, after receiving the service transaction initiated by the transaction node B25, the maintenance node in the public chain network P verifies the 100 certificates Tb transferred by the transaction node, and forms block data in the form of public chain transactions for the service transaction. And broadcast the formed block data in the public chain network, and then transfer the 100 certificate Tb to the Tb account corresponding to network A.

由于服务交易的传递依赖于公链完成,因此为了达到抗抵赖交易效果,可以公链在传递所述服务交易时,需要在公链网络内进行分布式存储,即在公链网络中记账。因此在公链传递所述服务交易时,也是一种发生在公链网络中的交易。在实际应用中,针对不同区块链网络,流通的证通类型也不同,而不同类型的证通往往不能直接进行交易。因此在本申请提供的技术方案中,公链传递所述服务交易至所述交易目标链的过程中,可以先将交易发起链支付的证通进行锁定,再向交易目标链转移等价值的公链证通,以触发交易目标链返回服务内容。Since the transmission of service transactions depends on the completion of the public chain, in order to achieve the effect of non-repudiation transactions, when the public chain transmits the service transaction, it needs to perform distributed storage in the public chain network, that is, bookkeeping in the public chain network. Therefore, when the public chain transmits the service transaction, it is also a transaction that occurs in the public chain network. In practical applications, for different blockchain networks, the types of certificates in circulation are also different, and different types of certificates often cannot be directly traded. Therefore, in the technical solution provided in this application, in the process of transferring the service transaction to the transaction target chain by the public chain, the certificate of payment on the transaction initiation chain can be locked first, and then the public chain of the same value can be transferred to the transaction target chain. Chain certificate to trigger the transaction target chain to return the service content.

即,在本申请的部分实施例中,如图6所示,所述公链传递所述服务交易至所述交易目标链的步骤包括:That is, in some embodiments of the present application, as shown in FIG. 6 , the step of the public chain transferring the service transaction to the transaction target chain includes:

S501:所述公链对所述转账交易进行锁定,以及根据所述转账交易,向所述交易目标链发起请求交易;S501: The public chain locks the transfer transaction, and initiates a request transaction to the transaction target chain according to the transfer transaction;

S502:所述交易目标链根据所述交易请求,向所述公链提供返回交易结果;S502: The transaction target chain provides a returned transaction result to the public chain according to the transaction request;

S503:所述公链验证所述返回交易结果,如果所述返回交易结果与所述转账交易一致,解除所述转账交易的锁定状态;S503: The public chain verifies the returned transaction result, and if the returned transaction result is consistent with the transfer transaction, release the locked state of the transfer transaction;

S504:所述公链将所述交易发起链支付的证通,转账至所述交易目标链,以及将服务内容转至所述交易发起链。S504: The public chain transfers the certificate of the transaction initiation chain payment to the transaction target chain, and transfers the service content to the transaction initiation chain.

本实施例中,公链先对转账交易进行锁定,即暂时锁定交易发起链支付的证通,再根据转账交易向交易目标链发起请求交易,其中,请求交易用于触发交易目标链返回交易,公链再对返回交易的内容进行验证,如果返回交易与转账交易一致,则解除对转账交易的锁定状态,以使所述公链将交易发起链支付的证通,转账至交易目标链,并且将服务内容转至交易发起链。通过公链对转账交易进行锁定,可以在公链网络中对交易内容进行验证,确定是否达真正符合交易规范,保障交易双方的交易权益。In this embodiment, the public chain first locks the transfer transaction, that is, temporarily locks the certificate of the transaction initiation chain payment, and then initiates a request transaction to the transaction target chain according to the transfer transaction, wherein the request transaction is used to trigger the transaction target chain to return the transaction, The public chain then verifies the content of the returned transaction. If the returned transaction is consistent with the transfer transaction, the locked state of the transfer transaction is released, so that the public chain transfers the certificate of the transaction initiation chain payment to the transaction target chain, and Transfer the service content to the transaction initiation chain. The transfer transaction is locked through the public chain, and the transaction content can be verified in the public chain network to determine whether it truly meets the transaction specifications and protect the transaction rights of both parties.

S6:所述交易目标链验证所述交易条件,以及在验证合格后根据接收到的所述服务交易向公链返回服务内容。S6: The transaction target chain verifies the transaction conditions, and returns the service content to the public chain according to the received service transaction after the verification is qualified.

本申请提供的技术方案中,交易目标链在接收到公链传递的服务交易后,先针对交易条件进行验证,确定服务交易是否满足交易条件。例如,服务交易所支付的证通数量是否符合交易目标链需要的证通数量,交易发起链是否具有交易目标链要求的交易资质等。如果交易目标链验证交易条件合格,则根据接收到的服务交易返回相应的服务内容,即为所述交易发起链提供对应的服务。In the technical solution provided in this application, after receiving the service transaction transmitted by the public chain, the transaction target chain firstly verifies the transaction conditions to determine whether the service transaction satisfies the transaction conditions. For example, whether the number of certificates paid by the service exchange meets the number of certificates required by the transaction target chain, and whether the transaction originating chain has the transaction qualifications required by the transaction target chain, etc. If the transaction target chain verifies that the transaction conditions are qualified, the corresponding service content is returned according to the received service transaction, that is, the corresponding service is provided for the transaction initiation chain.

服务内容可以是返回交易中包含具体的服务内容,例如,数据检索报告,或者兑换的另一种指定数量的证通等。而对于需要长期维持的服务内容,在返回的服务内容中可以包含相应的网络接入信息,验证码,账号等。对于需要长期维持的服务内容,公链可以不必直接参与后续的数据传递过程,只在返回服务内容时,将相应的网络接入信息,验证码,账号等信息传递给交易发起链,并且在公链中对返回的服务内容进行分布式存储,完成记账程序。The service content may be specific service content included in the returned transaction, for example, a data retrieval report, or another specified number of certificates exchanged. For service content that needs to be maintained for a long time, the returned service content may include corresponding network access information, verification code, account number, etc. For the service content that needs to be maintained for a long time, the public chain does not need to directly participate in the subsequent data transfer process. Only when the service content is returned, the corresponding network access information, verification code, account number and other information are passed to the transaction initiation chain. The returned service content is stored in a distributed manner in the chain to complete the accounting procedure.

S7:所述公链传递所述服务内容至所述交易发起链。S7: The public chain transmits the service content to the transaction initiation chain.

公链在接收到交易目标链返回的服务内容后,以中继的方式将服务内容传递至交易发起链。在公链将服务内容转发到交易发起链后,即代表交易完成。例如,在公链网络P将100个证通Tb转移至网络A所对应的Tb账户中以后,公链网络在交易目标链验证通过后,从网络A所对应的Ta账户中提取等价值的证通Ta,如兑换比率为2:1,则提取50个证通Ta转账至网络B所对应的账户中,完成最终的服务交易。After receiving the service content returned by the transaction target chain, the public chain relays the service content to the transaction initiation chain. After the public chain forwards the service content to the transaction initiation chain, the transaction is completed. For example, after the public chain network P transfers 100 certificates Tb to the Tb account corresponding to the network A, the public chain network extracts the equivalent value certificate from the Ta account corresponding to the network A after the transaction target chain is verified. If the exchange ratio is 2:1, 50 Tokens will be withdrawn and transferred to the account corresponding to Network B to complete the final service transaction.

在本申请的部分实施例中,如图7所示,在所述公链向所述交易发起链返回符合所述服务类型信息的交易目标链信息的步骤后,如果所述交易发起链和所述交易目标链均支持所述公链约定的接口规范,所述方法还可以通过以下步骤向所述交易发起链返回服务内容:In some embodiments of the present application, as shown in FIG. 7 , after the public chain returns the transaction target chain information that matches the service type information to the transaction initiation chain, if the transaction initiation chain and the transaction initiation chain The transaction target chain supports the interface specification agreed upon by the public chain, and the method can also return the service content to the transaction initiation chain through the following steps:

S8:所述交易发起链根据所述交易方式和交易条件,直接向所述交易目标链发起服务交易;S8: the transaction initiation chain directly initiates a service transaction to the transaction target chain according to the transaction method and transaction conditions;

S9:所述交易目标链验证所述交易条件,以及在验证合格后根据接收到的所述服务交易向所述交易发起链返回服务内容。S9: The transaction target chain verifies the transaction conditions, and returns service content to the transaction initiation chain according to the received service transaction after the verification is qualified.

在部分区块链网络系统中,由于整个网络为点对点的网络,理论上任意两个节点之间均可以建立网络连接。因此,接入公链的不同区块链网络之间,可以直接进行通信交流,这样的区块链网络支持公链约定的接口规范。即,如果交易发起链和交易目标链均支持公链约定的接口规范,则在公链向所述交易发起链返回符合服务类型信息的交易目标链信息后,交易发起链可以直接提取交易目标链信息中的交易目标链地址,并根据该地址直接向交易目标链发起服务交易。In some blockchain network systems, since the entire network is a point-to-point network, a network connection can theoretically be established between any two nodes. Therefore, different blockchain networks connected to the public chain can communicate directly. Such a blockchain network supports the interface specification agreed upon by the public chain. That is, if both the transaction initiation chain and the transaction target chain support the interface specification agreed by the public chain, after the public chain returns the transaction target chain information that conforms to the service type information to the transaction initiation chain, the transaction initiation chain can directly extract the transaction target chain. The address of the transaction target chain in the information, and directly initiate a service transaction to the transaction target chain according to this address.

交易目标链则在接收到交易发起链发起的服务交易后,对交易条件进行验证,具体的验证内容与上述实施例的内容一致。在交易条件验证合格后,交易目标链再根据接收到的服务交易,直接向交易发起链返回交易内容,完成最终的交易。After receiving the service transaction initiated by the transaction initiation chain, the transaction target chain verifies the transaction conditions, and the specific verification content is consistent with the content of the above-mentioned embodiment. After the transaction conditions are verified as qualified, the transaction target chain will directly return the transaction content to the transaction initiation chain according to the received service transaction to complete the final transaction.

对于上述情况,为了保证交易发起链和交易目标链之间的交易记账程序,可以在交易发起链发起服务交易时,在交易发起链内部进行一次分布式记账,并且将存储的区块数据,或者区块数据的摘要发送至公链网络中进行分布式存储;并且,在交易目标链返回服务内容时,在交易目标链中进行一次分布式记账,同时也将存储的区块数据,或者区块数据的摘要发送至公链网络中进行分布式存储。并且,在交易目标链发送存储的区块链数据或数据摘要到公链以后,公链还可以针对区块数据中的地址信息,对交易发起链和交易目标链发送的区块数据进行一致性对比,确定交易的合法性等。For the above situation, in order to ensure the transaction bookkeeping procedure between the transaction initiation chain and the transaction target chain, when the transaction initiation chain initiates a service transaction, a distributed bookkeeping can be performed inside the transaction initiation chain, and the stored block data can be recorded. , or the summary of the block data is sent to the public chain network for distributed storage; and, when the transaction target chain returns the service content, a distributed accounting is performed in the transaction target chain, and the stored block data is also stored. Or the summary of block data is sent to the public chain network for distributed storage. In addition, after the transaction target chain sends the stored blockchain data or data digest to the public chain, the public chain can also perform consistency on the block data sent by the transaction originating chain and the transaction target chain according to the address information in the block data. Contrast, determine the legality of the transaction, etc.

本实施例与上述实施例的区别在于,公链网络仅负责相应的查询交易,即在交易发起链发起查询交易后,公链网络根据查询交易查询到交易目标链后,将交易目标链的地址信息返回给交易节点B25,交易节点B25根据目标链地址信息,直接向交易目标链A发起服务交易,即转账100个证通Tb给交易目标链A,交易目标链A中的服务节点再接收到100个证通Tb后,向交易节点B25再转账50个证通Ta,从而直接完成交易。显然,为了避免交易错误,在交易节点B25向交易目标链A转账100个证通Tb时,所形成的区块数据不仅在网络B中进行广播,还要在公链网络中进行广播,同理,在交易目标链A的服务节点向交易节点B25转账50个证通Ta时,也需要同时在交易目标链网络A和公链网络P中同步或异步进行广播。The difference between this embodiment and the above embodiments is that the public chain network is only responsible for the corresponding query transaction, that is, after the transaction originating chain initiates the query transaction, the public chain network queries the transaction target chain according to the query transaction, and then sends the address of the transaction target chain to the transaction target chain. The information is returned to the transaction node B25, and the transaction node B25 directly initiates a service transaction to the transaction target chain A according to the address information of the target chain, that is, transfers 100 certificates Tb to the transaction target chain A, and the service node in the transaction target chain A receives the After 100 Tokens Tb, transfer another 50 Tokens Ta to the transaction node B25 to complete the transaction directly. Obviously, in order to avoid transaction errors, when the transaction node B25 transfers 100 certificates Tb to the transaction target chain A, the formed block data is broadcast not only in the network B, but also in the public chain network. Similarly , when the service node of the transaction target chain A transfers 50 certificates Ta to the transaction node B25, it also needs to broadcast synchronously or asynchronously in the transaction target chain network A and the public chain network P at the same time.

需要说明的是,在本申请提供的技术方案中,为了描述方便,所述交易节点B25向交易目标链A转账100个证通Tb,以及交易目标链A的服务节点向交易节点B25转账50个证通Ta,是指证通或者交易结果的流转方向,并非真的将证通实体从一个链转到另一个链。在实际应用时,交易双方可以在两个网络里面都有对应的账号,而转账交易只是将证通转到对应的账号中,即100个Tb是在B网络进行交换,50个Ta是在A网络交换,通过公链传递的只是交易信息和记账数据等描述跨链交易的内容。It should be noted that, in the technical solution provided in this application, for the convenience of description, the transaction node B25 transfers 100 certificates Tb to the transaction target chain A, and the service node of the transaction target chain A transfers 50 tokens to the transaction node B25 Token Ta refers to the flow direction of Token or transaction results, and does not really transfer Token entities from one chain to another. In practical application, both parties to the transaction can have corresponding accounts in the two networks, and the transfer transaction just transfers the certificate to the corresponding account, that is, 100 Tbs are exchanged in the B network, and 50 Tas are exchanged in the A network. In network exchange, only transaction information and accounting data are transmitted through the public chain to describe the content of cross-chain transactions.

基于上述交易方法,本申请还提供一种基于公链的区块链系统,如图8所示,所述系统包括:交易发起链、公链以及交易目标链;所述交易发起链通过所述公链与所述交易目标链建立网络连接;其中,交易发起链是指作为交易发起方的区块链网络,交易目标链是指作为交易目标方的区块链网络。Based on the above transaction method, the present application also provides a public chain-based blockchain system, as shown in FIG. 8 , the system includes: a transaction initiation chain, a public chain and a transaction target chain; the transaction initiation chain passes through the The public chain establishes a network connection with the transaction target chain; wherein, the transaction initiation chain refers to the blockchain network serving as the transaction initiator, and the transaction target chain refers to the blockchain network serving as the transaction target.

为了完成跨链交易,所述交易发起链被配置为执行以下程序步骤:向公链发起包含服务类型信息的查询交易。即在跨链交易开始之初,交易发起链向公链发起查询交易,以使公链在公链网络中查询交易目标链。以及,根据所述交易目标链的交易条件向公链发起服务交易。即在公链返回符合所述服务类型信息的交易目标链信息后,向公链发起服务交易。In order to complete the cross-chain transaction, the transaction initiation chain is configured to execute the following program steps: initiate a query transaction including service type information to the public chain. That is, at the beginning of the cross-chain transaction, the transaction initiation chain initiates a query transaction to the public chain, so that the public chain can query the transaction target chain in the public chain network. And, initiate a service transaction to the public chain according to the transaction conditions of the transaction target chain. That is, after the public chain returns the transaction target chain information that conforms to the service type information, a service transaction is initiated to the public chain.

所述公链被配置为:根据所述查询交易中的服务类型,查询接入公链网络的交易目标链;向所述交易发起链返回符合所述服务类型信息的交易目标链信息,所述交易目标链信息包括目标链地址、交易方式和交易条件;以及,传递所述服务交易至所述交易目标链,和传递所述服务内容至所述交易发起链;The public chain is configured to: query the transaction target chain connected to the public chain network according to the service type in the query transaction; return transaction target chain information conforming to the service type information to the transaction initiation chain, the The transaction target chain information includes target chain address, transaction method and transaction conditions; and, delivering the service transaction to the transaction target chain, and delivering the service content to the transaction initiation chain;

所述交易目标链被配置为:验证所述交易条件,以及在验证合格后根据接收到的所述服务交易向公链返回服务内容。此外,交易目标链还可以在公链查询到交易目标链以后,向公链提供自己的地址信息、交易方式以及交易条件。The transaction target chain is configured to: verify the transaction conditions, and return service content to the public chain according to the received service transaction after the verification is qualified. In addition, the transaction target chain can also provide its own address information, transaction method and transaction conditions to the public chain after the public chain queries the transaction target chain.

本申请提供的技术方案中,交易发起链和交易目标链是指接入公链网络多个区块链网络中的一部分,因此接入公链网络的多个区块链网络中的任意一个都可以作为交易发起链,只要其拥有足够触发交易的证通数量。同样,每一个区块链网络也都可以作为交易目标链,只要其支持对外进行交易,并且能够提供具体的服务内容。即在本申请提供的技术方案中,所述交易发起链和交易目标链只是为了便于描述,并不对区块链网络进行限定。In the technical solution provided by this application, the transaction initiation chain and the transaction target chain refer to a part of multiple blockchain networks connected to the public chain network, so any one of the multiple blockchain networks connected to the public chain network is It can be used as a transaction initiation chain, as long as it has enough tokens to trigger transactions. Similarly, each blockchain network can also be used as a transaction target chain, as long as it supports external transactions and can provide specific service content. That is, in the technical solution provided in this application, the transaction initiation chain and the transaction target chain are only for the convenience of description, and do not limit the blockchain network.

需要说明的是,本申请实施例中以证通兑换的服务内容作为示例,进行方案的描述,显然对于不同形式服务内容,其交易过程与证通兑换的交易过程是相同的,仅在交易节点发起服务交易时,交易节点向公链(或交易目标链)转账指定数量的证通后,交易目标链根据服务交易返回具体的交易内容,如返回某型号通信设备性能的查询结果。It should be noted that in the embodiment of this application, the service content of the certificate and token exchange is used as an example to describe the scheme. Obviously, for different forms of service content, the transaction process is the same as the transaction process of the certificate and token exchange. When initiating a service transaction, after the transaction node transfers the specified number of certificates to the public chain (or transaction target chain), the transaction target chain returns the specific transaction content according to the service transaction, such as returning the query result of the performance of a certain type of communication equipment.

由以上技术方案可知,本申请提供一种基于公链的交易方法及区块链网络。所述方法在实际应用中,先由交易发起链向公链发起查询交易,再通过公链根据查询交易中的服务类型信息,查询接入公链网络的交易目标链;以使公链向交易发起链返回符合所述服务类型信息的交易目标链信息;交易发起链再根据交易目标链要求的交易方式和交易条件向公链发起服务交易;公链将服务交易传递至交易目标链;并且在交易目标链验证所述交易条件合格后根据接收到的服务交易向公链返回服务内容;最后公链再将服务内容传递至交易发起链,完成跨链交易。所述方法通过公链网络查询和传递服务交易,使交易发起链能够获得交易目标链的服务内容,在不同链网络之间完成跨链交易,提高基于区块链交易方法的应用范围。As can be seen from the above technical solutions, the present application provides a public chain-based transaction method and a blockchain network. In practical application of the method, the transaction initiating chain first initiates a query transaction to the public chain, and then through the public chain, according to the service type information in the query transaction, the transaction target chain connected to the public chain network is inquired; The initiator chain returns the transaction target chain information that conforms to the service type information; the transaction initiator chain then initiates a service transaction to the public chain according to the transaction method and transaction conditions required by the transaction target chain; the public chain transfers the service transaction to the transaction target chain; The transaction target chain verifies that the transaction conditions are qualified and returns the service content to the public chain according to the received service transaction; finally, the public chain transmits the service content to the transaction initiation chain to complete the cross-chain transaction. The method queries and transmits service transactions through the public chain network, so that the transaction initiator chain can obtain the service content of the transaction target chain, completes cross-chain transactions between different chain networks, and improves the application scope of the blockchain-based transaction method.

本申请提供的实施例之间的相似部分相互参见即可,以上提供的具体实施方式只是本申请总的构思下的几个示例,并不构成本申请保护范围的限定。对于本领域的技术人员而言,在不付出创造性劳动的前提下依据本申请方案所扩展出的任何其他实施方式都属于本申请的保护范围。Similar parts between the embodiments provided in the present application may be referred to each other. The specific embodiments provided above are just a few examples under the general concept of the present application, and do not constitute a limitation on the protection scope of the present application. For those skilled in the art, any other implementations expanded according to the solution of the present application without creative work fall within the protection scope of the present application.

Claims (10)

CN201811496855.2A2018-08-282018-12-07Public link-based transaction method and block chain systemActiveCN110866823B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
PCT/CN2019/101048WO2020042931A1 (en)2018-08-282019-08-16Public chain-based transaction method and blockchain system

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
CN2018109868252018-08-28
CN20181098682532018-08-28

Publications (2)

Publication NumberPublication Date
CN110866823Atrue CN110866823A (en)2020-03-06
CN110866823B CN110866823B (en)2022-09-23

Family

ID=69651503

Family Applications (11)

Application NumberTitlePriority DateFiling Date
CN201811496920.1AActiveCN110866825B (en)2018-08-282018-12-07Public link-based block chain information storage method and system
CN201811496863.7AActiveCN110868438B (en)2018-08-282018-12-07Block chain network system
CN201811498007.5AActiveCN110866826B (en)2018-08-282018-12-07Transaction method based on parallel chain and block chain system
CN201811497989.6AActiveCN110868440B (en)2018-08-282018-12-07 Blockchain public chain
CN201811496855.2AActiveCN110866823B (en)2018-08-282018-12-07Public link-based transaction method and block chain system
CN201811496869.4AActiveCN110868439B (en)2018-08-282018-12-07 a blockchain system
CN201811496870.7AActiveCN110866824B (en)2018-08-282018-12-07Cross-chain transaction method and device based on parallel chain and block chain system
CN201811497993.2AActiveCN110868441B (en)2018-08-282018-12-07Block chain public link maintenance method and device, node and block chain public link
CN201811497995.1AActiveCN110866750B (en)2018-08-282018-12-07 Non-repudiation cross-chain transaction method and blockchain system
CN201811498038.0AActiveCN110868308B (en)2018-08-282018-12-07Block chain network access method and system
CN201910145999.1AActiveCN110866751B (en)2018-08-282019-02-27 Maintenance method of blockchain parachain and blockchain parachain system

Family Applications Before (4)

Application NumberTitlePriority DateFiling Date
CN201811496920.1AActiveCN110866825B (en)2018-08-282018-12-07Public link-based block chain information storage method and system
CN201811496863.7AActiveCN110868438B (en)2018-08-282018-12-07Block chain network system
CN201811498007.5AActiveCN110866826B (en)2018-08-282018-12-07Transaction method based on parallel chain and block chain system
CN201811497989.6AActiveCN110868440B (en)2018-08-282018-12-07 Blockchain public chain

Family Applications After (6)

Application NumberTitlePriority DateFiling Date
CN201811496869.4AActiveCN110868439B (en)2018-08-282018-12-07 a blockchain system
CN201811496870.7AActiveCN110866824B (en)2018-08-282018-12-07Cross-chain transaction method and device based on parallel chain and block chain system
CN201811497993.2AActiveCN110868441B (en)2018-08-282018-12-07Block chain public link maintenance method and device, node and block chain public link
CN201811497995.1AActiveCN110866750B (en)2018-08-282018-12-07 Non-repudiation cross-chain transaction method and blockchain system
CN201811498038.0AActiveCN110868308B (en)2018-08-282018-12-07Block chain network access method and system
CN201910145999.1AActiveCN110866751B (en)2018-08-282019-02-27 Maintenance method of blockchain parachain and blockchain parachain system

Country Status (3)

CountryLink
JP (1)JP2021527373A (en)
CN (11)CN110866825B (en)
FI (2)FI20206356A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111597258A (en)*2020-05-112020-08-28广州网格科技有限公司Block chain cross-chain information processing method and electronic equipment
CN111666325A (en)*2020-05-182020-09-15国网浙江省电力有限公司信息通信分公司Validity verification method for cross-link port calling
CN111680991A (en)*2020-05-292020-09-18上海边界智能科技有限公司 A method and device for software integration interaction based on blockchain
CN111711690A (en)*2020-06-162020-09-25中国银行股份有限公司Service processing method and device based on cross-chain technology
CN112417049A (en)*2020-11-242021-02-26杭州云象网络技术有限公司Cross-chain interaction method and system based on block chain all-in-one machine
CN112788108A (en)*2020-12-292021-05-11深圳前海微众银行股份有限公司Cross-block-chain distributed message processing method, platform and storage medium
CN113763178A (en)*2021-09-242021-12-07成都质数斯达克科技有限公司Multi-block chain cross-chain transaction method, device, equipment and readable storage medium
CN114519078A (en)*2022-04-192022-05-20北京理工大学Cross-chain credible query method and system based on block chain

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111612613B (en)*2019-02-262023-11-10傲为有限公司Block chain network with centralized system
JP2021149506A (en)*2020-03-192021-09-27株式会社エヌ・ティ・ティ・データInformation processor, information processing method and program
CN113449312A (en)*2020-03-252021-09-28兰州理工大学技术工程学院User communication platform based on alliance block chain
CN111404962B (en)*2020-03-262022-06-24杭州复杂美科技有限公司Federation link point data transmission method, equipment and storage medium
CN111459825B (en)*2020-04-032023-10-31银清科技有限公司Block chain application system, method and device for payment service
CN111461889A (en)*2020-04-202020-07-28同济大学 A cross-chain transaction system, method and storage medium for consortium blockchain
CN111245966B (en)*2020-04-292020-07-28之江实验室 A method for information sharing of Internet of Vehicles based on blockchain architecture
CN111524010B (en)*2020-05-062023-06-02杭州复杂美科技有限公司Parallel chain consensus method, apparatus and storage medium
CN111640017B (en)*2020-05-062024-05-28深圳前海微众银行股份有限公司Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN112069550B (en)*2020-07-202024-04-02傲为有限公司 An electronic contract evidence storage system based on smart contracts
CN112035891B (en)*2020-07-202024-11-19傲为有限公司 A decentralized electronic contract certification platform
US20240211940A1 (en)*2020-08-062024-06-27Citibank, N.A.Systems and methods for multi-entity blockchain-based event break prevention
US11645650B1 (en)2020-08-062023-05-09Citibank, N.A.Systems and methods for blockchain-based transaction break prevention
CN112055077B (en)*2020-09-022023-04-18杭州复杂美科技有限公司Block link access method, device and storage medium
CN112053155B (en)*2020-09-072024-03-19天津星微软件开发有限公司Community decision method, device and storage medium
CN112202863B (en)*2020-09-242022-09-20成都质数斯达克科技有限公司Data synchronization method and device, electronic equipment and readable storage medium
CN112328682A (en)*2020-11-032021-02-05苏州市星际云通区块链科技有限公司Block chain system and storage medium
CN112330326B (en)*2020-11-272023-06-30中国农业银行股份有限公司Business processing method and device applied to bank transaction blockchain system
CN112688934B (en)*2020-12-212022-07-19杭州云象网络技术有限公司Contract calling method and system based on intelligent gateway and contract engine
CN112801662B (en)*2021-02-022023-07-04深圳前海益链网络科技有限公司Business link access management method and system based on blockchain intelligent contract
CN112950201B (en)*2021-02-082023-10-27深圳前海益链网络科技有限公司Node management method and related device applied to block chain system
CN112948497B (en)*2021-03-052022-05-24杭州复杂美科技有限公司Parallel chain block generation method, computer device, and storage medium
CN113067901B (en)*2021-06-022021-09-24支付宝(杭州)信息技术有限公司Method for creating block chain subnet
CN113420092B (en)*2021-06-302024-02-23中国银行股份有限公司Three-party access method and device based on block chain
CN113704356A (en)*2021-09-012021-11-26南京康时信科技有限公司Cross-link method between block chains and main block chain system
CN113726913B (en)*2021-11-042022-04-01中国信息通信研究院Backbone node access method and block chain system
CN113822656B (en)*2021-11-232022-02-11江苏荣泽信息科技股份有限公司Cross-chain cooperation method based on block chain technology
CN114827167B (en)*2022-03-032023-10-17杭州复杂美科技有限公司Node selection and transaction transmission method, device and storage medium
CN114615286B (en)*2022-03-152024-01-02上海万向区块链股份公司Cross-chain technology-based carbon universal service data flow method and system
CN115310973A (en)*2022-07-202022-11-08杭州趣链科技有限公司 A governance method, device and medium for a cross-chain business contract
CN117252701B (en)*2023-09-282025-03-11中央民族大学Cross-chain intercommunication platform based on block chain
CN117955742B (en)*2024-03-262024-06-14杭州高新区(滨江)区块链与数据安全研究院 Verification method, device, challenge node and storage medium for cross-chain data interaction

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2017098519A1 (en)*2015-12-082017-06-15Tallysticks LimitedA system and method for automated financial transaction validation, processing and settlement using blockchain smart contracts
CN107301600A (en)*2017-06-232017-10-27北京天德科技有限公司A kind of core algorithm for the block chain the Internet model merchandised across chain
CN108009811A (en)*2017-11-302018-05-08中国人民解放军国防科技大学 A cross-chain communication method for inter-cloud computing environment value exchange
CN108269190A (en)*2018-01-172018-07-10深圳四方精创资讯股份有限公司Across chain method and its system based on across chain relaying platform

Family Cites Families (37)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20170011460A1 (en)*2015-07-092017-01-12Ouisa, LLCSystems and methods for trading, clearing and settling securities transactions using blockchain technology
CN105404701B (en)*2015-12-312018-11-13浙江图讯科技股份有限公司A kind of heterogeneous database synchronization method based on peer-to-peer network
US20170236123A1 (en)*2016-02-162017-08-17Blockstack Inc.Decentralized processing of global naming systems
US11373183B2 (en)*2016-05-062022-06-28Mastercard International IncorporatedMethod and system for instantaneous payment using recorded guarantees
JP6628188B2 (en)*2016-05-102020-01-08日本電信電話株式会社 Payment system, payment method, transaction generation device, and transaction generation program
KR101780636B1 (en)*2016-05-162017-09-21주식회사 코인플러그Method for issuing certificate information and blockchain-based server using the same
US9635000B1 (en)*2016-05-252017-04-25Sead MufticBlockchain identity management system based on public identities ledger
CN106204287A (en)*2016-07-182016-12-07上海仲托网络科技有限公司Mutual insurance based on block chain and help each other guarantee operation method and system
CN106372533B (en)*2016-09-142020-04-21中国银联股份有限公司 Content storage method based on blockchain technology
CN106357405A (en)*2016-09-192017-01-25弗洛格(武汉)信息科技有限公司Method and system for managing data on basis of block chain technology consistency algorithms
CN106503098B (en)*2016-10-142021-11-12中金云金融(北京)大数据科技股份有限公司Block chain cloud service framework system built in Paas service layer
CN106559211B (en)*2016-11-222019-12-13中国电子科技集团公司第三十研究所 A privacy-preserving smart contract method in blockchain
CN106779805A (en)*2016-11-242017-05-31中国银行股份有限公司Integration circulation method and device between a kind of different businessmans based on block chain
US20180197155A1 (en)*2016-12-122018-07-12Topl, LlcMethod and Apparatus for Processing Mobile Payment Using Blockchain Techniques
CN106790513A (en)*2016-12-192017-05-31杜伯仁The method that network share service is realized based on block chain
US11341488B2 (en)*2017-02-062022-05-24Northern Trust CorporationSystems and methods for issuing and tracking digital tokens within distributed network nodes
US10484346B2 (en)*2017-02-072019-11-19Microsoft Technology Licensing, LlcEstablishment of consortium blockchain network
CN107103054B (en)*2017-04-122019-03-26北京航空航天大学A kind of intelligent contract asynchronous execution storage system and implementation method of privately owned block chain
CN107147704B (en)*2017-04-212019-12-13杭州趣链科技有限公司block chain-oriented universal service middleware system
CN107294727B (en)*2017-05-222020-06-19联动优势科技有限公司Electronic voting method, terminal equipment and block chain network
CN107341660B (en)*2017-05-272021-06-29唐盛(北京)物联技术有限公司Block chain bottom layer consensus mechanism and block chain system based on same
CN107231299A (en)*2017-06-072017-10-03众安信息技术服务有限公司A kind of chain route and realized the system that block chain communicates across chain
CN107248076A (en)*2017-06-242017-10-13北京天德科技有限公司A kind of core algorithm of the double-chain block chain the Internet model merchandised across chain
CN107657438B (en)*2017-09-182020-12-04联动优势科技有限公司Block chain generation method, data verification method, node and system
CN107729383B (en)*2017-09-182021-06-29联动优势科技有限公司Index library generation method, data verification method, device and platform
CN107742210A (en)*2017-10-132018-02-27布比(北京)网络技术有限公司 A cross-chain transfer system and method between different blockchains
CN107909369A (en)*2017-10-132018-04-13布比(北京)网络技术有限公司Based on the common recognition method, apparatus merchandised across chain and storage medium
CN107862216B (en)*2017-10-132021-04-06布比(北京)网络技术有限公司Privacy protection method, device and storage medium for anonymous cross-link transaction
CN107888562B (en)*2017-10-132019-12-27布比(北京)网络技术有限公司Data verification and transceiving method, node and system for parallel link access to interconnection chain
CN108280646A (en)*2018-01-192018-07-13中国科学院软件研究所Block chain group chain method based on alliance's chain and block catenary system
CN108055138B (en)*2018-02-012020-03-17国家计算机网络与信息安全管理中心Block chain-based application distribution recording method and system
CN108389047B (en)*2018-02-122021-07-09南京思利华信息科技有限公司Method for trading between parent chain and child chain in block chain and block chain network
CN108347486A (en)*2018-02-122018-07-31众安信息技术服务有限公司Across chain communication means, device and system based on block chain
CN108415784B (en)*2018-02-272020-04-24阿里巴巴集团控股有限公司Cross-block-chain interaction method, device, system and electronic equipment
CN108416589A (en)*2018-03-082018-08-17深圳前海微众银行股份有限公司 Blockchain node connection method, system and computer-readable storage medium
CN108416578A (en)*2018-03-142018-08-17郑杰骞A kind of block catenary system and data processing method
CN108305056B (en)*2018-03-272023-11-10北京蓝亚盒子科技有限公司Block chain-based data processing method and device and block chain node network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2017098519A1 (en)*2015-12-082017-06-15Tallysticks LimitedA system and method for automated financial transaction validation, processing and settlement using blockchain smart contracts
CN107301600A (en)*2017-06-232017-10-27北京天德科技有限公司A kind of core algorithm for the block chain the Internet model merchandised across chain
CN108009811A (en)*2017-11-302018-05-08中国人民解放军国防科技大学 A cross-chain communication method for inter-cloud computing environment value exchange
CN108269190A (en)*2018-01-172018-07-10深圳四方精创资讯股份有限公司Across chain method and its system based on across chain relaying platform

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白杰: ""发布区块链标准应用模型及应用部署技术研究"", 《信息技术与网络安全》*

Cited By (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111597258A (en)*2020-05-112020-08-28广州网格科技有限公司Block chain cross-chain information processing method and electronic equipment
CN111666325A (en)*2020-05-182020-09-15国网浙江省电力有限公司信息通信分公司Validity verification method for cross-link port calling
CN111666325B (en)*2020-05-182024-04-19国网浙江省电力有限公司Cross-link-port calling validity verification method
CN111680991A (en)*2020-05-292020-09-18上海边界智能科技有限公司 A method and device for software integration interaction based on blockchain
CN111711690A (en)*2020-06-162020-09-25中国银行股份有限公司Service processing method and device based on cross-chain technology
CN112417049A (en)*2020-11-242021-02-26杭州云象网络技术有限公司Cross-chain interaction method and system based on block chain all-in-one machine
CN112417049B (en)*2020-11-242024-03-12杭州云象网络技术有限公司Cross-chain interaction method and system based on block chain all-in-one machine
CN112788108A (en)*2020-12-292021-05-11深圳前海微众银行股份有限公司Cross-block-chain distributed message processing method, platform and storage medium
CN112788108B (en)*2020-12-292025-03-14深圳前海微众银行股份有限公司 A cross-blockchain distributed message processing method, platform and storage medium
CN113763178A (en)*2021-09-242021-12-07成都质数斯达克科技有限公司Multi-block chain cross-chain transaction method, device, equipment and readable storage medium
CN114519078A (en)*2022-04-192022-05-20北京理工大学Cross-chain credible query method and system based on block chain
CN114519078B (en)*2022-04-192022-08-09北京理工大学Cross-chain credible query method and system based on block chain

Also Published As

Publication numberPublication date
CN110868441A (en)2020-03-06
CN110866750A (en)2020-03-06
CN110866751B (en)2022-08-12
CN110868440A (en)2020-03-06
CN110868308B (en)2022-04-01
CN110868439B (en)2021-05-28
CN110868438B (en)2022-01-07
CN110868308A (en)2020-03-06
CN110866826B (en)2022-10-11
CN110868438A (en)2020-03-06
CN110866824B (en)2022-09-09
CN110866750B (en)2022-09-09
CN110866824A (en)2020-03-06
CN110866823B (en)2022-09-23
CN110868440B (en)2021-03-16
FI20206356A1 (en)2020-12-22
FI129087B (en)2021-06-30
FI20206009A1 (en)2020-10-14
CN110866825A (en)2020-03-06
CN110868439A (en)2020-03-06
CN110866826A (en)2020-03-06
JP2021527373A (en)2021-10-11
CN110868441B (en)2021-03-16
CN110866825B (en)2022-10-11
CN110866751A (en)2020-03-06

Similar Documents

PublicationPublication DateTitle
CN110866823B (en)Public link-based transaction method and block chain system
CN110489486B (en)Method, seed node and medium for generating block chain network
CN108924092A (en)Based on block chain can open arbitration distribution cloud storage method and system
CN111614709B (en)Partition transaction method and system based on block chain
CN108009811A (en) A cross-chain communication method for inter-cloud computing environment value exchange
WO2020173500A1 (en)Public chain-based sub-chain business system
CN112702402A (en)System, method, device, processor and storage medium for realizing government affair information resource sharing and exchange based on block chain technology
CN105976232A (en)Asset transaction method and device
CN111899002B (en)Method for efficiently performing cross-chain information transaction interaction in blockchain
CN112953821A (en)Message transmission method and device
JP6979736B2 (en) Token exchange method and blockchain system based on public chain
WO2020042934A1 (en)Non-repudiation cross-chain transaction method and blockchain system
CN105678151A (en)Block chain transmitting method and system for constructing trustable nodes/satellite nodes
CN110910000A (en) A blockchain asset management method and device
CN114066456A (en)ERC 1155-based cross-chain NFT transfer and settlement system
CN111414434A (en)Block chain-based data transaction management network, transaction device and storage medium
TW202004626A (en)Method, a device and a system of a distributed financial flows auditing
CN116258609B (en) A power system transaction coordination method, device and storage medium
WO2020042930A1 (en)Parallel-chain-based transaction method and blockchain system
NL2026376B1 (en)Public chain-based transaction method and blockchain system
WO2020042931A1 (en)Public chain-based transaction method and blockchain system
WO2020114241A1 (en)Token exchange method based on public blockchain, and blockchain system
NL2026362B1 (en)Parallel chain-based transaction method and blockchain system
CN110930133A (en)Electronic currency processing method based on block chain and storage medium
CN119599662A (en)Transaction processing method and related device based on blockchain

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:210000 A-002, building D4, No.15 Wanshou Road, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing City, Jiangsu Province

Applicant after:Aowei Co.,Ltd.

Address before:210000 A-002, building D4, No.15 Wanshou Road, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing City, Jiangsu Province

Applicant before:Jiangsu Aowei Holding Co.,Ltd.

Address after:210000 A-002, building D4, No.15 Wanshou Road, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing City, Jiangsu Province

Applicant after:Jiangsu Aowei Holding Co.,Ltd.

Address before:Room 309, 3 / F, building B, No.9 Xinghuo Road, Jiangbei new district, Nanjing City, Jiangsu Province, 210000

Applicant before:Aowei information technology (Jiangsu) Co.,Ltd.

GR01Patent grant
GR01Patent grant
CP03Change of name, title or address
CP03Change of name, title or address

Address after:210000 A-002, building D4, No.15 Wanshou Road, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing City, Jiangsu Province

Patentee after:Nanjing Aowei Holdings Co.,Ltd.

Country or region after:China

Address before:210000 A-002, building D4, No.15 Wanshou Road, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing City, Jiangsu Province

Patentee before:Aowei Co.,Ltd.

Country or region before:China

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20250210

Address after:Building 1, 396 Binjiang Avenue, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing, Jiangsu, 211800

Patentee after:Jiangsu Digital Property Rights Trading Co.,Ltd.

Country or region after:China

Address before:210000 A-002, building D4, No.15 Wanshou Road, Nanjing area, China (Jiangsu) pilot Free Trade Zone, Nanjing City, Jiangsu Province

Patentee before:Nanjing Aowei Holdings Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp