[go: up one dir, main page]

CN107947825B - Antenna selection circuit and mobile terminal - Google Patents

Antenna selection circuit and mobile terminal Download PDF

Info

Publication number
CN107947825B
CN107947825B CN201711185966.7A CN201711185966A CN107947825B CN 107947825 B CN107947825 B CN 107947825B CN 201711185966 A CN201711185966 A CN 201711185966A CN 107947825 B CN107947825 B CN 107947825B
Authority
CN
China
Prior art keywords
wifi
antenna
module
mobile terminal
switch
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
CN201711185966.7A
Other languages
Chinese (zh)
Other versions
CN107947825A (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 CN201711185966.7A priority Critical patent/CN107947825B/en
Publication of CN107947825A publication Critical patent/CN107947825A/en
Application granted granted Critical
Publication of CN107947825B publication Critical patent/CN107947825B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • H04B1/401Circuits for selecting or indicating operating mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例公开了一种天线选择电路以及移动终端,天线选择电路包括主WiFi天线、辅WiFi天线、切换开关、控制模块以及WiFi模块,切换开关包括选择端、主天线连接端、辅天线连接端以及控制端,主天线连接端连接主WiFi天线,辅天线连接端连接辅WiFi天线;控制模块的输出端连接控制端,控制模块的输入端连接WiFi模块的信号检测端,WiFi模块的输入端连接选择端;控制模块,用于检测WiFi模块接收的WiFi信号强度,以及用于在检测WiFi信号强度小于预设强度阈值时向切换开关发送切换信号,切换信号用于控制切换开关切换与WiFi模块连通的WiFi天线。本发明实施例可以通过检测WiFi信号的强度来切换WiFi模块连通的WiFi天线,从而保证移动终端接收的WiFi信号的强度。

Figure 201711185966

The embodiment of the present invention discloses an antenna selection circuit and a mobile terminal. The antenna selection circuit includes a main WiFi antenna, an auxiliary WiFi antenna, a switch, a control module and a WiFi module. The switch includes a selection end, a main antenna connection end, and an auxiliary antenna connection The main antenna connection end is connected to the main WiFi antenna, and the auxiliary antenna connection end is connected to the auxiliary WiFi antenna; the output end of the control module is connected to the control end, the input end of the control module is connected to the signal detection end of the WiFi module, and the input end of the WiFi module Connect the selection terminal; the control module is used to detect the WiFi signal strength received by the WiFi module, and to send a switching signal to the switch when the detected WiFi signal strength is less than the preset strength threshold, and the switching signal is used to control the switch between the switch and the WiFi module. Connected WiFi antenna. In the embodiment of the present invention, the WiFi antenna connected to the WiFi module can be switched by detecting the strength of the WiFi signal, thereby ensuring the strength of the WiFi signal received by the mobile terminal.

Figure 201711185966

Description

天线选择电路以及移动终端Antenna selection circuit and mobile terminal

技术领域technical field

本发明涉及终端技术领域,具体涉及一种天线选择电路以及移动终端。The present invention relates to the technical field of terminals, in particular to an antenna selection circuit and a mobile terminal.

背景技术Background technique

目前,手机等移动终端的WiFi天线一般设置在手机的顶端或者底端,在手机处于横屏状态下,WiFi天线容易被手心握住,可能会导致天线性能变差,WiFi信号变弱。At present, the WiFi antennas of mobile terminals such as mobile phones are generally set at the top or bottom of the mobile phone. When the mobile phone is in the horizontal screen state, the WiFi antenna is easily held in the palm of the hand, which may lead to poor antenna performance and weak WiFi signal.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种天线选择电路以及移动终端,可以改善WiFi信号变弱的问题。Embodiments of the present invention provide an antenna selection circuit and a mobile terminal, which can improve the problem of weak WiFi signals.

本发明实施例第一方面提供一种天线选择电路,所述天线选择电路包括主WiFi天线、辅WiFi天线、切换开关、控制模块以及WiFi模块,其中:A first aspect of the embodiments of the present invention provides an antenna selection circuit, the antenna selection circuit includes a main WiFi antenna, a secondary WiFi antenna, a switch, a control module, and a WiFi module, wherein:

所述切换开关包括选择端、主天线连接端、辅天线连接端以及控制端,所述主天线连接端连接所述主WiFi天线,所述辅天线连接端连接所述辅WiFi天线;所述控制模块的输出端连接所述控制端,所述控制模块的输入端连接所述WiFi模块的信号检测端,所述WiFi模块的输入端连接所述选择端;The switch includes a selection end, a main antenna connection end, an auxiliary antenna connection end and a control end, the main antenna connection end is connected to the main WiFi antenna, and the auxiliary antenna connection end is connected to the auxiliary WiFi antenna; the control The output end of the module is connected to the control end, the input end of the control module is connected to the signal detection end of the WiFi module, and the input end of the WiFi module is connected to the selection end;

所述控制模块,用于检测所述WiFi模块接收的WiFi信号强度,以及用于在检测所述WiFi信号强度小于预设强度阈值时向所述切换开关发送切换信号,所述切换信号用于控制所述切换开关切换与所述WiFi模块连通的WiFi天线。The control module is configured to detect the WiFi signal strength received by the WiFi module, and to send a switching signal to the switch when it is detected that the WiFi signal strength is less than a preset strength threshold, where the switching signal is used to control The switch switches the WiFi antenna communicated with the WiFi module.

本发明实施例第二方面提供一种移动终端,包括本发明实施例第一方面的天线选择电路。A second aspect of the embodiments of the present invention provides a mobile terminal, including the antenna selection circuit of the first aspect of the embodiments of the present invention.

本发明实施例第三方面提供一种天线选择方法,包括:A third aspect of the embodiments of the present invention provides an antenna selection method, including:

检测WiFi模块接收的WiFi信号强度;Detect the WiFi signal strength received by the WiFi module;

在检测WiFi信号强度小于预设强度阈值时,向切换开关发送切换信号,切换信号用于控制切换开关切换与WiFi模块连通的WiFi天线。When it is detected that the WiFi signal strength is less than the preset strength threshold, a switching signal is sent to the switch, and the switch signal is used to control the switch to switch the WiFi antenna connected to the WiFi module.

本发明实施例中,控制模块可以检测WiFi模块接收的WiFi信号强度,并在检测到WiFi信号强度小于预设强度阈值时向切换开关发送切换信号,该切换信号用于控制切换开关切换与WiFi模块连通的WiFi天线。本发明实施例可以通过检测WiFi信号的强度来切换WiFi模块连通的WiFi天线,从而保证移动终端接收的WiFi信号的强度。In the embodiment of the present invention, the control module can detect the WiFi signal strength received by the WiFi module, and send a switching signal to the switch when it is detected that the WiFi signal strength is less than a preset strength threshold, and the switching signal is used to control the switch to switch between the WiFi module and the switch. Connected WiFi antenna. In the embodiment of the present invention, the WiFi antenna connected to the WiFi module can be switched by detecting the strength of the WiFi signal, thereby ensuring the strength of the WiFi signal received by the mobile terminal.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.

图1是本发明实施例公开的一种天线选择电路的结构示意图;1 is a schematic structural diagram of an antenna selection circuit disclosed in an embodiment of the present invention;

图2a是本发明实施例公开的一种主WiFi天线与辅WiFi天线的相对位置示意图;2a is a schematic diagram of the relative positions of a primary WiFi antenna and a secondary WiFi antenna disclosed in an embodiment of the present invention;

图2b是本发明实施例公开的另一种主WiFi天线与辅WiFi天线的相对位置示意图;2b is a schematic diagram of the relative positions of another primary WiFi antenna and a secondary WiFi antenna disclosed in an embodiment of the present invention;

图3a是本发明实施例公开的另一种天线选择电路的结构示意图;3a is a schematic structural diagram of another antenna selection circuit disclosed in an embodiment of the present invention;

图3b是本发明实施例公开的另一种天线选择电路的结构示意图;3b is a schematic structural diagram of another antenna selection circuit disclosed in an embodiment of the present invention;

图3c是本发明实施例公开的另一种天线选择电路的结构示意图;3c is a schematic structural diagram of another antenna selection circuit disclosed in an embodiment of the present invention;

图4是本发明实施例公开的一种移动终端的结构示意图;4 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention;

图5是本发明实施例公开的另一种移动终端的结构示意图;5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图6是本发明实施例公开的另一种移动终端的结构示意图;6 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention;

图7是本发明实施例公开的一种天线选择方法的流程示意图;7 is a schematic flowchart of an antenna selection method disclosed in an embodiment of the present invention;

图8是本发明实施例公开的另一种移动终端的结构示意图。FIG. 8 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make those skilled in the art better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes Other steps or units inherent in a process, product or equipment.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本发明的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

此外,本发明实施例所涉及到的移动终端可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为移动终端。In addition, the mobile terminals involved in the embodiments of the present invention may include various handheld devices with wireless communication functions, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to wireless modems, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) and so on. For the convenience of description, the devices mentioned above are collectively referred to as mobile terminals.

下面对本发明实施例进行详细介绍。The embodiments of the present invention will be described in detail below.

请参阅图1,图1是本发明实施例公开的一种天线选择电路的结构示意图,如图1所示,该天线选择电路包括主WiFi天线11、辅WiFi天线12、切换开关21、控制模块31以及WiFi模块41,其中:Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of an antenna selection circuit disclosed in an embodiment of the present invention. As shown in FIG. 1, the antenna selection circuit includes a main WiFi antenna 11, a secondary WiFi antenna 12, a switch 21, and a control module. 31 and WiFi module 41, wherein:

切换开关21包括选择端211、主天线连接端212、辅天线连接端213以及控制端214,主天线连接端212连接主WiFi天线11,辅天线连接端213连接辅WiFi天线12;控制模块31的输出端311连接控制端214,控制模块31的输入端312连接WiFi模块41的信号检测端412,WiFi模块41的输入端411连接选择端211;The switch 21 includes a selection end 211 , a main antenna connection end 212 , an auxiliary antenna connection end 213 and a control end 214 . The main antenna connection end 212 is connected to the main WiFi antenna 11 , and the auxiliary antenna connection end 213 is connected to the auxiliary WiFi antenna 12 ; The output terminal 311 is connected to the control terminal 214, the input terminal 312 of the control module 31 is connected to the signal detection terminal 412 of the WiFi module 41, and the input terminal 411 of the WiFi module 41 is connected to the selection terminal 211;

控制模块311,用于检测WiFi模块41接收的WiFi信号强度,以及用于在检测WiFi信号强度小于预设强度阈值时向切换开关21发送切换信号,切换信号用于控制切换开关21切换与WiFi模块41连通的WiFi天线。举例来说,预设信号强度阈值可以设置为-90dbm。The control module 311 is used to detect the WiFi signal strength received by the WiFi module 41, and is used to send a switching signal to the switch 21 when the detected WiFi signal strength is less than a preset strength threshold, and the switching signal is used to control the switch 21 to switch between the WiFi module 41 connected WiFi antennas. For example, the preset signal strength threshold can be set to -90dbm.

本发明实施例中的天线选择电路可以应用于手机等移动终端中。为了便于说明,以下的部分实施例中以手机为例进行说明。The antenna selection circuit in the embodiment of the present invention can be applied to a mobile terminal such as a mobile phone. For the convenience of description, a mobile phone is used as an example for description in some of the following embodiments.

本发明实施例中的主WiFi天线11和辅WiFi天线12不与其他天线(例如,主集天线、分集天线、GPS天线等)共用,是仅供WiFi模块使用的天线。也就是说,本发明实施例中的手机设置两根专用于接收WiFi信号的WiFi天线:主WiFi天线11和辅WiFi天线12。主WiFi天线11和辅WiFi天线12的位置关系可以为:主WiFi天线11的天线辐射体与辅WiFi天线12的天线辐射体设置在手机边框的相对两侧。如图2a所示,图2a是本发明实施例公开的一种主WiFi天线与辅WiFi天线的相对位置示意图。从图2a中的左图可以看出,主WiFi天线11的天线辐射体可以设置在手机的边框顶端,辅WiFi天线12的天线辐射体可以设置在手机的边框底端。从图2a中的右图可以看出,主WiFi天线11的天线辐射体可以设置在手机的边框左侧,辅WiFi天线12的天线辐射体可以设置在手机的边框右侧。The primary WiFi antenna 11 and the secondary WiFi antenna 12 in the embodiment of the present invention are not shared with other antennas (eg, primary antenna, diversity antenna, GPS antenna, etc.), and are antennas only used by the WiFi module. That is to say, the mobile phone in the embodiment of the present invention is provided with two WiFi antennas dedicated to receiving WiFi signals: a main WiFi antenna 11 and a secondary WiFi antenna 12 . The positional relationship between the main WiFi antenna 11 and the auxiliary WiFi antenna 12 may be as follows: the antenna radiator of the main WiFi antenna 11 and the antenna radiator of the auxiliary WiFi antenna 12 are arranged on opposite sides of the frame of the mobile phone. As shown in FIG. 2a, FIG. 2a is a schematic diagram of relative positions of a primary WiFi antenna and a secondary WiFi antenna disclosed in an embodiment of the present invention. As can be seen from the left figure in FIG. 2a, the antenna radiator of the main WiFi antenna 11 can be set at the top of the frame of the mobile phone, and the antenna radiator of the auxiliary WiFi antenna 12 can be set at the bottom of the frame of the mobile phone. It can be seen from the right figure in FIG. 2a that the antenna radiator of the main WiFi antenna 11 can be set on the left side of the frame of the mobile phone, and the antenna radiator of the auxiliary WiFi antenna 12 can be set on the right side of the frame of the mobile phone.

可选的,主WiFi天线11和辅WiFi天线12的位置关系还可以为:主WiFi天线11的天线辐射体与辅WiFi天线12的天线辐射体设置在手机边框的相邻两侧。如图2b所示,图2b是本发明实施例公开的另一种主WiFi天线与辅WiFi天线的相对位置示意图。从图2b中的左图可以看出,主WiFi天线11的天线辐射体可以设置在手机的边框顶端,辅WiFi天线12的天线辐射体可以设置在手机的边框右侧。从图2b中的右图可以看出,主WiFi天线11的天线辐射体可以设置在手机的边框顶端,辅WiFi天线12的天线辐射体可以设置在手机的边框左侧。Optionally, the positional relationship between the main WiFi antenna 11 and the auxiliary WiFi antenna 12 may also be as follows: the antenna radiator of the main WiFi antenna 11 and the antenna radiator of the auxiliary WiFi antenna 12 are arranged on adjacent sides of the mobile phone frame. As shown in FIG. 2b, FIG. 2b is a schematic diagram of relative positions of another primary WiFi antenna and a secondary WiFi antenna disclosed in an embodiment of the present invention. It can be seen from the left figure in FIG. 2b that the antenna radiator of the main WiFi antenna 11 can be set on the top of the frame of the mobile phone, and the antenna radiator of the auxiliary WiFi antenna 12 can be set on the right side of the frame of the mobile phone. It can be seen from the right figure in FIG. 2b that the antenna radiator of the main WiFi antenna 11 can be set on the top of the frame of the mobile phone, and the antenna radiator of the auxiliary WiFi antenna 12 can be set on the left side of the frame of the mobile phone.

在用户需要横屏使用手机的场景中,例如,全屏观看视频或者全屏玩游戏时。用户的手心容易遮挡主WiFi天线或者辅WiFi天线的天线辐射体部分,导致主WiFi天线或者副WiFi天线接收的WiFi信号变差。基于上述场景,本发明实施例提供一种天线选择电路以及天线选择方法,可以保证移动终端接收的WiFi信号的强度。In scenarios where the user needs to use the phone in landscape orientation, for example, when watching videos in full screen or playing games in full screen. The user's palm can easily block the antenna radiator part of the main WiFi antenna or the auxiliary WiFi antenna, resulting in poor WiFi signals received by the main WiFi antenna or the auxiliary WiFi antenna. Based on the above scenario, embodiments of the present invention provide an antenna selection circuit and an antenna selection method, which can ensure the strength of a WiFi signal received by a mobile terminal.

本发明实施例中,切换开关21可以是单刀双掷开关。如图3a所示,控制模块31可以向切换开关21发送切换信号以控制切换开关21的选择端211与主天线连接端212或辅天线连接端213连接。在同一时刻,切换开关21的选择端211只能选择连接主天线连接端212与辅天线连接端213中的一个。In this embodiment of the present invention, the switch 21 may be a single-pole double-throw switch. As shown in FIG. 3 a , the control module 31 may send a switching signal to the switch 21 to control the selection terminal 211 of the switch 21 to be connected to the main antenna connection terminal 212 or the auxiliary antenna connection terminal 213 . At the same time, the selection terminal 211 of the switch 21 can only select and connect one of the main antenna connection terminal 212 and the auxiliary antenna connection terminal 213 .

可选的,切换信号包括第一切换信号或第二切换信号,第一切换信号具体用于当WiFi模块41与主WiFi天线11连接时,将WiFi模块41切换至与辅WiFi天线12连接。具体的,切换开关21以单刀双掷开关为例,可以参见图3b所示的天线切换电路示意图,在初始状态下,WiFi模块41与主WiFi天线11连接,切换开关21的选择端211与主天线连接端212连接,当控制模块31检测到WiFi模块41接收的WiFi信号强度小于预设强度阈值时,控制模块31向切换开关21发送第一切换信号,以使切换开关21的选择端211与辅天线连接端213连接,从而将WiFi模块41与辅WiFi天线12连接,进而实现WiFi模块连接的WiFi天线从主WiFi天线11切换至辅WiFi天线12。Optionally, the switching signal includes a first switching signal or a second switching signal, and the first switching signal is specifically used to switch the WiFi module 41 to connect to the secondary WiFi antenna 12 when the WiFi module 41 is connected to the primary WiFi antenna 11 . Specifically, the switch 21 is a SPDT switch as an example, please refer to the schematic diagram of the antenna switching circuit shown in FIG. 3b. In the initial state, the WiFi module 41 is connected to the main WiFi antenna 11, and the selection terminal 211 of the switch 21 is connected to the main WiFi The antenna connection terminal 212 is connected, when the control module 31 detects that the WiFi signal strength received by the WiFi module 41 is less than the preset strength threshold, the control module 31 sends a first switching signal to the switch 21, so that the selection terminal 211 of the switch 21 and The auxiliary antenna connection end 213 is connected, so as to connect the WiFi module 41 with the auxiliary WiFi antenna 12 , thereby realizing the switching of the WiFi antenna connected by the WiFi module from the main WiFi antenna 11 to the auxiliary WiFi antenna 12 .

第二切换信号具体用于当WiFi模块41与辅WiFi天线12连接时,将WiFi模块41切换至与主WiFi天线11连接。The second switching signal is specifically used to switch the WiFi module 41 to be connected to the main WiFi antenna 11 when the WiFi module 41 is connected to the secondary WiFi antenna 12 .

具体的,切换开关21以单刀双掷开关为例,可以参见图3c所示的天线切换电路示意图,在初始状态下,WiFi模块41与辅WiFi天线12连接,切换开关21的选择端211与辅天线连接端213连接,当控制模块31检测到WiFi模块41接收的WiFi信号强度小于预设强度阈值时,控制模块31向切换开关21发送第二切换信号,以使切换开关21的选择端211与主天线连接端212连接,从而将WiFi模块41与主WiFi天线11连接,进而实现WiFi模块连接的WiFi天线从辅WiFi天线12切换至主WiFi天线11。Specifically, the switch 21 takes a SPDT switch as an example. Refer to the schematic diagram of the antenna switching circuit shown in FIG. 3c. In the initial state, the WiFi module 41 is connected to the auxiliary WiFi antenna 12, and the selection terminal 211 of the switch 21 is connected to the auxiliary WiFi antenna 12. The antenna connection terminal 213 is connected, when the control module 31 detects that the WiFi signal strength received by the WiFi module 41 is less than the preset strength threshold, the control module 31 sends a second switching signal to the switch 21, so that the selection terminal 211 of the switch 21 is connected to the switch 21. The main antenna connection end 212 is connected, thereby connecting the WiFi module 41 to the main WiFi antenna 11 , thereby realizing the switching of the WiFi antenna connected by the WiFi module from the auxiliary WiFi antenna 12 to the main WiFi antenna 11 .

