A configuration update method for a wireless ad hoc network
The configuration information data is transmitted through a dedicated control channel and an update flag field is set, which solves the problem of metadata occupying bandwidth in wireless ad hoc networks and realizes efficient configuration update and consistency of wireless ad hoc networks.
Patent Information
- Application Number
- CN202510023943.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2045-01-07
AI Technical Summary
In existing methods for synchronously updating the configuration of the entire wireless ad hoc network, data packets need to carry metadata of the network data protocol, which increases network bandwidth usage and affects data transmission efficiency and performance.
A dedicated control channel is used to transmit configuration information data. By setting the update flag field and the update node count field, it is ensured that each node updates the configuration synchronously, reducing metadata network overhead and improving the efficiency and performance of configuration information data transmission.
The consistency and efficiency of wireless ad hoc network configuration updates are achieved, network overhead is reduced, and bandwidth utilization is improved.
Smart Images

Figure CN119814559B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of wireless ad hoc networks, and in particular to a configuration updating method for wireless ad hoc networks. Background Art
[0002] A wireless ad hoc network (WAN) is a special wireless communication network consisting of multiple wireless nodes (such as mobile devices, sensors, etc.). These nodes can achieve communication and data transmission through mutual cooperation and routing selection without a central control node.
[0003] Wireless ad hoc networks are widely used in fields such as the Internet of Things, emergency communications, and military communications. These fields have high demands for rapid deployment and flexible configuration. To meet these demands, wireless ad hoc networks need to adopt an effective network-wide configuration synchronization update strategy to ensure that all nodes can coordinate and update configurations in a consistent manner, thereby maintaining communication stability and reliability.
[0004] Currently, the most common methods for synchronously updating the full-network configuration of wireless ad hoc networks mainly use broadcast and multicast. The implementation of broadcast and multicast relies on network data protocols. This requires that data packets (broadcast packets and multicast packets) not only carry configuration update information but also network data protocol metadata (such as protocol headers). This additional metadata increases the length of the data packet to a certain extent, occupying more network bandwidth. Especially in large-scale networks, it will cause relatively large network overhead, affecting the normal transmission of other data, and reducing the data transmission efficiency and performance of the wireless ad hoc network.
[0005] Therefore, the present invention proposes a configuration update method for a wireless ad hoc network to solve the above technical problems. Summary of the Invention
[0006] The present invention proposes a configuration update method for a wireless ad hoc network. By using a dedicated control channel to transmit configuration information data, unnecessary metadata network overhead in the wireless ad hoc network configuration update process is reduced, and the efficiency and performance of configuration information data transmission are improved. By setting an update flag field in the configuration information data, each node can synchronously update its own configuration, ensuring the consistency of the wireless ad hoc network configuration update.
[0007] The present invention proposes a configuration update method for a wireless ad hoc network, comprising the following steps:
[0008] S1. When any node in the wireless ad hoc network receives an external configuration command, the node becomes the master node and the other nodes become slave nodes. The master node counts the number N of slave nodes based on the network topology information.
[0009] S2. The master node updates its own first configuration information data according to the external configuration command, and sends the first configuration information data to the slave node;
[0010] S3. The slave node receives the first configuration information data sent by the master node, and updates its own second configuration information data according to the first configuration information data;
[0011] S4. After the master node confirms that all the slave nodes have updated the second configuration information data, the master node updates the value of the first update flag in the first configuration information data and sends the first configuration information data to the slave nodes;
[0012] S5. The slave node receives the first configuration information data sent by the master node, updates the value of the second update flag in the second configuration information data according to the first configuration information data, and updates its own configuration according to the second configuration information data;
[0013] S6. After the master node confirms that all the slave nodes on the network have updated the value of the second update flag, it updates its own configuration according to the first configuration information data and changes itself into a slave node.
[0014] Furthermore, the first configuration information data includes a first node ID, a first master-slave node flag, a first update flag, a first update node count, and a first configuration parameter, and an initial value of the first update node count is 0.
[0015] Furthermore, the second configuration information data includes a second node ID, a second master-slave node flag, a second update flag, a second update node count, and second configuration parameters.
[0016] Furthermore, the step S2 specifically includes the following steps:
[0017] S21. The master node updates the value of the first configuration parameter according to the configuration information data issued by the external configuration command;
[0018] S22. The master node periodically sends the first configuration information data to the slave node through a dedicated control channel.
[0019] Furthermore, the step S3 specifically includes the following steps:
[0020] S31. The slave node receives the first configuration information data sent by the master node through a dedicated control channel;
[0021] S32, the slave node updates the second configuration parameter according to the first configuration information data, so that the value of the second configuration parameter is the same as the value of the first configuration parameter;
[0022] S33, the slave node periodically sends the second configuration information data to each node through the special control channel.
[0023] Further, the step S4 specifically comprises the following steps:
[0024] S41, the master node receives the second configuration information data sent by the slave node through the special control channel;
[0025] S42, the master node compares the second configuration information data with the first configuration information data, when the value of the second configuration parameter is the same as the value of the first configuration parameter for the first time, the master node adds 1 to the value of the first update node count;
[0026] S43, when the value of the first update node count is the same as the value of the number N of the slave nodes, the master node confirms that all the slave nodes have updated the second configuration parameter;
[0027] S44, the master node sets the value of the first update flag to a;
[0028] S45, the master node periodically sends the first configuration information data to the slave node through the special control channel.
[0029] Further, the step S5 specifically comprises the following steps:
[0030] S51, the slave node receives the first configuration information data sent by the master node through the special control channel;
[0031] S52, when the slave node detects that the value of the first update flag is a, the slave node sets the value of the second update flag to a;
[0032] S53, the slave node periodically sends the second configuration information data to each node through the special control channel;
[0033] S54, the slave node updates its own configuration according to the second configuration parameter.
[0034] Further, the step S6 specifically comprises the following steps:
[0035] S61, the master node receives the second configuration information data sent by the slave node through the special control channel;
[0036] S62, the master node compares the second configuration information data with the first configuration information data, when the value of the second update flag is a for the first time and the value of the second configuration parameter is the same as the value of the first configuration parameter, the master node reduces the value of the first update node count by 1;
[0037] S63, when the following two conditions are met:
[0038] (1) the value of the first update node count is 0;
[0039] (2) the value of the first update node count is less than the value of the number of slave nodes N and the value of the first update node count is still not 0 within t seconds;
[0040] one of the conditions is met, the master node confirms that all the slave nodes in the network have updated the value of the second update flag;
[0041] S64, the master node updates its own configuration according to the first configuration parameter;
[0042] S65, the master node becomes a slave node.
[0043] Further, the special control channel transmits data through a special control protocol, and the content of the special control protocol includes node ID bit, master-slave node flag bit, update flag bit, update node count bit, configuration parameter bit and reserved bit.
[0044] The technical effects of the application are as follows:
[0045] (1) the application transmits configuration information data through a special control channel by using a special control protocol, on the one hand, without adding redundant data such as metadata content (such as protocol header) in the network protocol, unnecessary metadata overhead is reduced, and the arrangement, length and content of each bit field are professionally designed, realizing compact data transmission, reducing network overhead in the configuration update process of the wireless ad hoc network to a certain extent, on the other hand, the special control channel focuses on the transmission of configuration information, avoiding the mixing of other business data or control information, improving the utilization rate of bandwidth, and improving the efficiency and performance of configuration information data transmission to a certain extent;
[0046] (2) The present invention sets an update flag field and an update node count field in the configuration information data. In the process of wireless ad hoc network configuration update, the master node can update the value of the first update flag after determining that the second configuration parameters of all slave nodes have been aligned with the first configuration parameters, so that the slave node can determine whether to update its own configuration according to the second configuration parameter based on the received value of the first update flag. In this way, all nodes in the wireless ad hoc network can synchronously update their own configurations, ensuring the consistency of the wireless ad hoc network configuration update.
[0047] It should be understood that the contents described in the summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0049] Figure 1 It is a step block diagram of the present invention.
[0050] Figure 2 The present invention is a flowchart of a method for updating wireless ad hoc network configuration.
[0051] Figure 3 This is a diagram of the dedicated control protocol bit field allocation of the present invention.
[0052] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings and in conjunction with the embodiments. DETAILED DESCRIPTION
[0053] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.
[0054] It should be noted that if the embodiments of the present invention involve directional indications (such as up, down, left, right, front, back, etc.), the directional indications are only used to explain the relative position relationship, movement status, etc. between the components in a certain specific posture. If the specific posture changes, the directional indications will also change accordingly.
[0055] In addition, if the description of "first", "second" and the like is involved in the embodiments of the present application, the description of "first", "second" and the like is only for the purpose of description, and cannot be understood as indicating or implying the relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features limited by "first", "second" can be explicitly or implicitly included at least one of the features. In addition, if "and / or" or "and / or" appears throughout the text, it means that the three parallel schemes are included, for example, "A and / or B" includes A scheme, or B scheme, or A and B scheme. In addition, the technical solutions of each embodiment can be combined with each other, but it must be based on the realization of the ordinary skilled in the art, when the combination of technical solutions appears contradictory or unachievable, it should be considered that the combination of technical solutions does not exist, and is not within the protection scope required by the present application.
[0056] The present application provides a configuration updating method of wireless ad hoc network, comprising the following steps:
[0057] S1, any node in the wireless ad hoc network receives an external configuration command, the node becomes a master node, and other nodes become slave nodes, and the master node counts the number N of slave nodes according to network topology information;
[0058] S2, the master node updates its first configuration information data according to the external configuration command, and sends the first configuration information data to the slave nodes;
[0059] S3, the slave nodes receive the first configuration information data sent by the master node, and update their second configuration information data according to the first configuration information data;
[0060] S4, after the master node confirms that all slave nodes have updated the second configuration information data, the value of the first update flag in the first configuration information data is updated, and the first configuration information data is sent to the slave nodes;
[0061] S5, the slave nodes receive the first configuration information data sent by the master node, update the value of the second update flag in the second configuration information data according to the first configuration information data, and update their own configuration according to the second configuration information data;
[0062] S6, after the master node confirms that all slave nodes in the network have updated the value of the second update flag, the configuration of the master node is updated according to the first configuration information data, and the master node becomes a slave node.
[0063] Preferably, the special control channel is used to transmit the first configuration information data and the bit field of the second configuration information data, which is 40 bits, and the content of the special control protocol is:
[0064] Bit [0] is the master-slave node flag. When the master-slave node flag value is 1, it indicates that this is the first configuration information data sent by the master node. When the master-slave node flag value is 0, it indicates that this is the second configuration information data sent by the slave node.
[0065] Bit[1] is the update flag, which is the key to ensure the consistency of configuration updates. The initial value of the update flag of all nodes is 0, indicating that there is no configuration update requirement. When the value of the second configuration parameter of all slave nodes is the same as the value of the first configuration parameter of the master node, the master node sets the value of the first update flag to 1 and sends it to the slave node. When the slave node recognizes that the value of the first update flag sent by the master node is 1, the slave node updates its own configuration according to the second configuration parameter;
[0066] Bit [2:4] is the broadband signal bandwidth bit, indicating the broadband signal bandwidth size that needs to be configured for each node in the wireless ad hoc network;
[0067] Bit [5:11] is the transmit power bit, indicating the transmit power that each node in the wireless ad hoc network needs to be configured with;
[0068] Bit [12:15] is the traffic gear bit, which indicates the traffic gear size that needs to be configured for each node in the wireless ad hoc network;
[0069] Bit[16:23] is the wireless frequency bit, which indicates the wireless frequency that each node in the wireless ad hoc network needs to be configured;
[0070] Bits [24:27] represent the update node count bits. During the phase where the second configuration parameters of the slave nodes are aligned with the first configuration parameters of the master node, the value of the first update node count is used by the master node to count the number of slave nodes that have updated their second configuration parameters. During the phase where the slave nodes update their own configurations, the value of the first update node count is used by the master node to count the number of slave nodes that have updated their own configurations.
[0071] Bits [28:35] represent the node ID, which is used to uniquely identify each node device in the wireless ad hoc network, ensuring that each node in the wireless ad hoc network can be accurately identified;
[0072] Bits [36:39] are reserved for possible future expansion or special purposes.
[0073] Furthermore, the first configuration information data includes a first node ID, a first master-slave node flag, a first update flag, a first update node count, and a first configuration parameter, and an initial value of the first update node count is 0.
[0074] Furthermore, the second configuration information data includes a second node ID, a second master-slave node flag, a second update flag, a second update node count, and second configuration parameters.
[0075] Preferably, the bit field of the special control channel is designed with bit[36:39] reserved bits, and the first configuration information data and the second configuration information data can further include other contents according to requirements.
[0076] Preferably, in the wireless ad hoc network, when all nodes do not receive the external configuration command, there is no distinction between master nodes and slave nodes in the wireless ad hoc network, and the values of the master-slave node flags of all nodes are 0; when any node receives the configuration information data sent by the external configuration command, the node becomes a master node, and sets the value of its own master-slave node flag to 1, and other nodes become slave nodes.
[0077] Preferably, in the initial state, in the master node, the value of the first master-slave node flag is 1, the value of the first update flag is 0, and the value of the first update node count is 0; in the slave node, the value of the second master-slave node flag is 0, and the value of the second update flag is 0.
[0078] Preferably, the first configuration parameter includes a first wideband signal bandwidth, a first transmission power, a first traffic gear, and a first wireless frequency; and the second configuration parameter includes a second wideband signal bandwidth, a second transmission power, a second traffic gear, and a second wireless frequency.
[0079] Preferably, in the wireless ad hoc network, the master node periodically sends the first configuration information data to each slave node through the special control channel, and the slave node periodically sends the second configuration information data to the master node and other slave nodes through the special control channel; the master node responds to the second configuration information data sent by each slave node in real time; but the slave node only responds to the first configuration information data sent by the master node in real time, and ignores the second configuration information data sent by other slave nodes.
[0080] Preferably, the slave node determines that it is a master node according to the value of the first master-slave node flag.
[0081] Preferably, the master node counts the number N of slave nodes according to the network topology information, on the one hand, to facilitate the master node to confirm whether the second configuration parameters of all slave nodes have been aligned with the first configuration parameters of the master node through counting, and on the other hand, to be used by the master node to confirm whether to update its own configuration according to the first configuration parameters after the master node confirms the number of slave nodes whose second update flags have been aligned with the first update flag of the master node through counting.
[0082] Further, the step S2 specifically includes the following steps:
[0083] S21, the master node updates the value of the first configuration parameter according to the configuration information data sent by the external configuration command;
[0084] S22, the master node periodically sends the first configuration information data to the slave nodes through the dedicated control channel.
[0085] Preferably, after the master node updates the value of the first configuration parameter according to the configuration information data issued by the external configuration command, the master node periodically sends the first configuration information data to each slave node.
[0086] Further, step S3 specifically includes the following steps:
[0087] S31, the slave node receives the first configuration information data sent by the master node through the dedicated control channel;
[0088] S32, the slave node updates the second configuration parameter according to the first configuration information data, so that the value of the second configuration parameter is the same as the value of the first configuration parameter;
[0089] S33, the slave node periodically sends the second configuration information data to each node through the dedicated control channel.
[0090] Preferably, after the slave node updates the value of the second configuration parameter according to the first configuration information data, the slave node periodically sends the second configuration information data to each node, so that the master node can count the number of slave nodes whose second configuration parameters have been aligned with the first configuration parameter.
[0091] Further, step S4 specifically includes the following steps:
[0092] S41, the master node receives the second configuration information data sent by the slave node through the dedicated control channel;
[0093] S42, the master node compares the second configuration information data with the first configuration information data, and when the value of the second configuration parameter is the same as the value of the first configuration parameter for the first time, the master node increases the value of the first update node count by 1;
[0094] S43, when the value of the first update node count is the same as the value of the number N of slave nodes, the master node confirms that all slave nodes have updated the second configuration parameter;
[0095] S44, the master node sets the value of the first update flag to a;
[0096] S45, the master node periodically sends the first configuration information data to the slave nodes through the dedicated control channel.
[0097] Preferably, the second node ID is a unique identifier of the slave node, and the master node determines which slave node sends the second configuration information data through the second node ID in the received second configuration information data.
[0098] Preferably, any slave node periodically sends the second configuration information data to the master node, so that the master node, after receiving the second configuration information data sent by any slave node, only adds 1 to the value of the first update node count when the value of the second configuration parameter of the slave node is the same as the value of the first configuration parameter for the first time, and then the master node receives the second configuration information data sent by the slave node again, the value of the second configuration parameter is also the same as the value of the first configuration parameter, but the value of the first update node count is not added 1.
[0099] Preferably, when the value of the first update node count is the same as the value of the number N of slave nodes, the master node confirms that all slave nodes have updated the second configuration information data, that is, the master node confirms that the second configuration parameters of all slave nodes have been aligned with the first configuration parameter.
[0100] Preferably, the value of a is 1, and after the master node confirms that the second configuration parameters of all slave nodes have been aligned with the first configuration parameter, the value of the first update flag is set to 1, indicating that the configuration update process has been configured, and the first configuration information data with the value of the first update flag being 1 is periodically sent to the slave nodes as a configuration update instruction.
[0101] Further, step S5 specifically includes the following steps:
[0102] S51, the slave node receives the first configuration information data sent by the master node through the dedicated control channel;
[0103] S52, when the slave node detects that the value of the first update flag is a, the slave node sets the value of the second update flag to a;
[0104] S53, the slave node periodically sends the second configuration information data to each node through the dedicated control channel;
[0105] S54, the slave node updates its own configuration according to the second configuration parameter.
[0106] Preferably, the value of a is 1, and when the slave node detects that the value of the first update flag in the received first configuration information data is 1, it is equivalent to that the slave node receives the configuration update instruction sent by the master node.
[0107] Preferably, after the slave node receives the configuration update instruction, the slave node performs the following steps in order:
[0108] S52, the slave node sets the value of the second update flag to 1;
[0109] S53, the slave node periodically sends the second configuration information data to each node through the dedicated control channel, so that the master node counts the number of slave nodes receiving the configuration update instruction, and after the slave node periodically sends the second configuration information data for a certain number n (set according to actual needs) of times, the slave node performs step S54, preferably n is 5, that is, after the slave node periodically sends the second configuration information data for 5 times, the slave node performs step S54;
[0110] S54, the slave node updates its own configuration according to the second configuration parameter, that is, the slave node updates its own configuration according to the second wideband signal bandwidth, the second transmission power, the second traffic gear, and the second wireless frequency, and the slave node sets the value of the second update flag to the initial value 0.
[0111] Further, step S6 specifically comprises the following steps:
[0112] S61, the master node receives the second configuration information data sent by the slave node through the dedicated control channel;
[0113] S62, the master node compares the second configuration information data with the first configuration information data, when the value of the second update flag is a for the first time, and the value of the second configuration parameter is the same as the value of the first configuration parameter, the master node reduces the value of the first update node count by 1.
[0114] S63, when one of the following two conditions is met:
[0115] (1) the value of the first update node count is 0;
[0116] (2) the value of the first update node count is less than the value of the number N of slave nodes and the value of the first update node count is still not 0 within t seconds;
[0117] The master node confirms that all slave nodes in the network have updated the value of the second update flag;
[0118] S64, the master node updates its own configuration according to the first configuration parameter;
[0119] S65, the master node becomes a slave node.
[0120] Preferably, the value of a is 1, the master node parses the second configuration information data received from any slave node, when the value of the second update flag of the slave node is 1 for the first time, and the value of the second configuration parameter of the slave node is the same as the value of the first configuration parameter of the master node, on the one hand, it indicates that the master node confirms that the slave node has received the configuration update instruction sent by the master node, on the other hand, it indicates that the master node confirms again that the second configuration parameter of the slave node has been aligned with the first configuration parameter, at this time, the master node reduces the value of the first update node count by 1.
[0121] Preferably, when the value of the first update node count is 0, it indicates that the master node has confirmed that all the slave nodes have received the configuration update command sent by the master node, and the value of the second configuration parameter of all the slave nodes has been aligned with the value of the first configuration parameter, at this time, the master node updates its own configuration according to the first configuration parameter, that is, the master node updates its own configuration according to the first wideband signal bandwidth, the first transmission power, the first traffic gear, and the first wireless frequency, and sets the value of the first master-slave node flag to 0, at this time, there is no master node in the whole network, and all the nodes no longer respond to the configuration information data of other nodes, the nodes in the wireless ad hoc network have no distinction between master nodes and slave nodes, and the configuration update of the wireless ad hoc network ends.
[0122] Preferably, the value of t is 10, when the value of the first update node count is less than the value of the number N of slave nodes and the value of the first update node count still does not become 0 within 10 seconds, it indicates that in step S63, due to the interference on the individual nodes, the master node does not accidentally receive the second configuration information data (feedback of whether the slave node receives the configuration update instruction) sent by the slave node, but the waiting time has exceeded 10 seconds, the master node no longer waits, and the master node updates its own configuration to ensure the continuous execution of the process, that is, when the waiting time exceeds 10 seconds, the master node no longer waits, and after the master node updates its own configuration according to the first wideband signal bandwidth, the first transmission power, the first traffic gear, and the first wireless frequency, the master node sets the value of the first master-slave node flag to 0, at this time, there is no master node in the whole network, and all the nodes no longer respond to the configuration information data of other nodes, the nodes in the wireless ad hoc network have no distinction between master nodes and slave nodes, and the configuration update of the wireless ad hoc network ends.
[0123] Further, the dedicated control channel transmits data through a dedicated control protocol, and the content of the dedicated control protocol includes a node ID bit, a master-slave node flag bit, a whether-to-update flag bit, an update node count bit, a configuration parameter bit, and a reserved bit.
[0124] Preferably, the configuration parameter bit includes a wideband signal bandwidth bit, a transmission power bit, a traffic gear, and a wireless frequency bit.
[0125] Preferably, the reserved bit can be set according to actual needs.
[0126] Preferably, the content of the dedicated control protocol can be adjusted and designed according to the actual needs of the configuration update of the wireless ad hoc network.
[0127] The above description is only an exemplary embodiment of the present application, and does not limit the patent scope of the present application, and any equivalent structural transformation made under the technical concept of the present application, or direct / indirect application in other related technical fields is included in the patent protection scope of the present application.
Claims
1. A configuration update method for a wireless ad hoc network, characterized in that: The following steps are involved: S1. When any node in the wireless ad hoc network receives an external configuration command, the node becomes the master node and the other nodes become slave nodes. The master node counts the number N of slave nodes based on the network topology information. S2. The master node updates its own first configuration information data according to the external configuration command, and sends the first configuration information data to the slave node; S3. The slave node receives the first configuration information data sent by the master node, and updates its own second configuration information data according to the first configuration information data; S4. After the master node confirms that all the slave nodes have updated the second configuration information data, the master node updates the value of the first update flag in the first configuration information data and sends the first configuration information data to the slave nodes; S5. The slave node receives the first configuration information data sent by the master node, updates the value of the second update flag in the second configuration information data according to the first configuration information data, and updates its own configuration according to the second configuration information data; S6. After the master node confirms that all the slave nodes on the network have updated the value of the second update flag, it updates its own configuration according to the first configuration information data and changes itself into a slave node.
2. The configuration update method of a wireless ad hoc network according to claim 1, characterized in that: The first configuration information data includes a first node ID, a first master-slave node flag, a first update flag, a first update node count, and a first configuration parameter. The initial value of the first update node count is 0.
3. The configuration update method of a wireless ad hoc network according to claim 2, characterized in that: The second configuration information data includes a second node ID, a second master-slave node flag, a second update flag, a second update node count, and second configuration parameters.
4. The configuration update method of a wireless ad hoc network according to claim 3, characterized in that: The step S2 specifically includes the following steps: S21. The master node updates the value of the first configuration parameter according to the configuration information data issued by the external configuration command; S22. The master node periodically sends the first configuration information data to the slave node through a dedicated control channel.
5. The configuration update method of a wireless ad hoc network according to claim 4, characterized in that: The step S3 specifically includes the following steps: S31. The slave node receives the first configuration information data sent by the master node through a dedicated control channel; S32. The slave node updates the second configuration parameter according to the first configuration information data, so that the value of the second configuration parameter is the same as the value of the first configuration parameter; S33. The slave node periodically sends the second configuration information data to each node through the dedicated control channel.
6. A configuration update method for a wireless ad hoc network according to claim 5, characterized in that: The step S4 specifically includes the following steps: S41. The master node receives the second configuration information data sent by the slave node through a dedicated control channel; S42: The master node compares the second configuration information data with the first configuration information data. When the value of the second configuration parameter is the same as the value of the first configuration parameter for the first time, the master node increases the value of the first update node count by 1. S43: When the value of the first update node count is the same as the value of the number of slave nodes N, the master node confirms that all the slave nodes have updated the second configuration parameters; S44. The master node sets the value of the first update flag to a; S45. The master node periodically sends the first configuration information data to the slave node through the dedicated control channel.
7. A configuration update method for a wireless ad hoc network according to claim 6, characterized in that: The step S5 specifically includes the following steps: S51, the slave node receives first configuration information data sent by the master node through the dedicated control channel; S52: When the slave node detects that the value of the first whether-to-update flag is a, the slave node sets the value of the second whether-to-update flag to a; S53, the slave node periodically sends the second configuration information data to each node through the dedicated control channel; S54. The slave node updates its own configuration according to the second configuration parameters.
8. The configuration update method of a wireless ad hoc network according to claim 7, characterized in that: The step S6 specifically includes the following steps: S61. The master node receives the second configuration information data sent by the slave node through the dedicated control channel; S62: The master node compares the second configuration information data with the first configuration information data. When the value of the second update flag is a for the first time and the value of the second configuration parameter is the same as the value of the first configuration parameter, the master node decrements the value of the first update node count by 1. S63. When the following two conditions are met: (1) The value of the first update node count is 0; (2) The value of the first update node count is less than the value of the number of slave nodes N and the value of the first update node count does not become 0 within t seconds; When one of the conditions is met, the master node confirms that all the slave nodes on the network have updated the value of the second update flag; S64. The master node updates its own configuration according to the first configuration parameters; S65. The master node changes itself into a slave node.
9. The configuration update method of a wireless ad hoc network according to claim 8, characterized in that: The dedicated control channel transmits data through a dedicated control protocol, and the content of the dedicated control protocol includes a node ID bit, a master-slave node flag bit, an update flag bit, an update node count bit, a configuration parameter bit, and a reserved bit.
Citation Information
Patent Citations
Hardware updating method, master node, slave node and server cluster
CN107147719A
Cluster reconstruction method and system
CN115242856A