CN107483737B - Antenna switching method and mobile terminal - Google Patents

Antenna switching method and mobile terminal Download PDF

Info

Publication number
CN107483737B
CN107483737B CN201710733156.4A CN201710733156A CN107483737B CN 107483737 B CN107483737 B CN 107483737B CN 201710733156 A CN201710733156 A CN 201710733156A CN 107483737 B CN107483737 B CN 107483737B
Authority
CN
China
Prior art keywords
antenna
mobile terminal
antennas
parameter
performance
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.)
Active
Application number
CN201710733156.4A
Other languages
Chinese (zh)
Other versions
CN107483737A (en
Inventor
杜光东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shenglu IoT Communication Technology Co Ltd
Original Assignee
Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shenglu IoT Communication Technology Co Ltd filed Critical Shenzhen Shenglu IoT Communication Technology Co Ltd
Priority to CN201710733156.4A priority Critical patent/CN107483737B/en
Publication of CN107483737A publication Critical patent/CN107483737A/en
Application granted granted Critical
Publication of CN107483737B publication Critical patent/CN107483737B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Abstract

An antenna switching method and a mobile terminal are provided, which comprises the following steps: acquiring environmental state parameters of the environment where the mobile terminal is located; detecting performance parameters of a plurality of antennas installed on the mobile terminal; determining a target antenna from the plurality of antennas according to the performance parameters of the plurality of antennas; the adaptation degree of the performance parameter of the target antenna and the environmental state parameter is highest; judging whether the target antenna is an antenna currently used by the mobile terminal; and if the target antenna is judged not to be the antenna currently used by the mobile terminal, switching the antenna currently used to the target antenna. By implementing the embodiment of the invention, the antenna of the mobile terminal can be automatically switched to the antenna which is most suitable for the current environment when the mobile terminal is in a severe environment, so that the problem of poor signal is solved, and the communication quality is further improved.

Description

Antenna switching method and mobile terminal
Technical Field
The invention relates to the technical field of communication, in particular to an antenna switching method and a mobile terminal.
Background
At present, a mobile phone becomes an indispensable part in daily life of people, and as the requirement of people on the communication quality of the mobile phone is higher and higher, the requirement on the performance of an antenna of the mobile phone is also higher, so that under a general working environment, the problem that the antenna of the mobile phone is too large does not occur, and the communication quality is also optimal. However, in practice, it has been found that when the antenna is in some severe environments (such as rain, cloudy days or valleys), the antenna cannot adapt to the severe environments, so that the problem of poor signal occurs, and the communication quality is further affected.
Disclosure of Invention
The embodiment of the invention discloses an antenna switching method and a mobile terminal, which can automatically switch an antenna of the mobile terminal to an antenna most suitable for the current environment when the mobile terminal is in a severe environment, improve the problem of poor signals and further improve the communication quality.
The first aspect of the embodiments of the present invention discloses an antenna switching method, which includes:
acquiring environmental state parameters of the environment where the mobile terminal is located;
detecting performance parameters of a plurality of antennas installed on the mobile terminal;
determining a target antenna from the plurality of antennas according to the performance parameters of the plurality of antennas; the adaptation degree of the performance parameter of the target antenna and the environmental state parameter is highest;
judging whether the target antenna is an antenna currently used by the mobile terminal;
and if the target antenna is judged not to be the antenna currently used by the mobile terminal, switching the antenna currently used to the target antenna.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, before the acquiring the environment state parameter of the environment where the mobile terminal is located, the method further includes:
detecting the strength of a signal received by a mobile terminal;
judging whether the intensity of the signal is smaller than an ideal signal intensity threshold value preset by the mobile terminal;
and if the signal intensity is smaller than the ideal signal intensity threshold value, executing the step of acquiring the environmental state parameters of the environment where the mobile terminal is located.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the detecting performance parameters of multiple antennas installed on a mobile terminal includes:
acquiring antenna identifications of a plurality of antennas installed on a mobile terminal;
according to the antenna identifications of the multiple antennas, searching the performance parameters of the multiple antennas corresponding to the antenna identifications of the multiple antennas from a first corresponding relation pre-stored by the mobile terminal; wherein the first correspondence includes an antenna identification of each of the plurality of antennas and a performance parameter of each antenna.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, the determining a target antenna from the multiple antennas according to the performance parameters of the multiple antennas includes:
aiming at the plurality of antennas, acquiring a use reference environment state parameter corresponding to the performance parameter of each antenna;
calculating a difference value of the environment state parameter and a use reference environment state parameter corresponding to the performance parameter of each antenna; the difference value is used for representing the adaptation degree of the performance parameter of each antenna and the environmental state parameter, and the smaller the difference value is, the higher the adaptation degree of the performance parameter of the antenna and the environmental state parameter is;
determining a target antenna from the plurality of antennas according to the difference value of the environmental state parameter and the use reference environmental state parameter corresponding to the performance parameter of each antenna; wherein a difference of the usage reference environmental state parameter corresponding to the environmental state parameter and the performance parameter of the target antenna is minimum.
As an optional implementation manner, in the first aspect of the embodiment of the present invention, acquiring, for the multiple antennas, the usage reference environment state parameter corresponding to the performance parameter of each of the antennas includes:
identifying performance parameters of the plurality of antennas;
according to the performance parameters of the multiple antennas, searching the use reference environment state parameters of the multiple antennas corresponding to the performance parameters of the multiple antennas from a second corresponding relation pre-stored by the mobile terminal; wherein the second correspondence includes a performance parameter of each of the plurality of antennas and a usage reference environment state parameter of each antenna.
A second aspect of an embodiment of the present invention discloses a mobile terminal, including:
the acquisition unit is used for acquiring environmental state parameters of the environment where the mobile terminal is located;
a first detection unit for detecting performance parameters of a plurality of antennas installed on the mobile terminal;
a determining unit, configured to determine a target antenna from the multiple antennas according to the performance parameters of the multiple antennas; the adaptation degree of the performance parameter of the target antenna and the environmental state parameter is highest;
the first judging unit is used for judging whether the target antenna is the antenna currently used by the mobile terminal;
and the switching unit is used for switching the currently used antenna to the target antenna when the first judging unit judges that the target antenna is not the currently used antenna of the mobile terminal.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the mobile terminal further includes:
the second detection unit is used for detecting the strength of the signal received by the mobile terminal before the acquisition unit acquires the environmental state parameters of the environment where the mobile terminal is located;
the second judging unit is used for judging whether the intensity of the signal is smaller than an ideal signal intensity threshold value preset by the mobile terminal;
the acquisition unit is specifically configured to acquire an environmental state parameter of an environment in which the mobile terminal is located when the second determination unit determines that the strength of the signal is smaller than the ideal signal strength threshold.
As an optional implementation manner, in a second aspect of the embodiment of the present invention, the first detection unit includes:
the mobile terminal comprises a first obtaining subunit, a second obtaining subunit and a third obtaining subunit, wherein the first obtaining subunit is used for obtaining antenna identifications of a plurality of antennas installed on the mobile terminal;
the searching subunit is configured to search, according to the antenna identifiers of the multiple antennas, performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas from a first correspondence relationship pre-stored by the mobile terminal; wherein the first correspondence includes an antenna identification of each of the plurality of antennas and a performance parameter of each antenna.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the determining unit includes:
a second obtaining subunit, configured to obtain, for the multiple antennas, a usage reference environment state parameter corresponding to a performance parameter of each of the antennas;
a calculating subunit, configured to calculate a difference between the environment state parameter and a usage reference environment state parameter corresponding to the performance parameter of each of the antennas; the difference value is used for representing the adaptation degree of the performance parameter of each antenna and the environmental state parameter, and the smaller the difference value is, the higher the adaptation degree of the performance parameter of the antenna and the environmental state parameter is;
a determining subunit, configured to determine a target antenna from the multiple antennas according to a difference between the environmental state parameter and a usage reference environmental state parameter corresponding to the performance parameter of each of the antennas; wherein a difference of the usage reference environmental state parameter corresponding to the environmental state parameter and the performance parameter of the target antenna is minimum.
As an optional implementation manner, in the second aspect of the embodiment of the present invention, the second obtaining subunit includes:
an identification module for identifying performance parameters of the plurality of antennas;
the searching module is used for searching the using reference environment state parameters of the plurality of antennas corresponding to the performance parameters of the plurality of antennas from a second corresponding relation pre-stored by the mobile terminal according to the performance parameters of the plurality of antennas; wherein the second correspondence includes a performance parameter of each of the plurality of antennas and a usage reference environment state parameter of each antenna.
A third aspect of the embodiments of the present invention discloses a mobile terminal, including:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the antenna switching method disclosed by the first aspect of the embodiment of the invention.
A fourth aspect of the present invention discloses a computer-readable storage medium storing a computer program, where the computer program enables a computer to execute the antenna switching method disclosed in the first aspect of the present invention.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the mobile terminal detects the environmental state parameters of the surrounding environment, obtains the optimal antenna performance parameters according to the detected environmental state parameters, determines the antenna with the highest adaptation degree of the performance parameters and the environmental state parameters from the plurality of antennas as the target antenna according to the antenna performance parameters of the plurality of antennas installed on the mobile terminal, and switches the antenna of the mobile phone to the target antenna. Therefore, by implementing the embodiment of the invention, the mobile phone antenna can be automatically switched to the antenna which is most suitable for the current environment when the mobile phone is in a severe environment, the best performance of the antenna is exerted, and the communication quality is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flowchart of an antenna switching method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of another antenna switching method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another antenna switching method according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating another antenna switching method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 8 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention;
fig. 9 is a schematic structural diagram of another mobile terminal disclosed in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It is to be noted that the terms "comprises" and "comprising" and any variations thereof in the embodiments and drawings of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The embodiment of the invention discloses an antenna switching method and a mobile terminal, which can automatically switch an antenna of the mobile terminal to an antenna most suitable for the current environment when the mobile terminal is in a severe environment, improve the problem of poor signals and further improve the communication quality. The following are detailed below.
Example one
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an antenna switching method according to an embodiment of the present invention. The antenna switching method described in fig. 1 is suitable for various mobile terminals such as mobile phones and tablet computers, and the embodiment of the present invention is not limited thereto. The operating systems of various mobile terminals may include, but are not limited to, an Android operating system, an IOS operating system, a Symbian operating system, a blackberry operating system, a Windows Phone8 operating system, and the like, which is not limited in the embodiments of the present invention. As shown in fig. 1, the antenna switching method may include the steps of:
101. the mobile terminal collects the environmental state parameters of the environment where the mobile terminal is located.
In the embodiment of the present invention, the environmental state parameter collected by the mobile terminal may be an environmental temperature state parameter or an environmental humidity state parameter, which is not limited in the embodiment of the present invention.
As an optional implementation manner, the acquiring, by the mobile terminal, the environmental state parameter of the environment where the mobile terminal is located includes:
the humidity of the environment where the mobile terminal is located is acquired through a humidity sensor installed on the mobile terminal, so that the environment humidity state parameter of the environment where the mobile terminal is located is obtained, and the environment humidity state parameter is determined as a target environment state parameter.
As another optional implementation, the acquiring, by the mobile terminal, the environmental state parameter of the environment where the mobile terminal is located also includes:
the temperature of the environment where the mobile terminal is located is acquired through a temperature sensor installed on the mobile terminal, so that the environment temperature state parameter of the environment where the mobile terminal is located is obtained, and the environment temperature state parameter is determined as a target environment state parameter.
102. A mobile terminal detects performance parameters of a plurality of antennas mounted on the mobile terminal.
In this embodiment of the present invention, the performance parameter of the multiple antennas may be efficiency of the antennas, gain of the antennas, input impedance of the antennas, and a standing-wave ratio of the antennas, which is not limited in this embodiment of the present invention.
In this embodiment of the present invention, the mobile terminal may detect the performance parameters of the multiple antennas installed on the mobile terminal by detecting a database for storing the antenna performance parameters on the mobile terminal, or may request the network side to search the performance parameters of the multiple antennas on the mobile terminal by sending request information to the network side, and return the performance parameters to the mobile terminal for detection.
Optionally, the mobile terminal may send the request information to the network side and may send the antenna identifiers of the multiple antennas installed on the mobile terminal to the network side, so that the network side may more quickly find the antenna performance parameters corresponding to the antenna identifiers according to the antenna identifiers.
As an optional implementation manner, the sending, by the mobile terminal, the request information to the network side may include the following steps:
the mobile terminal acquires product information of the mobile terminal; the product information comprises a production place and a manufacturer of the mobile terminal and a website for inquiring parameter information of internal parts of the mobile terminal;
extracting a website for inquiring parameter information of the internal parts of the mobile terminal from the production information;
and sending a request for inquiring the performance parameters of the plurality of antennas on the mobile terminal to a network side aiming at the website.
103. And the mobile terminal determines a target antenna from the plurality of antennas according to the performance parameters of the plurality of antennas.
In the embodiment of the invention, the adaptability between the performance parameter of the target antenna and the environmental state parameter is highest.
It should be noted that, after the mobile terminal obtains the performance parameters of the multiple antennas, the mobile terminal matches the acquired environmental state parameters one by one with the acquired environmental state parameters, counts the adaptation degree of the performance parameters of each of the multiple antennas and the environmental state parameters, and extracts the antenna with the highest adaptation degree of the performance parameters and the environmental state parameters in the multiple antennas as the target antenna.
As an optional implementation manner, the determining, by the mobile terminal, a target antenna from the multiple antennas according to the performance parameters of the multiple antennas includes:
calculating the performance parameters of the optimal antenna matched with the environmental state parameters acquired by the mobile terminal according to the environmental state parameters;
acquiring performance parameters of a plurality of antennas installed on the mobile terminal;
calculating a difference between the performance parameter of the optimal antenna and the performance parameter of each of the plurality of antennas;
and extracting the antenna performance parameter corresponding to the minimum difference value from the difference values, and taking the antenna as a target antenna.
104. The mobile terminal judges whether the target antenna is the antenna currently used by the mobile terminal, if not, step 105 is executed; if so, the flow ends.
In the embodiment of the invention, when the mobile terminal judges that the target antenna is the antenna currently used by the mobile terminal, prompt information can be displayed on a screen of the mobile terminal; the prompt information is used for prompting the user that the target antenna is the same as the antenna currently used by the mobile terminal.
105. And the mobile terminal switches the currently used antenna to the target antenna.
In the embodiment of the present invention, when the mobile terminal determines that the target antenna is not the antenna currently used by the mobile terminal, the mobile terminal turns off an antenna switch of the currently used antenna, gates an antenna switch corresponding to the target antenna, and switches the currently used antenna to the target antenna.
Therefore, by implementing the method described in fig. 1, the antenna of the mobile phone can be automatically switched to the antenna most suitable for the current environment when the mobile phone is in a severe environment, so that the best performance of the antenna is exerted, and the communication quality is further improved.
Example two
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another antenna switching method according to an embodiment of the present invention. As shown in fig. 2, the antenna switching method may include the steps of:
201. the mobile terminal detects the strength of the signal received by the mobile terminal.
In the embodiment of the invention, before the mobile terminal detects the strength of the signal received by the mobile terminal, whether the mobile terminal is in a calling state can be detected, if the mobile terminal is in the calling state, the signal can be received through the currently used antenna, and the strength of the signal is detected.
Optionally, the mobile terminal should continuously receive a period of time when receiving the signal, and then determine the strength of the received signal of the antenna currently used by the mobile terminal in the period of time, so that the mobile terminal can more accurately detect the signal receiving capability of the antenna currently used by the mobile terminal in the current environment.
202. The mobile terminal judges whether the intensity of the signal is smaller than an ideal signal intensity threshold value preset by the mobile terminal, if so, the step 203 to the step 207 are executed; if not, the flow is ended.
In the embodiment of the invention, the ideal signal intensity threshold value preset by the mobile terminal takes the signal intensity of the mobile terminal as a reference value when the environment of the mobile terminal is relatively severe, and when the mobile terminal judges that the intensity of the signal is smaller than the ideal signal intensity threshold value preset by the mobile terminal, the mobile terminal acquires the environmental state parameters of the environment where the mobile terminal is located, so that the mobile terminal can be used for acquiring the environmental state parameters in a targeted manner, and the situation that the mobile terminal still acquires the environmental state parameters all the time when the signal intensity is relatively strong is avoided.
203. The mobile terminal collects the environmental state parameters of the environment where the mobile terminal is located.
In the embodiment of the present invention, the environmental state parameter collected by the mobile terminal may be an environmental temperature state parameter or an environmental humidity state parameter, which is not limited in the embodiment of the present invention.
As an optional implementation manner, the acquiring, by the mobile terminal, the environmental state parameter of the environment where the mobile terminal is located includes:
the humidity of the environment where the mobile terminal is located is acquired through a humidity sensor installed on the mobile terminal, so that the environment humidity state parameter of the environment where the mobile terminal is located is obtained, and the environment humidity state parameter is determined as a target environment state parameter.
As another optional implementation, the acquiring, by the mobile terminal, the environmental state parameter of the environment where the mobile terminal is located also includes:
the temperature of the environment where the mobile terminal is located is acquired through a temperature sensor installed on the mobile terminal, so that the environment temperature state parameter of the environment where the mobile terminal is located is obtained, and the environment temperature state parameter is determined as a target environment state parameter.
204. The mobile terminal obtains antenna identifications of a plurality of antennas installed on the mobile terminal.
In the embodiment of the present invention, the mobile terminal may obtain the antenna identifiers of the multiple antennas installed on the mobile terminal by searching from a database stored on the mobile terminal, and may also send request information including the identity identifier of the mobile terminal to a network side, where the request information is used to request the network side to search the antenna identifiers of the multiple antennas installed on the mobile terminal, so that the network side searches the antenna identifiers of the multiple antennas installed on the mobile terminal and sends the antenna identifiers of the multiple antennas to the mobile terminal.
205. And the mobile terminal searches the performance parameters of the plurality of antennas corresponding to the antenna identifications of the plurality of antennas from a first corresponding relation pre-stored by the mobile terminal according to the antenna identifications of the plurality of antennas.
In the embodiment of the present invention, the mobile terminal may store a database, where the database includes a correspondence between an antenna identifier of each antenna in the plurality of antennas and the performance parameter, that is, the mobile terminal stores the antenna identifier of each antenna in the plurality of antennas and the performance parameter of each antenna, and the antenna identifier of each antenna corresponds to the performance parameter of each antenna one to one, and the mobile terminal may search the performance parameter of the antenna corresponding to the antenna from the correspondence included in the stored database according to the antenna identifiers of the plurality of antennas. Therefore, the mobile terminal can purposefully search the performance parameters of the antenna, the searching speed is accelerated, the mobile terminal can further quickly judge the optimal antenna and switch the currently used antenna to the optimal antenna, the switching speed is increased, and the communication quality is improved.
Optionally, the mobile terminal may obtain the antenna identifiers of the multiple antennas and also obtain the identity identifiers of the mobile terminal, so that before the mobile terminal searches for the performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas from the first corresponding relationship pre-stored in the mobile terminal, a sub-database where information of the multiple antennas installed on the mobile terminal is located may be determined according to the identity identifier of the mobile terminal, and then the performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas may be searched for from the corresponding relationship stored in the sub-database.
206. And the mobile terminal determines a target antenna from the plurality of antennas according to the performance parameters of the plurality of antennas.
207. The mobile terminal judges whether the target antenna is the antenna currently used by the mobile terminal, if not, step 208 is executed; if so, the flow ends.
In the embodiment of the invention, when the mobile terminal judges that the target antenna is the antenna currently used by the mobile terminal, prompt information can be displayed on a screen of the mobile terminal; the prompt information is used for prompting the user that the target antenna is the same as the antenna currently used by the mobile terminal.
208. And the mobile terminal switches the currently used antenna to the target antenna.
In the embodiment of the present invention, when the mobile terminal determines that the target antenna is not the antenna currently used by the mobile terminal, the mobile terminal turns off an antenna switch of the currently used antenna, gates an antenna switch corresponding to the target antenna, and switches the currently used antenna to the target antenna.
It can be seen that, by implementing the method described in fig. 2, when the mobile phone is in a severe environment, the antenna of the mobile phone can be automatically switched to the antenna most suitable for the current environment, so that the best performance of the antenna is exerted, and further, the communication quality is improved.
EXAMPLE III
Referring to fig. 3, fig. 3 is a schematic flowchart illustrating another antenna switching method according to an embodiment of the present invention. As shown in fig. 3, the antenna switching method may include the steps of:
step 301 to step 305, wherein for detailed description of step 301 to step 305, refer to the description of step 201 to step 205 in the second embodiment, and the embodiments of the present invention are not described again.
306. And the mobile terminal acquires the use reference environment state parameter corresponding to the performance parameter of each antenna aiming at the plurality of antennas.
In this embodiment of the present invention, the performance parameters of each of the antennas have multiple items, and the mobile terminal may obtain the usage reference environment state parameter corresponding to one of the performance parameters, and may also obtain the usage reference environment state parameters corresponding to multiple items of the performance parameters, which is not limited in this embodiment of the present invention.
307. The mobile terminal calculates the difference value of the using reference environment state parameter corresponding to the environment state parameter and the performance parameter of each antenna.
In an embodiment of the present invention, the difference is used to indicate a degree of adaptation between the performance parameter of each of the antennas and the environmental status parameter, where the smaller the difference is, the higher the degree of adaptation between the performance parameter of each of the antennas and the environmental status parameter is; the larger the difference is, the lower the adaptation degree of the performance parameter of the antenna and the environmental state parameter is. Therefore, the antenna with the highest adaptation degree of the performance parameter and the environmental state parameter can be found visually according to the difference of the difference, the calculation method is simple in step, and saves a lot of calculation time, so that the optimal antenna can be determined quickly, the mobile terminal can quickly switch the currently used antenna to be the optimal antenna, and the communication quality is improved.
In this embodiment of the present invention, the mobile terminal calculates a difference between the environment status parameter and a use reference environment status parameter corresponding to each performance parameter of each antenna, and averages the difference between the use reference environment status parameter corresponding to each performance parameter of each antenna and the environment status parameter, where the average is used to indicate a degree of adaptation between the performance parameter of each antenna and the environment status parameter, and a smaller average indicates a higher degree of adaptation between the performance parameter of the antenna and the environment status parameter; the larger the average value is, the lower the degree of adaptation between the performance parameter of the antenna and the environmental condition parameter is.
308. And the mobile terminal determines a target antenna from the plurality of antennas according to the difference value of the environment state parameter and the use reference environment state parameter corresponding to the performance parameter of each antenna.
In an embodiment of the present invention, a difference between the environmental state parameter and the reference environmental state parameter corresponding to the performance parameter of the target antenna is the smallest.
309. The mobile terminal judges whether the target antenna is the antenna currently used by the mobile terminal, if not, step 310 is executed; if so, the flow ends.
In the embodiment of the invention, when the mobile terminal judges that the target antenna is the antenna currently used by the mobile terminal, prompt information can be displayed on a screen of the mobile terminal; the prompt information is used for prompting the user that the target antenna is the same as the antenna currently used by the mobile terminal.
310. And the mobile terminal switches the currently used antenna to the target antenna.
In the embodiment of the present invention, when the mobile terminal determines that the target antenna is not the antenna currently used by the mobile terminal, the mobile terminal turns off an antenna switch of the currently used antenna, gates an antenna switch corresponding to the target antenna, and switches the currently used antenna to the target antenna.
It can be seen that, implementing the method described in fig. 3, when the mobile phone is in a severe environment, the antenna of the mobile phone can be switched to the antenna most suitable for the current environment according to the degree of adaptation between the environment state parameter of the environment and the performance parameter of the antenna of the mobile phone, thereby exerting the best performance of the antenna, and further improving the communication quality, in addition, the mobile phone can start to detect the environment state parameter when detecting that the signal received by the mobile phone is weak, thereby avoiding the situation that the mobile phone still always detects the environment state parameter when the signal is strong, enabling the mobile phone to work more efficiently, and saving the electric quantity of the mobile phone, in addition, the performance parameter of the antenna can be searched in the database stored on the mobile phone according to the antenna identifier of the mobile phone, so that the mobile phone can more quickly and accurately find the performance parameters of a plurality of antennas installed on the mobile phone, in addition, the usage reference ring corresponding to the performance parameter of each antenna installed on the mobile phone The difference value of the environment state parameter represents the adaptation degree of the performance parameter of each antenna installed on the mobile phone and the environment state parameter, wherein the smaller the difference value is, the higher the adaptation degree of the performance parameter of the antenna and the environment state parameter is, and the antenna corresponding to the smallest difference value is selected from the plurality of difference values to be used as the optimal antenna, so that the mobile phone can rapidly switch the currently used antenna to be the optimal antenna, and the communication quality is improved.
Example four
Referring to fig. 4, fig. 4 is a flowchart illustrating another antenna switching method according to an embodiment of the present invention. As shown in fig. 4, the antenna switching method may include the steps of:
step 401 to step 405, wherein for detailed description of step 401 to step 405, refer to the description of step 301 to step 305 in the third embodiment, and the embodiments of the present invention are not described again.
406. The mobile terminal identifies performance parameters of the plurality of antennas.
407. And the mobile terminal searches the use reference environment state parameters of the plurality of antennas corresponding to the performance parameters of the plurality of antennas from a second corresponding relation pre-stored by the mobile terminal according to the performance parameters of the plurality of antennas.
In the embodiment of the present invention, the database stored in the mobile terminal further includes a corresponding relationship between the antenna performance parameter of each of the plurality of antennas and the usage reference environment state parameter, that is, the mobile terminal stores the performance parameter of each of the plurality of antennas and the usage reference environment state parameter of each of the antennas, and the performance parameter of each of the antennas corresponds to the usage reference environment state parameter of each of the antennas one by one, and the mobile terminal can search the usage reference environment state parameter of the antenna corresponding to the performance parameter of each of the antennas from the corresponding relationship included in the stored database according to the performance parameters of the plurality of antennas. Therefore, the mobile terminal can purposefully search the use reference environment state parameters of the antenna, the searching speed is accelerated, the mobile terminal can further quickly judge the optimal antenna and switch the currently used antenna to the optimal antenna, the switching speed is increased, and the communication quality is improved.
Step 408 to step 411, please refer to the description of step 307 to step 310 in the third embodiment for the detailed description of step 408 to step 411, which is not repeated in the embodiments of the present invention.
It can be seen that, by implementing the method described in fig. 4, when the mobile phone is in a severe environment, the mobile phone antenna can be automatically switched to the antenna most suitable for the current environment, so as to exert the best performance of the antenna, and further improve the communication quality, in addition, the mobile phone can start to collect the environmental state parameters when the mobile phone judges that the signal is poor, so as to save the electric quantity of the mobile phone, and make the mobile phone work more efficiently, in addition, the mobile phone can search the antenna performance parameters according to the antenna identifier, so that the mobile phone can search the performance parameters of the multiple antennas installed on the mobile phone more quickly and accurately, in addition, the mobile phone can search the usage reference environmental state parameters according to the antenna performance parameters, so that the mobile phone can more accurately find the usage reference environmental state parameters corresponding to the performance parameters of the multiple antennas installed.
EXAMPLE five
Referring to fig. 5, fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in fig. 5, the mobile terminal may include:
the collecting unit 501 is configured to collect environment state parameters of an environment where the mobile terminal is located.
In the embodiment of the present invention, the collecting unit 501 may collect the environmental temperature state parameters and may also collect the environmental humidity state parameters, which is not limited in the embodiment of the present invention.
As an optional implementation manner, the collecting unit 501 may collect the humidity of the environment where the mobile terminal is located through a humidity sensor installed on the mobile terminal to obtain an environmental humidity state parameter of the environment where the mobile terminal is located, and determine the environmental humidity state parameter as a target environmental state parameter.
As another optional implementation manner, the acquisition unit 501 may further acquire the temperature of the environment where the mobile terminal is located through a temperature sensor installed on the mobile terminal to obtain an environment temperature state parameter of the environment where the mobile terminal is located, and determine the environment temperature state parameter as the target environment state parameter.
A first detecting unit 502, configured to detect performance parameters of a plurality of antennas installed on the mobile terminal.
As an optional implementation manner, the first detecting unit 502 may detect performance parameters of multiple antennas installed on the mobile terminal by detecting a database for storing antenna performance parameters on the mobile terminal, or may request the network side to search for the performance parameters of the multiple antennas on the mobile terminal by sending request information to the network side, and return the request information to the mobile terminal to detect the performance parameters of the multiple antennas installed on the mobile terminal, which is not limited in the embodiment of the present invention.
Optionally, the first detecting unit 502 sends the request information to the network side and also sends the antenna identifiers of the multiple antennas installed on the mobile terminal to the network side, so that the network side can more quickly find out the antenna performance parameters corresponding to the antenna identifiers according to the antenna identifiers. Thus, the first detection unit 502 can rapidly detect the antenna performance parameters of the plurality of antennas.
As an optional implementation manner, the sending, by the first detecting unit 502, the request information to the network side may include:
the first detection unit 502 acquires product information of the mobile terminal; the product information comprises a production place and a manufacturer of the mobile terminal and a website for inquiring parameter information of internal parts of the mobile terminal;
the first detection unit 502 extracts a website for inquiring parameter information of the internal parts of the mobile terminal from the production information;
the first detecting unit 502 sends a request for inquiring performance parameters of multiple antennas on the mobile terminal to the network side aiming at the above-mentioned website.
A determining unit 503, configured to determine a target antenna from the multiple antennas according to the performance parameters of the multiple antennas; and the adaptation degree of the performance parameter of the target antenna and the environmental state parameter is highest.
It should be noted that, after acquiring the performance parameters of the multiple antennas, the determining unit 503 matches the acquired environmental state parameters one by one, counts the adaptation degree of the performance parameter and the environmental state parameter of each of the multiple antennas, and determines, as the target antenna, the antenna with the highest adaptation degree of the performance parameter and the environmental state parameter in the multiple antennas by the determining unit 503.
As an alternative implementation, the determining unit 503 may include:
the first calculation module is used for calculating the performance parameters of the optimal antenna matched with the environment state parameters according to the environment state parameters acquired by the mobile terminal;
the mobile terminal comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring performance parameters of a plurality of antennas installed on the mobile terminal;
a second calculating module, configured to calculate a difference between the performance parameter of the optimal antenna and the performance parameter of each of the plurality of antennas;
and the extraction module is used for extracting the antenna performance parameter corresponding to the minimum difference value from the difference values and taking the antenna as a target antenna.
It can be seen that, when the embodiment of the present invention is implemented in the foregoing embodiment, the determining unit 503 may obtain the optimal antenna performance parameter through the environmental state parameter acquired by the acquiring unit 501, so as to avoid the time taken to search for the reference environmental state parameter, enable the determining unit 503 to determine the target antenna more quickly, and avoid the occurrence of disconnection caused by untimely antenna switching when the user answers the call.
A first determining unit 504, configured to determine whether the target antenna is an antenna currently used by the mobile terminal.
A switching unit 505, configured to switch the currently used antenna to the target antenna when the first determining unit 504 determines that the target antenna is not the antenna currently used by the mobile terminal.
When switching antennas, the switching unit 505 turns off the antenna switch of the currently used antenna first, and then turns on the antenna switch corresponding to the target antenna.
It can be seen that, with the mobile terminal described in fig. 5, when the mobile phone is in a harsh environment, the antenna of the mobile phone can be automatically switched to the antenna most suitable for the current environment, so that the best performance of the antenna is exerted, and the communication quality is further improved.
EXAMPLE six
Referring to fig. 6, fig. 6 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. The mobile terminal shown in fig. 6 is optimized by the mobile terminal shown in fig. 5. Compared to the mobile terminal shown in fig. 5, the mobile terminal shown in fig. 6 may further include:
the second detecting unit 506 is configured to detect the strength of the signal received by the mobile terminal before the acquiring unit 501 acquires the environmental state parameter of the environment where the mobile terminal is located.
As an optional implementation manner, the second detecting unit 506 may further detect whether the mobile terminal is in a call state, and if the mobile terminal is in the call state, may receive a signal through a currently used antenna and detect a strength of the signal. This allows a more targeted detection of the signal strength.
Optionally, the second detecting unit 506 should continuously receive a period of time when receiving the signal, and then determine the strength of the received signal of the antenna currently used by the mobile terminal in the period of time, so that the second detecting unit 506 can more accurately detect the signal receiving capability of the antenna currently used by the mobile terminal in the current environment of the mobile terminal.
A second determining unit 507, configured to determine whether the strength of the signal is smaller than an ideal signal strength threshold preset by the mobile terminal.
The collecting unit 501 is specifically configured to, when the second determining unit 507 determines that the strength of the signal is smaller than the ideal signal strength threshold, collect the environmental state parameter of the environment where the mobile terminal is located by the collecting unit 501.
Therefore, when the second determining unit 507 determines that the strength of the signal is smaller than the ideal signal strength threshold, the acquiring unit 501 acquires the environmental state parameters of the environment where the mobile terminal is located, so that the environmental state parameters can be acquired purposefully, and the acquiring unit 501 is prevented from repeatedly doing useless work all the time.
As an alternative implementation, in the mobile terminal shown in fig. 6, the first detecting unit 502 may include:
a first obtaining subunit 5021, configured to obtain antenna identifiers of multiple antennas installed on the mobile terminal.
As an optional implementation manner, the first obtaining subunit 5021 may search from a database stored in the mobile terminal to obtain the antenna identifier, or send request information including the identifier of the mobile terminal to the network side, where the request information is used to request the network side to search for the antenna identifiers of the multiple antennas installed on the mobile terminal, so that the network side searches for the antenna identifiers of the multiple antennas installed on the mobile terminal and sends the antenna identifiers of the multiple antennas to the first obtaining subunit 5021.
A searching subunit 5022, configured to search, according to the antenna identifiers of the multiple antennas, performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas from a first correspondence relationship pre-stored in the mobile terminal; the first corresponding relationship includes an antenna identifier of each antenna in the plurality of antennas and a performance parameter of each antenna.
As an optional implementation manner, a database may be stored in the lookup subunit 5022, where the database includes a correspondence between an antenna identifier of each antenna in a large number of antennas and a performance parameter, that is, the lookup subunit 5022 stores an antenna identifier of each antenna in a large number of antennas and a performance parameter of each antenna, and the antenna identifier of each antenna corresponds to the performance parameter of each antenna one to one, and the lookup subunit 5022 may search the performance parameter of the antenna corresponding to the antenna identifier of the antenna from the correspondence included in the stored database according to the antenna identifiers of the antennas. Therefore, the searching subunit 5022 can purposefully search the antenna performance parameters, so that the searching speed is increased, the mobile terminal can further quickly judge the optimal antenna, the switching unit 105 can switch the currently used antenna to the optimal antenna, the switching speed is increased, and the communication quality is improved.
Optionally, the lookup subunit 5022 may obtain the antenna identifiers of the multiple antennas and also obtain the identity identifiers of the mobile terminal, so that before the lookup subunit 5022 finds the performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas from the first corresponding relationship pre-stored in the lookup subunit 5022, a sub-database where information of the multiple antennas installed on the mobile terminal is located may be determined according to the identity identifiers of the mobile terminal, and then the performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas are found from the corresponding relationship stored in the sub-database.
It can be seen that, by implementing the mobile terminal described in fig. 6, when the mobile phone is in a severe environment, the mobile phone antenna can be automatically switched to the antenna most suitable for the current environment, so as to exert the best performance of the antenna, and further improve the communication quality.
EXAMPLE seven
Referring to fig. 7, fig. 7 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. The mobile terminal shown in fig. 7 is optimized by the mobile terminal shown in fig. 6. Compared with the mobile terminal shown in fig. 6, the determining unit 503 in the mobile terminal shown in fig. 7 may include:
a second obtaining sub-unit 5031, configured to obtain, for the multiple antennas, a usage reference environment state parameter corresponding to the performance parameter of each of the antennas.
A calculation subunit 5032, configured to calculate a difference between the environmental state parameter and a use reference environmental state parameter corresponding to the performance parameter of each antenna; the difference is used for representing the degree of adaptation of the performance parameter of each antenna to the environmental state parameter, and the smaller the difference is, the higher the degree of adaptation of the performance parameter of the antenna to the environmental state parameter is.
As an alternative embodiment, the calculating subunit 5032 calculates the difference between the environmental state parameter and the use reference environmental state parameter corresponding to each performance parameter of each antenna, and the calculating subunit 5032 averages the difference between the use reference environmental state parameter corresponding to each performance parameter of each antenna and the environmental state parameter, where the average is used to indicate the degree of adaptation between the performance parameter of each antenna and the environmental state parameter, and the smaller the average, the higher the degree of adaptation between the performance parameter of each antenna and the environmental state parameter; the larger the average value is, the lower the degree of adaptation between the performance parameter of the antenna and the environmental state parameter is. Therefore, the antenna with the maximum received signal strength can be found visually according to the difference of the average values, the calculation method has simple steps, saves a lot of calculation time, and can judge the optimal antenna comprehensively, so that the switching unit 105 can rapidly switch the currently used antenna to the optimal antenna, and the communication quality is improved.
A determining subunit 5033, configured to determine a target antenna from the multiple antennas according to the difference between the environmental status parameter and the usage reference environmental status parameter corresponding to the performance parameter of each of the antennas; and the difference value of the use reference environment state parameters corresponding to the environment state parameters and the performance parameters of the target antenna is minimum.
It can be seen that, by implementing the mobile terminal described in fig. 7, when the mobile phone is in a severe environment, the mobile phone antenna can be automatically switched to the antenna most suitable for the current environment, so as to exert the best performance of the antenna, and further improve the communication quality, and in addition, the mobile phone can start to acquire the environmental state parameters when judging that the signal is poor, so as to save the electric quantity of the mobile phone, so that the mobile phone can work more efficiently, and in addition, the mobile phone can search the antenna performance parameters according to the antenna identifier, so that the mobile phone can search the performance parameters of the plurality of antennas installed on the mobile phone more quickly and accurately.
Example eight
Referring to fig. 8, fig. 8 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. The mobile terminal shown in fig. 8 is optimized by the mobile terminal shown in fig. 7. Compared with the mobile terminal shown in fig. 7, the second obtaining sub-unit 5031 in the mobile terminal shown in fig. 8 may include:
an identifying module 50311, configured to identify performance parameters of the multiple antennas.
A searching module 50312, configured to search, according to the performance parameters of the multiple antennas, the usage reference environment state parameters of the multiple antennas corresponding to the performance parameters of the multiple antennas from a second correspondence relationship pre-stored in the mobile terminal; the second corresponding relation comprises a performance parameter of each antenna in the plurality of antennas and a use reference environment state parameter of each antenna.
As an alternative implementation manner, the database stored by the lookup module 50312 includes a corresponding relationship between the antenna performance parameter of each of the multiple antennas and the usage reference environment state parameter, that is, the lookup module 50312 stores the performance parameter of each of the multiple antennas and the usage reference environment state parameter of each antenna, and the performance parameter of each antenna corresponds to the usage reference environment state parameter of each antenna one to one, and the lookup module 50312 may search the usage reference environment state parameter of the antenna corresponding to the performance parameter of each antenna from the corresponding relationship included in the stored database according to the performance parameters of the multiple antennas. In this way, the searching module 50312 can purposefully search the use reference environment state parameter of the antenna, so as to accelerate the searching speed, further enable the mobile terminal to quickly determine the optimal antenna, enable the switching unit 105 to switch the currently used antenna to the optimal antenna, accelerate the switching speed, and improve the communication quality.
It can be seen that, when the mobile terminal described in fig. 8 is implemented, the mobile phone antenna can be automatically switched to the antenna most suitable for the current environment when the mobile phone is in a severe environment, so as to exert the best performance of the antenna, and further improve the communication quality, in addition, the mobile phone can start to collect the environmental state parameters when the mobile phone judges that the signal is poor, so as to save the electric quantity of the mobile phone, and make the mobile phone work more efficiently, in addition, the mobile phone can search the antenna performance parameters according to the antenna identifier, so that the mobile phone can search the performance parameters of the multiple antennas installed on the mobile phone more quickly and accurately, in addition, the mobile phone can search the usage reference environmental state parameters according to the antenna performance parameters, so that the mobile phone can more accurately find the usage reference environmental state parameters corresponding to the performance parameters of the multiple antennas installed.
Example nine
Referring to fig. 9, fig. 9 is a schematic structural diagram of another mobile terminal according to an embodiment of the present invention. As shown in fig. 9, the mobile terminal may include:
a memory 901 in which executable program code is stored;
a processor 902 coupled to a memory 901;
the processor 902 calls the executable program code stored in the memory 901 to execute any one of the antenna switching methods shown in fig. 1 to 4.
The embodiment of the invention discloses a computer-readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the antenna switching methods in the figures 1-4.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by instructions associated with a program, which may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), compact disc-Read-Only Memory (CD-ROM), or other Memory, magnetic disk, magnetic tape, or magnetic tape, Or any other medium which can be used to carry or store data and which can be read by a computer.
The antenna switching method and the mobile terminal disclosed in the embodiments of the present invention are described in detail above, and a specific example is applied in the text to explain the principle and the embodiments of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (8)

1. An antenna switching method, characterized in that the method comprises:
acquiring environmental state parameters of the environment where the mobile terminal is located;
detecting performance parameters of a plurality of antennas installed on the mobile terminal;
determining a target antenna from the plurality of antennas according to the performance parameters of the plurality of antennas; the adaptation degree of the performance parameter of the target antenna and the environmental state parameter is highest;
judging whether the target antenna is an antenna currently used by the mobile terminal;
if the target antenna is judged not to be the antenna currently used by the mobile terminal, switching the antenna currently used to the target antenna;
the determining a target antenna from the plurality of antennas according to the performance parameters of the plurality of antennas comprises:
aiming at the plurality of antennas, acquiring a use reference environment state parameter corresponding to the performance parameter of each antenna;
calculating a difference value of the environment state parameter and a use reference environment state parameter corresponding to the performance parameter of each antenna; the difference value is used for representing the adaptation degree of the performance parameter of each antenna and the environmental state parameter, and the smaller the difference value is, the higher the adaptation degree of the performance parameter of the antenna and the environmental state parameter is;
determining a target antenna from the plurality of antennas according to the difference value of the environmental state parameter and the use reference environmental state parameter corresponding to the performance parameter of each antenna; wherein a difference of the usage reference environmental state parameter corresponding to the environmental state parameter and the performance parameter of the target antenna is minimum.
2. The method according to claim 1, wherein before collecting the environment state parameters of the environment in which the mobile terminal is located, the method further comprises:
detecting the strength of a signal received by a mobile terminal;
judging whether the intensity of the signal is smaller than an ideal signal intensity threshold value preset by the mobile terminal;
and if the signal intensity is smaller than the ideal signal intensity threshold value, executing the step of acquiring the environmental state parameters of the environment where the mobile terminal is located.
3. The method according to claim 1 or 2, wherein the detecting performance parameters of a plurality of antennas installed on the mobile terminal comprises:
acquiring antenna identifications of a plurality of antennas installed on a mobile terminal;
according to the antenna identifications of the multiple antennas, searching the performance parameters of the multiple antennas corresponding to the antenna identifications of the multiple antennas from a first corresponding relation pre-stored by the mobile terminal; wherein the first correspondence includes an antenna identification of each of the plurality of antennas and a performance parameter of each antenna.
4. The method of claim 1, wherein obtaining, for the plurality of antennas, the usage reference environment state parameter corresponding to the performance parameter of each of the antennas comprises:
identifying performance parameters of the plurality of antennas;
according to the performance parameters of the multiple antennas, searching the use reference environment state parameters of the multiple antennas corresponding to the performance parameters of the multiple antennas from a second corresponding relation pre-stored by the mobile terminal; wherein the second correspondence includes a performance parameter of each of the plurality of antennas and a usage reference environment state parameter of each antenna.
5. A mobile terminal, characterized in that the mobile terminal comprises:
the acquisition unit is used for acquiring environmental state parameters of the environment where the mobile terminal is located;
a first detection unit for detecting performance parameters of a plurality of antennas installed on the mobile terminal;
a determining unit, configured to determine a target antenna from the multiple antennas according to the performance parameters of the multiple antennas; the adaptation degree of the performance parameter of the target antenna and the environmental state parameter is highest;
the first judging unit is used for judging whether the target antenna is the antenna currently used by the mobile terminal;
a switching unit, configured to switch the currently used antenna to the target antenna when the first determining unit determines that the target antenna is not the antenna currently used by the mobile terminal;
the determination unit includes:
a second obtaining subunit, configured to obtain, for the multiple antennas, a usage reference environment state parameter corresponding to a performance parameter of each of the antennas;
a calculating subunit, configured to calculate a difference between the environment state parameter and a usage reference environment state parameter corresponding to the performance parameter of each of the antennas; the difference value is used for representing the adaptation degree of the performance parameter of each antenna and the environmental state parameter, and the smaller the difference value is, the higher the adaptation degree of the performance parameter of the antenna and the environmental state parameter is;
a determining subunit, configured to determine a target antenna from the multiple antennas according to a difference between the environmental state parameter and a usage reference environmental state parameter corresponding to the performance parameter of each of the antennas; wherein a difference of the usage reference environmental state parameter corresponding to the environmental state parameter and the performance parameter of the target antenna is minimum.
6. The mobile terminal of claim 5, wherein the mobile terminal further comprises:
the second detection unit is used for detecting the strength of the signal received by the mobile terminal before the acquisition unit acquires the environmental state parameters of the environment where the mobile terminal is located;
the second judging unit is used for judging whether the intensity of the signal is smaller than an ideal signal intensity threshold value preset by the mobile terminal;
the acquisition unit is specifically configured to acquire an environmental state parameter of an environment in which the mobile terminal is located when the second determination unit determines that the strength of the signal is smaller than the ideal signal strength threshold.
7. The mobile terminal according to claim 5 or 6, wherein the first detecting unit comprises:
the mobile terminal comprises a first obtaining subunit, a second obtaining subunit and a third obtaining subunit, wherein the first obtaining subunit is used for obtaining antenna identifications of a plurality of antennas installed on the mobile terminal;
the searching subunit is configured to search, according to the antenna identifiers of the multiple antennas, performance parameters of the multiple antennas corresponding to the antenna identifiers of the multiple antennas from a first correspondence relationship pre-stored by the mobile terminal; wherein the first correspondence includes an antenna identification of each of the plurality of antennas and a performance parameter of each antenna.
8. The mobile terminal of claim 5, wherein the second obtaining subunit comprises:
an identification module for identifying performance parameters of the plurality of antennas;
the searching module is used for searching the using reference environment state parameters of the plurality of antennas corresponding to the performance parameters of the plurality of antennas from a second corresponding relation pre-stored by the mobile terminal according to the performance parameters of the plurality of antennas; wherein the second correspondence includes a performance parameter of each of the plurality of antennas and a usage reference environment state parameter of each antenna.
CN201710733156.4A 2017-08-24 2017-08-24 Antenna switching method and mobile terminal Active CN107483737B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710733156.4A CN107483737B (en) 2017-08-24 2017-08-24 Antenna switching method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710733156.4A CN107483737B (en) 2017-08-24 2017-08-24 Antenna switching method and mobile terminal

Publications (2)

Publication Number Publication Date
CN107483737A CN107483737A (en) 2017-12-15
CN107483737B true CN107483737B (en) 2020-06-19

Family

ID=60602505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710733156.4A Active CN107483737B (en) 2017-08-24 2017-08-24 Antenna switching method and mobile terminal

Country Status (1)

Country Link
CN (1) CN107483737B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742431B (en) * 2017-08-25 2020-06-19 深圳市盛路物联通讯技术有限公司 Road condition information acquisition method based on built-in antenna and electronic equipment
CN108039897B (en) * 2018-02-08 2020-11-13 Oppo广东移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment
CN108449203B (en) * 2018-02-27 2021-09-21 努比亚技术有限公司 Parameter configuration method, network equipment and computer readable storage medium
CN110098877A (en) * 2018-08-08 2019-08-06 深圳捷豹电波科技有限公司 Adjust the method and device of antenna parameter
CN109861732B (en) * 2018-12-11 2022-03-25 Oppo(重庆)智能科技有限公司 Antenna state adjusting method and device, storage medium and electronic equipment
WO2021046696A1 (en) * 2019-09-09 2021-03-18 华为技术有限公司 Antenna switching method and apparatus
US11159253B1 (en) 2020-08-05 2021-10-26 Shenzhen Jaguar Wave Technology Ltd. Method for adjusting an antenna parameter, radio device, and apparatus with a storage function
CN112040061B (en) * 2020-08-31 2021-06-29 珠海格力电器股份有限公司 Signal control method of terminal and electronic terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011088665A1 (en) * 2010-01-20 2011-07-28 中兴通讯股份有限公司 Method for improving wireless performance of communication terminal and communication terminal thereof
CN102185621A (en) * 2011-03-11 2011-09-14 深圳市华信天线技术有限公司 Antenna shifting device and signal receiving equipment
CN103414488A (en) * 2013-07-17 2013-11-27 北京小米科技有限责任公司 Mobile device antenna control method, mobile device antenna control device and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011088665A1 (en) * 2010-01-20 2011-07-28 中兴通讯股份有限公司 Method for improving wireless performance of communication terminal and communication terminal thereof
CN102185621A (en) * 2011-03-11 2011-09-14 深圳市华信天线技术有限公司 Antenna shifting device and signal receiving equipment
CN103414488A (en) * 2013-07-17 2013-11-27 北京小米科技有限责任公司 Mobile device antenna control method, mobile device antenna control device and equipment

Also Published As

Publication number Publication date
CN107483737A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN107483737B (en) Antenna switching method and mobile terminal
CN103941686A (en) Voice control method and system
CN104540190A (en) Bluetooth device matching method and system
CN107734489B (en) Method, device, storage medium and electronic equipment for dialing emergency number
CN111163503A (en) Network searching method of mobile terminal and mobile terminal
CN103841261B (en) A kind of method and communication terminal extracting communication information
CN104837167A (en) Network switching method
CN107147450B (en) Radio frequency interference processing method, device, storage medium and terminal
CN107295153B (en) Management method and terminal for switching login accounts
CN113039758A (en) Method and related device for automatically replying information
CN108696857B (en) Information processing method and network equipment for judging use condition of identity identification card
CN104967990A (en) Terminal
CN107546870B (en) Charging method based on smart antenna and electronic equipment
US20160330307A1 (en) Blacklist Management Method and Device
EP3447989B1 (en) Method for registering on voice-over-lte network, device and terminal, and computer storage medium
CN106686575A (en) Goods fleeing recognition method and goods fleeing recognition device
CN107171741B (en) Radio frequency interference processing method, device, storage medium and terminal
CN112970276B (en) Communication processing method, device, mobile terminal and storage medium
CN107846325B (en) Network state detection method and terminal
CN108566252B (en) Communication control method of wearable device and wearable device
CN108966236B (en) Pseudo base station identification switch control method and device, mobile terminal and storage medium
CN107819961B (en) Information transfer method and wearable device
CN107491332B (en) Method and device for identifying false installation of application program and server
CN110829623A (en) Charging method based on smart antenna and wearable device
CN108834160B (en) Method for determining use condition of user identity identification card and network 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
GR01 Patent grant
GR01 Patent grant