Method and device for improving service rate of wireless ad hoc network
Dynamic adjustment of time slot structures in WANETs addresses communication distance and bandwidth disparities, enhancing data transfer rates by up to 72.90% through adaptive time slot reconfiguration.
Patent Information
- Application Number
- CN202510803734.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2045-06-17
AI Technical Summary
When the communication distance between nodes is different and the service bandwidth required by nodes is large, the service rate is limited by the frame structure and time slot composition, and it is impossible to break through the bottleneck.
By dynamically adjusting the time slot structure, including calculating the first structure adjustment number of the data slot and the adjusted number of data slots, combining the data transmission delay and risk assessment score, dynamically adjusting the time slot structure of subsequent data slots, and optimizing the air transmission protection time to improve the service rate.
With different communication distances and service bandwidth requirements, the service rate of wireless ad hoc network is significantly improved, increasing by 8% to 72.90%.
Smart Images

Figure CN120321779A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of wireless ad hoc network communication, and more specifically, to a method and device for improving the service rate of a wireless ad hoc network. Background Art
[0002] A wireless ad hoc network is a multi-point-to-multi-point distributed network composed of several equal nodes, which has the characteristics of centerless self-organization, multi-hop relay, dynamic routing, strong anti-destruction, etc. It is suitable for occasions that do not rely on existing basic network facilities and need to quickly open an independent and secure wireless communication network temporarily, such as event security, disaster relief, unmanned area coverage, vehicle fleet communication, underground communication, forest fire fighting, etc.
[0003] The frame structure of a wireless ad hoc network generally consists of three levels, namely time element, time frame, and time slot. As Figure 3 shown, each time element is 1 s, one time element consists of 10 time frames, each time frame is 100 ms, one time frame consists of 7 control time slots and 93 data time slots, and each time slot is 1 ms. Among them, the above is an example description of the frame structure of a wireless ad hoc network. The lengths of the time element, time frame, and time slot of the frame structure of a wireless ad hoc network will be dynamically adjusted according to the application scenario settings, that is, there are slight differences in the frame structure in different wireless ad hoc network waveforms.
[0004] However, a wireless ad hoc network communication system is multi-point-to-multi-point communication and multi-hop relay communication. In the following two application scenarios, it is limited by the frame structure and time slot composition, and there are bottlenecks in the service rate and it cannot be broken through.
[0005] (1) The communication distances of the nodes in the wireless ad hoc network communication system vary greatly. For example, the application scenario of the wireless ad hoc network communication system is the communication between vehicles on the shore, fixed stations on the shore, and ships at sea, or the communication between personnel on the ground, vehicles on the ground, and drones in the air. The communication distances between the nodes are between 10 km and 100 km; (2) The service bandwidth requirements of the nodes in the wireless ad hoc network communication system vary greatly. For example, there are 32 nodes in the whole network of the system, mainly the service data transmission requirements of 2 nodes, and even most of them are the service data transmission requirements of 1 node.
[0006] Therefore, the existing technology has defects and needs to be improved urgently. Summary of the Invention
[0007] In view of the above problems, the object of the present invention is to provide a method and device for improving the service rate of a wireless ad hoc network. By dynamically adjusting the time slot structure to improve the service rate, the problem that the service rate has a bottleneck and cannot be broken through under the fixed time slot structure is solved, and the service rate of the wireless ad hoc network communication system in the application scenarios where the communication distances between nodes vary greatly and the service bandwidths required by each node vary greatly is greatly improved.
[0008] In addition, the present invention is not limited to wireless ad hoc network communication, but also applicable to point-to-multipoint communication. When the communication distances between each peripheral station and the central station vary greatly and the service bandwidths required by each node vary greatly in point-to-multipoint communication, the dynamic adjustment of the time slot structure proposed by the present invention can also be used to improve the service rate.
[0009] The first aspect of the present invention provides a method for improving the service rate of a wireless ad hoc network, including: Obtaining data to be transmitted; Analyzing according to the data to be transmitted, and determining whether the data to be transmitted can be sent through continuous data time slots; If so, calculating a first structure adjustment quantity q of the data time slot and an adjusted data time slot quantity n according to the total data quantity of the data to be transmitted; Adjusting the time slot structure of the data time slot occupied by the data to be transmitted according to the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n; Obtaining the data transmission delay of each data time slot; Calculating a risk assessment score according to the data transmission delays of the respective data time slots; Dynamically adjusting the time slot structure of subsequent data time slots according to the risk assessment score.
[0010] In this solution, it further includes: The data time slot includes radio frequency preparation time, pre-clock jitter protection time, AGC adjustment time, synchronization sequence time, data transmission time, air transmission protection time, and post-clock jitter protection time.
[0011] In this solution, it further includes: The air transmission protection time is set according to the maximum communication distance between communication nodes; ; wherein, T q is the air transmission protection time, d is the maximum communication distance between communication nodes, and k1 is an adjustment coefficient.
[0012] In this solution, the calculating the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n according to the total data quantity of the data to be transmitted includes: Calculate the data volume difference between the total data volume of the data to be transmitted and the data volume transmitted in a single air transmission protection time; Calculate the sum of the data volume transmitted in a single data transmission time and a single air transmission protection time; Divide the data volume difference by the sum of the data volumes transmitted, round up the calculation result, and determine the first structural adjustment quantity q of the data time slot; Determine the number n of compressed data time slots according to the first structural adjustment quantity q of the data time slot; 。
[0013] In this solution, the structural adjustment of the data time slots occupied by the data to be transmitted according to the first structural adjustment quantity q of the data time slot and the adjusted number n of data time slots includes: Based on the structural adjustment quantity q of the data time slot, adjust the air transmission protection time of the 1st to qth data time slots occupied by the data transmission of the data to be transmitted to the data transmission time.
[0014] In this solution, the dynamic adjustment of the time slot structure of subsequent data time slots according to the data transmission delay of each data time slot includes: Calculate the risk assessment score according to the data transmission delays of the first n data time slots before the current data time slot; ; where P is the risk assessment score, t (n) is the data transmission delay of the nth data time slot before the current data time slot, and k (n) is the influence weight of the nth data time slot before the current data time slot.
[0015] In this solution, the dynamic adjustment of the time slot structure of subsequent data time slots according to the risk assessment score includes: When the risk assessment score is greater than the first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, restore the air transmission protection time of the subsequent data time slots; When the risk assessment score is less than the first preset risk assessment score threshold, if there is air transmission protection time in the current data time slot, record the duration during which the risk assessment score is less than the first preset risk assessment score threshold. When the duration is greater than the preset duration threshold, calculate the second structural adjustment quantity q' of the data time slot according to the remaining data volume to be transmitted of the data to be transmitted; According to the second structural adjustment quantity q' of the data time slot, adjust the air transmission protection time of the next to q'th data time slots to the data transmission time.
[0016] In this solution, it further includes: After adjusting the air transmission protection time of the data time slot to the data transmission time, calculate the average risk assessment score of the data time slot within a preset time interval; When the average risk assessment score is within a preset risk assessment score threshold interval, starting from the current data time slot, calculate the cumulative value of the risk assessment score; When the cumulative value of the risk assessment score is greater than the second preset risk assessment score threshold, restore the air transmission protection time of the next data time slot, adjust the air transmission protection time of the (q'+p)-th data time slot to the data transmission time, and reset the cumulative value of the risk assessment score; Wherein, p is the number of times of restoring the air transmission protection time of the data time slot.
[0017] The second aspect of the present invention provides a device for improving the service rate of a wireless ad hoc network. The device for improving the service rate of a wireless ad hoc network includes a method program for improving the service rate of a wireless ad hoc network. When the method program for improving the service rate of a wireless ad hoc network is executed by a processor, the steps of the method for improving the service rate of a wireless ad hoc network as described above are implemented.
[0018] The present invention discloses a method and a device for improving the service rate of a wireless ad hoc network. The method includes: obtaining data to be transmitted; analyzing the data to be transmitted to determine whether the data to be transmitted can be sent through continuous data time slots; if so, calculate the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n according to the total data volume of the data to be transmitted; perform time slot structure adjustment on the data time slot occupied by the data to be transmitted according to the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n; obtain the data transmission delay of each data time slot; calculate the risk assessment score according to the data transmission delay of each data time slot; dynamically adjust the time slot structure of subsequent data time slots according to the risk assessment score. The present invention improves the service rate by dynamically adjusting the time slot structure, and solves the problem that the service rate has a bottleneck and cannot be broken through under the fixed time slot structure. Description of the Drawings
[0019] Figure 1 Shows a flowchart of a method for improving the service rate of a wireless ad hoc network provided by the present invention; Figure 2 Shows a flowchart of a calculation method for the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n provided by the present invention; Figure 3 Shows a schematic diagram of the frame structure of a wireless ad hoc network provided by the present invention; Figure 4 Shows a schematic diagram of the composition structure of an existing data time slot provided by the present invention; Figure 5 It shows a schematic diagram of the existing time slot structure when data time slots provided by the present invention are continuously transmitted; Figure 6 It shows a schematic diagram of the time slot structure after adjusting the time slot structure when data time slots provided by the present invention are continuously transmitted. Specific implementation manners
[0020] In order to be able to more clearly understand the above objects, features and advantages of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific implementation manners. It should be noted that, without conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.
[0021] Many specific details are set forth in the following description in order to fully understand the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited by the specific embodiments disclosed below.
[0022] Figure 1 It shows a flowchart of a method for improving the service rate of a wireless ad hoc network provided by the present invention.
[0023] As Figure 1 shown, the present invention discloses a method for improving the service rate of a wireless ad hoc network, including: S102, obtaining data to be transmitted; S104, analyzing according to the data to be transmitted, and judging whether the data to be transmitted can be transmitted through continuous data time slots; S106, if so, calculating the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n according to the total data quantity of the data to be transmitted; S108, adjusting the time slot structure of the data time slot occupied by the data to be transmitted according to the first structure adjustment quantity q of the data time slot and the adjusted data time slot quantity n; S110, obtaining the data transmission delay of each data time slot; S112, calculating a risk assessment score according to the data transmission delay of each data time slot; S114, dynamically adjusting the time slot structure of subsequent data time slots according to the risk assessment score.
[0024] According to an embodiment of the present invention, after a certain wireless ad-hoc network node obtains the data to be transmitted generated by a communication device (such as an ad-hoc network walkie-talkie, etc.), it determines the total data volume of the data to be transmitted, analyzes it in combination with the status of the current node, and determines whether it can be sent through continuous data time slots. Among them, the judgment basis can be judged according to parameters such as whether the data to be transmitted is continuous and complete data, and the communication occupancy status of the current node. If so, according to the total data volume of the data to be transmitted, the time length of a single data transmission time, the time length of a single air transmission protection time, and the data transmission speed, calculate the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n, and adjust the air transmission protection time of the 1st to qth data time slots occupied by data transmission to the data transmission time; if not, no time slot structure adjustment of the data time slot is performed, and the data to be transmitted is directly transmitted.
[0025] In addition, during the data transmission process, calculate the risk assessment score through the data transmission delay feedback by the data receiving node to the current node, and dynamically adjust the time slot structure of the subsequent data time slots based on this risk assessment score. Specifically, when the risk assessment score is greater than the first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, restore the air transmission protection time of the subsequent data time slots; when the risk assessment score is less than the first preset risk assessment score threshold, if there is air transmission protection time in the current data time slot, calculate the second structural adjustment quantity q' of the data time slot in combination with the duration of the risk assessment score being less than the first preset risk assessment score threshold and the remaining transmission data volume of the data to be transmitted, and adjust the air transmission protection time of the next to q'th data time slots of the current data time slot to the data transmission time.
[0026] Taking the time slot structure of the present invention as an example, assuming that each time element is 1 s, it is composed of 70 control time slots and 930 data time slots, and each time slot is 1 ms. In each time slot, the radio frequency preparation is 20 μs, the front clock jitter protection is 10 μs, the AGC adjustment is 50 μs, the synchronization sequence is 120 μs, and the back clock jitter protection is 10 μs. The maximum communication distances are 20 km, 50 km, and 100 km respectively, and the air transmission protections are 66.66 μs, 166.67 μs, and 333.33 μs respectively.
[0027] When the maximum communication distance is 20 km and there are different continuous data time slot sending requirements, the increase in service rate brought by the present invention is shown in the following table, and the improvement ratio is 8.00% - 9.14%.
[0028] Number of consecutive data time slots (pcs) Existing data transmission time (μs) Data transmission and air transmission protection time of the existing solution (μs) Data transmission time of the present invention (μs) Data transmission + air transmission protection of the present invention (μs) Increasing ratio of service rate (100%) 1 723.34 790 723.34 790 0% 25 18083.5 19750 19530.18 19596.84 8.00% 50 36167 39500 39060.36 39127.02 8.00% 93 67270.62 73470 73057.34 73124 8.60% 930 672706.2 734700 734190.1 734256.76 9.14% When the maximum communication distance is 50 km and there are different requirements for sending continuous data time slots, the increase in service rate brought by the present invention is as shown in the following table, and the improvement ratio is 24.00% - 26.67%.
[0029] Number of consecutive data time slots (pcs) Existing data transmission time (μs) Data transmission and air transmission protection time of the existing solution (μs) Data transmission time of the present invention (μs) Data transmission + air transmission protection of the present invention (μs) Increasing ratio of service rate (100%) 1 623.33 790 623.33 790 0% 25 15583.25 19750 19323.23 19489.9 24.00% 50 31166.5 39500 39269.79 39436.46 26.00% 93 57969.69 73470 72929.61 73096.28 25.81% 930 579696.9 734700 734282.74 734449.41 26.67% When the maximum communication distance is 100 km and there are different requirements for sending continuous data time slots, the increase in service rate brought by the present invention is as shown in the following table, and the improvement ratio is 68.00% - 72.90%.
[0030] Number of consecutive data time slots (pcs) Existing data transmission time (μs) Data transmission and air transmission protection time of the existing solution (μs) Data transmission time of the present invention (μs) Data transmission + air transmission protection of the present invention (μs) Increasing ratio of service rate (100%) 1 456.67 790 456.67 790 0% 25 11416.75 19750 19180.14 19513.47 68.00% 50 22833.5 39500 38816.95 39150.28 70.00% 93 42470.31 73470 73067.2 73400.53 72.04% 930 424703.1 734700 734325.36 734658.69 72.90% Based on the above analysis, the effects that can be achieved by the time slot structure proposed by the present invention are as follows: (1) When the maximum communication distance is 20 km, the service rate is increased by 8.00% - 9.14%; (2) When the maximum communication distance is 50 km, the service rate is increased by 24.00% - 26.67%; (3) When the maximum communication distance is 100 km, the service rate is increased by 68.00% - 72.90%.
[0031] According to the embodiments of the present invention, it further includes: The data time slot includes radio frequency preparation time, pre - clock jitter protection time, AGC adjustment time, synchronization sequence time, data transmission time, air transmission protection time, and post - clock jitter protection time.
[0032] It should be noted that, as Figure 4 shown, the data time slot is composed of radio frequency preparation time, pre - clock jitter protection time, AGC adjustment time, synchronization sequence time, data transmission time, air transmission protection time, and post - clock jitter protection time. The time length of each data time slot is the same fixed value, and the time length of each component part of the data time slot is also fixed. The time length of the air transmission protection time is set according to the maximum communication distance between communication nodes, and the time lengths of the radio frequency preparation time, pre - clock jitter protection time, AGC adjustment time, synchronization sequence time, data transmission time, and post - clock jitter protection time are set by the system.
[0033] According to the embodiments of the present invention, it further includes: The air transmission protection time is set according to the maximum communication distance between communication nodes; ; wherein, T q is the air transmission protection time, d is the maximum communication distance between communication nodes, and k1 is an adjustment coefficient.
[0034] It should be noted that the initial value of the adjustment coefficient k1 is 0.3 km / μs, and those skilled in the art can adjust its value according to actual needs. Through the calculation formula of the air transmission protection time, the air transmission protection time between communication nodes can be determined. For example, when the maximum communication distances between communication nodes are 10 km, 20 km, 50 km, and 100 km respectively, the air transmission protection times are set to 33.33 μs, 66.66 μs, 166.67 μs, and 333.33 μs respectively.
[0035] Among them, the maximum communication distance between communication nodes in the wireless ad hoc network is determined according to parameters such as the transmission power and receiving sensitivity between nodes. Figure 2 The flowchart showing the calculation method of the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n provided by the present invention is shown.
[0036] As Figure 2 shown, according to an embodiment of the present invention, calculating the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n according to the total data volume of the data to be transmitted includes: S202, calculating the data volume difference between the total data volume of the data to be transmitted and the data volume transmitted in a single air transmission protection time; S204, calculating the sum of the data volume transmitted in a single data transmission time and the data volume transmitted in a single air transmission protection time; S206, dividing the data volume difference by the sum of the data volumes transmitted, rounding up the calculation result, and determining the first structural adjustment quantity q of the data time slot; S208, determining the compressed data time slot quantity n according to the first structural adjustment quantity q of the data time slot; .
[0037] It should be noted that when the maximum communication distance is relatively long, the air transmission protection time is relatively large, but when the data time slots are continuously transmitted, the air transmission protection time only needs to be reserved once. Among them, the data volumes transmitted in a single data transmission time and a single air transmission protection time are respectively determined by the product of the time lengths of a single data transmission time and a single air transmission protection time and the data transmission speed.
[0038] According to an embodiment of the present invention, performing time slot structure adjustment on the data time slots occupied by the data to be transmitted according to the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n includes: Based on the structural adjustment quantity q of the data time slot, adjusting the air transmission protection time of the 1st to qth data time slots occupied by the data transmission of the data to be transmitted to the data transmission time.
[0039] It should be noted that before the time slot structure is adjusted for the data to be transmitted occupying the data time slots, when a node has a continuous data transmission requirement, the data time slots are continuously transmitted. The existing time slot structure is as shown in Figure 5 , and each time slot has the same composition. The data to be transmitted occupies a total of m data time slot lengths. After the time slot structure is adjusted for the data to be transmitted occupying the data time slots, as shown in Figure 6 , there is no air transmission protection time for the first to the qth data time slots (q = n - 1, that is, the first n - 1 data time slots) occupied, and there is air transmission protection for the nth data time slot. The saved n - 1 air transmission protection times are used for data transmission, so that the n data time slot lengths occupied after the time slot structure adjustment are less than the m data time slot lengths occupied before the adjustment, thereby improving the transmission rate.
[0040] The structure adjustment quantity q of the data time slots is directly calculated according to the total data volume of the data to be transmitted, and the time slot structure of the data time slots occupied by the data to be transmitted is directly adjusted, without the need to monitor the remaining data volume of the data to be transmitted in real time during the data transmission process and determine whether to adjust the time slot structure of the next data time slot according to the remaining data volume, thereby reducing the data processing pressure of the system.
[0041] According to an embodiment of the present invention, the time slot structure of subsequent data time slots is dynamically adjusted according to the data transmission delay of each data time slot, including: Calculating a risk assessment score according to the data transmission delays of the first n data time slots before the current data time slot; ; where P is the risk assessment score, t (n) is the data transmission delay of the nth data time slot before the current data time slot, and k (n) is the influence weight of the nth data time slot before the current data time slot.
[0042] It should be noted that the risk assessment score is the sum of the products of the data transmission delays of the first n data time slots before the current data time slot and the corresponding influence weights. Among them, the influence weight k (n) is set by the system. The closer the data time slot is to the current data time slot, the greater its corresponding influence weight. The value of n is determined by the system according to the total data volume of the data to be transmitted and the maximum communication distance between communication nodes. The greater the total data volume of the data to be transmitted, the greater the value of n; the smaller the maximum communication distance between communication nodes, the greater the value of n.
[0043] According to an embodiment of the present invention, the time slot structure of subsequent data time slots is dynamically adjusted according to the risk assessment score, including: When the risk assessment score is greater than the first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, the air transmission protection time of subsequent data time slots is restored; When the risk assessment score is less than the first preset risk assessment score threshold, if there is air transmission protection time in the current data time slot, the duration during which the risk assessment score is less than the first preset risk assessment score threshold is recorded. When the duration is greater than the preset duration threshold, the second structure adjustment quantity q' of the data time slot is calculated according to the remaining transmission data volume of the data to be transmitted; According to the second structure adjustment quantity q' of the data time slot, the air transmission protection time of the next to the q'-th data time slot is adjusted to the data transmission time.
[0044] It should be noted that factors such as the mobility of wireless ad hoc networks such as vehicular ad hoc networks and the influence of the communication environment will cause the channel quality to change frequently. Adjusting the air transmission protection time of the 1st to the q-th data time slots occupied by data transmission of the data to be transmitted to the data transmission time cannot guarantee the integrity of data transmission. Therefore, during the data transmission process, the communication quality of the wireless ad hoc network is evaluated through the risk assessment score, and the time slot structure of subsequent data time slots is adjusted according to the communication quality of the wireless ad hoc network. When the risk assessment score is greater than the first preset risk assessment score threshold, the channel communication quality is poor, the communication delay increases, and there is a possibility that the tail data of the current data time slot invades the next data time slot, resulting in data transmission conflicts. In this case, if there is no air transmission protection time in the current data time slot, the air transmission protection time of subsequent data time slots is restored to give priority to ensuring the stability of data transmission. When the risk assessment score is less than the first preset risk assessment score threshold, the communication quality is good, and the air transmission protection time of the data time slot can continue to be adjusted to the data transmission time. To eliminate the frequent adjustment of the time slot structure of the data time slot caused by communication fluctuations, the duration during which the risk assessment score is less than the first preset risk assessment score threshold is recorded and compared with the preset duration threshold set in advance. When the duration is greater than the preset duration threshold, the remaining transmission data volume of the data to be transmitted is calculated based on the calculation steps of the first structure adjustment quantity q to determine the second structure adjustment quantity q', and the time slot structure of the corresponding data time slot is adjusted according to the second structure adjustment quantity q'.
[0045] Among them, both the first preset risk assessment score threshold and the preset duration threshold are set by those skilled in the art according to actual needs.
[0046] According to an embodiment of the present invention, it further includes: After adjusting the air transmission protection time of the data time slot to the data transmission time, calculate the average risk assessment score of the data time slot within a preset time interval; When the average risk assessment score is within the preset risk assessment score threshold range, starting from the current data time slot, calculate the cumulative value of the risk assessment score; When the cumulative value of the risk assessment score is greater than the second preset risk assessment score threshold, restore the air transmission protection time of the next data time slot, adjust the air transmission protection time of the (q'+p)th data time slot to the data transmission time, and reset the cumulative value of the risk assessment score; where p is the number of times the air transmission protection time of the data time slot is restored.
[0047] It should be noted that after adjusting the air transmission protection time of the data time slot to the data transmission time, in order to avoid the system frequently adjusting the time slot structure of subsequent data time slots due to frequent changes in channel quality, calculate the average value of the risk assessment scores of all data time slots within the preset time interval to determine the average risk assessment score. When the average risk assessment score is within the preset risk assessment score threshold range, it indicates that the channel quality fluctuates less and is stable within a certain fluctuation range interval. Restore the air transmission protection time of some data time slots at a certain time slot interval to adjust the impact of channel quality fluctuations on data transmission quality.
[0048] Determine the data time slots for time slot structure adjustment by calculating the cumulative value of the risk assessment score. In addition, after restoring the air protection time of a data time slot, synchronously adjust the air transmission protection time of the (q'+p)th data time slot to the data transmission time according to the number of times p of restoring the air transmission protection time of the data time slot, so that the number of data time slots for the second structure adjustment q' to perform time slot structure adjustment remains unchanged, in order to avoid the situation where the system needs to repeatedly adjust the time slot structure of the data time slot in order to complete the transmission of the data to be transmitted in the shortest time.
[0049] Among them, the preset time interval, the preset risk assessment score threshold range, and the second preset risk assessment score threshold are all set by those skilled in the art according to actual needs. The maximum value of the preset risk assessment score threshold range is less than the first preset risk assessment score threshold.
[0050] The second aspect of the present invention provides a device for improving the service rate of a wireless ad hoc network. The device for improving the service rate of a wireless ad hoc network includes a method program for improving the service rate of a wireless ad hoc network. When the method program for improving the service rate of a wireless ad hoc network is executed by a processor, the steps of the method for improving the service rate of a wireless ad hoc network as described above are implemented.
[0051] The information involved in this application (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) are all authorized by the user or fully authorized by all parties, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions. For example, "data to be transmitted" and "maximum communication distance between communication nodes" involved in this disclosure are obtained under full authorization.
[0052] The present invention discloses a method and device for improving the service rate of a wireless ad hoc network. The method includes: obtaining data to be transmitted; analyzing the data to be transmitted to determine whether the data to be transmitted can be sent through continuous data time slots; if so, calculating the first structural adjustment quantity q of the data time slots and the adjusted data time slot quantity n according to the total data quantity of the data to be transmitted; adjusting the time slot structure of the data time slots occupied by the data to be transmitted according to the first structural adjustment quantity q of the data time slots and the adjusted data time slot quantity n; obtaining the data transmission delay of each data time slot; calculating a risk assessment score according to the data transmission delay of each data time slot; and dynamically adjusting the time slot structure of subsequent data time slots according to the risk assessment score. The present invention improves the service rate by dynamically adjusting the time slot structure, and solves the problem that the service rate has a bottleneck and cannot be broken through under a fixed time slot structure.
[0053] In several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical, or other forms.
[0054] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units; they can be located in one place or distributed to multiple network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0055] In addition, each functional unit in the embodiments of the present invention may all be integrated into one processing unit, or each unit may be separately taken as one unit alone, or two or more units may be integrated into one unit; the above-mentioned integrated unit may be implemented in the form of hardware, or in the form of a combination of hardware and software functional units.
[0056] Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by hardware related to program instructions. The foregoing program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps including the above method embodiments; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks or optical discs and other various media that can store program codes.
[0057] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiments of the present invention essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the various embodiments of the present invention. And the foregoing storage medium includes: removable storage devices, ROM, RAM, magnetic disks or optical discs and other various media that can store program codes.
Claims
1. A method for improving the service rate of a wireless ad hoc network, characterized in that Including: Obtain data to be transmitted; Analyze the data to be transmitted to determine whether the data to be transmitted can be sent through consecutive data time slots; If so, calculate the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n according to the total data volume of the data to be transmitted; Perform time slot structure adjustment on the data time slots occupied by the data to be transmitted according to the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n; Obtain the data transmission delay of each data time slot; Calculate a risk assessment score according to the data transmission delays of the respective data time slots; Dynamically adjust the time slot structure of subsequent data time slots according to the risk assessment score.
2. The method for improving the service rate of a wireless ad hoc network according to claim 1, wherein Also included: The data time slot includes radio frequency preparation time, pre-clock jitter protection time, AGC adjustment time, synchronization sequence time, data transmission time, air transmission protection time, and post-clock jitter protection time.
3. The method for improving the service rate of a wireless ad-hoc network according to claim 2, wherein Also included: The air transmission protection time is set according to the maximum communication distance between communication nodes; ; Among them, T q is the air transmission protection time, d is the maximum communication distance between communication nodes, and k1 is an adjustment coefficient.
4. The method for improving the service rate of a wireless ad hoc network according to claim 1, characterized in that The calculating the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n according to the total data volume of the data to be transmitted includes: Calculate the data volume difference between the total data volume of the data to be transmitted and the data volume transmitted in a single air transmission protection time; Calculate the sum of the data volumes transmitted in a single data transmission time and a single air transmission protection time; Divide the data volume difference by the sum of the data volumes transmitted, round up the calculation result, and determine the first structural adjustment quantity q of the data time slot; Determine the compressed data time slot quantity n according to the first structural adjustment quantity q of the data time slot; 。 5. The method for improving the service rate of a wireless ad hoc network according to claim 1, wherein The performing time slot structure adjustment on the data time slots occupied by the data to be transmitted according to the first structural adjustment quantity q of the data time slot and the adjusted data time slot quantity n includes: Based on the structural adjustment quantity q of the data time slot, adjust the air transmission protection time of the first to qth data time slots occupied by the data transmission of the data to be transmitted to data transmission time.
6. The method for improving the service rate of a wireless ad hoc network according to claim 4, wherein The dynamically adjusting the time slot structure of subsequent data time slots according to the data transmission delays of the respective data time slots includes: Calculate a risk assessment score according to the data transmission delays of the first n data time slots before the current data time slot; ; Where P is the risk assessment score, t (n) is the data transmission delay of the nth data time slot before the current data time slot, and k (n) is the influence weight of the nth data time slot before the current data time slot.
7. The method for improving the service rate of a wireless ad hoc network according to claim 6, wherein The dynamically adjusting the time slot structure of subsequent data time slots according to the risk assessment score includes: When the risk assessment score is greater than the first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, restore the air transmission protection time of subsequent data time slots; When the risk assessment score is less than the first preset risk assessment score threshold, if there is air transmission protection time in the current data time slot, record the duration during which the risk assessment score is less than the first preset risk assessment score threshold, and when the duration is greater than the preset duration threshold, calculate the second structural adjustment quantity q' of the data time slot according to the remaining transmission data volume of the data to be transmitted; Adjust the air transmission protection time of the next to q'th data time slots to data transmission time according to the second structural adjustment quantity q' of the data time slot.
8. The method for improving the service rate of a wireless ad hoc network according to claim 7, wherein, Also included: After adjusting the air transmission protection time of the data time slot to the data transmission time, calculate the average risk assessment score of the data time slot within a preset time interval; When the average risk assessment score is within a preset risk assessment score threshold interval, starting from the current data time slot, calculate the cumulative value of the risk assessment score; When the cumulative value of the risk assessment score is greater than the second preset risk assessment score threshold, restore the air transmission protection time of the next data time slot, adjust the air transmission protection time of the (q'+p)-th data time slot to the data transmission time, and reset the cumulative value of the risk assessment score; Where p is the number of times the air transmission protection time of the data time slot is restored.
9. A device for improving the service rate of a wireless ad hoc network, characterized in that, The device for improving the wireless ad hoc network service rate includes a method program for improving the wireless ad hoc network service rate. When the method program for improving the wireless ad hoc network service rate is executed by a processor, the steps of a method for improving the wireless ad hoc network service rate as described in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Wireless ad hoc network resource dynamic on-demand distribution method, device and system
CN110113787A
Wireless ad hoc network communication method and device
CN117528601A
Device and method for application-requirement aware medium access control
EP3790203A1
HARQ process management for multi-slot scheduling
WO2020061965A1