A method and device for improving wireless ad hoc network service rate
By dynamically adjusting the time slot structure of wireless ad hoc network, the service rate bottleneck caused by the difference in communication distance between nodes and service bandwidth is solved, and a significant service rate improvement is achieved.
Patent Information
- Application Number
- CN202510803734.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-17
- Publication Date
- 2025-08-12
- Estimated Expiration
- 2045-06-17
AI Technical Summary
In wireless ad hoc network communication system, due to the large difference between communication distances and service bandwidths between nodes, there is a bottleneck in the service rate and cannot be broken through.
By dynamically adjusting the time slot structure, including calculating the first structure adjustment number q of the data slot and the adjusted number of data slots n, combined with the data transmission delay and risk assessment score, the time slot structure of the subsequent data slot is dynamically adjusted.
The service rate of wireless ad hoc network communication system has been significantly improved, especially when the communication distance between nodes and service bandwidth is large, the service rate is increased by 8% to 72.90%.
Smart Images

Figure CN120321779B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless ad hoc network communication technology, 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 multipoint-to-multipoint distributed network composed of several equal nodes. It has the characteristics of decentralized self-organization, multi-hop relay, dynamic routing, and strong anti-destruction capabilities. It is suitable for situations that do not rely on existing basic network facilities and require the temporary and rapid opening of an independent and secure wireless communication network, such as event security, disaster relief, coverage of uninhabited areas, fleet communications, underground communications, forest fire fighting, etc.
[0003] The frame structure of wireless ad hoc networks generally consists of three levels: time element, time frame and time slot. Figure 3 As shown, each epoch is 1 second, consisting of 10 frames, each 100 ms long. A frame consists of 7 control slots and 93 data slots, each 1 ms long. The above is an example of a wireless ad hoc network frame structure. The lengths of the epochs, frames, and slots in the wireless ad hoc network frame structure are dynamically adjusted based on the application scenario, resulting in subtle differences in the frame structure between different wireless ad hoc network waveforms.
[0004] However, wireless ad hoc network communication systems are multi-point to multi-point communication and multi-hop relay communication. In the following two application scenarios, they are limited by the frame structure and time slot composition, and the service rate has a bottleneck and cannot be broken through.
[0005] (1) The communication distances of nodes in a wireless ad hoc network communication system vary greatly. For example, the application scenarios of a wireless ad hoc network communication system are communications between vehicles on shore, fixed stations on shore, and ships at sea, or communications between personnel on the ground, vehicles on the ground, and drones in the air. The communication distances between nodes are between 10 km and 100 km.
[0006] (2) The service bandwidth required by each node in the wireless ad hoc communication system varies greatly. For example, in a system with 32 nodes, the service data transmission requirements are mainly for 2 nodes, and even most of them are for 1 node.
[0007] Therefore, the prior art has defects and is in urgent need of improvement. Summary of the Invention
[0008] In view of the above problems, the purpose of the present invention is to provide a method and device for improving the service rate of a wireless self-organizing 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 a fixed time slot structure is solved, and the service rate of the wireless self-organizing network communication system is greatly improved in application scenarios where the communication distances between nodes vary greatly and the service bandwidth required by each node varies greatly.
[0009] Furthermore, the present invention is not limited to wireless ad hoc networks and is also applicable to point-to-multipoint communications. In point-to-multipoint communications, where the communication distances between peripheral stations and the central station vary significantly, and the service bandwidth requirements of each node vary significantly, the dynamic adjustment of the time slot structure proposed in the present invention can also be used to increase service rates.
[0010] A first aspect of the present invention provides a method for improving a wireless ad hoc network service rate, comprising:
[0011] Get the data to be transmitted;
[0012] Analyzing the data to be transmitted to determine whether the data to be transmitted can be sent through continuous data time slots;
[0013] If yes, calculating the first structural adjustment number q of data time slots and the adjusted number n of data time slots according to the total amount of data to be transmitted;
[0014] Performing a time slot structure adjustment on the data time slots occupied by the data to be transmitted according to the first structure adjustment number q of the data time slots and the adjusted number n of data time slots;
[0015] Obtaining the data transmission delay of each data time slot;
[0016] Calculating a risk assessment score based on the data transmission delay of each data time slot;
[0017] The time slot structure of subsequent data time slots is dynamically adjusted according to the risk assessment score.
[0018] This plan also includes:
[0019] 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.
[0020] This plan also includes:
[0021] The air transmission protection time is set according to the maximum communication distance between communication nodes;
[0022] ;
[0023] Among them, T q is the air transmission protection time, d is the maximum communication distance between communication nodes, and k1 is the adjustment coefficient.
[0024] In this solution, the calculation of the first structural adjustment number q of data time slots and the adjusted number n of data time slots according to the total amount of data to be transmitted includes:
[0025] Calculating a data volume difference between a total data volume of the data to be transmitted and a data volume transmitted during a single air transmission protection time;
[0026] Calculate the sum of the transmission data volume of a single data transmission time and a single air transmission protection time;
[0027] Divide the data amount difference by the sum of the transmission data amounts, round up the calculated result, and determine the first structure adjustment quantity q of the data time slot;
[0028] Determining the number n of compressed data time slots according to the first structure adjustment number q of the data time slots;
[0029] .
[0030] In this solution, the time slot structure adjustment of the data time slots occupied by the data to be transmitted according to the first structure adjustment number q of the data time slots and the adjusted number n of data time slots includes:
[0031] Based on the structural adjustment number q of the data time slots, the air transmission protection time of the 1st to qth data time slots occupied by the data to be transmitted for data transmission is adjusted to the data transmission time.
[0032] In this solution, dynamically adjusting the time slot structure of subsequent data time slots according to the data transmission delay of each data time slot includes:
[0033] Calculate the risk assessment score based on the data transmission delay of the first n data time slots before the current data time slot;
[0034] ;
[0035] Where P is the risk assessment score, t (n) is the data transmission delay of the nth data slot before the current data slot, k (n) is the influence weight of the nth data time slot before the current data time slot.
[0036] In this solution, dynamically adjusting the time slot structure of subsequent data time slots according to the risk assessment score includes:
[0037] When the risk assessment score is greater than a first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, restoring the air transmission protection time of the subsequent data time slot;
[0038] When the risk assessment score is less than a first preset risk assessment score threshold, if there is an air transmission protection time in the current data time slot, then the duration of the risk assessment score being 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 amount of the data to be transmitted;
[0039] The air transmission protection time of the next to q'th data time slots is adjusted to the data transmission time according to the second structure adjustment quantity q' of the data time slot.
[0040] This plan also includes:
[0041] After adjusting the air transmission protection time of the data time slot to the data transmission time, the average risk assessment score of the data time slot within the preset time interval is calculated;
[0042] When the average risk assessment score is within a preset risk assessment score threshold range, calculating the cumulative risk assessment score starting from the current data time slot;
[0043] When the accumulated risk assessment score is greater than a second preset risk assessment score threshold, restoring the air transmission protection time of the next data time slot, adjusting the air transmission protection time of the q'+pth data time slot to the data transmission time, and resetting the accumulated risk assessment score;
[0044] Wherein, p is the number of times the air transmission protection time of the data time slot is restored.
[0045] The second aspect of the present invention provides a device for improving the service rate of a wireless self-organizing network, and the device for improving the service rate of a wireless self-organizing network includes a method program for improving the service rate of a wireless self-organizing network. When the method program for improving the service rate of a wireless self-organizing network is executed by a processor, the steps of the method for improving the service rate of a wireless self-organizing network as described above are implemented.
[0046] The present invention discloses a method and device for improving the service rate of a wireless ad hoc network. The method comprises: 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 a first structural adjustment number q of the data time slots and an adjusted number of data time slots n based on the total amount of the data to be transmitted; adjusting the time slot structure of the data time slots occupied by the data to be transmitted based on the first structural adjustment number q of the data time slots and the adjusted number n of data time slots; obtaining the data transmission delay of each data time slot; calculating a risk assessment score based on the data transmission delay of each data time slot; and dynamically adjusting the time slot structure of subsequent data time slots based on the risk assessment score. The present invention solves the problem of bottlenecks and inability to break through the service rate under a fixed time slot structure by dynamically adjusting the time slot structure to improve the service rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 A flow chart showing a method for improving the service rate of a wireless ad hoc network provided by the present invention is shown;
[0048] Figure 2 A flow chart showing a method for calculating the first structural adjustment number q of data time slots and the adjusted number n of data time slots provided by the present invention is shown;
[0049] Figure 3 A schematic diagram showing a wireless ad hoc network frame structure provided by the present invention is shown;
[0050] Figure 4 A schematic diagram showing the composition structure of existing data time slots provided by the present invention is shown;
[0051] Figure 5 A schematic diagram showing an existing time slot structure when data time slots provided by the present invention are continuously transmitted;
[0052] Figure 6 The diagram shows the time slot structure after the time slot structure is adjusted when the data time slots provided by the present invention are continuously transmitted. DETAILED DESCRIPTION
[0053] In order to more clearly understand the above-mentioned objects, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the absence of conflict, the embodiments of the present application and the features therein can be combined with each other.
[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present invention is not limited to the specific embodiments disclosed below.
[0055] Figure 1The flowchart of the method for improving the service rate of a wireless ad hoc network provided by the present invention is shown.
[0056] like Figure 1 As shown, the present invention discloses a method for improving the service rate of a wireless ad hoc network, comprising:
[0057] S102, obtaining data to be transmitted;
[0058] S104, analyzing the data to be transmitted to determine whether the data to be transmitted can be sent through continuous data time slots;
[0059] S106, if yes, calculating the first structural adjustment number q of data time slots and the adjusted number n of data time slots according to the total amount of data to be transmitted;
[0060] S108, adjusting the time slot structure of the data time slots occupied by the data to be transmitted according to the first structure adjustment number q of the data time slots and the adjusted number n of data time slots;
[0061] S110, obtaining the data transmission delay of each data time slot;
[0062] S112, calculating a risk assessment score based on the data transmission delay of each data time slot;
[0063] S114: Dynamically adjust the time slot structure of subsequent data time slots according to the risk assessment score.
[0064] According to an embodiment of the present invention, after a wireless ad hoc network node acquires data to be transmitted from a communication device (such as an ad hoc network walkie-talkie), it determines the total amount of data to be transmitted and analyzes it in conjunction with the current node status to determine whether the data can be transmitted using continuous data time slots. This determination can be based on parameters such as whether the data to be transmitted is continuous and complete, and the current node's communication occupancy status. If so, the first data slot structure adjustment number q and the adjusted number of data slots n are calculated based on the total amount of data to be transmitted, the duration of a single data transmission time, the duration of a single air transmission protection time, and the data transmission speed. The air transmission protection time of the first through qth data slots occupied by data transmission is adjusted to the data transmission time. If not, the data slot structure adjustment is not performed, and the data to be transmitted is directly transmitted.
[0065] In addition, during the data transmission process, the risk assessment score is calculated based on the data transmission delay fed back by the data receiving node to the current node, and the time slot structure of the subsequent data time slot is dynamically adjusted based on 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, then the air transmission protection time of the subsequent data time slot 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, then the second structure adjustment number q' of the data time slot is calculated based on 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 the air transmission protection time of the next to q'th data time slot of the current data time slot is adjusted to the data transmission time.
[0066] Taking the time slot structure of the present invention as an example, assuming each time element is 1 second, consisting of 70 control time slots and 930 data time slots, each time slot is 1 ms. In each time slot, RF preparation takes 20 μs, pre-clock jitter protection takes 10 μs, AGC adjustment takes 50 μs, synchronization sequence takes 120 μs, and post-clock jitter protection takes 10 μs. The maximum communication distances are 20 km, 50 km, and 100 km, respectively, with over-the-air transmission protection times of 66.66 μs, 166.67 μs, and 333.33 μs.
[0067] When the maximum communication distance is 20 km, the service rate increase brought by the present invention at different continuous data time slot transmission requirements is shown in the following table, with an increase rate of 8.00% to 9.14%.
[0068] Number of continuous data time slots Current data transmission time (μs) Data transmission and air transmission protection time of existing solutions (μs) Data transmission time of the present invention (μs) Data transmission + air transmission protection of the present invention (μs) Business rate increase ratio (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%
[0069] When the maximum communication distance is 50 km, the service rate increase brought by the present invention at different continuous data time slot transmission requirements is shown in the following table, with an increase ratio of 24.00% to 26.67%.
[0070] Number of continuous data time slots Current data transmission time (μs) Data transmission and air transmission protection time of existing solutions (μs) Data transmission time of the present invention (μs) Data transmission + air transmission protection of the present invention (μs) Business rate increase ratio (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%
[0071] When the maximum communication distance is 100 km, the service rate increase brought by the present invention at different continuous data time slot transmission requirements is shown in the following table, with an increase ratio of 68.00% to 72.90%.
[0072] Number of continuous data time slots Current data transmission time (μs) Data transmission and air transmission protection time of existing solutions (μs) Data transmission time of the present invention (μs) Data transmission + air transmission protection of the present invention (μs) Business rate increase ratio (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%
[0073] Based on the above analysis, the time slot structure proposed in the present invention can achieve the following effects:
[0074] (1) When the maximum communication distance is 20 km, the service rate increases by 8.00% to 9.14%;
[0075] (2) When the maximum communication distance is 50 km, the service rate increases by 24.00% to 26.67%;
[0076] (3) When the maximum communication distance is 100 km, the service rate increases by 68.00% to 72.90%.
[0077] According to an embodiment of the present invention, the further embodiment includes:
[0078] 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.
[0079] It should be noted that if Figure 4 As shown in the figure, a data slot consists of RF setup time, pre-clock jitter protection time, AGC adjustment time, synchronization sequence time, data transmission time, over-the-air protection time, and post-clock jitter protection time. The duration of each data slot is the same fixed value, and the duration of each data slot component is also fixed. The length of the over-the-air protection time is set based on the maximum communication distance between communication nodes. The lengths of the RF setup 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.
[0080] According to an embodiment of the present invention, the further embodiment includes:
[0081] The air transmission protection time is set according to the maximum communication distance between communication nodes;
[0082] ;
[0083] Among them, T q is the air transmission protection time, d is the maximum communication distance between communication nodes, and k1 is the adjustment coefficient.
[0084] It should be noted that the initial value of the adjustment coefficient k1 is 0.3 km / μs, and those skilled in the art may adjust its value based on actual needs. The calculation formula for the over-the-air transmission protection time can be used to determine the over-the-air transmission protection time between communication nodes. For example, when the maximum communication distances between communication nodes are 10 km, 20 km, 50 km, and 100 km, the over-the-air transmission protection time is set to 33.33 μs, 66.66 μs, 166.67 μs, and 333.33 μs, respectively.
[0085] Among them, the maximum communication distance between communication nodes in a wireless ad hoc network is determined based on parameters such as the transmission power and receiving sensitivity between the nodes.
[0086] Figure 2 The flowchart of the method for calculating the first structural adjustment number q of data time slots and the adjusted number n of data time slots provided by the present invention is shown.
[0087] like Figure 2 As shown, according to an embodiment of the present invention, calculating the first structural adjustment number q of data time slots and the adjusted number n of data time slots according to the total amount of data to be transmitted includes:
[0088] S202, calculating the data volume difference between the total data volume of the data to be transmitted and the data volume transmitted during a single air transmission protection time;
[0089] S204, calculating the sum of the transmission data volume of a single data transmission time and a single air transmission protection time;
[0090] S206, dividing the data amount difference by the sum of the transmitted data amounts, rounding up the calculated result, and determining a first structure adjustment quantity q of the data time slot;
[0091] S208, determining the number n of compressed data time slots according to the first structure adjustment number q of the data time slots;
[0092] .
[0093] It should be noted that when the maximum communication distance is long, the over-the-air guard time is longer. However, when data slots are transmitted continuously, the over-the-air guard time only needs to be reserved once. The amount of data transmitted during a single data transmission period and a single over-the-air guard time is determined by the product of the length of the single data transmission period and the single over-the-air guard time, respectively, and the data transmission speed.
[0094] According to an embodiment of the present invention, the time slot structure adjustment of the data time slots occupied by the data to be transmitted is performed according to the first structure adjustment number q of the data time slots and the adjusted number n of data time slots, including:
[0095] The number q of structural adjustment of the data time slots is based on which the air transmission protection time of the 1st to qth data time slots occupied by the data to be transmitted is adjusted to the data transmission time.
[0096] It should be noted that before the time slot structure adjustment is performed on the data slot occupied by the transmission data, when a node has a continuous data transmission demand, the data slot is sent continuously. The existing time slot structure is as follows: Figure 5 As shown, each time slot has the same composition. The data to be transmitted occupies a total of m data time slots. After adjusting the time slot structure of the data time slots occupied by the data to be transmitted, Figure 6As shown, the occupied 1st to qth data time slots (q=n-1, i.e., the first n-1 data time slots) have no air transmission protection time, and the nth data time slot has air transmission protection. The saved n-1 air transmission protection time is used for data transmission, so that the length of the n data time slots occupied after the time slot structure adjustment is less than the length of the m data time slots occupied before the adjustment, thereby improving the transmission rate.
[0097] The number of structural adjustments q for data time slots is directly calculated based on the total amount of data to be transmitted, and the time slot structure of the data time slots occupied by the data to be transmitted is directly adjusted. There is no need to monitor the remaining amount of data to be transmitted in real time during the data transmission process, and to determine whether to adjust the time slot structure of the next data time slot based on the remaining data amount, thereby reducing the data processing pressure of the system.
[0098] According to an embodiment of the present invention, dynamically adjusting the time slot structure of subsequent data time slots according to the data transmission delay of each data time slot includes:
[0099] Calculate the risk assessment score based on the data transmission delay of the first n data time slots before the current data time slot;
[0100] ;
[0101] Where P is the risk assessment score, t (n) is the data transmission delay of the nth data slot before the current data slot, k (n) is the influence weight of the nth data time slot before the current data time slot.
[0102] It should be noted that the risk assessment score is the sum of the product of the data transmission delays of the first n data time slots before the current data time slot and the corresponding impact weight. (n) The system sets this value. The closer a data slot is to the current data slot, the greater its corresponding influence weight. The value of n is determined by the system based on the total amount of data to be transmitted and the maximum communication distance between communication nodes. The greater the total amount of data to be transmitted, the larger the value of n; the smaller the maximum communication distance between communication nodes, the larger the value of n.
[0103] According to an embodiment of the present invention, dynamically adjusting the time slot structure of subsequent data time slots according to the risk assessment score includes:
[0104] When the risk assessment score is greater than a first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, restoring the air transmission protection time of the subsequent data time slot;
[0105] When the risk assessment score is less than the first preset risk assessment score threshold, if there is an air transmission protection time in the current data time slot, then the duration of the risk assessment score being 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 amount of the data to be transmitted;
[0106] The air transmission protection time of the next to q'th data time slots is adjusted to the data transmission time according to the second structure adjustment quantity q' of the data time slots.
[0107] It should be noted that factors such as the mobility of wireless ad hoc networks (VANs) and the impact of the communication environment can cause frequent fluctuations in channel quality. Adjusting the air transmission protection time of the first to qth data slots occupied by 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 assessed based on a risk assessment score, and the slot structure of subsequent data slots is adjusted accordingly. When the risk assessment score is greater than a first preset risk assessment score threshold, the channel communication quality is poor, communication latency increases, and there is a possibility that the tail data of the current data slot will intrude into the next data slot, causing a data transmission conflict. In this case, if the air transmission protection time does not exist in the current data slot, the air transmission protection time of the subsequent data slots is restored to prioritize data transmission stability. 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 slot can continue to be adjusted to the data transmission time. In order to eliminate the time slot structure of data time slots that is frequently adjusted due to communication fluctuations, the duration during which the risk assessment score is less than a first preset risk assessment score threshold is recorded and compared with a preset duration threshold. When the duration is greater than the preset duration threshold, the remaining transmission data volume to be transmitted is calculated based on the calculation step of the first structure adjustment quantity q, the second structure adjustment quantity q' is determined, and the time slot structure of the corresponding data time slot is adjusted according to the second structure adjustment quantity q'.
[0108] Among them, the first preset risk assessment score threshold and the preset duration threshold are both set by those skilled in the art according to actual needs.
[0109] According to an embodiment of the present invention, the further embodiment includes:
[0110] After adjusting the air transmission protection time of the data time slot to the data transmission time, the average risk assessment score of the data time slot within the preset time interval is calculated;
[0111] When the average risk assessment score is within the preset risk assessment score threshold range, the cumulative risk assessment score is calculated starting from the current data time slot;
[0112] When the accumulated risk assessment score is greater than a second preset risk assessment score threshold, the air transmission protection time of the next data time slot is restored, the air transmission protection time of the q'+pth data time slot is adjusted to the data transmission time, and the accumulated risk assessment score is reset;
[0113] Wherein, p is the number of times the air transmission protection time of the data time slot is restored.
[0114] It should be noted that after the air transmission protection time of the data time slot is adjusted 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, the average risk assessment scores of all data time slots in the preset time interval are calculated to determine the average risk assessment score. When the average risk assessment score is in the preset risk assessment score threshold interval, it means that the channel quality fluctuation is small and stable within a certain fluctuation range. The air transmission protection time of some data time slots is restored according to a certain time slot interval to adjust the impact of channel quality fluctuations on data transmission quality.
[0115] The data slots for time slot structure adjustment are determined by calculating the cumulative risk assessment score. Furthermore, after the air protection time of a data slot is restored, the air protection time of the q'+pth data slot is synchronously adjusted to the data transmission time based on the number of times p the air protection time of the data slot has been restored. This ensures that the number of data slots for time slot structure adjustment by the second structure adjustment number q' remains unchanged. This avoids the need for the system to repeatedly adjust the time slot structure of the data slots, ensuring that the data to be transmitted is transmitted in the shortest possible time.
[0116] The preset time interval, the preset risk assessment score threshold interval, 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 interval is less than the first preset risk assessment score threshold.
[0117] The second aspect of the present invention provides a device for improving the service rate of a wireless self-organizing network. The device for improving the service rate of a wireless self-organizing network includes a method program for improving the service rate of a wireless self-organizing network. When the method program for improving the service rate of a wireless self-organizing network is executed by a processor, the steps of the above method for improving the service rate of a wireless self-organizing network are implemented.
[0118] The information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.) and signals (including but not limited to signals transmitted between user terminals and other devices, etc.) involved in this application are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the "data to be transmitted" and "maximum communication distance between communication nodes" involved in this disclosure are all obtained with full authorization.
[0119] The present invention discloses a method and device for improving the service rate of a wireless ad hoc network. The method comprises: 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 a first structural adjustment number q of the data time slots and an adjusted number of data time slots n based on the total amount of the data to be transmitted; adjusting the time slot structure of the data time slots occupied by the data to be transmitted based on the first structural adjustment number q of the data time slots and the adjusted number n of data time slots; obtaining the data transmission delay of each data time slot; calculating a risk assessment score based on the data transmission delay of each data time slot; and dynamically adjusting the time slot structure of subsequent data time slots based on the risk assessment score. The present invention solves the problem of bottlenecks and inability to break through the service rate under a fixed time slot structure by dynamically adjusting the time slot structure to improve the service rate.
[0120] In the 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 merely schematic. For example, the division of the units is merely 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 components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0121] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed across multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment.
[0122] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.
[0123] Those skilled in the art will appreciate that all or part of the steps of the above-mentioned method embodiments may be implemented by hardware associated with program instructions, and the aforementioned program may be stored in a computer-readable storage medium. When the program is executed, the program executes the steps of the above-mentioned method embodiments. The aforementioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0124] Alternatively, if the integrated units described above are implemented as software modules and sold or used as standalone products, they can also be stored on a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention, or the portion that contributes to the prior art, can be embodied in the form of a software product. This computer software product, stored on a storage medium, includes instructions for enabling a computer device (such as a personal computer, server, or network device) to execute all or part of the methods described in various embodiments of the present invention. The aforementioned storage media include various media capable of storing program code, such as removable storage devices, ROM, RAM, magnetic disks, or optical disks.
Claims
1. A method for improving the service rate of a wireless ad hoc network, characterized in that: include: Get the 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 yes, calculating the first structural adjustment number q of data time slots and the adjusted number n of data time slots according to the total amount of data to be transmitted; Performing a time slot structure adjustment on the data time slots occupied by the data to be transmitted according to the first structure adjustment number q of the data time slots and the adjusted number n of data time slots; Obtaining the data transmission delay of each data time slot; Calculating a risk assessment score based on the data transmission delay of each data time slot; Dynamically adjusting the time slot structure of subsequent data time slots based on the risk assessment score; The calculating, according to the total amount of data to be transmitted, the first structural adjustment number q of data time slots and the adjusted number n of data time slots includes: Calculating a data volume difference between a total data volume of the data to be transmitted and a data volume transmitted during a single air transmission protection time; Calculate the sum of the transmission data volume of a single data transmission time and a single air transmission protection time; Divide the data amount difference by the sum of the transmission data amounts, round up the calculated result, and determine the first structure adjustment quantity q of the data time slot; Determining the number n of compressed data time slots according to the first structure adjustment number q of the data time slots; ; Calculating the risk assessment score according to the data transmission delay of each data time slot includes: Calculate the risk assessment score based on the data transmission delay 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 slot before the current data slot, k (n) is the influence weight of the nth data time slot before the current data time slot; 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 a first preset risk assessment score threshold, if there is no air transmission protection time in the current data time slot, restoring the air transmission protection time of the subsequent data time slot; When the risk assessment score is less than a first preset risk assessment score threshold, if there is an air transmission protection time in the current data time slot, then the duration of the risk assessment score being 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 amount of the data to be transmitted; The air transmission protection time of the next to q'th data time slots is adjusted to the data transmission time according to the second structure adjustment quantity q' of the data time slots.
2. The method for improving the service rate of a wireless ad hoc network according to claim 1, wherein: Also 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.
3. The method for improving the service rate of a wireless ad hoc network according to claim 2, wherein: Also includes: 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 the adjustment coefficient.
4. The method for improving the service rate of a wireless ad hoc network according to claim 1, wherein: The step of adjusting the time slot structure of the data time slots occupied by the data to be transmitted according to the first structure adjustment number q of the data time slots and the adjusted number n of data time slots includes: Based on the structural adjustment number q of the data time slots, the air transmission protection time of the 1st to qth data time slots occupied by the data to be transmitted for data transmission is adjusted to the data transmission time.
5. The method for improving the service rate of a wireless ad hoc network according to claim 1, wherein: Also includes: After adjusting the air transmission protection time of the data time slot to the data transmission time, the average risk assessment score of the data time slot within the preset time interval is calculated; When the average risk assessment score is within a preset risk assessment score threshold range, calculating the cumulative risk assessment score starting from the current data time slot; When the accumulated risk assessment score is greater than a second preset risk assessment score threshold, restoring the air transmission protection time of the next data time slot, adjusting the air transmission protection time of the q'+pth data time slot to the data transmission time, and resetting the accumulated risk assessment score; Wherein, p is the number of times the air transmission protection time of the data time slot is restored.
6. A device for increasing the service rate of a wireless ad hoc network, characterized in that: The device for improving the service rate of a wireless self-organizing network includes a method program for improving the service rate of a wireless self-organizing network. When the method program for improving the service rate of a wireless self-organizing network is executed by a processor, the steps of a method for improving the service rate of a wireless self-organizing network as described in any one of claims 1 to 5 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