CN109802716A - The switching method and equipment of antenna - Google Patents

The switching method and equipment of antenna Download PDF

Info

Publication number
CN109802716A
CN109802716A CN201910090832.XA CN201910090832A CN109802716A CN 109802716 A CN109802716 A CN 109802716A CN 201910090832 A CN201910090832 A CN 201910090832A CN 109802716 A CN109802716 A CN 109802716A
Authority
CN
China
Prior art keywords
antenna
signal strength
received signal
time interval
mobile terminal
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.)
Granted
Application number
CN201910090832.XA
Other languages
Chinese (zh)
Other versions
CN109802716B (en
Inventor
孙跃华
阮勇
吴春红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Chuanying Information Technology Co Ltd
Original Assignee
Shanghai Chuanying Information 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 Shanghai Chuanying Information Technology Co Ltd filed Critical Shanghai Chuanying Information Technology Co Ltd
Priority to CN201910090832.XA priority Critical patent/CN109802716B/en
Priority to PCT/CN2019/084809 priority patent/WO2020155445A1/en
Publication of CN109802716A publication Critical patent/CN109802716A/en
Application granted granted Critical
Publication of CN109802716B publication Critical patent/CN109802716B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The embodiment of the present invention provides the switching method and equipment of a kind of antenna, this method comprises: detecting the first received signal strength of first antenna and the second received signal strength of the second antenna respectively every prefixed time interval when mobile terminal is in the talking state of first antenna;If second received signal strength is more than first received signal strength, and the difference of second received signal strength and first received signal strength is greater than the first preset threshold, second antenna is then switched to call antenna, and using the call antenna after switching as new first antenna, re-execute it is described every prefixed time interval detect respectively first antenna the first received signal strength and the second antenna the second received signal strength the step of.The embodiment of the present invention can guarantee that the call antenna in communication process is the stronger antenna of receiving and transmitting signal performance, to guarantee higher speech quality.

Description

The switching method and equipment of antenna
Technical field
The present embodiments relate to field of communication technology more particularly to the switching methods and equipment of a kind of antenna.
Background technique
With the development of terminal technology, the mobile terminals such as smart phone have become essential in people's daily life set It is standby.For communication function as the most basic most important function of mobile terminal, communication quality is user's focus of attention.
To improve communication quality, currently, big multi-mobile-terminal is all made of double antenna design scheme, two antennas are usually arranged On the two sides of mobile terminal.
However, it is found by the inventors that due to gripping of user etc., may result in antenna in user's communication process Penalty, reduce communication quality.
Summary of the invention
The present invention provides the switching method and equipment of a kind of antenna, can be in user's communication process, to mobile terminal Call antenna switches over, and improves communication quality.
In a first aspect, the present invention provides a kind of switching method of antenna, comprising:
When mobile terminal is in the talking state of first antenna, first antenna is detected respectively every prefixed time interval Second received signal strength of the first received signal strength and the second antenna;
If second received signal strength is more than first received signal strength, and second received signal strength It is greater than the first preset threshold with the difference of first received signal strength, then second antenna is switched to call antenna, and Using the call antenna after switching as new first antenna, re-executes and described detected respectively first day every prefixed time interval The step of second received signal strength of the first received signal strength of line and the second antenna.
In the first possible implementation of the first aspect, described to be detected respectively first day every prefixed time interval First received signal strength of line and the second received signal strength of the second antenna, comprising:
Detect the first received signal strength and second antenna of the first antenna respectively according to setting time interval The second received signal strength;
If second received signal strength is less than first received signal strength, to the setting time interval It is adjusted, detects the first received signal strength of the first antenna and described respectively according to setting time interval adjusted Second received signal strength of the second antenna, and the setting time interval adjusted is set as between new setting time Every wherein the setting time interval adjusted is continued to execute greater than the setting time interval according to setting time interval The step of detecting the first received signal strength of the first antenna respectively;
If second received signal strength is more than first received signal strength, continue to execute according to setting time The step of the first received signal strength of the first antenna is detected at interval respectively.
In the possible implementation of with reference to first aspect the first, in the second possible implementation, further includes:
If the setting time interval is greater than or equal to preset interval threshold value, by the setting time interval adjusted It is determined as the preset interval threshold value.
In a third possible implementation of the first aspect, further includes:
If first received signal strength and second received signal strength are respectively less than the second preset threshold, export First prompt information, first prompt information is for prompting the signal of customer mobile terminal weak.
In a fourth possible implementation of the first aspect, further includes:
If first received signal strength and second received signal strength are respectively less than the second preset threshold, obtain The location information of the mobile terminal;
It is obtained according to the location information of the mobile terminal and is gone through in the preset range of the mobile terminal present position The maximum target area of signal strength of history statistics;
The second prompt information is exported according to the target area, second prompt information is for prompting user by the shifting Dynamic terminal is moved to the target area.
In the fifth possible implementation of the first aspect, further includes:
Detect whether the mobile terminal is in hands-free state or whether the mobile terminal connect with earphone;
It is described every prefixed time interval detect respectively first antenna the first received signal strength and the second antenna Two received signal strengths, comprising:
If the mobile terminal is not in hands-free state, and the mobile terminal is not connect with earphone, then when default Between detect the first received signal strength of first antenna and the second received signal strength of the second antenna respectively.
In the sixth possible implementation of the first aspect, when the detection of the first antenna and second antenna Between interval less than 1 millisecond.
Second aspect, the present invention provide a kind of switching device of antenna, comprising:
Detection module when for being in the talking state of first antenna in mobile terminal, is distinguished every prefixed time interval Detect the first received signal strength of first antenna and the second received signal strength of the second antenna;
Switching module, if being more than first received signal strength for second received signal strength, and described the The difference of two received signal strengths and first received signal strength is greater than the first preset threshold, then switches second antenna For antenna of conversing, and using the call antenna after switching as new first antenna, re-execute described in every prefixed time interval The step of second received signal strength of the first received signal strength and the second antenna of detection first antenna respectively.
The third aspect, the present invention provide a kind of switching equipment of antenna, comprising: at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of memory storage so that it is described at least one Processor executes the switching method such as the described in any item antennas of first aspect.
Fourth aspect, the present invention provide a kind of computer readable storage medium, deposit in the computer readable storage medium Computer executed instructions are contained, when processor executes the computer executed instructions, are realized as described in any one of first aspect Antenna switching method.
Switching method, that is, equipment of antenna provided in an embodiment of the present invention, this method in mobile terminal by being in first day When the talking state of line, the first received signal strength and second antenna of first antenna are detected respectively every prefixed time interval Second received signal strength, if the second received signal strength is more than the first received signal strength, and the second received signal strength with The difference of first received signal strength is greater than the first preset threshold, then the second antenna is switched to call antenna, to guarantee to converse Call antenna in the process is the stronger antenna of receiving and transmitting signal performance, can guarantee higher speech quality.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of mobile terminal provided in an embodiment of the present invention;
Fig. 2 is the implementation flow chart one of the switching method of antenna provided in an embodiment of the present invention;
Fig. 3 is the implementation flow chart two of the switching method of antenna provided in an embodiment of the present invention;
Fig. 4 is the implementation flow chart three of the switching method of antenna provided in an embodiment of the present invention;
Fig. 5 is the switching device structural schematic diagram of antenna provided in an embodiment of the present invention;
Fig. 6 is the hardware structural diagram of the switching equipment of antenna provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any Deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, system, production Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this A little process, methods, the other step or units of product or equipment inherently.
Mobile terminal involved by the embodiment of the present invention may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (Terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
Fig. 1 is the structural schematic diagram of mobile terminal provided in an embodiment of the present invention, and in the present embodiment, mobile terminal is double days Cable architecture is respectively located at the lower antenna of mobile terminal bottom, and the upper antenna at the top of mobile terminal.Upper antenna and lower day Line may be used to the transmitting and reception of movable signal.It under normal circumstances, can be excellent in order to reduce influence of the electromagnetic radiation to human body Lower antenna is first used to receive as the transmitting of signal.
Mobile terminal in use, since user's palm such as blocks at the factors, will lead to the degradation of lower antenna, need Antenna switching is carried out, to guarantee mobile terminal communication quality with higher.
Fig. 2 is the implementation flow chart one of the switching method of antenna provided in an embodiment of the present invention, and the method for the present embodiment can To include:
Step S201 is detected when mobile terminal is in the talking state of first antenna every prefixed time interval respectively First received signal strength of first antenna and the second received signal strength of the second antenna.
In embodiments of the present invention, talking state refers to that mobile terminal is in the state of closing of the circuit.Mobile terminal exists The initial time of closing of the circuit, lower antenna are first antenna, and as the call antenna for call, upper antenna is the second antenna.
Mobile terminal is in the talking state of first antenna, refers in communication process, carries out letter using first antenna Number transmitting and reception, certainly, mobile terminal can also assist reception as signal using the second antenna, at this point, first day Line is primary antenna, antenna supplemented by the second antenna.
During mobile terminal is in call, need to detect the first of first antenna respectively every prefixed time interval Second received signal strength of received signal strength and the second antenna, to determine the big antenna of signal strength.
Prefixed time interval can be preset and be stored in the nonvolatile storage of mobile terminal, for example, when default Between be spaced and can be set as 10 seconds, every first signal strength of the first antenna of detection in 10 seconds and the second letter of the second antenna Number intensity.
Received signal strength (Received Signal Indicator, RSSI) is used to measure the reception letter of mobile terminal The size of number intensity, the unit of RSSI can be dBm or asu.Wherein dBm indicates power absolute value, and signal strength is generally Negative, absolute value numerical value is smaller, indicates that signal strength is stronger.Asu is the peculiar signal unit of definition, and numerical value is bigger, is indicated Signal strength is stronger.
Step S202, if second received signal strength is more than first received signal strength, and described second connects The difference for receiving signal strength and first received signal strength is greater than the first preset threshold, then is switched to second antenna logical Antenna is talked about, and using the call antenna after switching as new first antenna, re-executed described every prefixed time interval difference Detect first antenna the first received signal strength and the second antenna the second received signal strength the step of.
In embodiments of the present invention, the first preset threshold can preset and be stored in the non-volatile memory of mobile terminal In device, for example, the first preset threshold can be set as -5dbm.
In embodiments of the present invention, the first signal strength of first antenna and the second signal intensity of the second antenna are detected Afterwards, the second received signal strength is judged whether more than the first received signal strength, if the second received signal strength is more than first to connect Signal strength is received, then continues judge whether the difference of the second received signal strength and the first received signal strength is greater than first and presets Threshold value.According to judging result, it is determined whether need to carry out antenna switching.
If the second received signal strength is more than the first received signal strength, and the second received signal strength and first receives letter The difference of number intensity is greater than the first preset threshold, illustrates that the performance of first antenna receiving and transmitting signal is poor, the second antenna receiving and transmitting signal Better performances need the second antenna being switched to call antenna.
If the second received signal strength less than the first received signal strength, illustrate the performance of first antenna receiving and transmitting signal compared with It is good, it does not need to carry out antenna switching.
If the second received signal strength is more than the first received signal strength, but the difference of the second received signal strength is less than or waits In the first preset threshold, although illustrating that the performance of the second antenna receiving and transmitting signal is better than the performance of first antenna receiving and transmitting signal, The two is not much different, and does not need to carry out antenna switching, leads to signal interruption to avoid the switching of frequent antenna.
The embodiment of the present invention is only better than the performance of first antenna receiving and transmitting signal in the performance of the second antenna receiving and transmitting signal, and When the two difference is bigger, antenna switching is just carried out.
Second antenna is switched to call antenna, refers to the transmitting and reception that carry out signal using the second antenna, certainly, Mobile terminal can also assist the reception as signal using first antenna, at this point, the second antenna is primary antenna, first antenna is Auxiliary antenna.
After second antenna is switched to call antenna, using the call antenna after switching as new first antenna, continue to execute Step S101, until mobile terminal call terminates.
When talking state of the embodiment of the present invention by being in first antenna in mobile terminal, every prefixed time interval point Not Jian Ce the first received signal strength of first antenna and the second received signal strength of the second antenna, if second receive signal it is strong Degree is more than the first received signal strength, and the difference of the second received signal strength and the first received signal strength is greater than the first default threshold Value, then be switched to call antenna for the second antenna, to guarantee that the call antenna in communication process is that receiving and transmitting signal performance is stronger Antenna, can guarantee higher speech quality.
As an embodiment of the present invention, Fig. 3 is the switching method implementation process of antenna provided in an embodiment of the present invention Figure two, in the present embodiment, detect first antenna respectively every prefixed time interval in this method step S101 first receive Second received signal strength of signal strength and the second antenna, may include:
Step S301 detects the first received signal strength of the first antenna and described according to setting time interval respectively Second received signal strength of the second antenna.
Step S302 judges the second received signal strength whether more than the first received signal strength, if it is not, thening follow the steps S303, if so, thening follow the steps S301.
Step S303 is adjusted the setting time interval, detects respectively according to setting time interval adjusted Second received signal strength of the first received signal strength of the first antenna and second antenna, and will be after the adjustment Setting time interval be set as new setting time interval, wherein the setting time interval adjusted be greater than the setting Time interval continues to execute step S301.
In embodiments of the present invention, if the second received signal strength is less than the first received signal strength, illustrate first day The performance of line receiving and transmitting signal is better than the performance of the second antenna receiving and transmitting signal, then is adjusted to setting time interval, and according to tune Setting time interval after whole continues to test the first received signal strength of first antenna and the second of the second antenna receives signal Intensity.
If the second received signal strength is less than the first received signal strength, continuation is examined respectively according to setting time interval Survey the first received signal strength of first antenna and the second received signal strength of the second antenna.
For example, the initial time of mobile terminal closing of the circuit, as call antenna, setting time interval is set as first antenna The first received signal strength of first antenna and the second received signal strength of the second antenna are detected after 5 seconds, 5 seconds for the first time, if Second received signal strength is less than the first received signal strength, then the first reception of second of detection first antenna is believed after 10 seconds Second received signal strength of number intensity and the second antenna, if to be still less than the first reception signal strong for the second received signal strength Degree, then detect the first received signal strength of first antenna and the second received signal strength of the second antenna for the third time after 20 seconds, And so on.
In the present embodiment, if repeatedly the second received signal strength of continuous detection is less than the first received signal strength, Illustrate that the performance of first antenna receiving and transmitting signal is more stable, does not need frequently to be detected, then extend the detection of signal strength Time interval.
As an embodiment of the present invention, the switching method of antenna can also include:
If the setting time interval is greater than or equal to preset interval threshold value, by the setting time interval adjusted It is determined as the preset interval threshold value.
In embodiments of the present invention, preset interval threshold value can preset and be stored in the non-volatile memory of mobile terminal In device, for example, preset interval threshold value can be set as 60 seconds.
During detecting first antenna and the second antenna, need to adjust setting time interval according to testing result, if Setting time interval adjusted is more than preset interval threshold value, for example, 60 seconds, then first is detected respectively according to preset interval threshold value First received signal strength of antenna and the second received signal strength of the second antenna.After the embodiment of the present invention can be avoided adjustment Setting time interval it is too long, antenna cannot be switched in time.
As an embodiment of the present invention, the switching method of antenna, further includes:
It is defeated if first received signal strength and second received signal strength are respectively less than the second preset threshold First prompt information out, first prompt information is for prompting the signal of customer mobile terminal weak.
In embodiments of the present invention, in embodiments of the present invention, the second preset threshold can preset and be stored in shifting In the nonvolatile storage of dynamic terminal, for example, the second preset threshold can be set as -30dbm.
When mobile terminal is in the talking state of first antenna, first antenna is detected respectively every prefixed time interval Second received signal strength of the first received signal strength and the second antenna judges that the first received signal strength and second connects respectively Signal strength is received whether less than the second preset threshold, if the first received signal strength and the second received signal strength are respectively less than second The performance of preset threshold, the performance and the second antenna receiving and transmitting signal that illustrate first antenna receiving and transmitting signal is all weaker, then issues first Prompt information prompts the signal of customer mobile terminal weak.
First prompt information can be text information, pictorial information, voice messaging etc., be also possible to two of them or more Combination.
As an embodiment of the present invention, Fig. 4 is the flow chart of the switching method of antenna provided in an embodiment of the present invention Three, in the present embodiment, this method can also include:
Step S401, if first received signal strength and second received signal strength are respectively less than the second default threshold Value, then obtain the location information of the mobile terminal.
In embodiments of the present invention, the second preset threshold can preset and be stored in the non-volatile memory of mobile terminal In device, for example, the second preset threshold can be set as -30dbm.
When mobile terminal is in the talking state of first antenna, first antenna is detected respectively every prefixed time interval Second received signal strength of the first received signal strength and the second antenna judges that the first received signal strength and second connects respectively Signal strength is received whether less than the second preset threshold, if the first received signal strength and the second received signal strength are respectively less than second The performance of preset threshold, the performance and the second antenna receiving and transmitting signal that illustrate first antenna receiving and transmitting signal is all weaker, then obtains movement The location information of terminal present position.
Step S402 obtains the default of the mobile terminal present position according to the location information of the mobile terminal The maximum target area of the signal strength of historical statistics in range.
In embodiments of the present invention, on the basis of position described in mobile terminal, apart from mobile terminal pre-determined distance threshold value Region is preset range, obtains the signal intensity profile that mobile terminal counts in historical act in preset range, determines signal The region of maximum intensity is target area.
Step S403 exports prompt information according to the target area, and the prompt information is for prompting user described Mobile terminal is moved to the target area.
In embodiments of the present invention, the second prompt information can be for text information, pictorial information, voice messaging etc., can also To be the combination of two of them or more.Second prompt information prompt user is moved to target area.
As an embodiment of the present invention, the switching method of antenna can also include:
Detect whether the mobile terminal is in hands-free state or whether the mobile terminal connect with earphone, if the shifting Dynamic terminal is not in hands-free state, and the mobile terminal is not connect with earphone, then executes and detect the respectively every preset time The step of second received signal strength of the first received signal strength of one antenna and the second antenna.
In embodiments of the present invention, when mobile terminal is in hands-free state or connect with earphone, it is not usually required to user Mobile terminal is held, will not occur to hold the problem of causing the performance of antenna receiving and transmitting signal to die down due to user, not need to carry out Antenna switching.
As an embodiment of the present invention, the detection time interval of the first antenna and second antenna is less than 1 Millisecond.If the detection time interval of first antenna and the second antenna is too long, the transmitting-receiving letter of the antenna detected may result in Number performance change, the antenna so as to cause receiving and transmitting signal performance difference is switched to call antenna.
Fig. 5 is the switching device structural schematic diagram of antenna provided in an embodiment of the present invention, in embodiments of the present invention, antenna Switching device 500 may include:
Detection module 501, when for being in the talking state of first antenna in mobile terminal, every prefixed time interval point It Jian Ce not the first received signal strength of first antenna and the second received signal strength of the second antenna;
Switching module 502, if being more than first received signal strength for second received signal strength, and described The difference of second received signal strength and first received signal strength is greater than the first preset threshold, then cuts second antenna It is changed to call antenna, and using the call antenna after switching as new first antenna, re-executed described every between preset time Every respectively detect first antenna the first received signal strength and the second antenna the second received signal strength the step of.
As an embodiment of the present invention, detection module for detecting described first day respectively according to setting time interval Second received signal strength of the first received signal strength of line and second antenna;
If second received signal strength is less than first received signal strength, to the setting time interval It is adjusted, detects the first received signal strength of the first antenna and described respectively according to setting time interval adjusted Second received signal strength of the second antenna, and the setting time interval adjusted is set as between new setting time Every wherein the setting time interval adjusted is continued to execute greater than the setting time interval according to setting time interval The step of detecting the first received signal strength of the first antenna respectively;
If second received signal strength is more than first received signal strength, continue to execute according to setting time The step of the first received signal strength of the first antenna is detected at interval respectively.
As an embodiment of the present invention, if detection module is also used to the setting time interval more than or equal to default The setting time interval adjusted is then determined as the preset interval threshold value by interval threshold.
As an embodiment of the present invention, further includes:
First output module, if being respectively less than for first received signal strength and second received signal strength When two preset thresholds, then the first prompt information is exported, first prompt information is for prompting the signal of customer mobile terminal weak.
As an embodiment of the present invention, further includes:
Second output module, if being respectively less than for first received signal strength and second received signal strength Two preset thresholds then obtain the location information of the mobile terminal;
It is obtained according to the location information of the mobile terminal and is gone through in the preset range of the mobile terminal present position The maximum target area of signal strength of history statistics;
Prompt information is exported according to the target area, the prompt information is for prompting user to move the mobile terminal It moves to the target area.
As an embodiment of the present invention, further includes:
Detection module 501, for detect the mobile terminal whether be in hands-free state or the mobile terminal whether with Earphone connection;If the mobile terminal is not in hands-free state, and the mobile terminal is not connect with earphone, then when default Between detect the first received signal strength of first antenna and the second received signal strength of the second antenna respectively.
The device of the present embodiment can be used for executing embodiment of the method as shown in Figures 2 to 4, realization principle and technology Effect is similar, and details are not described herein again.
Fig. 6 is the hardware structural diagram of the switching equipment of antenna provided in an embodiment of the present invention.As shown in fig. 6, this reality The switching equipment 60 for applying the antenna of example offer includes: at least one processor 601 and memory 602.The switching equipment of the antenna 600 further include communication component 603.Wherein, processor 601, memory 602 and communication component 603 are connected by bus 604.
During specific implementation, at least one processor 601 executes the computer execution that the memory 602 stores and refers to It enables, so that at least one processor 601 executes the switching method of the antenna in any of the above-described embodiment of the method.Communication component 603 For being communicated with terminal device and/or server.
The specific implementation process of processor 601 can be found in above method embodiment, and it is similar that the realization principle and technical effect are similar, Details are not described herein again for the present embodiment.
In above-mentioned embodiment shown in fig. 6, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of invention disclosed method to have executed At, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage.
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
The embodiment of the present invention also provides a kind of computer readable storage medium, stores in the computer readable storage medium There are computer executed instructions, when processor executes the computer executed instructions, realizes in any of the above-described embodiment of the method The switching method of antenna.
Above-mentioned computer readable storage medium, can be by any kind of volatibility or non-volatile memory device or Person's their combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic storage Device, flash memory, disk or CD.It is any available to can be that general or specialized computer can access for readable storage medium storing program for executing Medium.
A kind of illustrative readable storage medium storing program for executing is coupled to processor, to enable a processor to from the readable storage medium storing program for executing Information is read, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing is also possible to the composition portion of processor Point.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC) in.Certainly, processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in equipment In.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of switching method of antenna characterized by comprising
When mobile terminal is in the talking state of first antenna, the first of first antenna is detected respectively every prefixed time interval Second received signal strength of received signal strength and the second antenna;
If second received signal strength is more than first received signal strength, and second received signal strength and institute The difference for stating the first received signal strength is greater than the first preset threshold, then second antenna is switched to call antenna, and will cut Call antenna after changing re-executes as new first antenna and described detects first antenna respectively every prefixed time interval The step of second received signal strength of the first received signal strength and the second antenna.
2. the switching method of antenna as described in claim 1, which is characterized in that described to be detected respectively every prefixed time interval First received signal strength of first antenna and the second received signal strength of the second antenna, comprising:
According to setting time interval detect respectively the first antenna the first received signal strength and second antenna Two received signal strengths;
If second received signal strength is less than first received signal strength, the setting time interval is carried out Adjustment, the first received signal strength and described second of the first antenna is detected according to setting time interval adjusted respectively Second received signal strength of antenna, and the setting time interval adjusted is set as new setting time interval, Described in setting time interval adjusted be greater than the setting time interval, continue to execute and examined respectively according to setting time interval The step of surveying the first received signal strength of the first antenna;
If second received signal strength is more than first received signal strength, continue to execute according to setting time interval The step of detecting the first received signal strength of the first antenna respectively.
3. the switching method of antenna as claimed in claim 2, which is characterized in that further include:
If the setting time interval is greater than or equal to preset interval threshold value, the setting time interval adjusted is determined For the preset interval threshold value.
4. the switching method of antenna as described in claim 1, which is characterized in that further include:
If first received signal strength and second received signal strength are respectively less than the second preset threshold, first is exported Prompt information, first prompt information is for prompting the signal of customer mobile terminal weak.
5. the switching method of antenna as described in claim 1, which is characterized in that further include:
If first received signal strength and second received signal strength are respectively less than the second preset threshold, obtain described in The location information of mobile terminal;
History in the preset range of the mobile terminal present position is obtained according to the location information of the mobile terminal to unite The maximum target area of the signal strength of meter;
The second prompt information is exported according to the target area, second prompt information is for prompting user will be described mobile whole End is moved to the target area.
6. the switching method of antenna as described in claim 1, which is characterized in that further include:
Detect whether the mobile terminal is in hands-free state or whether the mobile terminal connect with earphone;
It is described to detect the first received signal strength of first antenna and second connecing for the second antenna respectively every prefixed time interval Receive signal strength, comprising:
If the mobile terminal is not in hands-free state, and the mobile terminal is not connect with earphone, then every preset time point It Jian Ce not the first received signal strength of first antenna and the second received signal strength of the second antenna.
7. the switching method of antenna as described in claim 1, which is characterized in that the first antenna and second antenna Detection time interval is less than 1 millisecond.
8. a kind of switching device of antenna characterized by comprising
Detection module detects when for being in the talking state of first antenna in mobile terminal every prefixed time interval respectively First received signal strength of first antenna and the second received signal strength of the second antenna;
Switching module, if being more than first received signal strength for second received signal strength, and described second connects The difference for receiving signal strength and first received signal strength is greater than the first preset threshold, then is switched to second antenna logical Antenna is talked about, and using the call antenna after switching as new first antenna, re-executed described every prefixed time interval difference Detect first antenna the first received signal strength and the second antenna the second received signal strength the step of.
9. a kind of switching equipment of antenna characterized by comprising at least one processor and memory;
The memory stores computer executed instructions;
At least one described processor executes the computer executed instructions of the memory storage, so that at least one described processing Device executes the switching method of antenna as described in any one of claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium It executes instruction, when processor executes the computer executed instructions, realizes antenna as described in any one of claim 1 to 7 Switching method.
CN201910090832.XA 2019-01-30 2019-01-30 Antenna switching method and device Active CN109802716B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910090832.XA CN109802716B (en) 2019-01-30 2019-01-30 Antenna switching method and device
PCT/CN2019/084809 WO2020155445A1 (en) 2019-01-30 2019-04-28 Antenna switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910090832.XA CN109802716B (en) 2019-01-30 2019-01-30 Antenna switching method and device

Publications (2)

Publication Number Publication Date
CN109802716A true CN109802716A (en) 2019-05-24
CN109802716B CN109802716B (en) 2023-05-16

Family

ID=66559300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910090832.XA Active CN109802716B (en) 2019-01-30 2019-01-30 Antenna switching method and device

Country Status (2)

Country Link
CN (1) CN109802716B (en)
WO (1) WO2020155445A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278010A (en) * 2019-06-13 2019-09-24 Oppo广东移动通信有限公司 Antenna switching method, antenna-switching device, storage medium and electronic equipment
CN110320538A (en) * 2019-06-25 2019-10-11 深圳市星火车联科技有限公司 A kind of detection carrying apparatus whether the methods, devices and systems of loading
CN112118335A (en) * 2019-06-20 2020-12-22 北京小米移动软件有限公司 Terminal device and using method thereof
CN112202467A (en) * 2020-09-02 2021-01-08 珠海格力电器股份有限公司 Method, device, equipment and medium for controlling main diversity change-over switch
CN112216979A (en) * 2020-09-28 2021-01-12 珠海格力电器股份有限公司 Antenna structure and feed point conversion method
CN112448731A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Wearable device, signal processing method, and computer-readable storage medium
CN113395084A (en) * 2021-06-11 2021-09-14 维沃移动通信有限公司 Antenna switching method and device and electronic equipment
CN114079494A (en) * 2020-08-19 2022-02-22 昆山睿翔讯通通信技术有限公司 Antenna switching method and system and mobile terminal equipment
CN116545491A (en) * 2023-06-27 2023-08-04 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device
CN116827404A (en) * 2023-08-30 2023-09-29 深圳市广和通无线通信软件有限公司 Physical antenna switching method and device based on general algorithm

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112737715B (en) * 2020-12-31 2023-03-24 Oppo广东移动通信有限公司 Antenna deployment method and device, client front-end device and readable storage medium
CN114978369A (en) * 2021-02-25 2022-08-30 浙江宇视科技有限公司 Antenna position adjusting method and device, electronic equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002290296A (en) * 2001-03-27 2002-10-04 Matsushita Electric Ind Co Ltd Wireless phone and diversity reception method
US20150358979A1 (en) * 2014-06-05 2015-12-10 Qualcomm Incorporated Radio Frequency Radiation Exposure Mitigation Using Antenna Switching
CN106452550A (en) * 2016-10-14 2017-02-22 珠海市魅族科技有限公司 Antenna switching method and apparatus
CN108429863A (en) * 2018-05-29 2018-08-21 Oppo(重庆)智能科技有限公司 Switch method, mobile terminal and the computer readable storage medium of antenna
WO2018161502A1 (en) * 2017-03-09 2018-09-13 中兴通讯股份有限公司 Method and device for switching adjustable antennas

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8892057B2 (en) * 2011-08-23 2014-11-18 Rf Micro Devices, Inc. Carrier aggregation radio system
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN107124212A (en) * 2017-04-28 2017-09-01 广东欧珀移动通信有限公司 Mobile terminal and its antenna switching method, antenna-switching device
CN107911126A (en) * 2017-12-12 2018-04-13 北京松果电子有限公司 antenna switching method, device and storage medium
CN109150327B (en) * 2018-08-28 2021-04-02 维沃移动通信有限公司 Antenna detection method, antenna detection device and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002290296A (en) * 2001-03-27 2002-10-04 Matsushita Electric Ind Co Ltd Wireless phone and diversity reception method
US20150358979A1 (en) * 2014-06-05 2015-12-10 Qualcomm Incorporated Radio Frequency Radiation Exposure Mitigation Using Antenna Switching
CN106452550A (en) * 2016-10-14 2017-02-22 珠海市魅族科技有限公司 Antenna switching method and apparatus
WO2018161502A1 (en) * 2017-03-09 2018-09-13 中兴通讯股份有限公司 Method and device for switching adjustable antennas
CN108429863A (en) * 2018-05-29 2018-08-21 Oppo(重庆)智能科技有限公司 Switch method, mobile terminal and the computer readable storage medium of antenna

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110278010A (en) * 2019-06-13 2019-09-24 Oppo广东移动通信有限公司 Antenna switching method, antenna-switching device, storage medium and electronic equipment
CN112118335A (en) * 2019-06-20 2020-12-22 北京小米移动软件有限公司 Terminal device and using method thereof
CN110320538A (en) * 2019-06-25 2019-10-11 深圳市星火车联科技有限公司 A kind of detection carrying apparatus whether the methods, devices and systems of loading
CN110320538B (en) * 2019-06-25 2020-07-03 深圳市星火车联科技有限公司 Method, device and system for detecting whether carrying device carries objects or not
CN112448731A (en) * 2019-08-30 2021-03-05 Oppo广东移动通信有限公司 Wearable device, signal processing method, and computer-readable storage medium
CN112448731B (en) * 2019-08-30 2022-05-13 Oppo广东移动通信有限公司 Wearable device, signal processing method, and computer-readable storage medium
CN114079494A (en) * 2020-08-19 2022-02-22 昆山睿翔讯通通信技术有限公司 Antenna switching method and system and mobile terminal equipment
CN112202467A (en) * 2020-09-02 2021-01-08 珠海格力电器股份有限公司 Method, device, equipment and medium for controlling main diversity change-over switch
CN112202467B (en) * 2020-09-02 2021-09-21 珠海格力电器股份有限公司 Method, device, equipment and medium for controlling main diversity change-over switch
CN112216979A (en) * 2020-09-28 2021-01-12 珠海格力电器股份有限公司 Antenna structure and feed point conversion method
CN113395084A (en) * 2021-06-11 2021-09-14 维沃移动通信有限公司 Antenna switching method and device and electronic equipment
CN116545491A (en) * 2023-06-27 2023-08-04 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device
CN116545491B (en) * 2023-06-27 2023-11-07 荣耀终端有限公司 Antenna switching method, wireless network card and antenna switching device
CN116827404A (en) * 2023-08-30 2023-09-29 深圳市广和通无线通信软件有限公司 Physical antenna switching method and device based on general algorithm
CN116827404B (en) * 2023-08-30 2023-12-05 深圳市广和通无线通信软件有限公司 Physical antenna switching method and device based on general algorithm

Also Published As

Publication number Publication date
CN109802716B (en) 2023-05-16
WO2020155445A1 (en) 2020-08-06

Similar Documents

Publication Publication Date Title
CN109802716A (en) The switching method and equipment of antenna
WO2017071206A1 (en) Antenna switching method and terminal
CN101626106B (en) Switching method of built-in antenna and exposed antenna of FM receiver as well as terminal thereof
WO2017219516A1 (en) Antenna switching method and device, and mobile terminal
CN108810260B (en) Antenna switching control method and related product
EP2217023A1 (en) Mobile station device, wireless communication system, method for controlling mobile station device, and program for controlling mobile station device
US20070004344A1 (en) Wireless device and system for discriminating different operating environments
CN105188101A (en) Network switching device and method
CN104768198A (en) Mobile terminal and intelligent switching method and device for terminal network of mobile terminal
WO2005011299B1 (en) Obtaining service when in a no-coverage area of a communication system
WO2017028671A1 (en) Terminal and antenna switching method therefor
CN109600173B (en) Interference processing method and device, electronic equipment and storage medium
CN104993849A (en) Method for automatically adjusting music compression value according to Bluetooth connection intensity and terminal
CN104967726A (en) Voice instruction processing method, voice instruction processing device and mobile terminal
CN106455027A (en) Network standard adjustment method and mobile terminal
US9819375B2 (en) Wireless mobile device and transmission method
CN106254587A (en) A kind of antenna control system, control method and communication terminal
CN105101264A (en) Method and device for monitoring state of terminal network
CN107534841A (en) A kind of method and apparatus of output notice
WO2015054520A1 (en) Method to improve cell selection procedures in a single sim/multi-sim environment
CN105357362A (en) Mobile terminal control method and device
CN106686672B (en) Network connection method and terminal
CN107431524B (en) Antenna configuration method and terminal
CN102196096A (en) Method for executing given operation by mobile terminal, mobile terminal and communication system
CN106162769B (en) A kind of base station switch method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant