Signal extender position adjustment method, device, terminal equipment and storage medium

By calculating the actual bandwidth of the signal extender and expanding device and adjusting its position, the problem of bandwidth imbalance of the signal extender is solved, bandwidth equalization configuration is achieved, and network coverage and throughput are improved.

CN113259951BActive Publication Date: 2024-12-17TP-LINK INT SHENZHEN CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202110418443.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-04-19
Publication Date
2024-12-17
Estimated Expiration
2041-04-19

AI Technical Summary

Technical Problem

The prior art cannot accurately calculate the actual bandwidth of the signal extender, resulting in the bandwidth imbalance between the extended network and the extended network, resulting in bandwidth waste and the problem of bandwidth equalization configuration being impossible.

Method used

By obtaining the basic bandwidth of the signal extender and the extended device under different RF parameters, and using interference variables such as idle transmission opportunity parameters, competition coefficients and packet loss rate, the actual maximum bandwidth of the network device in different scenarios is calculated, and the signal is adjusted. The extender is located so that the bandwidth of the extended network is approximately equal to the extended network.

Benefits of technology

Accurately calculate the actual bandwidth of the extended network and the expanded network, solve the bandwidth waste problem caused by bandwidth imbalance, improve the network coverage and throughput, and reduce the bandwidth waste of the overall network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113259951B_ABST
    Figure CN113259951B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of communications, and discloses a method, device, terminal device and storage medium for adjusting the position of a signal extender, the method comprising: obtaining a first basic maximum bandwidth and a first interference variable of the signal extender in the current communication environment; calculating the first actual maximum bandwidth corresponding to the signal extender in the current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient; obtaining the second actual maximum bandwidth of the extended device; adjusting the position of the signal extender according to the first actual maximum bandwidth and the second actual maximum bandwidth, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range. The present invention can accurately calculate the actual bandwidth of the extended network, thereby solving the problem of bandwidth waste and inability to achieve bandwidth balanced configuration due to bandwidth imbalance between the extended network and the extended network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communications, and in particular to a method, a device, a terminal device and a storage medium for adjusting the position of a signal extender. Background Art

[0002] Within the wireless coverage range, when the wireless signal strength of the main router is too low, a signal extender is needed to relay and amplify the wireless signal. The signal extender can receive the wifi signal from the extended device and provide the wifi signal to the user device. It can also receive the wifi signal from the user device network and transmit the wifi signal to the extended device, completing two-way processing, thereby increasing the transmission distance of the wifi signal, improving the wifi coverage range, and ensuring the transmission quality.

[0003] So how should the best position of the signal extender be determined? In the prior art, one method is to determine the position of the signal extender by measuring the received power of the wireless signal and adjusting the position of the signal extender according to the size of the received power. However, this method does not take into account the bandwidth optimization problem of the extended network and the extended network, and cannot accurately calculate the actual bandwidth of the extended network, and cannot achieve balanced bandwidth configuration of the extended network and the extended network. When the bandwidth of the extended network and the extended network is unbalanced, the smaller bandwidth is always used as the upper limit for transmission, resulting in bandwidth waste. Summary of the invention

[0004] The purpose of the embodiments of the present invention is to propose a signal extender position adjustment method, device, terminal equipment and storage medium, which can accurately calculate the actual bandwidth of the extended network, thereby solving the problem of bandwidth waste and inability to achieve bandwidth balanced configuration caused by bandwidth imbalance between the extended network and the extending network.

[0005] To achieve the above object, an embodiment of the present invention provides a method for adjusting the position of a signal extender, comprising:

[0006] Obtaining a first basic maximum bandwidth and a first interference variable of the signal extender in the current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for a channel;

[0007] Calculate a first actual maximum bandwidth corresponding to the signal extender at the current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient;

[0008] Obtaining a second actual maximum bandwidth of the extended device;

[0009] The position of the signal extender is adjusted according to the first actual maximum bandwidth and the second actual maximum bandwidth so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0010] Preferably, the calculation formula of the first competition coefficient is δ1=(α1-β1)÷(1-β1), δ1 is the first competition coefficient, α1 is the first transmission time percentage, and the first transmission time percentage refers to the percentage of time that the signal extender transmits signals per unit time; β1 is the first idle transmission opportunity parameter.

[0011] Preferably, the calculating, according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, to obtain the first actual maximum bandwidth corresponding to the signal extender at the current position specifically includes:

[0012] According to the formula A1 = A a {β1+(1-β1)×δ1} calculates the first actual maximum bandwidth A1 corresponding to the signal extender at the current position, A a is the first basic maximum bandwidth.

[0013] Preferably, the first interference variable also includes a first packet loss rate; then,

[0014] The calculating, according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, to obtain a first actual maximum bandwidth corresponding to the signal extender at the current position specifically includes:

[0015] According to the formula A1 = A a {β1+(1-β1)×δ1}×(1-ε1) is used to calculate the first actual maximum bandwidth A1 corresponding to the current position of the signal extender, A a is the first basic maximum bandwidth, and ε1 is the first packet loss rate.

[0016] Preferably, the acquiring of the first basic maximum bandwidth and the first interference variable of the signal extender under the current communication environment specifically includes:

[0017] Acquire a first radio frequency parameter of the signal extender, and obtain the first basic maximum bandwidth of the signal extender according to a pre-stored correspondence between the first radio frequency parameter and the first basic maximum bandwidth;

[0018] Acquire a first idle transmission opportunity parameter and the first contention coefficient of the signal extender in a current communication environment.

[0019] Preferably, the acquiring the first idle transmission opportunity parameter and the first contention coefficient of the signal extender in the current communication environment specifically includes:

[0020] Under the current communication environment, obtaining a plurality of idle transmission opportunity parameters and a plurality of contention coefficients of the signal extender within a preset time;

[0021] Calculate the average of multiple idle transmission opportunity parameters of the signal extender, and use the calculated average value as the first idle transmission opportunity parameter;

[0022] The maximum value among the multiple competition coefficients of the signal extender is used as the current competition coefficient of the signal extender, and the competition coefficient adjusted in the last round of the signal extender is compared with the current competition coefficient, and the larger value of the two is used as the first competition coefficient.

[0023] Preferably, the acquiring the second actual maximum bandwidth of the expanded device specifically includes:

[0024] Obtain a second basic maximum bandwidth and a second interference variable of the expanded device in the current communication environment; wherein the second interference variable includes a second idle transmission opportunity parameter, a second competition coefficient corresponding to the expanded device when performing channel competition, and a second packet loss rate, and the second idle transmission opportunity parameter is the percentage of time when the expanded device is idle and its channel does not have any other communication signal in a unit time; the calculation formula of the second competition coefficient is δ2=(α2-β2)÷(1-β2), δ2 is the second competition coefficient, α2 is the second transmission time percentage, and the second transmission time percentage refers to the percentage of time that the expanded device performs signal transmission in a unit time; β2 is the second idle transmission opportunity parameter;

[0025] According to the formula A2 = A b {β2+(1-β2)×δ2}×(1-ε2) is used to calculate the second actual maximum bandwidth A2 corresponding to the extended device at the current position, A b is the second basic maximum bandwidth, and ε2 is the second packet loss rate.

[0026] Preferably, the adjusting the position of the signal extender according to the first actual maximum bandwidth and the second actual maximum bandwidth so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range specifically includes:

[0027] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range;

[0028] If the first actual maximum bandwidth is smaller than the second actual maximum bandwidth, the position of the signal extender is adjusted so that the signal extender is close to the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0029] Preferably, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then,

[0030] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically includes:

[0031] If the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device until the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range;

[0032] And, if the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, adjust the position of the signal extender so that the signal extender is close to the expanded device until the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range.

[0033] Preferably, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then,

[0034] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the wireless signal extender until the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically including:

[0035] If the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, and the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device;

[0036] If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are not within a preset range, then continue to adjust the position of the signal extender so that the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range;

[0037] If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is not within the preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are within the preset range, the adjustment is terminated.

[0038] Another embodiment of the present invention provides a position adjustment device for a signal extender, comprising:

[0039] An information acquisition module, used to obtain a first basic maximum bandwidth and a first interference variable of a signal extender in a current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for a channel;

[0040] a calculation module, configured to calculate a first actual maximum bandwidth corresponding to the signal extender at a current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first contention coefficient;

[0041] A bandwidth acquisition module, used to acquire a second actual maximum bandwidth of the expanded device;

[0042] The position adjustment module is used to adjust the position of the signal extender according to the first actual maximum bandwidth and the second actual maximum bandwidth, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0043] Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the position adjustment method of the signal extender as described in any one of the above items when executing the computer program.

[0044] Another embodiment of the present invention provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the position adjustment method of the signal extender as described in any one of the above items.

[0045] Compared with the prior art, the embodiments of the present invention provide a method, device, terminal device and storage medium for adjusting the position of a signal extender. By obtaining the basic bandwidth corresponding to the signal extender and the extended device under different radio frequency parameters, and using interference variables such as idle transmission opportunity parameters, competition coefficient and packet loss rate to correct the basic bandwidth, the actual maximum bandwidth of the network device in different scenarios is obtained. The method has strong adaptability and greatly improved accuracy. Then, the position of the signal extender is adjusted to make the bandwidth of the extended network approximately equal to that of the extended network, thereby solving the problem of bandwidth waste and inability to achieve bandwidth balanced configuration due to bandwidth imbalance between the extended network and the extended network. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 It is a flow chart of a method for adjusting the position of a signal extender provided by an embodiment of the present invention;

[0047] Figure 2 It is a structural schematic diagram of a position adjustment device of a signal extender provided by an embodiment of the present invention;

[0048] Figure 3 It is a schematic diagram of a terminal device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0049] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions 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 are within the scope of protection of the present invention.

[0050] See also Figure 1 , is a flow chart of a method for adjusting the position of a signal extender provided in this embodiment of the present invention, the method comprising steps S1 to S4:

[0051] S1. Obtain the first basic maximum bandwidth and the first interference variable of the signal extender in the current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for the channel;

[0052] S2. Calculate a first actual maximum bandwidth corresponding to the signal extender at the current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient;

[0053] S3, obtaining a second actual maximum bandwidth of the expanded device;

[0054] S4. According to the first actual maximum bandwidth and the second actual maximum bandwidth, the position of the signal extender is adjusted so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0055] Specifically, the first basic maximum bandwidth and the first interference variable of the signal extender in the current communication environment are obtained. The first basic maximum bandwidth refers to the bandwidth of the signal extender in an ideal communication environment, that is, a signal shielding and non-competition environment. According to the first basic maximum bandwidth and the first interference variable, the actual maximum bandwidth of the signal extender can be obtained. Among them, the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient. The first idle transmission opportunity parameter is the percentage of time when the signal extender is idle and its channel does not have any other communication signal in a unit time, that is, the current channel of the signal extender does not have a wifi signal or a non-wifi signal. The first idle transmission opportunity parameter can also be understood as the ratio of the idle transmittable time of the signal extender's channel to the total time per unit time. The acquisition of the first idle transmission opportunity parameter can be obtained by the signal extender's own port physical layer (Physical, PHY) carrier monitoring. In an interference environment, there are other wifi signals, this value will be less than 100%, and under complete shielding and no channel competition, the transmission opportunity is close to 100%. The first competition coefficient is the percentage of time that the signal extender strives for a channel when it is in channel competition with other communication devices. It is worth noting that the channel that the signal extender strives for here is the channel of other communication equipment, thereby obtaining additional bandwidth.

[0056] The first actual maximum bandwidth corresponding to the signal extender at the current position is calculated based on the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient. When the position of the signal extender is adjusted, the first idle transmission opportunity parameter and the first competition coefficient will change accordingly, thereby changing the first actual maximum bandwidth.

[0057] Obtain the second actual maximum bandwidth of the expanded device. The second actual maximum bandwidth of the expanded device can be read through a pre-developed first collection software, which can be written in a programming language such as C language. The software has two functions: (1) calling the software driver interface to obtain the radio frequency parameters of the expanded device; (2) reading relevant data of a pre-set bandwidth database, which stores the second basic maximum bandwidth of the expanded device under different radio frequency parameters. Therefore, after obtaining the second interference variable of the expanded device under the current communication environment, the second actual maximum bandwidth of the expanded device can be calculated through the second basic maximum bandwidth and the second interference variable. In addition, when the signal extender and the expanded device both run the collection software, they can exchange bandwidth data through the TCP / IP protocol. When the expanded device is a router, the second actual maximum bandwidth is the actual maximum bandwidth of the router.

[0058] According to the first actual maximum bandwidth and the second actual maximum bandwidth, the position of the signal extender is adjusted so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range. In other words, the position of the signal extender is adjusted so that the second actual maximum bandwidth is as equal to the adjusted first actual maximum bandwidth as possible.

[0059] This embodiment of the present invention provides a method for adjusting the position of a signal extender, which can accurately calculate the actual bandwidth of the extended network, thereby solving the problem of bandwidth waste and inability to achieve bandwidth balance configuration caused by bandwidth imbalance between the extended network and the extending network.

[0060] As an improvement of the above scheme, the calculation formula of the first competition coefficient is δ1=(α1-β1)÷(1-β1), where δ1 is the first competition coefficient, α1 is the first transmission time percentage, and the first transmission time percentage refers to the percentage of time that the signal extender transmits signals per unit time; β1 is the first idle transmission opportunity parameter.

[0061] Specifically, the calculation formula of the first competition coefficient is δ1=(α1-β1)÷(1-β1), where δ1 is the first competition coefficient, α1 is the first transmission time percentage, and the first transmission time percentage refers to the time percentage of the signal extender performing signal transmission in unit time, that is, the first transmission time percentage includes the first idle transmission opportunity parameter and the time percentage for channel competition; β1 is the first idle transmission opportunity parameter.

[0062] As an improvement of the above solution, the first actual maximum bandwidth corresponding to the signal extender at the current position is calculated according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, specifically including:

[0063] According to the formula A1 = A a {β1+(1-β1)×δ1} calculates the first actual maximum bandwidth A1 corresponding to the signal extender at the current position, A a is the first basic maximum bandwidth.

[0064] Specifically, according to the formula A1=A a {β1+(1-β1)×δ1} calculates the first actual maximum bandwidth A1 corresponding to the current position of the signal extender, A a The calculation in this embodiment of the present invention corresponds to the interference variables only having the first idle transmission opportunity parameter and the first competition coefficient. According to these two interference variables, the calculation formula of the first actual maximum bandwidth is A1=A a {β1+(1-β1)×δ1}, if the interference variable changes, the calculation formula of the first actual maximum bandwidth will change accordingly. For example, when the interference variable is only the first idle transmission opportunity parameter, the calculation formula of the first actual maximum bandwidth is A1=A a β1.

[0065] As an improvement of the above solution, the first interference variable also includes a first packet loss rate; then,

[0066] The calculating, according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, to obtain a first actual maximum bandwidth corresponding to the signal extender at the current position specifically includes:

[0067] According to the formula A1 = A a {β1+(1-β1)×δ1}×(1-ε1) is used to calculate the first actual maximum bandwidth A1 corresponding to the current position of the signal extender, A a is the first basic maximum bandwidth, and ε1 is the first packet loss rate.

[0068] Specifically, the first interference variable also includes a first packet loss rate, that is, the first interference variable includes a first idle transmission opportunity parameter, a first competition coefficient and a first packet loss rate; then,

[0069] The calculating, according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, to obtain a first actual maximum bandwidth corresponding to the signal extender at the current position specifically includes:

[0070] According to the formula A1 = A a {β1+(1-β1)×δ1}×(1-ε1) is used to calculate the first actual maximum bandwidth A1 corresponding to the current position of the signal extender, A a is the first basic maximum bandwidth, and ε1 is the first packet loss rate.

[0071] Packet loss rate refers to the proportion of data packets that the receiver does not receive per unit time in an interference environment, or the proportion of erroneous data packets to the total data packets. When obtaining the basic maximum bandwidth, the packet loss rate is close to 0% because the communication environment is an ideal environment without interference. In the case of interference, the packet loss rate will be a floating value. These erroneous packets or packets that fail to be sent for other reasons cannot be calculated in the actual bandwidth because they are not valid transmission data. Therefore, the final actual bandwidth calculation should also be corrected by adding this factor. Therefore, the actual bandwidth corrected by the packet loss rate is more accurate than the actual bandwidth that has not been corrected, and is closer to the actual maximum bandwidth of the signal extender in the current communication environment.

[0072] As an improvement of the above solution, the step of obtaining the first basic maximum bandwidth and the first interference variable of the signal extender under the current communication environment specifically includes:

[0073] Acquire a first radio frequency parameter of the signal extender, and obtain the first basic maximum bandwidth of the signal extender according to a pre-stored correspondence between the first radio frequency parameter and the first basic maximum bandwidth;

[0074] Acquire a first idle transmission opportunity parameter and the first contention coefficient of the signal extender in a current communication environment.

[0075] Specifically, the first radio frequency parameter of the signal extender is acquired, and the first basic maximum bandwidth of the signal extender is obtained according to the pre-stored correspondence between the first radio frequency parameter and the first basic maximum bandwidth. Preferably, the correspondence between the first radio frequency parameter and the first basic maximum bandwidth is stored in a bandwidth database.

[0076] A first idle transmission opportunity parameter and a first contention coefficient of the signal extender in the current communication environment are obtained.

[0077] The bandwidth database records the corresponding transmit (transport, TX) and receive (receive, RX) direction throughput of the signal extender under different RF parameters in a signal shielded and non-competitive environment. During the measurement process, the device under test (i.e., the signal extender) and the accompanying device under test are used in the topology, and a communication connection is established between them, preferably a WiFi connection. The accompanying device includes a network card or extender that supports the WiFi protocol. Two PCs are used to control the device under test and the accompanying device under test respectively, and traffic software is used on the PC to measure the throughput of the device under test in the TX and RX directions multiple times by changing the RF parameters, and record them in the database.

[0078] RF parameters are divided into two categories: TX and RX:

[0079] The TX category includes: transmission mode (STBC, TXBF, CDD, MIMO), number of spatial streams, bandwidth, ampdu aggregation switch, protocol standard (802.11abgn / ac / ax), frame protection interval, and temperature;

[0080] The RX category includes: receiving mode (STBC, CDD, MIMO), received signal strength (RSSI), number of spatial streams, bandwidth, ampdu aggregation switch, protocol standard (802.11abgn / ac / ax), frame protection interval, and temperature;

[0081] Each time one of the parameters is changed, the corresponding throughput and RF variables are automatically read and recorded using the second collection software and input into the bandwidth database. This establishes a basic bandwidth model in an ideal shielded and non-competition environment. In actual work, these directly accessible RF parameters are read by the software to estimate the basic maximum bandwidth under the current ideal conditions.

[0082] The bandwidth database of the expanded device can also be measured and established according to the above method for use.

[0083] It should be noted that the second collection software is pre-developed and can be written in programming languages ​​such as C or Python. The program is divided into two parts. One part runs on the control PC and is used to call the iperf software to obtain the throughput; the other part runs on the device under test and is used to call the software driver interface to obtain the RF parameters of the device under test and transmit them to the program on the control PC through the TCP / IP protocol. The program on the control PC integrates the throughput and RF parameters, stores them in the bandwidth database, and then saves them on the flash storage medium of the device under test.

[0084] As an improvement of the above solution, the acquiring the first idle transmission opportunity parameter and the first competition coefficient of the signal extender in the current communication environment specifically includes:

[0085] Under the current communication environment, obtaining a plurality of idle transmission opportunity parameters and a plurality of contention coefficients of the signal extender within a preset time;

[0086] Calculate the average of multiple idle transmission opportunity parameters of the signal extender, and use the calculated average value as the first idle transmission opportunity parameter;

[0087] The maximum value among the multiple competition coefficients of the signal extender is used as the current competition coefficient of the signal extender, and the competition coefficient adjusted in the last round of the signal extender is compared with the current competition coefficient, and the larger value of the two is used as the first competition coefficient.

[0088] Specifically, because the idle transmission opportunity parameters and contention coefficients are dynamically fluctuating, multiple acquisitions are required to reduce errors. Therefore, in the current communication environment, multiple idle transmission opportunity parameters and multiple contention coefficients of the signal extender within a preset time are acquired;

[0089] The plurality of idle transmission opportunity parameters of the signal extender are averaged and the average value obtained is used as the first idle transmission opportunity parameter, that is, the size of the first idle transmission opportunity parameter is determined by using the average method.

[0090] The maximum value among the multiple competition coefficients of the signal extender is used as the current competition coefficient of the signal extender, and the competition coefficient adjusted in the previous round of the signal extender is compared with the current competition coefficient, and the larger value of the two is used as the first competition coefficient. The approximation method is used, and after multiple rounds of comparison, the maximum bandwidth algorithm is made more accurate.

[0091] As an improvement of the above solution, the step of obtaining the second actual maximum bandwidth of the expanded device specifically includes:

[0092] Obtain a second basic maximum bandwidth and a second interference variable of the expanded device in the current communication environment; wherein the second interference variable includes a second idle transmission opportunity parameter, a second competition coefficient corresponding to the expanded device when performing channel competition, and a second packet loss rate, and the second idle transmission opportunity parameter is the percentage of time when the expanded device is idle and its channel does not have any other communication signal in a unit time; the calculation formula of the second competition coefficient is δ2=(α2-β2)÷(1-β2), δ2 is the second competition coefficient, α2 is the second transmission time percentage, and the second transmission time percentage refers to the percentage of time that the expanded device performs signal transmission in a unit time; β2 is the second idle transmission opportunity parameter;

[0093] According to the formula A2 = A b{β2+(1-β2)×δ2}×(1-ε2) is used to calculate the second actual maximum bandwidth A2 corresponding to the extended device at the current position, A b is the second basic maximum bandwidth, and ε2 is the second packet loss rate.

[0094] Specifically, this embodiment of the present invention also uses the bandwidth calculation method of the signal extender to obtain the bandwidth of the extended device, as follows:

[0095] Obtain the second basic maximum bandwidth and the second interference variable of the expanded device in the current communication environment; wherein the second interference variable includes a second idle transmission opportunity parameter, a second competition coefficient corresponding to the expanded device when competing for a channel, and a second packet loss rate, and the second idle transmission opportunity parameter is the percentage of time when the expanded device is idle and its channel does not have any other communication signal in a unit time; the calculation formula of the second competition coefficient is δ2=(α2-β2)÷(1-β2), δ2 is the second competition coefficient, α2 is the second transmission time percentage, and the second transmission time percentage refers to the percentage of time that the expanded device performs signal transmission in a unit time; β2 is the second idle transmission opportunity parameter.

[0096] The second basic maximum bandwidth can also be obtained according to the second radio frequency parameter of the expanded device and the corresponding relationship between the second radio frequency parameter and the second basic maximum bandwidth. The parameters included in the second interference variable are similar to those in the first interference variable, and the corresponding meanings are the same, which will not be repeated here.

[0097] According to the formula A2 = A b {β2+(1-β2)×δ2}×(1-ε2) is used to calculate the second actual maximum bandwidth A2 corresponding to the current position of the extended device. b is the second basic maximum bandwidth, and ε2 is the second packet loss rate. Similarly, the calculation of the second actual maximum bandwidth is similar to the calculation of the first actual maximum bandwidth, which will not be repeated here.

[0098] As an improvement of the above scheme, the position of the signal extender is adjusted according to the first actual maximum bandwidth and the second actual maximum bandwidth so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically including:

[0099] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range;

[0100] If the first actual maximum bandwidth is smaller than the second actual maximum bandwidth, the position of the signal extender is adjusted so that the signal extender is close to the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0101] Specifically, if the first actual maximum bandwidth is greater than the second actual maximum bandwidth, the position of the signal extender is adjusted to keep the signal extender away from the extended device so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0102] If the first actual maximum bandwidth is smaller than the second actual maximum bandwidth, the position of the signal extender is adjusted so that the signal extender is close to the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0103] This is to avoid the situation where the extended network and the extended network always use the smaller bandwidth as the bottleneck for transmission when the bandwidth is not equal, thus causing bandwidth waste. Therefore, when adjusting the position of the signal extender, the extended network should be made equal to the extended network as much as possible, so as to optimize the overall network, reduce bandwidth waste, and improve the extension range and throughput.

[0104] As an improvement of the above solution, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then,

[0105] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically includes:

[0106] If the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device until the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range;

[0107] And, if the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, adjust the position of the signal extender so that the signal extender is close to the expanded device until the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range.

[0108] Specifically, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth TX1 and a first actual downlink maximum bandwidth RX1, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth TX2 and a second actual downlink maximum bandwidth RX2; then,

[0109] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically includes:

[0110] If the first actual uplink maximum bandwidth TX1 is greater than the second actual uplink maximum bandwidth TX2, the position of the signal extender is adjusted so that the signal extender is away from the extended device until the difference between the second actual uplink maximum bandwidth TX2 and the adjusted first actual uplink maximum bandwidth TX1 is within a preset range;

[0111] And, if the first actual downlink maximum bandwidth RX1 is greater than the second actual downlink maximum bandwidth RX2, the position of the signal extender is adjusted so that the signal extender is close to the expanded device until the difference between the second actual downlink maximum bandwidth RX2 and the adjusted first actual downlink maximum bandwidth RX1 is within a preset range.

[0112] That is to say, when adjusting the position of the signal extender, the actual maximum uplink bandwidth TX and the actual maximum downlink bandwidth RX of the signal extender and the extended device should be made equal as much as possible.

[0113] As an improvement of the above solution, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then,

[0114] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the wireless signal extender until the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically including:

[0115] If the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, and the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device;

[0116] If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are not within a preset range, then continue to adjust the position of the signal extender so that the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range;

[0117] If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is not within the preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are within the preset range, the adjustment is terminated.

[0118] Specifically, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth TX1 and a first actual downlink maximum bandwidth RX1, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth TX2 and a second actual downlink maximum bandwidth RX2; then,

[0119] If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the wireless signal extender until the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically including:

[0120] If the first actual uplink maximum bandwidth TX1 is greater than the second actual uplink maximum bandwidth TX2, and the first actual downlink maximum bandwidth RX1 is greater than the second actual downlink maximum bandwidth RX2, then adjust the position of the signal extender so that the signal extender is away from the extended device;

[0121] If the difference between the second actual uplink maximum bandwidth TX2 and the adjusted first actual uplink maximum bandwidth TX1 is within the preset range, and the second actual downlink maximum bandwidth RX2 and the adjusted first actual downlink maximum bandwidth RX1 are not within the preset range, that is, TX2≈TX1, RX2≠RX1, then continue to adjust the position of the signal extender so that the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within the preset range;

[0122] If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is not within the preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are within the preset range, that is, TX2≠TX1, RX2≈RX1, the adjustment is terminated.

[0123] In other words, if the upstream bandwidth and the downstream bandwidth cannot be equal at the same time, the downstream bandwidth is preferentially adapted.

[0124] See also Figure 2, is a schematic diagram of the structure of a position adjustment device for a signal extender provided in this embodiment of the present invention, the device comprising:

[0125] The information acquisition module 11 is used to obtain the first basic maximum bandwidth and the first interference variable of the signal extender in the current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for the channel;

[0126] A calculation module 12, configured to calculate a first actual maximum bandwidth corresponding to the signal extender at a current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first contention coefficient;

[0127] The bandwidth acquisition module 13 is used to acquire the second actual maximum bandwidth of the expanded device;

[0128] The position adjustment module 14 is used to adjust the position of the signal extender according to the first actual maximum bandwidth and the second actual maximum bandwidth, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0129] Preferably, the calculation formula of the first competition coefficient is δ1=(α1-β1)÷(1-β1), δ1 is the first competition coefficient, α1 is the first transmission time percentage, and the first transmission time percentage refers to the percentage of time that the signal extender transmits signals per unit time; β1 is the first idle transmission opportunity parameter.

[0130] Preferably, the calculation module 12 is specifically used for:

[0131] According to the formula A1 = A a {β1+(1-β1)×δ1} calculates the first actual maximum bandwidth A1 corresponding to the signal extender at the current position, A a is the first basic maximum bandwidth.

[0132] Preferably, the first interference variable also includes a first packet loss rate; then,

[0133] The calculation module 12 is specifically used for:

[0134] According to the formula A1 = A a {β1+(1-β1)×δ1}×(1-ε1) is used to calculate the first actual maximum bandwidth A1 corresponding to the current position of the signal extender, Aa is the first basic maximum bandwidth, and ε1 is the first packet loss rate.

[0135] Preferably, the information acquisition module 11 includes:

[0136] A basic bandwidth acquisition unit, configured to acquire a first radio frequency parameter of the signal extender, and obtain the first basic maximum bandwidth of the signal extender according to a pre-stored correspondence between the first radio frequency parameter and the first basic maximum bandwidth;

[0137] The interference variable acquisition unit is used to acquire the first idle transmission opportunity parameter and the first contention coefficient of the signal extender under the current communication environment.

[0138] Preferably, the interference variable acquisition unit includes:

[0139] A collection subunit, used for obtaining a plurality of idle transmission opportunity parameters and a plurality of contention coefficients of the signal extender within a preset time under a current communication environment;

[0140] a mean value calculation subunit, configured to perform mean value calculation on a plurality of idle transmission opportunity parameters of the signal extender, and use the calculated mean value as the first idle transmission opportunity parameter;

[0141] A comparison subunit is used to take the maximum value among the multiple competition coefficients of the signal extender as the current competition coefficient of the signal extender, and compare the competition coefficient adjusted in the last round of the signal extender with the current competition coefficient, and take the larger value of the two as the first competition coefficient.

[0142] Preferably, the bandwidth acquisition module 13 includes:

[0143] An information acquisition unit is used to acquire a second basic maximum bandwidth and a second interference variable of the expanded device under the current communication environment; wherein the second interference variable includes a second idle transmission opportunity parameter, a second competition coefficient corresponding to the expanded device when performing channel competition, and a second packet loss rate, wherein the second idle transmission opportunity parameter is the percentage of time when the expanded device is idle and its channel does not have any other communication signal within a unit time; the calculation formula of the second competition coefficient is δ2=(α2-β2)÷(1-β2), δ2 is the second competition coefficient, α2 is the second transmission time percentage, and the second transmission time percentage refers to the percentage of time when the expanded device performs signal transmission within a unit time; β2 is the second idle transmission opportunity parameter;

[0144] A calculation unit for calculating the b{β2+(1-β2)×δ2}×(1-ε2) is used to calculate the second actual maximum bandwidth A2 corresponding to the extended device at the current position, A b is the second basic maximum bandwidth, and ε2 is the second packet loss rate.

[0145] Preferably, the position adjustment module 14 includes:

[0146] A first adjustment unit is used for adjusting the position of the signal extender if the first actual maximum bandwidth is greater than the second actual maximum bandwidth, so that the signal extender is away from the extended device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range;

[0147] The second adjustment unit is used to adjust the position of the signal extender if the first actual maximum bandwidth is smaller than the second actual maximum bandwidth, so that the signal extender is close to the expanded device, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0148] Preferably, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then,

[0149] The first adjustment unit comprises:

[0150] a first adjustment subunit, configured to adjust the position of the signal extender if the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, so that the signal extender is away from the extended device, until the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range;

[0151] And, a second adjustment subunit is used to adjust the position of the signal extender if the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, so that the signal extender is close to the expanded device until the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range.

[0152] Preferably, the first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then,

[0153] The first adjustment unit comprises:

[0154] A third adjustment subunit is used for adjusting the position of the signal extender to make the signal extender away from the extended device if the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth and the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth;

[0155] a fourth adjustment subunit, configured to, if the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are not within the preset range, continue to adjust the position of the signal extender so that the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range;

[0156] The fifth adjustment subunit is configured to terminate the adjustment if the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is not within a preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are within a preset range.

[0157] A signal extender position adjustment device provided in an embodiment of the present invention can implement all processes of the signal extender position adjustment method described in any of the above embodiments. The functions of each module and unit in the device and the technical effects achieved are respectively the same as the functions and technical effects achieved by the signal extender position adjustment method described in the above embodiments, and will not be repeated here.

[0158] See also Figure 3 , is a schematic diagram of a terminal device provided in this embodiment of the present invention, wherein the terminal device includes a processor 10, a memory 20, and a computer program stored in the memory 20 and configured to be executed by the processor 10, and when the processor 10 executes the computer program, the position adjustment method of the signal extender described in any of the above embodiments is implemented.

[0159] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 20 and executed by the processor 10 to complete the present invention. One or more modules / units may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the position adjustment of a signal extender. For example, the computer program may be divided into an information acquisition module, a calculation module, a bandwidth acquisition module, and a position adjustment module, and the specific functions of each module are as follows:

[0160] The information acquisition module 11 is used to obtain the first basic maximum bandwidth and the first interference variable of the signal extender in the current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for the channel;

[0161] A calculation module 12, configured to calculate a first actual maximum bandwidth corresponding to the signal extender at a current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first contention coefficient;

[0162] The bandwidth acquisition module 13 is used to acquire the second actual maximum bandwidth of the expanded device;

[0163] The position adjustment module 14 is used to adjust the position of the signal extender according to the first actual maximum bandwidth and the second actual maximum bandwidth, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range.

[0164] The terminal device may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The terminal device may include, but is not limited to, a processor and a memory. Figure 3 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0165] The processor 10 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor 10 may also be any conventional processor, etc. The processor 10 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device.

[0166] The memory 20 can be used to store the computer programs and / or modules. The processor 10 implements various functions of the terminal device by running or executing the computer programs and / or modules stored in the memory 20 and calling the data stored in the memory 20. The memory 20 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc. In addition, the memory 20 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0167] Wherein, if the module integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Wherein, the above-mentioned computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0168] An embodiment of the present invention further provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the signal extender position adjustment method described in any of the above embodiments.

[0169] In summary, the method, device, terminal device and storage medium for adjusting the position of a signal extender provided by the embodiments of the present invention can accurately obtain the basic bandwidth corresponding to the signal extender and the extended device under different radio frequency parameters by establishing a basic bandwidth model of the device; it also cleverly obtains interference variables according to the actual communication environment, and uses interference variables such as idle transmission opportunity parameters, competition coefficients and packet loss rates to correct the basic bandwidth to obtain a more accurate actual bandwidth, which is suitable for dynamically estimating the maximum bandwidth of network devices in different scenarios, has strong adaptability, and greatly improves accuracy. Therefore, the present invention can accurately calculate the actual bandwidth of the extended network and the extended network, thereby solving the problem of bandwidth waste and inability to achieve bandwidth balanced configuration caused by the imbalance of bandwidth between the extended network and the extended network, and by adjusting the position of the signal extender, the bandwidth of the signal extender and the extended device are approximately equal, thereby improving the coverage of the extended network and reducing the bandwidth waste of the overall network.

[0170] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for adjusting the position of a signal extender, characterized in that: include: Obtaining a first basic maximum bandwidth and a first interference variable of the signal extender in the current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for a channel; Calculate a first actual maximum bandwidth corresponding to the signal extender at the current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient; Obtaining a second actual maximum bandwidth of the extended device; According to the first actual maximum bandwidth and the second actual maximum bandwidth, adjusting the position of the signal extender so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range; The first interference variable also includes a first packet loss rate; then, The calculating, according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, to obtain a first actual maximum bandwidth corresponding to the signal extender at the current position specifically includes: According to the formula Calculate the first actual maximum bandwidth corresponding to the signal extender at the current position A 1, A a is the first basic maximum bandwidth, ε 1 is the first packet loss rate, β 1 is the first idle transmission opportunity parameter, δ 1 is the first competition coefficient; The obtaining of the second actual maximum bandwidth of the expanded device specifically includes: Obtain the second basic maximum bandwidth and the second interference variable of the expanded device in the current communication environment; wherein the second interference variable includes a second idle transmission opportunity parameter, a second competition coefficient corresponding to the expanded device when performing channel competition, and a second packet loss rate, and the second idle transmission opportunity parameter is the percentage of time when the expanded device is idle and its channel does not have any other communication signal in a unit time; the calculation formula of the second competition coefficient is: , δ 2 is the second competition coefficient, α 2 is a second transmission time percentage, which refers to the time percentage of the extended device performing signal transmission in a unit time; β 2 is the second idle transmission opportunity parameter; According to the formula Calculate and obtain the second actual maximum bandwidth corresponding to the expanded device at the current location A 2, A b is the second basic maximum bandwidth, ε 2 is the second packet loss rate; The first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then, If the first actual maximum bandwidth is greater than the second actual maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device until the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range, specifically including: If the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, and the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device; If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are not within a preset range, then continue to adjust the position of the signal extender so that the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range; If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is not within the preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are within the preset range, the adjustment is terminated.

2. The method for adjusting the position of a signal extender according to claim 1, wherein: The calculation formula of the first competition coefficient is: , δ 1 is the first competition coefficient, α 1 is a first transmission time percentage, which refers to the time percentage of the signal extender performing signal transmission in a unit time; β 1 is the first idle transmission opportunity parameter.

3. The method for adjusting the position of a signal extender according to claim 2, wherein: The calculating, according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first competition coefficient, to obtain a first actual maximum bandwidth corresponding to the signal extender at the current position specifically includes: According to the formula Calculate the first actual maximum bandwidth corresponding to the signal extender at the current position A 1, A a is the first basic maximum bandwidth.

4. The method for adjusting the position of a signal extender according to claim 1, wherein: The obtaining of a first basic maximum bandwidth and a first interference variable of the signal extender under the current communication environment specifically includes: Acquire a first radio frequency parameter of the signal extender, and obtain the first basic maximum bandwidth of the signal extender according to a pre-stored correspondence between the first radio frequency parameter and the first basic maximum bandwidth; Acquire a first idle transmission opportunity parameter and the first contention coefficient of the signal extender in a current communication environment.

5. The method for adjusting the position of a signal extender according to claim 4, wherein: The obtaining of the first idle transmission opportunity parameter and the first competition coefficient of the signal extender under the current communication environment specifically includes: Under the current communication environment, obtaining a plurality of idle transmission opportunity parameters and a plurality of contention coefficients of the signal extender within a preset time; Calculate the average of multiple idle transmission opportunity parameters of the signal extender, and use the calculated average value as the first idle transmission opportunity parameter; The maximum value among the multiple competition coefficients of the signal extender is used as the current competition coefficient of the signal extender, and the competition coefficient adjusted in the last round of the signal extender is compared with the current competition coefficient, and the larger value of the two is used as the first competition coefficient.

6. A position adjustment device for a signal extender, characterized in that: include: An information acquisition module, used to obtain a first basic maximum bandwidth and a first interference variable of a signal extender in a current communication environment; wherein the first interference variable includes a first idle transmission opportunity parameter and a first competition coefficient; the first idle transmission opportunity parameter is the time percentage of the signal extender when its channel does not have any other communication signal in a unit time when the signal extender is idle; the first competition coefficient is the time percentage of the signal extender when competing with other communication devices for a channel; a calculation module, configured to calculate a first actual maximum bandwidth corresponding to the signal extender at a current position according to the first basic maximum bandwidth, the first idle transmission opportunity parameter and the first contention coefficient; A bandwidth acquisition module, used to acquire a second actual maximum bandwidth of the expanded device; a position adjustment module, configured to adjust the position of the signal extender according to the first actual maximum bandwidth and the second actual maximum bandwidth, so that the difference between the second actual maximum bandwidth and the adjusted first actual maximum bandwidth is within a preset range; The first interference variable also includes a first packet loss rate; then, The calculation module is also used for: According to the formula Calculate the first actual maximum bandwidth corresponding to the signal extender at the current position A 1, A a is the first basic maximum bandwidth, ε 1 is the first packet loss rate, β 1 is the first idle transmission opportunity parameter, δ 1 is the first competition coefficient; The bandwidth acquisition module is also used for: Obtain the second basic maximum bandwidth and the second interference variable of the expanded device in the current communication environment; wherein the second interference variable includes a second idle transmission opportunity parameter, a second competition coefficient corresponding to the expanded device when performing channel competition, and a second packet loss rate, and the second idle transmission opportunity parameter is the percentage of time when the expanded device is idle and its channel does not have any other communication signal in a unit time; the calculation formula of the second competition coefficient is: , δ 2 is the second competition coefficient, α 2 is a second transmission time percentage, which refers to the time percentage of the extended device performing signal transmission in a unit time; β 2 is the second idle transmission opportunity parameter; According to the formula Calculate and obtain the second actual maximum bandwidth corresponding to the expanded device at the current location A 2, A b is the second basic maximum bandwidth, ε 2 is the second packet loss rate; The first actual maximum bandwidth includes a first actual uplink maximum bandwidth and a first actual downlink maximum bandwidth, and the second actual maximum bandwidth includes a second actual uplink maximum bandwidth and a second actual downlink maximum bandwidth; then, The position adjustment module is also used for: If the first actual uplink maximum bandwidth is greater than the second actual uplink maximum bandwidth, and the first actual downlink maximum bandwidth is greater than the second actual downlink maximum bandwidth, adjusting the position of the signal extender so that the signal extender is away from the extended device; If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is within a preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are not within a preset range, then continue to adjust the position of the signal extender so that the difference between the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth is within a preset range; If the difference between the second actual uplink maximum bandwidth and the adjusted first actual uplink maximum bandwidth is not within the preset range, and the second actual downlink maximum bandwidth and the adjusted first actual downlink maximum bandwidth are within the preset range, the adjustment is terminated.

7. A terminal device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the position adjustment method of the signal extender as claimed in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the position adjustment method of the signal extender according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Measurement method of network performance parameter, sending end and receiving end

    CN107734537A

  • Throughput capacity optimization method and device, electronic device and computer readable storage medium

    CN109462860A

  • Wireless signal extension method, device, equipment and system

    CN110798870A

  • Contention window adjusting method and device of communication equipment, equipment and storage medium

    CN111818665A

  • Optimization method and device based on CSMA-CA back-off algorithm

    CN111918408A