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

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

Info

Publication number
CN107453766B
CN107453766B CN201710764386.7A CN201710764386A CN107453766B CN 107453766 B CN107453766 B CN 107453766B CN 201710764386 A CN201710764386 A CN 201710764386A CN 107453766 B CN107453766 B CN 107453766B
Authority
CN
China
Prior art keywords
antenna
switching
antenna switching
threshold
switching threshold
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
CN201710764386.7A
Other languages
Chinese (zh)
Other versions
CN107453766A (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 CN201710764386.7A priority Critical patent/CN107453766B/en
Publication of CN107453766A publication Critical patent/CN107453766A/en
Application granted granted Critical
Publication of CN107453766B publication Critical patent/CN107453766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/005Details 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 adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • H01Q1/241Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
    • H01Q1/242Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use
    • H01Q1/243Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use with built-in 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/005Details 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 adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0053Details 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 adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with common antenna for more than one band
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/73Battery saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0251Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity
    • H04W52/0258Power saving arrangements in terminal devices using monitoring of local events, e.g. events related to user activity controlling an operation mode according to history or models of usage information, e.g. activity schedule or time of day
    • 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

Abstract

The present invention provides a kind of antenna switching control method, multi-antenna terminal and computer readable storage medium, frequently running the progress antenna switching of antenna handoff algorithms for existing multi-antenna terminal leads to the biggish defect of power consumption, antenna switching threshold when being switched by previous secondary antenna is come the antenna switching threshold of satisfaction required when calculating the current antenna switching of progress again, when needing to carry out antenna switching again, even if the signal parameter of current each antenna meets initial antenna switching threshold, it will not carry out antenna switching, only when the signal parameter of current each antenna meets antenna switching threshold when switching over again being calculated, antenna switching is just carried out again.Antenna switching threshold keeps dynamic change while switching continuous service with antenna, antenna handover process is delayed, solve the problems, such as that existing multi-antenna terminal frequently runs the progress antenna switching of antenna handoff algorithms and causes power consumption larger, the control in antenna switching field to ping-pong is realized, the usage experience of user is enhanced.

Description

Antenna switching control method, multi-antenna terminal and computer readable storage medium
Technical field
The present invention relates to fields of communication technology, more specifically to a kind of antenna switching control method, multi-antenna terminal And computer readable storage medium.
Background technique
Ping-pong (ping-pong effect) refers to changing back and forth between two different states, is actually answering In, specific manifestation is varied.
For example, multi-antenna terminal, can basis in order to guarantee channel quality etc. when multi-antenna terminal is provided with two groups of antennas The messaging parameter etc. of each antenna, by certain antenna handoff algorithms, the best antenna of one signal of selection from these antenna As primary antenna or effective antenna etc..But if in some scenarios, the messaging parameter acute variation of these antenna, this is just It will lead to multi-antenna terminal and frequently run antenna handoff algorithms, toggled between this two groups of antennas, although which can be with Guarantee that the communication quality of multi-antenna terminal is best always, but carries out antenna switching due to frequently running antenna handoff algorithms, it will Lead to biggish power consumption.
Summary of the invention
The technical problem to be solved in the present invention is that multi-antenna terminal, which frequently runs antenna handoff algorithms, carries out antenna switching Cause power consumption larger, for the technical problem, a kind of antenna switching control method, multi-antenna terminal is provided and computer-readable deposited Storage media.
In order to solve the above technical problems, the present invention provides a kind of antenna switching control method, it is applied to multi-antenna terminal, it is more Antenna terminal includes main transmitting-receiving access, auxiliary receiving path and at least three groups of antennas;In at least three groups of antennas currently with main transmitting-receiving Access connection is primary antenna, currently be connected to auxiliary receiving path supplemented by antenna, it is remaining for spare antenna;This method packet It includes:
It detects whether to complete the switching of i-th antenna, antenna switching is logical for redefining at least three groups of antennas and main transmitting-receiving Connected relation between road, auxiliary receiving path, to select new primary antenna, auxiliary antenna and spare antenna;
It is detecting when completing the switching of i-th antenna, the antenna switching threshold that acquisition i-th antenna switches;According to i-th The antenna switching threshold of antenna switching calculates the antenna switching threshold when switching of i+1 secondary antenna;
The destinations traffic parameter for obtaining multi-antenna terminal, antenna switching threshold when being switched according to i+1 secondary antenna, judgement Whether need to carry out i+1 secondary antenna switching, destinations traffic parameter is used to characterize the performance of antenna.
Optionally, the antenna switching threshold switched according to i-th antenna calculates the antenna switching of i+1 secondary antenna switching Threshold value, comprising:
A default adjusting parameter;
I+1 secondary antenna is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and adjusting parameter The antenna switching threshold of switching;The antenna that the antenna switching threshold of i+1 secondary antenna switching is greater than the switching of i-th antenna switches threshold Value.
Optionally, i+1 is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and adjusting parameter After the antenna switching threshold of secondary antenna switching, further includes:
Whether the antenna switching threshold for judging the switching of i+1 secondary antenna is more than upper threshold;If it is not, be then calculated The antenna switching threshold of i+1 secondary antenna switching is effective.
Optionally, i+1 is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and adjusting parameter After the antenna switching threshold of secondary antenna switching, further includes:
Whether the antenna switching threshold for judging the switching of i+1 secondary antenna is more than upper threshold, if so, a selected correction value As antenna switching threshold;Correction value include upper threshold value, the switching of i-th antenna antenna switching threshold, initial antenna cuts Change threshold value.
Optionally, the antenna switching threshold switched according to i-th antenna calculates the antenna switching of i+1 secondary antenna switching Threshold value, comprising:
The use priority of current primary antenna and target primary antenna after obtaining the switching of i-th antenna, and it is preferential to using Grade is compared, according to the antenna of comparison result and the antenna switching threshold configuration i+1 secondary antenna switching of i-th antenna switching Switching threshold;
If the use priority of the target primary antenna after the switching of i-th antenna is less than the priority of current primary antenna, by i-th The antenna switching threshold of+1 secondary antenna switching is configured to be greater than the antenna switching threshold of i-th antenna switching;
If the use priority of the target primary antenna after the switching of i-th antenna is greater than the priority of current primary antenna, by i-th The antenna switching threshold of+1 secondary antenna switching is configured with less than the antenna switching threshold of i-th antenna switching.
Optionally, the current primary antenna after obtaining the switching of i-th antenna is gone back with before the use priority of target primary antenna Include:
The target primary antenna after the switching of statistics i-th antenna and current primary antenna are switched in preset period of time respectively Total duration when using for the total degree of primary antenna and/or as primary antenna determines i-th according to total degree and/or total duration The use priority of target primary antenna and current primary antenna after antenna switching.
Optionally, the current primary antenna after obtaining the switching of i-th antenna is gone back with before the use priority of target primary antenna Include:
Identify the current user information received;
The mapping of use priority when according to preset user information and each antenna of multi-antenna terminal as primary antenna is closed System, determines use priority when each antenna is as primary antenna when active user uses multi-antenna terminal;
The use priority of each antenna when multi-antenna terminal as primary antenna when is used to determine i-th day according to active user The use priority of target primary antenna and current primary antenna after line switching.
Optionally, destinations traffic parameter includes the destinations traffic parameter based on uplink and/or the destinations traffic based on downlink Parameter.
Destinations traffic parameter based on uplink includes: uplink transmission power, maximum transmission power ratio and channel estimating ginseng At least one of number;
Destinations traffic parameter based on downlink includes at least one of the bit error rate, received signal strength and signal-to-noise ratio.
Further, the present invention also provides a kind of multi-antenna terminal, multi-antenna terminal includes processor, memory, leads to Believe bus, main transmitting-receiving access, auxiliary receiving path and at least three groups of antennas;Currently connect with main transmitting-receiving access at least three groups of antennas Logical is primary antenna, be currently connected to auxiliary receiving path supplemented by antenna, it is remaining be spare antenna;
Communication bus for realizing processor, memory, main transmitting-receiving access, auxiliary receiving path and at least three groups of antennas it Between connection communication;
Processor is for executing one or more program stored in memory, to realize that antenna provided by the invention is cut The step of changing control method.
Further, the present invention also provides a kind of computer readable storage mediums, which is characterized in that computer-readable to deposit Storage media is stored with one or more program, one or more program can be executed by one or more processor, with reality The step of existing antenna switching control method provided by the invention.
Beneficial effect
The present invention provides a kind of antenna switching control method, multi-antenna terminal and computer readable storage medium, for existing Having multi-antenna terminal frequently to run the progress antenna switching of antenna handoff algorithms leads to the biggish defect of power consumption, passes through previous secondary antenna Antenna switching threshold when switching needs come the antenna switching threshold of satisfaction required when calculating the current antenna switching of progress again When carrying out antenna switching again, even if the signal parameter of current each antenna meets initial antenna switching threshold, it will not carry out Antenna switching only meets antenna switching threshold when switching over again being calculated in the signal parameter of current each antenna When, antenna switching is just carried out again.Antenna switching threshold keeps dynamic change while switching continuous service with antenna, delays Antenna handover process, solve existing multi-antenna terminal frequently run antenna handoff algorithms carry out antenna switching cause power consumption compared with Big problem realizes the control in antenna switching field to ping-pong.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention.
Fig. 2 is the communication means schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the antenna switching control method basic flow chart that first embodiment of the invention provides;
Fig. 4 is a kind of mapping relations configuration interface figure provided in an embodiment of the present invention;
Fig. 5 is the antenna switching control method refined flow chart that second embodiment of the invention provides;
Fig. 6 is status diagram when a kind of user provided in an embodiment of the present invention uses multi-antenna terminal;
Fig. 7 is the structural schematic diagram for the multi-antenna terminal that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
The terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, using being used for The suffix of such as " module ", " component " or " unit " of element is indicated only for being conducive to explanation of the invention, itself does not have Specific meaning.Therefore, " module ", " component " or " unit " can be used mixedly.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, 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, the components such as memory 109, processor 110, power supply 111 and antenna 112.Wherein, in mobile terminal 100 shown in fig. 1 Based on being currently connected to the main transmitting-receiving access of mobile terminal 100 including at least three groups of antennas 112, at least three groups of antennas 112 Antenna, be currently connected to the auxiliary receiving path of mobile terminal 100 supplemented by antenna, it is remaining be spare antenna, processor 110 can To control break-make situation of each group of antenna respectively with main transmitting-receiving access and auxiliary receiving path, when processor 110 controls a certain group When antenna is connected to main transmitting-receiving access, radio frequency unit 101 can receive or send signal by this group of antenna, it should be appreciated that At least three groups of antennas 112 can be with flexible setting on any position of mobile terminal 100, for example, when including on mobile terminal 100 When three groups of antennas 112, this three groups of antennas 112 can be separately positioned on the top, lower left and bottom right at 100 back side of mobile terminal Side.Those skilled in the art are further appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, Mobile terminal may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention below retouches communication means involved in mobile terminal of the invention It states.
Referring to Fig. 2, Fig. 2 is communication means schematic diagram involved in mobile terminal provided in an embodiment of the present invention, this hair The multi-antenna terminal that bright embodiment provides includes at least three groups of antennas 211,212 ... 21m, antenna gating circuit 22, radio frequency electrical Road 23 and baseband processor 24, the antenna gating circuit 22 have n first interface 2211,2212 ... (n is generally 221n Positive integer more than or equal to m), two second interfaces 2221,2222.Wherein, the master of a second interface 2221 and radio circuit It receives and dispatches access and is connected to 231 and 232 (TX and PRX in Fig. 2), the auxiliary receiving path of another second interface 2222 and radio circuit 233 (DRX in Fig. 2) connection, is connected separately with an at least way switch between each first interface and two second interfaces Circuit has at least one switch on each path switching circuit, and each group of antenna and antenna gating circuit of the present embodiment are extremely Few first interface connection.Baseband processor 24 includes radio-frequency transmissions D/A converting circuit 241 (TX-DAC in Fig. 2), master Collection receives analog to digital conversion circuit 242 (PRX-ADC in Fig. 2), (DRX- in Fig. 2 of diversity reception analog to digital conversion circuit 243 ADC analog to digital conversion circuit 242, diversity reception analog-to-digital conversion), and with the radio-frequency transmissions D/A converting circuit 241, main collection are received The modulation-demodulation circuit 244 (the MODEM PROC in Fig. 2) that circuit 243 is separately connected, the main transmitting-receiving access 231 of radio circuit 23 Receive with the radio-frequency transmissions D/A converting circuit 241 of baseband processor, main collection that analog to digital conversion circuit 242 is corresponding is connected to 232, it is auxiliary Receiving path 233 is connected to diversity reception analog to digital conversion circuit 243.Baseband processor further includes antenna switching control module 245 With HAL interface module 246, antenna switching control module 245 is connected to by HAL interface module 245 with antenna gating circuit 22, is led to Crossing the 246 antenna switching control module 245 of HAL interface module can control the logical of each path switching circuit in antenna gating circuit 22 Disconnected (connection between an arbitrary first interface and a second interface can be controlled), and based on this from multiple groups antenna Select specific main road antenna, or the specific main road antenna of selection and bypass antenna combination.
Based on above-mentioned terminal hardware structure, below by way of specific embodiment, the present invention is described in detail.
First embodiment
In order to solve multi-antenna terminal in the prior art frequently run antenna handoff algorithms carry out antenna switching lead to power consumption Larger problem present embodiments provides a kind of antenna switching control method, and referring to Fig. 3, Fig. 3 is one kind provided in this embodiment The basic flow chart of antenna switching control method, the method for handover control include:
S301, it detects whether to complete the switching of i-th antenna, antenna switching is for redefining at least three groups of antennas and main receipts The connected relation between access, auxiliary receiving path is sent out, to select new primary antenna, auxiliary antenna and spare antenna.
In embodiments of the present invention, antenna switching refers to that primary antenna switches, such as terminal include three groups of antenna Ant0, Ant1 and Ant2, in t0 to t1 moment (not including t1 moment itself), antenna Ant0, which is used as, has switched primary antenna, antenna Ant1 As auxiliary antenna, antenna Ant2 is as spare antenna, at the t1 moment, since user's handheld terminal, terminal placement status etc. occur Variation, causes the destinations traffic parameter of antenna Ant0, Ant1 and Ant2 to change, is hereafter RSSI with destinations traffic parameter It is illustrated for (Received Signal Strength Indication, received signal strength), such as antenna Ant0, The signal strength indication of Ant1 and Ant2 becomes: RSSI (Ant0, t1)=- 98dbm, RSSI (Ant1, t1)=- 90dbm, RSSI The RSSI of (Ant2, t1)=- 106dbm, antenna Ant1 are 8dbm bigger than the RSSI of antenna Ant0, it is meant that the downlink of antenna Ant1 Quality relative antenna Ant0 high, then can be using antenna Ant1 as current primary antenna, if preset antenna switches threshold when this switching Value is 5dbm, then meets switching condition, carries out antenna switching, and complete previous secondary antenna switching, after switching, antenna at the t2 moment Ant1 is as primary antenna at this time, and antenna Ant0 is as auxiliary antenna, time of the antenna Ant2 as spare antenna, between t2 and t1 Difference is Millisecond, such as t2-t1=0.5ms.
S302, it is detecting when completing the switching of i-th antenna, the antenna switching threshold that acquisition i-th antenna switches;According to The antenna switching threshold of i-th antenna switching calculates the antenna switching threshold when switching of i+1 secondary antenna.
Based on foregoing description, detect that secondary antenna switching is completed in acquisition when completing the switching of previous secondary antenna at the t2 moment When switch over the antenna switching threshold 5dbm i.e. above-mentioned of judgement, and calculated by the value when carrying out antenna switching again Antenna switching threshold.To which when carrying out antenna switching again, the RSSI of even each antenna meets antenna switching threshold i.e. 5dbm also switches without antenna, only just carries out antenna when the new antenna switching threshold that satisfaction is calculated based on 5dbm Switching.And with the continuous progress of antenna handover process, antenna switching threshold also keeps dynamic change.In addition, according to preceding primary Antenna switching threshold when antenna switching threshold when switching carries out antenna switching to calculate again can according to different application scene Take different calculations.
Optionally, the antenna switching threshold switched according to i-th antenna calculates the antenna switching of i+1 secondary antenna switching Threshold value, comprising:
A default adjusting parameter;
I+1 secondary antenna is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and adjusting parameter The antenna switching threshold of switching;The antenna that the antenna switching threshold of i+1 secondary antenna switching is greater than the switching of i-th antenna switches threshold Value.
In the present embodiment, for prevent complete a secondary antenna switching when begin to be switched next time immediately.For example, In a preceding handoff procedure, for antenna Ant0 as having switched primary antenna, antenna when set preceding primary switching switches threshold Value is 5dbm, wherein the difference of the received signal strength of another antenna Ant1 and Ant0, which meets, is greater than 5dbm, therefore antenna occurs and cuts It changes and chooses antenna Ant1 as primary antenna.When calculating antenna switching threshold when carrying out antenna switching again, can pass through Preset algorithm such as addition algorithm, antenna switching threshold in preceding primary switching on the basis of, increase by an adjusting parameter value such as 2dbm Come obtain carrying out next time switching when for determining the antenna switching threshold of the difference of destinations traffic parameter such as RSSI, i.e. 5dbm+ 2dbm=7dbm, and so on, the subsequent relatively previous total phase of antenna switching threshold of antenna switching threshold when switching over again To 2dbm is increased, that is, be followed successively by 7dbm, 9dbm, 11dbm ... therefore, with the lasting carry out antenna switching threshold of switching behavior Also continue dynamic change.In addition, preset algorithm can also be multiplication algorithm, then a weighted factor is set by adjusting parameter, Such as 1.2, it can be cut again according to the product of the weighted factor and antenna switching threshold when preceding primary switching to determine at this time Antenna switching threshold when changing, i.e. 5dbm × 1.2=6dbm.
S303, the destinations traffic parameter for obtaining multi-antenna terminal, antenna when being switched according to i+1 secondary antenna switch threshold It is worth, judges whether to need to carry out i+1 secondary antenna switching, destinations traffic parameter is used to characterize the performance of antenna.
Based on foregoing description, current primary antenna, that is, aforementioned Ant1 obtains the destinations traffic of each antenna of multi-antenna terminal at this time Parameter simultaneously thereby determines that target primary antenna such as Ant0, according to aforementioned calculating process it is obtained again carry out antenna switching when needs The antenna switching threshold of satisfaction is 7dbm, determines whether the difference of the received signal strength of Ant0 and Ant1 is greater than 7dbm, if Meet and just determines the next secondary antenna switching of progress, even if when difference is 6dbm, although antenna when being greater than preceding primary switching is cut Change threshold value 5dbm, but due to whether meeting the condition switched again and be not based on same antenna switching threshold and determined, Because antenna switching threshold when switching over again is changed, and with the antenna switching threshold 7dbm phase currently calculated It than being not out, therefore does not do and switches when difference is 6dbm, thus delayed the switching of antenna.
Optionally, i+1 is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and adjusting parameter After the antenna switching threshold of secondary antenna switching, further includes:
Whether the antenna switching threshold for judging the switching of i+1 secondary antenna is more than upper threshold;If it is not, be then calculated The antenna switching threshold of i+1 secondary antenna switching is effective.
In the present embodiment, for prevent carry out antenna switching threshold adjustment when with antenna switching behavior continue into Row and constantly become larger, it is contemplated that if more than when will antenna be switched when certain value to the target of multi-antenna terminal Messaging parameter judgment criteria becomes excessively high, so that being difficult to reach antenna switching condition and influence the antenna of multi-antenna terminal just Normal performance of handoffs.Day when therefore, it is necessary to based on a preset upper threshold such as 20dbm to the switching again being calculated Line switching threshold is judged that the upper threshold is the threshold value for guaranteeing antenna switching and being normally carried out, as long as when switching again Antenna switching threshold is no more than 20dbm, and then the calculated value is virtual value, can continue to carry out antenna switching according to preset rules Determine and antenna switching threshold calculates.
Optionally, i+1 is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and adjusting parameter After the antenna switching threshold of secondary antenna switching, further includes:
Whether the antenna switching threshold for judging the switching of i+1 secondary antenna is more than upper threshold, if so, a selected correction value As antenna switching threshold;Correction value include upper threshold value, the switching of i-th antenna antenna switching threshold, initial antenna cuts Change threshold value.
Based on foregoing description, if from first secondary antenna switching persistently carry out antenna be switched to certain number when, when switching again Antenna switching threshold to be difficult to the difference of destinations traffic parameter full When the foot value, it is excessive that antenna switches difficulty, if or continuing to increase even if being currently able to satisfaction subsequent antenna switching threshold, meeting eventually Cause antenna switching that can not continue, therefore, when antenna switching threshold is more than upper threshold when switching again, needs to meter Obtained antenna switching threshold is modified and is returned to normal level, so as to maintain to carry out day according to preset rules Line is switched and determined.In some embodiments, threshold can be switched using upper threshold 20dbm as antenna when switching over again Value, then using 20dbm as the decision content of destinations traffic parameter when progress antenna switching again when carrying out antenna switching every time, If subsequent carry out not continuing to carry out threshold calculations according to preset rules when antenna switching again.It, can be in other embodiments The antenna switching threshold that the antenna switching threshold that this is calculated once switches over before being modified to, if then subsequent carry out again It will also continue to determine with the revised threshold value when antenna switches, and antenna can not be carried out according still further to preset rules and switch threshold Value calculates.It is, of course, also possible to which the antenna switching threshold that this is calculated is modified to day when initial time carries out antenna switching Line switching threshold, i.e., initial value 5dbm as the aforementioned, in this case, if it is subsequent carry out can continuing when antenna switching again according to Preset rules carry out antenna switching determination and antenna switching threshold calculates.
It should be noted that in some embodiments adjusting parameter can also be set to a variable value, thus in antenna The dynamic corrections that antenna switching threshold can also be carried out while antenna switching threshold dynamic adjusts, example are realized during switching Such as, the collection of antenna switching threshold once switched over before selecting is combined into such as { 6,9,12,15,18,21 ... ... } dbm, corresponding The set of adjusting parameter may be configured as such as { 5,3,3,1,1, -3 ... } dbm, then according to it is corresponding it is preceding once switch over when Antenna switching threshold when switching over again that antenna switching threshold and adjusting parameter are calculated be 11,12,15,16, 19,18 ... } dbm avoids the normal switching of antenna by shadow so that the flexibility of antenna switching threshold and validity are stronger It rings.In the present embodiment, the configuration mode of antenna switching threshold and adjusting parameter mapping relations when previous secondary antenna switches can To select system configuration or manual configuration, system configuration voluntarily to be configured by system as shown in figure 4, user can according to need, Manual configuration can then require user's self-setting respectively adjusting parameter corresponding with antenna switching threshold when preceding primary switching.
Optionally, destinations traffic parameter includes the destinations traffic parameter based on uplink and/or the destinations traffic based on downlink Parameter;
Destinations traffic parameter based on uplink includes: uplink transmission power, maximum transmission power ratio and channel estimating ginseng At least one of number;
Destinations traffic parameter based on downlink includes at least one of the bit error rate, received signal strength and signal-to-noise ratio.
Different transmitting scenes is different to different communication mass parameter the considerations of point, such as when determining that multi-antenna terminal is current When the scene type for carrying out communications is uplink scene, then the uplink transmission power of primary antenna, maximum transmission power The main indicator of ratio and channel estimating parameter as tradeoff quality of uplink signal, the communication quality parameter as primary antenna will Can more embody communication quality, it is corresponding, when determine multi-antenna terminal currently carry out the scene type of communications be downlink pass The main indicator of the bit error rate of primary antenna, received signal strength and signal-to-noise ratio as tradeoff downlink signal quality when defeated scene, Communication quality parameter as primary antenna can will more embody communication quality.
Wherein, such as according to MTPL (maximum transmission power ratio) quality of uplink signal is determined, if A antenna is as terminal Current primary antenna, within a preset period of time, the uplink of A antenna emit 10 times, have 8 uplink transmission powers to reach maximum value, MTPL=80% at this time, it means that the uplink of A antenna is of low quality.The B antenna primary antenna current as terminal, same In period, the uplink of B antenna emits 10 times, and only 2 uplink transmission powers reach maximum value, at this time MTPL=20%.C days The line primary antenna current as terminal, within the same period, the uplink of C antenna emits 10 times, there is 4 uplink transmission powers Reach maximum value, at this time MTPL=40%.Then selected B days according to the MTPL comparison result of this three groups of antennas of A, B, C, that is, B > C > A Line is as target primary antenna.
The present invention provides a kind of antenna switching control method, multi-antenna terminal and computer readable storage medium, for existing Having multi-antenna terminal frequently to run the progress antenna switching of antenna handoff algorithms leads to the biggish defect of power consumption, passes through previous secondary antenna Antenna switching threshold when switching needs come the antenna switching threshold of satisfaction required when calculating the current antenna switching of progress again When carrying out antenna switching again, even if the signal parameter of current each antenna meets initial antenna switching threshold, it will not carry out Antenna switching only meets antenna switching threshold when switching over again being calculated in the signal parameter of current each antenna When, antenna switching is just carried out again.Antenna switching threshold keeps dynamic change while switching continuous service with antenna, delays Antenna handover process, solve existing multi-antenna terminal frequently run antenna handoff algorithms carry out antenna switching cause power consumption compared with Big problem realizes the control in antenna switching field to ping-pong.
Second embodiment
Fig. 5 is the antenna switching control method refined flow chart that second embodiment of the invention provides, the antenna switching control Method includes:
S501, it detects whether to complete the switching of i-th antenna, antenna switching is for redefining at least three groups of antennas and main receipts The connected relation between access, auxiliary receiving path is sent out, to select new primary antenna, auxiliary antenna and spare antenna.If so, Step S502 is executed, continues to execute this step S501 if it is not, then returning.
The specific implementation process of the step can be with reference to the related narration in above-mentioned first embodiment, and details are not described herein.
S502, the target primary antenna when detecting that completing i-th antenna switches, after counting the switching of i-th antenna respectively When total when being switched to the total degree of primary antenna in preset period of time with current primary antenna and/or being used as primary antenna It is long, determine that the use of target primary antenna and current primary antenna after the switching of i-th antenna is preferential according to total degree and/or total duration Grade.
It is switched to the higher frequency for illustrating whithin a period of time to use the antenna as primary antenna of total degree of primary antenna Rate is higher, and the more long then explanation resident time on this antenna of total duration when being used whithin a period of time as primary antenna It is longer, in both cases, it usually can illustrate that the destinations traffic parameter of the antenna is better, i.e., by user's use state Or the influence of the factors such as placement status is smaller, then can define the use priority of the antenna higher.
Optionally, the current user information received is identified;
The mapping of use priority when according to preset user information and each antenna of multi-antenna terminal as primary antenna is closed System, determines use priority when each antenna is as primary antenna when active user uses multi-antenna terminal;
The use priority of each antenna when multi-antenna terminal as primary antenna when is used to determine i-th day according to active user The use priority of target primary antenna and current primary antenna after line switching.
The hand-held habit of the different terminals of different user can generate Different Effects to the destinations traffic parameter of different antennae, referring to Fig. 6, Fig. 6 are status diagram when user uses multi-antenna terminal, when in terminal including three groups of antennas, such as can be by this Three groups of antennas are separately positioned on the top, lower left and lower right at the terminal back side, respectively antenna 1, antenna 2 and antenna 3, when User is then located at lower right antenna 3 when practising righthanded using terminal is blocked maximum by one's hands, the antenna 2 positioned at lower left Certain influence of blocking may also be will receive, and the antenna 1 being located above terminal is not blocked by hand then completely, can guarantee best Communication environment therefore the use priority of this three groups of antennas can be ranked up, i.e. 1 > antenna of antenna, 2 > antenna 3.This According to the identification information of different user and the difference being arranged according to the habit of user's using terminal in terminal in embodiment The use priority information of the antenna in orientation establishes corresponding relationship, and when different user is in using terminal, terminal receives user Identification information such as fingerprint, sound etc., thus when directly obtaining this using terminal according to corresponding relationship each antenna using excellent First grade, and then determine the use priority for completing the target primary antenna and current primary antenna that determine after preceding primary switching.
S503, the antenna switching threshold for obtaining the switching of i-th antenna;Current primary antenna after obtaining the switching of i-th antenna With the use priority of target primary antenna, and use priority is compared, according to comparison result and the switching of i-th antenna Antenna switching threshold configures the antenna switching threshold of i+1 secondary antenna switching;
If the use priority of the target primary antenna after the switching of i-th antenna is less than the priority of current primary antenna, by i-th Antenna switching threshold when+1 secondary antenna switches is configured to be greater than the antenna switching threshold of i-th antenna switching;
If the use priority of the target primary antenna after the switching of i-th antenna is greater than the priority of current primary antenna, by i-th Antenna switching threshold when+1 secondary antenna switches is configured with less than the antenna switching threshold of i-th antenna switching.
The default definition of use priority when according to each antenna to multi-antenna terminal as primary antenna determines target The use priority comparison result of primary antenna and current primary antenna, such as value is carried out between 1-5, wherein 1 represents priority It is minimum, such as getting the use priority of target primary antenna and current primary antenna is respectively 4 and 2, then target primary antenna and work as The use priority comparison result of preceding primary antenna is the use priority that target primary antenna is greater than current primary antenna.
Usual primary antenna can always be attempted to reside on the high antenna of use priority, to can guarantee preferable communication matter Amount.Therefore after the completion of secondary antenna switching, if the use that the use priority of current primary antenna is higher than target primary antenna is preferential Grade, should guarantee to reside in without being switched immediately on current primary antenna, i.e., current primary antenna is switched to target primary antenna as far as possible It is more demanding, and by increase again carry out antenna switching antenna switching threshold can increase triggering antenna switching difficulty Degree;If the use priority of current primary antenna is lower than the use priority of target primary antenna, the main day of target should be switched to as early as possible Line gets on, i.e., the requirement that current primary antenna is switched to target primary antenna is lower, and carries out the day of antenna switching again by reducing Line switching threshold can reduce the difficulty of triggering antenna switching.It can be corresponding preferential according to target primary antenna and current primary antenna The difference of grade definition value configures antenna switching threshold when switching again to correspond to.In some embodiments, such as preceding primary The use priority of the target primary antenna and current primary antenna that determine after the completion of antenna switching is respectively 4 and 2, then difference is 2, no Be corresponding with an adjusting parameter all in accordance with certain mapping relations with absolute difference, as absolute difference collection is combined into 1,2,3,4, 5 }, the collection of corresponding adjusting parameter is combined into { 2,4,6,8,10 } dbm, i.e., it be corresponding adjusting parameter is 4dbm that difference, which is 2, if target Primary antenna is greater than the use priority of current primary antenna, then antenna switching threshold when previous secondary antenna switches subtracts adjusting parameter Difference be again carry out antenna switching antenna switching threshold, such as previous secondary antenna switching when antenna switching threshold be it is aforementioned 5dbm, adjusting parameter 4dbm, then again carry out antenna switching antenna switching threshold are as follows: 5dbm-4dbm=1dbm so that It only needs to meet a lesser antenna switching threshold 1dbm when this time switching and can switch over, guarantee being switched to as quickly as possible The high antenna of use priority gets on.Conversely, if target primary antenna is less than the use priority of current primary antenna, preceding primary day Antenna switching threshold when line switches is the antenna switching threshold that carries out antenna switching again plus the sum of adjusting parameter, if such as The use priority of target primary antenna and current primary antenna is respectively 2 and 4, then difference is -2, and difference equally corresponds to for -2 Adjusting parameter 4dbm, the antenna switching threshold 5dbm as the aforementioned when previous secondary antenna switches, then carry out antenna switching again Antenna switching threshold are as follows: 5dbm+4dbm=9dbm, compared to it is preceding it is primary carry out antenna switching when antenna switching threshold increase compared with It is more, increase the difficulty of triggering antenna switching so that resided on current primary antenna as far as possible so that the communication quality of antenna by The influence of the factors such as user's use state or placement status is smaller.
S504, the destinations traffic parameter for obtaining multi-antenna terminal, antenna when being switched according to i+1 secondary antenna switch threshold Value, judges whether to need to carry out i+1 secondary antenna switching, if so, thening follow the steps S505.This is continued to execute if it is not, then returning Step S504.
S505, antenna switching is carried out.
The specific implementation process of the step can be with reference to the related narration in above-mentioned first embodiment, and details are not described herein.
By the implementation of the present embodiment, antenna switching threshold when being switched by previous secondary antenna calculate it is current again into The antenna switching threshold of row antenna required satisfaction when switching, that is, when needing to carry out antenna switching again, even if current each antenna Signal parameter meet initial antenna switching threshold, antenna switching will not be carried out, it is only full in the signal parameter of current each antenna When antenna switching threshold when switching over again being calculated enough, antenna switching is just carried out again.As antenna switching is held Antenna switching threshold keeps dynamic change while reforwarding row, has delayed antenna handover process, has solved existing multi-antenna terminal Frequently operation antenna handoff algorithms carry out the problem that antenna switching causes power consumption larger, realize in antenna switching field to table tennis The control of effect.Simultaneously by comparing the use priority and basis of current primary antenna and target primary antenna after preceding primary switching Comparison result configures the antenna switching threshold switched again, so that main antenna is resided on the high antenna of priority as far as possible, makes The communication quality of antenna is influenced smaller by user's use state or such as placement status other factors, thus take into account The individual requirement that multi-antenna terminal switches antenna according to different use priorities, further enhance user uses body It tests.
3rd embodiment
A kind of multi-antenna terminal is present embodiments provided, it is shown in Figure 7, including processor 701, memory 702, communication Bus 703, communication unit 704 and antenna 705;
Communication bus 703 is for realizing the connection communication between processor 701, memory 702 and communication unit 704;
Communication unit 704 can be radio frequency communications unit (radio circuit), be also possible to other kinds of communication unit, Including main transmitting-receiving access, auxiliary receiving path (access is not shown in the figure), antenna 705 includes at least three groups, this at least three groups of antenna In to be currently connected to above-mentioned main transmitting-receiving access be primary antenna, be currently connected to above-mentioned auxiliary receiving path supplemented by antenna, it is remaining It is spare antenna.
Memory 702 for executing one or more programs, processor 701 for execute one stored in memory or The multiple programs of person, the step of to realize as above antenna switching control method exemplified by each embodiment.
The present invention also provides a kind of computer readable storage medium, computer-readable recording medium storage have one or Multiple programs, one or more program can be executed by one or more processor, to realize exemplified by as above each embodiment Antenna switching control method the step of.
The present invention provides a kind of antenna switching control method, multi-antenna terminal and computer readable storage medium, for existing Having multi-antenna terminal frequently to run the progress antenna switching of antenna handoff algorithms leads to the biggish defect of power consumption, passes through previous secondary antenna Antenna switching threshold when switching needs come the antenna switching threshold of satisfaction required when calculating the current antenna switching of progress again When carrying out antenna switching again, even if the signal parameter of current each antenna meets initial antenna switching threshold, it will not carry out Antenna switching only meets antenna switching threshold when switching over again being calculated in the signal parameter of current each antenna When, antenna switching is just carried out again.Antenna switching threshold keeps dynamic change while switching continuous service with antenna, delays Antenna handover process, solve existing multi-antenna terminal frequently run antenna handoff algorithms carry out antenna switching cause power consumption compared with Big problem realizes the control in antenna switching field to ping-pong, enhances the usage experience of user.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (9)

1. a kind of antenna switching control method, which is characterized in that be applied to multi-antenna terminal, multi-antenna terminal includes that main transmitting-receiving is logical Road, auxiliary receiving path and at least three groups of antennas;Currently being connected to main transmitting-receiving access at least three groups of antennas is primary antenna, when It is preceding be connected to auxiliary receiving path supplemented by antenna, it is remaining be spare antenna;Method includes:
Detect whether to complete the switching of i-th antenna, antenna switching for redefine at least three groups of antennas with it is described Connected relation between main transmitting-receiving access, auxiliary receiving path, to select new primary antenna, auxiliary antenna and spare antenna;
When detecting that completing i-th antenna switches, the antenna switching threshold of the i-th antenna switching is obtained;According to described The antenna switching threshold of i-th antenna switching calculates the antenna switching threshold when switching of i+1 secondary antenna;
Whether the antenna switching threshold for judging the i+1 secondary antenna switching is more than upper threshold;If it is not, the institute being then calculated The antenna switching threshold for stating the switching of i+1 secondary antenna is effective;
The destinations traffic parameter for obtaining the multi-antenna terminal, antenna switching threshold when being switched according to the i+1 secondary antenna, Judge whether to need to carry out i+1 secondary antenna switching, the destinations traffic parameter is used to characterize the performance of antenna.
2. antenna switching control method as claimed in claim 1, which is characterized in that cut according to the antenna that the i-th antenna switches Threshold value is changed, the antenna switching threshold when switching of i+1 secondary antenna is calculated, comprising:
A default adjusting parameter;
I+1 time is calculated by preset algorithm according to the antenna switching threshold of i-th antenna switching and the adjusting parameter The antenna switching threshold of antenna switching;The antenna switching threshold of the i+1 secondary antenna switching switches greater than the i-th antenna Antenna switching threshold.
3. antenna switching control method as claimed in claim 2, which is characterized in that cut according to the antenna that the i-th antenna switches It changes after the antenna switching threshold that threshold value and the adjusting parameter calculate the switching of i+1 secondary antenna by preset algorithm, further includes:
Whether the antenna switching threshold for judging the switching of i+1 secondary antenna is more than upper threshold, if so, a selected correction value conduct The antenna switching threshold;The correction value includes antenna switching threshold, the initial day of upper threshold value, the switching of i-th antenna Line switching threshold.
4. antenna switching control method as claimed in claim 1, which is characterized in that cut according to the antenna that the i-th antenna switches Threshold value is changed, the antenna switching threshold of i+1 secondary antenna switching is calculated, comprising:
The use priority of current primary antenna and target primary antenna after obtaining the switching of i-th antenna, and to described using preferential Grade is compared, according to the antenna of comparison result and the antenna switching threshold configuration i+1 secondary antenna switching of i-th antenna switching Switching threshold;
If the use priority of the target primary antenna after the switching of i-th antenna is less than the priority of current primary antenna, by described i-th The antenna switching threshold of+1 secondary antenna switching is configured to be greater than the antenna switching threshold of i-th antenna switching;
If the use priority of the target primary antenna after the switching of i-th antenna is greater than the priority of current primary antenna, by described i-th The antenna switching threshold of+1 secondary antenna switching is configured with less than the antenna switching threshold of the i-th antenna switching.
5. antenna switching control method as claimed in claim 4, which is characterized in that the current main day after obtaining the switching of i-th antenna Before the use priority of line and target primary antenna, further includes:
Based on the target primary antenna after the switching of statistics i-th antenna and current primary antenna are switched in preset period of time respectively The total degree of antenna and/or total duration when using as primary antenna, determine i-th according to the total degree and/or total duration The use priority of target primary antenna and current primary antenna after antenna switching.
6. antenna switching control method as claimed in claim 4, which is characterized in that the current main day after obtaining the switching of i-th antenna Before the use priority of line and target primary antenna, further includes:
Identify the current user information received;
The mapping of use priority when according to preset user information and each antenna of the multi-antenna terminal as primary antenna is closed System, determines use priority when each antenna is as primary antenna when active user uses the multi-antenna terminal;
The use priority of each antenna when the multi-antenna terminal as primary antenna when is used to determine i-th day according to active user The use priority of target primary antenna and current primary antenna after line switching.
7. such as the antenna switching control method of any one of claims 1 to 6, which is characterized in that the destinations traffic parameter packet Include the destinations traffic parameter based on uplink and/or the destinations traffic parameter based on downlink;
The destinations traffic parameter based on uplink includes: uplink transmission power, maximum transmission power ratio and channel estimating ginseng At least one of number;
The destinations traffic parameter based on downlink includes at least one of the bit error rate, received signal strength and signal-to-noise ratio.
8. a kind of multi-antenna terminal, which is characterized in that the multi-antenna terminal includes processor, memory, communication bus, main receipts Send out access, auxiliary receiving path and at least three groups of antennas;It is currently connected to the main transmitting-receiving access at least three groups of antennas Be primary antenna, be currently connected to the auxiliary receiving path supplemented by antenna, it is remaining be spare antenna;
The communication bus for realizing processor, memory, main transmitting-receiving access, auxiliary receiving path and at least three groups of antennas it Between connection communication;
The processor is for executing one or more program stored in memory, to realize as appointed in claim 1 to 7 The step of antenna switching control method described in one.
9. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be executed by one or more processor, to realize such as claim 1 to 7 Any one of described in antenna switching control method the step of.
CN201710764386.7A 2017-08-30 2017-08-30 Antenna switching control method, multi-antenna terminal and computer readable storage medium Active CN107453766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710764386.7A CN107453766B (en) 2017-08-30 2017-08-30 Antenna switching control method, multi-antenna terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710764386.7A CN107453766B (en) 2017-08-30 2017-08-30 Antenna switching control method, multi-antenna terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107453766A CN107453766A (en) 2017-12-08
CN107453766B true CN107453766B (en) 2019-11-19

Family

ID=60493538

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN107453766B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10749245B2 (en) * 2018-01-19 2020-08-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Antenna assembly, electronic device and method for switching antenna
CN108321524B (en) * 2018-01-19 2020-08-04 Oppo广东移动通信有限公司 Antenna assembly, electronic equipment and antenna switching method
CN109450477B (en) * 2018-10-31 2021-11-02 北京小米移动软件有限公司 Antenna structure, signal receiving method and device of electronic equipment and electronic equipment
CN109951207A (en) * 2019-03-20 2019-06-28 Oppo广东移动通信有限公司 Radio frequency system and electronic equipment
CN110380771B (en) * 2019-07-23 2023-04-07 Oppo(重庆)智能科技有限公司 Antenna switching method, antenna switching device, storage medium and electronic equipment
CN111614839B (en) * 2020-05-26 2021-06-15 惠州Tcl移动通信有限公司 Antenna self-adaptive control method and device
CN112202467B (en) * 2020-09-02 2021-09-21 珠海格力电器股份有限公司 Method, device, equipment and medium for controlling main diversity change-over switch
CN112436878B (en) * 2020-11-22 2021-09-03 广州技象科技有限公司 Signal receiving mode switching method and device based on service type
CN113676271A (en) * 2021-07-05 2021-11-19 维沃移动通信有限公司 Method and device for switching antennas

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848026A (en) * 2009-03-25 2010-09-29 冲电气工业株式会社 Receiving method and device
CN103797726A (en) * 2011-08-01 2014-05-14 苹果公司 Antenna switching system with adaptive switching criteria
CN105323816A (en) * 2015-09-29 2016-02-10 联想(北京)有限公司 Information processing method and electronic device
US9369187B1 (en) * 2015-04-21 2016-06-14 Amazon Technologies, Inc. Antenna switching in an antenna system
CN106488523A (en) * 2015-08-24 2017-03-08 大唐移动通信设备有限公司 A kind of method and apparatus of suppression antenna transmission mode frequent switching

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577252A (en) * 2015-10-29 2016-05-11 上海与德通讯技术有限公司 Antenna selection method of mobile terminal
CN106374969B (en) * 2016-09-30 2019-01-22 维沃移动通信有限公司 A kind of switching method and mobile terminal of antenna

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848026A (en) * 2009-03-25 2010-09-29 冲电气工业株式会社 Receiving method and device
CN103797726A (en) * 2011-08-01 2014-05-14 苹果公司 Antenna switching system with adaptive switching criteria
US9369187B1 (en) * 2015-04-21 2016-06-14 Amazon Technologies, Inc. Antenna switching in an antenna system
CN106488523A (en) * 2015-08-24 2017-03-08 大唐移动通信设备有限公司 A kind of method and apparatus of suppression antenna transmission mode frequent switching
CN105323816A (en) * 2015-09-29 2016-02-10 联想(北京)有限公司 Information processing method and electronic device

Also Published As

Publication number Publication date
CN107453766A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107453766B (en) Antenna switching control method, multi-antenna terminal and computer readable storage medium
CN107465428A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107483075A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107623543A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107769833A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107889151A (en) A kind of measurement report report method, mobile terminal and computer-readable recording medium
CN107612581A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107707280A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107592133A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107682035A (en) Antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107508627A (en) Antenna switch triggering method, multi-antenna terminal and computer-readable recording medium
CN107666344A (en) Multiple antennas control method, multi-antenna terminal and computer-readable recording medium
CN108282192A (en) A kind of antenna switching control method, communication terminal and computer readable storage medium
CN109739300B (en) Antenna control method and terminal
CN107645313A (en) Antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107483093A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN109743737A (en) A kind of method, terminal and base station reducing multiple network mutual interference
CN107682038A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107666345A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN110290277B (en) Antenna control method and terminal
CN107580123A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107645325A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN108712558A (en) Incoming call reminding method, mobile terminal and the readable storage medium storing program for executing of mobile terminal
CN107465445A (en) A kind of method, communication terminal and computer-readable recording medium for switching antenna
CN107733509A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium

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