














技术领域technical field
本申请涉及数据处理技术领域中的区块链技术领域,尤其涉及一种异构链间的跨链处理方法、装置、系统、电子设备和存储介质。The present application relates to the field of blockchain technology in the technical field of data processing, and in particular, to a method, apparatus, system, electronic device and storage medium for cross-chain processing between heterogeneous chains.
背景技术Background technique
跨链技术可以解决区块链之间的相互调用问题,可以实现不同区块链系统的数据共享。在相关技术中,无法实现交易的可授权、可追溯,在一些情况下,即使完成了跨系统交易,却无法与原生系统实现安全组网。Cross-chain technology can solve the problem of mutual calls between blockchains, and can realize data sharing between different blockchain systems. In the related technology, it is impossible to realize the authorization and traceability of the transaction. In some cases, even if the cross-system transaction is completed, the secure networking with the native system cannot be realized.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种异构链间的跨链处理的方法、装置、系统、电子设备以及存储介质。The present application provides a method, apparatus, system, electronic device and storage medium for cross-chain processing between heterogeneous chains.
根据本申请的第一方面,提供了一种异构链间的跨链处理方法,应用于跨链系统中的客户端,所述跨链系统还包括所述客户端对应的源应用链、跨链网关、中继链和至少一个应用链,所述客户端通过所述源应用链和所述跨链网关与所述中继链通信,所述源应用链通过所述跨链网关和所述中继链与所述至少一个应用链对接,所述方法包括:According to the first aspect of the present application, a cross-chain processing method between heterogeneous chains is provided, which is applied to a client in a cross-chain system, and the cross-chain system further includes a source application chain corresponding to the client, a cross-chain A chain gateway, a relay chain and at least one application chain, the client communicates with the relay chain through the source application chain and the cross-chain gateway, and the source application chain passes through the cross-chain gateway and the The relay chain is docked with the at least one application chain, and the method includes:
响应于接收到的需求信息,根据所述需求信息生成对应的链外服务查询请求;In response to the received demand information, generate a corresponding off-chain service query request according to the demand information;
将所述链外服务查询请求发送至所述中继链;其中,所述链外服务查询请求用于指示所述中继链从部署在所述中继链上的链外服务清单中检索出所需的目标链外服务信息;Sending the off-chain service query request to the relay chain; wherein the off-chain service query request is used to instruct the relay chain to retrieve from the list of off-chain services deployed on the relay chain Required target off-chain service information;
接收所述中继链反馈的目标链外服务信息,并获取所述中继链反馈的针对所述目标链外服务信息的访问令牌;其中,所述访问令牌包括服务地址信息和服务提供方签名信息;Receive the target off-chain service information fed back by the relay chain, and obtain an access token for the target off-chain service information fed back by the relay chain; wherein the access token includes service address information and service provision party signature information;
接收所述中继链反馈的所述访问令牌,并根据所述访问令牌中的服务地址信息向对应的目标应用链发送交易请求;其中,所述交易请求用于指示所述目标应用链在根据所述访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。Receive the access token fed back by the relay chain, and send a transaction request to the corresponding target application chain according to the service address information in the access token; wherein the transaction request is used to indicate the target application chain The transaction operation is performed when the legality of the transaction is verified according to the signature information of the service provider in the access token.
根据本申请的第二方面,提供了一种异构链间的跨链处理方法,应用于跨链系统中的中继链,所述跨链系统还包括客户端、所述客户端对应的源应用链、跨链网关和至少一个应用链,所述客户端通过所述源应用链和所述跨链网关与所述中继链通信,所述源应用链通过所述跨链网关和所述中继链与所述至少一个应用链对接,所述方法包括:According to a second aspect of the present application, a cross-chain processing method between heterogeneous chains is provided, which is applied to a relay chain in a cross-chain system, wherein the cross-chain system further includes a client and a source corresponding to the client. An application chain, a cross-chain gateway, and at least one application chain, the client communicates with the relay chain through the source application chain and the cross-chain gateway, and the source application chain passes through the cross-chain gateway and the relay chain The relay chain is docked with the at least one application chain, and the method includes:
接收所述客户端发送的链外服务查询请求;其中,所述链外服务查询请求是由所述客户端根据接收到的需求信息生成的;Receive an off-chain service query request sent by the client; wherein, the off-chain service query request is generated by the client according to the received demand information;
根据所述链外服务查询请求,从部署在所述中继链上的链外服务清单中检索出所需的目标链外服务信息;According to the off-chain service query request, retrieve the required target off-chain service information from the off-chain service list deployed on the relay chain;
获取所述目标链外服务信息的访问令牌;其中,所述访问令牌包括服务地址信息和服务提供方签名信息;Obtain the access token of the target off-chain service information; wherein, the access token includes service address information and service provider signature information;
将所述目标链外服务的访问令牌反馈给所述客户端;其中,所述客户端根据所述访问令牌中的服务地址信息向对应的目标应用链发送交易请求,其中,所述交易请求用于指示所述目标应用链在根据所述访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。Feedback the access token of the target off-chain service to the client; wherein, the client sends a transaction request to the corresponding target application chain according to the service address information in the access token, wherein the transaction The request is used to instruct the target application chain to perform a transaction operation when verifying the validity of the transaction according to the signature information of the service provider in the access token.
根据本申请的第三方面,提供了一种异构链间的跨链处理装置,包括:According to a third aspect of the present application, a cross-chain processing device between heterogeneous chains is provided, including:
生成模块,用于响应于接收到的需求信息,根据所述需求信息生成对应的链外服务查询请求;A generating module, configured to generate a corresponding off-chain service query request according to the demand information in response to the received demand information;
第一发送模块,用于将所述链外服务查询请求发送至跨链系统的中继链;其中,所述链外服务查询请求用于指示所述中继链从部署在所述中继链上的链外服务清单中检索出所需的目标链外服务信息;The first sending module is used to send the off-chain service query request to the relay chain of the cross-chain system; wherein, the off-chain service query request is used to instruct the relay chain to be deployed on the relay chain from Retrieve the required target off-chain service information from the off-chain service list on the website;
第一接收模块,用于接收所述中继链反馈的目标链外服务信息;a first receiving module, configured to receive target off-chain service information fed back by the relay chain;
获取模块,用于获取所述中继链反馈的针对所述目标链外服务信息的访问令牌;其中,所述访问令牌包括服务地址信息和服务提供方签名信息;an acquisition module, configured to acquire the access token for the target off-chain service information fed back by the relay chain; wherein the access token includes service address information and service provider signature information;
第二接收模块,用于接收所述中继链反馈的所述访问令牌;a second receiving module, configured to receive the access token fed back by the relay chain;
第二发送模块,用于根据所述访问令牌中的服务地址信息向所述跨链系统中对应的目标应用链发送交易请求;其中,所述交易请求用于指示所述目标应用链在根据所述访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。The second sending module is configured to send a transaction request to the corresponding target application chain in the cross-chain system according to the service address information in the access token; wherein, the transaction request is used to indicate that the target application chain is running according to the The transaction operation is performed when the service provider signature information in the access token verifies that the transaction is legal.
根据本申请的第四方面,提供了一种异构链间的跨链处理装置,包括:According to a fourth aspect of the present application, a cross-chain processing device between heterogeneous chains is provided, including:
接收模块,用于接收跨链系统的客户端发送的链外服务查询请求;其中,所述链外服务查询请求是由所述客户端根据接收到的需求信息生成的;A receiving module, configured to receive an off-chain service query request sent by a client of a cross-chain system; wherein, the off-chain service query request is generated by the client according to the received demand information;
检索模块,用于根据所述链外服务查询请求,从部署在所述中继链上的链外服务清单中检索出所需的目标链外服务信息;a retrieval module, configured to retrieve the required target off-chain service information from the off-chain service list deployed on the relay chain according to the off-chain service query request;
第一获取模块,用于获取所述目标链外服务信息的访问令牌;其中,所述访问令牌包括服务地址信息和服务提供方签名信息;a first obtaining module, configured to obtain an access token of the target off-chain service information; wherein, the access token includes service address information and service provider signature information;
反馈模块,用于将所述目标链外服务的访问令牌反馈给所述客户端;其中,所述客户端根据所述访问令牌中的服务地址信息向所述跨链系统中对应的目标应用链发送交易请求,其中,所述交易请求用于指示所述目标应用链在根据所述访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。A feedback module, configured to feed back the access token of the target off-chain service to the client; wherein, the client sends the corresponding target in the cross-chain system to the corresponding target in the cross-chain system according to the service address information in the access token The application chain sends a transaction request, wherein the transaction request is used to instruct the target application chain to perform a transaction operation when verifying that the transaction is legal according to the signature information of the service provider in the access token.
根据本申请的第五方面,提供了一种异构链间的跨链处理系统,所述跨链系统包括客户端对应的源应用链、跨链网关、中继链和至少一个应用链,所述客户端通过所述源应用链和所述跨链网关与所述中继链通信,所述源应用链通过所述跨链网关和所述中继链与所述至少一个应用链对接;According to a fifth aspect of the present application, a cross-chain processing system between heterogeneous chains is provided, the cross-chain system includes a source application chain corresponding to a client, a cross-chain gateway, a relay chain and at least one application chain, so the client communicates with the relay chain through the source application chain and the cross-chain gateway, and the source application chain is connected to the at least one application chain through the cross-chain gateway and the relay chain;
所述客户端包括本申请第三方面所述的一种异构链间的跨链处理装置;The client includes the cross-chain processing device between heterogeneous chains described in the third aspect of the present application;
所述中继链包括本申请第四方面所述的一种异构链间的跨链处理装置。The relay chain includes the cross-chain processing device between heterogeneous chains described in the fourth aspect of the present application.
根据本申请的第六方面,提供了一种电子设备,包括:According to a sixth aspect of the present application, an electronic device is provided, comprising:
至少一个处理器;以及,at least one processor; and,
与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
所述存储器有可悲所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,已使所述至少一个处理器能够执行本申请的第一方面,或者,第二方面所述的人口预测方法。The memory has instructions executed by the at least one processor, the instructions being executed by the at least one processor, which have enabled the at least one processor to perform the first aspect of the present application, or, the second aspect. population forecasting method.
根据本申请的第七方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,所述计算机指令用于使所述计算机执行本申请的第一方面,或者,第二方面所述的人口预测方法。According to a seventh aspect of the present application, there is provided a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to perform the first aspect of the present application, or the second aspect The population forecasting method described.
根据本申请的第八方面,提供了一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现根据第一方面,或者,第二方面所述的人口预测方法。According to an eighth aspect of the present application, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the population prediction method according to the first aspect or, alternatively, the second aspect.
上述提供的技术方案,至少具有如下有益技术效果:The technical solutions provided above have at least the following beneficial technical effects:
通过设置链外服务清单和令牌,实现了跨链交易的可授权,可溯源。通过设置跨链网关和中继链,无需修改系统的底层代码即可实现跨链交易,实现了不同系统间的安全组网。By setting off-chain service lists and tokens, cross-chain transactions can be authorized and traceable. By setting up cross-chain gateways and relay chains, cross-chain transactions can be realized without modifying the underlying code of the system, realizing secure networking between different systems.
应当理解,本部分所描述的内容并非旨在标识本申请的实施例的关键或重要特征,也不用于限制本申请的范围。本申请的其它特征将通过以下的说明书而变得容易理解。It should be understood that the content described in this section is not intended to identify key or critical features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will become readily understood from the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本申请的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present application. in:
图1是根据本申请一个实施例的异构链间的跨链处理方法的流程图;FIG. 1 is a flowchart of a cross-chain processing method between heterogeneous chains according to an embodiment of the present application;
图2是根据本申请第二实施例的异构链间的跨链处理方法的流程图;FIG. 2 is a flowchart of a cross-chain processing method between heterogeneous chains according to the second embodiment of the present application;
图3是根据本申请第三实施例的异构链间的跨链处理方法的流程图;FIG. 3 is a flowchart of a cross-chain processing method between heterogeneous chains according to a third embodiment of the present application;
图4是根据本申请第四实施例的异构链间的跨链处理方法的流程图;FIG. 4 is a flowchart of a cross-chain processing method between heterogeneous chains according to the fourth embodiment of the present application;
图5是根据本申请第五实施例的异构链间的跨链处理方法的流程图;FIG. 5 is a flowchart of a cross-chain processing method between heterogeneous chains according to a fifth embodiment of the present application;
图6是根据本申请一个实施例的异构链间的跨链处理装置的结构框图;6 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to an embodiment of the present application;
图7是根据本申请另一个实施例的异构链间的跨链处理装置的结构框图;7 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to another embodiment of the present application;
图8是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图;8 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to yet another embodiment of the present application;
图9是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图;9 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to yet another embodiment of the present application;
图10是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图;10 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to yet another embodiment of the present application;
图11是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图;11 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to yet another embodiment of the present application;
图12是根据本申请一个实施例的异构链间的跨链处理系统的结构框图;12 is a structural block diagram of a cross-chain processing system between heterogeneous chains according to an embodiment of the present application;
图13是根据本申请又一实施例的异构链间的跨链处理系统的结构示意图;13 is a schematic structural diagram of a cross-chain processing system between heterogeneous chains according to yet another embodiment of the present application;
图14是根据本申请又一实施例的异构链间的跨链处理系统的交互图;14 is an interaction diagram of a cross-chain processing system between heterogeneous chains according to yet another embodiment of the present application;
图15是用来实现本申请实施例的异构链间的跨链处理方法的电子设备的框图。FIG. 15 is a block diagram of an electronic device used to implement the cross-chain processing method between heterogeneous chains according to an embodiment of the present application.
具体实施方式Detailed ways
以下结合附图对本申请的示范性实施例做出说明,其中包括本申请实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本申请的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present application are described below with reference to the accompanying drawings, which include various details of the embodiments of the present application to facilitate understanding, and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
本申请公开的异构链间的跨链处理方法可应用于跨链系统,该跨链系统中包括:客户端、源应用链、跨链网关、中继链和至少一个应用链。其中,该客户端通过源应用链和跨链网关与中继链通信,源应用链通过跨链网关和中继链与至少一个应用链对接。The cross-chain processing method between heterogeneous chains disclosed in this application can be applied to a cross-chain system, which includes: a client, a source application chain, a cross-chain gateway, a relay chain, and at least one application chain. The client communicates with the relay chain through the source application chain and the cross-chain gateway, and the source application chain connects with at least one application chain through the cross-chain gateway and the relay chain.
具体地,客户端用于发起跨链交易,发布可供跨链调用的本地服务。Specifically, the client is used to initiate cross-chain transactions and publish local services that can be invoked across chains.
跨链网关用于对跨链交易进行路由,并以事件通知的方式协调各交易参与方,保证交易的进行。跨链网关还可以对跨链交易进行签名背书,即,对跨链交易的合法性进行验证,在验证合法的情况下,用私钥进行签名。Cross-chain gateways are used to route cross-chain transactions, and coordinate transaction participants in the form of event notifications to ensure transactions. The cross-chain gateway can also sign and endorse the cross-chain transaction, that is, verify the legality of the cross-chain transaction, and sign with the private key if the verification is legal.
中继链用于对跨链交易进行校验。The relay chain is used to verify cross-chain transactions.
应用链用于提供服务,可以发布自身能提供的服务。当自身能提供的服务被跨链交易调用时,可以对跨链交易进行校验。可以理解地,发布链外服务查询请求的客户端所对应的应用链可以称为源应用链。The application chain is used to provide services and can publish the services that it can provide. When the service it can provide is called by a cross-chain transaction, the cross-chain transaction can be verified. Understandably, the application chain corresponding to the client that issues the off-chain service query request may be referred to as the source application chain.
在本申请一些实施例中,应用链可以是区块链系统,也可以是非区块链系统。在应用链是非区块链系统的情况下,该应用链包括但不限于:ERP(Enterprise ResourcePlanning,企业资源计划)系统、链下服务系统中的任一种,其中链下服务系统可以进行的处理事项包括但不限于:联邦学习、多方安全计算、数据检索中的任一种或多种。In some embodiments of the present application, the application chain may be a blockchain system or a non-blockchain system. In the case where the application chain is a non-blockchain system, the application chain includes but is not limited to: any one of an ERP (Enterprise Resource Planning) system and an off-chain service system, in which the off-chain service system can perform processing Matters include, but are not limited to: any one or more of federated learning, multi-party secure computing, and data retrieval.
可以理解地,一个客户端可以对应一个或多个源应用链,一个源应用链可以对应一个或多个客户端;一个源应用链可以对应一个或多个跨链网关,一个跨链网关可以对应一个或多个源应用链;一个跨链网关可以对应一个或多个中继链,一个中继链可以对应一个或多个跨链网关;一个应用链可以对应一个或多个中继链,一个中继链可以对应一个或多个应用链;一个应用链可以对应一个或多个客户端,一个客户端可以对应一个或多个应用链。例如,如图7所示,源应用链可以对应跨链网关2和跨链网关3;跨链网关4可以对应应用链3、应用链4、应用链5;中继链1可以对应跨链网关2、跨链网关3、跨链网关4、跨链网关6;跨链网关6可以对应中继链1、中继链2。Understandably, one client can correspond to one or more source application chains, and one source application chain can correspond to one or more clients; one source application chain can correspond to one or more cross-chain gateways, and one cross-chain gateway can correspond to One or more source application chains; one cross-chain gateway can correspond to one or more relay chains, and one relay chain can correspond to one or more cross-chain gateways; one application chain can correspond to one or more relay chains, one A relay chain can correspond to one or more application chains; an application chain can correspond to one or more clients, and a client can correspond to one or more application chains. For example, as shown in Figure 7, the source application chain can correspond to the
图1是根据本申请一个实施例的异构链间的跨链处理方法的流程图。FIG. 1 is a flowchart of a method for cross-chain processing between heterogeneous chains according to an embodiment of the present application.
如图1所示,该异构链间的跨链处理方法应用于跨链系统中的客户端,所述方法包括:As shown in Figure 1, the cross-chain processing method between heterogeneous chains is applied to a client in a cross-chain system, and the method includes:
步骤101,响应于接收到的需求信息,根据需求信息生成对应的链外服务查询请求。
在本申请一些实施例中,客户端会接收到需求信息。通常,源应用链不能满足该需求,而源应用链之外的其他应用链,可以满足该需求。客户端响应于接收到的需求信息,会根据需求信息生成对应的链外服务查询请求。可以理解地,根据该链外服务查询请求查询到的服务可以满足客户端接收到的需求信息。In some embodiments of the present application, the client receives the requirement information. Usually, the source application chain cannot meet this requirement, and other application chains other than the source application chain can meet this requirement. In response to the received demand information, the client will generate a corresponding off-chain service query request according to the demand information. Understandably, the service queried according to the off-chain service query request can satisfy the demand information received by the client.
步骤102,将链外服务查询请求发送至中继链;其中,链外服务查询请求用于指示中继链从部署在中继链上的链外服务清单中检索出所需的目标链外服务信息。Step 102: Send the off-chain service query request to the relay chain; wherein, the off-chain service query request is used to instruct the relay chain to retrieve the required target off-chain service from the list of off-chain services deployed on the relay chain information.
在本申请一些实施例中,该链外服务查询请求可以经过源应用链与跨链网关发送至中继链。通常,中继链上会部署一个链外服务清单,根据该链外服务查询请求可以对链外服务清单进行检索,检索到的信息即为所需的目标链外服务信息。可以理解地,该目标链外服务信息对应的目标链外服务可以满足客户端接收到的需求信息对应的需求。In some embodiments of the present application, the off-chain service query request may be sent to the relay chain through the source application chain and the cross-chain gateway. Usually, an off-chain service list is deployed on the relay chain. According to the off-chain service query request, the off-chain service list can be retrieved, and the retrieved information is the required target off-chain service information. It is understandable that the target off-chain service corresponding to the target off-chain service information can satisfy the requirement corresponding to the requirement information received by the client.
步骤103,接收中继链反馈的目标链外服务信息,并获取中继链反馈的针对目标链外服务信息的访问令牌;其中,访问令牌包括服务地址信息和服务提供方签名信息。Step 103: Receive the target off-chain service information fed back by the relay chain, and obtain an access token for the target off-chain service information fed back by the relay chain; wherein the access token includes service address information and service provider signature information.
可以理解地,提供目标链外服务的应用链可以称为目标应用链。Understandably, an application chain that provides services outside the target chain can be called a target application chain.
在本申请一些实施例中,为了使客户端能够和目标应用链进行交易,中继链可以向客户端反馈一个目标链外服务信息,该信息中可以包括一个访问令牌,该访问令牌包括服务地址信息和服务提供方签名信息。其中,服务地址信息用于提供目标应用链的地址信息;服务提供方签名信息用于验证该目标应用链和访问令牌的对应关系是否正确,从而可以验证该目标应用链和目标链外服务信息的对应关系是否正确,即验证该目标链外服务是否为该目标应用链所提供的服务。该服务提供方签名信息可以是目标业务链的私钥。可以理解地,目标链外服务信息中也可以不包含该访问令牌,而是经过客户端确认目标链外服务之后,向中继链请求该访问令牌。In some embodiments of the present application, in order to enable the client to conduct transactions with the target application chain, the relay chain may feed back information about the target off-chain service to the client, and the information may include an access token, where the access token includes Service address information and service provider signature information. Among them, the service address information is used to provide the address information of the target application chain; the service provider signature information is used to verify whether the corresponding relationship between the target application chain and the access token is correct, so that the target application chain and the service information outside the target chain can be verified. Whether the corresponding relationship is correct, that is, to verify whether the target off-chain service is the service provided by the target application chain. The service provider signature information may be the private key of the target business chain. It is understandable that the access token may not be included in the target off-chain service information, but after the client confirms the target off-chain service, the access token is requested from the relay chain.
步骤104,接收中继链反馈的访问令牌,并根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求;其中,交易请求用于指示目标应用链在根据访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。Step 104: Receive the access token fed back by the relay chain, and send a transaction request to the corresponding target application chain according to the service address information in the access token; When the service provider's signature information verifies that the transaction is legal, the transaction operation is performed.
在本申请一些实施例中,客户端可以接收中继链反馈的访问令牌,并从访问令牌中解析出服务地址信息和服务提供方签名信息,根据该服务地址信息向目标应用链发送交易请求。目标应用链在接收到该交易请求时,可通过该交易请求中所携带的服务提供方签名来校验该交易的合法性,在校验交易合法的情况下,执行该交易操作。交易操作完成之后,会生成一个交易结果,目标应用链可以通过跨链网关和中继链将交易结果返回到客户端。In some embodiments of this application, the client can receive the access token fed back by the relay chain, parse out the service address information and service provider signature information from the access token, and send a transaction to the target application chain according to the service address information ask. When the target application chain receives the transaction request, it can verify the legitimacy of the transaction through the signature of the service provider carried in the transaction request, and execute the transaction operation when the verification transaction is legal. After the transaction operation is completed, a transaction result will be generated, and the target application chain can return the transaction result to the client through the cross-chain gateway and relay chain.
根据本申请实施例的异构链间的跨链处理方法,通过客户端向中继链发送链外服务查询请求,以使得中继链根据链外服务查询请求对链外服务清单进行检索,得到目标链外服务信息,由于目标链外服务信息中的访问令牌中含有服务地址信息和服务提供方签名信息,因此可以通过该访问令牌,客户端可以访问并调用目标应用链所提供的链外服务,实现了服务可追溯;目标应用链可以通过令牌校验交易的合法性,实现了服务可授权。本申请公开的异构链间的跨链处理方法,没有对源应用链和目标应用链的底层代码进行修改,从而避免了源应用链和目标应用链之间通用性的丧失,从而可以实现安全组网。According to the cross-chain processing method between heterogeneous chains according to the embodiment of the present application, the client sends an off-chain service query request to the relay chain, so that the relay chain retrieves the off-chain service list according to the off-chain service query request, and obtains Target off-chain service information. Since the access token in the target off-chain service information contains service address information and service provider signature information, the client can access and call the chain provided by the target application chain through the access token. The external service realizes the service traceability; the target application chain can verify the legitimacy of the transaction through the token, and the service can be authorized. The cross-chain processing method between heterogeneous chains disclosed in this application does not modify the underlying code of the source application chain and the target application chain, thereby avoiding the loss of commonality between the source application chain and the target application chain, thereby realizing security. networking.
本申请的第二实施例中,基于上述实施例,为了增强获取访问令牌和发布服务的效率和可信度,可以提出两个合约。为了更清楚地说明该方法,可以基于上述各实施例的异构链间的跨链处理方法,使用实施例二具体说明该方法。In the second embodiment of the present application, based on the above-mentioned embodiments, in order to enhance the efficiency and reliability of obtaining access tokens and publishing services, two contracts can be proposed. In order to illustrate the method more clearly, based on the cross-chain processing methods between heterogeneous chains in the above-mentioned embodiments, the method can be specifically described by using the second embodiment.
可以通过图2具体说明,图2是根据本申请第二实施例的异构链间的跨链处理方法的流程图,具体包括:It can be described in detail with reference to FIG. 2 . FIG. 2 is a flowchart of a method for cross-chain processing between heterogeneous chains according to the second embodiment of the present application, which specifically includes:
步骤201,通过跨链网关向中继链发送通知信息;其中,通知信息用于指示中继链调用部署在中继链上的服务发布合约以发布预先注册到链外服务清单中的客户端以及源应用链的对外服务信息。Step 201: Send notification information to the relay chain through the cross-chain gateway; wherein, the notification information is used to instruct the relay chain to invoke the service publishing contract deployed on the relay chain to publish the clients pre-registered in the off-chain service list and External service information of the source application chain.
可以理解地,客户端以及对应应用链的对外服务信息需要进行发布。Understandably, the client and the external service information of the corresponding application chain need to be published.
在本申请一些实施例中,在中继链上部署了服务发布合约,用以发布对外服务。具体地,在一些应用场景下,可以将客户端以及源应用链能够提供的对外服务信息预先注册到链外服务清单中,该对外服务信息,可以是经过客户端和/或源应用链的私钥签名的。In some embodiments of the present application, a service publishing contract is deployed on the relay chain to publish external services. Specifically, in some application scenarios, the external service information that can be provided by the client and the source application chain can be pre-registered in the list of off-chain services, and the external service information can be private through the client and/or the source application chain. key signed.
可以理解地,此时该链外服务清单中包括了跨链系统中客户端和对应应用链能提供的对外服务信息。Understandably, at this time, the off-chain service list includes external service information that can be provided by the client in the cross-chain system and the corresponding application chain.
客户端可以通过跨链网关向中继链发送通知信息,中继链响应于该通知信息,会调用部署在中继链上的服务发布合约,将预先注册到链外服务清单中的对外服务信息进行发布,此时跨链系统中能提供的对外服务信息被发布。The client can send notification information to the relay chain through the cross-chain gateway. In response to the notification information, the relay chain will call the service publishing contract deployed on the relay chain to pre-register the external service information in the off-chain service list. Publishing, at this time, the external service information that can be provided in the cross-chain system is published.
步骤202,响应于接收到的需求信息,根据需求信息生成对应的链外服务查询请求。
步骤203,将链外服务查询请求发送至中继链;其中,链外服务查询请求用于指示中继链从部署在中继链上的链外服务清单中检索出所需的目标链外服务信息。Step 203: Send the off-chain service query request to the relay chain; wherein, the off-chain service query request is used to instruct the relay chain to retrieve the required target off-chain service from the list of off-chain services deployed on the relay chain information.
在本申请一些实施例中,预先注册到链外服务清单中的对外服务信息已经被公开,因此中继链可以根据链外服务查询请求对链外服务清单进行检索,得到所需的目标链外服务信息。In some embodiments of this application, the external service information pre-registered in the off-chain service list has been disclosed, so the relay chain can retrieve the off-chain service list according to the off-chain service query request to obtain the desired target off-chain service list. Service Information.
步骤204,接收中继链反馈的目标链外服务信息,向中继链发送跨链服务调用请求;其中,跨链服务调用请求用于指示中继链调用部署在中继链上的服务交易合约以获取目标链外服务信息的访问令牌;其中,访问令牌包括服务地址信息和服务提供方签名信息。Step 204: Receive the target off-chain service information fed back by the relay chain, and send a cross-chain service invocation request to the relay chain; wherein, the cross-chain service invocation request is used to instruct the relay chain to invoke the service transaction contract deployed on the relay chain to obtain the access token of the target off-chain service information; wherein, the access token includes service address information and service provider signature information.
可以理解地,客户端接收到的中继链反馈的目标链外服务信息可以为一个或多个。在中继链反馈的目标链外服务信息为多个的情况下,步骤204还包括:Understandably, the target off-chain service information fed back by the relay chain received by the client may be one or more. In the case where there are multiple target off-chain service information fed back by the relay chain, step 204 further includes:
将中继链反馈的多个目标链外服务信息提供给用户。Provide multiple target off-chain service information fed back by the relay chain to users.
其中,向中继链发送跨链服务调用请求,包括:Among them, sending a cross-chain service call request to the relay chain, including:
步骤一,确定用户从多个目标链外服务信息中选择的目标链外服务信息。Step 1: Determine target off-chain service information selected by the user from multiple target off-chain service information.
在本申请一些实施例中,当目标中继链反馈多个目标链外服务信息时,客户端也会收到多个目标链外服务信息。用户可以从多个目标链外服务信息中选择目标链外服务信息,该目标链外服务信息即为用户认为的多个目标链外服务信息中,最契合需求信息的一个或多个。In some embodiments of the present application, when the target relay chain feeds back multiple target off-chain service information, the client also receives multiple target off-chain service information. The user can select the target off-chain service information from multiple target off-chain service information, and the target off-chain service information is one or more of the multiple target off-chain service information that the user thinks best fits the demand information.
步骤二,向中继链发送针对用户所选择的目标链外服务信息的跨链服务调用请求。Step 2: Send a cross-chain service invocation request for the target off-chain service information selected by the user to the relay chain.
客户端在确定目标链外服务信息之后,可以向中继链发送对应目标链外服务信息的跨链服务调用请求。其中,跨链服务调用请求的作用与步骤204中的作用相同。After determining the target off-chain service information, the client can send a cross-chain service invocation request corresponding to the target off-chain service information to the relay chain. The function of the cross-chain service invocation request is the same as that in
在本申请一些实施例中,客户端在接收到中继链反馈的目标链外服务信息后,可以向中继链发送跨链服务调用请求,中继链响应于该跨链服务调用请求,会调用部署在中继链上的服务交易合约,通过该服务交易合约,可以实现分布式交易。根据该服务交易合约,客户端可以通过索取或者购买的方式获取目标链外服务信息的访问令牌。如上述实施例所述,访问令牌中包括服务地址信息和服务提供方签名信息。In some embodiments of the present application, after receiving the target off-chain service information fed back by the relay chain, the client can send a cross-chain service invocation request to the relay chain, and the relay chain responds to the cross-chain service invocation request, Call the service transaction contract deployed on the relay chain, and through the service transaction contract, distributed transactions can be realized. According to the service transaction contract, the client can obtain the access token of the target off-chain service information by requesting or purchasing. As described in the above embodiment, the access token includes service address information and service provider signature information.
步骤205,接收中继链反馈的访问令牌,并根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求;其中,交易请求用于指示目标应用链在根据访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。Step 205: Receive the access token fed back by the relay chain, and send a transaction request to the corresponding target application chain according to the service address information in the access token; When the service provider's signature information verifies that the transaction is legal, the transaction operation is performed.
可以理解地,客户端接收到中继链反馈的访问令牌,可以根据访问令牌中的服务地址信息和服务提供方签名执行该交易操作。Understandably, the client receives the access token fed back by the relay chain, and can execute the transaction operation according to the service address information in the access token and the signature of the service provider.
根据本申请实施例的异构链间的跨链处理方法,在发布对外服务信息时,使用了服务发布合约;在客户端从中继链上获取令牌时,使用了服务交易合约,使得交易的效率更高,自动化程度和可信程度更高。避免了交易过程中一方不遵守共识而造成的违约情形的出现。According to the cross-chain processing method between heterogeneous chains according to the embodiment of the present application, when publishing external service information, the service publishing contract is used; when the client obtains the token from the relay chain, the service transaction contract is used, so that the transaction More efficient, more automated and more trustworthy. It avoids the occurrence of breach of contract caused by one party's failure to comply with the consensus during the transaction process.
上述实施例中的异构链间的跨链处理方法应用于跨链系统中的客户端,本申请还公开了一种异构链间的跨链处理方法,图3是根据本申请第三实施例的异构链间的跨链处理方法的流程图。The cross-chain processing method between heterogeneous chains in the above embodiment is applied to the client in the cross-chain system. The present application also discloses a cross-chain processing method between heterogeneous chains. FIG. 3 is a third implementation according to the present application. The flow chart of the cross-chain processing method between heterogeneous chains.
如图3所示,该方法应用于跨链系统中的中继链,所述方法包括:As shown in Figure 3, the method is applied to the relay chain in the cross-chain system, and the method includes:
步骤301,接收所述客户端发送的链外服务查询请求;其中,所述链外服务查询请求是由所述客户端根据接收到的需求信息生成的。Step 301: Receive an off-chain service query request sent by the client; wherein, the off-chain service query request is generated by the client according to the received demand information.
在本申请一些实施例中,客户端根据接收到的需求信息,会生成链外服务查询请求,并发送该链外服务查询请求。中继链可以接收客户端发送的链外服务查询请求。In some embodiments of the present application, the client generates an off-chain service query request according to the received demand information, and sends the off-chain service query request. The relay chain can receive out-of-chain service query requests sent by clients.
步骤302,根据所述链外服务查询请求,从部署在所述中继链上的链外服务清单中检索出所需的目标链外服务信息。
可以理解地,部署在中继链上的链外服务清单中包括该跨链系统能提供的链外服务,中继链可以在该链外服务清单中根据链外服务查询请求进行检索,检索出客户端所需的目标链外服务信息。Understandably, the list of off-chain services deployed on the relay chain includes the off-chain services that the cross-chain system can provide. The target off-chain service information required by the client.
步骤303,获取所述目标链外服务信息的访问令牌;其中,所述访问令牌包括服务地址信息和服务提供方签名信息。Step 303: Obtain the access token of the target off-chain service information; wherein, the access token includes service address information and service provider signature information.
在本申请一些实施例中,目标链外服务信息可以对应一个访问令牌,该访问令牌中包括客户端对服务提供方进行访问时,所需要的服务地址信息和服务提供方签名信息。In some embodiments of the present application, the target off-chain service information may correspond to an access token, where the access token includes service address information and service provider signature information required by the client when accessing the service provider.
步骤304,将目标链外服务的访问令牌反馈给客户端;其中,客户端根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求,其中,交易请求用于指示目标应用链在根据访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。Step 304: Feed back the access token of the target off-chain service to the client; wherein, the client sends a transaction request to the corresponding target application chain according to the service address information in the access token, wherein the transaction request is used to indicate the target application chain The transaction operation is performed when the legality of the transaction is verified according to the signature information of the service provider in the access token.
可以理解地,客户端需要使用中继链上的该访问令牌向对应的目标应用链发送交易请求。在本申请一些实施例中,中继链会将目标链外服务的访问令牌反馈给客户端,客户端在对目标应用链发送交易请求的时候,要知道目标应用链的地址信息,并且要验证交易的合法性。访问令牌中的服务地址信息可以为客户端提供目标应用链的地址信息,根据该地址信息,客户端可以向对应的目标应用链发送交易请求。目标应用链通过访问令牌中的服务提供方签名信息,可以校验交易的合法性,在校验交易合法时,可以在交易请求的指示下,执行交易操作。Understandably, the client needs to use the access token on the relay chain to send a transaction request to the corresponding target application chain. In some embodiments of the present application, the relay chain will feed back the access token of the service outside the target chain to the client. When the client sends a transaction request to the target application chain, it needs to know the address information of the target application chain, and also needs to know the address information of the target application chain. Verify the legitimacy of the transaction. The service address information in the access token can provide the client with address information of the target application chain, and according to the address information, the client can send a transaction request to the corresponding target application chain. The target application chain can verify the legality of the transaction by accessing the service provider's signature information in the token. When verifying the legality of the transaction, it can execute the transaction operation under the instruction of the transaction request.
根据本申请实施例的异构链间的跨链处理方法,根据链外服务查询请求对链外服务清单进行检索,得到目标服务信息,目标服务信息中的访问令牌里有服务地址信息和服务提供方签名信息。通过设置访问令牌,客户端可以访问目标应用链,实现了服务可追溯;目标应用链可以通过令牌校验交易的合法性,实现了服务可授权。本申请公开的异构链间的跨链处理方法,没有对源应用链和目标应用链的底层代码进行修改,从而避免了源应用链和目标应用链之间通用性的丧失,从而可以实现安全组网。According to the cross-chain processing method between heterogeneous chains according to the embodiment of the present application, the off-chain service list is retrieved according to the off-chain service query request to obtain target service information, and the access token in the target service information contains service address information and service Provider signature information. By setting the access token, the client can access the target application chain, which realizes the service traceability; the target application chain can verify the legitimacy of the transaction through the token, and realize the authorization of the service. The cross-chain processing method between heterogeneous chains disclosed in this application does not modify the underlying code of the source application chain and the target application chain, thereby avoiding the loss of commonality between the source application chain and the target application chain, thereby realizing security. networking.
本申请的第四实施例中,基于上述实施例,为了增强获取访问令牌和发布服务的效率和可信度,可以提出两个合约。为了更清楚地说明该方法,可以基于第三实施例的异构链间的跨链处理方法,使用实施例四具体说明该方法。In the fourth embodiment of the present application, based on the above embodiments, in order to enhance the efficiency and reliability of obtaining access tokens and publishing services, two contracts may be proposed. In order to illustrate the method more clearly, the method can be specifically described by using
可以通过图4具体说明,图4是根据本申请第四实施例的异构链间的跨链处理方法的流程图,具体包括:It can be described in detail with reference to FIG. 4 , which is a flowchart of a method for cross-chain processing between heterogeneous chains according to the fourth embodiment of the present application, which specifically includes:
步骤401,响应于接收到的通知信息,调用部署在中继链上的服务发布合约以发布预先注册到链外服务清单中的客户端以及源应用链的对外服务信息;其中,通知消息是由客户端通过跨链网关发送的。Step 401, in response to the received notification information, call the service publishing contract deployed on the relay chain to publish the client pre-registered in the off-chain service list and the external service information of the source application chain; wherein, the notification message is sent by Sent by the client through the cross-chain gateway.
在本申请一些实施例中,会预先将客户端以及源应用链的对外服务信息注册到链外服务清单中。客户端可以通过跨链网关向中继链发送通知信息,中继链响应于接收到的通知信息,会调用部署在中继链上的服务发布合约,将预先注册到链外服务清单中的对外服务信息发布。In some embodiments of this application, the external service information of the client and the source application chain will be registered in the external service list in advance. The client can send notification information to the relay chain through the cross-chain gateway. In response to the received notification information, the relay chain will call the service publishing contract deployed on the relay chain and pre-register it to the external service in the off-chain service list. Service information release.
步骤402,接收客户端发送的链外服务查询请求;其中,链外服务查询请求是由客户端根据接收到的需求信息生成的。Step 402: Receive an off-chain service query request sent by the client; wherein, the off-chain service query request is generated by the client according to the received demand information.
可以理解地,客户端会根据接收到的需求信息生成链外服务查询请求,中继链会接收链外服务查询请求。Understandably, the client will generate an off-chain service query request according to the received demand information, and the relay chain will receive the off-chain service query request.
步骤403,根据链外服务查询请求,从部署在中继链上的链外服务清单中检索出所需的目标链外服务信息。
在本申请一些实施例中,中继链根据接收到的链外服务查询请求,会根据该链外服务查询请求,对部署在中继链上的链外服务清单进行检索,检索到所需的目标链外服务信息。In some embodiments of the present application, according to the received off-chain service query request, the relay chain will retrieve the list of off-chain services deployed on the relay chain according to the off-chain service query request, and retrieve the required Target off-chain service information.
步骤404,将目标链外服务信息反馈给客户端;其中,客户端在接收到中继链反馈的目标链外服务信息时向中继链发送跨链服务调用请求。Step 404: Feed back the target off-chain service information to the client; wherein the client sends a cross-chain service invocation request to the relay chain when receiving the target off-chain service information fed back by the relay chain.
可以理解地,中继链可以将检索到的目标链外服务信息反馈给客户端。在本申请一些实施例中,客户端在接收到中继链反馈的目标链外服务信息时,会向中继链发送跨链服务调用请求。Understandably, the relay chain can feed back the retrieved target off-chain service information to the client. In some embodiments of the present application, when receiving the target off-chain service information fed back by the relay chain, the client sends a cross-chain service invocation request to the relay chain.
步骤405,响应于接收到的跨链服务调用请求,调用部署在中继链上的服务交易合约以获取目标链外服务的访问令牌;其中,访问令牌包括服务地址信息和服务提供方签名信息。
在本申请一些实施例中,中继链响应于接收到的跨链服务调用请求,可以调用中继链上的服务交易合约,通过该服务交易合约,可以获取目标链外服务对应的访问令牌。该访问令牌中包括服务地址信息和服务提供方签名信息。In some embodiments of this application, the relay chain can call the service transaction contract on the relay chain in response to the received cross-chain service invocation request, and through the service transaction contract, the access token corresponding to the target off-chain service can be obtained . The access token includes service address information and service provider signature information.
步骤406,将目标链外服务的访问令牌反馈给客户端;其中,客户端根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求,其中,交易请求用于指示目标应用链在根据访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。Step 406: Feed back the access token of the target off-chain service to the client; wherein, the client sends a transaction request to the corresponding target application chain according to the service address information in the access token, wherein the transaction request is used to indicate the target application chain The transaction operation is performed when the legality of the transaction is verified according to the signature information of the service provider in the access token.
可以理解地,中继链将访问令牌发送给客户端,客户端可以根据访问令牌中的服务地址信息和服务提供方签名执行该交易操作。Understandably, the relay chain sends the access token to the client, and the client can execute the transaction operation according to the service address information in the access token and the signature of the service provider.
根据本申请实施例的异构链间的跨链处理方法,在发布对外服务信息时,使用了服务发布合约;在客户端从中继链上获取令牌时,使用了服务交易合约,使得交易的效率更高,自动化程度和可信程度更高。避免了交易过程中一方不遵守共识而造成的违约情形的出现。According to the cross-chain processing method between heterogeneous chains according to the embodiment of the present application, when publishing external service information, the service publishing contract is used; when the client obtains the token from the relay chain, the service transaction contract is used, so that the transaction More efficient, more automated and more trustworthy. It avoids the occurrence of breach of contract caused by one party's failure to comply with the consensus during the transaction process.
本申请的第五实施例中,基于上述应用于中继链的异构链间的跨链处理方法的实施例,为了使得跨链交易可以治理,可以对跨链交易进行验证。可以使用实施例五具体说明该方法。可选地,上述应用于中继链的异构链间的跨链处理方法,还包括步骤501-504。In the fifth embodiment of the present application, based on the above-mentioned embodiment of the cross-chain processing method applied to the relay chain between heterogeneous chains, in order to make the cross-chain transaction manageable, the cross-chain transaction can be verified. The method can be specifically illustrated using Example 5. Optionally, the above-mentioned cross-chain processing method between heterogeneous chains applied to the relay chain further includes steps 501-504.
可以通过图5具体说明,图5是根据本申请第五实施例的异构链间的跨链处理方法的流程图,该跨链处理方法还包括:5 is a flowchart of a cross-chain processing method between heterogeneous chains according to a fifth embodiment of the present application. The cross-chain processing method further includes:
步骤501,在客户端与目标应用链完成跨链交易,且接收到针对跨链交易的投诉请求时,获取客户端与目标应用链在进行跨链交易的过程中所产生的行为信息。Step 501: When the client and the target application chain complete the cross-chain transaction and receive a complaint request for the cross-chain transaction, obtain behavior information generated during the cross-chain transaction between the client and the target application chain.
可以理解地,在一些应用场景下,客户端和/或目标应用链会认为该交易存在问题,客户端和/或目标应用链可以对该交易发起投诉。Understandably, in some application scenarios, the client and/or the target application chain will consider that there is a problem with the transaction, and the client and/or the target application chain may file a complaint with the transaction.
在本申请一些实施例中,中继链可以获取客户端与目标应用链在进行交易过程中产生的行为信息,该行为信息记录了客户端和目标应用链进行交易的关键步骤,所述关键步骤可以满足对行为信息进行验证所需的信息。In some embodiments of the present application, the relay chain can obtain behavior information generated during the transaction between the client and the target application chain, and the behavior information records the key steps of the transaction between the client and the target application chain. The key steps The information required to validate behavioral information can be satisfied.
步骤502,验证行为信息是否满足目标要求。
在本申请一些实施例中,可以将行为信息和目标要求进行比对,所述比对内容包括但不限于:交易完成时间、交易完成效果。根据比对结果验证行为信息是否满足目标要求。可以理解地,该验证行为可以是通过预先设定的规则由系统实现的,也可以是人为介入实现的。In some embodiments of the present application, behavior information and target requirements may be compared, and the comparison content includes but is not limited to: transaction completion time and transaction completion effect. Verify whether the behavior information meets the target requirements according to the comparison results. Understandably, the verification behavior may be implemented by the system through a preset rule, or may be implemented by human intervention.
步骤503,在验证行为信息不满足目标要求时,确定用于实现客户端与中继链进行通信的目标跨链网关,并记录一次针对目标跨链网关的投诉。
可以理解地,在验证行为信息不满足目标要求的情况下,可以做出相应的惩罚措施。Understandably, in the case that the verification behavior information does not meet the target requirements, corresponding punishment measures can be taken.
在本申请一些实施例中,在确定验证行为信息不满足目标要求的情况下,可以对实现客户端与中继链通信的目标跨链网关进行投诉,可以记录该目标跨链网关下的应用链的被投诉次数。可以理解地,该目标跨链网关可以是提出需求信息的客户端对应的跨链网关,也可以是满足该需求信息的应用链对应的跨链网关。In some embodiments of the present application, when it is determined that the verification behavior information does not meet the target requirements, a complaint can be made against the target cross-chain gateway that realizes the communication between the client and the relay chain, and the application chain under the target cross-chain gateway can be recorded. of complaints. Understandably, the target cross-chain gateway may be the cross-chain gateway corresponding to the client that provides the demand information, or the cross-chain gateway corresponding to the application chain that satisfies the demand information.
步骤504,统计针对目标跨链网关的投诉次数,并在投诉次数大于或等于目标阈值时,对目标跨链网关进行清退处理。Step 504: Count the number of complaints against the target cross-chain gateway, and when the number of complaints is greater than or equal to the target threshold, clear the target cross-chain gateway.
在本申请一些实施例中,可以预先设定一个目标阈值,对目标跨链网关被投诉的次数进行统计,当目标跨链网关被投诉的次数大于或等于目标阈值时,可以对该目标跨链网关进行清退处理。该清退处理包括但不限于:在该目标跨链网关对应的中继链上取消该目标跨链网关的注册,和/或,中继链不将带有该目标跨链网关签名的目标链外服务信息发布到链外服务清单中。In some embodiments of this application, a target threshold may be preset, and the number of complaints against the target cross-chain gateway may be counted. When the number of complaints against the target cross-chain gateway is greater than or equal to the target threshold, the target cross-chain gateway may be complied with. The gateway performs clearing processing. The clearing process includes but is not limited to: canceling the registration of the target cross-chain gateway on the relay chain corresponding to the target cross-chain gateway, and/or, the relay chain does not send the target chain with the signature of the target cross-chain gateway to the target chain Out-of-chain service information is published in the out-of-chain service list.
可以理解地,步骤501-504可以通过一个智能合约来实现该功能,该合约部署在中继链,在接收到客户端投诉的情况下,可以对客户端投诉的交易行为进行验证,在行为信息不满足目标要求时,进行一次投诉,统计目标跨链网关被投诉的次数,在投诉次数大于或等于目标阈值的情况下,对目标网关采取清退处理。Understandably, steps 501-504 can be implemented through a smart contract. The contract is deployed in the relay chain. When a client complaint is received, the transaction behavior complained by the client can be verified. In the behavior information When the target requirements are not met, a complaint will be made, and the number of complaints against the target cross-chain gateway will be counted. If the number of complaints is greater than or equal to the target threshold, the target gateway will be cleared.
根据本申请实施例的异构链间的跨链处理方法,交易双方都可以对该交易提出投诉,以跨链网关为单位,对投诉成功的次数进行统计,并清退相应的跨链网关。实现了对跨链系统的治理,及时清除存在问题的跨链网关,保证了跨链系统的可信性。According to the cross-chain processing method between heterogeneous chains in the embodiment of the present application, both parties to the transaction can file a complaint about the transaction, take the cross-chain gateway as a unit, count the number of successful complaints, and clear the corresponding cross-chain gateway. The governance of the cross-chain system is realized, and the problematic cross-chain gateway is removed in time to ensure the credibility of the cross-chain system.
根据本申请的实施例,本申请还提供了一种异构链间的跨链处理装置,应用于跨链系统中的客户端,跨链系统还包括客户端对应的源应用链、跨链网关、中继链和至少一个应用链,客户端通过源应用链和跨链网关与中继链通信,源应用链通过跨链网关和中继链与至少一个应用链对接。图6是根据本申请一个实施例的异构链间的跨链处理装置的结构框图,如图6所示,该异构链间的跨链处理装置600可以包括:生成模块601、第一发送模块602、第一接收模块603、获取模块604、第二接收模块605、第二发送模块606,其中:According to an embodiment of the present application, the present application also provides a cross-chain processing device between heterogeneous chains, which is applied to a client in a cross-chain system, and the cross-chain system further includes a source application chain and a cross-chain gateway corresponding to the client. , a relay chain and at least one application chain, the client communicates with the relay chain through the source application chain and the cross-chain gateway, and the source application chain connects with at least one application chain through the cross-chain gateway and the relay chain. FIG. 6 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to an embodiment of the present application. As shown in FIG. 6 , the
生成模块601,用于响应于接收到的需求信息,根据需求信息生成对应的链外服务查询请求。The
第一发送模块602,用于将链外服务查询请求发送至中继链;其中,链外服务查询请求用于指示中继链从部署在中继链上的链外服务清单中检索出所需的目标链外服务信息。The
第一接收模块603,用于接收中继链反馈的目标链外服务信息。The
获取模块604,用于获取中继链反馈的针对目标链外服务信息的访问令牌;其中,访问令牌包括服务地址信息和服务提供方签名信息。The obtaining
第二接收模块605,用于接收中继链反馈的访问令牌。The
第二发送模块606,用于根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求;其中,交易请求用于指示目标应用链在根据访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。The
在本申请一些实施例中,图7是根据本申请另一个实施例的异构链间的跨链处理装置的结构框图,如图7所示,该异构链间的跨链处理装置700中,还可以包括:提供模块707,其中:In some embodiments of the present application, FIG. 7 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to another embodiment of the present application. As shown in FIG. 7 , in the
提供模块707,用于将中继链反馈的多个目标链外服务信息提供给用户。A providing
其中,图7中701-706和图6中601-606具有相同功能和结构。Among them, 701-706 in FIG. 7 and 601-606 in FIG. 6 have the same function and structure.
在本申请一些实施例中,图8是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图,如图8所示,该异构链间的跨链处理装置800中,还可以包括:通知消息发送模块808,其中:In some embodiments of the present application, FIG. 8 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to another embodiment of the present application. As shown in FIG. 8 , in the
通知消息发送模块808,用于在响应于接收到的需求信息之前,通过跨链网关向中继链发送通知信息。The notification
其中,图8中801-807和图7中701-707具有相同功能和结构。Among them, 801-807 in FIG. 8 and 701-707 in FIG. 7 have the same function and structure.
根据本申请实施例的异构链间的跨链处理装置,通过客户端向中继链发送链外服务查询请求,以使得中继链根据链外服务查询请求对链外服务清单进行检索,得到目标链外服务信息,由于目标链外服务信息中的访问令牌中含有服务地址信息和服务提供方签名信息,因此可以通过该访问令牌,客户端可以访问并调用目标应用链所提供的链外服务,实现了服务可追溯;目标应用链可以通过令牌校验交易的合法性,实现了服务可授权。本申请公开的异构链间的跨链处理装置,没有对源应用链和目标应用链的底层代码进行修改,从而避免了源应用链和目标应用链之间通用性的丧失,从而可以实现安全组网。According to the cross-chain processing device between heterogeneous chains according to the embodiment of the present application, the client sends an off-chain service query request to the relay chain, so that the relay chain retrieves the off-chain service list according to the off-chain service query request, and obtains Target off-chain service information. Since the access token in the target off-chain service information contains service address information and service provider signature information, the client can access and call the chain provided by the target application chain through the access token. The external service realizes the service traceability; the target application chain can verify the legitimacy of the transaction through the token, and the service can be authorized. The cross-chain processing device between heterogeneous chains disclosed in this application does not modify the underlying codes of the source application chain and the target application chain, thereby avoiding the loss of commonality between the source application chain and the target application chain, thereby realizing security networking.
可选地,在本申请实施例的异构链间的跨链处理装置中,在发布对外服务信息时,还可以使用服务发布合约;在客户端从中继链上获取令牌时,还可以使用服务交易合约,使得交易的效率更高,自动化程度和可信程度更高。避免了交易过程中一方不遵守共识而造成的违约情形的出现。Optionally, in the cross-chain processing device between heterogeneous chains in the embodiment of the present application, when publishing external service information, a service publishing contract can also be used; when a client obtains a token from the relay chain, it can also be used Service transaction contracts make transactions more efficient, automated and credible. It avoids the occurrence of breach of contract caused by one party's failure to comply with the consensus during the transaction process.
根据本申请的实施例,本申请还提供了一种异构链间的跨链处理装置,应用于跨链系统中的中继链,跨链系统还包括客户端、客户端对应的源应用链、跨链网关和至少一个应用链,客户端通过源应用链和跨链网关与中继链通信,源应用链通过跨链网关和中继链与至少一个应用链对接。如图9所示,图9是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图,该异构链间的跨链处理装置900可以包括:接收模块901、检索模块902、第一获取模块903、反馈模块904,其中:According to an embodiment of the present application, the present application further provides a cross-chain processing device between heterogeneous chains, which is applied to a relay chain in a cross-chain system, and the cross-chain system further includes a client and a source application chain corresponding to the client. , a cross-chain gateway and at least one application chain, the client communicates with the relay chain through the source application chain and the cross-chain gateway, and the source application chain connects with at least one application chain through the cross-chain gateway and the relay chain. As shown in FIG. 9 , FIG. 9 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to another embodiment of the present application. The
接收模块901,用于接收客户端发送的链外服务查询请求;其中,链外服务查询请求是由客户端根据接收到的需求信息生成的。The receiving
检索模块902,用于根据链外服务查询请求,从部署在中继链上的链外服务清单中检索出所需的目标链外服务信息。The
第一获取模块903,用于获取目标链外服务信息的访问令牌;其中,访问令牌包括服务地址信息和服务提供方签名信息。The first obtaining
反馈模块904,用于将目标链外服务的访问令牌反馈给客户端;其中,客户端根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求,其中,交易请求用于指示目标应用链在根据访问令牌中的服务提供方签名信息校验交易合法时,执行交易操作。The
在本申请一些实施例中,如图10所示,图10是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图,该异构链间的跨链处理装置1000,还包括:服务信息发布模块1005,其中:In some embodiments of the present application, as shown in FIG. 10 , FIG. 10 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to another embodiment of the present application. The
服务信息发布模块1005,用于在接收客户端发送的链外服务查询请求之前,响应于接收到的通知信息,调用部署在中继链上的服务发布合约以发布预先注册到链外服务清单中的客户端以及源应用链的对外服务信息;其中,通知消息是由客户端通过跨链网关发送的。The service
其中,图10中1001-1004和图9中901-904具有相同功能和结构。Among them, 1001-1004 in FIG. 10 and 901-904 in FIG. 9 have the same function and structure.
在本申请一些实施例中,如图11所示,图11是根据本申请又一个实施例的异构链间的跨链处理装置的结构框图,该异构链间的跨链处理装置1100,还包括:第二获取模块1106、验证模块1107、确定模块1108、统计模块1109、清退处理模块1110,其中:In some embodiments of the present application, as shown in FIG. 11 , FIG. 11 is a structural block diagram of a cross-chain processing apparatus between heterogeneous chains according to another embodiment of the present application. The
第二获取模块1106,用于在客户端与目标应用链完成跨链交易,且接收到针对跨链交易的投诉请求时,获取客户端与目标应用链在进行跨链交易的过程中所产生的行为信息;The second obtaining
验证模块1107,用于验证行为信息是否满足目标要求;A
确定模块1108,用于在验证行为信息不满足目标要求时,确定用于实现客户端与中继链进行通信的目标跨链网关,并记录一次针对目标跨链网关的投诉;A
统计模块1109,用于统计针对目标跨链网关的投诉次数;The
清退处理模块1110,用于在投诉次数大于或等于目标阈值时,对目标跨链网关进行清退处理。The
其中,图11中1101-1105和图10中1001-1005具有相同功能和结构。Among them, 1101-1105 in FIG. 11 and 1001-1005 in FIG. 10 have the same function and structure.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment of the method, and will not be described in detail here.
根据本申请实施例的异构链间的跨链处理装置,根据链外服务查询请求对链外服务清单进行检索,得到目标服务信息,目标服务信息中的访问令牌里有服务地址信息和服务提供方签名信息。通过设置访问令牌,客户端可以访问目标应用链,实现了服务可追溯;目标应用链可以通过令牌校验交易的合法性,实现了服务可授权。本申请公开的异构链间的跨链处理装置,没有对源应用链和目标应用链的底层代码进行修改,从而避免了源应用链和目标应用链之间通用性的丧失,从而可以实现安全组网。According to the cross-chain processing device between heterogeneous chains according to the embodiment of the present application, the off-chain service list is retrieved according to the off-chain service query request to obtain target service information, and the access token in the target service information contains service address information and service Provider signature information. By setting the access token, the client can access the target application chain, which realizes the service traceability; the target application chain can verify the legitimacy of the transaction through the token, and realize the authorization of the service. The cross-chain processing device between heterogeneous chains disclosed in this application does not modify the underlying codes of the source application chain and the target application chain, thereby avoiding the loss of commonality between the source application chain and the target application chain, thereby realizing security networking.
可选地,在本申请实施例的异构链间的跨链处理装置中,在发布对外服务信息时,可以使用服务发布合约;在客户端从中继链上获取令牌时,可以使用服务交易合约,使得交易的效率更高,自动化程度和可信程度更高。避免了交易过程中一方不遵守共识而造成的违约情形的出现。Optionally, in the cross-chain processing device between heterogeneous chains in the embodiment of the present application, when publishing external service information, a service publishing contract can be used; when a client obtains a token from the relay chain, a service transaction can be used. Contracts make transactions more efficient, automated and credible. It avoids the occurrence of breach of contract caused by one party's failure to comply with the consensus during the transaction process.
可选地,在本申请实施例的异构链间的跨链处理装置中,交易双方都可以对该交易提出投诉,以跨链网关为单位,对投诉成功的次数进行统计,并清退相应的跨链网关。实现了对跨链系统的治理,及时清除存在问题的跨链网关,保证了跨链系统的可信性。Optionally, in the cross-chain processing device between heterogeneous chains in this embodiment of the present application, both parties to the transaction can file a complaint about the transaction, take the cross-chain gateway as a unit, count the number of successful complaints, and clear the corresponding transaction. cross-chain gateway. The governance of the cross-chain system is realized, and the problematic cross-chain gateway is removed in time to ensure the credibility of the cross-chain system.
根据本申请的实施例,本申请还提出了一种异构链间的跨链处理系统。本申请中的跨链处理系统可包括上述图6至图8任一实施例所述的异构链间跨链处理装置,以及图9至图11任一实施例所述的异构链间跨链处理装置。其中,图6至图8所述的跨链处理装置可应用于跨链处理系统中的客户端,图9至图11所述的跨链处理装置可应用于跨链处理系统中的中继链。因此,作为一种示例,如图12所示,本申请实施例的异构链间的跨链处理系统1200包括:客户端1201、源应用链1202、跨链网关1203、中继链1204和至少一个应用链1205,其中,客户端1201通过源应用链1202和跨链网关1203与中继链1204通信,源应用链1202通过跨链网关1203和中继链1204与至少一个应用链1205对接。其中:According to the embodiments of the present application, the present application also proposes a cross-chain processing system between heterogeneous chains. The cross-chain processing system in the present application may include the heterogeneous inter-chain cross-chain processing device described in any of the above embodiments in FIG. 6 to FIG. chain handler. Wherein, the cross-chain processing device described in FIG. 6 to FIG. 8 can be applied to the client in the cross-chain processing system, and the cross-chain processing device described in FIG. 9 to FIG. 11 can be applied to the relay chain in the cross-chain processing system . Therefore, as an example, as shown in FIG. 12 , the
客户端1201,用于响应于接收到的需求信息,根据需求信息生成对应的链外服务查询请求,并将链外服务查询请求通过源应用链和跨链网关发送给中继链;The
中继链1204,用于根据链外服务查询请求,从部署在中继链上的链外服务清单中检索出所需的目标链外服务信息,并将目标链外服务信息通过跨链网关和源应用链反馈给客户端;The
客户端1201,还用于接收中继链反馈的目标链外服务信息,并获取中继链反馈的针对目标链外服务信息的访问令牌,并根据访问令牌中的服务地址信息向对应的目标应用链发送交易请求;The
目标应用链1205,用于根据访问令牌中的服务提供方签名信息校验交易是否合法,并在校验交易合法时,执行交易操作。The
在一些应用场景下,客户端具体用于:向中继链发送跨链服务调用请求;其中,跨链服务调用请求用于指示中继链调用部署在中继链上的服务交易合约以获取目标链外服务信息的访问令牌。In some application scenarios, the client is specifically used to: send a cross-chain service call request to the relay chain; wherein, the cross-chain service call request is used to instruct the relay chain to call the service transaction contract deployed on the relay chain to obtain the target Access token for off-chain service information.
当中继链反馈的目标链外服务信息为多个时,客户端具体用于:将中继链反馈的多个目标链外服务信息提供给用户;确定用户从多个目标链外服务信息中选择的目标链外服务信息;向中继链发送针对用户所选择的目标链外服务信息的跨链服务调用请求。When there are multiple target off-chain service information fed back by the relay chain, the client is specifically used to: provide the multiple target off-chain service information fed back by the relay chain to the user; determine that the user selects from the multiple target off-chain service information target off-chain service information; send a cross-chain service invocation request for the target off-chain service information selected by the user to the relay chain.
在一些应用场景下,该异构链间的跨链处理系统中:客户端,还用于在响应于接收到的需求信息之前,通过跨链网关向中继链发送通知信息;中继链,还用于响应于接收到的通知信息,调用部署在中继链上的服务发布合约以发布预先注册到链外服务清单中的客户端以及源应用链的对外服务信息。In some application scenarios, in the cross-chain processing system between heterogeneous chains: the client is also used to send notification information to the relay chain through the cross-chain gateway before responding to the received demand information; the relay chain, It is also used to call the service publishing contract deployed on the relay chain in response to the received notification information to publish the client pre-registered in the off-chain service list and the external service information of the source application chain.
在一些应用场景下,中继链还用于:客户端与目标应用链完成跨链交易,且接收到针对跨链交易的投诉请求时,获取客户端与目标应用链在进行跨链交易的过程中所产生的行为信息;验证行为信息是否满足目标要求;在验证行为信息不满足目标要求时,确定用于实现客户端与中继链进行通信的目标跨链网关,并记录一次针对目标跨链网关的投诉;统计针对目标跨链网关的投诉次数,并在投诉次数大于或等于目标阈值时,对目标跨链网关进行清退处理。In some application scenarios, the relay chain is also used: when the client and the target application chain complete the cross-chain transaction, and receive a complaint request for the cross-chain transaction, obtain the process of the cross-chain transaction between the client and the target application chain The behavior information generated in the network; verify whether the behavior information meets the target requirements; when the verification behavior information does not meet the target requirements, determine the target cross-chain gateway used to communicate between the client and the relay chain, and record a target cross-chain gateway Complaints from the gateway; count the number of complaints against the target cross-chain gateway, and clear the target cross-chain gateway when the number of complaints is greater than or equal to the target threshold.
在一些应用场景下,本申请提出的异构链间的跨链处理系统中,客户端,还用于预先调用部署在源应用链上的跨链服务注册合约,以将客户端的可对外服务信息注册至源应用链上,并预先通过跨链网关调用部署在中继链上的应用链注册合约,以将客户端的可对外服务和源应用链的可对外服务信息均注册至链外服务清单;应用链,用于预先通过跨链网关调用部署在中继链上的跨链网关注册合约,以将应用链注册到中继链。In some application scenarios, in the cross-chain processing system between heterogeneous chains proposed in this application, the client is also used to pre-call the cross-chain service registration contract deployed on the source application chain, so as to transfer the client's external service information Register on the source application chain, and call the application chain registration contract deployed on the relay chain through the cross-chain gateway in advance, so as to register the external service information of the client and the external service information of the source application chain to the off-chain service list; The application chain is used to call the cross-chain gateway registration contract deployed on the relay chain through the cross-chain gateway in advance to register the application chain to the relay chain.
在一些应用场景下,本申请提出的异构链间的跨链处理系统中,中继链还用于:将预先存储的跨链网关路由规则以事件通知方式发送给跨链网关。In some application scenarios, in the cross-chain processing system between heterogeneous chains proposed in this application, the relay chain is also used to: send the pre-stored cross-chain gateway routing rules to the cross-chain gateway in the form of event notification.
为了更清楚地说明本申请一些实施例提出的异构链间的跨链处理系统,可以基于上述系统,使用图13具体说明。In order to more clearly illustrate the cross-chain processing system between heterogeneous chains proposed by some embodiments of the present application, a specific description can be made using FIG. 13 based on the above-mentioned system.
图13是根据本申请又一实施例的异构链间的跨链处理系统的结构示意图。FIG. 13 is a schematic structural diagram of a cross-chain processing system between heterogeneous chains according to yet another embodiment of the present application.
图13中,源应用链可以是:金融链,应用链1可以是:司法链,应用链2可以是:农业链,应用链3可以是:医疗链。可以理解地,应用链也可以是非区块链系统,其中,应用链4可以是:链下服务,应用链5可以是:ERP系统。In Figure 13, the source application chain can be: financial chain,
为了更清楚地说明本申请一些实施例中客户端和应用链进行交易时的交互,可以基于上述系统,使用图14具体说明。In order to more clearly describe the interaction between the client and the application chain in some embodiments of the present application, the interaction between the client and the application chain can be described in detail by using FIG. 14 based on the above-mentioned system.
图14是根据本申请又一实施例的异构链间的跨链处理系统的交互图。FIG. 14 is an interaction diagram of a cross-chain processing system between heterogeneous chains according to yet another embodiment of the present application.
如图14所示,在进行交易之前,源应用链、应用链、中继链需要进行相应的合约注册。其中,应用链上可以部署客户端服务注册合约,该合约可以将客户端可提供的对外服务注册到客户端对应的应用链上;中继链上可以部署应用链注册合约,该合约可以将客户端及应用链可提供的对外服务注册到链外服务清单中;中继链上还可以部署跨链网关合约,该合约可以将应用链注册到中继链,并且获取中继链中已存在的应用链的路由信息。As shown in Figure 14, before the transaction, the source application chain, application chain, and relay chain need to perform corresponding contract registration. Among them, the client service registration contract can be deployed on the application chain, which can register the external services provided by the client to the corresponding application chain of the client; the application chain registration contract can be deployed on the relay chain, which can register the customer The external services provided by the terminal and the application chain are registered in the list of off-chain services; a cross-chain gateway contract can also be deployed on the relay chain, which can register the application chain to the relay chain and obtain the existing services in the relay chain. Application chain routing information.
步骤1401:响应于接收到的需求信息,根据需求信息生成对应的链外服务查询请求。Step 1401: In response to the received demand information, generate a corresponding off-chain service query request according to the demand information.
步骤1402:客户端将链外服务查询请求发送至对应的源应用链。Step 1402: The client sends the off-chain service query request to the corresponding source application chain.
步骤1403:源应用链将链外服务查询请求发送至对应的跨链网关1。Step 1403: The source application chain sends the off-chain service query request to the corresponding
步骤1404:跨链网关1将链外服务查询请求发送至对应的中继链。Step 1404: The
步骤1405:中继链根据部署在中继链上的链外服务清单中检索出所需的目标链外服务信息。Step 1405: The relay chain retrieves the required target off-chain service information according to the off-chain service list deployed on the relay chain.
步骤1406:中继链将目标链外服务信息发送至对应的跨链网关1。Step 1406: The relay chain sends the target off-chain service information to the corresponding
步骤1407:跨链网关1将目标链外服务信息发送至对应的源应用链。Step 1407: The
步骤1408:源应用链将目标链外服务信息发送至对应的客户端。Step 1408: The source application chain sends the target off-chain service information to the corresponding client.
步骤1409:客户端确认目标链外服务信息,生成跨链调用请求。Step 1409: The client confirms the target off-chain service information and generates a cross-chain call request.
步骤1410:客户端将跨链调用请求发送至对应的源应用链。Step 1410: The client sends the cross-chain call request to the corresponding source application chain.
步骤1411:源应用链将跨链调用请求发送至对应的跨链网关1。Step 1411: The source application chain sends the cross-chain call request to the corresponding
步骤1412:跨链网关1将跨链调用请求发送至对应的中继链。Step 1412: The
步骤1413,调用中继链上的服务交易合约,获取目标链外服务信息对应的访问令牌。Step 1413: Invoke the service transaction contract on the relay chain to obtain the access token corresponding to the target off-chain service information.
步骤1414:中继链将访问令牌发送至对应的跨链网关1。Step 1414: The relay chain sends the access token to the corresponding
步骤1415:跨链网关1将访问令牌发送至对应的源应用链。Step 1415: The
步骤1416:源应用链将访问令牌发送至对应的客户端。Step 1416: The source application chain sends the access token to the corresponding client.
步骤1417:客户端响应于接收到的访问令牌,生成交易请求。Step 1417: The client generates a transaction request in response to the received access token.
步骤1418:客户端将交易请求发送至对应的源应用链。Step 1418: The client sends the transaction request to the corresponding source application chain.
步骤1419:源应用链将交易请求发送至对应的跨链网关1。Step 1419: The source application chain sends the transaction request to the corresponding
步骤1420:跨链网关1将交易请求发送至对应的中继链。Step 1420: The
步骤1421:中继链将交易请求发送至对应的跨链网关2。Step 1421: The relay chain sends the transaction request to the corresponding
步骤1422:跨链网关2将交易请求发送至对应的应用链。Step 1422: The
步骤1423:应用链根据交易请求的指示,在访问令牌中的服务提供方签名校验合法时,执行交易操作,生成交易结果。Step 1423: According to the instruction of the transaction request, when the signature of the service provider in the access token is verified to be legal, the application chain performs the transaction operation and generates the transaction result.
步骤1424:应用链将交易结果发送至对应的跨链网关2。Step 1424: The application chain sends the transaction result to the corresponding
步骤1425:跨链网关2将交易结果发送至对应的中继链。Step 1425: The
步骤1426:中继链将交易结果发送至对应的跨链网关1。Step 1426: The relay chain sends the transaction result to the corresponding
步骤1427:跨链网关1将交易结果发送至对应的源应用链。Step 1427: The
步骤1428:源应用链将交易结果发送至对应的客户端。Step 1428: The source application chain sends the transaction result to the corresponding client.
根据本申请的实施例,本申请还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to the embodiments of the present application, the present application further provides an electronic device, a readable storage medium, and a computer program product.
图15示出了可以用来实施本申请的实施例的示例电子设备1500的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本申请的实现。15 shows a schematic block diagram of an example
如图15所示,设备1500包括计算单元1501,其可以根据存储在只读存储器(ROM)1502中的计算机程序或者从存储单元1508加载到随机访问存储器(RAM)1503中的计算机程序,来执行各种适当的动作和处理。在RAM 1503中,还可存储设备1500操作所需的各种程序和数据。计算单元1501、ROM 1502以及RAM 1503通过总线1504彼此相连。输入/输出(I/O)接口1505也连接至总线1504。As shown in FIG. 15, the
设备1500中的多个部件连接至I/O接口1505,包括:输入单元1506,例如键盘、鼠标等;输出单元1507,例如各种类型的显示器、扬声器等;存储单元1508,例如磁盘、光盘等;以及通信单元1509,例如网卡、调制解调器、无线通信收发机等。通信单元1509允许设备1500通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the
计算单元1501可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元1501的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元1501执行上文所描述的各个方法和处理,例如异构链间的跨链处理方法。例如,在一些实施例中,异构链间的跨链处理方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元1508。在一些实施例中,计算机程序的部分或者全部可以经由ROM 1502和/或通信单元1509而被载入和/或安装到设备1500上。当计算机程序加载到RAM 1503并由计算单元1501执行时,可以执行上文描述的异构链间的跨链处理方法的一个或多个步骤。备选地,在其他实施例中,计算单元1501可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行异构链间的跨链处理方法。
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
用于实施本申请的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present application may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.
在本申请的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of this application, a machine-readable medium may be a tangible medium that may contain or store the program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、互联网和区块链网络。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), the Internet, and blockchain networks.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务("Virtual Private Server",或简称"VPS")中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the traditional physical host and VPS service ("Virtual Private Server", or "VPS" for short). , there are the defects of difficult management and weak business expansion. The server can also be a server of a distributed system, or a server combined with a blockchain.
根据本申请实施例的技术方案,通过设置访问令牌,客户端可以访问目标应用链,实现了服务可追溯;目标应用链可以通过令牌校验交易的合法性,实现了服务可授权。本申请公开的异构链间的跨链处理方法,没有对源应用链和目标应用链的底层代码进行修改,从而避免了源应用链和目标应用链之间通用性的丧失,从而可以实现安全组网。According to the technical solutions of the embodiments of the present application, by setting the access token, the client can access the target application chain, and the service can be traced; the target application chain can verify the legality of the transaction through the token, and the service can be authorized. The cross-chain processing method between heterogeneous chains disclosed in this application does not modify the underlying code of the source application chain and the target application chain, thereby avoiding the loss of commonality between the source application chain and the target application chain, thereby realizing security. networking.
可选地,在发布对外服务信息时,可以使用服务发布合约;在客户端从中继链上获取令牌时,可以使用服务交易合约,使得交易的效率更高,自动化程度和可信程度更高。避免了交易过程中一方不遵守共识而造成的违约情形的出现。Optionally, when publishing external service information, the service publishing contract can be used; when the client obtains the token from the relay chain, the service transaction contract can be used, which makes the transaction more efficient, automated and credible. . It avoids the occurrence of breach of contract caused by one party's failure to comply with the consensus during the transaction process.
在一些应用场景下,交易双方都可以对该交易提出投诉,以跨链网关为单位,对投诉成功的次数进行统计,并清退相应的目标跨链网关。实现了对跨链系统的治理,及时清除存在问题的目标跨链网关,保证了跨链系统的可信性。In some application scenarios, both parties to the transaction can file a complaint about the transaction, take the cross-chain gateway as a unit, count the number of successful complaints, and clear the corresponding target cross-chain gateway. The governance of the cross-chain system is realized, and the target cross-chain gateway with problems is removed in time, which ensures the credibility of the cross-chain system.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本申请公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solutions disclosed in the present application can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本申请保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本申请的精神和原则之内所作的修改、等同替换和改进等,均应包含在本申请保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of this application shall be included within the protection scope of this application.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110242142.9ACN113807960A (en) | 2021-03-04 | 2021-03-04 | Cross-link processing method, device and system between heterogeneous chains and electronic equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110242142.9ACN113807960A (en) | 2021-03-04 | 2021-03-04 | Cross-link processing method, device and system between heterogeneous chains and electronic equipment |
| Publication Number | Publication Date |
|---|---|
| CN113807960Atrue CN113807960A (en) | 2021-12-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110242142.9APendingCN113807960A (en) | 2021-03-04 | 2021-03-04 | Cross-link processing method, device and system between heterogeneous chains and electronic equipment |
| Country | Link |
|---|---|
| CN (1) | CN113807960A (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113946857A (en)* | 2021-12-20 | 2022-01-18 | 太极计算机股份有限公司 | Distributed cross-link scheduling method and device based on data routing |
| CN114612103A (en)* | 2022-05-10 | 2022-06-10 | 中国信息通信研究院 | Method, apparatus, system, medium and electronic device for cross-blockchain transaction |
| CN115051815A (en)* | 2022-08-15 | 2022-09-13 | 江苏通付盾区块链科技有限公司 | Cross-chain data interaction method and device used between block chain heterogeneous chains |
| CN115208817A (en)* | 2022-05-29 | 2022-10-18 | 北京理工大学 | Credible cross-link routing method based on cross-link gateway and Floyd algorithm |
| CN116170152A (en)* | 2023-01-30 | 2023-05-26 | 江苏大学 | Logistics data cross-chain interoperation system and method based on trusted relay |
| CN117708787A (en)* | 2024-02-06 | 2024-03-15 | 人民法院信息技术服务中心 | Cross-chain data acquisition method and device based on distributed identity recognition |
| WO2024193155A1 (en)* | 2023-03-22 | 2024-09-26 | 浪潮电子信息产业股份有限公司 | Data access method, apparatus and system, and medium |
| CN119316448A (en)* | 2024-09-02 | 2025-01-14 | 中国人民解放军国防科技大学 | Cloud-to-cloud cross-domain collaboration method and system for controlled access to global medical data |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108805704A (en)* | 2018-05-16 | 2018-11-13 | 深圳市网心科技有限公司 | Block chain service implementation method, audiomonitor, storage medium and system |
| CN110011996A (en)* | 2019-03-26 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Application authorization method and device and electronic equipment based on block chain |
| CN110751475A (en)* | 2019-10-24 | 2020-02-04 | 杭州趣链科技有限公司 | Cross-chain method, system, equipment and storage medium for blockchain transaction |
| CN111488615A (en)* | 2020-04-08 | 2020-08-04 | 北京瑞策科技有限公司 | Cross-link realization method and device for service data block chain |
| CN111724169A (en)* | 2020-03-05 | 2020-09-29 | 支付宝(杭州)信息技术有限公司 | Service processing system, service processing method, device and equipment |
| CN111741026A (en)* | 2020-08-07 | 2020-10-02 | 百度在线网络技术(北京)有限公司 | Cross-chain transaction request processing method, device, equipment and storage medium |
| CN111752726A (en)* | 2020-06-25 | 2020-10-09 | 武汉众邦银行股份有限公司 | Method for quickly and crossly sharing data among multiple systems |
| CN111769958A (en)* | 2020-09-02 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain processing method, device, equipment and storage medium |
| CN111769957A (en)* | 2020-09-02 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain query method, device, equipment and storage medium |
| CN112052434A (en)* | 2020-07-30 | 2020-12-08 | 中国建设银行股份有限公司 | Electronic file verification method and device, electronic equipment and readable storage medium |
| CN112235423A (en)* | 2020-12-11 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Cross-chain transaction processing method and device, electronic equipment and storage medium |
| CN112398918A (en)* | 2020-10-30 | 2021-02-23 | 迅鳐成都科技有限公司 | Data sharing method, device and system for across alliance chain and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108805704A (en)* | 2018-05-16 | 2018-11-13 | 深圳市网心科技有限公司 | Block chain service implementation method, audiomonitor, storage medium and system |
| CN110011996A (en)* | 2019-03-26 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Application authorization method and device and electronic equipment based on block chain |
| CN110751475A (en)* | 2019-10-24 | 2020-02-04 | 杭州趣链科技有限公司 | Cross-chain method, system, equipment and storage medium for blockchain transaction |
| CN111724169A (en)* | 2020-03-05 | 2020-09-29 | 支付宝(杭州)信息技术有限公司 | Service processing system, service processing method, device and equipment |
| CN111488615A (en)* | 2020-04-08 | 2020-08-04 | 北京瑞策科技有限公司 | Cross-link realization method and device for service data block chain |
| CN111752726A (en)* | 2020-06-25 | 2020-10-09 | 武汉众邦银行股份有限公司 | Method for quickly and crossly sharing data among multiple systems |
| CN112052434A (en)* | 2020-07-30 | 2020-12-08 | 中国建设银行股份有限公司 | Electronic file verification method and device, electronic equipment and readable storage medium |
| CN111741026A (en)* | 2020-08-07 | 2020-10-02 | 百度在线网络技术(北京)有限公司 | Cross-chain transaction request processing method, device, equipment and storage medium |
| CN111769958A (en)* | 2020-09-02 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain processing method, device, equipment and storage medium |
| CN111769957A (en)* | 2020-09-02 | 2020-10-13 | 百度在线网络技术(北京)有限公司 | Block chain cross-chain query method, device, equipment and storage medium |
| CN112398918A (en)* | 2020-10-30 | 2021-02-23 | 迅鳐成都科技有限公司 | Data sharing method, device and system for across alliance chain and storage medium |
| CN112235423A (en)* | 2020-12-11 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Cross-chain transaction processing method and device, electronic equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113946857A (en)* | 2021-12-20 | 2022-01-18 | 太极计算机股份有限公司 | Distributed cross-link scheduling method and device based on data routing |
| CN114612103A (en)* | 2022-05-10 | 2022-06-10 | 中国信息通信研究院 | Method, apparatus, system, medium and electronic device for cross-blockchain transaction |
| CN114612103B (en)* | 2022-05-10 | 2022-08-02 | 中国信息通信研究院 | Method, device, system, medium and electronic equipment for cross-block chain transaction |
| CN115208817A (en)* | 2022-05-29 | 2022-10-18 | 北京理工大学 | Credible cross-link routing method based on cross-link gateway and Floyd algorithm |
| CN115208817B (en)* | 2022-05-29 | 2023-10-10 | 北京理工大学 | A trusted cross-link routing method based on cross-chain gateway and Floyd algorithm |
| CN115051815A (en)* | 2022-08-15 | 2022-09-13 | 江苏通付盾区块链科技有限公司 | Cross-chain data interaction method and device used between block chain heterogeneous chains |
| CN116170152A (en)* | 2023-01-30 | 2023-05-26 | 江苏大学 | Logistics data cross-chain interoperation system and method based on trusted relay |
| WO2024193155A1 (en)* | 2023-03-22 | 2024-09-26 | 浪潮电子信息产业股份有限公司 | Data access method, apparatus and system, and medium |
| CN117708787A (en)* | 2024-02-06 | 2024-03-15 | 人民法院信息技术服务中心 | Cross-chain data acquisition method and device based on distributed identity recognition |
| CN117708787B (en)* | 2024-02-06 | 2024-04-26 | 人民法院信息技术服务中心 | Cross-chain data acquisition method and device based on distributed identity recognition |
| CN119316448A (en)* | 2024-09-02 | 2025-01-14 | 中国人民解放军国防科技大学 | Cloud-to-cloud cross-domain collaboration method and system for controlled access to global medical data |
| Publication | Publication Date | Title |
|---|---|---|
| CN113807960A (en) | Cross-link processing method, device and system between heterogeneous chains and electronic equipment | |
| US20210243010A1 (en) | Workflow Management Via Distributed Ledgers and Smart Contracts | |
| US20190318129A1 (en) | Data enrichment environment using blockchain | |
| CN113010896B (en) | Method, apparatus, device, medium and program product for determining abnormal object | |
| US12105735B2 (en) | Asynchronous accounting method and apparatus for blockchain, medium and electronic device | |
| CN109873863B (en) | Asynchronous invocation method and device for service | |
| CN112764887A (en) | Construction method, processing method, device, equipment and storage medium of transaction request | |
| CN111488626A (en) | Blockchain-based data processing method, device, equipment and medium | |
| CN116308321A (en) | Account separating method and device based on income account separating system, electronic equipment and storage medium | |
| CN113935069B (en) | Data verification method, device and equipment based on block chain and storage medium | |
| CN113283850A (en) | Task auditing method, device and system | |
| CN113037489B (en) | Data processing method, apparatus, device and storage medium | |
| CN114612249A (en) | Method and device for processing service message | |
| CN113592646A (en) | Intelligent contract execution method, device and system | |
| CN113132400A (en) | Business processing method, device, computer system and storage medium | |
| CN114925406B (en) | Data verification method, device and computer program product | |
| CN114328731B (en) | Information processing method, device, electronic device and storage medium | |
| CN110730109A (en) | Method and apparatus for generating information | |
| US20240354878A1 (en) | Method and Apparatus for Data Verification | |
| CN114338051B (en) | Method, device, device and medium for obtaining random number in blockchain | |
| CN110659476A (en) | Method and apparatus for resetting password | |
| US20240160505A1 (en) | Method of processing agreement task | |
| US20220398310A1 (en) | Sftp batch processing and credentials api for offline fraud assessment | |
| CN114448703A (en) | Request processing method, device, electronic device and storage medium | |
| CN115131147A (en) | Transaction data processing method, apparatus, electronic device and readable medium |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication | Application publication date:20211217 | |
| RJ01 | Rejection of invention patent application after publication |