CN109831413A - A kind of block chain network point to point protocol - Google Patents
A kind of block chain network point to point protocol Download PDFInfo
- Publication number
- CN109831413A CN109831413A CN201811606566.3A CN201811606566A CN109831413A CN 109831413 A CN109831413 A CN 109831413A CN 201811606566 A CN201811606566 A CN 201811606566A CN 109831413 A CN109831413 A CN 109831413A
- Authority
- CN
- China
- Prior art keywords
- node
- point
- block chain
- connection
- establish
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses a kind of block chain network point to point protocols, it is related to block chain and network communication technology field, including node A, intelligent contract and node B, one of node A is when needing to establish connection with another node B, request is broadcast on each node of block chain by intelligent contract, the node is had recorded in contract and needs the block chain account address of communication counterpart, time and establishes connection thing by associated description.The block chain network point to point protocol, it can be to establish a point-to-point data transmission connection in the anonymous systems of block chain, and still keep the anonymity of point-to-point each side, the both sides for establishing connection can transmit private data by connection, and establishment of connection needs by mutual consent, there is no the risk being abused, other nodes on network are only just known that be connected with the presence of such one, but can not obtain the private message transmitted in this connection.
Description
Technical field
The present invention relates to block chain and network communication technology field, specially a kind of block chain network point-to-point communication association
View.
Background technique
Block chain technology is a kind of distributed account book technology, the characteristics such as there is decentralization and information can not distort, more next
More by the favor of all trades and professions, in block catenary system, all information is sent to all blocks by way of broadcast
On the participation node of chain, but the data of some business scenarios are not needed to be recorded on block chain and be broadcasted, these scenes are only
Convenience point communicates point.
In current block catenary system, since each side keeps anonymous, point-to-point data connection can not be directly established,
So how to establish a point-to-point data transmission connection in the anonymous systems of block chain, and still keep point-to-point each
The anonymity of side has become a kind of technical problem urgently to be resolved.
Summary of the invention
The object of the invention is in order to make up for the deficiencies of the prior art, provide a kind of block chain network point-to-point communication
Agreement, it is connected with that can establish a point-to-point data transmission in the anonymous systems of block chain, and still holding point pair
The advantages of anonymity of point each side, solves since each side keeps anonymous, can not directly establish point-to-point data connection
Problem.
The present invention is in order to solve the above technical problems, provide the following technical solutions: a kind of block chain network point-to-point communication association
View, including node A, intelligent contract and node B, one of node A be when needing to establish connection with another node B,
Request is broadcast on each node of block chain by intelligent contract, the area that the node needs communication counterpart is had recorded in contract
It block chain account address, time and establishes connection thing by associated description, when the node B receives new block, finds such one
The record of intelligent contract knows have another node A to want to establish privately owned connection with this node, and the node B can choose not
Establish such connection, that is, do not need to carry out any subsequent operation, if node B selection establishes a connection, will have agreed to and
The information that node A is communicated is broadcasted by way of intelligent contract, and the node A uses the public key PubKeyB of node B
The information such as the IP address port of encryption node A, are broadcast to whole network by way of intelligent contract, and the Node-B receiver arrives this
A little encryption information decrypt encryption information by private key PrivKeyB, obtain IP and the port of node A, and send one and pass through private
The Hello message of key PrivKeyB signature.
Further, the node A receives the signature information of node B transmission, is verified by the public key PubKeyB of node B
Signature.
By using above-mentioned technical proposal, can the signature information effectively to node B verify.
Further, if the node A is verified, node A obtains IP address and the port of node B, sends one
The Hello message signed by private key PrivKeyA.
By using above-mentioned technical proposal, node B can be made to be ready for verifying to node A.
Further, the node B receives the signature information of node A transmission, is verified by the public key PubKeyA of node A
Signature.
By using above-mentioned technical proposal, can the signature information effectively to node A verify.
Further, if the node B is verified, a SUCCESS message is returned to, between the node A and node B
Connection at this time it has been established that point-to-point message can be directly transmitted by the connection.
By using above-mentioned technical proposal, it can prompt node A that can construct with node B and connect, it being capable of effectively node A
Point-to-point generation message is carried out with node B.
Compared with prior art, the block chain network point to point protocol have it is following the utility model has the advantages that
1, the present invention, can be to establish a point pair by the block chain network point to point protocol in the anonymous systems of block chain
The data of point transmit connection, and still keep the anonymity of point-to-point each side, and the both sides for establishing connection can be transmitted by connection
Private data, and establishment of connection needs by mutual consent, there is no the risk being abused, other nodes on network are only just known that
It is connected with the presence of such one, but the private message transmitted in this connection can not be obtained.
2, the present invention passes through the block chain network point to point protocol, while each side can be made to keep anonymous, energy
It is enough directly to establish point-to-point data connection, a point-to-point data transmission can be established in the anonymous systems of block chain to be connected
It connects, and still keeps the anonymity of point-to-point each side.
Detailed description of the invention
Fig. 1 is block chain point to point protocol flow chart of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, the present invention provides a kind of technical solution: a kind of block chain network point to point protocol, including section
Point A, intelligent contract and node B, one of node A, will by intelligent contract when needing to establish connection with another node B
Request be broadcast on each node of block chain, had recorded in contract the node need communication counterpart block chain account address,
It time and establishes connection thing by associated description, when node B receives new block, finds the record of such one intelligent contract, know
Dawn has another node A to want to establish privately owned connection with this node, and node B, which can choose, does not establish such connection, that is, is not required to
Any subsequent operation is carried out, if node B selection establishes a connection, will have agreed to pass through intelligence with the information that node A is communicated
The mode of energy contract is broadcasted, and node A uses the information such as the IP address port of public key PubKeyB encryption node A of node B,
Whole network is broadcast to by way of intelligent contract, Node-B receiver to these encryption information is added by private key PrivKeyB decryption
Confidential information, obtains IP and the port of node A, and sends the Hello message signed by private key PrivKeyB.
Further, node A receives the signature information of node B transmission, verifies signature by the public key PubKeyB of node B,
Can the signature information effectively to node B verify.
Further, if node A is verified, node A obtains IP address and the port of node B, sends one and passes through
The Hello message of private key PrivKeyA signature, can make node B be ready for verifying to node A.
Further, node B receives the signature information of node A transmission, verifies signature by the public key PubKeyA of node A,
Can the signature information effectively to node A verify.
Further, if node B is verified, a SUCCESS message is returned, can prompt node A and node B can structure
Build connection.
Further, the connection between node A and node B by the connection at this time it has been established that can be directly transmitted a little
To the message of point, effectively point-to-point generation message can be carried out by node A and node B.
The present invention, can be to establish a point by the block chain network point to point protocol in the anonymous systems of block chain
Connection is transmitted to the data of point, and still keeps the anonymity of point-to-point each side, the both sides for establishing connection can be passed by connection
Defeated private data, and establishment of connection needs by mutual consent, there is no the risk being abused, other nodes on network are only known
Road is connected with the presence of such one, but can not obtain the private message transmitted in this connection, point-to-point by the block chain network
Communication protocol can directly establish point-to-point data connection while each side can be made to keep anonymous, can be in block chain
A point-to-point data transmission connection is established in anonymous systems, and still keeps the anonymity of point-to-point each side.
It although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with
A variety of variations, modification, replacement can be carried out to these embodiments without departing from the principles and spirit of the present invention by understanding
And modification, the scope of the present invention is defined by the appended.
Claims (5)
1. a kind of block chain network point to point protocol, including node A, intelligent contract and node B, it is characterised in that: described
Request is broadcast to each of block chain when needing to establish connection with another node B, through intelligent contract by one of node A
The node is had recorded on a node, in contract to need the block chain account address of communication counterpart, time and establish the connection origin of an incident
Associated description when the node B receives new block, finds the record of such one intelligent contract, knows there is another node A
Want to establish privately owned connection with this node, the node B, which can choose, does not establish such connection, that is, does not need to carry out any subsequent
Operation will have agreed to the side that the information communicated with node A passes through intelligent contract if node B selection establishes a connection
Formula is broadcasted, and the node A passes through intelligence using information such as the IP address ports of public key PubKeyB encryption node A of node B
The mode of energy contract is broadcast to whole network, and the Node-B receiver to these encryption information passes through private key PrivKeyB and decrypts encryption
Information, obtains IP and the port of node A, and sends the Hello message signed by private key PrivKeyB.
2. a kind of block chain network point to point protocol according to claim 1, it is characterised in that: the node A is received
The signature information sent to node B verifies signature by the public key PubKeyB of node B.
3. a kind of block chain network point to point protocol according to claim 2, it is characterised in that: if the node A
It is verified, node A obtains IP address and the port of node B, sends one and is disappeared by the Hello that private key PrivKeyA signs
Breath.
4. a kind of block chain network point to point protocol according to claim 3, it is characterised in that: the node B is received
The signature information sent to node A verifies signature by the public key PubKeyA of node A.
5. a kind of block chain network point to point protocol according to claim 4, it is characterised in that: if the node B
It is verified, returns to a SUCCESS message, the connection between the node A and node B is at this time it has been established that can pass through
The connection directly transmits point-to-point message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811606566.3A CN109831413A (en) | 2018-12-27 | 2018-12-27 | A kind of block chain network point to point protocol |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811606566.3A CN109831413A (en) | 2018-12-27 | 2018-12-27 | A kind of block chain network point to point protocol |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109831413A true CN109831413A (en) | 2019-05-31 |
Family
ID=66861317
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811606566.3A Pending CN109831413A (en) | 2018-12-27 | 2018-12-27 | A kind of block chain network point to point protocol |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109831413A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798535A (en) * | 2019-11-12 | 2020-02-14 | 金蝶软件(中国)有限公司 | Method for realizing P2P communication in block chain, block chain application system and related equipment |
CN111432011A (en) * | 2020-03-30 | 2020-07-17 | 百度国际科技(深圳)有限公司 | Block chain network communication method and equipment |
WO2023000353A1 (en) * | 2021-07-21 | 2023-01-26 | 深圳市信安数字科技有限公司 | Information transmission method, system and apparatus based on blockchain, and storage medium |
-
2018
- 2018-12-27 CN CN201811606566.3A patent/CN109831413A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110798535A (en) * | 2019-11-12 | 2020-02-14 | 金蝶软件(中国)有限公司 | Method for realizing P2P communication in block chain, block chain application system and related equipment |
CN111432011A (en) * | 2020-03-30 | 2020-07-17 | 百度国际科技(深圳)有限公司 | Block chain network communication method and equipment |
CN111432011B (en) * | 2020-03-30 | 2023-02-17 | 百度国际科技(深圳)有限公司 | Block chain network communication method and equipment |
WO2023000353A1 (en) * | 2021-07-21 | 2023-01-26 | 深圳市信安数字科技有限公司 | Information transmission method, system and apparatus based on blockchain, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110581763B (en) | Quantum key service block chain network system | |
Raza et al. | Bluetooth smart: An enabling technology for the Internet of Things | |
CN110489486B (en) | Method, seed node and medium for generating block chain network | |
TW201633742A (en) | Quantum key distribution system, method and apparatus based on trusted relay | |
CN109831413A (en) | A kind of block chain network point to point protocol | |
CN111277404B (en) | Method for realizing quantum communication service block chain | |
CN102098318B (en) | Method for performing end-to-end anonymity safety communication of hop network | |
JP2013520070A (en) | Discovery of credibility in communication networks | |
WO2007127547A4 (en) | Method and system for propagating mutual authentication data in wireless communication networks | |
CN101515896B (en) | Safe socket character layer protocol message forwarding method, device, system and exchange | |
Raffo | Security schemes for the OLSR protocol for ad hoc networks | |
Gawdan et al. | A novel secure key management module for hierarchical clustering wireless sensor networks | |
Abd-Elrahman et al. | Fast group discovery and non-repudiation in D2D communications using IBE | |
CN102437913B (en) | The Verification System of the network user | |
Büttner et al. | Real-world evaluation of an anonymous authenticated key agreement protocol for vehicular ad-hoc networks | |
Ibrahim et al. | A comparison on VANET authentication schemes: Public Key vs. Symmetric Key | |
CN109309622A (en) | A kind of dynamic data publication and network communication implementation method | |
CN112533214A (en) | Method and device for end-to-end secure communication | |
CN103401751A (en) | Method and device for establishing IPSEC (Internet Protocol Security) tunnels | |
CN102857918A (en) | Vehicle-mounted communication system | |
KR100686736B1 (en) | The method of joining in the mobile ad-hoc network through the authentication | |
JP2005032252A5 (en) | ||
KR100919864B1 (en) | Key distribution method and apparatus using network coding, network communication system and recording medium storing program for performing the method thereof | |
Chen et al. | Data collection with privacy preserving in participatory sensing | |
CN110351308A (en) | A kind of Virtual Private Network communication means and Virtual Private Network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |