Broadcasting method on wireless channel, electronic device and storage medium

By realizing the continuous dissemination of broadcast information on the unicast channel, the problem of low resource utilization in the node network is solved, the resource utilization of the unicast channel is improved, and information loops and repeated processing are avoided.

CN117835164BActive Publication Date: 2024-10-18NANJING ZHONGKEXUNDA INFORMATION TECHNOLOGY CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311789915.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2024-10-18
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

In business scenarios with more unicast and less broadcast, the node network fails to effectively utilize resources and cannot implement the broadcast function of one send and multiple receive on the unicast channel, resulting in low resource utilization.

Method used

By introducing broadcast source nodes, broadcast forwarding nodes and broadcast target nodes into the node network, unicast channels are used to continuously propagate broadcast information, obtain and update address fields, realize the dissemination and storage of broadcast information, and improve resource utilization.

Benefits of technology

The broadcast function is propagated on the unicast channel, which improves resource utilization, avoids information loops and repeated processing, and ensures the accurate propagation of broadcast information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117835164B_ABST
    Figure CN117835164B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a broadcasting method, electronic device and storage medium on a wireless channel, belonging to the field of mobile communication technology. The method first obtains the first broadcast information; the first broadcast information includes the first broadcast content information, the broadcast source address field, the unicast source address field and the unicast target address field; then, the first address of the broadcast source node is filled into the unicast source address field and the broadcast source address field; finally, based on the unicast channel used by the broadcast source node for communication, the first broadcast information is input into the node network, so that the first broadcast content information is continuously propagated between each node in the node network based on the unicast channel. The present invention can realize the broadcast function in a node network that communicates based on a unicast channel, thereby improving the utilization rate of unicast channel resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of mobile communication technology, and in particular to a broadcasting method, electronic equipment and storage medium on a wireless channel. Background Art

[0002] Broadcast and unicast are two basic communication methods used in network communications. Among them, the broadcast channel is a channel specifically used for broadcast transmission in the communication system. The broadcast channel can send data to all nodes in the network at the same time, so that all nodes can receive the same data, such as routing updates, time synchronization, etc. A unicast channel refers to a channel used for point-to-point communication in a communication system. In a unicast channel, data is transmitted directly from a sending node to a target unicast node without being received by other nodes. Only the target node will receive the data packet. Unicast communication is the most common communication method and is used for point-to-point communication, such as sending emails.

[0003] However, in related technologies, due to limited resources for data transmission, in business scenarios with more unicast and less broadcast, in order to improve resource utilization, the node network often does not plan broadcast time slot pairs with one send and multiple receive. However, in specific circumstances, there are still broadcast services, and the function of one send and multiple receive needs to be implemented. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a broadcast method and device, an electronic device and a storage medium on a wireless channel, which allow nodes to send broadcast information when only a unicast channel exists. The present invention can implement the broadcast function in a node network that communicates based on a unicast channel, thereby improving the utilization rate of unicast channel resources.

[0005] To achieve the above object, a first aspect of an embodiment of the present application proposes a broadcast method on a wireless channel, which is applied to a broadcast source node in a node network, wherein the node network includes multiple nodes communicating based on a unicast channel, and the method includes:

[0006] Acquire first broadcast information; the first broadcast information includes first broadcast content information, a broadcast source address field, a unicast source address field and a unicast target address field;

[0007] Fill the first address of the broadcast source node into the unicast source address field and the broadcast source address field;

[0008] Based on the unicast channel used by the broadcast source node for communication, the first broadcast information is input into the node network, so that the first broadcast content information is continuously propagated among the nodes in the node network based on the unicast channel.

[0009] In some embodiments, inputting the first broadcast information into the node network based on the unicast channel used by the broadcast source node for communication includes:

[0010] Obtaining a second address of a second node, and filling the second address into the unicast target address field; wherein the second node is a node adjacent to the broadcast source node in the node network;

[0011] After filling the first address and the second address into the first broadcast information, the first broadcast information is sent to the second node, so that the second node updates the unicast source address field based on the second address, and updates the unicast target address field based on the third address of the third node, and then sends the first broadcast information updated according to the second address and the third address to the third node; wherein the third node is a node adjacent to the second node in the node network.

[0012] In some embodiments, each node in the node network is configured with a corresponding node identification information, and the obtaining of the first broadcast information includes:

[0013] Acquire the first broadcast content information, the broadcast source address field, the unicast source address field, and the unicast target address field;

[0014] generating the first broadcast identification information according to the node identification information of the broadcast source node;

[0015] The first broadcast content information, the broadcast source address field, the unicast source address field, the unicast target address field and the first broadcast identification information are integrated to obtain the first broadcast information.

[0016] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a broadcast method on a wireless channel, which is applied to a broadcast forwarding node in a node network, wherein the node network includes a plurality of nodes communicating based on a unicast channel, and the method includes:

[0017] The broadcast forwarding node obtains first broadcast information from adjacent nodes in the node network based on the unicast channel; wherein the first broadcast information is input into the node network by the broadcast source node in the following manner:

[0018] Acquire the first broadcast information; the first broadcast information includes first broadcast content information, a broadcast source address field, a unicast source address field and a unicast target address field;

[0019] Filling the first address of the broadcast source node into the unicast source address field;

[0020] inputting the first broadcast information into the node network based on the unicast channel used by the broadcast source node for communication;

[0021] updating the unicast source address field based on a fourth address of the broadcast forwarding node;

[0022] The first broadcast information updated based on the fourth address is forwarded to the adjacent nodes of the broadcast forwarding node in the node network through the unicast channel, so that the first broadcast content information is continuously propagated among the nodes in the node network based on the unicast channel.

[0023] In some embodiments, each node in the node network is configured with an identification information comparison benchmark, the first broadcast information also includes first broadcast identification information, and after the broadcast forwarding node obtains the first broadcast information from the adjacent node in the node network based on the unicast channel, it also includes:

[0024] When the first broadcast identification information complies with the identification information comparison benchmark corresponding to the broadcast forwarding node, the identification information comparison benchmark is updated so that the first broadcast identification information no longer complies with the updated identification information comparison benchmark.

[0025] To achieve the above object, a third aspect of an embodiment of the present application proposes a broadcast method on a wireless channel, which is applied to a broadcast target node in a node network, wherein the node network includes multiple nodes communicating based on a unicast channel, and the method includes:

[0026] The broadcast target node obtains first broadcast information from adjacent nodes in the node network based on the unicast channel; wherein the first broadcast information is input into the node network by the broadcast source node in the following manner:

[0027] Acquire the first broadcast information; the first broadcast information includes first broadcast content information, a broadcast source address field, a unicast source address field and a unicast target address field;

[0028] Filling the first address of the broadcast source node into the unicast source address field;

[0029] The first broadcast information is input into the node network based on the unicast channel used by the broadcast source node for communication.

[0030] In some embodiments, each node in the node network is configured with an identification information comparison benchmark, the first broadcast information also includes first broadcast identification information, and after obtaining the first broadcast information from the neighboring nodes of the broadcast target node in the node network based on the unicast channel, it also includes:

[0031] When the broadcast identification information meets the identification information comparison benchmark corresponding to the broadcast target node, the identification information comparison benchmark is updated so that the first broadcast identification information no longer meets the updated identification information comparison benchmark;

[0032] Index information is constructed based on the broadcast source address field, the broadcast identification information, and the unicast source address field, and the first broadcast information is stored based on the index information.

[0033] In some embodiments, the broadcast source node divides the first broadcast information into a plurality of first broadcast information fragments and inputs the first broadcast information fragments into the node network through the unicast channel, wherein each of the first broadcast information fragments further includes a fragment quantity and a fragment sequence number corresponding to each of the broadcast information fragments, and constructs the index information based on the broadcast source address field, the broadcast identification information, and the unicast source address field, and stores the first broadcast information based on the index information, including:

[0034] Constructing first-level index sub-information based on the broadcast source address field and the broadcast identification information;

[0035] On the basis of the primary index sub-information, constructing secondary index sub-information based on the unicast source address field, and storing all the first broadcast information fragments based on the secondary sub-index information;

[0036] Determining, according to the number of fragments and the fragment sequence number, that all the first broadcast information fragments corresponding to the secondary index sub-information have been received;

[0037] All the first broadcast information fragments corresponding to the secondary index sub-information are reorganized according to the fragment sequence number.

[0038] To achieve the above-mentioned purpose, the fourth aspect of an embodiment of the present application proposes an electronic device, which includes a memory and a processor, the memory stores a computer program, and the processor implements the method described in the embodiment of the first aspect when executing the computer program.

[0039] To achieve the above-mentioned purpose, the fifth aspect of the embodiment of the present application proposes a storage medium, which is a computer-readable storage medium, and the storage medium stores a computer program. When the computer program is executed by a processor, the method described in the embodiment of the first aspect is implemented.

[0040] The broadcast method, electronic device and storage medium on the wireless channel proposed in the present application have the following beneficial effects: the method first obtains the first broadcast information; the first broadcast information includes the first broadcast content information, the broadcast source address field, the unicast source address field and the unicast target address field; then, the first address of the broadcast source node is filled into the unicast source address field and the broadcast source address field; finally, based on the unicast channel used by the broadcast source node for communication, the first broadcast information is input into the node network, so that the first broadcast content information is continuously propagated between the nodes in the node network based on the unicast channel. Thus, by using the unicast channel between the nodes in the node network to transmit the broadcast information, the broadcast function in the node network that communicates based on the unicast channel is realized, thereby improving the utilization rate of the unicast channel resources.

[0041] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flowchart of a broadcasting method on a wireless channel provided in an embodiment of the present application;

[0043] Figure 2 yes Figure 1 Another flowchart diagram of step 110 in FIG.

[0044] Figure 3 It is a schematic diagram of the structure of the broadcast information message provided in the embodiment of the present application;

[0045] Figure 4 yes Figure 1 Another flowchart diagram of step 130 in FIG.

[0046] Figure 5 is another flowchart of the broadcasting method on a wireless channel provided in an embodiment of the present application;

[0047] Figure 6 is another flowchart of the broadcasting method on a wireless channel provided in an embodiment of the present application;

[0048] Figure 7 yes Figure 6 Another flowchart after step 310 in FIG.

[0049] Figure 8 yes Figure 7 Another flowchart diagram of step 420 in FIG.

[0050] Fig. 9 It is a schematic diagram of an index structure for storing broadcast information fragments provided in an embodiment of the present application;

[0051] Fig.10 is another flowchart of the broadcasting method on a wireless channel provided in an embodiment of the present application;

[0052] Fig.11 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0053] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0054] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0056] Before further describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations:

[0057] TDMA (Time Division Multiple Access): A multiple access technology used to divide a shared channel into multiple time slots in the time domain so that multiple users can communicate on the same frequency. Each time slot is assigned to one user for communication. Each user can only send and receive data in its own assigned time slot, and other users communicate in other time slots. The TDMA protocol is widely used in many communication systems, including mobile communication systems, satellite communication systems, and wireless local area networks. It allows multiple users to use the same frequency resource at the same time, improves spectrum utilization, and can provide better anti-interference ability and reliability.

[0058] Ad-Hoc Network: A network that does not require infrastructure support, in which mobile devices can communicate directly to form a temporary network topology. In an ad-hoc network, routing protocols play a key role in determining the transmission path of data packets in the network. The nodes in an ad-hoc network have equal status and there is no centralized control node. Each node can act as a sender and receiver of data, and realize data transmission between nodes through multi-hop communication. And the nodes in an ad-hoc network can be mobile and change their positions and connection relationships at any time. In an ad-hoc network, routing protocols play an important role in determining the transmission path of data packets in the network. Common ad-hoc routing protocols include AODV, DSR, OLSR and TORA.

[0059] In the related art, unicast and broadcast are two common communication methods in node networks, but in some cases, for example, a mobile ad hoc network is a wireless network composed of mobile nodes, and nodes can autonomously establish and release connections. Due to the mobility of nodes and the instability of network topology, in order to adapt to the dynamic changes of nodes, the network may prefer to use point-to-point communication methods, which are generally only used for control, such as network access, routing, configuration, etc. Most services are unicast, and broadcast services are generally only periodic notifications, etc., so broadcast channels are often not configured. For another example, a wireless sensor network is usually composed of a large number of low-power sensor nodes, which transmit data through wireless communication. Since sensor nodes have limited computing and energy resources, in order to extend the life of the network, the network may not allocate resources specifically for broadcasting. Therefore, due to resource utilization considerations, the node network may not have specially planned time slots or channels for broadcasting. However, in specific scenarios, it is still necessary to implement a broadcast function of sending and receiving multiple times.

[0060] Based on this, an embodiment of the present application provides a broadcasting method, electronic device and storage medium on a wireless channel, which can implement a broadcasting function in a node network that communicates based on a unicast channel, thereby improving the utilization rate of unicast channel resources.

[0061] The broadcasting method on the wireless channel, electronic device and storage medium provided in the embodiments of the present application are specifically described through the following embodiments. First, the broadcasting method on the wireless channel in the embodiments of the present application is described.

[0062] It should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on data related to user identity or characteristics such as user information, user behavior data, user historical data, and user location information, the user's permission or consent will be obtained first. For example, when obtaining user stored data and the user's cached data access request, the user's permission or consent will be obtained first. Moreover, the collection, use and processing of these data will comply with the relevant laws, regulations and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain the user's sensitive personal information, the user's separate permission or separate consent will be obtained by means of a pop-up window or jumping to a confirmation page. After clearly obtaining the user's separate permission or separate consent, the necessary user-related data used to enable the normal operation of the embodiment of the present application will be obtained.

[0063] The broadcasting method on the wireless channel of the broadcast source node in the node network in the embodiment of the present application can be explained by the following embodiment.

[0064] Figure 1 is an optional flow chart of a broadcast method on a wireless channel provided in an embodiment of the present application, the method being applied to a broadcast source node in a node network, the node network comprising a plurality of nodes communicating based on a unicast channel, Figure 1 The method may include but is not limited to steps 110 to 130.

[0065] Step 110: Obtain first broadcast information.

[0066] In this step, the first broadcast information acquired by the broadcast source node includes first broadcast content information, a broadcast source address, a unicast source address field, and a unicast target address field.

[0067] The first broadcast content information is the content information of this broadcast, which may be text, image, audio or other types of data. The determination of the specific content depends on the application scenario and requirements.

[0068] The broadcast source node fills its address into the broadcast source address field, which is used to identify the source of the broadcast information as the broadcast source node. By filling in the broadcast source address field, other nodes can know which node is the sender of the first broadcast information by parsing the broadcast source address field.

[0069] The unicast source address field and the unicast target address field are used to identify the unicast source node and the unicast target node in this unicast transmission. For example, in this embodiment, the unicast source address field is filled with the address of the broadcast source node, and the unicast target address field is filled with the address of the node adjacent to the broadcast source node.

[0070] See also Figure 2In some embodiments, step 110 may include steps 111 to 113 .

[0071] Step 111: Acquire first broadcast content information, a broadcast source address field, a unicast source address field, and a unicast target address field.

[0072] Step 112: Generate first broadcast identification information according to the node identification information of the broadcast source node.

[0073] After the broadcast source node acquires the first broadcast information to be broadcast, the broadcast source node generates first broadcast identification information according to its own node identification information. The node identification information may be an identifier that uniquely identifies the broadcast source node, such as a character string, a serial number, and the like.

[0074] The node identification information of the broadcast source node can be realized through the broadcast sending sequence window configured in the node. An embodiment of realizing the generation of broadcast identification information based on the broadcast sending sequence window is given below:

[0075] A broadcast source node with a broadcast sending sequence window size of 3 sends broadcasts A, B, C, D, and E. In the initial state of the sender, the sequence number of the sending window is 0, indicating that no broadcast has been sent; the sender sends broadcast A and sets the sequence number of the broadcast to 0; the sender slides the sending window back one position and the sequence number increases by 1; the sender sends broadcast B and sets the sequence number of the broadcast to; similarly, the sender sends broadcast C and sets the sequence number of the broadcast to 2; the sender continuously sends broadcasts D and E, setting their sequence numbers to 3 and 4 respectively.

[0076] By assigning unique identification information to broadcasts, it is ensured that each broadcast message has a unique identification information. This can help the receiver identify and distinguish different broadcast messages. The receiver can filter, classify or selectively process broadcast messages based on the identification information. The receiver can accurately identify broadcast messages to avoid confusion or incorrect processing. In addition, the unique identification information can also be used to detect and handle conflicts and redundancies of broadcast messages. The receiver can determine whether the same broadcast message has been received based on the identification information and the broadcast source address field, thereby avoiding repeated processing or unnecessary resource consumption.

[0077] Step 113: Integrate the first broadcast content information, the broadcast source address field, the unicast source address field, the unicast target address field and the first broadcast identification information to obtain the first broadcast information.

[0078] In this step, the broadcast source node integrates the first broadcast content information, the broadcast source address field, the unicast source address field, the unicast target address field and the first broadcast identification information to generate the first broadcast information, that is, Figure 3The first broadcast message shown in FIG. By integrating these fields, the broadcast source node can generate a complete first broadcast message. This broadcast message will contain the broadcast content, broadcast source address, unicast source address, unicast target address and broadcast identifier, so as to be transmitted to the receiver during the broadcast process.

[0079] It should be noted that the first broadcast message may also include a broadcast target address field, which is a broadcast address, a special address for sending data packets to all hosts in a network. In different network protocols, the representation and use of broadcast addresses may be different. In an IPv4 network, the broadcast address is usually the last address of the network, that is, an address in which all host bits in the network address are set to 1. For example, for a network with a subnet address of 192.168.0.0 / 24, the broadcast address is 192.168.0.255. There is no broadcast address in the traditional sense in an IPv6 network. IPv6 uses multicast to implement broadcast-like functions. The multicast address range of IPv6 is ff00:: / 8, and some of the addresses are reserved for specific purposes, such as node-local multicast addresses, link-local multicast addresses, and multicast addresses. In Ethernet, the broadcast address is called a special value of the MAC address. The broadcast address of Ethernet is a MAC address with all 1s (FF:FF:FF:FF:FF:FF), which is used to broadcast data frames to all connected hosts.

[0080] In some embodiments, the first broadcast content information may be divided into multiple fragments for transmission. Each fragment includes the number of fragments and the corresponding fragment sequence number to ensure that the receiver can correctly assemble and restore the original broadcast content information. The following is an example step to illustrate how to divide the first broadcast content information into multiple fragments:

[0081] The broadcast source node determines the content information to be broadcast and calculates the appropriate fragment size.

[0082] The broadcast source node divides the first broadcast content information into multiple fragments and encapsulates them into multiple first broadcast information fragments, each fragment including a portion of the original content, the number of fragments and the corresponding fragment sequence number.

[0083] The broadcast source node transmits each fragment as an independent broadcast message at different times and identifies each fragment with a corresponding sequence number.

[0084] After receiving the broadcast message, the receiving node sorts the fragments according to the fragment sequence number.

[0085] The receiving node assembles the received fragments into complete first broadcast content information according to the number of fragments and fragment sequence numbers.

[0086] By fragmenting the first broadcast content information, the broadcast content information can be sent in fragments when the broadcast content information is too long and the broadcast content information field length corresponding to the broadcast message is limited. Each fragment contains the number of fragments and sequence number information, so that the receiver can correctly receive and assemble the broadcast content information and recover it even if there is loss, duplication or disorder during the broadcast process. The specific fragmentation strategy and implementation method may vary depending on the protocol and application requirements. The above example provides a common practice, but in actual applications, it may be adjusted and optimized according to specific circumstances.

[0087] Step 120: Fill the first address of the broadcast source node into the unicast source address field and the broadcast source address field.

[0088] In this step, the broadcast source node needs to obtain its own address in the node network. This address can be a network address that uniquely identifies the broadcast source node, such as an IP address or a MAC address. The broadcast source node fills the obtained address into the unicast source address field and the broadcast source address field in the first broadcast information. By filling in the unicast source address field and the broadcast source address field, the broadcast source node identifies itself as the unicast source node and the source node of this broadcast during the broadcast information propagation process.

[0089] Step 130: input the first broadcast information into the node network based on the unicast channel used by the broadcast source node for communication, so that the first broadcast content information is continuously propagated among the nodes in the node network based on the unicast channel.

[0090] In this step, the broadcast source node uses a unicast channel to transmit the first broadcast information to other nodes in the node network. Specifically, the broadcast source node sends a broadcast message containing the first broadcast content information, a broadcast source address field, a unicast source address field, and a unicast target address field to other nodes through a unicast channel. When other nodes receive this broadcast message, they can determine that the source of the broadcast message is the broadcast source node based on the unicast source address field. Then, these nodes can update the unicast source address field to their own address and update the unicast target address field to the next receiving node, thereby continuing to propagate the first broadcast content information to other nodes through the unicast channel. In this way, the first broadcast content information can be continuously propagated in the node network based on the unicast channel, thereby achieving a broadcast effect in the node network.

