Method for Controlling Electromagnetic Interference and Device

Abstract
Disclosed are a method for controlling electromagnetic interference and an electronic device. The method includes: detecting electromagnetic interference between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene, the preset scene including a screen-on scene; and performing a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.
Description
TECHNICAL FIELD

The disclosure relates to a field of electronic device technologies, and more particularly to a method for controlling electromagnetic interference and an electronic device.


BACKGROUND

With the development of mobile communication technologies, a user has a greater requirement for communication with an electronic device such as a mobile phone. Presently, data is generally transmitted through cellular mobile network communication or Wi-Fi communication when the electronic device on the market performs data transmission. Most full-screen mobile phones face a radio frequency interference problem. That is, a driver integrated chip of a display has extended to an antenna clearance area, and a frequency-division and frequency-multiplication point of a mobile industry processor interface (MIPI) frequency of the display interferes with a radio frequency antenna, causing a low receiving total isotropic sensitivity (TIS) of the antenna.


SUMMARY

Embodiments of the disclosure provide a method for controlling electromagnetic interference. The method includes: detecting electromagnetic interference between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene, the preset scene including a screen-on scene; and performing a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.


Embodiments of the disclosure provide an electronic device. The electronic device includes: a processor, a memory, a communication interface; and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. The one or more programs include instructions for executing the method according to the above embodiments of the disclosure.


Embodiments of the disclosure provide a computer readable storage medium, having a computer program for exchanging electronic data stored thereon. The computer program causes a computer to execute the method according to the above embodiments of the disclosure.


Embodiments of the disclosure provide a computer program product. The computer program product includes a non-transitory computer readable storage medium having a computer program stored thereon. The computer program may be operated to enable a computer to execute a part or all of the method according to the above embodiments of the disclosure. The computer program product may be a software installation package.





BRIEF DESCRIPTION OF DRAWINGS

In order to more clearly illustrate technical solutions of embodiments of the disclosure or the related art, a brief description of accompanying drawings used in embodiments or the related art is given below. Obviously, the accompanying drawings in the following descriptions are only part embodiments of the disclosure, and for those skilled in the art, other accompanying drawings can be obtained according to these accompanying drawings without creative labor.



FIG. 1 is a schematic diagram illustrating a wireless communication system according to embodiments of the disclosure.



FIG. 2 is a flow chart illustrating a method for controlling electromagnetic interference according to embodiments of the disclosure.



FIG. 3 is a flow chart illustrating a method for controlling electromagnetic interference according to another embodiment of the disclosure.



FIG. 4 is a flow chart illustrating a method for controlling electromagnetic interference according to another embodiment of the disclosure.



FIG. 5 is a block diagram illustrating an electronic device according to embodiments of the disclosure.



FIG. 6 is a block diagram illustrating a composition of function units of an apparatus for controlling electromagnetic interference according to embodiments of the disclosure.





DETAILED DESCRIPTION

In order to enable the skilled in the art to better understand the technical solution of the disclosure, description will be made clearly and completely below to the technical solution in embodiments of the disclosure with reference to accompanying drawings in embodiments of the disclosure. Obviously, the embodiments described in the accompanying drawings are only a part of embodiments of the disclosure, but not all the embodiments. Based on the embodiments in the disclosure, all other embodiments obtained by the skilled in the art without creative labor belong to the protection scope of the disclosure.


The terms “first”, “second”, and the like in the specification, and claims and the above accompanying drawings of the disclosure are used to distinguish different objects, but not to describe a specific order. Furthermore, the term “including” and “have” and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units is not limited to listed steps or units, but alternatively includes steps or units not listed, or alternatively includes other steps or units inherent to the process, method, product or device.


Reference to an “embodiment” herein means that a particular feature, structure or characteristic described in connection with the embodiment may be included in at least one embodiment of the disclosure. The appearance of the “embodiment” in various places in the specification does not necessarily mean the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. The skilled in the art explicitly and implicitly understands that embodiments described herein may be combined with other embodiments.


An electronic device involved in embodiments of the disclosure may be an electronic device with data transmission capability. The electronic device may include a handheld device, a vehicle-mounted device, a wearable device, a computing device with a wireless communication function, or other processing devices connected with a wireless modem, and various forms of user equipment (UE), a mobile station (MS), a terminal device, and the like. Description will be made in detail below to embodiments of the disclosure.


As illustrated in FIG. 1, an electronic device 101 may be connected with a base station 103 and/or a wireless hotspot device 102. A voice call service, such as a voice call service presently in long term evolution (LTE), may be implemented via a mobile communication network when the electronic device 101 is connected with the base station 103. A voice call service, such as an IP multimedia subsystem (IMS) voice call service, may be implemented via a wireless local area network when the electronic device 101 is connected with the wireless hotspot device 102.


As illustrated in FIG. 2, FIG. 2 is a flow chart illustrating a method for controlling electromagnetic interference according to embodiments of the disclosure. The method is applied to an electronic device. As illustrated in FIG. 2, the method for controlling the electromagnetic interference includes the following.


At block 201, the electronic device detects electromagnetic interference between a radio frequency system and a display screen of the electronic device in response to detecting that the electronic device is in a preset scene. The preset scene includes a screen-on scene.


When the electronic device communicates with the base station or the wireless hotspot, the radio frequency system may select different communication channels for information transmission of services such as data and voice. Each communication channel corresponds to a frequency domain resource (such as a global system for mobile communication (GSM) frequency band, or a long term evolution (LTE) B8/B20/B28 frequency band) agreed by a protocol. It may be known from a relevant communication protocol that, the electronic device may use one or more different communication channels in a same service processing period when executing different service procedures. For example, different channels of a current home location may be scanned during cell handover. The preset scene may include a screen-on call scene, a screen-on video scene, and the like, which is not uniquely limited here.


At block 202, the electronic device performs a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.


The MIPI frequency of the display screen may support different frequencies or frequency bands based on a chip capability, such as a frequency of 514.5 MHz or 512.5 MHz.


It may be seen that, in embodiments of the disclosure, the electronic device detects whether the electromagnetic interference occurs between the radio frequency system and the display screen of the electronic device in response to detecting that the electronic device is in the preset scene. The preset scene includes the screen-on scene. The frequency hopping switching operation is performed on the MIPI of the display screen in response to detecting the electromagnetic interference. Since the electronic device performs frequency hopping on the MIPI frequency of the display screen, the MIPI frequency of the display screen may be adjusted to a frequency band which does not interfere with a communication frequency of the radio frequency (RF) system, thereby improving the communication stability in the screen-on scene.


In a possible example, that the electronic device detects the electromagnetic interference between the radio frequency system and the display screen of the electronic device includes the following. The electronic device obtains at least one detection value of a first frequency and a detection value of a second frequency. The first frequency is a communication frequency of the radio frequency system, and the second frequency is the MIPI frequency of the display screen. The electromagnetic interference is detected based on the at least one detection value of the first frequency and the detection value of the second frequency.


In a detailed implementation, the electronic device compares the detection value of the second frequency with each detection value of the first frequency to determine whether the electromagnetic interference may occur.


It may be seen that, in this example, the electronic device may quickly determine whether a frequency currently used by the MIPI of the display screen may cause the electromagnetic interference with any detection value in the first frequency based on frequency comparison, thereby quickly positioning an electromagnetic interference scene based on a real-time detection value, and improving a detection efficiency.


In a possible example, that the electronic device detects the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency includes the following. The electronic device determines a first frequency set based on the at least one detection value of the first frequency. The first frequency set includes at least one communication frequency enabled by the radio frequency system in the preset scene. A second frequency set is determined based on the detection value of the second frequency. The second frequency set includes an MIPI frequency enabled by the display screen in the preset scene, and at least one division frequency and/or at least one multiplication frequency of the enabled MIPI frequency. The electromagnetic interference is detected based on the first frequency set and the second frequency set.


Since a variety of different business procedures may be performed during an actual use of the electronic device, the number of different frequencies included in the first frequency set needs to be detected and determined in real time.


In a detailed implementation, for each frequency in the second frequency set, the electronic device may compare the frequency with the respective frequencies in the first frequency set one by one. When there is an interference frequency, it is determined that there is the electromagnetic interference. When there is no interference frequency, it is determined that there is no electromagnetic interference.


It may be seen that, in this example, since the multiplication frequency or the division frequency of the MIPI frequency of the display screen may also interfere with a device with a similar frequency band and cause the electromagnetic interference, an electromagnetic interference situation may be comprehensively and accurately detected by performing frequency comparison in the first frequency set and the second frequency set, thereby improving the detection accuracy and comprehensiveness.


In a possible example, that the electronic device performs the frequency hopping switching operation on the MIPI of the display screen includes the following. The electronic device determines a target frequency value of an MIPI frequency of the display screen, and adjusts the MIPI frequency of the display screen to the target frequency value.


It may be understood that, there may be various ways for determining the target frequency value of the MIPI frequency of the display screen. A detailed constraint condition may include a supporting by capability of a display screen chip, which is not uniquely limited here.


It may be seen that, in this example, after the electronic device determines the electromagnetic interference, the target frequency value for the hopping frequency is determined in real time, the MIPI frequency of the display screen is adjusted to the target frequency value. Comparing with adjusting the communication frequency of the radio frequency system, the processing process is convenient and efficient, with low delay and high stability.


In a possible example, that the electronic device determines the target frequency value of the MIPI frequency of the display screen includes the following. The electronic device obtains an available frequency range or an available frequency value of the MIPI frequency of the display screen. A first frequency set is obtained. The first frequency set includes at least one communication frequency enabled by the electronic device in the preset scene. The target frequency value of the MIPI frequency of the display screen is determined based on the available frequency range or the available frequency value, and the first frequency set.


In a detailed implementation, the target frequency value determined by the electronic device may rarely have electromagnetic interference with any frequency in the first frequency set.


It may be seen that, in this example, since the electronic device determines the target frequency value of the MIPI based on the available frequency range or the available frequency value of the MIPI of the display screen, and the first frequency set, the electronic device is prevented from being interfered by the MIPI of the display screen in a current preset scene due to the radio frequency system using any frequency in the first frequency set, thereby improving the communication stability of the radio frequency system.


In a possible example, that the electronic device adjusts the MIPI frequency of the display screen to the target frequency value includes the following. The electronic device obtains a pre-configured target value of a screen parameter associated with the target frequency value. The target value is associated with a reference value. The reference value is determined by the electronic device under a first constraint condition based on a preset FPS (frames per second) calculation equation and the target frequency value. The first constraint condition refers to that a change amount of FPS of the display screen after MIPI frequency switching is lower than a first preset threshold, and the screen parameter includes at least one porch value of a horizontal back porch (HBP), a horizontal front porch (HFP), a vertical back porch (VBP), a vertical front porch (VFP), a vertical sync active (VSA), a horizontal sync active (HSA) in the preset FPS calculation equation. A value of the screen parameter is adjusted to the target value, and adjusting the MIPI frequency of the display screen to the target frequency value.


The preset FPS calculation equation is as follows.





FPS=CLK_rate×2×lane_num/((height+VBP+VSA+VFP)×(weight+HBP+HFP+HSA)×bits_perpixel),


