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

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

Info

Publication number
CN107453767A
CN107453767A CN201710765203.3A CN201710765203A CN107453767A CN 107453767 A CN107453767 A CN 107453767A CN 201710765203 A CN201710765203 A CN 201710765203A CN 107453767 A CN107453767 A CN 107453767A
Authority
CN
China
Prior art keywords
antenna
parameter
switching
communication
antennas
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
CN201710765203.3A
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 CN201710765203.3A priority Critical patent/CN107453767A/en
Publication of CN107453767A publication Critical patent/CN107453767A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • H01Q1/241Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
    • H01Q1/242Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use
    • H01Q1/243Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use with built-in antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • H04B1/0067Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges with one or more circuit blocks in common for different bands
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/3833Hand-held transceivers

Landscapes

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

Abstract

The invention discloses a kind of antenna switching method, by obtaining at least two messaging parameters for being used for characterizing the performance of current each antenna in communication terminal, then the difference two-by-two of each antenna same communication parameter is calculated, and then trigger whether need progress antenna switching operations, when result of determination is needs to carry out antenna switching, new primary antenna, auxiliary antenna and spare antenna are redefined.The invention also discloses a kind of communication terminal and computer-readable storage medium, the work role for solving each antenna in the prior art immobilizes, antenna is interfered or poor-performing, it will result in and go offline or the problem of call drop, avoid, because antenna performance deterioration causes to go offline or the appearance of the situation of call drop, improving Consumer's Experience.

Description

A kind of antenna switching method, communication 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, communication terminal and calculating 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.
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, communication 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 Communication terminal, the communication terminal include main transmitting-receiving path, auxiliary receiving path and at least three antennas;At least three days With the main transmitting-receiving communication be currently primary antenna in line, currently connect with the auxiliary receiving path supplemented by antenna, it is surplus It is remaining for spare antenna;The antenna switching method includes:
The uplink and downlink messaging parameter of the performance of each antenna for characterizing the communication terminal is obtained, and described in calculating The difference two-by-two of each antenna same communication parameter at least three antennas;
Whether meet that preparatory condition judges whether that needs carry out antenna switching according to each difference two-by-two;
When result of determination is needs to carry out antenna switching, redefine at least three antennas and the main transmitting-receiving is logical Connected relation between road, auxiliary receiving path is so as to selecting new primary antenna, auxiliary antenna and spare antenna.
Optionally, it is described whether to meet that preparatory condition judges whether that needs carry out antenna switching according to each difference two-by-two Including:
For a certain messaging parameter, each difference two-by-two corresponding to the messaging parameter and the messaging parameter are cut Decision threshold is changed to be compared;At least one in each difference two-by-two of the messaging parameter is more than the switching determination During threshold value, judge that the messaging parameter reaches switching condition;Whether the number for the messaging parameter for judging to reach switching condition meets Predetermined number requirement, if satisfied, judging to need to carry out antenna switching;
Or, for a certain messaging parameter, each difference two-by-two will be compared corresponding to the messaging parameter, then will most Big difference two-by-two is compared with the switching determination threshold value of the messaging parameter;In the difference two-by-two that the messaging parameter is maximum During more than the switching determination threshold value, judge that the messaging parameter reaches switching condition;Judge the communication ginseng for reaching switching condition Whether several numbers meets predetermined number requirement, if satisfied, judging to need to carry out antenna switching.
Optionally, whether the number of the messaging parameter for judging to reach switching condition meets predetermined number requirement bag Include:
At least one messaging parameter for reaching the switching condition is judged whether, if so, judging to reach switching condition The number of the messaging parameter meet predetermined number requirement;
Or, judge whether that all messaging parameters all reach parameter switching condition, if so, judging the institute for reaching switching condition The number for stating messaging parameter meets predetermined number requirement.
Optionally, it is described whether to meet that preparatory condition judges whether that needs carry out antenna switching according to each difference two-by-two Including:
Dimension is carried out to each difference two-by-two of certain two antenna and handles to obtain standard value, then by two antennas Standard value calculated according to default first computation rule, obtain characterizing the standard of the performance gap between two antennas Difference;
By each antenna two-by-two between standard deviation compared with default standard deviation threshold value, when each standard When at least one in difference is more than the standard deviation threshold value, judgement needs to carry out antenna switching;Or, by each antenna two Standard deviation between two is compared, then by the standard deviation of maximum compared with default standard deviation threshold value;Described When maximum standard deviation is more than the standard deviation threshold value, judgement needs to carry out antenna switching.
Optionally, the standard value by two antennas is calculated according to default first computation rule, obtains table Levying the standard deviation of the performance gap between two antennas includes:
The standard value of two antennas is weighted summation or weighted average calculation, obtains characterizing two antennas Between performance gap standard deviation.
Optionally, the downlink communication parameter includes received signal strength, received signal quality, received signal power, mistake At least one of code check;
The uplink communication parameter is included in maximum transmission power ratio value, transmission signal power, cqi It is at least one.
Optionally, it is described to redefine between at least three antennas and the main transmitting-receiving path, auxiliary receiving path Connected relation includes:
A kind of instruction parameter as antenna switching is selected from the uplink and downlink messaging parameter got;
The instruction parameter of each antenna got is compared, the optimal antenna of the instruction parameter is defined as new Primary antenna simultaneously replaces former primary antenna and the main transmitting-receiving communication, the antenna of the instruction parameter suboptimum is defined as new auxiliary Antenna simultaneously replaces former auxiliary antenna to be connected with the auxiliary receiving path, and remaining antenna is defined as spare antenna;
Or;All messaging parameters corresponding to each antenna are calculated respectively according to default second computation rule, divided It is not corresponding with each antenna to indicate parameter;
The instruction parameter of each antenna got is compared, the optimal antenna of the instruction parameter is defined as new Primary antenna simultaneously replaces former primary antenna and the main transmitting-receiving communication, the antenna of the instruction parameter suboptimum is defined as new auxiliary Antenna simultaneously replaces former auxiliary antenna to be connected with the auxiliary receiving path, and remaining antenna is defined as spare antenna.
Optionally, it is described to redefine between at least three antennas and the main transmitting-receiving path, auxiliary receiving path Connected relation includes:
A kind of messaging parameter for being used to characterize the performance of each antenna of the communication terminal specified is reacquired as day The instruction parameter of line switching;
The instruction parameter of each antenna got is compared, the optimal antenna of the instruction parameter is defined as new Primary antenna simultaneously replaces former primary antenna and the main transmitting-receiving communication, the antenna of the instruction parameter suboptimum is defined as new auxiliary Antenna simultaneously replaces former auxiliary antenna to be connected with the auxiliary receiving path, and remaining antenna is defined as spare antenna.
Further, present invention also offers a kind of communication terminal, the communication terminal includes main transmitting-receiving path, auxiliary reception Path and at least three antennas;In at least three antennas currently with it is described it is main transmitting-receiving communication be primary antenna, when It is preceding connected with the auxiliary receiving path supplemented by antenna, remaining is spare antenna;The communication terminal also includes processor, deposited Reservoir 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 Such as the step of above-mentioned any antenna switching method.
Beneficial effect
The present invention provides a kind of antenna switching method, communication terminal and computer-readable recording medium, and the wherein present invention carries The method of confession is applied to include the main communication terminal for receiving and dispatching path, auxiliary receiving path and at least three antennas, this at least three In antenna currently with it is main transmitting-receiving communication be primary antenna, currently connected with auxiliary receiving path supplemented by antenna, it is remaining to be Spare antenna, based on hardware architecture provided by the invention, each of terminal is redefined when monitoring that antenna switching condition meets Antenna and main transmitting-receiving path, the connected relation between auxiliary receiving path are so as to selecting new primary antenna, auxiliary antenna and idle day Line, completes the switching of antenna, namely antenna work role can dynamic change, can be adjusted flexibly according to current demand, Avoid, because antenna performance deterioration causes to go offline or the situation of call drop, lifting Consumer's Experience.
In addition, the uplink and downlink messaging parameter of the invention by obtaining communication terminal first, then calculates at least three The difference two-by-two of each antenna same communication parameter in antenna, further according to obtained difference two-by-two, determines whether to meet preparatory condition To determine the need for carrying out antenna switching, when it is determined that needing to carry out antenna switching, new primary antenna, auxiliary antenna are redefined And spare antenna.Because before determining the need for reselecting main and auxiliary antenna, meeting is in combination with uplink communication in the present invention Parameter and downlink communication parameter are assessed the overall performance of antenna, more objective comprehensive, so that follow-up switching is reliable And effectively, each antenna for ensureing to participate in work after switching 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 the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the hardware block diagram for the optional terminal that first embodiment of the invention provides;
Fig. 4 is a kind of basic flow sheet for antenna switching method that first embodiment of the invention provides;
Fig. 5 is a kind of schematic flow sheet for judgement antenna switching that first embodiment of the invention provides;
Fig. 6 is the schematic flow sheet that the another kind that first embodiment of the invention provides judges antenna switching;
Fig. 7 is the first schematic diagram that a kind of aerial position that second embodiment of the invention provides is set;
Fig. 8 judges that antenna switching redefines the refinement flow signal of each antenna for what second embodiment of the invention provided Figure;
Fig. 9 is the structural representation for the communication 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.
Terminal can be implemented in a variety of manners.For example, the terminal described in the present invention can include such as mobile phone, flat board Computer, notebook computer, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer etc. move Dynamic 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, either combine 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 packet radio 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..
For the ease of understanding the embodiment of the present invention, the communications network system being based on below to the mobile terminal of the present invention enters Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system Unite as the LTE system of universal mobile communications technology, the UE that the LTE system includes communicating connection successively (User Equipment, is used Family equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS lands Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and here is omitted.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connected with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide UE201 to EPC203 access.
EPC203 can include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling between EPC203, there is provided carrying and connection management.HSS2032 is all to manage for providing some registers Such as the function of attaching position register (not shown) etc, and preserve some and used about service features, data rate etc. The special information in family.All customer data can be transmitted by SGW2034, and PGW2035 can provide UE 201 IP Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources Point, it selects and provided available strategy and charging control decision-making with charge execution function unit (not shown) for strategy.
IP operation 204 can include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And following new network system etc., do not limit herein.
Based on above-mentioned mobile terminal hardware configuration, each embodiment of the inventive method is proposed.
First embodiment
In order to solve because Antenna Operation role fixes in existing scheme, i.e. can once the antenna in a certain work is blocked The problem of seriously affecting the transmitting-receiving performance of terminal-pair signal, and then influenceing Consumer's Experience.Present embodiments provide 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 at least, possesses three In the communication terminal of antenna.In the present embodiment, it is shown in Figure 3, communication terminal include at least three antennas 311, 312nd ..., 31m, antenna gating circuit 32, radio circuit 33 and BBP 34, the antenna gating circuit 32 have n First interface 3211,3212 ..., 321n (n be typically greater than equal to m positive integer), two second interfaces 3221,3222. Wherein, a second interface 3221 and the main transmitting-receiving communication 331 and 332 (TX and PRX in Fig. 3) of radio circuit, it is another Individual second interface 3222 connects with the auxiliary receiving path 333 (DRX in Fig. 3) of radio circuit, each first interface with this two An at least path switching circuit is connected between individual second interface, there is at least one switch on each path switching circuit, this Each antenna of embodiment is connected with least one first interface of antenna gating circuit.BBP 34 is sent out including radio frequency Penetrate D/A converting circuit 341 (TX-DAC in Fig. 3), main collection receives analog to digital conversion circuit 342 (PRX-ADC in Fig. 3), diversity Analog to digital conversion circuit 343 (DRX-ADC in Fig. 3) is received, and is received with the radio-frequency transmissions D/A converting circuit 341, main collection (the MODEM in Fig. 3 of modulation-demodulation circuit 344 that analog to digital conversion circuit 342, diversity reception analog to digital conversion circuit 343 connect respectively PROC), the main transmitting-receiving path 331 and 332 of the radio circuit 33 radio-frequency transmissions D/A converting circuit with BBP respectively 341st, main collection receives the corresponding connection of analog to digital conversion circuit 342, and auxiliary receiving path 333 connects with diversity reception analog to digital conversion circuit 343 It is logical.BBP also includes antenna switching control module 345 and HAL interface modules 346, and antenna switching control module 345 is logical Cross HAL interface modules 345 to connect with antenna gating circuit 32, pass through the antenna switching control module 345 of HAL interface modules 346 The break-make of each path switching circuit in antenna gating circuit 32, which can be controlled, (can control an arbitrary first interface and one Connection between second interface), and specific primary antenna, or the specific primary antenna of selection are selected from more antennas based on this With auxiliary antenna combination.
, can also be with addition, the antenna switching control module 345 in the present embodiment can be integrated in BBP 34 BBP 34 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. 4, Fig. 4 The basic flow sheet for the antenna switching method that the present embodiment provides, the antenna switching method include:
S401:The uplink and downlink messaging parameter of the performance of each antenna for characterizing communication terminal is obtained, and calculates and is somebody's turn to do The difference two-by-two of each antenna same communication parameter at least three antennas in communication terminal;
Wherein, up parameter includes but is not limited to maximum transmission power ratio value, transmission signal power, cqi At least one of.Downstream parameter includes but is not limited to received signal strength, received signal quality, received signal power, error code At least one of rate.
It is understood that being either directed to uplink communication parameter or downlink communication parameter, recited herein all refers to Show relatively common several, moreover, with the difference of communication standard, uplink communication parameter and downlink communication parameter can be with Increase and decrease with situation.In addition, above-mentioned uplink communication parameter might have one with title of the downlink communication parameter under different systems A little different, for example, received signal strength is in GSM, (Global System for Mobile Communication, the whole world are mobile Communication system) it is by parameter RSSI (Received Signal Strength Indication received signal strengths under standard Instruction) characterize, and in WCDMA (Wideband Code Division Multiple Access, WCDMA) and TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time division synchronous code division Multiple access) under both communication standards, then become parameter RSCP (Received Signal Code Power, received signal code Power), under LTE (Long Term Evolution, Long Term Evolution) standard, then using parameter RSRP (Reference Signal Receiving Power, Reference Signal Received Power) characterize.So, it is to be understood that it is mentioned here to connect Receive signal intensity, received signal quality etc. is got off explanation from the Essential Action of parameter, do not limit it in different scenes Under specific name.Accordingly, for some parameter, no matter whether its title is such as above-mentioned enumerate, as long as its essence is Corresponding implication, then belong to the signified scope of the present embodiment.
In step S401, " the uplink and downlink messaging parameter for obtaining the performance of each antenna for characterizing communication terminal " Refer to get at least one uplink communication parameter and at least one downlink communication parameter simultaneously.
It will be clear that the either uplink communication parameter or downlink communication parameter of antenna, can characterize communication The performance of each antenna of terminal, it should be appreciated that for uplink communication parameter, what it was mainly characterized is the signal of antenna Emitting performance, and for downlink communication parameter, what it was mainly characterized is the signal receiving performance of antenna, therefore, in this reality Apply in example, when by the way of obtaining uplink communication parameter and downlink communication parameter simultaneously to ensure to assess antenna performance It is objective with comprehensive, and then ensure antenna switching accuracy.Such as:Maximum transmission power ratio value can be obtained simultaneously and is connect Receive signal quality, during so as to ensure to assess antenna performance it is objective with it is comprehensive.It should be appreciated that example in precedent It is only to get a kind of uplink communication parameter and a kind of situation of downlink communication parameter, in fact, what is got at the same time is up In messaging parameter and downlink communication parameter, uplink communication parameter can be a variety of, and downlink communication parameter can also be a variety of.
In step S401, " two of each antenna same communication parameter at least three antennas in the communication terminal are calculated Two differences " refer to the operation subtracted each other two-by-two to the same messaging parameter of certain two antenna, obtain corresponding difference two-by-two.
Such as:If communication terminal only includes three antennas, three antennas are respectively a1, a2, a3;If what is got is up logical Letter parameter is transmission signal power, and the downstream parameter got is received signal power;And the transmission signal power that a1 is got For A1, the transmission signal power that a2 is got is A2, and the transmission signal power that a3 is got is A3, the reception signal that a1 is got Power is B1, and the received signal power that a2 is got is B2, and the received signal power that a3 is got is B3, and now three antennas are just The difference two-by-two of transmission signal power is respectively:|A1-A2|、|A2-A3|、|A3-A1|;Three antennas are with regard to received signal power Difference is respectively two-by-two:|B1-B2|、|B2-B3|、|B3-B1|;
S402:According to respectively whether difference meets that preparatory condition judges whether that needs carry out antenna switching two-by-two;If satisfied, turn To step S403;Otherwise, step S404 is gone to;
For whether meeting the situation of preparatory condition according to the difference two-by-two of above-mentioned acquisition judge whether that day can be carried out Line switches this process and following at least two situation be present.
The first situation:Referring to Fig. 5, including:
S501:Compared with obtained each difference switching determination threshold value corresponding with messaging parameter two-by-two;
It will be clear that above-mentioned switching determination threshold value is corresponding with messaging parameter, i.e., a kind of messaging parameter is corresponding One switching determination threshold value.Multiple switching determination threshold values can be set in the present embodiment, and the switching determination threshold value is with getting Messaging parameter kind number it is equal.Such as:If get two kinds of messaging parameters, respectively cqi and reception signal matter Amount;A switching determination threshold value can be correspondingly arranged for cqi, one can be correspondingly arranged for received signal quality It is switched and determined threshold value.It is worth noting that, in actual applications, threshold value is switched and determined by developer according to practical application needs Flexibly set or summarize to obtain arranges value by many experiments value.
Now, compared with the difference two-by-two for a certain messaging parameter has following at least two with default switching determination threshold value Mode:
A kind of feasible comparative approach is:By the difference two-by-two of a certain messaging parameter gradually compared with being switched and determined threshold value, When at least one threshold value more than switching determination in the difference two-by-two of the messaging parameter be present, then it can be determined that the messaging parameter reaches Switching condition is arrived;It is worth noting that, when relatively, the difference two-by-two of messaging parameter not of the same race be required to its corresponding to cut Decision threshold is changed to be compared.Such as:If communication terminal only includes three antennas, three antennas are respectively a1, a2, a3;If obtain The uplink communication parameter got is transmission signal power, while it is Y that threshold value is switched and determined corresponding to transmission signal power, is got Downlink communication parameter be received signal power, while it is Q that received signal power, which is correspondingly switched and determined threshold value,;And a1 is got Transmission signal power is A1, and the transmission signal power that a2 is got is A2, and the transmission signal power that a3 is got is A3, and a1 is obtained The received signal power arrived is B1, and the received signal power that a2 is got is B2, and the received signal power that a3 is got is B3, this Shi Sangen antennas are respectively with regard to the difference two-by-two of transmission signal power:| A1-A2 |=A`, | A2-A3 |=A``, | A3-A1 |=A` ``;Three antennas are respectively with regard to the difference two-by-two of received signal power:| B1-B2 |=B`, | B2-B3 |=B``, | B3-B1 |=B ```.For transmission signal power, Y compared with A`, A``, A```, exists at least one big in A`, A``, A``` successively When Y, then judge that transmission signal power meets switching condition;Be directed to received signal power simultaneously, Q successively with B`, B``, B``` It is compared, exists in B`, B``, B``` at least one when being more than Y, then judges that received signal power has reached switching condition.
Another feasible comparative approach is:First the difference two-by-two of messaging parameter is compared, finds maximum two-by-two Difference, then by the difference two-by-two of maximum compared with the switching determination threshold value of messaging parameter, when messaging parameter is maximum two-by-two When difference is more than switching determination threshold value, then it can be determined that messaging parameter reaches switching condition.Such as:If:Setting section and above-mentioned Example is identical, and difference is to be directed to transmission signal power, is first compared A`, A``, A```, finds the difference two-by-two of maximum, Then again compared with Y, it is assumed that maximum difference two-by-two is more than Y, judges that transmission signal power meets switching condition;Simultaneously for connecing Signal power is received, is first compared B`, B``, B```, the difference two-by-two of maximum is found, then again compared with Q, it is assumed that be maximum Difference two-by-two be more than Q, then judge received signal power meet switching condition.
It is worth noting that, to the difference two-by-two of each messaging parameter with it is corresponding switching determination threshold value compared with it Afterwards, can by judge meet reach switching condition messaging parameter number come determine the need for carry out antenna switching.
S502:Determined the need for carrying out antenna switching according to the number for the messaging parameter for meeting to reach switching condition.
For the operation in above-mentioned steps, following two determination modes at least be present:
The first feasible mode is:Judge whether it is at least one reach the messaging parameter of switching condition, if so, sentencing Surely the number for reaching the messaging parameter of switching condition meets predetermined number requirement, and judgement needs to carry out antenna switching;If it is not, judge The number for reaching the messaging parameter of switching condition is unsatisfactory for predetermined number requirement, and judgement need not carry out antenna switching.Such as:Still Old reference above-mentioned example, for transmission signal power and received signal power, as long as wherein any one messaging parameter meets to cut Change condition, you can judgement needs to carry out antenna switching.
Second of feasible mode be:Judge whether that all messaging parameters all reach parameter switching condition, if so, judging The number for reaching the messaging parameter of switching condition meets predetermined number requirement, and judgement needs to carry out antenna switching;If it is not, judge to reach Number to the messaging parameter of switching condition is unsatisfactory for predetermined number requirement, and judgement need not carry out antenna switching.Such as:Still With reference to above-mentioned example, for transmission signal power and received signal power, only switching condition is satisfied by two messaging parameters When, just can determine that needs to carry out antenna switching, otherwise, it is determined that for that can not carry out antenna switching.
Second of situation:Specifically it may refer to Fig. 6:
S601:Standard value is obtained after obtained difference two-by-two is carried out into dimension processing;
In the present embodiment, the concrete mode for carrying out dimension processing for difference two-by-two has a lot, such as has " relativization Processing method ", " function processing method ", " extreme value method ", " standardized method ", " method for normalizing " etc. carry out dimension The mode of processing.
In order to better illustrate the process of dimension processing, the example of dimension process specifically is gone to obtaining with a kind of here Difference two-by-two carry out dimension processing illustrate.Such as:If communication terminal only includes three antennas, three antennas are respectively a1、a2、a3;If the uplink communication parameter got is transmission signal power, and its maximum in antenna practical application AMAX, the downlink communication parameter got is received signal power, and its maximum B in antenna practical applicationMAX;Get Downlink communication parameter be received signal strength, and its maximum C in antenna practical applicationMAX;And the transmitting that a1 is got Signal power is A1, and the transmission signal power that a2 is got is A2, and the transmission signal power that a3 is got is A3, what a1 was got Received signal power is B1, and the received signal power that a2 is got is B2, and the received signal power that a3 is got is B3, and a1 is obtained The received signal strength arrived is C1, and the received signal strength that a2 is got is C2, and the received signal strength that a3 is got is C3;This Shi Sangen antennas are respectively with regard to the difference two-by-two of transmission signal power:| A1-A2 |=A`, | A2-A3 |=A``, | A3-A1 |=A` ``;Three antennas are respectively with regard to the difference two-by-two of received signal power:| B1-B2 |=B`, | B2-B3 |=B``, | B3-B1 |=B ```;Three antennas are respectively with regard to the difference two-by-two of received signal strength:| C1-C2 |=C`, | C2-C3 |=C``, | C3-C1 |= C```.Then difference carries out dimension and handled two-by-two, and for a1, the standard value that a2 is obtained is respectively A`/AMAX=a`, B`/BMAX=b `、C`/CMAX=c`, for a2, the standard value that a3 is obtained is respectively A``/AMAX=a``, B``/BMAX=b``, C``/CMAX=c` `, for a3, the standard value that a1 is obtained is respectively A```/AMAX=a```, B```/BMAX=b```, C```/CMAX=c```.
It should be appreciated that said process be only it is a kind of it is relatively simple it is specific go dimension processing mode, do not represent this Invention can only go dimension processing mode using above-mentioned.
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 MPTL standard deviation is M11, then can use Arithmetic Expressions Using (P11- M11)/2 mean difference is obtained.Now mean difference is bigger, that is, it is more excellent to characterize antenna performance.It should be appreciated that foregoing calculating Mode 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 " positive and negative finger be present The situation of mark " is handled.In fact, can also using processing modes such as " relative processing methods " come pair simultaneously exist " just The situation of negative index " is handled.
S602:Standard value is calculated according to default first computation rule, obtains performance between two antennas of sign The standard deviation of gap;
In the present embodiment, the first computation rule can be weighted sum calculating or weighted average calculation.Specifically:
When standard value is weighted into read group total, standard value is obtained after dimension is handled, and has been carried in the examples described above Arrive, herein just not repeat specification, it is assumed that for t1, the standard value that t2 is obtained is:A1, b1, c1, for t2, mark that t3 is obtained Quasi- value is:A2, b2, c2, for t3, the standard value that t1 is obtained is:A3, b3, c3, the sign t1 being calculated and t2 performance gaps Standard deviation be x1*a1+x2*b1+x3*c1=D1, the standard deviation of the sign t2 being calculated and t3 performance gaps is x1* A2+x2*b2+x3*c2=D2, the sign t3 being calculated and the standard deviation of t1 performance gaps are x1*a3+x2*b3+x3*c3 =D3;
When standard value is weighted into average computation, it is assumed that for t1, the standard value that t2 is obtained is:A1, b1, c1, for The standard value that t2, t3 are obtained is:A2, b2, c2, for t3, the standard value that t1 is obtained is:A3, b3, c3, the sign being calculated T1 and the standard deviation of t2 performance gaps are (x1*a1+x2*b1+x3*c1)/(a1+b1+c1)=D1, the sign t2 being calculated Standard deviation with t3 performance gaps is (x1*a2+x2*b2+x3*c2)/(a2+b2+c2)=D2, the sign t3 being calculated with The standard deviation of t1 performance gaps is (x1*a3+x2*b3+x3*c3)/(a3+b3+c3)=D3;
It should be appreciated that the method taken of the first computation rule has a lot, except the weighted sum of above-mentioned use, add Outside weight average method, it can also be handled using modes such as remaining averageds.
It is worth noting that, weight x1, x2, x3 can be needed flexibly to be set by developer according to practical application in upper example Put or summarize to obtain arranges value by many experiments value.
S603:Determined the need for carrying out antenna switching according to comparative result.
Specifically, it is at least one when being more than standard deviation threshold value in standard deviation, it is determined that need to carry out antenna switching, it is no Then determine that antenna switching need not be carried out.
In the present embodiment, by each antenna two-by-two between standard deviation compared with default standard deviation threshold value, extremely Following two modes less be present:
The first feasible mode is:When at least one in each standard deviation is more than standard deviation threshold value, judge to need Carry out antenna switching.Such as:It is assumed that the standard deviation being calculated is D1, D2, D3, standard deviation threshold preset is W, by D1, D2, D3 compared with W, if D1, D2, D3 exist it is at least one be more than W, can be determined that need carry out antenna switching.
Second of feasible mode be:When each standard deviation is all higher than standard deviation threshold value, just judge to need to carry out day Line switches.Such as:It is assumed that standard deviation D1, D2, D3 for getting, standard deviation threshold preset is W, and D1, D2, D3 and W are entered Row compares, and only when D1, D2, D3 are all greater than W, just can determine that needs to carry out antenna switching.It is worth noting that, in reality In, standard deviation threshold value is needed to carry out flexibly to set or carry out by many experiments value by developer according to practical application Summary obtains arranges value.
S403:When result of determination is needs to carry out antenna switching, redefine at least three antennas and main transmitting-receiving path, Connected relation between auxiliary receiving path is so as to selecting new primary antenna, auxiliary antenna and spare antenna.
It should be appreciated that in the present embodiment, it is necessary first to which, it is determined that instruction parameter, foregoing instruction parameter is used to carry out day The linearly sequence of energy, so as to redefine the connected relation between at least three antennas and main transmitting-receiving path, auxiliary receiving path. In the present embodiment, it is determined that instruction parameter selects new primary antenna, auxiliary antenna and spare antenna and can at least have following three kinds of sides Formula:
First way:A kind of instruction ginseng as antenna switching is selected from the uplink and downlink messaging parameter got Number;The instruction parameter that each antenna got switches directly is compared again, the optimal antenna of parameter is defined as new main day Line, and former primary antenna and main transmitting-receiving communication are replaced, the antenna of parameter suboptimum is defined as new auxiliary antenna and replaced former auxiliary Antenna connects with auxiliary receiving path, and remaining antenna is defined as spare antenna.
Such as:If the messaging parameter got before includes maximum transmission power ratio value and received signal strength, if referring to It is maximum transmission power ratio value to show parameter, if three antennas are respectively a1, a2, a3, gets maximum transmission power ratio value Respectively Z1=80%, Z2=60%, Z3=40%, it is notable that maximum transmission power is smaller to mean up quality It is higher.Therefore, because Z1>Z2>Z3, so each antenna performance should then be judged optimal by bad sequence being well a3, a2, a1 Antenna is a3, and the antenna of suboptimum is a2, spare antenna a1.
It is worth noting that, instruction parameter can most reflect a kind of messaging parameter of antenna performance.In practical application In, instruction parameter can be needed flexibly to be set by developer according to practical application.
The second way:All messaging parameters corresponding to each antenna are counted respectively according to default second computation rule Calculate, obtain corresponding with each antenna respectively indicating parameter;The instruction parameter that each antenna got switches directly is compared again Compared with the optimal antenna of parameter is defined as new primary antenna, and replaces former primary antenna and main transmitting-receiving communication, by parameter suboptimum Antenna is defined as new auxiliary antenna and replaces former auxiliary antenna to be connected with auxiliary receiving path, and remaining antenna is defined as spare antenna.
In the present embodiment, the second computation rule includes carrying out messaging parameter corresponding to each antenna dimensionization processing, Can characterize antenna overall performance one obtained is being summed up to the parameter value after going dimensionization to handle corresponding to each antenna Individual dimensionless group, now the dimensionless group is to indicate parameter.Such as:If communication terminal only includes three antennas, three Antenna is respectively t1, t2, t3;If the uplink communication parameter got is transmission signal power, and it is in antenna practical application Maximum AMAX, the downlink communication parameter that gets is received signal power, and its maximum in antenna practical application BMAX;The downlink communication parameter got is received signal strength, and its maximum C in antenna practical applicationMAX;And t1 is obtained The transmission signal power got is A1, and the transmission signal power that t2 is got is A2, and the transmission signal power that t3 is got is A3, The received signal power that t1 is got is B1, and the received signal power that t2 is got is B2, the received signal power that t3 is got For B3, the received signal strength that t1 is got is C1, and the received signal strength that t2 is got is C2, the reception signal that t3 is got Intensity is C3;Dimension processing is now carried out, is respectively A`/A for the obtained standard values of a1MAX=a1, B`/BMAX=b1, C`/ CMAX=c1, it is respectively A``/A for the obtained standard values of a2MAX=a2, B``/BMAX=b2, C``/CMAX=c2, is obtained for a3 To standard value be respectively A```/AMAX=a3, B```/BMAX=b3, C```/CMAX=c3;Standard value obtained above is carried out Weighted sum calculates, and the instruction parameter for obtaining characterizing t1 is x1*a1+x2*b1+x3*c1=D1, obtains characterizing t2 instruction parameter For x1*a2+x2*b2+x3*c2=D2, the instruction parameter for obtaining characterizing t3 is x1*a3+x2*b3+x3*c3=D3;Again by D1, D2 and D3 are compared, it is assumed that comparative result D1>D2>D3, then it represents that be to indicate that the optimal antenna of parameter is t1, now Primary antenna be defined as t1, the antenna of instruction parameter suboptimum is t2, and auxiliary antenna now is defined as t2, and t3 is defined as idle day Line.
It is worth noting 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.
It should be appreciated that the method taken of the second computation rule has a lot, in addition to the weighted sum of above-mentioned use, It can also be handled using modes such as remaining weighted average method, averageds.
It should be appreciated that when being calculated according to the second computation rule, it is necessary to consider " positive and negative index " be present simultaneously Situation.Such as:It is assumed that the messaging parameter got is the bit error rate and transmission signal power, if communication terminal only includes three days Line, three antennas are respectively t1, t2, t3;It is corresponding if the standard value of the bit error rate corresponding to t1, t2, t3 is respectively w1, w2 and w3 The standard value of transmission signal power be respectively p1, p2 and p3, then when being weighted read group total, t1 instruction parameter is x1* P1-x2*w1=D1, the instruction parameter for obtaining characterizing antenna t2 is x1*p2-x2*w2=D2, obtains characterizing antenna t3 instruction ginseng Number is x1*p3-x2*w3=D3;D1, D2, D3 are compared successively, it is assumed that comparative result D1>D2>D3, then it represents that be Indicate that the optimal antenna of parameter be t1, primary antenna now is defined as t1, and the antenna for indicating parameter suboptimum is t2, auxiliary day now Line is defined as t2, and t3 is defined as spare antenna.
The above-mentioned pair of processing mode that " positive and negative index " simultaneously be present is only a kind of feasible way of example, does not represent Ben Fa It is bright to be handled using aforesaid way.As long as the processing mode of the direction indication between positive and negative index in fact can be eliminated all Should be within the scope of the present invention.
The third mode:Reacquire a kind of messaging parameter for being used to characterize the performance of each antenna of communication terminal specified Instruction parameter as antenna switching;The instruction parameter of each antenna got is compared, the day optimal by parameter is indicated Line is defined as new primary antenna and replaces former primary antenna and main transmitting-receiving communication, and the antenna for indicating parameter suboptimum is defined as newly Auxiliary antenna and replace former auxiliary antenna to be connected with the auxiliary receiving path, remaining antenna is defined as spare antenna.
It will be clear that each antenna may be different in the value of the messaging parameter got at different moments, such as foregoing first The selection of antenna is carried out in kind of mode and the second way using the messaging parameter got before, can exist messaging parameter without The problem of method accurate characterization antenna current performance, to determining whether the accuracy of progress antenna switching not over the third mode Accurately.
It should be appreciated that the antenna switch step in the present embodiment can be by terminal 100 as shown in Figure 1 independent real It is existing, specifically, realizing one or more programs of above-mentioned each step in the memory storage of memory 109 by terminal 100 and transferring to Processor 110 is performed, and above-mentioned each step is realized by processor 110.
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 antenna switching method Step.
The antenna switching method and computer-readable recording medium that the present embodiment provides, the up of communication terminal is obtained first With downlink communication parameter, the difference two-by-two of each antenna same communication parameter at least three antennas is then calculated, further according to obtaining Difference two-by-two, determine whether to meet preparatory condition to carry out antenna switching, when result of determination for need carry out antenna switching when, Redefine new primary antenna, auxiliary antenna and spare antenna.So, can be in the unstable situation of terminal antenna working environment Under, change terminal in each antenna work role, i.e., the work role of antenna can dynamic change, each antenna can be caused Work role can be adjusted flexibly according to the current demand of terminal, be avoided because antenna performance deterioration causes to go offline or call drop Situation appearance, further, improve mobile terminal transmitting-receiving performance and user Experience Degree.
Second embodiment
In order to be better understood from the present invention, the present embodiment is illustrated with being provided with three antennas on communication terminal, In the present embodiment, in three antennas currently with it is main transmitting-receiving communication be primary antenna, currently connected with auxiliary receiving path Supplemented by antenna, remaining is spare antenna., can be from logical it is understood that according to antenna switching method provided by the invention In letter terminal dynamic select go out the antenna of best performance as primary antenna, performance suboptimum antenna as auxiliary antenna.
It should be appreciated that the position of three antennas of this in the present embodiment can arbitrarily be set, for example, Fig. 7 is may refer to, First antenna 701 therein is arranged on the top at the communication terminal back side, and the second antenna 702 is arranged on the lower-left at the communication terminal back side Side, third antenna 703 are arranged on the lower right at the communication terminal back side.It should be noted that the position of this three groups of antennas can also It is arranged to:First antenna is in the top at the communication terminal back side, and the second antenna is in the medium position at the communication terminal back side, third antenna Bottom position at the communication terminal back side.Of course, the position of three groups of antennas may be arranged as:First antenna is in communication terminal The upper right side at the back side, the second antenna on the upper left side at the communication terminal back side, third antenna the communication terminal back side bottom position, Because the top of user's gripping mobile phone is less, the practicality of such a plan of establishment may be more preferable.It should be noted that three antennas Position be not limited to above-mentioned example.
The present embodiment is on the basis of first embodiment, and the situation that three antennas switch over only is included with communication terminal Exemplified by the present invention work further illustrate, specifically may refer to Fig. 8.If the uplink communication parameter got is transmitting Signal power, and its maximum A in antenna practical applicationMAX;The downstream parameter got is received signal power, its Maximum B in antenna practical applicationMAX;The downstream parameter got also includes received signal strength, and it is in antenna practical application In maximum CMAX;If instruction parameter is emission maximum signal power ratio value.
S801:Obtain transmission signal power, received signal power and the received signal strength of each antenna;
Further, if three antennas are respectively t1, t2, t3;The transmission signal power that t1 is got is A1, and t2 is got Transmission signal power be A2, the transmission signal power that t3 is got is A3, and the received signal power that t1 is got is B1, and t2 is obtained The received signal power got is B2, and the received signal power that t3 is got is B3, and the received signal strength that t1 is got is C1, The received signal strength that t2 is got is C2, and the received signal strength that t3 is got is C3.
S802:Calculate the difference two-by-two of each antenna same communication parameter at least three antennas in communication terminal;
Further, the difference two-by-two of each antenna transmission signal power acquired is respectively:| A1-A2 |=A`, | A2-A3 |=A``, | A3-A1 |=A```;The difference two-by-two of each antenna received signal power acquired is respectively:|B1-B2 |=B`, | B2-B3 |=B``, | B3-B1 |=B```;The difference of difference two-by-two of each antenna received signal strength acquired For:| C1-C2 |=C`, | C2-C3 |=C``, | C3-C1 |=C```.
S803:Standard value is obtained after obtained difference two-by-two is carried out into dimension processing;
Further, for t1, the standard value that t2 is obtained is respectively A`/AMAX=a1, B`/BMAX=b1, C`/CMAX=c1, For a2, the standard value that a3 is obtained is respectively A``/AMAX=a2, B``/BMAX=b2, C``/CMAX=c2, obtained for a3, a1 Standard value be respectively A```/AMAX=a3, B```/BMAX=b3, C```/CMAX=c3.
S804:Standard value is weighted summation and obtains the standard deviation of performance gap between two antennas of sign;
Further, read group total is weighted to standard value, the standard deviation for obtaining characterizing t1 and t2 performance gaps is X1*a1+x2*b1+x3*c1=D1, it is x1*a2+x2*b2+x3*c2=to obtain characterizing t2 and the standard deviation of t3 performance gaps D2, it is x1*a3+x2*b3+x3*c3=D3 to obtain characterizing t3 and the standard deviation of t1 performance gaps.
S805:Again by the standard deviation compared with default standard deviation threshold value;
If exist in each standard deviation it is at least one be more than standard deviation threshold value, demonstrate the need for carry out antenna switching, Hence into subsequent step S806, otherwise show that antenna switching need not be carried out.
For example, it is W to be marked with quasi- difference threshold, it is assumed that the standard deviation got is D1, D2, D3, and D1, D2, D3 are distinguished Compared with W, when exist in D1, D2, D3 it is at least one be more than W when, then judge need carry out antenna switching.
S806:Obtain the emission maximum signal power ratio value of each antenna;
S807:Judge the size of the instruction parameter value between each antenna, the performance of each antenna is ranked up;
S808:New primary antenna, auxiliary antenna and spare antenna are redefined according to ranking results;
Such as:If the emission maximum signal power ratio value that t1 is got is Z1=80%, the emission maximum that t2 is got Signal power ratio value is Z2=60%, and the emission maximum signal power ratio value that t3 is got is Z3=40%, is worth noting , maximum transmission power ratio value is smaller to mean that up quality is higher, therefore, because Z1>Z2>Z3, so each day is linear By to bad sequence being well a3, a2, a1 optimal antenna can should be then judged for a3, the antenna of suboptimum is a2, and spare antenna is a1。
A kind of antenna switching method that the present embodiment provides, by obtaining uplink and downlink messaging parameter simultaneously, and calculate The difference two-by-two of each antenna same communication parameter at least three antennas, dimension processing is carried out to difference two-by-two, then be weighted Read group total, judge whether to need to carry out antenna switching according to result of calculation, be to need to carry out antenna switching in result of determination When, a kind of instruction parameter as antenna switching is only selected from the uplink and downlink messaging parameter got, selection parameter is most Excellent instruction parameter is primary antenna, antenna supplemented by the instruction parameter of selection parameter suboptimum, so, by changing each antenna in terminal Work role, namely antenna work role can dynamic change, can avoid because antenna performance deteriorate cause to go offline or The appearance of the situation of call drop, further, improve mobile terminal transmitting-receiving performance and the Experience Degree of user.
3rd embodiment
The present embodiment additionally provides a kind of communication terminal, shown in Figure 9, including processor 901, memory 902, communication Bus 903, communication unit 904 and antenna 905;
Communication bus 903 is used to realize the connection communication between processor 901, memory 902 and communication unit 904;
Communication unit 904 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 905 comprises at least three groups, this at least three antenna In currently with it is above-mentioned it is main transmitting-receiving communication be primary antenna, currently connect with above-mentioned auxiliary receiving path supplemented by antenna, residue For spare antenna.
Memory 902 is used to perform one or more programs, processor 901 be used to performing stored in memory one or The multiple programs of person, to realize following steps:
The uplink and downlink messaging parameter of the performance of each antenna for characterizing communication terminal is obtained, and calculates communication end The difference two-by-two of each antenna same communication parameter at least three antennas in end;
According to respectively whether difference meets that preparatory condition judges whether that needs carry out antenna switching two-by-two;If satisfied, then carry out Antenna switches;Otherwise, switch without antenna;
When result of determination is needs to carry out antenna switching, redefine at least three antennas and receive and dispatch path with main, auxiliary connect The connected relation between path is received so as to select new primary antenna, auxiliary antenna and spare antenna.
In the step of above-mentioned processor 901 performs, up parameter includes but is not limited to maximum transmission power ratio value, hair Penetrate at least one of signal power, cqi.Downstream parameter includes but is not limited to received signal strength, reception signal At least one of quality, received signal power, bit error rate.
It should be appreciated that in the present embodiment, processor 901 " obtains the property of each antenna for characterizing communication terminal The uplink and downlink messaging parameter of energy " refers to get at least one uplink communication parameter and at least one downlink communication ginseng simultaneously Number.It will be clear that the either uplink communication parameter or downlink communication parameter of antenna, can characterize communication terminal The performance of each antenna.
Meanwhile processor 901 " calculates two of each antenna same communication parameter at least three antennas in the communication terminal Two differences " refer to the operation subtracted each other two-by-two to the same messaging parameter of certain two antenna, obtain corresponding difference two-by-two.
In the present embodiment, whether meet for the difference two-by-two obtained according to processor 901 the situation of preparatory condition come Judge whether that antenna can be carried out to switch this process and following at least two situation be present.
The first situation includes:
Compared with obtained each difference switching determination threshold value corresponding with messaging parameter two-by-two;Reached according to satisfaction The number of the messaging parameter of switching condition determines the need for carrying out antenna switching.
It will be clear that above-mentioned switching determination threshold value is corresponding with messaging parameter, i.e., a kind of messaging parameter is corresponding One switching determination threshold value.Multiple switching determination threshold values can be set in the present embodiment, and the switching determination threshold value is with getting Messaging parameter kind number it is equal.
Now, compared with the difference two-by-two for a certain messaging parameter has following at least two with default switching determination threshold value Mode:
In certain embodiments, by the difference two-by-two of a certain messaging parameter gradually compared with being switched and determined threshold value, when this is logical When at least one threshold value more than switching determination in the difference two-by-two of letter parameter be present, then it can be determined that the messaging parameter has reached and cut Change condition;It is worth noting that, when relatively, the difference two-by-two of messaging parameter not of the same race is required to be switched and determined corresponding with it Threshold value is compared.
In further embodiments, first the difference two-by-two of messaging parameter is compared, finds the difference two-by-two of maximum, then By the difference two-by-two of maximum compared with the switching determination threshold value of messaging parameter, when the maximum difference two-by-two of messaging parameter is more than When being switched and determined threshold value, then it can be determined that messaging parameter reaches switching condition.
It is worth noting that, to the difference two-by-two of each messaging parameter with it is corresponding switching determination threshold value compared with it Afterwards, can by judge meet reach switching condition messaging parameter number come determine the need for carry out antenna switching.
In the present embodiment, determined the need for carrying out antenna according to the number for the messaging parameter for meeting to reach switching condition Following two determination modes be present in switching:
The first feasible determination mode is:At least one messaging parameter for reaching switching condition is judged whether, if It is that the number for the messaging parameter for judging to reach switching condition meets predetermined number requirement, and judgement needs to carry out antenna switching;If No, the number for the messaging parameter for judging to reach switching condition is unsatisfactory for predetermined number requirement, and judgement need not carry out antenna switching.
Second of feasible determination mode be:Judge whether that all messaging parameters all reach parameter switching condition, if so, The number for the messaging parameter for judging to reach switching condition meets predetermined number requirement, and judgement needs to carry out antenna switching;If it is not, sentence Surely the number for reaching the messaging parameter of switching condition is unsatisfactory for predetermined number requirement, and judgement need not carry out antenna switching.
Second of situation includes:
Standard value is obtained after obtained difference two-by-two is carried out into dimension processing;Standard value is calculated according to default first Rule is calculated, and obtains the standard deviation of performance gap between two antennas of sign;By the standard deviation and default standard Difference threshold is compared;Determined the need for carrying out antenna switching according to comparative result.
In the present embodiment, the concrete mode for carrying out dimension processing for difference two-by-two has a lot, such as has " relativization Processing method ", " function processing method ", " extreme value method ", " standardized method ", " method for normalizing " etc. carry out dimension The mode of processing.
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.But some messaging parameters then belong to " negative index ", its value is smaller, then representative antennas performance is more excellent.It is right " positive and negative index " be present in simultaneously, need the messaging parameter for direct index and negative index to need when calculating mean difference Considered.
In the present embodiment, the first computation rule can be weighted sum calculating or weighted average calculation.Specific step Mention in the examples described above, not repeat specification herein.It should be appreciated that the method taken of the first computation rule has A lot, the weighted sum except use, in addition to weighted average method, can also be carried out using modes such as remaining averageds Processing.
In the present embodiment, processor 901 determines the need for progress antenna switching according to comparative result can be specifically: It is at least one when being more than standard deviation threshold value in standard deviation, it is determined that needing to carry out antenna switching, otherwise determine to enter Row antenna switches.
In certain embodiments, when at least one in each standard deviation is more than standard deviation threshold value, judgement needs to carry out Antenna switches.
In further embodiments, when each standard deviation is all higher than standard deviation threshold value, just judge to need to carry out antenna Switching.
It is worth noting that, in actual applications, standard deviation threshold value is needed to carry out by developer according to practical application Flexibly set or summarize to obtain arranges value by many experiments value.
The connection between at least three antennas and main transmitting-receiving path, auxiliary receiving path is redefined for processor 901 to close For the step of system is so as to select new primary antenna, auxiliary antenna and spare antenna, it is necessary first to it is determined that instruction parameter, foregoing finger Show that parameter is used for the sequence for carrying out antenna performance, so as to redefine at least three antennas and main transmitting-receiving path, auxiliary receiving path Between connected relation.In the present embodiment, it is determined that instruction parameter selects new primary antenna, auxiliary antenna and spare antenna at least There can be implementation below:
In some embodiments, selected from the uplink and downlink messaging parameter got it is a kind of as antenna switching Indicate parameter;The instruction parameter that each antenna got switches directly is compared again, the optimal antenna of parameter is defined as newly Primary antenna, and replace former primary antenna and main transmitting-receiving communication, the antenna of parameter suboptimum be defined as new auxiliary antenna and generation Connected for former auxiliary antenna with auxiliary receiving path, remaining antenna is defined as spare antenna.
It is worth noting that, instruction parameter can most reflect a kind of messaging parameter of antenna performance.In practical application In, instruction parameter can be needed flexibly to be set by developer according to practical application.
In some embodiments, according to default second computation rule respectively to all messaging parameters corresponding to each antenna Calculated, obtain corresponding with each antenna respectively indicating parameter;The instruction parameter that each antenna got is switched again is direct It is compared, the optimal antenna of parameter is defined as new primary antenna, and replaces former primary antenna and main transmitting-receiving communication, by parameter The antenna of suboptimum is defined as new auxiliary antenna and replaces former auxiliary antenna to be connected with auxiliary receiving path, and remaining antenna is defined as idle day Line.
It should be appreciated that when being calculated according to the second computation rule, it is necessary to consider " positive and negative index " be present simultaneously Situation.
In other embodiments, a kind of performance for being used to characterize each antenna of communication terminal specified is reacquired The instruction parameter that messaging parameter switches as antenna;The instruction parameter of each antenna got is compared, parameter will be indicated Optimal antenna is defined as new primary antenna and replaces former primary antenna and main transmitting-receiving communication, will indicate the antenna of parameter suboptimum It is defined as new auxiliary antenna and replaces former auxiliary antenna to be connected with the auxiliary receiving path, remaining antenna is defined as spare antenna.
It will be clear that each antenna may be different in the value of the messaging parameter got at different moments, such as foregoing three kinds The selection of antenna is carried out in first two mode in embodiment using the messaging parameter got before, can there is communication ginseng Number can not accurate characterization antenna current performance the problem of, to determine whether carry out antenna switching accuracy not over the third Embodiment is accurate.
The communication terminal that the present embodiment provides, by obtaining the uplink and downlink messaging parameter of communication terminal first, then The difference two-by-two of each antenna same communication parameter at least three antennas is calculated, further according to obtained difference two-by-two, is determined whether Meet preparatory condition to carry out antenna switching, when result of determination for need carry out antenna switching when, redefine new primary antenna, Auxiliary antenna and spare antenna.So, each antenna in terminal can be changed in the case where terminal antenna working environment is unstable The work role of work role, i.e. antenna can dynamic change, avoid causes to go offline or call drop because antenna performance deteriorates The appearance of situation, further, improve mobile terminal transmitting-receiving performance and the Experience Degree of user.
Fourth embodiment
The present embodiment is on the basis of 3rd embodiment, there is provided exemplified by processor 901 realizes the process of antenna switching, tool Body implementation process is as follows:
If communication terminal is triantennary terminal.Three antennas in terminal are designated as respectively:Antenna t1, antenna t2 and antenna t3.If the messaging parameter got is transmission signal power and received signal power, if transmission signal power antenna it is actual should Maximum A inMAX;Maximum B of the received signal power in antenna practical applicationMAX.If it is according to acquisition to indicate parameter The dimensionless group being calculated to the transmission signal power and received signal power of single antenna.
Step 1:Processor 901 obtains transmission signal performance number A1, A2, A3 corresponding to t1, t2 and t3, reception signal work( Rate value B1, B2, B3.
Step 2:The difference two-by-two of corresponding transmission signal power between t1 and t2 is calculated in processor 901 | A1-A2 | =A`, the difference two-by-two of received signal power | B1-B2 |=B`;Corresponding transmission signal power between t2 and t3 is calculated Difference two-by-two | A2-A3 |=A``, the difference two-by-two of received signal power | B2-B3 |=B``;It is right between t3 and t1 to be calculated The difference two-by-two for the transmission signal power answered | A3-A1 |=A```, the difference two-by-two of received signal power | B3-B1 |=B```;
Step 3:If it is K that threshold value is switched and determined corresponding to transmission signal power, if switching is sentenced corresponding to received signal power It is L to determine threshold value, processor 901 by difference A`, A``, A``` for being calculated compared with K, while the difference that will be calculated Value B`, B``, B``` are compared with L.
Exist in A`, A``, A``` at least one when being more than K, or exist in B`, B``, B``` and at least one to be more than L When, then judge to need to carry out antenna switching, processor 901 continues executing with the operation of step 4 to six.Otherwise, it is determined that it need not enter Row antenna switches, and processor 901 terminates antenna switching flow.
Step 4:Processor 901 is respectively to transmission signal power and hair corresponding to the t1, t2 and the t3 that are got in step 1 Penetrate signal power and carry out dimension and handle, it is A`/A to obtain standard value corresponding to t1MAX=a1, B`/BMAXMarked corresponding to=b1, t2 Quasi- value is A``/AMAX=a2, B``/BMAXStandard value corresponding to=b2, t3 is A```/AMAX=a3, B```/BMAX=b3.
Step 5:Processor 901 is weighted read group total to standard value again, and it is x1* to obtain instruction parameter corresponding to t1 A1+x2*b1=D1, it is x1*a2+x2*b2=D2 to obtain instruction parameter corresponding to t2, and it is x1* to obtain instruction parameter corresponding to t3 A3+x2*b3=D3.
Step 6:D1, D2, D3 are compared by processor 901 successively, it is assumed that comparative result D1>D2>D3, then judge Primary antenna is t1, and auxiliary antenna is t2, spare antenna t3.
The communication terminal that the present embodiment provides, by obtaining the uplink and downlink messaging parameter of communication terminal first, then The difference two-by-two of each antenna same communication parameter at least three antennas is calculated, further according to obtained difference two-by-two, is determined whether Meet preparatory condition to carry out antenna switching, when result of determination for need carry out antenna switching when, redefine new primary antenna, Auxiliary antenna and spare antenna.So, each antenna in terminal can be changed in the case where terminal antenna working environment is unstable The work role of work role, i.e. antenna can dynamic change, the work role of each antenna can be allowd according to terminal Current demand be adjusted flexibly, avoid causes to go offline or the appearance of the situation of call drop because antenna performance deteriorates, further , improve mobile terminal transmitting-receiving performance and the Experience Degree of user.
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 communication terminal, the communication terminal Including main transmitting-receiving path, auxiliary receiving path and at least three antennas;In at least three antennas currently with the main transmitting-receiving Communication for primary antenna, currently connected with the auxiliary receiving path supplemented by antenna, remaining is spare antenna;The day Line switching method includes:
The uplink and downlink messaging parameter of the performance of each antenna for characterizing the communication terminal is obtained, and described in calculating at least The difference two-by-two of each antenna same communication parameter in three antennas;
Whether meet that preparatory condition judges whether that needs carry out antenna switching according to each difference two-by-two;
When result of determination is needs to carry out antenna switching, redefine at least three antennas and the main transmitting-receiving path, Connected relation between auxiliary receiving 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 described whether to be met according to each difference two-by-two Preparatory condition judges whether to need progress antenna switching to include:
, will each corresponding to the messaging parameter described difference and the switching of the messaging parameter be sentenced two-by-two for a certain messaging parameter Determine threshold value to be compared;At least one in each difference two-by-two of the messaging parameter is more than the switching determination threshold value When, judge that the messaging parameter reaches switching condition;Whether the number for the messaging parameter for judging to reach switching condition meets to preset Number requirement, if satisfied, judging to need to carry out antenna switching;
Or,
For a certain messaging parameter, each difference two-by-two corresponding to the messaging parameter is compared, then two by maximum Two differences are compared with the switching determination threshold value of the messaging parameter;It is more than institute in the maximum difference two-by-two of the messaging parameter When stating switching determination threshold value, judge that the messaging parameter reaches switching condition;Judge of messaging parameter for reaching switching condition Whether number meets predetermined number requirement, if satisfied, judging to need to carry out antenna switching.
3. antenna switching method as claimed in claim 2, it is characterised in that the communication for judging to reach switching condition Whether the number of parameter meets that predetermined number requires to include:
At least one messaging parameter for reaching the switching condition is judged whether, if so, judging the institute for reaching switching condition The number for stating messaging parameter meets predetermined number requirement;
Or, judge whether that all messaging parameters all reach parameter switching condition, if so, judging to reach the described logical of switching condition The number of letter parameter meets predetermined number requirement.
4. antenna switching method as claimed in claim 1, it is characterised in that described whether to be met according to each difference two-by-two Preparatory condition judges whether to need progress antenna switching to include:
Dimension is carried out to each difference two-by-two of certain two antenna to handle to obtain standard value, then the mark by two antennas Quasi- value is calculated according to default first computation rule, obtains characterizing the standard deviation of the performance gap between two antennas Value;
By each antenna two-by-two between standard deviation compared with default standard deviation threshold value, when each standard deviation In it is at least one when being more than the standard deviation threshold value, judgement needs to carry out antenna switching;Or, by each antenna two-by-two between Standard deviation be compared, then by maximum standard deviation compared with default standard deviation threshold value;In the maximum Standard deviation when being more than the standard deviation threshold value, judgement needs to carry out antenna switching.
5. antenna switching method as claimed in claim 4, it is characterised in that the standard value by two antennas according to Default first computation rule is calculated, and obtaining characterizing the standard deviation of the performance gap between two antennas includes:
The standard value of two antennas is weighted summation or weighted average calculation, obtained characterizing between two antennas Performance gap standard deviation.
6. the antenna switching method as described in claim any one of 1-5, it is characterised in that the downlink communication parameter includes connecing Receive at least one of signal intensity, received signal quality, received signal power, bit error rate;
The uplink communication parameter is included in maximum transmission power ratio value, transmission signal power, cqi at least It is a kind of.
7. antenna switching method as claimed in claim 6, it is characterised in that it is described redefine at least three antennas with Connected relation between the main transmitting-receiving path, auxiliary receiving path includes:
A kind of instruction parameter as antenna switching is selected from the uplink and downlink messaging parameter got;
The instruction parameter of each antenna got is compared, the optimal antenna of the instruction parameter is defined as new main day Line simultaneously replaces former primary antenna and the main transmitting-receiving communication, and the antenna of the instruction parameter suboptimum is defined as into new auxiliary antenna And replacing former auxiliary antenna to be connected with the auxiliary receiving path, remaining antenna is defined as spare antenna;
Or;
All messaging parameters corresponding to each antenna are calculated respectively according to default second computation rule, obtain respectively with each day Instruction parameter corresponding to line;
The instruction parameter of each antenna got is compared, the optimal antenna of the instruction parameter is defined as new main day Line simultaneously replaces former primary antenna and the main transmitting-receiving communication, and the antenna of the instruction parameter suboptimum is defined as into new auxiliary antenna And replacing former auxiliary antenna to be connected with the auxiliary receiving path, remaining antenna is defined as spare antenna.
8. antenna switching method as claimed in claim 6, it is characterised in that it is described redefine at least three antennas with Connected relation between the main transmitting-receiving path, auxiliary receiving path includes:
A kind of messaging parameter for being used to characterize the performance of each antenna of the communication terminal specified is reacquired to cut as antenna The instruction parameter changed;
The instruction parameter of each antenna got is compared, the optimal antenna of the instruction parameter is defined as new main day Line simultaneously replaces former primary antenna and the main transmitting-receiving communication, and the antenna of the instruction parameter suboptimum is defined as into new auxiliary antenna And replacing former auxiliary antenna to be connected with the auxiliary receiving path, remaining antenna is defined as spare antenna.
9. a kind of communication terminal, it is characterised in that the communication terminal includes main transmitting-receiving path, auxiliary receiving path and at least three Root antenna;In at least three antennas currently with it is described it is main transmitting-receiving communication be primary antenna, currently with the auxiliary reception Antenna supplemented by communication, remaining is spare antenna;It is total that the communication terminal also includes processor, memory and communication Line;
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.
CN201710765203.3A 2017-08-30 2017-08-30 A kind of antenna switching method, communication terminal and computer-readable recording medium Pending CN107453767A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710765203.3A CN107453767A (en) 2017-08-30 2017-08-30 A kind of antenna switching method, communication terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710765203.3A CN107453767A (en) 2017-08-30 2017-08-30 A kind of antenna switching method, communication terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107453767A true CN107453767A (en) 2017-12-08

Family

ID=60493472

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710765203.3A Pending CN107453767A (en) 2017-08-30 2017-08-30 A kind of antenna switching method, communication terminal and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107453767A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108232473A (en) * 2018-01-19 2018-06-29 广东欧珀移动通信有限公司 Antenna module, electronic equipment and antenna switching method
CN109412614A (en) * 2018-11-21 2019-03-01 惠州Tcl移动通信有限公司 A kind of mobile terminal
EP3514982A3 (en) * 2018-01-19 2019-09-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device and antenna controlling method
CN110692206A (en) * 2017-12-15 2020-01-14 谷歌有限责任公司 Performance based antenna selection for user equipment
CN116599557A (en) * 2019-09-09 2023-08-15 华为技术有限公司 Antenna switching method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778220A (en) * 2014-01-21 2014-05-07 浪潮(北京)电子信息产业有限公司 Decision support method and device based on cloud computing
CN104321981A (en) * 2012-05-21 2015-01-28 高通股份有限公司 Antenna switching devices, methods, and systems for simultaneous communication
CN106253941A (en) * 2015-06-10 2016-12-21 三星电子株式会社 Electronic equipment and method of controlling antenna thereof
CN106374969A (en) * 2016-09-30 2017-02-01 维沃移动通信有限公司 Antenna switching method and mobile terminal
US9742481B1 (en) * 2016-09-16 2017-08-22 Amazon Technologies, Inc. Antenna switching

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104321981A (en) * 2012-05-21 2015-01-28 高通股份有限公司 Antenna switching devices, methods, and systems for simultaneous communication
CN103778220A (en) * 2014-01-21 2014-05-07 浪潮(北京)电子信息产业有限公司 Decision support method and device based on cloud computing
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
CN106374969A (en) * 2016-09-30 2017-02-01 维沃移动通信有限公司 Antenna switching method and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110692206A (en) * 2017-12-15 2020-01-14 谷歌有限责任公司 Performance based antenna selection for user equipment
CN110692206B (en) * 2017-12-15 2023-06-20 谷歌有限责任公司 Performance based antenna selection for user equipment
CN108232473A (en) * 2018-01-19 2018-06-29 广东欧珀移动通信有限公司 Antenna module, electronic equipment and antenna switching method
EP3514982A3 (en) * 2018-01-19 2019-09-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electronic device and antenna controlling method
CN109412614A (en) * 2018-11-21 2019-03-01 惠州Tcl移动通信有限公司 A kind of mobile terminal
CN116599557A (en) * 2019-09-09 2023-08-15 华为技术有限公司 Antenna switching method and device

Similar Documents

Publication Publication Date Title
CN107453767A (en) A kind of antenna switching method, communication terminal and computer-readable recording medium
CN107465428A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107425888A (en) Multi-input/output antenna, mobile terminal and antenna switching method
CN107592133A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107436779A (en) A kind of application management method, equipment and computer-readable recording medium
CN107483093A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107145385A (en) A kind of multitask interface display methods, mobile terminal and computer-readable storage medium
CN107333324A (en) A kind of network selecting method, equipment and computer-readable recording medium
CN107682038A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107844333A (en) One kind applies method for cleaning, mobile terminal and computer-readable recording medium
CN107733509A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107666345A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107707281A (en) A kind of antenna switching method, communication terminal and computer-readable recording medium
CN107682035A (en) Antenna switching 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
CN107508627A (en) Antenna switch triggering method, multi-antenna terminal and computer-readable recording medium
CN107707280A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107249183A (en) Electrically connect method, mobile terminal and computer-readable medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN107465445A (en) A kind of method, communication terminal and computer-readable recording medium for switching antenna
CN107659344A (en) Antenna handover trigger control method, communication terminal and computer-readable storage medium
CN107580123A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107659346A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107733508A (en) A kind of antenna switching method, multi-antenna 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: 20171208

RJ01 Rejection of invention patent application after publication