[0091] See also Figure 4 In some embodiments, step 130 may include steps 131 to 132.

[0092] Step 131, obtain the second address of the second node, and fill the second address into the unicast target address field.

[0093] Obtain the second address of the second node and fill the address into the unicast target address field. In this sub-step, the broadcast source node obtains the second address of the second node adjacent to it and fills the address into the unicast target address field. The unicast target address field is used to specify the target address information of the unicast message. By filling in the second address of the second node, the broadcast source node indicates that the recipient of the broadcast message is the second node.

[0094] Step 132, after filling the first address and the second address into the first broadcast information, the first broadcast information is sent to the second node, so that the second node updates the unicast source address field based on the second address, and updates the unicast target address field based on the third address of the third node, and then sends the first broadcast information updated according to the second address and the third address to the third node.

[0095] In this step, the broadcast source node fills the first address and the second address into the first broadcast information. Then, the broadcast source node sends the first broadcast information to the second node. The second node can update the unicast source address field based on its second address, and update the unicast target address field based on the third address of the third node adjacent to it. Then, the second node will forward the updated first broadcast information to the third node.

[0096] The broadcast source node transmits the broadcast message from the first node to the second node by updating the unicast target address and source address fields of the broadcast information, and allows the second node to further update the unicast source address field and the unicast target address field according to its own second address and the third address of the adjacent third node. In this way, the broadcast message can be continuously propagated between various nodes in the node network based on the unicast channel.

[0097] Among them, the second node is represented by all nodes adjacent to the broadcast source node in the node network, and the third node is represented by all nodes adjacent to the second node in the node network. The neighbor table can be used to obtain the nodes adjacent to it. The neighbor table is a data structure maintained by the node, which is used to record the information of other nodes directly connected to the node in the node network. The neighbor table usually contains the address, connection status and other relevant information of each neighbor node. When a node needs to propagate a broadcast message in the node network, it can refer to the neighbor table to determine the nodes adjacent to it and communicate with these nodes using a unicast channel.

[0098] In some embodiments, a TDMA protocol may be used to determine the number of time slots and time slot cycles required based on network requirements and the number of nodes. The number of time slots should be sufficient to accommodate all nodes for unicast communication, and the time slot cycle should be long enough to accommodate the communication requirements of all nodes. The time slot cycle is divided into unicast time slot pairs, each of which is used for unicast communication of one node. An independent time slot pair is allocated to each node through static planning to ensure that unicast communication between nodes does not conflict. According to the unicast time slot pair configuration of the node, each node sends broadcast information in its designated time slot pair. In the designated time slot pair, the node exclusively uses the time slot for broadcast communication without worrying about transmission collision. The broadcast information is transmitted in the unicast time slot pair of each node and propagated hop by hop through unicast communication between nodes. Each node receives the broadcast information from the previous hop node according to its own time slot pair configuration, and forwards it to the next hop node in the designated time slot pair.

[0099] The broadcasting method on the wireless channel of the broadcast forwarding node in the node network in the embodiment of the present application can be explained by the following embodiment.

[0100] Figure 5 is an optional flow chart of a broadcast method on a wireless channel provided in an embodiment of the present application, the method being applied to a broadcast forwarding node in a node network, the node network comprising a plurality of nodes communicating based on a unicast channel, Figure 5 The method may include but is not limited to steps 210 to 230.

[0101] Step 210: The broadcast forwarding node obtains first broadcast information from adjacent nodes in the node network based on a unicast channel.

[0102] In this step, the broadcast forwarding node communicates with its adjacent nodes through a unicast channel and obtains the first broadcast information. The adjacent node is a node directly connected to the broadcast forwarding node in the node network, which can be a broadcast source node or other node.

[0103] It should be noted that the first broadcast information is obtained by the broadcast source node, and the first broadcast information includes the first broadcast content information, the broadcast source address field, the unicast source address field and the unicast target address field, and then the first address of the broadcast source node is filled into the unicast source address field. Finally, based on the unicast channel used by the broadcast source node for communication, the first broadcast information is input into the node network. How the broadcast source node transmits the first broadcast information to the node network is described above and will not be repeated here.

[0104] In some embodiments, each node in the node network is configured with an identification information comparison benchmark, and after step 210, the following steps are further included:

[0105] When the first broadcast identification information conforms to the identification information comparison benchmark corresponding to the broadcast forwarding node, the identification information comparison benchmark is updated so that the first broadcast identification information no longer conforms to the updated identification information comparison benchmark.

[0106] In this step, in the node network, each broadcast forwarding node is configured with an identification information comparison benchmark. When the broadcast forwarding node receives the first broadcast information from the adjacent node, and the identification information of the broadcast information matches the identification information comparison benchmark corresponding to the broadcast forwarding node, the identification information comparison benchmark can be updated to ensure that the first broadcast identification information no longer meets the updated identification information comparison benchmark, thereby avoiding repeated forwarding of the first broadcast information from the broadcast source node.

[0107] In some embodiments, in a node network, each broadcast forwarding node separately maintains a receiving window for all other nodes as follows:

[0108] WIN node [SEQ,SEQ+n),SEQ=ARROUND(SEQ rcv +1)

[0109] Receiving window WIN node It includes the left end sequence number SEQ and the right end sequence number SEQ+n. The right end sequence number is equal to the left end sequence number SEQ plus the receiving window width n, where the left end sequence number is equal to the broadcast sequence number SEQ of the most recently received broadcast information rcv Add one. When a node receives a broadcast message from a neighboring node, it first parses the broadcast source address field in the broadcast message, indexes the current node's receiving window for the broadcast source node based on the broadcast source address, and then parses the broadcast identification information in the broadcast message to determine whether the broadcast identification information is within the range of [SEQ, SEQ+n). If so, it confirms the reception of the broadcast message. If it is not within the receiving range, it is discarded, which means that the broadcast message has been received and the window has moved right. The reason why it is still received may be that it has been received from other neighbors before.

[0110] Step 220: Update the unicast source address field based on the fourth address of the broadcast forwarding node.

[0111] In this step, the broadcast forwarding node uses its fourth address to update the unicast source address field in the first broadcast information. By filling the fourth address of the broadcast forwarding node into the unicast source address field, it identifies itself to subsequent target nodes as the source of this broadcast message.

[0112] Step 230: forward the first broadcast information updated based on the fourth address to the adjacent nodes of the broadcast forwarding node in the node network through the unicast channel, so that the first broadcast content information is continuously propagated among the nodes in the node network based on the unicast channel.

[0113] The first broadcast information updated based on the fourth address is forwarded to the nodes adjacent to the broadcast forwarding node in the node network through a unicast channel, so that the first broadcast content information is continuously propagated between the nodes in the node network based on the unicast channel. In this step, the broadcast forwarding node sends the updated first broadcast information to the nodes adjacent to it through the unicast channel. Through such a forwarding process, the first broadcast content information can be continuously propagated between the nodes in the node network based on the unicast channel.

