CN111884672B - Antenna selection method and device and electronic equipment - Google Patents

Antenna selection method and device and electronic equipment Download PDF

Info

Publication number
CN111884672B
CN111884672B CN202010895389.6A CN202010895389A CN111884672B CN 111884672 B CN111884672 B CN 111884672B CN 202010895389 A CN202010895389 A CN 202010895389A CN 111884672 B CN111884672 B CN 111884672B
Authority
CN
China
Prior art keywords
antenna
value
signal strength
insertion loss
path insertion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010895389.6A
Other languages
Chinese (zh)
Other versions
CN111884672A (en
Inventor
方明志
张厦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010895389.6A priority Critical patent/CN111884672B/en
Publication of CN111884672A publication Critical patent/CN111884672A/en
Application granted granted Critical
Publication of CN111884672B publication Critical patent/CN111884672B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching

Abstract

The application discloses an antenna selection method, an antenna selection device and electronic equipment, and belongs to the technical field of communication. The antenna selection method disclosed by the application comprises the following steps: acquiring a received signal strength indicated value, a transmitting path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2; acquiring the signal strength of each antenna according to the received signal strength indicating value, the transmitting path insertion loss value and the receiving path insertion loss value, and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength among the N antennas; and executing uplink signal transmission through the target antenna. The technical scheme provided by the application solves the problem that the signal strength judgment in the existing multi-antenna system is inaccurate.

Description

Antenna selection method and device and electronic equipment
Technical Field
The application belongs to the field of communication, and particularly relates to an antenna selection method, an antenna selection device and electronic equipment.
Background
Along with the improvement of science and technology, the function of the internal integration of the electronic equipment is more and more, the display screen is larger and larger, the design space of the internal antenna of the electronic equipment is smaller and smaller, and certain influence is caused on the communication quality of the antenna. At present, a multi-antenna technology and an antenna switching technology have become important means for improving communication quality of electronic equipment, and are widely applied to the electronic equipment.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: antenna signal compensation is usually required by an antenna switching technology, but most of the existing antenna signal compensation is calculated and compensated by downlink received signals, and the result of the obtained antenna signal strength is not accurate, so that the antenna communication quality is poor.
Disclosure of Invention
The embodiment of the application aims to provide an antenna selection method, an antenna selection device and electronic equipment, which can solve the problem that the signal strength judgment calculation in a multi-antenna system is inaccurate.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an antenna selection method, where the method includes:
acquiring a received signal strength indicated value, a transmitting path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2;
acquiring the signal strength of each antenna according to the received signal strength indicating value, the transmitting path insertion loss value and the receiving path insertion loss value, and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength among the N antennas;
and executing uplink signal transmission through the target antenna.
In a second aspect, an embodiment of the present application provides an antenna selection apparatus, including:
the device comprises an acquisition module, a receiving module and a transmitting module, wherein the acquisition module is used for acquiring a received signal strength indicated value, a transmitting path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2;
the compensation module is used for acquiring the signal strength of each antenna according to the received signal strength indication value, the transmitting path insertion loss value and the receiving path insertion loss value and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength among the N antennas;
and the execution module is used for executing uplink signal transmission through the target antenna.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the antenna selection method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the antenna selection method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the antenna selection method according to the first aspect.
In the embodiment of the application, the signal strength of each antenna is obtained by obtaining the received signal strength indication value, the transmission path insertion loss value and the reception path insertion loss value of each antenna, so that the antenna with the strongest signal strength in the N antennas is determined as the target antenna, and uplink signal transmission is performed through the target antenna. Therefore, the signal strength of each antenna is obtained by combining the uplink transmitting signal quality and the downlink receiving signal quality to determine the target antenna, so that the signal strength judgment result of the antenna is more accurate, and the communication quality of the electronic equipment is further improved.
Drawings
Fig. 1 is a flowchart of an antenna selection method according to an embodiment of the present application;
fig. 2 is a structural diagram of a radio frequency communication system in an electronic device to which an antenna selection method provided in an embodiment of the present application is applied;
fig. 3 is a structural diagram of an antenna selection apparatus according to an embodiment of the present application;
fig. 4 is a block diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a block diagram of another electronic device provided in the embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The antenna selection method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of an antenna selection method according to an embodiment of the present application, and as shown in fig. 1, the method includes the following steps:
step 101, obtaining a received signal strength indicated value, a transmission path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2.
It should be noted that the method provided in the embodiment of the present application is applied to an electronic device provided with an antenna, such as a mobile phone, a computer, a tablet computer, a notebook computer, a wearable device, and the like, and an execution main body of the present application may be the electronic device, or may also be an antenna selection device in the electronic device. In the following detailed description of the present embodiment, the implementation subject will be specifically described as an antenna selection apparatus. In addition, the method provided by the application can be applied to the multi-antenna technology of the electronic equipment, namely a multi-antenna system arranged in the electronic equipment.
In the embodiment of the present application, a Received Signal Strength Indication (RSSI), a transmission path insertion loss value, and a reception path insertion loss value of each antenna in N antennas are obtained.
Wherein the rssi value is indicative of a signal strength of the antenna, and the rssi value is not a constant value; for example, the received signal strength indicator may be larger where the electronic device is closer to the base station, or the received signal strength indicator may be smaller when the electronic device is in an enclosed space such as an elevator. In the embodiment of the present application, the antenna selection apparatus may obtain the received signal strength indication value of the antenna in real time, or may obtain the received signal strength indication value of the antenna when the electronic device is changed in position.
It will be appreciated that each antenna includes a corresponding transmit path and receive path, i.e., a corresponding transmit path insertion loss value and receive path insertion loss value, to characterize the signal attenuation of the antenna's transmit and receive signals. Optionally, the transmission path insertion loss value and the reception path insertion loss value corresponding to each antenna may be fixed values, and the antenna selection device may test and store the transmission path insertion loss value and the reception path insertion loss value of each antenna in advance.
Optionally, the step 101 may include:
and acquiring a preset transmitting path insertion loss value and a preset receiving path insertion loss value corresponding to each antenna in the N antennas, and acquiring a received signal strength indicated value of each antenna in real time.
The preset transmission path insertion loss value and the preset receiving path insertion loss value are values stored by the antenna selection device, wherein the values are the transmission path insertion loss value and the receiving path insertion loss value of each antenna which are tested in advance by the antenna selection device. The real-time obtaining of the received signal strength indication value of each antenna may be periodically obtaining the received signal strength indication value of each antenna, for example, may be obtaining every 10 s. Therefore, when the position of the electronic equipment is changed, the indication value of the strength of the received signal after each antenna is changed can be timely acquired, so that the accuracy of the result of the compensation calculation of each antenna is improved.
And step 102, obtaining the signal strength of each antenna according to the received signal strength indicating value, the transmitting path insertion loss value and the receiving path insertion loss value, and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength in the N antennas.
Wherein the target antenna is the one with the strongest signal strength among the N antennas. For example, after performing compensation calculation on the signals of the antennas, the antenna with the largest signal strength value may be selected as the target antenna according to the result of the compensation calculation. The strength of the signal strength can be determined by the detected signal strength value, and the stronger the signal strength, the larger the signal strength value, otherwise, the smaller the signal strength value.
Optionally, the step 102 may include:
performing compensation calculation on the signal of each antenna according to the received signal strength indicated value, the transmitting path insertion loss value and the receiving path insertion loss value of each antenna to obtain a compensated signal strength value of each antenna;
and determining the antenna with the maximum signal strength value as a target antenna.
It is understood that the transmission path insertion loss value and the reception path insertion loss value corresponding to each antenna are fixed values, and the received signal strength indication value is a variable value, which may vary based on a change in the position of the electronic device, for example; then, in different positions or in different scenes, the received signal strength indication values corresponding to the antennas may be different, and further, the result of performing compensation calculation on the antennas may also change based on the change of the position or the scene, and the antenna with the optimal signal strength in different positions or scenes may also change, so that the obtained target antennas may also be different.
In the embodiment of the present application, the compensation calculation is performed on the signal of each antenna according to the received signal strength indication value, the transmission path insertion loss value, and the reception path insertion loss value of each antenna, for example, the transmission path insertion loss value is subtracted from the sum of the received signal strength indication value and the reception path insertion loss value, so as to calculate and obtain the signal strength value after antenna compensation.
Optionally, in a specific embodiment, the signal strength value is a difference between a first value and a second value, the first value is a sum of the received signal strength indication value and a received path insertion loss value, and the second value is the transmitted path insertion loss value.
That is, the signal strength value is the received signal strength indicator value + the received path insertion loss value-the transmit path insertion loss value.
It is understood that the transmission path insertion loss value and the reception path insertion loss value corresponding to each antenna are constant values, and the received signal strength indication value is non-constant value. Under different scenes, the received signal strength indicating values corresponding to the antennas are different, and then the signal strength values obtained after compensation calculation of the antennas under different scenes are different.
For example, when the electronic device is located indoors, the received signal strength indicator value RSQ1 of antenna 1 is greater than the received signal strength indicator value RSQ2 of antenna 2, then after performing compensation calculation on antenna 1 and antenna 2 in this scenario, the signal strength value of antenna 1 is greater than the signal strength value of antenna 2, and then antenna 1 is the target antenna. If the received signal strength indicated value RSQ1 of antenna 1 is smaller than the received signal strength indicated value RSQ2 of antenna 2 when the electronic device is switched outdoors, then after performing compensation calculation for antenna 1 and antenna 2 outdoors, the signal strength value of antenna 1 is smaller than the signal strength value of antenna 2, and then antenna 2 is the target antenna. Therefore, the uplink signal quality of each antenna can be accurately judged in the multi-antenna system, so that the uplink signal is transmitted through the target antenna, and the communication quality of the electronic equipment is improved.
And 103, transmitting uplink signals through the target antenna.
It can be understood that, after the signal of each antenna is compensated and calculated through the received signal strength indication value, the transmission path insertion loss value and the reception path insertion loss value, and the target antenna is determined, uplink signal transmission is performed through the target antenna, so that the electronic device can switch the uplink transmission signal to the optimal antenna position, and the communication quality of the electronic device is improved.
In this application, compare in prior art and simply regard as the basis of judging with descending received signal quality, the scheme that this application provided has introduced the judgement to ascending transmitted signal quality, and then through combining ascending transmitted signal quality and descending received signal quality, carries out corresponding compensation calculation to each received signal for the unbalance of transmitted signal on the hardware access for the signal strength judged result to the antenna is more accurate, and then with the communication quality who promotes electronic equipment.
It should be noted that, in this embodiment of the present application, the received signal strength indication value corresponding to each antenna may be obtained in real time, and then, after the received signal strength indication value corresponding to the antenna changes, the compensation calculation is performed again on the antenna signal according to the changed received signal strength indication value, so as to determine the target antenna again, and perform uplink signal transmission through the determined target antenna. That is, when the received signal strength indication value corresponding to the antenna changes, step 102 and step 103 are repeated. Therefore, the target antenna can be timely adjusted according to the change of the antenna received signal strength indication value, and the communication quality of the electronic equipment is further improved.
In order to better understand the technical solutions provided in the present application, the following description will be given by way of a specific example.
Referring to fig. 2, fig. 2 is a structural diagram of a radio frequency communication system in an electronic device applying the antenna selection method provided in the present application. The radio frequency transceiver modulates and demodulates the radio frequency signal; p1, P2, P3 and P4 are schematic diagrams of rf front-end devices on rf paths of part 1, part 2, part 3 and part 4 respectively, and corresponding antennas thereof are ANT1, ANT2, ANT3 and ANT4 respectively; SW1 is SP4T, a single pole, four throw switch, for switching different antenna paths; SW2, SW3, SW4 are SPDT, i.e., single pole double throw switches, for switching transmission and reception.
It can be seen from fig. 2 that there is a radio frequency Transmit (TX) path and a Receive (RX) path, where:
TX 1: p1 to SW1 to ANT1, the launch path insertion loss value is TL 1;
TX 2: P1-SW 1-SW 2-ANT 2, the launch path insertion loss value is TL 2;
TX 3: P1-SW 1-SW 3-ANT 3, the launch path insertion loss value is TL 3;
TX 4: P1-SW 1-SW 4-ANT 4, the launch path insertion loss value is TL 4;
RX 1: ANT 1-SW 1-P1, the receive path insertion loss value is RL 1;
RX 2: ANT 2-SW 2-P2, the receive path insertion loss value is RL 2;
RX 3: ANT 3-SW 3-P3, the receive path insertion loss value is RL 3;
RX 4: ANT4 to SW4 to P4, the receive path insertion loss value is RL 4.
In the operation of the radio frequency communication system, the four receiving paths RX1, RX2, RX3 and RX4 all receive at the same time, and demodulate the signal strength of the base station to obtain the received signal strength indicating value, in this embodiment, it is assumed that the received signal strength indicating values corresponding to the four receiving paths are RSSI1, RSSI2, RSSI3 and RSSI4, respectively.
In this embodiment, after obtaining the received signal strength indication value RSSI, the transmission path insertion loss value TL, and the reception path insertion loss value RL corresponding to each antenna, respectively, compensation calculation is performed according to the RSSI, TL, and RL of each antenna, so as to obtain a compensated signal strength value RSQ of each antenna, where a specific calculation method is as follows:
RSQ1=RSSI1+RL1–TL1;
RSQ2=RSSI2+RL2–TL2;
RSQ3=RSSI3+RL3–TL3;
RSQ4=RSSI4+RL4–TL4。
further, the calculated signal strength values RSQ1, RSQ2, RSQ3 and RSQ4 are compared with each antenna, and the antenna with the maximum signal strength value is determined as a target antenna, and uplink signal transmission is performed through the target antenna. For example, assuming that the signal strength value RSQ1 is maximum, ANT1 is determined as a target antenna.
Therefore, by combining the quality of the uplink transmitting signal and the quality of the downlink receiving signal, corresponding compensation calculation is carried out on the imbalance of each receiving signal on the hardware access relative to the transmitting signal, so that the signal strength judgment result of the antenna is more accurate, and the communication quality of the electronic equipment is improved.
It should be noted that, in the antenna selection method provided in the embodiment of the present application, the execution main body may be an antenna selection device, or a control module in the antenna selection device for executing a loaded antenna selection method. In the embodiment of the present application, an antenna selection apparatus is taken as an example to execute a loaded antenna selection method, and the antenna selection method provided in the embodiment of the present application is described.
An embodiment of the present application further provides an antenna selection apparatus, please refer to fig. 3, and fig. 3 is a structural diagram of the antenna selection apparatus provided in the embodiment of the present application. As shown in fig. 3, the antenna selection apparatus 300 includes:
an obtaining module 301, configured to obtain a received signal strength indication value, a transmission path insertion loss value, and a reception path insertion loss value of each of the N antennas; wherein N is more than or equal to 2;
a compensation module 302, configured to obtain a signal strength of each antenna according to the received signal strength indication value, the transmission path insertion loss value, and the reception path insertion loss value, and determine a target antenna, where the target antenna is an antenna with the strongest signal strength among the N antennas; the strength of the signal strength can be determined by the detected signal strength value, and the stronger the signal strength, the larger the signal strength value, otherwise, the smaller the signal strength value.
An executing module 303, configured to execute uplink signal transmission through the target antenna.
Optionally, the compensation module 302 is further configured to:
performing compensation calculation on the signal of each antenna according to the received signal strength indicated value, the transmitting path insertion loss value and the receiving path insertion loss value of each antenna to obtain a compensated signal strength value of each antenna;
and determining the antenna with the maximum signal strength value as a target antenna.
Optionally, the signal strength value is a difference between a first value and a second value, the first value is a sum of the received signal strength indication value and a received path insertion loss value, and the second value is the transmitted path insertion loss value.
Optionally, the obtaining module 301 is further configured to:
and acquiring a preset transmitting path insertion loss value and a preset receiving path insertion loss value corresponding to each antenna in the N antennas, and acquiring a received signal strength indicated value of each antenna in real time.
The antenna selection apparatus 300 in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The antenna selection apparatus 300 in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The antenna selection apparatus 300 provided in this embodiment of the application can implement each process implemented by the antenna selection apparatus in the method embodiments of fig. 1 to fig. 2, and for avoiding repetition, details are not described here again.
The antenna selection apparatus 300 according to the embodiment of the present application obtains the signal strength of each antenna through the received signal strength indication value, the transmission path insertion loss value, and the reception path insertion loss value, so as to determine the antenna with the strongest signal strength as the target antenna, and then perform uplink signal transmission through the target antenna. Therefore, the antenna selection device carries out corresponding compensation calculation on the imbalance of each received signal on the hardware path relative to the transmission signal by combining the quality of the uplink transmission signal and the quality of the downlink received signal, so that the signal strength judgment result of the antenna is more accurate, and the communication quality of the electronic equipment is further improved.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the above-mentioned embodiment of the antenna selection method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device 400 in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and the like.
Those skilled in the art will appreciate that the electronic device 500 may further include a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the processor 510 is configured to:
acquiring a received signal strength indicated value, a transmitting path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2;
acquiring the signal strength of each antenna according to the received signal strength indicating value, the transmitting path insertion loss value and the receiving path insertion loss value, and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength among the N antennas;
a radio frequency unit 501, configured to perform uplink signal transmission through the target antenna.
In the embodiment of the application, the electronic device obtains the signal strength of each antenna through the received signal strength indicated value, the transmission path insertion loss value and the reception path insertion loss value to determine a target antenna, and then performs uplink signal transmission through the target antenna. Therefore, by combining the uplink transmitting signal quality and the downlink receiving signal quality, the signal strength judgment result of the antenna is more accurate, and the communication quality of the electronic equipment is further improved.
Optionally, the processor 510 is further configured to:
performing compensation calculation on the signal of each antenna according to the received signal strength indicated value, the transmitting path insertion loss value and the receiving path insertion loss value of each antenna to obtain a compensated signal strength value of each antenna;
and determining the antenna with the maximum signal strength value as a target antenna.
Optionally, the signal strength value is a difference between a first value and a second value, the first value is a sum of the received signal strength indication value and a received path insertion loss value, and the second value is the transmitted path insertion loss value.
Optionally, the processor 510 is further configured to:
and acquiring a preset transmitting path insertion loss value and a preset receiving path insertion loss value corresponding to each antenna in the N antennas, and acquiring a received signal strength indicated value of each antenna in real time.
In this embodiment of the present application, the received signal strength indicating value corresponding to each antenna may be obtained in real time, and then, after the received signal strength indicating value corresponding to the antenna changes, the antenna signal is compensated and calculated again according to the changed received signal strength indicating value, so as to determine the target antenna again, and perform uplink signal transmission through the determined target antenna. Therefore, the target antenna can be timely adjusted according to the change of the antenna received signal strength indication value, and the communication quality of the electronic equipment is further improved.
It should be understood that in the embodiment of the present application, the input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. A touch panel 5071, also referred to as a touch screen. The touch panel 5071 may include two parts of a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in further detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. Processor 510 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned antenna selection method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above antenna selection method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (6)

1. An antenna selection method, comprising:
acquiring a received signal strength indicated value, a transmitting path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2;
acquiring the signal strength of each antenna according to the received signal strength indicating value, the transmitting path insertion loss value and the receiving path insertion loss value, and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength among the N antennas;
performing uplink signal transmission through the target antenna;
the obtaining the signal strength of each antenna according to the received signal strength indicated value, the transmission path insertion loss value and the reception path insertion loss value to determine the target antenna includes:
performing compensation calculation on the signal of each antenna according to the received signal strength indicated value, the transmitting path insertion loss value and the receiving path insertion loss value of each antenna to obtain a compensated signal strength value of each antenna;
determining the antenna with the maximum signal strength value as a target antenna;
the signal strength value is a difference between a first value and a second value, the first value is a sum of the received signal strength indication value and a received path insertion loss value, and the second value is the transmitted path insertion loss value.
2. The method of claim 1, wherein obtaining a received signal strength indicator value, a transmit path insertion loss value, and a receive path insertion loss value for each of the N antennas comprises:
and acquiring a preset transmitting path insertion loss value and a preset receiving path insertion loss value corresponding to each antenna in the N antennas, and acquiring a received signal strength indicated value of each antenna in real time.
3. An antenna selection apparatus, comprising:
the device comprises an acquisition module, a receiving module and a transmitting module, wherein the acquisition module is used for acquiring a received signal strength indicated value, a transmitting path insertion loss value and a receiving path insertion loss value of each antenna in N antennas; wherein N is more than or equal to 2;
the compensation module is used for acquiring the signal strength of each antenna according to the received signal strength indication value, the transmitting path insertion loss value and the receiving path insertion loss value and determining a target antenna, wherein the target antenna is the antenna with the strongest signal strength among the N antennas;
the execution module is used for executing uplink signal transmission through the target antenna;
the compensation module is further configured to:
performing compensation calculation on the signal of each antenna according to the received signal strength indicated value, the transmitting path insertion loss value and the receiving path insertion loss value of each antenna to obtain a compensated signal strength value of each antenna;
determining the antenna with the maximum signal strength value as a target antenna;
the signal strength value is a difference between a first value and a second value, the first value is a sum of the received signal strength indication value and a received path insertion loss value, and the second value is the transmitted path insertion loss value.
4. The apparatus of claim 3, wherein the obtaining module is further configured to:
and acquiring a preset transmitting path insertion loss value and a preset receiving path insertion loss value corresponding to each antenna in the N antennas, and acquiring a received signal strength indicated value of each antenna in real time.
5. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the antenna selection method according to any of claims 1-2.
6. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the antenna selection method according to any of claims 1-2.
CN202010895389.6A 2020-08-31 2020-08-31 Antenna selection method and device and electronic equipment Active CN111884672B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010895389.6A CN111884672B (en) 2020-08-31 2020-08-31 Antenna selection method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010895389.6A CN111884672B (en) 2020-08-31 2020-08-31 Antenna selection method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111884672A CN111884672A (en) 2020-11-03
CN111884672B true CN111884672B (en) 2022-02-01

Family

ID=73199755

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010895389.6A Active CN111884672B (en) 2020-08-31 2020-08-31 Antenna selection method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111884672B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112635974A (en) * 2020-11-30 2021-04-09 Oppo广东移动通信有限公司 Antenna device, control method and electronic equipment
CN112688714B (en) * 2020-12-21 2022-05-10 维沃移动通信有限公司 Radio frequency circuit, Bluetooth realization method and device and electronic equipment
CN113206713A (en) * 2021-03-22 2021-08-03 上海闻泰信息技术有限公司 Antenna correction method, antenna correction device, electronic equipment and storage medium
CN113242075B (en) * 2021-06-16 2022-08-19 中国人民解放军91388部队 Microwave transmission method and device, electronic equipment and storage medium
CN113567923B (en) * 2021-07-23 2023-08-29 Oppo广东移动通信有限公司 Ranging component, antenna selection method, ranging method, device and system
CN116154454A (en) * 2021-11-23 2023-05-23 Oppo广东移动通信有限公司 Antenna system and electronic device
CN115395978B (en) * 2022-08-26 2024-03-15 杭州逗酷软件科技有限公司 Radio frequency system and communication device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105929222A (en) * 2016-05-12 2016-09-07 中国电子科技集团公司第四十研究所 System and method for testing power stability of highly stable radiofrequency signal
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal
CN107645325A (en) * 2017-08-30 2018-01-30 努比亚技术有限公司 Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN108761215A (en) * 2018-06-26 2018-11-06 深圳市华讯方舟太赫兹科技有限公司 A kind of electromagnet radiation detection system and detection method
CN111417185A (en) * 2020-04-07 2020-07-14 维沃移动通信有限公司 Transmission power control method and related equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109617587B (en) * 2018-11-28 2021-09-03 维沃移动通信有限公司 Antenna selection method, terminal and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105929222A (en) * 2016-05-12 2016-09-07 中国电子科技集团公司第四十研究所 System and method for testing power stability of highly stable radiofrequency signal
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal
CN107645325A (en) * 2017-08-30 2018-01-30 努比亚技术有限公司 Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN108761215A (en) * 2018-06-26 2018-11-06 深圳市华讯方舟太赫兹科技有限公司 A kind of electromagnet radiation detection system and detection method
CN111417185A (en) * 2020-04-07 2020-07-14 维沃移动通信有限公司 Transmission power control method and related equipment

Also Published As

Publication number Publication date
CN111884672A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN111884672B (en) Antenna selection method and device and electronic equipment
US11431356B2 (en) Radio frequency system, method for controlling antenna switching, and related products
CN112398503B (en) Multi-mode radio frequency circuit, radio frequency signal transmission method and device and electronic equipment
CN111565078B (en) Channel detection method in frequency division duplex mode, radio frequency circuit and electronic equipment
CN111029772B (en) Antenna circuit, electronic device and method for adjusting antenna performance
US20190288755A1 (en) Adaptive antenna switching system and switching method, and intelligent terminal
CN110166146B (en) Power detection circuit and terminal
CN109617587B (en) Antenna selection method, terminal and storage medium
CN108494464B (en) Antenna control method, antenna assembly, electronic device and storage medium
CN113163145B (en) Clock frequency switching method, clock frequency switching device, electronic equipment and readable storage medium
CN108462522B (en) Antenna control method, antenna assembly, electronic device and storage medium
CN110166102A (en) The switching method and device of WiFi antenna
CN110213828B (en) SRS sending method and mobile terminal
CN111668606B (en) Antenna configuration information processing method and device and electronic equipment
CN114978270A (en) Antenna selection method, electronic device and storage medium
CN112688714B (en) Radio frequency circuit, Bluetooth realization method and device and electronic equipment
CN113407423A (en) Signal intensity display method and signal intensity display device
CN113687300A (en) Positioning method and device and electronic equipment
CN111708056A (en) Signal processing method, signal processing device and electronic equipment
KR20200046466A (en) Method and apparatus for searching a beam in a mobile communication system
CN112350744A (en) Antenna switching method and device, signal transceiving circuit and electronic equipment
WO2023040747A1 (en) Perception signal transmission processing method and apparatus, electronic device, and readable storage medium
CN112886990B (en) Interference elimination method and device and electronic equipment
CN113068249A (en) Signal transmitting method and device, electronic equipment and readable storage medium
CN112379363A (en) Measuring method, device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant