CN108418969A - Antenna feed point switching method and device, storage medium and electronic equipment - Google Patents
Antenna feed point switching method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108418969A CN108418969A CN201810206406.3A CN201810206406A CN108418969A CN 108418969 A CN108418969 A CN 108418969A CN 201810206406 A CN201810206406 A CN 201810206406A CN 108418969 A CN108418969 A CN 108418969A
- Authority
- CN
- China
- Prior art keywords
- electronic device
- feed point
- state
- ear image
- antenna
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/06—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
- H04B7/0602—Diversity 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0802—Diversity 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M2250/00—Details of telephonic subscriber devices
- H04M2250/12—Details 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)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Telephone Function (AREA)
Abstract
本申请实施例公开了一种天线馈点的切换方法、装置、存储介质和电子设备;所述方法包括:当电子设备处于通话状态时,获取用户的耳朵图像,根据耳朵图像确定电子设备当前的握持状态,其中,握持状态包括左手握持状态和右手握持状态,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。本申请可以在通话的过程中根据电子设备的握持状态选择对应的天线馈点,可以降低人手对于天线的干扰,从而提升电子设备的辐射强度。
The embodiment of the present application discloses a switching method, device, storage medium and electronic device for antenna feed points; the method includes: when the electronic device is in a call state, obtaining an ear image of the user, determining the current holding state of the electronic device according to the ear image, wherein the holding state includes a left-hand holding state and a right-hand holding state, selecting a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state, and controlling the connection of the target feed point so that the electronic device completes the reception and transmission of radio frequency signals. The present application can select the corresponding antenna feed point according to the holding state of the electronic device during a call, which can reduce the interference of human hands on the antenna, thereby improving the radiation intensity of the electronic device.
Description
技术领域technical field
本申请涉及电子设备领域,具体涉及一种天线馈点的切换方法、装置、存储介质和电子设备。The present application relates to the field of electronic equipment, in particular to a method, device, storage medium and electronic equipment for switching antenna feed points.
背景技术Background technique
随着电子设备技术的发展,电子设备已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of electronic equipment technology, electronic equipment has gradually changed from simply providing communication equipment in the past to a platform for running general software. The platform no longer aims to provide call management, but to provide an operating environment including call management, game entertainment, office notes, mobile payment and other application software. With a large number of popularization, it has penetrated into people's All aspects of life and work.
当前手机在进行天线设计时,通常都会将主天线或分集天线设计在手机底部,而由于底部天线馈点位置的不同,左、右手对底部天线性能的影响是不一样的。尤其是有些布局下左、右手对天线影响的差异会非常大。也就是说,采用当前的这种设计方式,总有一侧的人手无法避免地会对天线性能会造成较大恶化。When designing antennas for current mobile phones, the main antenna or diversity antenna is usually designed at the bottom of the mobile phone, and due to the different positions of the bottom antenna feed points, left and right hands have different effects on the performance of the bottom antenna. Especially in some layouts, the difference in the influence of the left and right hands on the antenna will be very large. That is to say, with the current design method, there will always be a hand on one side that will inevitably cause a major deterioration in the performance of the antenna.
发明内容Contents of the invention
本申请实施例提供一种天线馈点的切换方法、装置、存储介质和电子设备,可以降低人手对于天线的干扰,从而提升电子设备的辐射强度。Embodiments of the present application provide a method, device, storage medium, and electronic equipment for switching antenna feed points, which can reduce the interference of human hands on the antenna, thereby increasing the radiation intensity of the electronic equipment.
第一方面,本申请实施例提供一种天线馈点的切换方法,包括:In the first aspect, the embodiment of the present application provides a method for switching antenna feed points, including:
当电子设备处于通话状态时,获取用户的耳朵图像;When the electronic device is in a call state, obtain an image of the user's ear;
根据所述耳朵图像确定所述电子设备当前的握持状态,其中,所述握持状态包括左手握持状态和右手握持状态;Determine the current holding state of the electronic device according to the ear image, wherein the holding state includes a left-hand holding state and a right-hand holding state;
根据所述握持状态从所述电子设备天线上的至少两个天线馈点中选取目标馈点;selecting a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state;
控制连接所述目标馈点,以使所述电子设备完成射频信号的接收和发送。Controlling and connecting the target feed point, so that the electronic equipment completes receiving and sending of radio frequency signals.
第二方面,本申请实施例还提供了一种天线馈点的切换装置,包括:获取模块、确定模块、选取模块以及连接模块;In the second aspect, the embodiment of the present application also provides a device for switching antenna feed points, including: an acquisition module, a determination module, a selection module, and a connection module;
所述获取模块,用于当电子设备处于通话状态时,获取用户的耳朵图像;The acquisition module is used to acquire the user's ear image when the electronic device is in a call state;
所述确定模块,用于根据所述耳朵图像确定所述电子设备当前的握持状态,其中,所述握持状态包括左手握持状态和右手握持状态;The determination module is configured to determine the current holding state of the electronic device according to the ear image, wherein the holding state includes a left-hand holding state and a right-hand holding state;
所述选取模块,用于根据所述握持状态从所述电子设备天线上的至少两个天线馈点中选取目标馈点;The selection module is configured to select a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state;
所述连接模块,用于控制连接所述目标馈点,以使所述电子设备完成射频信号的接收和发送。The connection module is configured to control the connection of the target feed point, so that the electronic device completes the receiving and sending of radio frequency signals.
第三方面,本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述天线馈点的切换方法的步骤。In a third aspect, the embodiment of the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above method for switching antenna feed points are implemented.
第四方面,本申请实施例还提供一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上述天线馈点的切换方法的步骤。In the fourth aspect, the embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the program, the aforementioned antenna feed point is realized. The steps of the switching method.
本申请实施例提供的天线馈点的切换方法首先当电子设备处于通话状态时,获取用户的耳朵图像,根据耳朵图像确定电子设备当前的握持状态,其中,握持状态包括左手握持状态和右手握持状态,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。本申请可以在通话的过程中根据电子设备的握持状态选择对应的天线馈点,可以降低人手对于天线的干扰,从而提升电子设备的辐射强度。The method for switching the antenna feed point provided by the embodiment of the present application first acquires the user’s ear image when the electronic device is in the call state, and determines the current holding state of the electronic device according to the ear image, wherein the holding state includes the left-hand holding state and In the right-hand holding state, select a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state, and control the connection to the target feed point, so that the electronic device can complete the reception and transmission of radio frequency signals. The present application can select the corresponding antenna feed point according to the holding state of the electronic device during the call, which can reduce the interference of human hands on the antenna, thereby improving the radiation intensity of the electronic device.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1为本申请实施例提供的天线馈点的切换方法的一种流程示意图。FIG. 1 is a schematic flowchart of a method for switching an antenna feed point provided by an embodiment of the present application.
图2为本申请实施例提供的一种电子设备的结构示意图。FIG. 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
图3为本申请实施例提供的天线馈点的切换方法的另一种流程示意图。FIG. 3 is another schematic flow chart of a method for switching an antenna feed point provided in an embodiment of the present application.
图4为本申请实施例提供的天线馈点的切换装置的一种结构示意图。FIG. 4 is a schematic structural diagram of a device for switching an antenna feed point provided by an embodiment of the present application.
图5为本申请实施例提供的天线馈点的切换装置的另一种结构示意图。FIG. 5 is another schematic structural diagram of an antenna feed point switching device provided by an embodiment of the present application.
图6为本申请实施例提供的电子设备的另一种结构示意图。FIG. 6 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
图7为本申请实施例提供的电子设备的另一种结构示意图。FIG. 7 is another schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, wherein the same reference numerals represent the same components, the principles of the present application are exemplified by being implemented in a suitable computing environment. The following description is based on illustrated specific embodiments of the present application, which should not be construed as limiting other specific embodiments of the present application that are not described in detail here.
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise stated. Accordingly, these steps and operations will several times be referred to as being computer-implemented, which herein refers to operations by a computer processing unit of electronic signals representing data in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system that can reconfigure or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structures maintained by the data are physical locations in the memory that have certain characteristics defined by the data format. However, the principle of the present application is described in the above text, which is not meant to be a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.
本申请的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本申请的运算系统、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器系统、微电脑为主的系统、主架构型计算机、及分布式运算环境,其中包括了任何的上述系统或装置。The principles of the present application operate with numerous other general purpose or special purpose computing, communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use in this application may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment, including any of the above systems or devices.
以下将分别进行详细说明。The details will be described respectively below.
本实施例将从天线馈点的切换装置的角度进行描述,该装置具体可以集成在电子设备中,该电子设备可以为移动互连接网络设备(如智能手机、平板电脑)等具备网络功能的电子设备。This embodiment will be described from the perspective of the switching device of the antenna feed point. The device can be integrated in an electronic device. equipment.
首先参考图1,图1为本申请实施例提供的天线馈点的切换方法的一种流程示意图,包括以下步骤:First refer to FIG. 1. FIG. 1 is a schematic flow diagram of a method for switching antenna feed points provided in an embodiment of the present application, including the following steps:
步骤S101,当电子设备处于通话状态时,获取用户的耳朵图像。Step S101, when the electronic device is in a talking state, acquire an ear image of a user.
在一实施例中,上述通话状态包括语音通话状态,比如接通来电或者去电等,其中通话类型可以为电话语音通话或者即时通讯软件的语音通话等等,比如QQ语音或微信语音,本发明对此不作进一步限定。In one embodiment, the above-mentioned call state includes a voice call state, such as connecting an incoming call or an outgoing call, etc., wherein the call type can be a telephone voice call or a voice call of an instant messaging software, etc., such as QQ voice or WeChat voice, the present invention This is not further limited.
在实际使用当中,电子设备处于通话状态时可以通过手持来接通通话,也可以通过辅助通话工具来接通通话,比如蓝牙耳机等设备,在用户不方便手握电子设备并放置于耳边以使用正常通话模式实现通话时,可启用辅助通话模式实现通话,本申请实施例提供的天线馈点的切换方法则是针对电子设备通过手持来接通通话这一情况,因此上述当电子设备处于通话状态时,获取用户的耳朵图像的步骤可以包括:In actual use, when the electronic device is in a call state, the call can be connected by hand, or through an auxiliary call tool, such as a Bluetooth headset. When using the normal call mode to realize the call, the auxiliary call mode can be enabled to realize the call. The method for switching the antenna feed point provided by the embodiment of the present application is aimed at the situation that the electronic device is connected to the call by holding it. Therefore, when the electronic device is in the call state, the step of obtaining the user's ear image may include:
当电子设备处于通话状态时,判断电子设备当前是否处于手持状态;When the electronic device is in a call state, determine whether the electronic device is currently in a handheld state;
若是,则获取用户的耳朵图像。If yes, acquire the user's ear image.
其中,上述判断电子设备当前是否处于手持状态的方法可以有多种,可通过设置手握感知组件或者温度传感器、加速度传感器、或陀螺仪等组件实现。Among them, there are multiple methods for judging whether the electronic device is currently in a hand-held state, which can be realized by setting a hand-held sensing component or a temperature sensor, an acceleration sensor, or a gyroscope.
例如,手握感知组件被设置于电子设备侧边,由于用户手握电子设备时必然会对电子设备的侧边施力,因此,将手握感知组件设置于电子设备侧边将有利于提高感知用户是否手握电子设备的准确性。电子设备通话时,判断设置于电子设备侧边的手握感知组件是否被触发,若否,则说明用户当前无法手握电子设备并放置于耳边进行通话,若判断到手握感知组件被触发,则说明用户正手握电子设备进行通话。在其他实施例中,还可以在电子设备上设置温度传感器,在电子设备被手持时设置的温度传感器将会感知到用户温度,进而确认电子设备是处于被手持状态的。此外,还可通过加速度传感器或陀螺仪获取电子设备的运动状态,进而根据电子设备的运动状态实现手持状态的判断,在此不一一进行列举。For example, the hand-held sensing component is arranged on the side of the electronic device, because the user will inevitably exert force on the side of the electronic device when holding the electronic device, therefore, setting the hand-held sensing component on the side of the electronic device will help improve the perception The accuracy of whether the user is holding the electronic device or not. When the electronic device is talking, it is judged whether the hand-held sensing component set on the side of the electronic device is triggered. If not, it means that the user cannot currently hold the electronic device and place it next to the ear to make a call. If it is determined that the hand-held sensing component is triggered, It means that the user is holding the electronic device to make a call. In other embodiments, a temperature sensor can also be set on the electronic device. When the electronic device is held, the set temperature sensor will sense the temperature of the user, thereby confirming that the electronic device is in the state of being held. In addition, the motion state of the electronic device can also be acquired through an acceleration sensor or a gyroscope, and then the hand-held state can be judged according to the motion state of the electronic device, which will not be listed here.
在一实施例中,可以通过电子设备的前置摄像头来获取用户的耳朵图像,具体的,当电子设备处于通话状态且确认电子设备是处于被手持状态时,开启前置摄像头并获取当前画面,然后从当前画面当中提取耳朵图像。In an embodiment, the user's ear image can be obtained through the front camera of the electronic device. Specifically, when the electronic device is in a call state and it is confirmed that the electronic device is in a handheld state, the front camera is turned on and the current picture is obtained. Then the ear image is extracted from the current frame.
步骤S102,根据耳朵图像确定电子设备当前的握持状态,其中,握持状态包括左手握持状态和右手握持状态。Step S102, determine the current holding state of the electronic device according to the ear image, wherein the holding state includes a left-hand holding state and a right-hand holding state.
在一实施例当中,由于人的两只耳朵相互对称的特性,因此在获取到用户的耳朵图像后,可以根据耳朵的轮廓来确定其为左耳或者右耳,进而确定当前电子设备是左手握持状态或右手握持状态。In one embodiment, due to the symmetry of the two ears of a person, after acquiring the image of the user's ear, it can be determined according to the contour of the ear that it is the left ear or the right ear, and then it can be determined whether the current electronic device is held in the left hand. holding state or right hand holding state.
在一实施例中,还可以获取用户的脸部图像,正常情况下,用户手持电子设备通话时,电子设备的正面会对准左耳或者右耳,因此上述脸部图像可以为用户的侧脸图像,然后获取上述侧脸图像上的脸部特征,并根据该脸部特征判断该电子设备所对准的侧脸为用户的左侧脸部或是右侧脸部,从而确定当前电子设备是左手握持状态或右手握持状态。通过耳朵图像以及脸部图相结合的方式还可以提升判断当前握持状态的准确性。In one embodiment, the user's facial image can also be obtained. Normally, when the user holds the electronic device for a call, the front of the electronic device will be aimed at the left ear or the right ear, so the above facial image can be the user's side face image, and then obtain the facial features on the above-mentioned side face image, and judge according to the facial features that the side face that the electronic device is aiming at is the user's left face or right face, so as to determine whether the current electronic device is Left-hand holding state or right-hand holding state. The combination of ear images and face images can also improve the accuracy of judging the current holding state.
需要说明的是,在一实施例当中,不管获取用户的耳朵图像还是获取脸部图像,在获取到该原始图像后还可以进一步进行预处理,该预处理可以包括图像增强、平滑处理、降噪处理等等。比如,在得到原始的耳朵图像或脸部图像之后,可以对图像中的信息有选择地加强和抑制,以改善图像的视觉效果,或将图像转变为更适合于机器处理的形式,以便于数据抽取或识别。例如一个图像增强系统可以通过高通滤波器来突出图像的轮廓线,从而使机器能够测量轮廓线的形状和周长。图像增强技术有多种方法,反差展宽、对数变换、密度分层和直方图均衡等都可用于改变图像灰调和突出细节。It should be noted that, in an embodiment, regardless of whether the user's ear image or face image is acquired, preprocessing can be further performed after the original image is acquired, and the preprocessing can include image enhancement, smoothing, and noise reduction. processing etc. For example, after obtaining the original ear image or face image, the information in the image can be selectively enhanced and suppressed to improve the visual effect of the image, or the image can be transformed into a form more suitable for machine processing, so that data extract or identify. For example, an image enhancement system can use a high-pass filter to highlight the contour lines of the image, allowing the machine to measure the shape and circumference of the contour lines. There are many methods of image enhancement technology, such as contrast stretching, logarithmic transformation, density layering and histogram equalization, etc. can be used to change the gray tone of the image and highlight the details.
步骤S103,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点。Step S103, selecting a target feed point from at least two antenna feed points on the antenna of the electronic device according to the grip state.
在一实施例中,上述电子设备天线上包含至少两个天线馈点,如图2所示,图2为本申请实施例提供的一种电子设备的结构示意图。在该电子设备10中,包括辐射体11、射频模组12、控制开关13和载体15。辐射体11可以为金属中框,用于收发射频信号,辐射体11上设置第一馈点111和第二馈点112,控制开关13的第一端与射频模组12耦合,控制开关13的第二端在第一馈点111处与辐射体11耦合,控制开关13的第三端在第二馈点112处与辐射体11耦合,控制开关13用于根据电子设备10当前的握持状态选择目标馈点,比如当电子设备10当前为左手握持状态时,可以选择第二馈电112作为目标馈点,当电子设备10当前为右手握持状态时,可以选择第一馈电111作为目标馈点。In an embodiment, the antenna of the electronic device includes at least two antenna feed points, as shown in FIG. 2 , which is a schematic structural diagram of an electronic device provided in an embodiment of the present application. The electronic device 10 includes a radiator 11 , a radio frequency module 12 , a control switch 13 and a carrier 15 . The radiator 11 can be a metal middle frame for sending and receiving radio frequency signals. The radiator 11 is provided with a first feed point 111 and a second feed point 112. The first end of the control switch 13 is coupled with the radio frequency module 12, and the control switch 13 The second end is coupled with the radiator 11 at the first feed point 111, the third end of the control switch 13 is coupled with the radiator 11 at the second feed point 112, and the control switch 13 is used to control the electronic device 10 according to the current holding state Select the target feed point. For example, when the electronic device 10 is currently held by the left hand, the second feed 112 can be selected as the target feed point; when the electronic device 10 is currently held by the right hand, the first feed 111 can be selected as the target feed point. target feed.
在一实施例中,还可以在辐射体11上设置接地点,该接地点可以设置在第一馈点111和第二馈点112之间,射频模组12和控制开关13设置在载体15上,载体15作为整机的参考地,辐射体11在接地点的位置通过连接片14与载体15耦合,以实现接地。上述连接片14可以为金属片,在其他实施例中,上述接地点还可以通过连接线连接到整机参考地上。其中,载体15可为一壳体结构,其可以为板状结构,也可以具有收纳腔体,该载体52可以为金属材料,比如镁合金材料。该载体52也可以为金属和塑胶共同注塑成型。In an embodiment, a ground point can also be set on the radiator 11, the ground point can be set between the first feed point 111 and the second feed point 112, and the radio frequency module 12 and the control switch 13 are set on the carrier 15 The carrier 15 is used as the reference ground of the whole machine, and the radiator 11 is coupled with the carrier 15 through the connecting piece 14 at the position of the grounding point, so as to realize the grounding. The above connecting piece 14 may be a metal piece, and in other embodiments, the above grounding point may also be connected to the reference ground of the whole machine through a connecting wire. Wherein, the carrier 15 can be a shell structure, which can be a plate-shaped structure, and can also have a receiving cavity, and the carrier 52 can be a metal material, such as a magnesium alloy material. The carrier 52 can also be molded by co-injection molding of metal and plastic.
步骤S104,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。Step S104, control the connection target feed point, so that the electronic device completes the receiving and sending of the radio frequency signal.
具体的,控制开关13控制辐射体11在第一馈点111处或第二馈点112处与射频模组12电性连接,以使电子设备完成射频信号的接收和发送。Specifically, the control switch 13 controls the radiator 11 to be electrically connected to the radio frequency module 12 at the first feeding point 111 or the second feeding point 112, so that the electronic device completes receiving and sending of radio frequency signals.
在一实施例中,当控制开关13接通port1端口时,辐射体11在第一馈点处111与射频模组12电性连接,接地点将辐射体11分为第一部分和第二部分,此时,可以将上述辐射体11的第一部分作为第一天线,并用于收发中、高频射频信号,辐射体11的第二部分作为第二天线,并用于收发低频射频信号。可以理解的是,当控制开关13接通port2端口时,辐射体11在第二馈点112处与射频模组12电性连接,此时,上述第一天线可以用于收发低频射频信号,第二天线可用于收发中、高频射频信号。In one embodiment, when the control switch 13 is connected to port1, the radiator 11 is electrically connected to the radio frequency module 12 at the first feeding point 111, and the grounding point divides the radiator 11 into a first part and a second part, At this time, the first part of the radiator 11 can be used as the first antenna for transmitting and receiving medium and high frequency radio frequency signals, and the second part of the radiator 11 can be used as the second antenna for transmitting and receiving low frequency radio frequency signals. It can be understood that when the control switch 13 is connected to the port2 port, the radiator 11 is electrically connected to the radio frequency module 12 at the second feeding point 112. At this time, the above-mentioned first antenna can be used to send and receive low-frequency radio frequency signals. The two antennas can be used to send and receive medium and high frequency radio frequency signals.
本发明实施例中,上述电子设备可以是任何能够进行LTE通讯的设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned electronic device can be any device capable of LTE communication, for example: mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, PDA for short) ), Mobile Internet Device (MID) or wearable device (Wearable Device), etc.
由上可知,本申请实施例可以当电子设备处于通话状态时,获取用户的耳朵图像,根据耳朵图像确定电子设备当前的握持状态,其中,握持状态包括左手握持状态和右手握持状态,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。本申请可以在通话的过程中根据电子设备的握持状态选择对应的天线馈点,可以降低人手对于天线的干扰,从而提升电子设备的辐射强度。As can be seen from the above, the embodiment of the present application can acquire the user's ear image when the electronic device is in a call state, and determine the current holding state of the electronic device according to the ear image, wherein the holding state includes the left-hand holding state and the right-hand holding state Selecting a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state, and controlling the connection to the target feed point, so that the electronic device completes receiving and sending of radio frequency signals. The present application can select the corresponding antenna feed point according to the holding state of the electronic device during the call, which can reduce the interference of human hands on the antenna, thereby improving the radiation intensity of the electronic device.
根据上一实施例的描述,以下将进一步地来说明本申请的天线馈点的切换方法。According to the description of the previous embodiment, the method for switching the antenna feed point of the present application will be further described below.
请参阅图3,图3为本申请实施例提供的另一种天线馈点的切换方法的流程示意图,该实施例中以电子设备天线包括两个天线馈点为例进行说明,包括以下步骤:Please refer to FIG. 3. FIG. 3 is a schematic flowchart of another antenna feed point switching method provided by the embodiment of the present application. In this embodiment, the electronic device antenna includes two antenna feed points as an example for illustration, including the following steps:
步骤S201,当电子设备处于通话状态时,获取电子设备与用户之间的距离。Step S201, when the electronic device is in a talking state, acquire the distance between the electronic device and the user.
在一实施例中,上述通话状态包括语音通话状态,比如接通来电或者去电等,其中通话类型可以为电话语音通话或者即时通讯软件的语音通话等等,比如QQ语音或微信语音,本发明对此不作进一步限定。In one embodiment, the above-mentioned call state includes a voice call state, such as connecting an incoming call or an outgoing call, etc., wherein the call type can be a telephone voice call or a voice call of an instant messaging software, etc., such as QQ voice or WeChat voice, the present invention This is not further limited.
在本实施例中,考虑到只有当电子设备与用户的耳朵间存在一定距离的时候,才能获取到用户耳朵的图像,太近或是太远都会影响耳朵图像的整体性或是清晰度,因此可以获取电子设备与用户之间的距离,当距离达到合适的位置时再进一步获取耳朵图像。其中,可以通过电子设备上的距离传感器测量用户与电子设备之间的距离,该距离传感器可以为红外传感器或超声波传感器等等。In this embodiment, it is considered that the image of the user's ear can only be obtained when there is a certain distance between the electronic device and the user's ear, and too close or too far will affect the integrity or clarity of the ear image, so The distance between the electronic device and the user can be acquired, and the ear image can be further acquired when the distance reaches a suitable position. Wherein, the distance between the user and the electronic device may be measured by a distance sensor on the electronic device, and the distance sensor may be an infrared sensor or an ultrasonic sensor or the like.
步骤S202,判断该距离是否满足预设距离范围,若满足,则执行步骤S202,若不满足,则结束流程。Step S202, judging whether the distance satisfies the preset distance range, if so, then execute step S202, if not, then end the process.
其中,上述预设距离范围可以由用户根据需求自行设定,也可以由电子设备自动设置,比如该预设距离范围可以为10cm-30cm,在这个距离范围内,电子设备的前置摄像头可以获取较为清晰以及完整的耳朵图像。同时,若检测到电子设备与用户之间的距离在上述预设距离范围内,也可以进一步确定电子设备当前为手持通话状态。Wherein, the above-mentioned preset distance range can be set by the user according to the demand, or can be automatically set by the electronic device. For example, the preset distance range can be 10cm-30cm. Within this distance range, the front camera of the electronic device can obtain A clearer and more complete image of the ear. At the same time, if it is detected that the distance between the electronic device and the user is within the above-mentioned preset distance range, it may be further determined that the electronic device is currently in a handheld talking state.
步骤S203,获取用户的耳朵图像。Step S203, acquiring the user's ear image.
在一实施例中,可以通过电子设备的前置摄像头来获取用户的耳朵图像,具体的,当电子设备处于通话状态且确认电子设备是处于被手持状态时,开启前置摄像头并获取当前画面,然后从当前画面当中提取耳朵图像。In an embodiment, the user's ear image can be obtained through the front camera of the electronic device. Specifically, when the electronic device is in a call state and it is confirmed that the electronic device is in a handheld state, the front camera is turned on and the current picture is obtained. Then the ear image is extracted from the current frame.
步骤S204,将耳朵图像在预设图像库中进行匹配,以得到对应的预设耳朵图像。Step S204, matching the ear image in the preset image database to obtain the corresponding preset ear image.
在一实施例当中,由于人的两只耳朵相互对称的特性,因此在获取到用户的耳朵图像后,可以根据耳朵的轮廓来确定其为左耳或者右耳,进而确定当前电子设备是左手握持状态或右手握持状态。In one embodiment, due to the symmetry of the two ears of a person, after acquiring the image of the user's ear, it can be determined according to the contour of the ear that it is the left ear or the right ear, and then it can be determined whether the current electronic device is held in the left hand. holding state or right hand holding state.
步骤S205,获取预设耳朵图像对应的预设握持状态,以确定为电子设备当前的握持状态。In step S205, a preset holding state corresponding to the preset ear image is obtained to determine the current holding state of the electronic device.
其中,上述握持状态包括左手握持状态和右手握持状态。具体的,上述获取预设耳朵图像对应的预设握持状态的步骤可以包括:当预设耳朵图像为左耳图像时,确定对应预设握持状态为左手握持状态,当预设耳朵图像为右耳图像时,确定对应预设握持状态为右手握持状态。Wherein, the above-mentioned holding state includes a left-hand holding state and a right-hand holding state. Specifically, the above-mentioned step of acquiring the preset holding state corresponding to the preset ear image may include: when the preset ear image is the left ear image, determining that the corresponding preset holding state is the left-hand holding state; when the preset ear image When the image is the right ear, determine that the corresponding preset holding state is the right hand holding state.
步骤S206,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点。Step S206, selecting a target feed point from at least two antenna feed points on the antenna of the electronic device according to the grip state.
步骤S207,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。Step S207, control the connection target feed point, so that the electronic device completes the receiving and sending of the radio frequency signal.
在本申请实施例中,电子设备天线上可以包含第一天线馈点和第二天线馈点,其中,第一天线馈点在辐射体左侧,第二天线馈点在辐射体的右侧。控制开关用于根据电子设备当前的握持状态选择目标馈点,比如当电子设备当前为左手握持状态时,选择第二馈电作为目标馈点,当电子设备当前为右手握持状态时,可以选择第一馈电作为目标馈点。In the embodiment of the present application, the antenna of the electronic device may include a first antenna feed point and a second antenna feed point, wherein the first antenna feed point is on the left side of the radiator, and the second antenna feed point is on the right side of the radiator. The control switch is used to select the target feed point according to the current holding state of the electronic device. For example, when the electronic device is currently held by the left hand, select the second feed as the target feed point; when the electronic device is currently held by the right hand, The first feed can be selected as the target feed.
在一实施例中,当控制开关13接通port1端口时,辐射体11在第一馈点处111与射频模组12电性连接,接地点将辐射体11分为第一部分和第二部分,此时,可以将上述辐射体11的第一部分作为第一天线,并用于收发中、高频射频信号,辐射体11的第二部分作为第二天线,并用于收发低频射频信号。可以理解的是,当控制开关13接通port2端口时,辐射体11在第二馈点112处与射频模组12电性连接,此时,上述第一天线可以用于收发低频射频信号,第二天线可用于收发中、高频射频信号。In one embodiment, when the control switch 13 is connected to port1, the radiator 11 is electrically connected to the radio frequency module 12 at the first feeding point 111, and the grounding point divides the radiator 11 into a first part and a second part, At this time, the first part of the radiator 11 can be used as the first antenna for transmitting and receiving medium and high frequency radio frequency signals, and the second part of the radiator 11 can be used as the second antenna for transmitting and receiving low frequency radio frequency signals. It can be understood that when the control switch 13 is connected to the port2 port, the radiator 11 is electrically connected to the radio frequency module 12 at the second feeding point 112. At this time, the above-mentioned first antenna can be used to send and receive low-frequency radio frequency signals. The two antennas can be used to send and receive medium and high frequency radio frequency signals.
本发明实施例中,上述电子设备可以是任何能够进行LTE通讯的设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the above-mentioned electronic device can be any device capable of LTE communication, for example: mobile phone, tablet computer (Tablet Personal Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital assistant, PDA for short) ), Mobile Internet Device (MID) or wearable device (Wearable Device), etc.
由上可知,本申请实施例可以当电子设备处于通话状态时,获取电子设备与用户之间的距离,判断该距离是否满足预设距离范围,若满足,则获取用户的耳朵图像,将耳朵图像在预设图像库中进行匹配,以得到对应的预设耳朵图像,获取预设耳朵图像对应的预设握持状态,以确定为电子设备当前的握持状态,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。本申请可以根据电子设备的握持状态选择对应的天线馈点,可以降低人手对于天线的干扰,从而提升电子设备的辐射强度。As can be seen from the above, the embodiment of the present application can obtain the distance between the electronic device and the user when the electronic device is in a call state, and judge whether the distance satisfies the preset distance range, and if so, obtain the user's ear image, and convert the ear image Match in the preset image library to obtain the corresponding preset ear image, obtain the preset holding state corresponding to the preset ear image to determine the current holding state of the electronic device, and obtain the electronic device antenna according to the holding state Select a target feed point from at least two antenna feed points on the antenna, and control the connection to the target feed point, so that the electronic device can complete the reception and transmission of radio frequency signals. The present application can select the corresponding antenna feed point according to the holding state of the electronic device, which can reduce the interference of human hands on the antenna, thereby improving the radiation intensity of the electronic device.
为了便于更好的实施本申请实施例提供的天线馈点的切换方法,本申请实施例还提供了一种基于上述天线馈点的切换方法的装置。其中名词的含义与上述天线馈点的切换方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the antenna feed point switching method provided by the embodiment of the present application, the embodiment of the present application further provides a device based on the foregoing antenna feed point switching method. The meanings of the nouns are the same as those in the above method for switching antenna feed points, and for specific implementation details, refer to the description in the method embodiments.
请参阅图4,图4为本申请实施例提供的一种天线馈点的切换装置的结构示意图,该天线馈点的切换装置30包括:获取模块301、确定模块302、选取模块303以及连接模块304;Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of an antenna feed point switching device provided in an embodiment of the present application. The antenna feed point switching device 30 includes: an acquisition module 301, a determination module 302, a selection module 303 and a connection module 304;
获取模块301,用于当电子设备处于通话状态时,获取用户的耳朵图像;An acquisition module 301, configured to acquire an ear image of the user when the electronic device is in a call state;
确定模块302,用于根据耳朵图像确定电子设备当前的握持状态,其中,握持状态包括左手握持状态和右手握持状态;A determining module 302, configured to determine the current holding state of the electronic device according to the ear image, where the holding state includes a left-hand holding state and a right-hand holding state;
选取模块303,用于根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点;A selection module 303, configured to select a target feed point from at least two antenna feed points on the antenna of the electronic device according to the grip state;
连接模块304,用于控制连接目标馈点,以使电子设备完成射频信号的接收和发送。The connection module 304 is configured to control the connection target feed point, so that the electronic device completes the receiving and sending of radio frequency signals.
在一实施例中,如图5所示,获取模块301可以包括:第一获取子模块3011、判断子模块3012以及第二获取子模块3013;In an embodiment, as shown in FIG. 5 , the acquiring module 301 may include: a first acquiring submodule 3011, a judging submodule 3012, and a second acquiring submodule 3013;
第一获取子模块3011,用于当电子设备处于通话状态时,获取电子设备与用户之间的距离;The first obtaining sub-module 3011 is used to obtain the distance between the electronic device and the user when the electronic device is in a call state;
判断子模块3012,用于判断距离是否满足预设距离范围;Judging sub-module 3012, used to judge whether the distance satisfies the preset distance range;
第二获取子模块3013,用于当判断子模块3012判断为是时,获取用户的耳朵图像。The second acquisition sub-module 3013 is configured to acquire the user's ear image when the determination sub-module 3012 determines yes.
在一实施例中,确定模块302可以具体包括:匹配子模块3021和确定子模块3022;In an embodiment, the determining module 302 may specifically include: a matching submodule 3021 and a determining submodule 3022;
匹配子模块3021,用于将耳朵图像在预设图像库中进行匹配,以得到对应的预设耳朵图像;The matching sub-module 3021 is used to match the ear image in the preset image library to obtain the corresponding preset ear image;
确定子模块3022,用于获取预设耳朵图像对应的预设握持状态,以确定为电子设备当前的握持状态。The determining sub-module 3022 is configured to acquire a preset holding state corresponding to the preset ear image, so as to determine it as the current holding state of the electronic device.
其中,上述确定子模块3022,具体用于当预设耳朵图像为左耳图像时,确定对应预设握持状态为左手握持状态,当预设耳朵图像为右耳图像时,确定对应预设握持状态为右手握持状态。Wherein, the determination sub-module 3022 is specifically used to determine the corresponding preset holding state as the left hand holding state when the preset ear image is the left ear image, and determine the corresponding preset holding state when the preset ear image is the right ear image. The holding state is the right hand holding state.
由上可知,本申请实施例提供的天线馈点的切换装置30可以当电子设备处于通话状态时,获取用户的耳朵图像,根据耳朵图像确定电子设备当前的握持状态,其中,握持状态包括左手握持状态和右手握持状态,根据握持状态从电子设备天线上的至少两个天线馈点中选取目标馈点,控制连接目标馈点,以使电子设备完成射频信号的接收和发送。本申请可以在通话的过程中根据电子设备的握持状态选择对应的天线馈点,可以降低人手对于天线的干扰,从而提升电子设备的辐射强度。It can be known from the above that the antenna feed point switching device 30 provided in the embodiment of the present application can acquire the user's ear image when the electronic device is in a call state, and determine the current holding state of the electronic device according to the ear image, wherein the holding state includes In the left-hand holding state and the right-hand holding state, select a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state, and control the connection to the target feed point, so that the electronic device completes the reception and transmission of radio frequency signals. The present application can select the corresponding antenna feed point according to the holding state of the electronic device during the call, which can reduce the interference of human hands on the antenna, thereby improving the radiation intensity of the electronic device.
本申请还提供一种存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现方法实施例提供的天线馈点的切换方法。The present application also provides a storage medium on which a computer program is stored, wherein, when the computer program is executed by a processor, the antenna feed point switching method provided by the method embodiment is implemented.
本申请还提供一种电子设备,包括存储器,处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现方法实施例提供的天线馈点的切换方法。The present application also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the antenna provided by the method embodiment is implemented when the processor executes the program Feed point switching method.
在本申请又一实施例中还提供一种电子设备,该电子设备可以是智能手机、平板电脑等设备。如图6所示,电子设备400包括处理器401、存储器402。其中,处理器401与存储器402电性连接。In yet another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in FIG. 6 , an electronic device 400 includes a processor 401 and a memory 402 . Wherein, the processor 401 is electrically connected with the memory 402 .
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or loading the application program stored in the memory 402 and calling the data stored in the memory 402, the processor 401 executes the electronic Various functions and processing data of the equipment, so as to monitor the electronic equipment as a whole.
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能:In this embodiment, the processor 401 in the electronic device 400 will follow the steps below to load the instructions corresponding to the process of one or more application programs into the memory 402, and the instructions stored in the memory 402 will be executed by the processor 401. in the application, so as to realize various functions:
当电子设备处于通话状态时,获取用户的耳朵图像;When the electronic device is in a call state, obtain an image of the user's ear;
根据所述耳朵图像确定所述电子设备当前的握持状态,其中,所述握持状态包括左手握持状态和右手握持状态;Determine the current holding state of the electronic device according to the ear image, wherein the holding state includes a left-hand holding state and a right-hand holding state;
根据所述握持状态从所述电子设备天线上的至少两个天线馈点中选取目标馈点;selecting a target feed point from at least two antenna feed points on the antenna of the electronic device according to the holding state;
控制连接所述目标馈点,以使所述电子设备完成射频信号的接收和发送。Controlling and connecting the target feed point, so that the electronic equipment completes receiving and sending of radio frequency signals.
请参阅图7,图7为本申请实施例提供的电子设备结构示意图。该电子设备500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图7中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 7 . FIG. 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device 500 may include a radio frequency (RF, Radio Frequency) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, a wireless fidelity ( WiFi, Wireless Fidelity) module 507, including a processor 508 with one or more processing cores, and a power supply 509 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine some components, or arrange different components.
射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通信系统(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,GeneralPacket Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long TermEvolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508; in addition, the data related to the uplink is sent to the base station . Generally, the radio frequency circuit 501 includes but is not limited to an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM, Subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the radio frequency circuit 501 can also communicate with the network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM, Global System of Mobile communication), General Packet Radio Service (GPRS, General Packet Radio Service), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), email, Short Message Service (SMS, Short Messaging Service), etc.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。Memory 502 may be used to store applications and data. The application programs stored in the memory 502 include executable codes. Applications can be composed of various functional modules. The processor 508 executes various functional applications and data processing by running the application programs stored in the memory 502 . The memory 502 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of electronic devices (such as audio data, phonebook, etc.), etc. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 502 may further include a memory controller to provide access to the memory 502 by the processor 508 and the input unit 503 .
输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。The input unit 503 can be used to receive input numbers, character information or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or trackpad, collects user touch operations on or near it (for example, the user uses a finger, stylus, etc. any suitable object or accessory on the touch-sensitive surface or on the touch-sensitive Operation near the surface), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 508, and can receive and execute commands sent by the processor 508.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid CrystalDisplay)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图7中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 504 can be used to display information input by or provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface can cover the display panel. When the touch-sensitive surface detects a touch operation on or near it, it is sent to the processor 508 to determine the type of the touch event, and then the processor 508 displays on the display according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 7, the touch-sensitive surface and the display panel are used as two independent components to realize the input and input functions, in some embodiments, the touch-sensitive surface and the display panel can be integrated to realize the input and output functions.
电子设备还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The electronic device may also include at least one sensor 505, 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 panel according to the brightness of the ambient light, and the proximity sensor may turn off the display panel and/or backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone attitude (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; as for other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. Let me repeat.
音频电路506可通过扬声器、传声器提供用户与电子设备之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一电子设备,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。The audio circuit 506 can provide an audio interface between the user and the electronic device through a speaker or a microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit it to the speaker, and the speaker converts it into a sound signal output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted into The audio data, after being processed by the audio data output processor 508, is sent to another electronic device through the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. Audio circuitry 506 may also include an earphone jack to provide communication of peripheral headphones with the electronic device.
无线保真(WiFi)属于短距离无线传输技术,电子设备通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了无线保真模块507,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless Fidelity (WiFi) belongs to the short-distance wireless transmission technology. Electronic devices can help users send and receive emails, browse web pages, and access streaming media through the Wi-Fi module 507. It provides users with wireless broadband Internet access. Although FIG. 7 shows the Wi-Fi module 507, it can be understood that it is not a necessary component of the electronic device, and can be completely omitted as required without changing the essence of the invention.
处理器508是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing the application program stored in the memory 502 and calling the data stored in the memory 502, the electronic device executes Various functions and processing data, so as to monitor the electronic equipment as a whole. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 508 .
电子设备还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理系统与处理器508逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power source 509 (such as a battery) for powering various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so as to implement functions such as management of charging, discharging, and power consumption management through the power management system. The power supply 509 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
尽管图7中未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 7 , the electronic device may also include a camera, a Bluetooth module, etc., which will not be repeated here.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above modules may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above modules, please refer to the previous method embodiments, which will not be repeated here.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如天线馈点的切换方法的实施例的流程。其中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the electronic device and executed by at least one processor in the electronic device, and the execution process may include, for example, the procedure of the embodiment of the method for switching antenna feed points. Wherein, the storage medium may include: a read only memory (ROM, Read Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and the like.
以上对本申请实施例提供的一种天线馈点的切换方法、装置、存储介质和电子设备进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。A method, device, storage medium, and electronic device for switching antenna feed points provided by the embodiments of the present application have been described in detail above. The functional modules thereof can be integrated into a processing chip, or each module can exist separately physically, or Two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. In this paper, specific examples are used to illustrate the principle and implementation of the application. The description of the above embodiments is only used to help understand the method and core idea of the application; meanwhile, for those skilled in the art, according to the application Thoughts, specific implementation methods and application ranges all have changes. In summary, the content of this specification should not be construed as limiting the application.
Claims (11)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810206406.3A CN108418969B (en) | 2018-03-13 | 2018-03-13 | Antenna feed point switching method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810206406.3A CN108418969B (en) | 2018-03-13 | 2018-03-13 | Antenna feed point switching method and device, storage medium and electronic equipment |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN108418969A true CN108418969A (en) | 2018-08-17 |
| CN108418969B CN108418969B (en) | 2020-08-14 |
Family
ID=63131338
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810206406.3A Expired - Fee Related CN108418969B (en) | 2018-03-13 | 2018-03-13 | Antenna feed point switching method and device, storage medium and electronic equipment |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108418969B (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109068383A (en) * | 2018-08-24 | 2018-12-21 | 维沃移动通信有限公司 | A kind of method and terminal device adjusting antenna transmission power |
| CN109286057A (en) * | 2018-10-22 | 2019-01-29 | Oppo广东移动通信有限公司 | Electronic device and antenna control method |
| CN110048756A (en) * | 2019-04-24 | 2019-07-23 | 闽江学院 | A kind of antenna method for improving mobile communication terminal and holding performance |
| CN112242854A (en) * | 2020-10-19 | 2021-01-19 | 维沃移动通信有限公司 | Electronic equipment, control method and device for electronic equipment |
| CN113766063A (en) * | 2021-09-24 | 2021-12-07 | 惠州Tcl移动通信有限公司 | Antenna matching method and device, mobile terminal and storage medium |
| CN115441882A (en) * | 2022-09-01 | 2022-12-06 | 联想(北京)有限公司 | Antenna control method and device and electronic equipment |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140128032A1 (en) * | 2011-06-20 | 2014-05-08 | Prasad Muthukumar | Smart Active Antenna Radiation Pattern Optimising System For Mobile Devices Achieved By Sensing Device Proximity Environment With Property, Position, Orientation, Signal Quality And Operating Modes |
| CN106131336A (en) * | 2016-07-11 | 2016-11-16 | 朱小龙 | The incoming call of a kind of automatic identification division ear i.e. connects method |
| CN107508624A (en) * | 2017-08-30 | 2017-12-22 | 北京小米移动软件有限公司 | Control method, device, terminal and the computer-readable recording medium of antenna switching |
| CN107580123A (en) * | 2017-08-30 | 2018-01-12 | 努比亚技术有限公司 | Antenna handover trigger control method, communication terminal and computer-readable recording medium |
-
2018
- 2018-03-13 CN CN201810206406.3A patent/CN108418969B/en not_active Expired - Fee Related
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140128032A1 (en) * | 2011-06-20 | 2014-05-08 | Prasad Muthukumar | Smart Active Antenna Radiation Pattern Optimising System For Mobile Devices Achieved By Sensing Device Proximity Environment With Property, Position, Orientation, Signal Quality And Operating Modes |
| CN106131336A (en) * | 2016-07-11 | 2016-11-16 | 朱小龙 | The incoming call of a kind of automatic identification division ear i.e. connects method |
| CN107508624A (en) * | 2017-08-30 | 2017-12-22 | 北京小米移动软件有限公司 | Control method, device, terminal and the computer-readable recording medium of antenna switching |
| CN107580123A (en) * | 2017-08-30 | 2018-01-12 | 努比亚技术有限公司 | Antenna handover trigger control method, communication terminal and computer-readable recording medium |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109068383A (en) * | 2018-08-24 | 2018-12-21 | 维沃移动通信有限公司 | A kind of method and terminal device adjusting antenna transmission power |
| CN109286057A (en) * | 2018-10-22 | 2019-01-29 | Oppo广东移动通信有限公司 | Electronic device and antenna control method |
| CN110048756A (en) * | 2019-04-24 | 2019-07-23 | 闽江学院 | A kind of antenna method for improving mobile communication terminal and holding performance |
| CN112242854A (en) * | 2020-10-19 | 2021-01-19 | 维沃移动通信有限公司 | Electronic equipment, control method and device for electronic equipment |
| CN113766063A (en) * | 2021-09-24 | 2021-12-07 | 惠州Tcl移动通信有限公司 | Antenna matching method and device, mobile terminal and storage medium |
| CN115441882A (en) * | 2022-09-01 | 2022-12-06 | 联想(北京)有限公司 | Antenna control method and device and electronic equipment |
Also Published As
| Publication number | Publication date |
|---|---|
| CN108418969B (en) | 2020-08-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108430101B (en) | Antenna closing method, device, storage medium and electronic device | |
| CN108418969B (en) | Antenna feed point switching method and device, storage medium and electronic equipment | |
| CN108494957A (en) | Antenna switching method and device, storage medium and electronic equipment | |
| WO2017206916A1 (en) | Method for determining kernel running configuration in processor and related product | |
| CN107172671B (en) | A channel switching method, device, storage medium and terminal | |
| CN106982097A (en) | Radio frequency interference elimination method, device, storage medium and terminal | |
| CN107277912A (en) | A kind of Radio frequency interference processing method, device, storage medium and terminal | |
| WO2018214600A1 (en) | Method for capturing fingerprint and associated products | |
| CN106911848B (en) | Method and terminal device for outputting prompt message | |
| CN106357925A (en) | Method, device and terminal for switching screen brightness adjusting modes | |
| CN109067981B (en) | Split-screen application switching method, device, storage medium and electronic device | |
| CN106817540A (en) | A camera control method and device | |
| CN107608861A (en) | Heat dissipation control method and device | |
| CN106936516B (en) | Display state control method, storage medium and terminal | |
| JP2016511875A (en) | Image thumbnail generation method, apparatus, terminal, program, and recording medium | |
| CN107220951A (en) | Face image noise reduction method, device, storage medium and computer equipment | |
| CN108920086B (en) | Split screen quitting method and device, storage medium and electronic equipment | |
| CN108984142B (en) | Split-screen display method, device, storage medium and electronic device | |
| CN111654902A (en) | Method and device for reducing interference to GPS signal of mobile terminal, and mobile terminal | |
| CN107330867B (en) | Image synthesis method, apparatus, computer-readable storage medium, and computer device | |
| CN108566482A (en) | Antenna feed point switching method, device, storage medium and electronic equipment | |
| CN106851806A (en) | A transmission power control method and mobile terminal | |
| CN109831798B (en) | Signal acquisition method, system, storage medium and mobile terminal | |
| CN103079047B (en) | A kind of method of parameter adjustment and terminal | |
| CN107179596A (en) | Focusing method and related product |
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: 20200814 |
|
| CF01 | Termination of patent right due to non-payment of annual fee |