[0114] To summarize, after receiving the broadcast information from the previous hop node, the broadcast forwarding node updates the unicast target address field in the broadcast information to its neighbor node address, updates the unicast source address field to its own node address, keeps the other parts of the broadcast information unchanged and forwards it to all nodes adjacent to itself.

[0115] In some embodiments, in order to avoid information loops and ensure that the broadcast message is not received by the sender itself, the broadcast message can be sent to all neighboring nodes of the sender, but not to the sender node of the broadcast message (i.e., excluding the unicast source address). This ensures that the broadcast message is propagated in the node network while avoiding the formation of loops. The specific method for achieving this goal may vary depending on different network protocols and system designs. The following is a possible implementation method:

[0116] The broadcast forwarding node obtains the message content to be broadcast and creates a broadcast message;

[0117] The broadcast forwarding node determines its own neighbor node list, that is, other nodes connected to itself;

[0118] The broadcast source node copies the broadcast message multiple times, and sends each copy to a neighbor node;

[0119] Before sending each broadcast message, the broadcast forwarding node needs to confirm that the address filled in the unicast target address field is not the sender node address of the broadcast message received this time.

[0120] In this way, the broadcast forwarding node sends the broadcast message to all its neighbor nodes, ensuring that the message propagates in the node network while avoiding loops and the sender receiving the broadcast message. The specific implementation method may vary depending on different network protocols, application requirements, and system designs. The above description is a general implementation method, and the specific details and steps may vary depending on the specific situation.

[0121] The broadcasting method on the wireless channel of the broadcast forwarding node in the node network in the embodiment of the present application can be explained by the following embodiment.

[0122] Figure 6 is an optional flow chart of a broadcast method on a wireless channel provided in an embodiment of the present application, the method being applied to a broadcast target node in a node network, the node network comprising a plurality of nodes communicating based on a unicast channel, Figure 6 The method may include but is not limited to step 310.

[0123] Step 310: The broadcast target node obtains first broadcast information from adjacent nodes in the node network based on a unicast channel.

[0124] In this step, the broadcast target node communicates with its adjacent nodes through a unicast channel and obtains the first broadcast information. The adjacent node is a node directly connected to the broadcast target node in the node network, which can be a broadcast source node or a broadcast forwarding node.

[0125] It should be noted that the first broadcast information is obtained by the broadcast source node, and the first broadcast information includes the first broadcast content information, the broadcast source address field, the unicast source address field and the unicast target address field, and then the first address of the broadcast source node is filled into the unicast source address field. Finally, based on the unicast channel used by the broadcast source node for communication, the first broadcast information is input into the node network. How the broadcast source node transmits the first broadcast information to the node network is described above and will not be repeated here.

[0126] See also Figure 7 In some embodiments, each node in the node network is configured with an identification information comparison benchmark, the first broadcast information also includes first broadcast identification information, and step 310 may further include steps 410 to 420.

[0127] Step 410: When the broadcast identification information meets the identification information comparison benchmark corresponding to the broadcast target node, the identification information comparison benchmark is updated so that the first broadcast identification information no longer meets the updated identification information comparison benchmark.

[0128] In this step, in the node network, each broadcast target node is configured with an identification information comparison benchmark. When the broadcast target node receives the first broadcast information from an adjacent node, and the first identification information of the broadcast information matches the identification information comparison benchmark corresponding to the broadcast target node, the identification information comparison benchmark can be updated to ensure that the first broadcast identification information no longer meets the updated identification information comparison benchmark, thereby avoiding the broadcast target node from repeatedly receiving the first broadcast information from the broadcast source node.

[0129] In some embodiments, in a node network, each broadcast target node separately maintains a receiving window for all other nodes as follows:

[0130] WIN node [SEQ,SEQ+n),SEQ=ARROUND(SEQ rcv +1)

[0131] Receiving window WIN node It includes the left end sequence number SEQ and the right end sequence number SEQ+n. The right end sequence number is equal to the left end sequence number SEQ plus the receiving window width n, where the left end sequence number is equal to the broadcast sequence number SEQ of the most recently received broadcast information rcv Add one. When the broadcast target node receives the broadcast information from the neighbor node, it first parses the broadcast source address field in the broadcast information, indexes the current node's receiving window for the broadcast source node according to the broadcast source address, and then parses the broadcast identification information in the broadcast information to determine whether the broadcast identification information is within the range of [SEQ, SEQ+n). If so, it confirms the reception of the broadcast information. If it is not within the receiving range, it is discarded, which means that the broadcast information has been received and the window has moved to the right. The reason why it is still received may be that it has received the broadcast information from other neighbors before.

[0132] The broadcast target node uses the node address as the index and saves an independent receiving window for all nodes in the node network to avoid window confusion when broadcasting from any address in the node network.

[0133] In some embodiments, when the broadcast target node receives data that is within the window range but not the data expected to be received at the left boundary of the window, a timer can be started and the sequence number (SEQ) of the left boundary of the window can be waited for. During the waiting time, the receiver can process the received data normally, but the window will not be moved. If the receiver receives the broadcast information corresponding to the sequence number of the left boundary of the window before the timer times out or during the waiting period, the receiver can move the window right at one time and move the right boundary of the window to the position of the received sequence number plus one. Before the timing times out or the left boundary sequence number is received, the data received in the window is only stored in the node, and will not be fragmented and reorganized, nor will it be submitted upward. The purpose of this is to wait for a period of time. If the left boundary comes, it can still be submitted in the correct order.

[0134] In some embodiments, if a node receives multiple discontinuous broadcast information sequence numbers on the right side of the left boundary of the window within the waiting time of the left boundary timer of the window, then when the timer times out or the receiver receives the broadcast information corresponding to the sequence number of the left boundary of the window during the waiting period, the left boundary of the window is moved right to the first broadcast information sequence number position on the right side that has not been received, and the timer is reset to start waiting to receive the broadcast information corresponding to the sequence number.

[0135] The purpose of the timer is to handle the following situation: when the expected sequence number has not arrived, but the receiver has received some data during the waiting period. This may be because there is a forwarding delay in the intermediate forwarder, resulting in the order of data arrival not necessarily being in order. Therefore, the receiver cannot rely on the behavior of the intermediate forwarder. Through the timer mechanism, the receiver can wait for a period of time to ensure that the expected left boundary sequence number is received as much as possible within this time. If the expected sequence number is received before the timeout, the receiver can safely move the window to the right. This processing method can help the receiver effectively process the received data without relying on the behavior of the intermediate forwarder, and can ensure that the order submitted to the upper layer is consistent with the order sent by the sender, and will not be disordered due to the disorder of the intermediate forwarding, so as to maintain the correct movement and processing of the window.

[0136] Step 420: construct index information based on the broadcast source address field, the broadcast identification information, and the unicast source address field, and store the first broadcast information based on the index information.

[0137] In this step, index information can be constructed based on the broadcast source address field, broadcast identification information and unicast source address field, and the first broadcast information can be stored using the index information. Among them, the broadcast source address field is used to uniquely identify the broadcast source node address, the broadcast identification information is used to uniquely identify the broadcast sequence number, and the unicast source address field uniquely identifies the unicast source node address. By using the broadcast information index table, broadcast information can be more efficiently searched and accessed without traversing or linearly searching the entire storage structure. This can improve search efficiency and save resources.

[0138] See also Figure 8 In some embodiments, the broadcast source node divides the first broadcast information into multiple first broadcast information fragments and inputs them into the node network through the unicast channel, wherein each of the first broadcast information fragments also includes the number of fragments and the fragment sequence number corresponding to each of the broadcast information fragments, and step 420 may include steps 421 to 424.

[0139] Step 421: construct the first-level index sub-information based on the broadcast source address field and the broadcast identification information.

[0140] Among them, the process of the broadcast source node fragmenting the first broadcast information is as described above and will not be repeated here. In this step, in order to classify and store the first broadcast information according to its broadcast source node and the unique broadcast identifier assigned to it by the broadcast source node, the broadcast source address field and the broadcast identifier information can be used as keys to construct a data structure of a first-level index sub-information, such as a hash table or an associative array, each key corresponds to a value, which can be a data structure storing broadcast information fragments, or a pointer to the location where the broadcast information fragments are stored or a next-level index. By using the first-level index sub-information, the corresponding broadcast information fragment or broadcast information fragment index can be quickly located according to the broadcast source address and broadcast identifier information. This can improve the efficiency of finding and accessing broadcast information fragments.

[0141] Step 422: On the basis of the primary index sub-information, secondary index sub-information is constructed based on the unicast source address field, and all first broadcast information fragments are stored based on the secondary sub-index information.

[0142] See also Fig. 9 In this step, the first-level index sub-information can be used as the basis to construct the second-level index sub-information according to the unicast source address field. The second-level index sub-information can be a data structure, such as a hash table or an associative array. For each unicast source address, it can be used as a key value or an index, and the corresponding value can be a data structure for storing broadcast information fragments, or a pointer to the location where the broadcast information fragments are stored. Each time a broadcast information fragment is received, it is stored in the node storage space according to the first-level index sub-information and the second-level index sub-information. By using the second-level index sub-information, the corresponding broadcast information fragment can be quickly located according to the unicast source address. In this way, the broadcast information fragments can be stored and accessed more accurately.

[0143] In some embodiments, the broadcast source node can be used as the first-level index sub-information, the broadcast identification information can be used as the second-level index sub-information, and the unicast source node can be used as the third-level index sub-information. Such multi-index levels can improve data organization and retrieval efficiency, and can access and process broadcast information fragments of specific broadcast source nodes, broadcast identification information, and unicast source nodes more quickly.

[0144] Step 423: Determine, based on the number of fragments and the fragment sequence number, whether all first broadcast information fragments corresponding to the secondary index sub-information have been received.

[0145] In this step, the number of received fragments is compared with the number of fragments in the broadcast information to determine whether all the broadcast information fragments belonging to the broadcast source node and the broadcast identification information index have been received. If the number of received fragments is equal to the expected number of fragments, it can be confirmed that all the broadcast information fragments corresponding to the combination of the broadcast source node and the broadcast identification information have been received. The purpose of this step is to ensure that all broadcast information fragments have been successfully received for subsequent reorganization and processing.

[0146] like Fig. 9 As shown in the figure, the secondary index sub-information under the broadcast source address and broadcast identification information index includes unicast source address 1, unicast source address 2 and unicast source address 3. The nodes corresponding to these three addresses respectively forward the broadcast information from the broadcast source node to the broadcast target node. Assuming that the number of fragments in the broadcast information is 3, as shown in the figure, the broadcast target node receives broadcast information fragment 1 from unicast source node 1, broadcast information fragment 1 and broadcast information fragment 2 from unicast source node 2, and all three broadcast information fragments from unicast source node 3.

[0147] In some embodiments, after the broadcast target node determines that all fragments from a certain unicast source node are collected, the incomplete broadcast information fragments under other unicast source address indexes may be discarded to save storage space.

[0148] A specific example is given below. There are 4 nodes in the node network, namely, node A, node B, node C, and node D. Node A sends a broadcast with identification information of 90, and divides it into 3 pieces, which are sent to node B and node C in 3 times in the unicast time slots between node A and node B, and between node A and node C. Among them, the broadcast identification information is 90, and the total number of pieces and the piece number corresponding to the piece are indicated in each broadcast information piece. Node D can only receive the broadcast information pieces forwarded by nodes B and C, and cannot receive those sent by node A. When node D receives data forwarded by nodes B and C, it will receive a total of 6 pieces, and the order is uncertain. This depends on the unicast time slot configuration between nodes B and D and between nodes C and D, and also depends on the forwarding strategy of nodes B and C. Therefore, when node D saves 6 fragments, they are all saved under the index with the broadcast source address of node A and the broadcast identification information of 90, and two copies are saved respectively with the unicast source address of node B and node C as the index. When the three messages of node B or node C are received, it is considered that all the broadcast information fragments with the broadcast identification information equal to 90 have been received, the receiving window moves to the right, and the data under the index of the unicast source address of node B is deleted.

[0149] Step 424: reorganize all first broadcast information fragments corresponding to the secondary index sub-information according to the fragment sequence number.

[0150] In this step, the shard sequence number is used as the sorting basis, and the shards are combined in the order of the shard sequence numbers to restore the original first broadcast information. By traversing the corresponding broadcast information in the secondary index sub-information, the shard sequence number corresponding to each broadcast information shard is obtained, and then, according to the order of the shard sequence numbers, these shards are combined in order to restore the original first broadcast information. Through such a reorganization process, the original broadcast information can be restored for subsequent processing and use.

[0151] like Fig.10 FIG. 1 is another flow chart of the broadcast method on a wireless channel provided by the present disclosure. In an embodiment of the present disclosure, the broadcast method on a wireless channel provided by the present disclosure is described in detail by applying the method in a computer device. The method specifically includes the following steps:

[0152] Step 1001, sending a broadcast transmission request to the network layer.

[0153] Step 1002: The network layer determines a broadcast transmission request.

[0154] In step 1001 to step 1002, after receiving the broadcast transmission request, the network layer performs corresponding processing and judgment, such as verifying the legitimacy of the broadcast transmission request, checking whether the broadcast range complies with the regulations, determining the transmission method of the broadcast message, etc. Based on these judgments and processing, the network layer decides whether to allow the broadcast operation, and may take further measures to ensure the effective transmission of the broadcast.

[0155] Step 1003, obtain the current broadcast sequence number, and at the same time, shift the sending sequence number window right by one position.

[0156] The broadcast sending node will obtain the sequence number of this broadcast. The broadcast sequence number is a unique identifier used to identify the broadcast message, usually an increasing number or other form of identification. By using the sequence number, the receiver can correctly identify and process the broadcast message.

[0157] At the same time, the broadcast sending node shifts the sequence number window right by one position. The sequence number window is a window used to manage the sending sequence number. Shifting the window right means that the sending node abandons the sequence number that has been used. By shifting the window right, the sending node can ensure that each broadcast information is equipped with a unique broadcast sequence number.

[0158] Step 1004, searching neighbor nodes according to the neighbor table to determine the broadcast target node.

[0159] Among them, the neighbor table is a data structure that records the information of adjacent nodes in the network. It contains a list of the direct adjacent nodes of the broadcast source node, and each adjacent node corresponds to a network address or identifier. The broadcast sender queries the neighbor table to find the nodes directly adjacent to it, which will serve as the target nodes of the broadcast. The target nodes are the target nodes of the broadcast message, and they will receive and forward the broadcast message. By looking up the neighbor table, the broadcast source node can determine the target node of the broadcast so that the broadcast message can be sent to the correct target. This process can be determined based on the network topology and neighbor relationships to ensure that the broadcast message can be effectively delivered to the target node to achieve the purpose of the broadcast.

[0160] Step 1005, enter the sending queue of the broadcast target node.

[0161] In this step, the broadcast source node adds itself to the sending queue of the broadcast target node. The sending queue is a queue used by the broadcast target node to manage the broadcast messages to be sent, and it stores the broadcast messages to be sent in a certain order.

[0162] Step 1006, waiting for the sending time slot of the broadcast target node, segmenting and encapsulating the broadcast information into multiple broadcast messages.

[0163] In step 1005 to step 1006, the broadcast source node waits for the unicast time slot with the broadcast target node. The unicast time slot refers to the time period in which the broadcast target node is allowed to send broadcast messages within a specific time window. After the broadcast source node obtains the sending time slot, it fragments and encapsulates the broadcast information to form multiple broadcast messages. The fragmentation and encapsulation operations divide the broadcast message into smaller fragments and add the necessary header and tail information to each fragment so that the receiver can correctly reassemble and process the broadcast message. According to the unicast time slot pair configuration, the broadcast source node will eventually send the broadcast message fragments to N broadcast target nodes at different times. If the number of fragments is C i , the actual number of times sent is

[0164] Step 1007, sending a broadcast message.

[0165] In this step, the broadcast source node sends the fragmented and encapsulated broadcast message. The broadcast message is a data packet generated and sent by the broadcast source node, which contains the broadcast source node address field, broadcast address, unicast source node address field, unicast target node address field, sequence number field and broadcast content field. The broadcast source node sends the broadcast message to the network layer through an appropriate communication mechanism (such as an API call or other communication protocol in the network protocol stack). The network layer is responsible for sending the broadcast message to the corresponding broadcast target node. After the network layer receives the broadcast message, it passes it to the corresponding broadcast target node according to the unicast target node address field of the broadcast message.

[0166] Step 1008: index the receiving window to determine the validity of the broadcast message.

[0167] In this step, the broadcast target node uses the broadcast source node address to index the corresponding receiving window to determine the legitimacy of the received broadcast message. The index receiving window is a window used by the broadcast target node to manage the reception of broadcast messages, which defines the range of broadcast message sequence numbers. The sequence number in the window represents the expected sequence number range of the broadcast message. When the broadcast target node receives a broadcast message, it first checks the sequence number of the message. By comparing it with the expected sequence number range in the index receiving window, the broadcast target node can determine whether the message falls within the window. If the sequence number of the message is within the window, that is, the message with the corresponding sequence number has not been received, the broadcast target node will mark the message as legal and perform subsequent processing. If the sequence number of the message is not within the window, it means that the message with the corresponding sequence number has been received, and the broadcast target node will ignore duplicate messages or adopt other processing strategies to avoid repeated reception of broadcast messages.

[0168] By using the index receiving window to determine the legitimacy of the broadcast message, the broadcast target node can filter out messages that are out of the window range or duplicate messages, thereby ensuring that only valid and unprocessed broadcast messages are processed. This helps to maintain the orderliness and accuracy of the broadcast.

[0169] Step 1009, save the broadcast message according to the source address.

[0170] In this step, the broadcast target node saves the broadcast message according to its source address. Index information can be constructed based on the broadcast source address field, broadcast identification information and unicast source address field, and the index information is used to store the first broadcast information. Among them, the broadcast source address field is used to uniquely identify the broadcast source node address, the broadcast identification information is used to uniquely identify the broadcast sequence number, and the unicast source address field uniquely identifies the unicast source node address. By using the broadcast information index table, broadcast information can be found and accessed more efficiently without traversing or linearly searching the entire storage structure. This can improve search efficiency and save resources.

[0171] Step 1010, checking whether the broadcast message fragments are received completely.

[0172] Specifically, when checking the integrity of the broadcast message fragments, the broadcast target node can perform the following operations:

[0173] The total number of broadcast message fragments can usually be obtained from the header information of the broadcast message fragments.

[0174] Record the received fragment sequence number and compare it with the expected fragment sequence number to ensure the continuity and correctness of the sequence number.

[0175] If the received fragment sequence number does not match the expected sequence number or there are missing fragments, the broadcast target node may wait for a while, try to re-receive the missing fragments, or adopt other error handling strategies.

[0176] Step 1011, the receiving sequence number window is shifted right by one position.

[0177] After all the broadcast message fragments are confirmed to be received, the receive sequence number window corresponding to the broadcast message is shifted right by one position. The receive sequence number window is usually a fixed-size window used to track the sequence numbers of received data packets. Each position in the window corresponds to a sequence number and indicates whether the data packet with the sequence number has been received. When the broadcast message corresponding to the leftmost sequence number is confirmed to be received, the window is shifted right by one position as a whole to ensure that the broadcast message corresponding to the leftmost sequence number is no longer received.

[0178] Step 1012: Search for neighbor nodes according to the neighbor table.

[0179] Step 1013: forward the broadcast message to the neighboring nodes of the broadcast target node.

[0180] In step 1012 to step 1013, the broadcast target node will query the neighbor table as needed to obtain information about the neighbor nodes directly connected to it. This can be achieved by performing a search or lookup operation in the neighbor table. By querying the neighbor table, the broadcast target node can determine which nodes are its neighbor nodes, that is, the nodes directly connected to it. These neighbor nodes will become the targets of broadcast message forwarding. In this step, the broadcast target node forwards all received broadcast message fragments to its neighbor nodes to achieve the propagation and diffusion of the broadcast message. Specifically, when forwarding all broadcast message fragments, the broadcast target node will use the neighbor node information obtained in step 1012 to determine the forwarding target. It will copy all received broadcast message fragments to multiple copies, and send all copied broadcast message fragments to each neighbor node. According to the unicast time slot pair configuration, the final broadcast target node sends the broadcast message fragments to N neighbors at different times. If the number of fragments is C i , the actual number of times sent is

[0181] Among them, after receiving the broadcast message from the previous hop node, the broadcast forwarding node updates the unicast target address field in the broadcast message to its own neighbor node address, updates the unicast source address field to its own node address, keeps the other fields of the broadcast message unchanged and forwards it to all nodes adjacent to itself.

[0182] Step 1014: reassemble the broadcast message fragments according to the fragment sequence numbers to restore the original broadcast content information.

[0183] Through step 1014, the broadcast target node can combine the received broadcast message fragments in the correct order to restore the original broadcast content information. In this way, the integrity and accuracy of the broadcast message can be guaranteed.

[0184] The broadcast method on the wireless channel provided by the present invention can not only realize the broadcast function in the node network that communicates based on the unicast channel, thereby improving the utilization rate of the unicast channel resources, but also realize the deduplication of the broadcast information by the receiving node, so as to selectively receive and forward it, so as to avoid loops and broadcast storms in the network.

[0185] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the broadcast method on the wireless channel when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0186] See also Fig.11 , Fig.11 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0187] The processor 1101 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0188] The memory 1102 may be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1102 may store an operating system and other applications. When the technical solution provided in the embodiments of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1102, and the processor 1101 calls and executes the broadcast method on the wireless channel of the embodiments of this application;

[0189] Input / output interface 1103, used to implement information input and output;

[0190] The communication interface 1104 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0191] A bus 1105 that transmits information between various components of the device (e.g., the processor 1101, the memory 1102, the input / output interface 1103, and the communication interface 1104);

[0192] The processor 1101 , the memory 1102 , the input / output interface 1103 and the communication interface 1104 are connected to each other in communication within the device via the bus 1105 .

[0193] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned broadcasting method on the wireless channel.

[0194] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0195] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0196] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0197] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0198] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0199] It should be understood that in the present application, "at least one (item)" and "several" refer to one or more, and "plurality" refers to two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0200] In the several embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are merely schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0201] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0202] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0203] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0204] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A broadcasting method on a wireless channel, characterized in that: Applied to a broadcast source node in a node network, the node network comprising a plurality of nodes communicating based on a unicast channel, the method comprising: Acquire first broadcast information; the first broadcast information includes first broadcast content information, a broadcast source address field, a unicast source address field and a unicast target address field; Fill the first address of the broadcast source node into the unicast source address field and the broadcast source address field; Based on the unicast channel used by the broadcast source node for communication, inputting the first broadcast information into the node network, so that the first broadcast content information is continuously propagated among the nodes in the node network based on the unicast channel; wherein, based on the unicast channel used by the broadcast source node for communication, inputting the first broadcast information into the node network comprises: Obtaining a second address of a second node, and filling the second address into the unicast target address field; wherein the second node is a node adjacent to the broadcast source node in the node network; After filling the first address and the second address into the first broadcast information, the first broadcast information is sent to the second node, so that the second node updates the unicast source address field based on the second address, and updates the unicast target address field based on the third address of the third node, and then sends the first broadcast information updated according to the second address and the third address to the third node; wherein the third node is a node adjacent to the second node in the node network.

2. The broadcasting method on a wireless channel according to claim 1, characterized in that: Each node in the node network is configured with corresponding node identification information, and the obtaining of the first broadcast information includes: Acquire the first broadcast content information, the broadcast source address field, the unicast source address field, and the unicast target address field; Generate first broadcast identification information according to the node identification information of the broadcast source node; The first broadcast content information, the broadcast source address field, the unicast source address field, the unicast target address field and the first broadcast identification information are integrated to obtain the first broadcast information.

3. A broadcasting method on a wireless channel, characterized in that: Applied to a broadcast forwarding node in a node network, the node network includes a plurality of nodes communicating based on a unicast channel, the method includes: The broadcast forwarding node obtains first broadcast information from adjacent nodes in the node network based on the unicast channel; wherein the first broadcast information is input into the node network by the broadcast source node in the following manner: Acquire the first broadcast information; the first broadcast information includes first broadcast content information, a broadcast source address field, a unicast source address field and a unicast target address field; Filling the first address of the broadcast source node into the unicast source address field; inputting the first broadcast information into the node network based on the unicast channel used by the broadcast source node for communication; updating the unicast source address field based on a fourth address of the broadcast forwarding node; The first broadcast information updated based on the fourth address is forwarded to the adjacent nodes of the broadcast forwarding node in the node network through the unicast channel, so that the first broadcast content information is continuously propagated among the nodes in the node network based on the unicast channel.

4. The broadcasting method on a wireless channel according to claim 3, characterized in that: Each node in the node network is configured with an identification information comparison benchmark, the first broadcast information also includes first broadcast identification information, and after the broadcast forwarding node obtains the first broadcast information from the adjacent nodes in the node network based on the unicast channel, it also includes: When the first broadcast identification information complies with the identification information comparison benchmark corresponding to the broadcast forwarding node, the identification information comparison benchmark is updated so that the first broadcast identification information no longer complies with the updated identification information comparison benchmark.

5. A broadcasting method on a wireless channel, characterized in that: Applied to a broadcast target node in a node network, the node network comprising a plurality of nodes communicating based on a unicast channel, the method comprising: The broadcast target node obtains first broadcast information from adjacent nodes in the node network based on the unicast channel; wherein the first broadcast information is input into the node network by the broadcast source node in the following manner: Acquire the first broadcast information; the first broadcast information includes first broadcast content information, a broadcast source address field, a unicast source address field and a unicast target address field; Filling the first address of the broadcast source node into the unicast source address field; The first broadcast information is input into the node network based on the unicast channel used by the broadcast source node for communication.

6. The broadcasting method on a wireless channel according to claim 5, characterized in that: Each node in the node network is configured with an identification information comparison benchmark, the first broadcast information also includes first broadcast identification information, and after obtaining the first broadcast information from the neighboring nodes of the broadcast target node in the node network based on the unicast channel, it also includes: When the broadcast identification information meets the identification information comparison benchmark corresponding to the broadcast target node, the identification information comparison benchmark is updated so that the first broadcast identification information no longer meets the updated identification information comparison benchmark; Index information is constructed based on the broadcast source address field, the broadcast identification information, and the unicast source address field, and the first broadcast information is stored based on the index information.

7. The broadcasting method on a wireless channel according to claim 6, characterized in that: The broadcast source node divides the first broadcast information into a plurality of first broadcast information fragments and inputs the first broadcast information fragments into the node network through the unicast channel, wherein each of the first broadcast information fragments further includes a fragment quantity and a fragment sequence number corresponding to each of the broadcast information fragments, and constructs the index information based on the broadcast source address field, the broadcast identification information, and the unicast source address field, and stores the first broadcast information based on the index information, including: Constructing first-level index sub-information based on the broadcast source address field and the broadcast identification information; On the basis of the primary index sub-information, constructing secondary index sub-information based on the unicast source address field, and storing all the first broadcast information fragments based on the secondary sub-index information; Determining, according to the number of fragments and the fragment sequence number, that all the first broadcast information fragments corresponding to the secondary index sub-information have been received; All the first broadcast information fragments corresponding to the secondary index sub-information are reorganized according to the fragment sequence number.

8. An electronic device, characterized in that: It comprises a memory and a processor, wherein the memory stores a computer program, and is characterized in that when the processor executes the computer program, the broadcasting method on the wireless channel as claimed in any one of claims 1 to 7 is implemented.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the broadcasting method on a wireless channel as claimed in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Communication method, device and system of virtual extensible local area network

    CN103814554A