CN107682035B - Antenna switching method, multi-antenna terminal and computer-readable storage medium - Google Patents

Antenna switching method, multi-antenna terminal and computer-readable storage medium Download PDF

Info

Publication number
CN107682035B
CN107682035B CN201710764365.5A CN201710764365A CN107682035B CN 107682035 B CN107682035 B CN 107682035B CN 201710764365 A CN201710764365 A CN 201710764365A CN 107682035 B CN107682035 B CN 107682035B
Authority
CN
China
Prior art keywords
antenna
antennas
main
terminal
auxiliary
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
CN201710764365.5A
Other languages
Chinese (zh)
Other versions
CN107682035A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710764365.5A priority Critical patent/CN107682035B/en
Publication of CN107682035A publication Critical patent/CN107682035A/en
Application granted granted Critical
Publication of CN107682035B publication Critical patent/CN107682035B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. Transmission Power Control [TPC] or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides an antenna switching method, a multi-antenna terminal and a computer readable storage medium, aiming at the defects of high power consumption and poor communication quality of the existing dual-antenna terminal, at least three groups of antennas are arranged on the terminal, wherein one group of antennas is a main antenna communicated with a main transceiving path, the other group of antennas is an auxiliary antenna communicated with an auxiliary receiving path, and the rest of antennas are idle antennas.

Description

Antenna switching method, multi-antenna terminal and computer-readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an antenna switching method, a multi-antenna terminal, and a computer-readable storage medium.
Background
Referring to fig. 1, fig. 1 shows two sets of antenna setting positions in a dual-antenna terminal in the prior art, where one antenna is used as a main antenna and can be used for sending and receiving signaling, and the other antenna is used as an auxiliary antenna and is only used for receiving signaling messages. Although the dual-antenna scheme allows the main and auxiliary switching between the two antennas, that is, the main and auxiliary antennas can be switched between the top antenna and the bottom antenna of the terminal, the holding habit of the user, the signal strength of the environment and the like all affect the actual use experience of the user, the dual-antenna terminal only can switch the main and auxiliary relationship of the two antennas, the communication performance of the terminal is difficult to be really improved under the condition of poor signal conditions, the power consumption of the terminal is increased along with the poor quality, and therefore the power consumption and the user experience are both defects that the existing dual-antenna terminal cannot avoid.
Disclosure of Invention
The technical problem to be solved by the present invention is how to solve the problems of high power consumption and poor communication quality of a dual-antenna terminal in the prior art, and to address the technical problem, an antenna switching method, a multi-antenna terminal and a computer-readable storage medium are provided.
In order to solve the above technical problem, the present invention provides an antenna switching method, which is characterized in that the method is applied to a terminal having at least three groups of antennas, wherein a main antenna currently communicated with a main transceiving path of the terminal is selected from the at least three groups of antennas, an auxiliary antenna currently communicated with an auxiliary receiving path of the terminal is selected from the at least three groups of antennas, and the rest antennas are idle antennas, and the antennas are communicated with the main transceiving path or the auxiliary receiving path through a switch selection circuit of N-select-2; the antenna switching method comprises the following steps:
when the antenna switching condition is met, the baseband processor polls working state parameters of each group of antennas in a working state;
comparing the working state parameters of the same type of each group of antennas and generating a comparison result;
based on the comparison result, generating a corresponding switching instruction, wherein the switching instruction comprises a target main antenna and a target auxiliary antenna which are determined to be switched from each group of antennas, and the working state parameters of the target main antenna are not weaker than those of other antennas;
and adjusting the switch selection circuit of the N-selection 2 based on the switching instruction to enable the target main antenna to be communicated with the main transceiving passage and the target auxiliary antenna to be communicated with the auxiliary receiving passage.
Optionally, the polling of the operating state parameters of each group of antennas by the baseband processor when the antennas are in the operating state includes:
an antenna switching control module in the baseband processor adjusts the switch selection circuit of the N-selection 2 to sequentially communicate each group of antennas with the main transceiving passage;
and acquiring working state parameters of each group of antennas in a working state through a diagnosis service module or a radio frequency driving module in the baseband processor.
Optionally, the comparing the working state parameters of the same type of each group of antennas and generating the comparison result includes:
comparing the working state parameters of the same type of each group of antennas through the diagnosis service module or the radio frequency driving module, and generating a comparison result;
the generating of the corresponding switching instruction based on the comparison result includes:
and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction.
Optionally, the comparing the operating state parameters of each group of antennas and generating the comparison result includes:
the diagnostic service module or the radio frequency driving module sends the acquired working state parameters to the antenna switching control module in real time;
the antenna switching control module compares the working state parameters of each group of antennas and generates a comparison result;
the generating of the corresponding switching instruction based on the comparison result includes:
and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction.
Optionally, the comparing the operating state parameters of each group of antennas and generating the comparison result includes:
the antenna switching control module acquires working state parameters of each group of antennas from the diagnosis service module or the radio frequency driving module according to a preset time interval;
the antenna switching control module compares the working state parameters of each group of antennas and generates a comparison result;
the generating of the corresponding switching instruction based on the comparison result includes:
and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction.
Optionally, after the adjusting the switch selection circuit of N select 2 based on the switching instruction, the method further includes:
prompting the adjusted antenna state; the adjusted antenna state at least comprises antenna information respectively communicated with the main transceiving passage and the auxiliary receiving passage.
Optionally, the antenna switching condition includes: the current working state parameter of the main antenna and/or the auxiliary antenna is smaller than the corresponding threshold value; or the deterioration amount of the current working state parameter of the main antenna and/or the auxiliary antenna in the preset time is larger than the corresponding change threshold.
Optionally, the terminal with at least three groups of antennas includes: when the total number of the antennas in the terminal is three, the three groups of antennas are respectively arranged on the top, the left side of the bottom and the right side of the bottom of the terminal; or, the three groups of antennas are respectively arranged at the top, the middle and the bottom of the terminal; or, the three groups of antennas are respectively arranged at the left side of the top, the right side of the top and the bottom of the terminal.
The invention also provides a multi-antenna terminal, which comprises a processor, a memory, a communication bus, a communication unit, an N-to-2 switch selection circuit and an antenna;
the communication unit comprises a main transceiving passage and an auxiliary receiving passage, the antennas comprise at least three groups, the antennas which are currently communicated with the main transceiving passage of the terminal are main antennas, the antennas which are currently communicated with the auxiliary receiving passage of the terminal are auxiliary antennas, the rest antennas are idle antennas, and the antennas are communicated with the main transceiving passage or the auxiliary receiving passage through a switch selection circuit of N-to-2;
the communication bus is used for realizing connection communication among the processor, the memory and the communication unit;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the antenna switching method described above.
The present invention also provides a computer-readable storage medium, characterized in that the computer-readable storage medium stores one or more programs, which are executable by one or more processors, to implement the above-mentioned antenna switching method. Advantageous effects
The invention provides an antenna switching method, a multi-antenna terminal and a computer readable storage medium, aiming at the defects of high power consumption and poor communication quality of the existing dual-antenna terminal, at least three groups of antennas are arranged on the terminal, wherein one group of antennas is a main antenna communicated with a main transceiving path, the other group of antennas is an auxiliary antenna communicated with an auxiliary receiving path, and the rest of antennas are idle antennas.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
fig. 1 is a schematic diagram of an antenna arrangement of a dual-antenna terminal in the prior art;
fig. 2 is a schematic diagram of a hardware structure of an alternative mobile terminal for implementing various embodiments of the present invention.
FIG. 3 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 4 is a basic flowchart of an antenna switching method according to a first embodiment of the present invention;
fig. 5 is a schematic view of a terminal assembly according to a first embodiment of the present invention;
FIG. 6 is a block diagram of a terminal processor according to a first embodiment of the present invention;
fig. 7 is a schematic diagram of terminal antenna distribution according to a first embodiment of the present invention;
fig. 8 is a detailed flowchart of an antenna switching method according to a second embodiment of the present invention;
fig. 9 is a schematic structural diagram of a multi-antenna terminal according to a third embodiment of the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 2, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, power supply 111, and antenna 112. The mobile terminal 100 shown in fig. 2 at least includes three groups of antennas 112, where a main antenna currently connected to the main transceiving path of the mobile terminal 100 in the at least three groups of antennas 112 is a main antenna, an auxiliary antenna currently connected to the auxiliary receiving path of the mobile terminal 100 is an auxiliary antenna, and the rest are idle antennas, the processor 110 may control on/off of each group of antennas with the main transceiving path and the auxiliary receiving path, respectively, and when the processor 110 controls a certain group of antennas to be connected to the main transceiving path, the radio frequency unit 101 may receive or transmit signals through the group of antennas, it should be understood that the at least three groups of antennas 112 may be flexibly disposed at any position of the mobile terminal 100, for example, when the mobile terminal 100 includes three groups of antennas 112, the three groups of antennas 112 may be disposed above, below left, and below right of the back surface of the mobile terminal 100, respectively. Those skilled in the art will also appreciate that the mobile terminal architecture shown in fig. 2 is not intended to be limiting of mobile terminals, and that a mobile terminal may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 2:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 2 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 2 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 2, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 3, fig. 3 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving GateWay) 2034, a PGW (PDN GateWay) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
First embodiment
Fig. 4 is a basic flowchart of an antenna switching method provided in this embodiment, where the antenna switching method is applied to a terminal having at least three groups of antennas, where a main antenna currently connected to a main transceiving path of the terminal is in the at least three groups of antennas, an auxiliary antenna currently connected to an auxiliary receiving path of the terminal is in the at least three groups of antennas, and the rest are idle antennas, the antennas are connected to the main transceiving path or the auxiliary receiving path through a switch selection circuit of N to 2, where N is greater than or equal to the number of groups of antennas; the antenna switching method comprises the following steps:
s401, when the antenna switching condition is met, the baseband processor polls working state parameters when each group of antennas are in a working state;
s402, comparing the working state parameters of the same type of each group of antennas and generating a comparison result;
s403, generating a corresponding switching instruction based on the comparison result, wherein the switching instruction comprises a target main antenna and a target auxiliary antenna which are determined to be switched from each group of antennas, and the working state parameters of the target main antenna are not weaker than those of other antennas;
s404, adjusting the switch selection circuit of the N-selection 2 based on the switching instruction to enable the target main antenna to be communicated with the main receiving and transmitting passage and the target auxiliary antenna to be communicated with the auxiliary receiving passage.
Referring to fig. 5, the antenna switching method in this embodiment is applied to the multi-antenna terminal shown in fig. 5, and includes at least three groups of antennas 211, 212 · · 21m, an antenna gating circuit 22, a radio frequency circuit 23 and a baseband processor 24, where the antenna gating circuit 22 includes a 2-out-of-N switch selection circuit, and the 2-out-of-N switch selection circuit has N first interfaces 2211, 2212, · · 221N (N is generally a positive integer greater than or equal to m), and two second interfaces 2221, 2222. One second interface 2221 is connected to the primary transceiving paths 231 and 232 (TX and PRX in fig. 5) of the rf circuit, and the other second interface 2222 is connected to the secondary receiving path 233 (DRX in fig. 5) of the rf circuit, at least one switch circuit is connected between each first interface and the two second interfaces, each switch circuit has at least one switch, and each group of antennas in this embodiment is connected to at least one first interface of the antenna gating circuit. The baseband processor 24 includes a radio frequency transmission digital-to-analog conversion circuit 241 (TX-DAC in fig. 5), a main set reception analog-to-digital conversion circuit 242 (PRX-ADC in fig. 5), a diversity reception analog-to-digital conversion circuit 243 (DRX-ADC in fig. 5), and a modulation/demodulation circuit 244 (modem proc in fig. 5) connected to the radio frequency transmission digital-to-analog conversion circuit 241, the main set reception analog-to-digital conversion circuit 242, and the diversity reception analog-to-digital conversion circuit 243, respectively, the main transceiving paths 231 and 232 of the radio frequency circuit 23 are correspondingly communicated with the radio frequency transmission digital-to-analog conversion circuit 241 and the main set reception analog-to-digital conversion circuit 242 of the baseband processor, and the auxiliary receiving path 233 is communicated with the diversity reception analog-to-. The baseband processor further includes an antenna switching control module 245 and an HAL interface module 246, the antenna switching control module 245 is in communication with the antenna gating circuit 22 through the HAL interface module 245, and the antenna switching control module 245 can control on/off of each switch circuit in the antenna gating circuit 22 through the HAL interface module 246 (i.e. can control communication between any one of the first interface and any one of the second interface), and select a specific main antenna from multiple groups of antennas based on the on/off, or select a specific combination of the main antenna and the auxiliary antenna.
In S401, when the antenna switching condition is satisfied, the baseband processor polls the operating state parameters of each group of antennas when the antennas are in an operating state. The antenna switching condition is a condition for triggering the current antenna to switch, and specifically includes: selecting two groups of antennas for working from all antennas on a terminal, and determining a main antenna and an auxiliary antenna from the two groups of antennas; specifically, the time sequences of selecting two sets of antennas for working and determining the main antenna and the auxiliary antenna are not necessarily in sequence, the two antennas can be generally performed simultaneously, and after the two sets of antennas for working are determined, the main antenna and the auxiliary antenna are determined simultaneously.
Specifically, the antenna switching condition, in this embodiment, may include: the working state parameter of the current main antenna and/or the auxiliary antenna is smaller than the corresponding threshold value; or the deterioration amount of the current working state parameter of the main antenna and/or the auxiliary antenna in the preset time is larger than the corresponding change threshold. That is, for the antenna switching condition, it can be roughly divided into two types, one of which is that the specific value of the operating state parameter of the antenna is smaller than the corresponding threshold value. The threshold value here generally means that the terminal can normally perform communication without causing excessive power consumption, and there is no real experience of hard injury in the user communication process. In other words, the threshold value represents the tolerance of the user to the terminal. Generally speaking, a user may feel uncomfortable when the power of the terminal is too fast, the network connection is not smooth, and the communication is interrupted, which may cause poor user experience, and may be caused by too low working state parameters of a certain antenna in the current working state. The condition whether the antenna switching can be triggered after the operating state parameter is lower than the threshold value may specifically include which group of antennas in the operating state is used as a reference. When comparing the threshold values, only one antenna of the main antenna and the auxiliary antenna is referred to, and the working state parameter of any antenna is lower than the threshold value, which means that the antenna switching condition is satisfied, or the two antennas are referred to at the same time, and the working state parameter of both antennas is lower than the threshold value, which means that the antenna switching condition is satisfied. It is worth mentioning that the working state parameters of the antenna are various, and the threshold values adopted by referring to different working state parameters are generally different; the states of the terminals are different, and the requirements for the working state parameters are different, for example, when the terminals are in an idle state, there is no use requirement, there is no need to pursue an excessively high working state parameter, and the threshold value at this time may be slightly lower, while when the terminals are in a use state, for example, when the terminals are in a call and are on the internet, it is necessary to maintain good communication quality, and the threshold value at this time may be slightly higher, so as to ensure that the communication quality of the terminals is always at a higher level. In addition, since the operating states of the main antenna and the auxiliary antenna are different, the requirements for the operating state parameters between the main antenna and the auxiliary antenna are not necessarily consistent, for example, the operating state parameters for the main antenna should be higher than those for the auxiliary antenna, that is, the operating state parameters for the main antenna and the auxiliary antenna may also be set to be different.
Secondly, the working state parameters of the current main antenna and/or the auxiliary antenna are suddenly deteriorated in the preset time. The deterioration is that the operating state parameter becomes worse and deteriorates sharply, and the most probable reason may be that the user holds the antenna in the operating state to cause a block, which may cause the operating state parameter of the corresponding antenna to deteriorate greatly in a short time. Correspondingly, due to different types of the working state parameters of the antenna, the corresponding preset time and the corresponding change threshold value can be different; the states of the terminals are different, and the corresponding preset time and the corresponding change threshold value can also be different; because the working states of the main antenna and the auxiliary antenna are different, the requirements on the working state parameters between the main antenna and the auxiliary antenna are not necessarily consistent, and the corresponding preset time and the corresponding change threshold value can also be different.
In addition, in this embodiment, in order to maintain the stability of the terminal, the frequency of switching the antenna is reduced within a possible range, when it is determined whether the antenna switching condition is satisfied, the antenna switching condition may be detected multiple times within a certain time, and whether to perform antenna switching is determined according to the result of the multiple times of detection; for example, if the working state parameter of the main antenna is found to be lower than the threshold value for the first time, and the working state parameter of the main antenna returns to be higher than the threshold value within 1s, the embarrassment that the main antenna is switched and then the main antenna is switched back again can be avoided by multiple times of judgment. Or, a certain protection time may be set after the switching to prevent the antenna from being switched again, for example, when the antenna of the terminal is set to be not switched again within 5s after being switched once, the ping-pong effect may be effectively prevented from occurring.
Specifically, the polling of the operating state parameters of each group of antennas by the baseband processor when the antennas are in the operating state may include: an antenna switching control module in the baseband processor adjusts the switch selection circuit of the N-selection 2 to sequentially communicate each group of antennas with the main transceiving passage; and acquiring working state parameters of each group of antennas in a working state through a diagnosis service module or a radio frequency driving module in the baseband processor. When polling the operating state parameters of each antenna, it is first ensured that the detected antenna needs to be in an operating state, that is, the antenna is connected to the primary transceiving channel or the secondary receiving channel. Because the auxiliary receiving channel only has the function of receiving signals, each antenna is generally accessed to the main receiving and transmitting channel during polling, and the normal communication of the terminal can be ensured. After access, the operational state parameters of the accessed antenna can be obtained through a diagnostic service module (diag) or a Radio Frequency (RF) driver module. In this embodiment, the operating state parameters may include two categories, namely, an uplink parameter and a downlink parameter, where the uplink parameter is related to an uplink channel of the terminal, and the main reference index may include a magnitude of the transmit power of the terminal, or a ratio of the uplink to the maximum transmit power in a unit time. The larger the transmission power is, the worse the communication quality of the uplink signal is, and the communication quality is poor, so that the larger the transmission power is required to ensure communication; similarly, the larger the ratio of the maximum transmission power reached by the uplink in the unit time, the worse the communication quality of the uplink signal. The downlink parameters are related to a downlink channel of the terminal, and may mainly include parameters such as signal strength, signal quality, and the like. Specifically, the specific reference signal strength and signal quality are different according to different network systems, such as a GSM network, a WCDMA/TD-SCDMA network, and an FDD-LTE/TDD-LTE network.
The diagnostic service module or the rf driver module is a component of the baseband processor, and can collect the operating parameters of each antenna in real time, such as the received signal strength, the transmitting power, and other information, and generate a log (log). When the working state parameters of the antenna are polled, the working state parameters of the corresponding antenna can be obtained by adopting any one of the diagnosis service module or the radio frequency driving module. According to different network standards, the frequency of the diagnostic service module or the radio frequency driving module for collecting the working state parameters is different, for example, the collection interval of TD-SCDMA is generally 40ms, and the LTE is 320 ms.
In S402, the same type of operating state parameters of each group of antennas are compared, and a comparison result is generated. Comparing the same type of working state parameters of each group of antennas, it is a process of determining the communication quality relationship among the antennas in each group, and the purpose of antenna switching in this embodiment is to find an antenna with better communication quality as a working antenna, where the communication quality of the main antenna should be the best among all antennas. For comparison of the same type of operating state parameters of each group of antennas, it is obvious that comparison among the same type of operating state parameters should be ensured, and different types of operating state parameters generally cannot be compared; specifically, during the comparison, each group of antennas may compare only one working state parameter, or may compare with reference to multiple working state parameters, and the multiple working state parameters may only refer to the working state parameters of the uplink channel, or only refer to the working state parameters of the downlink channel, or comprehensively consider the working state parameters of the uplink channel and the working state parameters of the downlink channel, which are feasible in this embodiment.
In S403, a corresponding switching command is generated based on the comparison result. The switching instruction at least comprises a target main antenna and a target auxiliary antenna to be switched, wherein the working state parameter of the target main antenna is not weaker than the working state parameters of other antennas, which indicates that the working state parameter of the target main antenna is the best of all the antennas, so that lower power consumption and better user experience can be ensured.
Specifically, in this embodiment, comparing the operating state parameters of the same type of each group of antennas and generating the comparison result may include: and comparing the working state parameters of the same type of each group of antennas through the diagnosis service module or the radio frequency driving module, and generating a comparison result. In the embodiment, the comparison of the working state parameters is directly performed by a diagnostic service module or a radio frequency driving module in the baseband processor, that is, a module for acquiring the working state parameters, and a comparison result is generated. Accordingly, in this case, generating the corresponding switching instruction based on the comparison result may include: and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction. After the diagnosis service module or the radio frequency driving module generates the comparison result, the comparison result can be fed back to the antenna switching control module, and the antenna switching control module generates a specific switching instruction; the switching instruction can be fed back to a specific circuit through the HAL simulation hardware layer, namely the N-to-2 switch selection circuit, and the gating relation of the switch selection circuit is adjusted, so that the switch selection circuit can enable the corresponding antenna to be communicated with the main transceiving passage or the auxiliary receiving passage, namely the target main antenna is communicated with the main transceiving passage, and the target auxiliary antenna is communicated with the auxiliary receiving passage.
Specifically, in this embodiment, comparing the operating state parameters of the same type of each group of antennas and generating the comparison result may further include: the diagnostic service module or the radio frequency driving module sends the acquired working state parameters to the antenna switching control module in real time; the antenna switching control module compares the working state parameters of each group of antennas and generates a comparison result. In the embodiment, the diagnostic service module or the radio frequency driving module, that is, the module for acquiring the working state parameters of the antenna, sends the acquired corresponding working state parameters of the antenna to the antenna switching control module in real time, and the antenna switching control module performs summarization and comparison to generate a comparison result. For the diagnosis service module or the radio frequency driving module, the comparison process is transferred to the antenna switching control module, so that the operation burden of the diagnosis service module or the radio frequency driving module is reduced, and the acquisition of the working state parameters of the antenna can be focused. Accordingly, in this case, generating the corresponding switching instruction based on the comparison result may include: and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction. After the diagnosis service module or the radio frequency driving module generates the comparison result, the comparison result can be fed back to the antenna switching control module, and the antenna switching control module generates a specific switching instruction; the switching instruction can be fed back to a specific circuit through the HAL simulation hardware layer, namely the N-to-2 switch selection circuit, and the gating relation of the switch selection circuit is adjusted, so that the switch selection circuit can enable the corresponding antenna to be communicated with the main transceiving passage or the auxiliary receiving passage, namely the target main antenna is communicated with the main transceiving passage, and the target auxiliary antenna is communicated with the auxiliary receiving passage.
Specifically, in this embodiment, comparing the operating state parameters of the same type of each group of antennas and generating the comparison result may further include: the antenna switching control module acquires working state parameters of each group of antennas from the diagnosis service module or the radio frequency driving module according to a preset time interval; the antenna switching control module compares the working state parameters of each group of antennas and generates a comparison result. In this embodiment, the antenna switching control module actively obtains the operating state parameters of the antennas from the diagnostic service module or the radio frequency driving module according to a certain preset time interval, so that the diagnostic service module or the radio frequency driving module can obtain the operating state parameters of a certain number of antennas at a time, and the operating power consumption of the antenna switching control module is reduced to a certain extent. Accordingly, in this case, generating the corresponding switching instruction based on the comparison result may include: and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction. After the diagnosis service module or the radio frequency driving module generates the comparison result, the comparison result can be fed back to the antenna switching control module, and the antenna switching control module generates a specific switching instruction; the switching instruction can be fed back to a specific circuit through the HAL simulation hardware layer, namely the N-to-2 switch selection circuit, and the gating relation of the switch selection circuit is adjusted, so that the switch selection circuit can enable the corresponding antenna to be communicated with the main transceiving passage or the auxiliary receiving passage, namely the target main antenna is communicated with the main transceiving passage, and the target auxiliary antenna is communicated with the auxiliary receiving passage.
After the switch selection circuit of N select 2 is adjusted based on the switching instruction, the method may further include: prompting the adjusted antenna state; the adjusted antenna state at least comprises antenna information respectively communicated with the main transceiving passage and the auxiliary receiving passage. After the switch selection circuit of N-select-2 is adjusted, that is, the switching process of the antenna is completed, at this time, the switching result is fed back to the user, and the content of the feedback at least includes the antenna information after switching, such as the antenna number, the operating state parameters of the antenna, and the like, and may also include other relevant information, such as the switching duration of the antenna, the communication quality of other idle antennas, and the like. Specifically, referring to fig. 6, fig. 6 shows a schematic diagram of a processor structure of a terminal, which includes a baseband processor 24 and an application processor 30, where the baseband processor 24 and the application processor 30 implement asynchronous communication through an SMD/QMI interface 302, and the antenna switching control module 245 and the diagnostic service module/rf driver module 247 also transfer data in a memory-sharing manner for asynchronous communication; the antenna switching control module 245 and the N-out-of-2 switch selection circuit 1106 communicate synchronously through the analog hardware layer 246 (HAL). After completing the antenna switching, the baseband processor 24 feeds back the switching result to the application processor 30, and presents the antenna information to the user through the relevant status indication APK301 in the application processor 30.
Specifically, referring to fig. 7a, b, and c, when the total number of the antennas 701 in the terminal is three, the three groups of antennas 701 may be respectively disposed on the top, the bottom left side, and the bottom right side of the terminal; or, the three groups of antennas 701 are respectively arranged at the top, the middle and the bottom of the terminal; or, three sets of antennas 701 are respectively disposed at the top left side, the top right side and the bottom of the terminal. These configurations are preferred embodiments, and can avoid interference between the antennas 701, make full use of hardware space on the terminal, and meet the requirement of communication quality when the user uses the terminal in different holding modes as much as possible.
The embodiment provides an antenna switching method, at least three groups of antennas are arranged on a terminal, one group of antennas is a main antenna communicated with a main transceiving path, the other group of antennas is an auxiliary antenna communicated with an auxiliary receiving path, the rest of antennas are idle antennas, then when a switching condition is met, working state parameters of all the antennas are traversed and compared, a switching instruction is generated based on a comparison result, then an N-out-of-2 switch selection circuit for connecting the antennas into the main transceiving path and the auxiliary transceiving path is adjusted through the switching instruction, through implementation of the embodiment, re-selection of the corresponding main antenna and the auxiliary antenna in a plurality of antennas is achieved, communication quality is effectively guaranteed, power consumption is reduced, and user experience is improved.
Second embodiment
Fig. 8 is a detailed flowchart of an antenna switching method according to a second embodiment of the present invention, where the antenna switching method is applied to a terminal having at least three groups of antennas, where a main antenna currently connected to a main transceiving path of the terminal is in the at least three groups of antennas, an auxiliary antenna currently connected to an auxiliary receiving path of the terminal is in the at least three groups of antennas, and the rest are idle antennas, where the antennas are connected to the main transceiving path or the auxiliary receiving path through a switch selection circuit of 2 out of N, where N is greater than or equal to the number of groups of antennas; the antenna switching method comprises the following steps:
s801, monitoring working state parameters of a main antenna and an auxiliary antenna in a current working state through a baseband processor;
s802, judging whether the monitored working state parameters meet antenna switching conditions; if yes, go to S803, if no, go to S801;
s803, the baseband processor controls the switch selection circuit of the N-select-2 to enable each antenna to be sequentially accessed to a main transceiving channel of the terminal;
s804, the baseband processor acquires working state parameters when each antenna is accessed to the main transceiving channel;
s805, the baseband processor compares the same type of working state parameters of each group of antennas and generates a comparison result;
s806, the baseband processor generates a switching instruction based on the comparison result; the switching instruction comprises a target main antenna and a target auxiliary antenna which are determined to be switched from each group of antennas, and the working state parameters of the target main antenna are not weaker than those of other antennas;
s807, the baseband processor adjusts the switch selection circuit of the N-select-2 through the analog hardware layer according to the switching instruction, so that the target main antenna is communicated with the main receiving and transmitting channel, and the target auxiliary antenna is communicated with the main receiving channel;
s808, prompting the adjusted antenna state; the adjusted antenna state at least includes antenna information respectively communicated with the main transceiving path and the auxiliary receiving path, that is, information of a new main antenna and related information of an auxiliary antenna.
The embodiment provides an antenna switching method, at least three groups of antennas are arranged on a terminal, one group of antennas is a main antenna communicated with a main transceiving path, the other group of antennas is an auxiliary antenna communicated with an auxiliary receiving path, the rest of antennas are idle antennas, then when a switching condition is met, working state parameters of all the antennas are traversed and compared, a switching instruction is generated based on a comparison result, then an N-out-of-2 switch selection circuit for connecting the antennas into the main transceiving path and the auxiliary transceiving path is adjusted through the switching instruction, through implementation of the embodiment, re-selection of the corresponding main antenna and the auxiliary antenna in a plurality of antennas is achieved, communication quality is effectively guaranteed, power consumption is reduced, and user experience is improved.
Third embodiment
Fig. 9 is a schematic diagram of a multi-antenna terminal according to a third embodiment of the present invention, including a processor 1101, a memory 1102, a communication bus 1103, a communication unit 1104, an N-out-of-2 switch selection circuit 1106, and an antenna 1105;
the communication unit 1104 includes a main transceiving path and an auxiliary receiving path (not shown in the path), the antenna 1105 includes at least three groups, among which, the antenna currently connected to the main transceiving path of the terminal is a main antenna, the antenna currently connected to the auxiliary receiving path of the terminal is an auxiliary antenna, and the rest are idle antennas, and the antennas are connected to the main transceiving path or the auxiliary receiving path through a switch selection circuit 1106 selecting 2 from N;
the communication bus 1103 is used for realizing connection communication between the processor 1101 and the memory 1102 and the communication unit 1104;
the memory 1102 is configured to store one or more programs, and the processor 1101 is configured to execute the one or more programs stored in the memory 1102 to implement the steps of the antenna switching method illustrated in the foregoing embodiments, which are not described herein again.
Fourth embodiment
The present invention further provides a computer-readable storage medium, where one or more programs are stored in the computer-readable storage medium, and the one or more programs may be executed by one or more processors to implement the steps of the antenna switching method in the embodiments shown in the above embodiments, which are not described herein again.
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.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
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 invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An antenna switching method is characterized in that the method is applied to a terminal with at least three groups of antennas, wherein the antenna which is currently communicated with a main transceiving channel of the terminal is a main antenna, the antenna which is currently communicated with an auxiliary receiving channel of the terminal is an auxiliary antenna, the rest antennas are idle antennas, the antenna is communicated with the main transceiving channel or the auxiliary receiving channel through a switch selection circuit of selecting 2 from N, and N is more than or equal to the number of groups of the antenna; the antenna switching method comprises the following steps:
when the antenna switching condition is met, the baseband processor polls working state parameters of each group of antennas in a working state; the antenna switching conditions include: the current working state parameter of the main antenna and/or the auxiliary antenna is smaller than the corresponding threshold value; or the deterioration amount of the current working state parameter of the main antenna and/or the auxiliary antenna in the preset time is larger than the corresponding change threshold value;
comparing the working state parameters of the same type of each group of antennas and generating a comparison result;
based on the comparison result, generating a corresponding switching instruction, wherein the switching instruction comprises a target main antenna and a target auxiliary antenna which are determined to be switched from each group of antennas, and the working state parameters of the target main antenna are not weaker than those of other antennas;
and adjusting the switch selection circuit of the N-selection 2 based on the switching instruction to enable the target main antenna to be communicated with the main transceiving passage and the target auxiliary antenna to be communicated with the auxiliary receiving passage.
2. The antenna switching method of claim 1, wherein the baseband processor polling the operating state parameters of the groups of antennas when they are in an operating state comprises:
an antenna switching control module in the baseband processor adjusts the switch selection circuit of the N-selection 2 to sequentially communicate each group of antennas with the main transceiving passage;
and acquiring working state parameters of each group of antennas in a working state through a diagnosis service module or a radio frequency driving module in the baseband processor.
3. The antenna switching method according to claim 2, wherein the comparing the same type of operating state parameters of the antennas of each group and generating the comparison result comprises:
comparing the working state parameters of the same type of each group of antennas through the diagnosis service module or the radio frequency driving module, and generating a comparison result;
the generating of the corresponding switching instruction based on the comparison result includes:
and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction.
4. The antenna switching method according to claim 2, wherein the comparing the operating state parameters of the antennas and generating the comparison result comprises:
the diagnostic service module or the radio frequency driving module sends the acquired working state parameters to the antenna switching control module in real time;
the antenna switching control module compares the working state parameters of each group of antennas and generates a comparison result;
the generating of the corresponding switching instruction based on the comparison result includes:
and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction.
5. The antenna switching method according to claim 2, wherein the comparing the operating state parameters of the antennas and generating the comparison result comprises:
the antenna switching control module acquires working state parameters of each group of antennas from the diagnosis service module or the radio frequency driving module according to a preset time interval;
the antenna switching control module compares the working state parameters of each group of antennas and generates a comparison result;
the generating of the corresponding switching instruction based on the comparison result includes:
and the antenna switching control module determines the target main antenna and the target auxiliary antenna according to the comparison result and generates a corresponding switching instruction.
6. The antenna switching method of any of claims 1-5, further comprising, after said adjusting the N-out-of-2 switch selection circuit based on the switching instruction:
prompting the adjusted antenna state; the adjusted antenna state at least comprises antenna information respectively communicated with the main transceiving passage and the auxiliary receiving passage.
7. The antenna switching method according to any of claims 1-5, wherein the antenna switching conditions comprise: the current working state parameter of the main antenna and/or the auxiliary antenna is smaller than the corresponding threshold value; or the deterioration amount of the current working state parameter of the main antenna and/or the auxiliary antenna in the preset time is larger than the corresponding change threshold.
8. The antenna switching method according to any of claims 1-5, wherein said terminal having at least three groups of antennas comprises: when the total number of the antennas in the terminal is three, the three groups of antennas are respectively arranged on the top, the left side of the bottom and the right side of the bottom of the terminal; or, the three groups of antennas are respectively arranged at the top, the middle and the bottom of the terminal; or, the three groups of antennas are respectively arranged at the left side of the top, the right side of the top and the bottom of the terminal.
9. A multi-antenna terminal is characterized in that the multi-antenna terminal comprises a processor, a memory, a communication bus, a communication unit, an N-to-2 switch selection circuit and an antenna;
the communication unit comprises a main transceiving passage and an auxiliary receiving passage, the antennas comprise at least three groups, the antennas which are currently communicated with the main transceiving passage of the terminal are main antennas, the antennas which are currently communicated with the auxiliary receiving passage of the terminal are auxiliary antennas, the rest antennas are idle antennas, and the antennas are communicated with the main transceiving passage or the auxiliary receiving passage through a switch selection circuit of selecting 2 from N;
the communication bus is used for realizing connection communication among the processor, the memory and the communication unit;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the antenna switching method according to any of claims 1-8.
10. A computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the antenna switching method of any one of claims 1-8.
CN201710764365.5A 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable storage medium Active CN107682035B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710764365.5A CN107682035B (en) 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710764365.5A CN107682035B (en) 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN107682035A CN107682035A (en) 2018-02-09
CN107682035B true CN107682035B (en) 2020-01-03

Family

ID=61134971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710764365.5A Active CN107682035B (en) 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107682035B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110267365A (en) * 2019-06-13 2019-09-20 Oppo广东移动通信有限公司 A kind of path switching method, device and computer readable storage medium
CN110830096B (en) * 2019-10-30 2023-06-16 西安广和通无线通信有限公司 Antenna adaptation method and antenna assembly
CN111106434B (en) * 2019-11-28 2022-02-18 深圳市安拓浦科技有限公司 Antenna adjusting method and device
CN111965677A (en) * 2020-08-04 2020-11-20 合肥移顺信息技术有限公司 Positioning method, device and equipment
CN114696841A (en) * 2020-12-28 2022-07-01 北京小米移动软件有限公司 Antenna switching device, terminal equipment, antenna switching method and system
CN117501633A (en) * 2021-09-10 2024-02-02 华为技术有限公司 Communication method and device
CN116545491B (en) * 2023-06-27 2023-11-07 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106129641A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 A kind of changing method of antenna structure, mobile terminal and antenna mode
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106129641A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 A kind of changing method of antenna structure, mobile terminal and antenna mode
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal

Also Published As

Publication number Publication date
CN107682035A (en) 2018-02-09

Similar Documents

Publication Publication Date Title
CN107682035B (en) Antenna switching method, multi-antenna terminal and computer-readable storage medium
CN110401473B (en) Method for dynamically adjusting transmission power, mobile terminal and storage medium
CN107613489B (en) Wireless charging method, wireless hotspot device, terminal and storage medium
CN109195143B (en) Network access method, mobile terminal and readable storage medium
CN110365347B (en) Power amplifier control method, device and computer readable storage medium
CN108600520B (en) Reception state control method, mobile terminal, and computer-readable storage medium
CN107145385A (en) A kind of multitask interface display methods, mobile terminal and computer-readable storage medium
CN108449203B (en) Parameter configuration method, network equipment and computer readable storage medium
CN114258005B (en) Method for registering from 4G to 5G, mobile terminal and readable storage medium
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
CN107682038B (en) Antenna switching method, multi-antenna terminal and computer readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN107707755B (en) Key using method, terminal and computer readable storage medium
CN112689323A (en) Specific absorption rate control method, terminal and computer readable storage medium
CN107517487B (en) Call control method and mobile terminal
CN110048492B (en) Charging circuit, mobile terminal, control method of mobile terminal, and storage medium
CN109040424B (en) Antenna switching circuit, method, terminal and computer readable storage medium
CN107466081B (en) Wireless switching method and terminal
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN111381762A (en) Double-screen switching method and device and computer readable storage medium
CN110174963B (en) Terminal control method, terminal and computer readable storage medium
CN109462829B (en) Call transfer method, device and computer readable storage medium
CN111970738A (en) Network switching control method, equipment and computer readable storage medium
CN109039357B (en) Method for automatically adjusting signal, terminal and computer readable storage medium
CN107360599B (en) Intelligent wifi networking method and mobile terminal

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