where, FPS represents the frames per second of the display screen, CLK_rate represents the MIPI frequency, lane_num represents the number of channels, and height and weight represent a physical size of the display screen, VBP represents the number of invalid lines after a vertical synchronization signal at the start of an image, VFB represents the number of invalid lines before the vertical synchronization signal after the end of the image, VSA represents a width of the vertical synchronization signal, i.e. the vertical sync active, HBP represents the number of clocks between a start of a horizontal synchronization signal and a start of a line of valid data, HFP represents the number of clocks between an end of the line of valid data and a start of a following horizontal synchronization signal, HSA represents a width of the horizontal synchronization signal, i.e., the horizontal sync active, and bits_perpixel represents a width of RGB (red green blue) display data.


The first preset threshold may be an empirical value, which is used to ensure the stability of content displayed on the display screen before and after the frequency hopping switching operation. For example, the first preset threshold may be 1% of a maximum allowable error range of the display screen chip.


It may be seen that, in this example, a part of parameters of the display screen of the electronic device may change after the frequency hopping switching operation is performed, and the FPS is a parameter index to ensure the display stability of the display screen after the frequency hopping switching operation. Therefore, the electronic device may predetermine the target value of the screen parameter that needs to be adjusted synchronously during the frequency hopping switching operation based on the preset FPS calculation equation, thereby improving the display stability of the display screen.


In a possible example, the screen parameter includes a horizontal screen parameter. The horizontal screen parameter includes at least one of: the HBP, the HFP and the HSA.


The target value is determined by the electronic device adjusting the reference value under a second constraint condition. The second constraint condition refers to that a change amount of a line scanning period of the display screen after switching the MIPI frequency is lower than a second preset threshold.


For example, when a main frequency of the MIPI of the display screen is 514.5 MHz, a line scanning period is measured to be 7.18 us. In a case that the MIPI frequency is switched to an auxiliary frequency 529 MHz, fine adjustment is performed on the screen parameter based on the reference value of the screen parameter, the line scanning period is measured synchronously, and a value of the screen parameter subjected to the fine adjustment under a situation of line scanning period being 7.18 us is determined to be the target value when. The above preset FPS calculation equation is only a theoretical equation. In fact, the accuracy of the reference value is not high due to a physical difference of the device. The MIPI transmission frequency and the value of the screen parameter may be actually quite different, differences of MHz and tens or hundreds respectively. Meanwhile, the horizontal screen parameter of the display screen has a great influence on the display stability. Therefore, it may be considered that the value of the horizontal screen parameter is modified based on an actual detection result to improve the display stability.


In addition, when the screen parameter merely includes a vertical screen parameter. The vertical screen parameter includes at least one of: the VBP, the VFP and the VSA. The target value may be equal to the reference value, that is, adjusting a porch value in a vertical direction has no influence on the line scanning period.


It may be seen that, in this example, in a situation that the screen parameter includes the horizontal screen parameter, the electronic device may correct the reference value based on a constraint condition of the line scanning period in combination with an actual detection result, thereby improving the stability of the display screen subjected to the frequency hopping switching operation.


In a possible example, the electronic device includes a baseband processor (BP) and an application processor (AP). The AP is connected with a modem. That the electronic device obtains the at least one detection value of the first frequency and the detection value of the second frequency includes the following. The BP is controlled to perform: obtaining the at least one detection value of the first frequency and reporting the at least one detection value of the first frequency to the AP through a preset channel. The AP is controlled to perform: receiving the at least one detection value of the first frequency from the BP, and obtaining the detection value of the second frequency.


That the electronic device detects the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency includes the following. The AP is controlled to detect whether the electronic interference occurs in the electronic device based on the at least one detection value of the first frequency and the detection value of the second frequency.


The preset channel is a CCCI (Cross Core Communication Interface) channel between the modem and the AP.


It may be seen that, in this example, the AP and the BP of the electronic device may be interacted with each other to complete detection for the electromagnetic interference. In detail, the BP collects at least one detection value of the first frequency and sends the at least one detection value of the first frequency to the AP. The AP determines the electromagnetic interference based on the MIPI frequency of the display screen locally detected in combination with the at least one detection value of the first frequency. Since the AP has a strong processing ability, the detection result may be obtained quickly and efficiently.


In a possible example, the electronic device includes a baseband processor (BP) and an application processor (AP). The AP is connected with a modem. That the electronic device obtains the at least one detection value of the first frequency and the detection value of the second frequency includes the following. The BP is controlled to perform: obtaining the at least one detection value of the first frequency; and receiving the detection value of the second frequency from the AP through a preset channel. The AP is controlled to perform: obtaining the detection value of the second frequency and sending the detection value of the second frequency to the BP.


That the electronic device detects the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency includes: controlling the BP to detect whether the electronic interference occurs in the electronic device based on the at least one detection value of the first frequency and the detection value of the second frequency.


It may be seen that, in this example, the AP and the BP of the electronic device may be interacted with each other to complete detection for the electromagnetic interference. In detail, the BP collects the at least one detection value of the first frequency, and the AP detects the MIPI frequency of the display screen and sends the MIPI frequency to the BP. The BP determines the electromagnetic interference based on the at least one detection value of the first frequency detected at the BP in combination with the MIPI frequency of the display screen. Since there is a small amount of data transmitted between the AP and the BP, the delay is low and the real-time performance is high, the electromagnetic interference may be detected efficiently.


Consistent with the above embodiment illustrated in FIG. 2, as illustrated in FIG. 3, FIG. 3 is a flow chart illustrating a method for controlling electromagnetic interference according to another embodiment of the disclosure. The method is applied to the electronic device illustrated in FIG. 1. The electronic device includes multiple wireless communication modules. As illustrated in FIG. 3, the method for controlling electromagnetic interference includes the following.


At block 5301, the electronic device obtains at least one detection value of a first frequency and a detection value of a second frequency in response to detecting that the electronic device is in a preset scene. The first frequency is a communication frequency of a radio frequency system. The second frequency is an MIPI frequency of the display screen. The preset scene includes a screen-on scene.


