A rate modulation method, device, equipment and storage medium on a link

By using a multi-layer judgment mechanism of signal-to-noise ratio and frame drop rate in link rate modulation, the problem of low rate modulation efficiency and accuracy in the prior art is solved, and more stable and efficient rate modulation is achieved.

CN114531708BActive Publication Date: 2025-03-04AGRICULTURAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210144583.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-17
Publication Date
2025-03-04
Estimated Expiration
2042-02-17

AI Technical Summary

Technical Problem

In the prior art, the method of performing rate modulation through preset thresholds is prone to cause severe repetitive rate jitter, the efficiency and accuracy of rate modulation are low, affecting the throughput of the entire system.

Method used

By obtaining the current signal-to-noise ratio of the received signal frame, it is determined whether the preset first rate switching condition is met. If it is not met, the current rate, adjacent rate, current frame drop rate and adjacent frame drop rate will continue to be determined. Then, it is determined whether the current frame drop rate, the corresponding frame drop rate and the current rate meet the preset second condition of rate switching. If all are satisfied, rate modulation is performed.

Benefits of technology

Improve the accuracy and efficiency of rate modulation, avoid repeated rate jitter, reduce unnecessary rate modulation, and improve the efficiency and accuracy of signal transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114531708B_ABST
    Figure CN114531708B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention discloses a rate modulation method, device, equipment and storage medium on a link. The method includes: obtaining the current signal-to-noise ratio of the received signal frame, judging whether the current signal-to-noise ratio meets the preset first rate switching condition; if not, determining the current rate and adjacent rate of the signal frame in the link, and determining the current frame loss rate at the current rate and the adjacent frame loss rate at the adjacent rate according to the detection frames sent at the current rate and the adjacent rate; judging whether the current frame loss rate, the adjacent frame loss rate and the current rate meet the preset second rate switching condition; if so, adjusting the current rate to the adjacent rate to complete the rate modulation on the link. Automatic adjustment of the rate is achieved, and the efficiency and accuracy of the rate adjustment are improved through the preset judgment conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of signal transmission technology, and in particular to a rate modulation method, device, equipment and storage medium on a link. Background Art

[0002] Currently, wireless LAN technology has been widely used in people's lives. The physical layer of most commonly used communication protocols stipulates different modulation methods. Using different modulation methods can bring different transmission rates and noise resistance capabilities.

[0003] In the prior art, the method of selecting an appropriate transmission rate according to the change of link quality is to increase the rate if the current frame loss rate is higher than a certain threshold; and to reduce the rate if the current frame loss rate is lower than a certain threshold. However, this method of rate modulation by a preset threshold value can easily cause serious repetitive rate jitter, and the efficiency and accuracy of rate modulation are low, which affects the throughput of the entire system. Summary of the invention

[0004] The embodiments of the present invention provide a rate modulation method, apparatus, device and storage medium on a link to improve the efficiency and accuracy of rate modulation.

[0005] According to one aspect of the present invention, a rate modulation method on a link is provided, the method comprising:

[0006] Obtaining a current signal-to-noise ratio of the received signal frame, and determining whether the current signal-to-noise ratio meets a preset first rate switching condition;

[0007] If not, determining a current rate and an adjacent rate of the signal frame in the link, and determining a current frame loss rate at the current rate and an adjacent frame loss rate at the adjacent rate according to the detection frames sent at the current rate and the adjacent rate;

[0008] Determine whether the current frame loss rate, the adjacent frame loss rate and the current rate meet a preset rate switching second condition;

[0009] If so, the current rate is adjusted to the adjacent rate to complete rate modulation on the link.

[0010] According to another aspect of the present invention, a rate modulation device on a link is provided, the device comprising:

[0011] A first condition judgment module, used to obtain a current signal-to-noise ratio of the received signal frame, and judge whether the current signal-to-noise ratio meets a preset first rate switching condition;

[0012] a frame loss rate determination module, configured to, if not, determine a current rate and an adjacent rate of the signal frame in the link, and determine a current frame loss rate at the current rate and an adjacent frame loss rate at the adjacent rate according to the detection frames sent at the current rate and the adjacent rate;

[0013] A second condition judgment module, used to judge whether the current frame loss rate, the adjacent frame loss rate and the current rate meet a preset rate switching second condition;

[0014] The rate modulation module is used to adjust the current rate to the adjacent rate to complete the rate modulation on the link.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the rate modulation method on the link described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the rate modulation method on a link described in any embodiment of the present invention when executed.

[0020] The technical solution of the embodiment of the present invention determines whether the current signal-to-noise ratio satisfies the first condition of rate switching by obtaining the current signal-to-noise ratio. If not, the current rate, adjacent rate, current frame loss rate and adjacent frame loss rate are further determined. The judgment is continued when the first condition is not met, avoiding maintaining the current rate when the first condition is not met but rate switching is required, thereby improving the accuracy of rate modulation. It is determined whether the current frame loss rate, adjacent frame loss rate and current rate all meet the preset second condition of rate switching. If all are satisfied, rate modulation is performed. It is avoided that the judgment condition is easily met under a single judgment condition, causing repeated rate jitter. The problem of rate modulation error caused by judging the frame loss rate through a preset threshold value in the prior art is solved. Unnecessary rate modulation is reduced, and the efficiency and accuracy of rate modulation are improved.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 It is a schematic diagram of a flow chart of a rate modulation method on a link provided according to Embodiment 1 of the present invention;

[0024] Figure 2 It is a schematic diagram of a flow chart of a rate modulation method on a link provided according to Embodiment 2 of the present invention;

[0025] Figure 3 is a schematic diagram of the structure of a rate modulation device on a link provided according to Embodiment 3 of the present invention;

[0026] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing the rate modulation method on a link according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0029] Embodiment 1

[0030] Figure 1A flow chart of a rate modulation method on a link is provided for the first embodiment of the present invention. This embodiment is applicable to the case where the transmission rate in the link is modulated. The method can be performed by a rate modulation device on the link. The device can be implemented in the form of hardware and / or software. The device can be configured in a communication node. Figure 1 As shown, the method includes:

[0031] S110: Obtain a current signal-to-noise ratio of a received signal frame, and determine whether the current signal-to-noise ratio meets a preset first rate switching condition.

[0032] Among them, the communication node can continuously receive signal frames during the signal transmission process, and determine the SNR (Signal Noise Ratio) of all received signal frames based on the received signal frames. The signal-to-noise ratio can be used as a parameter for rate modulation to solve the problem of fast rate switching when the link situation changes dramatically.

[0033] The currently obtained signal-to-noise ratio is determined as the current signal-to-noise ratio. A first rate switching condition is preset to determine whether the current signal-to-noise ratio satisfies the first rate switching condition. For example, the first rate switching condition may be to preset a signal-to-noise ratio threshold, and if the current signal-to-noise ratio is greater than the preset signal-to-noise ratio threshold, it is determined that the current signal-to-noise ratio satisfies the first rate switching condition.

[0034] If the current signal-to-noise ratio meets the first rate switching condition, it is determined that the current rate of signal transmission needs to be adjusted, and the current rate can be increased or decreased. For example, different rate values ​​can be pre-set as different rate adjustment levels, and when the modulation rate is required, it can be selected from the preset fixed rate values. For example, the preset fixed rate values ​​include 1, 5, 10 and 20, indicating four rate levels. If the current rate is 1, the current rate can be increased to 5.

[0035] In this embodiment, optionally, determining whether the current signal-to-noise ratio satisfies a preset first rate switching condition includes: determining whether a difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a preset first difference threshold; if so, determining whether the current signal-to-noise ratio and a preset number of historical signal-to-noise ratios are both greater than or both less than the signal-to-noise ratio average value; if so, determining that the current signal-to-noise ratio satisfies the preset first rate switching condition, and adjusting the current rate of the signal frame in the link.

[0036] Specifically, a signal-to-noise ratio average value is pre-set, and the current signal-to-noise ratio is subtracted from the signal-to-noise ratio average value to obtain the difference between the current signal-to-noise ratio and the signal-to-noise ratio average value. A first difference threshold is pre-set to determine whether the difference between the current signal-to-noise ratio and the signal-to-noise ratio average value is greater than the first difference threshold. If not, it is determined that rate modulation is not required, and the signal is transmitted at the current rate; if so, multiple historical signal-to-noise ratios before the current signal-to-noise ratio are obtained, and the current signal-to-noise ratio and a preset number of historical signal-to-noise ratios are compared with the signal-to-noise ratio average value. The historical signal-to-noise ratio is before the current signal-to-noise ratio and is adjacent to the current signal-to-noise ratio. The historical signal-to-noise ratio may be a plurality of consecutive signal-to-noise ratios, for example, 5 consecutive historical signal-to-noise ratios or 3 historical signal-to-noise ratios. That is, the current signal-to-noise ratio is sequentially connected to multiple historical signal-to-noise ratios.

[0037] Compare the current signal-to-noise ratio with the average signal-to-noise ratio to determine the size relationship between the current signal-to-noise ratio and the average signal-to-noise ratio. If the current signal-to-noise ratio is greater than the average signal-to-noise ratio, obtain a preset number of historical signal-to-noise ratios, compare each historical signal-to-noise ratio with the average signal-to-noise ratio, and determine whether each historical signal-to-noise ratio is greater than the average signal-to-noise ratio. For example, five consecutive historical signal-to-noise ratios can be compared with the average signal-to-noise ratio. If each historical signal-to-noise ratio is greater than the average signal-to-noise ratio, it is determined that the current signal-to-noise ratio meets the preset first rate switching condition, and rate modulation is required. The current rate of the signal frame in the link can be increased or decreased according to the preset rate modulation rules. If there is a historical signal-to-noise ratio that is less than the average signal-to-noise ratio, it is determined that the current signal-to-noise ratio does not meet the preset first rate switching condition, and the new current signal-to-noise ratio continues to be monitored.

[0038] If the current signal-to-noise ratio is less than the average signal-to-noise ratio, a preset number of historical signal-to-noise ratios are obtained, and each historical signal-to-noise ratio is compared with the average signal-to-noise ratio to determine whether each historical signal-to-noise ratio is less than the average signal-to-noise ratio. For example, three consecutive historical signal-to-noise ratios can be compared with the average signal-to-noise ratio. The number of historical signal-to-noise ratios obtained when the current signal-to-noise ratio is greater than the average signal-to-noise ratio may be the same as or different from the number of historical signal-to-noise ratios obtained when the current signal-to-noise ratio is less than the average signal-to-noise ratio. If each historical signal-to-noise ratio is less than the average signal-to-noise ratio, it is determined that the current signal-to-noise ratio meets the preset first rate switching condition, and rate modulation is required. The current rate of the signal frame in the link can be increased or decreased according to the preset rate modulation rules. If there is a historical signal-to-noise ratio greater than the average signal-to-noise ratio, it is determined that the current signal-to-noise ratio does not meet the preset first rate switching condition, and the new current signal-to-noise ratio continues to be monitored.

[0039] Rules for reducing or increasing the rate can be pre-set. For example, when the current signal-to-noise ratio and the historical signal-to-noise ratio are both greater than the average signal-to-noise ratio, the current rate is increased; when the current signal-to-noise ratio and the historical signal-to-noise ratio are both less than the average signal-to-noise ratio, the current rate is reduced. The beneficial effect of such a setting is that the current signal-to-noise ratio and the historical signal-to-noise ratio are used to jointly determine whether rate modulation is required, thereby avoiding judgment errors caused by judging through a single data, improving the accuracy of rate modulation, reducing unnecessary adjustments, and thus improving the efficiency and accuracy of signal transmission.

[0040] In this embodiment, optionally, adjusting the current rate of the signal frame in the link includes: determining whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a first difference threshold and less than a second difference threshold, and if so, increasing or decreasing the current rate of the signal frame by one level according to a preset rate adjustment level; determining whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than the second difference threshold and less than a third difference threshold, and if so, increasing or decreasing the current rate of the signal frame by two levels according to the preset rate adjustment level; determining whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than the third difference threshold, and if so, increasing or decreasing the current rate of the signal frame by three levels according to the preset rate adjustment level.

[0041] Specifically, after determining that the current signal-to-noise ratio meets the preset first rate switching condition, it is necessary to adjust the current rate of the signal frame in the link. The rate adjustment level can be preset, and different rate values ​​are used as different levels. For example, the rate values ​​of the rate adjustment level are set to 1, 5, 10 and 20, and the rate 1 represents the first level, the rate 5 represents the second level, the rate 10 represents the third level, and the rate 20 represents the fourth level.

[0042] A first difference threshold, a second difference threshold and a third difference threshold are preset, the first difference threshold is smaller than the second difference threshold, and the second difference threshold is smaller than the third difference threshold. When adjusting the rate, the difference between the current signal-to-noise ratio and the preset signal-to-noise ratio average value must be greater than the first difference threshold, so it can be determined whether the difference is smaller than the second difference threshold. If so, the current rate of the signal frame is increased or decreased by one level, for example, from rate 1 to rate 5.

[0043] If the difference between the current signal-to-noise ratio and the preset signal-to-noise ratio average value is greater than the second difference threshold, it can be further determined whether the difference is less than the third difference threshold. If so, the current rate of the signal frame can be increased or decreased by two levels. For example, the current rate is increased from rate 1 to rate 10. If the difference between the current signal-to-noise ratio and the preset signal-to-noise ratio average value is greater than the third difference threshold, the current rate of the signal frame can be increased or decreased by three levels. For example, the current rate is increased from rate 1 to rate 20. The beneficial effect of such a setting is that a large change in the signal-to-noise ratio requires switching of several levels of rates to ensure maximum throughput. By setting multiple difference thresholds for judgment and observing the change in the relationship between the current signal-to-noise ratio and the signal-to-noise ratio average value, cross-level rate adjustment can be achieved without multiple switching, and multiple levels of rates can be switched at one time. It is achieved that the rate is switched to a suitable level at one time, which improves the timeliness of rate switching, avoids repeated jitter of the rate, and increases the total throughput of the network.

[0044] S120: If not, determine the current rate and adjacent rates of the signal frame in the link, and determine the current frame loss rate at the current rate and the adjacent frame loss rate at the adjacent rate based on the detection frames sent at the current rate and the adjacent rate.

[0045] Among them, if the current signal-to-noise ratio does not meet the preset first condition for rate switching, the current rate and adjacent rate of the signal frame in the link are determined, and the rate value of the adjacent rate can be a rate value adjacent to the current rate. For example, a fixed difference between two adjacent rates is preset, and 1 can be used as the fixed difference between the two rates. If the current rate is 1, the adjacent rate is 2.

[0046] In this embodiment, optionally, determining the current rate and adjacent rates of the signal frame in the link includes: determining the current rate of the signal frame in the link; determining at least one adjacent rate of the current rate according to a preset rate division rule; wherein the adjacent rate is a rate adjacent to the current rate in the rate division rule.

[0047] Specifically, a rate division rule is pre-set, and after the current rate is determined, the adjacent rate is searched from the rate division rule. The adjacent rate can be a rate value adjacent to the current rate in the preset rate division rule. The adjacent rate can be one or two. For example, the rate division rule divides the rate value into 1, 5 and 10. If the current rate is 5, the adjacent rates of the current rate are 1 and 10. If the current rate is 1, the adjacent rate is only 5. The beneficial effect of such a setting is that the adjacent rates can be quickly determined, the frame loss rate can be obtained under different rate conditions, the judgment accuracy of rate modulation is improved, and the rate modulation accuracy is further improved.

[0048] After determining the current rate and the adjacent rate, the detection frame may be continuously sent at the current rate and the adjacent rate. That is, the detection frame is sent at the current rate, and the detection frame is sent at the adjacent rate. The FLR (Frame Loss Rate) of the detection frame at the current rate is determined as the current frame loss rate. And the frame loss rate of the detection frame at the adjacent rate is determined as the adjacent frame loss rate.

[0049] The frame loss rate can be determined by calculating the percentage of lost signal frames and total signal frames within an estimation window. An estimation window length can be min{1s,T(60frames)}, where T(60frames) is the time taken for 60 frames. That is, the window length is the minimum value between 1 second and the time taken for 60 frames.

[0050] S130: Determine whether the current frame loss rate, the adjacent frame loss rate, and the current rate meet a preset rate switching second condition.

[0051] The second rate switching condition is preset, and the second rate switching condition may include a threshold of a current frame loss rate, a threshold of an adjacent frame loss rate, and a threshold of a current rate, and may also include a difference threshold between a current frame loss rate and an adjacent frame loss rate, etc. It is determined whether the current frame loss rate, the adjacent frame loss rate, and the current rate all meet the preset second rate switching condition. If any one of the values ​​does not meet the second rate switching condition, rate modulation is not performed.

[0052] In this embodiment, it can be determined in sequence whether the current frame loss rate, the adjacent frame loss rate, and the current rate meet the second rate switching condition, or it can be determined simultaneously whether the current frame loss rate, the adjacent frame loss rate, and the current rate meet the second rate switching condition. For example, it is determined whether the current frame loss rate meets the preset threshold condition, and if so, it is determined whether the adjacent frame loss rate meets the preset threshold condition, and if so, it is determined whether the current rate meets the preset threshold condition, and if so, it is determined that the second rate switching condition is met.

[0053] S140: If yes, adjust the current rate to the adjacent rate to complete rate modulation on the link.

[0054] Among them, if the second rate switching condition is met, the current rate is adjusted, and the current rate can be adjusted to an adjacent rate. If there are two adjacent rates for the current rate, the current rate is adjusted to an adjacent rate that meets the second rate switching condition. For example, the current rate is 5, and the adjacent rates are 1 and 10. When the adjacent rate is 1, the adjacent frame loss rate does not meet the second rate switching condition; when the adjacent rate is 10, the adjacent frame loss rate meets the second rate switching condition. Therefore, the current rate can be adjusted to 10, thereby realizing automatic modulation of the rate on the link. In this embodiment, the current rate will be increased or decreased to the adjacent rate corresponding to the lower adjacent frame loss rate.

[0055] The embodiment of the present invention determines whether the current signal-to-noise ratio satisfies the first rate switching condition by obtaining the current signal-to-noise ratio. If not, the current rate, adjacent rate, current frame loss rate and adjacent frame loss rate are further determined. The judgment is continued when the first condition is not met, avoiding maintaining the current rate when the first condition is not met but rate switching is required, thereby improving the accuracy of rate modulation. It is determined whether the current frame loss rate, adjacent frame loss rate and current rate all meet the preset second rate switching condition. If all are satisfied, rate modulation is performed. It is avoided that the judgment condition is easily met under a single judgment condition, causing repeated rate jitter. The problem of rate modulation error caused by judging the frame loss rate by a preset threshold value in the prior art is solved, and unnecessary rate modulation is reduced. The signal-to-noise ratio is used to perform multi-level switching of rate adaptation when the channel condition fluctuates greatly, thereby improving the efficiency and accuracy of rate modulation.

[0056] Embodiment 2

[0057] Figure 2 A flow chart of a rate modulation method on a link provided in Embodiment 2 of the present invention is provided. This embodiment is an optional embodiment based on the above embodiment. The method can be executed by a rate modulation device on a link.

[0058] In this embodiment, determining whether the current frame loss rate, the adjacent frame loss rate, and the current rate satisfy the preset second rate switching condition can be refined as follows: determining whether the current frame loss rate at the current rate is higher than the adjacent frame loss rate at the adjacent rate; if so, determining whether the difference between the current frame loss rate and the adjacent frame loss rate is higher than a preset frame loss rate difference threshold; if so, determining whether the current frame loss rate is higher than a preset maximum frame loss rate; if so, determining whether the current rate changes within a preset determination time; if the current rate does not change within the preset determination time, determining that the current frame loss rate, the adjacent frame loss rate, and the current rate satisfy the preset second rate switching condition.

[0059] like Figure 2 As shown, the method includes:

[0060] S210: Obtain a current signal-to-noise ratio of a received signal frame, and determine whether the current signal-to-noise ratio meets a preset first rate switching condition.

[0061] S220: If not, determine the current rate and adjacent rates of the signal frame in the link, and determine the current frame loss rate at the current rate and the adjacent frame loss rate at the adjacent rate based on the detection frames sent at the current rate and the adjacent rate.

[0062] S230: Determine whether the current frame loss rate at the current rate is higher than the adjacent frame loss rate at the adjacent rate; if so, determine whether the difference between the current frame loss rate and the adjacent frame loss rate is higher than a preset frame loss rate difference threshold.

[0063] After obtaining the current frame loss rate and the adjacent frame loss rate, the current frame loss rate is compared with the adjacent frame loss rate. If there are two adjacent frame loss rates, the current frame loss rate is compared with the two adjacent frame loss rates in turn. It is determined whether the current frame loss rate is higher than the adjacent frame loss rate. If not, there is no need to adjust the current rate toward the adjacent rate corresponding to the adjacent frame loss rate; if so, the difference between the current frame loss rate and the adjacent frame loss rate is calculated to determine whether the difference is higher than a preset frame loss rate difference threshold. For example, the frame loss rate difference threshold can be set to 5%.

[0064] S240: If yes, determine whether the current frame loss rate is higher than a preset maximum frame loss rate.

[0065] Among them, if the difference between the current frame loss rate and the adjacent frame loss rate is not higher than the preset frame loss rate difference threshold, there is no need to adjust the current rate toward the adjacent rate corresponding to the adjacent frame loss rate; if it is higher than the frame loss rate difference threshold, the current frame loss rate is compared with the preset maximum frame loss rate to determine whether the current frame loss rate is higher than the preset maximum frame loss rate.

[0066] In this embodiment, optionally, before determining whether the current frame loss rate is higher than a preset maximum frame loss rate, the method further includes: determining the maximum frame loss rate according to the following formula:

[0067]

[0068] Among them, FLR h is the maximum frame loss rate, T p (R) is the ideal throughput at rate R, T p (R-1) is the ideal throughput at the (R-1) rate, where (R-1) is a rate one level lower than the R rate in the preset rate level.

[0069] Specifically, the ideal throughput T at rate R can be used p (R) and frame loss rate FLR(R) to calculate the actual throughput T c (R):

[0070] T c (R) = T p (R) × (1-FLR(R));

[0071] In this case, when the length of the signal frame is known, the ideal throughput at the R rate can be obtained. c (R) <T c(R-1), it can be considered that the rate needs to be reduced; when T c (R)>T c (R-1), it can be considered that the rate needs to be increased. (R-1) is not the value of R minus one, but the rate value of R minus one level. The rate level is preset. For example, there are three rate levels, and the corresponding rate values ​​of each level are 1, 5, and 10. If R is 10, then (R-1) is 5.

