Block chain system communication method and device, network equipment, medium and program product

By building a virtual extended LAN in the blockchain system, multicast transmission of block information is achieved, and the problems of delay and bandwidth occupation when the accounting node receives data under the P2P communication method are solved, and the efficiency of blockchain communication is improved.

CN119299459AActive Publication Date: 2025-01-10CHINA MOBILE COMM LTD RES INST +1
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202411341663.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2025-01-10
Estimated Expiration
2044-09-25

AI Technical Summary

Technical Problem

In the blockchain system, when using P2P communication method, the accounting node receives block/ledger data sent by multiple nodes at the same time, resulting in large communication bandwidth occupancy and increased overhead of the receiving node, and a large delay.

Method used

By building a virtual extended local area network (VxLAN), a multicast channel is established in the local area network to realize multicast transmission of block information from the communication node to the accounting node, so that each accounting node only receives the blocks sent from the communication node. information.

Benefits of technology

It effectively solves the problems of delay and bandwidth usage when receiving data in P2P communication mode, improves blockchain communication efficiency and reduces the reception overhead of accounting nodes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119299459A_ABST
    Figure CN119299459A_ABST
Patent Text Reader

Abstract

The invention discloses a block chain system communication method and device, network equipment, a medium and a program product. The method comprises the following steps: receiving at least one piece of block information generated by a plurality of transactions and sent by a sorting node; and sending the at least one piece of block information to the at least one bookkeeping node through a pre-constructed virtual extended local area network. According to the method provided by the embodiment of the invention, multicast transmission of the block information from the first communication node to the bookkeeping node can be realized by establishing the multicast channels among the different nodes in the established virtual extended local area network, so that each bookkeeping node only receives the block information sent from the communication node; meanwhile, the invention further provides a block information encryption and block information loss compensation mechanism in the multicast propagation process. According to the scheme provided by the embodiment of the invention, the problem that the communication bandwidth is occupied and the overhead of the receiving node is consumed due to the fact that one accounting node simultaneously receives the block / account book data sent by a plurality of nodes by adopting a P2P communication mode in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain technology, and specifically to a blockchain system communication method, device, network equipment, medium and program product. Background Art

[0002] In the blockchain system, the data stored in each node is used to record accounts separately to form a distributed ledger. The chain structure of the ledger data combined with the cryptographic algorithm ensures the temporal relationship of the data and the self-consistency of the information. The code (smart contract) signed and approved by relevant nodes runs in a secure environment to ensure the neutrality and credibility of the information processing process.

[0003] For alliance chain scenarios, the block / ledger data distribution process usually carries out book distribution in a designated logical "channel", and only the authorized designated accounting nodes send block / ledger data to the accounting nodes in a peer-to-peer (P2P) manner. The P2P transmission method will cause a bookkeeping node to receive block / ledger data sent by multiple nodes at the same time, which not only occupies the communication bandwidth, but also consumes the receiving node's receiving, parsing and judgment overhead, resulting in a large delay in the node receiving data. Summary of the invention

[0004] At least one embodiment of the present application provides a blockchain system communication method, apparatus, network device, medium and program product, which are used to solve the problem in the prior art that the use of P2P communication mode will cause one accounting node to receive block / ledger data sent by multiple nodes at the same time, which not only occupies the communication bandwidth, but also consumes the overhead of the receiving node, resulting in a large delay in the node receiving data.

[0005] In order to solve the above technical problems, this application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a blockchain system communication method, which is applied to a first communication node, including:

[0007] Receiving at least one block information generated by multiple transactions sent by the sorting node;

[0008] Sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network;

[0009] The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

[0010] Furthermore, the method further comprises:

[0011] Obtaining encryption information corresponding to the virtual extended local area network;

[0012] encrypting the block information according to the encryption information;

[0013] The at least one block information is sent to at least one accounting node through a pre-built virtual extended local area network, including:

[0014] The encrypted at least one block information is sent to at least one accounting node through the virtual extended local area network.

[0015] Furthermore, the method further comprises:

[0016] Obtaining identification information corresponding to the virtual extended local area network;

[0017] The at least one block information and the identification information are stored, and an association relationship between the block information and the identification information is established.

[0018] Furthermore, the method further comprises:

[0019] Receive a request for obtaining P-th block information from at least one accounting node; the P block information is one block information in the at least one block information;

[0020] Sending the Pth block information to the at least one accounting node according to the acquisition request;

[0021] Wherein, P is an integer greater than or equal to 1.

[0022] Furthermore, the method further comprises:

[0023] During the process of establishing the virtual extended LAN, the IP multicast address sent by the communication management module is obtained, and a multicast join request sent by the accounting node associated with the IP multicast address is obtained, and a multicast channel is established with the accounting node.

[0024] In a second aspect, an embodiment of the present application provides a blockchain system communication method, which is applied to a communication management module, including:

[0025] Obtain link information of the virtual extended LAN to be created;

[0026] Sending a network creation request to the cloud management platform according to the link information;

[0027] The receiving channel management module sends a multicast configuration request according to a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message for completing the creation of the virtual extended local area network;

[0028] Determine, according to the multicast configuration request, a node address and an IP multicast address of a first communication node on the virtual extended local area network;

[0029] A first multicast request is sent to the first communication node, and a second multicast request is sent to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

[0030] Furthermore, the multicast configuration request includes:

[0031] first identification information and second identification information;

[0032] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0033] Further, determining the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request includes:

[0034] According to the multicast configuration request, the first communication node is determined, and the IP multicast address is acquired from a multicast address library module.

[0035] Further, sending a first multicast request to the first communication node includes:

[0036] Determine encryption information according to the multicast configuration information, the encryption information including: a key and an encryption algorithm;

[0037] encrypting the first multicast request by using the encryption information;

