Message broadcasting method, device, network node and computer storage medium

A technology for network nodes and broadcasting devices, applied in the computer field, can solve problems such as message redundancy, and achieve the effect of reducing redundancy and fast broadcasting.

CN112422302BActive Publication Date: 2021-04-06HUNDSUN TECH
6 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2021-04-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The present application provides a message broadcasting method, device, network node, and computer storage medium. The message broadcasting method includes: first, determining the distribution range of the first network node; then, from the distribution range corresponding to the first network node, Select K second network nodes; wherein, the identification value of each second network node is within the distribution range corresponding to the first network node; K is a positive integer; finally, for each second network node whose identification value is not currently in the filter The network node sends the message to be sent and the distribution scope corresponding to the first network node to the second network node, and adds the identification value of the first network node and the identification value of each second network node into the filter. Therefore, the redundancy in the broadcasting process of the message is reduced, so the message can be quickly broadcasted to each node in the distributed network.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The present application relates to the field of computer technology, and in particular to a message broadcasting method, device, network node and computer storage medium. Background technique

[0002] In the existing distributed network, because there are a large number of unreliable nodes or malicious nodes, in order to ensure that the message is transmitted to each node in the distributed network, a broadcast mechanism is usually adopted.

[0003] However, in the current broadcast mechanism, nodes will randomly select surrounding nodes to send messages regularly, and the nodes receiving the messages will also repeat the above steps, so it is inevitable that there will be repeated messages sent to the same node, and the phenomenon of message redundancy Very serious. Contents of the invention

[0004] In view of this, the present application provides a message broadcasting method, device, network node and computer storage medium, which reduces the r...

Examples

Embodiment approach

[0069] Optionally, another embodiment of the present application provides an implementation manner of step S105, as follows:

[0070] If the second network node is at the top of the network nodes included in the level to which it belongs, the range from the initial value in the distribution range corresponding to the level to which the second network node belongs to the identification value of the second network node will be used as the second network node. The distribution range of the node.

[0071] If the second network node is located in the middle of the network nodes included in the level to which it belongs, then the distribution range of the second network node will be from the identification value of the previous network node of the second network node to the identification value of the first network node.

[0072] If the second network node is located at the end of the network nodes included in the level to which it belongs, the range from the identification value of...