At block 5302, the electronic device detects the electromagnetic interference between the radio frequency system and the display screen of the electronic device based on the at least one detection value of the first frequency and the detection value of the second frequency.


At block 5303, the electronic device performs a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.


It may be seen that, in embodiments of the disclosure, the electronic device detects whether the electromagnetic interference occurs between the radio frequency system and the display screen of the electronic device in response to detecting that the electronic device is in the preset scene. The preset scene includes the screen-on scene. The electronic device performs the frequency hopping switching operation on the MIPI of the display screen in response to detecting the electromagnetic interference. Since the electronic device performs frequency hopping on the MIPI frequency of the display screen, the MIPI frequency of the display screen may be adjusted to a frequency band which does not interfere with a communication frequency of the RF system, thereby improving the communication stability in the screen-on scene.


In addition, since the electronic device may quickly determine whether a frequency currently used by the MIPI of the display screen may generate the electromagnetic interference with any detection value in the first frequency set based on the frequency comparison, an electromagnetic interference scene may be quickly positioned based on a real-time detection value, and the detection efficiency is high.


Consistent with the above embodiment illustrated in FIG. 2, as illustrated in FIG. 4, FIG. 4 is a flow chart illustrating a method for controlling electromagnetic interference according to another embodiment of the disclosure. The method is applied to an electronic device. As illustrated in FIG. 4, the method for controlling electromagnetic interference includes the following.


At block 5401, the electronic device obtains at least one detection value of a first frequency and a detection value of a second frequency in response to detecting that the electronic device is in a preset scene. The first frequency is a communication frequency of a radio frequency system. The second frequency is an MIPI frequency of the display screen.


At block 5402, the electronic device determines a first frequency set based on the at least one detection value of the first frequency. The first frequency set includes at least one communication frequency enabled by the radio frequency system in the preset scene.


At block 5403, the electronic device determines a second frequency set based on the detection value of the second frequency. The second frequency set includes an MIPI frequency enabled by the display screen in the preset scene, and at least one division frequency and/or at least one multiplication frequency of the enabled MIPI frequency.


At block 5404, the electronic device detects the electromagnetic interference between the radio frequency system and the display screen of the electronic device based on the first frequency set and the second frequency set.


At block 5405, the electronic device obtains an available frequency range or an available frequency value of the MIPI frequency of the display screen.


At block 5406, the electronic device obtains a first frequency set. The first frequency set includes the at least one communication frequency enabled by the electronic device in the preset scene.


At block 5407, the electronic device determines a target frequency value of the MIPI frequency of the display screen based on the available frequency range or the available frequency value, and the first frequency set.


At block 5408, the electronic device obtains a pre-configured target value of a screen parameter associated with the target frequency value. The target value is associated with a reference value. The reference value is determined by the electronic device under a first constraint condition based on a preset FPS (frames per second) calculation equation and the target frequency value, the first constraint condition refers to that a change amount of FPS of the display screen after MIPI frequency switching is lower than a first preset threshold. The screen parameter includes at least one porch value of a horizontal back porch (HBP), a horizontal front porch (HFP), a vertical back porch (VBP), a vertical front porch (VFP), a vertical sync active (VSA), a horizontal sync active (HSA) in the preset FPS calculation equation.


At block 5409, the electronic device adjusts a value of the screen parameter to the target value, and adjusts the MIPI frequency of the display screen to the target frequency value.


It may be seen that, in embodiments of the disclosure, the electronic device detects whether the electromagnetic interference occurs between the radio frequency system and the display screen of the electronic device in response to detecting that the electronic device is in the preset scene. The preset scene includes the screen-on scene. The electronic device performs the frequency hopping switching operation on the MIPI of the display screen in response to detecting the electromagnetic interference. Since the electronic device performs frequency hopping on the MIPI frequency of the display screen, the MIPI frequency of the display screen may be adjusted to a frequency band which does not interfere with a communication frequency of the RF system, thereby improving the communication stability in the screen-on scene.


In addition, since the electronic device may quickly determine whether a frequency currently used by the MIPI of the display screen may cause the electromagnetic interference with any detection value in the first frequency set based on the frequency comparison, an electromagnetic interference scene may be quickly positioned based on a real-time detection value, and the detection efficiency is improved.


In addition, since the multiplication frequency or the division frequency of the MIPI frequency of the display screen may also interfere with a device with a similar frequency band and cause the electromagnetic interference, an electromagnetic interference situation may be comprehensively and accurately detected by the frequency comparison in the first frequency set and the second frequency set, and the detection accuracy and comprehensiveness are improved.


In addition, the electronic device determines the target frequency value for the frequency hopping in real time after determining electromagnetic interference. The MIPI frequency of the display screen is adjusted to the target frequency value. Comparing with adjusting the communication frequency of the radio frequency system, the processing process is convenient and efficient, with low delay and high stability.


In addition, since the electronic device determines the target frequency value of the MIPI based on the available frequency range or the available frequency value of the MIPI of the display screen, and the first frequency set, the electronic device is prevented from being interfered by the MIPI of the display screen in the current preset scene due to the radio frequency system using any frequency in the first frequency set, and the communication stability of the radio frequency system is improved.


In addition, a part of parameters of the display screen of the electronic device may change after the frequency hopping switching operation, and the FPS is a parameter index to ensure the display stability of the display screen after the frequency hopping switching operation. Therefore, the electronic device may predetermine the target value of the screen parameter that needs to be adjusted synchronously during the frequency hopping switching operation based on the preset FPS calculation equation, thereby improving the display stability of the display screen.


Consistent with the above embodiment illustrated in FIG. 2, FIG. 3, and FIG. 4, as illustrated in FIG. 5, FIG. 5 is a block diagram illustrating an electronic device 500 according to embodiments of the disclosure. As illustrated in FIG. 5, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521. The one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510. The one or more programs 521 include instructions for executing following.


