WO2020143196A1 - Communication method and device between blockchain nodes, storage medium and electronic apparatus - Google Patents

Communication method and device between blockchain nodes, storage medium and electronic apparatus Download PDF

Info

Publication number
WO2020143196A1
WO2020143196A1 PCT/CN2019/094568 CN2019094568W WO2020143196A1 WO 2020143196 A1 WO2020143196 A1 WO 2020143196A1 CN 2019094568 W CN2019094568 W CN 2019094568W WO 2020143196 A1 WO2020143196 A1 WO 2020143196A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain node
private network
blockchain
local area
verification code
Prior art date
Application number
PCT/CN2019/094568
Other languages
French (fr)
Chinese (zh)
Inventor
胡俊
戴广宇
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020143196A1 publication Critical patent/WO2020143196A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present application relates to the field of blockchain technology, and in particular, to a communication method and apparatus between blockchain nodes, a computer-readable storage medium, and electronic equipment.
  • Alliance chain technology refers to the blockchain where the consensus process is controlled by pre-selected nodes, and it includes business nodes and consensus nodes.
  • the business node is a business server of each institution that joins the alliance chain network, the server is installed with software for communicating with other nodes in the alliance chain network, and the consensus node is responsible for receiving business data sent by the business node for consensus verification. If the two nodes have a fixed business relationship, it is said that there is a business correspondence between the two nodes.
  • CA center certificate authority
  • the CA center issues node certificates for each node participating in the blockchain communication, so that the nodes holding legal certificates can communicate with each other. communication.
  • the inventor of the present application realized that once the security of the CA center is threatened, the communication security of the entire alliance chain will be threatened. Therefore, this kind of communication method based on CA center still has great security risks.
  • the purpose of the present application is to provide a communication method and device, storage medium and electronic equipment between blockchain nodes, so as to improve the security of the blockchain network at least to a certain extent.
  • a communication method between blockchain nodes includes: when the first blockchain node receives the communication request sent by the second blockchain node, determine whether the communication request Is a communication request received for the first time; if it is judged that the communication request is received for the first time, it is judged whether the second blockchain node has a business correspondence with the first blockchain node; if there is a business correspondence, the The first blockchain node and the second blockchain node are configured in the same local area network; a communication connection between the first blockchain node and the second blockchain node is established in the local area network.
  • a communication device between blockchain nodes including: a request verification module for a first blockchain node to receive a communication request sent by a second blockchain node, Determine whether the communication request is the first received communication request; the relationship verification module is used to determine whether the second blockchain node has business with the first blockchain node when determining that it is the first received communication request Correspondence; a relationship configuration module, configured to configure the first blockchain node and the second blockchain node in the same local area network when there is a business correspondence; a relationship establishment module, used in the local area network Establish a communication connection between the first blockchain node and the second blockchain node.
  • a computer-readable storage medium on which a computer program is stored, which when executed by a processor causes the processor to perform the following processing:
  • the first blockchain node When the first blockchain node receives the communication request sent by the second blockchain node, it is determined whether the communication request is the first received communication request; if it is the first received communication request, the second block is judged Whether there is a business correspondence between the chain node and the first blockchain node; if there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network; A communication connection between the first blockchain node and the second blockchain node is established in the local area network.
  • an electronic device including:
  • the memory is used to store one or more programs.
  • the one or more processors implement the following processing: in the first blockchain
  • the node receives the communication request sent by the second blockchain node, it determines whether the communication request is the first received communication request; if it is the first received communication request, it determines whether the second blockchain node is in contact with the There is a business correspondence between the first blockchain node; if there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network; establish the first A communication connection between a blockchain node and the second blockchain node.
  • the first blockchain node and the second block that have a business correspondence relationship are determined.
  • the chain nodes are configured in the same local area network, and the communication connection between the nodes is established in the local area network, so that the two nodes no longer need to communicate across the multi-level gateway, which improves the data transmission speed and enhances the user experience.
  • FIG. 1 schematically shows a flowchart of a communication method between blockchain nodes in an exemplary embodiment of the present application
  • FIG. 2 schematically shows a flowchart of a method for configuring the first blockchain node and the second blockchain node on the same local area network in an exemplary embodiment of the present application
  • FIG. 3 schematically shows a schematic diagram of a communication architecture between blockchain nodes when multiple communication connections are established simultaneously in an exemplary embodiment of the present application
  • FIG. 4 schematically shows a flowchart of a method for generating a verification code in the virtual private network server and sending it to a gateway in the private network for verification in an exemplary embodiment of the present application;
  • FIG. 5 schematically shows a flowchart of a method for configuring the first blockchain node and the second blockchain node on the same local area network according to the matching information in an exemplary embodiment of the present application
  • FIG. 6 schematically shows a composition diagram of a communication device between blockchain nodes in an exemplary embodiment of the present application
  • FIG. 7 is a schematic diagram showing the composition of another communication device between blockchain nodes in an exemplary embodiment of the present application.
  • FIG. 8 schematically shows a schematic structural diagram of a computer system suitable for implementing an electronic device of an exemplary embodiment of the present application
  • FIG. 9 schematically shows a schematic diagram of a computer-readable storage medium according to some embodiments of the present application.
  • Example embodiments will now be described more fully with reference to the drawings.
  • the example embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein; on the contrary, providing these embodiments makes the application more comprehensive and complete, and fully conveys the concept of the example embodiments For those skilled in the art.
  • the described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner.
  • a communication method between blockchain nodes is provided.
  • the above communication method between blockchain nodes may include the following steps:
  • S140 Establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
  • the communication method between the blockchain nodes by judging that the communication request is received for the first time, the first blockchain node and the second block that judge that there is a business correspondence relationship
  • the chain nodes are configured in the same local area network, and the communication connection between the nodes is established in the local area network, so that the two nodes no longer need to communicate across the multi-level gateway, which improves the data transmission speed and enhances the user experience.
  • step S110 when receiving the communication request sent by the second blockchain node, the first blockchain node determines whether the communication request is the first received communication request.
  • the first reception may be that the first blockchain node receives the communication request of the second blockchain node for the first time on all historical timelines, or it may be a preset The communication request of the second blockchain node is received for the first time in the verification cycle.
  • the preset verification period may be determined according to time, for example, each verification period is 10 minutes, 1 hour, etc.; or may be determined according to frequency, for example, refreshing the verification period once every 50 communication connections.
  • the first reception may further include after determining that there is no business correspondence between the second blockchain node and the first blockchain node, the first blockchain node The communication request of the second blockchain node is received for the first time or after the communication connection is disconnected, the first blockchain node receives the communication request of the second blockchain node for the first time.
  • an unexpected error results in the judgment that there is no business between the two nodes
  • the second blockchain node sends a communication request again, and the reception of the first blockchain node can also be defined as the first reception; again, for example, between the first blockchain node and the second blockchain node
  • the communication connection is disconnected due to the cancellation of the business correspondence.
  • the second blockchain node sends a communication request, and the reception of the first blockchain node can also be defined as the first reception.
  • step S120 if it is determined that the communication request is received for the first time, it is determined whether there is a business correspondence between the second blockchain node and the first blockchain node.
  • the business correspondence relationship refers to a fixed business relationship between the first blockchain node and the second blockchain node.
  • different business nodes provide services for different applications (Application, APP).
  • the business node sends the business data generated by the APP to the consensus node for consensus verification.
  • a business node is a server corresponding to an app related to an approval transaction
  • another business node is a server corresponding to an application related to an app.
  • the app can approve the app related to the app.
  • Each business node will participate in the same business, and there is a business correspondence between the two business nodes.
  • the judgment of the business correspondence relationship may be verified using third-party technology.
  • third-party technology For example, mobile terminal technologies such as SMS authentication, WeChat authentication, and mail verification can be used to confirm the business correspondence, or the physical genetic characteristics of the device and the user's biological genetic characteristics can be used to confirm the business correspondence.
  • third-party information preservation technology can also be used to achieve independent information fairness, evidence chain preservation, and judicial certificate storage to assist in the judgment of business correspondence.
  • third-party technology can be used for verification to avoid potential security risks due to the use of CA certificates while enriching business correspondence verification The diversity of methods improves the user experience during verification.
  • step S130 if there is a business correspondence, the first blockchain node and the second blockchain node are configured on the same local area network.
  • the first blockchain node and the second blockchain node are configured on the same local area network, and the user may manually connect the first blockchain node and the second blockchain node Blockchain nodes are configured in the same local area network or can be configured automatically.
  • an automatic configuration method includes adding a LAN configuration node to a blockchain network to which the first blockchain node and the second blockchain node belong; wherein , The local area network configuration node includes a virtual private network server and a gateway in the private network.
  • the local area network configuration node may configure a plurality of blockchain nodes that have a business correspondence relationship in different local area networks to establish multiple communication connections at the same time. When multiple communication connections are established at the same time, the communication architecture between blockchain nodes is shown in FIG. 3.
  • the first blockchain node and the second blockchain node are configured in the same local area network, as shown in FIG. 2, including the following steps S210 to S230, the following details To elaborate:
  • step S210 a verification code is generated in the virtual private network server and sent to the gateway in the private network for verification.
  • the verification code may include a virtual private network server identifier.
  • the gateway performs verification.
  • the security performance through verification of the verification code is improved, thereby further improving the communication security between blockchain nodes.
  • the verification code generated in the virtual private network server and sent to the gateway in the private network for verification includes the following steps:
  • Step S410 Generate a verification code in the virtual private network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code.
  • Step S420 Send the encrypted verification code to the gateway in the private network.
  • Step S430 in the gateway in the private network, decrypt the encrypted verification code according to a preset RSA public key, and verify the decrypted verification code; wherein, the preset RSA public key and the The RSA private key corresponds.
  • step S220 if the verification is passed, the virtual private network server is configured and sent matching information.
  • the matching information configured and sent to the virtual private network server includes a private network IP address segment and an encryption key.
  • step S230 when the virtual private network server receives the request that the first blockchain node and the second blockchain node join the local area network, the first blockchain is converted according to the matching information
  • the node and the second blockchain node are configured on the same local area network.
  • the matching information includes a private network IP address segment and an encryption key.
  • the first blockchain node and the second Blockchain nodes are configured in the same local area network, as shown in Figure 5, including the following steps:
  • Step S510 the virtual private network server assigns IP addresses to the first blockchain node and the second blockchain node within the private network IP address segment;
  • Step S520 based on the IP address, using the encryption key to transmit the data of the first blockchain node and the second blockchain node to the gateway in the private network, so that the first The blockchain node and the second blockchain node are arranged in the same local area network.
  • the first blockchain node and the second blockchain node can also be configured in the same local area network by other means, for example, a dedicated gateway device can be used, etc. Make special restrictions.
  • step S140 a communication connection between the first blockchain node and the second blockchain node is established in the local area network.
  • the method further includes: The first blockchain node and/or the second blockchain node actively disconnects the local area network connection, then disconnects the communication connection.
  • the method further includes: if at least one of the following conditions is detected, disconnecting the communication connection; wherein, The situation includes: the end of the preset verification period and the attribute of the communication connection meeting the refresh condition of the preset verification period. For example, when the preset verification period is 10 minutes, the communication connection is disconnected 10 minutes after the communication connection is established; for another example, when the preset period is 50 communication connections, the preset is refreshed after 50 communication connections Verification cycle.
  • the communication device 600 between the blockchain nodes includes a request verification module 610, a relationship verification module 620, a relationship configuration module 630, and a relationship establishment module 640. among them:
  • the request verification module 610 may be used for the first blockchain node to determine whether the communication request is the first received communication request when receiving the communication request sent by the second blockchain node.
  • the relationship verification module 620 may be used to determine whether there is a business correspondence between the second blockchain node and the first blockchain node when determining that the communication request is received for the first time.
  • the relationship configuration module 630 may be used to configure the first blockchain node and the second blockchain node on the same local area network when there is a business correspondence.
  • the relationship establishing module 640 may be used to establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
  • the apparatus further includes: a connection control module 650; the connection control module 650 may be used to detect the first When the blockchain node and/or the second blockchain node actively disconnects the local area network connection, the communication connection is disconnected.
  • connection control module 650 may be used to disconnect the communication connection when at least one of the following conditions is detected; wherein, the conditions include: The preset verification period ends and the attribute of the communication connection satisfies the refresh condition of the preset verification period.
  • the relationship configuration module 630 is further used to add a LAN configuration node to the blockchain network to which the first blockchain node and the second blockchain node belong ;
  • the local area network configuration node includes a virtual private network server and a gateway in the private network.
  • the relationship configuration module 630 includes:
  • a verification code generating unit configured to generate a verification code in the virtual private network server and send it to the gateway in the private network for verification;
  • a matching information sending unit configured to configure and send matching information to the virtual private network server if the verification is passed;
  • the configuration unit is configured to: when the virtual private network server receives the request for the first blockchain node and the second blockchain node to join the local area network, according to the matching information, the first blockchain The node and the second blockchain node are configured on the same local area network.
  • the verification code generating unit includes:
  • a verification code obtaining subunit configured to generate a verification code in the virtual private network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code
  • a sending subunit configured to send the encrypted verification code to the gateway in the dedicated network
  • a check subunit configured to decrypt the encrypted verification code according to a preset RSA public key in a gateway in the dedicated network, and verify the decrypted verification code; wherein, the preset RSA public key The key corresponds to the RSA private key.
  • the matching information includes a private network IP address segment and an encryption key
  • the configuration unit includes:
  • An allocation subunit for the virtual private network server to allocate IP addresses for the first blockchain node and the second blockchain node in the private network IP address segment;
  • a transmission subunit for transmitting the data of the first blockchain node and the second blockchain node to the gateway in the private network based on the IP address, using the encryption key The first blockchain node and the second blockchain node are arranged in the same local area network.
  • the first reception includes the first reception within a preset verification period
  • the communication device further includes:
  • the detection module is configured to disconnect the communication connection if at least one of the following conditions is detected; wherein, the conditions include:
  • the preset verification period ends and the attribute of the communication connection satisfies the refresh condition of the preset verification period.
  • an electronic device capable of implementing communication between the above-mentioned blockchain nodes is also provided.
  • the electronic device 800 according to this embodiment of the present application is described below with reference to FIG. 8.
  • the electronic device 800 shown in FIG. 8 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present application.
  • the electronic device 800 is represented in the form of a general-purpose computing device.
  • Components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
  • the storage unit stores a program code
  • the program code may be executed by the processing unit 810, so that the processing unit 810 executes various exemplary according to the present application described in the "exemplary method" section of the above description of the specification Example steps.
  • the processing unit 810 may perform step S110 as shown in FIG.
  • the first blockchain node determines whether the communication request is the first received communication Request; S120: If it is determined that this is the first communication request received, determine whether there is a business correspondence between the second blockchain node and the first blockchain node; S130: If there is a business correspondence, then convert the The first blockchain node and the second blockchain node are configured in the same local area network; S140: establishing a communication connection between the first blockchain node and the second blockchain node in the local area network .
  • the storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822, and may further include a read-only storage unit (ROM) 823.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 820 may further include a program/utility tool 824 having a set of (at least one) program modules 825.
  • program modules 825 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include an implementation of the network environment.
  • the bus 830 may be one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
  • the electronic device 800 may also communicate with one or more external devices 870 (eg, keyboard, pointing device, Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 800, and/or with This enables the electronic device 800 to communicate with any device (eg, router, modem, etc.) that communicates with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 850.
  • the electronic device 800 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 860.
  • networks such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 860 communicates with other modules of the electronic device 800 through the bus 830. It should be understood that although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive And data backup storage system.
  • the example embodiments described here can be implemented by software, or can be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to enable a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiments of the present application.
  • a computing device which may be a personal computer, server, terminal device, or network device, etc.
  • a computer-readable storage medium on which a program product capable of implementing the above method of this specification is stored.
  • various aspects of the present application may also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used to enable the The terminal device executes the steps according to various exemplary embodiments of the present application described in the "Exemplary Method" section of this specification.
  • a program product 900 for implementing the above method according to an embodiment of the present application is described, which may use a portable compact disk read-only memory (CD-ROM) and include program code, and may be used in a terminal device, such as a personal Run on the computer.
  • the program product of the present application is not limited to this.
  • the readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
  • the program product may employ any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
  • the computer-readable signal medium may include a data signal that is transmitted in baseband or as part of a carrier wave, in which readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.
  • the program code contained on the readable medium may be transmitted on any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
  • the program code for performing the operations of the present application can be written in any combination of one or more programming languages, which includes object-oriented programming languages such as Java, C++, etc., and also includes the conventional procedural formula Programming language-such as "C" language or similar programming language.
  • the program code may be executed entirely on the user computing device, partly on the user device, as an independent software package, partly on the user computing device and partly on the remote computing device, or entirely on the remote computing device or server To execute.
  • the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using Internet service provision Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service provision Business for example, using Internet service provision Business to connect via the Internet.

Abstract

The present application relates to the field of blockchain, specifically a communication method and device between blockchain nodes, a storage medium and an electronic apparatus, the method includes: when a first blockchain node receives a communication request sent by a second blockchain node, determining whether the communication request is the first received communication request; if it is the first received communication request, determining whether there is a business correspondence between the second blockchain node and the first blockchain node; if there is, configuring the first blockchain node and the second blockchain node in the same local area network; establishing a communication connection between the first blockchain node and the second blockchain node in the local area network. In the present application, the first blockchain node and the second blockchain node having a business correspondence therebetween are configured in the same local area network, and the communication connection between the nodes is established in the local area network, such that the two nodes do not require to communicate across multi-level gateways, improving the data transmission speed and enhancing the user experience.

Description

区块链节点之间的通信方法及装置、存储介质及电子设备Communication method and device between blockchain nodes, storage medium and electronic equipment 技术领域Technical field
本申请要求2019年01月11日递交、发明名称为“区块链节点之间的通信方法及装置、存储介质及电子设备”的中国专利申请CN201910025476.3的优先权,在此通过引用将其全部内容合并于此。This application requires the priority of the Chinese patent application CN201910025476.3 filed on January 11, 2019, with the invention titled "Communication Methods and Devices between Blockchain Nodes, Storage Media, and Electronic Equipment", which is hereby incorporated by reference All contents are merged here.
本申请涉及区块链技术领域,具体而言,涉及一种区块链节点之间的通信方法及装置、计算机可读存储介质及电子设备。The present application relates to the field of blockchain technology, and in particular, to a communication method and apparatus between blockchain nodes, a computer-readable storage medium, and electronic equipment.
背景技术Background technique
联盟链技术作为区块链技术的一个分支,逐渐应用在越来越多的场景中,例如产品溯源、资产证券化等。联盟链技术是指共识过程受到预选节点控制的区块链,它包括业务节点和共识节点。其中,业务节点为加入联盟链网络的各机构的业务服务器,服务器上安装有用于与该联盟链网络中的其他节点进行通信的软件,而共识节点负责接收业务节点发送的业务数据进行共识验证。若两个节点有固定业务关系,则称两个节点之间存在业务对应关系。As a branch of blockchain technology, alliance chain technology is gradually applied in more and more scenarios, such as product traceability and asset securitization. Alliance chain technology refers to the blockchain where the consensus process is controlled by pre-selected nodes, and it includes business nodes and consensus nodes. Among them, the business node is a business server of each institution that joins the alliance chain network, the server is installed with software for communicating with other nodes in the alliance chain network, and the consensus node is responsible for receiving business data sent by the business node for consensus verification. If the two nodes have a fixed business relationship, it is said that there is a business correspondence between the two nodes.
在这种联盟链中,为了提高通信的安全,通常都会设置证书授权中心(简称CA中心),CA中心为每个参与区块链通讯的节点签发节点证书,使得持有合法证书的节点能够互相通讯。但是,本申请的发明人意识到,一旦CA中心的安全受到威胁,整个联盟链的通讯安全都会受到威胁。因此,这种基于CA中心的通讯方法的仍然存在很大的安全隐患。In this alliance chain, in order to improve the security of communication, a certificate authority (CA center) is usually set up. The CA center issues node certificates for each node participating in the blockchain communication, so that the nodes holding legal certificates can communicate with each other. communication. However, the inventor of the present application realized that once the security of the CA center is threatened, the communication security of the entire alliance chain will be threatened. Therefore, this kind of communication method based on CA center still has great security risks.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本申请的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute prior art known to those of ordinary skill in the art.
技术问题technical problem
本申请的目的在于提供一种区块链节点之间的通信方法及装置、存储介质及电子设备,进而至少在一定程度提高区块链网络的安全性。The purpose of the present application is to provide a communication method and device, storage medium and electronic equipment between blockchain nodes, so as to improve the security of the blockchain network at least to a certain extent.
技术解决方案Technical solution
本申请的其他特性和优点将通过下面的详细描述变得显然,或部分地通过本申请的实践而习得。Other characteristics and advantages of the present application will become apparent through the following detailed description, or partly learned through the practice of the present application.
根据本申请的第一方面,提供了一种区块链节点之间的通信方法,包括:在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。According to the first aspect of the present application, a communication method between blockchain nodes is provided, which includes: when the first blockchain node receives the communication request sent by the second blockchain node, determine whether the communication request Is a communication request received for the first time; if it is judged that the communication request is received for the first time, it is judged whether the second blockchain node has a business correspondence with the first blockchain node; if there is a business correspondence, the The first blockchain node and the second blockchain node are configured in the same local area network; a communication connection between the first blockchain node and the second blockchain node is established in the local area network.
根据本申请的第二方面,提供了一种区块链节点之间的通信装置,包括:请求验证模块,用于第一区块链节点在接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;关系验证模块,用于在判断是首次接收的通信请求时,判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;关系配置模块,用于在存在业务对应关系时,将所述第一区块链节点与所述第二区块链节点配置在同一局域网;关系建立模块,用于在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。According to a second aspect of the present application, there is provided a communication device between blockchain nodes, including: a request verification module for a first blockchain node to receive a communication request sent by a second blockchain node, Determine whether the communication request is the first received communication request; the relationship verification module is used to determine whether the second blockchain node has business with the first blockchain node when determining that it is the first received communication request Correspondence; a relationship configuration module, configured to configure the first blockchain node and the second blockchain node in the same local area network when there is a business correspondence; a relationship establishment module, used in the local area network Establish a communication connection between the first blockchain node and the second blockchain node.
根据本申请的第三方面,提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序在被处理器执行时使得处理器执行以下处理:According to a third aspect of the present application, there is provided a computer-readable storage medium on which a computer program is stored, which when executed by a processor causes the processor to perform the following processing:
在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。When the first blockchain node receives the communication request sent by the second blockchain node, it is determined whether the communication request is the first received communication request; if it is the first received communication request, the second block is judged Whether there is a business correspondence between the chain node and the first blockchain node; if there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network; A communication connection between the first blockchain node and the second blockchain node is established in the local area network.
根据本申请实施例的第四方面,提供了一种电子设备,包括:According to a fourth aspect of the embodiments of the present application, an electronic device is provided, including:
处理器;以及Processor; and
存储器,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如下处理:在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。The memory is used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the following processing: in the first blockchain When the node receives the communication request sent by the second blockchain node, it determines whether the communication request is the first received communication request; if it is the first received communication request, it determines whether the second blockchain node is in contact with the There is a business correspondence between the first blockchain node; if there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network; establish the first A communication connection between a blockchain node and the second blockchain node.
有益效果Beneficial effect
本申请实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present application may include the following beneficial effects:
本申请的一种实施例所提供的区块链节点之间的通信方法中,通过在判断是首次接收的通信请求时,将判断存在业务对应关系的第一区块链节点与第二区块链节点配置在同一局域网,并在局域网内建立节点之间的通信连接,使得两个节点之间不再需要跨越多级网关进行通讯,提升了数据传输速度,提升了用户体验。In a communication method between blockchain nodes provided by an embodiment of the present application, when it is determined that the communication request is received for the first time, the first blockchain node and the second block that have a business correspondence relationship are determined The chain nodes are configured in the same local area network, and the communication connection between the nodes is established in the local area network, so that the two nodes no longer need to communicate across the multi-level gateway, which improves the data transmission speed and enhances the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the present application.
附图说明BRIEF DESCRIPTION
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并于说明书一起用于解释本申请的原理。The drawings herein are incorporated into the specification and constitute a part of the specification, show embodiments consistent with the application, and are used together with the specification to explain the principles of the application.
图1示意性示出本申请示例性实施例中一种区块链节点之间的通信方法的流程图;FIG. 1 schematically shows a flowchart of a communication method between blockchain nodes in an exemplary embodiment of the present application;
图2示意性示出本申请示例性实施例中将所述第一区块链节点与所述第二区块链节点配置在同一局域网的方法流程图;2 schematically shows a flowchart of a method for configuring the first blockchain node and the second blockchain node on the same local area network in an exemplary embodiment of the present application;
图3示意性示出本申请示例性实施例中同时建立多个通信连接时,区块链节点之间的通信架构示意图;3 schematically shows a schematic diagram of a communication architecture between blockchain nodes when multiple communication connections are established simultaneously in an exemplary embodiment of the present application;
图4示意性示出本申请示例性实施例中在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验的方法流程图;4 schematically shows a flowchart of a method for generating a verification code in the virtual private network server and sending it to a gateway in the private network for verification in an exemplary embodiment of the present application;
图5示意性示出本申请示例性实施例中根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网的方法流程图;FIG. 5 schematically shows a flowchart of a method for configuring the first blockchain node and the second blockchain node on the same local area network according to the matching information in an exemplary embodiment of the present application;
图6示意性示出本申请示例性实施例中一种区块链节点之间的通信装置的组成示意图;FIG. 6 schematically shows a composition diagram of a communication device between blockchain nodes in an exemplary embodiment of the present application;
图7示意性示出本申请示例性实施例中另一种区块链节点之间的通信装置的组成示意图;7 is a schematic diagram showing the composition of another communication device between blockchain nodes in an exemplary embodiment of the present application;
图8示意性示出了适于用来实现本申请示例性实施例的电子设备的计算机系统的结构示意图;FIG. 8 schematically shows a schematic structural diagram of a computer system suitable for implementing an electronic device of an exemplary embodiment of the present application;
图9示意性示出了根据本申请的一些实施例的计算机可读存储介质的示意图。FIG. 9 schematically shows a schematic diagram of a computer-readable storage medium according to some embodiments of the present application.
本发明的实施方式Embodiments of the invention
现在将参考附图更全面地描述示例实施方式。然而,示例实施方式能够以多种形式实施,且不应被理解为限于在此阐述的范例;相反,提供这些实施方式使得本申请将更加全面和完整,并将示例实施方式的构思全面地传达给本领域的技术人员。所描述的特征、结构或特性可以以任何合适的方式结合在一个或更多实施方式中。Example embodiments will now be described more fully with reference to the drawings. However, the example embodiments can be implemented in various forms and should not be construed as being limited to the examples set forth herein; on the contrary, providing these embodiments makes the application more comprehensive and complete, and fully conveys the concept of the example embodiments For those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner.
此外,附图仅为本申请的示意性图解,并非一定是按比例绘制。图中相同的附图标记表示相同或类似的部分,因而将省略对它们的重复描述。附图中所示的一些方框图是功能实体,不一定必须与物理或逻辑上独立的实体相对应。可以采用软件形式来实现这些功能实体,或在一个或多个硬件模块或集成电路中实现这些功能实体,或在不同网络和/或处理器装置和/或微控制器装置中实现这些功能实体。In addition, the drawings are only schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repeated description will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily have to correspond to physically or logically independent entities. These functional entities may be implemented in the form of software, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and/or processor devices and/or microcontroller devices.
在本示例性实施例中,首先提供了一种区块链节点之间的通信方法。参考图1中所示,上述的区块链节点之间的通信方法可以包括以下步骤:In this exemplary embodiment, first, a communication method between blockchain nodes is provided. Referring to FIG. 1, the above communication method between blockchain nodes may include the following steps:
S110,在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;S110: When the first blockchain node receives the communication request sent by the second blockchain node, determine whether the communication request is the first received communication request;
S120,若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;S120: If it is determined that the communication request is received for the first time, determine whether there is a business correspondence between the second blockchain node and the first blockchain node;
S130,若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;S130: If there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network;
S140,在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。S140: Establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
根据本示例性实施例中所提供的区块链节点之间的通信方法中,通过在判断是首次接收的通信请求时,将判断存在业务对应关系的第一区块链节点与第二区块链节点配置在同一局域网,并在局域网内建立节点之间的通信连接,使得两个节点之间不再需要跨越多级网关进行通讯,提升了数据传输速度,提升了用户体验。According to the communication method between the blockchain nodes provided in the present exemplary embodiment, by judging that the communication request is received for the first time, the first blockchain node and the second block that judge that there is a business correspondence relationship The chain nodes are configured in the same local area network, and the communication connection between the nodes is established in the local area network, so that the two nodes no longer need to communicate across the multi-level gateway, which improves the data transmission speed and enhances the user experience.
下面,将结合附图及实施例对本示例性实施例中的区块链节点之间的通信方法的各个步骤进行更详细的说明。Hereinafter, each step of the communication method between blockchain nodes in this exemplary embodiment will be described in more detail with reference to the accompanying drawings and embodiments.
在步骤S110中,第一区块链节点在接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求。In step S110, when receiving the communication request sent by the second blockchain node, the first blockchain node determines whether the communication request is the first received communication request.
在本申请的一种示例实施例中,所述首次接收可以是第一区块链节点在所有历史时间轴上第一次接收到第二区块链节点的通信请求,也可以是对于预设验证周期内第一次接收到第二区块链节点的通信请求。所述预设验证周期可以根据时间确定,例如每个验证周期为10分钟、1小时等;也可以根据频次确定,例如,每通信连接50次,刷新一次验证周期等。In an example embodiment of the present application, the first reception may be that the first blockchain node receives the communication request of the second blockchain node for the first time on all historical timelines, or it may be a preset The communication request of the second blockchain node is received for the first time in the verification cycle. The preset verification period may be determined according to time, for example, each verification period is 10 minutes, 1 hour, etc.; or may be determined according to frequency, for example, refreshing the verification period once every 50 communication connections.
在本申请的其他示例性实施例中,所述首次接收还可以包括在判断所述第二区块链节点与所述第一区块链节点不存在业务对应关系之后,第一区块链节点第一次接收到第二区块链节点的通信请求或者在断开通信连接之后,第一区块链节点第一次接收到第二区块链节点的通信请求。例如,在判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系时出现意外错误(例如验证时输入错误验证码等)导致判断两个节点之间不存在业务对应关系之后,第二区块链节点再次发送通信请求,第一区块链节点的接收也可以被定义为首次接收;再如,第一区块链节点和第二区块链节点之间的通信连接由于业务对应关系解除而断开,在两个节点重新建立业务对应关系后,第二区块链节点发送通信请求,第一区块链节点的接收也可以被定义为首次接收。In other exemplary embodiments of the present application, the first reception may further include after determining that there is no business correspondence between the second blockchain node and the first blockchain node, the first blockchain node The communication request of the second blockchain node is received for the first time or after the communication connection is disconnected, the first blockchain node receives the communication request of the second blockchain node for the first time. For example, when judging whether the second blockchain node has a business correspondence with the first blockchain node, an unexpected error (such as entering an incorrect verification code during verification) results in the judgment that there is no business between the two nodes After the correspondence, the second blockchain node sends a communication request again, and the reception of the first blockchain node can also be defined as the first reception; again, for example, between the first blockchain node and the second blockchain node The communication connection is disconnected due to the cancellation of the business correspondence. After the two nodes re-establish the business correspondence, the second blockchain node sends a communication request, and the reception of the first blockchain node can also be defined as the first reception.
在步骤S120中,若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系。In step S120, if it is determined that the communication request is received for the first time, it is determined whether there is a business correspondence between the second blockchain node and the first blockchain node.
在本申请的一种示例实施例中,所述业务对应关系指所述第一区块链节点与所述第二区块链节点之间存在固定业务关系。例如,不同的业务节点为不同的应用(Application,APP)提供服务。业务节点将APP产生的业务数据发送给共识节点进行共识验证。假设某业务节点是审批事务相关APP对应的服务器,另一业务节点是申请事务相关APP对应的服务器,用户通过申请事务相关APP提出某一申请之后,可通过审批事务相关APP进行审批,则这两个业务节点就会参与同一个业务,两个业务节点之间存在业务对应关系。In an exemplary embodiment of the present application, the business correspondence relationship refers to a fixed business relationship between the first blockchain node and the second blockchain node. For example, different business nodes provide services for different applications (Application, APP). The business node sends the business data generated by the APP to the consensus node for consensus verification. Assuming that a business node is a server corresponding to an app related to an approval transaction, and another business node is a server corresponding to an application related to an app. After a user makes an application through the app related to the app, the app can approve the app related to the app. Each business node will participate in the same business, and there is a business correspondence between the two business nodes.
在本申请的一种示例实施例中,业务对应关系的判断可以使用第三方技术验证。例如,可以用短信认证、微信认证、邮件验证等移动端技术来确认业务对应关系,也可以用设备的物理基因特征和用户的生物基因特征来确认业务对应关系。此外,对于金融或者政府平台,还可以使用第三方信息保全技术来实现独立信息公正、证据链保存和司法存证,辅助进行业务对应关系的判断。由于判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系时可以使用第三方技术进行验证,避免因使用CA证书而导致安全隐患的同时丰富了业务对应关系验证方法的多样性,提升了验证时的用户体验。In an example embodiment of the present application, the judgment of the business correspondence relationship may be verified using third-party technology. For example, mobile terminal technologies such as SMS authentication, WeChat authentication, and mail verification can be used to confirm the business correspondence, or the physical genetic characteristics of the device and the user's biological genetic characteristics can be used to confirm the business correspondence. In addition, for financial or government platforms, third-party information preservation technology can also be used to achieve independent information fairness, evidence chain preservation, and judicial certificate storage to assist in the judgment of business correspondence. When determining whether the second blockchain node has a business correspondence with the first blockchain node, third-party technology can be used for verification to avoid potential security risks due to the use of CA certificates while enriching business correspondence verification The diversity of methods improves the user experience during verification.
在步骤S130中,若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网。In step S130, if there is a business correspondence, the first blockchain node and the second blockchain node are configured on the same local area network.
在本申请的一种示例实施例中,将所述第一区块链节点与所述第二区块链节点配置在同一局域网,可以是用户手动将所述第一区块链节点和第二区块链节点配置在同一局域网内,也可以是自动配置。In an exemplary embodiment of the present application, the first blockchain node and the second blockchain node are configured on the same local area network, and the user may manually connect the first blockchain node and the second blockchain node Blockchain nodes are configured in the same local area network or can be configured automatically.
在本申请的一种示例实施例中提供的一种自动配置的方法,在所述第一区块链节点和所述第二区块链节点所属的区块链网络中加入局域网配置节点;其中,所述局域网配置节点包括虚拟专用网服务器和专用网络中的网关。在本申请的一种示例实施例中,局域网配置节点可以将多个存在业务对应关系的区块链节点分别配置在不同的局域网,以同时建立多个通信连接。在同时建立多个通信连接时,区块链节点之间的通信架构参照图3所示。In an example configuration provided in an example embodiment of the present application, an automatic configuration method includes adding a LAN configuration node to a blockchain network to which the first blockchain node and the second blockchain node belong; wherein , The local area network configuration node includes a virtual private network server and a gateway in the private network. In an exemplary embodiment of the present application, the local area network configuration node may configure a plurality of blockchain nodes that have a business correspondence relationship in different local area networks to establish multiple communication connections at the same time. When multiple communication connections are established at the same time, the communication architecture between blockchain nodes is shown in FIG. 3.
在上述加入所述局域网配置节点的情况下,将所述第一区块链节点与所述第二区块链节点配置在同一局域网,参照图2所示,包括如下步骤S210至S230,以下详细进行阐述:In the case where the above-mentioned local area network configuration node is added, the first blockchain node and the second blockchain node are configured in the same local area network, as shown in FIG. 2, including the following steps S210 to S230, the following details To elaborate:
在步骤S210中,在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验。In step S210, a verification code is generated in the virtual private network server and sent to the gateway in the private network for verification.
在本申请的一种示例实施例中,所述验证码可以包括虚拟专用网服务器标识。为了进一步提升安全性,可以预先在虚拟专用网服务器中配置RSA私钥,进而可以使用RSA私钥对验证码报文进行加密后,再将加密后的验证码报文发送给虚拟专用网中的网关进行校验。通过使用RSA公钥和私钥对所述验证码进行加密,提高了通过验证码校验的安全性能,进而进一步提升了区块链节点之间的通信安全。In an example embodiment of the present application, the verification code may include a virtual private network server identifier. To further improve security, you can configure the RSA private key in the virtual private network server in advance, and then use the RSA private key to encrypt the verification code message, and then send the encrypted verification code message to the virtual private network. The gateway performs verification. By using the RSA public key and private key to encrypt the verification code, the security performance through verification of the verification code is improved, thereby further improving the communication security between blockchain nodes.
具体地,所述在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验,参照图4所示,包括如下步骤:Specifically, the verification code generated in the virtual private network server and sent to the gateway in the private network for verification, as shown in FIG. 4, includes the following steps:
步骤S410,在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码。Step S410: Generate a verification code in the virtual private network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code.
步骤S420,将所述加密验证码发送至所述专用网络中的网关。Step S420: Send the encrypted verification code to the gateway in the private network.
步骤S430,在所述专用网络中的网关中根据预设RSA公钥对所述加密验证码进行解密,并对解密后的验证码进行校验;其中,所述预设RSA公钥与所述RSA私钥对应。Step S430, in the gateway in the private network, decrypt the encrypted verification code according to a preset RSA public key, and verify the decrypted verification code; wherein, the preset RSA public key and the The RSA private key corresponds.
在步骤S220中,若校验通过,则对所述虚拟专用网服务器配置并发送匹配信息。In step S220, if the verification is passed, the virtual private network server is configured and sent matching information.
在本申请的一种示例实施例中,对所述虚拟专用网服务器配置并发送的匹配信息包括私网IP地址段和加密密钥。In an exemplary embodiment of the present application, the matching information configured and sent to the virtual private network server includes a private network IP address segment and an encryption key.
在步骤S230中,待所述虚拟专用网服务器接收到所述第一区块链节点和所述第二区块链节点加入局域网的请求时,根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网。In step S230, when the virtual private network server receives the request that the first blockchain node and the second blockchain node join the local area network, the first blockchain is converted according to the matching information The node and the second blockchain node are configured on the same local area network.
在本申请的一种示例实施例中,所述匹配信息包括私网IP地址段和加密密钥,对应的,所述根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网,参照图5所示,包括如下步骤:In an exemplary embodiment of the present application, the matching information includes a private network IP address segment and an encryption key. Correspondingly, the first blockchain node and the second Blockchain nodes are configured in the same local area network, as shown in Figure 5, including the following steps:
步骤S510,所述虚拟专用网服务器在所述私网IP地址段内为所述第一区块链节点和所述第二区块链节点分配IP地址;Step S510, the virtual private network server assigns IP addresses to the first blockchain node and the second blockchain node within the private network IP address segment;
步骤S520,基于所述IP地址,使用所述加密密钥向所述专用网络中的网关传输所述第一区块链节点和所述第二区块链节点的数据,以使所述第一区块链节点和所述第二区块链节点配置在同一局域网。Step S520, based on the IP address, using the encryption key to transmit the data of the first blockchain node and the second blockchain node to the gateway in the private network, so that the first The blockchain node and the second blockchain node are arranged in the same local area network.
在本申请的一种示例实施例中,还可以通过其他方式将第一区块链节点和第二区块链节点配置在同一局域网,例如可以使用专用的网关设备等,本申请中对此不做特殊限定。In an example embodiment of the present application, the first blockchain node and the second blockchain node can also be configured in the same local area network by other means, for example, a dedicated gateway device can be used, etc. Make special restrictions.
在步骤S140中,在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。In step S140, a communication connection between the first blockchain node and the second blockchain node is established in the local area network.
在本申请的一种示例实施例中,在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接之后,所述方法还包括:若检测到所述第一区块链节点和/或所述第二区块链节点主动断开局域网连接,则断开所述通信连接。In an exemplary embodiment of the present application, after establishing a communication connection between the first blockchain node and the second blockchain node in the local area network, the method further includes: The first blockchain node and/or the second blockchain node actively disconnects the local area network connection, then disconnects the communication connection.
在本申请的一种示例实施例中,若首次接收为在预设验证周期内首次接收,所述方法还包括:若检测到出现以下至少一种情况,则断开所述通信连接;其中,所述情况包括:预设验证周期结束以及所述通信连接的属性满足预设验证周期的刷新条件。例如,当预设验证周期为10分钟,则在建立通信连接10分钟后,断开所述通信连接;又如,当预设周期为50次通信连接,则在50次通信连接后刷新预设验证周期。In an exemplary embodiment of the present application, if the first reception is the first reception within a preset verification period, the method further includes: if at least one of the following conditions is detected, disconnecting the communication connection; wherein, The situation includes: the end of the preset verification period and the attribute of the communication connection meeting the refresh condition of the preset verification period. For example, when the preset verification period is 10 minutes, the communication connection is disconnected 10 minutes after the communication connection is established; for another example, when the preset period is 50 communication connections, the preset is refreshed after 50 communication connections Verification cycle.
需要注意的是,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。It should be noted that the above drawings are only schematic illustrations of the processing included in the method according to the exemplary embodiment of the present application, and are not intended to limit the purpose. It is easy to understand that the processes shown in the above drawings do not indicate or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be performed synchronously or asynchronously in multiple modules, for example.
此外,在本申请的示例性实施方式中,还提供了一种区块链节点之间的通信装置。参照图6所示,所述区块链节点之间的通信装置600包括:请求验证模块610,关系验证模块620,关系配置模块630,和关系建立模块640。其中:In addition, in an exemplary embodiment of the present application, a communication device between blockchain nodes is also provided. Referring to FIG. 6, the communication device 600 between the blockchain nodes includes a request verification module 610, a relationship verification module 620, a relationship configuration module 630, and a relationship establishment module 640. among them:
所述请求验证模块610可以用于第一区块链节点在接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求。The request verification module 610 may be used for the first blockchain node to determine whether the communication request is the first received communication request when receiving the communication request sent by the second blockchain node.
所述关系验证模块620可以用于在判断是首次接收的通信请求时,判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系。The relationship verification module 620 may be used to determine whether there is a business correspondence between the second blockchain node and the first blockchain node when determining that the communication request is received for the first time.
所述关系配置模块630可以用于在存在业务对应关系时,将所述第一区块链节点与所述第二区块链节点配置在同一局域网。The relationship configuration module 630 may be used to configure the first blockchain node and the second blockchain node on the same local area network when there is a business correspondence.
所述关系建立模块640可以用于在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。The relationship establishing module 640 may be used to establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
在本申请的另一种示例性实施例中,基于前述方案,参照图7所示,所述装置还包括:连接控制模块650;所述连接控制模块650可以用于在检测到所述第一区块链节点和/或所述第二区块链节点主动断开局域网连接时,断开所述通信连接。In another exemplary embodiment of the present application, based on the foregoing solution, referring to FIG. 7, the apparatus further includes: a connection control module 650; the connection control module 650 may be used to detect the first When the blockchain node and/or the second blockchain node actively disconnects the local area network connection, the communication connection is disconnected.
在本申请的一种示例性实施例中,基于前述方案,所述连接控制模块650可以用于在检测到出现以下至少一种情况时,断开所述通信连接;其中,所述情况包括:预设验证周期结束以及所述通信连接的属性满足预设验证周期的刷新条件。In an exemplary embodiment of the present application, based on the foregoing solution, the connection control module 650 may be used to disconnect the communication connection when at least one of the following conditions is detected; wherein, the conditions include: The preset verification period ends and the attribute of the communication connection satisfies the refresh condition of the preset verification period.
在本申请的一种示例性实施例中,所述关系配置模块630还用于在所述第一区块链节点和所述第二区块链节点所属的区块链网络中加入局域网配置节点;其中,所述局域网配置节点包括虚拟专用网服务器和专用网络中的网关。In an exemplary embodiment of the present application, the relationship configuration module 630 is further used to add a LAN configuration node to the blockchain network to which the first blockchain node and the second blockchain node belong ; Wherein, the local area network configuration node includes a virtual private network server and a gateway in the private network.
所述关系配置模块630包括:The relationship configuration module 630 includes:
验证码生成单元,用于在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验;A verification code generating unit, configured to generate a verification code in the virtual private network server and send it to the gateway in the private network for verification;
匹配信息发送单元,用于若校验通过,则对所述虚拟专用网服务器配置并发送匹配信息;A matching information sending unit, configured to configure and send matching information to the virtual private network server if the verification is passed;
配置单元,用于待所述虚拟专用网服务器接收到所述第一区块链节点和所述第二区块链节点加入局域网的请求时,根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网。The configuration unit is configured to: when the virtual private network server receives the request for the first blockchain node and the second blockchain node to join the local area network, according to the matching information, the first blockchain The node and the second blockchain node are configured on the same local area network.
在本申请的一种示例性实施例中,所述验证码生成单元包括:In an exemplary embodiment of the present application, the verification code generating unit includes:
验证码获取子单元,用于在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码;A verification code obtaining subunit, configured to generate a verification code in the virtual private network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code;
发送子单元,用于将所述加密验证码发送至所述专用网络中的网关;A sending subunit, configured to send the encrypted verification code to the gateway in the dedicated network;
校验子单元,用于在所述专用网络中的网关中根据预设RSA公钥对所述加密验证码进行解密,并对解密后的验证码进行校验;其中,所述预设RSA公钥与所述RSA私钥对应。A check subunit, configured to decrypt the encrypted verification code according to a preset RSA public key in a gateway in the dedicated network, and verify the decrypted verification code; wherein, the preset RSA public key The key corresponds to the RSA private key.
在本申请的一种示例性实施例中,所述匹配信息包括私网IP地址段和加密密钥;In an exemplary embodiment of the present application, the matching information includes a private network IP address segment and an encryption key;
所述配置单元包括:The configuration unit includes:
分配子单元,用于所述虚拟专用网服务器在所述私网IP地址段内为所述第一区块链节点和所述第二区块链节点分配IP地址;An allocation subunit for the virtual private network server to allocate IP addresses for the first blockchain node and the second blockchain node in the private network IP address segment;
传输子单元,用于基于所述IP地址,使用所述加密密钥向所述专用网络中的网关传输所述第一区块链节点和所述第二区块链节点的数据,以使所述第一区块链节点和所述第二区块链节点配置在同一局域网。A transmission subunit for transmitting the data of the first blockchain node and the second blockchain node to the gateway in the private network based on the IP address, using the encryption key The first blockchain node and the second blockchain node are arranged in the same local area network.
在本申请的一种示例性实施例中,所述首次接收包括在预设验证周期内首次接收,所述通信装置还包括:In an exemplary embodiment of the present application, the first reception includes the first reception within a preset verification period, and the communication device further includes:
检测模块,用于若检测到出现以下至少一种情况,则断开所述通信连接;其中,所述情况包括:The detection module is configured to disconnect the communication connection if at least one of the following conditions is detected; wherein, the conditions include:
预设验证周期结束以及所述通信连接的属性满足预设验证周期的刷新条件。The preset verification period ends and the attribute of the communication connection satisfies the refresh condition of the preset verification period.
由于本申请的示例实施例的区块链节点之间的通信装置的各个功能模块与上述区块链节点之间的通信方法的示例实施例的步骤对应,因此对于本申请装置实施例中未披露的细节,请参照本申请上述的区块链节点之间的通信方法的实施例。Since each functional module of the communication device between the blockchain nodes of the example embodiment of the present application corresponds to the steps of the above example embodiment of the communication method between the blockchain nodes, it is not disclosed in the device embodiment of the present application For details, please refer to the embodiment of the communication method between blockchain nodes described above in this application.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本申请的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of the two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
此外,在本申请的示例性实施例中,还提供了一种能够实现上述区块链节点之间的通信的电子设备。In addition, in an exemplary embodiment of the present application, an electronic device capable of implementing communication between the above-mentioned blockchain nodes is also provided.
所属技术领域的技术人员能够理解,本申请的各个方面可以实现为系统、方法或程序产品。因此,本申请的各个方面可以具体实现为以下形式,即:完全的硬件实施例、完全的软件实施例(包括固件、微代码等),或硬件和软件方面结合的实施例,这里可以统称为“电路”、“模块”或“系统”。Those skilled in the art can understand that various aspects of the present application can be implemented as a system, method, or program product. Therefore, various aspects of the present application may be specifically implemented in the form of: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or a combination of hardware and software embodiments, which may be collectively referred to herein as "Circuit", "Module" or "System".
下面参考图8来描述根据本申请的这种实施例的电子设备800。图8显示的电子设备800仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。The electronic device 800 according to this embodiment of the present application is described below with reference to FIG. 8. The electronic device 800 shown in FIG. 8 is only an example, and should not bring any limitation to the functions and use scope of the embodiments of the present application.
如图8所示,电子设备800以通用计算设备的形式表现。电子设备800的组件可以包括但不限于:上述至少一个处理单元810、上述至少一个存储单元820、连接不同系统组件(包括存储单元820和处理单元810)的总线830、显示单元840。As shown in FIG. 8, the electronic device 800 is represented in the form of a general-purpose computing device. Components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
其中,所述存储单元存储有程序代码,所述程序代码可以被所述处理单元810执行,使得所述处理单元810执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施例的步骤。例如,所述处理单元810可以执行如图1中所示的步骤S110:第一区块链节点在接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;S120:若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;S130:若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;S140:在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。Wherein, the storage unit stores a program code, and the program code may be executed by the processing unit 810, so that the processing unit 810 executes various exemplary according to the present application described in the "exemplary method" section of the above description of the specification Example steps. For example, the processing unit 810 may perform step S110 as shown in FIG. 1: when receiving the communication request sent by the second blockchain node, the first blockchain node determines whether the communication request is the first received communication Request; S120: If it is determined that this is the first communication request received, determine whether there is a business correspondence between the second blockchain node and the first blockchain node; S130: If there is a business correspondence, then convert the The first blockchain node and the second blockchain node are configured in the same local area network; S140: establishing a communication connection between the first blockchain node and the second blockchain node in the local area network .
存储单元820可以包括易失性存储单元形式的可读介质,例如随机存取存储单元(RAM)821和/或高速缓存存储单元822,还可以进一步包括只读存储单元(ROM)823。The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 821 and/or a cache storage unit 822, and may further include a read-only storage unit (ROM) 823.
存储单元820还可以包括具有一组(至少一个)程序模块825的程序/实用工具824,这样的程序模块825包括但不限于:操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。The storage unit 820 may further include a program/utility tool 824 having a set of (at least one) program modules 825. Such program modules 825 include but are not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include an implementation of the network environment.
总线830可以为表示几类总线结构中的一种或多种,包括存储单元总线或者存储单元控制器、外围总线、图形加速端口、处理单元或者使用多种总线结构中的任意总线结构的局域总线。The bus 830 may be one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any of a variety of bus structures bus.
电子设备800也可以与一个或多个外部设备870(例如键盘、指向设备、蓝牙设备等)通信,还可与一个或者多个使得用户能与该电子设备800交互的设备通信,和/或与使得该电子设备800能与一个或多个其它计算设备进行通信的任何设备(例如路由器、调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口850进行。并且,电子设备800还可以通过网络适配器860与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器860通过总线830与电子设备800的其它模块通信。应当明白,尽管图中未示出,可以结合电子设备800使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。The electronic device 800 may also communicate with one or more external devices 870 (eg, keyboard, pointing device, Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 800, and/or with This enables the electronic device 800 to communicate with any device (eg, router, modem, etc.) that communicates with one or more other computing devices. This communication can be performed through an input/output (I/O) interface 850. Moreover, the electronic device 800 can also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 860. As shown in the figure, the network adapter 860 communicates with other modules of the electronic device 800 through the bus 830. It should be understood that although not shown in the figure, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive And data backup storage system.
通过以上的实施例的描述,本领域的技术人员易于理解,这里描述的示例实施例可以通过软件实现,也可以通过软件结合必要的硬件的方式来实现。因此,根据本申请实施例的技术方案可以以软件产品的形式体现出来,该软件产品可以存储在一个非易失性存储介质(可以是CD-ROM,U盘,移动硬盘等)中或网络上,包括若干指令以使得一台计算设备(可以是个人计算机、服务器、终端装置、或者网络设备等)执行根据本申请实施例的方法。Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described here can be implemented by software, or can be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to enable a computing device (which may be a personal computer, server, terminal device, or network device, etc.) to execute the method according to the embodiments of the present application.
在本申请的示例性实施例中,还提供了一种计算机可读存储介质,其上存储有能够实现本说明书上述方法的程序产品。在一些可能的实施例中,本申请的各个方面还可以实现为一种程序产品的形式,其包括程序代码,当所述程序产品在终端设备上运行时,所述程序代码用于使所述终端设备执行本说明书上述“示例性方法”部分中描述的根据本申请各种示例性实施例的步骤。In an exemplary embodiment of the present application, there is also provided a computer-readable storage medium on which a program product capable of implementing the above method of this specification is stored. In some possible embodiments, various aspects of the present application may also be implemented in the form of a program product, which includes program code, and when the program product runs on a terminal device, the program code is used to enable the The terminal device executes the steps according to various exemplary embodiments of the present application described in the "Exemplary Method" section of this specification.
参考图9,描述了根据本申请的实施例的用于实现上述方法的程序产品900,其可以采用便携式紧凑盘只读存储器(CD-ROM)并包括程序代码,并可以在终端设备,例如个人电脑上运行。然而,本申请的程序产品不限于此,在本文件中,可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。With reference to FIG. 9, a program product 900 for implementing the above method according to an embodiment of the present application is described, which may use a portable compact disk read-only memory (CD-ROM) and include program code, and may be used in a terminal device, such as a personal Run on the computer. However, the program product of the present application is not limited to this. In this document, the readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, apparatus, or device.
所述程序产品可以采用一个或多个可读介质的任意组合。可读介质可以是可读信号介质或者可读存储介质。可读存储介质例如可以为但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了可读程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。可读信号介质还可以是可读存储介质以外的任何可读介质,该可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。The computer-readable signal medium may include a data signal that is transmitted in baseband or as part of a carrier wave, in which readable program code is carried. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. The readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device.
可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于无线、有线、光缆、RF等等,或者上述的任意合适的组合。The program code contained on the readable medium may be transmitted on any appropriate medium, including but not limited to wireless, wired, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言的任意组合来编写用于执行本申请操作的程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、C++等,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算设备上执行、部分地在用户设备上执行、作为一个独立的软件包执行、部分在用户计算设备上部分在远程计算设备上执行、或者完全在远程计算设备或服务器上执行。在涉及远程计算设备的情形中,远程计算设备可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算设备,或者,可以连接到外部计算设备(例如利用因特网服务提供商来通过因特网连接)。The program code for performing the operations of the present application can be written in any combination of one or more programming languages, which includes object-oriented programming languages such as Java, C++, etc., and also includes the conventional procedural formula Programming language-such as "C" language or similar programming language. The program code may be executed entirely on the user computing device, partly on the user device, as an independent software package, partly on the user computing device and partly on the remote computing device, or entirely on the remote computing device or server To execute. In situations involving remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (for example, using Internet service provision Business to connect via the Internet).
此外,上述附图仅是根据本申请示例性实施例的方法所包括的处理的示意性说明,而不是限制目的。易于理解,上述附图所示的处理并不表明或限制这些处理的时间顺序。另外,也易于理解,这些处理可以是例如在多个模块中同步或异步执行的。Furthermore, the above-mentioned drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present application, and are not intended to limit the purpose. It is easy to understand that the processes shown in the above drawings do not indicate or limit the chronological order of these processes. In addition, it is also easy to understand that these processes may be performed synchronously or asynchronously in multiple modules, for example.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其他实施例。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由权利要求指出。After considering the description and practicing the invention disclosed herein, those skilled in the art will easily think of other embodiments of the present application. This application is intended to cover any variations, uses, or adaptations of this application, which follow the general principles of this application and include common general knowledge or customary technical means in the technical field not disclosed in this application . The description and examples are only considered exemplary, and the true scope and spirit of this application are pointed out by the claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限。It should be understood that the present application is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from the scope thereof. The scope of this application is limited only by the appended claims.

Claims (20)

  1. 一种区块链节点之间的通信方法,其特征在于,包括:A communication method between blockchain nodes, which is characterized by:
    在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;When the first blockchain node receives the communication request sent by the second blockchain node, it is determined whether the communication request is the first received communication request;
    若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;If it is determined that the communication request is received for the first time, it is determined whether there is a business correspondence between the second blockchain node and the first blockchain node;
    若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;If there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network;
    在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。Establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
  2. 根据权利要求1所述的方法,其特征在于,在所述第一区块链节点和所述第二区块链节点所属的区块链网络中设置有局域网配置节点,其中,所述局域网配置节点包括虚拟专用网服务器和专用网络中的网关;The method according to claim 1, wherein a local area network configuration node is provided in the blockchain network to which the first blockchain node and the second blockchain node belong, wherein the local area network configuration Nodes include virtual private network servers and gateways in private networks;
    所述将所述第一区块链节点与所述第二区块链节点配置在同一局域网,包括:The configuration of the first blockchain node and the second blockchain node on the same local area network includes:
    在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验;Generate a verification code in the virtual private network server and send it to the gateway in the private network for verification;
    若校验通过,则对所述虚拟专用网服务器配置并发送匹配信息;If the verification is passed, configure and send matching information to the virtual private network server;
    待所述虚拟专用网服务器接收到所述第一区块链节点和所述第二区块链节点加入局域网的请求时,根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网。When the virtual private network server receives the request of the first blockchain node and the second blockchain node to join the local area network, the first blockchain node and the second blockchain node are combined according to the matching information. The two blockchain nodes are configured on the same local area network.
  3. 根据权利要求2所述的方法,其特征在于,所述在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验,包括:The method according to claim 2, wherein the generating a verification code in the virtual private network server and sending it to the gateway in the private network for verification includes:
    在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码;Generating a verification code in the virtual private network server, and encrypting the verification code according to a preset RSA private key to obtain an encrypted verification code;
    将所述加密验证码发送至所述专用网络中的网关;Send the encrypted verification code to the gateway in the dedicated network;
    在所述专用网络中的网关中根据预设RSA公钥对所述加密验证码进行解密,并对解密后的验证码进行校验;其中,所述预设RSA公钥与所述RSA私钥对应。Decrypt the encrypted verification code according to a preset RSA public key in the gateway in the private network, and verify the decrypted verification code; wherein, the preset RSA public key and the RSA private key correspond.
  4. 根据权利要求2所述的方法,其特征在于,所述匹配信息包括私网IP地址段和加密密钥;The method according to claim 2, wherein the matching information includes a private network IP address segment and an encryption key;
    所述根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网,包括:The configuring the first blockchain node and the second blockchain node on the same local area network according to the matching information includes:
    所述虚拟专用网服务器在所述私网IP地址段内为所述第一区块链节点和所述第二区块链节点分配IP地址;The virtual private network server assigns IP addresses to the first blockchain node and the second blockchain node within the private network IP address segment;
    基于所述IP地址,使用所述加密密钥向所述专用网络中的网关传输所述第一区块链节点和所述第二区块链节点的数据,以使所述第一区块链节点和所述第二区块链节点配置在同一局域网。Based on the IP address, the encryption key is used to transmit the data of the first blockchain node and the second blockchain node to the gateway in the private network, so that the first blockchain The node and the second blockchain node are configured on the same local area network.
  5. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    若检测到所述第一区块链节点和/或所述第二区块链节点主动断开局域网连接,则断开所述通信连接。If it is detected that the first blockchain node and/or the second blockchain node actively disconnects the local area network connection, the communication connection is disconnected.
  6. 一种区块链节点之间的通信装置,其特征在于,包括:A communication device between blockchain nodes, characterized in that it includes:
    请求验证模块,用于第一区块链节点在接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;The request verification module is used for the first blockchain node to determine whether the communication request is the first received communication request when receiving the communication request sent by the second blockchain node;
    关系验证模块,用于在判断是首次接收的通信请求时,判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;The relationship verification module is used to determine whether there is a business correspondence between the second blockchain node and the first blockchain node when determining that it is the first communication request received;
    关系配置模块,用于在存在业务对应关系时,将所述第一区块链节点与所述第二区块链节点配置在同一局域网;A relationship configuration module, configured to configure the first blockchain node and the second blockchain node on the same local area network when there is a business correspondence relationship;
    关系建立模块,用于在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。The relationship establishment module is used to establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
  7. 根据权利要求6所述的通信装置,其特征在于,所述装置还包括:The communication device according to claim 6, wherein the device further comprises:
    连接控制模块,用于在检测到所述第一区块链节点和/或所述第二区块链节点主动断开局域网连接时,断开所述通信连接。The connection control module is configured to disconnect the communication connection when detecting that the first blockchain node and/or the second blockchain node actively disconnects the local area network connection.
  8. 根据权利要求7所述的通信装置,其特征在于,所述关系配置模块还用于在所述第一区块链节点和所述第二区块链节点所属的区块链网络中设置局域网配置节点,其中,所述局域网配置节点包括虚拟专用网服务器和专用网络中的网关;The communication device according to claim 7, wherein the relationship configuration module is further configured to set a local area network configuration in the blockchain network to which the first blockchain node and the second blockchain node belong A node, wherein the local area network configuration node includes a virtual private network server and a gateway in the private network;
    所述关系配置模块包括:The relationship configuration module includes:
    验证码生成单元,用于在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验;A verification code generating unit, configured to generate a verification code in the virtual private network server and send it to the gateway in the private network for verification;
    匹配信息发送单元,用于若校验通过,则对所述虚拟专用网服务器配置并发送匹配信息;A matching information sending unit, configured to configure and send matching information to the virtual private network server if the verification is passed;
    配置单元,用于待所述虚拟专用网服务器接收到所述第一区块链节点和所述第二区块链节点加入局域网的请求时,根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网。The configuration unit is configured to: when the virtual private network server receives the request for the first blockchain node and the second blockchain node to join the local area network, according to the matching information, the first blockchain The node and the second blockchain node are configured on the same local area network.
  9. 根据权利要求7所述的通信装置,其特征在于,所述验证码生成单元包括:The communication device according to claim 7, wherein the verification code generating unit comprises:
    验证码获取子单元,用于在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码;A verification code obtaining subunit, configured to generate a verification code in the virtual private network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code;
    发送子单元,用于将所述加密验证码发送至所述专用网络中的网关;A sending subunit, configured to send the encrypted verification code to the gateway in the dedicated network;
    校验子单元,用于在所述专用网络中的网关中根据预设RSA公钥对所述加密验证码进行解密,并对解密后的验证码进行校验;其中,所述预设RSA公钥与所述RSA私钥对应。A check subunit, configured to decrypt the encrypted verification code according to a preset RSA public key in a gateway in the dedicated network, and verify the decrypted verification code; wherein, the preset RSA public key The key corresponds to the RSA private key.
  10. 根据权利要求9所述的通信装置,其特征在于,所述匹配信息包括私网IP地址段和加密密钥;The communication device according to claim 9, wherein the matching information includes a private network IP address segment and an encryption key;
    所述配置单元包括:The configuration unit includes:
    分配子单元,用于所述虚拟专用网服务器在所述私网IP地址段内为所述第一区块链节点和所述第二区块链节点分配IP地址;An allocation subunit for the virtual private network server to allocate IP addresses for the first blockchain node and the second blockchain node in the private network IP address segment;
    传输子单元,用于基于所述IP地址,使用所述加密密钥向所述专用网络中的网关传输所述第一区块链节点和所述第二区块链节点的数据,以使所述第一区块链节点和所述第二区块链节点配置在同一局域网。A transmission subunit for transmitting the data of the first blockchain node and the second blockchain node to the gateway in the private network based on the IP address, using the encryption key The first blockchain node and the second blockchain node are arranged in the same local area network.
  11. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序在被处理器执行时使得处理器执行以下处理:A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the processor causes the processor to perform the following processing:
    在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;When the first blockchain node receives the communication request sent by the second blockchain node, it is determined whether the communication request is the first received communication request;
    若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;If it is determined that the communication request is received for the first time, it is determined whether there is a business correspondence between the second blockchain node and the first blockchain node;
    若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;If there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network;
    在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。Establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
  12. 根据权利要求11所述的存储介质,其特征在于,所述计算机程序在被处理器执行时使得处理器在所述第一区块链节点和所述第二区块链节点所属的区块链网络中设置局域网配置节点,其中,所述局域网配置节点包括虚拟专用网服务器和专用网络中的网关;The storage medium according to claim 11, wherein the computer program, when executed by the processor, causes the processor to block the blockchain to which the first blockchain node and the second blockchain node belong A LAN configuration node is provided in the network, wherein the LAN configuration node includes a virtual private network server and a gateway in the private network;
    其中,所述计算机程序在被处理器执行时使得处理器通过执行如下处理实现将所述第一区块链节点与所述第二区块链节点配置在同一局域网:Wherein, when the computer program is executed by the processor, the processor executes the following processes to configure the first blockchain node and the second blockchain node on the same local area network:
    在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验;Generate a verification code in the virtual private network server and send it to the gateway in the private network for verification;
    若校验通过,则对所述虚拟专用网服务器配置并发送匹配信息;If the verification is passed, configure and send matching information to the virtual private network server;
    待所述虚拟专用网服务器接收到所述第一区块链节点和所述第二区块链节点加入局域网的请求时,根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网。When the virtual private network server receives the request of the first blockchain node and the second blockchain node to join the local area network, the first blockchain node and the second blockchain node are combined according to the matching information. The two blockchain nodes are configured on the same local area network.
  13. 根据权利要求12所述的存储介质,其特征在于,所述计算机程序在被处理器执行时使得处理器通过执行如下处理实现在所述在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验:The storage medium according to claim 12, wherein when the computer program is executed by the processor, the processor causes the processor to generate a verification code in the virtual private network server and send it to the Check the gateway in the private network:
    在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码;Generating a verification code in the virtual private network server, and encrypting the verification code according to a preset RSA private key to obtain an encrypted verification code;
    将所述加密验证码发送至所述专用网络中的网关;Send the encrypted verification code to the gateway in the dedicated network;
    在所述专用网络中的网关中根据预设RSA公钥对所述加密验证码进行解密,并对解密后的验证码进行校验;其中,所述预设RSA公钥与所述RSA私钥对应。Decrypt the encrypted verification code according to a preset RSA public key in the gateway in the private network, and verify the decrypted verification code; wherein, the preset RSA public key and the RSA private key correspond.
  14. 根据权利要求12所述的存储介质,其特征在于,所述匹配信息包括私网IP地址段和加密密钥;所述计算机在被处理器执行时使得处理器通过执行如下处理实现在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码:The storage medium according to claim 12, wherein the matching information includes a private network IP address segment and an encryption key; when the computer is executed by the processor, the processor causes the processor to perform Generate a verification code in the dedicated network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code:
    所述虚拟专用网服务器在所述私网IP地址段内为所述第一区块链节点和所述第二区块链节点分配IP地址;The virtual private network server assigns IP addresses to the first blockchain node and the second blockchain node within the private network IP address segment;
    基于所述IP地址,使用所述加密密钥向所述专用网络中的网关传输所述第一区块链节点和所述第二区块链节点的数据,以使所述第一区块链节点和所述第二区块链节点配置在同一局域网。Based on the IP address, the encryption key is used to transmit the data of the first blockchain node and the second blockchain node to the gateway in the private network, so that the first blockchain The node and the second blockchain node are configured on the same local area network.
  15. 根据权利要求11所述的存储介质,其特征在于,所述计算机程序在被处理器执行时使得处理器还执行如下处理:The storage medium according to claim 11, wherein the computer program, when executed by the processor, causes the processor to further perform the following processing:
    若检测到所述第一区块链节点和/或所述第二区块链节点主动断开局域网连接,则断开所述通信连接。If it is detected that the first blockchain node and/or the second blockchain node actively disconnects the local area network connection, the communication connection is disconnected.
  16. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it includes:
    处理器;以及Processor; and
    存储器,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如下处理:The memory is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the following processing:
    在第一区块链节点接收第二区块链节点发送的通信请求时,判断所述通信请求是否为首次接收的通信请求;When the first blockchain node receives the communication request sent by the second blockchain node, it is determined whether the communication request is the first received communication request;
    若判断是首次接收的通信请求,则判断所述第二区块链节点是否与所述第一区块链节点存在业务对应关系;If it is determined that the communication request is received for the first time, it is determined whether there is a business correspondence between the second blockchain node and the first blockchain node;
    若存在业务对应关系,则将所述第一区块链节点与所述第二区块链节点配置在同一局域网;If there is a business correspondence, configure the first blockchain node and the second blockchain node on the same local area network;
    在所述局域网内建立所述第一区块链节点与所述第二区块链节点之间的通信连接。Establish a communication connection between the first blockchain node and the second blockchain node in the local area network.
  17. 根据权利要求16所述的电子设备,其特征在于,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器在所述第一区块链节点和所述第二区块链节点所属的区块链网络中设置有局域网配置节点,其中,所述局域网配置节点包括虚拟专用网服务器和专用网络中的网关;The electronic device according to claim 16, wherein when the one or more programs are executed by the one or more processors, the one or more processors are located in the first block A local area network configuration node is provided in the blockchain network to which the chain node and the second blockchain node belong, wherein the local area network configuration node includes a virtual private network server and a gateway in the private network;
    其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如下处理:Wherein, when the one or more programs are executed by the one or more processors, the one or more processors implement the following processing:
    在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验;Generate a verification code in the virtual private network server and send it to the gateway in the private network for verification;
    若校验通过,则对所述虚拟专用网服务器配置并发送匹配信息;If the verification is passed, configure and send matching information to the virtual private network server;
    待所述虚拟专用网服务器接收到所述第一区块链节点和所述第二区块链节点加入局域网的请求时,根据所述匹配信息将所述第一区块链节点和所述第二区块链节点配置在同一局域网。When the virtual private network server receives the request of the first blockchain node and the second blockchain node to join the local area network, the first blockchain node and the second blockchain node are combined according to the matching information. The two blockchain nodes are configured on the same local area network.
  18. 根据权利要求17所述的电子设备,其特征在于,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器通过执行如下处理实现在所述在所述虚拟专用网服务器中生成验证码并发送至所述专用网络中的网关进行校验:The electronic device according to claim 17, wherein when the one or more programs are executed by the one or more processors, the one or more processors are implemented in the The verification code is generated in the virtual private network server and sent to the gateway in the private network for verification:
    在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码;Generating a verification code in the virtual private network server, and encrypting the verification code according to a preset RSA private key to obtain an encrypted verification code;
    将所述加密验证码发送至所述专用网络中的网关;Send the encrypted verification code to the gateway in the dedicated network;
    在所述专用网络中的网关中根据预设RSA公钥对所述加密验证码进行解密,并对解密后的验证码进行校验;其中,所述预设RSA公钥与所述RSA私钥对应。Decrypt the encrypted verification code according to a preset RSA public key in the gateway in the private network, and verify the decrypted verification code; wherein, the preset RSA public key and the RSA private key correspond.
  19. 根据权利要求17所述的电子设备,其特征在于,所述匹配信息包括私网IP地址段和加密密钥;当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器通过执行如下处理实现在所述虚拟专用网服务器中生成验证码,并根据预设RSA私钥对所述验证码加密以获取加密验证码:The electronic device according to claim 17, wherein the matching information includes a private network IP address segment and an encryption key; when the one or more programs are executed by the one or more processors, such that The one or more processors perform the following processes to generate a verification code in the virtual private network server, and encrypt the verification code according to a preset RSA private key to obtain an encrypted verification code:
    所述虚拟专用网服务器在所述私网IP地址段内为所述第一区块链节点和所述第二区块链节点分配IP地址;The virtual private network server assigns IP addresses to the first blockchain node and the second blockchain node within the private network IP address segment;
    基于所述IP地址,使用所述加密密钥向所述专用网络中的网关传输所述第一区块链节点和所述第二区块链节点的数据,以使所述第一区块链节点和所述第二区块链节点配置在同一局域网。Based on the IP address, the encryption key is used to transmit the data of the first blockchain node and the second blockchain node to the gateway in the private network, so that the first blockchain The node and the second blockchain node are configured on the same local area network.
  20. 根据权利要求16所述的电子设备,其特征在于,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器还实现如下处理:The electronic device according to claim 16, wherein when the one or more programs are executed by the one or more processors, the one or more processors further implement the following processing:
    若检测到所述第一区块链节点和/或所述第二区块链节点主动断开局域网连接,则断开所述通信连接。If it is detected that the first blockchain node and/or the second blockchain node actively disconnects the local area network connection, the communication connection is disconnected.
PCT/CN2019/094568 2019-01-11 2019-07-03 Communication method and device between blockchain nodes, storage medium and electronic apparatus WO2020143196A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910025476.3A CN109873808A (en) 2019-01-11 2019-01-11 Communication means and device, storage medium and electronic equipment between block chain node
CN201910025476.3 2019-01-11

Publications (1)

Publication Number Publication Date
WO2020143196A1 true WO2020143196A1 (en) 2020-07-16

Family

ID=66917568

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/094568 WO2020143196A1 (en) 2019-01-11 2019-07-03 Communication method and device between blockchain nodes, storage medium and electronic apparatus

Country Status (2)

Country Link
CN (1) CN109873808A (en)
WO (1) WO2020143196A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112351045A (en) * 2020-12-26 2021-02-09 旗美供应链(深圳)有限公司 Supply chain management method, system, server and computer readable medium
CN112491981A (en) * 2020-11-13 2021-03-12 中信银行股份有限公司 Distributed cache authentication method and device, electronic equipment and readable storage medium
CN112968923A (en) * 2021-01-21 2021-06-15 河北蜂之巢互联网技术有限公司 Block chain task scheduling method and mini node
CN114186282A (en) * 2020-09-15 2022-03-15 中移互联网有限公司 Block chain deposit certificate system and method and electronic equipment
CN114997877A (en) * 2021-08-25 2022-09-02 福建宏创科技信息有限公司 Network topology data analysis method of IP of virtual currency public link network transaction node, storage medium and electronic equipment
CN117155576A (en) * 2023-08-14 2023-12-01 南昌大学 Data asset tracing method based on multi-scale pooling hash data fingerprint

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109873808A (en) * 2019-01-11 2019-06-11 平安科技(深圳)有限公司 Communication means and device, storage medium and electronic equipment between block chain node
EP4066439A4 (en) * 2020-11-25 2022-12-14 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based trusted platform
CN113347630A (en) * 2021-06-01 2021-09-03 永旗(北京)科技有限公司 Communication method based on block chain
CN114422409A (en) * 2021-12-17 2022-04-29 深圳壹账通智能科技有限公司 Block chain network testing method, device, equipment and storage medium
CN114157640B (en) * 2022-02-10 2022-05-31 北京中宇万通科技股份有限公司 Method, controller and proxy device for block chain communication system
CN115296824B (en) * 2022-10-08 2022-12-16 中国科学院合肥物质科学研究院 Hierarchical transmission method of block chain network based on multi-scale node management and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107124460A (en) * 2017-04-28 2017-09-01 北京汇通金财信息科技有限公司 A kind of alliance's catenary system, the method and apparatus of alliance's chain accounting nodes communication
WO2018125989A2 (en) * 2016-12-30 2018-07-05 Intel Corporation The internet of things
CN108965398A (en) * 2018-06-22 2018-12-07 北京格瑞空间科技有限公司 A kind of control method of the internet of things equipment based on block chain
CN109168139A (en) * 2018-07-09 2019-01-08 北京邮电大学 A kind of WiFi sharing method and server based on block chain
CN109873808A (en) * 2019-01-11 2019-06-11 平安科技(深圳)有限公司 Communication means and device, storage medium and electronic equipment between block chain node

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009627A (en) * 2006-12-27 2007-08-01 华为技术有限公司 A service binding method and device
US10097344B2 (en) * 2016-07-15 2018-10-09 Mastercard International Incorporated Method and system for partitioned blockchains and enhanced privacy for permissioned blockchains
CN107566337B (en) * 2017-07-26 2019-08-09 阿里巴巴集团控股有限公司 Communication means and device between a kind of block chain node
CN108989410B (en) * 2018-07-04 2020-10-30 清华大学 Method for improving throughput efficiency of block chain
CN108900549A (en) * 2018-08-15 2018-11-27 深圳区块大陆科技有限公司 A kind of safe block chain networking technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018125989A2 (en) * 2016-12-30 2018-07-05 Intel Corporation The internet of things
CN107124460A (en) * 2017-04-28 2017-09-01 北京汇通金财信息科技有限公司 A kind of alliance's catenary system, the method and apparatus of alliance's chain accounting nodes communication
CN108965398A (en) * 2018-06-22 2018-12-07 北京格瑞空间科技有限公司 A kind of control method of the internet of things equipment based on block chain
CN109168139A (en) * 2018-07-09 2019-01-08 北京邮电大学 A kind of WiFi sharing method and server based on block chain
CN109873808A (en) * 2019-01-11 2019-06-11 平安科技(深圳)有限公司 Communication means and device, storage medium and electronic equipment between block chain node

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114186282A (en) * 2020-09-15 2022-03-15 中移互联网有限公司 Block chain deposit certificate system and method and electronic equipment
CN114186282B (en) * 2020-09-15 2023-09-19 中移互联网有限公司 Block chain certification system, method and electronic equipment
CN112491981A (en) * 2020-11-13 2021-03-12 中信银行股份有限公司 Distributed cache authentication method and device, electronic equipment and readable storage medium
CN112351045A (en) * 2020-12-26 2021-02-09 旗美供应链(深圳)有限公司 Supply chain management method, system, server and computer readable medium
CN112968923A (en) * 2021-01-21 2021-06-15 河北蜂之巢互联网技术有限公司 Block chain task scheduling method and mini node
CN112968923B (en) * 2021-01-21 2023-05-05 深圳广璞互联网技术有限公司 Block chain task scheduling method and miner node
CN114997877A (en) * 2021-08-25 2022-09-02 福建宏创科技信息有限公司 Network topology data analysis method of IP of virtual currency public link network transaction node, storage medium and electronic equipment
CN117155576A (en) * 2023-08-14 2023-12-01 南昌大学 Data asset tracing method based on multi-scale pooling hash data fingerprint

Also Published As

Publication number Publication date
CN109873808A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
WO2020143196A1 (en) Communication method and device between blockchain nodes, storage medium and electronic apparatus
TWI672648B (en) Business process method and device, data share system, and storage medium
EP3916604B1 (en) Method and apparatus for processing privacy data of block chain, device, storage medium and computer program product
US20210297410A1 (en) Mec platform deployment method and apparatus
US10972448B2 (en) Technologies for data broker assisted transfer of device ownership
US10868801B2 (en) Method and system for establishing connection
WO2020258912A1 (en) Blockchain consensus method, device and system
US20150207817A1 (en) Inter-extension messaging
CN108964893B (en) Key processing method, device, equipment and medium
US20050114682A1 (en) Methods and apparatus for securely configuring a machine in a pre-operating system environment
US8260721B2 (en) Network resource access control methods and systems using transactional artifacts
US20190028559A1 (en) Tcp fast open hardware support in proxy devices
WO2024032660A1 (en) Method and apparatus for changing account data, computer device, and storage medium
WO2020237880A1 (en) Data exchange method based on asymmetric encryption technology, sending terminal and computer readable storage medium
US20200236104A1 (en) Methods and apparatus to verify encrypted handshakes
US8589683B2 (en) Authentication of a secure virtual network computing (VNC) connection
CN112769868A (en) Communication method, communication device, electronic device and storage medium
CN113992427B (en) Data encryption sending method and device based on adjacent nodes
WO2022108525A1 (en) Method, apparatus and system for deploying federated learning application, and electronic device
CN111726328A (en) Method, system and related device for remotely accessing a first device
CN112511620A (en) Network communication method, device, equipment and storage medium
WO2023207113A1 (en) Device interconnection security authentication system, method and apparatus, and server and medium
US20220278966A1 (en) Secure Virtual Personalized Network with Preconfigured Wallets
CN114793178A (en) Network distribution method and device
CN111614660B (en) Method and device for detecting safety verification defects and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19908326

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19908326

Country of ref document: EP

Kind code of ref document: A1