An information cross-chain transmission method and system, a computer device and a storage medium

By introducing proxy nodes into the blockchain network and implementing cross-network policy processing, the problem of cross-chain information transmission in network isolation scenarios is solved, achieving secure and efficient cross-chain interoperability and data transmission.

CN115766746BActive Publication Date: 2026-04-10HANGZHOU QULIAN TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-13
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

Existing cross-chain technologies under the relay chain model cannot meet the information transmission needs in network isolation scenarios, resulting in obstruction of cross-chain interoperability processing.

Method used

By introducing proxy nodes into the blockchain network, cross-chain business data can be obtained through the proxy nodes and the data format can be processed according to the cross-network strategy to achieve data transmission across physical isolation and cross-network domain communication can be carried out using cross-network devices.

Benefits of technology

It enables cross-chain interoperability in network-isolated scenarios, meets information transmission needs, ensures the security and efficiency of data transmission, and reduces the cost of modifying existing information transmission links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115766746B_ABST
    Figure CN115766746B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of blockchain technology, and provides an information cross-chain transmission method and system, a computer device and a storage medium, wherein the method comprises the following steps: an agent node acquires first business data from a first blockchain system, processes the first business data according to a data format corresponding to a cross-network strategy to obtain second business data, writes the second business data into a write file directory of the agent node, so that the second business data is transferred to a read file directory of another agent node corresponding to the agent node. The scheme can meet the information cross-chain transmission requirement in the network isolation scene.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The application belongs to the technical field of blockchains, and particularly relates to an information cross-chain transmission method and system, a computer device and a storage medium. BACKGROUND

[0002] The existing cross-chain technologies commonly include notary schemes, relay chain modes, hash locking, distributed private key control and the like.

[0003] In the relay chain mode, the existing cross-chain interoperation processing process is as follows:

[0004] The source chain system throws a cross-chain event, and a cross-chain gateway encapsulates the cross-chain event into a cross-chain transaction according to a cross-chain transmission protocol, sends the cross-chain transaction to a relay chain system, and then the relay chain system forwards the cross-chain transaction to a cross-chain gateway of a designated destination chain system, and finally the cross-chain gateway of the destination chain system forwards the cross-chain transaction to the destination chain system.

[0005] However, in real applications, there are differences in network types and network security levels between different application chain systems, which leads to network isolation between the source chain system or the destination chain system and the relay chain system. As shown in FIG. 1, the application chain system A and the gateway A are in the intranet of the network A, and the relay chain system is in the extranet. At this time, since the network A is physically isolated from the extranet, the gateway A cannot directly send the cross-chain transaction to the relay chain system. Similarly, when the network B is also physically isolated from the extranet, the relay chain system cannot directly send the cross-chain transaction to the gateway B, which hinders the cross-chain interoperation processing. Figure 1

[0006] The existing cross-chain technology in the relay chain mode cannot meet the information transmission needs in the network isolation scenario. SUMMARY

[0007] The embodiments of the application provide an information cross-chain transmission method, system, computer device and storage medium to solve the problem that the existing cross-chain technology in the relay chain mode cannot meet the information transmission needs in the network isolation scenario.

[0008] The first aspect of the embodiments of the application provides an information cross-chain transmission method applied to a blockchain network, the blockchain network having a proxy node, and the method comprises the following steps.

[0009] The proxy node obtains first business data originating from a first blockchain system, and a destination address of the first business data is a second blockchain system.

[0010] ​The proxy node processes the first service data according to a data format corresponding to a cross-network strategy to obtain second service data.

[0011] The proxy node writes the second service data into a write file directory of the proxy node, so that the second service data is relayed to a read file directory of another proxy node corresponding to the proxy node, the other proxy node and the proxy node belong to different blockchain networks.

[0012] A second aspect of an embodiment of the present application provides an information cross-chain transmission method, applied to a blockchain network, the blockchain network having a proxy node, and the method comprises:

[0013] The proxy node reads second service data from a read file directory of the proxy node, the second service data being obtained by processing first service data according to a data format corresponding to a cross-network strategy, the source address of the first service data being a first blockchain system and the destination address being a second blockchain system;

[0014] The proxy node converts the second service data based on the data format to obtain the first service data;

[0015] The proxy node sends the first service data to a blockchain system in the blockchain network.

[0016] A third aspect of an embodiment of the present application provides an information cross-chain transmission method, applied to a blockchain network, the blockchain network comprising a gateway, a proxy node and a blockchain system, and the method comprises:

[0017] The gateway performs cross-chain event listening on the blockchain system;

[0018] In a case where the cross-chain event is listened in the blockchain system, the gateway sends an information cross-chain transmission instruction carrying first service data corresponding to the cross-chain event to the proxy node;

[0019] The information cross-chain transmission instruction is used to instruct the proxy node to store second service data obtained by processing the first service data according to a data format corresponding to a cross-network strategy in a write directory file of the proxy node.

[0020] A fourth aspect of an embodiment of the present application provides an information cross-chain transmission system, comprising a first blockchain network, a relay chain network and a second blockchain network, the relay chain network communicating with the first blockchain network through a cross-network device;

[0021] The first blockchain network includes a first agent node configured to perform the information cross-chain transmission method of the first aspect; the relay chain network includes a second agent node configured to perform the information cross-chain transmission method of the second aspect; and / or the first blockchain network includes a gateway configured to perform the information cross-chain transmission method of the third aspect.

[0022] The fifth aspect of the embodiments of the present application provides an information cross-chain transmission system, including a first blockchain network, a relay chain network and a second blockchain network, the relay chain network being in communication with the second blockchain network through a cross-network device.

[0023] The relay chain network includes a third agent node configured to perform the information cross-chain transmission method of the first aspect; the second blockchain network includes a fourth agent node configured to perform the information cross-chain transmission method of the second aspect; and / or the relay chain network includes a gateway configured to perform the information cross-chain transmission method of the third aspect.

[0024] The sixth aspect of the embodiments of the present application provides a computer device, including a memory, a processor and a computer program stored in the memory and executable on the processor, the processor executing the computer program to implement the steps of the method of the first aspect.

[0025] The seventh aspect of the embodiments of the present application provides a computer readable storage medium, which stores a computer program, the computer program being executed by a processor to implement the steps of the method of the first aspect.

[0026] The eighth aspect of the present application provides a computer program product, when the computer program product is executed on a computer device, the computer device is caused to execute the steps of the method of the above aspects.

[0027] As can be seen from the above, in the embodiments of the present application, by setting an agent node in a blockchain network, when the agent node obtains cross-chain service data with a source address being a first blockchain system and a destination address being a second blockchain system, the agent node processes the cross-chain service data according to a data format corresponding to a cross-network strategy, obtains second service data and writes the second service data into a write file directory of the agent node, so that the second service data can be ferried to a read file directory of another agent node in a different blockchain network, and the process can realize cross-network domain communication transmission of data by means of the agent node according to the equipped cross-network strategy, realize cross-chain interoperation in a network isolation scenario, and meet the information transmission demand in the network isolation scenario. BRIEF DESCRIPTION OF DRAWINGS

[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0029] Figure 1 is an existing architecture diagram for forming network isolation between the source chain system, the destination chain system and the relay chain system in the relay chain mode;

[0030] Figure 2 is a structure diagram of a blockchain system provided by an embodiment of the present application;

[0031] Figure 3 is a network architecture diagram for introducing a proxy node in a blockchain network provided by an embodiment of the present application Figure 1 ;

[0032] Figure 4 is a network architecture diagram for introducing a proxy node in a blockchain network provided by an embodiment of the present application Figure 2 ;

[0033] Figure 5 is a network architecture diagram for introducing a proxy node in a blockchain network provided by an embodiment of the present application Figure 3 ;

[0034] Figure 6 is a network architecture diagram for introducing a proxy node in a blockchain network provided by an embodiment of the present application Figure 4 ;

[0035] Figure 7 is a flow of an information cross-chain transmission method provided by an embodiment of the present application Figure 1 ;

[0036] Figure 8 is a flow of an information cross-chain transmission method provided by an embodiment of the present application Figure 2 ;

[0037] Figure 9 is a flow of an information cross-chain transmission method provided by an embodiment of the present application Figure 3 ;

[0038] Figure 10 is a network architecture diagram for introducing a plurality of proxy nodes in a blockchain network provided by an embodiment of the present application Figure 1 ;

[0039] Figure 11 is a network architecture diagram for introducing a plurality of proxy nodes in a blockchain network provided by an embodiment of the present applicationFigure 2 ;

[0040] Figure 12 is a schematic diagram of a relationship between proxy nodes located on two sides of a cross-network device in an embodiment of the present application;

[0041] Figure 13 is a schematic diagram of a location mapping of proxy nodes on a hash ring in an embodiment of the present application;

[0042] Figure 14 is a structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular sequences of steps, techniques, etc., in order to provide a thorough understanding of the present embodiments. However, it will be apparent to one skilled in the art that the present embodiments can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods, devices, and circuits are omitted so as not to obscure the description of the present embodiments.

[0044] It is to be understood that the terminology "includes", "has", "holds", "contains" and / or "comprising", "comprised of", "comprising", as used in the specification and in the following claims, indicates the presence of the stated features, integers, steps, operations, elements, and / or components but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.

[0045] It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. As used in this specification and the appended claims, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.

[0046] It will be further understood that the terms "and / or", as used in this specification, mean any one of the items, bundles of items, including any combination of the items, or all the items, and includes the possibility of two or more items being present together, as well as the possibility of one or more items being present alone.

[0047] As used in this specification and any claims of this application, the terms "if" and "when" can be interpreted to mean "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be interpreted to mean "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]", depending on the context.

[0048] It should be understood that the size of the serial number of each step in the embodiment does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application.

[0049] Before the embodiments of the present application are explained, the related content of the blockchain is explained.

[0050] Figure 2 is a structural schematic diagram of a blockchain system provided by the embodiments of the present application.

[0051] Referring to Figure 2 , the blockchain system 200 refers to a system for sharing data between nodes, and the blockchain system 200 can include a plurality of nodes 201. Each node 201 can receive input information when normally working, and maintain shared data in the blockchain system 200 based on the received input information. In order to ensure information intercommunication in the blockchain system 200, there can be an information connection between each node 201 in the blockchain system 200, and the nodes 201 can transmit information through the information connection. For example, when any node 201 in the blockchain system 200 receives input information, other nodes 201 in the blockchain system 200 obtain the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all nodes 201 in the blockchain system 200 is consistent. That is, each node 201 in the blockchain system 200 stores a same blockchain.

[0052] The blockchain system 200 has distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm and other computer technologies. The blockchain system 200 is a distributed shared ledger and database, and has the characteristics of decentralization, non-tamperability, full traceability, collective maintenance, openness and transparency. These characteristics ensure the sharing openness, authenticity, integrity, security and reliability of the blockchain.

[0053] Among them, the blockchain system can be a source chain system, a destination chain system or a relay chain system.

[0054] Source chain system: the source chain system is a blockchain system that initiates cross-chain transactions.

[0055] Destination chain system: the destination chain system is a blockchain system that responds to the cross-chain transaction initiated by the source chain system.

[0056] Relay chain system: the destination chain system is a blockchain system located between the source chain system and the destination chain system, which can transmit cross-chain transaction data between the destination chain system and the source chain system, and record the cross-chain transaction between the destination chain system and the source chain system.

[0057] Gateway: The gateway is a relay between the source chain system and the destination chain system. The gateway can capture cross-chain events generated in the source chain system, submit cross-chain transaction data to the destination chain system; or, the gateway can receive feedback information from the destination chain system, and submit the feedback information to the source chain system.

[0058] Cross-chain transaction: A cross-chain transaction is a transaction between two application chain systems, which can include source chain system identifier, destination chain system identifier, cross-chain transaction serial number, call information, etc.

[0059] Further, different blockchain systems are in their respective blockchain networks. For example, the source chain system is in the source chain network, the destination chain system is in the destination chain network, and the relay chain system is in the relay chain network.

[0060] Among them, the blockchain network includes each node device in the blockchain system and other devices. The other devices are, for example, gateways and / or proxy nodes.

[0061] Due to the difference in network type and network security level, network physical isolation is formed between different blockchain networks, and cross-network data transmission cannot be realized.

[0062] In the embodiments of the present application, in order to meet the information cross-chain transmission requirements in the network isolation scenario, the method of adding proxy nodes is proposed, that is, adding proxy nodes between the source chain system and the relay chain system, and / or adding proxy nodes between the relay chain system and the destination chain system, to realize cross-physical isolation data cross-chain transmission between blockchain systems in different blockchain networks through proxy nodes.

[0063] Next, the network architecture of adding proxy nodes in the relay chain mode in the embodiments of the present application will be described in detail in combination with specific figures.

[0064] On the one hand, in combination with Figure 3 As shown in the figure, in the embodiments of the present application, an information cross-chain transmission system is provided, which includes a first blockchain network, a relay chain network and a second blockchain network, and the relay chain network communicates with the first blockchain network through a cross-network device.

[0065] Among them, the first blockchain network includes a first proxy node (refer to proxy 1 in Figure 3 The relay chain network includes a second proxy node (refer to proxy 2 in Figure 3 ).

[0066] Optionally, the first blockchain network includes a gateway (refer to gateway A in Figure 3 ).

[0067] Alternatively, the relay chain network includes a gateway (refer to gateway B inFigure 4 In this embodiment, the network side where the relay chain system is located can set a gateway, while in the first blockchain system which performs cross-physical isolation data transmission with it, the function part of the gateway A which originally needs to be set to interact with the first blockchain system can be separated into an application chain plug-in service, deployed in the proxy node in the first blockchain network, and the gateway C is set in the relay chain network where the relay chain system is located, that is, the cross-chain gateway is set on the relay chain system side, to realize cross-chain data transmission.

[0068] In this system, a proxy node (refer to proxy 1 in the figure) is added in the first blockchain network where the first blockchain system is located. A proxy node (refer to proxy 2 in the figure) is also added in the relay chain network where the relay chain system is located.

[0069] The proxy 2 and the proxy 1 perform information transmission according to the cross-network strategy equipped in the cross-network device, to realize cross-physical isolation data transmission.

[0070] On the other hand, in combination with Figure 5 As shown in the figure, in the embodiment of the present application, an information cross-chain transmission system is provided, which includes a first blockchain network, a relay chain network and a second blockchain network, the relay chain network communicates with the second blockchain network through a cross-network device.

[0071] The relay chain network includes a third proxy node (refer to proxy 3 in the figure), and the second blockchain network includes a fourth proxy node (refer to proxy 4 in the figure). Figure 5 Figure 5 The second blockchain network includes a gateway (refer to gateway B in the figure).

[0072] Alternatively, the relay chain network includes a gateway (refer to gateway C in the figure). Figure 5

[0073] Or, the relay chain network includes a gateway (refer to gateway C in the figure). Figure 6

[0074] In this embodiment, the network side where the relay chain system is located can set a gateway, while in the second blockchain system which performs cross-physical isolation data transmission with it, the function part of the gateway B which originally needs to be set to interact with the second blockchain system can be separated into an application chain plug-in service, deployed in the proxy node in the second blockchain network, and the gateway C is set in the relay chain network where the relay chain system is located, that is, the cross-chain gateway is set on the relay chain system side, to realize cross-chain data transmission.

[0075] In this system, a proxy node (refer to proxy 4 in the figure) is added in the second blockchain network where the second blockchain system is located. A proxy node (refer to proxy 3 in the figure) is also added in the relay chain network where the relay chain system is located.​​​

[0076] The information transmission between the agent 3 and the agent 4 is performed according to the cross-network strategy equipped in the cross-network device, so as to realize the cross-physical isolation transmission of data.

[0077] The physical isolation refers to a technical means for isolating different network domains by using a physical method to avoid the risk of intrusion or information leakage. The physical isolation includes isolation gatekeeper technology and physical isolation card.

[0078] The cross-network device is, for example, a gatekeeper or an optical gate. The cross-network strategy equipped in the cross-network device is, for example, a file ferry strategy or a TCP (Transmission Control Protocol) transmission strategy.

[0079] The file ferry strategy specifically adopts an innovative digital package concept, encapsulates a batch of business data to be processed and exchanged into a secure digital file package, and generates a package metadata containing package content information (invoice) and delivery information (express delivery), so as to ensure the integrity and correctness of a batch of business data and prevent subsequent tampering. The data format corresponding to the file ferry strategy is a file format.

[0080] Under the file ferry strategy, taking the cross-network transmission of data between the first blockchain network and the relay chain network as an example, the agent 1 in the first blockchain network converts the cross-chain business data thrown by the first blockchain system into a file format according to the data format corresponding to the cross-network strategy, and then the agent 1 sends the data in the file format to the agent 2 in the relay chain network through the cross-network device, so as to be able to output the data to the relay chain system in the relay chain network, and realize the cross-physical isolation transmission of information.

[0081] Further, after the agent 2 in the relay chain network obtains the cross-chain business data from the first blockchain system in the first blockchain network, the agent 2 performs format conversion, converts the cross-chain business data in the file format into the original data format, and then sends the cross-chain business data to the relay chain system for cross-chain business on-chain recording. Subsequently, the agent 3 in the relay chain network writes the cross-chain business data into a file, converts the data into a file format, and then sends the cross-chain business data in the file format to the agent 4 in the second blockchain network through the cross-network device according to the data format corresponding to the cross-network strategy. After the agent 4 performs format conversion on the cross-chain business data in the file format, the agent 4 sends the cross-chain business data to the second blockchain system in the second blockchain network, so as to realize the cross-physical isolation transmission of information.

[0082] In an optional embodiment, the agent 2 and the agent 3 in the relay chain network can be the same agent node, or can be two independent agent nodes.

[0083] In the embodiments of the present application, in order to meet the information transmission requirement in the network isolation scenario, on the basis of the network architecture, a cross-chain information transmission method executed by different devices is further provided.

[0084] In one specific embodiment, a cross-chain information transmission method is provided, which is applied to a blockchain network having a proxy node.

[0085] Specifically, as shown in Figure 7 , the cross-chain information transmission method comprises the following steps.

[0086] In step 701, the proxy node acquires first business data originating from a first blockchain system.

[0087] In the first blockchain system, the first business data has a destination address of a second blockchain system.

[0088] That is, the first blockchain system is a source chain system, and the second blockchain system is a destination chain system.

[0089] Specifically, in one embodiment, the blockchain network is a relay chain network, which is used to connect the second blockchain network and the first blockchain network in which the first blockchain system is located.

[0090] In this case, the process in which the proxy node acquires the first business data originating from the first blockchain system is specifically as follows.

[0091] The proxy node acquires the first business data originating from the first blockchain system from a relay chain system in the relay chain network.

[0092] That is, the proxy node is a proxy node in the relay chain network. In this embodiment, the proxy node specifically corresponds to Figure 5 Proxy 3 in

[0093] In combination with Figure 6 , when a gateway connected with the relay chain system (i.e., gateway C in Figure 5 ) is arranged in the relay chain network, the proxy node (Proxy 3 in Figure 5 ) can acquire the first business data originating from the first blockchain system from the gateway connected with the relay chain system in the relay chain network. In this process, after the relay chain system acquires the first business data originating from the first blockchain system, the relay chain system further sends the first business data to the proxy node via the gateway C, and then the proxy node performs cross-physical isolation transmission to the second blockchain system in the second blockchain network, thereby realizing cross-chain transmission of data.

[0094] In another embodiment, the blockchain network is a first blockchain network in which the first blockchain system is located. That is, the proxy node is a proxy node set in the first blockchain network.

[0095] In one case, specifically corresponding to Figure 3 Proxy 1 in FIG. 1. In this case, the process in which the proxy node acquires the first business data from the first blockchain system is specifically:

[0096] The proxy node acquires the first business data from the first blockchain system from a gateway in the first blockchain network.

[0097] The gateway in the first blockchain network is communicatively connected to the first blockchain system in the first blockchain network. The gateway can listen to cross-chain events thrown in the first blockchain system, generate cross-chain business data based on the listened cross-chain events, and send the cross-chain business data to the proxy node in the first blockchain network.

[0098] In another case, specifically corresponding to Figure 4 Proxy 1 in FIG. 1. In this case, the proxy node can directly acquire the first business data from the first blockchain system by calling the application chain plug-in service of the proxy node to listen to the first blockchain system.

[0099] In step 702, the proxy node processes the first business data according to a data format corresponding to a cross-network strategy to obtain second business data.

[0100] The cross-network strategy is, for example, a file ferry strategy or a TCP (Transmission Control Protocol) transmission strategy. The data format corresponding to the file ferry strategy is a file format. The data format corresponding to the TCP transmission strategy is a data format corresponding to TCP.

[0101] The business data is, for example, transaction data, voucher data, etc.

[0102] In step 703, the proxy node writes the second business data into a write file directory of the proxy node, so that the second business data is ferried to a read file directory of another proxy node corresponding to the proxy node.

[0103] The other proxy node and the proxy node belong to different blockchain networks.

[0104] The read file directory and the write file directory can be set in each proxy node. The write file directory is used for the proxy node to write business data processed according to a data format corresponding to a cross-network strategy. The read file directory is used for writing business data transmitted from an external device.

[0105] Optionally, in the case that the proxy node writes the second service data into the write file directory of the proxy node, the method further comprises:

[0106] The proxy node sends a first notification to the cross-network device.

[0107] The first notification is used to notify the cross-network device to relay the second service data into a read file directory of another proxy node corresponding to the proxy node, and the cross-network device is located between the blockchain network and the blockchain network where the another proxy node is located.

[0108] The cross-network device is connected to two proxy nodes respectively belonging to different blockchain networks.

[0109] The cross-network device writes the service data written in the write file directory of one proxy node into the read file directory of another proxy node corresponding to the one proxy node.

[0110] The cross-network device is, for example, a network gate or an optical gate.

[0111] In an optional embodiment, when the proxy node is a proxy node in the first blockchain network, the another proxy node is a proxy node in the relay chain network; when the proxy node is a proxy node in the relay chain network, the another proxy node is a proxy node in the second blockchain network.

[0112] The above process sets a proxy node in a blockchain network, and when the proxy node obtains cross-chain service data with a source address of a first blockchain system and a destination address of a second blockchain system, the proxy node processes the cross-chain service data according to a data format corresponding to a cross-network strategy to obtain second service data and write the second service data into a write file directory of the proxy node, so that the second service data can be relayed to a read file directory of another proxy node in a different blockchain network. By means of the proxy node implementing cross-network domain communication transmission according to the equipped cross-network strategy, cross-chain interoperation in a network isolation scenario is realized, and the information transmission demand in the network isolation scenario is met.

[0113] In another specific embodiment, an information cross-chain transmission method is provided, which is applied to a blockchain network having a proxy node.

[0114] In combination with Figure 8 , the information cross-chain transmission method comprises:

[0115] Step 801: The proxy node reads second service data from a read file directory of the proxy node.

[0116] The second service data is obtained by processing the first service data according to a data format corresponding to a cross-network strategy, wherein the source address of the first service data is the first blockchain system, and the destination address is the second blockchain system.

[0117] That is, the first blockchain system is a source chain system, and the second blockchain system is a destination chain system.

[0118] The cross-network strategy is, for example, a file ferry strategy or a TCP (Transmission Control Protocol) transmission strategy. The data format corresponding to the file ferry strategy is a file format. The data format corresponding to the TCP transmission strategy is a data format corresponding to TCP.

[0119] The service data is, for example, transaction data, certificate data, etc.

[0120] At step 802, the proxy node converts the second service data to obtain the first service data based on the data format.

[0121] In this process, the proxy node performs format conversion on the second service data read from the file directory to obtain the first service data, and then sends the first service data to the blockchain system in the blockchain network where the proxy node is located.

[0122] At step 803, the proxy node sends the first service data to the blockchain system in the blockchain network.

[0123] Specifically, in one embodiment, the blockchain network is a relay chain network, and the blockchain system is a relay chain system in the relay chain network.

[0124] That is, the proxy node is a proxy node in the relay chain network.

[0125] Specifically, the proxy node specifically corresponds to proxy 2 in Figure 3 In this case, the proxy node directly sends the first service data to the relay chain system in the relay chain network. Alternatively, the proxy node specifically corresponds to proxy 2 in Figure 4 In this case, the proxy node sends the first service data to the relay chain system in the relay chain network through the gateway (i.e., gateway C) set in the relay chain network.

[0126] Alternatively, in another embodiment, the blockchain network is a second blockchain network where the second blockchain system is located.

[0127] In one case, the proxy node is a proxy node in the second blockchain network, and specifically corresponds to proxy 2 in Figure 5In this case, the process of the proxy node sending the first business data to the blockchain system in the blockchain network is as follows:

[0128] The proxy node sends the first business data to the gateway connected to the second blockchain system in the second blockchain network, and then the first business data is sent to the second blockchain system via the gateway.

[0129] Alternatively, in another scenario, the proxy node is a proxy node in the second blockchain network, specifically corresponding to... Figure 6 In this case, the process of the proxy node sending the first business data to the blockchain system in the blockchain network is as follows:

[0130] The proxy node invokes its own application chain plugin service to send the first business data directly to the second blockchain system in the second blockchain network.

[0131] The above implementation process involves setting up proxy nodes in the blockchain network. The proxy nodes read the second business data from the read file directory, which is processed by the first business data according to the data format corresponding to the cross-network policy. The second business data is then converted back into the first business data based on the data format, and the first business data is sent to the blockchain system in the blockchain network. This process enables cross-network domain communication transmission of data by proxy nodes according to the equipped cross-network policy, realizing cross-chain interoperability in network isolation scenarios and meeting the information transmission needs in network isolation scenarios.

[0132] In another specific implementation, a cross-chain information transmission method is proposed and applied to a blockchain network, which includes a gateway, proxy nodes, and a blockchain system.

[0133] The blockchain network can be a primary blockchain network or a relay chain network.

[0134] Specifically, in one particular embodiment, such as Figure 3 As shown, the blockchain network is the first blockchain network, the gateway is gateway A in the figure, and the proxy node is the first proxy node in the first blockchain network (refer to proxy 1 in the figure).

[0135] Alternatively, in another specific embodiment, combined with Figure 6 As shown, this blockchain network is a relay chain network, with gateway C in the diagram and the proxy node being the third proxy node in the relay chain network (refer to proxy 3 in the diagram). The cross-chain gateway's service functions are deployed within the relay chain network where the relay chain system resides; that is, a gateway is set up on one side of the relay chain system.

[0136] Correspondingly, combinedFigure 9 The information cross-chain transmission method includes:

[0137] In step 901, the gateway performs cross-chain event listening on the blockchain system.

[0138] In step 902, when a cross-chain event is detected in the blockchain system, the gateway sends an information cross-chain transmission instruction carrying first service data corresponding to the cross-chain event to the proxy node.

[0139] The information cross-chain transmission instruction instructs the proxy node to store second service data obtained by processing the first service data according to a data format corresponding to a cross-network strategy in a write directory file of the proxy node.

[0140] The cross-network strategy is, for example, a file ferry strategy or a TCP (Transmission Control Protocol) transmission strategy. The data format corresponding to the file ferry strategy is a file format. The data format corresponding to the TCP transmission strategy is a TCP corresponding data format.

[0141] The service data is, for example, transaction data, certificate data, etc.

[0142] Next, the specific application process of the information cross-chain transmission method in each of the above embodiments will be described in detail. Figure 2 and Figure 3

[0143] The first blockchain system is specifically a source chain system, and the second blockchain system is specifically a destination chain system. The first blockchain system transmits information to the second blockchain system through a relay chain system. To achieve cross-chain transmission of information, a proxy node is configured in the first blockchain network of the first blockchain system. The address of the proxy node is configured in the gateway A connected to the first blockchain system, specifically Figure 3 The addresses of the proxy 1 and the proxy 8 are configured, and the proxy 1 and the proxy 8 are respectively connected to the proxy 2 and the proxy 7 in the relay chain network through point-to-point connection.

[0144] The first blockchain system throws a cross-chain event. After the gateway A captures the cross-chain event, it is encapsulated as a cross-chain transaction according to the cross-chain transmission protocol, and the cross-chain transaction Tx1 is sent to the proxy 1. The proxy 1 encapsulates the received Tx1 as a file and stores it in the specified write file directory. The cross-network device configures a file ferry strategy, and according to the file ferry strategy, the data in the write file directory of the proxy 1 is transmitted to the proxy 2 across the physical isolation. After the proxy 2 obtains the file format data transmitted by the cross-network device, it restores the data to the transaction Tx format data, obtains Tx1, and transmits it to the relay chain system through the point-to-point network. ​

[0145] Correspondingly, the information transmission mode between the relay chain system in the relay chain network and the second blockchain system in the second blockchain network is roughly the same as the above steps, as shown in the following figure: Figure 5 As shown in the figure, the relay chain system records the cross-chain transaction on the chain, initiates a cross-chain event corresponding to the cross-chain transaction, and transmits the cross-chain transaction Tx3 corresponding to the cross-chain event to agent 3 in a point-to-point manner. Agent 3 encapsulates Tx3 into a file and stores it in a specified write file directory. The data in the write file directory of agent 3 is transmitted to agent 4 by the cross-network device, and agent 4 restores the data in the file format transmitted by the cross-network device to the transaction Tx format, obtains Tx3, and sends it to gateway B. Finally, gateway B transmits the data to the second blockchain system, and completes the cross-chain transmission of the data to the target chain system.

[0146] After the second blockchain system performs transaction on-chain, it needs to feed back the on-chain receipt. When the second blockchain system feeds back the on-chain receipt to the first blockchain system, the second blockchain system will become the source chain system of data cross-chain transmission, and the first blockchain system will become the target chain system of data cross-chain transmission. At this time, the second blockchain system throws a cross-chain receipt event, which is captured by gateway B and encapsulated into Tx4. Through the above-mentioned data processing operation of agent 6 and agent 5, it is forwarded to the relay chain system, and the relay chain system further transmits the information to the first blockchain system through the above-mentioned data processing operation of agent 7 and agent 8. Finally, the entire cross-chain life cycle ends.

[0147] In the above process, by setting proxy nodes in two networks with network isolation, the blockchain that needs to perform data cross-chain transmission can realize cross-network transmission of information between the relay chain according to the cross-network strategy equipped by the proxy node, realizing cross-chain interoperation in the network non-interoperable scene.

[0148] In the above process, the proxy node only converts the message according to the format corresponding to the cross-network strategy to ensure the cross-network transmission of information, and does not analyze the cross-chain transmission information itself, which can ensure the data security of the whole link in the data transmission process, and has less intrusion to the relay chain system, the source chain system and the target chain system, and the original information transmission link is small in reconstruction and low in cost. Flexible configuration.

[0149] Among them, when the proxy node and the gateway, the relay chain system transmit information, they can adopt a secure transmission layer protocol to encrypt the information transmission, ensuring data security and tamper resistance.

[0150] Therefore, the information cross-chain transmission method provided in the embodiments of the present application can ensure the security and efficiency of cross-chain data transmission link, and enable the application chain system and the relay chain system to perform cross-chain transaction transmission in a network isolation environment through cross-network domain communication of the proxy nodes.

[0151] Further, in order to ensure the high availability of the proxy nodes and avoid the problem that cross-chain operations cannot be normally performed due to the downtime of the proxy nodes.

[0152] In the embodiments of the present application, the network load balancing function of the proxy nodes is also provided.

[0153] Specifically, a plurality of proxy nodes can be set in different blockchain systems. Figure 10 , Figure 11 In one embodiment, a group of proxy nodes are configured in the first blockchain network or the relay chain network. Figure 10 Specifically, a group of proxy nodes are configured in the first blockchain network, and the group of proxy nodes includes n proxy nodes (see the proxy A in Figure 10 , which includes proxy a1 to proxy an; and Figure 11 the proxy F in , which includes proxy f1 to proxy fn).

[0154] Correspondingly, a group of proxy nodes can also be configured in the relay chain network, and the group of proxy nodes includes n proxy nodes (see the proxy B in Figure 10 , which includes proxy b1 to proxy bn; and Figure 11 the proxy E in , which includes proxy e1 to proxy en). Wherein, point-to-point connections are established between each proxy node in the proxy A and the proxy B, and between each proxy node in the proxy E and the proxy F, that is, a one-to-one corresponding connection relationship is established between each proxy node in one group of proxy nodes and each proxy node in another group of proxy nodes. Wherein, the two groups of proxy nodes are in different blockchain networks.

[0155] Figure 12 As shown in , proxy a1 corresponds to proxy b1, proxy a2 corresponds to proxy b2, proxy a3 corresponds to proxy b3, and information ferrying operations are performed according to the specified file ferrying strategy.

[0156] When cross-network file transmission is performed, the cross-network device can ferry the files in the write file directory of the proxy a1, the proxy a2 and the proxy a3 to the read file directory of the corresponding proxy b1, the proxy b2 and the proxy b3, to realize ordered and reliable delivery of information in the cross-chain transmission process.

[0157] In the above embodiments, the proxy nodes configured in the same blockchain network can be multiple, forming a proxy node set.

[0158] Correspondingly, in an optional implementation, the gateway sends, to the proxy nodes, an information cross-chain transmission instruction carrying first service data corresponding to the cross-chain event, specifically including:

[0159] The gateway determines a first mapping value of second service data corresponding to the cross-chain event based on the set mapping relationship;

[0160] The gateway selects a second mapping value with the smallest difference from the first mapping value from a mapping value set, wherein the mapping value set includes multiple mapping values generated by mapping the node identifier of each proxy node according to the set mapping relationship;

[0161] The gateway determines a target proxy node based on the second mapping value, the target proxy node being a proxy node with a node identifier corresponding to the second mapping value in the multiple proxy nodes;

[0162] The gateway outputs the information cross-chain transmission instruction carrying the second service data to the target proxy node.

[0163] In a specific implementation, the service data corresponding to the cross-chain event can be directly mapped into a corresponding binary value according to the mapping relationship between the service data and the binary value.

[0164] Specifically, each proxy node can be added to a hash ring according to a consistent hash algorithm. One hash ring corresponds to a group of proxy nodes. The construction method of the hash ring is as follows:

[0165] The node identifier of each proxy node is mapped into a 32-bit binary number through a specific hash algorithm, as shown in Figure 13 Suppose a ring is composed of 0 to 2 32 -1, the node identifier of each proxy node is converted into a binary number and mapped to a position of a number on the hash ring.

[0166] When it is necessary to transmit service data through a proxy node, the service data is mapped to a certain position on the hash ring through a specific hash algorithm, and the information is distributed to the nearest node in the clockwise or counterclockwise direction along the position (which can be considered as the difference between the mapping value of the node on the hash ring and the mapping value of the to-be-transmitted information on the ring being the smallest). As shown in Figure 13 The information Tx will be distributed to the proxy a3 for forwarding, realizing reasonable utilization of proxy node resources and ensuring load balancing of the proxy nodes.

[0167] Further, after all the agent nodes are added to the hash ring, some nodes can have less load and some nodes can have more load, which can also cause the load imbalance.

[0168] To solve the problem, in the embodiments of the present application, a virtual agent node is constructed to balance the load pressure of the agent nodes according to the load balancing principle.

[0169] That is, the set of mapping values further includes a plurality of mapping values generated by mapping the node identifier of at least one virtual agent node according to the set mapping relationship, and the virtual agent node has a one-to-one correspondence with a set agent node in the plurality of agent nodes.

[0170] Correspondingly, the gateway determines the target agent node based on the second mapping value, including:

[0171] In the case that the agent node corresponding to the second mapping value is a first virtual agent node, the gateway determines a node corresponding to the first virtual agent node from the plurality of agent nodes as the target agent node based on the one-to-one correspondence between the virtual agent node and the set agent node.

[0172] The virtual agent node is a node obtained by virtualizing the node identifier based on the agent node having a one-to-one correspondence with the virtual agent node.

[0173] Each virtual agent node has its own node identifier, and the agent node having a one-to-one correspondence with the virtual agent node also has its own node identifier, and the node identifiers of the two are different, so different mapping values will be corresponded. In this way, the load balancing of the agent nodes is balanced by constructing the virtual agent node.

[0174] In combination with Figure 13 shown, a virtual agent node (corresponding to Figure 13 in the dashed semicircular diagram) is added to the hash ring, and the mapping values corresponding to the node identifiers of the two virtual agent nodes are added to the hash ring, which are agent a1-1 and agent a2-1, wherein agent a1-1 is a virtual agent node of agent a1, and agent a2-1 is a virtual agent node of agent a2.

[0175] If there is no agent a1-1 and agent a2-1, most of the numerical positions of the information will be mapped to agent a3. Therefore, agent a1-1 and agent a2-1 are constructed to join the hash ring, and the correspondence between the physical agent node and the virtual agent node is established, for example, when the mapping value of the information is matched to agent a1-1 on the hash ring, based on the mapping value of the information, the actual agent node corresponding to the information is found to be agent a1 based on the correspondence between the virtual agent node and the physical agent node, and at this time, the information is assigned to agent a1 for forwarding.

[0176] The above implementation method can avoid the problem of cross-chain operations not being able to proceed normally due to proxy node downtime, achieve proxy node load balancing, improve system performance in high-concurrency environments, and reduce the pressure on proxy nodes.

[0177] Furthermore, this application provides an information cross-chain transmission system, including: a first blockchain network, a relay chain network, and a second blockchain network, wherein the relay chain network communicates with the first blockchain network through a cross-network device.

[0178] The first blockchain network includes a first proxy node, which is used to execute the cross-chain information transmission method as described in the above embodiments; and / or,

[0179] The relay chain network includes a second proxy node, which is used to execute the cross-chain information transmission method as described in the above embodiments; and / or,

[0180] The first blockchain network includes a gateway, which is used to perform the cross-chain information transmission method as described in the above embodiments.

[0181] Furthermore, this application embodiment also provides an information cross-chain transmission system, including: a first blockchain network, a relay chain network, and a second blockchain network, wherein the relay chain network communicates with the second blockchain network through a cross-network device.

[0182] The relay chain network includes a third proxy node, which is used to execute the cross-chain information transmission method as described in the above embodiments; and / or,

[0183] The second blockchain network includes a fourth proxy node, which is used to execute the cross-chain information transmission method as described in the above embodiments; and / or,

[0184] The relay chain network includes a gateway, which is used to perform the cross-chain information transmission method as described in the above embodiments.

[0185] The cross-chain information transmission system provided in this application can implement all the processes of the above-described cross-chain information transmission method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0186] Figure 14 This is a structural diagram of a computer device provided in an embodiment of this application. As shown in the figure, the computer device 14 of this embodiment includes: at least one processor 140 ( Figure 14The computer device 14 can include, but not limited to, a processor 140, a memory 141, and a computer program 142 stored in the memory 141 and executable on the at least one processor 140, wherein the processor 140 implements the steps of any of the above method embodiments when executing the computer program 142.

[0187] The computer device 14 can include, but not limited to, a processor 140, a memory 141, and a computer program 142 stored in the memory 141 and executable on the at least one processor 140, wherein the processor 140 implements the steps of any of the above method embodiments when executing the computer program 142. Figure 14 The computer device 14 is merely an example and does not constitute a limitation on the computer device 14, and can include more or less components than shown, or combine some components, or include different components, for example, the computer device can also include an input / output device, a network access device, a bus, etc.

[0188] The processor 140 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.

[0189] The memory 141 can be an internal storage unit of the computer device 14, such as a hard disk or a memory of the computer device 14. The memory 141 can also be an external storage device of the computer device 14, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 141 can include both an internal storage unit and an external storage device of the computer device 14. The memory 141 is used to store the computer program and other programs and data required by the computer device. The memory 141 can also be used to temporarily store data that has been output or will be output.

[0190] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the above-mentioned division of each functional unit and module is exemplified, and in actual application, the above-mentioned functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be realized in the form of hardware or software functional unit. In addition, the specific name of each functional unit and module is only for easy distinction, and does not limit the protection scope of the present application. The specific working process of the unit and module in the above system can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

[0191] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the related description of other embodiments.

[0192] The integrated module / unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer-readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program to instruct related hardware, and the computer program can be stored in a computer-readable storage medium. When the processor executes the computer program, the steps of each method embodiment described above can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable file or some intermediate form. The computer-readable medium can include any entity or device, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.

[0193] The above-mentioned embodiment methods can also be implemented by a computer program product, which, when running on a computer device, causes the computer device to execute the steps of the above-mentioned embodiment methods.

[0194] The above-described embodiments are only used to illustrate the technical solutions of the present application, but not limit the present application; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: it can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacement to part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.

Claims

1. A method for cross-chain information transmission, characterized in that, The method is applied to a blockchain network, which includes proxy nodes. Each proxy node has a read file directory and a write file directory. The write file directory is used by the proxy node to write business data it has processed according to a data format corresponding to a cross-network policy. The read file directory is used to write business data transmitted from external devices. The method includes: The proxy node acquires first business data from a first blockchain system, the destination address of which is a second blockchain system. The first blockchain system is the source chain system, and the second blockchain system is the destination chain system. The source chain system initiates cross-chain transactions, and the destination chain system responds to the cross-chain transactions initiated by the source chain system. The first blockchain network, where the first blockchain system resides, communicates with the relay chain network via a cross-network device, and the relay chain network communicates with the second blockchain network, where the second blockchain system resides, via a cross-network device. Each of the first blockchain network, the relay chain network, and the second blockchain network is configured with a proxy node set containing multiple proxy nodes. Each proxy node in the proxy node set of the first blockchain network establishes a one-to-one connection with each proxy node in the proxy node set of the relay chain network. Each proxy node in the proxy node set of the relay chain network establishes a one-to-one connection with each proxy node in the proxy node set of the second blockchain network. The proxy node processes the first service data according to the data format corresponding to the cross-network policy to obtain the second service data; The proxy node writes the second business data into the write file directory of the proxy node, so that the second business data is transferred to the read file directory of another proxy node corresponding to the proxy node, and the other proxy node and the proxy node belong to different blockchain networks.

2. The method according to claim 1, characterized in that, The blockchain network is a relay chain network, which connects the second blockchain network and the first blockchain network where the first blockchain system resides. The proxy node obtains first business data from the first blockchain system, including: The proxy node obtains the first business data from the first blockchain system from the relay chain system in the relay chain network.

3. The method according to claim 1, characterized in that, The blockchain network is the first blockchain network where the first blockchain system is located. The proxy node obtains first business data from the first blockchain system, including: The proxy node obtains the first business data from the first blockchain system from the gateway in the first blockchain network.

4. The method according to claim 1, characterized in that, If the proxy node writes the second business data to the proxy node's write file directory, the method further includes: The proxy node sends a first notification to the cross-network device, which is used to notify the cross-network device to transfer the second service data to the read file directory of another proxy node corresponding to the proxy node. The cross-network device is located between the blockchain network and the blockchain network where the other proxy node is located.

5. A method for cross-chain information transmission, characterized in that, The method is applied to a blockchain network, which includes proxy nodes. Each proxy node has a read file directory and a write file directory. The write file directory is used by the proxy node to write business data it has processed according to a data format corresponding to a cross-network policy. The read file directory is used to write business data transmitted from external devices. The method includes: The proxy node reads second business data from its read file directory. This second business data is obtained by processing the first business data according to a data format corresponding to the cross-network strategy. The source address of the first business data is the first blockchain system, and the destination address is the second blockchain system. The first blockchain system is the source chain system, and the second blockchain system is the destination chain system. The source chain system is the blockchain system that initiates the cross-chain transaction, and the destination chain system is the blockchain system that responds to the cross-chain transaction initiated by the source chain system. The first blockchain network, where the first blockchain system resides, communicates with the relay chain network through a cross-network device. The relay chain network communicates with the second blockchain network, where the second blockchain system resides, through a cross-network device. Each of the first blockchain network, the relay chain network, and the second blockchain network is configured with a proxy node set containing multiple proxy nodes. Each proxy node in the proxy node set of the first blockchain network establishes a one-to-one connection with each proxy node in the proxy node set of the relay chain network. Similarly, each proxy node in the proxy node set of the relay chain network establishes a one-to-one connection with each proxy node in the proxy node set of the second blockchain network. The proxy node converts the second business data into the first business data based on the data format; The proxy node sends the first business data to the blockchain system in the blockchain network.

6. The method according to claim 5, characterized in that, The blockchain network is a relay chain network, and the blockchain system is a relay chain system within the relay chain network.

7. The method according to claim 5, characterized in that, The blockchain network is the second blockchain network where the second blockchain system is located; The proxy node sends the first business data to the blockchain system in the blockchain network, including: The proxy node sends the first business data to the gateway connected to the second blockchain system in the second blockchain network, and then sends the first business data to the second blockchain system via the gateway.

8. A method for cross-chain information transmission, characterized in that, Applied to a blockchain network, the blockchain network includes a gateway, proxy nodes, and a blockchain system. Each proxy node is configured with a read file directory and a write file directory. The write file directory is used by the proxy node to write business data it has processed according to a data format corresponding to the cross-network policy. The read file directory is used to write business data transmitted from external devices. The method includes: The gateway monitors cross-chain events in the blockchain system. Upon detecting a cross-chain event in the blockchain system, the gateway sends a cross-chain transmission instruction carrying first business data corresponding to the cross-chain event to the proxy nodes; there are multiple proxy nodes; the first business data originates from the first blockchain system, and the destination address of the first business data is the second blockchain system; the first blockchain network where the first blockchain system resides communicates with the relay chain network through a cross-network device, and the relay chain network communicates with the second blockchain network where the second blockchain system resides through a cross-network device; each of the first blockchain network, the relay chain network, and the second blockchain network is configured with a proxy node set containing multiple proxy nodes; each proxy node in the proxy node set of the first blockchain network establishes a one-to-one connection relationship with each proxy node in the proxy node set of the relay chain network; each proxy node in the proxy node set of the relay chain network establishes a one-to-one connection relationship with each proxy node in the proxy node set of the second blockchain network. The cross-chain information transmission instruction is used to instruct the proxy node to process the first business data according to the data format corresponding to the cross-network policy to obtain the second business data, and then store it in the write file directory of the proxy node.

9. The method according to claim 8, characterized in that, The proxy nodes are multiple, and the gateway sends a cross-chain transmission instruction to the proxy nodes, carrying first business data corresponding to the cross-chain event, including: The gateway determines the first mapping value of the second business data corresponding to the cross-chain event based on the set mapping relationship; The gateway selects a second mapping value from the mapping value set that has the smallest difference from the first mapping value. The mapping value set includes multiple mapping values ​​generated by mapping the node identifier of each proxy node according to the set mapping relationship. The gateway determines the target proxy node based on the second mapping value, and the target proxy node is the proxy node whose node identifier corresponds to the second mapping value among the plurality of proxy nodes; The gateway outputs the cross-chain transmission instruction carrying the second business data to the target proxy node.

10. The method according to claim 9, characterized in that, The mapping value set also includes multiple mapping values ​​generated by mapping the node identifier of at least one virtual proxy node according to the set mapping relationship, wherein the virtual proxy node has a one-to-one correspondence with the set proxy node among the multiple proxy nodes; The gateway determines the target proxy node based on the second mapping value, including: When the proxy node corresponding to the second mapping value is the first virtual proxy node, the gateway determines the node corresponding to the first virtual proxy node from among the multiple proxy nodes as the target proxy node based on the one-to-one correspondence between the virtual proxy node and the set proxy node.

11. The method according to any one of claims 1 to 10, characterized in that, The cross-network strategy is a file transfer strategy, and the data format corresponding to the cross-network strategy is a file format.

12. An information cross-chain transmission system, characterized in that, include: A first blockchain network, a relay chain network, and a second blockchain network, wherein the relay chain network communicates with the first blockchain network through a cross-network device; Wherein, the first blockchain network includes a first proxy node, the first proxy node being used to execute the cross-chain information transmission method as described in any one of claims 1, 3, and 4; and / or, The relay chain network includes a second proxy node, which is used to execute the cross-chain information transmission method as described in claim 5 or 6; and / or, The first blockchain network includes a gateway for performing the cross-chain information transmission method as described in any one of claims 8 to 10.

13. An information cross-chain transmission system, characterized in that, include: A first blockchain network, a relay chain network, and a second blockchain network, wherein the relay chain network communicates with the second blockchain network through a cross-network device; The relay chain network includes a third proxy node, which is used to execute the cross-chain information transmission method as described in any one of claims 1, 2, and 4; and / or, The second blockchain network includes a fourth proxy node, which is used to execute the cross-chain information transmission method as described in claim 5 or 7; and / or, The relay chain network includes a gateway for performing the cross-chain information transmission method as described in any one of claims 8 to 10.

14. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 11.

15. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 11.

Citation Information

Patent Citations

  • Data processing system and method

    CN112395070A

  • Cross-network security data sharing method and system based on block chain

    CN112738239A

  • Intranet and extranet cross-chain communication method and device, computer equipment and storage medium

    CN112822180A

  • Cross-chain transaction verification method, terminal equipment and readable storage medium

    CN112822181A

  • Data transmission method, system and device based on gatekeeper and storage medium

    CN115118478A