CN107645313A - Antenna switching method, multi-antenna terminal and computer-readable recording medium - Google Patents

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

Info

Publication number
CN107645313A
CN107645313A CN201710766313.1A CN201710766313A CN107645313A CN 107645313 A CN107645313 A CN 107645313A CN 201710766313 A CN201710766313 A CN 201710766313A CN 107645313 A CN107645313 A CN 107645313A
Authority
CN
China
Prior art keywords
antenna
status parameter
target
working status
selection circuit
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
CN201710766313.1A
Other languages
Chinese (zh)
Inventor
龙浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710766313.1A priority Critical patent/CN107645313A/en
Publication of CN107645313A publication Critical patent/CN107645313A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides a kind of antenna switching method, multi-antenna terminal and computer-readable recording medium, it is big for existing dual-antenna terminal power consumption, the defects of communication quality is bad, by setting at least three groups of antennas in terminal, including one group of fixed antenna, remaining is variable antenna;One of which is the primary antenna with main transmitting-receiving communication, one group of auxiliary antenna to be connected with auxiliary receiving path, remaining is spare antenna, then when meeting switching condition, travel through the working status parameter of each antenna and comparison, switching command is generated based on comparison result, then by switching command adjust by antenna access main transmitting-receiving path and auxiliary transmitting-receiving path several N select 1 switch selection circuit and/or one 2 select 2 switch selection circuit, it is achieved thereby that corresponding primary antenna and auxiliary antenna are reselected in multiple antennas, it is effectively guaranteed communication quality, so as to reduce power consumption, improve Consumer's Experience.

Description

Antenna switching method, multi-antenna terminal and computer-readable recording medium
Technical field
The present invention relates to communication technical field, more specifically to a kind of antenna switching method, multi-antenna terminal and meter Calculation machine readable storage medium storing program for executing.
Background technology
The existing terminal with call and data function, that is, can be by interacting realization and other between base station User or the terminal of server connection communication, used antenna scheme are all two-antenna schemes, refer to Fig. 1, and Fig. 1 is shown In the prior art in dual-antenna terminal, two groups of antenna set locations, one of antenna is as primary antenna, available for sending signaling With reception signaling, another antenna is only used for receiving signaling message as auxiliary antenna.Although the scheme of double antenna allowed at two days Major-minor switching is carried out between line, that is, major-minor antenna can be switched between the top antenna and bottom antenna of terminal, But the gripping custom, the signal intensity of environment etc. of user all affects the actual use experience of user, and the terminal of double antenna is only The major-minor relation of two antennas can only only be switched, it is difficult the communication performance for really improving terminal in the case of signal conditioning difference, And quality is poorer, the power consumption of terminal also increases therewith, therefore power consumption and Consumer's Experience are all that existing dual-antenna terminal can not The drawbacks of evading.
The content of the invention
The technical problem to be solved in the present invention is how to solve dual-antenna terminal power consumption height in the prior art, communication quality The problem of bad, for the technical problem, there is provided a kind of antenna switching method, multi-antenna terminal and computer-readable storage medium Matter.
In order to solve the above technical problems, the present invention provides a kind of antenna switching method, applied to at least three groups of antennas Terminal, the antenna includes one group of fixed antenna, and remaining is variable antenna;Current main receipts with the terminal in the antenna Send out communication for primary antenna, currently connected with the auxiliary receiving path of the terminal supplemented by antenna, remaining is idle day Line, the antenna are connected by antenna gating circuit with the main transmitting-receiving path or auxiliary receiving path;Wherein, the antenna gating Circuit include several N select 1 switch selection circuit and one 2 select 2 switch selection circuit, described 2 select 2 switch to select electricity Two interfaces of road A sides, which are respectively connected to the main transmitting-receiving path and the auxiliary receiving path, each variable antenna, to be led to successively The switch selection circuit that the N selects 1 is crossed, an interface in two interfaces of 2 switch selection circuit B sides is selected in access described 2, The fixed antenna is directly connected with another in two interfaces of the switch selection circuit B sides;The antenna switching side Method includes:
When meeting antenna switching condition, working condition ginseng when BBP poll each group antenna is in running order Number;
The working status parameter of the same type of each group variable antenna is compared, target day is determined from each group variable antenna Line, the working status parameter of the target antenna are not weaker than the working status parameter of other variable antennas;
The working status parameter of the same type of the target antenna and the fixed antenna is compared, and generates comparison knot Fruit;
Corresponding switching command is generated based on the comparison result, the switching command is included from the target antenna and institute State the to be switched target primary antenna and the auxiliary antenna of target determined in fixed antenna;
The N is adjusted based on the switching command to select 1 switch selection circuit and/or described 2 select 2 switch to select electricity Road, the target primary antenna and the main transmitting-receiving communication, and the auxiliary antenna of the target is set to connect with the auxiliary receiving path It is logical.
Optionally, the working status parameter when BBP poll each group antenna is in running order includes:
Antenna switching control module in BBP adjusts the N and selects 1 switch selection circuit and/or described 2 select 2 Switch selection circuit, by each group antenna successively with the main transmitting-receiving communication;
Each group antenna is obtained by the diagnostic service module in the BBP or radio-frequency driven module and is in work Working status parameter during state.
Optionally, the working status parameter of the same type for comparing each group variable antenna, from each group variable antenna Determine that target antenna includes:
The work shape of the same type of each group variable antenna is compared by the diagnostic service module or radio-frequency driven module State parameter, determine that working status parameter is best for the target antenna;
The working status parameter of the same type for comparing target antenna and the fixed antenna, and generate comparison result Including:
The phase of the target antenna and the fixed antenna is compared by the diagnostic service module or radio-frequency driven module The working status parameter of same type, and generate comparison result;
It is described to be included based on the corresponding switching command of comparison result generation:
The antenna switching control module determines the target primary antenna and the auxiliary antenna of target according to the comparison result, And generate corresponding switching command.
Optionally, the working status parameter of the same type for comparing each group variable antenna, from each group variable antenna Determine that target antenna includes:
The working status parameter got is sent to institute by the diagnostic service module or radio-frequency driven module in real time State antenna switching control module;
The antenna switching control module compares the working status parameter of each group variable antenna, determines working status parameter most It is good for the target antenna;
The working status parameter of the same type for comparing target antenna and the fixed antenna, and generate comparison result Including:
The antenna switching control module compares the work shape of the same type of the target antenna and the fixed antenna State parameter, and generate comparison result;
Described to be based on comparison result, generating corresponding switching command includes:
The antenna switching control module determines the target primary antenna and the auxiliary antenna of target according to the comparison result, And generate corresponding switching command.
Optionally, the working status parameter of the same type for comparing each group variable antenna, from each group variable antenna Determine that target antenna includes:
The antenna switching control module is according to prefixed time interval from the diagnostic service module or radio-frequency driven module The middle working status parameter for obtaining each group antenna;
The antenna switching control module compares the working status parameter of each group variable antenna, determines working status parameter most It is good for the target antenna;
The working status parameter of the same type for comparing target antenna and the fixed antenna, and generate comparison result Including:
The antenna switching control module compares the work shape of the same type of the target antenna and the fixed antenna State parameter, and generate comparison result;
Described to be based on comparison result, generating corresponding switching command includes:
The antenna switching control module determines the target primary antenna and the auxiliary antenna of target according to the comparison result, And generate corresponding switching command.
Optionally, the N is adjusted based on the switching command select 1 switch selection circuit described and/or described 2 select 2 Switch selection circuit after, in addition to:
Antenna condition after adjustment is prompted;Antenna condition after the adjustment comprise at least respectively with the main receipts The aerial information that hair path connects with auxiliary receiving path.
Optionally, the antenna switching condition includes:The working status parameter of presently described primary antenna and/or auxiliary antenna is small In corresponding threshold value;Or, deterioration amount of the working status parameter of presently described primary antenna and/or auxiliary antenna in preset time More than corresponding change threshold.
Optionally, the terminal with least three groups antennas includes:When the sum of the antenna in terminal is three groups, The N selects 1 switch selection circuit to include 1, and N=2;The N selects the one with two interfaces of 1 switch selection circuit Side is connected with the variable antenna, and the side with an interface selects two interfaces of 2 switch selection circuit B sides with described 2 In one be connected.
The present invention also provides a kind of multi-antenna terminal, the multi-antenna terminal include processor, memory, communication bus, Communication unit, antenna gating circuit and antenna;
The communication unit includes main transmitting-receiving path, auxiliary receiving path, and antenna includes at least three groups, and the antenna includes one Group fixed antenna, remaining is variable antenna;With the main transmitting-receiving communication of the terminal it is currently primary antenna in the antenna, Antenna supplemented by currently being connected with the auxiliary receiving path of the terminal, remaining is spare antenna, and the antenna passes through day line selection Circuit passband connects with the main transmitting-receiving path or auxiliary receiving path;Wherein, the antenna gating circuit selects 1 including several N Switch selection circuit and one 2 select 2 switch selection circuit, and described 2 select two interfaces of 2 switch selection circuit A sides to distinguish The N can be passed sequentially through and select 1 switch to select by accessing the main transmitting-receiving path and the auxiliary receiving path, each variable antenna An interface in two interfaces of 2 switch selection circuit B sides is selected in circuit, access described 2, and the fixed antenna is directly and institute Another stated in two interfaces of switch selection circuit B sides is connected;;
The communication bus is used to realize the connection communication between processor, memory and communication unit;
The processor is used to perform one or more program stored in memory, to realize that above-mentioned antenna switches The step of method.
The present invention also provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or The multiple programs of person, one or more of programs can be by one or more computing devices, to realize that above-mentioned antenna switches Method.
Beneficial effect
The present invention provides a kind of antenna switching method, multi-antenna terminal and computer-readable recording medium, for existing double The defects of antenna terminal power consumption is big, and communication quality is bad, by setting at least three groups of antennas, including one group of fixation day in terminal Line, remaining is variable antenna;In antenna with it is main transmitting-receiving communication be primary antenna, connected with auxiliary receiving path supplemented by day Line, remaining is spare antenna, and each variable antenna can pass sequentially through the switch selection circuit that N selects 1, and access 2 selects 2 switch to select An interface in two interfaces of circuit B sides, fixed antenna directly with it is another in two interfaces of switch selection circuit B sides It is individual to be connected;When meeting switching condition, working status parameter and the comparison of each antenna are traveled through, is referred to based on comparison result generation switching Order, then several N that antenna is accessed to main transmitting-receiving path and auxiliary transmitting-receiving path by switching command adjustment select 1 switch to select Circuit and/or one 2 select 2 switch selection circuit, it is achieved thereby that reselected in multiple antennas corresponding primary antenna and Auxiliary antenna, is effectively guaranteed communication quality, so as to reduce power consumption, improves 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 that the antenna of dual-antenna terminal in the prior art sets schematic diagram;
Fig. 2 is the hardware architecture diagram for realizing each optional mobile terminal of embodiment one of the present invention.
Fig. 3 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 4 is the antenna switching method basic flow sheet that first embodiment of the invention provides;
Fig. 5 is the terminal composition schematic diagram that first embodiment of the invention provides;
Fig. 6 is the structural representation of antenna gating circuit as shown in Figure 5;
Fig. 7 is antenna gating circuit structural representation when the antenna sum that first embodiment of the invention provides is three groups;
Fig. 8 is the terminal handler composition schematic diagram that first embodiment of the invention provides;
Fig. 9 is the terminal antenna distribution schematic diagram that first embodiment of the invention provides;
Figure 10 is the antenna switching method refined flow chart that second embodiment of the invention provides;
Figure 11 is the structural representation for the multi-antenna 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. 2, 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. 2 Including at least three groups of antennas 112, at least three groups of antennas 112 currently with the main transmitting-receiving communication of mobile terminal 100 For primary antenna, currently connected with the auxiliary receiving path of mobile terminal 100 supplemented by antenna, remaining is spare antenna, processor 110 can control each group of antenna respectively with it is main transmitting-receiving path and auxiliary receiving path break-make situation, when processor 110 control certain When one group of antenna is with main transmitting-receiving communication, radio frequency unit 101 can be received or be sent signal by this group of antenna, it should be understood that It is that at least three groups of antennas 112 can be flexibly arranged on the optional position of mobile terminal 100, such as, work as mobile terminal When including three groups of antennas 112 on 100, this three groups of 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. 2 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. 2:
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. 2 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. 2, 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. 2 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. 3, Fig. 3 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 and communications network system, each embodiment of the inventive method is proposed.
First embodiment
Fig. 4 is the antenna switching method basic flow sheet that the present embodiment provides, and the antenna switching method is applied to have extremely The terminal of few three groups of antennas, antenna include one group of fixed antenna, and remaining is variable antenna;The currently main transmitting-receiving with terminal in antenna Communication for primary antenna, currently connected with the auxiliary receiving path of terminal supplemented by antenna, remaining is spare antenna, antenna Connected by antenna gating circuit with main transmitting-receiving path or auxiliary receiving path;Wherein, antenna gating circuit selects 1 including several N Switch selection circuit and one 2 select 2 switch selection circuit, 2 select two interfaces of 2 switch selection circuit A sides to connect respectively Become owner of transmitting-receiving path and auxiliary receiving path, each variable antenna can pass sequentially through the switch selection circuit that N selects 1, and access 2 selects 2 to open Close an interface in two interfaces of selection circuit B sides, fixed antenna directly with two interfaces of switch selection circuit B sides Another be connected;The antenna switching method includes:
S401, when meeting antenna switching condition, work when BBP poll each group antenna is in running order State parameter;
S402, compare each group variable antenna same type working status parameter, determine mesh from each group variable antenna Antenna is marked, the working status parameter of target antenna is not weaker than the working status parameter of other variable antennas;
The working status parameter of S403, comparison target antenna and fixed antenna same type, and generate comparison result;
S404, corresponding switching command is generated based on comparison result, switching command is included from target antenna and fixed antenna The to be switched target primary antenna and the auxiliary antenna of target of middle determination;
S405, based on switching command adjustment N select 1 switch selection circuit and/or 2 select 2 switch selection circuit, make target Primary antenna and main transmitting-receiving communication, and the auxiliary antenna of target connect with auxiliary receiving path.
Refer to Fig. 5, the antenna switching method in the present embodiment is applied to multi-antenna terminal as shown in Figure 5, including extremely Few three groups of antennas 211,21221m, antenna gating circuit 22, radio circuit 23 and BBP 24, the day Line selection circuit passband 22 include several N select 1 switch selection circuit 222 and one 2 select 2 switch selection circuit 221, this 2 selects 2 Switch selection circuit 221 there are A, B both sides, have two interfaces per side, the master of one, two interfaces of A sides and radio circuit Communication 231 and 232 (TX and PRX in Fig. 5) is received and dispatched, another auxiliary receiving path 233 with radio circuit is (in Fig. 5 DRX) connect, there are switch ways between two interfaces of A sides and two interfaces of B sides, A can be realized by adjusting switch ways Any between the interface of side and the interface of B sides connects.Antenna includes a fixed antenna 211 and remaining variable antenna, Gu Determine antenna 211 directly selects 2 interface of switch selection circuit B sides to be connected with 2, and other variable antennas then select 1 by N Another interface of 2 switch selection circuit B sides is selected in switch selection circuit access 2.In other words, fixed antenna is cut in every secondary antenna During changing, accessed as work antenna, specially primary antenna or auxiliary antenna, can so reduce circuit in terminal The cost of design, save the quantity that N selects 1 switch selection circuit.BBP 24 includes radio-frequency transmissions D/A converting circuit 241 (TX-DAC in Fig. 5), main collection receive analog to digital conversion circuit 242 (PRX-ADC in Fig. 5), diversity reception analog-to-digital conversion electricity Road 243 (DRX-ADC in Fig. 5), and receive analog to digital conversion circuit with the radio-frequency transmissions D/A converting circuit 241, main collection 242nd, the modulation-demodulation circuit 244 (the MODEM PROC in Fig. 5) that diversity reception analog to digital conversion circuit 243 connects respectively, radio frequency The main transmitting-receiving path 231 and 232 of circuit 23 receives modulus with the radio-frequency transmissions D/A converting circuit 241 of BBP, main collection Change-over circuit 242 is corresponding to be connected, and auxiliary receiving path 233 connects with diversity reception analog to digital conversion circuit 243.BBP also wraps Include antenna switching control module 245 and HAL interface modules 246, antenna switching control module 245 by HAL interface modules 245 with Antenna gating circuit 22 is connected, and antenna gating electricity can be controlled by the antenna switching control module 245 of HAL interface modules 246 The break-make of each path switching circuit in road 22, and specific main road antenna is selected from multigroup antenna based on this, or select specific Main road antenna and bypass antenna combination.
Fig. 6 is refer to, Fig. 6 shows in Fig. 5 in antenna gating circuit that each N is selected between 1 switch selection circuit 222 Connection diagram;Each N selects 1 switch selection circuit 222 to be connected according to certain rule classification, and the one-level being connected with antenna Total interface always organize number more than or equal to antenna.By the connection for the switch selection circuit 222 that 1 is selected by multistage N, 1 is selected in N Switch selection circuit 222 and 2 one and only one final interface of the side for selecting 2 switch selection circuit 221 to be connected, i.e., select 2 with 2 Connected that grade of N of switch selection circuit 221 select 1 switch selection circuit 222, one and only one.
Particularly, when the sum of antenna in terminal is three groups, the N selects 1 switch selection circuit to include one, and N= 2;The N selects the side with two interfaces of 1 switch selection circuit to be connected with two variable antennas, has the one of an interface Side selects 2 one of interface of switch selection circuit B sides to be connected with 2, and fixed antenna then directly selects 2 switch to select electricity with 2 Another interface of road B sides is connected.Fig. 7 is refer to, Fig. 7 is shown when it is 3 that antenna, which always organizes number, the arrangement of antenna gating circuit Schematic diagram.
In S401, when meeting antenna switching condition, work when BBP poll each group antenna is in running order Make state parameter.Antenna switching condition refers to the condition that triggering current antenna switches over, and it is specifically included:Own in terminal Two groups of antennas for work are selected in antenna, and primary antenna and auxiliary antenna are determined from this two groups of antennas;Specifically, choosing Two groups of antennas for being used for work are selected out, one of which necessarily fixed antenna, remaining one group is then selected from other variable antennas, As target antenna.Then, based on fixed antenna and target antenna, target primary antenna and the auxiliary antenna of target are redefined.
Specifically, antenna switching condition, in the present embodiment, can include:The work of current primary antenna and/or auxiliary antenna State parameter is less than corresponding threshold value;Or, the working status parameter of current primary antenna and/or auxiliary antenna is in preset time Deterioration amount is more than corresponding change threshold.That is, for antenna switching condition, it is broadly divided into two types, one It is that the occurrence of the working status parameter of antenna is less than corresponding threshold value.Here threshold value, which typically refers to terminal, normally to be entered Row communication, will not cause excessive power consumption, also without the hard defects in real experiences in user's communication process.In other words, threshold value Embody tolerance level of the user to terminal.Typically, user can be too fast to terminal power down, and network connection is not smooth, breaks during call Shi Xu does not feel well, and these can cause bad user experience, is all probably the work of certain antenna under current operating state State parameter is too low to be caused., can also be specific and whether working status parameter can trigger antenna switching condition after being less than threshold value Including being using any group antenna under working condition as reference.Working condition is next to share two groups of antennas, is primary antenna and auxiliary day respectively Line, when carrying out the comparison of threshold value, can only with reference to any one group of antenna in primary antenna and auxiliary antenna, any one group of antenna Working status parameter is considered as less than threshold value meets antenna switching condition, or with reference to two groups of antennas, only two groups of days The working status parameter of line is below threshold value and is just considered as to meet antenna switching condition.It is noted that the work shape of antenna State parameter is various, is typically also different with reference to threshold value used by different working status parameters;Terminal institute The state at place is different, and the demand of working status parameter is also not quite similar, such as, when terminal is in idle state, do not make Demand, now just It is not necessary to pursue too high working status parameter, threshold value now can be with lower slightly, and works as end When use state, for example converse, surf the Net, then keep good communication quality then necessary, door now Limit value can ensure that the communication quality of terminal is constantly in a higher level with slightly higher.Further, since primary antenna and auxiliary antenna Working condition differ, the requirement for working status parameter between the two is not necessarily consistent, such as main day The working status parameter requirement of line should be higher than auxiliary antenna, that is to say, that for the working status parameter of primary antenna and auxiliary antenna It is it can also be provided that different.
Second, it is that the working status parameter of current primary antenna and/auxiliary antenna drastically deteriorates in preset time.Deteriorate also just Be that working status parameter becomes worse, and drastically deteriorate, it is most possible the reason for be probably the gripping of user under working condition Antenna cause and block, this can cause the working status parameter of corresponding antenna to become far short of what is expected in a short time, in this feelings Under condition, even if the working status parameter of primary antenna and auxiliary antenna can also be considered as still above threshold value and meet antenna switching Condition.Accordingly, because the working status parameter type of antenna is different, its corresponding preset time and change threshold can not Together;Terminal state in which is different, and its corresponding preset time and change threshold can also be different;Due to primary antenna and auxiliary antenna Working condition differ, the requirement for working status parameter between the two is also not necessarily consistent, corresponding default Time and change threshold can also be different.
In addition, in the present embodiment, in order to keep the stability of terminal, the frequency of switching antenna is reduced within the bounds of possibility Rate, when judging whether to meet antenna switching condition, can also repeated detection within a certain period of time, according to the result of repeated detection Determine whether the switching of progress antenna;Such as if finding first, the working status parameter of primary antenna is less than threshold value, and in 1s Interior, the working status parameter of primary antenna has been returned to more than threshold value, then repeatedly judges that can avoids switching off primary antenna The embarrassment that switchback once again comes again afterwards.Or can also be by certain guard time being set after the handover, to avoid Antenna is switched again, such as, after the antenna of terminal is passing through once switching, it is arranged in 5s once again to switch, can Effectively to prevent the generation of ping-pong.
Specifically, working status parameter when BBP poll each group antenna is in running order can include:Base In provided with processor antenna switching control module adjustment N select 1 switch selection circuit and/or 2 select 2 switch selection circuit, will Each group antenna successively with main transmitting-receiving communication;Obtained by the diagnostic service module in BBP or radio-frequency driven module Working status parameter when each group antenna is in running order.When carrying out the poll of working status parameter of each antenna, first Under ensureing that detected antenna need are in running order, that is, it is logical as the main transceiver channel of antenna access or auxiliary reception Road.Because auxiliary receiving channel only has the function of reception signal, therefore each antenna typically accesses main transceiver channel in poll, can be with Ensure the proper communication of terminal.After access, it is possible to pass through diagnostic service module (diag) or radio-frequency driven module (RF) working status parameter of the antenna of access is obtained.Working status parameter in the present embodiment, can include up parameter With the major class of downstream parameter two, wherein, up parameter is relevant with the up channel of terminal, its main reference index can include eventually The size of the transmission power at end, or, the up ratio for reaching maximum transmission power within the unit interval.Wherein, transmission power It is bigger, show that the communication quality of upward signal is poorer, because communication quality difference just needs bigger transmission power to ensure to communicate; Likewise, in the unit interval it is up reach maximum transmission power ratio it is bigger, also illustrate that the communication quality of upward signal is poorer. Downstream parameter is then relevant with the down channel of terminal, and it can mainly include signal intensity, signal quality etc. parameter.Specifically , according to the difference of network formats, such as GSM nets, WCDMA/TD-SCDMA nets, and FDD-LTE/TDD-LTE nets, it is specifically joined The signal intensity and signal quality examined are also otherwise varied.
Diagnostic service module or radio-frequency driven module are a parts in BBP, and it can be with real-time collecting The working status parameter of each antenna under working condition, for example the information such as received signal strength, transmission power and generate daily record (log).When carrying out the poll of working status parameter of antenna, using appointing in diagnostic service module or radio-frequency driven module Meaning one obtains the working status parameter of corresponding antenna.According to different network formats, diagnostic service module or penetrate The frequency of frequency drive module collection work state parameter is otherwise varied, for example TD-SCDMA acquisition interval is usually 40ms, and LTE is then 320ms.
In S402, the working status parameter of the same type of each group variable antenna is compared, determines target antenna.Compare each group The working status parameter of the same type of variable antenna, just it is to determine in each group variable antenna, the process of communication quality relation, this The purpose that antenna switches in embodiment is exactly the communication for finding the more preferable antenna of communication quality as work antenna, wherein primary antenna Quality should be best in all antennas.Target antenna is that working status parameter is best in all variable antennas, wherein it is determined that The target antenna gone out is as one of work antenna that will switch, it may be possible to primary antenna, it is also possible to auxiliary antenna.
In S403, the working status parameter of the same type of target antenna and fixed antenna is compared, and generates comparison result. Comparison for the working status parameter of the same type of each group antenna, it is clear that should be ensured that the working condition ginseng in same type It is compared between number, different types of working status parameter is usually what can not be compared;Specifically, when comparing, each group Variable antenna only can be compared with regard to a kind of working status parameter, can also be compared with reference to a variety of working status parameters, A variety of working status parameters can be only with reference to the working status parameter of up channel, or the working condition only with reference to down channel Parameter, or the working status parameter of comprehensive consideration up-downgoing channel, these embodiments are feasible in the present embodiment.
In S404, based on comparison result, corresponding switching command is generated.And switching command has comprised at least to be switched mesh Primary antenna and the auxiliary antenna of target are marked, target primary antenna and the auxiliary antenna of target are determined from both target antenna and fixed antenna Come, wherein, the working status parameter of target primary antenna is not weaker than the working status parameter of the auxiliary antenna of target, represents the main day of target The working status parameter of line should be best in all antennas, it is ensured that lower power consumption, more preferably Consumer's Experience.It is worth One is mentioned that, now, the working status parameter of the auxiliary antenna of target is not necessarily only second to target primary antenna, it is understood that there may be its The working status parameter of his variable antenna is better than the working status parameter of the auxiliary antenna of target.
Specifically, in the present embodiment, the working status parameter of the same type of each group variable antenna is compared, can from each group Become in antenna and determine that target antenna can include:Each group variable antenna is compared by diagnostic service module or radio-frequency driven module The working status parameter of same type, determine that working status parameter is best for target antenna.Present embodiment is to pass through base band Diagnostic service module or radio-frequency driven module in processor, that is, the module of acquisition working status parameter directly carry out work Make the comparison of state parameter, and generate comparison result.Accordingly, in this case, target antenna and fixed antenna are compared The working status parameter of same type, and generate comparison result and can include:Pass through diagnostic service module or radio-frequency driven module The working status parameter of the same type of target antenna and fixed antenna is compared, and generates comparison result.And comparison result is based on, Generating corresponding switching command can include:Antenna switching control module determines target primary antenna and target according to comparison result Auxiliary antenna, and generate corresponding switching command.After diagnostic service module or radio-frequency driven module generation comparison result, just Comparison result can be fed back to antenna switching control module, specific switching command is generated by antenna switching control module; Switching command can feed back to specific circuit by HAL analog hardware layers, i.e. N select 1 switch selection circuit and 2 select 2 switch Selection circuit, adjust the gating relation of antenna gating circuit so that antenna gating circuit can be by corresponding antenna and main transmitting-receiving Path or the connection of auxiliary receiving path, i.e. target primary antenna and main transmitting-receiving communication, the auxiliary antenna of target connect with auxiliary receiving path It is logical.
Specifically, in the present embodiment, the working status parameter of the same type of each group variable antenna is compared, can from each group Become in antenna and determine that target antenna can also include:The work shape that diagnostic service module or radio-frequency driven module will be got in real time State parameter is sent to antenna switching control module;Antenna switching control module compares the working status parameter of each group variable antenna, Determine that working status parameter is best for target antenna.Present embodiment be by diagnostic service module or radio-frequency driven module, The module for namely obtaining the working status parameter of antenna in real time sends out the working status parameter of the corresponding antenna got Antenna switching control module is given, is collected and is compared by antenna switching control module, generates comparison result.For diagnosis For service module or radio-frequency driven module, the flow of comparison has been transferred to antenna switching control module so that diagnostic service mould The operation burden of block or radio-frequency driven module mitigates, and can be absorbed in the acquisition of the working status parameter of antenna.Accordingly, at this In the case of kind, the working status parameter of the same type of target antenna and fixed antenna is compared, and generate comparison result to wrap Include:Antenna switching control module compares the working status parameter of the same type of target antenna and fixed antenna, and generates comparison As a result.And comparison result is based on, generating corresponding switching command can include:Antenna switching control module according to comparison result, Target primary antenna and the auxiliary antenna of target are determined, and generates corresponding switching command.In diagnostic service module or radio-frequency driven mould After block generation comparison result, it is possible to comparison result is fed back into antenna switching control module, by antenna switching control module To generate specific switching command;Switching command can feed back to specific circuit by HAL analog hardware layers, i.e. N selects 1 switch Selection circuit and 2 select 2 switch selection circuit, adjust the gating relation of antenna gating circuit so that antenna gating circuit can be with Corresponding antenna is connected with main transmitting-receiving path or auxiliary receiving path, i.e. target primary antenna and main transmitting-receiving communication, target Auxiliary antenna connects with auxiliary receiving path.
Specifically, in the present embodiment, the working status parameter of the same type of each group variable antenna is compared, can from each group Become in antenna and determine that target antenna can also include:Antenna switching control module is according to prefixed time interval from diagnostic service module Or the working status parameter of each group antenna is obtained in radio-frequency driven module;Antenna switching control module compares each group variable antenna Working status parameter, determine that working status parameter is best for target antenna.Present embodiment is that antenna switching control module is pressed According to the working status parameter of antenna from diagnostic service module or radio-frequency driven module of certain prefixed time interval active, So can be after diagnostic service module or radio-frequency driven module have got the working status parameter of a number of antenna It is disposable to obtain, the power consumption of antenna switching control module work is reduced to a certain extent.Accordingly, in such case Under, the working status parameter of the same type of target antenna and fixed antenna is compared, and generate comparison result to include:Antenna Switching control module compares the working status parameter of the same type of target antenna and fixed antenna, and generates comparison result.And Based on comparison result, generating corresponding switching command can include:Antenna switching control module determines target according to comparison result Primary antenna and the auxiliary antenna of target, and generate corresponding switching command.In diagnostic service module or radio-frequency driven module generation ratio After result, it is possible to comparison result is fed back into antenna switching control module, tool is generated by antenna switching control module The switching command of body;Switching command can feed back to specific circuit by HAL analog hardware layers, i.e. N selects 1 switch selection circuit 2 switch selection circuit is selected with 2, adjusts the gating relation of antenna gating circuit so that antenna gating circuit can be by accordingly Antenna connect with main transmitting-receiving path or auxiliary receiving path, i.e. target primary antenna and main transmitting-receiving communication, the auxiliary antenna of target and Auxiliary receiving path connection.
Based on switching command adjustment N select 1 switch selection circuit and/or 2 select 2 switch selection circuit after, may be used also With including:Antenna condition after adjustment is prompted;Antenna condition after the adjustment comprise at least respectively with the main receipts The aerial information that hair path connects with auxiliary receiving path.Adjustment N select 1 switch selection circuit and/or 2 select 2 switch select electricity After road, that is, the handoff procedure of antenna is completed, now again fed back the result of switching to user, the content of feedback The aerial information after switching, such as antenna number, the working status parameter of antenna etc. should at least be included, it can also be included His relevant information, such as the switching duration, the communication quality of other spare antennas etc. of antenna.Specifically, Fig. 8 is refer to, Fig. 8 A kind of processor structure schematic diagram of terminal is shown, it includes BBP 24 and application processor 30, BBP 24 and application processor 30 asynchronous communication, antenna switching control module 245 and diagnostic service are realized by SMD/QMI interfaces 302 Module/radio-frequency driven module 247 is also transmitted data in a manner of shared drive and carries out asynchronous communication;Antenna switching control module 245 then realize synchronous communication with antenna gating circuit 1106 by analog hardware layer 246 (HAL).BBP 24 is completed After antenna switching, switching result is fed back into application processor 30, passes through state instruction related in application processor 30 Aerial information is presented to user by APK301.
Terminal in the present embodiment is multi-antenna terminal, specifically, Fig. 9 a, b, c are refer to, when antenna in terminal 901 When sum is three groups, three groups of antennas 901 can be separately positioned on top, bottom left and the bottom right of terminal;Or, three groups of days Line 901 is separately positioned on the top, middle part and bottom of terminal;Or, three groups of antennas 901 be separately positioned on terminal top left side, Top right side and bottom.These set-up modes are preferable embodiments, can be while the interference between avoiding antenna, again The hardware space in terminal can be made full use of, when can also meet user as far as possible with different holding mode using terminals Communication quality.When optionally, such as Fig. 9 a antenna set-up mode, fixed antenna selection is the antenna at the top of terminal;As schemed b During antenna set-up mode, fixed antenna selection is the antenna at the top of terminal;When such as scheming c antenna set-up mode, fixed antenna choosing It is selected as the antenna of terminal bottom.
The present embodiment provides a kind of antenna switching method, and big for existing dual-antenna terminal power consumption, communication quality is bad Defect, by setting at least three groups of antennas, including one group of fixed antenna in terminal, remaining is variable antenna;In antenna with master Receive and dispatch communication for primary antenna, connected with auxiliary receiving path supplemented by antenna, remaining is spare antenna, each variable antenna The switch selection circuit that N selects 1 can be passed sequentially through, an interface in two interfaces of 2 switch selection circuit B sides is selected in access 2, Fixed antenna is directly connected with another in two interfaces of switch selection circuit B sides;When meeting switching condition, traversal is each The working status parameter of antenna and comparison, switching command is generated based on comparison result, then adjusted by switching command by antenna Several N for accessing main transmitting-receiving path and auxiliary transmitting-receiving path select 1 switch selection circuit and/or one 2 is selected 2 switch to select electricity Road, it is achieved thereby that reselecting corresponding primary antenna and auxiliary antenna in multiple antennas, communication quality is effectively guaranteed, from And power consumption is reduced, improve Consumer's Experience.
Second embodiment
The antenna switching method refined flow chart that Figure 10 provides for second embodiment of the invention, the antenna switching method application In the terminal with least three groups antennas, antenna includes one group of fixed antenna, and remaining is variable antenna;In antenna currently and terminal Main transmitting-receiving communication for primary antenna, currently connected with the auxiliary receiving path of terminal supplemented by antenna, it is remaining for the free time Antenna, antenna are connected by antenna gating circuit with main transmitting-receiving path or auxiliary receiving path;Wherein, if antenna gating circuit includes Dry N select 1 switch selection circuit and one 2 select 2 switch selection circuit, 2 select two of 2 switch selection circuit A sides to connect Mouth is respectively connected to main transmitting-receiving path and auxiliary receiving path, and each variable antenna can pass sequentially through the switch selection circuit that N selects 1, access 2 Select an interface in two interfaces of 2 switch selection circuit B sides, fixed antenna directly with switch selection circuit B sides two Another in individual interface is connected;The antenna switching method includes:
S101, by BBP monitor current operating state under, the working status parameter of primary antenna and auxiliary antenna;
Whether the working status parameter that S102, judgement monitor meets antenna switching condition;If so, S103 is then gone to, if It is no, then go to S101;
S103, BBP control the N select 1 switch selection circuit and/or 2 select 2 switch selection circuit, make each day Line is sequentially ingressed into the main transmitting-receiving path of terminal;
S104, BBP obtain working status parameter when each antenna accesses main transmitting-receiving path;
S105, BBP compare the working status parameter of the same type of each group variable antenna, determine target antenna;
S106, BBP compare the working status parameter of the same type of target antenna and fixed antenna, and generate Comparison result;
S107, BBP are based on comparison result, generate switching command;Switching command, which includes switching command, to be included from mesh The to be switched target primary antenna and the auxiliary antenna of target determined in mark antenna and fixed antenna;
S108, BBP according to switching command, by analog hardware layer adjust the N select 1 switch selection circuit and/ Or 2 select 2 switch selection circuit, by target primary antenna and main transmitting-receiving communication, the auxiliary antenna of target connects with main receiving path;
S109, the antenna condition after adjustment prompted;Antenna condition after adjustment comprise at least respectively with the master The aerial information that transmitting-receiving path connects with auxiliary receiving path, that is, the information of new primary antenna and the relevant information of auxiliary antenna.
The present embodiment provides a kind of antenna switching method, and by setting at least three groups of antennas in terminal, including one group is consolidated Determine antenna, remaining is variable antenna;In antenna with it is main transmitting-receiving communication be primary antenna, connected with auxiliary receiving path supplemented by Antenna, remaining is spare antenna, and each variable antenna can pass sequentially through the switch selection circuit that N selects 1, and access 2 selects 2 switch to select Select an interface in two interfaces of circuit B sides, fixed antenna directly with it is another in two interfaces of switch selection circuit B sides One is connected;When meeting switching condition, working status parameter and the comparison of each antenna are traveled through, is generated and switched based on comparison result Instruction, then several N that antenna is accessed to main transmitting-receiving path and auxiliary transmitting-receiving path by switching command adjustment select 1 switch to select Select circuit and/or one 2 is selected 2 switch selection circuit, it is achieved thereby that reselecting corresponding primary antenna in multiple antennas With auxiliary antenna, communication quality is effectively guaranteed, so as to reduce power consumption, improves Consumer's Experience.
3rd embodiment
Figure 11 is the composition schematic diagram for the multi-antenna terminal that third embodiment of the invention provides, including processor 1101, deposits Reservoir 1102, communication bus 1103, communication unit 1104, antenna gating circuit 1106 and antenna 1105;
Communication unit 1104 includes main transmitting-receiving path, auxiliary receiving path (not shown in path figure), and antenna 1105 is included extremely Few three groups, antenna includes one group of fixed antenna, and remaining is variable antenna;In antenna currently with the main transmitting-receiving communication of terminal For primary antenna, currently connected with the auxiliary receiving path of terminal supplemented by antenna, remaining is spare antenna, and antenna passes through day line selection Circuit passband 1106 connects with main transmitting-receiving path or auxiliary receiving path;Wherein, antenna gating circuit 1106 selects 1 including several N Switch selection circuit and one 2 select 2 switch selection circuit, and 2 select two interfaces of 2 switch selection circuit A sides to be respectively connected to Main transmitting-receiving path and auxiliary receiving path, each variable antenna can pass sequentially through the switch selection circuit that N selects 1, and 2 switch is selected in access 2 An interface in two interfaces of selection circuit B sides, fixed antenna directly with two interfaces of switch selection circuit B sides Another is connected;
Communication bus 1103 is used to realize that the connection between processor 1101 and memory 1102 and communication unit 1104 is led to Letter;
Memory 1102 is used to store one or more programs, and processor 1101 is used to perform what is stored in memory 1102 One or more program, the step of to realize as above antenna switching method exemplified by each embodiment, repeat no more here.
Fourth embodiment
Present invention also offers a kind of computer-readable recording medium, one is stored with the computer-readable recording medium Or multiple programs, one or more program can be by one or more computing devices, to realize such as last embodiment The step of exemplified antenna switching method, repeat no more here.
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 applied to the terminal with least three groups antennas, the antenna includes one Group fixed antenna, remaining is variable antenna;With the main transmitting-receiving communication of the terminal it is currently primary antenna in the antenna, Antenna supplemented by currently being connected with the auxiliary receiving path of the terminal, remaining is spare antenna, and the antenna passes through day line selection Circuit passband connects with the main transmitting-receiving path or auxiliary receiving path;Wherein, the antenna gating circuit selects 1 including several N Switch selection circuit and one 2 select 2 switch selection circuit, and described 2 select two interfaces of 2 switch selection circuit A sides to distinguish The N can be passed sequentially through and select 1 switch to select by accessing the main transmitting-receiving path and the auxiliary receiving path, each variable antenna An interface in two interfaces of 2 switch selection circuit B sides is selected in circuit, access described 2, and the fixed antenna is directly and institute Another stated in two interfaces of switch selection circuit B sides is connected;The antenna switching method includes:
When meeting antenna switching condition, working status parameter when BBP poll each group antenna is in running order;
The working status parameter of the same type of each group variable antenna is compared, target antenna, institute are determined from each group variable antenna The working status parameter for stating target antenna is not weaker than the working status parameter of other variable antennas;
The working status parameter of the same type of the target antenna and the fixed antenna is compared, and generates comparison result;
Corresponding switching command is generated based on the comparison result, the switching command is included from the target antenna and described solid Determine the to be switched target primary antenna and the auxiliary antenna of target determined in antenna;
Based on the switching command adjust the N select 1 switch selection circuit and/or described 2 select 2 switch selection circuit, make The target primary antenna and the main transmitting-receiving communication, and the auxiliary antenna of the target connect with the auxiliary receiving path.
2. antenna switching method as claimed in claim 1, it is characterised in that the BBP poll each group antenna is in Working status parameter during working condition includes:
Antenna switching control module in BBP adjusts the N and selects 1 switch selection circuit and/or described 2 select 2 to open Close selection circuit, by each group antenna successively with the main transmitting-receiving communication;
It is in running order that each group antenna is obtained by the diagnostic service module in the BBP or radio-frequency driven module When working status parameter.
3. antenna switching method as claimed in claim 2, it is characterised in that the same type for comparing each group variable antenna Working status parameter, from each group variable antenna determine target antenna include:
The working condition that the same type of each group variable antenna is compared by the diagnostic service module or radio-frequency driven module is joined Number, determines that working status parameter is best for the target antenna;
The working status parameter of the same type for comparing target antenna and the fixed antenna, and generate comparison result bag Include:
The mutually similar of the target antenna and the fixed antenna is compared by the diagnostic service module or radio-frequency driven module The working status parameter of type, and generate comparison result;
It is described to be included based on the corresponding switching command of comparison result generation:
The antenna switching control module determines the target primary antenna and the auxiliary antenna of target, and life according to the comparison result Into corresponding switching command.
4. antenna switching method as claimed in claim 2, it is characterised in that the same type for comparing each group variable antenna Working status parameter, from each group variable antenna determine target antenna include:
The working status parameter got is sent to the day by the diagnostic service module or radio-frequency driven module in real time Line switching control module;
The antenna switching control module compares the working status parameter of each group variable antenna, determines that working status parameter is best For the target antenna;
The working status parameter of the same type for comparing target antenna and the fixed antenna, and generate comparison result bag Include:
The antenna switching control module compares the working condition ginseng of the same type of the target antenna and the fixed antenna Number, and generate comparison result;
Described to be based on comparison result, generating corresponding switching command includes:
The antenna switching control module determines the target primary antenna and the auxiliary antenna of target, and life according to the comparison result Into corresponding switching command.
5. antenna switching method as claimed in claim 2, it is characterised in that the same type for comparing each group variable antenna Working status parameter, from each group variable antenna determine target antenna include:
The antenna switching control module obtains according to prefixed time interval from the diagnostic service module or radio-frequency driven module Take the working status parameter of each group antenna;
The antenna switching control module compares the working status parameter of each group variable antenna, determines that working status parameter is best For the target antenna;
The working status parameter of the same type for comparing target antenna and the fixed antenna, and generate comparison result bag Include:
The antenna switching control module compares the working condition ginseng of the same type of the target antenna and the fixed antenna Number, and generate comparison result;
Described to be based on comparison result, generating corresponding switching command includes:
The antenna switching control module determines the target primary antenna and the auxiliary antenna of target, and life according to the comparison result Into corresponding switching command.
6. the antenna switching method as described in claim any one of 1-5, it is characterised in that be based on the switching command described Adjust the N select 1 switch selection circuit and/or described 2 select 2 switch selection circuit after, in addition to:
Antenna condition after adjustment is prompted;Antenna condition after the adjustment comprises at least logical with the main transmitting-receiving respectively The aerial information that road connects with auxiliary receiving path.
7. the antenna switching method as described in claim any one of 1-5, it is characterised in that the antenna switching condition includes: The working status parameter of presently described primary antenna and/or auxiliary antenna is less than corresponding threshold value;Or, presently described primary antenna and/ Or deterioration amount of the working status parameter of auxiliary antenna in preset time is more than corresponding change threshold.
8. the antenna switching method as described in claim any one of 1-5, it is characterised in that described that there is at least three groups of antennas Terminal includes:When the sum of the antenna in terminal is three groups, the N selects 1 switch selection circuit to include 1, and N=2; The N selects the side with two interfaces of 1 switch selection circuit to be connected with the variable antenna, has the one of an interface One in two interfaces of 2 switch selection circuit B sides is selected to be connected with described 2 in side.
9. a kind of multi-antenna terminal, it is characterised in that the multi-antenna terminal includes processor, memory, communication bus, communication Unit, antenna gating circuit and antenna;
The communication unit includes main transmitting-receiving path, auxiliary receiving path, and antenna includes at least three groups, and the antenna is consolidated including one group Determine antenna, remaining is variable antenna;With the main transmitting-receiving communication of the terminal it is currently primary antenna in the antenna, currently Antenna supplemented by being connected with the auxiliary receiving path of the terminal, remaining is spare antenna, and the antenna gates electricity by antenna Road connects with the main transmitting-receiving path or auxiliary receiving path;Wherein, the antenna gating circuit includes the switch that several N select 1 Selection circuit and one 2 select 2 switch selection circuit, and described 2 select two interfaces of 2 switch selection circuit A sides to be respectively connected to The main transmitting-receiving path and the auxiliary receiving path, each variable antenna can pass sequentially through the N and select 1 switch to select electricity Road, access described 2 select 2 switch selection circuit B sides two interfaces in an interface, the fixed antenna directly with it is described Another in two interfaces of switch selection circuit B sides is connected;
The communication bus is used to realize the connection communication between processor, memory and communication unit;
The processor is used to perform one or more program stored in memory, to realize as appointed in claim 1-8 The step of antenna switching method described in one.
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 Any one antenna switching method.
CN201710766313.1A 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable recording medium Pending CN107645313A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710766313.1A CN107645313A (en) 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710766313.1A CN107645313A (en) 2017-08-30 2017-08-30 Antenna switching method, multi-antenna terminal and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107645313A true CN107645313A (en) 2018-01-30

Family

ID=61111289

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN107645313A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110190877A (en) * 2019-05-21 2019-08-30 瑞斯康达科技发展股份有限公司 It is a kind of to switch the method and apparatus for accessing antenna, computer readable storage medium
CN110278015A (en) * 2019-05-16 2019-09-24 华为技术有限公司 A kind of antenna selecting method, device and terminal
CN110518950A (en) * 2018-05-22 2019-11-29 成都鼎桥通信技术有限公司 The control method and terminal of antenna emission mode
CN110572177A (en) * 2018-06-06 2019-12-13 鹤壁天海电子信息系统有限公司 Communication method based on antenna, communication terminal and device with storage function
CN111637914A (en) * 2020-07-06 2020-09-08 山西省煤炭地质物探测绘院 Metering data acquisition and analysis control system based on big data analysis method
CN111965677A (en) * 2020-08-04 2020-11-20 合肥移顺信息技术有限公司 Positioning method, device and equipment
CN113067594A (en) * 2021-03-08 2021-07-02 维沃移动通信有限公司 Switching control method and device of antenna equipment and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072413A (en) * 2007-03-01 2007-11-14 中兴通讯股份有限公司 Mobile terminal with multi-path diversity antenna
US20090061791A1 (en) * 2007-09-04 2009-03-05 Sony Corporation Diversity control method
CN102883006A (en) * 2012-09-26 2013-01-16 中兴通讯股份有限公司 Mobile terminal and communication method thereof
CN104467910A (en) * 2013-09-16 2015-03-25 瑞昱半导体股份有限公司 Wireless communication device and control method thereof
CN104601195A (en) * 2014-12-17 2015-05-06 小米科技有限责任公司 Antenna control method and device
CN105281035A (en) * 2015-05-28 2016-01-27 维沃移动通信有限公司 Mobile terminal antenna switching method and mobile terminal thereof
CN106129641A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 A kind of changing method of antenna structure, mobile terminal and antenna mode
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal
CN106856513A (en) * 2015-12-07 2017-06-16 小米科技有限责任公司 A kind of terminal with communication function

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072413A (en) * 2007-03-01 2007-11-14 中兴通讯股份有限公司 Mobile terminal with multi-path diversity antenna
US20090061791A1 (en) * 2007-09-04 2009-03-05 Sony Corporation Diversity control method
CN102883006A (en) * 2012-09-26 2013-01-16 中兴通讯股份有限公司 Mobile terminal and communication method thereof
CN104467910A (en) * 2013-09-16 2015-03-25 瑞昱半导体股份有限公司 Wireless communication device and control method thereof
CN104601195A (en) * 2014-12-17 2015-05-06 小米科技有限责任公司 Antenna control method and device
CN105281035A (en) * 2015-05-28 2016-01-27 维沃移动通信有限公司 Mobile terminal antenna switching method and mobile terminal thereof
CN106856513A (en) * 2015-12-07 2017-06-16 小米科技有限责任公司 A kind of terminal with communication function
CN106129641A (en) * 2016-06-30 2016-11-16 维沃移动通信有限公司 A kind of changing method of antenna structure, mobile terminal and antenna mode
CN106656248A (en) * 2016-11-28 2017-05-10 维沃移动通信有限公司 Antenna switching device and mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110518950A (en) * 2018-05-22 2019-11-29 成都鼎桥通信技术有限公司 The control method and terminal of antenna emission mode
CN110518950B (en) * 2018-05-22 2023-04-25 成都鼎桥通信技术有限公司 Antenna emission mode control method and terminal
CN110572177A (en) * 2018-06-06 2019-12-13 鹤壁天海电子信息系统有限公司 Communication method based on antenna, communication terminal and device with storage function
CN110572177B (en) * 2018-06-06 2021-09-03 鹤壁天海电子信息系统有限公司 Communication method based on antenna, communication terminal and device with storage function
CN110278015A (en) * 2019-05-16 2019-09-24 华为技术有限公司 A kind of antenna selecting method, device and terminal
CN110190877A (en) * 2019-05-21 2019-08-30 瑞斯康达科技发展股份有限公司 It is a kind of to switch the method and apparatus for accessing antenna, computer readable storage medium
CN110190877B (en) * 2019-05-21 2020-10-23 瑞斯康达科技发展股份有限公司 Method and device for switching access antenna and computer readable storage medium
CN111637914A (en) * 2020-07-06 2020-09-08 山西省煤炭地质物探测绘院 Metering data acquisition and analysis control system based on big data analysis method
CN111965677A (en) * 2020-08-04 2020-11-20 合肥移顺信息技术有限公司 Positioning method, device and equipment
CN113067594A (en) * 2021-03-08 2021-07-02 维沃移动通信有限公司 Switching control method and device of antenna equipment and electronic equipment
CN113067594B (en) * 2021-03-08 2023-02-24 维沃移动通信有限公司 Switching control method and device of antenna equipment and electronic equipment