[0072] You can use T c (R) = T c The frame loss rate at (R-1) is used as the switching threshold, that is:

[0073] T p (R) × (1-FLR (R)) = T p (R-1)×(1-FLR(R-1));

[0074] From the above formula we can get:

[0075]

[0076] Assuming that the link condition at (R-1) rate is ideal, that is, FLR(R-1) = 0, we can get:

[0077]

[0078] Since FLR(R-1)>0, the maximum frame loss rate FLR h The beneficial effect of this setting is that a reasonable setting of the maximum frame loss rate can reduce the probability of RRJ (Repeat Rate Jump) phenomenon, avoid multiple unnecessary rate adjustments, improve the accuracy and efficiency of rate modulation, and thus improve signal transmission efficiency.

[0079] S250: If yes, determine whether the current rate changes within a preset determination time.

[0080] Among them, if the current frame loss rate is not higher than the preset maximum frame loss rate, no subsequent judgment is required, and no rate modulation is required; if the current frame loss rate is higher than the preset maximum frame loss rate, continue to judge whether the current rate changes within the preset judgment time, that is, determine whether the signal transmission rate changes within the preset judgment time.

[0081] In order to avoid the RRJ phenomenon, when the current frame loss rate is higher than the maximum frame loss rate, it is determined whether a rate change has occurred in the past period of time. For example, the preset judgment time may be min{3s,T(180frames)}, where T(180frames) is the time taken for 180 frames. That is, the length of the preset judgment time is the minimum value between 3 seconds and the time taken for 180 frames.

[0082] In this embodiment, optionally, after determining whether the current rate has changed within a preset determination time, the method further includes: if the current rate has changed within a preset determination time, maintaining the current rate, and not performing rate modulation within a preset maintenance time range.

[0083] Specifically, if the current rate changes, it is considered that the RRJ phenomenon has occurred. To avoid frequent rate changes, the current rate should be maintained for a period of time. In this embodiment, the recommended maintenance time range is min{5s,T(300frames)}. Among them, T(300frames) is the time taken for 300 frames. That is, the time length for maintaining the current rate is the minimum value between 5 seconds and the time taken for 300 frames. The beneficial effect of such a setting is that, when the rate has changed, in order to avoid the frequent occurrence of the RRJ phenomenon, the rate is not adjusted, the channel is kept stable, and the efficiency and accuracy of signal transmission are improved.

[0084] S260: If the current rate does not change within the preset judgment time, determine whether the current frame loss rate, the adjacent frame loss rate, and the current rate meet the preset rate switching second condition.

[0085] If the current rate has not changed, it is considered that the RRJ phenomenon will not or has not occurred, and the current rate can be changed. In this embodiment, when the current frame loss rate is higher than the adjacent frame loss rate, the difference between the current frame loss rate and the adjacent frame loss rate is higher than the frame loss rate difference threshold as the first judgment criterion of the second rate switching condition; the current frame loss rate is higher than the maximum frame loss rate as the second judgment criterion; the current rate has not changed within the preset judgment time as the third judgment criterion. When these three judgment criteria are met at the same time, it is considered that the preset rate switching second condition is met.

[0086] S270: If the conditions are met, the current rate is adjusted to the adjacent rate to complete rate modulation on the link.

[0087] The embodiment of the present invention determines whether the current signal-to-noise ratio satisfies the first rate switching condition by obtaining the current signal-to-noise ratio. If not, the current rate, adjacent rate, current frame loss rate and adjacent frame loss rate are further determined. The judgment is continued when the first condition is not met, avoiding maintaining the current rate when the first condition is not met but rate switching is required, thereby improving the accuracy of rate modulation. The current frame loss rate, adjacent frame loss rate and current rate are judged to determine whether they all meet the preset second rate switching condition. If they all meet, rate modulation is performed. The problem of repeated rate jitter caused by the judgment condition being easily met under a single judgment condition is avoided. The problem of rate modulation error caused by judging the frame loss rate by a preset threshold value in the prior art is solved, thereby reducing unnecessary rate modulation. The frame loss rate is used to perform rate adaptive adjustment when the channel condition is relatively stable, thereby improving the efficiency and accuracy of rate modulation.

[0088] Embodiment 3

[0089] Figure 3 This is a schematic diagram of the structure of a rate modulation device on a link provided by Embodiment 3 of the present invention. Figure 3 As shown, the device comprises:

[0090] The first condition judgment module 301 is used to obtain the current signal-to-noise ratio of the received signal frame, and judge whether the current signal-to-noise ratio meets the preset first rate switching condition;

[0091] The frame loss rate determination module 302 is used to determine the current rate and the adjacent rate of the signal frame in the link if no, and determine the current frame loss rate at the current rate and the adjacent frame loss rate at the adjacent rate according to the detection frames sent at the current rate and the adjacent rate;

[0092] A second condition judgment module 303 is used to judge whether the current frame loss rate, the adjacent frame loss rate and the current rate meet a preset rate switching second condition;

[0093] The rate modulation module 304 is configured to adjust the current rate to the adjacent rate to complete rate modulation on the link.

[0094] Optionally, the first condition judgment module 301 includes:

[0095] A difference judgment unit, used to judge whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a preset first difference threshold;

[0096] an average value judgment unit, configured to judge whether the current signal-to-noise ratio and a preset number of historical signal-to-noise ratios are both greater than or both less than the signal-to-noise ratio average value;

[0097] The current rate adjustment unit is used to determine that the current signal-to-noise ratio meets the preset first rate switching condition and adjust the current rate of the signal frame in the link.

[0098] Optionally, the current rate adjustment unit is specifically used to:

[0099] Determine whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a first difference threshold and less than a second difference threshold, and if so, increase or decrease the current rate of the signal frame by one level according to a preset rate adjustment level;

[0100] Determine whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a second difference threshold and less than a third difference threshold, and if so, increase or decrease the current rate of the signal frame by two levels according to a preset rate adjustment level;

[0101] It is determined whether the difference between the current signal-to-noise ratio and the preset signal-to-noise ratio average value is greater than a third difference threshold; if so, the current rate of the signal frame is increased or decreased by three levels according to the preset rate adjustment level.

[0102] Optionally, the frame loss rate determination module 302 includes:

[0103] A current rate determination unit, used to determine the current rate of the signal frame in the link;

[0104] The adjacent rate determination unit is used to determine at least one adjacent rate of the current rate according to a preset rate division rule; wherein the adjacent rate is a rate adjacent to the current rate in the rate division rule.

[0105] Optionally, the second condition judgment module 303 includes:

[0106] a frame loss rate difference judgment unit, configured to judge whether a current frame loss rate at a current rate is higher than an adjacent frame loss rate at an adjacent rate, and if so, to judge whether a difference between the current frame loss rate and the adjacent frame loss rate is higher than a preset frame loss rate difference threshold;

[0107] a maximum frame loss rate determination unit, configured to determine whether the current frame loss rate is higher than a preset maximum frame loss rate;

[0108] a current rate change determination unit, configured to determine whether the current rate changes within a preset determination time;

[0109] The second condition satisfying unit is used to determine whether the current frame loss rate, the adjacent frame loss rate and the current rate satisfy a preset rate switching second condition if the current rate does not change within a preset judgment time.

[0110] Optionally, the second condition judgment module 303 further includes:

[0111] The maximum frame loss rate determination unit is used to determine the maximum frame loss rate according to the following formula before determining whether the current frame loss rate is higher than the preset maximum frame loss rate:

[0112]

[0113] Among them, FLR h is the maximum frame loss rate, T p (R) is the ideal throughput at rate R, T p (R-1) is the ideal throughput at the (R-1) rate, where (R-1) is a rate one level lower than the R rate in the preset rate level.

[0114] Optionally, the second condition judgment module 303 further includes:

[0115] The rate maintaining unit is used to determine whether the current rate changes within a preset determination time. If the current rate changes within the preset determination time, the current rate is maintained without performing rate modulation within the preset maintenance time range.

[0116] The embodiment of the present invention determines whether the current signal-to-noise ratio satisfies the first rate switching condition by obtaining the current signal-to-noise ratio. If not, the current rate, adjacent rates, current frame loss rate and adjacent frame loss rate are further determined. The judgment is continued when the first condition is not met, avoiding maintaining the current rate when the first condition is not met but rate switching is required, thereby improving the accuracy of rate modulation. It is determined whether the current frame loss rate, adjacent frame loss rate and current rate all meet the preset second rate switching condition. If all are satisfied, rate modulation is performed. It is avoided that the judgment condition is easily met under a single judgment condition, causing repeated rate jitter. The problem of rate modulation error caused by judging the frame loss rate through a preset threshold value in the prior art is solved. Unnecessary rate modulation is reduced, and the efficiency and accuracy of rate modulation are improved.

[0117] The rate modulation device on a link provided by the embodiment of the present invention can execute the rate modulation method on a link provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0118] Embodiment 4

[0119] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0120] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0121] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0122] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a rate modulation method on a link.

[0123] In some embodiments, the rate modulation method on the link may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the rate modulation method on the link described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the rate modulation method on the link in any other appropriate manner (e.g., by means of firmware).

[0124] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0125] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0126] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0127] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0128] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0129] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0130] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0131] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A rate modulation method on a link, characterized in that: include: Obtaining a current signal-to-noise ratio of the received signal frame, and determining whether the current signal-to-noise ratio meets a preset first rate switching condition; If not, determining a current rate and an adjacent rate of the signal frame in the link, and determining a current frame loss rate at the current rate and an adjacent frame loss rate at the adjacent rate according to the detection frames sent at the current rate and the adjacent rate; Determine whether the current frame loss rate, the adjacent frame loss rate and the current rate meet a preset rate switching second condition; If so, the current rate is adjusted to the adjacent rate to complete rate modulation on the link.

2. The method according to claim 1, characterized in that Determining whether the current signal-to-noise ratio meets a preset first rate switching condition includes: Determine whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a preset first difference threshold; If so, determining whether the current signal-to-noise ratio and a preset number of historical signal-to-noise ratios are both greater than or both less than the signal-to-noise ratio average value; If so, it is determined that the current signal-to-noise ratio meets the preset first rate switching condition, and the current rate of the signal frame in the link is adjusted.

3. The method according to claim 2, characterized in that Adjust the current rate of signal frames in the link, including: Determine whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a first difference threshold and less than a second difference threshold, and if so, increase or decrease the current rate of the signal frame by one level according to a preset rate adjustment level; Determine whether the difference between the current signal-to-noise ratio and a preset signal-to-noise ratio average value is greater than a second difference threshold and less than a third difference threshold, and if so, increase or decrease the current rate of the signal frame by two levels according to a preset rate adjustment level; It is determined whether the difference between the current signal-to-noise ratio and the preset signal-to-noise ratio average value is greater than a third difference threshold; if so, the current rate of the signal frame is increased or decreased by three levels according to the preset rate adjustment level.

4. The method according to claim 1, characterized in that: Determine the current rate and adjacent rates of signal frames on the link, including: Determine the current rate of signal frames in the link; According to a preset rate division rule, at least one adjacent rate of the current rate is determined; wherein the adjacent rate is a rate adjacent to the current rate in the rate division rule.

5. The method according to claim 1, characterized in that Determining whether the current frame loss rate, the adjacent frame loss rate, and the current rate meet a preset rate switching second condition includes: Determine whether a current frame loss rate at a current rate is higher than an adjacent frame loss rate at an adjacent rate, and if so, determine whether a difference between the current frame loss rate and the adjacent frame loss rate is higher than a preset frame loss rate difference threshold; If yes, determining whether the current frame loss rate is higher than a preset maximum frame loss rate; If yes, determining whether the current rate changes within a preset determination time; If the current rate does not change within the preset judgment time, it is determined that the current frame loss rate, the adjacent frame loss rate and the current rate meet the preset rate switching second condition.

6. The method according to claim 5, characterized in that Before determining whether the current frame loss rate is higher than a preset maximum frame loss rate, the method further includes: The maximum frame loss rate is determined according to the following formula: Among them, FLR h is the maximum frame loss rate, T p (R) is the ideal throughput at rate R, T p (R-1) is the ideal throughput at the (R-1) rate, where (R-1) is a rate one level lower than the R rate in the preset rate level.

7. The method according to claim 5, characterized in that After determining whether the current rate changes within a preset determination time, the method further includes: If the current rate changes within the preset judgment time, the current rate is maintained, and rate modulation is not performed within the preset maintenance time range.

8. A rate modulation device on a link, characterized in that: include: A first condition judgment module, used to obtain a current signal-to-noise ratio of the received signal frame, and judge whether the current signal-to-noise ratio meets a preset first rate switching condition; a frame loss rate determination module, configured to, if not, determine a current rate and an adjacent rate of the signal frame in the link, and determine a current frame loss rate at the current rate and an adjacent frame loss rate at the adjacent rate according to the detection frames sent at the current rate and the adjacent rate; A second condition judgment module, used to judge whether the current frame loss rate, the adjacent frame loss rate and the current rate meet a preset rate switching second condition; The rate modulation module is used to adjust the current rate to the adjacent rate to complete the rate modulation on the link.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the rate modulation method on the link according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the rate modulation method on a link according to any one of claims 1 to 7 when executed.

Citation Information

Patent Citations

  • Transmitting speed adjusting method in wireless local area network and device using same

    CN102595520A

  • Data transmission method and device and medium

    CN112566188A