It is detected whether electromagnetic interference occurs between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene. The preset scene including a screen-on scene.


A frequency hopping switching operation is performed on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.


It may be seen that, in embodiments of the disclosure, the electronic device detects whether the electromagnetic interference occurs between the radio frequency system and the display screen of the electronic device in response to detecting that the electronic device is in the preset scene. The preset scene includes the screen-on scene. The frequency hopping switching operation is performed on the MIPI of the display screen in response to detecting the electromagnetic interference. Since the electronic device performs frequency hopping on the MIPI frequency of the display screen, the MIPI frequency of the display screen may be adjusted to a frequency band which does not interfere with a communication frequency of the RF system, thereby improving the communication stability in the screen-on scene.


In a possible example, in response to detecting the electromagnetic interference, the instructions in the one or more programs are configured to perform following. At least one detection value of a first frequency and a detection value of a second frequency are obtained. The first frequency is a communication frequency of the radio frequency system, and the second frequency is the MIPI frequency of the display screen. The electromagnetic interference is detected based on the at least one detection value of the first frequency and the detection value of the second frequency.


In a possible example, in response to detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency, the instructions in the one or more programs are configured to perform following. A first frequency set is determined based on the at least one detection value of the first frequency. The first frequency set includes at least one communication frequency enabled by the radio frequency system in the preset scene. A second frequency set is determined based on the detection value of the second frequency. The second frequency set includes an MIPI frequency enabled by the display screen in the preset scene, and at least one division frequency and/or at least one multiplication frequency of the enabled MIPI frequency. The electromagnetic interference is detected based on the first frequency set and the second frequency set.


In a possible example, in response to performing the frequency hopping switching operation on the mobile industry processor interface (MIPI) of the display screen, the instructions in the one or more programs are configured to perform following. A target frequency value of an MIPI frequency of the display screen is determined. The MIPI frequency of the display screen is adjusted to the target frequency value.


In a possible example, in response to determining the target frequency value of the MIPI frequency of the display screen, the instructions in the one or more programs are configured to perform following. An available frequency range or an available frequency value of the MIPI frequency of the display screen is obtained. A first frequency set is obtained. The first frequency set includes at least one communication frequency enabled by the electronic device in the preset scene. The target frequency value of the MIPI frequency of the display screen is determined based on the available frequency range or the available frequency value, and the first frequency set.


In a possible example, in response to adjusting the MIPI frequency of the display screen to the target frequency, the instructions in the one or more programs are configured to perform following. A pre-configured target value of a screen parameter associated with the target frequency value. The target value is associated with a reference value, and the reference value is determined by the electronic device under a first constraint condition based on a preset FPS (frames per second) calculation equation and the target frequency value. The first constraint condition refers to that a change amount of FPS of the display screen after MIPI frequency switching is lower than a first preset threshold, and the screen parameter includes at least one porch value of a horizontal back porch (HBP), a horizontal front porch (HFP), a vertical back porch (VBP), a vertical front porch (VFP), a vertical sync active (VSA), a horizontal sync active (HSA) in the preset FPS calculation equation. A value of the screen parameter is adjusted to the target value, and the MIPI frequency of the display screen is adjusted to the target frequency value.


In a possible example, the screen parameter includes a horizontal screen parameter, and the horizontal screen parameter includes at least one of the HBP, the HFP and the HSA. The target value is determined by the electronic device adjusting the reference value under a second constraint condition, the second constraint condition refers to that a change amount of a line scanning period of the display screen is lower than a second preset threshold after the MIPI frequency is switched.


In a possible example, the electronic device includes a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem. In response to obtaining the at least one detection value of the first frequency and the detection value of the second frequency, the instructions in the one or more programs are configured to perform following. The BP is controlled to perform: obtaining the at least one detection value of the first frequency and reporting the at least one detection value of the first frequency to the AP through a preset channel. The AP is controlled to perform: receiving the at least one detection value of the first frequency from the BP, and obtaining the detection value of the second frequency.


In response to detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency, the instructions in the one or more programs are configured to perform: controlling the AP to detect the electronic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.


In a possible example, the electronic device includes a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem. In response to obtaining the at least one detection value of the first frequency and the detection value of the second frequency, the instructions in the one or more programs are configured to perform following. The BP is controlled to perform: obtaining the at least one detection value of the first frequency, and receiving the detection value of the second frequency from the AP through a preset channel. The AP is controlled to perform: obtaining the detection value of the second frequency and sending the detection value of the second frequency to the BP.


In response to detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency, the instructions in the one or more programs are configured to perform: controlling the BP to detect the electronic interference based on the at least one detection value and the detection value of the second frequency.


The above mainly introduces the solution of embodiments of the disclosure from the execution process of the method. It may be understood that, in order to implement the above functions, the electronic device includes a corresponding hardware structure and/or software module for executing each function. The skilled in the art should easily realize that, in combination with units and algorithm steps of each example described in the embodiments provided herein, the present disclosure may be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by the hardware or the computer software-driven hardware depends on a specific application and a design constraint of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to beyond the scope of the disclosure.


Embodiments of the disclosure may divide the function units of the electronic device based on above method example. For example, each function unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated unit may be implemented in the form of hardware or a software function unit. It should be noted that the division of units in embodiments of the disclosure is illustrative, which is only a logical function division, and there may be another division modes in an actual implementation.



FIG. 6 is a block diagram illustrating a composition of function units of an apparatus 600 for controlling electromagnetic interference according to embodiments of the disclosure. The apparatus 600 for controlling the electromagnetic interference may be applied to an electronic device, and includes a processing unit 601 and a communication unit 602.


The processing unit 601 is configured to detect electromagnetic interference between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene, the preset scene including a screen-on scene, and to perform a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen through the communication unit 602 in response to detecting the electromagnetic interference.


The apparatus 600 for controlling the electromagnetic interference may also include a storage unit 603. The storage unit 603 is configured to store 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 or a transceiver. The storage unit 603 may be a memory.


It may be seen that, in embodiments of the disclosure, the electronic device detects the electromagnetic interference between the radio frequency system and the display screen of the electronic device in response to detecting that the electronic device is in the preset scene. The preset scene includes the screen-on scene. The frequency hopping switching operation is performed on the MIPI of the display screen in response to detecting the electromagnetic interference. Since the electronic device performs frequency hopping on an MIPI frequency of the display screen, the MIPI frequency of the display screen may be adjusted to a frequency band which does not interfere with a communication frequency of the radio frequency (RF) system, thereby improving the communication stability in the screen-on scene.


In a possible example, in response to detecting the electromagnetic interference between the radio frequency system and the display screen of the electronic device, the processing unit 601 is configured to: obtain at least one detection value of a first frequency and a detection value of a second frequency though the communication unit 602, in which the first frequency is a communication frequency of the radio frequency system, and the second frequency is the MIPI frequency of the display screen; and detect the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.


In a possible example, in response to detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency, the processing unit 601 is configured to: determine a first frequency set based on the at least one detection value of the first frequency, in which the first frequency set includes at least one communication frequency enabled by the radio frequency system in the preset scene; determine a second frequency set based on the detection value of the second frequency, in which the second frequency set includes an MIPI frequency enabled by the display screen in the preset scene, and at least one division frequency and/or at least one multiplication frequency of the enabled MIPI frequency; and detect the electromagnetic interference based on the first frequency set and the second frequency set.


In a possible example, in response to performing the frequency hopping switching operation on the mobile industry processor interface (MIPI) of the display screen, the processing unit 601 is configured to: determine a target frequency value of the MIPI frequency of the display screen; and adjusting the MIPI frequency of the display screen to the target frequency value.


In a possible example, in response to determining the target frequency value of the MIPI frequency of the display screen, the processing unit 601 is configured to: obtain an available frequency range or an available frequency value of the MIPI frequency of the display screen; obtain a first frequency set, in which the first frequency set includes at least one communication frequency enabled by the electronic device in the preset scene; and determine the target frequency value of the MIPI frequency of the display screen based on the available frequency range or the available frequency value, and the first frequency set.


In a possible example, in response to adjusting the MIPI frequency of the display screen to the target frequency, the processing unit 601 is configured to: obtain a pre-configured target value of a screen parameter associated with the target frequency value, in which the target value is associated with a reference value, the reference value is determined by the electronic device under a first constraint condition based on a preset FPS (frames per second) calculation equation and the target frequency value, the first constraint condition refers to that a change amount of FPS of the display screen after MIPI frequency switching is lower than a first preset threshold, and the screen parameter includes at least one porch value of a horizontal back porch (HBP), a horizontal front porch (HFP), a vertical back porch (VBP), a vertical front porch (VFP), a vertical sync active (VSA), a horizontal sync active (HSA) in the preset FPS calculation equation; and adjust a value of the screen parameter to the target value, and adjust the MIPI frequency of the display screen to the target frequency value.


In a possible example, the screen parameter includes a horizontal screen parameter, and the horizontal screen parameter includes at least one of the HBP, the HFP and the HSA.


The target value is determined by the electronic device by adjusting the reference value under a second constraint condition, and the second constraint condition refers to that a change amount of a line scanning period of the display screen is lower than a second preset threshold after switching the MIPI frequency.


In a possible example, the electronic device includes a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem. In response to obtaining the at least one detection value of the first frequency and the detection value of the second frequency, the processing unit 601 is configured to: control the BP to perform: obtaining the at least one detection value of the first frequency and reporting the at least one detection value of the first frequency to the AP through a preset channel; and control the AP to perform: receiving the at least one detection value of the first frequency from the BP, and obtaining the detection value of the second frequency.


In response to detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency, the processing unit 601 is configured to control the AP to detect whether the electronic interference occurs in the electronic device based on the at least one detection value of the first frequency and the detection value of the second frequency.


In a possible example, the electronic device includes a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem. In response to obtaining the at least one detection value of the first frequency and the detection value of the second frequency, the processing unit 601 is configured to: control the BP to perform: obtaining the at least one detection value of the first frequency, and receiving the detection value of the second frequency from the AP through a preset channel; and control the AP to perform: obtaining the detection value of the second frequency and sending the detection value of the second frequency to the BP.


In response to detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency, the processing unit 601 is configured to control the BP to detect whether the electronic interference occurs in the electronic device based on the at least one detection value and the detection value of the second frequency.


Embodiments of the disclosure also provide a computer readable storage medium. The computer readable storage medium is configured to store a computer program for exchanging electronic data. The computer program causes a computer to execute a part or all of the steps of any method as described in the above method embodiments. The computer includes an electronic device.


Embodiments of the disclosure further provide a computer program product. The computer program product includes a non-transitory computer readable storage medium having a computer program stored thereon. The computer program may be operated to enable a computer to execute a part or all of the steps of any method as described in the above method embodiments. The computer program product may be a software installation package. The computer includes an electronic device.


It should be noted that, for the sake of simple description, all the above method embodiments are expressed as a series of action combinations. However, the skilled in the art should know that the disclosure is not limited by the described sequence of actions because some actions may be performed in other sequences or at the same time based on the disclosure. Secondly, the skilled in the art should also know that, embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessary for the disclosure.


In the above embodiments, descriptions for respective embodiments have their own emphasis. For a part not described in detail in one embodiment, reference may be made to relevant descriptions of other embodiments.


In several embodiments provided in the disclosure, it should be understood that, the disclosed apparatus may be implemented in other ways. For example, the apparatus embodiments described above are only illustrative. For example, the division of the above units is only a logical function division. In an actual implementation, there may be another division modes, for example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. On the other hand, a mutual coupling, a direct coupling or a communication connection illustrated or discussed may be an indirect coupling or a communication connection through some interfaces, apparatus or units, and may be in electrical or other forms.


The units described above as separated components may or may not be physically separated. The components displayed as the units may or may not be physical units, that is, the components may be located in one place or distributed to multiple network units. A part or all of the units may be selected based on an actual requirement to achieve the purpose of this embodiment.


In addition, each function unit in each embodiment of the disclosure may be integrated into one processing unit, or may physically exist separately. Two or more function units may also be integrated into one unit. The above integrated units may be implemented in the form of hardware or a software function unit.


If the above integrated unit is implemented in the form of the software function unit and sold or used as an independent product, the integrated unit may be stored in a computer readable memory. Based on this understanding, the technical solution of the disclosure may be essentially, or the part of the technical solution that contributes to the prior art, or all or a part of the technical solution may be embodied in the form of the software product. The computer software product is stored in a memory and includes several instructions to enable a computer device, which may be a personal computer, a server or a network device, etc., to execute all or a part of the actions of the above methods in various embodiments of the disclosure. The above memory includes various media that may store the program codes, such as a USB flash disk, a ROM (read-only memory), a RAM (random access memory), a mobile hard disk, a magnetic disk or an optical disk.


The skilled in the art may understand that the all or part of the actions in the various methods of the above embodiments may be completed by a program instructing related hardware. The program may be stored in a computer readable memory. The computer readable memory may include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.


Detailed description is made above to the embodiments of the disclosure. Detailed examples are applied to illustrate the principles and implementations of the disclosure. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the disclosure. Meanwhile, the skilled in the art may make some changes in a detailed implementation and a scope of the disclosure based on the idea of the disclosure. In conclusion, the contents of this specification should not be construed as limitations of the disclosure.

