CN108023611A - antenna switching method, device, storage medium and electronic equipment - Google Patents
antenna switching method, device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108023611A CN108023611A CN201711252503.8A CN201711252503A CN108023611A CN 108023611 A CN108023611 A CN 108023611A CN 201711252503 A CN201711252503 A CN 201711252503A CN 108023611 A CN108023611 A CN 108023611A
- Authority
- CN
- China
- Prior art keywords
- extension
- electronic equipment
- predeterminable area
- functional unit
- opening
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B1/00—Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
- H04B1/38—Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
- H04B1/40—Circuits
- H04B1/401—Circuits for selecting or indicating operating mode
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Telephone Function (AREA)
- Transceivers (AREA)
Abstract
The embodiment of the present application provides a kind of antenna switching method, device, storage medium and electronic equipment, and the antenna switching method includes:When electronic equipment is by the first extension transceiving radio frequency signal, opening is in the presence or absence of functional unit in the first predeterminable area of detection, first extending part is in first predeterminable area;If there are functional unit in first predeterminable area to be in opening, the electronic equipment is switched to by the second extension transceiving radio frequency signal.In the antenna switching method, when being in opening there are functional unit in the first predeterminable area residing for the first extension, electronic equipment is switched to by the second extension transceiving radio frequency signal, so as to avoid interference of the functional unit in opening to electronic equipment signal of communication in first predeterminable area, signal stabilization during electronic equipment communication is improved.
Description
Technical field
This application involves field of communication technology, more particularly to a kind of antenna switching method, device, storage medium and electronics are set
It is standby.
Background technology
As the function of the electronic equipments such as the development of the communication technology, smart mobile phone is more and more, electronic equipment internal
Structure also become increasingly complex.
Limited be subject to electronic equipment internal space, the distance between functional unit of electronic equipment internal is close.So as to,
There is a situation where to interact between the functional unit of electronic equipment internal.For example, some functional units of electronic equipment internal
The RF signal strength of electronic equipment is influenced whether, so as to be impacted to the communication stability of electronic equipment.
The content of the invention
The embodiment of the present application provides a kind of antenna switching method, device, storage medium and electronic equipment, can improve electronics
The communication stability of equipment.
The embodiment of the present application provides a kind of antenna switching method, and applied to electronic equipment, the electronic equipment includes center,
The center includes at least the first extension and the second extension, and first extension and the second extension are used for transceiving radio frequency
Signal, the antenna switching method include:
When electronic equipment is by the first extension transceiving radio frequency signal, detects and whether there is in the first predeterminable area
Functional unit is in opening, and first extending part is in first predeterminable area;
If there are functional unit in first predeterminable area to be in opening, the electronic equipment is switched to logical
Cross the second extension transceiving radio frequency signal.
The embodiment of the present application also provides a kind of antenna-switching device, applied to electronic equipment, during the electronic equipment includes
Frame, the center include at least the first extension and the second extension, and first extension and the second extension are used to receive and dispatch
Radiofrequency signal, the antenna-switching device include:
Detection module, for when electronic equipment is by the first extension transceiving radio frequency signal, detection first to be default
Opening is in the presence or absence of functional unit in region, first extending part is in first predeterminable area;
Handover module, during for being in opening there are functional unit in first predeterminable area, by the electricity
Sub- equipment is switched to by the second extension transceiving radio frequency signal.
The embodiment of the present application also provides a kind of storage medium, computer program is stored with the storage medium, when described
When computer program is run on computers so that the computer performs above-mentioned antenna switching method.
The embodiment of the present application also provides a kind of electronic equipment, including processor and memory, is stored with the memory
Computer program, the processor is by calling the computer program stored in the memory, for performing above-mentioned day
Line switching method.
Antenna switching method provided by the embodiments of the present application, including:When electronic equipment passes through the first extension transceiving radio frequency
During signal, opening is in the presence or absence of functional unit in the first predeterminable area of detection, first extending part is in described
In first predeterminable area;If there are functional unit in first predeterminable area to be in opening, by the electronic equipment
Switch to by the second extension transceiving radio frequency signal.In the antenna switching method, when residing for the first extension
When being in opening there are functional unit in one predeterminable area, electronic equipment is switched to be believed by the second extension transceiving radio frequency
Number, so as to avoid the functional unit in opening in first predeterminable area from doing electronic equipment signal of communication
Disturb, improve signal stabilization during electronic equipment communication.
Brief description of the drawings
In order to illustrate more clearly of the technical solution in the embodiment of the present application, make required in being described below to embodiment
Attached drawing is briefly described.It should be evident that drawings in the following description are only some embodiments of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is the first structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 2 is the first structure diagram of the center in electronic equipment shown in Fig. 1.
Fig. 3 is second of structure diagram of the center in electronic equipment shown in Fig. 1.
Fig. 4 is the third structure diagram of the center in electronic equipment shown in Fig. 1.
Fig. 5 is second of structure diagram of electronic equipment provided by the embodiments of the present application.
Fig. 6 is the first flow diagram of antenna switching method provided by the embodiments of the present application.
Fig. 7 is second of flow diagram of antenna switching method provided by the embodiments of the present application.
Fig. 8 is the third flow diagram of antenna switching method provided by the embodiments of the present application.
Fig. 9 is the first structure diagram of antenna-switching device provided by the embodiments of the present application.
Figure 10 is second of structure diagram of antenna-switching device provided by the embodiments of the present application.
Figure 11 is the third structure diagram of antenna-switching device provided by the embodiments of the present application.
Figure 12 is the third structure diagram of electronic equipment provided by the embodiments of the present application.
Figure 13 is the 4th kind of structure diagram of electronic equipment provided by the embodiments of the present application.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete
Site preparation describes.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, the every other implementation that those skilled in the art are obtained under the premise of not making the creative labor
Example, belongs to the protection domain of the application.
Term " first ", " second ", " the 3rd " in the description and claims of this application and above-mentioned attached drawing etc.
(if present) is for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that this
The object of sample description can exchange in the appropriate case.In addition, term " comprising " and " having " and their any deformation, meaning
Figure is to cover non-exclusive include.For example, contain the process of series of steps, method or contain a series of modules or list
The device of member, electronic equipment, system are not necessarily limited to those steps or module or the unit clearly listed, and can also include not having
The step of clearly listing or module or unit, can also include for these processes, method, apparatus, electronic equipment or system
Intrinsic other steps or module or unit.
With reference to figure 1, Fig. 1 is the structure diagram of electronic equipment 100 provided by the embodiments of the present application.Wherein, electronic equipment
100 include cover board 101, display screen 102, circuit board 103, center 104 and housing 105.
Cover board 101 is installed on display screen 102, to cover display screen 102.Cover board 101 can be transparent glass cover plate.
In some embodiments, cover board 101 can be with glass cover-plates made of material such as sapphires.
Display screen 102 is installed on housing 105, to form the display surface of electronic equipment 100.In certain embodiments, show
Display screen 102 includes display area and non-display area.Wherein, display area is used to show the information such as image, text.Non-display area
Domain does not show information.Non-display area can be used for setting some functional units, such as the function such as camera, fingerprint recognition module
Component.
In certain embodiments, display screen 102 can be displayed in full screen.That is, display screen 102 only includes display area, and
Do not include non-display area.
In certain embodiments, display screen 102 can be liquid crystal display (Liquid Crystal Display, LCD)
Or organic light-emitting diode (OLED) display screen (Organic Light-Emitting Diode, OLED).
Circuit board 103 is installed on inside housing 105.Circuit board 103 can be the mainboard of electronic equipment 100.Circuit board 103
On can be integrated with the functional units such as camera and processor.Meanwhile display screen 102 can be electrically connected to circuit board 103.
In certain embodiments, it is provided with display control circuit on circuit board 103.The display control circuit is to display screen
102 output electric signals, information is shown with control display screen 102.
Center 104 is installed on inside housing 105.Center 104 is as the supporting item inside electronic equipment 100, for for electricity
Functional unit inside sub- equipment 100 provides fixed supporting role.For example, the circuit board 103 can be fixedly mounted on it is described
On center 104.In addition, the first-class functional unit of shooting inside electronic equipment 100 can also be fixedly mounted on the center 104
On.
In certain embodiments, the material of center 104 can be metal or alloy.For example, the material of center 104 can be with
For aluminium alloy.Center 104 can be integrally formed.
Housing 105 is used for the exterior contour for forming electronic equipment 100.The material of housing 105 can be plastics or metal.Shell
Body 105 can be integrally formed.
In certain embodiments, with reference to figure 2, Fig. 2 is the structure diagram of center 104.Wherein, center 104 includes body
41 and first extension 42.The body 41 includes first end 411 and the second end 412.Wherein, first end 411 and
Two ends 412 are oppositely arranged.It should be understood that it is respectively institute to be oppositely arranged as the first end 411 and the second end 412
State the opposite end of center 104.
First extension 42 is located in one end of the body 41.For example, first extension 42 is positioned at described
On the first end 411 of body 41.First extension 42 can be as the antenna radiator of electronic equipment 100, for receiving
Send out radiofrequency signal.
The material of first extension 42 is metal or alloy.For example, the material of first extension 42 is closed for magnesium
Gold.It should be noted that the material of first extension 42 can be identical or different from the material of the body 41.
Can be to be electrically connected or be electrically insulated between second extension 42 and the body 41.
When being electrically insulated between second extension 42 and the body 41, second extension 42 can be for example, by plastic cement
Part is fixed on the body 41.
In certain embodiments, the second extension 43 is further included with reference to figure 3, the center 104.Second extension 43
Can also be as the antenna radiator of electronic equipment 100, for transceiving radio frequency signal.
Wherein, second extension 43 is electrically insulated with first extension 42.Second extension 43 and institute
State the same end that the first extension 42 is respectively positioned on the body 41.For example, second extension 43 and first extension
42 are respectively positioned on the first end 411 of the body 41.In certain embodiments, second extension 43 and the described first extension
Portion 42 can also be located at the second end 412 of the body 41.
In certain embodiments, second extension 43 is oppositely arranged on the body 41 with first extension 42
The both sides of the same end.For example, second extension 43 is oppositely arranged on the first end 411 with first extension 42
Both sides, or be oppositely arranged on the both sides of the second end 412.
The material of second extension 43 can be metal or alloy.For example, the material of second extension 43 is
Magnesium alloy.It should be noted that the material of second extension 43 can it is identical with the material of first extension 42 or
Person is different.
In certain embodiments, with reference to figure 4, the quantity of second extension 43 can be multiple.Multiple described second
Extension 43 is arranged at intervals.Multiple second extensions 43 are electrically insulated from.For example, the center 104 includes one the
One extension 42 and two the second extensions 43.Wherein, first extension 42 and each described second extension
43 can be as the antenna radiator of electronic equipment 100, the transmitting-receiving of complete independently radiofrequency signal.It is it should be noted that described
The quantity of second extension 43 can also be three, the other quantities such as four.
First extension 42 and multiple second extensions 43 are respectively positioned on the same end of the body 41.For example, institute
State the first extension 42 and multiple second extensions 43 are respectively positioned on the first end 411 or the second end of the body 41
412。
In certain embodiments, first extension 42 and multiple second extensions 43 are oppositely arranged on the body
The both sides of 41 the same ends.For example, first extension 42 is arranged on the side of the first end 411 of the body 41, it is described
Multiple second extensions 43 are arranged at the opposite side of the first end 411 of the body 41.
In certain embodiments, with reference to figure 5, Fig. 5 is that another structure of electronic equipment 100 provided by the embodiments of the present application is shown
It is intended to.
Wherein, electronic equipment 100 includes signal source 11,12,13,14,15.Each signal source is used to produce wireless communication
Number.For example, signal source 11 is used to produce Bluetooth signal, signal source 12 be used to producing Wireless Fidelity (Wireless-Fidelity,
Wi-Fi) signal, signal source 13 are used to produce high frequency radio signals, and signal source 14 is used to produce intermediate frequency radiofrequency signal, signal source 15
For producing low frequency radio frequency signal.
Electronic equipment 100 further includes match circuit 21,22,23,24,25.Wherein, match circuit 21 connects with signal source 11
Connect, match circuit 22 is connected with signal source 12, and match circuit 23 is connected with signal source 13, and match circuit 24 connects with signal source 14
Connect, match circuit 25 is connected with signal source 15.Each match circuit can include the electronics member devices such as power amplifier, wave filter
Part.Each match circuit is used to carry out the wireless signal that the signal source connected produces the processing such as power amplification, filtering.
Electronic equipment 100 further includes combiner 31.The combiner 31 is connected with the match circuit 24,25.Wherein, close
Road device 31 is used to carry out carrier aggregation to upstream radio-frequency signal or downlink radio-frequency signal is divided.
Electronic equipment 100 further includes antenna radiator 51,52,53 and antenna radiator 54.Antenna radiator 51,52,
53rd, 54 it is connected respectively with the match circuit 21,22,23, combiner 31.Wherein, antenna radiator 51,52,53 can be to set
Put the antenna radiator inside electronic equipment 100.For example, antenna radiator 51,52,53 can be to be arranged on electronic equipment
Antenna radiator on 100 circuit board.Antenna radiator 54 can be provided in the extension on the center of electronic equipment 100
Portion.For example, antenna radiator 54 can be the magnesium alloy extension on the center of electronic equipment 100.
Each antenna radiator is used for transceiving radio frequency signal.For example, antenna radiator 51 is used for bluetooth, day
Beta radiation body 52 is used for transmitting/receiving wireless Fidelity signal, and antenna radiator 53 is used to receive and dispatch high frequency radio signals, antenna radiator 54
For low frequency radio frequency signal in transmitting-receiving.Wherein, the middle low frequency radio frequency signal is intermediate frequency radiofrequency signal and low frequency radio frequency signal
Carrier aggregation signal.
Electronic equipment 100 further includes switch 61,62,63,64.Wherein, switch 61,62,63,64 respectively with the antenna spoke
Beam 51,52,53,54 connects.Switch 61,62,63,64 can be single-pole single-throw switch (SPST).
Electronic equipment 100 further includes earth point 71,72,73,74.Wherein, earth point 71,72,73,74 is opened with described respectively
Close 61,62,63,64 connections.Earth point 71,72,73,74 is respectively used to realize connecing for the antenna radiator 51,52,53,54
Ground.The switch 61,62,63,64 is respectively used to be switched on or switched off the earth point 71,72,73,74.
The embodiment of the present application provides a kind of antenna switching method, and the antenna switching method can be applied to any of the above-described reality
Apply in the electronic equipment 100 described in example.The electronic equipment 100 can be the equipment such as smart mobile phone, tablet computer.The electronics
Equipment 100 includes center, and the center includes at least the first extension and the second extension, and first extension and second prolongs
Extending portion is used for transceiving radio frequency signal.
As shown in fig. 6, the antenna switching method, may comprise steps of:
Whether S110, when electronic equipment is by the first extension transceiving radio frequency signal, detects and deposited in the first predeterminable area
Opening is in functional unit, first extending part is in first predeterminable area.
Electronic equipment can be by the first extension transceiving radio frequency signal on the center, or by the center
Second extension transceiving radio frequency signal.That is, electronic equipment can pass through first extension or the second extension and base station
Communicate.
When electronic equipment is by the first extension transceiving radio frequency signal, can detect in the first predeterminable area whether
There are functional unit to be in opening.Wherein, first predeterminable area is a region set in advance on electronic equipment,
First extending part is in first predeterminable area.For example, first predeterminable area can be first extension
The region that portion is the center of circle, radius is 2cm (centimetre).
The functional unit can include the function such as camera, light compensating lamp, receiver, proximity sensor, gyroscope
Component.As long as it should be noted that in the functional unit electronic equipment perform preset function electronic component, it is unlimited
In the above-mentioned functional unit included.
Electronic equipment can be detected all functions component in first predeterminable area one by one, with described in judgement
It whether there is the functional unit in opening in first predeterminable area.It should be understood that opening is functional unit
Power in running order.If all functions component in first predeterminable area is not in opening, detection knot
Fruit to be in opening for there is no functional unit in first predeterminable area;If at least one in first predeterminable area
A functional unit is in opening, then testing result to be in opening state for there are functional unit in first predeterminable area
State, then performs step S120.
S120, if there are functional unit in first predeterminable area to be in opening, the electronic equipment is cut
Shift to by the second extension transceiving radio frequency signal.
When being in opening there are functional unit in first predeterminable area on electronic equipment, in opening state
The functional unit of state may impact the first extension transceiving radio frequency signal, so as to cause the communication of electronic equipment
Jitter.Therefore, electronic equipment can be switched to by the second extension transceiving radio frequency signal.After switching, electronic equipment
No longer by the first extension transceiving radio frequency signal, so as to avoid being in opening in first predeterminable area
Interference of the functional unit to electronic equipment signal of communication, the communication stability of electronic equipment can be improved.
In certain embodiments, as shown in fig. 7, step S120, switching to the electronic equipment by the second extension
It is further comprising the steps of before transceiving radio frequency signal:
S130, if there are functional unit in first predeterminable area to be in opening, judgement is in opening
The operating power of the functional unit whether be more than predetermined power;
If the operating power of the functional unit is more than the predetermined power, the electronic equipment is switched to by
Two extension transceiving radio frequency signals.
When electronic equipment detects to be in opening there are functional unit in first predeterminable area, can obtain
The operating power of the functional unit in opening.Then, by the operating power and predetermined power of the functional unit
It is compared, to judge whether the operating power of the functional unit is more than the predetermined power.Wherein, the predetermined power can
To be the magnitude of power pre-set in the electronic device.For example, the predetermined power can be 20mw (milliwatt).
If the operating power of the functional unit in opening is more than the predetermined power, electronic equipment can be with
Switch to by the second extension transceiving radio frequency signal.For example, the operating power of the functional unit is 50mw, then the function
The operating power of component is more than the predetermined power 20mw.Then, electronic equipment is switched to is received and dispatched by second extension
Radiofrequency signal.
In certain embodiments, the corresponding predetermined power of different functional units can be different.For example, camera pair
The predetermined power answered is 20mw, and the corresponding predetermined power of proximity sensor is 5mw, and the corresponding predetermined power of gyroscope is 8mw, etc.
Deng.
Wherein, electronic equipment detects when being in opening there are functional unit in first predeterminable area, can be with
Obtain the type of the functional unit.The type of functional unit is camera, proximity sensor, gyroscope etc..Subsequent basis
Whether the type of the functional unit obtains corresponding predetermined power, and judge the operating power of the functional unit more than described
Predetermined power.
In certain embodiments, when being in opening there are multiple functional units in first predeterminable area, electricity
Sub- equipment can obtain the operating power of each functional unit in opening successively.Then, described in electronic equipment judges
Whether the operating power of the functional unit of operating power maximum is more than predetermined power in multiple functional units.
In certain embodiments, if as shown in figure 8, in step S120, first predeterminable area there are functional unit at
In opening, then the electronic equipment is switched to by the second extension transceiving radio frequency signal, comprised the following steps:
S121, if there are functional unit in first predeterminable area to be in opening, from multiple second extensions
In determine target extension, the functional unit in the second predeterminable area residing for the target extension be in close shape
State;
S122, the electronic equipment is switched to by the target extension transceiving radio frequency signal.
Wherein, the quantity for the second extension that the center of the electronic equipment includes is multiple.Multiple second extensions
Portion is arranged at intervals.Each second extending part is in second predeterminable area.Each second predeterminable area is
Region set in advance on electronic equipment.For example, each second predeterminable area is the second extension is the center of circle, radius is
The region of 2cm.It should be noted that the scope of multiple second predeterminable areas can be different.
When electronic equipment, which detects, is in opening there are functional unit in first predeterminable area, electronic equipment
Target extension is determined from multiple second extensions.Wherein, the second predeterminable area residing for the target extension
In all functions component be in closed mode, namely there is no place in the second predeterminable area residing for the target extension
In the functional unit of opening.
It whether there is specifically, electronic equipment can detect one by one in the second predeterminable area residing for each second extension
Functional unit in opening.When there is no be in opening in the second predeterminable area residing for some second extension
Functional unit when, second extension can be determined as target extension by electronic equipment.
Then, electronic equipment is switched to by the target extension transceiving radio frequency signal.
When it is implemented, the application is not producing conflict from the limitation of the execution sequence of described each step
In the case of, some steps can also use other orders to carry out or be carried out at the same time.
From the foregoing, it will be observed that antenna switching method provided by the embodiments of the present application, including:When electronic equipment passes through the first extension
During transceiving radio frequency signal, opening, first extension are in the presence or absence of functional unit in the first predeterminable area of detection
In first predeterminable area;If there are functional unit in first predeterminable area to be in opening, by described in
Electronic equipment is switched to by the second extension transceiving radio frequency signal.In the antenna switching method, when the first extension
When being in opening there are functional unit in the first residing predeterminable area, electronic equipment is switched to be received by the second extension
Radiofrequency signal is sent out, so as to avoid the functional unit in opening in first predeterminable area from communicating electronic equipment
The interference of signal, improves signal stabilization during electronic equipment communication.
The embodiment of the present application also provides a kind of antenna-switching device, and the antenna-switching device can be applied to electronic equipment
In.The electronic equipment can be the equipment such as smart mobile phone, tablet computer.The electronic equipment includes center, and the center is extremely
Include the first extension and the second extension less, first extension and the second extension are used for transceiving radio frequency signal.
As shown in figure 9, antenna-switching device 200 can include:Detection module 201, handover module 202.
Detection module 201, for when electronic equipment is by the first extension transceiving radio frequency signal, detecting the first preset areas
Opening is in the presence or absence of functional unit in domain, first extending part is in first predeterminable area.
Electronic equipment can be by the first extension transceiving radio frequency signal on center, or passes through second on the center
Extension transceiving radio frequency signal.That is, electronic equipment can be carried out by first extension or the second extension with base station
Communication.
When electronic equipment is by the first extension transceiving radio frequency signal, it is pre- that detection module 201 can detect first
If opening is in the presence or absence of functional unit in region.Wherein, first predeterminable area is to be set in advance on electronic equipment
A fixed region, first extending part is in first predeterminable area.For example, first predeterminable area can be
The region that first extension is the center of circle, radius is 2cm (centimetre).
The functional unit can include the function such as camera, light compensating lamp, receiver, proximity sensor, gyroscope
Component.As long as it should be noted that in the functional unit electronic equipment perform preset function electronic component, it is unlimited
In the above-mentioned functional unit included.
Detection module 201 can be detected all functions component in first predeterminable area one by one, to judge
It whether there is the functional unit in opening in first predeterminable area.It should be understood that opening is function
Component powers in running order.If all functions component in first predeterminable area is not in opening, examine
Result is surveyed to be in opening for there is no functional unit in first predeterminable area;If in first predeterminable area extremely
A few functional unit is in opening, then testing result is opened to be in first predeterminable area there are functional unit
State.
Handover module 202, during for being in opening there are functional unit in first predeterminable area, will described in
Electronic equipment is switched to by the second extension transceiving radio frequency signal.
When being in opening there are functional unit in first predeterminable area on electronic equipment, in opening state
The functional unit of state may impact the first extension transceiving radio frequency signal, so as to cause the communication of electronic equipment
Jitter.Therefore, handover module 202 can switch to electronic equipment by the second extension transceiving radio frequency signal.Cut
After changing, electronic equipment is no longer by the first extension transceiving radio frequency signal, so as to avoid first predeterminable area
Interference of the interior functional unit in opening to electronic equipment signal of communication, the communication that can improve electronic equipment are stablized
Property.
In certain embodiments, as shown in Figure 10, antenna-switching device 200 further includes judgment module 203.
Judgment module 203, during for being in opening there are functional unit in first predeterminable area, judges to locate
Whether it is more than predetermined power in the operating power of the functional unit of opening;
The handover module 202, described in when the operating power of the functional unit is more than the predetermined power, inciting somebody to action
Electronic equipment is switched to by the second extension transceiving radio frequency signal.
When detection module 201 detects to be in opening there are functional unit in first predeterminable area, judge
Module 203 can obtain the operating power of the functional unit in opening.Then, judgment module 203 is by the work(
The operating power of energy component is compared with predetermined power, to judge it is described pre- whether the operating power of the functional unit is more than
If power.Wherein, the predetermined power can be the magnitude of power pre-set in the electronic device.It is for example, described pre-
If power can be 20mw (milliwatt).
If the operating power of the functional unit in opening is more than the predetermined power, handover module 202
Electronic equipment can be switched to by the second extension transceiving radio frequency signal.For example, the operating power of the functional unit is
50mw, then the operating power of the functional unit be more than the predetermined power 20mw.Then, handover module 202 is by electronic equipment
Switch to by the second extension transceiving radio frequency signal.
In certain embodiments, the corresponding predetermined power of different functional units can be different.For example, camera pair
The predetermined power answered is 20mw, and the corresponding predetermined power of proximity sensor is 5mw, and the corresponding predetermined power of gyroscope is 8mw, etc.
Deng.
Wherein, detection module 201 detects when being in opening there are functional unit in first predeterminable area, sentences
Disconnected module 203 can obtain the type of the functional unit.The type of functional unit is camera, proximity sensor, gyro
Instrument etc..Subsequently determine whether that module 203 obtains corresponding predetermined power according to the type of the functional unit, and judge the function group
Whether the operating power of part is more than the predetermined power.
In certain embodiments, when being in opening there are multiple functional units in first predeterminable area, sentence
Disconnected module 203 can obtain the operating power of each functional unit in opening successively.Then, judgment module 203 is sentenced
Whether the operating power of the functional unit of operating power maximum is more than predetermined power in disconnected the multiple functional unit.
In certain embodiments, as shown in figure 11, handover module 202 includes:Determination sub-module 2021, switching submodule
2022。
Determination sub-module 2021, during for being in opening there are functional unit in first predeterminable area, from
Target extension is determined in multiple second extensions, the functional unit in the second predeterminable area residing for the target extension
It is in closed mode;
Switching submodule 2022, is believed for switching to the electronic equipment by the target extension transceiving radio frequency
Number.
Wherein, the quantity for the second extension that the center of the electronic equipment includes is multiple.Multiple second extensions
Portion is arranged at intervals.Each second extending part is in second predeterminable area.Each second predeterminable area is
Region set in advance on electronic equipment.For example, each second predeterminable area is the second extension is the center of circle, radius is
The region of 2cm.It should be noted that the scope of multiple second predeterminable areas can be different.
When detection module 201, which detects, is in opening there are functional unit in first predeterminable area, determine
Submodule 2021 determines target extension from multiple second extensions.Wherein, residing for the target extension
All functions component in two predeterminable areas is in closed mode, namely the second predeterminable area residing for the target extension
In be not present in opening functional unit.
Specifically, determination sub-module 2021 can detect in the second predeterminable area residing for each second extension one by one is
It is no to there is the functional unit in opening.Opened when being not present to be in the second predeterminable area residing for some second extension
When opening the functional unit of state, second extension can be determined as target extension by determination sub-module 2021.
Then, switching submodule 2022 is switched to by the target extension transceiving radio frequency signal.
It when it is implemented, above modules can be realized as independent entity, can also be combined, be made
Realized for same or several entities.
From the foregoing, it will be observed that antenna-switching device 200 provided by the embodiments of the present application, by detection module 201 in electronic equipment
During by the first extension transceiving radio frequency signal, opening is in the presence or absence of functional unit in the first predeterminable area of detection,
First extending part is in first predeterminable area;There are function in first predeterminable area for handover module 202
When component is in opening, the electronic equipment is switched to by the second extension transceiving radio frequency signal.The day
When line switching device is in opening in the first predeterminable area residing for the first extension there are functional unit, electronics is set
It is standby to switch to by the second extension transceiving radio frequency signal, so as to avoid being in opening in first predeterminable area
Interference of the functional unit to electronic equipment signal of communication, improve signal stabilization during electronic equipment communication.
The embodiment of the present application also provides a kind of electronic equipment.The electronic equipment can be smart mobile phone, tablet computer etc.
Equipment.The electronic equipment includes center, and the center includes at least the first extension and the second extension, first extension
Portion and the second extension are used for transceiving radio frequency signal.As shown in figure 12, electronic equipment 300 includes processor 301 and memory
302.Wherein, processor 301 is electrically connected with memory 302.
Processor 301 is the control centre of electronic equipment 300, utilizes various interfaces and the whole electronic equipment of connection
Various pieces, by running or calling the computer program being stored in memory 302, and call and are stored in memory 302
Interior data, perform the various functions and processing data of electronic equipment, so as to carry out integral monitoring to electronic equipment.
In the present embodiment, processor 301 in electronic equipment 300 can according to the steps, by one or one with
On the corresponding instruction of process of computer program be loaded into memory 302, and be stored in storage by processor 301 to run
Computer program in device 302, so as to fulfill various functions:
When electronic equipment is by the first extension transceiving radio frequency signal, detects and whether there is in the first predeterminable area
Functional unit is in opening, and first extending part is in first predeterminable area;
If there are functional unit in first predeterminable area to be in opening, the electronic equipment is switched to logical
Cross the second extension transceiving radio frequency signal.
In certain embodiments, by the electronic equipment switch to by the second extension transceiving radio frequency signal it
Before, processor 301 is additionally operable to perform following steps:
If there are functional unit in first predeterminable area to be in opening, judge described in opening
Whether the operating power of functional unit is more than predetermined power;
If the operating power of the functional unit is more than the predetermined power, the electronic equipment is switched to and passes through institute
State the second extension transceiving radio frequency signal.
In certain embodiments, the quantity of second extension is multiple that each described second extending part is in one
In a second predeterminable area, if there are functional unit in first predeterminable area to be in opening, the electronics is set
For when switching to by the second extension transceiving radio frequency signal, processor 301 is used to perform following steps:
If there are functional unit in first predeterminable area to be in opening, from multiple second extensions
Determine target extension, the functional unit in the second predeterminable area residing for the target extension is in closed mode;
The electronic equipment is switched to by the target extension transceiving radio frequency signal.
In certain embodiments, the electronic equipment includes center, the center include the first end being oppositely arranged and
The second end, first extension and the second extension are respectively positioned on the first end or are respectively positioned on the second end.
In certain embodiments, first extension and the second extension are oppositely arranged on the both sides of the first end
Or it is oppositely arranged on the both sides of the second end.
Memory 302 can be used for storage computer program and data.Include in the computer program that memory 302 stores
The instruction that can be performed within a processor.Computer program can form various functions module.Processor 301 is stored in by calling
The computer program of memory 302, so as to perform various functions application and data processing.
In certain embodiments, as shown in figure 13, electronic equipment 300 further includes:Radio circuit 303, display screen 304, control
Circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309 processed.Wherein, processor 301 is respectively with penetrating
Frequency circuit 303, display screen 304, control circuit 305, input unit 306, voicefrequency circuit 307, sensor 308 and power supply 309
It is electrically connected.
Radio circuit 303 is used for transceiving radio frequency signal, with by wireless communication and the network equipment or other electronic equipments into
Row communication.
Display screen 304 is each available for the information and electronic equipment for showing by information input by user or being supplied to user
Kind graphical user interface, these graphical user interface can be made of image, text, icon, video and its any combination.
Control circuit 305 is electrically connected with display screen 304, and information is shown for control display screen 304.
Input unit 306 can be used for numeral, character information or the user's characteristic information (such as fingerprint) for receiving input, and
Produce the keyboard related with user setting and function control, mouse, operation lever, optics or the input of trace ball signal.Wherein,
Input unit 306 can include fingerprint recognition module.
Voicefrequency circuit 307 can provide the audio interface between user and electronic equipment by loudspeaker, microphone.
Sensor 308 is used to gather external environmental information.Sensor 308 can include ambient light sensor, acceleration
One or more in the sensors such as sensor, gyroscope.
The all parts that power supply 309 is used for electron equipment 300 are powered.In certain embodiments, power supply 309 can pass through
Power-supply management system and processor 301 are logically contiguous, so as to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
Although not shown in Figure 13, electronic equipment 300 can also include camera, bluetooth module etc., and details are not described herein.
From the foregoing, it will be observed that the embodiment of the present application provides a kind of electronic equipment, the electronic equipment performs following steps:Work as electricity
It is in and opens with the presence or absence of functional unit when sub- equipment is by the first extension transceiving radio frequency signal, in the first predeterminable area of detection
State, first extending part is in first predeterminable area;If in first predeterminable area there are functional unit at
In opening, then the electronic equipment is switched to by the second extension transceiving radio frequency signal.The electronic equipment
When being in opening there are functional unit in the first predeterminable area residing for the first extension, switch to by the second extension
Portion's transceiving radio frequency signal, so as to avoid being in the functional unit of opening in first predeterminable area to electronic equipment
The interference of signal of communication, improves signal stabilization during electronic equipment communication.
The embodiment of the present application also provides a kind of storage medium, computer program is stored with the storage medium, when described
When computer program is run on computers, the computer performs the antenna switching method described in any of the above-described embodiment.
It should be noted that one of ordinary skill in the art will appreciate that whole in the various methods of above-described embodiment or
Part steps are relevant hardware can be instructed to complete by computer program, and the computer program can be stored in meter
In calculation machine readable storage medium storing program for executing, the storage medium can include but is not limited to:Read-only storage (ROM, Read Only
Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Antenna switching method, device, storage medium and the electronic equipment provided above the embodiment of the present application carries out
It is discussed in detail, specific case used herein is set forth the principle and embodiment of the application, above example
Illustrate that being only intended to help understands the present processes and its core concept;Meanwhile for those skilled in the art, according to this
The thought of application, there will be changes in specific embodiments and applications, in conclusion this specification content should
It is interpreted as the limitation to the application.
Claims (10)
1. a kind of antenna switching method, applied to electronic equipment, it is characterised in that the electronic equipment includes center, in described
Frame includes at least the first extension and the second extension, and first extension and the second extension are used for transceiving radio frequency signal,
The antenna switching method includes:
When electronic equipment is by the first extension transceiving radio frequency signal, it whether there is function in the first predeterminable area of detection
Component is in opening, and first extending part is in first predeterminable area;
If there are functional unit in first predeterminable area to be in opening, the electronic equipment is switched to and passes through institute
State the second extension transceiving radio frequency signal.
2. antenna switching method according to claim 1, it is characterised in that described switch to the electronic equipment passes through
Before the step of second extension transceiving radio frequency signal, further include:
If there are functional unit in first predeterminable area to be in opening, the function in opening is judged
Whether the operating power of component is more than predetermined power;
If the operating power of the functional unit is more than the predetermined power, the electronic equipment is switched to by described
Two extension transceiving radio frequency signals.
3. antenna switching method according to claim 1, it is characterised in that the quantity of second extension to be multiple,
Each described second extending part is in second predeterminable area, if there are function group in first predeterminable area
Part is in opening, then switches to the electronic equipment by the second extension transceiving radio frequency signal, including:
If there are functional unit in first predeterminable area to be in opening, determined from multiple second extensions
Go out target extension, the functional unit in the second predeterminable area residing for the target extension is in closed mode;
The electronic equipment is switched to by the target extension transceiving radio frequency signal.
4. antenna switching method according to any one of claims 1 to 3, it is characterised in that the center includes opposite set
The first end and the second end put, first extension and the second extension are respectively positioned on the first end or are respectively positioned on
The second end.
5. antenna switching method according to claim 4, it is characterised in that first extension and the second extension phase
To being arranged on the both sides of the first end or being oppositely arranged on the both sides of the second end.
6. a kind of antenna-switching device, applied to electronic equipment, it is characterised in that the electronic equipment includes center, in described
Frame includes at least the first extension and the second extension, and first extension and the second extension are used for transceiving radio frequency signal,
The antenna-switching device includes:
Detection module, for when electronic equipment is by the first extension transceiving radio frequency signal, detecting the first predeterminable area
Interior to be in opening with the presence or absence of functional unit, first extending part is in first predeterminable area;
Handover module, during for being in opening there are functional unit in first predeterminable area, the electronics is set
It is standby to switch to by the second extension transceiving radio frequency signal.
7. antenna-switching device according to claim 6, it is characterised in that further include:
Judgment module, during for being in opening there are functional unit in first predeterminable area, judges in opening
Whether the operating power of the functional unit of state is more than predetermined power;
The handover module, for when the operating power of the functional unit is more than the predetermined power, the electronics to be set
It is standby to switch to by the second extension transceiving radio frequency signal.
8. antenna-switching device according to claim 6, it is characterised in that the quantity of second extension to be multiple,
In second predeterminable area, the handover module includes each described second extending part:
Determination sub-module, during for being in opening there are functional unit in first predeterminable area, from multiple described
Target extension is determined in second extension, the functional unit in the second predeterminable area residing for the target extension is located
In closed mode;
Switching submodule, for switching to the electronic equipment by the target extension transceiving radio frequency signal.
9. a kind of storage medium, it is characterised in that computer program is stored with the storage medium, when the computer program
When running on computers so that the computer perform claim requires 1 to 5 any one of them antenna switching method.
10. a kind of electronic equipment, it is characterised in that the electronic equipment includes processor and memory, is deposited in the memory
Computer program is contained, the processor is by calling the computer program stored in the memory, for right of execution
Profit requires 1 to 5 any one of them antenna switching method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711252503.8A CN108023611B (en) | 2017-12-01 | 2017-12-01 | Antenna switching method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711252503.8A CN108023611B (en) | 2017-12-01 | 2017-12-01 | Antenna switching method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108023611A true CN108023611A (en) | 2018-05-11 |
CN108023611B CN108023611B (en) | 2020-04-10 |
Family
ID=62077892
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711252503.8A Active CN108023611B (en) | 2017-12-01 | 2017-12-01 | Antenna switching method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108023611B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109639368A (en) * | 2018-12-04 | 2019-04-16 | Oppo广东移动通信有限公司 | Electromagnetic interference control method and relevant apparatus |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120086611A1 (en) * | 2010-10-07 | 2012-04-12 | Fujitsu Limited | Communication device and control method |
CN105281014A (en) * | 2014-06-20 | 2016-01-27 | 中兴通讯股份有限公司 | Antenna and terminal |
CN105281819A (en) * | 2015-10-31 | 2016-01-27 | 东莞酷派软件技术有限公司 | Antenna switching method and terminal |
CN105826685A (en) * | 2015-11-06 | 2016-08-03 | 维沃移动通信有限公司 | Antenna system, terminal and control method for radio frequency signals |
US20170346578A1 (en) * | 2016-05-25 | 2017-11-30 | Broadcom Corporation | Inter-radio communications for scheduling or allocating time-varying frequency resources |
-
2017
- 2017-12-01 CN CN201711252503.8A patent/CN108023611B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120086611A1 (en) * | 2010-10-07 | 2012-04-12 | Fujitsu Limited | Communication device and control method |
CN105281014A (en) * | 2014-06-20 | 2016-01-27 | 中兴通讯股份有限公司 | Antenna and terminal |
CN105281819A (en) * | 2015-10-31 | 2016-01-27 | 东莞酷派软件技术有限公司 | Antenna switching method and terminal |
CN105826685A (en) * | 2015-11-06 | 2016-08-03 | 维沃移动通信有限公司 | Antenna system, terminal and control method for radio frequency signals |
US20170346578A1 (en) * | 2016-05-25 | 2017-11-30 | Broadcom Corporation | Inter-radio communications for scheduling or allocating time-varying frequency resources |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109639368A (en) * | 2018-12-04 | 2019-04-16 | Oppo广东移动通信有限公司 | Electromagnetic interference control method and relevant apparatus |
WO2020114009A1 (en) * | 2018-12-04 | 2020-06-11 | Oppo广东移动通信有限公司 | Electromagnetic interference control method and related apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN108023611B (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108494957A (en) | Antenna switching method, device, storage medium and electronic equipment | |
CN107219976A (en) | Application display method and related product | |
CN108021161A (en) | Ambient light intensity detection method, device, storage medium and electronic equipment | |
CN107908313B (en) | Control method of electronic device and electronic device | |
CN108718206B (en) | Antenna assembly, electronic device, antenna control method, and storage medium | |
CN106982097A (en) | Radio frequency interference removing method, device, storage medium and terminal | |
CN108494464B (en) | Antenna control method, antenna assembly, electronic device and storage medium | |
CN108365881B (en) | Antenna control method, antenna control device, storage medium and electronic equipment | |
CN110012169A (en) | Antenna switching method, device, storage medium and electronic equipment | |
CN108039897A (en) | Antenna switching method, device, storage medium and electronic equipment | |
CN107172671A (en) | A kind of channel switching method, device, storage medium and terminal | |
CN110099151A (en) | A kind of method of controlling antenna and mobile terminal | |
CN108900386A (en) | Production method, device and the electronic equipment of warning information | |
CN106850983A (en) | One kind puts out screen control method, device and terminal | |
CN108462522A (en) | Method of controlling antenna, antenna module, electronic equipment and storage medium | |
CN108540152A (en) | Processing method, device, storage medium and the electronic equipment of radio frequency interference | |
CN107979387A (en) | antenna switching method, device, storage medium and electronic equipment | |
CN104363590A (en) | Access point connection method and device | |
CN108494459A (en) | Antenna switching method, device, storage medium and mobile terminal | |
CN108566638A (en) | A kind of method and mobile terminal of more new configuration file | |
CN109192178B (en) | Control method and device of electronic equipment, storage medium and electronic equipment | |
CN108495359B (en) | Antenna control method, antenna control device, storage medium and electronic equipment | |
CN108023611A (en) | antenna switching method, device, storage medium and electronic equipment | |
CN109688611A (en) | A kind of configuration method, device, terminal and the storage medium of frequency range parameter | |
CN109861732A (en) | Antenna condition method of adjustment, device, storage medium and electronic equipment |
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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |