Antenna selection method and device, electronic equipment and storage medium

By optimizing the antenna selection method, selecting candidate antenna combinations based on signal quality indicators and switching them, the problem of long selection time for multiple antennas was solved, and the communication quality of 5G low-latency services was improved.

CN122068933APending Publication Date: 2026-05-19QUECTEL WIRELESS SOLUTIONS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
QUECTEL WIRELESS SOLUTIONS CO LTD
Filing Date
2026-01-15
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Existing technologies often involve time-consuming multi-antenna selection, which cannot meet the low-latency requirements of 5G services, especially in mobile or obstructed scenarios where signal quality is unstable.

Method used

By selecting candidate antennas and combinations based on signal quality indicators of multiple antennas, the target antenna combination is determined, and switching is performed when necessary to ensure that the signal quality is better than the current combination, thus shortening the selection time.

Benefits of technology

It achieves near real-time response to channel changes in mobile or obstructed scenarios, improves communication quality, meets the low-latency service requirements of 5G, reduces antenna selection time, and improves selection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122068933A_ABST
    Figure CN122068933A_ABST
Patent Text Reader

Abstract

The invention discloses an antenna selection method and device, electronic equipment and a storage medium. The antenna selection comprises: based on a first signal quality index of each antenna in the plurality of antennas, selecting a first number of candidate antennas from the plurality of antennas, the first signal quality index of the candidate antennas being greater than the first signal quality index of the antennas that are not selected in the plurality of antennas; determining at least one candidate antenna combination corresponding to the first number of candidate antennas; determining a target antenna combination from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality indexes of the remaining candidate antenna combinations; and under the condition that the target antenna combination is different from the currently used antenna combination, determining an antenna selection result based on the target antenna combination. According to the invention, the antenna selection efficiency is improved while the communication quality is improved, and the requirements of 5G low-delay services are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, specifically to an antenna selection method, apparatus, electronic device, and storage medium. Background Technology

[0002] With the rapid development of 5G technology, mid-to-high frequency bands (such as C-band) have become crucial for 5G deployment due to their ability to provide large bandwidth and high capacity. However, compared to traditional low-frequency signals, high-frequency signals experience greater path loss and weaker penetration during propagation. They are also more susceptible to factors such as user hand gestures, head obstruction, device orientation, and complex mobile environments (such as walking or riding in a vehicle), leading to rapid signal fading and unstable link quality. To overcome signal attenuation and improve received signal strength and quality, MIMO (Multiple Input Multiple Output) technology has been widely applied in 5G terminal devices.

[0003] However, in related technologies, when selecting the antenna combination to be used based on multi-antenna technology, there are problems such as long processing time, high latency, and inability to meet the low latency service requirements of 5G. Summary of the Invention

[0004] This application provides an antenna selection method, apparatus, electronic device, and storage medium. While ensuring that the electronic device can continuously obtain the best signal in mobile or obstructed scenarios to improve communication quality, it greatly shortens the antenna selection time and realizes an antenna selection mechanism that responds to channel changes in near real-time, meeting the needs of 5G low-latency services.

[0005] On one hand, embodiments of this application provide an antenna selection method, the method comprising: Based on the first signal quality index of each antenna in the plurality of antennas, a first number of candidate antennas are selected from the plurality of antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the plurality of antennas; Determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas; A target antenna combination is determined from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. If the target antenna combination is different from the currently used antenna combination, an antenna selection result is determined based on the target antenna combination; the antenna selection result indicates whether the target antenna combination should be used as the currently used antenna combination.

[0006] In some embodiments, before selecting a first number of candidate antennas from the plurality of antennas based on a first signal quality index of each antenna among the plurality of antennas, the method further includes: Determine a second signal quality index for the currently used antenna combination; If the second signal quality index of the currently used antenna combination is less than a preset signal quality index threshold, the step of selecting a first number of candidate antennas from the multiple antennas based on the first signal quality index of each antenna in the multiple antennas is performed.

[0007] In some embodiments, the method further includes: Determine the current usage environment information; Based on the correspondence between usage environment information and signal quality index thresholds, a target signal quality index threshold corresponding to the current usage environment information is determined; the target signal quality index threshold is used as the preset signal quality index threshold.

[0008] In some embodiments, determining the antenna selection result based on the target antenna combination includes: The second signal quality index of the target antenna combination is compared with the second signal quality index of the currently used antenna combination; If the comparison result indicates that the second signal quality index of the target antenna combination is greater than the second signal quality index of the currently used antenna combination, the antenna selection result is determined to be the first antenna selection result, and the first antenna selection result indicates that the target antenna combination is used as the currently used antenna combination.

[0009] In some embodiments, after determining that the antenna selection result is a first antenna selection result, the method further includes: Antenna switching is performed based on the first antenna selection result.

[0010] In some embodiments, selecting a first number of candidate antennas from the plurality of antennas based on a first signal quality index of each antenna includes: Based on the first signal quality index of each antenna in the multiple antennas, the multiple antennas are arranged in descending order; The first number of antennas ranked first are selected as the candidate antennas.

[0011] In some embodiments, the first signal quality metric includes one or more of the following: reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality.

[0012] In some embodiments, the second signal quality index is a statistical value of the first signal quality index of each antenna in the corresponding antenna combination.

[0013] On the other hand, embodiments of this application also provide an antenna selection device, the device comprising: The candidate antenna selection module is configured to select a first number of candidate antennas from the multiple antennas based on the first signal quality index of each antenna in the multiple antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the multiple antennas. A candidate antenna combination determination module is configured to determine at least one candidate antenna combination corresponding to a first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas. A target antenna combination determination module is configured to determine a target antenna combination from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. The antenna selection result determination module is configured to determine an antenna selection result based on the target antenna combination when the target antenna combination is different from the currently used antenna combination; the antenna selection result indicates whether to use the target antenna combination as the currently used antenna combination.

[0014] On the other hand, embodiments of this application also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program or instructions, and when the computer program or instructions are executed by the processor, the processor performs the following steps: Based on the first signal quality index of each antenna in the plurality of antennas, a first number of candidate antennas are selected from the plurality of antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the plurality of antennas; Determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas; A target antenna combination is determined from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. If the target antenna combination is different from the currently used antenna combination, an antenna selection result is determined based on the target antenna combination; the antenna selection result indicates whether the target antenna combination should be used as the currently used antenna combination.

[0015] On the other hand, embodiments of this application also provide a computer-readable storage medium storing a computer program or instructions thereon, including a computer program or instructions that, when executed by a processor, implement the steps in any of the antenna selection methods provided in embodiments of this application.

[0016] On the other hand, embodiments of this application also provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the steps in any of the antenna selection methods provided in embodiments of this application.

[0017] The antenna selection method provided in this application selects a first number of candidate antennas from a plurality of antennas based on a first signal quality index of each antenna, wherein the first signal quality index of the candidate antenna is greater than the first signal quality index of the unselected antennas. This determines at least one candidate antenna combination corresponding to the first number of candidate antennas, and selects a target antenna combination with the best second signal quality index from the at least one candidate antenna combination. If the target antenna combination differs from the currently used antenna combination, an indication is determined based on the target antenna combination to determine whether to use the target antenna combination as the antenna selection result for the currently used antenna combination. This ensures that the electronic device can continuously obtain the best signal in mobile or obstructed scenarios, thereby improving communication quality. Simultaneously, it significantly reduces the number of antenna combinations that need to be measured, greatly shortens the antenna selection time, improves antenna selection efficiency, and achieves a near real-time response to channel changes, meeting the requirements of 5G low-latency services. Attached Figure Description

[0018] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a flowchart illustrating an antenna selection method provided in an embodiment of this application; Figure 2 This is a flowchart illustrating yet another antenna selection method provided in the embodiments of this application; Figure 3 This is a flowchart illustrating yet another antenna selection method provided in the embodiments of this application; Figure 4 This is a schematic diagram of the structure of an antenna selection device provided in an embodiment of this application; Figure 5This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0021] In the following description, specific embodiments of the invention will be illustrated with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to several times as being performed by a computer, and computer execution as referred to herein includes operations by a computer processing unit representing electronic signals of data in a structured format. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the invention described above are not intended to be limiting, and those skilled in the art will understand that many of the steps and operations described below can also be implemented in hardware.

[0022] The terms "module" or "unit" as used herein can be considered as software objects executing on the computing system. The various components, modules, engines, and services described herein can be considered as implementations on the computing system. While the apparatus and methods described herein are preferably implemented in software, they can also be implemented in hardware, both of which are within the scope of this invention.

[0023] Those skilled in the art will understand that, unless specifically stated otherwise, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the term “comprising” as used in this specification means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof. It should be understood that when an element is “connected” or “coupled” to another element, it may be directly connected or coupled to the other element, or there may be intermediate elements. Furthermore, “connected” or “coupled” as used herein may include wireless connections or wireless coupling. The term “and / or” as used herein includes all or any units and all combinations of one or more associated listed items.

[0024] The antenna selection method of this application embodiment can be applied to the antenna selection device of this application embodiment. The antenna selection device can be configured in an electronic device, which may include, but is not limited to, mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, aircraft and other terminal devices.

[0025] Figure 1 This is a flowchart illustrating an antenna selection method provided in an embodiment of this application. Figure 1 As shown, the antenna method may include the following steps (steps 110 to 140): Step 110: Based on the first signal quality index of each antenna in the plurality of antennas, select a first number of candidate antennas from the plurality of antennas.

[0026] Wherein, the first signal quality index of the candidate antenna is greater than the first signal quality index of the antennas that were not selected among the plurality of antennas.

[0027] Specifically, the multiple antennas can be MIMO antennas in an electronic device. For example, an electronic device can be equipped with 12 MIMO antennas, which can cover the entire electronic device. The MIMO antenna configuration can include, but is not limited to, 2x2 MIMO and 4x4 MIMO. In this embodiment, the operating frequency bands of the multiple antennas can be 5G ultra-high frequency bands, such as the N77 (3.3-4.2GHz) band and the N78 (3.3-3.8GHz) band.

[0028] In practical implementation, multiple antennas can include various types of antennas with different characteristics, such as gain and directivity. The number of antennas of each type can be set based on actual needs. The distribution of antennas of the same type in the electronic device can achieve different orientations of the main lobe towards the electronic device. For example, each type of antenna can include a front antenna with the main lobe facing the front of the electronic device and a rear antenna with the main lobe facing the rear of the electronic device. Taking 12 antennas as an example, these 12 antennas can be divided into three types of antennas with different directivity: omnidirectional antennas, polarized antennas, and high-gain (such as 12 diB) antennas. The number of antennas in each type is the same, namely 4 omnidirectional antennas, 4 polarized antennas, and 4 high-gain antennas. Among them, the 4 omnidirectional antennas include 2 front omnidirectional antennas and 2 rear omnidirectional antennas, the 4 polarized antennas include 2 front polarized antennas and 2 rear polarized antennas, and the 4 high-gain antennas include 2 front high-gain antennas and 2 rear high-gain antennas.

[0029] In this embodiment, the first signal quality index of the antenna can be used to measure the quality of the signal; generally, the higher the first signal quality index, the better the signal quality. For example, the first signal quality index of the antenna may include one or more of the following: Reference Signal Received Power (RSRP), Signal-to-Noise Ratio (SNR), and Reference Signal Received Quality (RSRQ). Characterizing signal quality through multiple dimensions is beneficial for improving the communication quality of the ultimately selected antenna combination.

[0030] Specifically, the first quantity can be set in conjunction with the number of multiple antennas so that the number of candidate antennas is less than the number of multiple antennas. For example, if the number of multiple antennas is 12, then the first quantity can be set to 8 or 6.

[0031] In some implementations, selecting a first number of candidate antennas from a plurality of antennas based on a first signal quality index (RSRP) of each antenna may include: arranging the plurality of antennas in descending order based on the first RSRP of each antenna; and selecting the first number of antennas at the top of the ranking as the candidate antennas. For example, if the first RSRP of an antenna is RSRP, the plurality of antennas can be arranged in descending order of RSRP, and then the first number of antennas at the top can be selected as candidate antennas, thus providing a signal source basis for subsequently selecting the target antenna combination with the best communication quality.

