A data transmission version synchronization strategy for wireless ad hoc networks
By dynamically selecting the PDU format in the wireless ad hoc network and including version indication instructions, the network status changes and version compatibility issues are solved, and the efficiency and reliability of data transmission are improved.
Patent Information
- Application Number
- CN202510288907.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-12
- Publication Date
- 2025-04-08
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In wireless ad hoc networks, the prior art is difficult to dynamically adapt to network state changes and process version compatibility issues, resulting in low data transmission efficiency and reliability.
By monitoring network status and data type in real time on the sending node, dynamically selecting the PDU format, and including version indications in the data PDU, ensuring that the receiving node can correctly identify data format and version compatibility.
Improves the efficiency and reliability of data transmission, reduces delay and oscillation, and ensures compatibility of different versions of equipment.
Smart Images

Figure CN119789200A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of ad hoc networks, and in particular to a data transmission version synchronization strategy applicable to wireless ad hoc networks. Background Art
[0002] In wireless ad hoc networks, the efficiency and reliability of data transmission are affected by changes in network status and the compatibility of different device versions. Existing technologies usually adopt static PDU (protocol data unit) formats and transmission strategies, which are not easy to effectively adapt to dynamically changing network environments. Due to the characteristics of wireless channels, factors such as network delay, bandwidth and packet loss rate often fluctuate, which makes the version compatibility issue between sending and receiving nodes particularly prominent during data transmission.
[0003] Traditional solutions often rely on fixed protocol versions, which makes it difficult to achieve real-time version synchronization, resulting in data parsing errors, increased packet loss rates, and reduced transmission efficiency. In addition, existing technologies lack effective mechanisms for dealing with sudden changes in network status, making it difficult to adjust the PDU format in a timely manner, which can easily cause data transmission oscillations and increase transmission delays and uncertainties.
[0004] Therefore, there is an urgent need for a data transmission strategy that can dynamically adapt to changes in network status and effectively handle version compatibility issues in order to improve the data transmission efficiency and reliability of wireless ad hoc networks. Summary of the invention
[0005] The purpose of this application is to provide a data transmission version synchronization strategy applicable to wireless ad hoc networks, which can effectively solve the problems in the prior art. The strategy improves the efficiency and reliability of data transmission and ensures the compatibility of devices with different versions by dynamically selecting PDU formats, introducing version indications, and supporting multiple transmission modes.
[0006] In order to achieve the above object, the present invention adopts the following technical solution: a data transmission version synchronization strategy applicable to a wireless ad hoc network, comprising the following steps: S1. When sending a data protocol data unit (PDU), the sending node transmits the version number supported by the current data PDU and its own version number to the receiving node by sending a version indication, so that the receiving node can correctly identify the data format and version compatibility; S2. After receiving the data PDU, the receiving node encapsulates the data PDU according to the sending version indication, and records the version number and status information supported by the sending node, thereby enhancing the synchronization stability of data transmission and avoiding blind decoding of data to determine the version; S3, when sending PDU, the sending node dynamically selects the PDU format according to the network status and data type to improve transmission efficiency and reliability; The sending version indication in step S1 includes the following information: the version number supported by the current data PDU; the device type of the sending node and its capability description, including processing power, storage capacity and network interface type; the network status information of the sending node, including delay, bandwidth, packet loss rate and signal strength; the type and priority information of the data content, so that the receiving node can perform reasonable scheduling.
[0007] Preferably, when sending a PDU, the sending node dynamically selects a PDU format according to the network status and data type. The specific algorithm is as follows: S31, the sending node monitors the network status in real time, including: delay, bandwidth, packet loss rate and signal strength; S32. Determine the type and priority of the data to be sent to select the PDU format: Audio and video data: choose small PDU to reduce latency; Large file transfer: select a large PDU to improve transfer efficiency; Text data: select the PDU size based on the specific content; S33. Based on the status monitoring results and data type, use the following rules to select the PDU format: Rule 1: If the delay is less than the set threshold and the bandwidth is sufficient, the large PDU format is selected; Rule 2: If latency is high or bandwidth is insufficient, choose a small PDU format; Rule 3: If the packet loss rate is high, redundant coding or error detection mechanisms are used and the PDU size is selected to ensure data integrity; Rule 4: According to the data priority, adjust the PDU format to ensure that high-priority data is sent first; S34, after selecting the PDU format, the sending node dynamically adjusts the following parameters: PDU size, data packet retransmission strategy, and sending interval; S35, the sending node evaluates the effect of the selected PDU format according to the receiving success rate and delayed feedback information of the receiving node, and optimizes the selection strategy in subsequent sending to form a closed-loop adjustment mechanism; S36. Record the PDU format sent each time and its corresponding network status, use machine learning algorithms to analyze historical data, and gradually optimize the dynamic selection strategy.
[0008] Preferably, when recording the status information of the sending node, the receiving node compares the recorded information with its own status to evaluate the connection quality and select the optimal receiving strategy.
[0009] Preferably, there are differences between different versions of data PDU formats to enhance the flexibility of the wireless ad hoc network, so that devices of different versions can select a suitable data processing method according to their own capabilities.
[0010] Preferably, the data transmission synchronization scheme supports the following three data transmission modes: Point-to-point unicast mode: The sending node encapsulates the sent data PDU according to the version number supported by the receiving node to ensure that the data format is compatible with the receiving node; Broadcast mode: The sending node encapsulates the data PDU to be sent according to the lowest version number supported by all nodes in the network to ensure that all receiving nodes can correctly receive and parse it; Multicast mode: The sending node encapsulates the data PDU to be sent according to the lowest version number of the set of receiving nodes, thereby ensuring the effectiveness and reliability of multicast.
[0011] Preferably, the encapsulation methods of the sending node in different modes are all processed using the sending version indication to improve the synchronization stability and adaptability of data transmission.
[0012] Preferably, the sending node can add timestamp information in the sent PDU so that the receiving node can perform delay analysis and data synchronization.
[0013] Preferably, the sending node can dynamically adjust the sending strategy, including the number of retransmissions and the sending frequency, according to the feedback information of the receiving node.
[0014] Preferably, the data transmission scheme adopts an encryption mechanism to ensure the security and privacy protection of data during transmission.
[0015] Preferably, the receiving node supports validity verification of the received PDU and requests retransmission to ensure data integrity.
[0016] Preferably, in order to ensure the transmission efficiency and reliability of the wireless ad hoc network, it is necessary to process the PDU format switching caused by the sudden change of the network status. The processing strategy and steps are as follows: (1) Real-time monitoring and detection; Network status monitoring: The sending node should continuously monitor the network status, including latency, bandwidth, packet loss rate, and signal strength. It can use regular detection mechanisms (such as sending small data packets at regular intervals) to evaluate the network status. Sudden change detection: Set thresholds to detect changes in network status in real time. If network latency suddenly increases, bandwidth decreases, or packet loss rate increases, the system should immediately identify it as a sudden change in network status. (2) Dynamic adjustment strategy; Automatic switching mechanism: Once a sudden change in network status is detected, the sending node should automatically switch the PDU format and re-evaluate the current PDU selection algorithm according to the new network status to determine the new PDU size and format; Priority adjustment: For high-priority data, small PDUs are sent first when network conditions deteriorate to ensure the real-time and integrity of the data. Low-priority data can be sent later. (3) Redundancy and error handling; Redundant coding: When the network status is poor, redundant coding technology is used to increase data redundancy to improve data reliability; Retransmission mechanism: Enhance the retransmission mechanism. When the packet loss rate is high, appropriately increase the number of retransmissions to ensure complete data reception; (4) Feedback and learning; Receiving feedback mechanism: The receiving node should promptly feedback the received data status (such as successful reception, packet loss, etc.) to the sending node in order to adjust the sending strategy; Historical data analysis: The sending node should record the PDU format and sending effect before and after the network status changes, and use machine learning algorithms to analyze historical data to optimize future PDU format selection and adjustment strategies; (5) Rolling window mechanism; Rolling window control: Use the rolling window mechanism to dynamically adjust the window size according to the current network status, ensuring flexible response to sudden network changes and improving the stability of data flow; (6) User configurable options; Configuration flexibility: Provides user configuration options, allowing users to set different network status thresholds and priority policies according to actual application needs to adapt to network fluctuations in specific scenarios.
[0017] Preferably, when dynamically adjusting the step size of the PDU size, avoiding oscillation caused by too fast step size adjustment is the key to ensuring the stability of wireless ad hoc network transmission. The strategies and measures are as follows: Introducing smoothing algorithm; Low-pass filter: Use low-pass filter to smooth network status indicators (such as delay, bandwidth, packet loss rate), reduce the impact of instantaneous fluctuations, and ensure more stable adjustments; Moving average method: Calculate the average value of the past N periods to determine the basis for adjustment, rather than directly using the current value, to reduce the step size adjustment caused by short-term fluctuations; Set thresholds; Change threshold: Set a change threshold. The step size is adjusted only when the network status exceeds the threshold. For example, if the delay change is less than 20ms, no adjustment is made to avoid frequent changes. Step limit: You can set the maximum adjustment range of the step size to avoid excessive adjustment each time. For example, limit each adjustment to no more than 10% of the current PDU size. Introducing a cooldown mechanism; Cooling time: After each step size adjustment, a cooling time period (e.g. 5 seconds) is set, during which no step size adjustment is performed, and evaluation is performed again after the network status stabilizes; Delayed feedback: After detecting a change in network status, wait for a certain period of time before confirming whether to adjust the step size to observe whether the change persists; Adopt an incremental adjustment strategy; Gradual adjustment: adjust the step length gradually instead of making a large adjustment all at once. For example, adjust the step length by 1 / 4 first, then observe the effect and make the next adjustment. Feedback adjustment: decide whether to continue adjustment based on the feedback results; if the effect after adjustment is not good, roll back to the previous PDU size to avoid shock caused by further adjustment; Record and learn; Historical record analysis: record the network status and effect of each adjustment, and use historical data analysis to identify and avoid recurring oscillation patterns; Machine learning optimization: Apply machine learning algorithms to analyze historical data, predict the optimal step adjustment strategy, and reduce unnecessary adjustments.
[0018] In summary, the present application includes at least one of the following beneficial technical effects: 1. The present invention monitors the network status and data type in real time, so that the sending node can dynamically select the PDU format. This flexibility improves the efficiency of data transmission and reduces delays. The sending version indication includes the version number supported by the current data PDU and the device capability description of the sending node, so that the receiving node can correctly identify the data format and version compatibility, avoiding the problem of blind decoding of data. 2. The present invention provides a complete set of network status mutation processing strategies, which can automatically adjust the PDU format when detecting changes in network conditions, effectively reducing the oscillation phenomenon of data transmission and improving the stability of transmission; through the feedback mechanism of the receiving node, the sending node can optimize the subsequent sending strategy according to the receiving success rate and delay information, realize closed-loop adjustment, and improve the reliability of the overall transmission; 3. The present invention supports multiple data transmission modes such as point-to-point unicast, broadcast and multicast, enhances the flexibility of wireless ad hoc networks, and enables devices of different versions to select appropriate data processing methods according to their own capabilities. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a flowchart of the data transmission version synchronization strategy of the present invention; Figure 2 A schematic diagram of mutual compatibility between wireless ad hoc network devices of different versions during data transmission of the present invention; Figure 3 It is a schematic diagram of the PDU format of the present invention. DETAILED DESCRIPTION
[0020] The following is combined with Figure 1 -Attached Figure 3 , further details of this application are given.
[0021] The present invention provides a data transmission version synchronization strategy applicable to a wireless ad hoc network, comprising the following steps: S1. When sending a data protocol data unit (PDU), the sending node transmits the version number supported by the current data PDU and its own version number to the receiving node by sending a version indication, so that the receiving node can correctly identify the data format and version compatibility; S2. After receiving the data PDU, the receiving node encapsulates the data PDU according to the sending version indication, and records the version number and status information supported by the sending node, thereby enhancing the synchronization stability of data transmission and avoiding blind decoding of data to determine the version; S3, when sending PDU, the sending node dynamically selects the appropriate PDU format according to the network status and data type to improve transmission efficiency and reliability; The version indication sent in step S1 includes the following information: the version number supported by the current data PDU; the device type of the sending node and its capability description, including processing power, storage capacity and network interface type; the network status information of the sending node, including delay, bandwidth, packet loss rate and signal strength; the type and priority information of the data content, so that the receiving node can perform reasonable scheduling.
[0022] Among them, when sending PDU, the sending node dynamically selects the appropriate PDU format according to the network status and data type. The specific algorithm is as follows: S31, the sending node monitors the network status in real time, including: delay, bandwidth, packet loss rate and signal strength; S32. Determine the type and priority of the data to be sent to select the most appropriate PDU format: Audio and video data: choose smaller PDU to reduce latency; Large file transfer: select a larger PDU to improve transfer efficiency; Text data: select the appropriate PDU size based on the specific content; S33. Based on the status monitoring results and data type, use the following rules to select the PDU format: Rule 1: If the delay is less than the set threshold and the bandwidth is sufficient, the large PDU format is selected; Rule 2: If latency is high or bandwidth is insufficient, choose a small PDU format; Rule 3: If the packet loss rate is high, redundant coding or error detection mechanisms are used to select an appropriate PDU size to ensure data integrity; Rule 4: According to the data priority, adjust the PDU format to ensure that high-priority data is sent first; S34, after selecting the PDU format, the sending node dynamically adjusts the following parameters: PDU size, data packet retransmission strategy, and sending interval; S35, the sending node evaluates the effect of the selected PDU format according to the receiving success rate and delayed feedback information of the receiving node, and optimizes the selection strategy in subsequent sending to form a closed-loop adjustment mechanism; S36. Record the PDU format sent each time and its corresponding network status, use machine learning algorithms to analyze historical data, and gradually optimize the dynamic selection strategy.
[0023] Among them, the specific implementation of the machine learning algorithm is as follows: Model type: Choose a reinforcement learning model, especially an algorithm based on Q-learning. Q-learning can learn the optimal strategy through interaction with the environment, thereby dynamically adjusting the PDU format selection in wireless ad hoc networks. Training data source: Network status data: collects real-time network status information such as delay, bandwidth, packet loss rate, etc. of sending and receiving nodes; Data transmission results: record the success and failure of each data transmission, including the sent PDU format, data type, and feedback information from the receiving node; Feature Selection: Current network status: latency, bandwidth, packet loss rate, signal strength; Data type and priority: priority of audio, video, large files, text, etc. Last transmission status: the PDU format and transmission success rate selected last time; Implementation steps: Environment modeling: define the state space (network status, data type), action space (different PDU format selections) and reward function (transmission success rate); Training process: Conduct multiple experiments in a simulation environment, record the PDU format selected each time and the received feedback, update the Q value, and gradually optimize the selection strategy; Application stage: In actual transmission, the sending node selects the optimal PDU format based on the real-time network status and historical learning results.
[0024] When recording the status information of the sending node, the receiving node compares the recorded information with its own status to evaluate the connection quality and select the optimal receiving strategy.
[0025] There are differences between different versions of data PDU formats to enhance the flexibility of wireless ad hoc networks, so that devices of different versions can choose appropriate data processing methods according to their own capabilities.
[0026] Among them, the synchronization scheme for data transmission supports the following three data transmission modes: Point-to-point unicast mode: The sending node encapsulates the sent data PDU according to the version number supported by the receiving node to ensure that the data format is compatible with the receiving node; Broadcast mode: The sending node encapsulates the data PDU to be sent according to the lowest version number supported by all nodes in the network to ensure that all receiving nodes can correctly receive and parse it; Multicast mode: The sending node encapsulates the data PDU to be sent according to the lowest version number of the set of receiving nodes, thereby ensuring the effectiveness and reliability of multicast.
[0027] Among them, the encapsulation method of the sending node in different modes is processed using the sending version indication to improve the synchronization stability and adaptability of data transmission. The sending node can add timestamp information in the sent PDU so that the receiving node can perform delay analysis and data synchronization. The sending node can dynamically adjust the sending strategy according to the feedback information of the receiving node, including the number of retransmissions and the sending frequency.
[0028] Among them, the data transmission scheme adopts an encryption mechanism to ensure the security and privacy of data during transmission. The receiving node supports validity verification of the received PDU and requests retransmission when necessary to ensure data integrity.
[0029] Among them, in order to ensure the transmission efficiency and reliability of wireless ad hoc networks, it is necessary to handle the PDU format switching caused by sudden changes in network status. The processing strategy and steps are as follows: (1) Real-time monitoring and detection; Network status monitoring: The sending node should continuously monitor the network status, including latency, bandwidth, packet loss rate, and signal strength. It can use regular detection mechanisms (such as sending small data packets at regular intervals) to evaluate the network status. Sudden change detection: Set thresholds to detect changes in network status in real time. If network latency suddenly increases, bandwidth decreases, or packet loss rate increases, the system should immediately identify it as a sudden change in network status. (2) Dynamic adjustment strategy; Automatic switching mechanism: Once a sudden change in network status is detected, the sending node should automatically switch the PDU format and re-evaluate the current PDU selection algorithm according to the new network status to determine the new PDU size and format; Priority adjustment: For high-priority data, small PDUs are sent first when network conditions deteriorate to ensure the real-time and integrity of the data. Low-priority data can be sent later. (3) Redundancy and error handling; Redundant coding: When the network status is poor, redundant coding technology is used to increase data redundancy to improve data reliability; Retransmission mechanism: Enhance the retransmission mechanism. When the packet loss rate is high, appropriately increase the number of retransmissions to ensure complete data reception; (4) Feedback and learning; Receiving feedback mechanism: The receiving node should promptly feedback the received data status (such as successful reception, packet loss, etc.) to the sending node in order to adjust the sending strategy; Historical data analysis: The sending node should record the PDU format and sending effect before and after the network status changes, and use machine learning algorithms to analyze historical data to optimize future PDU format selection and adjustment strategies; (5) Rolling window mechanism; Rolling window control: Use the rolling window mechanism to dynamically adjust the window size according to the current network status, ensuring flexible response to sudden network changes and improving the stability of data flow; (6) User configurable options; Configuration flexibility: Provides user configuration options, allowing users to set different network status thresholds and priority policies according to actual application needs to adapt to network fluctuations in specific scenarios; The example process of handling the PDU format switching caused by the sudden change of the network status is as follows: Monitoring phase: The sending node monitors the network status at regular intervals; Sudden change detection: Assume that the delay is detected to increase from 50ms to 150ms and the packet loss rate increases from 1% to 5%; Format adjustment: trigger PDU format switching and select a smaller PDU (such as adjusting from 512 bytes to 256 bytes); Sending feedback: After sending the new format PDU, the sending node pays attention to the feedback information of the receiving node; Optimization learning: Based on feedback, record the transmission effect of the new PDU format to provide data support for future optimization.
[0030] Among them, when dynamically adjusting the step size of the PDU size, avoiding oscillation caused by too fast step size adjustment is the key to ensuring the stability of wireless ad hoc network transmission. The strategies and measures are as follows: Introducing smoothing algorithm; Low-pass filter: Use low-pass filter to smooth network status indicators (such as delay, bandwidth, packet loss rate), reduce the impact of instantaneous fluctuations, and ensure more stable adjustments; Moving average method: Calculate the average value of the past N periods to determine the basis for adjustment, rather than directly using the current value, to reduce the step size adjustment caused by short-term fluctuations; Set thresholds; Change threshold: Set a change threshold. The step size is adjusted only when the network status exceeds the threshold. For example, if the delay change is less than 20ms, no adjustment is made to avoid frequent changes. Step limit: You can set the maximum adjustment range of the step size to avoid excessive adjustment each time. For example, limit each adjustment to no more than 10% of the current PDU size. Introducing a cooldown mechanism; Cooling time: After each step size adjustment, a cooling time period (e.g. 5 seconds) is set, during which no step size adjustment is performed, and evaluation is performed again after the network status stabilizes; Delayed feedback: After detecting a change in network status, wait for a certain period of time before confirming whether to adjust the step size to observe whether the change persists; Adopt an incremental adjustment strategy; Gradual adjustment: adjust the step length gradually instead of making a large adjustment all at once. For example, adjust the step length by 1 / 4 first, then observe the effect and make the next adjustment. Feedback adjustment: decide whether to continue adjustment based on the feedback results; if the effect after adjustment is not good, roll back to the previous PDU size to avoid shock caused by further adjustment; Record and learn; Historical record analysis: record the network status and effect of each adjustment, and use historical data analysis to identify and avoid recurring oscillation patterns; Machine learning optimization: Apply machine learning algorithms to analyze historical data, predict the optimal step adjustment strategy, and reduce unnecessary adjustments; An example process for dynamically adjusting the step size of the PDU size is as follows: Monitor network status: Monitor network status every 5 seconds and use moving average method to smooth delay data; Set thresholds: Set the delay change threshold to 20ms and the packet loss rate change threshold to 1%; Adjust the step size: After confirming that the delay or packet loss rate exceeds the threshold, first adjust the step size to a smaller size (for example, 128 bytes) and set the cooling time to 5 seconds; Waiting for feedback: During the cooling time, observe the feedback information from the receiving node to determine whether to continue adjustment; Gradual adjustment: If the feedback is good, the step size can be adjusted again; if the effect is not good, it will fall back to the previous PDU size.
[0031] The present invention provides a data transmission version synchronization strategy applicable to wireless ad hoc networks, covering the specific steps of designing sending nodes and receiving nodes, network status monitoring, PDU format selection and dynamic adjustment. The specific implementation steps are as follows: 1. Design of sending node; 1.1 Component composition; Processing unit: responsible for data processing and PDU generation; Network interface: used to exchange data with other nodes; Status monitoring module: real-time monitoring of network status (delay, bandwidth, packet loss rate, etc.); Version indication module: generates and sends version indication instructions, including the version number, device type, capability description and network status information supported by the current PDU.
[0032] 1.2 Sending process; Data preparation: The sending node receives the data to be sent and determines the priority based on the data type (audio, video, text); Monitor network status: Every 5 seconds, obtain the current network delay, bandwidth, packet loss rate and signal strength through the status monitoring module; Version indication generation: Generates a sending version indication including version number, device type, capability description and network status information; PDU format selection: Based on the monitored network status and the type of data to be sent, the appropriate PDU format is dynamically selected using steps S31 to S36; PDU sending: Encapsulate the data into PDU and send it through the network interface, while sending the version indication and timestamp.
[0033] 2. Design of receiving node; 2.1 Component composition; Processing unit: responsible for receiving and parsing PDU; Feedback module: used to feed back the received data status to the sending node.
[0034] 2.2 Receiving process; Receiving data: The receiving node receives the PDU through the network interface; Parse PDU: Determine the data format and version compatibility according to the sent version indication, and parse the data content in the PDU; Record status information: record the version number and status information of the sending node, as well as its own network status, and evaluate the connection quality; Feedback mechanism: Feedback the validity of the received data (such as success, packet loss, etc.) to the sending node.
[0035] 3. Processing of network status mutation; Real-time monitoring and detection: The sending node continuously monitors the network status and sets thresholds to detect sudden changes; Dynamic adjustment strategy: Once a sudden change in network status is detected, the PDU format is automatically switched and the current PDU selection algorithm is re-evaluated.
[0036] 4. Step length adjustment and oscillation avoidance; Smoothing algorithm: Use low-pass filter and moving average method to smooth the network status indicators; Cooling time mechanism: set a cooling time after each step adjustment to wait for the network status to stabilize; Incremental adjustment strategy: gradually adjust the step size to avoid shocks caused by large adjustments.
[0037] Example 1: Multi-node multicast in a complex network environment; Background: In wireless ad hoc networks, a sending node needs to multicast to multiple receiving nodes, and the receiving nodes may have different versions, which may lead to version compatibility conflicts.
[0038] step: 1. Network status monitoring: The sending node monitors the network status every 3 seconds and finds that the delay is 70ms, the bandwidth is 2 Mbps, and the packet loss rate is 3%.
[0039] 2. Version information collection: The sending node obtains the version numbers of all receiving nodes through control messages and records the lowest supported version number (assuming it is version 2).
[0040] 3. PDU format selection: Select the appropriate PDU format according to the minimum supported version, select 512-byte PDU, and include the version number, device capability description and network status information in the version indication sent.
[0041] 4. Data transmission: The sending node encapsulates the data PDU, attaches a version indication, and starts multicasting the data.
[0042] 5. Receiving feedback processing: After receiving the data, each receiving node will feedback the receiving status. If a receiving node fails to resolve the feedback, the sending node will immediately switch to the 256-byte PDU format and resend the data to ensure that all nodes can receive it.
[0043] 6. Dynamic adjustment: After receiving feedback, the sending node judges the quality of data transmission based on the reception success rate. If the packet loss rate is high, the PDU format and sending frequency are adjusted in a timely manner to form a closed-loop adjustment mechanism.
[0044] Effect: Through this solution, the sending node can effectively solve the version compatibility problem in multi-node multicast, ensuring that all nodes can successfully receive data, greatly improving the success rate and efficiency of data transmission.
[0045] Example 2: Comparison of dynamic adjustment effects when network status changes suddenly; Background: In a complex wireless ad hoc network, the sending node needs to dynamically adjust the PDU format according to changes in network status.
[0046] step: 1. Monitoring phase: The sending node monitors the network status every 2 seconds. The initial status is 50ms delay, 5 Mbps bandwidth, and 1% packet loss rate.
[0047] 2. Initial PDU selection: Select the 1024-byte PDU format for data transmission based on the monitoring results.
[0048] 3. Sudden change detection: Assume that during the sending process, it is monitored that the network delay suddenly rises to 150ms, the bandwidth drops to 1Mbps, and the packet loss rate rises to 5%.
[0049] 4. Dynamic adjustment: The sending node immediately recognizes the sudden change in network status, automatically switches the PDU format to 256 bytes, and re-evaluates the current PDU selection algorithm.
[0050] 5. Data retransmission: The sending node applies the new PDU format to subsequent data transmission and adjusts the sending strategy based on the feedback information from the receiving node.
[0051] 6. Feedback mechanism: The receiving node promptly feeds back the received data status, and the sending node optimizes the subsequent sending strategy based on the feedback.
[0052] Effect comparison: Traditional method: When the network status changes suddenly, the fixed PDU format leads to high packet loss rate and low transmission efficiency.
[0053] The present application method significantly reduces the packet loss rate and improves the stability and efficiency of data transmission by dynamically adjusting the PDU format.
[0054] Embodiment 3: Process for resolving version compatibility conflicts in multicast mode; Background: In wireless ad hoc networks, a sending node needs to multicast to multiple receiving nodes. Receiving nodes with different versions may cause data transmission failure.
[0055] step: 1. Version information collection: The sending node first obtains the version information of all receiving nodes and records the lowest version number (assuming it is version 1).
[0056] 2. PDU format selection: Select the PDU format suitable for the lowest version (for example, select a 512-byte PDU) and generate a sending version indication.
[0057] 3. Data multicast transmission: The sending node encapsulates the data into PDU, attaches a version indication, and performs multicast.
[0058] 4. Receiving and processing: After receiving the data, each receiving node attempts to parse the PDU. If a node reports that the parsing fails, the sending node immediately recognizes that the node's version is incompatible.
[0059] 5. Version compatibility processing: The sending node adjusts the PDU format to 256 bytes based on the feedback information and resends it to the node that cannot be parsed.
[0060] 6. Dynamic adjustment: In subsequent transmissions, the sending node continues to monitor the network status and receive feedback, optimizes the sending strategy, and ensures that all nodes can successfully receive data.
[0061] Effect: Through this solution, the sending node can effectively handle version compatibility conflicts in multicast mode, ensure the effectiveness and reliability of data transmission, and significantly improve the flexibility and adaptability of wireless ad hoc networks.
[0062] The embodiments of this specific implementation are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. The same components are represented by the same figure marks. Therefore, any equivalent changes made based on the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A data transmission version synchronization strategy applicable to wireless ad hoc networks, characterized in that: The following steps are involved: S1. When sending a data protocol data unit (PDU), the sending node transmits the version number supported by the current data PDU and its own version number to the receiving node by sending a version indication; S2. After receiving the data PDU, the receiving node encapsulates the data PDU according to the sending version indication, and records the version number and status information supported by the sending node; S3, when sending PDU, the sending node dynamically selects the PDU format according to the network status and data type; The version indication sent in step S1 includes the following information: the version number supported by the current data PDU; The device type of the sending node and a description of its capabilities, including processing power, storage capacity, and network interface type; The network status information of the sending node, including latency, bandwidth, packet loss rate, and signal strength; the type and priority information of the data content, so that the receiving node can make reasonable scheduling.
2. A data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 1, characterized in that: When sending a PDU, the sending node dynamically selects the PDU format according to the network status and data type. The specific algorithm is as follows: S31, the sending node monitors the network status in real time, including: delay, bandwidth, packet loss rate and signal strength; S32. Determine the type and priority of the data to be sent to select the PDU format: Audio and video data: choose small PDU to reduce latency; Large file transfer: select a large PDU to improve transfer efficiency; Text data: select the PDU size based on the specific content; S33. Based on the status monitoring results and data type, use the following rules to select the PDU format: Rule 1: If the delay is less than the set threshold and the bandwidth is sufficient, the large PDU format is selected; Rule 2: If latency is high or bandwidth is insufficient, choose a small PDU format; Rule 3: If the packet loss rate is high, redundant coding or error detection mechanisms are used and the PDU size is selected to ensure data integrity; Rule 4: According to the data priority, adjust the PDU format to ensure that high-priority data is sent first; S34, after selecting the PDU format, the sending node dynamically adjusts the following parameters: PDU size, data packet retransmission strategy, and sending interval; S35, the sending node evaluates the effect of the selected PDU format according to the receiving success rate and delayed feedback information of the receiving node, and optimizes the selection strategy in subsequent sending to form a closed-loop adjustment mechanism; S36. Record the PDU format sent each time and its corresponding network status, use machine learning algorithms to analyze historical data, and gradually optimize the dynamic selection strategy.
3. The data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 1, characterized in that: When recording the status information of the sending node, the receiving node compares the recorded information with its own status to evaluate the connection quality and select the optimal receiving strategy.
4. According to claim 1, a data transmission version synchronization strategy applicable to a wireless ad hoc network is characterized in that: There are differences between different versions of data PDU formats to enhance the flexibility of wireless ad hoc networks, allowing devices of different versions to choose appropriate data processing methods based on their own capabilities.
5. According to claim 1, a data transmission version synchronization strategy applicable to a wireless ad hoc network is characterized in that: The data transmission synchronization scheme supports the following three data transmission modes: Point-to-point unicast mode: The sending node encapsulates the sent data PDU according to the version number supported by the receiving node to ensure that the data format is compatible with the receiving node; Broadcast mode: The sending node encapsulates the data PDU to be sent according to the lowest version number supported by all nodes in the network to ensure that all receiving nodes can correctly receive and parse it; Multicast mode: The sending node encapsulates the data PDU to be sent according to the lowest version number of the set of receiving nodes, thereby ensuring the effectiveness and reliability of multicast.
6. A data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 5, characterized in that: The encapsulation methods of the sending node in different modes are all processed using the sending version indication to improve the synchronization stability and adaptability of data transmission.
7. The data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 1, characterized in that: The sending node can add timestamp information in the sent PDU so that the receiving node can perform delay analysis and data synchronization.
8. The data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 1, characterized in that: The sending node can dynamically adjust the sending strategy, including the number of retransmissions and the sending frequency, according to the feedback information of the receiving node.
9. The data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 1, characterized in that: The data transmission scheme adopts an encryption mechanism to ensure the security and privacy protection of data during transmission.
10. The data transmission version synchronization strategy applicable to a wireless ad hoc network according to claim 1, characterized in that: The receiving node supports validity verification of the received PDU and requests retransmission to ensure data integrity.
Citation Information
Patent Citations
Construction and analysis method and device for protocol data unit
CN101404659A
Communication method and user equipment
CN104284366A
Communication device, infrastructure equipment and method
CN114586322A
Reducing protocol data unit rate in mobile communications
CN116472741A
Radio base station, mobile station, and data transmission method
WO2006112293A1