[0038] The encrypted first multicast request is sent to the first communication node, where the first multicast request includes the multicast configuration request and the IP multicast address.

[0039] Further, sending a second multicast request to the accounting node corresponding to the IP multicast address includes:

[0040] Determine encryption information according to the multicast configuration information, the encryption information including: a key and an encryption algorithm;

[0041] encrypting the second multicast request by using the encryption information;

[0042] The encrypted second multicast request is sent to the accounting node, where the second multicast request includes the multicast configuration request and the node address of the first communication node.

[0043] In a third aspect, an embodiment of the present application provides a blockchain system communication method, which is applied to a cloud management platform, including:

[0044] Receive a network creation request for a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information;

[0045] Determine, according to the network creation request, the target network device, identification information of the virtual extended local area network to be created, and the communication node and accounting node corresponding to the virtual extended local area network;

[0046] Sending a creation instruction of a virtual extended local area network to the target network device, the communication node, and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information, and the second identification information;

[0047] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0048] Further, determining the target network device according to the creation request includes:

[0049] According to the network topology and routing information stored in the software-defined network controller of the cloud management platform, the network device through which the virtual extended local area network is to be created is determined to be the target network device.

[0050] In a fourth aspect, an embodiment of the present application provides a blockchain system communication method, which is applied to an accounting node, including:

[0051] receiving at least one block information sent by the first communication node in a multicast manner through a virtual extended local area network;

[0052] The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

[0053] Furthermore, the method further comprises:

[0054] In case that the Mth block information is not received and the Nth block information is received, sending a request for obtaining the Mth to N-1th block information to the communication node of the virtual extended local area network;

[0055] The M block information is one block information in the at least one block information;

[0056] M and N are integers greater than or equal to 1, and N>M.

[0057] Furthermore, the method further comprises:

[0058] Receive a creation instruction of a virtual extended local area network sent by a cloud management platform, wherein the creation instruction includes a network identifier, first identification information, and second identification information of the virtual extended local area network;

[0059] receiving a second multicast request sent by the communication management module;

[0060] creating a multicast group according to the second multicast request;

[0061] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0062] Further, the creating a multicast group according to the second multicast request includes:

[0063] A multicast join request is initiated to the first communication node according to the second multicast request, and a multicast tree is created with the first communication node as the root and the accounting node as the branch.

[0064] In a fifth aspect, an embodiment of the present application provides a blockchain system communication device, applied to a first communication node, including:

[0065] A first receiving module, configured to receive at least one block information generated by a plurality of transactions and sent by an ordering node;

[0066] A first sending module, configured to send the at least one block information to at least one accounting node via a pre-built virtual extended local area network;

[0067] The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

[0068] In a sixth aspect, an embodiment of the present application provides a blockchain system communication device, which is applied to a communication management module, including:

[0069] An acquisition module, used for acquiring link information of a virtual extended local area network to be created;

[0070] A second sending module is used to send a network creation request to the cloud management platform according to the link information;

[0071] A second receiving module is used to receive a multicast configuration request sent by the channel management module according to a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message of completion of creation of the virtual extended local area network;

[0072] A first determining module, configured to determine a node address and an IP multicast address of a first communication node on the virtual extended local area network according to the multicast configuration request;

[0073] A first multicast request is sent to the first communication node, and a second multicast request is sent to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

[0074] In a seventh aspect, an embodiment of the present application provides a blockchain system communication device, which is applied to a cloud management platform, including:

[0075] A third receiving module is used to receive a network creation request of a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information;

[0076] A second determination module is used to determine the target network device, the identification information of the virtual extended local area network to be created, and the communication node and the accounting node corresponding to the virtual extended local area network according to the network creation request;

[0077] a fourth sending module, configured to send a creation instruction of a virtual extended local area network to the target network device, the communication node, and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information, and the second identification information;

[0078] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0079] In an eighth aspect, an embodiment of the present application provides a blockchain system communication device, which is applied to an accounting node, including:

[0080] A fourth receiving module, configured to receive at least one block information sent by the first communication node in a multicast manner via the virtual extended local area network;

[0081] The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

[0082] In a ninth aspect, an embodiment of the present application provides a network device, applied to a first communication node, including a first transceiver wherein:

[0083] The first transceiver is used to receive at least one block information generated by multiple transactions sent by the sorting node;

[0084] Sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network;

[0085] The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

[0086] In a tenth aspect, an embodiment of the present application provides a network device, applied to a first communication management module, including a second transceiver and a second processor, wherein:

[0087] The second transceiver is used to obtain link information of the virtual extended local area network to be created;

[0088] Sending a network creation request to the cloud management platform according to the link information;

[0089] The receiving channel management module sends a multicast configuration request according to a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message for completing the creation of the virtual extended local area network;

[0090] The second processor is used to determine the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request;

[0091] The second transceiver is further used to send a first multicast request to the first communication node, and to send a second multicast request to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

[0092] In an eleventh aspect, an embodiment of the present application provides a network device, applied to a cloud management platform, comprising a third transceiver and a third processor, wherein:

[0093] The third transceiver is used to receive a network creation request of a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information;

[0094] The third processor is used to determine the target network device, the identification information of the virtual extended local area network to be created, and the communication node and the accounting node corresponding to the virtual extended local area network according to the network creation request;

[0095] The third transceiver is further used to send a creation instruction of a virtual extended local area network to the target network device, the communication node and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information and the second identification information;

[0096] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0097] In a twelfth aspect, an embodiment of the present application provides a network device, applied to a billing node, including a fourth transceiver, wherein:

[0098] The fourth transceiver is used to receive at least one block information sent by the first communication node in a multicast manner through the virtual extended local area network;

[0099] The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

[0100] In a thirteenth aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method described above when executed by the processor.

[0101] In a fourteenth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, the steps of the method described above are implemented.

[0102] In a fifteenth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the method described above.

[0103] Compared with the prior art, the blockchain system communication method, device, network device, medium and program product provided in the embodiments of the present application, by constructing the virtual extended local area network, can establish a multicast channel between different nodes in the constructed virtual extended local area network, and realize multicast transmission of block information from the first communication node to the accounting node, so that each accounting node only receives the block information sent from the communication node. The solution of the embodiment of the present invention can solve the problem in the prior art that the use of P2P communication mode will cause a bookkeeping node to receive block / ledger data sent by multiple nodes at the same time, which not only occupies the communication bandwidth, but also consumes the overhead of the receiving node. BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0105] Figure 1 This is a schematic diagram of the communication method of the alliance chain in the prior art;

[0106] Figure 2 This is a flow chart of the blockchain system communication method according to an embodiment of the present application when it is applied to the first communication node;

[0107] Figure 3 This is a schematic diagram of the structure of the blockchain system of an embodiment of the present application;

[0108] Figure 4 This is a flow chart of the blockchain system communication method of an embodiment of the present application when it is applied to a communication management module;

[0109] Figure 5 This is a flow chart of the blockchain system communication method of an embodiment of the present application when it is applied to a cloud management platform;

[0110] Figure 6 This is a flow chart of the blockchain system communication method of an embodiment of the present application when it is applied to an accounting node;

[0111] Figure 7 A schematic diagram of a blockchain system communication method according to an embodiment of the present application;

[0112] Figure 8 A schematic diagram of constructing a virtual extended local area network according to an embodiment of the present application;

[0113] Fig. 9 This is one of the structural schematic diagrams of the blockchain system communication device of an embodiment of the present application;

[0114] Fig.10This is the second structural diagram of the blockchain system communication device of the embodiment of the present application;

[0115] Fig.11 This is the third structural diagram of the blockchain system communication device of the embodiment of the present application;

[0116] Fig.12 This is the fourth structural diagram of the blockchain system communication device of the embodiment of the present application;

[0117] Fig.13 This is one of the structural diagrams of the network device according to the embodiment of the present application;

[0118] Fig.14 This is a second structural diagram of a network device according to an embodiment of the present application;

[0119] Fig.15 This is a third structural diagram of the network device according to an embodiment of the present application;

[0120] Fig.16 This is a fourth structural diagram of the network device according to an embodiment of the present application;

[0121] Fig.17 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0122] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0123] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. "And / or" in the specification and claims represents at least one of the connected objects.

[0124] The following description provides examples and does not limit the scope, applicability, or configuration set forth in the claims. Changes may be made to the functions and arrangements of the elements discussed without departing from the spirit and scope of the present disclosure. Various examples may appropriately omit, replace, or add various procedures or components. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0125] It should be noted that the Virtual eXtensible Local Area Network (VxLAN) technology has effectively solved the problem that the existing VLAN technology cannot meet the needs of large Layer 2 networks. VxLAN technology is a large Layer 2 virtual network technology. The main principle is to introduce an outer tunnel in the User Datagram Protocol (UDP) format as the data link layer, and the original data message content is transmitted as the tunnel payload. Since the outer layer uses UDP as a transmission method, the payload data can be easily transmitted in the Layer 2 and Layer 3 networks. VxLAN has become one of the mainstream virtual network technologies in the industry.

[0126] In an embodiment of the present invention, the multicast message is transmitted at the L2 layer, that is, a "layer 2 multicast" multicast method is adopted, and the corresponding multicast protocol is called a layer 2 multicast protocol, including Internet Group Management Protocol Snooping (Internet Group Management Protocol Snooping, IGMP Snooping) and Multicast Listener Discovery Snooping (Multicast Listener Discovery Snooping, MLD Snooping).

[0127] It should be noted that the blockchain system communication method of the embodiment of the present invention is applied to the alliance blockchain;

[0128] In the enterprise application scenario, multiple enterprises form an alliance and use the alliance chain to conduct business cooperation. In order to ensure the consistency of data storage and the consensus of the data processing process, the blockchain engine of the "endorsement-sorting-verification" processing model is generally adopted. The figure below is a typical module and network diagram of the blockchain system.

[0129] As a permissioned consortium chain, each node, function, and software module in the system is manageable and controllable. Public and private key pairs can usually be used to identify, authenticate, and authorize the above objects. Figure 1 As shown, each node has a pre-assigned pair of valid public and private keys and is authorized to participate in blockchain services.

[0130] like Figure 2 As shown, the blockchain system communication method provided in the embodiment of the present application is applied to the first communication node, and includes the following steps:

[0131] Step 201, receiving at least one block information generated by multiple transactions sent by an ordering node;

[0132] Step 202, sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network;

[0133] The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

[0134] Optionally, sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network includes:

[0135] The at least one block information is sent to the virtual extended local area network.

[0136] Optionally, sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network includes:

[0137] Encapsulating the at least one block information according to a multicast protocol to obtain a first multicast message;

[0138] The first multicast message is sent to at least one accounting node.

[0139] The blockchain system communication method provided in the embodiment of the present application can establish a multicast channel between different nodes in the constructed virtual extended local area network by constructing the virtual extended local area network, and realize multicast transmission of block information from the first communication node to the accounting node, so that each accounting node only receives the block information sent from the communication node. The solution of the embodiment of the present invention can solve the problem in the prior art that the use of P2P communication mode will cause a bookkeeping node to receive block / ledger data sent by multiple nodes at the same time, which not only occupies the communication bandwidth, but also consumes the overhead of the receiving node.

[0140] Optionally, the method further comprises:

[0141] Obtaining encryption information corresponding to the virtual extended local area network;

[0142] encrypting the block information according to the encryption information;

[0143] The at least one block information is sent to at least one accounting node through a pre-built virtual extended local area network, including:

[0144] The encrypted at least one block information is sent to at least one accounting node through the virtual extended local area network.