[0032] In specific implementation, when the first signal quality index includes multiple of the following: reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality, for each dimension, based on the first signal quality index of each antenna in that dimension, the multiple antennas can be sorted in descending order, and the first number of antennas ranked first can be selected as candidate antennas corresponding to that dimension. Then, the intersection of the candidate antennas corresponding to each dimension can be determined. If the number of candidate antennas in the intersection is less than the first number, the remaining number of candidate antennas that are not in the intersection can be selected from the candidate antennas corresponding to any dimension. Then, the candidate antennas in the intersection and the selected remaining number of candidate antennas are used as the first number of candidate antennas selected from the multiple antennas, where the remaining number is the difference between the first number and the number of candidate antennas in the intersection.

[0033] Step 120: Determine at least one candidate antenna combination corresponding to the first number of candidate antennas.

[0034] Each of the candidate antenna combinations includes a second number of candidate antennas.

[0035] The second quantity is less than or equal to the first quantity, and the second quantity matches the antenna configuration of the MIMO. For example, in the case of 4x4 MIMO, the second quantity is 4, and in the case of 2x2 MIMO, the second quantity is 2.

[0036] Specifically, the first number of candidate antennas can be grouped together according to any second number of antennas, thus obtaining at least one candidate antenna combination. For example, if there are 8 candidate antennas, and each group consists of 4 antennas, then the number of combinations can be calculated as C(8,4)=70, which means that 70 candidate antenna combinations can be obtained.

[0037] Taking the aforementioned example of 12 antennas, assuming the first batch of candidate antennas selected is 8, then by combining 4 candidate antennas into each group, the number of combinations can be calculated as C(8,4)=70, meaning 70 candidate antenna combinations can be obtained. Compared to the number of combinations C(12,4)=495 obtained by directly combining 4 antennas into each group from 12 antennas, the number of candidate antenna combinations in this embodiment is significantly reduced.

[0038] Step 130: Determine a target antenna combination from the at least one candidate antenna combination, wherein the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations.

[0039] Among them, the remaining candidate antenna combinations refer to the candidate antenna combinations other than the target antenna combination among multiple candidate antenna combinations.

[0040] The second signal quality index is used to measure the signal quality of the antenna array. Generally, the higher the second signal quality index, the better the signal quality of the antenna array. The second signal quality index can correspond to the first signal quality index and is derived based on the first signal quality index of each antenna in the antenna array. Therefore, it can be understood that if the first signal quality index includes one or more of the following: reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality, then the second signal quality index can also include one or more of the following: reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality.

[0041] In some implementations, the second signal quality index can be a statistical value of the first signal quality index of each antenna in the corresponding antenna combination. For example, this statistical value can include an average value. Then, for each candidate antenna combination, an average value can be calculated based on the first signal quality index of each candidate antenna, and this average value can be used as the second signal quality index of that candidate antenna combination. This allows for accurate characterization of the signal quality of each antenna combination, which helps improve the accuracy of selecting the target antenna combination with the best signal.

[0042] Specifically, based on the second signal quality index of each candidate antenna combination, the candidate antenna combination with the largest second signal quality index is selected as the target antenna combination. For example, when the second signal quality index includes multiple parameters such as reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality, the candidate antenna combination with the largest value in each dimension can be determined first. If the candidate antenna combination with the largest value in each dimension is the same, then that candidate antenna combination is determined as the target antenna combination. If the candidate antenna combinations with the largest value in each dimension are not completely the same, then according to the preset priority corresponding to each dimension, the candidate antenna combination of the dimension with the highest preset priority can be determined as the target antenna combination. The preset priority can be set based on practical experience.

[0043] Step 140: If the target antenna combination is different from the currently used antenna combination, determine the antenna selection result based on the target antenna combination.

[0044] The antenna selection result indicates whether the target antenna combination is to be used as the currently used antenna combination.

[0045] Specifically, if the target antenna combination differs from the currently used antenna combination in one or more antennas, then the target antenna combination is considered different from the currently used antenna combination, where the currently used antenna combination is the antenna combination currently used for signal transmission and reception in the electronic device. In the case where the target antenna combination differs from the currently used antenna combination, an indicator is determined based on the target antenna combination to determine whether to use the target antenna combination as the antenna selection result for the currently used antenna combination.

[0046] In some implementations, such as Figure 2 As shown, step S140 above may include the following when determining the antenna selection result based on the target antenna combination: Step S210: Compare the second signal quality index of the target antenna combination with the second signal quality index of the currently used antenna combination.

[0047] The second signal quality index of the currently used antenna combination can be calculated based on the first signal quality index of each antenna in the currently used antenna combination. For the specific calculation method, please refer to the relevant description of the second signal quality index above, which will not be repeated here.

[0048] Step S220: If the comparison result indicates that the second signal quality index of the target antenna combination is greater than the second signal quality index of the currently used antenna combination, the antenna selection result is determined to be the first antenna selection result, and the first antenna selection result indicates that the target antenna combination is used as the currently used antenna combination.

[0049] Specifically, if the comparison result indicates that the second signal quality index of the target antenna combination is greater than the second signal quality index of the currently used antenna combination, it means that the target antenna combination can provide better communication quality. At this time, the target antenna combination can be switched to make it the current antenna combination used by the electronic device. Based on this, a first antenna selection result indicating that the target antenna combination is the current antenna combination can be generated.

[0050] Understandably, if the comparison result indicates that the second signal quality index of the target antenna combination is less than or equal to the second signal quality index of the currently used antenna combination, then there is no need to switch to the target antenna combination, and the currently used antenna combination can continue to be used for radio frequency signal transmission and reception.

[0051] In some implementations, see also Figure 2 After determining that the antenna selection result is the first antenna selection result, the method may further include: Step S230: Perform antenna switching processing based on the first antenna selection result.

[0052] Specifically, an antenna switching command can be generated based on the first antenna selection result. This command controls the switching of the currently transmitting / receiving antenna to an antenna in the target antenna combination, and utilizes the antenna in the target antenna combination for radio frequency signal transmission and reception, thus making the target antenna combination the currently used antenna combination, achieving antenna switching. In practical applications, the electronic device may include an antenna switching switch, and the antenna switching command can act on the antenna switching switch to switch the currently transmitting / receiving antenna to an antenna in the target antenna combination.

[0053] As mentioned in the previous example, taking an electronic device with 12 antennas, using 4 antennas as a combination for radio frequency signal transmission and reception, compared to directly selecting 4 antennas from 12 antennas, the number of combinations that need to be polled is C(12,4) = 495. In this embodiment, only C(8,4) = 70 combinations need to be polled. Thus, the technical solution of this embodiment significantly reduces the number of antenna combinations that need to be polled, shortens the antenna selection time, improves the efficiency of target antenna combination selection, and can respond to channel changes in near real-time to select antennas. This ensures that the electronic device can continuously obtain the best signal in mobile or obstructed scenarios, improving communication quality. Furthermore, by always selecting the target antenna combination with the best signal quality, this application provides the optimal signal input foundation for subsequent MIMO technology and beamforming technology, fully leveraging the performance potential of multiple antennas and improving spectrum utilization and network capacity.

[0054] In some implementations, to reduce the additional power consumption of the antenna selection process, thereby improving performance while extending the battery life of the electronic device, such as... Figure 3 As shown, before step S110, the method may further include: Step S310: Determine the second signal quality index of the currently used antenna combination.

[0055] Step S320: If the second signal quality index of the currently used antenna combination is less than a preset signal quality index threshold, perform the step of selecting a first number of candidate antennas from the multiple antennas based on the first signal quality index of each antenna in the multiple antennas.

[0056] Specifically, the second signal quality index of the currently used antenna combination can be calculated based on the first signal quality index of each antenna in the currently used antenna combination. For the specific calculation method, please refer to the aforementioned description of the second signal quality index, which will not be repeated here.

[0057] The preset signal quality index threshold can be set based on actual experience. For example, for RSRP, the preset signal quality index threshold can be set to -85dBm, while for RSRQ, the preset signal quality index threshold can be set to -15dB.

[0058] For example, when the second signal quality index has multiple dimensions, the preset signal quality index threshold may include the threshold corresponding to each dimension. In one implementation, if the second signal quality index of any dimension of the currently used antenna combination is less than the threshold of the corresponding dimension, the aforementioned step S110 can be executed to switch antennas in a timely manner and improve communication quality. In another implementation, if the second signal quality index of each dimension of the currently used antenna combination is less than the threshold of the corresponding dimension, the aforementioned step S110 can be executed to further reduce the additional power consumption caused by excessively frequent antenna selection.

[0059] Understandably, if the second signal quality index of the currently used antenna combination is greater than or equal to the preset signal quality index threshold, the processing ends, and antenna selection is not performed at this time. Instead, the antenna in the currently used antenna combination is used for the transmission and reception of radio frequency signals.

[0060] In the above embodiments, by performing antenna selection when the second signal quality index of the currently used antenna combination is less than the preset signal quality index threshold, the extra power consumption caused by frequently scanning all antennas can be reduced, thereby improving communication quality and extending the battery life of the terminal device.

[0061] In some implementations, reference continues. Figure 3The method may also include: Step S330: Determine the current usage environment information.

[0062] Step S340: Based on the correspondence between usage environment information and signal quality index threshold, determine the target signal quality index threshold corresponding to the current usage environment information; the target signal quality index threshold is used as the preset signal quality index threshold.

[0063] Among them, the current usage environment information can characterize the external wireless environment in which the electronic device is currently located. For example, the current usage environment information may include, but is not limited to, the current location information of the electronic device.

[0064] The correspondence between usage environment information and signal quality index thresholds can be configured according to actual needs. Specifically, it can include multiple different usage environment information and the corresponding signal quality index threshold for each usage environment information. The signal quality index threshold for each usage environment information can be configured differently based on actual experience.

[0065] In specific implementation, the target correspondence, including the current usage environment information, can be determined, and the target signal quality index threshold in the target correspondence can be set as the preset signal quality index threshold.

[0066] In the above embodiments, by utilizing the correspondence between usage environment information and signal quality index threshold, the target signal quality index threshold corresponding to the current usage environment information is determined as the preset signal quality index threshold in the aforementioned step S320. This enables different usage environment information to correspond to different preset signal quality index thresholds, thereby reducing the additional power consumption caused by antenna selection while ensuring high and stable data link quality in complex actual usage environments.

[0067] To facilitate better implementation of the antenna selection method provided in the embodiments of this application, the embodiments of this application also provide an antenna selection device based on the antenna selection method. The meanings of the terms used are the same as in the antenna selection method described above, and specific implementation details can be found in the descriptions in the method embodiments.

[0068] Figure 4 This is a schematic diagram of an antenna selection device provided in an embodiment of this application. Please refer to... Figure 4 This antenna selection device has the function of implementing the antenna selection method in the above method embodiments. This function can be implemented in hardware or by hardware executing corresponding software. For example... Figure 4 As shown, the antenna selection device 400 may include: a candidate antenna selection module 410, a candidate antenna combination determination module 420, a target antenna combination determination module 430, and an antenna selection result determination module 440.

[0069] The candidate antenna selection module 410 is configured to select a first number of candidate antennas from the plurality of antennas based on the first signal quality index of each antenna in the plurality of antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the plurality of antennas. The candidate antenna combination determination module 420 is configured to determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas. The target antenna combination determination module 430 is configured to determine a target antenna combination from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. The antenna selection result determination module 440 is configured to determine an antenna selection result based on the target antenna combination when the target antenna combination is different from the currently used antenna combination; the antenna selection result indicates whether to use the target antenna combination as the currently used antenna combination.

[0070] In some embodiments, the device 400 may further include: The signal quality index determination module is configured to determine a second signal quality index of the currently used antenna combination; The execution module is configured to, when the second signal quality index of the currently used antenna combination is less than a preset signal quality index threshold, execute the step of selecting a first number of candidate antennas from the multiple antennas based on the first signal quality index of each antenna among the multiple antennas.