Claims
  • 1. A method for controlling electromagnetic interference, comprising: detecting electromagnetic interference between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene, the preset scene comprising a screen-on scene; andperforming a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.
  • 2. The method of claim 1, wherein detecting the electromagnetic interference between the radio frequency system and the display screen of the electronic device comprises: obtaining at least one detection value of a first frequency and a detection value of a second frequency, wherein the first frequency is a communication frequency of the radio frequency system, and the second frequency is an MIPI frequency of the display screen; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.
  • 3. The method of claim 2, wherein detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency comprises: determining a first frequency set based on the at least one detection value of the first frequency, wherein the first frequency set comprises at least one communication frequency enabled by the radio frequency system in the preset scene;determining a second frequency set based on the detection value of the second frequency, wherein the second frequency set comprises an MIPI frequency enabled by the display screen in the preset scene, and at least one of division frequency and multiplication frequency of the enabled MIPI frequency; anddetecting the electromagnetic interference based on the first frequency set and the second frequency set.
  • 4. The method of claim 1, wherein performing the frequency hopping switching operation on the mobile industry processor interface (MIPI) of the display screen comprises: determining a target frequency value of an MIPI frequency of the display screen; andadjusting the MIPI frequency of the display screen to the target frequency value.
  • 5. The method of claim 4, wherein determining the target frequency value of the MIPI frequency of the display screen comprises: obtaining an available frequency range or an available frequency value of the MIPI frequency of the display screen;obtaining a first frequency set, wherein the first frequency set comprises at least one communication frequency enabled by the electronic device in the preset scene; anddetermining the target frequency value of the MIPI frequency of the display screen based on the available frequency range or the available frequency value, and the first frequency set.
  • 6. The method of claim 5, wherein adjusting the MIPI frequency of the display screen to the target frequency value comprises: obtaining a pre-configured target value of a screen parameter associated with the target frequency value, wherein the target value is associated with a reference value, the reference value is determined by the electronic device under a first constraint condition based on a preset FPS (frames per second) calculation equation and the target frequency value, the first constraint condition refers to that a change amount of FPS of the display screen after MIPI frequency switching is lower than a first preset threshold, and the screen parameter comprises at least one porch value of a horizontal back porch (HBP), a horizontal front porch (HFP), a vertical back porch (VBP), a vertical front porch (VFP), a vertical sync active (VSA), a horizontal sync active (HSA) in the preset FPS calculation equation; andadjusting a value of the screen parameter to the target value, and adjusting the MIPI frequency of the display screen to the target frequency value.
  • 7. The method of claim 6, wherein the screen parameter comprises a horizontal screen parameter, and the horizontal screen parameter comprises at least one of the HBP, the HFP and the HSA; and the target value is determined by the electronic device adjusting the reference value under a second constraint condition, wherein the second constraint condition refers to that a change amount of a line scanning period of the display screen after switching the MIPI frequency is lower than a second preset threshold.
  • 8. The method of claim 2, wherein the electronic device comprises a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem; obtaining the at least one detection value of the first frequency and the detection value of the second frequency comprises: controlling the BP to perform: obtaining the at least one detection value of the first frequency and reporting the at least one detection value of the first frequency to the AP through a preset channel; andcontrolling the AP to perform: receiving the at least one detection value of the first frequency from the BP, and obtaining the detection value of the second frequency; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency comprises:controlling the AP to detect the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.
  • 9. The method of claim 2, wherein the electronic device comprises a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem; obtaining the at least one detection value of the first frequency and the detection value of the second frequency comprises: controlling the BP to perform: obtaining the at least one detection value of the first frequency, and receiving the detection value of the second frequency from the AP through a preset channel; andcontrolling the AP to perform: obtaining the detection value of the second frequency and sending the detection value of the second frequency to the BP; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency comprises:controlling the BP to detect the electromagnetic interference based on the at least one detection value and the detection value of the second frequency.
  • 10. An electronic device, comprising: a processor;a memory;a communication interface; andone or more programs, wherein, the one or more programs are stored in the memory and configured to be executed by the processor, and the one or more programs comprise instructions for executing a method for controlling electromagnetic interference, the method comprising: detecting electromagnetic interference between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene, the preset scene comprising a screen-on scene; andperforming a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.
  • 11. The electronic device of claim 10, wherein detecting the electromagnetic interference between the radio frequency system and the display screen of the electronic device comprises: obtaining at least one detection value of a first frequency and a detection value of a second frequency, wherein the first frequency is a communication frequency of the radio frequency system, and the second frequency is an MIPI frequency of the display screen; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.
  • 12. The electronic device of claim 11, wherein detecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency comprises: determining a first frequency set based on the at least one detection value of the first frequency, wherein the first frequency set comprises at least one communication frequency enabled by the radio frequency system in the preset scene;determining a second frequency set based on the detection value of the second frequency, wherein the second frequency set comprises an MIPI frequency enabled by the display screen in the preset scene, and at least one of division frequency and multiplication frequency of the enabled MIPI frequency; anddetecting the electromagnetic interference based on the first frequency set and the second frequency set.
  • 13. The electronic device of claim 10, wherein performing the frequency hopping switching operation on the mobile industry processor interface (MIPI) of the display screen comprises: determining a target frequency value of an MIPI frequency of the display screen; andadjusting the MIPI frequency of the display screen to the target frequency value.
  • 14. The electronic device of claim 13, wherein determining the target frequency value of the MIPI frequency of the display screen comprises: obtaining an available frequency range or an available frequency value of the MIPI frequency of the display screen;obtaining a first frequency set, wherein the first frequency set comprises at least one communication frequency enabled by the electronic device in the preset scene; anddetermining the target frequency value of the MIPI frequency of the display screen based on the available frequency range or the available frequency value, and the first frequency set.
  • 15. The electronic device of claim 14, wherein adjusting the MIPI frequency of the display screen to the target frequency value comprises: obtaining a pre-configured target value of a screen parameter associated with the target frequency value, wherein the target value is associated with a reference value, the reference value is determined by the electronic device under a first constraint condition based on a preset FPS (frames per second) calculation equation and the target frequency value, the first constraint condition refers to that a change amount of FPS of the display screen after MIPI frequency switching is lower than a first preset threshold, and the screen parameter comprises at least one porch value of a horizontal back porch (HBP), a horizontal front porch (HFP), a vertical back porch (VBP), a vertical front porch (VFP), a vertical sync active (VSA), a horizontal sync active (HSA) in the preset FPS calculation equation; andadjusting a value of the screen parameter to the target value, and adjusting the MIPI frequency of the display screen to the target frequency value.
  • 16. The electronic device of claim 15, wherein the screen parameter comprises a horizontal screen parameter, and the horizontal screen parameter comprises at least one of the HBP, the HFP and the HSA; and the target value is determined by the electronic device adjusting the reference value under a second constraint condition, wherein the second constraint condition refers to that a change amount of a line scanning period of the display screen after switching the MIPI frequency is lower than a second preset threshold.
  • 17. The electronic device of claim 11, wherein the electronic device comprises a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem; obtaining the at least one detection value of the first frequency and the detection value of the second frequency comprises:controlling the BP to perform: obtaining the at least one detection value of the first frequency and reporting the at least one detection value of the first frequency to the AP through a preset channel; andcontrolling the AP to perform: receiving the at least one detection value of the first frequency from the BP, and obtaining the detection value of the second frequency; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency comprises:controlling the AP to detect the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.
  • 18. The electronic device of claim 11, wherein the electronic device comprises a baseband processor (BP) and an application processor (AP), and the AP is connected with a modem; obtaining the at least one detection value of the first frequency and the detection value of the second frequency comprises:controlling the BP to perform: obtaining the at least one detection value of the first frequency, and receiving the detection value of the second frequency from the AP through a preset channel; andcontrolling the AP to perform: obtaining the detection value of the second frequency and sending the detection value of the second frequency to the BP; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency comprises:controlling the BP to detect the electromagnetic interference based on the at least one detection value and the detection value of the second frequency.
  • 19. A non-transitory computer readable storage medium, having a computer program for exchanging electronic data stored thereon, wherein the computer program causes a computer to execute a method for controlling electromagnetic interference, the method comprising: detecting electromagnetic interference between a radio frequency system and a display screen of an electronic device in response to detecting that the electronic device is in a preset scene, the preset scene comprising a screen-on scene; andperforming a frequency hopping switching operation on a mobile industry processor interface (MIPI) of the display screen in response to detecting the electromagnetic interference.
  • 20. The non-transitory computer readable storage medium of claim 19, wherein detecting the electromagnetic interference between the radio frequency system and the display screen of the electronic device comprises: obtaining at least one detection value of a first frequency and a detection value of a second frequency, wherein the first frequency is a communication frequency of the radio frequency system, and the second frequency is an MIPI frequency of the display screen; anddetecting the electromagnetic interference based on the at least one detection value of the first frequency and the detection value of the second frequency.
Priority Claims (1)
Number Date Country Kind
201811236851.0 Oct 2018 CN national
CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation of International Application No. PCT/CN2019/107883, filed on Sep. 25, 2019, which claims priority to Chinese Patent Application No. 201811236851.0, filed on Oct. 23, 2018, the entire contents of both of which are incorporated herein by reference.

Continuations (1)
Number Date Country
Parent PCT/CN2019/107883 Sep 2019 US
Child 17236609 US