[go: up one dir, main page]

CN108494459B - Antenna switching method, device, storage medium and mobile terminal - Google Patents

Antenna switching method, device, storage medium and mobile terminal Download PDF

Info

Publication number
CN108494459B
CN108494459B CN201810175406.1A CN201810175406A CN108494459B CN 108494459 B CN108494459 B CN 108494459B CN 201810175406 A CN201810175406 A CN 201810175406A CN 108494459 B CN108494459 B CN 108494459B
Authority
CN
China
Prior art keywords
mobile terminal
antenna
type information
information
state
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.)
Expired - Fee Related
Application number
CN201810175406.1A
Other languages
Chinese (zh)
Other versions
CN108494459A (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.)
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 CN201810175406.1A priority Critical patent/CN108494459B/en
Publication of CN108494459A publication Critical patent/CN108494459A/en
Application granted granted Critical
Publication of CN108494459B publication Critical patent/CN108494459B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/0404Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas the mobile station comprising multiple antennas, e.g. to provide uplink diversity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0805Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供了一种天线切换方法、装置、存储介质及移动终端。所述方法包括以下步骤:获取所述移动终端前台正在运行的应用程序的类型信息;根据所述类型信息判断用户手持移动终端的状态信息;根据所述状态信息从所述多个天线中筛选出至少一个未被遮挡或遮挡度较低的天线作为目标天线;将所述移动终端当前所用的工作天线切换为所述目标天线。本发明具有提高移动终端的通信质量的有益效果。

Figure 201810175406

Embodiments of the present invention provide an antenna switching method, device, storage medium, and mobile terminal. The method includes the following steps: acquiring type information of the application program running in the foreground of the mobile terminal; judging the state information of the mobile terminal held by the user according to the type information; filtering out the plurality of antennas according to the state information At least one antenna that is not blocked or has a low degree of blocking is used as the target antenna; the working antenna currently used by the mobile terminal is switched to the target antenna. The present invention has the beneficial effect of improving the communication quality of the mobile terminal.

Figure 201810175406

Description

Antenna switching method, device, storage medium and mobile terminal
Technical Field
The present application relates to the field of mobile terminal technologies, and in particular, to an antenna switching method and apparatus, a storage medium, and a mobile terminal.
Background
With the rapid development of mobile terminal technology, mobile terminals such as smart phones are becoming more and more popular and become indispensable devices in people's lives.
At present, the antenna of the mobile terminal is arranged on the top side of the terminal housing, and of course, the antenna can be arranged on the bottom side, the left side and the right side. When a user uses different handheld mobile terminals, antennas at different parts are shielded, so that signals received by the antennas are deteriorated, and communication quality is affected.
Therefore, the prior art has defects and needs to be improved urgently.
Disclosure of Invention
The embodiment of the application provides an antenna switching method, an antenna switching device, a storage medium and a mobile terminal, and has the beneficial effects of improving the communication quality and efficiency of the mobile terminal.
The embodiment of the application provides an antenna switching method, which is applied to a mobile terminal, wherein the mobile terminal is provided with a plurality of antennas, and the method comprises the following steps:
acquiring the type information of the application program running at the foreground of the mobile terminal;
judging the state information of the mobile terminal held by the user according to the type information;
screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna;
and switching the currently used working antenna of the mobile terminal into the target antenna.
The embodiment of the present application further provides an antenna switching apparatus, which is used in a mobile terminal, where the mobile terminal is provided with a plurality of antennas, and the apparatus includes:
the acquisition module is used for acquiring the type information of the application program currently running by the mobile terminal;
the judging module is used for judging the state information of the mobile terminal held by the user according to the type information;
the screening module is used for screening at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to serve as a target antenna;
and the switching module is used for switching the currently used working antenna of the mobile terminal into the target antenna.
An embodiment of the present application further provides a storage medium, where a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is caused to execute the above antenna switching method.
The embodiment of the application also provides a mobile terminal, which comprises a processor and a memory, wherein the memory stores a computer program, and the processor is used for executing the antenna switching method by calling the computer program stored in the memory.
As can be seen from the above, in the embodiment of the present invention, the type information of the application program currently running on the foreground of the mobile terminal is obtained; judging the state information of the mobile terminal held by the user according to the type information; screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna; switching a working antenna currently used by the mobile terminal to the target antenna; therefore, free switching of the antenna is realized, and the communication speed and quality can be improved.
Drawings
Fig. 1 is a first schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of a radio frequency circuit of a mobile terminal according to an embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating an antenna switching method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of an antenna switching apparatus according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a second antenna switching apparatus according to an embodiment of the present application.
Fig. 6 is a second structural schematic diagram of a mobile terminal according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a third mobile terminal according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative and are only for the purpose of explaining the present application and are not to be construed as limiting the present application.
In the description of the present application, it is to be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the present application and for simplicity in description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed in a particular orientation, and be operated in a particular manner, and are not to be construed as limiting the present application. Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", may explicitly or implicitly include one or more of the described features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In the description of the present application, it is to be noted that, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In this application, unless expressly stated or limited otherwise, the first feature "on" or "under" the second feature may comprise direct contact of the first and second features, or may comprise contact of the first and second features not directly but through another feature in between. Also, the first feature being "on," "above" and "over" the second feature includes the first feature being directly on and obliquely above the second feature, or merely indicating that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature includes the first feature being directly under and obliquely below the second feature, or simply meaning that the first feature is at a lesser elevation than the second feature.
The following disclosure provides many different embodiments or examples for implementing different features of the application. In order to simplify the disclosure of the present application, specific example components and arrangements are described below. Of course, they are merely examples and are not intended to limit the present application. Moreover, the present application may repeat reference numerals and/or letters in the various examples, such repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. In addition, examples of various specific processes and materials are provided herein, but one of ordinary skill in the art may recognize applications of other processes and/or use of other materials.
Referring to fig. 1, fig. 1 is a first structural schematic diagram of a mobile terminal according to an embodiment of the present disclosure. The mobile terminal 100 is an electronic device such as a mobile phone or a tablet computer. It is understood that the mobile terminal 100 includes but is not limited to the example of the present embodiment. The mobile terminal 100 includes a cover plate 10, a display screen assembly 20, a circuit board 30, and a housing 40.
Wherein the cover plate 10 is mounted to the display screen assembly 20 to cover the display screen assembly 20. The cover plate 10 may be a transparent glass cover plate. In some embodiments, the cover plate 10 may be a glass cover plate made of a material such as sapphire.
Wherein the display screen assembly 20 is mounted on the housing 40 to form a display surface of the mobile terminal 100. The display assembly 20 serves as a front case of the mobile terminal 100 and forms an enclosed space with the housing 40 for accommodating other electronic components of the mobile terminal 100. Meanwhile, the display screen assembly 20 forms a display surface of the mobile terminal 100 for displaying information such as images, texts, etc.
The circuit board 30 is mounted inside the housing 40 to accommodate the circuit board 30 in the closed space. The circuit board 30 may be a main board of the mobile terminal 100. The circuit board 30 is provided with a grounding point to realize grounding of the circuit board 30. Functional components such as a camera and a processor may be integrated on the circuit board 30. Meanwhile, the display screen assembly 20 may be electrically connected to the circuit board 30.
In some embodiments, the circuit board 30 has disposed thereon a radio frequency circuit 31, a processor, and a memory, which the process can control.
Referring to fig. 2, the rf circuit 31 includes an rf transceiver unit 311, at least two rf front-end paths 312, an uplink feedback loop 313, and a plurality of antennas 314, where the rf transceiver unit is connected to the at least two rf front-end paths, each rf front-end path is connected to one antenna, one end of the uplink feedback loop is connected to each antenna, and the other end of the uplink feedback loop is connected to the rf transceiver unit. Wherein the case 40 is used to form an outer contour of the mobile terminal 100. The housing 40 may be a metal housing, such as an aluminum alloy housing 40.
The plurality of antennas 314 are distributed on the top side 41, the left side 42, the right side 43, and the bottom side 44 of the housing, respectively. The top side 41, the left side 42, the right side 43, and the bottom side 44 are each provided with one or more antennas 314.
Referring to fig. 3, fig. 3 is a flowchart of an antenna switching method in an embodiment of the present invention, which is used in the mobile terminal in the above embodiment. The antenna switching method comprises the following steps:
s301, acquiring the type information of the application program running in the foreground of the mobile terminal.
In this step S301, the type information includes display type information and/or operation type information. The display type information is used to describe a display state of a screen of the mobile terminal when the application is run in the foreground, such as a landscape screen display or a portrait screen display, and of course, the landscape screen display also includes a left landscape screen display and a right landscape screen display.
The application program may be a playing software, such as an arcade video player, an Tencent video player, a watermelon video player, a Youkou video player, and the like.
The application program may be game software, such as top quality coaster, royal glory, tank battle, love eliminations, fighting the landlord, etc. Of course, other types of software may be included, such as general software for maps of height, hungry bars, American groups take out, WeChat, and so on.
And S302, judging the state information of the mobile terminal held by the user according to the type information.
In step S302, the state of the handheld mobile terminal is different when operating different applications. For example, when a user is glory, the screen is displayed on a horizontal screen, the user needs to hold the mobile phone with both hands and operate the mobile phone with both hands, and the shielding of the antennas on the top side and the bottom side of the mobile terminal is serious. For example, when the mobile terminal is used for playing WeChat, the mobile terminal is used for displaying all vertical screens and is held by a single hand. When the Aiqi art is adopted to watch TV plays, the adopted horizontal screen display is generally adopted, and the mobile terminal is held by one hand and the other hand is operated.
In some embodiments, this step S302 includes:
s3021, judging that the screen display state of the mobile terminal is a horizontal screen state or a vertical screen state according to the display type information. For example, most video playing software displays in a landscape state, more complex games displays in a landscape state, and browsers and WeChat games display in a portrait state. In the invention, all the common software is classified in advance to judge whether the common software is displayed on a horizontal screen or a vertical screen under normal use.
And S3022, judging the state information of the mobile terminal held by the user according to the screen display state.
For the application program of the landscape display, the mobile phone is held by one hand and the top side or the bottom side of the mobile phone is blocked, for example, the romance is adopted. When holding the mobile phone with both hands, the hands often hold the mobile phone to block the top side and the bottom side of the mobile phone, for example, when a person playing royal jelly is glory.
For the application program of vertical screen display, the mobile phone is often held by a single hand, and the antenna on the left side or the right side of the mobile phone is blocked. For example, when using a cell phone to play WeChat.
In some embodiments, the landscape state includes a left landscape state and a right landscape state, wherein the left landscape state is the top side of the mobile terminal facing to the left and the right landscape state is the top side of the mobile terminal facing to the right.
Therefore, this step S3021 includes:
acquiring detection information of a sensor of the mobile terminal; and judging whether the screen display state of the mobile terminal is a left horizontal screen state, a right horizontal screen state or a vertical screen state according to the detection information and the display type information. In this step, detection information of the gravity sensor and/or the gyroscope is generally used to determine whether the user is in the left landscape state or the right landscape state.
In some embodiments, the type information includes display type information and operation type information, and thus the step S3022 includes: and judging the state information of the mobile terminal held by the user according to the operation type information and the screen display state, wherein the operation type information comprises a one-hand operation type or a two-hand operation type. For example, software operated by a single hand, such as video playing software, WeChat, etc., can be operated by a single hand, and therefore, a mobile phone is generally operated by a single hand. For example, when a WeChat is played, a normal user holds the mobile phone by the left hand and inputs information by the right hand, so that the antenna on the left side of the mobile phone is shielded. For example, for some two-handed software, such as a skatecar, the hands of the user are required to stick the top and bottom sides of the mobile phone when the mobile phone is displayed on the horizontal screen, and therefore the antennas on the sides and bottom sides are shielded.
In some embodiments, the shielded part of the handheld mobile phone is different for users with different handedness. Therefore, this step, step S3022, includes: acquiring the handedness information of a user, wherein the handedness information is used for describing that the user is used to use the left hand or the right hand; and judging the state information of the handheld screen of the user according to the hand habit information and the screen display state. The embodiment is mainly directed to an application program with a single handheld screen, for example, when watching a video, some people are used to a single handheld mobile phone, for example, for a left-handed person, in a left landscape display state, the top side of the mobile phone is held by the left hand, and therefore an antenna on the top side of the mobile phone is shielded. For the right-handed person, in the left horizontal screen display state, the left hand is used to hold the bottom side of the mobile phone, so that the antenna at the bottom side of the mobile phone is shielded.
The method for acquiring the handedness of the user can adopt big data acquisition and can also adopt manual input of the user.
S303, screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna.
For example, when a general user plays a game such as a game of royal jelly player using a mobile phone, the game is displayed on a landscape screen, and the user needs to perform a two-hand operation, which requires hands to stick the top side 41 and the bottom side 44 of the mobile terminal, so that the antennas on the top side 41 and the bottom side 44 are shielded, and at this time, the user needs to select the antenna on the left side or the right side of the mobile phone as a target antenna. When the romantic art of the mobile phone is used for watching a series or a movie, the mobile phone is mostly displayed by a horizontal screen, and the mobile phone is held by two hands, so that the top side and the bottom side of the mobile phone are blocked; or the mobile phone is held by a single hand, so that the top side of the mobile phone is shielded, and the left side or right side or bottom side antenna which is not shielded by the mobile phone needs to be used as the target antenna. For example, when watching a video, the left horizontal screen displays, the left hand holds the top side of the mobile phone, and the antenna on the top side is shielded. It is necessary to adopt an antenna on the left or right side or the bottom side as a target antenna.
The specific choice also looks at the communication type, e.g. GPRS or WIFI. In some embodiments, this step S303 includes:
s3031, obtaining the current communication type information of the mobile terminal.
S3032, screening out a plurality of corresponding types of antennas from the plurality of antennas according to the communication type information.
S3033, screening out at least one antenna which is not shielded or has low shielding degree from the plurality of corresponding types of antennas according to the state information to be used as a target antenna.
For example, the communication type information may include bluetooth, WIFI, 4G, 3G, 2G, and the like. Therefore, when screening the antennas, firstly, the antennas which do not conform to the communication type are filtered according to the current communication type, and then the antennas which conform to the communication type are adopted to screen the target antennas.
S304, switching the currently used working antenna of the mobile terminal into the target antenna.
After the target antenna is screened out, the switching can be carried out immediately or a prompt can be sent out, and then whether the switching is needed or not is determined according to the selection of a user. Of course, in some embodiments, the operating antennas may be divided into transmit antennas and receive antennas.
As can be seen from the above, in the embodiment of the present invention, the type information of the application program currently running on the foreground of the mobile terminal is obtained; judging the state information of the mobile terminal held by the user according to the type information; screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna; switching a working antenna currently used by the mobile terminal to the target antenna; therefore, free switching of the antenna is realized, and the communication speed and quality can be improved.
Referring to fig. 4, an embodiment of the present invention further provides an antenna switching apparatus, including: an obtaining module 401, a judging module 402, a screening module 403 and a switching module 404.
The obtaining module 401 is configured to obtain type information of an application currently running on the mobile terminal. Wherein the type information comprises display type information and/or operation type information. The display type information is used to describe a display state of a screen of the mobile terminal when the application is run in the foreground, such as a landscape screen display or a portrait screen display, and of course, the landscape screen display also includes a left landscape screen display and a right landscape screen display.
The judging module 402 is configured to judge the state information of the mobile terminal held by the user according to the type information. The state of the handheld mobile terminal is different for operating different applications. For example, when a user is glory, the screen is displayed on a horizontal screen, the user needs to hold the mobile phone with both hands and operate the mobile phone with both hands, and the shielding of the antennas on the top side and the bottom side of the mobile terminal is serious. For example, when the mobile terminal is used for playing WeChat, the mobile terminal is used for displaying all vertical screens and is held by a single hand. When the Aiqi art is adopted to watch TV plays, the adopted horizontal screen display is generally adopted, and the mobile terminal is held by one hand and the other hand is operated. For the application program of the landscape display, the mobile phone is held by one hand and the top side or the bottom side of the mobile phone is blocked, for example, the romance is adopted. When holding the mobile phone with both hands, the hands often hold the mobile phone to block the top side and the bottom side of the mobile phone, for example, when a person playing royal jelly is glory.
Referring to fig. 5, in some embodiments, the determining module 402 includes: a first judgment unit 4021 and a second judgment unit 4022. The first judging unit 4021 is configured to judge that the screen display state of the mobile terminal is a horizontal screen state or a vertical screen state according to the display type information. The second judging unit 4022 is configured to judge the state information of the mobile terminal held by the user according to the display state of the screen.
In some embodiments, the first determining unit 4021 is configured to acquire detection information of a gyroscope of the mobile terminal, and determine, according to the detection information and the display type information, that the screen display state of the mobile terminal is a left landscape screen state, a right landscape screen state, or a vertical screen state. For example, most video playing software displays in a landscape state, more complex games displays in a landscape state, and browsers and WeChat games display in a portrait state. In the invention, all the common software is classified in advance to judge whether the common software is displayed on a horizontal screen or a vertical screen under normal use
In some embodiments, the second determining unit 4022 is configured to determine the state information of the mobile terminal held by the user according to the operation type information and the screen display state, where the operation type information includes a one-handed operation type or a two-handed operation type.
The screening module 403 is configured to screen at least one unobstructed antenna or antenna with a low obstruction degree from the multiple antennas according to the status information. For example, when a general user plays a game such as a game of royal jelly player using a mobile phone, the game is displayed on a landscape screen, and the user needs to perform a two-hand operation, which requires hands to stick the top side 41 and the bottom side 44 of the mobile terminal, so that the antennas on the top side 41 and the bottom side 44 are shielded, and at this time, the user needs to select the antenna on the left side or the right side of the mobile phone as a target antenna. When the romantic art of the mobile phone is used for watching a series or a movie, the mobile phone is mostly displayed by a horizontal screen, and the mobile phone is held by two hands, so that the top side and the bottom side of the mobile phone are blocked; or the mobile phone is held by a single hand, so that the top side of the mobile phone is shielded, and the left side or right side or bottom side antenna which is not shielded by the mobile phone needs to be used as the target antenna. For example, when watching a video, the left horizontal screen displays, the left hand holds the top side of the mobile phone, and the antenna on the top side is shielded. It is necessary to adopt an antenna on the left or right side or the bottom side as a target antenna.
The specific choice also looks at the communication type, e.g. GPRS or WIFI. In some embodiments, the screening module 403 is configured to obtain current communication type information of the mobile terminal, screen a plurality of antennas of corresponding types from the plurality of antennas according to the communication type information, and screen at least one antenna that is not blocked or has a low blocking degree from the plurality of antennas of corresponding types as a target antenna according to the state information.
The switching module 404 is configured to switch a working antenna currently used by the mobile terminal to the target antenna.
As can be seen from the above, in the embodiment of the present invention, the type information of the application program currently running on the foreground of the mobile terminal is obtained; judging the state information of the mobile terminal held by the user according to the type information; screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna; switching a working antenna currently used by the mobile terminal to the target antenna; therefore, free switching of the antenna is realized, and the communication speed and quality can be improved.
Referring to fig. 6, an embodiment of the present application further provides a mobile terminal. The mobile terminal can be a smart phone, a tablet computer and other devices. The mobile terminal 600 includes a processor 601 and memory 602. The processor 601 is electrically connected to the memory 602.
The processor 601 is a control center of the mobile terminal 600, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or calling a computer program stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 601 in the mobile terminal 600 loads instructions corresponding to one or more computer program processes into the memory 602 according to the following steps, and the processor 601 runs the computer program stored in the memory 602, so as to implement various functions, for example:
acquiring the type information of the application program running at the foreground of the mobile terminal; judging the state information of the mobile terminal held by the user according to the type information; screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna; switching a working antenna currently used by the mobile terminal to the target antenna; thereby realizing free switching of the antenna.
In some embodiments, the processor 601 is further configured to perform the following steps:
judging whether the screen display state of the mobile terminal is a horizontal screen state or a vertical screen state according to the display type information;
and judging the state information of the mobile terminal held by the user according to the screen display state.
In some embodiments, the processor 601 is further configured to perform the following steps:
and judging the state information of the mobile terminal held by the user according to the operation type information and the screen display state, wherein the operation type information comprises a one-hand operation type or a two-hand operation type.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring detection information of a sensor of the mobile terminal;
and judging whether the screen display state of the mobile terminal is a left horizontal screen state, a right horizontal screen state or a vertical screen state according to the detection information and the display type information.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring the handedness information of a user, wherein the handedness information is used for describing that the user is used to use the left hand or the right hand;
and judging the state information of the handheld screen of the user according to the hand habit information and the screen display state.
In some embodiments, the processor 601 is further configured to perform the following steps:
acquiring the current communication type information of the mobile terminal;
screening out a plurality of antennas of corresponding types from the plurality of antennas according to the communication type information;
and screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas of corresponding types as a target antenna according to the state information.
The memory 602 may be used to store computer programs and data. The memory 602 stores computer programs comprising instructions executable in the processor. The computer program may constitute various functional modules. The processor 601 executes various functional applications and data processing by calling a computer program stored in the memory 602.
Referring also to fig. 7, in some embodiments, the mobile terminal 600 may further include: a display 603, a radio frequency circuit 604, an audio circuit 605, a wireless fidelity module 606, and a power supply 607. The display 603, the rf circuit 604, the audio circuit 605, the wireless fidelity module 606 and the power supply 607 are electrically connected to the processor 601, respectively.
The display 603 may be used to display information entered by or provided to the user as well as various graphical user interfaces, which may be made up of graphics, text, icons, video, and any combination thereof. The Display 603 may include a Display panel, and in some embodiments, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The rf circuit 604 may be configured to transceive rf signals to establish wireless communication with a network device or other mobile terminal via wireless communication, and to transceive signals with the network device or other mobile terminal.
The audio circuit 605 may be used to provide an audio interface between the user and the mobile terminal through a speaker, microphone.
The wi-fi module 606 may be used for short-range wireless transmission, may assist a user in sending and receiving e-mail, browsing websites, accessing streaming media, etc., and provides wireless broadband internet access for the user.
The power supply 607 may be used to power various components of the mobile terminal 600. In some embodiments, the power supply 607 may be logically coupled to the processor 601 through a power management system, such that the power management system may manage charging, discharging, and power consumption management functions.
Although not shown in fig. 7, the mobile terminal 600 may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
Therefore, the embodiment of the invention obtains the type information of the application program running in the foreground of the mobile terminal; judging the state information of the mobile terminal held by the user according to the type information; screening out at least one antenna which is not shielded or has low shielding degree from the plurality of antennas according to the state information to be used as a target antenna; switching a working antenna currently used by the mobile terminal to the target antenna; therefore, free switching of the antenna is realized, and the communication speed and quality can be improved.
It should be noted that, all or part of the steps in the methods of the above embodiments may be implemented by hardware related to instructions of a computer program, which may be stored in a computer-readable storage medium, which may include, but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The antenna switching method, the antenna switching device, the storage medium and the mobile terminal provided in the embodiments of the present application are described in detail above, and a specific example is applied in the description to explain the principles and the embodiments of the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, 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 application.

Claims (6)

1.一种天线切换方法,应用于移动终端中,所述移动终端设置有多个天线,其特征在于,所述方法包括以下步骤:1. An antenna switching method, applied in a mobile terminal, wherein the mobile terminal is provided with a plurality of antennas, wherein the method comprises the following steps: 获取所述移动终端前台正在运行的应用程序的类型信息,所述类型信息包括显示类型信息和操作类型信息;Acquire the type information of the application program running in the foreground of the mobile terminal, where the type information includes display type information and operation type information; 获取移动终端的传感器的检测信息;Obtain the detection information of the sensor of the mobile terminal; 根据所述检测信息以及所述显示类型信息判断所述移动终端的屏幕显示状态为左横屏状态、右横屏状态或竖屏状态;Judging, according to the detection information and the display type information, that the screen display state of the mobile terminal is a left horizontal screen state, a right horizontal screen state or a vertical screen state; 根据所述操作类型信息、用手习惯信息以及所述屏幕显示状态判断用户手持移动终端的状态信息,其中,所述用手习惯信息用于描述用户习惯用左手或右手,所述操作类型信息包括单手操作型或双手操作型;The state information of the user holding the mobile terminal is determined according to the operation type information, the hand habit information and the screen display state, wherein the hand habit information is used to describe the user's habit of using the left hand or the right hand, and the operation type information includes: One-handed or two-handed; 获取所述移动终端当前的通信类型信息;obtaining the current communication type information of the mobile terminal; 根据所述通信类型信息从所述多个天线中筛选出多个对应类型的天线;Filter out a plurality of antennas of corresponding types from the plurality of antennas according to the communication type information; 根据所述状态信息从所述多个对应类型的天线中筛选出至少一个未被遮挡或遮挡度较低的天线作为目标天线;According to the state information, at least one antenna that is not blocked or has a low degree of blocking is selected from the plurality of antennas of the corresponding type as the target antenna; 将所述移动终端当前所用的工作天线切换为所述目标天线。The working antenna currently used by the mobile terminal is switched to the target antenna. 2.根据权利要求1所述的天线切换方法,其特征在于,所述传感器包括重力传感器和/或或陀螺仪。2. The antenna switching method according to claim 1, wherein the sensor comprises a gravity sensor and/or a gyroscope. 3.一种天线切换装置,用于移动终端中,所述移动终端设置有多个天线,其特征在于,所述装置包括:3. An antenna switching device, used in a mobile terminal, wherein the mobile terminal is provided with multiple antennas, wherein the device comprises: 获取模块,用于获取所述移动终端当前正在运行的应用程序的类型信息,所述类型信息包括显示类型信息和操作类型信息;an acquisition module, configured to acquire type information of an application currently running by the mobile terminal, where the type information includes display type information and operation type information; 判断模块,所述判断模块包括第一判断模块和第二判断模块,所述第一判断模块用于获取移动终端的传感器的检测信息,根据所述检测信息以及所述显示类型信息判断所述移动终端的屏幕显示状态为左横屏状态、右横屏状态或竖屏状态;所述第二判断模块用于根据所述操作类型信息、用手习惯信息以及所述屏幕显示状态判断用户手持移动终端的状态信息,其中,所述用手习惯信息用于描述用户习惯用左手或右手,所述操作类型信息包括单手操作型或双手操作型;Judging module, the judging module includes a first judging module and a second judging module, the first judging module is used to obtain the detection information of the sensor of the mobile terminal, and judge the mobile terminal according to the detection information and the display type information. The screen display state of the terminal is the left horizontal screen state, the right horizontal screen state or the vertical screen state; the second judgment module is used to judge the user holding the mobile terminal according to the operation type information, the hand habit information and the screen display state The state information of , wherein the hand habit information is used to describe the user's habit of using the left hand or the right hand, and the operation type information includes one-hand operation type or two-hand operation type; 筛选模块,用于根据所述状态信息从所述多个天线中筛选出至少一个未被遮挡或遮挡度较低的天线作为目标天线;a screening module, configured to screen out at least one unobstructed or low-occlusion antenna from the plurality of antennas as a target antenna according to the state information; 切换模块,用于将所述移动终端当前所用的工作天线切换为所述目标天线。A switching module, configured to switch the working antenna currently used by the mobile terminal to the target antenna. 4.根据权利要求3所述的天线切换装置,其特征在于,所述第一判断单元用于获取移动终端的陀螺仪的检测信息,并根据所述检测信息以及所述显示类型信息判断所述移动终端的屏幕显示状态为左横屏状态、右横屏状态或竖屏状态。4 . The antenna switching device according to claim 3 , wherein the first determination unit is configured to acquire detection information of a gyroscope of a mobile terminal, and determine the detection information and the display type information according to the detection information and the display type information. 5 . The screen display state of the mobile terminal is a left horizontal screen state, a right horizontal screen state or a vertical screen state. 5.一种存储介质,其特征在于,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1至2任一项所述的天线切换装方法。5. A storage medium, characterized in that, a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer is made to execute the antenna switching according to any one of claims 1 to 2 installation method. 6.一种移动终端,其特征在于,所述移动终端包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行权利要求1至2任一项所述的天线切换装方法。6. A mobile terminal, characterized in that the mobile terminal comprises a processor and a memory, and a computer program is stored in the memory, and the processor is used to execute the computer program by invoking the computer program stored in the memory. The antenna switching method according to any one of claims 1 to 2.
CN201810175406.1A 2018-03-02 2018-03-02 Antenna switching method, device, storage medium and mobile terminal Expired - Fee Related CN108494459B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810175406.1A CN108494459B (en) 2018-03-02 2018-03-02 Antenna switching method, device, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810175406.1A CN108494459B (en) 2018-03-02 2018-03-02 Antenna switching method, device, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN108494459A CN108494459A (en) 2018-09-04
CN108494459B true CN108494459B (en) 2021-10-26

Family

ID=63341362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810175406.1A Expired - Fee Related CN108494459B (en) 2018-03-02 2018-03-02 Antenna switching method, device, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN108494459B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547084B (en) * 2019-01-03 2023-12-22 上海龙旗科技股份有限公司 Method, device and storage medium for determining target antenna
CN112118337A (en) * 2020-09-25 2020-12-22 Oppo(重庆)智能科技有限公司 Antenna control method and electronic equipment
CN112153194B (en) * 2020-09-25 2022-05-17 Oppo广东移动通信有限公司 Electronic device
TWI774298B (en) 2021-03-30 2022-08-11 華碩電腦股份有限公司 Electronic device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483092A (en) * 2017-07-27 2017-12-15 广东欧珀移动通信有限公司 Antenna switching method, device and terminal
CN107493392A (en) * 2017-09-12 2017-12-19 维沃移动通信有限公司 The transverse screen mode of mobile terminal and the matching process of antenna mode and mobile terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6115406A (en) * 1999-09-10 2000-09-05 Interdigital Technology Corporation Transmission using an antenna array in a CDMA communication system
CN104915143B (en) * 2015-06-19 2019-01-22 努比亚技术有限公司 The control method and terminal of Rimless mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483092A (en) * 2017-07-27 2017-12-15 广东欧珀移动通信有限公司 Antenna switching method, device and terminal
CN107493392A (en) * 2017-09-12 2017-12-19 维沃移动通信有限公司 The transverse screen mode of mobile terminal and the matching process of antenna mode and mobile terminal