[0071] In some embodiments, the device 400 may further include: The environment determination module is configured to determine the current environment information. The preset signal quality index threshold determination module is configured to determine the target signal quality index threshold corresponding to the current usage environment information based on the correspondence between the usage environment information and the signal quality index threshold; the target signal quality index threshold is used as the preset signal quality index threshold.

[0072] In some embodiments, the antenna selection result determination module 440 includes: The comparison module is configured to compare the second signal quality index of the target antenna combination with the second signal quality index of the currently used antenna combination; The selection result determination module is configured to determine the antenna selection result as the first antenna selection result when the comparison result indicates that the second signal quality index of the target antenna combination is greater than the second signal quality index of the currently used antenna combination. The first antenna selection result indicates that the target antenna combination is used as the currently used antenna combination.

[0073] In some embodiments, the device 400 may further include: The antenna switching module is configured to perform antenna switching processing based on the first antenna selection result.

[0074] In some embodiments, the candidate antenna selection module 410 is specifically configured to: sort the multiple antennas in descending order based on the first signal quality index of each antenna; and select the first number of antennas that are ranked first as the candidate antennas.

[0075] In some implementations, the first signal quality metric includes one or more of the following: reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality.

[0076] In some implementations, the second signal quality index is a statistical value of the first signal quality index of each antenna in the corresponding antenna combination.

[0077] It should be noted that the apparatus provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0078] Figure 5 This is a schematic diagram of the structure of an electronic device provided in some embodiments of this application. Figure 5 The dashed line in the text indicates that the unit or module is optional. Figure 5 The electronic device 500 can be used to implement the methods described in the above method embodiments. The electronic device 500 can be a chip, a terminal device, a server, or a computer device.

[0079] Electronic device 500 may include one or more processors 510. The processor 510 can support the electronic device 500 in implementing the methods described in the preceding method embodiments. The processor 510 can be a general-purpose processor or a special-purpose processor. For example, the processor can be a Central Processing Unit (CPU). Alternatively, the processor can also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.

[0080] The electronic device 500 may also include one or more memories 520. Computer programs are stored on the memories 520. The memories 520 may be independent of the processor 510 or integrated into the processor 510.

[0081] Electronic device 500 may also include transceiver 530. Processor 510 can communicate with other devices or chips via transceiver 530. For example, processor 510 can send and receive data with other devices or chips via transceiver 530.

[0082] The computer program in memory 520 can be executed by processor 510, causing processor 510 to perform the following steps: Based on the first signal quality index of each antenna among the multiple antennas, a first number of candidate antennas are selected from the multiple antennas; the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected among the multiple antennas. Determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas; A target antenna combination is determined from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. If the target antenna combination is different from the currently used antenna combination, an antenna selection result is determined based on the target antenna combination; the antenna selection result indicates whether the target antenna combination should be used as the currently used antenna combination.

[0083] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0084] Therefore, embodiments of this application provide a computer-readable storage medium storing a computer program thereon, the computer program being loaded by a processor to execute the steps described in the above-described method embodiments of this application. For example, the computer program, when loaded by a processor, can execute the following steps: Based on the first signal quality index of each antenna among the multiple antennas, a first number of candidate antennas are selected from the multiple antennas; the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected among the multiple antennas. Determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas; A target antenna combination is determined from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. If the target antenna combination is different from the currently used antenna combination, an antenna selection result is determined based on the target antenna combination; the antenna selection result indicates whether the target antenna combination should be used as the currently used antenna combination.

[0085] For details on the implementation of each of the above operations / steps, please refer to the previous examples, which will not be repeated here.

[0086] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0087] Since the computer program stored in the computer-readable storage medium can execute the steps in any of the above method embodiments provided in the embodiments of this application, the beneficial effects that the methods described in any of the above method embodiments can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0088] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the methods provided in the various optional implementations of the above embodiments.

[0089] The foregoing has provided a detailed description of an antenna selection method, apparatus, electronic device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. An antenna selection method, characterized in that, The method includes: Based on the first signal quality index of each antenna in the plurality of antennas, a first number of candidate antennas are selected from the plurality of antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the plurality of antennas; Determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas; A target antenna combination is determined from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. If the target antenna combination is different from the currently used antenna combination, an antenna selection result is determined based on the target antenna combination; the antenna selection result indicates whether the target antenna combination should be used as the currently used antenna combination.

2. The method according to claim 1, characterized in that, Before selecting a first number of candidate antennas from the plurality of antennas based on a first signal quality index of each antenna, the method further includes: Determine a second signal quality index for the currently used antenna combination; If the second signal quality index of the currently used antenna combination is less than a preset signal quality index threshold, the step of selecting a first number of candidate antennas from the multiple antennas based on the first signal quality index of each antenna in the multiple antennas is performed.

3. The method according to claim 2, characterized in that, The method further includes: Determine the current usage environment information; Based on the correspondence between usage environment information and signal quality index thresholds, a target signal quality index threshold corresponding to the current usage environment information is determined; the target signal quality index threshold is used as the preset signal quality index threshold.

4. The method according to claim 1, characterized in that, The antenna selection result determined based on the target antenna combination includes: The second signal quality index of the target antenna combination is compared with the second signal quality index of the currently used antenna combination; If the comparison result indicates that the second signal quality index of the target antenna combination is greater than the second signal quality index of the currently used antenna combination, the antenna selection result is determined to be the first antenna selection result, and the first antenna selection result indicates that the target antenna combination is used as the currently used antenna combination.

5. The method according to claim 4, characterized in that, After determining the antenna selection result as the first antenna selection result, the method further includes: Antenna switching is performed based on the first antenna selection result.

6. The method according to claim 1, characterized in that, The step of selecting a first number of candidate antennas from the plurality of antennas based on the first signal quality index of each antenna includes: Based on the first signal quality index of each antenna in the multiple antennas, the multiple antennas are arranged in descending order; The first number of antennas ranked first are selected as the candidate antennas.

7. The method according to any one of claims 1 to 6, characterized in that, The first signal quality index includes one or more of the following: reference signal received power, signal-to-interference-plus-noise ratio, and reference signal received quality.

8. The method according to any one of claims 1 to 6, characterized in that, The second signal quality index is the statistical value of the first signal quality index of each antenna in the corresponding antenna combination.

9. An antenna selection device, characterized in that, The device includes: The candidate antenna selection module is configured to select a first number of candidate antennas from the multiple antennas based on the first signal quality index of each antenna in the multiple antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the multiple antennas. A candidate antenna combination determination module is configured to determine at least one candidate antenna combination corresponding to a first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas. A target antenna combination determination module is configured to determine a target antenna combination from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. The antenna selection result determination module is configured to determine an antenna selection result based on the target antenna combination when the target antenna combination is different from the currently used antenna combination; the antenna selection result indicates whether to use the target antenna combination as the currently used antenna combination.

10. An electronic device, characterized in that, It includes a memory and a processor, wherein the memory stores computer programs or instructions, which, when executed by the processor, cause the processor to perform the following steps: Based on the first signal quality index of each antenna in the plurality of antennas, a first number of candidate antennas are selected from the plurality of antennas, wherein the first signal quality index of the candidate antennas is greater than the first signal quality index of the antennas that were not selected in the plurality of antennas; Determine at least one candidate antenna combination corresponding to the first number of candidate antennas; each candidate antenna combination includes a second number of candidate antennas; A target antenna combination is determined from the at least one candidate antenna combination; the second signal quality index of the target antenna combination is greater than the second signal quality index of the remaining candidate antenna combinations. If the target antenna combination is different from the currently used antenna combination, an antenna selection result is determined based on the target antenna combination; the antenna selection result indicates whether the target antenna combination should be used as the currently used antenna combination.

11. A computer-readable storage medium, characterized in that, It stores a computer program or instructions that, when executed by a processor, implement the steps of the antenna selection method as described in any one of claims 1 to 8.