上述举例以切换开关21为单刀双掷开关为例。可选的,切换开关21也可以包括第一开关管和第二开关管,对应的,切换开关21可以包括两个控制端214。第一开关管的第一端连接切换开关21的选择端211,第一开关管的第二端连接切换开关21的主天线连接端212,第二开关管的第一端连接切换开关21的选择端211,第二开关管的第二端连接切换开关21的辅天线连接端213,第一开关管的控制端分别连接一个控制端。在同一时刻,控制模块31仅控制两个开关管中的一个处于导通状态。开关管可以是金属—氧化物—半导体(metal oxide semiconductor,MOS)场效应晶体管、绝缘栅双极型晶体管(Insulated GateBipolar Transistor,IGBT)、三极管等半导体开关管中的任一种。The above example takes the switch 21 as a single-pole double-throw switch as an example. Optionally, the switch 21 may also include a first switch tube and a second switch tube, and correspondingly, the switch 21 may include two control terminals 214 . The first end of the first switch tube is connected to the selection terminal 211 of the switch 21 , the second end of the first switch tube is connected to the main antenna connection terminal 212 of the switch 21 , and the first end of the second switch tube is connected to the selection end of the switch 21 . Terminal 211, the second terminal of the second switch tube is connected to the auxiliary antenna connection terminal 213 of the switch 21, and the control terminals of the first switch tube are respectively connected to a control terminal. At the same time, the control module 31 only controls one of the two switches to be in a conducting state. The switch tube can be any one of a metal-oxide-semiconductor (MOS) field effect transistor, an insulated gate bipolar transistor (Insulated Gate Bipolar Transistor, IGBT), a triode and other semiconductor switch tubes.

可选的,如图4所示,图4是本发明实施例公开的一种移动终端的结构示意图。图4中的天线选择电路10应用于移动终端100,移动终端100包括重力传感器101,控制模块31可以与重力传感器101连接,控制模块31可以接收重力传感器101检测移动终端的重心变化来判断移动终端是否处于横屏状态。Optionally, as shown in FIG. 4 , FIG. 4 is a schematic structural diagram of a mobile terminal disclosed in an embodiment of the present invention. The antenna selection circuit 10 in FIG. 4 is applied to the mobile terminal 100. The mobile terminal 100 includes a gravity sensor 101. The control module 31 can be connected to the gravity sensor 101. The control module 31 can receive the gravity sensor 101 to detect the change of the center of gravity of the mobile terminal to determine the mobile terminal. Whether it is in landscape state.

控制模块31,还用于在重力传感器101检测移动终端100处于横屏状态时检测WiFi模块41接收的WiFi信号强度。The control module 31 is further configured to detect the WiFi signal strength received by the WiFi module 41 when the gravity sensor 101 detects that the mobile terminal 100 is in a horizontal screen state.

本发明实施例中,当重力传感器101检测移动终端100处于横屏状态时,此时,容易发生用户手握手机两端而导致手机的主WiFi天线11或辅WiFi天线12被用户的手心遮挡而影响WiFi模块41接收的WiFi信号强度。本发明实施例的控制模块31无需实时检测WiFi模块41接收的WiFi信号强度,只需要在特定的应用场景(例如,移动终端处于的横屏状态)才进行检测,可以节省移动终端的功耗。In the embodiment of the present invention, when the gravity sensor 101 detects that the mobile terminal 100 is in a horizontal screen state, at this time, it is easy to cause the main WiFi antenna 11 or the auxiliary WiFi antenna 12 of the mobile phone to be blocked by the user's palm and cause the user to hold both ends of the mobile phone. Affects the WiFi signal strength received by the WiFi module 41 . The control module 31 in the embodiment of the present invention does not need to detect the WiFi signal strength received by the WiFi module 41 in real time, and only needs to detect in a specific application scenario (eg, the mobile terminal is in a landscape state), which can save the power consumption of the mobile terminal.

可选的,如图5所示,图5是本发明实施例公开的另一种移动终端的结构示意图。移动终端100还包括设置于移动终端100的边框的压力传感器102,压力传感器102可以与控制模块31连接。Optionally, as shown in FIG. 5 , FIG. 5 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention. The mobile terminal 100 further includes a pressure sensor 102 disposed on the frame of the mobile terminal 100 , and the pressure sensor 102 can be connected to the control module 31 .

控制模块31,还用于在压力传感器102检测到的压力值大于预设压力阈值时检测WiFi模块接收的WiFi信号强度。The control module 31 is further configured to detect the WiFi signal strength received by the WiFi module when the pressure value detected by the pressure sensor 102 is greater than the preset pressure threshold.

本发明实施例中,当压力传感器102检测到的移动终端100的边框的压力值大于预设压力阈值时,此时,容易发生用户手握手机边框两端而导致手机的主WiFi天线11或辅WiFi天线12被用户的手心遮挡而影响WiFi模块41接收的WiFi信号强度。本发明实施例的控制模块31无需实时检测WiFi模块41接收的WiFi信号强度,只需要在特定的应用场景(例如,手机边框两端被用户握住的场景)才进行检测,可以节省移动终端的功耗。举例来说,预设压力阈值可以设置为1牛顿。In the embodiment of the present invention, when the pressure value of the frame of the mobile terminal 100 detected by the pressure sensor 102 is greater than the preset pressure threshold, at this time, it is easy to cause the user to hold the two ends of the frame of the mobile phone, causing the main WiFi antenna 11 of the mobile phone or the auxiliary WiFi antenna 11 of the mobile phone. The WiFi antenna 12 is blocked by the user's palm, which affects the WiFi signal strength received by the WiFi module 41 . In this embodiment of the present invention, the control module 31 does not need to detect the WiFi signal strength received by the WiFi module 41 in real time, and only needs to perform detection in a specific application scenario (for example, a scenario in which both ends of the mobile phone frame are held by the user), which can save the mobile terminal's power consumption. For example, the preset pressure threshold may be set to 1 Newton.

可选的,如图6所示,图6是本发明实施例公开的另一种移动终端的结构示意图。移动终端100还包括移动终端还包括显示屏103,显示屏103可以与控制模块31连接。Optionally, as shown in FIG. 6 , FIG. 6 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention. The mobile terminal 100 further includes a display screen 103 , and the display screen 103 can be connected to the control module 31 .

控制模块31,还用于在检测WiFi信号强度小于预设强度阈值时通过显示屏103输出提示信息,提示信息用于提示用户该移动终端100的天线区域是否被遮挡。The control module 31 is further configured to output prompt information through the display screen 103 when it is detected that the WiFi signal strength is lower than the preset strength threshold, and the prompt information is used to prompt the user whether the antenna area of the mobile terminal 100 is blocked.

本发明实施例中,当重力传感器101检测移动终端100处于横屏状态时,控制模块31检测WiFi信号强度,当控制模块31检测到WiFi信号强度小于预设强度阈值时通过显示屏103输出提示信息,提示信息用于提示用户该移动终端100的天线区域是否被遮挡。本发明实施例可以在当控制模块31检测到WiFi信号强度小于预设强度阈值时通过显示屏输出提示信息来提示用户是否用手遮挡了天线。例如,提示信息可以为“请确认是否握住手机顶端的天线区域,若是,请将手拿开,以免影响WiFi信号”。本发明实施例中的提示信息可以在检测到WiFi信号变弱的情况下及时提醒用户是否将手遮挡了天线。In the embodiment of the present invention, when the gravity sensor 101 detects that the mobile terminal 100 is in a horizontal screen state, the control module 31 detects the WiFi signal strength, and when the control module 31 detects that the WiFi signal strength is less than the preset strength threshold, a prompt message is output through the display screen 103 , the prompt information is used to prompt the user whether the antenna area of the mobile terminal 100 is blocked. In this embodiment of the present invention, when the control module 31 detects that the WiFi signal strength is lower than the preset strength threshold, prompt information can be output through the display screen to prompt the user whether the antenna is covered by the hand. For example, the prompt information can be "Please confirm whether to hold the antenna area on the top of the mobile phone. If so, please remove your hand so as not to affect the WiFi signal". The prompt information in the embodiment of the present invention can timely remind the user whether to block the antenna with his hand when it is detected that the WiFi signal becomes weak.

可选的,控制模块31,还用于在检测WiFi信号强度减弱比例大于预设比例值时向切换开关21发送切换信号。Optionally, the control module 31 is further configured to send a switching signal to the switching switch 21 when it is detected that the WiFi signal strength weakening ratio is greater than a preset ratio value.

本发明实施例中,WiFi信号强度减弱比例为:当前WiFi信号强度与初始WiFi信号强度之差/当前WiFi信号强度。预设比例阈值可以设置为30%。举例来说,如果初始WiFi信号强度为-50dbm,当前WiFi信号强度为-100dbm,则计算得到的WiFi信号强度减弱比例为50%。初始WiFi信号强度的检测时间是在当前时间之前的一段时间。例如,初始WiFi信号强度的检测时间与当前WiFi信号强度的检测时间之差为5分钟。通过检测WiFi信号强度减弱比例,在WiFi信号强度本身就很弱的情况下,可以更加准确的判断出移动终端的天线区域是否被遮挡。In the embodiment of the present invention, the weakening ratio of the WiFi signal strength is: the difference between the current WiFi signal strength and the initial WiFi signal strength/the current WiFi signal strength. The preset scale threshold can be set to 30%. For example, if the initial WiFi signal strength is -50dbm and the current WiFi signal strength is -100dbm, the calculated WiFi signal strength reduction ratio is 50%. The detection time of the initial WiFi signal strength is a period of time before the current time. For example, the difference between the detection time of the initial WiFi signal strength and the detection time of the current WiFi signal strength is 5 minutes. By detecting the weakening ratio of the WiFi signal strength, in the case that the WiFi signal strength itself is very weak, it can be more accurately determined whether the antenna area of the mobile terminal is blocked.

可选的,控制模块31,还用于根据前台应用与信号强度阈值的对应关系确定移动终端当前运行的前台应用对应的信号强度阈值,并将移动终端当前运行的前台应用对应的信号强度阈值作为预设强度阈值。Optionally, the control module 31 is further configured to determine the signal strength threshold corresponding to the foreground application currently running on the mobile terminal according to the corresponding relationship between the foreground application and the signal strength threshold, and use the signal strength threshold corresponding to the foreground application currently running on the mobile terminal as the signal strength threshold. Preset intensity threshold.

可选的,控制模块31还包括存储器,存储器用于存储前台应用与信号强度阈值的对应关系。Optionally, the control module 31 further includes a memory, and the memory is used for storing the corresponding relationship between the foreground application and the signal strength threshold.

本发明实施中,存储器可以是非易失性存储器。不同的前台应用,其所要求的最低WiFi信号强度不同,比如,游戏类应用需要的WiFi信号强度较大,而即时通讯应用需要的WiFi信号强度相对较小。前台应用与信号强度阈值的对应关系可以预先设置并存储在控制模块31的存储器中。只要当前WiFi信号强度大于当前运行的前台应用对应的信号强度阈值,则不需要进行WiFi天线切换。避免WiFi天线频繁切换导致的WiFi信号不稳定的问题。In the implementation of the present invention, the memory may be a non-volatile memory. Different foreground applications require different minimum WiFi signal strengths. For example, game applications require higher WiFi signal strengths, while instant messaging applications require relatively lower WiFi signal strengths. The correspondence between the foreground application and the signal strength threshold may be preset and stored in the memory of the control module 31 . As long as the current WiFi signal strength is greater than the signal strength threshold corresponding to the currently running foreground application, WiFi antenna switching is not required. Avoid the problem of unstable WiFi signal caused by frequent switching of WiFi antennas.

可选的,控制模块31,还用于检测到在预设时长内向切换开关发送切换信号的次数达到预设次数时,停止向切换开关21发送切换信号。Optionally, the control module 31 is further configured to stop sending the switching signal to the switching switch 21 when the number of times of sending the switching signal to the switching switch reaches the preset number of times within the preset time period.

本发明实施例中,举例来说,预设时长内可以设置为1分钟或者2分钟内,预设次数可以设置为3次或5次。实施本发明实施例可以避免WiFi天线频繁切换,从而避免WiFi天线频繁切换导致的WiFi信号不稳定的问题。In the embodiment of the present invention, for example, the preset time period may be set to within 1 minute or 2 minutes, and the preset number of times may be set to 3 times or 5 times. By implementing the embodiments of the present invention, frequent switching of WiFi antennas can be avoided, thereby avoiding the problem of unstable WiFi signals caused by frequent switching of WiFi antennas.

