Congestion control method for wireless ad hoc network

By adding message tags and performing fine-grained control in wireless ad hoc networks, the problem of link congestion is solved, timely delivery of timely messages and resource saving are achieved, and the needs of high timeliness applications in wireless ad hoc networks are met. .

CN118540736APending Publication Date: 2024-08-23ARMY ENG UNIV OF PLA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410940419.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Due to link congestion caused by dynamic changes in links and environmental interference, wireless ad hoc networks cannot meet the fine-grained control and high-timeliness transmission needs of upper-layer users for data messages.

Method used

In wireless ad hoc networks, fine-grained control of different types of messages, including periodicity, is ensured by adding tags to messages and using message withdrawal commands and node self-checks to delete messages when network congestion or bandwidth is limited. Processing of sexual status-aware messages and high-timeliness messages.

Benefits of technology

It realizes timely fine-grained control of messages when the network is congested or the bandwidth is limited, ensuring the timely delivery of high-timeliness application messages, reducing transmission delays, saving link bandwidth resources, and meeting the needs of high-timeliness in wireless self-organizing networks. sexual application needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540736A
    Figure CN118540736A
Patent Text Reader

Abstract

The invention discloses a wireless ad hoc network congestion control method, which comprises the following steps of: adding a message label in a sent message when responding to a message sent by a source end node to a destination node; in response to occurrence of network congestion or bandwidth limitation, message deletion through a message revocation command comprises the steps that a source end node and / or an intermediate node sends the message revocation command to a destination node, and the message revocation command comprises a message label corresponding to a message needing to be revoked; all the intermediate nodes receiving the message revocation command search in a local message queue according to the message label in the message revocation command, and delete the searched message; message deletion through node self-inspection comprises: when the local message queue length of all nodes is greater than a preset length threshold, deleting messages of which the data message type is a periodic state sensing message and the message age is greater than the maximum life time. According to the invention, fine-grained control can be carried out on the message to ensure that the latest message is sent all the time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of network communication, and in particular to a congestion control method for a wireless ad hoc network. Background Art

[0002] A wireless ad hoc network is a self-organizing wireless network that does not rely on fixed infrastructure. Because networking is convenient and fast, not restricted by time and space, and has the ability to self-organize and self-heal, it can be widely used in battlefields, emergency rescue, or dangerous environments. However, wireless ad hoc networks are usually bandwidth-constrained networks, and links may experience frequent dynamic changes or even link disconnection due to user movement or environmental interference, which may cause link congestion and cause messages to accumulate in the application layer or network layer queues. On the one hand, for periodic state-aware messages in wireless ad hoc networks, the accumulation of messages will cause a large backlog of expired messages, occupying link and node storage resources; on the other hand, for services with high timeliness requirements, the backlog of messages will increase transmission delays, seriously affecting transmission quality and user experience. To this end, some congestion control methods for wireless ad hoc networks have been proposed and used in various reliable transmission protocols. However, these congestion control methods usually treat all data messages equally and handle all types of data in a unified manner. Even in order to provide different service qualities, the message queuing or discarding operations of network nodes can only be differentiated and processed according to the characteristics of the message at the network layer, such as IP address, protocol type, etc. This cannot meet the upper-layer users' requirements for fine-grained control and high-timeliness transmission of data messages. Summary of the invention

[0003] The purpose of the present invention is to overcome the deficiencies in the prior art and provide a wireless ad hoc network congestion control method to meet the upper layer user's requirements for fine-grained control and high-timeliness transmission of data messages.

[0004] To achieve the above object, the present invention is implemented by adopting the following technical solutions: The present invention provides a wireless ad hoc network congestion control method, comprising: In response to the source node sending a message to the destination node, adding a message tag to the sent message; In response to network congestion or bandwidth limitation, message deletion is performed through message revocation commands and node self-checking; Message deletion through message revocation command includes: The source node and / or the intermediate node sends a message revocation command to the destination node, wherein the message revocation command includes a message tag corresponding to the message to be revoked; All intermediate nodes that receive the message revocation command search the local message queue according to the message tag in the message revocation command and delete the searched message; Message deletion through node self-check includes: When the length of the local message queue of all nodes is greater than a preset length threshold, the messages whose data message type is a periodic state awareness message and whose message age is greater than its maximum life time are deleted; the message age is the time when it enters the local message queue.

[0005] Optionally, the message to which the message tag is added includes: a data message identifier, a data message type, a message length, a message tag, and message data.

[0006] Optionally, the message types include periodic status awareness messages, high-timeliness messages and ordinary messages, and the data message types are respectively set in encoded forms.

[0007] Optionally, the message tag in the message revocation command is set autonomously by the source node and / or the intermediate node: S10, each node obtains the signal-to-noise ratio of the link to the next hop node; S20, if the signal-to-noise ratio of the link is greater than a preset signal-to-noise ratio threshold, obtaining the length of the local message queue of the node; if the signal-to-noise ratio of the link is less than or equal to the preset signal-to-noise ratio threshold, entering S40; S30, if the length of the local message queue of the node is greater than a preset length threshold, proceed to S40; S40, determining whether there is a periodic state perception message in the local message queue of the node; if there is a periodic state perception message, the node sets the message tag in the message revocation command to the data message type code corresponding to the periodic state perception message; if there is no periodic state perception message, obtaining the message age of the common message in the local message queue of the node; the message age is the time of entering the local message queue; S50. If there is a common message whose message age is greater than a preset age threshold, the node sets the message tag in the message revocation command to be the message tag corresponding to the common message with the largest message age.

[0008] Optionally, if the message tag in the message revocation command is a code corresponding to a data message type, all messages corresponding to the data message type code are deleted.

[0009] Optionally, the message tag in the message revocation command is set directly by the user.

[0010] Optionally, the message revocation command includes a revocation message identifier, a message length, and a message tag.

[0011] Optionally, in response to the need to replace a message label in a sent message, the source node and / or the intermediate node sends a label replacement command to the destination node, where the label replacement command includes the original message label to be replaced and a new message label after the replacement; All intermediate nodes that receive the label replacement command search the local message queue according to the original message label in the message replacement command, and replace the searched original message label with the new message label.

[0012] Optionally, the label replacement command includes replacing the message identifier, message length, original message label and new message label.

[0013] Compared with the prior art, the present invention has the following beneficial effects: The present invention provides a wireless ad hoc network congestion control method. By marking, revoking and replacing messages, fine-grained control can be implemented on messages in a timely manner when a node in the ad hoc network encounters network congestion or bandwidth limitation, and effective congestion control is achieved driven by business needs to ensure timely delivery of application messages with high timeliness. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 It is a flow chart of a wireless ad hoc network congestion control method provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of revocation and replacement of a message provided by an embodiment of the present invention; Figure 3 It is a flowchart of a source node or an intermediate node autonomously setting a message revocation command provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0015] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0016] Embodiment 1: like Figure 1 and Figure 2 As shown, an embodiment of the present invention provides a wireless ad hoc network congestion control method, comprising the following steps: Step S1: In response to a source node sending a message to a destination node, a message tag is added to the sent message.

[0017] When fine-grained control of messages is required, it is a necessary step for the source end to add a message tag to the message before sending the message; specifically, in this embodiment, the message with the message tag includes: data message identifier, data message type, message length, message tag, and message data. The message format is shown in Table 1: Table 1: Format of a message with a message tag added

[0018] 0x0001 is the data message identifier. Data message types include periodic status awareness messages, high-timeliness messages, and ordinary messages, which are coded as 0, 1, and 2. The message length includes the total length of all fields included in the message format. The message tag is used to perform fine-grained control on the message. The tag value is greater than or equal to 8, and the default setting is 8. The message is sent to the destination along the network path, and each node along the way will enter the message queue of the node.

[0019] Step S2: In response to network congestion or bandwidth limitation, message deletion is performed through message revocation command and node self-check.

[0020] Network congestion or network limitation usually occurs when the signal-to-noise ratio of the wireless link is lower than the threshold value S or the traffic volume increases, resulting in a large number of backlog messages in the link, causing a sharp increase in delay.

[0021] (1) Deleting a message through a message revocation command includes: The source node and / or the intermediate node sends a message revocation command to the destination node, where the message revocation command includes a message tag corresponding to the message to be revoked; All intermediate nodes that receive the message revocation command search the local message queue according to the message tag in the message revocation command and delete the searched message.

[0022] Specifically in this implementation, there are two ways to generate a message revocation command: (1) The message tag in the message revocation command is set directly by the user. The user sets the message tag to be revoked according to the needs. If the messages to be revoked are all messages corresponding to any data message type, the data message type is used as the message tag in the message revocation command.

[0023] (2) The message tag in the message revocation command is set autonomously by the source node and / or the intermediate node. This autonomous setting can be performed periodically, such as Figure 3 As shown, the specific steps include: Step S10: Each node obtains the signal-to-noise ratio of the link to the next hop node; Step S20: if the signal-to-noise ratio of the link is greater than the preset signal-to-noise ratio threshold, the length of the local message queue of the node is obtained; if the signal-to-noise ratio of the link is less than or equal to the preset signal-to-noise ratio threshold, the process proceeds to step S40; Step S30: If the length of the local message queue of the node is greater than the preset length threshold, proceed to step S40; Step S40: determine whether there is a periodic state-aware message in the local message queue of the node. If there is a periodic state-aware message, the node sets the message tag in the message revocation command to the data message type code corresponding to the periodic state-aware message; if there is no periodic state-aware message, obtain the message age of the common message in the local message queue of the node; the message age is the time of entering the local message queue; Step S50: If there is a common message whose message age is greater than a preset age threshold, the node sets the message tag in the message revocation command to be the message tag corresponding to the common message with the largest message age.

[0024] The message revocation command includes the revocation message identifier, message length, and message tag. The command format is shown in Table 2: Table 2: Format of the message cancel command

[0025] 0x0002 is the cancellation message identifier. The message tag is filled in with the message tag you want to cancel. When you need to cancel all messages of a certain type, the message tag is set to the type code of the data message. If the message tag in the message cancellation command is the code corresponding to the data message type, all messages corresponding to the data message type code will be deleted.

[0026] (2) Message deletion through node self-check includes: When the length of the local message queue of all nodes is greater than the preset length threshold, delete the messages whose data message type is periodic state-aware messages and whose message age is greater than their maximum life time; the message age is the time when it enters the local message queue. If the length of the local message queue is less than or equal to the maximum length threshold during the deletion process, you can choose to continue deleting the messages whose data message type is periodic state-aware messages and whose message age is greater than their cycle time, or you can choose to stop deleting.

[0027] In addition to the above deletion operation, in response to the need to replace the message label in the sent message, the source node and / or the intermediate node sends a label replacement command to the destination node, and the label replacement command includes the original message label to be replaced and the new message label after replacement; All intermediate nodes that receive the label replacement command search the local message queue according to the original message label in the message replacement command, and replace the searched original message label with the new message label.

[0028] The label replacement command includes the replacement message identifier, message length, original message label and new message label. The command format is shown in Table 3:

[0029] 0x0003 is the identifier of the replacement message. The original message tag is filled with the message tag you want to replace, and the new message tag is filled with the new message tag you want to replace it with.

[0030] The present embodiment proposes a wireless ad hoc network congestion control method, which is used to solve the link congestion and message backlog problems caused by dynamic changes in links in wireless ad hoc networks. By marking, revoking, and replacing messages, fine-grained control can be implemented on messages in a timely manner when ad hoc network nodes encounter network congestion or bandwidth limitation, ensuring that the latest messages are always sent.

[0031] By deleting outdated messages in the network, the traffic load is controlled, precious link bandwidth resources are saved, transmission delay is reduced, and timely message delivery is ensured, which can fully meet the application requirements with high timeliness requirements or time constraints in wireless self-organizing networks. The invention can be widely used in various wireless self-organizing network radio equipment.

[0032] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0033] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A wireless ad hoc network congestion control method, characterized in that: include: In response to the source node sending a message to the destination node, adding a message tag to the sent message; In response to network congestion or bandwidth limitation, message deletion is performed through message revocation commands and node self-checking; Message deletion through message revocation command includes: The source node and / or the intermediate node sends a message revocation command to the destination node, wherein the message revocation command includes a message tag corresponding to the message to be revoked; All intermediate nodes that receive the message revocation command search the local message queue according to the message tag in the message revocation command and delete the searched message; Message deletion through node self-check includes: When the length of the local message queue of all nodes is greater than a preset length threshold, the messages whose data message type is a periodic state awareness message and whose message age is greater than its maximum life time are deleted; the message age is the time when it enters the local message queue.

2. The wireless ad hoc network congestion control method according to claim 1, characterized in that: The message to which the message tag is added includes: a data message identifier, a data message type, a message length, a message tag, and message data.

3. The wireless ad hoc network congestion control method according to claim 1, characterized in that: The message types include periodic status awareness messages, high-timeliness messages and common messages, and the data message types are respectively set in coded forms.

4. The wireless ad hoc network congestion control method according to claim 3, characterized in that: The message tag in the message revocation command is set autonomously by the source node and / or the intermediate node: S10, each node obtains the signal-to-noise ratio of the link to the next hop node; S20, if the signal-to-noise ratio of the link is greater than a preset signal-to-noise ratio threshold, obtaining the length of the local message queue of the node; if the signal-to-noise ratio of the link is less than or equal to the preset signal-to-noise ratio threshold, entering S40; S30, if the length of the local message queue of the node is greater than a preset length threshold, proceed to S40; S40, determining whether there is a periodic state awareness message in the local message queue of the node, and if there is a periodic state awareness message, the node sets the message tag in the message revocation command to the data message type code corresponding to the periodic state awareness message; If there is no periodic state awareness message, obtaining the message age of the common message in the local message queue of the node; the message age is the time when it enters the local message queue; S50. If there is a common message whose message age is greater than a preset age threshold, the node sets the message tag in the message revocation command to be the message tag corresponding to the common message with the largest message age.

5. The wireless ad hoc network congestion control method according to claim 4, characterized in that: If the message tag in the message revocation command is a code corresponding to a data message type, all messages corresponding to the data message type code are deleted.

6. The wireless ad hoc network congestion control method according to claim 1, characterized in that: The message tag in the message revocation command is directly set by the user.

7. The wireless ad hoc network congestion control method according to claim 1, characterized in that: The message revocation command includes a revocation message identifier, a message length, and a message tag.

8. The wireless ad hoc network congestion control method according to claim 1, characterized in that: In response to the need to replace a message label in a sent message, the source node and / or the intermediate node sends a label replacement command to the destination node, wherein the label replacement command includes the original message label to be replaced and a new message label after the replacement; All intermediate nodes that receive the label replacement command search the local message queue according to the original message label in the message replacement command, and replace the searched original message label with the new message label.

9. The wireless ad hoc network congestion control method according to claim 8, characterized in that: The label replacement command includes a replacement message identifier, a message length, an original message label and a new message label.