CN107666345A - A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium - Google Patents

A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium Download PDF

Info

Publication number
CN107666345A
CN107666345A CN201710766578.1A CN201710766578A CN107666345A CN 107666345 A CN107666345 A CN 107666345A CN 201710766578 A CN201710766578 A CN 201710766578A CN 107666345 A CN107666345 A CN 107666345A
Authority
CN
China
Prior art keywords
antenna
stage
parameter
judgement
difference
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.)
Pending
Application number
CN201710766578.1A
Other languages
Chinese (zh)
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 CN201710766578.1A priority Critical patent/CN107666345A/en
Publication of CN107666345A publication Critical patent/CN107666345A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0608Antenna selection according to transmission parameters
    • 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/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • 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/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0825Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with main and with auxiliary or diversity antennas

Abstract

The invention discloses a kind of antenna switching method, multi-antenna terminal and computer-readable recording medium, by the first object messaging parameter for first obtaining each antenna, and determine a need for switching the stage to be sentenced into progress antenna switching on the difference two-by-two of first object messaging parameter according to each antenna, and switching the second destinations traffic parameter of stage acquisition to be sentenced, determine a need for carrying out antenna switching on the difference two-by-two of the second destinations traffic parameter further according to each antenna.New primary antenna and auxiliary antenna are redefined again when judging to need to carry out antenna switching.So due in the present invention before determining the need for reselecting main and auxiliary antenna, the performance of nature can be done and assessed at least twice, objective comprehensive evaluation can be carried out to the overall performance of each antenna, exclude influence of the accidentalia to antenna performance, so that follow-up switching is reliable effective, each antenna for ensureing to participate in work after switching possesses really stable superperformance, so as to lift Consumer's Experience.

Description

A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
Technical field
The present invention relates to field of terminal technology, more specifically to a kind of antenna switching method, multi-antenna terminal and meter Calculation machine readable storage medium storing program for executing.
Background technology
With the development of terminal technology, the function of mobile terminal is more and more comprehensive, and the service that it is provided a user is increasingly It is perfect.It is simplest, mobile terminal the call from past pure, SMS derive take pictures, surf the Net, audio/video is broadcast All many services such as put.But, although species is various for the current function of mobile terminal, and with the development of technology, Still have more more intelligent functions by as emerged rapidly in large numbersBamboo shoots after a spring rain into the present following terminal, but mobile terminal carried it is logical Telecommunication function still can be used as one of most basic and most important function, and the performance for being related to its communication aspects also may proceed to conduct User's focus of attention.
It is well known that when mobile terminal antenna environment is more severe, not only communication quality can decline, and influence user's body Test, and the power consumption that mobile terminal is used to communicate can also steeply rise, so as to influence its standby time.So if continue to adopt With traditional antenna design, the development of mobile terminal industry will face lot of challenges in communication quality, communication power consumption. Thus, start to engender " dual-antenna terminal " in recent years.Two of dual-antenna terminal are typically separately positioned on mobile terminal Upper and lower both sides, wherein an antenna carrys out receiving and transmitting signal as primary antenna, another antenna aids in primary antenna as auxiliary antenna Carry out signal reception.
For example, the antenna on mobile terminal top will be arranged on as primary antenna, another is used as auxiliary antenna.Sending out The work of signal is penetrated, is completed by the antenna on mobile terminal top, and during reception signal, upper and lower two antennas carry out multipath simultaneously and connect Receive, then the signal that two antennas each receive is carried out to receive diversity processing, so as to ensure the accuracy of received signal and can By property.
In actual use, due to reasons such as the grippings of user, it may result in primary antenna and be blocked, so as to right The transmitting-receiving ability of mobile terminal can cause pole ill effect.Thus, need badly now and propose a kind of antenna switching scheme, to Because user's grip or other reason such as block caused by Antenna Operation environmental change when, change antenna role so that it is mobile eventually End possesses stronger signal transmitting and receiving ability all the time, lifts the communication experiences of user.
The content of the invention
The technical problem to be solved in the present invention is:A kind of antenna switching scheme is provided, in terminal antenna building ring In the case that border is unstable, change the work role of each antenna in terminal, so as to solve in existing scheme because of Antenna Operation role It is fixed, so easily causing mobile terminal transmitting-receiving performance to drastically reduce when primary antenna is blocked, the problem of Consumer's Experience is low.Pin To the technical problem, there is provided a kind of antenna switching method, multi-antenna terminal and computer-readable recording medium.
In order to solve the above technical problems, the present invention provides a kind of antenna switching method, the antenna switching method is applied to Multi-antenna terminal, the multi-antenna terminal include main transmitting-receiving path, auxiliary receiving path and at least three antennas;Described at least three In root antenna currently with it is described it is main transmitting-receiving communication be primary antenna, currently connected with the auxiliary receiving path supplemented by day Line, remaining is spare antenna;The antenna switching method includes:
The first object messaging parameter of each antenna is obtained, the first object communication ginseng of at least three antennas described in calculating Several differences two-by-two;And the difference two-by-two of the first object messaging parameter is switched stage entry condition to be sentenced and entered with default Row compares;When the difference two-by-two of the first object messaging parameter meet it is described switch when stage entry condition is sentenced, into institute State and switch the stage to be sentenced;The first object messaging parameter can characterize the performance of each antenna of the multi-antenna terminal;
It is described to switch the stage to be sentenced and include:Obtain and second target for switching stage to be sentenced corresponding each antenna Messaging parameter, the difference two-by-two of the second destinations traffic parameter of at least three antennas described in calculating;Judge that second target is led to Whether the difference two-by-two of letter parameter meets default antenna switching condition;If satisfied, judge to need to carry out antenna switching;Described Two destinations traffic parameters can characterize the performance of each antenna of the multi-antenna terminal;
When judging to need to carry out antenna switching, at least three antennas and the main path, auxiliary received and dispatched are redefined Connected relation between receiving path is so as to selecting new primary antenna, auxiliary antenna and spare antenna.
Optionally, when the difference two-by-two of the first object messaging parameter is unsatisfactory for described switching stage entry condition to be sentenced When, in addition to:By the difference two-by-two of the first object messaging parameter compared with the default first direct switching condition;If The difference two-by-two of the first object messaging parameter meets the described first direct switching condition, then judges to need progress antenna to cut Change.
Optionally, it is described to switch N of the stage to be sentenced including carrying out antenna switching condition judgement to second messaging parameter Individual judgement stage, the N are more than or equal to 1;
Whether the difference two-by-two for judging the second destinations traffic parameter meets that default antenna switching condition includes: Judge whether the antenna switching condition meets according to N number of judgement stage;The judgement stage includes:Obtain described more days Second destinations traffic parameter of each antenna of line terminal;The second destinations traffic parameter of at least three antennas is poor two-by-two described in calculating Value;Phase threshold based on the judgement stage determines whether the result of calculation meets to adjudicate bar corresponding to the judgement stage Part, if so, judging whether the presently described judgement stage is last judgement stage, if so, judging to meet the antenna switching Condition, otherwise into next judgement stage.
Optionally, it is described to switch N of the stage to be sentenced including carrying out antenna switching condition judgement to second messaging parameter Individual judgement stage, the N are more than or equal to 1;
Whether the difference two-by-two for judging the second destinations traffic parameter meets that default antenna switching condition includes: Judge whether the antenna switching condition meets according to N number of judgement stage;The judgement stage includes:Obtain described more days Second destinations traffic parameter of each antenna of line terminal;The second destinations traffic parameter of at least three antennas is poor two-by-two described in calculating Value;The difference two-by-two of each second destinations traffic parameter is compared with the phase threshold in the judgement stage;Determine ratio When relatively result meets the second direct switching condition corresponding to the presently described judgement stage, judgement meets the antenna switching condition; A judgement stage in the presence of otherwise, it is determined whether;If so, then enter next judgement stage;If it is not, then judge that day need not be carried out Line switches.
Optionally, enter it is described switch the stage to be sentenced before also include:Into the initial latency cycle;
And/or also include before next judgement stage is entered:Into the latent period in presently described judgement stage.
Optionally, the phase threshold in N number of judgement stage is equal, and the latent period in each judgement stage is equal;
Or, the phase threshold in N number of judgement stage is equal, and the latent period in each judgement stage is unequal;
Or, the phase threshold in N number of judgement stage in the leading decision stage is more than the phase threshold in the rear judgement stage, And the latent period in each judgement stage is equal;
Or, the phase threshold in N number of judgement stage in the leading decision stage is more than the phase threshold in the rear judgement stage, And the latent period in each judgement stage is unequal.
Optionally, a kind of uplink communication ginseng is comprised at least in the first object messaging parameter and the second destinations traffic parameter Number and a kind of downlink communication parameter.
Optionally, the uplink communication parameter refers to including transmission signal power, maximum transmission power ratio value, channel quality Show;
The downlink communication parameter includes received signal strength, received signal quality, received signal power, the bit error rate.
Further, present invention also offers a kind of multi-antenna terminal, the multi-antenna terminal includes main transmitting-receiving path, auxiliary Receiving path and at least three antennas;In at least three antennas currently with it is described it is main transmitting-receiving communication based on day Line, currently connected with the auxiliary receiving path supplemented by antenna, remaining is spare antenna;The multi-antenna terminal also includes place Manage device, memory and communication bus;
The communication bus is used to realize the connection communication between the processor and memory;
The processor is used to perform one or more program stored in the memory, to realize that above-mentioned antenna is cut The step of changing method.
Further, present invention also offers a kind of computer-readable recording medium, the computer-readable recording medium It is stored with one or more program, one or more of programs can be by one or more computing device, to realize The step of above-mentioned antenna switching method.
Beneficial effect
The present invention provides a kind of antenna switching method, multi-antenna terminal and computer-readable recording medium, wherein the present invention The method of offer is applied to the multi-antenna terminal for including main transmitting-receiving path, auxiliary receiving path and at least three antennas, and this is at least In three antennas currently with it is main transmitting-receiving communication be primary antenna, currently connect with auxiliary receiving path supplemented by antenna, residue For spare antenna, based on hardware architecture provided by the invention, terminal is redefined when monitoring that antenna switching condition meets Each antenna and main transmitting-receiving path, the connected relation between auxiliary receiving path are so as to selecting new primary antenna, auxiliary antenna and sky Not busy antenna, completes the switching of antenna, namely antenna work role can dynamic change, can be adjusted flexibly with current demand, Avoid, because antenna performance deterioration causes to go offline or the situation of call drop, lifting Consumer's Experience;
In addition, the first object messaging parameter of the invention by first obtaining each antenna, and according to each antenna on the first mesh Mark the difference two-by-two of messaging parameter and carry out antenna switching to determine a need for entering and switch the stage to be sentenced, and switching wait to sentence Stage obtains the second destinations traffic parameter, determines whether further according to each antenna on the difference two-by-two of the second destinations traffic parameter Need to carry out antenna switching.When judging to need to carry out antenna switching, then redefine each antenna and main transmitting-receiving path, auxiliary reception Connected relation between path is so as to selecting new primary antenna, auxiliary antenna and spare antenna.So due in the present invention true Before determining whether to need to reselect main and auxiliary antenna, can there are two stages that sequential relationship be present, the meeting in the two stages The performances of nature is done and assessed at least twice, so compared to the mode disposably assessed, antenna performance is not only simply Experience judges at least twice, moreover, importantly, can carry out objective comprehensive evaluation, row to the overall performance of each antenna Except influence of the accidentalia to antenna performance, so that follow-up switching is reliable and effective, each of work is participated in after ensureing switching Root antenna possesses really stable superperformance, so as to lift Consumer's Experience.
Brief description of the drawings
Below in conjunction with drawings and Examples, the invention will be further described, in accompanying drawing:
Fig. 1 is the hardware architecture diagram for realizing each optional terminal of embodiment one of the present invention;
Fig. 2 is a kind of multi-antenna terminal structural representation that first embodiment of the invention provides;
Fig. 3 is a kind of antenna switching method basic flow sheet that first embodiment of the invention provides;
Fig. 4 is a kind of operating process signal for switching the respectively judgement stage in the stage to be sentenced that first embodiment of the invention provides Figure;
The operating process that Fig. 5 switches each judgement stage in the stage to be sentenced for the another kind that first embodiment of the invention provides is shown It is intended to;
Fig. 6 is a kind of specific antenna handoff procedure schematic diagram that second embodiment of the invention provides;
Fig. 7 is a kind of multi-antenna terminal structural representation that second embodiment of the invention provides;
Fig. 8 is a kind of antenna setting structure figure for triantennary terminal that third embodiment of the invention provides.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In follow-up description, the suffix using such as " module ", " part " or " unit " for representing element is only Be advantageous to the explanation of the present invention, itself there is no a specific meaning.Therefore, " module ", " part " or " unit " can mix Ground uses.
Multi-antenna terminal in the present invention can be implemented in a variety of manners.For example, such as mobile phone, flat board electricity can be included Brain, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable matchmaker Body player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. are mobile Terminal, and the fixed terminal such as digital TV, desktop computer.
It will be illustrated in subsequent descriptions by taking mobile terminal as an example, it will be appreciated by those skilled in the art that except special Outside element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, its hardware architecture diagram for a kind of mobile terminal of each embodiment of the realization present invention, the shifting Dynamic terminal 100 can include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103rd, A/V (audio/video) input block 104, sensor 105, display unit 106, user input unit 107, interface unit 108th, the part such as memory 109, processor 110, power supply 111 and antenna 112.Wherein, in the mobile terminal 100 shown in Fig. 1 Including at least three antennas 112, at least three antennas 112 currently with the main transmitting-receiving communication of radio frequency unit 101 For primary antenna, currently connected with the auxiliary receiving path of radio frequency unit 101 supplemented by antenna, remaining is spare antenna, processor 110 can control each antenna respectively with it is main transmitting-receiving path and auxiliary receiving path break-make situation, when processor 110 control certain When a piece antenna is with main transmitting-receiving communication, radio frequency unit 101 can be received or be sent signal by the root antenna, it should be understood that It is that at least three antennas 112 can be flexibly arranged on the optional position of mobile terminal 100, such as, work as mobile terminal When including three antennas 112 on 100, this three antennas 112 can be separately positioned on the top at the back side of mobile terminal 100, lower-left Side and lower right.Those skilled in the art are further appreciated that the mobile terminal structure shown in Fig. 1 is not formed to mobile whole The restriction at end, mobile terminal can be included than illustrating more or less parts, and either root closes some parts or different portions Part is arranged.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, the reception and transmission of signal, specifically, by base station Downlink information receive after, handled to processor 110;In addition, up data are sent to base station.Generally, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrate Frequency unit 101 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use any 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 point of root wireless service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, WCDMA), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, FDD 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, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, it is simultaneously not belonging to must be configured into for mobile terminal, completely can be according to need To be omitted in the essential scope for do not change 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 receiving or It is sound that the voice data stored in memory 109, which is converted into audio signal and exported,.Moreover, audio output unit 103 The audio output related to the specific function that mobile terminal 100 performs can also be provided (for example, call signal receives sound, disappeared Breath receives sound etc.).Audio output unit 103 can include loudspeaker, buzzer etc..
A/V input blocks 104 are used to receive audio or video signal.A/V input blocks 104 can include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the static images or the view data of video obtained in image capture mode by image capture apparatus (such as camera) are carried out Reason.Picture frame after processing may be displayed on display unit 106.Picture frame after the processing of graphics processor 1041 can be deposited Storage is transmitted 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 (voice data), and can be voice data by such acoustic processing.Audio (voice) data after processing can To be converted to the form output that mobile communication base station can be sent to via radio frequency unit 101 in the case of telephone calling model. Microphone 1042 can implement various types of noises and eliminate (or suppression) algorithm to eliminate (or suppression) in reception and send sound Caused noise or interference during frequency signal.
Mobile terminal 100 also 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 transducer, wherein, ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity transducer can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (general For three axles) size of acceleration, size and the direction of gravity are can detect that when static, the application available for identification 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 ray sensor, will not be repeated here.
Display unit 106 is used for the information for showing the information inputted by user or being supplied to 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) configures display panel 1061.
User input unit 107 can be used for the numeral or character information for receiving input, and produce the use with mobile terminal The key signals input that family is set and function control is relevant.Specifically, user input unit 107 may include contact panel 1071 with And other input equipments 1072.Contact panel 1071, also referred to as touch-screen, collect touch operation of the user on or near it (for example user uses any suitable objects or annex such as finger, stylus on contact panel 1071 or in contact panel 1071 Neighbouring operation), and corresponding attachment means are driven according to formula set in advance.Contact 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 Contact coordinate is converted into, then gives processor 110, and the order sent of reception processing device 110 and can be performed.In addition, can To realize contact panel 1071 using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap Include but be not limited to physical keyboard, in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. One or more, do not limit herein specifically.
Further, contact panel 1071 can cover display panel 1061, detect thereon when contact panel 1071 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, contact panel 1071 and display panel 1061 be the part independent as two to realize the input of mobile terminal and output function, but in certain embodiments, can Input and the output function of mobile terminal are realized so that contact panel 1071 and display panel 1061 is integrated, is not done herein specifically Limit.
Interface unit 108 is connected the interface that can pass through as at least one external device (ED) with mobile terminal 100.For example, External device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or nothing Line FPDP, 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 storage software program and various data.Memory 109 can mainly include storing program area And storage data field, wherein, storing program area can storage program area, application program (such as the sound needed at least one function Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as Voice data, phone directory etc.) etc..In addition, memory 109 can include high-speed random access memory, 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 whole mobile terminal of connection Individual part, by running or performing the software program and/or module that are stored in memory 109, and call and be stored in storage Data in device 109, the various functions and processing data of mobile terminal are performed, so as to carry out integral monitoring to mobile terminal.Place Reason device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Device is managed, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is main Handle radio 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) to all parts power supply, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, so as to realize management charging by power-supply management system, put The function such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also will not be repeated here including bluetooth module etc..
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
First embodiment
In order to ensure that each antenna for participating in work possesses stable superperformance, so as to avoid leading because antenna performance deteriorates Cause goes offline or the situation of call drop, present embodiments provides a kind of antenna switching method.
Especially, it should be noted that, the antenna switching method provided in the present embodiment, which is mainly used in, at least to be possessed herein In the multi-antenna terminal of three antennas.In the present embodiment, shown in Figure 2, multi-antenna terminal includes at least three antennas 211st, 212,21m, antenna gating circuit 22, radio circuit 23 and BBP 24, antenna gating electricity Road 22 have n first interface 2211,2212,221n (n be typically greater than be equal to m positive integer), two Second interface 2221,2222.Wherein, a second interface 2221 and (Fig. 2 of main transmitting-receiving communication 231 and 232 of radio circuit In TX and PRX), another second interface 2222 connects with the auxiliary receiving path 233 (DRX in Fig. 2) of radio circuit, each An at least path switching circuit is connected between individual first interface and two second interfaces, is had on each path switching circuit At least one switch, each antenna of the present embodiment are connected with least one first interface of antenna gating circuit.At base band Managing device 24 includes radio-frequency transmissions D/A converting circuit 241 (TX-DAC in Fig. 2), main collection reception analog to digital conversion circuit 242 (Fig. 2 In PRX-ADC), diversity reception analog to digital conversion circuit 243 (DRX-ADC in Fig. 2), and with the radio-frequency transmissions digital-to-analogue conversion Circuit 241, main collection receive analog to digital conversion circuit 242, the modulation-demodulation circuit that diversity reception analog to digital conversion circuit 243 connects respectively 244 (the MODEM PROC in Fig. 2), the main transmitting-receiving path 231 and 232 of radio circuit 23 are sent out with the radio frequency of BBP respectively Penetrate D/A converting circuit 241, main collection receives the corresponding connection of analog to digital conversion circuit 242, auxiliary receiving path 233 and diversity reception modulus Change-over circuit 243 connects.BBP also includes antenna switching control module 245 and HAL interface modules 246, antenna switching Control module 245 is connected by HAL interface modules 245 with antenna gating circuit 22, is cut by the antenna of HAL interface modules 246 Changing control module 245 can control the break-make of each path switching circuit in antenna gating circuit 22 (can control arbitrary one Connection between first interface and a second interface), and specific primary antenna, Huo Zhexuan are selected from more antennas based on this Select specific primary antenna and auxiliary antenna root closes.
, can also be with addition, the antenna switching control module 245 in the present embodiment can be integrated in BBP 24 BBP 24 is provided separately, such as is arranged in application processor, or is separately provided.
The specific execution step for the antenna switching method that the present embodiment is provided is specifically described below.It is referring to Fig. 3, Fig. 3 The antenna switching method basic flow sheet that the present embodiment provides, the antenna switching method include:
S301:Obtain the first object messaging parameter of each antenna;
In the present embodiment, messaging parameter is divided into uplink communication parameter and downlink communication parameter, wherein:Uplink communication parameter Including but not limited to transmission signal power, maximum transmission power ratio value (MTPL, Maximum transmit power Level), at least one of channel quality instruction (CQI, Channel Quality Indication), and downlink communication is joined Number includes but is not limited at least one of received signal strength, received signal quality, received signal power and bit error rate.Can With understanding, either for uplink communication parameter or downlink communication parameter, recited herein is all simply relatively common It is several, moreover, with the difference of communication standard, uplink communication parameter and downlink communication parameter can also increase with situation Subtract.In addition, title of the above-mentioned uplink communication parameter from downlink communication parameter under different systems might have some different, examples Such as, received signal strength is by parameter RSSI (Received Signal Strength Indication under GSM standards Received signal strength indicator) characterize, and under WCDMA and TD-SCDMA both communication standards, then become parameter RSCP (Received Signal Code Power, received signal code power), in LTE, (Long Term Evolution, are drilled for a long time Enter) under standard, then come using parameter RSRP (Reference Signal Receiving Power, Reference Signal Received Power) Characterize.So, it is to be understood that received signal strength mentioned here, received signal quality etc. are all the essence from parameter Explanation is acted on, does not limit its specific name under different scenes.Accordingly, for some parameter, no matter its name Claim whether such as above-mentioned enumerate, as long as its essence is corresponding implication, then belong to the signified scope of the present embodiment.
Among each example of the present embodiment, the first object messaging parameter got can be that uplink communication parameter also may be used To be downlink communication parameter.It will be clear that in the first object messaging parameter that gets, the number of messaging parameter, Limited in the present embodiment without specific, can be one or two and more than.For example, the first mesh can obtained When marking messaging parameter, MTPL is only obtained as first object messaging parameter, can also obtain received signal strength and reception simultaneously Signal quality is as first object messaging parameter.It should be appreciated that either uplink communication parameter or downlink communication parameter, The performance of antenna can be characterized.Therefore first object messaging parameter can characterize the performance of antenna.
S302:Calculate the difference two-by-two of the first object messaging parameter of each antenna in multi-antenna terminal;
It should be appreciated that the difference two-by-two described in the present embodiment refers to be directed to a certain messaging parameter between two antennas Existing gap value.It is assumed that multi-antenna terminal X includes 3 antennas, this three antennas are A1, A2 and A3 respectively, are sentenced currently Certainly the stage only obtains a kind of messaging parameter x, and the messaging parameter x correspondingly got value is respectively x1, x2 and x3, then for logical The difference two-by-two that letter parameter x is calculated will have 3, i.e., the Zhi ∣ x1-x2 of the Cha two-by-two ∣ between antenna A1 and A2;Antenna A1 and A3 Between the Zhi ∣ x1-x3 of Cha two-by-two ∣;The Zhi ∣ x2-x3 of Cha two-by-two ∣ between antenna A2 and A3;And if multi-antenna terminal includes m roots Antenna, the then difference two-by-two calculated will haveIt is individual.It should be appreciated that above-mentioned difference two-by-two is by two antennas The absolute value of the difference of a certain messaging parameter value characterizes, when above by absolute value to characterize difference two-by-two, can not be direct Obtain the quality of the performance between two antennas.Therefore, two can not also be characterized by absolute value when calculating difference two-by-two Two differences, but directly characterized by the actual parameter difference being calculated, so as to be directly obtained according to difference two-by-two The quality of performance between two antennas.Still exemplified by above example, then will have 6 for the difference two-by-two that messaging parameter x is calculated It is individual, i.e., the difference x1-x2 two-by-two between antenna A1 and A2;Difference x2-x1 two-by-two between antenna A2 and A1;Antenna A1 and A3 it Between difference x1-x3 two-by-two;Difference x3-x1 two-by-two between antenna A3 and A1;Difference x2- two-by-two between antenna A2 and A3 x3;And the difference x3-x2 two-by-two between antenna A3 and A2.Now if multi-antenna terminal includes m root antennas, then calculate Difference two-by-two will haveIt is individual.
S303:The difference two-by-two of first object messaging parameter is switched stage entry condition to be sentenced and compared with default Compared with;
In the present embodiment, parameter decision threshold value corresponding with first object messaging parameter is provided with, is being calculated two After two differences, each same parameter decision threshold of difference two-by-two can be compared, determined whether thereafter according to comparative result Into switching the stage to be sentenced.
In the present embodiment, switch stage entry condition to be sentenced could be arranged to:Exist in difference two-by-two and be more than parameter The situation of decision threshold, judgement, which enters, switches the stage to be sentenced;Or it could be arranged to:It is not present in difference two-by-two and sentences more than parameter Determine the situation of threshold value, judgement, which enters, switches the stage to be sentenced.It should be understood that foregoing two ways is only capable of selecting one and is configured.
It is worth noting that, if the first object messaging parameter got only can characterize antenna communication comprising one kind The messaging parameter of energy, then when calculating the difference two-by-two of each antenna first object messaging parameter, it can only will obtain for the communication The difference two-by-two of parameter, so, determine whether that satisfaction switches the stage to be sentenced in the difference two-by-two based on first object messaging parameter During entry condition, it is only necessary to be compared each difference two-by-two with default parameter decision threshold value, you can draw a conclusion.But For in the case of the first object messaging parameter got includes two or more messaging parameters, how this is based on Parameter decision threshold value is made decisions, and such two kinds of solutions are set forth below that (entry condition is arranged in following scheme Exist two-by-two in difference and illustrated in case of being more than parameter decision threshold value, is arranged to for entry condition in difference two-by-two In be not present more than parameter decision threshold value situation, overall process is consistent with following manner, differs only in and parameter decision threshold The manner of comparison of value is different):
Scheme one, for the different communication parameter in first object messaging parameter, different parameter decision thresholds is set respectively Value.To difference judges two-by-two when, for the difference two-by-two of different communication parameter, using different parameter decision thresholds Value is compared.For example, being directed to antenna A1 and A2, the first object messaging parameter got includes two messaging parameters of x and y, Then one parameter decision threshold value can be set for x and y respectively.It is poor two-by-two under x parameter that antenna A1 and A2 is now calculated respectively Value, and the difference two-by-two under y parameters.Again respectively by the parameter decision for messaging parameter x threshold value two-by-two with messaging parameter x Threshold value is compared, and will be compared for messaging parameter y threshold value two-by-two with messaging parameter y parameter decision threshold value.
For a certain messaging parameter in first object messaging parameter, if any one in each difference two-by-two is more than ginseng Number decision threshold, you can judge that the messaging parameter meets to switch stage entry condition to be sentenced.If one is all unsatisfactory for, judge The messaging parameter is unsatisfactory for switching stage entry condition to be sentenced.Certainly, determine whether a messaging parameter meets to switch rank to be sentenced During section entry condition, other conditions can also be passed through.Such as, for being more than parameter decision threshold in each difference two-by-two of the messaging parameter Whether the number of value reaches predetermined number.For example, among multi-antenna terminal X, it is desirable to for the difference two-by-two of a certain messaging parameter, There must be 2 to reach parameter decision threshold value, just can be determined that the messaging parameter meets to switch stage entry condition to be sentenced, if then Among multi-antenna terminal X, there is 3 antennas, then must have two two-by-two difference be more than or equal to parameter decision threshold value.For Whether other messaging parameter meets to switch when stage entry condition is sentenced, and in this way, repeats no more here.
After whether meeting that the judgement for switching stage entry condition to be sentenced is completed to each messaging parameter, it is also necessary to further Whether the number for judging to reach the messaging parameter for switching stage entry condition to be sentenced reaches predetermined number, if so, really judging to meet Switch stage entry condition to be sentenced, otherwise, it is determined that being unsatisfactory for switching stage entry condition to be sentenced.For example it is assumed that predetermined number is 1, and first object messaging parameter includes 3 messaging parameters, then waits to sentence when any one satisfaction in this 3 messaging parameters switches During stage entry condition, you can judge that antenna performance meets the judgment condition when the leading decision stage.
Scheme two:One nondimensional parameter decision threshold value is only set.Here illustrated by taking certain two antenna as an example:Can Selection of land, dimension first is carried out to each difference two-by-two of this two antennas and handles to obtain corresponding standard deviation, then calculate two days The mean difference of each standard deviation of line.
Hereafter when relatively, by each antenna two-by-two between mean difference with adjudicate the stage phase threshold compared with, when Any one in each mean difference is more than parameter decision threshold value, or when each mean difference reaches more than the ratio of parameter decision threshold value During to preset ratio, judge that satisfaction switches stage entry condition to be sentenced.
Here to going dimension processing simply to be introduced by taking received signal strength and received signal quality as an example:For receiving Signal intensity, determine its maximum P in antenna practical applicationMAX.Similarly, for signal quality, determine that it is likely to be breached Maximum QMAX.It is assumed that the difference two-by-two of two antennas A1 and A2 of certain being calculated current received signal strength is P, connect The difference two-by-two for receiving signal quality is Q, then the standard deviation point obtained after dimension processing is carried out for the two messaging parameters Wei not P/PMAXAnd Q/QMAX.So the mean difference between this two antenna standard values is (P/PMAX+Q/QMAX)/2.It should be understood that , can also be carried out in the following manner when calculating mean difference:It is assumed that two antennas A1 and A2 of certain got are current Received signal strength be respectively P1 and P2, received signal quality is respectively Q1 and Q2, then is carried out for the two messaging parameters The obtained standard value P1/P of antenna A1 received signal strengths is removed after dimension processingMAX, the standard value Q1/ of received signal quality QMAX;The standard value P2/P of antenna A2 received signal strengthsMAX, the standard value Q2/Q of received signal qualityMAX.This two antenna marks Mean difference between quasi- value is (∣ P1/PMAX-P2/PMAX∣+∣Q1/QMAX-Q2/QMAX∣)/2。
Certainly, among some other example of the present embodiment, can be counted using modes such as weighted average or arithmetic averages Calculate mean difference.Alternatively, it is also possible to without calculate mean difference, for example, when phase threshold be for standard deviation sum set When, it is possible to directly by (P/PMAX+Q/QMAX) be compared with phase threshold.
It should be appreciated that the method for going dimension to handle has a lot, in addition to the mode of above-mentioned example, " phase can also be used To changing processing method ", " function processing method ", " extreme value method ", " standardized method ", " method for normalizing " etc. carry out Dimension is gone to handle.In fact, said process is the mode that dimension is gone in a kind of simple normalization.
It should be appreciated that when carrying out dimension and handling, some messaging parameters belong to " direct index ", and its value is higher, then It is better to characterize antenna performance, such as received signal quality, received signal strength etc..But some messaging parameters then belong to " negative to refer to Mark ", such as MPTL (Maximum transmit power level, maximum transmission power in the bit error rate, uplink communication parameter Ratio value) etc., its value is smaller, then representative antennas performance is more excellent.It is average calculating for " positive and negative index " be present simultaneously The messaging parameter for direct index and negative index is needed during difference to be needed to be considered.For example it is assumed that certain being calculated The standard deviation of two antenna received signal strengths is P11, and the standard deviation of the bit error rate is J11, then can use Arithmetic Expressions Using (P11-J11)/2 mean difference is obtained.Now mean difference is bigger, that is, it is more excellent to characterize antenna performance.It is it should be appreciated that foregoing Calculation is only a kind of feasible simple examples, does not represent the present invention and is only capable of using this kind of calculation pair while exists " just The situation of negative index " is handled.In fact, pair can also be existed simultaneously using processing modes such as " relative processing methods " The situation of " positive and negative index " is handled.
It should be appreciated that in a kind of implementation of the present embodiment, first object messaging parameter can also judged Difference two-by-two be unsatisfactory for switching when stage entry condition is sentenced, directly judge whether antenna needs to switch.Specifically:
Can be by the difference two-by-two of first object messaging parameter compared with the default first direct switching condition;If the The difference two-by-two of one destinations traffic parameter meets the first direct switching condition, then judges to need to carry out antenna switching.
In aforesaid way, the first direct switching threshold can be set, and will respectively difference and the first direct switching threshold two-by-two Value is compared, if each difference two-by-two is more than the first direct switching threshold, that is, judges to meet the first direct switching condition, it is necessary to enter Row antenna switches.It should be appreciated that in this fashion, if first object messaging parameter includes two or more lead to Believe parameter, can refer to such scheme one and the processing mode described in scheme two is handled, it is not described in detail herein.
S304:When the difference two-by-two of first object messaging parameter meets to switch when stage entry condition is sentenced, into switching Stage to be sentenced so as to decide whether to need carry out antenna switching;
Specifically, the second of each antenna corresponding with switching the stage to be sentenced can be obtained switching stage multi-antenna terminal to be sentenced Destinations traffic parameter, and calculate the difference two-by-two of the second destinations traffic parameter of at least three antennas;Judge that the second target is led to again Whether the difference two-by-two of letter parameter meets default antenna switching condition;If satisfied, judge to need to carry out antenna switching.
It should be appreciated that it can also be descending logical that the second destinations traffic parameter got, which can be uplink communication parameter, Believe parameter.It will be clear that for the number of messaging parameter in the second destinations traffic parameter for getting, in the present embodiment not Specifically limited, can be one or two and more than.It should be appreciated that either uplink communication parameter is also It is downlink communication parameter, the performance of antenna can be characterized.Therefore the second destinations traffic parameter can characterize the performance of antenna.Also It should be appreciated that the second destinations traffic parameter got in the present embodiment can be identical with first object messaging parameter, Can also be different.
In the present embodiment, switching the stage to be sentenced can be divided into the progress antenna switching condition judgement of the second messaging parameter In N number of judgement stage, judge whether antenna switching condition meets further according to the court verdict in N number of judgement stage.Wherein N value More than or equal to 1.As for specific value, can by the designer of multi-antenna terminal or by user according to oneself to power consumption, property The requirement of energy etc. the either self-defined setting such as hobby.
In the present embodiment, at least two different operating process in each judgement stage be present:
Operating process one:It is shown in Figure 4, used by each judgement stage operating process include:
S401:Obtain the second destinations traffic parameter of each antenna;
It should be appreciated that among each example of the present embodiment, the second destinations traffic for being obtained in each judgement stage Parameter can be identical, for example, MTPL and received signal quality can be obtained in each judgement stage;In each judgement stage Second destinations traffic parameter of middle acquisition can also be incomplete same, for example, can be obtained in the first judgement stage MTPL and received signal quality;MTPL and received signal strength are obtained in the second judgement stage.
S402:Calculate the difference two-by-two of the second destinations traffic parameter of each antenna;
It should be appreciated that the mode for calculating the difference two-by-two of the second destinations traffic parameter of each antenna calculates respectively with foregoing The mode of the difference two-by-two of the first object messaging parameter of antenna is identical, therefore will not be repeated here.
S403:Phase threshold based on the judgement stage determines whether result of calculation meets judgement corresponding to the judgement stage Condition;If go to step S404;Otherwise step S407 is gone to.
In the present embodiment, corresponding phase threshold is both provided with for each judgement stage, it is poor two-by-two being calculated After value, each difference two-by-two can be compared with phase threshold, if at least one difference two-by-two be present is more than stage threshold Value, then show to determine that each current performance of antenna has reached a certain distance according to comparative result, so as to illustrate each day The gap of performance has met the necessity for when the judgment condition in leading decision stage, existing and carrying out antenna switching between line;It is no Then, illustrate that the performance of current each antenna is similar, do not switch needs, so, can directly judge, which need not carry out antenna, cuts Change, exit antenna switching flow.
It is similar with step S303, if the second destinations traffic parameter got only can characterize antenna comprising one kind The messaging parameter of communication performance, then when calculating the difference two-by-two of each the second destinations traffic of antenna parameter, it can only will be directed to The difference two-by-two of the messaging parameter, so, when judging whether to meet judgment condition corresponding to the judgement stage, it is only necessary to will be each Individual difference two-by-two with phase threshold be compared i.e. it could be assumed that.Identical, if in the second destinations traffic ginseng got When number includes two or more messaging parameters, it can be joined come the mode made decisions to result of calculation based on phase threshold Such scheme one and the mode described in scheme two are examined, is no longer carefully stated here.
S404:Judge whether the presently described judgement stage is last judgement stage;If go to step S405;It is no Then, step S406 is gone to;
, it is necessary to judge this current when judging to meet the judgment condition in judgement stage among a judgement stage Whether the judgement stage is last judgement stage.If it is not, next judgement stage also be present in explanation, therefore, when Preceding antenna performance also needs to do further assessment, therefore, into S406.If it is, explanation antenna performance is completely logical The judgement in N number of judgement stage has been crossed, so, it is possible to determine that currently antenna switching condition is met, it is necessary to carry out antenna switching, because This can enter S405.
S405:Judgement needs to carry out antenna switching.
After judging to need to carry out antenna switching, it is possible to enter the process for reselecting primary antenna and auxiliary antenna.
S406:Into next judgement stage.
It should be appreciated that respectively the flow in judgement stage is similar in the present embodiment, therefore here no longer to other judgement stages Process be introduced.
S407:Judgement need not carry out antenna switching.
When being judged to that antenna switching need not be carried out, i.e., directly exit antenna switching flow.
Operating process two:It is shown in Figure 5, used by each judgement stage operating process include:
S501:Obtain the second destinations traffic parameter of each antenna;
Likewise, the second destinations traffic parameter obtained in each judgement stage can be identical or endless Exactly the same.
S502:Calculate the difference two-by-two of the second destinations traffic parameter of each antenna;
It should be appreciated that the mode for calculating the difference two-by-two of the second destinations traffic parameter of each antenna calculates respectively with foregoing The mode of the difference two-by-two of the first object messaging parameter of antenna is identical, therefore will not be repeated here.
S503:The difference two-by-two of each second destinations traffic parameter is compared with the phase threshold in judgement stage;According to Comparative result judges whether to meet to work as the second direct switching condition corresponding to the leading decision stage;If satisfied, go to step S504;It is no Then, step S505 is gone to.
In the present embodiment, corresponding phase threshold is both provided with for each judgement stage, it is poor two-by-two being calculated After value, each difference two-by-two can be compared with when phase threshold corresponding to the leading decision stage, and according to comparative result Judge whether to meet to work as direct switching condition corresponding to the leading decision stage, that is, determine whether the current performance of each antenna has reached Very big gap.If meeting the second direct switching condition, the gap for illustrating performance between each antenna it is very big, it is necessary to Antenna switching is carried out at once.
It is similar with step S303, if the second destinations traffic parameter got only can characterize antenna comprising one kind The messaging parameter of communication performance, then when calculating the difference two-by-two of each the second destinations traffic of antenna parameter, it can only will be directed to The difference two-by-two of the messaging parameter, so, when judging whether to meet judgment condition corresponding to the judgement stage, it is only necessary to will be each Individual difference two-by-two with phase threshold be compared i.e. it could be assumed that.Identical, if in the second destinations traffic ginseng got When number includes two or more messaging parameters, it can be joined come the mode made decisions to result of calculation based on phase threshold Such scheme one and the mode described in scheme two are examined, is no longer carefully stated here.
S504:Directly judge to need to carry out antenna switching.
After judging to need to carry out antenna switching, it is possible to enter the process for reselecting primary antenna and auxiliary antenna.
S505:Judge whether to need to enter next judgement stage;If so, go to step S506;Otherwise, step is gone to S507。
In the present embodiment, judging whether to need a kind of concrete mode into next stage is:Judge currently this Whether the individual judgement stage is last judgement stage, that is, a judgement stage in the presence of judging whether also.If it is not, say Bright can also be done to current antenna performance is assessed again, therefore, into S506.If it is, explanation antenna performance has been entered Go the judgement in continuous N number of judgement stage, and antenna not can determine that antenna needs in the judgement in this continuous N number of judgement stage Switching.So, it is possible to determine that currently it is unsatisfactory for antenna switching condition, it is not necessary to carry out antenna switching, therefore S507 can be entered.
In the present embodiment, can also be further to when leading decision rank after next judgement stage is judged whether The difference two-by-two for the messaging parameter that section obtains switches over the judgement of threshold value, specifically:By when the leading decision stage obtain it is logical The difference two-by-two of parameter is believed compared with default handoff threshold value, if comparative result meets when corresponding to the leading decision stage Next judgement stage entry condition, i.e., into next judgement stage;Otherwise, directly judge that antenna switching need not be carried out.For example, If when the leading decision stage only obtains a kind of messaging parameter, by each difference two-by-two of the messaging parameter obtained when the leading decision stage Compared with default handoff threshold value, it is more than default handoff threshold value if there is at least one difference two-by-two, then sentences Surely enter next judgement stage, otherwise, directly judge that antenna switching need not be carried out.It should be appreciated that for working as leading decision Stage only obtains the situation of two or more messaging parameter, can be that different communication parameter sets different cut respectively Threshold value is changed, then handoff threshold value corresponding with the messaging parameter is carried out respectively by each difference two-by-two corresponding to different communication parameter Compare, be more than preset requirement in the number that the messaging parameter that at least one difference two-by-two is more than corresponding handoff threshold value be present During number, judge to enter next judgement stage;Or the difference two-by-two of different communication parameter two antennas is carried out at dimension Manage and mean difference is calculated, then the handoff threshold by each mean difference default mean difference corresponding with working as the leading decision stage Value is compared, and when at least one mean difference be present more than corresponding handoff threshold value, judges to enter next judgement stage.
It should be appreciated that in each judgement stage, the handoff threshold value of setting should be less than the phase threshold set. In the present embodiment, phase threshold and handoff threshold value can be preset by engineer according to the practical situations of antenna. Simultaneously it should be appreciated that in the different judgement stages, can also be set even with the handoff threshold value of same messaging parameter Difference.
S506:Into next judgement stage.
It should be appreciated that respectively the flow in judgement stage is similar in the present embodiment, therefore here no longer to other judgement stages Process be introduced.
S507:Judgement need not carry out antenna switching.
When being judged to that antenna switching need not be carried out, i.e., directly exit antenna switching flow.
It is worth noting that, in above two operating process, each phase threshold for adjudicating the stage can with it is equal can also It is not completely equivalent.The phase threshold in each judgement stage, which is not completely equivalent, refers at least two judgement ranks in each judgement stage be present The phase threshold of section is unequal.In the present embodiment, respectively the phase threshold in judgement stage can gradually successively decrease, namely preceding sentence Certainly the phase threshold in stage is more than the phase threshold in the rear judgement stage.Such as the advanced judgement of condition in some multi-antenna terminal It is central, including 3 judgement stages, wherein the phase threshold in the first judgement stage to the 3rd judgement stage is respectively D1, D2 and D3, These three phase thresholds meet D1>D2>D3 relation.
It should be appreciated that the main of the advanced judgement of condition is carried out to each antenna using each judgement stage in the present embodiment Purpose is to carry out more objective performance evaluation to each antenna, so as to ensure the validity and accuracy of antenna switching.Simultaneously It should be appreciated that for uplink communication parameter, what it was mainly characterized is sending performance of the antenna to signal, and under For row messaging parameter, what it was mainly characterized is receptivity of the antenna to signal.Therefore, antenna is carried out to be further ensured that Performance evaluation it is objective, comprehensive, obtain each step of first object messaging parameter and the second destinations traffic parameter in the present embodiment In rapid, it may be set in all messaging parameters got and comprise at least a kind of uplink communication parameter and a kind of downlink communication ginseng Number.I.e.:In the present embodiment, comprised at least in the first object messaging parameter got and the second destinations traffic parameter in one kind Row messaging parameter and a kind of downlink communication parameter.
In the present embodiment, if N is more than or equal to 2, latent period can be set to each judgement stage.It is appreciated that It is that the time span undergone during antenna is bigger, and assessment result is more objective if assessed.So the one of the present embodiment Among a little examples, the undergone time is adjudicated in order to which the condition of extending is advanced, can be set between the two neighboring judgement stage etc. The cycle is treated, by the time-consuming of latent period, the influence of accidentalia can be excluded by the time of abundance.But latent period Duration the longer the better yet, because if latent period is oversize, then arriving causes whole antenna switch step long, Ke Neng Consumer's Experience is influenceed in some cases.For example, the current primary antenna performance of terminal is excessively poor, the performance of spare antenna can but expire substantially Sufficient user's request, user just converse in this case, then are badly in need of carrying out antenna switching.But the latent period set is long, this Antenna can be caused to be switched and determined time-consuming especially long, so as to cause call experience of the user within a very long time all bad.Cause Setting for this latent period should the compatible influence considered to assessment result and Consumer's Experience.In the present embodiment, latent period Duration can be pre-set by Terminal Design personnel, or can also be set by User Defined.In the present embodiment, wait Between the value in cycle could be arranged to 0.1s-10s, such as it could be arranged to 1s.
Due to not fully being bound between each judgement stage, therefore, latent period among each judgement stage can with equal, It can also be not completely equivalent.For example, the latent period for respectively adjudicating the stage is 3s, or the latent period in the first judgement stage is 3s, and the latent period in the second judgement stage is only 2s, this is also feasible.Among some examples of the present embodiment, respectively sentence Certainly the latent period in stage gradually successively decreases.In addition, the different demands of multi-antenna terminal radio-frequency enabled can be corresponded to for user Different latent periods is set, for example, in user's communication and online etc. to that under the scene of radio-frequency enabled heavy dependence, can incite somebody to action Latent period sets shorter, and for other scenes insensitive to data transmit-receive, then it can increase the length of latent period The stage is spent, can not have to set latent period.It should be appreciated that when judging to need to carry out antenna switching, Ke Yizhi Tap into the process into day line options.
In the present embodiment, determine that each antenna performance meets the judgement bar in this judgement stage in a judgement stage Part, and determine when also needing to enter next judgement stage, it is introduced into when the latent period in leading decision stage, when latent period terminates Afterwards, next judgement stage is entered back into.In this way, the undergone duration of the advanced judgement of further extension condition, so as to right The performance of each antenna performance in a longer period of time is evaluated, and draws more fully conclusion, is further lifted antenna performance and is commented Estimate the accuracy of conclusion.
It should be appreciated that an initial latency can be set into before switching the stage to be sentenced in the present embodiment In the cycle, switch it is determined that needing to enter when the stage is sentenced, first waited according to the duration set by the initial latency cycle, then obtain Take the second destinations traffic parameter.This can also equally exclude the influence of accidentalia, be further ensured that the validity of antenna switching And accuracy.In the present embodiment, the duration in initial latency cycle can also be pre-set or by user by Terminal Design personnel Self-defined setting.
To sum up, in the present embodiment, respectively there are 4 kinds of facilities in the phase threshold in judgement stage and latent period:It is i.e. N number of The phase threshold in judgement stage is equal, and the latent period in each judgement stage is equal;The phase threshold in N number of judgement stage is equal, And the latent period in each judgement stage is unequal;The phase threshold in N number of judgement stage is unequal, and the wait week in each judgement stage Phase is equal;The phase threshold in N number of judgement stage is unequal, and the latent period in each judgement stage is also unequal.
S305:When judging to need to carry out antenna switching, at least three antennas and main transmitting-receiving path, auxiliary reception are redefined Connected relation between path is so as to selecting new primary antenna, auxiliary antenna and spare antenna.
When primary antenna, auxiliary antenna is reselected, it can be carried out according to based on the messaging parameter got before Selection, can also reacquire current messaging parameter, then the performance ranking further according to each antenna under the messaging parameter, select Select best performance one is used as primary antenna, the main transmitting-receiving communication with the multi-antenna terminal, selects one of performance suboptimum As auxiliary antenna, connected with the auxiliary receiving path of the multi-antenna terminal, using remaining antenna as spare antenna.
Specifically, when being selected based on the messaging parameter got before, following two selection modes at least be present:
One:Select one kind to be used as critical parameter from each messaging parameter got before, and will get before The critical parameter of each antenna be compared, the optimal antenna of critical parameter is defined as new primary antenna and replaces former primary antenna With main transmitting-receiving communication, the antenna of critical parameter suboptimum is defined as new auxiliary antenna and replaces former auxiliary antenna to lead to auxiliary receive Road connects, and remaining antenna is defined as spare antenna.
For example, setting selection MTPL as critical parameter, provided with three antennas A1, A2 and A3, A1, A2 and A3 are got before MTPL be respectively M1, M2 and M3, M1, M2 and M3 are compared, if M1>M2>M3, then A1 is selected to connect with main transmitting-receiving path It is logical, select A2 to be connected with auxiliary receiving path, A3 is defined as spare antenna.
Secondly:All messaging parameters corresponding to each antenna are calculated respectively according to default computation rule, distinguished Critical parameter corresponding with each antenna;The critical parameter of each antenna got is compared again, critical parameter is optimal Antenna is defined as new primary antenna and replaces former primary antenna and main transmitting-receiving communication, and the antenna of critical parameter suboptimum is defined as The new former auxiliary antenna of auxiliary antenna and replacement connects with auxiliary receiving path, and remaining antenna is defined as spare antenna.
For example, being provided with three antennas A1, A2 and A3, getting messaging parameter before has transmission signal power and reception signal Intensity, if the transmission signal power got before A1, A2 and A3 is respectively P1, P2, P3, the reception signal got before is strong Degree is respectively Q1, Q2, Q3.Then P1, P2, P3 and Q1, Q2, Q3 are carried out respectively dimension handle to obtain P11, P21, P31 and Q11、Q21、Q31.Parameter value after going dimension to handle corresponding to each antenna is summed (it should be appreciated that can also be here Averaged, multiplication, weighted sum etc. calculate, and are not especially limited in the present embodiment), obtain A1 critical parameter a= P11+Q11, A2 critical parameter b=P21+Q21, A3 critical parameter c=P31+Q31.A, b, c are compared again, if a>b >C, then A1 and main transmitting-receiving communication are selected, select A2 to be connected with auxiliary receiving path, A3 is defined as spare antenna.
When the current messaging parameter of reacquisition is selected, critical parameter can be preset as any or a variety of tools The messaging parameter of body.
When it is a kind of messaging parameter to preset critical parameter, critical parameter can be obtained and be compared, by critical parameter Optimal antenna is defined as new primary antenna and replaces former primary antenna and main transmitting-receiving communication, by the antenna of critical parameter suboptimum It is defined as new auxiliary antenna and replaces former auxiliary antenna to be connected with auxiliary receiving path, remaining antenna is defined as spare antenna.
When it is two or more messaging parameter to preset critical parameter, its selection mode with it is above-mentioned be based on before Selection mode is similar in second when the messaging parameter got is selected, can be laggard in the messaging parameter for getting each antenna Row goes dimensionization to handle, and a new parameter is calculated, by compare the new parameter determine primary antenna, auxiliary antenna and Spare antenna.
It should be appreciated that each step of the antenna switching method in the present embodiment can be by terminal as shown in Figure 1 100 independently realize, specifically, each of above-mentioned antenna switching method can be achieved by being stored in the memory 109 of terminal 100 The processing routine of individual step, the processing routine is performed by processor 110 antenna is made whether to need progress antenna to cut to realize The judgement changed;Simultaneous processor 110 also realizes the control performance when judging to need to carry out antenna switching after performing the processing routine An optimal antenna and main transmitting-receiving communication, an antenna of control performance suboptimum connect with auxiliary receiving path.
Meanwhile in the present embodiment, a kind of computer-readable recording medium is also provided, such as floppy disk, CD, hard disk, flash memory, U Disk, CF cards, SD card, mmc card etc., be stored with the computer-readable recording medium realize above-mentioned each step one or Multiple programs, this one or more program can be by one or more computing devices, so as to realize above-mentioned antenna switching side Each step of method.
The antenna switching method and computer-readable recording medium that the present embodiment provides, first obtain the first object of each antenna Messaging parameter, and antenna is carried out to determine a need for entering on the difference two-by-two of first object messaging parameter according to each antenna Switching switches the stage to be sentenced, and is switching the second destinations traffic parameter of stage acquisition to be sentenced, further according to each antenna on second The difference two-by-two of destinations traffic parameter come determine a need for carry out antenna switching.When judging to need to carry out antenna switching, then The connected relation between each antenna and main transmitting-receiving path, auxiliary receiving path is redefined so as to select new primary antenna, auxiliary day Line and spare antenna.So due to that before determining the need for reselecting main and auxiliary antenna, can have sequential pass in the presence of two In the stage of system, the performance of nature can be done in the two stages and assessed at least twice, so compared to the side disposably assessed Formula, antenna performance not exclusively simply undergoes to be judged at least twice, moreover, importantly, can be to each antenna in bar Overall performance in during the advanced judgement of part carries out objective comprehensive evaluation, excludes influence of the accidentalia to antenna performance, from And make it that follow-up switching is reliable and effective, each antenna for ensureing to participate in work after switching possesses really stable superperformance, So as to lift Consumer's Experience.
Second embodiment
The present embodiment is on the basis of first embodiment, is equal to 2 with N, first object messaging parameter is MTPL, the second mesh In case of messaging parameter is marked as received signal strength, present invention work is further illustrated.
Referring to Fig. 6, Fig. 6 is a kind of specific antenna handoff procedure schematic diagram that second embodiment of the invention provides, if institute It is triantennary terminal to state multi-antenna terminal.Three antennas in terminal are designated as respectively:Antenna A1, antenna A2 and antenna A3.If The initial latency cycle is T1, and latent period corresponding to first judgement stage is T2.Antenna handoff procedure includes:
S601:Obtain MTPL corresponding to each antenna in multi-antenna terminal;
If now getting antenna A1, MTPL corresponding to antenna A2 and antenna A3 is respectively M1, M2 and M3.
S602:The difference two-by-two of the MTPL of each antenna in multi-antenna terminal is calculated;
Now be calculated the Zhi ∣ of Cha two-by-two M11-M12 ∣, antenna A1 and antenna A3 between antenna A1 and antenna A2 it Between the Zhi ∣ M11-M13 ∣ of Cha two-by-two, and the Zhi ∣ M12-M13 of Cha two-by-two ∣ between antenna A2 and antenna A3.
S603:By respectively difference is compared with the first direct switching threshold two-by-two;Judge whether to meet according to comparative result First direct switching condition;If satisfied, go to step S613;Otherwise, step S604 is gone to.
If the first direct switching threshold be 80%, now Jiang ∣ M11-M12 ∣ , ∣ M11-M13 ∣ He ∣ M12-M13 ∣ respectively with 80% is compared, and judges whether that at least one difference two-by-two is more than phase threshold 80%, if so, being judged to needing to carry out Antenna switches, and goes to step S613, otherwise, goes to step S604.
It should be appreciated that can also first compare each difference two-by-two in the present embodiment obtains the maximum in each difference two-by-two Value, then difference is compared with the first direct switching threshold two-by-two by the maximum, if maximum difference two-by-two is directly cut more than first Threshold value is changed to be judged to needing to carry out antenna switching.For upper example, get Dao ∣ M11-M12 ∣ , ∣ M11- both can be first compared Maximum in M13 ∣ He ∣ M12-M13 ∣, then by the maximum compared with the first direct switching threshold 80%.
S604:By respectively difference same parameter decision threshold is compared two-by-two;Judged whether to meet switching according to comparative result Stage entry condition to be sentenced;If satisfied, go to step S605;Otherwise, step S612 is gone to.
If this judgement stage handoff threshold value is 60%, judge whether that at least one difference two-by-two is more than 60%, such as In the presence of into next differentiation stage, if being not present, being judged to that antenna switching need not be carried out, and go to step S612.
It should be appreciated that the judgement order in step S603 and step S604 can exchange.
S605:After waiting T1 durations, received signal strength corresponding to each antenna is obtained;
Received signal strength corresponding to antenna A1, antenna A2 and antenna A3 can now be got, is designated as R21 respectively, R22 and R23。
S606:The difference two-by-two of the received signal strength of each antenna in multi-antenna terminal is calculated;
Now be calculated the Zhi ∣ of Cha two-by-two R21-R22 ∣, antenna A1 and antenna A3 between antenna A1 and antenna A2 it Between the Zhi ∣ R21-R23 ∣ of Cha two-by-two, and the Zhi ∣ R22-R23 of Cha two-by-two ∣ between antenna A2 and antenna A3.
S607:By respectively difference is compared with the phase threshold in judgement stage two-by-two;Judged whether according to comparative result full Foot works as direct switching condition corresponding to the leading decision stage;If satisfied, go to step S613;Otherwise, step S608 is gone to.
If the phase threshold in this judgement stage is 9dBm, now Jiang ∣ R21-R22 ∣ , ∣ R21-R23 ∣ He ∣ R22-R23 ∣ distinguish Compared with phase threshold 9dBm, judge whether that at least one difference two-by-two is more than phase threshold 9dBm, if so, judging To need to carry out antenna switching, and step S613 is gone to, otherwise, go to step S608.
S608:By respectively difference is compared with the default handoff threshold value in judgement stage two-by-two;Judged according to comparative result Whether satisfaction works as next judgement stage entry condition corresponding to the leading decision stage;If satisfied, go to step S609;Otherwise, go to Step S612.
If this judgement stage handoff threshold value is 6dBm, judge whether that at least one difference two-by-two is more than 6dBm, such as In the presence of into next differentiation stage, if being not present, being judged to that antenna switching need not be carried out, and go to step S612.
S609:After waiting T2 durations, received signal strength corresponding to each antenna is reacquired;
Received signal strength corresponding to antenna A1, antenna A2 and antenna A3 can now be got, is designated as R31 respectively, R32 and R33.It is worth noting that, T1 can be equal to T2 in the present embodiment, T2 can also be not equal to.
S610:Recalculate to obtain the difference two-by-two of the received signal strength of each antenna in multi-antenna terminal;
Now be calculated the Zhi ∣ of Cha two-by-two R31-R32 ∣, antenna A1 and antenna A3 between antenna A1 and antenna A2 it Between the Zhi ∣ R31-R33 ∣ of Cha two-by-two, and the Zhi ∣ R32-R33 of Cha two-by-two ∣ between antenna A2 and antenna A3.
S611:By respectively difference is compared with the phase threshold in judgement stage two-by-two;Judged whether according to comparative result full Foot works as direct switching condition corresponding to the leading decision stage;If satisfied, go to step S613;Otherwise, step S612 is gone to.
If the phase threshold in this judgement stage is 6dBm, now Jiang ∣ R31-R32 ∣ , ∣ R31-R33 ∣ He ∣ R32-R33 ∣ distinguish Compared with 6dBm, judge whether that at least one difference two-by-two is more than phase threshold 6dBm, if so, be judged to needing into Row antenna switches, and goes to step S613, otherwise, goes to step S612.
S612:Judgement need not carry out antenna switching, terminate switching flow.
S613:It is ranked up based on the messaging parameter for judging to need to carry out accessed by the judgement stage of antenna switching, will One of best performance is used as primary antenna, the main transmitting-receiving communication with the multi-antenna terminal;Using one of performance suboptimum as Auxiliary antenna, connected with the auxiliary receiving path of the multi-antenna terminal, using remaining antenna as spare antenna.
Specifically, when judging to need to carry out antenna switching in step S603, M11, M12 and M13 are ranked up, now Antenna corresponding to minimum value in M11, M12 and M13 is selected as primary antenna and main transmitting-receiving communication, to select corresponding to median Antenna connects as auxiliary antenna with auxiliary receiving path, using antenna corresponding to maximum as spare antenna.
When judging to need to carry out antenna switching in step S607, R21, R22 and R23 are ranked up, now selected Antenna corresponding to maximum selects antenna corresponding to median as primary antenna and main transmitting-receiving communication in R21, R22 and R23 Connected as auxiliary antenna with auxiliary receiving path, using antenna corresponding to minimum value as spare antenna.
When judging to need to carry out antenna switching in step s 611, R31, R32 and R33 are ranked up, now selected Antenna corresponding to maximum selects antenna corresponding to median as primary antenna and main transmitting-receiving communication in R31, R32 and R33 Connected as auxiliary antenna with auxiliary receiving path, using antenna corresponding to minimum value as spare antenna.
The antenna switching method that the present embodiment provides, multiple progressive it is used for what antenna performance was assessed by setting In the stage, classified estimation is carried out to antenna performance, directly carried out so as to realize when two antenna performance gaps of presence are especially big Antenna switches, and is judged again into next judgement stage when two antenna performance gaps of presence are bigger, simultaneously for Directly judge that antenna switching need not be carried out when any two antenna performance gaps are smaller.So for each antenna at one section The assessment of overall performance is more objective in period, ensures correctness, the reliability and stability of judged result, and then ensure more days Line terminal possesses reliable and stable radio-frequency performance, lifts Consumer's Experience.
3rd embodiment
The present embodiment additionally provides a kind of multi-antenna terminal, shown in Figure 7, including processor 71, memory 72, communication Bus 73, communication unit 74 and antenna 75;
Communication bus 73 is used to realize the connection communication between processor 71, memory 72 and communication unit 74;
Communication unit 74 can be radio frequency communications unit (radio circuit) or other kinds of communication unit, its Including main transmitting-receiving path, auxiliary receiving path (not shown in path figure), antenna 75 comprises at least three, in this at least three antenna Currently with it is above-mentioned it is main transmitting-receiving communication be primary antenna, currently connected with above-mentioned auxiliary receiving path supplemented by antenna, it is remaining For spare antenna.
Memory 72 is used to perform one or more programs, processor 71 be used to performing stored in memory one or Multiple programs, the step of to realize as above antenna switching method exemplified by each embodiment.
It should be appreciated that setting of each antenna in terminal in the present embodiment can be carried out according to practical application request Flexibly set.For example, see the antenna setting structure figure of the triantennary terminal shown in Fig. 8, dotted line frame position is antenna in figure Set location.
The detailed process that processor 71 performs antenna switching method has many kinds, in the present embodiment, with a kind of first mesh It is MTPL and received signal strength to mark messaging parameter, and the second destinations traffic parameter is also MTPL and received signal strength, and true It is right in case of carrying out antenna switching by reacquiring the received signal strength of each antenna when determining antenna needs switching The present invention makees further to illustrate.
If multi-antenna terminal is triantennary terminal.Three antennas in terminal are designated as respectively:Antenna A1, antenna A2 and day Line A3.2 are let n equal, the initial latency cycle is T1, and latent period corresponding to first judgement stage is T2.
Step 1:MTPL value M1, M2, M3 corresponding to the acquisition of processor 71 A1, A2 and A3, received signal strength value R1, R2, R3.The m1=∣ M1-M2 ∣ of difference two-by-two of MTPL between A1 and A2, the r1=∣ of the difference two-by-two R1- of received signal strength is calculated R2∣;Difference two-by-two the m2=∣ M1-M3 ∣, the r2=of the difference two-by-two ∣ of received signal strength of MTPL between A1 and A3 is calculated R1-R3∣;The m3=of difference two-by-two the ∣ M2-M3 ∣, the difference r3=two-by-two of received signal strength of MTPL between A2 and A3 is calculated ∣R2-R3∣。
Step 2:Processor 71 m1, m2, m3, r1, r2 and r3 are carried out respectively again dimension handle to obtain corresponding to it is immeasurable Guiding principle value m11, m21, m31, r11, r21 and r31.Ask for the mean difference A12=(r11-m11)/2 between A1 and A2;A1 and A3 Between mean difference A13=(r21-m21)/2;Mean difference A23=(r31-m31)/2 between A2 and A3.
Step 3:Setting parameter decision threshold is D1, and processor 71 is respectively by A12, A13 and A23 compared with D1, if depositing It is more than D1 at least one value, into first judgement stage;Otherwise, processor 71 judges that antenna switching need not be carried out, and moves back Go out antenna switching flow.
In this step, the maximum in A12, A13 and A23 can also be first found out, by maximum compared with D1, if Maximum is more than D1, into first judgement stage;Otherwise, processor 71 judges that antenna switching need not be carried out, and exits antenna Switching flow.
Step 4:After waiting T1 durations, into first judgement stage, repeat step one and step 2, obtain new A12, A13 and A23.
Step 5:If the phase threshold in first judgement stage is D2, processor 71 respectively by A12, A13 for newly obtaining and A23 is compared with D2, if at least one value be present is more than D2, into first judgement stage;Otherwise, processor 71 judges not Need to carry out antenna switching, exit antenna switching flow.
Step 6:After waiting T2 durations, into second judgement stage, repeat step one and step 2, obtain new A12, A13 and A23.
Step 7:If the phase threshold in second judgement stage is D3, processor 71 respectively by A12, A13 for newly obtaining and A23 is compared with D3, if at least one value be present is more than D3, judgement needs to carry out antenna switching;Otherwise, it is determined that it need not enter Row antenna switches.
It is worth noting that, in the present embodiment, can set D1=D2=D3, D1 can also be set>D2>D3.Meanwhile T1=T2 can be set in the present embodiment, T1 can also be set>T2 or T1<T2.
Step 8:Processor 71 reacquires received signal strength value R11, R22, R33 corresponding to A1, A2 and A3.Will R11, R22, R33 are ranked up, if R11>R22>R33, then A1 is selected to select A2 to make as primary antenna and main transmitting-receiving communication Supplemented by antenna connected with auxiliary receiving path, select A3 as spare antenna.
The multi-antenna terminal that the present embodiment provides, by setting multiple progressive ranks for being assessed antenna performance Section, classified estimation has been carried out to antenna performance, and day is directly carried out when two antenna performance gaps of presence are especially big so as to realize Line switch, exist two antenna performance gaps it is bigger when enter next judgement stage judged again, simultaneously for times Directly judge that antenna switching need not be carried out when two antenna performance gaps of meaning are smaller.So for each antenna at one section The assessment of overall performance is more objective in phase, ensures correctness, the reliability and stability of judged result, and then ensure multiple antennas Terminal possesses reliable and stable radio-frequency performance, lifts Consumer's Experience.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property includes, so that process, method, article or device including a series of elements not only include those key elements, and And also include the other element being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Other identical element also be present in the process of key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on such understanding, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each embodiment of the present invention.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of antenna switching method, it is characterised in that the antenna switching method is applied to multi-antenna terminal, the multiple antennas Terminal includes main transmitting-receiving path, auxiliary receiving path and at least three antennas;In at least three antennas currently with the master Receive and dispatch communication for primary antenna, currently connected with the auxiliary receiving path supplemented by antenna, remaining is spare antenna;Institute Stating antenna switching method includes:
The first object messaging parameter of each antenna is obtained, the first object messaging parameter of at least three antennas described in calculating Difference two-by-two;And the difference two-by-two of the first object messaging parameter is switched stage entry condition to be sentenced and compared with default Compared with;When the difference two-by-two of the first object messaging parameter meet it is described switch when stage entry condition is sentenced, cut into described Change the stage to be sentenced;The first object messaging parameter can characterize the performance of each antenna of the multi-antenna terminal;
It is described to switch the stage to be sentenced and include:Obtain and second destinations traffic for switching stage to be sentenced corresponding each antenna Parameter, the difference two-by-two of the second destinations traffic parameter of at least three antennas described in calculating;Judge the second destinations traffic ginseng Whether several differences two-by-two meets default antenna switching condition;If satisfied, judge to need to carry out antenna switching;Second mesh Mark messaging parameter can characterize the performance of each antenna of the multi-antenna terminal;
When judging to need to carry out antenna switching, at least three antennas and the main transmitting-receiving path, auxiliary reception are redefined Connected relation between path is so as to selecting new primary antenna, auxiliary antenna and spare antenna.
2. antenna switching method as claimed in claim 1, it is characterised in that poor two-by-two when the first object messaging parameter Value be unsatisfactory for it is described switch when stage entry condition is sentenced, in addition to:
By the difference two-by-two of the first object messaging parameter compared with the default first direct switching condition;If described The difference two-by-two of one destinations traffic parameter meets the described first direct switching condition, then judges to need to carry out antenna switching.
3. antenna switching method as claimed in claim 1, it is characterised in that described to switch the stage to be sentenced including to described second Messaging parameter is carried out N number of judgement stage of antenna switching condition judgement, and the N is more than or equal to 1;
Whether the difference two-by-two for judging the second destinations traffic parameter meets that default antenna switching condition includes:
Judge whether the antenna switching condition meets according to N number of judgement stage;The judgement stage includes:Described in acquisition Second destinations traffic parameter of each antenna of multi-antenna terminal;The two of second destinations traffic parameter of at least three antennas described in calculating Two differences;Phase threshold based on the judgement stage determines whether the result of calculation meets to sentence corresponding to the judgement stage Certainly condition, if so, judging whether the presently described judgement stage is last judgement stage, if so, judging to meet the antenna Switching condition, otherwise into next judgement stage.
4. antenna switching method as claimed in claim 1, it is characterised in that described to switch the stage to be sentenced including to described second Messaging parameter is carried out N number of judgement stage of antenna switching condition judgement, and the N is more than or equal to 1;
Whether the difference two-by-two for judging the second destinations traffic parameter meets that default antenna switching condition includes:
Judge whether the antenna switching condition meets according to N number of judgement stage;The judgement stage includes:Described in acquisition Second destinations traffic parameter of each antenna of multi-antenna terminal;The two of second destinations traffic parameter of at least three antennas described in calculating Two differences;The difference two-by-two of each second destinations traffic parameter is compared with the phase threshold in the judgement stage;Really When determining comparative result and meeting the second direct switching condition corresponding to the presently described judgement stage, judgement meets the antenna switching bar Part;A judgement stage in the presence of otherwise, it is determined whether;If so, then enter next judgement stage;If it is not, then judge to enter Row antenna switches.
5. the antenna switching method as described in claim 3 or 4, it is characterised in that enter it is described switch the stage to be sentenced before Also include:Into the initial latency cycle;
And/or also include before next judgement stage is entered:Into the latent period in presently described judgement stage.
6. antenna switching method as claimed in claim 5, it is characterised in that the phase threshold in N number of judgement stage is equal, And the latent period in each judgement stage is equal;
Or,
The phase threshold in N number of judgement stage is equal, and the latent period in each judgement stage is unequal;
Or,
Phase threshold in N number of judgement stage in the leading decision stage is more than the phase threshold in the rear judgement stage, and each institute The latent period for stating the judgement stage is equal;
Or,
Phase threshold in N number of judgement stage in the leading decision stage is more than the phase threshold in the rear judgement stage, and each institute The latent period for stating the judgement stage is unequal.
7. the antenna switching method as described in claim any one of 1-4, it is characterised in that the first object messaging parameter and A kind of uplink communication parameter and a kind of downlink communication parameter are comprised at least in second destinations traffic parameter.
8. antenna switching method as claimed in claim 7, it is characterised in that the uplink communication parameter includes transmission signal work( Rate, maximum transmission power ratio value, channel quality instruction;
The downlink communication parameter includes received signal strength, received signal quality, received signal power, the bit error rate.
9. a kind of multi-antenna terminal, it is characterised in that the multi-antenna terminal includes main transmitting-receiving path, auxiliary receiving path and extremely Few three antennas;In at least three antennas currently with it is described it is main transmitting-receiving communication be primary antenna, currently with it is described auxiliary Antenna supplemented by receiving path connection, remaining is spare antenna;The multi-antenna terminal also includes processor, memory and led to Believe bus;
The communication bus is used to realize the connection communication between the processor and memory;
The processor is used to perform one or more program stored in the memory, to realize such as claim 1-8 The step of described antenna switching method.
A kind of 10. computer-readable recording medium, it is characterised in that the computer-readable recording medium storage have one or Multiple programs, one or more of programs can be by one or more computing devices, to realize as in claim 1-8 The step of antenna switching method described in any one.
CN201710766578.1A 2017-08-30 2017-08-30 A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium Pending CN107666345A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710766578.1A CN107666345A (en) 2017-08-30 2017-08-30 A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710766578.1A CN107666345A (en) 2017-08-30 2017-08-30 A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107666345A true CN107666345A (en) 2018-02-06

Family

ID=61098145

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710766578.1A Pending CN107666345A (en) 2017-08-30 2017-08-30 A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107666345A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278015A (en) * 2019-05-16 2019-09-24 华为技术有限公司 A kind of antenna selecting method, device and terminal
CN111614416A (en) * 2020-06-01 2020-09-01 展讯通信(上海)有限公司 Antenna switching method and device
CN112492671A (en) * 2020-11-12 2021-03-12 珠海格力电器股份有限公司 Control method of mobile terminal antenna, mobile terminal and computer readable medium
CN115767604A (en) * 2022-11-17 2023-03-07 黑龙江大学 Self-adaptive channel model switching method and system applied to unmanned aerial vehicle auxiliary communication
CN116754936A (en) * 2023-06-28 2023-09-15 山东卓海能源科技有限公司 Contactless switch operation monitoring analysis system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN106229683A (en) * 2016-09-12 2016-12-14 广东欧珀移动通信有限公司 The changing method of WIFI antenna and device
CN106253941A (en) * 2015-06-10 2016-12-21 三星电子株式会社 Electronic equipment and method of controlling antenna thereof
US9742481B1 (en) * 2016-09-16 2017-08-22 Amazon Technologies, Inc. Antenna switching

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106253941A (en) * 2015-06-10 2016-12-21 三星电子株式会社 Electronic equipment and method of controlling antenna thereof
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN106229683A (en) * 2016-09-12 2016-12-14 广东欧珀移动通信有限公司 The changing method of WIFI antenna and device
US9742481B1 (en) * 2016-09-16 2017-08-22 Amazon Technologies, Inc. Antenna switching

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278015A (en) * 2019-05-16 2019-09-24 华为技术有限公司 A kind of antenna selecting method, device and terminal
CN111614416A (en) * 2020-06-01 2020-09-01 展讯通信(上海)有限公司 Antenna switching method and device
CN112492671A (en) * 2020-11-12 2021-03-12 珠海格力电器股份有限公司 Control method of mobile terminal antenna, mobile terminal and computer readable medium
CN115767604A (en) * 2022-11-17 2023-03-07 黑龙江大学 Self-adaptive channel model switching method and system applied to unmanned aerial vehicle auxiliary communication
CN115767604B (en) * 2022-11-17 2023-08-11 黑龙江大学 Self-adaptive channel model switching method applied to unmanned aerial vehicle auxiliary communication
CN116754936A (en) * 2023-06-28 2023-09-15 山东卓海能源科技有限公司 Contactless switch operation monitoring analysis system
CN116754936B (en) * 2023-06-28 2023-12-22 山东卓海能源科技有限公司 Contactless switch operation monitoring analysis system

Similar Documents

Publication Publication Date Title
CN107666345A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording 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
CN107425888A (en) Multi-input/output antenna, mobile terminal and antenna switching method
CN107769833A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107592133A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107682038A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107453767A (en) A kind of antenna switching method, communication terminal and computer-readable recording medium
CN107707281A (en) A kind of antenna switching method, communication terminal and computer-readable recording medium
CN107707280A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107453766A (en) Antenna switching control method, multi-antenna terminal and computer-readable recording medium
CN107333324A (en) A kind of network selecting method, equipment and computer-readable recording medium
CN107483093A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107612581A (en) Antenna handover trigger control method, communication 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
CN107465439A (en) Trigger method, multi-antenna terminal and the computer-readable recording medium of antenna switching
CN107465445A (en) A kind of method, communication terminal and computer-readable recording medium for switching antenna
CN107682035A (en) Antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107645313A (en) Antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107733509A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107580123A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107592132A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107645325A (en) Antenna handover trigger control method, communication terminal and computer-readable recording 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180206

RJ01 Rejection of invention patent application after publication