Similar Documents

Publication Publication Date Title
CN107645313A (en) Antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107682035A (en) Antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107483075A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107425888A (en) Multi-input/output antenna, mobile terminal and antenna switching method
CN107623543A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107769833A (en) A kind of antenna switching method, terminal and computer-readable recording medium
CN107465428A (en) Antenna handover trigger control method, communication terminal and computer-readable recording medium
CN107046696A (en) The method and mobile terminal of a kind of communication network switching
CN107182097A (en) A kind of method for switching network, terminal and computer-readable recording medium
CN107203305A (en) It is switched fast method, mobile terminal and the computer-readable recording medium of application
CN107613489A (en) A kind of wireless charging method, hotspot equipment, terminal and storage medium
CN107453766A (en) Antenna switching control method, multi-antenna terminal and computer-readable recording medium
CN107844333A (en) One kind applies method for cleaning, mobile terminal and computer-readable recording medium
CN107508627A (en) Antenna switch triggering method, multi-antenna terminal and computer-readable recording medium
CN107592133A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107465439A (en) Trigger method, multi-antenna terminal and the computer-readable recording medium of antenna switching
CN107809767A (en) A kind of information transferring method, mobile terminal, base station and computer-readable storage medium
CN107666344A (en) Multiple antennas control method, multi-antenna terminal and computer-readable recording medium
CN107483093A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN108600520A (en) Reception state control method, mobile terminal and computer readable storage medium
CN107390856A (en) A kind of method, mobile terminal and storage medium for reducing mobile terminal power consumption
CN107733509A (en) A kind of antenna switch triggering method, communication terminal and computer-readable storage medium
CN107682038A (en) A kind of antenna switching method, multi-antenna terminal and computer-readable recording medium
CN107172605A (en) A kind of Emmergency call method, mobile terminal and computer-readable recording medium
CN107682057A (en) 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: 20180130

RJ01 Rejection of invention patent application after publication