Beacon transmission time slot control method and device

By grouping communication nodes in an ad hoc network, communication nodes in the same node group can send Beacons in the same time slot, which solves the problem of too long Beacon sending cycle in multi-node ad hoc networks and improves the instruction sending efficiency of communication nodes. .

CN113993216BActive Publication Date: 2024-09-13HARBIN HYTERA TECH CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111250219.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2024-09-13
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

In a multi-node ad hoc network, due to the large number of nodes, the Beacon sending cycle is too long, causing the communication nodes to wait for a long time before sending instructions, which affects the efficiency of network access.

Method used

By obtaining the node information in the ad hoc network, the communication nodes are grouped so that the communication nodes in the same node group send Beacon in the same time slot, thereby merging Beacon time slots and shortening the transmission cycle.

Benefits of technology

By grouping and merging Beacon time slots, the Beacon sending cycle of the communication node is reduced, the instruction sending efficiency of the communication node is improved, and the network access time is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113993216B
    Figure CN113993216B
Patent Text Reader

Abstract

The present application discloses a control method, device, communication node and self-organizing network for Beacon transmission time slots. The method comprises: obtaining node information of communication nodes contained in the self-organizing network; grouping the communication nodes according to the node information to obtain multiple node groups, each of which contains at least one communication node; and sending control instructions corresponding to the node groups to corresponding communication nodes, so that the communication nodes belonging to the same node group send Beacons in the same time slot according to the control instructions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and device for controlling a Beacon transmission time slot. Background Art

[0002] In an ad hoc network composed of multiple communication nodes, the communication nodes implement network building and other operations by sending instructions to the ad hoc network.

[0003] For an ad hoc network where all communication nodes operate at the same frequency, the Beacon transmission time of each node in the network usually uses a non-overlapping transmission time slot to send instructions.

[0004] However, since there are many communication nodes in the ad hoc network, the Beacon sending cycle of each communication node will be too long, that is, the communication node has to wait for a long time before sending instructions. Summary of the invention

[0005] In view of this, the present application provides a Beacon transmission time slot control method, device, communication node and ad hoc network to solve the technical problem of the long instruction transmission cycle of the communication node.

[0006] A first aspect of the present application provides a control method, the method comprising:

[0007] Obtaining node information of communication nodes included in the ad hoc network;

[0008] Grouping the communication nodes according to the node information to obtain a plurality of node groups, wherein the node groups include at least one communication node;

[0009] The control instruction corresponding to the node group is sent to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0010] In the above method, preferably, the communication nodes belonging to the same node group meet the grouping condition;

[0011] The grouping condition is related to the neighboring nodes of the communication node in the ad hoc network.

[0012] In the above method, preferably, the grouping condition includes: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are all different.

[0013] In the above method, preferably, the node information includes a routing message corresponding to the message transmission of the communication node to the coordinator node in the ad hoc network, and the coordinator node is a communication node that performs a coordination function in the ad hoc network;

[0014] The communication nodes are grouped according to the node information to obtain a plurality of node groups, including:

[0015] Obtaining, according to the routing message, neighboring nodes of each of the communication nodes in the ad hoc network;

[0016] The communication nodes are grouped according to the neighboring nodes of each communication node in the ad hoc network to obtain a plurality of node groups.

[0017] The above method preferably groups the communication nodes according to the neighboring nodes of each communication node in the ad hoc network to obtain a plurality of node groups, including:

[0018] Obtaining a target node in the ad hoc network, the target node being a communication node having the largest number of adjacent nodes in the ad hoc network;

[0019] Dividing the target node and the adjacent nodes of the target node into different node groups respectively;

[0020] Sequentially dividing the remaining nodes in the ad hoc network except the target node and the neighboring nodes of the target node into corresponding node groups, wherein the remaining nodes divided into the node groups meet the grouping condition with other nodes in the node groups;

[0021] The grouping conditions include: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are all different.

[0022] In the above method, preferably, if the remaining nodes and the communication nodes in any node group do not meet the grouping condition, the method further includes:

[0023] The remaining nodes are divided into new node groups.

[0024] In the above method, preferably, the control instruction includes the grouping information of the communication node and the time slot of the Beacon, so that the communication node sends the Beacon according to the time slot in the control instruction;

[0025] The time slot in the control instruction is related to the grouping information, so that the communication node determines the node group to which it belongs based on the grouping information, and the communication nodes belonging to the same node group send Beacon in the same time slot.

[0026] A second aspect of the present application provides a device for controlling a Beacon transmission time slot, the device comprising:

[0027] An information obtaining unit, used to obtain node information of communication nodes included in the ad hoc network;

[0028] a node grouping unit, configured to group the communication nodes according to the node information to obtain a plurality of node groups, wherein the node groups include at least one communication node;

[0029] The instruction sending unit is used to send the control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0030] A third aspect of the present application provides a communication node, wherein the communication node is a communication node that performs a coordination function in an ad hoc network, including:

[0031] A memory for storing a computer program and data generated by the execution of the computer program;

