[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN109639368A - electromagnetic interference control method and related device - Google Patents

electromagnetic interference control method and related device Download PDF

Info

Publication number
CN109639368A
CN109639368A CN201811472848.9A CN201811472848A CN109639368A CN 109639368 A CN109639368 A CN 109639368A CN 201811472848 A CN201811472848 A CN 201811472848A CN 109639368 A CN109639368 A CN 109639368A
Authority
CN
China
Prior art keywords
antenna
camera
radio frequency
electromagnetic interference
antennas
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811472848.9A
Other languages
Chinese (zh)
Inventor
王讯峰
唐凯
谭正鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811472848.9A priority Critical patent/CN109639368A/en
Publication of CN109639368A publication Critical patent/CN109639368A/en
Priority to PCT/CN2019/102276 priority patent/WO2020114009A1/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • H04B15/02Reducing interference from electric apparatus by means located at or near the interfering apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0805Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Studio Devices (AREA)

Abstract

本申请实施例公开了电磁干扰控制方法及相关装置,方法包括:当检测到电子设备的摄像头开启时,检测摄像头与电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测第一天线是否为距离摄像头最远的天线;若否,则通过AP向Modem发送第一预设指令;通过Modem接收第一预设指令,执行天线切换操作以降低或者避免摄像头与射频系统之间的电磁干扰。本申请实施例有利于降低或者避免电磁干扰。

The embodiment of the present application discloses an electromagnetic interference control method and related devices, the method comprising: when detecting that the camera of an electronic device is turned on, detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; if so, determining the first antenna currently enabled, and detecting whether the first antenna is the antenna farthest from the camera; if not, sending a first preset instruction to a modem through an AP; receiving the first preset instruction through the modem, performing an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. The embodiment of the present application is conducive to reducing or avoiding electromagnetic interference.

Description

电磁干扰控制方法及相关装置Electromagnetic interference control method and related device

技术领域technical field

本申请涉及电子设备技术领域,具体涉及一种电磁干扰控制的方法及相关装置。The present application relates to the technical field of electronic equipment, and in particular, to a method and related device for electromagnetic interference control.

背景技术Background technique

生活中,电子设备的摄像头与射频系统同时工作时,射频系统的某些频段的工作频率可能会对摄像头产生电磁干扰,导致摄像头预览和拍照时出现花屏或者卡顿现象。现有技术中,通过在摄像头信号传输走线上增加屏蔽防护,以减少射频系统对摄像头的电磁干扰,但是,这种通过改善硬件的方式会增加电子设备的成本以及增加电子设备的体积,不够灵活、智能。In daily life, when the camera of an electronic device and the radio frequency system work at the same time, the working frequency of some frequency bands of the radio frequency system may cause electromagnetic interference to the camera, resulting in blurry screen or freeze phenomenon when the camera previews and takes pictures. In the prior art, shielding protection is added to the camera signal transmission line to reduce the electromagnetic interference of the radio frequency system to the camera. However, this method of improving the hardware will increase the cost of the electronic device and increase the volume of the electronic device, which is not enough. Flexible and smart.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供了一种电磁干扰控制方法及相关装置,以期实现增加电磁干扰控制的灵活性与智能性。Embodiments of the present application provide an electromagnetic interference control method and a related device, so as to achieve increased flexibility and intelligence in electromagnetic interference control.

第一方面,本申请实施例提供一种控制方法,应用于电子设备,所述电子设备包括应用处理器AP、调制解调器Modem、摄像头和射频系统,所述射频系统包括射频收发器、射频处理电路和4根天线,所述AP连接所述Modem和所述摄像头,所述Modem连接所述射频收发器,所述射频收发器连接所述射频处理电路,所述射频处理电路连接所述4根天线;所述方法包括:In a first aspect, an embodiment of the present application provides a control method, which is applied to an electronic device. The electronic device includes an application processor AP, a modem Modem, a camera, and a radio frequency system. The radio frequency system includes a radio frequency transceiver, a radio frequency processing circuit, and a radio frequency system. Four antennas, the AP is connected to the Modem and the camera, the Modem is connected to the radio frequency transceiver, the radio frequency transceiver is connected to the radio frequency processing circuit, and the radio frequency processing circuit is connected to the four antennas; The method includes:

当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;When it is detected that the camera of the electronic device is turned on, detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device;

若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;If so, determine the currently enabled first antenna, and detect whether the first antenna is the farthest antenna from the camera;

若否,则通过所述AP向所述Modem发送第一预设指令;If not, sending a first preset command to the Modem through the AP;

通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。The first preset instruction is received by the Modem, and an antenna switching operation is performed to reduce or avoid electromagnetic interference between the camera and the radio frequency system.

第二方面,本申请实施例提供一种控制装置,应用于电子设备,所述控制装置包括处理单元和通信单元,其中,所述处理单元,用于检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令,通过所述通信单元传递第一预设指令信号,通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。In a second aspect, an embodiment of the present application provides a control device, which is applied to an electronic device. The control device includes a processing unit and a communication unit, wherein the processing unit is configured to detect that when a camera of the electronic device is turned on, Detect whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device, if so, determine the currently enabled first antenna, and detect whether the first antenna is the farthest antenna from the camera; if not, then Send the first preset command to the Modem through the AP, transmit the first preset command signal through the communication unit, receive the first preset command through the Modem, and perform an antenna switching operation to reduce or avoid the electromagnetic interference between the camera and the radio frequency system.

第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing The above program includes instructions for executing steps in any method of the first aspect of the embodiments of the present application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. In one aspect some or all of the steps described in any method.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.

可以看出,本申请实施例中,当电子设备当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令;通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。可见,本申请实施例的电子设备针对射频系统与摄像头之间的电磁干扰,能够通过执行天线切换操作以降低或者避免,提高电子设备对电磁干扰控制的灵活性、智能性。It can be seen that, in the embodiment of the present application, when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; an antenna, and detect whether the first antenna is the antenna farthest from the camera; if not, send a first preset command to the Modem through the AP; receive the first preset command through the Modem An instruction is provided to perform an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. It can be seen that the electronic device of the embodiment of the present application can reduce or avoid the electromagnetic interference between the radio frequency system and the camera by performing the antenna switching operation, thereby improving the flexibility and intelligence of the electronic device for electromagnetic interference control.

附图说明Description of drawings

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

图1是本申请实施例提供的一种电子设备的结构示意图;1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;

图2是本申请实施例提供的一种电磁干扰控制方法的流程示意图;2 is a schematic flowchart of a method for controlling electromagnetic interference provided by an embodiment of the present application;

图3是本申请实施例提供的另一种电磁干扰控制方法的流程示意图;3 is a schematic flowchart of another electromagnetic interference control method provided by an embodiment of the present application;

图4是本申请实施例提供的另一种电磁干扰控制方法的流程示意图;4 is a schematic flowchart of another electromagnetic interference control method provided by an embodiment of the present application;

图5是本申请实施例提供的另一种电子设备的结构示意图;5 is a schematic structural diagram of another electronic device provided by an embodiment of the present application;

图6是本申请实施例提供的一种电磁干扰控制装置的功能单元组成框图。FIG. 6 is a block diagram of functional units of an electromagnetic interference control device provided by an embodiment of the present application.

具体实施方式Detailed ways

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

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application 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, method, 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 For other steps or units inherent to these processes, methods, products or devices.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。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 application. 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.

如图1所示,本申请实施例所涉及到的电子设备1000包括应用处理器AP1100、调制解调器Modem1200、摄像头1300和射频系统1400,所述射频系统1400包括射频收发器1410、射频处理电路1420和4根天线1431、1432、1433、1434,所述AP1100连接所述Modem1200和所述摄像头1300,所述Modem1200连接所述射频收发器1410,所述射频收发器1410连接所述射频处理电路1420,所述射频处理电路1420连接所述4根天线。As shown in FIG. 1 , the electronic device 1000 involved in the embodiment of the present application includes an application processor AP1100, a modem 1200, a camera 1300, and a radio frequency system 1400. The radio frequency system 1400 includes a radio frequency transceiver 1410, radio frequency processing circuits 1420 and 4 Root antennas 1431, 1432, 1433, 1434, the AP1100 is connected to the Modem1200 and the camera 1300, the Modem1200 is connected to the radio frequency transceiver 1410, the radio frequency transceiver 1410 is connected to the radio frequency processing circuit 1420, the The radio frequency processing circuit 1420 is connected to the four antennas.

上述电子设备可以包括各种手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(UserEquipment,UE),移动台(Mobile Station,MS),电子设备设备(terminal Pevice)等等。The above electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems, as well as various forms of user equipment (UserEquipment, UE), mobile station (Mobile Station, MS) , electronic equipment (terminal Pevice) and so on.

本申请实施例提出一种电磁干扰控制方法,下面结合附图对本申请实施例进行详细介绍。The embodiments of the present application propose an electromagnetic interference control method, and the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

请参阅图2,图2是本申请实施例提供了一种电磁干扰控制方法的流程示意图,应用于如图1所示的电子设备,如图所示,本控制方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of an electromagnetic interference control method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1. As shown in the figure, the control method includes:

S201,当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰。S201, when it is detected that the camera of the electronic device is turned on, detect whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device.

其中,电磁干扰是指在摄像头与射频系统同时工作时,当射频系统处于某个工作频段时,对摄像头产生干扰。可以通过动态比对检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,例如,直接获取摄像头的当前工作频率与射频系统的当前工作频率,若两者根据预设规则能够匹配的情况下,则认为射频系统与摄像头之间产生了电磁干扰,也可以通过静态查表检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,例如,在电子设备中预先建立电磁干扰频率列表,获取射频系统的当前工作频率,如果该工作频率在电磁干扰频率列表中,则认为射频系统与摄像头之间产生了电磁干扰。Among them, electromagnetic interference refers to the interference to the camera when the camera and the radio frequency system work at the same time, when the radio frequency system is in a certain working frequency band. Whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device can be detected by dynamic comparison. For example, the current operating frequency of the camera and the current operating frequency of the radio frequency system can be directly obtained, if the two can match according to preset rules. , it is considered that electromagnetic interference has occurred between the radio frequency system and the camera, and a static look-up table can be used to detect whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device. For example, a list of electromagnetic interference frequencies is pre-established in the electronic device. , to obtain the current working frequency of the radio frequency system. If the working frequency is in the electromagnetic interference frequency list, it is considered that electromagnetic interference has occurred between the radio frequency system and the camera.

S202,若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线。S202, if yes, determine the currently enabled first antenna, and detect whether the first antenna is the antenna farthest from the camera.

其中,当前启用的第一天线即是当前进行射频传输的天线,在检测所述摄像头与所述电子设备的射频系统发生电磁干扰时,确定当前启用的第一天线,并检测所述第一天线是否为距离摄像头最远的天线。Wherein, the currently enabled first antenna is the antenna currently performing radio frequency transmission. When electromagnetic interference between the camera and the radio frequency system of the electronic device is detected, the currently enabled first antenna is determined, and the first antenna is detected. Whether it is the antenna farthest from the camera.

S203,若否,则通过所述AP向所述Modem发送第一预设指令。S203, if not, send a first preset instruction to the Modem through the AP.

其中,S203即是在检测所述第一天线不为距离所述摄像头最远的天线时,通过所述AP向所述Modem发送第一预设指令,所述第一预设指令包含通知所述Modem执行天线切换操作。Wherein, S203 is to send a first preset command to the Modem through the AP when it is detected that the first antenna is not the antenna farthest from the camera, where the first preset command includes notifying the The Modem performs an antenna switching operation.

S204,通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。S204, receiving the first preset instruction through the Modem, and performing an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system.

其中,Modem执行天线切换操作是指Modem将当前射频传输从当前工作天线,即第一天线,切换到不会对摄像头产生电磁干扰或者对摄像头的电磁干扰较小的第二天线。Modem可以根据预设策略执行天线切换操作,其中,所述预设策略可以是根据天线与摄像头的距离执行天线切换操作,所述预设策略还可以是根据天线对摄像头的影响执行天线切换操作,本实施例对预设策略不做限定。The operation of antenna switching performed by the Modem means that the Modem switches the current radio frequency transmission from the current working antenna, that is, the first antenna, to the second antenna that does not cause electromagnetic interference to the camera or has less electromagnetic interference to the camera. The Modem may perform the antenna switching operation according to a preset strategy, wherein the preset strategy may be performing the antenna switching operation according to the distance between the antenna and the camera, and the preset strategy may also be performing the antenna switching operation according to the influence of the antenna on the camera, This embodiment does not limit the preset policy.

可以看出,本申请实施例中,当电子设备当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令;通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。可见,本申请实施例的电子设备针对射频系统与摄像头之间的电磁干扰,能够通过执行天线切换操作以降低或者避免,提高电子设备对电磁干扰控制的灵活性、智能性。It can be seen that, in the embodiment of the present application, when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; an antenna, and detect whether the first antenna is the antenna farthest from the camera; if not, send a first preset command to the Modem through the AP; receive the first preset command through the Modem An instruction is provided to perform an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. It can be seen that the electronic device of the embodiment of the present application can reduce or avoid the electromagnetic interference between the radio frequency system and the camera by performing the antenna switching operation, thereby improving the flexibility and intelligence of the electronic device for electromagnetic interference control.

在一个可能的示例中,所述获取所述目标应用的用户画像信息,包括:所述执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰,包括:从所述4根天线中筛选除所述第一天线之外的一根第二天线;切换到所述第二天线,固定所述射频系统与所述第二天线的唯一对应关系。In a possible example, the acquiring the user profile information of the target application includes: performing an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system, including: extracting from the Screen one second antenna except the first antenna among the four antennas; switch to the second antenna, and fix the unique correspondence between the radio frequency system and the second antenna.

其中,从所述4根天线中筛选除所述第一天线之外的一根第二天线是指从除当前工作天线的天线中选择一根不会对摄像头产生电磁干扰或者减小对摄像头电磁干扰的天线作为目标天线。固定所述射频系统与所述第二天线的唯一对应关系是指暂时将该条筛选出的天线作为当前射频传输的唯一天线。Wherein, selecting a second antenna other than the first antenna from the four antennas refers to selecting one antenna from the antennas other than the current working antenna that will not cause electromagnetic interference to the camera or reduce electromagnetic interference to the camera. The interfering antenna acts as the target antenna. Fixing the unique correspondence between the radio frequency system and the second antenna refers to temporarily using the screened antenna as the only antenna for current radio frequency transmission.

可见,本示例中,电子设备能够在切换天线以后,暂时固定射频系统与切换后的天线的唯一对应关系,使得电磁干扰控制更加稳定。It can be seen that in this example, the electronic device can temporarily fix the unique correspondence between the radio frequency system and the switched antenna after switching the antenna, so that the electromagnetic interference control is more stable.

在一个可能的示例中,从所述4根天线中筛选除所述第一天线之外的一根第二天线,包括:从剩余3根天线中筛选出与所述摄像头距离最远的天线作为目标天线。In a possible example, selecting a second antenna other than the first antenna from the four antennas includes: selecting the antenna with the farthest distance from the camera from the remaining three antennas as the target antenna.

其中,从剩余3根天线中筛选出与所述摄像头距离最远的天线作为目标天线可以人工对电子设备进行预选设置,直接将与所述摄像头最远的天线作为目标天线预先设置在电子设备中,电子设备直接对其进行定位,也可以是,电子设备直接获取剩余3根天线与摄像头的距离数据,进行比对后,选择数值最大的天线作为目标天线。Among them, the antenna with the farthest distance from the camera is selected from the remaining 3 antennas as the target antenna, and the electronic device can be manually pre-selected and set, and the antenna that is farthest from the camera can be directly preset in the electronic device as the target antenna. , the electronic device directly locates it, or the electronic device directly obtains the distance data between the remaining three antennas and the camera, and after comparison, selects the antenna with the largest value as the target antenna.

可见,本示例中,电子设备能够根据天线与摄像头的距离筛选目标天线来控制电磁干扰,增加了电磁干扰控制的灵活性。It can be seen that in this example, the electronic device can control the electromagnetic interference by screening the target antenna according to the distance between the antenna and the camera, which increases the flexibility of electromagnetic interference control.

在一个可能的示例中,从所述4根天线中筛选除所述第一天线之外的一根第二天线,包括:确定剩余3根天线中未被握住的天线;当所述未被握住天线的天线为0根时,将所述距离所述摄像头最远的天线作为目标天线;当所述未被握住天线的天线为1根时,将所述天线作为目标天线;当所述未被握住天线的天线为3根时,将距离所述摄像头最远的天线作为目标天线;当所述未被握住天线的天线为2根时,当两根天线与所述摄像头的距离不同时,将距离所述摄像头最远的天线作为目标天线;或者,当两根天线与所述摄像头的距离相同时,选取对所述摄像头干扰最小的天线作为目标天线。In a possible example, screening a second antenna other than the first antenna from the four antennas includes: determining an antenna that is not held among the remaining three antennas; When the number of antennas holding the antenna is 0, the antenna farthest from the camera is used as the target antenna; when the number of antennas not holding the antenna is 1, the antenna is used as the target antenna; When the number of antennas that are not held is 3, the antenna farthest from the camera is used as the target antenna; when the number of antennas that are not held is 2, when the two antennas are connected to the camera When the distances are different, the antenna farthest from the camera is used as the target antenna; or, when the distances between the two antennas and the camera are the same, the antenna with the least interference to the camera is selected as the target antenna.

其中,所述未被握住是指天线的发射区域未被用户手掌所遮挡,通过传感器检测剩余3根天线中未被握住的天线,当剩余3根天线都被握住时,则选择距离摄像头最远的天线作为目标天线,因为,在同等条件下,用于射频传输的天线距离摄像头越远,对摄像头的电磁干扰越小。Among them, the "not being held" means that the transmitting area of the antenna is not blocked by the user's palm, and the sensor detects the antenna that is not held among the remaining three antennas. When the remaining three antennas are all held, the distance is selected. The antenna farthest from the camera is used as the target antenna, because, under the same conditions, the farther the antenna used for radio frequency transmission is from the camera, the smaller the electromagnetic interference to the camera.

可见,本示例中,电子设备能够根据用户的手握来筛选目标天线来控制电磁干扰,使电磁干扰控制更加灵活。It can be seen that, in this example, the electronic device can screen the target antenna according to the user's hand to control the electromagnetic interference, so that the electromagnetic interference control is more flexible.

在一个可能的示例中,从所述4根天线中筛选除所述第一天线之外的一根第二天线,包括:从剩余3根天线中筛选出与所述摄像头距离最远且未被握住的天线作为目标天线。In a possible example, selecting a second antenna other than the first antenna from the 4 antennas includes: selecting from the remaining 3 antennas that the distance from the camera is the farthest and is not connected to the camera. The held antenna serves as the target antenna.

其中,从剩余3根天线中筛选出与所述摄像头距离最远且未被握住的天线作为目标天线可以是先确定剩余天线中距离摄像头最远的天线,再判断该天线是否被握住,直到确定目标天线,也可以先确定剩余3根天线未握住得天线,再从未被握住的天线中选择距离摄像头最远得天线作为目标天线。当剩余3根天线都被握住的情况下,选择距离摄像头最远的天线作为目标天线。Among them, the antenna that is farthest away from the camera and not held from the remaining three antennas is selected as the target antenna. It can be determined by first determining the antenna that is farthest from the camera among the remaining antennas, and then judging whether the antenna is held. Until the target antenna is determined, it is also possible to first determine the antennas that are not held by the remaining three antennas, and then select the antenna that is farthest from the camera as the target antenna from the antennas that are not held. When the remaining 3 antennas are all held, select the antenna farthest from the camera as the target antenna.

可见,本示例中,电子设备能够根据天线与摄像头的距离筛选目标天线来控制电磁干扰,增加了电磁干扰控制的灵活性。It can be seen that in this example, the electronic device can control the electromagnetic interference by screening the target antenna according to the distance between the antenna and the camera, which increases the flexibility of electromagnetic interference control.

在一个可能的示例中,若检测到所述第一天线为距离所述摄像头最远的天线,则调整所述摄像头的工作频率以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。In a possible example, if it is detected that the first antenna is the antenna farthest from the camera, the operating frequency of the camera is adjusted to reduce or avoid electromagnetic interference between the camera and the radio frequency system .

其中,调整所述摄像头的工作频率可以是自动刷新工作频率。Wherein, adjusting the working frequency of the camera may be an automatic refresh working frequency.

在一个可能的示例中,所述检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,包括:检测所述摄像头的当前工作频率以及所述射频系统的当前工作频率;比对所述摄像头的当前工作频率与所述射频系统的当前工作频率是否适配;或者,获取所述射频系统的当前工作频率;查询预设的所述摄像头的电磁干扰频率列表,判断所述列表中是否包含所述射频系统的当前工作频率。In a possible example, the detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device includes: detecting the current working frequency of the camera and the current working frequency of the radio frequency system; comparing the Whether the current working frequency of the camera is compatible with the current working frequency of the radio frequency system; or, obtain the current working frequency of the radio frequency system; query the preset electromagnetic interference frequency list of the camera, and determine whether the list contains The current operating frequency of the radio frequency system.

其中,适配可以是指射频系统的当前工作频率与摄像头的当前工作频率完全重合或者接近,适配也可以指射频系统的当前工作频率的分频与摄像头的当前工作频率完全重合或者接近,适配也可以指射频系统的当前工作频率的倍频与摄像头的当前工作频率完全重合或者接近,所述接近是指和在一个预设的差值范围内。所述摄像头的电磁干扰频率列表中可以有所述摄像头的各个工作频率以及各个工作频率的倍频或者分频。The adaptation may mean that the current working frequency of the radio frequency system completely coincides with or is close to the current working frequency of the camera, and the adaptation may also mean that the frequency division of the current working frequency of the radio frequency system completely coincides with or is close to the current working frequency of the camera. Matching may also mean that the frequency multiplier of the current working frequency of the radio frequency system completely coincides with or is close to the current working frequency of the camera, and the closeness means that the frequency is within a preset difference range. The electromagnetic interference frequency list of the camera may include each operating frequency of the camera and the frequency multiplication or frequency division of each operating frequency.

在一个可能的示例中,所述比对所述摄像头的当前工作频率与所述射频系统的当前工作频率,包括:通过所述Modem将所述射频系统的当前工作频率发送到所述AP;通过所述AP将所述射频系统的当前工作频率与所述摄像头的当前工作频率进行比对;或者,通过所述AP将所述摄像头的当前工作频率发送到所述Modem;通过所述Modem将所述摄像头的当前工作频率与所述射频系统的当前工作频率进行比对。In a possible example, the comparing the current working frequency of the camera with the current working frequency of the radio frequency system includes: sending the current working frequency of the radio frequency system to the AP through the Modem; The AP compares the current working frequency of the radio frequency system with the current working frequency of the camera; or, sends the current working frequency of the camera to the Modem through the AP; The current operating frequency of the camera is compared with the current operating frequency of the radio frequency system.

其中,所述比对可以是直接比对,即直接所述摄像头的当前工作频率与所述射频系统的当前工作频率进行比对,所述比对也可以是间接比对,可以是所述摄像头的当前工作频率、当前工作频率的分频或者倍频与所述射频系统的当前工作频率、当前工作频率的分频或者倍频除直接比对之外的任意两者之间的比对。The comparison may be a direct comparison, that is, the current operating frequency of the camera is directly compared with the current operating frequency of the radio frequency system, and the comparison may also be an indirect comparison, which may be the camera The comparison between the current operating frequency, the frequency division or frequency multiplication of the current operating frequency and the current operating frequency of the radio frequency system, the frequency division or frequency multiplication of the current operating frequency, except for direct comparison.

在一个可能的示例中,所述方法还包括:当检测到所述摄像头关闭时,取消固定所述射频传输与所述第一天线的唯一对应关系,恢复所述电子设备至自由切换天线状态。In a possible example, the method further includes: when it is detected that the camera is turned off, unfixing the unique correspondence between the radio frequency transmission and the first antenna, and restoring the electronic device to a state of freely switching antennas.

与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种电磁干扰控制方法的流程示意图,应用于如图1所述的电子设备,如图所示,本电磁干扰控制方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to FIG. 3 . FIG. 3 is a schematic flowchart of an electromagnetic interference control method provided by an embodiment of the present application, which is applied to the electronic device described in FIG. 1 , as shown in the figure. As shown, the electromagnetic interference control method includes:

S301、电子设备在检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰。S301. When detecting that the camera of the electronic device is turned on, the electronic device detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device.

S302、若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线。S302: If yes, determine the currently enabled first antenna, and detect whether the first antenna is the antenna farthest from the camera.

S303、若否,则通过应用处理器AP向调制解调器Modem发送第一预设指令。S303. If not, send the first preset instruction to the modem Modem through the application processor AP.

S304、所述电子设备通过所述Modem接收所述第一预设指令,从所述4根天线中筛选除所述第一天线之外的一根第二天线。S304. The electronic device receives the first preset instruction through the Modem, and selects one second antenna except the first antenna from the four antennas.

S305、切换到所述第二天线,固定所述射频系统与所述第二天线的唯一对应关系。S305. Switch to the second antenna, and fix the unique correspondence between the radio frequency system and the second antenna.

可以看出,本申请实施例中,当电子设备当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令;通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。可见,本申请实施例的电子设备针对射频系统与摄像头之间的电磁干扰,能够通过执行天线切换操作以降低或者避免,提高电子设备对电磁干扰控制的灵活性、智能性。It can be seen that, in the embodiment of the present application, when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; an antenna, and detect whether the first antenna is the antenna farthest from the camera; if not, send a first preset command to the Modem through the AP; receive the first preset command through the Modem An instruction is provided to perform an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. It can be seen that the electronic device of the embodiment of the present application can reduce or avoid the electromagnetic interference between the radio frequency system and the camera by performing the antenna switching operation, thereby improving the flexibility and intelligence of the electronic device for electromagnetic interference control.

此外,本申请实施例提供的电子设备能够在切换天线以后,暂时固定射频系统与切换后的天线的唯一对应关系,增加电磁干扰控制的稳定性。In addition, the electronic device provided by the embodiment of the present application can temporarily fix the unique correspondence between the radio frequency system and the switched antenna after switching the antenna, thereby increasing the stability of electromagnetic interference control.

与上述图2所示的实施例一致的,请参阅4,图4是本申请实施例提供的一种电磁干扰控制方法的流程示意图,应用于如图1所述的电子设备,如图所示,本电磁干扰控制方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to 4. FIG. 4 is a schematic flowchart of an electromagnetic interference control method provided by an embodiment of the present application, which is applied to the electronic device described in FIG. 1 , as shown in the figure. , the electromagnetic interference control method includes:

S401、电子设备在检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰。S401. When detecting that the camera of the electronic device is turned on, the electronic device detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device.

S402、若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线。S402. If yes, determine the currently enabled first antenna, and detect whether the first antenna is the antenna farthest from the camera.

S403、若否,则通过应用处理器AP向调制解调器Modem发送第一预设指令。S403. If not, send the first preset instruction to the modem Modem through the application processor AP.

S404、所述电子设备通过所述Modem接收所述第一预设指令,从剩余3根天线中筛选出与所述摄像头距离最远的天线作为目标天线。S404. The electronic device receives the first preset instruction through the Modem, and selects the antenna with the farthest distance from the camera from the remaining three antennas as the target antenna.

S405、切换到所述目标天线,固定所述射频系统与所述目标天线的唯一对应关系。S405. Switch to the target antenna, and fix the unique correspondence between the radio frequency system and the target antenna.

可以看出,本申请实施例中,当电子设备当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令;通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。可见,本申请实施例的电子设备针对射频系统与摄像头之间的电磁干扰,能够通过执行天线切换操作以降低或者避免,提高电子设备对电磁干扰控制的灵活性、智能性。It can be seen that, in the embodiment of the present application, when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; an antenna, and detect whether the first antenna is the antenna farthest from the camera; if not, send a first preset command to the Modem through the AP; receive the first preset command through the Modem An instruction is provided to perform an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. It can be seen that the electronic device of the embodiment of the present application can reduce or avoid the electromagnetic interference between the radio frequency system and the camera by performing the antenna switching operation, thereby improving the flexibility and intelligence of the electronic device for electromagnetic interference control.

与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,如图所示,所述电子设备500包括应用处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在上述存储器520中,并且被配置由上述应用处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIG. 2 , FIG. 3 , and FIG. 4 above, please refer to FIG. 5 . FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application. As shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the one or more programs 521 are stored in the above-mentioned memory 520 and are configured to be executed by the above-mentioned application processor 510, The one or more programs 521 include instructions for performing the following steps;

当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;When it is detected that the camera of the electronic device is turned on, detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device;

若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;If so, determine the currently enabled first antenna, and detect whether the first antenna is the farthest antenna from the camera;

若否,则通过所述AP向所述Modem发送第一预设指令;If not, sending a first preset command to the Modem through the AP;

通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。The first preset instruction is received by the Modem, and an antenna switching operation is performed to reduce or avoid electromagnetic interference between the camera and the radio frequency system.

可以看出,本申请实施例中,当电子设备当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令;通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。可见,本申请实施例的电子设备针对射频系统与摄像头之间的电磁干扰,能够通过执行天线切换操作以降低或者避免,提高电子设备对电磁干扰控制的灵活性、智能性。It can be seen that, in the embodiment of the present application, when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; an antenna, and detect whether the first antenna is the antenna farthest from the camera; if not, send a first preset command to the Modem through the AP; receive the first preset command through the Modem An instruction is provided to perform an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. It can be seen that the electronic device of the embodiment of the present application can reduce or avoid the electromagnetic interference between the radio frequency system and the camera by performing the antenna switching operation, thereby improving the flexibility and intelligence of the electronic device for electromagnetic interference control.

在一个可能的示例中,在所述执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰方面,所述程序中的指令具体用于执行以下操作:从所述4根天线中筛选除所述第一天线之外的一根第二天线;切换到所述第二天线,固定所述射频系统与所述第二天线的唯一对应关系。In a possible example, in the aspect of performing the antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system, the instructions in the program are specifically used to perform the following operations: from the 4 Screening a second antenna other than the first antenna among the root antennas; switching to the second antenna, and fixing the unique correspondence between the radio frequency system and the second antenna.

在一个可能的示例中,在所述从所述4根天线中筛选除所述第一天线之外的一根第二天线方面,所述程序中的指令具体用于执行以下操作:从剩余3根天线中筛选出与所述摄像头距离最远的天线作为目标天线。In a possible example, in the aspect of screening one second antenna except the first antenna from the four antennas, the instructions in the program are specifically used to perform the following operations: from the remaining three antennas From the root antennas, the antenna with the farthest distance from the camera is selected as the target antenna.

在一个可能的示例中,在所述从所述4根天线中筛选除所述第一天线之外的一根第二天线方面,所述程序中的指令具体用于执行以下操作:确定剩余3根天线中未被握住的天线;当所述未被握住天线的天线为0根时,将所述距离所述摄像头最远的天线作为目标天线;当所述未被握住天线的天线为1根时,将所述天线作为目标天线;当所述未被握住天线的天线为3根时,将距离所述摄像头最远的天线作为目标天线;当所述未被握住天线的天线为2根时,当两根天线与所述摄像头的距离不同时,将距离所述摄像头最远的天线作为目标天线;或者,当两根天线与所述摄像头的距离相同时,选取对所述摄像头干扰最小的天线作为目标天线。In a possible example, in the aspect of screening one second antenna except the first antenna from the four antennas, the instructions in the program are specifically used to perform the following operations: determine the remaining three antennas The antenna that is not held among the antennas; when the number of antennas that are not held is 0, the antenna that is farthest from the camera is used as the target antenna; when the antenna that is not held is the antenna When the number of antennas is 1, the antenna is used as the target antenna; when the number of antennas that are not held is 3, the antenna farthest from the camera is used as the target antenna; When there are two antennas, when the distances between the two antennas and the camera are different, the antenna farthest from the camera is used as the target antenna; or, when the distance between the two antennas and the camera is the same, select The antenna with the least interference from the camera is selected as the target antenna.

在一个可能的示例中,在所述从所述4根天线中筛选除所述第一天线之外的一根第二天线方面,所述程序中的指令具体用于执行以下操作:从剩余3根天线中筛选出与所述摄像头距离最远且未被握住的天线作为目标天线。In a possible example, in the aspect of screening one second antenna except the first antenna from the four antennas, the instructions in the program are specifically used to perform the following operations: from the remaining three antennas From the root antennas, the antenna that is farthest from the camera and not held is selected as the target antenna.

在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:若检测到所述第一天线为距离所述摄像头最远的天线,则调整所述摄像头的工作频率以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。In a possible example, the one or more programs 521 further include instructions for performing the following steps: if it is detected that the first antenna is the antenna farthest from the camera, adjusting the operation of the camera frequency to reduce or avoid electromagnetic interference between the camera and the radio frequency system.

在一个可能的示例中,在所述检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰方面,所述程序中的指令具体用于执行以下操作:检测所述摄像头的当前工作频率以及所述射频系统的当前工作频率;比对所述摄像头的当前工作频率与所述射频系统的当前工作频率是否适配;或者,获取所述射频系统的当前工作频率;查询预设的所述摄像头的电磁干扰频率列表,判断所述列表中是否包含所述射频系统的当前工作频率,所述摄像头的电磁干扰频率列表包括了所述摄像头的各个工作频率以及各个工作频率的倍频或者分频。In a possible example, in terms of detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device, the instructions in the program are specifically used to perform the following operations: detecting the current operating frequency of the camera and the current working frequency of the radio frequency system; compare whether the current working frequency of the camera is compatible with the current working frequency of the radio frequency system; or obtain the current working frequency of the radio frequency system; query the preset camera The electromagnetic interference frequency list of the camera is determined, and it is judged whether the current operating frequency of the radio frequency system is included in the list.

在一个可能的示例中,在所述比对所述摄像头的当前工作频率与所述射频系统的工作频率方面,所述程序中的指令具体用于执行以下操作:通过所述Modem将所述射频系统的当前工作频率发送到所述AP;通过所述AP将所述射频系统的当前工作频率与所述摄像头的当前工作频率进行比对;或者,通过所述AP将所述摄像头的当前工作频率发送到所述Modem;通过所述Modem将所述摄像头的当前工作频率与所述射频系统的当前工作频率进行比对。In a possible example, in the aspect of comparing the current operating frequency of the camera with the operating frequency of the radio frequency system, the instructions in the program are specifically used to perform the following operations: use the Modem to convert the radio frequency Send the current working frequency of the system to the AP; compare the current working frequency of the radio frequency system with the current working frequency of the camera through the AP; or send the current working frequency of the camera through the AP Send to the Modem; compare the current working frequency of the camera with the current working frequency of the radio frequency system through the Modem.

在一个可能的示例中,所述一个或多个程序521还包括用于执行以下步骤的指令:当检测到所述摄像头关闭时,取消固定所述射频传输与所述第一天线的唯一对应关系,恢复所述电子设备至自由切换天线状态。In a possible example, the one or more programs 521 further include instructions for performing the following steps: when it is detected that the camera is turned off, cancel the fixed unique correspondence between the radio frequency transmission and the first antenna , to restore the electronic device to the free-switching antenna state.

可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.

本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is schematic, and is only a logical function division, and other division methods may be used in actual implementation.

图6是本申请实施例中所涉及的电磁干扰控制装置600的功能单元组成框图。该控制装置600应用于电子设备,包括处理单元601和通信单元602,其中,FIG. 6 is a block diagram of functional units of the electromagnetic interference control device 600 involved in the embodiment of the present application. The control device 600 is applied to electronic equipment, and includes a processing unit 601 and a communication unit 602, wherein,

所述处理单元601,用于检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令,通过所述通信单元602传递第一预设指令信号,通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。The processing unit 601 is configured to detect whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device when it is detected that the camera of the electronic device is turned on; Whether the first antenna is the antenna farthest from the camera; if not, send the first preset command to the Modem through the AP, transmit the first preset command signal through the communication unit 602, The Modem receives the first preset instruction, and performs an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system.

其中,所述控制装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。Wherein, the control apparatus 600 may further include a storage unit 603 for storing program codes and data of the electronic device. The processing unit 601 may be a processor, the communication unit 602 may be a touch screen display or a transceiver, and the storage unit 603 may be a memory.

可以看出,本申请实施例中,当电子设备当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过所述AP向所述Modem发送第一预设指令;通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。可见,本申请实施例的电子设备针对射频系统与摄像头之间的电磁干扰,能够通过执行天线切换操作以降低或者避免,提高电子设备对电磁干扰控制的灵活性、智能性。It can be seen that, in the embodiment of the present application, when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; an antenna, and detect whether the first antenna is the antenna farthest from the camera; if not, send a first preset command to the Modem through the AP; receive the first preset command through the Modem An instruction is provided to perform an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. It can be seen that the electronic device of the embodiment of the present application can reduce or avoid the electromagnetic interference between the radio frequency system and the camera by performing the antenna switching operation, thereby improving the flexibility and intelligence of the electronic device for electromagnetic interference control.

在一个可能的示例中,在执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰方面,所述处理单元601具体用于:从所述4根天线中筛选除所述第一天线之外的一根第二天线;切换到所述第二天线,固定所述射频系统与所述第二天线的唯一对应关系。In a possible example, in terms of performing an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system, the processing unit 601 is specifically configured to: filter out all the antennas from the four antennas. a second antenna other than the first antenna; switch to the second antenna, and fix the unique correspondence between the radio frequency system and the second antenna.

在一个可能的示例中,在从所述4根天线中筛选除所述第一天线之外的一根第二天线方面,所述处理单元601具体用于:从剩余3根天线中筛选出与所述摄像头距离最远的天线作为目标天线。In a possible example, in terms of screening a second antenna other than the first antenna from the four antennas, the processing unit 601 is specifically configured to: screen out the remaining three antennas with the same The antenna with the farthest distance from the camera is used as the target antenna.

在一个可能的示例中,在从所述4根天线中筛选除所述第一天线之外的一根第二天线,方面,所述处理单元601具体用于:确定剩余3根天线中未被握住的天线;当所述未被握住天线的天线为0根时,将所述距离所述摄像头最远的天线作为目标天线;当所述未被握住天线的天线为1根时,将所述天线作为目标天线;当所述未被握住天线的天线为3根时,将距离所述摄像头最远的天线作为目标天线;当所述未被握住天线的天线为2根时,当两根天线与所述摄像头的距离不同时,将距离所述摄像头最远的天线作为目标天线;或者,当两根天线与所述摄像头的距离相同时,选取对所述摄像头干扰最小的天线作为目标天线。In a possible example, in screening a second antenna other than the first antenna from the four antennas, the processing unit 601 is specifically configured to: determine that the remaining three antennas are not The held antenna; when the number of antennas that are not held is 0, the antenna farthest from the camera is used as the target antenna; when the number of antennas that are not held is 1, The antenna is used as the target antenna; when the number of antennas that are not held is 3, the antenna farthest from the camera is used as the target antenna; when the number of antennas that are not held is 2 , when the distances between the two antennas and the camera are different, the antenna farthest from the camera is used as the target antenna; or, when the distances between the two antennas and the camera are the same, the one with the least interference to the camera is selected. The antenna acts as the target antenna.

在一个可能的示例中,在从所述4根天线中筛选除所述第一天线之外的一根第二天线方面,所述处理单元601具体用于:从剩余3根天线中筛选出与所述摄像头距离最远且未被握住的天线作为目标天线。In a possible example, in terms of screening a second antenna other than the first antenna from the four antennas, the processing unit 601 is specifically configured to: screen out the remaining three antennas with the same The antenna that is farthest from the camera and not held is the target antenna.

在一个可能的示例中,所述处理单元601还用于:若检测到所述第一天线为距离所述摄像头最远的天线,则调整所述摄像头的工作频率以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。In a possible example, the processing unit 601 is further configured to: if it is detected that the first antenna is the antenna farthest from the camera, adjust the working frequency of the camera to reduce or prevent the camera from interacting with the camera. Electromagnetic interference between the radio frequency systems.

在一个可能的示例中,在所述检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰方面,所述处理单元601具体用于:检测所述摄像头的当前工作频率以及所述射频系统的当前工作频率;比对所述摄像头的当前工作频率与所述射频系统的当前工作频率是否适配;或者,获取所述射频系统的当前工作频率;查询预设的所述摄像头的电磁干扰频率列表,判断所述列表中是否包含所述射频系统的当前工作频率,所述摄像头的电磁干扰频率列表包括了所述摄像头的各个工作频率以及各个工作频率的倍频或者分频。In a possible example, in terms of detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device, the processing unit 601 is specifically configured to: detect the current working frequency of the camera and the radio frequency system the current operating frequency of the camera; compare whether the current operating frequency of the camera is compatible with the current operating frequency of the radio frequency system; or obtain the current operating frequency of the radio frequency system; query the preset electromagnetic interference frequency of the camera list, and determine whether the current operating frequency of the radio frequency system is included in the list, and the electromagnetic interference frequency list of the camera includes each operating frequency of the camera and the multiplication or frequency division of each operating frequency.

在一个可能的示例中,在所述比对所述摄像头的当前工作频率与所述射频系统的工作频率方面,所述处理单元601具体用于:通过所述Modem将所述射频系统的当前工作频率发送到所述AP;通过所述AP将所述射频系统的当前工作频率与所述摄像头的当前工作频率进行比对;或者,通过所述AP将所述摄像头的当前工作频率发送到所述Modem;通过所述Modem将所述摄像头的当前工作频率与所述射频系统的当前工作频率进行比对。In a possible example, in the aspect of comparing the current working frequency of the camera with the working frequency of the radio frequency system, the processing unit 601 is specifically configured to: use the Modem to compare the current working frequency of the radio frequency system sending the frequency to the AP; comparing the current working frequency of the radio frequency system with the current working frequency of the camera through the AP; or sending the current working frequency of the camera to the AP through the AP Modem; compare the current working frequency of the camera with the current working frequency of the radio frequency system through the Modem.

在一个可能的示例中,所述处理单元601还用于:当检测到所述摄像头关闭时,取消固定所述射频传输与所述第一天线的唯一对应关系,恢复所述电子设备至自由切换天线状态。In a possible example, the processing unit 601 is further configured to: when it is detected that the camera is turned off, cancel the fixed unique correspondence between the radio frequency transmission and the first antenna, and restore the electronic device to free switching Antenna status.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes electronic equipment.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。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 device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to 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 above as separate components may or may not be physically separated, and components shown 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.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,ReaP-Only Memory)、随机存取存储器(RAM,RanPom Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, ReaP-Only Memory), random access memory (RAM, RanPom Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:ReaP-Only Memory,简称:ROM)、随机存取器(英文:RanPom Access Memory,简称:RAM)、磁盘或光盘等。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 relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: ReaP-Only Memory, referred to as: ROM), random access device (English: RanPom Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

Claims (12)

1.一种电磁干扰控制方法,其特征在于,应用于电子设备,所述电子设备包括应用处理器AP、调制解调器Modem、摄像头和射频系统,所述射频系统包括射频收发器、射频处理电路和4根天线,所述AP连接所述Modem和所述摄像头,所述Modem连接所述射频收发器,所述射频收发器连接所述射频处理电路,所述射频处理电路连接所述4根天线;所述方法包括:1. an electromagnetic interference control method, is characterized in that, is applied to electronic equipment, described electronic equipment comprises application processor AP, modem Modem, camera and radio frequency system, and described radio frequency system comprises radio frequency transceiver, radio frequency processing circuit and 4 an antenna, the AP is connected to the Modem and the camera, the Modem is connected to the radio frequency transceiver, the radio frequency transceiver is connected to the radio frequency processing circuit, and the radio frequency processing circuit is connected to the four antennas; The methods described include: 当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;When it is detected that the camera of the electronic device is turned on, detecting whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device; 若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;If so, determine the currently enabled first antenna, and detect whether the first antenna is the farthest antenna from the camera; 若否,则通过所述AP向所述Modem发送第一预设指令;If not, sending a first preset command to the Modem through the AP; 通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。The first preset instruction is received by the Modem, and an antenna switching operation is performed to reduce or avoid electromagnetic interference between the camera and the radio frequency system. 2.根据权利要求1所述的方法,其特征在于,所述执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰包括:2. The method according to claim 1, wherein the performing an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system comprises: 从所述4根天线中筛选除所述第一天线之外的一根第二天线;Screening a second antenna other than the first antenna from the four antennas; 切换到所述第二天线,固定所述射频系统与所述第二天线的唯一对应关系。Switch to the second antenna, and fix the unique correspondence between the radio frequency system and the second antenna. 3.根据权利要求2所述的方法,其特征在于,从所述4根天线中筛选除所述第一天线之外的一根第二天线,包括:3. The method according to claim 2, wherein screening a second antenna other than the first antenna from the four antennas, comprising: 从剩余3根天线中筛选出与所述摄像头距离最远的天线作为目标天线。The antenna with the farthest distance from the camera is selected from the remaining three antennas as the target antenna. 4.根据权利要求2所述的方法,其特征在于,从所述4根天线中筛选除所述第一天线之外的一根第二天线,包括:4. The method according to claim 2, wherein screening a second antenna other than the first antenna from the four antennas, comprising: 确定剩余3根天线中未被握住的天线;Determine the antenna that is not held among the remaining 3 antennas; 当所述未被握住天线的天线为0根时,将所述距离所述摄像头最远的天线作为目标天线;When the number of antennas that are not held is 0, the antenna farthest from the camera is used as the target antenna; 当所述未被握住天线的天线为1根时,将所述天线作为目标天线;When the number of antennas not being held is one, the antenna is used as the target antenna; 当所述未被握住天线的天线为3根时,将距离所述摄像头最远的天线作为目标天线;When the number of antennas that are not held is 3, the antenna that is farthest from the camera is used as the target antenna; 当所述未被握住天线的天线为2根时,当两根天线与所述摄像头的距离不同时,将距离所述摄像头最远的天线作为目标天线;或者When there are two antennas that are not held, when the distances between the two antennas and the camera are different, the antenna farthest from the camera is used as the target antenna; or 当两根天线与所述摄像头的距离相同时,选取对所述摄像头干扰最小的天线作为目标天线。When the distances between the two antennas and the camera are the same, the antenna with the least interference to the camera is selected as the target antenna. 5.根据权利要求2所述的方法,其特征在于,从所述4根天线中筛选除所述第一天线之外的一根第二天线,包括:5. The method according to claim 2, wherein screening a second antenna other than the first antenna from the four antennas, comprising: 从剩余3根天线中筛选出与所述摄像头距离最远且未被握住的天线作为目标天线。From the remaining three antennas, the antenna that is farthest from the camera and not held is selected as the target antenna. 6.根据权利要求1所述的方法,其特征在于,所述方法包括:6. The method of claim 1, wherein the method comprises: 若检测到所述第一天线为距离所述摄像头最远的天线,则调整所述摄像头的工作频率以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。If it is detected that the first antenna is the antenna farthest from the camera, the operating frequency of the camera is adjusted to reduce or avoid electromagnetic interference between the camera and the radio frequency system. 7.根据权利要求1-6任一项所述的方法,其特征在于,所述检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,包括:7. The method according to any one of claims 1-6, wherein whether electromagnetic interference occurs in the radio frequency system of the described detection camera and the electronic device, comprising: 检测所述摄像头的当前工作频率以及所述射频系统的当前工作频率;Detecting the current working frequency of the camera and the current working frequency of the radio frequency system; 比对所述摄像头的当前工作频率与所述射频系统的当前工作频率是否适配;或者,Compare whether the current operating frequency of the camera is compatible with the current operating frequency of the radio frequency system; or, 获取所述射频系统的当前工作频率;obtaining the current operating frequency of the radio frequency system; 查询预设的所述摄像头的电磁干扰频率列表,判断所述列表中是否包含所述射频系统的当前工作频率,所述摄像头的电磁干扰频率列表包括了所述摄像头的各个工作频率以及各个工作频率的倍频或者分频。Query the preset electromagnetic interference frequency list of the camera, and determine whether the current operating frequency of the radio frequency system is included in the list. The electromagnetic interference frequency list of the camera includes each operating frequency of the camera and each operating frequency. frequency multiplication or division. 8.根据权利要求7所述的方法,其特征在于,所述比对所述摄像头的当前工作频率与所述射频系统的工作频率,包括:8. method according to claim 7, is characterized in that, described comparing the current operating frequency of described camera head and the operating frequency of described radio frequency system, comprising: 通过所述Modem将所述射频系统的当前工作频率发送到所述AP;sending the current operating frequency of the radio frequency system to the AP through the Modem; 通过所述AP将所述射频系统的当前工作频率与所述摄像头的当前工作频率进行比对;或者,Compare the current working frequency of the radio frequency system with the current working frequency of the camera through the AP; or, 通过所述AP将所述摄像头的当前工作频率发送到所述Modem;Send the current working frequency of the camera to the Modem through the AP; 通过所述Modem将所述摄像头的当前工作频率与所述射频系统的当前工作频率进行比对。The current working frequency of the camera is compared with the current working frequency of the radio frequency system through the Modem. 9.根据权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:9. The method according to any one of claims 1-8, wherein the method further comprises: 当检测到所述摄像头关闭时,取消固定所述射频传输与所述第一天线的唯一对应关系,恢复所述电子设备至自由切换天线状态。When it is detected that the camera is turned off, the unique correspondence between the radio frequency transmission and the first antenna is canceled, and the electronic device is restored to the state of freely switching antennas. 10.一种电磁干扰控制装置,其特征在于,应用于电子设备,所述电磁干扰控制装置包括处理单元和通信单元,其中,10. An electromagnetic interference control device, characterized in that, applied to electronic equipment, the electromagnetic interference control device comprises a processing unit and a communication unit, wherein, 所述处理单元,用于当检测到所述电子设备的摄像头开启时,检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰;若是,则确定当前启用的第一天线,并检测所述第一天线是否为距离所述摄像头最远的天线;若否,则通过应用处理器AP向调制解调器Modem发送第一预设指令;通过所述通信单元传递所述第一预设指令信号,通过所述Modem接收所述第一预设指令,执行天线切换操作以降低或者避免所述摄像头与所述射频系统之间的电磁干扰。The processing unit is configured to detect whether electromagnetic interference occurs between the camera and the radio frequency system of the electronic device when it is detected that the camera of the electronic device is turned on; if so, determine the currently enabled first antenna, and detect all Whether the first antenna is the farthest antenna from the camera; if not, send the first preset command to the modem Modem through the application processor AP; transmit the first preset command signal through the communication unit, The Modem receives the first preset instruction, and performs an antenna switching operation to reduce or avoid electromagnetic interference between the camera and the radio frequency system. 11.一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。11. An electronic device comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured by the processor Executing, the program includes instructions for performing the steps in the method of any of claims 1-9. 12.一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。12. A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to perform the method according to any one of claims 1-9.
CN201811472848.9A 2018-12-04 2018-12-04 electromagnetic interference control method and related device Pending CN109639368A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811472848.9A CN109639368A (en) 2018-12-04 2018-12-04 electromagnetic interference control method and related device
PCT/CN2019/102276 WO2020114009A1 (en) 2018-12-04 2019-08-23 Electromagnetic interference control method and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811472848.9A CN109639368A (en) 2018-12-04 2018-12-04 electromagnetic interference control method and related device

Publications (1)

Publication Number Publication Date
CN109639368A true CN109639368A (en) 2019-04-16

Family

ID=66070963

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811472848.9A Pending CN109639368A (en) 2018-12-04 2018-12-04 electromagnetic interference control method and related device

Country Status (2)

Country Link
CN (1) CN109639368A (en)
WO (1) WO2020114009A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114009A1 (en) * 2018-12-04 2020-06-11 Oppo广东移动通信有限公司 Electromagnetic interference control method and related apparatus
WO2020114023A1 (en) * 2018-12-04 2020-06-11 Oppo广东移动通信有限公司 Electromagnetic interference control method and related device
CN112134992A (en) * 2019-06-25 2020-12-25 北京小米移动软件有限公司 Terminal device and control method thereof
WO2021080760A1 (en) * 2019-10-23 2021-04-29 Qualcomm Incorporated Codebook adjustment or beam switching based on internal interference to a sensor or interace of a ue

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114665941A (en) * 2022-04-15 2022-06-24 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and terminal
CN116053779B (en) * 2022-07-13 2023-10-20 荣耀终端有限公司 Electronic equipment and antenna control method
CN116669153B (en) * 2022-12-09 2023-10-20 荣耀终端有限公司 Transmission power backoff method, terminal device, and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684718A (en) * 2011-03-18 2012-09-19 和硕联合科技股份有限公司 Electronic device and method for switching antenna
CN106850881A (en) * 2016-12-15 2017-06-13 奇酷互联网络科技(深圳)有限公司 Antenna assembly, antenna switching method and mobile terminal
CN107026682A (en) * 2017-03-31 2017-08-08 维沃移动通信有限公司 A kind of antenna switching method and device
US9867139B1 (en) * 2016-01-18 2018-01-09 Amazon Technologies, Inc. Antenna switching for transmission diversity
CN108023611A (en) * 2017-12-01 2018-05-11 广东欧珀移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment
CN108282192A (en) * 2017-12-12 2018-07-13 努比亚技术有限公司 A kind of antenna switching control method, communication terminal and computer readable storage medium
CN108649990A (en) * 2018-03-29 2018-10-12 努比亚技术有限公司 Radio frequency interference processing method and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639368A (en) * 2018-12-04 2019-04-16 Oppo广东移动通信有限公司 electromagnetic interference control method and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102684718A (en) * 2011-03-18 2012-09-19 和硕联合科技股份有限公司 Electronic device and method for switching antenna
US9867139B1 (en) * 2016-01-18 2018-01-09 Amazon Technologies, Inc. Antenna switching for transmission diversity
CN106850881A (en) * 2016-12-15 2017-06-13 奇酷互联网络科技(深圳)有限公司 Antenna assembly, antenna switching method and mobile terminal
CN107026682A (en) * 2017-03-31 2017-08-08 维沃移动通信有限公司 A kind of antenna switching method and device
CN108023611A (en) * 2017-12-01 2018-05-11 广东欧珀移动通信有限公司 Antenna switching method and device, storage medium and electronic equipment
CN108282192A (en) * 2017-12-12 2018-07-13 努比亚技术有限公司 A kind of antenna switching control method, communication terminal and computer readable storage medium
CN108649990A (en) * 2018-03-29 2018-10-12 努比亚技术有限公司 Radio frequency interference processing method and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020114009A1 (en) * 2018-12-04 2020-06-11 Oppo广东移动通信有限公司 Electromagnetic interference control method and related apparatus
WO2020114023A1 (en) * 2018-12-04 2020-06-11 Oppo广东移动通信有限公司 Electromagnetic interference control method and related device
US11165937B2 (en) 2018-12-04 2021-11-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Electromagnetic interference control method and related device
CN112134992A (en) * 2019-06-25 2020-12-25 北京小米移动软件有限公司 Terminal device and control method thereof
WO2021080760A1 (en) * 2019-10-23 2021-04-29 Qualcomm Incorporated Codebook adjustment or beam switching based on internal interference to a sensor or interace of a ue
CN114556803A (en) * 2019-10-23 2022-05-27 高通股份有限公司 Codebook adjustment or beam switching based on internal interference of a UE's sensor or interface
US11909495B2 (en) 2019-10-23 2024-02-20 Qualcomm Incorporated Codebook adjustment or beam switching based on internal interference to a sensor or interface of a UE
CN114556803B (en) * 2019-10-23 2024-12-10 高通股份有限公司 Codebook adjustment or beam switching based on internal interference of UE sensors or interfaces

Also Published As

Publication number Publication date
WO2020114009A1 (en) 2020-06-11

Similar Documents

Publication Publication Date Title
CN109639368A (en) electromagnetic interference control method and related device
CN109450510B (en) Electromagnetic interference control method and related device
CN109743119B (en) Electromagnetic interference control method and related device
CN109547058B (en) Radio frequency circuit, signal interference avoiding method and terminal equipment
CN111294075B (en) Antenna switching circuit, antenna switching method and device
EP3484239B1 (en) Radio frequency control circuit and mobile terminal
CN109768810B (en) Signal processing circuit, terminal equipment and signal processing method
CN110266360B (en) Electromagnetic interference adjusting method and related product
CN110049559B (en) Interception indication method, terminal and network equipment
CN106230492B (en) Terminal antenna switching method and device and mobile terminal
CN108572767B (en) Method for determining external object position and mobile terminal
CN110011743B (en) Wireless communication method and related device
CN108540152B (en) Method, device, storage medium and electronic device for processing radio frequency interference
CN110856246B (en) Power control method and electronic equipment
US20210258083A1 (en) Method for Electromagnetic Interference Control and Related Devices
CN110290564A (en) Interference control method and related products
CN110190871B (en) Method for controlling interference between antennas, electronic device and storage medium
WO2018053700A1 (en) Interference suppression method and device for touch panel
CN111211421A (en) Antenna tuning circuit and mobile terminal
CN108712764B (en) Signal interference processing method, device, electronic device and storage medium
CN110011035B (en) Antenna structure and electronic device
CN112888055A (en) Wi-Fi uplink data sending method and device, electronic equipment and storage medium
CN107729089B (en) Method and device for adjusting CPU (Central processing Unit) parameters, mobile terminal and storage medium
CN105490697A (en) Electronic equipment and information processing method
CN110417422B (en) Communication control method, communication control circuit and related 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190416

RJ01 Rejection of invention patent application after publication