CN106656784B - Data stream propagation system and method for block chain network - Google Patents
Data stream propagation system and method for block chain network Download PDFInfo
- Publication number
- CN106656784B CN106656784B CN201610895577.2A CN201610895577A CN106656784B CN 106656784 B CN106656784 B CN 106656784B CN 201610895577 A CN201610895577 A CN 201610895577A CN 106656784 B CN106656784 B CN 106656784B
- Authority
- CN
- China
- Prior art keywords
- nodes
- node
- neighbor node
- neighbor
- data
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/28—Routing or path finding of packets in data switching networks using route fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a data stream propagation system and method for a blockchain network, wherein the system includes a plurality of member nodes connected to each other via a network to constitute the blockchain network, wherein each of the plurality of member nodes can add one or more neighboring member nodes as neighbor nodes by performing a predetermined authentication operation with the one or more neighboring member nodes, and each of the plurality of member nodes transmits a data packet constituting a data stream to its neighbor node by means of unicast, and the disclosed system and method have high data stream transmission efficiency and stability.
Description
Technical Field
The present invention relates to a data stream propagation system and method, and more particularly, to a data stream propagation system and method for a blockchain network.
Background
Currently, with the increasing popularity of network-based applications and the increasing abundance of traffic in different domains (e.g., financial domains), it is becoming increasingly important to efficiently propagate a particular data stream (e.g., billing data in the financial domain).
In existing blockchain-based networks (i.e., networks constructed of multiple data block units as member nodes (i.e., blocks) that are cryptographically associated together, there is no central node, and the data within the blockchain is public to all member nodes except encrypted, and is not tampered with once the data information is validated and added to the blockchain), propagation of data streams between member nodes is typically achieved in a multicast-based manner: that is, target member nodes of the same data stream join the same group and share one data stream.
However, the above prior art solutions have the following problems: because the multicast transmission mode of the data stream does not have an error correction mechanism, the data stream is difficult to recover or correct after packet loss or packet error occurs due to data channel blockage.
Therefore, there is a need for: provided are a data stream propagation system and method for a blockchain network having high data stream transmission efficiency and stability.
Disclosure of Invention
In order to solve the problems of the prior art solutions, the present invention provides a data stream propagation system and method for a blockchain network with high data stream transmission efficiency and stability.
The purpose of the invention is realized by the following technical scheme:
a data stream propagation system for a blockchain network, comprising a plurality of member nodes connected to each other via a network to constitute the blockchain network, wherein each of the plurality of member nodes is capable of adding one or more neighboring member nodes as neighbor nodes by performing a predetermined authentication operation with the one or more neighboring member nodes, and each of the plurality of member nodes transmits a data packet constituting a data stream to its neighbor node by way of unicast.
In the above disclosed solution, preferably, each of the plurality of member nodes implements the authentication operation based on a three-way handshake manner defined by a TCP/IP protocol.
In the above disclosed solution, preferably, each of the plurality of member nodes sends back an acknowledgement response to the member node that sent the data packet after successfully receiving the data packet.
In the above-disclosed solution, preferably, each of the plurality of member nodes does not receive an acknowledgement response sent back by a neighbor node within a predetermined period after transmitting the data packet to its neighbor node, and then the member node repeatedly sends the data packet to the neighbor node.
In the above-disclosed aspect, preferably, each of the plurality of member nodes continues to transmit the data packet to a neighbor node of the member node other than the member node that transmitted the data packet after successfully receiving the data packet.
In the above-disclosed aspect, preferably, in a case where one member node 1 of the plurality of member nodes has a plurality of neighbor nodes, the member node is able to determine an optimal neighbor node by a predetermined routing algorithm and preferentially transmit a packet to the optimal neighbor node, and the neighbor nodes other than the optimal neighbor node are used as candidate nodes.
In the above disclosed solution, preferably, each of the plurality of member nodes periodically transmits a heartbeat packet to each neighbor node to detect an operation state of the neighbor node, and if a response to the heartbeat packet by the neighbor node is not received within a predetermined time period, it is determined that the non-transmitted response neighbor node fails, and then one of the candidate nodes is regarded as a new optimal neighbor node based on a predetermined rule.
The purpose of the invention can also be realized by the following technical scheme:
a data streaming method for a blockchain network, the data streaming method for a blockchain network comprising the steps of:
(A1) a plurality of member nodes are connected with each other via a network to form a block chain network;
(A2) each member node adds one or more adjacent member nodes as neighbor nodes by performing a predetermined authentication operation with the one or more adjacent member nodes;
(A3) each of the plurality of member nodes transmits a data packet constituting a data stream to its neighbor node by means of unicast.
In the above disclosed solution, preferably, each of the plurality of member nodes implements the authentication operation based on a three-way handshake manner defined by a TCP/IP protocol.
In the above disclosed solution, preferably, each of the plurality of member nodes sends back an acknowledgement response to the member node that sent the data packet after successfully receiving the data packet.
In the above-disclosed solution, preferably, each of the plurality of member nodes does not receive an acknowledgement response sent back by a neighbor node within a predetermined period after transmitting the data packet to its neighbor node, and then the member node repeatedly sends the data packet to the neighbor node.
In the above-disclosed aspect, preferably, each of the plurality of member nodes continues to transmit the data packet to a neighbor node of the member node other than the member node that transmitted the data packet after successfully receiving the data packet.
In the above-disclosed aspect, preferably, in a case where one of the plurality of member nodes has a plurality of neighbor nodes, the member node is able to determine an optimal neighbor node through a predetermined routing algorithm and preferentially transmit a packet to the optimal neighbor node, and the neighbor nodes other than the optimal neighbor node are used as candidate nodes.
In the above disclosed solution, preferably, each of the plurality of member nodes periodically transmits a heartbeat packet to each neighbor node to detect an operation state of the neighbor node, and if a response to the heartbeat packet by the neighbor node is not received within a predetermined time period, it is determined that the non-transmitted response neighbor node fails, and then one of the candidate nodes is regarded as a new optimal neighbor node based on a predetermined rule.
The data flow propagation system and method for the block chain network disclosed by the invention have the following advantages: the data stream is transmitted between the member nodes of the block chain network in a unicast mode, so that the data stream transmission efficiency and stability are high.
Drawings
The features and advantages of the present invention will be better understood by those skilled in the art when considered in conjunction with the accompanying drawings, in which:
fig. 1 is a schematic block diagram of a data stream propagation system for a blockchain network according to an embodiment of the present invention;
fig. 2 is a flowchart of a data streaming method for a blockchain network according to an embodiment of the present invention.
Detailed Description
Fig. 1 is a schematic configuration diagram of a data stream propagation system for a block chain network according to an embodiment of the present invention. As shown in fig. 1, the data stream propagation system for a blockchain network disclosed in the present invention includes a plurality of member nodes 1, the plurality of member nodes 1 being connected to each other via a network to form the blockchain network, wherein each of the plurality of member nodes 1 is capable of adding one or more adjacent member nodes 1 as neighbor nodes by performing a predetermined authentication operation with the one or more adjacent member nodes 1, and each of the plurality of member nodes 1 transmits a data packet forming a data stream to its neighbor node by means of unicast.
Preferably, in the data stream propagation system for the blockchain network disclosed in the present invention, each of the plurality of member nodes 1 implements the authentication operation based on a three-way handshake manner defined by the TCP/IP protocol.
Preferably, in the data stream propagation system for the blockchain network disclosed in the present invention, each of the plurality of member nodes 1 sends back an acknowledgement response to the member node that sent the data packet after successfully receiving the data packet.
Preferably, in the data stream propagation system for the blockchain network disclosed in the present invention, each of the plurality of member nodes 1 does not receive an acknowledgement response sent back by a neighbor node within a predetermined period after transmitting a data packet to its neighbor node, and then the member node 1 repeatedly sends the data packet to the neighbor node.
Preferably, in the data stream propagation system for the blockchain network disclosed in the present invention, each of the plurality of member nodes 1 continues to transmit the data packet to the neighbor nodes of the member node 1 other than the member node 1 that sent the data packet after successfully receiving the data packet.
Preferably, in the data stream propagation system for a blockchain network disclosed in the present invention, in a case where one member node 1 of the plurality of member nodes 1 has a plurality of neighbor nodes, the member node 1 is able to determine an optimal neighbor node by a predetermined routing algorithm (e.g., a routing algorithm based on delay time, path length, AS (autonomous routing protocol), etc.), and preferentially transmit a packet to the optimal neighbor node, while taking a neighbor node other than the optimal neighbor node AS a candidate node.
Preferably, in the data stream propagation system for a blockchain network disclosed in the present invention, each of the plurality of member nodes 1 periodically transmits a heartbeat packet to each neighbor node to detect an operation state of the neighbor node, and if a response of the neighbor node to the heartbeat packet is not received within a predetermined time period, it is determined that the non-transmitted response neighbor node fails, and then one of the candidate nodes is used as a new optimal neighbor node based on a predetermined rule.
As can be seen from the above, the data stream propagation system for the blockchain network disclosed in the present invention has the following advantages: the data stream is transmitted between the member nodes of the block chain network in a unicast mode, so that the data stream transmission efficiency and stability are high.
Fig. 2 is a flowchart of a data streaming method for a blockchain network according to an embodiment of the present invention. As shown in fig. 2, the data streaming method for a blockchain network disclosed in the present invention includes the following steps: (A1) a plurality of member nodes are connected with each other via a network to form a block chain network;
(A2) each member node adds one or more adjacent member nodes as neighbor nodes by performing a predetermined authentication operation with the one or more adjacent member nodes; (A3) each of the plurality of member nodes transmits a data packet constituting a data stream to its neighbor node by means of unicast.
Preferably, in the data streaming method for the blockchain network disclosed by the invention, each of the plurality of member nodes implements the authentication operation based on a three-way handshake manner defined by a TCP/IP protocol.
Preferably, in the data streaming method for the blockchain network disclosed by the present invention, each of the plurality of member nodes sends back an acknowledgement response to the member node that sent the data packet after successfully receiving the data packet.
Preferably, in the data streaming method for the blockchain network disclosed in the present invention, each of the plurality of member nodes does not receive an acknowledgement response sent back by a neighbor node within a predetermined period after transmitting a data packet to its neighbor node, and then the member node repeatedly sends the data packet to the neighbor node.
Preferably, in the data streaming method for the blockchain network disclosed by the present invention, each of the plurality of member nodes continues to transmit the data packet to a neighbor node of the member node other than the member node that transmitted the data packet after successfully receiving the data packet.
Preferably, in the data streaming method for a blockchain network disclosed in the present invention, in a case where one member node of the plurality of member nodes has a plurality of neighbor nodes, the member node is able to determine an optimal neighbor node through a predetermined routing algorithm (e.g., a routing algorithm based on a delay time, a path length, an AS (autonomous routing protocol), etc.), and preferentially transmit a packet to the optimal neighbor node, while taking neighbor nodes other than the optimal neighbor node AS candidate nodes.
Preferably, in the data streaming method for the blockchain network disclosed by the present invention, each of the plurality of member nodes periodically transmits a heartbeat packet to each neighbor node to detect an operation state of the neighbor node, and if a response of the neighbor node to the heartbeat packet is not received within a predetermined time period, it is determined that the non-transmitted response neighbor node fails, and then one of the candidate nodes is used as a new optimal neighbor node based on a predetermined rule.
As can be seen from the above, the data stream transmission method for the blockchain network disclosed by the present invention has the following advantages: the data stream is transmitted between the member nodes of the block chain network in a unicast mode, so that the data stream transmission efficiency and stability are high.
Although the present invention has been described in connection with the preferred embodiments, its mode of implementation is not limited to the embodiments described above. It should be appreciated that: various changes and modifications can be made by one skilled in the art without departing from the spirit and scope of the invention.
Claims (12)
1. A data stream propagation system for a blockchain network, comprising a plurality of member nodes connected to each other via a network to constitute the blockchain network, wherein each of the plurality of member nodes is capable of adding one or more neighboring member nodes as neighbor nodes by way of a predetermined authentication operation with the one or more neighboring member nodes, and each of the plurality of member nodes transmits a data packet constituting a data stream to its neighbor node by way of unicast,
wherein, in case that one member node of the plurality of member nodes has a plurality of neighbor nodes, the member node can determine an optimal neighbor node through a predetermined routing algorithm and preferentially transmit a packet to the optimal neighbor node, while taking neighbor nodes other than the optimal neighbor node as candidate nodes.
2. The data flow propagation system for a blockchain network as recited in claim 1, wherein each of the plurality of member nodes implements the authentication operation based on a three-way handshake defined by a TCP/IP protocol.
3. The data flow propagation system for a blockchain network as recited in claim 2, wherein each of the plurality of member nodes sends an acknowledgement response back to the member node that sent the data packet after successfully receiving the data packet.
4. The data flow propagation system for the blockchain network as recited in claim 3, wherein each of the plurality of member nodes repeatedly transmits the data packet to its neighbor node if it does not receive an acknowledgement response sent back by a neighbor node within a predetermined period after transmitting the data packet to the neighbor node.
5. The data flow propagation system for the blockchain network as recited in claim 4, wherein each of the plurality of member nodes continues to transmit the data packet to neighbor nodes of the member node other than the member node that sent the data packet after successfully receiving the data packet.
6. The data flow propagation system for a blockchain network according to claim 1, wherein each of the plurality of member nodes periodically transmits a heartbeat packet to each neighbor node to detect an operation state of the neighbor node, and if a response of the neighbor node to the heartbeat packet is not received within a predetermined time period, determines that the non-transmitted-response neighbor node fails, and then treats one of the candidate nodes as a new optimal neighbor node based on a predetermined rule.
7. A data streaming method for a blockchain network, the data streaming method for a blockchain network comprising the steps of:
(A1) a plurality of member nodes are connected with each other via a network to form a block chain network;
(A2) each member node adds one or more adjacent member nodes as neighbor nodes by performing a predetermined authentication operation with the one or more adjacent member nodes;
(A3) each of the plurality of member nodes transmits a data packet constituting a data stream to its neighbor nodes by means of unicast,
wherein, in case that one member node of the plurality of member nodes has a plurality of neighbor nodes, the member node can determine an optimal neighbor node through a predetermined routing algorithm and preferentially transmit a packet to the optimal neighbor node, while taking neighbor nodes other than the optimal neighbor node as candidate nodes.
8. The data streaming method for a blockchain network of claim 7, wherein each of the plurality of member nodes implements the authentication operation based on a three-way handshake manner defined by a TCP/IP protocol.
9. The data streaming method for the blockchain network of claim 8, wherein each of the plurality of member nodes sends an acknowledgement response back to the member node that sent the data packet after successfully receiving the data packet.
10. The data streaming method for the blockchain network according to claim 9, wherein each of the plurality of member nodes does not receive an acknowledgement response sent back by a neighbor node within a predetermined period after transmitting the data packet to the neighbor node, and the member node repeatedly sends the data packet to the neighbor node.
11. The data streaming method for the blockchain network according to claim 10, wherein each of the plurality of member nodes continues to transmit the data packet to a neighbor node of the member node other than the member node that transmitted the data packet after successfully receiving the data packet.
12. The data streaming method for the blockchain network according to claim 7, wherein each of the plurality of member nodes periodically transmits a heartbeat packet to each neighbor node to detect an operation state of the neighbor node, and if a response of the neighbor node to the heartbeat packet is not received within a predetermined time period, it is determined that the non-transmitted-response neighbor node fails, and then one of the candidate nodes is used as a new optimal neighbor node based on a predetermined rule.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610895577.2A CN106656784B (en) | 2016-10-14 | 2016-10-14 | Data stream propagation system and method for block chain network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610895577.2A CN106656784B (en) | 2016-10-14 | 2016-10-14 | Data stream propagation system and method for block chain network |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106656784A CN106656784A (en) | 2017-05-10 |
CN106656784B true CN106656784B (en) | 2020-01-21 |
Family
ID=58855963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610895577.2A Active CN106656784B (en) | 2016-10-14 | 2016-10-14 | Data stream propagation system and method for block chain network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106656784B (en) |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018212756A1 (en) | 2017-05-15 | 2018-11-22 | Visa International Service Association | Techniques for secure blockchain routing |
CN107104977B (en) * | 2017-05-23 | 2020-07-31 | 北京天德科技有限公司 | Block chain data secure transmission method based on SCTP |
CN107231299A (en) * | 2017-06-07 | 2017-10-03 | 众安信息技术服务有限公司 | A kind of chain route and realized the system that block chain communicates across chain |
CN107330552A (en) * | 2017-06-28 | 2017-11-07 | 无锡井通网络科技有限公司 | A kind of intelligent trade matching method of distributed system digital asset |
GB201719654D0 (en) * | 2017-11-27 | 2018-01-10 | Nchain Holdings Ltd | Computer-implemented system and method |
CN108199842B (en) * | 2018-02-13 | 2021-03-02 | 克洛斯比尔有限公司 | Method and system for delaying publishing information |
CN108696589B (en) * | 2018-05-14 | 2022-04-08 | 百度在线网络技术(北京)有限公司 | Block chain data transmission method, device, equipment and storage medium |
CN110099127A (en) * | 2019-05-13 | 2019-08-06 | 西安华域网络文化发展有限公司 | A kind of block chain method of data synchronization, device, medium and electronic equipment |
CN110493020A (en) * | 2019-07-05 | 2019-11-22 | 深圳壹账通智能科技有限公司 | Broadcast message transmission method, device and system based on block chain technology |
CN110474818B (en) * | 2019-07-11 | 2023-02-28 | 福州博泉网络科技有限公司 | Block chain network sniffer, network sniffing method and optimization method |
CN111353177A (en) * | 2020-05-25 | 2020-06-30 | 杭州趣链科技有限公司 | Block chain-based privacy large file storage system |
CN111917868A (en) * | 2020-07-29 | 2020-11-10 | 数网金融有限公司 | Addressing method and device for block chain node, routing equipment and storage medium |
CN112054878B (en) * | 2020-08-18 | 2023-10-13 | 中钞信用卡产业发展有限公司杭州区块链技术研究院 | Block chain-based data transmission method, device, equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580253A (en) * | 2015-01-30 | 2015-04-29 | 网易(杭州)网络有限公司 | Method and device for processing user data |
CN104735164A (en) * | 2015-04-10 | 2015-06-24 | 网易(杭州)网络有限公司 | Method and device for saving file information |
CN105488665A (en) * | 2015-11-25 | 2016-04-13 | 布比(北京)网络技术有限公司 | Decentralized transaction method |
CN105657022A (en) * | 2015-06-15 | 2016-06-08 | 清华大学深圳研究生院 | Method for actively pushing information and embedded node operating system |
-
2016
- 2016-10-14 CN CN201610895577.2A patent/CN106656784B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580253A (en) * | 2015-01-30 | 2015-04-29 | 网易(杭州)网络有限公司 | Method and device for processing user data |
CN104735164A (en) * | 2015-04-10 | 2015-06-24 | 网易(杭州)网络有限公司 | Method and device for saving file information |
CN105657022A (en) * | 2015-06-15 | 2016-06-08 | 清华大学深圳研究生院 | Method for actively pushing information and embedded node operating system |
CN105488665A (en) * | 2015-11-25 | 2016-04-13 | 布比(北京)网络技术有限公司 | Decentralized transaction method |
Non-Patent Citations (2)
Title |
---|
传统宽带网络面临挑战区块链技术为其转型升级;杨辉 等;《通信世界》;20160805(第21期);48-50 * |
对区块链技术在银行中应用的思考;张保军;《中国金融电脑》;20160930(第9期);47-48 * |
Also Published As
Publication number | Publication date |
---|---|
CN106656784A (en) | 2017-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106656784B (en) | Data stream propagation system and method for block chain network | |
US11606312B2 (en) | Fast fail-over using tunnels | |
US9843513B2 (en) | Multicast flow overlay using registration over a reliable transport | |
EP2356753B1 (en) | Link data transmission method, node and system | |
US20090046719A1 (en) | Method and Apparatus for Implementing Multiple Portals into an RBRIDGE Network | |
US9838303B2 (en) | PIM source discovery by last hop router | |
EP2553870B1 (en) | An operations, administrations and management proxy and a method for handling operations, administrations and management messages | |
CN104518973A (en) | SDN (software defined network) environment based reliable multicast data transport method | |
US20080240118A1 (en) | Sending Routing Protocol Data on a Multi-Access Network Segment | |
WO2010111956A1 (en) | Method and system for multicast-forwarding-path convergence | |
WO2014047784A1 (en) | Method for determining packet forwarding path, network device and control device | |
WO2018072732A1 (en) | Information processing method and device, and computer storage medium | |
US10020952B1 (en) | PIM relay mode in computer networks | |
US8923295B2 (en) | Methods and devices for point to multipoint traffic path encoding | |
CN100496023C (en) | Method for transmitting link-state information | |
CN102769552A (en) | Method and apparatus for transmitting BFD (bidirectional forwarding detection) message during LSP (label switched path) detection by BFD | |
CN102480503A (en) | P2P (peer-to-peer) traffic identification method and P2P traffic identification device | |
Sundarrajan et al. | Fast rerouting for IP multicast under single node failures | |
Kim et al. | Protection switching methods for point‐to‐multipoint connections in packet transport networks | |
JP5954793B2 (en) | COMMUNICATION CONNECTION DEVICE, COMMUNICATION CONTROL DEVICE, ITS PROGRAM, AND COMMUNICATION CONTROL METHOD | |
US20140328164A1 (en) | Method and apparatus for protection switching in rooted multipoint (rmp) connection networks | |
CN113039754A (en) | Supervised traffic management in SigMesh networks | |
US20170163520A1 (en) | Distributing non-unicast routes information in a trill network | |
CN101075842B (en) | Method for transmitting multi cast data in shared network | |
WO2017059709A1 (en) | Capability negotiation method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |