Antenna selection method and related device
By setting a drop amplitude threshold in the intelligent antenna technology and reselecting the antenna combination, the problem of wrong or frequent triggering of antenna combination selection is solved, improving signal quality and user experience.
Patent Information
- Application Number
- CN202311341002.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-16
- Publication Date
- 2025-04-25
AI Technical Summary
In smart antenna technology, antenna combination selection is prone to error or frequent triggering, resulting in a decrease in signal quality and affecting the user's Internet experience.
By measuring the parameters in the case of antenna combination used by electronic devices, set the drop amplitude threshold. When the drop amplitude of the parameter is greater than the threshold, the antenna combination is reselected to reduce the possibility of false triggering or frequent triggering.
It effectively reduces the false triggering or frequent triggering of antenna selection, improves signal quality, and improves users' online experience.
Smart Images

Figure CN119892172A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an antenna selection method and related devices. Background Art
[0002] Antennas are components used to transmit or receive electromagnetic wave signals, and they can convert current in transmission lines and electromagnetic waves in space. Smart antenna technology adjusts antennas in real time according to the actual wireless channel environment, so that the system maintains optimal performance.
[0003] One implementation of smart antenna technology is to select different antenna combinations from an antenna array to form a directional beam, providing high-quality signals to receivers at different locations.
[0004] However, this smart antenna technology has the problem of false triggering or frequent triggering of the antenna combination selection. Summary of the invention
[0005] In view of this, the present application provides an antenna selection method and related devices to solve the problem that the antenna selection is triggered by mistake or frequently. The disclosed technical solution is as follows:
[0006] The first aspect of the present application provides an antenna selection method, which is applied to a first electronic device, and the first electronic device has multiple antenna combinations. The method includes: measuring parameters when the first electronic device uses the first antenna combination, the multiple antenna combinations include the first antenna combination, and in response to the decrease in the parameter being greater than a pre-configured decrease threshold, measuring the parameters corresponding to the multiple antenna combinations of the first electronic device, and selecting the antenna combination used by the first electronic device based on the parameters corresponding to the antenna combination of the first electronic device. Because the decrease threshold represents the fluctuation range of the parameter corresponding to the first distance, and the first distance is the distance between the first electronic device and the second electronic device as the communication counterpart, so the decrease is not greater than the decrease threshold, indicating that the decrease in the parameter is a normal fluctuation at the first distance, and the decrease is greater than the decrease threshold, indicating that the signal has degraded. In this case, reselecting the antenna combination can reduce the possibility of false triggering or frequent triggering of antenna selection.
[0007] In some implementations, the acquisition process of the pre-configured drop amplitude threshold includes: based on the correspondence between the pre-configured sub-interval and the drop amplitude threshold, selecting the sub-interval of the distance to which the parameter belongs, and using the drop amplitude threshold corresponding to the sub-interval to which the parameter belongs as the pre-configured drop amplitude threshold. Pre-configuring the correspondence can improve real-time performance.
[0008] In some implementations, the process of obtaining the drop amplitude threshold includes: based on the parameters measured at multiple random positions, obtaining the parameters corresponding to each random position (such as RSSposition_average ), get the parameter range corresponding to multiple random position points (such as (RSS position_average_min , RSS position_average_max ), the parameter range includes the parameters corresponding to each random position point, and the parameter range is divided into multiple sub-intervals. The parameter fluctuation range corresponding to the target sub-interval is: the union of the fluctuation sets of the target random position points, the target sub-interval is any sub-interval, the target random position point is the random position point corresponding to the parameter in the target sub-interval, and the fluctuation set of the target random position point is the parameter measured multiple times at the target random position point (such as RSS position_average_wave_range_17 ), based on the parameter fluctuation range corresponding to the sub-interval, obtain the decrease amplitude threshold corresponding to the sub-interval. The obtained decrease amplitude threshold can characterize the normal fluctuation range of the parameter at a certain distance from the first electronic device, laying a foundation for the subsequent determination of whether to select the antenna.
[0009] In some implementations, based on the parameters measured at multiple random position points, obtaining the parameters corresponding to each random position point includes: taking the average of the multiple parameters measured at the first random position point as the parameter corresponding to the first random position point, where the first random position point is any random position point. The average value can improve the universality of the parameter and reduce the impact caused by abnormal parameters.
[0010] In some implementations, the parameter includes: at least one of received signal strength RSS and reachable sum rate.
[0011] In some implementations, based on the parameters corresponding to the antenna combination of the first electronic device, an antenna combination used by the first electronic device is selected, including: obtaining fusion parameters based on the RSS and reachable sum rate of the antenna combination, and selecting a second antenna combination from multiple antenna combinations as the antenna combination used by the first electronic device based on the fusion parameters to obtain better performance.
[0012] In some implementations, the process of obtaining the decrease range of the parameter includes: obtaining the decrease range of the parameter based on the mean value of the parameter in the first observation window and the mean value of the parameter in the second observation window.
[0013] In some implementations, before measuring the parameters of multiple antenna combinations of the first electronic device in response to a parameter decrease amplitude being greater than a preconfigured decrease amplitude threshold, the method further includes: measuring the parameters of the omnidirectional antenna combination of the first electronic device to be no greater than a preset first threshold.
[0014] In some implementations, the method provided in the first aspect further includes: measuring a parameter of an omnidirectional antenna combination of the first electronic device that is greater than a first threshold, and selecting the omnidirectional antenna combination as the antenna combination used by the first electronic device. When the signal provided by the omnidirectional antenna can meet the demand, the omnidirectional antenna is directly selected without searching for an optimal directional antenna, which can save computing resources.
[0015] A second aspect of the present application provides a router, comprising: a processor and a memory, the memory being used to store program codes;
[0016] The processor is used to run the program code so that the router implements the antenna selection method provided in the first aspect of the present application.
[0017] A third aspect of the present application provides a readable storage medium having instructions stored thereon. When the instructions are executed on an electronic device, the electronic device executes the antenna selection method provided in the first aspect of the present application.
[0018] The fourth aspect of the present application provides a chip system, comprising: at least one processor and an interface, the interface being used to receive code instructions and transmit them to at least one processor; at least one processor executes the code instructions to implement the antenna selection method provided in the first aspect of the present application.
[0019] A fifth aspect of the present application provides a computer program product on which an execution program is stored. When the computer program product is run on an electronic device, the electronic device implements the antenna selection method provided in the first aspect of the present application.
[0020] It should be understood that the description of technical features, technical solutions, beneficial effects or similar language in this application does not imply that all features and advantages can be realized in any single embodiment. On the contrary, it is understood that the description of features or beneficial effects means that specific technical features, technical solutions or beneficial effects are included in at least one embodiment. Therefore, the description of technical features, technical solutions or beneficial effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and beneficial effects described in the present embodiment can also be combined in any appropriate manner. Those skilled in the art will understand that the embodiment can be realized without one or more specific technical features, technical solutions or beneficial effects of a specific embodiment. In other embodiments, additional technical features and beneficial effects can also be identified in a specific embodiment that does not embody all embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0022] Figure 1 The following are examples of the coverage of the omnidirectional antenna and the directional antenna on the router.
[0023] Figure 2 This is an example of the RSS fluctuation range when the STA is located at the center of the sector within the antenna coverage area and at different distances from the AP;
[0024] Figure 3 This is an example of the RSS fluctuation range when the STA is at the sector boundary of the antenna coverage area and at different distances from the AP;
[0025] Figure 4 A flowchart of a method for selecting an antenna disclosed in an embodiment of the present application;
[0026] Figure 5 A flowchart of a method for obtaining a parameter drop amplitude threshold value disclosed in an embodiment of the present application;
[0027] Figure 6 A schematic diagram of the time nodes for determining whether to perform the antenna selection algorithm based on the observation window;
[0028] Figure 7 This is an example of the fluctuation range of the RSS fluctuation value of the STA after taking different averages when the STA is at the center of the sector and at different distances from the AP. DETAILED DESCRIPTION
[0029] The terms "first", "second", "third", etc. in the specification, claims and drawings of this application are used to distinguish different objects rather than to limit a specific order.
[0030] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0031] An example of an application scenario of the smart antenna technology is a wireless fidelity (Wi-Fi) scenario.
[0032] In a Wi-Fi scenario, access points (APs) and stations (STAs) communicate based on Wi-Fi technology. Antennas are essential components for Wi-Fi communication. Antennas can be divided into omnidirectional antennas and directional antennas according to their directivity. In the embodiments of the present application, a router as an AP includes an omnidirectional antenna and a directional antenna as an example.
[0033] Figure 1 An example of coverage from an omnidirectional antenna on a router versus coverage from a directional antenna. Figure 1 In the figure, the whole circle represents the coverage of the omnidirectional antenna, the radius of the whole circle represents the signal strength of the omnidirectional antenna, the sector represents the coverage of each directional antenna, and the radius of the sector represents the signal strength of the directional antenna. It can be seen that the omnidirectional antenna can cover the omnidirectional range, while the directional antenna can only cover the sector range in one direction. Taking three groups of directional antennas as an example, each group of directional antennas covers a sector area. Although the coverage range of the directional antenna is small, the signal strength is greater than that of the omnidirectional antenna.
[0034] One implementation of smart antenna technology is to select different antenna combinations from the antenna array to form a directional beam, providing high-quality signals to receivers at different locations. Specifically, the AP selects the antenna combination by measuring changes in some parameters.
[0035] The inventors found in the process of research that the application environment of Wi-Fi technology is usually indoors. Due to the rich scattering environment of indoor channels, the parameters used as the basis for selecting antenna combinations, such as received signal strength (RSS) and reachable sum rate, are easily affected by multiple factors such as shadow fading and multipath effects, causing disturbances. For example, in a home environment, the user's flipping of the phone or body tilting will cause fluctuations in RSS and reachable sum rate.
[0036] The inventors have found that the fluctuation range of RSS and reachable rate is large, and the fluctuation range is related to the location of the STA (including the distance from the AP, and the sector center or sector boundary within the antenna coverage range).
[0037] Figure 2 This is an example of the RSS fluctuation range when the STA is at the center of the sector covered by the antenna and is 1 meter, 5 meters, 10 meters, 15 meters, and 20 meters away from the AP. Taking the curve corresponding to the STA being 20 meters away from the AP as an example, the RSS fluctuation range is [-25dBm, -13dBm].
[0038] Figure 3The following are examples of RSS fluctuation ranges when the STA is at the sector boundary of the antenna coverage range and is 1 meter, 5 meters, 10 meters, 15 meters, and 20 meters away from the AP.
[0039] from Figure 2 and Figure 3 It can be seen that no matter the STA is in the center or boundary of the sector within the antenna coverage area, or at the distance from the AP, the RSS fluctuation range is large.
[0040] The reachability and rate are similar to RSS and also have a large fluctuation range.
[0041] A large fluctuation range of RSS and reachable sum rate will cause false triggering or frequent triggering of antenna combination selection. False triggering can be understood as the signal quality provided by the antenna combination currently used by the AP can meet the communication requirements of the STA and the AP, that is, there is no need to reselect the antenna combination, but because the parameters (at least one of the RSS and reachable sum rate) change greatly, the antenna is still reselected. Frequent triggering can be understood as the selection of an antenna combination in a short period of time due to frequent fluctuations in parameters. The reason for the frequent fluctuations in parameters is the large fluctuation range.
[0042] When the AP reselects the antenna, the signal quality will be reduced, which will have a negative impact on the user's Internet experience.
[0043] In order to solve the problem of false triggering or frequent triggering of antenna combination selection, an embodiment of the present application provides an antenna selection method. The method is applied to electronic devices with wireless communication functions (such as Wi-Fi), including but not limited to routers.
[0044] Figure 4 An antenna selection method disclosed in an embodiment of the present application includes the following steps:
[0045] S11. Measure whether the RSS of the omnidirectional antenna combination is greater than a first threshold.
[0046] It can be understood that the first threshold has been pre-acquired before S11.
[0047] In some implementations, the first threshold is obtained by measuring the noise of the received signal and obtaining the first threshold based on the difference between the noise and the first value.
[0048] The first value is obtained based on a root mean square (expressed as RMS EVM) of a ratio of a minimum average error vector power corresponding to a modulation mode supported by the AP to an average reference power.
[0049] RMS EVM is expressed as a percentage of an EVM normalized reference value and is used to characterize the performance of transmitters and receivers in an AP.
[0050] Table 1 is an example of RMS EVM corresponding to various modulation modes under the 802.11ac standard. The smaller the RMS EVM, the higher the transmission rate of the transmitter and the receiver. In order to ensure that the AP provides a higher transmission rate (that is, the AP has better performance) to obtain a better user Internet experience, in some implementations, the absolute value of the minimum RMS EVM corresponding to the modulation mode supported by the AP is used as the first value.
[0051] In Table 1, the minimum value of the RMS EVM corresponding to the various modulation modes is -32 dB, so the example of the first value is 32 dB.
[0052] Table 1
[0053] Modulation type Bitrate RMS EVM(dB) BPSK 1 / 2 -5 QPSK 1 / 2 -10 QPSK 3 / 4 -13 16-QAM 1 / 2 -16 16-QAM 3 / 4 -19 64-QAM 2 / 3 -22 64-QAM 3 / 4 -25 64-QAM 5 / 6 -27 256-QAM 3 / 4 -30 256-QAM 5 / 6 -32
[0054] If the RSS of the omnidirectional antenna combination is greater than the first threshold, it means that the omnidirectional antenna combination can provide a signal that meets the communication requirements, so S12 is executed. If the RSS of the omnidirectional antenna combination is not greater than the first threshold, it means that the omnidirectional antenna combination cannot provide a signal that meets the communication requirements, so S13 is executed.
[0055] S12. Select an omnidirectional antenna combination to transmit signals.
[0056] The process ends after executing S12, that is, when the omnidirectional antenna combination can provide a signal that meets the requirements, there is no need to select a directional antenna, thereby achieving the purpose of saving resources.
[0057] S13: Measure whether the RSS drop of the antenna combination in use is greater than a second threshold.
[0058] It is understandable that the antenna combination being used may be an omnidirectional antenna combination or a directional antenna combination.
[0059] In some implementations, in order to prevent false triggering or frequent triggering of antenna combination selection caused by RSS jitter, an observation window is set, and the RSS decrease amplitude is obtained by comparing the average value of RSS in the first observation window with the average value of RSS in the second observation window.
[0060] The first observation window and the second observation window are both time ranges. In order to obtain a more accurate decline, the length (duration) of the first observation window is the same as the duration of the second observation window. Figure 6As an example, the horizontal axis represents time, the first observation window is the historical time range (historical observation window), the second observation window is the current (i.e., execution S13) time range (current observation window), and Figure 6 In the figure, it is assumed that antenna combination 1 is used for communication in both the first observation window and the second observation window, and the difference between the average value of RSS in the current time range (referred to as the current average value) and the average value of RSS in the historical time range (referred to as the historical average value) is calculated as the decrease amplitude of RSS, and based on the decrease amplitude, it is determined whether to trigger the selection of the antenna at the time point indicated by the arrow.
[0061] The difference between the current average and the historical average is:
[0062]
[0063] i is an observation time (snapshot point) in the observation window. n is the observation time (snapshot point) at which the antenna selection algorithm is triggered. view_window is the length of the observation window. Figure 7 For a STA located at the center of a sector and 10 meters away from the AP, the fluctuation range of the RSS fluctuation value is averaged by different values. Figure 2 and Figure 7 It can be seen that the fluctuation range of RSS is reduced after averaging. In addition, the more observations used for averaging (RSS used for averaging), the smaller the fluctuation range. In practice, an appropriate number of observations can be selected based on needs.
[0064] As before, the fluctuation range of RSS is related to the location of the STA and the distance from the AP, for example Figure 2 and Figure 3 As shown. The STA's location and the distance from the AP are related to the RSS, that is, the STA's location is the RSS value from the data perspective. Therefore, in this embodiment, in order to make a more accurate decision on whether to select an antenna combination, in some implementations, the second threshold is configured based on the fluctuation range of the RSS corresponding to different distances, that is, the second threshold corresponds to the fluctuation range of the RSS corresponding to the current distance.
[0065] In this step, the correspondence between the sub-interval representing the distance from the AP and the decrease amplitude threshold is pre-configured. Taking Table 5 as an example, by querying the pre-configured correspondence table, the sub-interval to which the currently measured RSS (such as the average value of the RSS within the current time range) belongs in the correspondence table is obtained, and the decrease amplitude threshold corresponding to the sub-interval is further obtained as the second threshold.
[0066] The method for obtaining the corresponding relationship table will be combined with Figure 5 Provide explanation.
[0067] If the RSS decrease is not greater than the second threshold, it means that the signal quality has not deteriorated significantly, and the decrease may be caused by RSS fluctuations. Therefore, no processing is performed and the antenna combination in use is still used. If the RSS decrease is greater than the second threshold, it means that the signal quality has deteriorated significantly. In order to ensure that the AP provides a better signal, execute S14.
[0068] S14: Measure RSSs of multiple antenna combinations, and select an antenna combination based on the RSSs of the multiple antenna combinations.
[0069] In some implementations, the multiple antenna combinations include all antenna combinations that the AP can support, including omnidirectional antenna combinations and directional antenna combinations.
[0070] It can be understood that after selecting the antenna combination, the AP switches to the selected antenna combination for communication to obtain a better RSS.
[0071] Figure 5 The process for obtaining the corresponding relationship between the RSS fluctuation range and the second threshold includes the following steps:
[0072] S21. Obtain the average RSS and fluctuation range of multiple random position points.
[0073] The random location point is a location point randomly selected as a sample within the coverage range of the AP. The more random location points there are, the closer the simulation result of the RSS of the random location points is to the actual situation, but the simulation consumes more resources. In practice, the number of random location points can be selected based on demand.
[0074] Any random location point is called the first random location point, STA is set at the first random location point, and AP is controlled to communicate with STA multiple times, so as to obtain multiple RSS of the first random location point. The average value of multiple RSS is calculated as the average RSS of the first random location point, which is recorded as RSS position_average The minimum RSS obtained from multiple communications at the first random position point is taken as the lower limit, and the maximum RSS is taken as the upper limit to form a fluctuation range, which is recorded as RSS position_average_wave_range Similarly, the RSS of each random position point can be obtained position_average and fluctuation range.
[0075] Taking 500 random position points as an example, Table 2 includes the average RSS of some random position points and the corresponding fluctuation range. The fluctuation range corresponding to any random position point is: the range limited by the maximum and minimum values of the RSS obtained in multiple communications.
[0076] Table 2
[0077] Random location points Average RSS Fluctuation range 1 <![CDATA[RSS position_average_1 ]]> <![CDATA[RSS position_average_wave_range_1 ]]> 2 <![CDATA[RSS position_average_2 ]]> <![CDATA[RSS position_average_wave_range_2 ]]> …… …… …… 500 <![CDATA[RSS position_average_500 ]]> <![CDATA[RSS position_average_wave_range_500 ]]>
[0078] In this step, the average RSS of the random position points is used as the RSS of the random position points, in order to make the corresponding relationship obtained by simulation cover more actual situations and further reduce the fluctuation range of RSS.
[0079] S22, by sorting the random position points based on the average RSS, obtaining the range (RSS position_average_min , RSS position_average_max ).
[0080] It can be understood that for the sorted sequence, the average RSS of the random position point with the smallest average RSS is taken as the RSS position_average_min , take the average RSS of the random position with the largest average RSS as the RSS position_average_max .
[0081] The sequence obtained by sorting based on Table 2 is shown in Table 3. The average RSS of random position 17 is the smallest and ranks first. The RSS of random position 17 is position_average_17 As RSS position_average_min The average RSS of random position 198 is the largest and ranks last. position_average_198 As RSS position_average_max .
[0082] Table 3
[0083] Random location points Average RSS 17 <![CDATA[RSS position_average_17 (RSS position_average_min )]]> 470 <![CDATA[RSS position_average_470 ]]> …… …… 198 <![CDATA[RSS position_average_198 (RSS position_average_max )]]>
[0084] S23, will (RSS position_average_min , RSS position_average_max ) is divided into multiple sub-intervals with a preset step size.
[0085] In this step, the step sizes of adjacent sub-intervals are equal, so the average RSS numbers of random position points included in different sub-intervals may be the same or different.
[0086] Let the step length be average_step, and the first subinterval be RSS subinterval_1 , the range of the first sub-interval is RSS position_average_min ~(RSS position_average_min +average_step). Continuing with the above example, taking 500 random position points as an example, the sum of the number of RSS included in all subintervals is 500, that is,
[0087] Taking the 20 intervals as an example, the (RSS position_average_min , RSS position_average_max ) and the corresponding fluctuation range.
[0088] Table 4
[0089]
[0090] In Table 4, the random position point corresponding to the RSS included in a sub-interval is the random position point in the sub-interval. The fluctuation range corresponding to a sub-interval is the union of the fluctuation ranges of the random position points included in the sub-interval (the fluctuation ranges in Table 2 as an example). subinterval_1 For example, assume that the first subinterval contains 18 random position points, which are random position points numbered 17, 98, ... 470. The fluctuation range corresponding to the first subinterval is the union of the fluctuation ranges of the 18 random position points (the fluctuation ranges in Table 2 as an example).
[0091] S24. Based on the fluctuation range of each sub-interval, obtain the decrease amplitude threshold (ie, the second threshold) corresponding to each sub-interval.
[0092] In some implementations, a CDF curve is drawn for the total fluctuation range corresponding to each sub-interval, and an appropriate probability range (such as 10% to 90%) is taken to determine the RSS fluctuation range RSS corresponding to each sub-interval. subinterval_wave_range . RSS for the volatility range subinterval_wave_range The threshold RSS is obtained by subtracting the maximum and minimum values of threshold .
[0093] Table 5 shows the threshold values corresponding to the sub-intervals shown in Table 4.
[0094] Table 5
[0095]
[0096] Table 5 is an example of a correspondence table.
[0097] It is understandable that, in the above calculation process, the RSS value and the fluctuation range boundary value need to be rounded.
[0098] Figure 5 The corresponding relationship is obtained by measuring the RSS of multiple random positions multiple times to obtain the corresponding drop amplitude thresholds of different RSS sub-intervals. Because different RSS sub-intervals can be understood as different distance intervals from the AP, the drop amplitude threshold is configured based on different distances from the AP. Moreover, it can be understood that because the drop amplitude threshold is obtained based on the RSS measured multiple times at multiple random positions, it can characterize the normal fluctuation of the RSS. It can be seen that Figure 5The drop amplitude threshold obtained by the process shown can represent the normal fluctuation range of the RSS at a certain distance from the AP. If the drop amplitude is greater than the drop amplitude threshold, it means that the drop of the RSS exceeds the normal fluctuation range, and it can be determined as signal degradation.
[0099] Combination Figure 4 and Figure 5 It can be seen from the process shown that the reselection of the antenna combination can only be triggered when the RSS provided by the currently used antenna combination has a large decrease in amplitude, and the threshold (second threshold) used to determine whether the RSS decrease is large is obtained based on the fluctuation range of the sampling samples, which can distinguish between normal fluctuations and degradation of the RSS under the current relative positions of the AP and the STA. Therefore, the possibility of false triggering or frequent triggering of the reselection of the antenna combination can be reduced, thereby reducing the adverse impact on the user's Internet experience.
[0100] When the RSS provided by the omnidirectional antenna cannot meet the demand, the RSS provided by the currently used antenna combination is judged, which can further reduce the possibility of false triggering or frequent triggering of reselection of the antenna combination and save resources.
[0101] The above is a process of selecting an antenna combination based on the measured RSS. It can be understood that the antenna combination can also be selected based on reachability and rate. In this case, Figure 4 The RSS in the process shown can be replaced by the reachability and rate. For the process of obtaining the reachability and rate drop threshold, see Figure 5 As shown, Figure 5 The RSS in the process shown can be replaced by reachability and rate.
[0102] In some implementations, the reachability and rate decreases by:
[0103]
[0104] i is an observation time (snapshot point) in the observation window. n is the observation time (snapshot point) at which the antenna selection algorithm is triggered. view_window is the length of the observation window.
[0105] It is understandable that in some implementations, the antenna combination is selected based on RSS or reachable sum rate. In other implementations, the antenna combination is selected based on RSS and reachable sum rate. Specifically, the fusion parameter is obtained by performing calculation based on RSS and reachable sum rate, and the antenna combination is selected based on the fusion parameter.
[0106] The embodiment of the present application also discloses a router, including: a processor and a memory. The memory is used to store program codes. The processor is used to run the program codes to implement the antenna selection method disclosed in the above embodiment.
[0107] The embodiment of the application further discloses a readable storage medium, characterized in that instructions are stored thereon, and when the instructions are executed on an electronic device, the electronic device executes the antenna selection method disclosed in the above embodiment.
[0108] The embodiment of the application also discloses a chip system, including: at least one processor and an interface. The interface is used to receive code instructions and transmit them to the at least one processor; the at least one processor runs the code instructions to implement the antenna selection method disclosed in the above embodiment.
[0109] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0110] In the several embodiments provided in this embodiment, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] In addition, each functional unit in each embodiment of the present embodiment may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0113] If the integrated unit 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 this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of each embodiment method. The aforementioned storage medium includes: flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk and other media that can store program codes.
[0114] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for selecting an antenna, characterized in that: Applied to a first electronic device, the first electronic device has a plurality of antenna combinations, and the method includes: measuring parameters of the first electronic device when using a first antenna combination, where the plurality of antenna combinations include the first antenna combination; In response to the decrease amplitude of the parameter being greater than a pre-configured decrease amplitude threshold, measuring parameters corresponding to multiple antenna combinations of the first electronic device, wherein the decrease amplitude threshold represents: a fluctuation range of the parameter corresponding to a first distance, wherein the first distance is a distance between the first electronic device and a second electronic device as a communication peer; Based on parameters corresponding to the multiple antenna combinations of the first electronic device, an antenna combination used by the first electronic device is selected.
2. The method according to claim 1, characterized in that The process of obtaining the pre-configured drop amplitude threshold includes: Based on the correspondence between the pre-configured sub-intervals and the decrease amplitude threshold, selecting the sub-interval representing the distance to which the parameter belongs; The decrease amplitude threshold corresponding to the sub-interval to which the parameter belongs is used as the pre-configured decrease amplitude threshold.
3. The method according to claim 2, characterized in that The process of obtaining the corresponding relationship between the sub-interval and the decrease amplitude threshold includes: Based on the parameters measured at the multiple random position points, the parameters corresponding to the respective random position points are obtained; Acquire a parameter range corresponding to the multiple random position points, where the parameter range includes the parameter corresponding to each of the random position points; The parameter range is divided into multiple sub-intervals, and the parameter fluctuation range corresponding to the target sub-interval is: the union of the fluctuation sets of the target random position points, the target sub-interval is any sub-interval, the target random position point is the random position point corresponding to the parameter in the target sub-interval, and the fluctuation set of the target random position point is a set consisting of parameters measured multiple times at the target random position point; Based on the parameter fluctuation range corresponding to the sub-interval, a decrease amplitude threshold corresponding to the sub-interval is obtained.
4. The method according to claim 3, characterized in that The step of obtaining parameters corresponding to each random position point based on the parameters measured at the multiple random position points includes: An average of multiple parameters measured at a first random position point is used as a parameter corresponding to the first random position point, where the first random position point is any random position point.
5. The method according to any one of claims 1 to 4, characterized in that: The parameters include: At least one of received signal strength RSS and reachable sum rate.
6. The method according to claim 5, characterized in that The selecting, based on the parameters corresponding to the multiple antenna combinations of the first electronic device, the antenna combination used by the first electronic device includes: Acquire a fusion parameter based on the RSS and the reachable sum rate of the antenna combination; A second antenna combination is selected based on the fusion parameter as the antenna combination used by the first electronic device, and the multiple antenna combinations include the second antenna combination.
7. The method according to any one of claims 1 to 6, characterized in that: The process of obtaining the decrease range of the parameter includes: Based on the mean value of the parameter in the first observation window and the mean value of the parameter in the second observation window, the decrease amplitude of the parameter is obtained.
8. The method according to any one of claims 1 to 7, characterized in that: Before measuring the parameters of the plurality of antenna combinations of the first electronic device in response to the decrease amplitude of the parameter being greater than a pre-configured decrease amplitude threshold, the method further includes: The measured parameter of the omnidirectional antenna combination of the first electronic device is not greater than a preset first threshold.
9. The method according to claim 8, characterized in that The method further comprises: Measuring that a parameter of the omnidirectional antenna combination of the first electronic device is greater than the first threshold; The omnidirectional antenna combination is selected as the antenna combination used by the first electronic device.
10. A router, characterized in that: include: Processor and memory; The memory is used to store program code; The processor is used to run the program code so that the router implements the antenna selection method according to any one of claims 1 to 9.
11. A readable storage medium, characterized in that: Instructions are stored thereon, and when the instructions are executed on an electronic device, the electronic device executes the antenna selection method according to any one of claims 1 to 9.
12. A chip system, characterized in that: include: at least one processor and an interface, the interface being used to receive code instructions and transmit them to the at least one processor; The at least one processor runs the code instructions to implement the antenna selection method according to any one of claims 1 to 9.
Citation Information
Cited By
Antenna selection method, device and equipment for CPE (Customer Premise Equipment)
CN121618996A