Also Published As

Publication number Publication date
CN108494459A (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN108521499B (en) Antenna switching method, storage medium and electronic device
CN104915143B (en) The control method and terminal of Rimless mobile terminal
CN108494459B (en) Antenna switching method, device, storage medium and mobile terminal
WO2015172704A1 (en) To-be-shared interface processing method, and terminal
US11363196B2 (en) Image selection method and related product
US20150310637A1 (en) Interface adjustment method, apparatus, and terminal
US20160292946A1 (en) Method and apparatus for collecting statistics on network information
CN105791947A (en) Method and device for playing video
CN107731146A (en) Brightness adjusting method and related product
CN105792006A (en) Interactive information display method and device
CN104159140B (en) A kind of methods, devices and systems of Video processing
CN108553896B (en) State information display control method, terminal and computer readable storage medium
US10698579B2 (en) Method, device for displaying reference content and storage medium thereof
CN105808060A (en) Method and device for playing animation
US20140369525A1 (en) Volume adjusting method, volume adjusting apparatus and electronic device using the same
CN108366437A (en) Network identification display method, device and mobile terminal
CN110213440A (en) A kind of images share method and terminal
CN107832601A (en) A kind of application control method and mobile terminal
US20220319378A1 (en) Screen color temperature control method, apparatus, storage medium, and mobile terminal
CN107817988A (en) Push message management method and related products
CN106657657B (en) Method, the system of mobile terminal and mobile terminal video browsing
CN109710151B (en) File processing method and terminal equipment
CN105739856A (en) Object operation processing execution method and apparatus
CN108417988B (en) Antenna switching method, antenna assembly, electronic device and storage medium
CN105635553A (en) Image shooting method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20211026

CF01 Termination of patent right due to non-payment of annual fee