请参阅图7,图7是本发明实施例公开的一种天线选择方法的流程示意图,图7可以基于上述图1至图6所示的装置上提供的一种天线选择方法。如图7所示,该天线选择方法包括如下步骤:Please refer to FIG. 7 . FIG. 7 is a schematic flowchart of an antenna selection method disclosed in an embodiment of the present invention. FIG. 7 may be based on an antenna selection method provided on the apparatuses shown in FIGS. 1 to 6 . As shown in Figure 7, the antenna selection method includes the following steps:

701,移动终端检测WiFi模块接收的WiFi信号强度。701. The mobile terminal detects the WiFi signal strength received by the WiFi module.

702,在检测WiFi信号强度小于预设强度阈值时,移动终端向切换开关发送切换信号,切换信号用于控制切换开关切换与WiFi模块连通的WiFi天线。702. When it is detected that the WiFi signal strength is less than a preset strength threshold, the mobile terminal sends a switching signal to the switch, where the switching signal is used to control the switch to switch the WiFi antenna connected to the WiFi module.

实施图7所示的方法,移动终端可以通过检测WiFi信号的强度来切换WiFi模块连通的WiFi天线,从而保证移动终端接收的WiFi信号的强度。By implementing the method shown in FIG. 7 , the mobile terminal can switch the WiFi antenna connected to the WiFi module by detecting the strength of the WiFi signal, thereby ensuring the strength of the WiFi signal received by the mobile terminal.

本发明实施例还提供了另一种移动终端,如图8所示,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,请参照本发明实施例的电路部分。该移动终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备,以移动终端为手机为例:An embodiment of the present invention also provides another mobile terminal, as shown in FIG. 8 . For convenience of description, only the part related to the embodiment of the present invention is shown. For specific technical details that are not disclosed, please refer to the embodiment of the present invention. circuit part. The mobile terminal can be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant, personal digital assistant), a POS (Point of Sales, a sales terminal), a vehicle-mounted computer, etc. The mobile terminal is a mobile phone as an example:

请参阅图8,图8是本发明实施例公开的另一种移动终端的结构示意图,图8中以手机为例进行说明。参考图8,手机包括:射频(Radio Frequency,RF)电路910、存储器920、输入单元930、显示单元940、传感器950、音频电路960、无线保真(Wireless Fidelity,WiFi)模块970、处理器980、以及电源990等部件。本领域技术人员可以理解,图8中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8 . FIG. 8 is a schematic structural diagram of another mobile terminal disclosed in an embodiment of the present invention. In FIG. 8 , a mobile phone is used as an example for description. Referring to FIG. 8 , the mobile phone includes: a radio frequency (RF) circuit 910 , a memory 920 , an input unit 930 , a display unit 940 , a sensor 950 , an audio circuit 960 , a wireless fidelity (WiFi) module 970 , and a processor 980 , and power supply 990 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 8 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

下面结合图8对手机的各个构成部件进行具体的介绍:The following is a detailed introduction to each component of the mobile phone with reference to Figure 8:

RF电路910可用于信息的接收和发送。通常,RF电路910包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路910还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobilecommunication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code DivisionMultiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。RF电路910可以包括本发明实施例中图1至图4所示的部分天线选择电路。RF circuitry 910 may be used for the reception and transmission of information. Typically, the RF circuit 910 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 910 may communicate with networks and other devices via wireless communications. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) Access, CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like. The RF circuit 910 may include part of the antenna selection circuit shown in FIGS. 1 to 4 in the embodiment of the present invention.

存储器920可用于存储软件程序以及模块,处理器980通过运行存储在存储器920的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器920可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据手机的使用所创建的数据等。此外,存储器920可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 920 can be used to store software programs and modules, and the processor 980 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 920 . The memory 920 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the mobile phone. Additionally, memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元930可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元930可包括指纹识别模组931以及其他输入设备932。指纹识别模组931,可采集用户在其上的指纹数据。除了指纹识别模组931,输入单元930还可以包括其他输入设备932。具体地,其他输入设备932可以包括但不限于触控屏、物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 930 may be used to receive inputted numerical or character information, and generate key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 930 may include a fingerprint recognition module 931 and other input devices 932 . The fingerprint identification module 931 can collect the fingerprint data of the user on it. Besides the fingerprint recognition module 931 , the input unit 930 may also include other input devices 932 . Specifically, other input devices 932 may include, but are not limited to, one or more of a touch screen, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元940可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元940可包括显示屏941,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示屏941。虽然在图8中,指纹识别模组931与显示屏941是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将指纹识别模组931与显示屏941集成而实现手机的输入和播放功能。The display unit 940 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 940 may include a display screen 941. Optionally, the display screen 941 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Although in FIG. 8 , the fingerprint recognition module 931 and the display screen 941 are used as two independent components to realize the input and input functions of the mobile phone, but in some embodiments, the fingerprint recognition module 931 and the display screen 941 can be combined Integrated to realize the input and playback functions of the mobile phone.

手机还可包括至少一种传感器950,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示屏941的亮度,接近传感器可在手机移动到耳边时,关闭显示屏941和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 950, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display screen 941 according to the brightness of the ambient light, and the proximity sensor may turn off the display screen 941 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路960、扬声器961,传声器962可提供用户与手机之间的音频接口。音频电路960可将接收到的音频数据转换后的电信号,传输到扬声器961,由扬声器961转换为声音信号播放;另一方面,传声器962将收集的声音信号转换为电信号,由音频电路960接收后转换为音频数据,再将音频数据播放处理器980处理后,经RF电路910以发送给比如另一手机,或者将音频数据播放至存储器920以便进一步处理。The audio circuit 960, the speaker 961, and the microphone 962 can provide an audio interface between the user and the mobile phone. The audio circuit 960 can convert the received audio data into an electrical signal, and transmit it to the speaker 961, and the speaker 961 converts it into a sound signal for playback; on the other hand, the microphone 962 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 960 After receiving, the audio data is converted into audio data, and then processed by the audio data playback processor 980, and sent to, for example, another mobile phone through the RF circuit 910, or the audio data is played to the memory 920 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块970可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。图8中的WiFi模块970可以对应图1至图4所示的WiFi模块。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 970. It provides users with wireless broadband Internet access. The WiFi module 970 in FIG. 8 may correspond to the WiFi modules shown in FIGS. 1 to 4 .

处理器980是手机的控制中心,利用各种接口(例如,UART接口和USB接口)和线路连接整个手机的各个部分,通过运行或执行存储在存储器920内的软件程序和/或模块,以及调用存储在存储器920内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器980可包括一个或多个处理单元;优选的,处理器980可集成应用处理器(AP)和调制解调处理器(Modem),其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器980中。The processor 980 is the control center of the mobile phone, using various interfaces (for example, UART interface and USB interface) and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 920, and calling The data stored in the memory 920 performs various functions of the mobile phone and processes data, so as to monitor the mobile phone as a whole. Optionally, the processor 980 may include one or more processing units; preferably, the processor 980 may integrate an application processor (AP) and a modem processor (Modem), wherein the application processor mainly processes the operating system, User interface and applications, etc., the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 980.

手机还包括给各个部件供电的电源990(比如电池),优选的,电源可以通过电源管理系统与处理器980逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 990 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 980 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

手机还可以包括摄像头9100,摄像头9100用于拍摄图像与视频,并将拍摄的图像和视频传输到处理器980进行处理。The mobile phone may further include a camera 9100, and the camera 9100 is used for capturing images and videos, and transmitting the captured images and videos to the processor 980 for processing.

手机还可以蓝牙模块等,在此不再赘述。The mobile phone may also have a Bluetooth module, etc., which will not be repeated here.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components may be combined or Integration into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

以上对本发明实施例进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The embodiments of the present invention have been introduced in detail above, and specific examples are used to illustrate the principles and implementations of the present invention. The descriptions of the above embodiments are only used to help understand the core idea of the present invention; A person of ordinary skill, according to the idea of the present invention, will have changes in specific embodiments and application scopes. In conclusion, the contents of this specification should not be construed as limiting the present invention.

Claims (9)

1.一种天线选择电路,其特征在于,所述天线选择电路包括主WiFi天线、辅WiFi天线、切换开关、控制模块以及WiFi模块,其中:1. An antenna selection circuit, characterized in that, the antenna selection circuit comprises a main WiFi antenna, an auxiliary WiFi antenna, a switch, a control module and a WiFi module, wherein: 所述切换开关包括选择端、主天线连接端、辅天线连接端以及控制端,所述主天线连接端连接所述主WiFi天线,所述辅天线连接端连接所述辅WiFi天线;所述控制模块的输出端连接所述控制端,所述控制模块的输入端连接所述WiFi模块的信号检测端,所述WiFi模块的输入端连接所述选择端,其中,所述主WiFi天线、辅WiFi天线为两根专用于接收WiFi信号的WiFi天线;The switch includes a selection end, a main antenna connection end, an auxiliary antenna connection end and a control end, the main antenna connection end is connected to the main WiFi antenna, and the auxiliary antenna connection end is connected to the auxiliary WiFi antenna; the control The output end of the module is connected to the control end, the input end of the control module is connected to the signal detection end of the WiFi module, and the input end of the WiFi module is connected to the selection end, wherein the main WiFi antenna, the auxiliary WiFi The antennas are two WiFi antennas dedicated to receiving WiFi signals; 所述控制模块,用于检测所述WiFi模块接收的WiFi信号强度,以及用于在检测所述WiFi信号强度小于预设强度阈值时向所述切换开关发送切换信号,所述切换信号用于控制所述切换开关切换与所述WiFi模块连通的WiFi天线;其中,所述控制模块还用于根据前台应用与信号强度阈值的对应关系确定移动终端当前运行的前台应用对应的信号强度阈值,并将移动终端当前运行的前台应用对应的信号强度阈值作为所述预设强度阈值;The control module is configured to detect the WiFi signal strength received by the WiFi module, and to send a switching signal to the switch when it is detected that the WiFi signal strength is less than a preset strength threshold, where the switching signal is used to control The switch switches the WiFi antenna connected to the WiFi module; wherein, the control module is further configured to determine the signal strength threshold corresponding to the foreground application currently running on the mobile terminal according to the corresponding relationship between the foreground application and the signal strength threshold, and set the The signal strength threshold corresponding to the foreground application currently running on the mobile terminal is used as the preset strength threshold; 其中,所述天线选择电路应用于移动终端,所述主WiFi天线的天线辐射体与辅WiFi天线的天线辐射体设置在移动终端边框的相对两侧。Wherein, the antenna selection circuit is applied to a mobile terminal, and the antenna radiator of the main WiFi antenna and the antenna radiator of the auxiliary WiFi antenna are arranged on opposite sides of the frame of the mobile terminal. 2.根据权利要求1所述的天线选择电路,其特征在于,所述移动终端包括重力传感器,2. The antenna selection circuit according to claim 1, wherein the mobile terminal comprises a gravity sensor, 所述控制模块,还用于在所述重力传感器检测所述移动终端处于横屏状态时检测所述WiFi模块接收的所述WiFi信号强度。The control module is further configured to detect the WiFi signal strength received by the WiFi module when the gravity sensor detects that the mobile terminal is in a horizontal screen state. 3.根据权利要求2所述的天线选择电路,其特征在于,所述移动终端还包括设置于所述移动终端的边框的压力传感器,3. The antenna selection circuit according to claim 2, wherein the mobile terminal further comprises a pressure sensor arranged on a frame of the mobile terminal, 所述控制模块,还用于在所述压力传感器检测到的压力值大于预设压力阈值时检测所述WiFi模块接收的所述WiFi信号强度。The control module is further configured to detect the WiFi signal strength received by the WiFi module when the pressure value detected by the pressure sensor is greater than a preset pressure threshold. 4.根据权利要求2所述的天线选择电路,其特征在于,所述移动终端还包括显示屏,4. The antenna selection circuit according to claim 2, wherein the mobile terminal further comprises a display screen, 所述控制模块,还用于在检测所述WiFi信号强度小于所述预设强度阈值时通过所述显示屏输出提示信息,所述提示信息用于提示用户所述移动终端的天线区域是否被遮挡。The control module is further configured to output prompt information through the display screen when it is detected that the WiFi signal strength is less than the preset strength threshold, where the prompt information is used to prompt the user whether the antenna area of the mobile terminal is blocked . 5.根据权利要求2所述的天线选择电路,其特征在于,所述控制模块,还用于在检测所述WiFi信号强度减弱比例大于预设比例值时向所述切换开关发送所述切换信号。5 . The antenna selection circuit according to claim 2 , wherein the control module is further configured to send the switching signal to the switching switch when it is detected that the WiFi signal strength weakening ratio is greater than a preset ratio value. 6 . . 6.根据权利要求1所述的天线选择电路,其特征在于,所述控制模块还包括存储器,所述存储器用于存储所述前台应用与信号强度阈值的对应关系。6 . The antenna selection circuit according to claim 1 , wherein the control module further comprises a memory, and the memory is used for storing the corresponding relationship between the foreground application and the signal strength threshold. 7 . 7.根据权利要求1所述的天线选择电路,其特征在于,所述控制模块,还用于检测到在预设时长内向所述切换开关发送切换信号的次数达到预设次数时,停止向所述切换开关发送切换信号。7 . The antenna selection circuit according to claim 1 , wherein the control module is further configured to detect that the number of times of sending switching signals to the switch within a preset time period reaches a preset number of times, and stop sending the switching signal to the switch. 8 . The toggle switch sends a toggle signal. 8.根据权利要求1-7任一项所述的天线选择电路,其特征在于,所述切换信号包括第一切换信号或第二切换信号,所述第一切换信号具体用于当所述WiFi模块与所述主WiFi天线连接时,将所述WiFi模块切换至与所述辅WiFi天线连接;所述第二切换信号具体用于当所述WiFi模块与所述辅WiFi天线连接时,将所述WiFi模块切换至与所述主WiFi天线连接。8 . The antenna selection circuit according to claim 1 , wherein the switching signal comprises a first switching signal or a second switching signal, and the first switching signal is specifically used when the WiFi When the module is connected to the main WiFi antenna, the WiFi module is switched to be connected to the auxiliary WiFi antenna; the second switching signal is specifically used to switch the WiFi module to the auxiliary WiFi antenna when the WiFi module is connected to the auxiliary WiFi antenna. The WiFi module is switched to connect with the main WiFi antenna. 9.一种移动终端,其特征在于,所述移动终端包括如权利要求1-8任一项所述的天线选择电路。9. A mobile terminal, wherein the mobile terminal comprises the antenna selection circuit according to any one of claims 1-8.
CN201711185966.7A 2017-11-23 2017-11-23 Antenna selection circuit and mobile terminal Expired - Fee Related CN107947825B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711185966.7A CN107947825B (en) 2017-11-23 2017-11-23 Antenna selection circuit and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711185966.7A CN107947825B (en) 2017-11-23 2017-11-23 Antenna selection circuit and mobile terminal

Publications (2)

Publication Number Publication Date
CN107947825A CN107947825A (en) 2018-04-20
CN107947825B true CN107947825B (en) 2020-09-22

Family

ID=61930191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711185966.7A Expired - Fee Related CN107947825B (en) 2017-11-23 2017-11-23 Antenna selection circuit and mobile terminal

Country Status (1)

Country Link
CN (1) CN107947825B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039368B (en) * 2018-07-12 2021-01-12 Oppo广东移动通信有限公司 Electronic device and control method thereof
CN109120281A (en) * 2018-08-15 2019-01-01 Oppo(重庆)智能科技有限公司 Mobile terminal and antenna connection method
CN109379105A (en) * 2018-10-22 2019-02-22 顺丰科技有限公司 Method and system for improving wireless communication distance
CN112771788B (en) * 2018-12-20 2022-10-11 华为技术有限公司 Antenna selection method and terminal
CN112019248A (en) * 2019-05-30 2020-12-01 北京小米移动软件有限公司 Antenna device and mobile terminal
CN112436876A (en) * 2019-08-26 2021-03-02 中兴通讯股份有限公司 5G antenna control method and device, 5G terminal and computer readable storage medium
CN112448745B (en) * 2019-08-30 2023-12-26 北京小米移动软件有限公司 WIFI antenna selection control device, method and terminal
CN111162818B (en) * 2019-12-31 2021-11-23 上海微波技术研究所(中国电子科技集团公司第五十研究所) Antenna sharing device suitable for ultrashort wave radio station under TDMA network
CN112350743B (en) * 2020-10-23 2022-05-06 Tcl通讯(宁波)有限公司 Antenna selection circuit structure, antenna selection method and customer premises equipment
CN114499572A (en) * 2022-02-07 2022-05-13 Oppo广东移动通信有限公司 Radio frequency transceiving system, electronic equipment and method for realizing antenna switching
CN116683957B (en) * 2022-11-03 2024-05-07 荣耀终端有限公司 Communication method, device, readable medium, program product and electronic device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8331289B1 (en) * 2009-05-11 2012-12-11 Marvell International, Ltd. Bluetooth / Wi-Fi coexistence
EP2832012A1 (en) * 2012-03-30 2015-02-04 Corning Optical Communications LLC Reducing location-dependent interference in distributed antenna systems operating in multiple-input, multiple-output (mimo) configuration, and related components, systems, and methods
CN103779669A (en) * 2012-10-22 2014-05-07 联想(北京)有限公司 Antenna device and method for controlling antenna device
CN105281035B (en) * 2015-05-28 2019-03-01 维沃移动通信有限公司 The antenna switching method and its mobile terminal of mobile terminal
CN104869196B (en) * 2015-06-12 2018-12-14 联想(北京)有限公司 terminal device, control method and device
CN106453963A (en) * 2016-11-30 2017-02-22 努比亚技术有限公司 Mobile terminal antenna switching device and method
CN106712800A (en) * 2017-01-20 2017-05-24 广东欧珀移动通信有限公司 WIFI antenna components and terminal equipment
CN106911848B (en) * 2017-02-21 2020-03-31 Oppo广东移动通信有限公司 Method and terminal device for outputting prompt message
CN107196043B (en) * 2017-06-19 2020-11-06 上海传英信息技术有限公司 Antenna system of mobile terminal and mobile terminal with antenna system

Also Published As

Publication number Publication date
CN107947825A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
CN107947825B (en) Antenna selection circuit and mobile terminal
CN107896119B (en) Antenna sharing circuit and mobile terminal
CN107770729B (en) Signal intensity prompting method and related product
CN107708168A (en) SIM card switching method, mobile terminal and computer-readable storage medium
CN107277230B (en) Voice broadcasting method of message and related product
CN106484283A (en) A display control method and mobile terminal
CN106817540A (en) A camera control method and device
CN110247692B (en) Path switching method, path switching device, electronic device and readable storage medium
CN106845422B (en) A fingerprint identification module, fingerprint identification method and mobile terminal
CN108920086B (en) Split screen quitting method and device, storage medium and electronic equipment
CN106455027A (en) Method for adjusting network standard and mobile terminal
CN106155557A (en) A virtual button display method and mobile terminal
CN106413070A (en) A power adjustment method and mobile terminal
CN106793010B (en) Network access method and equipment
CN106454979B (en) A kind of network system switching method and mobile terminal
CN107272991B (en) Information display method and related product
CN106851806A (en) A transmission power control method and mobile terminal
CN106254673A (en) Terminal fall detection method and device
CN106453909A (en) A power adjustment method and mobile terminal
CN107317917B (en) Application control methods and related products
CN106604361B (en) WiFi scanning method and mobile terminal
CN106686704B (en) Terminal monitoring method and mobile terminal
CN109068370A (en) Communication means, mobile terminal and computer readable storage medium
CN107291453A (en) Component display method and related product
CN106686428A (en) A video playback 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
CB02 Change of applicant information

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

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

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

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

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

Granted publication date: 20200922