System and method for implementing directed acyclic graph consensus algorithm through rumor protocol

Information is exchanged in the distributed system through the rumor protocol and the wavefront method, which solves the problem of high number of information transmission and infinite reciprocity in the hash graph algorithm, realizes resource saving and node safe information exchange, and ensures the efficiency and security of the system. .

CN113225175BActive Publication Date: 2024-08-23DECARD AG
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202110077870.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-01-20
Filing Date
2021-01-20
Publication Date
2024-08-23
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

The existing hash graph algorithm has problems such as too many times of information transmission, waste of computing resources and infinite reciprocation when exchanging information in a distributed system, and it is difficult to effectively protect node security and prevent unnecessary information transmission.

Method used

The rumor protocol is used to randomly select nodes to send reference information, determine the sequence of events, use cancellation information to limit information transmission, and combine the wavefront method and the tidal wave/breaking wave mechanism to ensure the effectiveness and security of information exchange.

Benefits of technology

It reduces the number of information transmissions, avoids the waste of computing, storage and transmission resources, prevents infinite reciprocation, ensures the safe exchange and sharing of information between nodes, and improves the efficiency and security of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113225175B_ABST
    Figure CN113225175B_ABST
Patent Text Reader

Abstract

The present invention relates to a computer-implemented method for exchanging information through a rumor protocol via a DAG / hashgraph consensus algorithm, the method comprising the following steps: enabling a first given node (N1) to randomly select a second given node (N4) and send reference information; based on the reference information, determining node events that precede other node events; if the reference information means that the event of the first given node (N1) precedes the event of the second given node (N4), sending a cancellation message to the first given node (N1), thereby preventing the first given node (N1) from sending DAG event information to the second given node (N4); if the reference information means that the event of the second given node (N4) precedes the event of the first given node (N1), enabling the first given node (N1) to send DAG event information to the second given node (N1). The technical solution can effectively exchange information between computer nodes and prevent nodes from entering an infinite round trip in which they are always sending information back and forth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of exchanging information between distributed computer nodes connected in a specific network, and in particular to a list of actions or transactions. In particular, it relates to a system and method for implementing a directed acyclic graph (DAG) consensus algorithm (such as a hashgraph consensus algorithm) through a gossip protocol. Background Art

[0002] Hashgraph is considered a new method for reaching consensus in decentralized networks in the field. It is often referred to as a voting algorithm. Hashgraph is a specific directed acyclic graph (DAG).

[0003] The goal of hashgraph is mainly to reach consensus among nodes in a distributed system. The hashgraph algorithm is a solution to the Byzantine Generals' Problem.

[0004] Additionally, the hashgraph algorithm prevents attackers from shutting down the network or freezing it, thereby preventing it from reaching consensus.

[0005] An idea of ​​the present invention is to exchange information between nodes in an efficient manner, as well as a supporting method and a supporting system for hash graphs or other DAG systems that need to exchange DAG information.

[0006] Figure 1 The hash map developed in the prior art is schematically shown. The hash map is based on Figure 1 The computer nodes (N) are arranged vertically in A 、N B 、N C 、N D 、N E ) network. Each computer node (N A 、N B 、N C 、N D 、N E ) can record an event called event 1, which is represented by a circle, in Figure 2 There is a more detailed description in . An event is generally a sequence of information / bytes and memory, which is then hashed. Events are recorded by nodes. An event consists of a piece of information to be distributed to the network. Information is generally hashed to protect its security. Therefore, the hashgraph is able to distribute secure information distributed in the network.

[0007] Events are signed by nodes.

[0008] In the hashgraph implementation, a node will randomly select another node and send it all the information about the communication hashed. This process is repeated until the information is spread throughout the network.

[0009] Hashgraph means the infinite transmission of information in the network. In addition, in the hashgraph algorithm, an event always contains a timestamp to reach a consensus on the timestamp in the network.

[0010] refer to Figure 2 , the event information includes:

[0011] from Figure 2 The hash received from the parent node 2 is represented vertically in . The hash from the parent node 2 is related to the previous event in the memory of the parent node;

[0012] The hash from the "other" parent node 3 is received from Figure 2 The other parent node is represented in the middle diagonal. The hash from the other parent node 3 is related to the previous event in the memory of the other parent node;

[0013] Current Event 1 i information; and

[0014] Timestamp of the current event4. Summary of the invention

[0015] It is an object of the present invention to limit / reduce the number of times information is transferred and to reduce the use of computer resources in calculating, storing and transferring information.

[0016] Another general object of the present invention is to efficiently exchange information between computer nodes and prevent the nodes from entering an infinite ping-pong where they are forever sending information back and forth.

[0017] Another purpose is to protect the security of nodes and easily determine the information that needs to be shared between nodes without sending unnecessary information between nodes.

[0018] To achieve these objects, the present invention relates to a computer-implemented method for exchanging information between distributed computer nodes connected in an ad hoc network, the method implementing a directed acyclic graph (DAG) consensus algorithm (such as a hashgraph consensus algorithm) by using gossip on a gossip protocol, the method comprising the following steps:

[0019] Allow the first given node to randomly select a second given node and send reference information;

[0020] Based on the reference information, determine the node events that precede other node events;

[0021] If the reference information indicates that the event of the first given node is before the event of the second given node, sending a cancellation message to the first given node, thereby preventing the first given node from sending DAG event information to the second given node;

[0022] If the reference information indicates that the event of the second given node is before the event of the first given node, causing the first given node to send DAG event information to the second given node;

[0023] And preferably, the second given node sends the DAG event information to the first given node;

[0024] This process is repeated for other nodes to synchronize and propagate DAG event information across the network.

[0025] More specifically, according to one aspect, the method comprises the following steps:

[0026] When the second given node receives reference information from the first given node, if the second given node has sent reference information to the first given node in advance, the second given node sends cancellation information to the first given node so that the first given node does not send DAG event information to the second given node.

[0027] "DAG event information" refers to information exchanged related to events of the DAG. Multiple pieces of information connected together by hash pointers. This means that the hash of an event is a unique hash (fingerprint), and the self-parent and other parent hash fingerprints are included in the event, which serve as unique identifiers / pointers between events in the DAG.

[0028] Advantageously, the method can limit the number of times information is transmitted by cancelling the information, causing the nodes to stop communicating the information. This means reducing the use of computer resources when calculating, storing and transmitting information.

[0029] The idea of ​​the invention is to exchange information (spread rumors) between nodes in an efficient way. Therefore, the Wavefront method is used as a support system for hash algorithms or other DAG systems that need to exchange DAG information.

[0030] Furthermore, it limits the amount of information by sending the state of each node's event chain, which is indicated by a reference / height number. In this way, a node can decide whether the last event in a chain comes after or before another node's event chain.

[0031] Additionally, cancellation can prevent an infinite round trip between two nodes.

[0032] Additionally, the wavefront method can easily protect nodes and determine the information that needs to be shared between nodes by sharing a "wavefront" state (described in further detail below) without sending unnecessary information between nodes.

[0033] According to other aspects of the method, alone or in any technically possible combination:

[0034] The reference information relates to the order of node events; and / or

[0035] The order of node events is determined by tracking the ordinate value of each event; and / or

[0036] The order of point events is determined by having each node keep track of an integer value called the height, which increases with each event created in the node; and / or

[0037] The reference information is sent via a tidal-wave; and / or

[0038] The reference information is sent via breaking-wave; and / or

[0039] The second transmission of the DAG event information from the second given node to the first given node is the second and final wave of the DAG event information; and / or

[0040] The method comprises the step of sending another cancellation message if the node receives a message that is not in a predetermined message exchange sequence and / or if the node receives a message from a node with which it has already exchanged messages.

[0041] The invention also relates to a system for exchanging information, comprising means for performing the steps of the method according to the invention.

[0042] The present invention also relates to a system for exchanging information between distributed computer nodes connected in a particular network, the system implementing a directed acyclic graph consensus algorithm (such as a hashgraph consensus algorithm) by using rumors about a rumor protocol, the system comprising:

[0043] means for causing the first given node to randomly select a second given node and send reference information;

[0044] means for determining a node event preceding other node events based on the reference information;

[0045] means for sending cancellation information to the first given node if the reference information indicates that the event of the first given node precedes the event of the second given node, thereby preventing the first given node from sending DAG event information to the second given node; and

[0046] means for causing the first given node to send DAG event information to the second given node if the reference information indicates that the event of the second given node precedes the event of the first given node;

[0047] means for causing the second given node to send DAG event information to the first given node;

[0048] This process is repeated for other nodes to synchronize and propagate DAG event information across the network.

[0049] The advantages of the above method are also applicable to the system implementing the method.

[0050] According to other aspects of the system, alone or in any technically possible combination:

[0051] The reference information relates to the order of node events; and / or

[0052] The system includes means for tracking the ordinate value of each event to determine a node event sequence; and / or

[0053] The system includes means for causing each node to track an integer value, called a height, which is incremented with each event created in the node to determine the order of node events; and / or

[0054] The system comprises means for sending reference information via tidal waves, and means for sending cancellation information via breaking waves; and / or

[0055] The system includes means for limiting the number of transmissions of DAG event information between a first given node and a second given node; and / or

[0056] The system comprises means for sending a further cancellation message if the node receives a message which is not in the predetermined message exchange sequence.

[0057] Another object of the invention is a network comprising: one or more central units, in particular one or more computerized central units; and one or more connections to additional command units, in particular computerized command units, for implementing transactions, the one or more central units comprising a system according to the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The present invention will now be described in detail by describing a non-limiting embodiment of the invention and based on the accompanying drawings, in which:

[0059] - Figure 1 is a schematic diagram of a hash graph in a method according to the prior art;

[0060] - Figure 2 yes Figure 1Schematic diagram of events in the hash graph;

[0061] - Figure 3 is a schematic diagram of a system according to an embodiment of the present invention;

[0062] - Figure 4 is a schematic diagram of a hash graph in a method according to an embodiment of the present invention;

[0063] - Figure 5 It is a detailed description of the information exchange between two nodes in the present invention. DETAILED DESCRIPTION

[0064] The present invention relates to exchanging information.

[0065] The present invention includes implementing a DAG consensus algorithm through rumors about a rumor protocol, such as a hashgraph consensus algorithm implemented through rumors about a rumor protocol.

[0066] The device of the present invention distributes information by means of a gossip protocol, thereby sending information about data received from other nodes in the specific network 5.

[0067] The invention relates to a computer-implemented method, and a corresponding system 5a and network 5. The method of the invention is capable of processing and exchanging information, such as information required for applications related to blockchain transactions and hashgraphs.

[0068] DAG, such as hash graph, is used to exchange information between distributed computer nodes connected in a specific network. The information is secure and hashed. The transmitted DAG / hash graph information will be referred to as "DAG event information".

[0069] The gossip protocol means that computer nodes transmit information in their memory to each other.

[0070] The method of the present invention comprises a determination step, which determines the sequence of node events to determine the preceding node events and the succeeding node events.

[0071] In this embodiment, the order is not based on time. This embodiment does not require time consensus. Advantageously, this avoids the problem of reciprocating computer nodes reaching consensus at the same time.

[0072] Determining the order of events enables knowing which event comes first and which comes later. Therefore, the information about the events is more accurate. The determination is preferably not limited to having timestamps of nodes in the events.

[0073] According to an embodiment of the present invention, the order of node events is determined by tracking the ordinate value of each event. Advantageously, using the ordinate value avoids the problem of reciprocating computer nodes reaching a consensus at the same time.

[0074] In particular, the order of node events is determined by having each node keep track of an integer value called the height, which increases with each event created in the node. The height plays a role in information processing.

[0075] In another step of the method of the present invention, the first given node N1 randomly selects the second given node N4 and can send DAG event information (6, 7) to it in the network 5. In general, the system is such that the first node N1 randomly selects the second given node N4 and, if applicable, sends DAG event information (6, 7).

[0076] All nodes N0 , N1 , . . . , N5 , . . . of the network 5 continue until the DAG event information ( 6 , 7 ) is propagated in the network 5 .

[0077] The purpose of the present invention is to prevent the transmission of certain DAG event information while allowing relevant information to propagate in the network 5 .

[0078] According to the present invention, the method comprises the step of: when the first given node N1 randomly selects the second given node N4, causing the first given node N1 to send the second given node N4 specific reference information (8) before sending any DAG event information (6, 7). The sending of reference information can be called a tidal wave. A tidal wave is an information flow.

[0079] A "tidal wave" can define a height value for each node. Each node tracks DAG events; this means that each node has a current height known to that node.

[0080] In particular, reference information (8) is related to the order of node events. More specifically, reference information 8 includes previous heights, here a list of all heights for each node.

[0081] Furthermore, according to the present invention, the method comprises the step of sending a cancellation message (9) to the first given node N1 under certain conditions to avoid further transmission of DAG event information 6, 7 from the first given node N1 to the second given node N4. The sending of the cancellation message 9 can be called a breaking wave. A breaking wave is a flow of information sent as a response so that a node returns to an initial state.

[0082] If the event of the second given node N4 is not before the event of the first given node N1 in view of the reference information 8, the second given node N4 sends a cancellation message 9 when it receives the reference information 8 from the first given node N1. This is easy to do when analyzing the height.

[0083] In a preferred embodiment, the cancellation information 9 may be sent directly from the second node N4 to the first node N1.

[0084] The method further comprises the step of preventing the first given node N1 from sending DAG event information to the second given node N4 as a result of the cancellation information.

[0085] In other words: the second given node N4 sends the cancellation information to the first given node N1, so that the first given node N1 does not send the DAG event information to the second given node N4.

[0086] Advantageously, the method can limit the number of times information is transmitted by cancelling the information, causing the nodes to stop communicating the information. This means reducing the use of computer resources in the calculation, storage and transmission of information.

[0087] Considering reference information (8), if the event of the second given node N4 precedes the event of the first given node N1, the transmission of the DAG event information continues.

[0088] In particular, the second given node N4 sends DAG event information to the first given node N1, including events in the memory of the second given node N4. This first sending of DAG event information can be referred to as a first wave 6. The first wave is an information flow as known to those skilled in the art. The DAG event information of the first wave 6 includes a list of all events in the memory of the second given node N4.

[0089] In addition, in particular, after the first given node N1 receives the DAG event information from the second given node N4, the first given node N1 may send the DAG event information to the second given node N4, including the events in the memory of the first given node N1. The second sending of the DAG event information may be referred to as a second wave (7). The second wave is an information flow as known to those skilled in the art.

[0090] After the first wave and the second wave, the information exchange between the first given node N1 and the second given node N4 stops.

[0091] This is the second way to avoid infinite round trip of information transmission. In other words, when receiving / sending the second wave, the wave state of the id node returns to the initial state.

[0092] According to a preferred embodiment, the method comprises the step of sending another (second) cancellation message if the node receives information that is not in the predetermined information exchange sequence, in particular the sequence of a first reference message (8), then a first wave (6) and then a second wave (7) of DAG event information. This cancellation message is in particular of the same type as the previous one, but if, for example, the second given node N4 receives the second wave first, the cancellation message is triggered.

[0093] According to another embodiment, the method comprises the step of sending another (third) cancellation message if the node receives information from a node with which it has already exchanged information. This cancellation message is in particular of the same type as the previous one, but is triggered if, for example, the second given node N4 receives another reference message 8 later from the first node N1. Advantageously, these steps further limit redundancy / back and forth regarding the transmission of information.

[0094] The invention also relates to a system 5a for implementing the above method. The system 5a is a computerized system and comprises inherent hardware and software modules configured to implement the above method. It may be referred to as a wavefront system 5a.

[0095] System 5a is capable of exchanging information between distributed computer nodes connected in a specific network, thereby implementing a DAG / hashgraph consensus algorithm through rumors about a rumor protocol.

[0096] The system 5a comprises: means for determining the sequence of node events to determine the preceding node event and the succeeding node event;

[0097] means for causing the first given node N1 to randomly select a second given node N4 and send reference information 8 and applicable DAG event information (6, 7),

[0098] A device that propagates DAG event information (6, 7) in the network 5.

[0099] According to one aspect, the system 5a comprises:

[0100] - When the second given node N4 receives reference information from the first given node N1, if the second given node N4 has sent reference information to the first given node N1 in advance, a device is used to enable the second given node N4 to send cancellation information to the first given node N1, thereby preventing the first given node N1 from sending DAG event information to the second given node N4.

[0101] Preferably, the system 5a further comprises means for sending another cancellation message if the node receives a message that is not in the predetermined message exchange sequence and / or if the node receives a message from a node with which it has already exchanged messages.

[0102] The advantages of the above method are also applicable to the system implementing the method.

[0103] Another object of the invention is a network comprising: one or more central units 10, in particular one or more computerized central units; and one or more connections 12 to additional command units 11, in particular computerized command units, for implementing transactions, the one or more central units comprising the above-mentioned system 5a. This may be called a wavefront network. The network may be connected to the additional command units via the Internet.

[0104] The advantages of the above-described method and system 5a also apply to the network 5 comprising the corresponding system 5a.

[0105] Example

[0106] Figure 4 and Figure 5 The examples are described in detail.

[0107] Figure 4 A hash graph representing gossip information of information flow between network nodes N0, N1, N2, ..., N5 is shown. Other nodes are preferably in the same network, but are not represented.

[0108] In a limited amount of time, all nodes in the network will be able to build the same DAG of events.

[0109] Each vertical line represents a computation node, and each circle represents an event. The lines between events represent the communication of events between nodes.

[0110] Events seen only by the corresponding node are indicated by a solid white circle. Events seen only by two or more nodes are indicated by a broken white circle. The last event for each node is indicated by a solid circle.

[0111] The last event to be created is a dotted circle.

[0112] The hashgraph algorithm uses a gossip protocol called "spreading gossip" to spread information between nodes. This means that a first given node N1 sends all the communication information known to it to a randomly selected second given node N4. This enables the second given node N4 to build the same hashgraph as the first given node N1.

[0113] In the network 5 of the present invention, a protocol called wavefront is used to exchange information between two nodes, thereby ensuring that a first given node N1 and a second given node N4 only need to communicate three times to exchange the state of the graph.

[0114] Each node keeps track of an integer value called the height. The height increases by one with each event that the node is created. Each node stores the current view of the height of every node in the network.

[0115] By exchanging information about altitude between two nodes, both nodes are able to determine what happened in the past.

[0116] To determine the event that comes before the current event, minus the received event, a value greater than 0 means that the current event comes before the received event, and vice versa.

[0117] a current -a received <0

[0118] If the received event is before the current event.

[0119] There are four states of wavefront information exchange:

[0120] 1. The first given node N1 randomly selects the second given node N4 and sends a list of the last known heights of each node. This state is called a tidal wave.

[0121] 2. The second given node N4 receives the tidal wave from the first given node N1. If the event of the second given node N4 is not before the event of the first given node N1 based on the tidal wave, the second given node N4 will send a wave called a breaking wave to the first given node N1. Otherwise, the second given node N4 will return a list of all events before the tidal wave of the first given node N1. This state is called a breaking wave.

[0122] 3. If the first given node N1 receives the first wave from the second given node N4, it returns a list of all events before the second given node N4. When this state is reached, the wavefront exchange is finished.

[0123] 4. If the first given node N1 or the second given node N4 receives a broken wave, the wavefront communication is terminated.

[0124] Regarding state 2, optionally or in combination, if the second given node N4 has exchanged information with the first given node N1 through a previous tidal wave, the second given node N4 will send a breaking wave. In addition, optionally or in combination, if the second given node N4 first receives the second wave from the first given node N1, the second given node N4 will send a breaking wave.

[0125] This prevents the two nodes from entering into an infinite ping-pong where they are forever sending information back and forth.

[0126] In a network, a node will typically have many simultaneous wavefront connections, so it will sometimes receive the same event packets from other nodes. It will simply abort any duplicate events it receives.

[0127] Figure 4 and Figure 5 The example in shows events and height values.

[0128] The first given node 1 is synchronized with the second given node N4. Event b5 (colored) is the last event generated by the first given node N1, all previous events known to b5 are under the dotted line.

[0129] Event e5 (colored) is the last event generated by the second given node N4, and all previous events known to it are under the dashed line.

[0130] All events known to both b5 and e5 are drawn as dashed circles.

[0131] The wavefront from a first given node N1 (marked with a dotted line) is a list of all the heights of the latest known event.

[0132] This means that the wavefront for a given node N1 is:

[0133] W 1,b5 =[-3,-2,1,-1,0,2]

[0134] Similarly, for the second given node N4 marked with a blue dashed line:

[0135] W 4,e5 =[-4,-6,-1,-2,3,4]

[0136] The communication steps are as follows:

[0137] The first given node N1 is first in the idle state at the bottom of the figure. The first given node N1 initiates a rumor to the second given node N4 and enters the initial state I.

[0138] 1. Initial wavefront:

[0139] The first given node N1 is connected to the second given node N4, and the wavefront W 1,b5 Sent to the second given node N4.

[0140] This message is marked as a tidal wave type. This causes the second given node 4 to change from the idle state to the tidal wave state T.

[0141] 2. If a message marked as a tidal wave type is received:

[0142] The second given node N4 receives the wavefront and compares it with the wavefront W 4,e5 Compare and collect W 1,b5 All previous events, which means events e3, e4, e5, f3 and f4 return to the first given node N1.

[0143] This message is marked as the first wave type. It causes the second given node N1 to enter the first wave state F.

[0144] 3. If you receive a message marked as the first wave:

[0145] The first given node N1 receives the wavefront from the second given node N4 and stores events unknown to the first given node N1.

[0146] The received wavefront is compared with its wavefront, and the events before the received wavefront are collected and returned to the first given node N1.

[0147] In this example, a1, b1, b2, b4, b5, c2, c3, and d3 are collected.

[0148] This message is marked as the second wave type. It causes the second given node N4 to enter the second wave state S.

[0149] If the second given node N4 has sent a message of the first wave to the first given node N1, the second given node N4 will send a message marked as a breaking wave type to the first given node 1, and it must set the communication state with the first given node N1 to none.

[0150] 4. If you receive a message marked as the second wave:

[0151] If these events are not known to the second given node N4, these events are stored.

[0152] 5. If you receive a message marked as a breaking wave:

[0153] The communication status of the receiving channel is set to None.

[0154] The communication flow of this example is as follows Figure 5 shown.

[0155] In this example, tidal wave 8 contains a list of heights W 1,b5 =[-3, -2, 1, -10, 2].

[0156] The first wave 6 contains the height list W 4,e5 =[-4, -6, -1, -2, 3, 4], and event list 1: {e3, e4, e5, f3, f4}.

[0157] The second wave 7 contains event list 1: {a1, b1, b2, b4, b5, c2, c3, d3}.

Claims

1. A method for implementing a directed acyclic graph consensus algorithm through a rumor protocol, the method implementing a hashgraph consensus algorithm by using rumors about the rumor protocol, the method comprising the following steps: Make the first given node (N1) randomly select the second given node (N4) and send reference information (8); It is characterized in that Based on the reference information (8), determining a node event before other node events; If the reference information (8) indicates that the event of the first given node (N1) is before the event of the second given node (N4), sending a cancellation message (9) to the first given node (N1) to prevent the first given node (N1) from sending DAG event information to the second given node (N4); - if the reference information (8) means that the event of the second given node (N4) is before the event of the first given node (N1), causing the first given node (N1) to send DAG event information (6) to the second given node (N4); Then the second given node (N4) sends DAG event information (7) to the first given node (N1); The same process is repeated for other nodes to synchronize and propagate the DAG event information (6, 7) through the network.

2. The method for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 1, characterized in that: in, The reference information is related to the order of node events.

3. The method for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to any one of claims 1 to 2, characterized in that: in, The order of the node events is determined by tracking the ordinate value of each event.

4. The method for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 1, characterized in that: in, The order of node events is determined by having each node keep track of an integer value called the height, which increases with each event created in the node.

5. The method for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 1, characterized in that: in, The reference information (8) is sent via a tidal wave, and / or the cancellation information (9) is sent via a breaking wave, wherein the tidal wave is a flow of information and the breaking wave is a flow of information sent as a response.

6. The method for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 1, characterized in that: The second sending of the DAG event information from the second given node to the first given node is the second wave of the DAG event information, which is also the last wave.

7. The method for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 1, characterized in that: The step of sending another cancellation message is included if the node receives a message that is not in the predetermined message exchange sequence and / or if the node receives a message from a node with which it has already exchanged messages.

8. A system for implementing a directed acyclic graph consensus algorithm through a rumor protocol, characterized in that: The system implements a hashgraph consensus algorithm by using rumors about a rumor protocol, the system comprising: - means for causing the first given node (N1) to randomly select a second given node (N4) and send reference information (8); The characteristic is that means for determining a node event preceding other node events based on the reference information (8); means for sending cancellation information (8) to the first given node (N1), if the reference information (8) means that the event of the first given node (N1) is before the event of the second given node (N4), thereby preventing the first given node (N1) from sending DAG event information (6, 7) to the second given node (N4); and If the reference information (8) means that the event of the second given node (N4) is before the event of the first given node (N1), means for causing the first given node (N1) to send DAG event information (6) to the second given node (N4), means for causing the second given node (N4) to send DAG event information (7) to the first given node (N1); The same process is repeated for other nodes to synchronize and propagate the DAG event information (6, 7) through the network.

9. The system for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 8, characterized in that: in, The reference information is related to the sequence of the node events.

10. The system for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 8 or 9, characterized in that: Means are included for tracking the ordinate value of each event to determine the order of node events.

11. The system for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 8, characterized in that: Means are included for each node to keep track of an integer value, called the height, which is incremented with each event created in the node to determine the order of events for said node.

12. The system for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 8, characterized in that: It includes means for sending the reference information (8) therein via a tidal wave, and means for sending the cancellation information (9) via a breaking wave, wherein the tidal wave is an information flow and the breaking wave is an information flow sent as a response.

13. The system for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 8, characterized in that: A device for limiting the number of transmissions of DAG event information between the first given node (N1) and the second given node (N4).

14. The system for implementing a directed acyclic graph consensus algorithm through a rumor protocol according to claim 8, characterized in that: Means are included for sending another cancellation message if the node receives a message that is not in the predetermined message exchange sequence and / or if the node receives a message from a node with which it has already exchanged messages.

15. A network, characterized in that include: One or more computerized central units (10); and one or more connections (12) to additional command units (11) implementing transactions, the one or more central units (10) comprising a system (5a) as claimed in any one of claims 8 to 14.

Citation Information

Patent Citations

  • A DAG-based decentralization method and terminal

    CN109344623A

  • Block chain consensus method and system based on trusted execution environment and directed acyclic graph

    CN110198233A

  • Method and apparatus for a distributed database within a network

    CN110633327A

  • Consensus system and method for adding data to a blockchain

    US20170075941A1

  • Methods and apparatus for a distributed database within a network

    US20170132257A1