[0145] Optionally, obtaining encryption information corresponding to the virtual extended local area network includes:

[0146] Receive first identification information and second identification information sent by a communication management module; the first identification information is used for a chain identification of the virtual extended local area network, and the second identification information is used for a channel identification between nodes of the virtual extended local area network;

[0147] Determine a key in the encrypted information according to the first identification information and the second identification information;

[0148] Determine the encryption information including the key and a preset encryption algorithm.

[0149] In the embodiment of the present invention, the first communication node determines the confidentiality requirement of the data on the channel according to the second identification information, and determines whether to encrypt the block data;

[0150] If encryption is required, the corresponding encryption key K is extracted using the "first identification information + the second identification information" method, and the block information is encrypted using a preset algorithm.

[0151] In the embodiment of the present invention, if the block information needs to be encrypted, the block information is encrypted and then stored in the block storage repository along with the block identifier.

[0152] The method of the embodiment of the present invention can encrypt the block information and then send it by determining the encryption information, thereby improving the security of the block data transmission.

[0153] Optionally, the method further comprises:

[0154] Obtaining identification information corresponding to the virtual extended local area network;

[0155] The at least one block information and the identification information are stored, and an association relationship between the block information and the identification information is established.

[0156] It should be noted that if Figure 3 As shown, the first communication node together with at least other communication nodes and a block storage repository constitute the multicast communication module;

[0157] The block storage library is used to store the block information and the association relationship between the block information and the identification information.

[0158] In the embodiment of the present invention, each of the communication nodes in the multicast communication module has the same structure and function, and works in a load-sharing manner to provide a highly available multicast communication server.

[0159] Optionally, the method further comprises:

[0160] Receive a request for obtaining P-th block information from at least one accounting node; the P block information is one block information in the at least one block information;

[0161] Sending the Pth block information to the at least one accounting node according to the acquisition request;

[0162] Wherein, P is an integer greater than or equal to 1.

[0163] It should be noted that the at least one block information is sent through the virtual extended local area network in a multicast manner, and the first communication node is used to send the at least one block information to each accounting node in the virtual extended local area network;

[0164] The UDP protocol may cause packet loss, or the accounting node may be overloaded and unable to receive correctly during multicast, which may lead to the loss of block information;

[0165] When the accounting node determines that the Mth block information has not been received, it sends an acquisition request to the first communication node to obtain the Mth to N-1th block information.

[0166] Optionally, the method further comprises:

[0167] During the process of establishing the virtual extended LAN, the IP multicast address sent by the communication management module is obtained, and a multicast join request sent by the accounting node associated with the IP multicast address is obtained, and a multicast channel is established with the accounting node.

[0168] like Figure 4 As shown, the embodiment of the present invention also provides a blockchain system communication method, which is applied to a communication management module and includes the following steps:

[0169] Step 401, obtaining link information of a virtual extended local area network to be created;

[0170] Step 402: Send a network creation request to the cloud management platform according to the link information;

[0171] Step 403, receiving a multicast configuration request sent by the channel management module according to a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message for completing the creation of the virtual extended LAN;

[0172] Step 404, determining a node address and an IP multicast address of a first communication node on the virtual extended local area network according to the multicast configuration request;

[0173] Step 405: Send a first multicast request to the first communication node, and send a second multicast request to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

[0174] Optionally, the link information includes: the first identification information and the second identification information.

[0175] Optionally, the communication management module is connected to the cloud management platform through a northbound interface and sends a network creation request to the cloud management platform.

[0176] Optionally, the creation request includes: a virtual machine / container list, so that the virtual machines / containers in the virtual machine / container list are added to the virtual extended local area network.

[0177] The blockchain system communication method of the embodiment of the present invention can instruct the cloud management platform to create the virtual extended local area network by sending the network creation request to the cloud management platform through the communication management module; by sending a first multicast request to the first communication node and sending a second multicast request to the accounting node, a multicast tree (multicast group) with the first communication node as the root and the accounting node as the branch can be created, thereby realizing multicast communication of the blockchain.

[0178] Optionally, the multicast configuration request includes:

[0179] first identification information and second identification information;

[0180] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0181] In the embodiment of the present invention, the first identification information includes a chain identification (ID), and the second identification information includes a channel identification (ID).

[0182] Optionally, determining the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request includes:

[0183] According to the multicast configuration request, the first communication node is determined, and the IP multicast address is acquired from a multicast address library module.

[0184] It should be noted that if Figure 3 As shown, the communication management module includes: a group of multicast management nodes with homogeneous redundancy and shared multicast address library and a multicast address library with high availability and high real-time performance;

[0185] The multicast management node includes at least one of the following functions:

[0186] IP multicast address pool library management: including free IP multicast address pool list and occupied IP multicast address pool list;

[0187] IP multicast address allocation and recycling;

[0188] a correspondence between an IP multicast address in an "in use" state and (the first identification information, the second identification information);

[0189] The correspondence between IP multicast addresses in the "in use" state and VxLAN IDs;

[0190] The communication encryption information is distributed and transmitted to the communication node and the sorting node, and the key in the encryption information is distributed by the module. A symmetric key for a specific encryption algorithm is provided for each chain, each channel, and each multicast address. The symmetric key will be encrypted with the public key of each node and distributed to the corresponding multicast communication node and accounting node respectively;

[0191] At least one of the following in the multicast address pool:

[0192] All channels in this blockchain system and the accounting node information owned by each organization in the channel; this information is provided in real time by the blockchain management module through the A.1 interface;

[0193] The occupation status of all IP multicast addresses in this blockchain service network, and the chain identifier and channel identifier of the occupied IP multicast address service;

[0194] Among them, within the virtual network scope of this blockchain service network, within the life cycle scope, on different chains and channels, IP multicast addresses are not reused.

[0195] Optionally, obtaining the IP multicast address from a multicast address library module includes:

[0196] The IP multicast address is any idle IP multicast address in the multicast address pool.

[0197] The determining the first communication node according to the multicast configuration request includes:

[0198] The first communication node is allocated to the virtual extended local area network according to the first identification information and the second identification information.

[0199] Optionally, sending a first multicast request to the first communication node includes:

[0200] Determine encryption information according to the multicast configuration information, the encryption information including: a key and an encryption algorithm;

[0201] encrypting the first multicast request by using the encryption information;

[0202] The encrypted first multicast request is sent to the first communication node, where the first multicast request includes the multicast configuration request and the IP multicast address.

[0203] The blockchain system communication method of the embodiment of the present invention can prevent nodes other than the first communication node from joining the multicast group by encrypting the first multicast request, thereby avoiding leakage of block data.

[0204] Optionally, sending the second multicast request to the accounting node corresponding to the IP multicast address includes:

[0205] Determine encryption information according to the multicast configuration information, the encryption information including: a key and an encryption algorithm;

[0206] encrypting the second multicast request by using the encryption information;

[0207] The encrypted second multicast request is sent to the accounting node, where the second multicast request includes the multicast configuration request and the node address of the first communication node.

[0208] The blockchain system communication method of the embodiment of the present invention can prevent accounting nodes other than the multicast address from joining the multicast group by encrypting the second multicast request, thereby avoiding leakage of block data.

[0209] like Figure 5 As shown, an embodiment of the present invention also provides a blockchain system communication method, which is applied to a cloud management platform and includes the following steps:

[0210] Step 501, receiving a network creation request for a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information;

[0211] Step 502, determining the target network device, identification information of the virtual extended local area network to be created, and the communication node and accounting node corresponding to the virtual extended local area network according to the network creation request;

[0212] Step 503: Sending a creation instruction of a virtual extended local area network to the target network device, the communication node, and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information, and the second identification information;

[0213] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0214] It should be noted that if Figure 3 As shown, the cloud management platform includes: a software defined network (SDN) controller and at least one virtual machine / container manager.

[0215] The blockchain system communication method of the embodiment of the present invention sends a creation instruction of a virtual extended local area network to the target network device, the communication node and the accounting node through the cloud management platform, and can establish a virtual extended local area network including the target network device, the communication node and the accounting node, thereby realizing the sending of block information to the accounting node through the communication node in a multicast manner in the virtual extended local area network.

[0216] Optionally, determining a target network device according to the creation request includes:

[0217] According to the network topology and routing information stored in the software-defined network controller of the cloud management platform, the network device through which the virtual extended local area network is to be created is determined to be the target network device.

[0218] Optionally, sending a creation instruction of a virtual extended local area network to the communication node and the accounting node includes:

[0219] The virtual machine / container manager determines the physical machine where the communication node and the accounting node of the virtual extended local area network are located according to the stored resource allocation information (such as a resource allocation list);

[0220] The creation instruction is sent to the physical machine.

[0221] like Figure 6 As shown, the embodiment of the present invention also provides a blockchain system communication method, which is applied to an accounting node and includes the following steps:

[0222] Step 601, receiving at least one block information sent by a first communication node in a multicast manner via a virtual extended local area network;

[0223] The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

[0224] The blockchain system communication method of the embodiment of the present invention sends at least one block information by multicasting, so that the accounting node only receives the block information sent by the first communication node, avoiding the accounting node from receiving repeated block information sent by multiple nodes, saving the overhead of the accounting node, and receiving the block information in only one cycle, thereby reducing the delay of blockchain communication.

[0225] Optionally, the method further comprises:

[0226] In case that the Mth block information is not received and the Nth block information is received, sending a request for obtaining the Mth to N-1th block information to the communication node of the virtual extended local area network;

[0227] The M block information is one block information in the at least one block information;

[0228] M and N are integers greater than or equal to 1, and N>M.

[0229] It should be noted that the at least one block information is sent through the virtual extended local area network in a multicast manner, and the first communication node is used to send the at least one block information to each accounting node in the virtual extended local area network;

[0230] The UDP protocol may cause packet loss, or the accounting node may be overloaded and unable to receive correctly during multicast, which may lead to the loss of block information;

[0231] When the accounting node has not received the Mth block information but has received the Nth block information, it determines that the Mth block information is lost, and then sends a request to obtain the Mth to N-1th block information to the communication node of the virtual extended local area network.

[0232] The blockchain system communication method of the embodiment of the present invention can not only transmit block information by multicast, but also reduce the delay of blockchain communication. At the same time, it can ensure the integrity of the block information on each accounting node by judging whether block information is lost and sending a request for obtaining the block information to the first communication node storing the block information when it is determined that the block information is lost.

[0233] Optionally, the method further comprises:

[0234] Receive a creation instruction of a virtual extended local area network sent by a cloud management platform, wherein the creation instruction includes a network identifier, first identification information, and second identification information of the virtual extended local area network;

[0235] receiving a second multicast request sent by the communication management module;

[0236] creating a multicast group according to the second multicast request;

[0237] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0238] Optionally, the creating a multicast group according to the second multicast request includes:

[0239] A multicast join request is initiated to the first communication node according to the second multicast request, and a multicast tree is created with the first communication node as the root and the accounting node as the branch.

[0240] The blockchain system communication method of the embodiment of the present invention can multicast block information to the accounting node through the first communication node by creating a multicast tree with the first communication node as the root and the accounting node as the branch.

[0241] like Figure 7 As shown, the blockchain system communication method implemented by the present invention includes:

[0242] After the client is ready, the address information of the endorsement node in the virtual extended local area network is obtained, and a proposal is prepared, i.e., a call to the smart contract;

[0243] The client connects to the endorsement node Px of the organization specified by the smart contract endorsement policy and calls the smart contract S1 to query or update the ledger L1;

