CN107979387A - antenna switching method, device, storage medium and electronic equipment - Google Patents

antenna switching method, device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107979387A
CN107979387A CN201711252507.6A CN201711252507A CN107979387A CN 107979387 A CN107979387 A CN 107979387A CN 201711252507 A CN201711252507 A CN 201711252507A CN 107979387 A CN107979387 A CN 107979387A
Authority
CN
China
Prior art keywords
extension
electronic equipment
signal
radio frequency
signal strength
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711252507.6A
Other languages
Chinese (zh)
Inventor
陈雷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711252507.6A priority Critical patent/CN107979387A/en
Publication of CN107979387A publication Critical patent/CN107979387A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User 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)
  • Mobile Radio Communication Systems (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, the first RF signal strength of electronic equipment is obtained;Whether the radiofrequency signal for judging the electronic equipment according to first RF signal strength is interfered;If the radiofrequency signal of the electronic equipment is interfered, the electronic equipment is switched to by the second extension transceiving radio frequency signal.In the antenna switching method, radiofrequency signal when electronic equipment is by the first extension transceiving radio frequency signal on center is interfered, then electronic equipment is switched to by the second extension transceiving radio frequency signal, the interference being subject to during the first extension transceiving radio frequency signal can be avoided, so that signal stabilization when improving electronic equipment communication.

Description

Antenna switching method, device, storage medium and electronic equipment
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 electronic component of electronic equipment internal is close.From And there is a situation where to interact between the electronic component of electronic equipment internal.For example, some electronics of electronic equipment internal Component influences whether the RF signal strength of electronic equipment.
On the other hand, influenced be subject to external factor, the RF signal strength of electronic equipment can also be affected.For example, When user grips electronic equipment, hand is covered in above the antenna radiator of electronic equipment.So as to which user's hand also can be to electronics The RF signal strength of equipment impacts.
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 signal stabilization 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, the first radiofrequency signal of electronic equipment is obtained Intensity;
Whether the radiofrequency signal for judging the electronic equipment according to first RF signal strength is interfered;
If the radiofrequency signal of the electronic equipment is interfered, the electronic equipment is switched to and is prolonged by described second Extending portion 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:
Acquisition module, for when electronic equipment is by the first extension transceiving radio frequency signal, obtaining electronic equipment The first RF signal strength;
Judgment module, for judged according to first RF signal strength electronic equipment radiofrequency signal whether by To interference;
Handover module, for when the radiofrequency signal of the electronic equipment is interfered, the electronic equipment to be switched to Pass through 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, the first RF signal strength of electronic equipment is obtained;Judge that the electronics is set according to first RF signal strength Whether standby radiofrequency signal is interfered;If the radiofrequency signal of the electronic equipment is interfered, the electronic equipment is cut Shift to by the second extension transceiving radio frequency signal.In the antenna switching method, when electronic equipment passes through first on center Radiofrequency signal during extension transceiving radio frequency signal is interfered, then switches to electronic equipment and penetrated by the transmitting-receiving of the second extension Frequency signal, can avoid the interference being subject to during the first extension transceiving radio frequency signal, so that when improving electronic equipment communication Signal stabilization.
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 electronic equipment provided by the embodiments of the present application.
Figure 12 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 Electronic component inside sub- equipment 100 provides fixed supporting role.For example, the circuit board 103 can be fixedly mounted on institute State 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 Part.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:
S110, when electronic equipment is by the first extension transceiving radio frequency signal, obtains the first radio frequency letter of electronic equipment Number intensity.
Wherein, electronic equipment can be by the first extension transceiving radio frequency signal on the center, or by described The second extension transceiving radio frequency signal on frame.That is, electronic equipment can pass through first extension or the second extension Communicate with base station.When electronic equipment is by the first extension transceiving radio frequency signal, the first of electronic equipment is obtained RF signal strength.First RF signal strength represents the electronic equipment and communication quality quality during base station communication.
Whether S120, the radiofrequency signal for judging the electronic equipment according to first RF signal strength are interfered.
After electronic equipment gets the first RF signal strength, the electronics is judged according to first RF signal strength Whether the radiofrequency signal of equipment is interfered.It should be understood that radiofrequency signal be interfered mean radiofrequency signal it is unstable or Intensity when RF signal strength is than being not affected by interference is weak.It is logical between electronic equipment and base station when radiofrequency signal is interfered Letter becomes unstable, is likely to result in communication data loss.
S130, if the radiofrequency signal of the electronic equipment is interfered, the electronic equipment is switched to by second Extension transceiving radio frequency signal.
Wherein, when the radiofrequency signal for judging electronic equipment is interfered, electronic equipment is made when switching self communication Antenna radiator, switches to by the second extension transceiving radio frequency signal on the center.It should be understood that electronics is set It is standby to switch to by after the second extension transceiving radio frequency signal, when can avoid the first extension transceiving radio frequency signal The interference being subject to, so that signal stabilization when improving electronic equipment communication.
In certain embodiments, as shown in fig. 7, step S120, according to first RF signal strength judging the electricity Whether the radiofrequency signal of sub- equipment is interfered, and comprises the following steps:
S121, judges whether first RF signal strength is less than default RF signal strength;
S122, if first RF signal strength is less than the default RF signal strength, is judged as the electronics The radiofrequency signal of equipment is interfered.
Wherein, default RF signal strength can be prestored in electronic equipment.The default RF signal strength is one A signal strength values.The default RF signal strength represents the line of demarcation whether radiofrequency signal of electronic equipment is interfered. For example, default RF signal strength is -94dBm (decibel milliwatt).After electronic equipment gets the first RF signal strength, by institute The first RF signal strength is stated compared with the default RF signal strength, to judge that first RF signal strength is It is no to be less than the default RF signal strength.
If first RF signal strength is less than the default RF signal strength, it is judged as the electronic equipment Radiofrequency signal is interfered, and electronic equipment performs step S130 at this time;If first RF signal strength is greater than or equal to institute Default RF signal strength is stated, then is judged as that the radiofrequency signal of the electronic equipment is not affected by interference, electronic equipment can be with this time Termination process.
For example, default RF signal strength be -94dBm, the first RF signal strength that electronic equipment is got is - 96dBm, then the first RF signal strength be less than the default RF signal strength, be judged as the radio frequency of the electronic equipment at this time Signal is interfered.
In certain embodiments, if as shown in fig. 7, step S130, the radiofrequency signal of the electronic equipment are interfered, The electronic equipment is switched to by the second extension transceiving radio frequency signal, is comprised the following steps:
S131, passes sequentially through every one second extension transceiving radio frequency signal, and obtains corresponding with every one second extension Second RF signal strength;
S132, determines that target extends according to multiple second RF signal strengths from multiple second extensions Portion;
S133, the electronic equipment is switched to by the target extension transceiving radio frequency signal.
Wherein, the center in electronic equipment includes multiple second extensions, and multiple second extensions are arranged at intervals. That is, multiple second extensions are electrically insulated from.Each second extension can complete independently radiofrequency signal receipts Hair.
When the radiofrequency signal of electronic equipment is interfered, electronic equipment passes sequentially through each second extension transmitting-receiving Radiofrequency signal, and obtain the second radiofrequency signal corresponding with every one second extension.For example, center includes three the second extensions A, B, C, then electronic equipment passes sequentially through second extension A, B, C and carrys out transceiving radio frequency signal, and obtains and the second extension successively A, corresponding second RF signal strength of B, C.For example, electronic equipment get with second extension A, B, C corresponding second RF signal strength is respectively -80dBm, -72dBm, -85dBm.
Then, electronic equipment according to multiple second RF signal strengths got from multiple second extensions In determine target extension.It should be understood that the corresponding radiofrequency signal of the target extension is not affected by interference.
Wherein, determined from multiple second extensions target extension mode have it is a variety of.Such as, it can be determined that It is more than the default RF signal strength with the presence or absence of RF signal strength in multiple second RF signal strengths.If in the presence of Second RF signal strength is more than the default RF signal strength, then will be greater than the default RF signal strength second is penetrated Corresponding second extension of frequency signal strength is determined as target extension.
After electronic equipment determines target extension, you can switch to by the target extension transceiving radio frequency signal.
In certain embodiments, as shown in figure 8, step S132, according to multiple second RF signal strengths from multiple Target extension is determined in second extension, is comprised the following steps:
S1321, target radio frequency signal strength, the target radio frequency are determined from multiple second RF signal strengths Signal strength is that RF signal strength is highest in multiple second RF signal strengths;
S1322, determines that target corresponding with the target radio frequency signal strength is prolonged from multiple second extensions Extending portion.
After electronic equipment gets multiple second RF signal strengths, determined from multiple second RF signal strengths Go out target radio frequency signal strength.Wherein, the target radio frequency signal strength is radio frequency in multiple second RF signal strengths Signal strength is highest.Then, electronic equipment is determined strong with the target radio frequency signal from multiple second extensions Spend corresponding target extension.
For example, corresponding second RF signal strengths of second extension A, B, C are respectively -80dBm, -72dBm, -85dBm. Wherein, the corresponding second RF signal strength -72dBm of the second extension B are radiofrequency signal in multiple second RF signal strengths Intensity is highest.Then the second extension B is determined as target extension by electronic equipment.Then, electronic equipment can switch to logical Cross 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, the first RF signal strength of electronic equipment is obtained;Institute is judged according to first RF signal strength Whether the radiofrequency signal for stating electronic equipment is interfered;If the radiofrequency signal of the electronic equipment is interfered, by the electricity Sub- equipment is switched to by the second extension transceiving radio frequency signal.In the antenna switching method, when electronic equipment passes through center On the first extension transceiving radio frequency signal when radiofrequency signal be interfered, then by electronic equipment switch to by second extension Part transceiving radio frequency signal, can avoid the interference being subject to during the first extension transceiving radio frequency signal, be set so as to improve electronics Signal stabilization during standby 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:Acquisition module 201, judgment module 202, handover module 203。
Acquisition module 201, for when electronic equipment is by the first extension transceiving radio frequency signal, obtaining electronic equipment First RF signal strength.
Wherein, electronic equipment can be by the first extension transceiving radio frequency signal on the center, or by described The second extension transceiving radio frequency signal on frame.That is, electronic equipment can pass through first extension or the second extension Communicate with base station.When electronic equipment is by the first extension transceiving radio frequency signal, acquisition module 201 obtains electronics First RF signal strength of equipment.First RF signal strength represents the electronic equipment and communication during base station communication Quality.
Judgment module 202, for judging that the radiofrequency signal of the electronic equipment is according to first RF signal strength It is no to be interfered.
After acquisition module 201 gets the first RF signal strength, judgment module 202 is strong according to first radiofrequency signal Degree judges whether the radiofrequency signal of the electronic equipment is interfered.It should be understood that radiofrequency signal, which is interfered, means radio frequency Intensity when jitter or RF signal strength are than being not affected by interference is weak.When radiofrequency signal is interfered, electronic equipment Communication between base station becomes unstable, is likely to result in communication data loss.
Handover module 203, for when the radiofrequency signal of the electronic equipment is interfered, the electronic equipment to be switched Extremely pass through the second extension transceiving radio frequency signal.
Wherein, when judgment module 202 judges that the radiofrequency signal of electronic equipment is interfered, handover module 203 switches Used antenna radiator when electronic equipment communicates, switches to and is believed by the second extension transceiving radio frequency on the center Number.It should be understood that after switching to electronic equipment by the second extension transceiving radio frequency signal, described first can be avoided The interference being subject to during extension transceiving radio frequency signal, so that signal stabilization when improving electronic equipment communication.
In certain embodiments, judgment module 202 is used to perform following steps:
Judge whether first RF signal strength is less than default RF signal strength;
If first RF signal strength is less than the default RF signal strength, it is judged as the electronic equipment Radiofrequency signal is interfered.
Wherein, default RF signal strength can be prestored in electronic equipment.The default RF signal strength is one A signal strength values.The default RF signal strength represents the line of demarcation whether radiofrequency signal of electronic equipment is interfered. For example, default RF signal strength is -94dBm (decibel milliwatt).After acquisition module 201 gets the first RF signal strength, Judgment module 202 by first RF signal strength compared with the default RF signal strength, to judge described Whether one RF signal strength is less than the default RF signal strength.
If first RF signal strength is less than the default RF signal strength, judgment module 202 is judged as institute The radiofrequency signal for stating electronic equipment is interfered;If first RF signal strength is greater than or equal to the default radiofrequency signal Intensity, then judgment module 202 be judged as that the radiofrequency signal of the electronic equipment is not affected by interference, at this time can be with termination process.
For example, default RF signal strength be -94dBm, the first RF signal strength that acquisition module 201 is got is - 96dBm, then the first RF signal strength be less than the default RF signal strength, judgment module 202 is judged as the electricity at this time The radiofrequency signal of sub- equipment is interfered.
In certain embodiments, as shown in Figure 10, handover module 203 includes:Acquisition submodule 2031, determination sub-module 2032nd, switching submodule 2033.
Acquisition submodule 2031, for passing sequentially through every one second extension transceiving radio frequency signal, and obtains and every 1 the Corresponding second RF signal strength of two extensions;
Determination sub-module 2032, for according to multiple second RF signal strengths from multiple second extensions Determine target extension;
Switching submodule 2033, is believed for switching to the electronic equipment by the target extension transceiving radio frequency Number.
Wherein, the center in electronic equipment includes multiple second extensions, and multiple second extensions are arranged at intervals. That is, multiple second extensions are electrically insulated from.Each second extension can complete independently radiofrequency signal receipts Hair.
When the radiofrequency signal of electronic equipment is interfered, acquisition submodule 2031 passes sequentially through each second extension Portion's transceiving radio frequency signal, and obtain the second radiofrequency signal corresponding with every one second extension.For example, center includes three second Extension A, B, C, then acquisition submodule 2031 passes sequentially through second extension A, B, C and carrys out transceiving radio frequency signal, and obtains successively The second RF signal strength corresponding with second extension A, B, C.For example, acquisition submodule 2031 get with second extension Corresponding second RF signal strength of portion A, B, C is respectively -80dBm, -72dBm, -85dBm.
It is then determined that submodule 2032 according to multiple second RF signal strengths got from multiple described second Target extension is determined in extension.It should be understood that the corresponding radiofrequency signal of the target extension is not affected by interference.
Wherein, determined from multiple second extensions target extension mode have it is a variety of.For example, determine submodule Block 2032 may determine that in multiple second RF signal strengths is more than the default radio frequency with the presence or absence of RF signal strength Signal strength.If there are the second RF signal strength to be more than the default RF signal strength, the default radio frequency will be greater than Corresponding second extension of the second RF signal strength of signal strength is determined as target extension.
After determining target extension, switching submodule 2033 can switch to by the target extension transceiving radio frequency Signal.
In certain embodiments, determination sub-module 2032 is used to perform following steps:
Target radio frequency signal strength is determined from multiple second RF signal strengths, the target radio frequency signal is strong Spend for RF signal strength in multiple second RF signal strengths it is highest;
Target extension corresponding with the target radio frequency signal strength is determined from multiple second extensions.
After acquisition submodule 2031 gets multiple second RF signal strengths, determination sub-module 2032 is from multiple described Target radio frequency signal strength is determined in two RF signal strengths.Wherein, the target radio frequency signal strength is multiple described the RF signal strength is highest in two RF signal strengths.It is then determined that submodule 2032 is from multiple second extensions Determine target extension corresponding with the target radio frequency signal strength.
For example, corresponding second RF signal strengths of second extension A, B, C are respectively -80dBm, -72dBm, -85dBm. Wherein, the corresponding second RF signal strength -72dBm of the second extension B are radiofrequency signal in multiple second RF signal strengths Intensity is highest.Then the second extension B is determined as target extension by determination sub-module 2032.Then, switching submodule 2033 It can switch 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 acquisition module 201 in electronic equipment During by the first extension transceiving radio frequency signal, the first RF signal strength of electronic equipment is obtained;Judgment module 202 is according to institute State the first RF signal strength and judge whether the radiofrequency signal of the electronic equipment is interfered;Handover module 203 is in the electricity When the radiofrequency signal of sub- equipment is interfered, the electronic equipment is switched to by the second extension transceiving radio frequency signal.Institute Radiofrequency signal of the antenna-switching device when electronic equipment is by the first extension transceiving radio frequency signal on center is stated to be done When disturbing, electronic equipment is switched to by the second extension transceiving radio frequency signal, the first extension transmitting-receiving can be avoided and penetrated The interference being subject to during frequency signal, so that signal stabilization when improving 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 11, 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, the first radiofrequency signal of electronic equipment is obtained Intensity;
Whether the radiofrequency signal for judging the electronic equipment according to first RF signal strength is interfered;
If the radiofrequency signal of the electronic equipment is interfered, the electronic equipment is switched to and is prolonged by described second Extending portion transceiving radio frequency signal.
In certain embodiments, the quantity of second extension is multiple that multiple second extensions are arranged at intervals, When the electronic equipment is switched to by the second extension transceiving radio frequency signal, processor 301 performs following steps:
Each second extension transceiving radio frequency signal is passed sequentially through, and is obtained corresponding with each second extension The second RF signal strength;
According to multiple second RF signal strengths target extension is determined from multiple second extensions;
The electronic equipment is switched to by the target extension transceiving radio frequency signal.
In certain embodiments, determined according to multiple second RF signal strengths from multiple second extensions When going out target extension, processor 301 performs following steps:
Target radio frequency signal strength is determined from multiple second RF signal strengths, the target radio frequency signal is strong Spend for RF signal strength in multiple second RF signal strengths it is highest;
Target extension corresponding with the target radio frequency signal strength is determined from multiple second extensions.
In certain embodiments, according to first RF signal strength judge the electronic equipment radiofrequency signal whether When being interfered, processor 301 performs following steps:
Judge whether first RF signal strength is less than default RF signal strength;
If first RF signal strength is less than the default RF signal strength, it is judged as the electronic equipment Radiofrequency signal is interfered.
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 12, 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 12, 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 When sub- equipment is by the first extension transceiving radio frequency signal, the first RF signal strength of electronic equipment is obtained;According to described One RF signal strength judges whether the radiofrequency signal of the electronic equipment is interfered;If the radiofrequency signal of the electronic equipment It is interfered, then switches to the electronic equipment by the second extension transceiving radio frequency signal.The electronic equipment is passing through When radiofrequency signal during the first extension transceiving radio frequency signal on center is interfered, electronic equipment is switched to by second Extension transceiving radio frequency signal, can avoid the interference being subject to during the first extension transceiving radio frequency signal, so as to improve electricity Signal stabilization during sub- 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 (11)

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, the first radiofrequency signal for obtaining electronic equipment is strong Degree;
Whether the radiofrequency signal for judging the electronic equipment according to first RF signal strength is interfered;
If the radiofrequency signal of the electronic equipment is interfered, the electronic equipment is switched to by second extension Transceiving radio frequency signal.
2. antenna switching method according to claim 1, it is characterised in that the quantity of second extension to be multiple, Multiple second extensions are arranged at intervals, described to switch to the electronic equipment by the second extension transceiving radio frequency The step of signal, includes:
Pass sequentially through each second extension transceiving radio frequency signal, and obtain corresponding with each second extension the Two RF signal strengths;
According to multiple second RF signal strengths target extension is determined from multiple second extensions;
The electronic equipment is switched to by the target extension transceiving radio frequency signal.
3. antenna switching method according to claim 2, it is characterised in that described according to multiple second radiofrequency signals The step of intensity determines target extension from multiple second extensions includes:
Target radio frequency signal strength is determined from multiple second RF signal strengths, the target radio frequency signal strength is RF signal strength is highest in multiple second RF signal strengths;
Target extension corresponding with the target radio frequency signal strength is determined from multiple second extensions.
4. antenna switching method according to any one of claims 1 to 3, it is characterised in that described to be penetrated according to described first Frequency signal strength judges that the step of whether radiofrequency signal of the electronic equipment is interfered includes:
Judge whether first RF signal strength is less than default RF signal strength;
If first RF signal strength is less than the default RF signal strength, it is judged as the radio frequency of the electronic equipment Signal is interfered.
5. 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.
6. antenna switching method according to claim 5, 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.
7. 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:
Acquisition module, for when electronic equipment is by the first extension transceiving radio frequency signal, obtaining the of electronic equipment One RF signal strength;
Whether judgment module, the radiofrequency signal for judging the electronic equipment according to first RF signal strength are done Disturb;
Handover module, for when the radiofrequency signal of the electronic equipment being interfered, the electronic equipment being switched to and is passed through The second extension transceiving radio frequency signal.
8. antenna-switching device according to claim 7, it is characterised in that the quantity of second extension to be multiple, Multiple second extensions are arranged at intervals, and the handover module includes:
Acquisition submodule, for passing sequentially through each second extension transceiving radio frequency signal, and obtains and each described the Corresponding second RF signal strength of two extensions;
Determination sub-module, for determining mesh from multiple second extensions according to multiple second RF signal strengths Mark extension;
Switching submodule, for switching to the electronic equipment by the target extension transceiving radio frequency signal.
9. antenna-switching device according to claim 8, it is characterised in that the determination sub-module is used for:
Target radio frequency signal strength is determined from multiple second RF signal strengths, the target radio frequency signal strength is RF signal strength is highest in multiple second RF signal strengths;
Target extension corresponding with the target radio frequency signal strength is determined from multiple second extensions.
10. a kind of storage medium, it is characterised in that computer program is stored with the storage medium, when the computer journey When sequence is run on computers so that the computer perform claim requires 1 to 6 any one of them antenna switching method.
11. 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 6 any one of them antenna switching method.
CN201711252507.6A 2017-12-01 2017-12-01 antenna switching method, device, storage medium and electronic equipment Pending CN107979387A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711252507.6A CN107979387A (en) 2017-12-01 2017-12-01 antenna switching method, device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711252507.6A CN107979387A (en) 2017-12-01 2017-12-01 antenna switching method, device, storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN107979387A true CN107979387A (en) 2018-05-01

Family

ID=62008848

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711252507.6A Pending CN107979387A (en) 2017-12-01 2017-12-01 antenna switching method, device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107979387A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696308A (en) * 2018-05-16 2018-10-23 Oppo广东移动通信有限公司 Antenna switching control method and related product
CN108810260A (en) * 2018-05-28 2018-11-13 Oppo广东移动通信有限公司 antenna switching control method and related product
CN109274833A (en) * 2018-11-19 2019-01-25 Oppo广东移动通信有限公司 The method of adjustment and Related product of electromagnetic interference

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281014A (en) * 2014-06-20 2016-01-27 中兴通讯股份有限公司 Antenna and terminal
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN106486762A (en) * 2015-08-31 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of antenna assembly and terminal
CN107342464A (en) * 2017-06-30 2017-11-10 努比亚技术有限公司 Mobile terminal, antenna assembly and antenna switching method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281014A (en) * 2014-06-20 2016-01-27 中兴通讯股份有限公司 Antenna and terminal
CN106486762A (en) * 2015-08-31 2017-03-08 宇龙计算机通信科技(深圳)有限公司 A kind of antenna assembly and terminal
CN105281819A (en) * 2015-10-31 2016-01-27 东莞酷派软件技术有限公司 Antenna switching method and terminal
CN107342464A (en) * 2017-06-30 2017-11-10 努比亚技术有限公司 Mobile terminal, antenna assembly and antenna switching method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696308A (en) * 2018-05-16 2018-10-23 Oppo广东移动通信有限公司 Antenna switching control method and related product
CN108810260A (en) * 2018-05-28 2018-11-13 Oppo广东移动通信有限公司 antenna switching control method and related product
CN108810260B (en) * 2018-05-28 2021-01-08 Oppo广东移动通信有限公司 Antenna switching control method and related product
CN109274833A (en) * 2018-11-19 2019-01-25 Oppo广东移动通信有限公司 The method of adjustment and Related product of electromagnetic interference

Similar Documents

Publication Publication Date Title
CN108432043B (en) Antenna and electronic device comprising same
CN108494957A (en) Antenna switching method, device, storage medium and electronic equipment
CN108718206B (en) Antenna assembly, electronic device, antenna control method, and storage medium
CN109103572A (en) Electronic device including antenna
CN107945769A (en) Ambient light intensity detection method, device, storage medium and electronic equipment
CN110515626B (en) Code compiling method of deep learning calculation framework and related product
CN108494464B (en) Antenna control method, antenna assembly, electronic device and storage medium
CN110012169B (en) Antenna switching method and device, storage medium and electronic equipment
CN107979387A (en) antenna switching method, device, storage medium and electronic equipment
CN108462522A (en) Method of controlling antenna, antenna module, electronic equipment and storage medium
CN108039897A (en) Antenna switching method, device, storage medium and electronic equipment
CN108365881B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN108540152A (en) Processing method, device, storage medium and the electronic equipment of radio frequency interference
CN107071147A (en) A kind of parameter regulation means and equipment
CN109495138B (en) Antenna device and electronic apparatus
CN111065126B (en) Hot spot sharing method and device, storage medium and electronic equipment
CN113407423A (en) Signal intensity display method and signal intensity display device
CN108023611A (en) antenna switching method, device, storage medium and electronic equipment
CN110827785B (en) Brightness adjusting method and related product
CN108495359B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN107171674B (en) Radio frequency circuit switch chip, radio frequency circuit, antenna device and electronic equipment
CN110546908B (en) Radio frequency circuit, antenna device and electronic equipment
CN108551685A (en) Method of controlling antenna, device, storage medium and electronic equipment
CN108365882B (en) Antenna control method, antenna control device, storage medium and electronic equipment
CN107181535A (en) Radio frequency interference processing method, device, storage medium 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180501

RJ01 Rejection of invention patent application after publication