[0032] A processor is used to execute the computer program to achieve: obtaining node information of the communication nodes included in the self-organizing network; grouping the communication nodes according to the node information to obtain multiple node groups, each of which contains at least one communication node; sending a control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0033] The fourth aspect of the present application provides a self-organizing network, including: multiple communication nodes and a coordinator node, the coordinator node is a communication node that performs a coordination function in the self-organizing network, and the coordinator node is used to: obtain node information of the communication nodes included in the self-organizing network; group the communication nodes according to the node information to obtain multiple node groups, each of which includes at least one communication node; send a control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0034] A fifth aspect of the present application provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the method for controlling the Beacon transmission time slot as described in any one of the above items is implemented.

[0035] It can be seen from the above technical scheme that in a control method, device, communication node and ad hoc network for Beacon transmission time slot disclosed in the present application, the communication nodes are grouped according to the node information of each communication node in the ad hoc network, so as to send corresponding control instructions to the communication nodes in each node group, so that the communication nodes belonging to the same node group send Beacon in the same time slot. Therefore, in the present application, by grouping the communication nodes and controlling the communication nodes in the same group to merge the Beacon time slots, the total number of Beacon time slots is reduced, thereby shortening the Beacon transmission cycle of the communication node, so that the communication node can send Beacon without waiting for a long time. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 This is a schematic diagram of the P-IoT superframe structure;

[0038] Figure 2 This is a schematic diagram of the network architecture of the P-IoT self-organizing network;

[0039] Figure 3 This is a schematic diagram of the Beacon transmission cycle in the P-IoT ad hoc network;

[0040] Figure 4 A flowchart of a method for controlling a Beacon transmission time slot provided in Embodiment 1 of the present application;

[0041] Figure 5-Figure 9 They are respectively example diagrams of the application applicable to the P-IoT self-organizing network;

[0042] Fig.10 and Fig.11 They are respectively partial flow charts of a method for controlling a Beacon transmission time slot provided in Embodiment 1 of the present application;

[0043] Figure 12-Figure 15 They are respectively another example diagram of the present application applicable to a P-IoT self-organizing network;

[0044] Fig.16 A schematic diagram of the structure of a control device for Beacon transmission time slots provided in Embodiment 2 of the present application;

[0045] Fig.17 A schematic diagram of the structure of a communication node provided in Embodiment 3 of the present application;

[0046] Fig.18 This is a flowchart for grouping nodes in a P-IoT self-organizing network applicable to this application. DETAILED DESCRIPTION

[0047] Taking the P-IoT ad hoc network as an example, the P-IoT ad hoc network needs to use Beacon beacons for network construction and timing operations. Currently, all Beacons are sent within the same 12.5kHz bandwidth. In addition, since the locations of communication nodes are random and the specific locations of each other's communication nodes are unknown, in order to avoid serious co-frequency interference, the method of sending Beacons without overlapping time slots is generally adopted. However, if the number of communication nodes in the ad hoc network is large, the Beacon cycle will be too long, which will lead to the problem that the reference of the frequency calibration of the communication node becomes poor and the time for the communication node to enter the network may be longer.

[0048] First, when each communication node in the ad hoc network sends a Beacon, it is designed according to the superframe structure. The superframe structure is designed to meet the requirements of timing, sleep, synchronization, etc. The air interface frame structure is as follows: Figure 1 As shown in the figure. Within the BI (BeaconInterval) time interval, the communication node is active only during the superframe time, and is dormant at other times, which can meet the power saving needs of IoT terminals that sleep for a long time. For each communication node, Beacon is sent once every BI time, and the duration is variable and configurable.

[0049] Specifically, the number of time slots aNumMultiframeSlots of a superframe structure is a constant, such as 16; the time slot duration aSlotsDuration is a constant, such as 6ms;

[0050] The multiframe duration MD (Multiframe Duration) can be obtained by formula (1):

[0051] aMultiframeDuration=aSlotsDuration*2 macSlotOrder Formula (1)

[0052] When macSlotOrder is 4, each multiframe contains 16 time slots.

[0053] The superframe duration SD (Superframe Duration) can be obtained by formula (2):

[0054] aSuperframeDuration=aMultiframeDuration*2 macMultiframeOrderFormula (2)

[0055] When macMultiframeOrder is 4, each superframe structure includes 16 multiframes.

[0056] Based on this, BI can also be called the beacon interval, and BI can be obtained by formula (3):

[0057] BI=aSuperframeDuration*2 macBeaconOrder Formula (3)

[0058] Among them, macBeaconOrder is a value greater than or equal to 0 and less than or equal to 15, and can be specifically configured according to the specific time of long sleep.

[0059] In such Figure 2 In the ad hoc network shown in FIG. 1 , based on the above superframe structure, if only one communication node transmits in each Beacon transmission time slot, such as Figure 3 As shown in , the sending cycle of the instructions of the coordinator node and 13 communication nodes in the self-organizing network is 14 multi-frames. If there are hundreds or thousands of communication nodes, each communication node in the self-organizing network needs to wait for hundreds or thousands of multi-frames before sending a Beacon, which causes the sending cycle of the instructions of the communication node to be too long. If a new communication node needs to join the self-organizing network, the new communication node also has to wait for a long time to obtain the sending time slot for sending Beacon and then send Beacon to achieve network access and other operations. Therefore, the network access efficiency of the new communication node is low.

[0060] In view of this, in order to shorten the sending cycle of instructions in communication nodes, the present application proposes a technical solution that can reuse the sending time slots of Beacons. By grouping the communication nodes in the self-organizing network according to certain rules, the communication nodes belonging to the same node group send Beacons in the same time slot, thereby achieving the purpose of shortening the sending cycle by merging the Beacon time slots.

[0061] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0062] Embodiment 1

[0063] refer to Figure 4, is a flowchart of a method for controlling a Beacon transmission time slot provided in Embodiment 1 of the present application, which is applicable to a communication node that performs a coordination function in an ad hoc network, such as a coordinator node in a P-IoT ad hoc network. The method in this embodiment is mainly used to shorten the transmission period of a Beacon sent by a communication node in an ad hoc network.

[0064] Specifically, the method in this embodiment may include the following steps:

[0065] Step 401: Obtain node information of communication nodes included in the ad hoc network.

[0066] The node information is information representing the neighboring nodes of the communication node.

[0067] Specifically, the communication node in the ad hoc network will transmit a message to the coordinator node. Here, the coordinator node refers to the communication node that performs the coordination function in the ad hoc network. When the message is transmitted to the coordinator node through other nodes, the message carries the routing information of each communication node to which the message arrives. Based on this, the coordinator node can obtain the node information of each communication node according to the routing information in the message. Specifically, the coordinator node uses the routing information of each communication node as its own node information.

[0068] For example, Figure 2 Taking the P-IoT ad hoc network as an example, the message of node 11 is transmitted to the coordinator after passing through communication node 6 and node 2, as shown in FIG. Figure 5 As shown, the message arriving at the coordinator includes a routing message, and the routing message includes: 11-6-2-coordinator's path. In addition, the message arriving at the coordinator can also carry routing messages previously refreshed based on various routing protocols. Based on this, the coordinator can obtain the routing message to each node when it obtains the message transmitted by each node.

[0069] Step 402: Group the communication nodes according to the node information to obtain multiple node groups.

[0070] The node group includes at least one communication node, and the node group may include only one communication node or multiple communication nodes.

[0071] Specifically, in this embodiment, the communication nodes can be grouped according to the routing message in the node information to obtain the node group. For example, in this embodiment, the communication nodes can be grouped according to the adjacent relationship between the communication nodes represented in the routing message; for another example, in this embodiment, the communication nodes can be grouped according to the number of node hops between the communication nodes represented in the routing message; for another example, in this embodiment, the communication nodes can be grouped according to the node distance between the communication node represented in the routing message and the communication node performing the coordination function, and so on.

[0072] For example, Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. The coordinator divides the coordinator and nodes 1 to 13 into 6 groups respectively, among which nodes 1, 8 and 11 are divided into the same node group, nodes 2, 4 and 13 are divided into the same node group, nodes 3 and 5 are divided into the same node group, nodes 6 and 9 are divided into the same node group, nodes 7, 10 and the coordinator are divided into the same node group, and node 12 is divided into a node group alone, as shown in FIG. Figure 6 As shown in , 6 node groups are divided.

[0073] Step 403: Send the control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0074] Among them, the control instruction can be generated based on the division status of the communication node in the node group. Specifically, the control instruction may include the grouping information of the communication node and the time slot of the Beacon, so that the communication node sends the Beacon according to the time slot in the control instruction. The grouping information represents the node group into which the communication node is divided, and is therefore related to the grouping information, so that the communication node can determine the node group based on the grouping information, and the communication nodes belonging to the same node group send the Beacon in the same time slot. The time slot in the control instruction here is an offset relative time point based on the target time point. The target time point here refers to the time point when the communication node that performs the coordination function in the self-organizing network, i.e., the coordinator node, sends the Beacon.

[0075] Specifically, in this embodiment, the Beacon time slots can be divided for each node group according to the grouping information, and the transmission time slots corresponding to each node group are the transmission time slots of the communication nodes included in the node group. Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. After the coordinator divides 6 node groups, it divides 6 transmission time slots and allocates them to each node group respectively, such as Figure 7 As shown in , each node group is respectively configured with a Beacon transmission time slot.

[0076] In one implementation, the control instruction includes the grouping information of all communication nodes and the time slot of Beacon. Based on this, in this embodiment, the control instruction is broadcast in the ad hoc network. When the control instruction is broadcast to each communication node in the ad hoc network, each communication node can parse the grouping information and the time slot of Beacon belonging to the current communication node in the control instruction. Based on this, the communication nodes in each node group can send Beacon in the corresponding same time slot according to the grouping information. Thus, the Beacon sending cycle of the communication node is shortened by reducing the total number of time slots for sending Beacon in the ad hoc network.

[0077] For example, Figure 2 The self-organizing network shown is an example of the P-IoT self-organizing network. After the coordinator generates a control instruction containing the grouping information of all nodes and the time slot of the Beacon, the control instruction is broadcast to all nodes, such as Figure 8 As shown in the figure, after receiving the control instruction, node 1, node 8 and node 11 determine the allocated Beacon transmission time slot and send Beacon at the same time slot. The other node groups are similar. Therefore, the period for all nodes to send Beacon once is shortened from 14 multiframes to 6 multiframes.

[0078] In another implementation, the control instruction only includes the grouping information of one communication node and the time slot of Beacon. Based on this, this embodiment unicasts the control instruction to the corresponding communication node according to the corresponding routing message. Thus, each communication node can parse the grouping information and the time slot of Beacon in the control instruction. Based on this, the communication nodes in each node group can send Beacon in the same corresponding time slot according to the grouping information. Thus, the Beacon sending cycle of the communication node is shortened by reducing the number of Beacon sending time slots in the ad hoc network.

[0079] For example, Figure 2 The self-organizing network shown is an example of the P-IoT self-organizing network. The coordinator generates a control instruction for each node containing the grouping information of the node and the Beacon sending time slot, and then unicasts these control instructions to the corresponding nodes, such as Fig. 9 As shown in the figure, after receiving the control instruction, node 1, node 8 and node 11 determine the allocated Beacon transmission time slot and send Beacon at the same time slot. The other node groups are similar. Therefore, the period for all nodes to send Beacon once is shortened from 14 multiframes to 6 multiframes.

[0080] It can be seen from the above technical solution that a control method provided in the first embodiment of the present application is to group the communication nodes according to the node information of each communication node in the self-organizing network on the coordinator node of the self-organizing network, thereby sending corresponding control instructions to the communication nodes in each node group, so that the communication nodes belonging to the same node group send Beacon in the same time slot. Therefore, in this embodiment, by grouping the communication nodes and controlling the communication nodes in the same group to merge the Beacon sending time slots, the total number of Beacon sending time slots is reduced, thereby shortening the Beacon sending cycle of the communication node, so that the communication node can send Beacon without waiting for a long time.

[0081] In one implementation, in this embodiment, when dividing the communication nodes into node groups, the division rule can be performed according to the communication nodes belonging to the same node group satisfying the grouping condition, and the grouping condition is related to the adjacent nodes of the communication nodes in the ad hoc network. That is, in this embodiment, the communication nodes are grouped according to the adjacent nodes of the communication nodes in the ad hoc network, so that the communication nodes belonging to the same node group satisfy the grouping condition.

[0082] Specifically, the grouping condition may be: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are not the same. That is to say, for a certain node group, any communication node contained therein is not an adjacent node of other communication nodes, and the adjacent nodes of any communication node do not overlap with the adjacent nodes of other communication nodes. Thus, when the communication nodes belonging to the same node group send Beacon in the same time slot, the Beacon of the communication nodes in the same group can be sent simultaneously without interference, while the sending of Beacon of communication nodes between different groups is staggered in time.

[0083] For example, Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. Node 1, node 8 and node 11 are not adjacent nodes to each other and their adjacent nodes are different. Node 2, node 4 and node 13 are not adjacent nodes to each other and their adjacent nodes are different. Node 3 and node 5 are not adjacent nodes to each other and their adjacent nodes are different. Node 6 and node 9 are not adjacent nodes to each other and their adjacent nodes are different. Node 7, node 10 and the coordinator are not adjacent nodes to each other and their adjacent nodes are different. Node 12 is divided into a node group separately because it is an adjacent node or has the same adjacent nodes as the nodes in the previous five node groups. Figure 6 as shown in .

[0084] In one implementation, the node information may include a routing message corresponding to the transmission of a message from a communication node to a coordinator node, and the routing message includes a path composed of other communication nodes that the communication node passes through before being transmitted to the coordinator node. Thus, the routing message can characterize the neighbor relationship between each communication node on the transmission path. Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. The message of node 11 is transmitted to the coordinator after passing through communication node 6 and node 2. The routing message of node 11 indicates that node 11 and node 6 are adjacent nodes to each other, node 6 and node 2 are adjacent nodes to each other, and node 2 and the coordinator are adjacent nodes to each other.

[0085] Based on this, in step 402 of this embodiment, when grouping communication nodes according to node information, multiple node groups can be obtained in the following manner, such as Fig.10 As shown in:

[0086] Step 1001: Obtain the neighboring nodes of each communication node in the ad hoc network according to the routing message.

[0087] Specifically, in this embodiment, the routing message of each communication node may be parsed to obtain the neighbor relationship between the communication nodes represented by the routing message, and further obtain the neighbor nodes of each communication node in the ad hoc network.

[0088] For example, Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. The coordinator parses the routing message in the message transmitted from each node to obtain the adjacent nodes of each node.

[0089] Step 1002: Group the communication nodes according to the neighboring nodes of each communication node in the ad hoc network to obtain a plurality of node groups.

[0090] In one implementation, step 1002 can implement node grouping through the following process: Fig.11 As shown in:

[0091] Step 1101: Obtain a target node in an ad hoc network.

[0092] The target node may be a communication node having the largest number of adjacent nodes in the ad hoc network.

[0093] In one case, there may be only one communication node with the largest number of neighboring nodes in the ad hoc network. In this case, the communication node with the largest number of neighboring nodes is directly determined as the target node;

[0094] In another case, there may be multiple communication nodes with the largest number of adjacent nodes in the self-organizing network, that is, there are multiple communication nodes with the same and maximum number of adjacent nodes. At this time, any one of the communication nodes can be selected as the target node, or one of the communication nodes can be selected as the target node according to the preferred rules. The preferred rules here can be: the node with the highest preset priority, the smallest node number, or the largest node number and other rules.

[0095] It should be noted that, when there may be multiple communication nodes with the largest number of adjacent nodes in an ad hoc network, different grouping schemes generated by different selected target nodes all belong to the same inventive concept and are within the protection scope of this application.

[0096] For example, Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. Node 5 and node 6 both have 4 adjacent nodes, which are nodes with many adjacent node groups. Therefore, in this embodiment, you can select any one of node 5 and node 6 as the target node, or select the node with the smallest or largest node number as the target node.

[0097] Step 1102: Divide the target node and the neighboring nodes of the target node into different node groups respectively.

[0098] For example, Figure 2 Taking the P-IoT ad hoc network as an example, when node 5 is selected as the target node, nodes 1, 4, 5, 6 and 10 are divided into their own node groups, such as Fig.12 As shown in , we get groups 1 to 5;

[0099] When node 6 is selected as the target node, nodes 2, 5, 6, 11 and 12 are divided into their own node groups respectively, such as Fig.13 As shown in , groups 1 to 5 are obtained.

[0100] Step 1103: The remaining nodes in the ad hoc network except the target node and the neighboring nodes of the target node are divided into corresponding node groups in turn.

[0101] In one implementation, in this embodiment, the remaining nodes in the ad hoc network that are not divided into node groups, that is, the remaining nodes except the target node and the target node's adjacent nodes, can be divided into corresponding node groups according to the grouping conditions in the foregoing text.

[0102] Specifically, in this embodiment, the node groups can be divided in turn for the remaining nodes except the target node and the adjacent nodes of the target node, that is, each remaining node is divided into a corresponding node group in turn, and the remaining nodes of the divided node group and other nodes in the node group to which they belong meet the grouping conditions. The grouping conditions here can be: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are not the same.

[0103] For example, in this embodiment, one of the remaining nodes can be selected, one of the node groups can be selected, and it can be determined whether the existing nodes in the node group meet the grouping conditions with the selected remaining nodes. If so, the selected remaining nodes are divided into the node group. If not, it is determined whether the existing nodes in another node group meet the grouping conditions with the selected remaining nodes, and so on, until a node group is found in which the existing nodes and the selected remaining nodes meet the grouping conditions, thereby dividing the selected remaining nodes into the found node group.

[0104] Furthermore, if the remaining nodes and the communication nodes in any node group do not satisfy the grouping condition, then in this embodiment, the remaining nodes may be divided into a new node group.

[0105] For example, Figure 2 The self-organizing network shown is a P-IoT self-organizing network as an example. When node 5 is selected as the target node, nodes 1, 4, 5, 6 and 10 are divided into their own node groups, such as Fig.12 As shown in , groups 1 to 5 are obtained; then: for node 2, since it has the same adjacent node with node 1, that is, the node where the coordinator is located, and node 2 and node 4 are not adjacent and do not have the same adjacent nodes, therefore, node 2 is divided into node group 2 where node 4 is located; for node 3, node 3 has the same adjacent nodes with both node 1 and node 2, and node 3 and node 5 are not adjacent and do not have the same adjacent nodes, therefore, node 3 is divided into node group 3 where node 5 is located; similarly, node 7 is divided into node group 5, node 8 is divided into node group 1, node 9 is divided into node group 4, node 11 is divided into node group 1, and the coordinator is divided into node group 5. Since node 12 does not meet the grouping conditions with the existing nodes in each group from group 1 to group 5, therefore, node 12 is divided into a new node group 6, thereby obtaining completely divided node groups 1-6, as shown in Fig.14 as shown in .

[0106] When node 6 is selected as the target node, nodes 2, 5, 6, 11 and 12 are divided into their own node groups respectively, such as Fig.13As shown in , we get groups 1 to 5; then, for node 1, node 1 has the same adjacent nodes with node 2 and node 6, while node 1 and node 5 are adjacent, and node 1 and node 11 are not adjacent and do not have the same adjacent nodes, therefore, node 1 is divided into node group 4 where node 11 is located; for node 3, node 3 has the same adjacent nodes with node 2, and node 3 and node 5 are not adjacent and do not have the same adjacent nodes, therefore, node 3 is divided into node group 2 where node 5 is located; for node 4, node 4 and node 2 are not adjacent and do not have the same adjacent nodes, therefore, node 4 is divided into node group 1 where node 2 is located; for node 7, node 7 and node 5 are adjacent and do not have the same adjacent nodes, therefore, node 4 is divided into node group 1 where node 2 is located; There are no adjacent nodes between point 2 and node 4, and there are no identical adjacent nodes. Therefore, node 7 is divided into node group 1 where node 2 and node 4 are located. For node 8, node 8 is adjacent to node 7, node 8 is adjacent to node 3, and node 8 is not adjacent to node 6 and there are no identical adjacent nodes. Therefore, node 8 is divided into node group 3 where node 6 is located. Similarly, node 9 is divided into node 3, node 13 is divided into node group 4, and the coordinator is divided into node group 5. Since node 10 does not meet the grouping conditions with the existing nodes in groups 1 to 5, node 10 is divided into a new node group 6, thereby obtaining completely divided node groups 1-6, as shown in FIG. Fig.15 as shown in .

[0107] It should be noted that in the process of dividing the remaining nodes into node groups, different grouping schemes may be generated due to different orders of selecting the remaining nodes and selecting the node groups. These different grouping schemes all belong to the same inventive concept and are within the scope of protection of this application.

[0108] Embodiment 2

[0109] refer to Fig.16 , is a schematic diagram of a structure of a control device for Beacon transmission time slots provided in Embodiment 2 of the present application, which can be configured in a communication node that performs a coordination function in an ad hoc network, such as a coordinator node in a P-IoT ad hoc network. The device in this embodiment is mainly used to shorten the transmission period of Beacon transmission by a communication node in an ad hoc network.

[0110] Specifically, the device in this embodiment may include the following units:

[0111] The information obtaining unit 1601 is used to obtain node information of the communication nodes included in the ad hoc network;

[0112] The node grouping unit 1602 is used to group the communication nodes according to the node information to obtain a plurality of node groups, each of which includes at least one communication node;

[0113] The instruction sending unit 1603 is used to send the control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0114] It can be seen from the above technical solution that a control device provided in the second embodiment of the present application groups the communication nodes according to the node information of each communication node in the self-organizing network on the coordinator node of the self-organizing network, thereby sending corresponding control instructions to the communication nodes in each node group, so that the communication nodes belonging to the same node group send Beacon in the same time slot. Therefore, in this embodiment, by grouping the communication nodes and controlling the communication nodes in the same group to merge the sending time slots, the total number of sending time slots is reduced, thereby shortening the Beacon sending cycle of the communication node, so that the communication node can send Beacon without waiting for a long time.

[0115] In one implementation, the communication nodes belonging to the same node group meet the grouping condition; the grouping condition is related to the adjacent nodes of the communication nodes in the ad hoc network. For example, the grouping condition includes: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are all different.

[0116] In one implementation, the node information includes a routing message corresponding to a message of a communication node transmitted to a coordinator node, and the coordinator node is a communication node that performs a coordination function in a self-organizing network; wherein the node grouping unit 1602 is specifically used to: obtain the adjacent nodes of each communication node in the self-organizing network according to the routing message; group the communication nodes according to the adjacent nodes of each communication node in the self-organizing network to obtain multiple node groups, for example: first obtain a target node in the self-organizing network, the target node is the communication node with the largest number of adjacent nodes in the self-organizing network; then divide the target node and the adjacent nodes of the target node into different node groups respectively; finally, divide the remaining nodes in the self-organizing network except the target node and the adjacent nodes of the target node into corresponding node groups in turn, and the remaining nodes divided into the node groups meet the grouping conditions with other nodes in the node groups; wherein the grouping conditions include: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are not the same.

[0117] Furthermore, if the remaining nodes and the communication nodes in any node group do not satisfy the grouping condition, the remaining nodes are divided into a new node group.

[0118] In one implementation, the control instruction includes the grouping information of the communication node and the time slot of the Beacon, so that the communication node sends the Beacon according to the time slot in the control instruction; wherein the time slot in the control instruction is related to the grouping information, so that the communication node determines the node group to which it belongs based on the grouping information, and the communication nodes belonging to the same node group send the Beacon in the same time slot.

[0119] It should be noted that the specific implementation of each unit in this embodiment can refer to the corresponding content in the previous text and will not be described in detail here.

[0120] Embodiment 3

[0121] refer to Fig.17 , is a schematic diagram of the structure of a communication node provided in the third embodiment of the present application, the communication node is a communication node that performs coordination functions in an ad hoc network, such as a coordinator node in a P-IoT ad hoc network. The technical solution in this embodiment is mainly used to shorten the period of sending Beacon by the communication node in the ad hoc network.

[0122] Specifically, the communication node in this embodiment may include the following component structures:

[0123] Memory 1701, used to store computer programs and data generated by the execution of the computer programs;

[0124] Processor 1702 is used to obtain node information of communication nodes included in the self-organizing network; group the communication nodes according to the node information to obtain multiple node groups, each node group containing at least one communication node; send the control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction.

[0125] The processor 1702 may send the control instruction to the corresponding communication node through a communication module. The communication module here may be a communication module based on a structure such as an antenna, and is used to transmit information such as data packets and instructions.

[0126] It can be seen from the above technical scheme that a communication node provided in the third embodiment of the present application groups the communication nodes according to the node information of each communication node in the self-organizing network on the coordinator node of the self-organizing network, thereby sending corresponding control instructions to the communication nodes in each node group, so that the communication nodes belonging to the same node group send Beacon in the same time slot. Therefore, in this embodiment, by grouping the communication nodes and controlling the communication nodes in the same group to merge the Beacon sending time slots, the total number of sending time slots is reduced, thereby shortening the Beacon sending cycle of the communication node, so that the communication node can send Beacon without waiting for a long time.

[0127] It should be noted that the specific implementation of the processor 1701 can refer to the corresponding contents of the above embodiments and will not be described in detail here.

[0128] Embodiment 4

[0129] Embodiment 4 of the present application provides a self-organizing network, which includes multiple communication nodes and a coordinator node. The coordinator node is a communication node that performs coordination functions in the self-organizing network. The coordinator node is used to: obtain node information of the communication nodes included in the self-organizing network; group the communication nodes according to the node information to obtain multiple node groups, each of which includes at least one communication node; and send control instructions corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instructions.

[0130] It should be noted that the specific implementation of the coordinator node can refer to the corresponding contents of the above embodiments, which will not be described in detail here.

[0131] Embodiment 5

[0132] The fifth embodiment also provides a storage medium, such as a disk, on which a computer program is stored. The computer program is executed by a processor to implement the control method of the Beacon transmission time slot as described in the first embodiment.

[0133] by Figure 2 Taking the P-IoT ad hoc network shown in the figure as an example, the coordinator realizes the reuse of Beacon transmission time slots by grouping the nodes in the ad hoc network. The specific scheme is as follows:

[0134] First, refer to Fig.18 As shown in the node grouping flowchart, there are m nodes in the P-IoT self-organizing network, including a coordinator. The coordinator first selects a node with the most neighboring nodes as the target node (here it is assumed that it has n-1 neighboring nodes) according to the neighboring node relationship between the nodes after joining the network, that is, the neighboring relationship mentioned above, and uses this node as the target node of the first group V1; then its neighboring nodes are respectively assigned to groups V2 to Vn, and used as the target nodes of each group. Then, nodes are selected from the remaining nodes to join the group that meets the conditions. If there is no group that meets the conditions, then the node is added as a target node in a new group in a round-robin manner until all m nodes find their own group, that is, m = 0 is established.

[0135] The conditions that a node needs to meet to enter a group are: it is a non-adjacent node to the nodes in the same group and has no common neighbor nodes. In addition, the coordinator learns the neighbor node relationship of each node based on the routing message after the network is established.

[0136] Secondly, the multiplexing of Beacon transmission time slots is divided into two steps:

[0137] In the first step, after the coordinator groups the nodes in the network, it will notify each node in the network of the grouping information and Beacon shared location information, that is, the shared time slot location. At this time, the first step of Beacon multiplexing is completed. After the nodes in the network know the grouping information and Beacon shared location information, they can share the sending location of the Beacon of the same group of nodes.

[0138] Step 2: Merge the Beacon sending positions of the same group of nodes, that is, the coordinator sends a merge signaling to enable the same group of nodes to complete the merging of the Beacon sending positions.

[0139] by Figure 2 Taking the self-organizing network shown as an example, the node grouping of the coordinator and the multiplexing of the Beacon transmission time slot position are explained:

[0140] based on Figure 2 It can be seen that nodes 5 and 6 have the most neighboring nodes. Take node 5 as an example to illustrate the method:

[0141] The neighboring nodes of node 5 include node 1, node 4, node 6 and node 10. Node 5 and its neighboring nodes are assigned to different groups and serve as the target nodes of the group, such as Fig.12 As shown, the following groups are obtained:

[0142] Group 1: V1 (Node 1)

[0143] Group 2: V2 (Node 4)

[0144] Group 3: V3 (Node 5)

[0145] Group 4: V4 (Node 6)

[0146] Group 5: V5 (node ​​10)

[0147] Then, the remaining nodes are assigned to groups that meet the conditions: the nodes in the same group are non-adjacent nodes and do not have common neighboring nodes.

[0148] The final grouping results are as follows:

[0149] Group 1: V1 (node ​​1, node 8, node 11)

[0150] Group 2: V2 (Node 4, Node 2, Node 13)

[0151] Group 3: V3 (Node 5, Node 3)

[0152] Group 4: V4 (Node 6, Node 9)

[0153] Group 5: V5 (node ​​10, coordinator, 7)

[0154] Group 6: V6 (node ​​12)

[0155] It can be seen that the initial target nodes of the five groups, node 5 and its neighboring nodes, eventually achieve the grouping of six groups. Among them, node 12 did not find a group suitable for itself in the original five groups, so it opened up a group V6 on its own. Fig.14 as shown in .

[0156] Among them, the coordinator obtains the neighbor node information of each node in the network through routing messages. The neighbor node information in this embodiment at least includes the field strength relationship between nodes. The field strength relationship between nodes is the relationship between whether the nodes can transmit data packets or instructions as neighboring nodes. The field strength relationship between nodes can be characterized by the signal strength of electromagnetic waves. If the signal strength is greater than or equal to the threshold, then the nodes can be neighbors. If the signal strength is lower than the threshold, then the nodes cannot achieve stable information transmission, that is, they cannot be neighbors.

[0157] Finally, when the coordinator completes the grouping, it will send a notification signal, which is the control instruction mentioned above. The node will know its group and the Beacon sending position it can use according to the notification signal. Figure 7 As shown in the figure, nodes of the same color are assigned to the same group, and nodes in the same group can share their Beacon transmission positions, that is, the positions of the transmission time slots. Taking group 1 as an example, nodes 1, 8, and 11 can simultaneously transmit their Beacons at all red Beacon transmission positions in the figure. The above operation realizes the sharing of the node Beacon transmission position. The sharing of Beacon transmission positions increases the number of Beacon transmissions of nodes within a large superframe period.

[0158] In summary, the coordinator obtains neighbor node information and groups the nodes in the network on the principle that nodes in the same group are non-adjacent nodes and do not have common neighbor nodes. In this way, Beacon signals in the same group can be sent simultaneously without interference, and the Beacon signals of nodes in different groups are staggered in time. Moreover, the coordinator obtains the neighbor node information of the nodes in the network through routing update signaling. The neighbor node information of this method at least includes the field strength relationship between the nodes. It can be seen that in this embodiment, the Beacon sending period of the nodes in the network can be shortened, which is conducive to synchronous calibration, and the shortened Beacon sending period can also increase the speed of new nodes entering the network.

[0159] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0160] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0161] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0162] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for controlling a Beacon transmission time slot, characterized in that: The method comprises: Obtaining node information of communication nodes included in the ad hoc network; Grouping the communication nodes according to the node information to obtain a plurality of node groups, wherein the node groups include at least one communication node; Sending the control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction; The node information includes a routing message corresponding to the message transmission of the communication node to the coordinator node in the ad hoc network, and the coordinator node is a communication node that performs a coordination function in the ad hoc network; The communication nodes are grouped according to the node information to obtain a plurality of node groups, including: Obtaining, according to the routing message, neighboring nodes of each of the communication nodes in the ad hoc network; Obtaining a target node in the ad hoc network, the target node being a communication node having the largest number of adjacent nodes in the ad hoc network; wherein, in the case where multiple communication nodes have the same and largest number of adjacent nodes, selecting one of the communication nodes as the target node; Dividing the target node and the adjacent nodes of the target node into different node groups respectively; Sequentially dividing the remaining nodes in the ad hoc network except the target node and the neighboring nodes of the target node into corresponding node groups, respectively, and the remaining nodes divided into the node groups meet the grouping condition with other nodes in the node groups; The grouping conditions include: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are all different.

2. The method according to claim 1, characterized in that Communication nodes belonging to the same node group meet the grouping conditions; The grouping condition is related to the neighboring nodes of the communication node in the ad hoc network.

3. The method according to claim 1, characterized in that If the remaining nodes and the communication nodes in any node group do not meet the grouping condition, the method further includes: The remaining nodes are divided into new node groups.

4. The method according to claim 1 or 2, characterized in that: The control instruction includes the grouping information of the communication node and the time slot of the Beacon, so that the communication node sends the Beacon according to the time slot in the control instruction; The time slot in the control instruction is related to the grouping information, so that the communication node determines the node group to which it belongs based on the grouping information, and the communication nodes belonging to the same node group send Beacon in the same time slot.

5. A control device for Beacon transmission time slot, characterized in that: The device comprises: An information obtaining unit, used to obtain node information of communication nodes included in the ad hoc network; a node grouping unit, configured to group the communication nodes according to the node information to obtain a plurality of node groups, wherein the node groups include at least one communication node; An instruction sending unit, used to send the control instruction corresponding to the node group to the corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction; The node information includes a routing message corresponding to the message transmission of the communication node to the coordinator node in the ad hoc network, and the coordinator node is a communication node that performs a coordination function in the ad hoc network; The node grouping unit groups the communication nodes according to the node information to obtain a plurality of node groups, including: Obtaining, according to the routing message, neighboring nodes of each of the communication nodes in the ad hoc network; Obtaining a target node in the ad hoc network, the target node being a communication node having the largest number of adjacent nodes in the ad hoc network; wherein, in the case where multiple communication nodes have the same and largest number of adjacent nodes, selecting one of the communication nodes as the target node; Dividing the target node and the adjacent nodes of the target node into different node groups respectively; Sequentially dividing the remaining nodes in the ad hoc network except the target node and the neighboring nodes of the target node into corresponding node groups, respectively, and the remaining nodes divided into the node groups meet the grouping condition with other nodes in the node groups; The grouping conditions include: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are all different.

6. A communication node, characterized in that: The communication node is a communication node that performs a coordination function in an ad hoc network, and the communication node includes: A memory for storing a computer program and data generated by the execution of the computer program; A processor, configured to execute the computer program to implement: the method for controlling the Beacon transmission time slot according to any one of claims 1 to 4.

7. A self-organizing network, characterized in that: include: Multiple communication nodes; The coordinator node is a communication node that performs a coordination function in the ad hoc network, and the coordinator node is used to: obtain node information of the communication nodes included in the ad hoc network; The communication nodes are grouped according to the node information to obtain a plurality of node groups, wherein the node groups include at least one communication node; a control instruction corresponding to the node group is sent to a corresponding communication node, so that the communication nodes belonging to the same node group send Beacon in the same time slot according to the control instruction; The node information includes a routing message corresponding to the message transmission of the communication node to the coordinator node in the ad hoc network, and the coordinator node is a communication node that performs a coordination function in the ad hoc network; The communication nodes are grouped according to the node information to obtain a plurality of node groups, including: Obtaining, according to the routing message, neighboring nodes of each of the communication nodes in the ad hoc network; Obtaining a target node in the ad hoc network, the target node being a communication node having the largest number of adjacent nodes in the ad hoc network; wherein, in the case where multiple communication nodes have the same and largest number of adjacent nodes, selecting one of the communication nodes as the target node; Dividing the target node and the adjacent nodes of the target node into different node groups respectively; Sequentially dividing the remaining nodes in the ad hoc network except the target node and the neighboring nodes of the target node into corresponding node groups, respectively, and the remaining nodes divided into the node groups meet the grouping condition with other nodes in the node groups; The grouping conditions include: the communication nodes in the same node group are not adjacent nodes to each other, and the adjacent nodes of the communication nodes in the same node group are all different.

8. A storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a processor, the method for controlling the Beacon transmission time slot according to any one of claims 1 to 4 is implemented.