[0244] The endorsing node Px executes chaincode S1 to generate a proposal response, which contains the query result or the ledger update proposal data and the signature endorsement of the endorsing node Px on the proposal data;

[0245] The client receives the response to the proposal. For the query process, this is the end; for the update process, continue with the following steps;

[0246] The client collects a sufficient number of responses from endorsing peers;

[0247] The client creates a transaction and sends it to the primary sorting node O1 for sorting.

[0248] Sorting node O1 collects transaction ledgers in the network and packages them into block B;

[0249] The sorting node unicasts these blocks to the corresponding communication nodes;

[0250] The communication node determines whether to encrypt the block data according to the confidentiality requirements of the data on the channel. If encryption is required, the corresponding encryption key K is extracted using the "first identification information + second identification information" and the block is encrypted using the specified algorithm; then, the block identification and content are stored in the block storage library;

[0251] With the communication node as the root, the group address S is used as the target address in IP multicast to send the new block content to the accounting node;

[0252] All accounting nodes that join the multicast tree receive the new block, (optionally) use the key K to decrypt and restore the block content, and verify the transaction before submitting it to the ledger L1;

[0253] When L1 is updated, the client is notified of the call success via an event;

[0254] If a certain accounting node z receives the multicast of the m+1th block on a specific multicast address, but has never received the mth block in the same chain or channel, it can be concluded that the multicast message carrying the mth block is lost;

[0255] The accounting node sends a request to obtain the content of a specific block to any idle communication node in the multicast communication cluster;

[0256] The communication node obtains the corresponding block from the block repository and sends it to the accounting node in unicast mode.

[0257] like Figure 8 As shown, the construction process of the virtual extended local area network implemented by the present invention includes:

[0258] The chain administrator initiates a chain and channel creation request, and after completing the relevant configuration, initiates a virtual extended LAN creation instruction;

[0259] The channel management component notifies the resource management component of the chain identifier and channel identifier information, and requests to initiate a VxLAN creation request;

[0260] The resource management component sends a network creation request to the cloud management platform through the northbound interface of the cloud management platform, notifying the SDN controller and the virtual machine / container manager to create a VxLAN; the network creation request carries a list of virtual machines / containers that need to be added to the VxLAN;

[0261] Based on the network topology and routing information stored in itself, the SDN controller determines the target network devices (including top of rack switches (TOR), end of row switches (EOR), cloud data center routers, cloud data center interconnection routers, etc.) that need to enable VxLAN, finds the idle VxLAN ID from the VxLAN ID table, notifies the relevant devices to establish the specified VxLAN, and configures these devices to enable the Spanning Tree Protocol (STP) and IGMP Snooping functions;

[0262] The virtual machine / container manager determines the physical machine where the communication node and accounting node of the virtual extended LAN are located based on its own resource allocation table, and specifies the virtual network card bound to the corresponding virtual machine / container to enable the VxLAN function and add the VxLAN ID created in the previous step;

[0263] After completing the channel and chain creation related processing, the channel management component initiates a corresponding layer 2 multicast configuration request to the communication management module of the communication management cluster; the request message contains the chain identifier and channel identifier information;

[0264] The communication management module obtains an idle IP multicast address X from the multicast address library module, and allocates a corresponding first communication node address A to the virtual extended local area network;

[0265] The communication management module notifies the address of the first communication node A to the corresponding sorting node in the sorting cluster;

[0266] The communication management module notifies the first communication node and each accounting node of the virtual extended local area network of the address of the first communication node A, the multicast address X, and the multicast communication encryption information encrypted using the public key of the receiver respectively;

[0267] The first communication node parses the message (the first multicast request) sent by the communication management module to obtain the multicast address X and the communication encryption information; each accounting node parses the received second multicast request to obtain the address of the first communication node A, the multicast address X, and the multicast communication encryption information; and initiates an IGMP multicast join request with the first communication node A as the source and the multicast address X as the target;

[0268] After the network device adjacent to the accounting node recognizes the IGMP request, it uses the IGMP Snooping function to initiate a multicast join request from bottom to top in the direction of communication node A, forming a Layer 2 multicast forwarding channel with A as the source and X as the destination address;

[0269] After the multicast channel is established, the communication node sends a channel establishment completion or failure response to the communication management module and the channel management component.

[0270] In the above-mentioned virtual extended LAN creation process, only the process of applying for an idle IP multicast address from the multicast address library by the multicast management node of the communication management module in the process of creating a chain and a channel is described; when deleting the virtual extended LAN (channel, chain), the reverse operation is adopted to release the IP multicast address and return it to the multicast address library.

[0271] like Fig. 9 As shown, the embodiment of the present invention further provides a blockchain system communication device 900, which is applied to a first communication node and includes:

[0272] A first receiving module 901 is used to receive at least one block information generated by multiple transactions sent by an ordering node;

[0273] A first sending module 902, configured to send the at least one block information to at least one accounting node via a pre-built virtual extended local area network;

[0274] The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

[0275] like Fig.10 As shown, the embodiment of the present invention also provides a blockchain system communication device 1000, which is applied to a communication management module, including:

[0276] The acquisition module 1001 is used to acquire the link information of the virtual extended local area network to be created;

[0277] The second sending module 1002 is used to send a network creation request to the cloud management platform according to the link information;

[0278] The second receiving module 1003 is used to receive the multicast configuration request sent by the channel management module according to the confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message of the completion of the creation of the virtual extended local area network;

[0279] A first determination module 1004 is used to determine the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request;

[0280] The third sending module 1005 is used to send a first multicast request to the first communication node, and to send a second multicast request to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended LAN.

[0281] like Fig.11 As shown, the embodiment of the present invention further provides a blockchain system communication device 1100, which is applied to a cloud management platform, including:

[0282] The third receiving module 1101 is used to receive a network creation request of a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information;

[0283] A second determining module 1102 is used to determine the target network device, the identification information of the virtual extended local area network to be created, and the communication node and the accounting node corresponding to the virtual extended local area network according to the network creation request;

[0284] The fourth sending module 1103 is used to send a creation instruction of a virtual extended local area network to the target network device, the communication node and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information and the second identification information;

[0285] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0286] like Fig.12 As shown, the embodiment of the present invention further provides a blockchain system communication device 1200, which is applied to an accounting node, including:

[0287] The fourth receiving module 1201 is used to receive at least one block information sent by the first communication node in a multicast manner through the virtual extended local area network;

[0288] The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

[0289] like Fig.13 As shown, the embodiment of the present invention further provides a network device 1300, which is applied to a first communication node and includes a first transceiver 1301, wherein:

[0290] The first transceiver is used to receive at least one block information generated by multiple transactions sent by the sorting node;

[0291] Sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network;

[0292] The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

[0293] like Fig.14 As shown, the embodiment of the present invention further provides a network device 1400, which is applied to a first communication management module and includes a second transceiver 1401 and a second processor 1402, wherein:

[0294] The second transceiver 1401 is used to obtain link information of the virtual extended local area network to be created;

[0295] Sending a network creation request to the cloud management platform according to the link information;

[0296] The receiving channel management module sends a multicast configuration request according to a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message for completing the creation of the virtual extended local area network;

[0297] The second processor 1402 is used to determine the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request;

[0298] The second transceiver 1401 is further used to send a first multicast request to the first communication node, and to send a second multicast request to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

[0299] like Fig.15 As shown, an embodiment of the present invention further provides a network device 1500, which is applied to a cloud management platform, including a third transceiver 1501 and a third processor 1502, wherein:

[0300] The third transceiver 1501 is used to receive a network creation request of a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information;

[0301] The third processor 1502 is used to determine the target network device, the identification information of the virtual extended local area network to be created, and the communication node and the accounting node corresponding to the virtual extended local area network according to the network creation request;

[0302] The third transceiver 1501 is further configured to send a creation instruction of a virtual extended local area network to the target network device, the communication node, and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information, and the second identification information;

[0303] The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

[0304] like Fig.16 As shown, the embodiment of the present invention further provides a network device 1600, which is applied to a billing node, including a fourth transceiver 1601, wherein:

[0305] The fourth transceiver 1601 is used to receive at least one block information sent by the first communication node in a multicast manner through the virtual extended local area network;

[0306] The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

[0307] Please refer to Fig.17 The embodiment of the present application also provides an electronic device 1700, including a processor 1701, a memory 1702, and a computer program stored in the memory 1702 and executable on the processor 1701. When the computer program is executed by the processor 1701, the computer program implements the various processes of the above-mentioned blockchain system communication method embodiment executed by the electronic device, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0308] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned blockchain system communication method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. Among them, the computer-readable storage medium is such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0309] The embodiment of the present application also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the various processes of the blockchain system communication method embodiment shown above are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.

[0310] It should be noted that, in this article, the terms "include", "include" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0311] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0312] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A blockchain system communication method, applied to a first communication node, characterized in that: include: Receiving at least one block information generated by multiple transactions sent by the sorting node; Sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network; The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining encryption information corresponding to the virtual extended local area network; encrypting the block information according to the encryption information; The at least one block information is sent to at least one accounting node through a pre-built virtual extended local area network, including: The encrypted at least one block information is sent to at least one accounting node through the virtual extended local area network.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining identification information corresponding to the virtual extended local area network; The at least one block information and the identification information are stored, and an association relationship between the block information and the identification information is established.

4. The method according to claim 3, characterized in that The method further comprises: Receive a request for obtaining P-th block information from at least one accounting node; the P block information is one block information in the at least one block information; Sending the Pth block information to the at least one accounting node according to the acquisition request; Wherein, P is an integer greater than or equal to 1.

5. The method according to claim 1, characterized in that The method further comprises: During the process of establishing the virtual extended LAN, the IP multicast address sent by the communication management module is obtained, and a multicast joining request sent by the accounting node associated with the IP multicast address is obtained, and a multicast channel is established with the accounting node.

6. A blockchain system communication method, applied to a communication management module, characterized in that: include: Obtain link information of the virtual extended LAN to be created; Sending a network creation request to the cloud management platform according to the link information; The receiving channel management module sends a multicast configuration request after receiving a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message for completing the creation of the virtual extended local area network; Determine, according to the multicast configuration request, a node address and an IP multicast address of a first communication node on the virtual extended local area network; A first multicast request is sent to the first communication node, and a second multicast request is sent to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

7. The method according to claim 6, characterized in that The multicast configuration request includes: first identification information and second identification information; The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

8. The method according to claim 7, characterized in that Determining the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request includes: According to the multicast configuration request, the first communication node is determined, and the IP multicast address is acquired from a multicast address library module.

9. The method according to claim 6 or 7, characterized in that: The sending a first multicast request to the first communication node comprises: Determine encryption information according to the multicast configuration information, the encryption information including: a key and an encryption algorithm; encrypting the first multicast request by using the encryption information; The encrypted first multicast request is sent to the first communication node, where the first multicast request includes the multicast configuration request and the IP multicast address.

10. The method according to claim 6 or 7, characterized in that: The sending a second multicast request to the billing node corresponding to the IP multicast address comprises: Determine encryption information according to the multicast configuration information, the encryption information including: a key and an encryption algorithm; encrypting the second multicast request by using the encryption information; The encrypted second multicast request is sent to the accounting node, where the second multicast request includes the multicast configuration request and the node address of the first communication node.

11. A blockchain system communication method, applied to a cloud management platform, characterized in that: include: Receiving a network creation request for a virtual extended local area network sent by a resource management component; The creation request includes: first identification information and second identification information; Determine, according to the network creation request, a target network device, identification information of the virtual extended local area network to be created, and a communication node and an accounting node corresponding to the virtual extended local area network; Sending a creation instruction of a virtual extended local area network to the target network device, the communication node, and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information, and the second identification information; The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

12. The method according to claim 11, characterized in that Determining the target network device according to the creation request includes: According to the network topology and routing information stored in the software-defined network controller of the cloud management platform, the network device through which the virtual extended local area network is to be created is determined to be the target network device.

13. A blockchain system communication method, applied to an accounting node, characterized in that: include: receiving at least one block information sent by the first communication node in a multicast manner through a virtual extended local area network; The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

14. The method according to claim 13, characterized in that The method further comprises: In case that the Mth block information is not received and the Nth block information is received, sending a request for obtaining the Mth to N-1th block information to the communication node of the virtual extended local area network; The M block information is one block information in the at least one block information; M and N are integers greater than or equal to 1, and N>M.

15. The method according to claim 13, characterized in that The method further comprises: Receive a creation instruction of a virtual extended local area network sent by a cloud management platform, wherein the creation instruction includes a network identifier, first identification information, and second identification information of the virtual extended local area network; receiving a second multicast request sent by the communication management module; creating a multicast group according to the second multicast request; The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

16. The method according to claim 15, characterized in that The creating a multicast group according to the second multicast request comprises: A multicast join request is initiated to the first communication node according to the second multicast request, and a multicast tree is created with the first communication node as the root and the accounting node as the branch.

17. A blockchain system communication device, applied to a first communication node, characterized in that: include: A first receiving module, configured to receive at least one block information generated by a plurality of transactions and sent by an ordering node; A first sending module, configured to send the at least one block information to at least one accounting node via a pre-built virtual extended local area network; The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

18. A blockchain system communication device, applied to a communication management module, characterized in that: include: An acquisition module, used for acquiring link information of a virtual extended local area network to be created; A second sending module is used to send a network creation request to the cloud management platform according to the link information; A second receiving module is used to receive a multicast configuration request sent by the channel management module according to a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message of completion of creation of the virtual extended local area network; A first determining module, configured to determine a node address and an IP multicast address of a first communication node on the virtual extended local area network according to the multicast configuration request; A first multicast request is sent to the first communication node, and a second multicast request is sent to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

19. A blockchain system communication device, applied to a cloud management platform, characterized in that: include: A third receiving module is used to receive a network creation request of a virtual extended local area network sent by a resource management component; The creation request includes: first identification information and second identification information; A second determination module is used to determine the target network device, the identification information of the virtual extended local area network to be created, and the communication node and the accounting node corresponding to the virtual extended local area network according to the network creation request; a fourth sending module, configured to send a creation instruction of a virtual extended local area network to the target network device, the communication node, and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information, and the second identification information; The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

20. A blockchain system communication device, applied to an accounting node, characterized in that: include: A fourth receiving module, configured to receive at least one block information sent by the first communication node in a multicast manner via the virtual extended local area network; The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

21. A network device, applied to a first communication node, characterized in that: A first transceiver comprising: The first transceiver is used to receive at least one block information generated by multiple transactions sent by the sorting node; Sending the at least one block information to at least one accounting node through a pre-built virtual extended local area network; The virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node, and the virtual extended local area network is created according to the node address of the first communication node and the IP multicast address for receiving the block information, and the node address of each of the accounting nodes is one of the IP multicast addresses.

22. A network device, applied to a first communication management module, characterized in that: comprising a second transceiver and a second processor, wherein: The second transceiver is used to obtain link information of the virtual extended local area network to be created; Sending a network creation request to the cloud management platform according to the link information; The receiving channel management module sends a multicast configuration request after receiving a confirmation message fed back by the cloud management platform; the confirmation message is a confirmation message for completing the creation of the virtual extended local area network; The second processor is used to determine the node address and IP multicast address of the first communication node on the virtual extended local area network according to the multicast configuration request; The second transceiver is further used to send a first multicast request to the first communication node, and to send a second multicast request to the accounting node corresponding to the IP multicast address, so as to create a multicast group according to the virtual extended local area network.

23. A network device, applied to a cloud management platform, characterized in that: The method comprises a third transceiver and a third processor, wherein: The third transceiver is used to receive a network creation request of a virtual extended local area network sent by a resource management component; the creation request includes: first identification information and second identification information; The third processor is used to determine the target network device, the identification information of the virtual extended local area network to be created, and the communication node and the accounting node corresponding to the virtual extended local area network according to the network creation request; The third transceiver is further used to send a creation instruction of a virtual extended local area network to the target network device, the communication node and the accounting node, wherein the creation instruction includes a network identifier of the virtual extended local area network, the first identification information and the second identification information; The first identification information is used for the chain identification of the virtual extended local area network, and the second identification information is used for the channel identification between nodes of the virtual extended local area network.

24. A network device, applied to an accounting node, characterized in that: comprising a fourth transceiver, wherein: The fourth transceiver is used to receive at least one block information sent by the first communication node in a multicast manner through the virtual extended local area network; The virtual extended local area network is a pre-built local area network, and the virtual extended local area network includes the first communication node and a plurality of the accounting nodes belonging to the same blockchain and / or the same channel as the first communication node.

25. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program implements the steps of the method according to any one of claims 1 to 16 when executed by the processor.

26. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 16.

27. A computer program product, characterized in that The method comprises computer instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Block chain unicast / multicast network, block chain device and communication method thereof in mobile broadband network

    CN107277781A

  • Data protection method and system for alliance chain

    CN111200589A

  • Multicast method and device based on block chain

    CN114285555A

  • Method for operating alliance chain network

    CN115022340A

  • Port forwarding method and device, computer equipment and storage medium

    CN117749702A