WO2020088184A1 - Electromagnetic interference control method and relevant product - Google Patents

Electromagnetic interference control method and relevant product Download PDF

Info

Publication number
WO2020088184A1
WO2020088184A1 PCT/CN2019/109164 CN2019109164W WO2020088184A1 WO 2020088184 A1 WO2020088184 A1 WO 2020088184A1 CN 2019109164 W CN2019109164 W CN 2019109164W WO 2020088184 A1 WO2020088184 A1 WO 2020088184A1
Authority
WO
WIPO (PCT)
Prior art keywords
operating frequency
mipi
target
frequency
interference
Prior art date
Application number
PCT/CN2019/109164
Other languages
French (fr)
Chinese (zh)
Inventor
唐凯
谭正鹏
陈运
王立中
杨海
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020088184A1 publication Critical patent/WO2020088184A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05KPRINTED CIRCUITS; CASINGS OR CONSTRUCTIONAL DETAILS OF ELECTRIC APPARATUS; MANUFACTURE OF ASSEMBLAGES OF ELECTRICAL COMPONENTS
    • H05K9/00Screening of apparatus or components against electric or magnetic fields

Definitions

  • This application relates to the field of electronic technology, in particular to an electromagnetic interference control method and related products.
  • the hardware upgrade can improve the interference to each module, but it will increase the cost and the improvement effect is limited. Therefore, how to reduce the interference of the MIPI operating frequency of the display screen to each module of the electronic device needs to be resolved.
  • the embodiments of the present application provide an electromagnetic interference control method and related products, which can eliminate or reduce the electromagnetic interference of the MIPI working frequency of the display screen on the modem communication and achieve the best communication performance.
  • an embodiment of the present application provides an electromagnetic interference control method, which is applied to an electronic device.
  • the electronic device includes a display screen and a modem.
  • the method includes:
  • the interference of the second MIPI operating frequency on the target operating frequency is less than the interference of the first MIPI operating frequency on the target operating frequency
  • an embodiment of the present application provides an electromagnetic interference control device, which is applied to an electronic device.
  • the electronic device includes a display screen and a modem.
  • the electromagnetic interference control device includes:
  • An obtaining unit configured to obtain a target operating frequency of the modem when the display device is in a bright screen state when the electronic device is in a video mode; and obtain a first MIPI operating frequency of the display industry mobile processor interface MIPI ;
  • a determining unit configured to determine whether the target operating frequency is interfered according to the first MIPI operating frequency
  • the acquiring unit is further configured to acquire a target video frame rate of the video when it is determined that the target operating frequency is disturbed;
  • the determining unit is further configured to determine a second MIPI operating frequency corresponding to the target video frame rate, and the interference of the second MIPI operating frequency on the target operating frequency is less than that of the first MIPI operating frequency. Describe the interference caused by the target operating frequency;
  • the adjusting unit is configured to adjust the MIPI operating frequency of the display screen to the second MIPI operating frequency.
  • an embodiment of the present application provides 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 by the above
  • the processor executes, and the above program includes instructions for performing the steps in the first aspect of the embodiments of the present application.
  • 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 the computer to execute the first embodiment of the present application. Part or all of the steps described in one 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 the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in the first aspect.
  • the computer program product may be a software installation package.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 1B is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of another electromagnetic interference control method disclosed in an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another electromagnetic interference control method disclosed in an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electromagnetic interference control device disclosed in an embodiment of the present application.
  • the electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wireless headsets, computing devices, or other processing devices connected to a wireless modem, and various forms of user equipment (user equipment) , UE), mobile station (mobile station, MS), terminal device (terminal device), etc.
  • the electronic device may be, for example, a smart phone, tablet computer, earphone box, etc.
  • the devices mentioned above are collectively referred to as electronic devices.
  • FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device includes a control circuit and an input-output circuit, and the input and output circuit is connected to the control circuit.
  • the control circuit may include a storage and processing circuit.
  • the storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (such as flash memory or other electronically programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as static Or dynamic random access memory, etc.), the embodiments of the present application are not limited.
  • the processing circuit in the storage and processing circuit can be used to control the operation of the electronic device.
  • the processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
  • Storage and processing circuits can be used to run software in electronic devices, such as playing incoming call alert ringing applications, playing short message alert ringing applications, playing alarm alert ringing applications, playing media file applications, voice over internet protocol (voice over internet protocol (VOIP) phone call application, operating system functions, etc.
  • These software can be used to perform some control operations, for example, play incoming call alert ringing, play short message alert ringing, play alarm alert ringing, play media files, make voice phone calls, and other functions in electronic devices, etc., this application
  • the embodiment is not limited.
  • the input-output circuit can be used to enable the electronic device to input and output data, that is, to allow the electronic device to receive data from the external device and to allow the electronic device to output data from the electronic device to the external device.
  • the input-output circuit may further include a sensor.
  • the sensor may include an ambient light sensor, an infrared proximity sensor based on light and capacitance, an ultrasonic sensor, a touch sensor (for example, a light-based touch sensor and / or a capacitive touch sensor, where the touch sensor may be part of a touch display screen, or Can be used independently as a touch sensor structure), acceleration sensor, gravity sensor, and other sensors.
  • the input-output circuit may further include an audio component, and the audio component may be used to provide audio input and output functions for the electronic device. Audio components may also include tone generators and other components for generating and detecting sound.
  • the input-output circuit may also include one or more display screens.
  • the display screen may include a liquid crystal display screen, an organic light-emitting diode display screen, an electronic ink display screen, a plasma display screen, and one or a combination of several display screens using other display technologies.
  • the display screen may include a touch sensor array (ie, the display screen may be a touch display screen).
  • the touch sensor may be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
  • the input-output circuit may further include a communication circuit that can be used to provide an electronic device with the ability to communicate with an external device.
  • the communication circuit may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals.
  • the wireless communication circuit in the communication circuit may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna.
  • the wireless communication circuit in the communication circuit may include a circuit for supporting near field communication (NFC) by transmitting and receiving near-field coupled electromagnetic signals.
  • the communication circuit may include a near field communication antenna and a near field communication transceiver.
  • the communication circuit may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and so on.
  • the input-output circuit may further include other input-output units.
  • the input-output unit may include buttons, joysticks, click wheels, scroll wheels, touch pad, keypad, keyboard, camera, light emitting diodes, and other status indicators.
  • the electronic device may further include a battery (not shown), the battery is used to provide electrical energy to the electronic device.
  • FIG. 1B is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application. The method is applied to the electronic device described in FIG. 1A.
  • the electronic device includes a display screen and a modem. The method includes the following steps:
  • the electronic device When the electronic device is in a video mode, if the display screen is in a bright screen state, acquire a target operating frequency of the modem.
  • the above video mode includes the electronic device in a live video mode or the electronic device in a video call mode.
  • the video call mode includes a mode in which the electronic device makes a video call through a third-party application, or the electronic device is based on a long-term evolution voice service Long term (Evolution, VOLTE) video call mode.
  • the frame rate and resolution of the display screen of the display screen are high, and the real-time requirement of the transmission data of the display screen is high.
  • the target operating frequency can be detected through the modem and sent to the application processor (AP) in the electronic device.
  • AP application processor
  • obtaining the target operating frequency of the modem may include the following steps:
  • the speed detection device of the electronic device such as a speed sensor, can be used to detect the moving speed of the electronic device.
  • the moving speed belongs to the preset speed range, Determine the target time period corresponding to the moving speed according to the mapping relationship between the preset speed and the time period, and control the modem to report the target operating frequency to the AP according to the target time period, specifically, when the first moving speed is greater than the second moving speed, The first time period corresponding to the first moving speed is less than the second time period corresponding to the second moving speed, so that the time period for the modem to report the target operating frequency can be flexibly adjusted according to the different moving speeds of the electronic device, saving the electronic device Power consumption.
  • the operation of the modem to report the target operating frequency may be stopped, thereby reducing the power consumption of the electronic device.
  • the application processor AP may obtain the first MIPI working frequency of the display MIPI bus according to the time period of the target working frequency, and when the detection period of the target working frequency is adjusted from the first time period to the second time period, The time period for obtaining the first MIPI operating frequency can also be adjusted accordingly.
  • the application processor AP may determine whether the target operating frequency is affected by the first MIPI operating frequency according to the target operating frequency and the first MIPI operating frequency Interference.
  • determining whether the target operating frequency is interfered according to the first MIPI operating frequency may include the following steps:
  • the electronic device can obtain multiple interference frequency lists of the display screen MIPI under multiple MIPI operating frequencies in advance, each MIPI operating frequency corresponds to an interference frequency list, and each interference frequency list includes multiple interference frequencies, and then set the MIPI Correspondence between the operating frequency and the interference frequency list, so that after acquiring the first MIPI operating frequency, a first interference frequency list corresponding to the first MIPI operating frequency can be determined, the first interference frequency list includes working with the first MIPI
  • the multiple first interference frequencies corresponding to the frequency indicate that the first MIPI operating frequency will interfere with any first interference frequency among the multiple first interference frequencies, where each first interference frequency among the multiple first interference frequencies is Refers to the operating frequency at which the modem will be disturbed during communication.
  • the target operating frequency of the modem may be sequentially matched with multiple first interference frequencies in the target interference frequency list, and if there is a first interference frequency equal to the target operating frequency among the multiple first interference frequencies, the matching is successful, That is, the target operating frequency of the modem falls within the range of the target interference frequency list, and it is determined that the target operating frequency is interfered by the first MIPI operating frequency.
  • the target video frame rate is the video frame rate of the video to be displayed obtained by the camera of the current electronic device. In the embodiment of the present application, if it is determined that the target working frequency of the modem is interfered, the target video frame rate of the video may be obtained.
  • the interference of the second MIPI operating frequency on the target operating frequency is less than that of the first MIPI operating frequency on the target operating frequency interference.
  • the second MIPI operating frequency corresponding to the current target video frame rate can be determined, so that the display MIPI works at the second MIPI operating frequency, which can guarantee the video
  • the target video frame rate is displayed normally, and the interference caused by the second MIPI operating frequency to the target operating frequency is smaller than the interference caused by the first MIPI operating frequency to the target operating frequency, thereby reducing the operating interference to the modem.
  • determining the second MIPI operating frequency corresponding to the target video frame rate may include the following steps:
  • the display screen MIPI can work at the MIPI working frequency within the target MIPI working frequency range list range, thereby ensuring that the current video is under the target video frame rate Stable display.
  • the interference intensity value for the modem's target operating frequency can be further determined
  • the second MIPI operating frequency is less than the preset threshold, so that the interference of the MIPI operating frequency of the display screen on the target operating frequency of the modem can be reduced, and better communication performance can be obtained.
  • determining the target MIPI working frequency range list corresponding to the target video frame rate may include the following steps:
  • the target MIPI working frequency range list corresponding to the target video frame rate is determined according to the correspondence between the preset video frame rate and the MIPI working frequency range list.
  • the electronic device can obtain in advance multiple MIPI operating frequency range lists at multiple video frame rates, each game frame rate corresponds to a MIPI operating frequency range list, and then set the video frame rate between the MIPI operating frequency range list Correspondence relationship, thus, after acquiring the target video frame rate of the video, a list of target MIPI operating frequency ranges corresponding to the target video frame rate can be determined, and the target MIPI operating frequency range list includes multiple MIPI operating frequencies corresponding to the target video frame rate In this way, the display screen MIPI operates at any MIPI operating frequency among multiple MIPI operating frequencies, which enables the video to be displayed stably at the target video frame rate.
  • determining the second MIPI operating frequency corresponding to the target video frame rate may include the following steps:
  • the target MIPI operating frequency range list includes multiple MIPI operating frequencies
  • the matching result is that all the interference frequencies in the second interference frequency list and the target operating frequency have failed to match, determine according to the correspondence between the MIPI operating frequency and the interference frequency list.
  • the second MIPI operating frequency corresponding to the second interference frequency list.
  • the reference interference frequency list corresponding to each MIPI operating frequency in the above multiple MIPI operating frequencies can be determined according to the correspondence between the preset MIPI operating frequency and the interference frequency list to obtain multiple reference interference frequency lists.
  • a MIPI operating frequency and its corresponding reference interference frequency list which can match the target operating frequency with multiple interference frequencies in the reference interference frequency list in turn, if there are multiple interference frequencies in the reference interference frequency list that work with the target If the interference frequencies are equal, the match is successful.
  • it can be determined that the target operating frequency falls within the range of the reference interference frequency list, so that multiple reference interference frequency lists can be determined, and the target operating frequency does not fall within the reference interference frequency list.
  • the second interference frequency list in the range that is, the target operating frequency and all interference frequencies in the second interference frequency list fail to match. Therefore, it can be determined that the second MIPI operating frequency corresponding to the second interference frequency list is the target of the modem
  • the working frequency interferes with the MIPI working frequency with less interference.
  • the MIPI operating frequency of the display screen MIPI can be adjusted from the first MIPI operating frequency to the second MIPI operating frequency, so that the display MIPI to modem communication can be eliminated or reduced Electromagnetic interference to obtain the best communication performance.
  • the display parameters of the display screen can also be adjusted to ensure the stable operation of the display screen.
  • the following steps may be further included:
  • the screen parameters of the display screen including at least one of the following porch values in the preset frame rate calculation formula: horizontal trailing edge HBP, horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  • the preset frame rate calculation formula is the following formula:
  • FPS CLK_rate * 2 * lane_num / ((height + VBP + VSA + VFP) * (weight + HBP + HFP + HSA) * bits_perpixel)
  • FPS indicates the frame rate of the display screen
  • CLK_rate indicates the MIPI frequency
  • lane_num indicates the number of channels
  • height and weight indicate the physical size of the display screen
  • VBP vertical backporch
  • VFB vertical front porch
  • VSA vertical sync
  • HBP horizontal backporch
  • HFP horizontal frontporth
  • HSA horizontal syncactive
  • the first preset threshold may be an empirical value, which is used to ensure the stability of the content display of the display screen before and after the frequency switching, such as the maximum allowable error range of the display chip of 1%.
  • the electronic device can pre-determine the reference screen parameter value of the screen parameter that needs to be synchronously adjusted during the frequency hopping process based on the frame rate formula.
  • the electronic device can first adjust the screen parameter to the reference screen parameter value, and based on the reference screen parameter value Further dynamically adjust the screen parameters to finally reach the target screen parameter value, thereby improving the display stability of the display.
  • the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS; wherein, according to the reference screen parameter value Dynamically adjusting the screen parameters of the display screen to obtain the target screen parameter values may include the following steps:
  • the horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
  • the electronic device may first adjust the horizontal screen parameter to the reference screen parameter value, and further dynamically adjust the screen parameter based on the reference screen parameter value, so that the line scan duration of the display screen is at The amount of change after MIPI frequency switching is less than the second preset threshold, thereby improving the display stability of the display.
  • the line scan time is 7.18us
  • fine-tuning is performed according to the reference value of the screen parameter, and the line scan time is measured simultaneously to determine the line scan.
  • the value of the screen parameter after the fine-tuning under the time of 7.18us is the target value.
  • the above preset frame rate calculation formula is only a theoretical calculation formula.
  • the accuracy of this reference value is not very high, and the actual MIPI transmission frequency and the value of the screen parameter are different. Large (the difference between MHz and tens and hundreds), and the horizontal screen parameters of the display screen have a greater impact on the display stability, so consider modifying the value of the horizontal screen parameters based on the actual detection results to improve stability.
  • the target screen parameter value may be equal to the reference screen parameter The value, that is, adjusting the porch value in the vertical direction has no effect on the line scan duration.
  • the electronic device can modify the reference screen parameter value according to the constraint condition of the line scan duration and the actual detection result, thereby improving the stability of the display screen after frequency hopping.
  • the electromagnetic interference control method described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operation of the MIPI of the display screen when the electronic device is in the video mode and the display screen is bright. Frequency, determine whether the target operating frequency is disturbed according to the first MIPI operating frequency, if so, determine the target video frame rate of the video, determine the second MIPI operating frequency corresponding to the target video frame rate, and adjust the MIPI operating frequency of the display to all The second MIPI operating frequency is described. In this way, the MIPI operating frequency of the display screen can be dynamically adjusted when the electronic device is in the video mode without changing the hardware design of the electronic device, thereby eliminating or reducing its electromagnetic interference to modem communication, and obtaining the most Good communication performance.
  • FIG. 2 is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application.
  • the electronic device includes a display screen and a modem.
  • the electromagnetic interference control method includes the following steps:
  • the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal trailing edge HBP, horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  • the electromagnetic interference control method described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operation of the MIPI of the display screen when the electronic device is in the video mode and the display screen is bright. Frequency, determine whether the target operating frequency is disturbed according to the first MIPI operating frequency, if so, obtain the target video frame rate of the video, determine the second MIPI operating frequency corresponding to the target video frame rate, and adjust the MIPI operating frequency of the display To the second MIPI working frequency, when the change of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter value of the display screen, and dynamically adjust the value according to the reference screen parameter value The screen parameters of the display screen are described to obtain the target screen parameter value.
  • the operating frequency of the display screen MIPI can be dynamically adjusted when the electronic device is in the video mode without changing the hardware design of the electronic device, thereby eliminating or reducing its communication with the modem Electromagnetic interference, to obtain the best communication performance, and to improve the display stability of the display
  • FIG. 3 is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application.
  • the electronic device includes a display screen and a modem, and the electromagnetic interference control method includes the following steps:
  • 303 Determine a target interference frequency list corresponding to the first MIPI operating frequency according to a preset correspondence between the MIPI operating frequency and the interference frequency list, where the target interference frequency list includes the first MIPI operating frequency Corresponding multiple first interference frequencies.
  • the target MIPI operating frequency range list includes multiple MIPI operating frequencies.
  • the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  • the electromagnetic interference control method described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operating frequency of the display screen MIPI when the electronic device is in the video mode and the display screen is on , If the first MIPI operating frequency interferes with the target operating frequency, determine the list of target MIPI operating frequency ranges corresponding to the target video frame rate of the video, and determine the interference intensity of each MIPI operating frequency among multiple MIPI operating frequencies to the target operating frequency Value to obtain multiple interference intensity values, determine the second MIPI operating frequency corresponding to the interference intensity value less than the preset threshold among the multiple interference intensity values, adjust the MIPI operating frequency of the display to the second MIPI operating frequency, When the change rate of the frame rate after MIPI frequency switching is less than the first preset threshold, dynamically adjust the screen parameters of the display screen according to the reference screen parameter value to obtain the target screen parameter value, so that the electronic device can be in different user scenarios Dynamically adjust the MIPI working frequency of the display screen to eliminate or reduce its electromagnetic interference to modem communication The best
  • FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application.
  • the electronic device includes a processor, a memory, a communication interface, and one or more programs.
  • One or more programs are stored in the aforementioned memory and are configured to be executed by the aforementioned processor.
  • the aforementioned program includes instructions for performing the following steps:
  • the interference of the second MIPI operating frequency on the target operating frequency is less than the interference of the first MIPI operating frequency on the target operating frequency
  • the above program includes instructions for performing the following steps:
  • a target time period is determined according to the moving speed, and the target operating frequency reported by the modem is received in the target time period.
  • the above program includes instructions for performing the following steps:
  • the target interference frequency list including the corresponding to the first MIPI operating frequency Multiple first interference frequencies
  • Target operating frequency Matching the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency matches any of the plurality of first interference frequencies Successfully, it is determined that the target operating frequency is interfered.
  • the above program includes instructions for performing the following steps:
  • the target MIPI operating frequency range list includes multiple MIPI operating frequencies
  • the above program includes instructions for performing the following steps:
  • the target MIPI operating frequency range list includes multiple MIPI operating frequencies
  • the second interference is determined according to the correspondence between the MIPI operating frequency and the interference frequency list The second MIPI operating frequency corresponding to the frequency list.
  • the above program further includes instructions for performing the following steps:
  • the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, Horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  • the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS;
  • the above program includes instructions for performing the following steps:
  • the horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
  • the electronic device includes a hardware structure and / or a software module corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiments of the present application may divide the functional unit of the electronic device according to the above method example, 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 integrated unit may be implemented in the form of hardware or software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 5 is a schematic structural diagram of an electromagnetic interference control device disclosed in an embodiment of the present application, which is applied to the electronic device shown in FIG. 1A.
  • the electronic device includes a display screen and a modem, and the electromagnetic interference control
  • the device includes an acquisition unit 501, a determination unit 502, and an adjustment unit 503, where,
  • the acquiring unit 501 is configured to acquire the target operating frequency of the modem when the display device is in the bright state when the electronic device is in the video mode; and acquire the first of the display industry interface MIPI MIPI working frequency;
  • the determining unit 502 is configured to determine whether the target operating frequency is interfered according to the first MIPI operating frequency
  • the obtaining unit 501 is further configured to obtain the target video frame rate of the video when it is determined that the target operating frequency is interfered;
  • the determining unit 502 is further configured to determine a second MIPI operating frequency corresponding to the target video frame rate, and the interference of the second MIPI operating frequency on the target operating frequency is less than the first MIPI operating frequency pair Interference generated by the target operating frequency;
  • the adjusting unit 503 is configured to adjust the MIPI operating frequency of the display screen to the second MIPI operating frequency.
  • the acquiring unit 501 is specifically configured to:
  • a target time period is determined according to the moving speed, and the target operating frequency reported by the modem is received in the target time period.
  • the determining unit 502 is specifically configured to:
  • the target interference frequency list including the corresponding to the first MIPI operating frequency Multiple first interference frequencies
  • Target operating frequency Matching the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency matches any of the plurality of first interference frequencies Successfully, it is determined that the target operating frequency is interfered.
  • the determining unit 502 is specifically configured to:
  • the target MIPI operating frequency range list includes multiple MIPI operating frequencies
  • the determining unit 502 is specifically configured to:
  • the target MIPI operating frequency range list includes multiple MIPI operating frequencies
  • the second interference is determined according to the correspondence between the MIPI operating frequency and the interference frequency list The second MIPI operating frequency corresponding to the frequency list.
  • the determining unit 502 is further configured to:
  • the adjustment unit 503 is also used to:
  • the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, Horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  • the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS;
  • the adjustment unit 503 is specifically configured to:
  • the horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
  • the determining unit is specifically configured to:
  • the target MIPI working frequency range list corresponding to the target video frame rate is determined according to the correspondence between the preset video frame rate and the MIPI working frequency range list.
  • the electromagnetic interference control device described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operation of the MIPI of the display screen when the electronic device is in the video mode and the display screen is in the bright state Frequency, determine whether the target operating frequency is disturbed according to the first MIPI operating frequency, if so, determine the target video frame rate of the video, determine the second MIPI operating frequency corresponding to the target video frame rate, and adjust the MIPI operating frequency of the display The second MIPI operating frequency is described. In this way, the MIPI operating frequency of the display screen can be dynamically adjusted when the electronic device is in the video mode without changing the hardware design of the electronic device, thereby eliminating or reducing its electromagnetic interference to modem communication and obtaining the most Good communication performance.
  • each unit may be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware A program's processor (shared, dedicated, or chipset) and memory, combined logic circuits, and / or other suitable components that provide the above functions.
  • the acquisition unit 501, the determination unit 502, and the adjustment unit 503 may be control circuits or processors.
  • An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, which causes the computer to execute any of the electromagnetic interference control methods described in the above method embodiments Part or all steps.
  • An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause the computer to execute as described in the method embodiments Some or all steps of any electromagnetic interference control method.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or software program modules.
  • the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory.
  • the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, which can store various program codes.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , ROM, RAM, magnetic disk or optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

Disclosed in embodiments of the present application are an electromagnetic interference control method and a relevant product. The method comprises: if a display screen is in an on state when an electronic device is in a video mode, acquiring a target working frequency of modem; acquiring a first MIPI working frequency of a display screen MIPI; determining whether the target working frequency is interfered or not according to the first MIPI working frequency; if yes, determining a target video frame rate of a video; determining a second MIPI working frequency corresponding to the target video frame rate; and adjusting the MIPI working frequency of the display screen to the second MIPI working frequency. Thus, the MIPI working frequency of the display screen can be dynamically adjusted when the electronic device is in the video mode under the condition of not changing the hardware design of the electronic device, thereby eliminating or lowering the electromagnetic interference on modem communication, and achieving best communication performance.

Description

电磁干扰控制方法及相关产品Electromagnetic interference control method and related products 技术领域Technical field
本申请涉及电子技术领域,具体涉及一种电磁干扰控制方法及相关产品。This application relates to the field of electronic technology, in particular to an electromagnetic interference control method and related products.
背景技术Background technique
随着移动通信技术的发展,用户对手机等电子设备进行通信的需求越来越大,目前市面上的电子设备在进行数据传输时,一般通过蜂窝移动网络通信或者Wi-Fi通信等方式传输数据,全面屏手机都面临着射频干扰问题,例如,在电子设备正在进行视频直播时,显示屏帧率和清晰度要求较高,用于传输数据的显示屏移动产业处理器接口(mobile industry processor interface,MIPI)以固定频率工作时,若其分频频率或倍频频率落在特定工作频率上,可能会存在与显示屏MIPI相互干扰的各种模块,例如通信模块、音频模块,从而影响电子设备中各个模块的功能稳定性。With the development of mobile communication technology, users' demands for communication of electronic devices such as mobile phones are increasing. At present, when electronic devices on the market transmit data, they generally transmit data through cellular mobile network communication or Wi-Fi communication. All mobile phones with full screen are faced with the problem of radio frequency interference. For example, when electronic devices are performing live video broadcasting, the display frame rate and resolution requirements are high. The display industry mobile processor interface used to transmit data (mobile industry processor) interface , MIPI) When working at a fixed frequency, if its crossover frequency or multiplier frequency falls on a specific operating frequency, there may be various modules that interfere with the display MIPI, such as communication modules and audio modules, which affects electronic equipment Functional stability of each module in
目前,通过硬件升级可改善对各个模块的干扰,但会增加成本,且改善效果有限,因此,如何减少显示屏MIPI的工作频率对电子设备各个模块的干扰的问题亟待解决。Currently, the hardware upgrade can improve the interference to each module, but it will increase the cost and the improvement effect is limited. Therefore, how to reduce the interference of the MIPI operating frequency of the display screen to each module of the electronic device needs to be resolved.
发明内容Summary of the invention
本申请实施例提供了一种电磁干扰控制方法及相关产品,能够消除或者降低显示屏MIPI工作频率对modem通信的电磁干扰,实现最佳的通信性能。The embodiments of the present application provide an electromagnetic interference control method and related products, which can eliminate or reduce the electromagnetic interference of the MIPI working frequency of the display screen on the modem communication and achieve the best communication performance.
第一方面,本申请实施例提供一种电磁干扰控制方法,应用于电子设备,所述电子设备包括显示屏、调制解调器modem,所述方法包括:In a first aspect, an embodiment of the present application provides an electromagnetic interference control method, which is applied to an electronic device. The electronic device includes a display screen and a modem. The method includes:
在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率;When the electronic device is in the video mode, if the display screen is in the bright state, obtain the target working frequency of the modem;
获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率;Obtain the first MIPI working frequency of the display industry mobile processor interface MIPI;
根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰;Determine whether the target operating frequency is interfered according to the first MIPI operating frequency;
若是,获取所述视频的目标视频帧率;If so, obtain the target video frame rate of the video;
确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰;Determining a second MIPI operating frequency corresponding to the target video frame rate, the interference of the second MIPI operating frequency on the target operating frequency is less than the interference of the first MIPI operating frequency on the target operating frequency;
将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。Adjusting the MIPI operating frequency of the display screen to the second MIPI operating frequency.
第二方面,本申请实施例提供了一种电磁干扰控制装置,应用于电子设备,所述电子设备包括显示屏、调制解调器modem,所述电磁干扰控制装置包括:In a second aspect, an embodiment of the present application provides an electromagnetic interference control device, which is applied to an electronic device. The electronic device includes a display screen and a modem. The electromagnetic interference control device includes:
获取单元,用于在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率;以及获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率;An obtaining unit, configured to obtain a target operating frequency of the modem when the display device is in a bright screen state when the electronic device is in a video mode; and obtain a first MIPI operating frequency of the display industry mobile processor interface MIPI ;
确定单元,用于根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰;A determining unit, configured to determine whether the target operating frequency is interfered according to the first MIPI operating frequency;
所述获取单元,还用于在确定所述目标工作频率受到干扰时,获取所述视频的目标视频帧率;The acquiring unit is further configured to acquire a target video frame rate of the video when it is determined that the target operating frequency is disturbed;
所述确定单元,还用于确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰;The determining unit is further configured to determine a second MIPI operating frequency corresponding to the target video frame rate, and the interference of the second MIPI operating frequency on the target operating frequency is less than that of the first MIPI operating frequency. Describe the interference caused by the target operating frequency;
调整单元,用于将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。The adjusting unit is configured to adjust the MIPI operating frequency of the display screen to the second MIPI operating frequency.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口,以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。In a third aspect, an embodiment of the present application provides 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 by the above The processor executes, and the above program includes instructions for performing the steps in the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。According to 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 the computer to execute the first embodiment of the present application. Part or all of the steps described in one aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。According to 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 the computer program, and the computer program is operable to cause the computer to execute as implemented in the present application Examples of some or all of the steps described in the first aspect. The computer program product may be a software installation package.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of 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, without paying any creative work, other drawings can be obtained based on these drawings.
图1A是本申请实施例提供的一种电子设备的结构示意图;1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图1B是本申请实施例公开的一种电磁干扰控制方法的流程示意图;1B is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application;
图2是本申请实施例公开的另一种电磁干扰控制方法的流程示意图;2 is a schematic flowchart of another electromagnetic interference control method disclosed in an embodiment of the present application;
图3是本申请实施例公开的另一种电磁干扰控制方法的流程示意图;3 is a schematic flowchart of another electromagnetic interference control method disclosed in an embodiment of the present application;
图4是本申请实施例公开的另一种电子设备的结构示意图;4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种电磁干扰控制装置的结构示意图。5 is a schematic structural diagram of an electromagnetic interference control device disclosed in an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of this application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms “first” and “second” in the description and claims of the present application and the above drawings are used to distinguish different objects, not to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally also includes Other steps or units inherent to these processes, methods, products, or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to "embodiments" means that specific features, structures, or characteristics described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art understand explicitly and implicitly that the embodiments described herein can be combined with other embodiments.
本申请实施例所涉及到的电子设备可以包括各种具有无线通信功能的手持设备、车载设备、无线耳机、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)等等,电子设备例如可以为智能手机、平板电脑、耳机盒等等。为方便描述,上面提到的设备统称为电子设备。The electronic devices involved in the embodiments of the present application may include various handheld devices with wireless communication functions, in-vehicle devices, wireless headsets, computing devices, or other processing devices connected to a wireless modem, and various forms of user equipment (user equipment) , UE), mobile station (mobile station, MS), terminal device (terminal device), etc. The electronic device may be, for example, a smart phone, tablet computer, earphone box, etc. For convenience of description, the devices mentioned above are collectively referred to as electronic devices.
请参阅图1A,图1A是本申请实施例提供的一种电子设备的结构示意图,电子设备包 括控制电路和输入-输出电路,输入输出电路与控制电路连接。Please refer to FIG. 1A. FIG. 1A is a schematic structural diagram of an electronic device provided by an embodiment of the present application. The electronic device includes a control circuit and an input-output circuit, and the input and output circuit is connected to the control circuit.
其中,控制电路可以包括存储和处理电路。该存储和处理电路中的存储电路可以是存储器,例如硬盘驱动存储器,非易失性存储器(例如闪存或用于形成固态驱动器的其它电子可编程只读存储器等),易失性存储器(例如静态或动态随机存取存储器等)等,本申请实施例不作限制。存储和处理电路中的处理电路可以用于控制电子设备的运转。该处理电路可以基于一个或多个微处理器,微控制器,数字信号处理器,基带处理器,功率管理单元,音频编解码器芯片,专用集成电路,显示驱动器集成电路等来实现。Among them, the control circuit may include a storage and processing circuit. The storage circuit in the storage and processing circuit may be a memory, such as a hard disk drive memory, a non-volatile memory (such as flash memory or other electronically programmable read-only memory used to form a solid-state drive, etc.), a volatile memory (such as static Or dynamic random access memory, etc.), the embodiments of the present application are not limited. The processing circuit in the storage and processing circuit can be used to control the operation of the electronic device. The processing circuit may be implemented based on one or more microprocessors, microcontrollers, digital signal processors, baseband processors, power management units, audio codec chips, application specific integrated circuits, display driver integrated circuits, and the like.
存储和处理电路可用于运行电子设备中的软件,例如播放来电提示响铃应用程序、播放短消息提示响铃应用程序、播放闹钟提示响铃应用程序、播放媒体文件应用程序、互联网协议语音(voice over internet protocol,VOIP)电话呼叫应用程序、操作系统功能等。这些软件可以用于执行一些控制操作,例如,播放来电提示响铃、播放短消息提示响铃、播放闹钟提示响铃、播放媒体文件、进行语音电话呼叫以及电子设备中的其它功能等,本申请实施例不作限制。Storage and processing circuits can be used to run software in electronic devices, such as playing incoming call alert ringing applications, playing short message alert ringing applications, playing alarm alert ringing applications, playing media file applications, voice over internet protocol (voice over internet protocol (VOIP) phone call application, operating system functions, etc. These software can be used to perform some control operations, for example, play incoming call alert ringing, play short message alert ringing, play alarm alert ringing, play media files, make voice phone calls, and other functions in electronic devices, etc., this application The embodiment is not limited.
其中,输入-输出电路可用于使电子设备实现数据的输入和输出,即允许电子设备从外部设备接收数据和允许电子设备将数据从电子设备输出至外部设备。Among them, the input-output circuit can be used to enable the electronic device to input and output data, that is, to allow the electronic device to receive data from the external device and to allow the electronic device to output data from the electronic device to the external device.
输入-输出电路可以进一步包括传感器。传感器可以包括环境光传感器,基于光和电容的红外接近传感器,超声波传感器,触摸传感器(例如,基于光触摸传感器和/或电容式触摸传感器,其中,触摸传感器可以是触控显示屏的一部分,也可以作为一个触摸传感器结构独立使用),加速度传感器,重力传感器,和其它传感器等。输入-输出电路还可以进一步包括音频组件,音频组件可以用于为电子设备提供音频输入和输出功能。音频组件还可以包括音调发生器以及其它用于产生和检测声音的组件。The input-output circuit may further include a sensor. The sensor may include an ambient light sensor, an infrared proximity sensor based on light and capacitance, an ultrasonic sensor, a touch sensor (for example, a light-based touch sensor and / or a capacitive touch sensor, where the touch sensor may be part of a touch display screen, or Can be used independently as a touch sensor structure), acceleration sensor, gravity sensor, and other sensors. The input-output circuit may further include an audio component, and the audio component may be used to provide audio input and output functions for the electronic device. Audio components may also include tone generators and other components for generating and detecting sound.
输入-输出电路还可以包括一个或多个显示屏。显示屏可以包括液晶显示屏,有机发光二极管显示屏,电子墨水显示屏,等离子显示屏,使用其它显示技术的显示屏中一种或者几种的组合。显示屏可以包括触摸传感器阵列(即,显示屏可以是触控显示屏)。触摸传感器可以是由透明的触摸传感器电极(例如氧化铟锡(ITO)电极)阵列形成的电容式触摸传感器,或者可以是使用其它触摸技术形成的触摸传感器,例如音波触控,压敏触摸,电阻触摸,光学触摸等,本申请实施例不作限制。The input-output circuit may also include one or more display screens. The display screen may include a liquid crystal display screen, an organic light-emitting diode display screen, an electronic ink display screen, a plasma display screen, and one or a combination of several display screens using other display technologies. The display screen may include a touch sensor array (ie, the display screen may be a touch display screen). The touch sensor may be a capacitive touch sensor formed by an array of transparent touch sensor electrodes (such as indium tin oxide (ITO) electrodes), or may be a touch sensor formed using other touch technologies, such as sonic touch, pressure sensitive touch, resistance Touch, optical touch, etc. are not limited in the embodiments of the present application.
输入-输出电路还可以进一步包括通信电路可以用于为电子设备提供与外部设备通信的能力。通信电路可以包括模拟和数字输入-输出接口电路,和基于射频信号和/或光信号的无线通信电路。通信电路中的无线通信电路可以包括射频收发器电路、功率放大器电路、低噪声放大器、开关、滤波器和天线。举例来说,通信电路中的无线通信电路可以包括用于通过发射和接收近场耦合电磁信号来支持近场通信(near field communication,NFC)的电路。例如,通信电路可以包括近场通信天线和近场通信收发器。通信电路还可以包括蜂窝电话收发器和天线,无线局域网收发器电路和天线等。The input-output circuit may further include a communication circuit that can be used to provide an electronic device with the ability to communicate with an external device. The communication circuit may include analog and digital input-output interface circuits, and wireless communication circuits based on radio frequency signals and / or optical signals. The wireless communication circuit in the communication circuit may include a radio frequency transceiver circuit, a power amplifier circuit, a low noise amplifier, a switch, a filter, and an antenna. For example, the wireless communication circuit in the communication circuit may include a circuit for supporting near field communication (NFC) by transmitting and receiving near-field coupled electromagnetic signals. For example, the communication circuit may include a near field communication antenna and a near field communication transceiver. The communication circuit may also include a cellular phone transceiver and antenna, a wireless local area network transceiver circuit and antenna, and so on.
输入-输出电路还可以进一步包括其它输入-输出单元。输入-输出单元可以包括按钮,操纵杆,点击轮,滚动轮,触摸板,小键盘,键盘,照相机,发光二极管和其它状态指示器等。The input-output circuit may further include other input-output units. The input-output unit may include buttons, joysticks, click wheels, scroll wheels, touch pad, keypad, keyboard, camera, light emitting diodes, and other status indicators.
其中,电子设备还可以进一步包括电池(未图示),电池用于给电子设备提供电能。Among them, the electronic device may further include a battery (not shown), the battery is used to provide electrical energy to the electronic device.
下面对本申请实施例进行详细介绍。The following describes the embodiments of the present application in detail.
请参阅图1B,图1B是本申请实施例公开的一种电磁干扰控制方法的流程示意图,应用于上述图1A所描述的电子设备,所述电子设备包括显示屏和调制解调器modem,该电磁干扰控制方法包括如下步骤:Please refer to FIG. 1B. FIG. 1B is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application. The method is applied to the electronic device described in FIG. 1A. The electronic device includes a display screen and a modem. The method includes the following steps:
101、在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的 目标工作频率。101. When the electronic device is in a video mode, if the display screen is in a bright screen state, acquire a target operating frequency of the modem.
其中,上述视频模式包括电子设备处于视频直播的模式或者电子设备处于视频通话的模式,视频通话的模式包括电子设备通过第三方应用进行视频通话的模式,或者电子设备基于长期演进语音业务(Voice over Long Term Evolution,VOLTE)的视频通话模式,本申请实施例中,在电子设备处于视频模式时,显示屏的显示画面的帧率和清晰度要求较高,显示屏传输数据的实时性要求高,可通过modem检测目标工作频率,并将该目标工作频率发送至电子设备中的应用处理器(application processor,AP)。Among them, the above video mode includes the electronic device in a live video mode or the electronic device in a video call mode. The video call mode includes a mode in which the electronic device makes a video call through a third-party application, or the electronic device is based on a long-term evolution voice service Long term (Evolution, VOLTE) video call mode. In the embodiment of the present application, when the electronic device is in the video mode, the frame rate and resolution of the display screen of the display screen are high, and the real-time requirement of the transmission data of the display screen is high. The target operating frequency can be detected through the modem and sent to the application processor (AP) in the electronic device.
可选地,上述步骤101中,获取所述modem的目标工作频率,可包括以下步骤:Optionally, in step 101 above, obtaining the target operating frequency of the modem may include the following steps:
11、获取所述电子设备的移动速度;11. Obtain the moving speed of the electronic device;
12、若所述移动速度满足预设速度范围,根据所述移动速度确定目标时间周期,以所述目标时间周期接收所述modem上报的所述目标工作频率。12. If the moving speed meets the preset speed range, determine a target time period according to the moving speed, and receive the target operating frequency reported by the modem in the target time period.
本申请实施例中,考虑到在电子设备处于视频模式中,显示屏的帧率和清晰度要求较高,网络实时性要求高,电子设备的功耗较高,modem若持续高频向AP上报目标工作频率,会增大AP的数据处理压力,提高功耗,因此,可通过电子设备的速度检测装置,例如速度传感器检测电子设备的移动速度,若移动速度属于处于预设的速度范围,可根据预设的速度与时间周期之间的映射关系确定移动速度对应的目标时间周期,并控制modem根据目标时间周期向AP上报目标工作频率,具体地,当第一移动速度大于第二移动速度,第一移动速度对应的第一时间周期小于第二移动速度对应的第二时间周期,从而,可根据在电子设备处于不同移动速度下,灵活调整modem上报目标工作频率的时间周期,节省电子设备的功耗。In the embodiments of the present application, it is considered that when the electronic device is in the video mode, the display frame rate and resolution requirements are high, the network real-time requirement is high, and the power consumption of the electronic device is high. If the modem continues to report to the AP at high frequency The target operating frequency will increase the data processing pressure of the AP and increase power consumption. Therefore, the speed detection device of the electronic device, such as a speed sensor, can be used to detect the moving speed of the electronic device. If the moving speed belongs to the preset speed range, Determine the target time period corresponding to the moving speed according to the mapping relationship between the preset speed and the time period, and control the modem to report the target operating frequency to the AP according to the target time period, specifically, when the first moving speed is greater than the second moving speed, The first time period corresponding to the first moving speed is less than the second time period corresponding to the second moving speed, so that the time period for the modem to report the target operating frequency can be flexibly adjusted according to the different moving speeds of the electronic device, saving the electronic device Power consumption.
可选地,在电子设备处于熄屏状态下时,可停止modem上报目标工作频率的操作,从而,可降低电子设备的功耗。Optionally, when the electronic device is in a screen-off state, the operation of the modem to report the target operating frequency may be stopped, thereby reducing the power consumption of the electronic device.
102、获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率。102. Obtain the first MIPI working frequency of the processor interface MIPI of the display screen mobile industry.
本申请实施例中,应用处理器AP可依据目标工作频率的时间周期获取显示屏MIPI总线的第一MIPI工作频率,当目标工作频率的检测周期从第一时间周期调整至第二时间周期后,获取第一MIPI工作频率的时间周期也可随之进行调整。In the embodiment of the present application, the application processor AP may obtain the first MIPI working frequency of the display MIPI bus according to the time period of the target working frequency, and when the detection period of the target working frequency is adjusted from the first time period to the second time period, The time period for obtaining the first MIPI operating frequency can also be adjusted accordingly.
103、根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰。103. Determine whether the target operating frequency is interfered according to the first MIPI operating frequency.
本申请实施例中,应用处理器AP在接收到modem的目标工作频率,以及获取第一MIPI工作频率后,可根据目标工作频率和第一MIPI工作频率确定目标工作频率是否受到第一MIPI工作频率的干扰。In the embodiment of the present application, after receiving the target operating frequency of the modem and acquiring the first MIPI operating frequency, the application processor AP may determine whether the target operating frequency is affected by the first MIPI operating frequency according to the target operating frequency and the first MIPI operating frequency Interference.
可选地,上述步骤103中,根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰,可包括如下步骤:Optionally, in step 103 above, determining whether the target operating frequency is interfered according to the first MIPI operating frequency may include the following steps:
31、根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定与所述第一MIPI工作频率对应的目标干扰频率列表,所述目标干扰频率列表包含与所述第一MIPI工作频率对应的多个第一干扰频率;31. Determine a target interference frequency list corresponding to the first MIPI operating frequency according to a preset correspondence between the MIPI operating frequency and the interference frequency list, the target interference frequency list including the first MIPI operating frequency Corresponding multiple first interference frequencies;
32、将所述目标工作频率与所述目标干扰频率列表中的所述多个第一干扰频率依次进行匹配,若所述目标工作频率与所述多个第一干扰频率中任一第一干扰频率匹配成功,确定所述目标工作频率受到干扰。32. Match the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency and any first interference among the plurality of first interference frequencies The frequency matching is successful, and it is determined that the target operating frequency is interfered.
其中,电子设备中可预先获取显示屏MIPI在多个MIPI工作频率下的多个干扰频率列表,每一MIPI工作频率对应一个干扰频率列表,每一干扰频率列表包括多个干扰频率,然后设置MIPI工作频率与干扰频率列表之间的对应关系,从而,在获取第一MIPI工作频率之后,可确定与第一MIPI工作频率对应的第一干扰频率列表,第一干扰频率列表包含与第一MIPI工作频率对应的多个第一干扰频率,表明第一MIPI工作频率会对多个第一干扰频 率中任一第一干扰频率产生干扰,其中,多个第一干扰频率中每一第一干扰频率是指modem在通信中会受到干扰的工作频率。Among them, the electronic device can obtain multiple interference frequency lists of the display screen MIPI under multiple MIPI operating frequencies in advance, each MIPI operating frequency corresponds to an interference frequency list, and each interference frequency list includes multiple interference frequencies, and then set the MIPI Correspondence between the operating frequency and the interference frequency list, so that after acquiring the first MIPI operating frequency, a first interference frequency list corresponding to the first MIPI operating frequency can be determined, the first interference frequency list includes working with the first MIPI The multiple first interference frequencies corresponding to the frequency indicate that the first MIPI operating frequency will interfere with any first interference frequency among the multiple first interference frequencies, where each first interference frequency among the multiple first interference frequencies is Refers to the operating frequency at which the modem will be disturbed during communication.
其中,可将modem的目标工作频率与目标干扰频率列表中的多个第一干扰频率依次进行匹配,若多个第一干扰频率中存在与目标工作频率相等的第一干扰频率,则匹配成功,即modem的目标工作频率落入目标干扰频率列表的范围中,则确定目标工作频率受到第一MIPI工作频率的干扰。Among them, the target operating frequency of the modem may be sequentially matched with multiple first interference frequencies in the target interference frequency list, and if there is a first interference frequency equal to the target operating frequency among the multiple first interference frequencies, the matching is successful, That is, the target operating frequency of the modem falls within the range of the target interference frequency list, and it is determined that the target operating frequency is interfered by the first MIPI operating frequency.
104、若是,获取所述视频的目标视频帧率。104. If yes, obtain the target video frame rate of the video.
其中,目标视频帧率是当前电子设备的摄像头获取的视频待显示的视频帧率,本申请实施例中,若确定modem的目标工作频率受到干扰,可获取视频的目标视频帧率。The target video frame rate is the video frame rate of the video to be displayed obtained by the camera of the current electronic device. In the embodiment of the present application, if it is determined that the target working frequency of the modem is interfered, the target video frame rate of the video may be obtained.
105、确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰。105. Determine a second MIPI operating frequency corresponding to the target video frame rate, the interference of the second MIPI operating frequency on the target operating frequency is less than that of the first MIPI operating frequency on the target operating frequency interference.
考虑到不同的视频帧率对MIPI工作频率的要求不一样,因此,可确定当前目标视频帧率对应的第二MIPI工作频率,从而,显示屏MIPI工作在第二MIPI工作频率,可保证视频以目标视频帧率进行正常显示,并使第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰,减小对modem的工作干扰。Considering that different video frame rates have different requirements on the MIPI operating frequency, the second MIPI operating frequency corresponding to the current target video frame rate can be determined, so that the display MIPI works at the second MIPI operating frequency, which can guarantee the video The target video frame rate is displayed normally, and the interference caused by the second MIPI operating frequency to the target operating frequency is smaller than the interference caused by the first MIPI operating frequency to the target operating frequency, thereby reducing the operating interference to the modem.
可选地,上述步骤105中,确定与所述目标视频帧率对应的第二MIPI工作频率,可包括如下步骤:Optionally, in step 105 above, determining the second MIPI operating frequency corresponding to the target video frame rate may include the following steps:
51、确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;51. Determine a target MIPI working frequency range list corresponding to the target video frame rate, where the target MIPI working frequency range list includes multiple MIPI working frequencies;
52、确定所述多个MIPI工作频率中每一MIPI工作频率对所述目标工作频率的干扰强度值,得到多个干扰强度值;52. Determine the interference intensity value of each MIPI operating frequency of the multiple MIPI operating frequencies to the target operating frequency to obtain multiple interference intensity values;
53、确定所述多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率。53. Determine a second MIPI operating frequency corresponding to an interference intensity value less than a preset threshold among the multiple interference intensity values.
其中,确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,则显示屏MIPI可在目标MIPI工作频率范围列表范围内的MIPI工作频率进行工作,从而保证当前视频在目标视频帧率下进行稳定显示。Wherein, if the target MIPI working frequency range list corresponding to the target video frame rate is determined, the display screen MIPI can work at the MIPI working frequency within the target MIPI working frequency range list range, thereby ensuring that the current video is under the target video frame rate Stable display.
本申请实施例中,在确定目标视频帧率对应的目标MIPI工作频率范围列表后,由于目标MIPI工作频率范围列表中包含多个MIPI工作频率,可进一步确定对modem的目标工作频率的干扰强度值中小于预设阈值的第二MIPI工作频率,从而,可减小显示屏MIPI工作频率对modem的目标工作频率产生的干扰,获得较佳的通信性能。In the embodiment of the present application, after determining the target MIPI operating frequency range list corresponding to the target video frame rate, since the target MIPI operating frequency range list includes multiple MIPI operating frequencies, the interference intensity value for the modem's target operating frequency can be further determined The second MIPI operating frequency is less than the preset threshold, so that the interference of the MIPI operating frequency of the display screen on the target operating frequency of the modem can be reduced, and better communication performance can be obtained.
可选地,上述步骤51中,确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,可包括如下步骤:Optionally, in the above step 51, determining the target MIPI working frequency range list corresponding to the target video frame rate may include the following steps:
根据预设的视频帧率与MIPI工作频率范围列表之间的对应关系,确定与所述目标视频帧率对应的目标MIPI工作频率范围列表。The target MIPI working frequency range list corresponding to the target video frame rate is determined according to the correspondence between the preset video frame rate and the MIPI working frequency range list.
其中,电子设备中可预先获取多个视频帧率下的多个MIPI工作频率范围列表,每一游戏帧率对应一个MIPI工作频率范围列表,然后设置视频帧率与MIPI工作频率范围列表之间的对应关系,从而,在获取视频的目标视频帧率之后,可确定与目标视频帧率对应的目标MIPI工作频率范围列表,目标MIPI工作频率范围列表包含与目标视频帧率对应的多个MIPI工作频率,如此,显示屏MIPI以多个MIPI工作频率中任一MIPI工作频率进行工作,可使视频在目标视频帧率下进行稳定显示。Among them, the electronic device can obtain in advance multiple MIPI operating frequency range lists at multiple video frame rates, each game frame rate corresponds to a MIPI operating frequency range list, and then set the video frame rate between the MIPI operating frequency range list Correspondence relationship, thus, after acquiring the target video frame rate of the video, a list of target MIPI operating frequency ranges corresponding to the target video frame rate can be determined, and the target MIPI operating frequency range list includes multiple MIPI operating frequencies corresponding to the target video frame rate In this way, the display screen MIPI operates at any MIPI operating frequency among multiple MIPI operating frequencies, which enables the video to be displayed stably at the target video frame rate.
可选地,上述步骤105中,确定与所述目标视频帧率对应的第二MIPI工作频率,可 包括如下步骤:Optionally, in step 105 above, determining the second MIPI operating frequency corresponding to the target video frame rate may include the following steps:
54、确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;54. Determine a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
55、根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定所述多个MIPI工作频率中每一MIPI工作频率对应的参考干扰频率列表,得到多个参考干扰频率列表;55. Determine a reference interference frequency list corresponding to each MIPI working frequency of the plurality of MIPI working frequencies according to a preset correspondence relationship between the MIPI working frequency and the interference frequency list, and obtain multiple reference interference frequency lists;
56、将所述目标工作频率与所述多个参考干扰频率列表中每一参考干扰频率列表中的多个干扰频率进行匹配,得到第二干扰频率列表对应的匹配结果;56. Match the target operating frequency with multiple interference frequencies in each reference interference frequency list in the multiple reference interference frequency lists to obtain a matching result corresponding to the second interference frequency list;
57、若所述匹配结果为所述第二干扰频率列表中的所有干扰频率与所述目标工作频率均匹配失败,根据所述MIPI工作频率与干扰频率列表之间的对应关系确定与所述第二干扰频率列表对应的第二MIPI工作频率。57. If the matching result is that all the interference frequencies in the second interference frequency list and the target operating frequency have failed to match, determine according to the correspondence between the MIPI operating frequency and the interference frequency list. The second MIPI operating frequency corresponding to the second interference frequency list.
其中,可根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定上述多个MIPI工作频率中每一MIPI工作频率对应的参考干扰频率列表,得到多个参考干扰频率列表,针对每一MIPI工作频率及其对应的参考干扰频率列表,可将目标工作频率与参考干扰频率列表中的多个干扰频率依次进行匹配,若该参考干扰频率列表中的多个干扰频率中存在与目标工作频率相等的干扰频率,则匹配成功,进而,可确定目标工作频率落入该参考干扰频率列表范围内,从而,可确定多个参考干扰频率列表中,目标工作频率未落入该参考干扰频率列表范围的第二干扰频率列表,即目标工作频率与第二干扰频率列表中的所有干扰频率与均匹配失败,从而,可确定第二干扰频率列表对应的第二MIPI工作频率即为对modem的目标工作频率干扰较小的MIPI工作频率。Among them, the reference interference frequency list corresponding to each MIPI operating frequency in the above multiple MIPI operating frequencies can be determined according to the correspondence between the preset MIPI operating frequency and the interference frequency list to obtain multiple reference interference frequency lists. A MIPI operating frequency and its corresponding reference interference frequency list, which can match the target operating frequency with multiple interference frequencies in the reference interference frequency list in turn, if there are multiple interference frequencies in the reference interference frequency list that work with the target If the interference frequencies are equal, the match is successful. Furthermore, it can be determined that the target operating frequency falls within the range of the reference interference frequency list, so that multiple reference interference frequency lists can be determined, and the target operating frequency does not fall within the reference interference frequency list. The second interference frequency list in the range, that is, the target operating frequency and all interference frequencies in the second interference frequency list fail to match. Therefore, it can be determined that the second MIPI operating frequency corresponding to the second interference frequency list is the target of the modem The working frequency interferes with the MIPI working frequency with less interference.
106、将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。106. Adjust the MIPI operating frequency of the display screen to the second MIPI operating frequency.
本申请实施例中,在确定第二MIPI工作频率后,可将显示屏MIPI的MIPI工作频率从第一MIPI工作频率调整至第二MIPI工作频率,如此,可消除或者降低示屏MIPI对modem通信的电磁干扰,获得最佳的通信性能。In the embodiment of the present application, after determining the second MIPI operating frequency, the MIPI operating frequency of the display screen MIPI can be adjusted from the first MIPI operating frequency to the second MIPI operating frequency, so that the display MIPI to modem communication can be eliminated or reduced Electromagnetic interference to obtain the best communication performance.
进一步地,在对显示屏的MIPI工作频率进行调整的过程中,还可对显示屏的显示参数进行调整,以保证显示屏稳定工作。Further, in the process of adjusting the MIPI working frequency of the display screen, the display parameters of the display screen can also be adjusted to ensure the stable operation of the display screen.
可选地,本申请实施例中,将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率时,还可包括以下步骤:Optionally, in the embodiment of the present application, when the MIPI working frequency of the display screen is adjusted to the second MIPI working frequency, the following steps may be further included:
A1、在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值;A1, when the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter of the display screen according to the preset frame rate calculation formula and the second MIPI operating frequency value;
A2、根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。A2. Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal trailing edge HBP, horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
其中,所述预设帧率计算公式为如下公式:Wherein, the preset frame rate calculation formula is the following formula:
FPS=CLK_rate*2*lane_num/((height+VBP+VSA+VFP)*(weight+HBP+HFP+HSA)*bits_perpixel)FPS = CLK_rate * 2 * lane_num / ((height + VBP + VSA + VFP) * (weight + HBP + HFP + HSA) * bits_perpixel)
其中,FPS表示显示屏的帧率,CLK_rate表示MIPI频率,lane_num表示通道数,height和weight表示显示屏的物理尺寸,VBP(vertical back porch)表示在一帧图像开始时,垂直同步信号以后的无效的行数,VFB(vertical front porch)表示在一帧图像结束后,垂直同步信号以前的无效的行数,VSA(vertical sync active)表示垂直同步信号的宽度,HBP(horizontal back porch)表示从水平同步信号开始到一行的有效数据开始之间的时钟的个数,HFP(horizontal front porth)表示一行的有效数据结束到下一个水平同步信号开始之间的时钟的个数,HSA(horizontal sync active):表示水平同步信号的宽度,bits_perpixel表示RGB显示数据宽 度。Among them, FPS indicates the frame rate of the display screen, CLK_rate indicates the MIPI frequency, lane_num indicates the number of channels, height and weight indicate the physical size of the display screen, VBP (vertical backporch) indicates that the vertical sync signal is invalid after the start of a frame of image The number of lines, VFB (vertical front porch) indicates the number of invalid lines before the vertical sync signal after the end of a frame, VSA (vertical sync) indicates the width of the vertical sync signal, and HBP (horizontal backporch) indicates the horizontal line. The number of clocks from the start of the synchronization signal to the start of the effective data of a line, HFP (horizontal frontporth) represents the number of clocks from the end of the effective data of a line to the start of the next horizontal synchronization signal, HSA (horizontal syncactive) : Indicates the width of the horizontal synchronization signal, bits_perpixel indicates the width of RGB display data.
其中,所述第一预设阈值可以是经验值,用于保证显示屏在频率切换前后内容显示的稳定性,如可以是显示屏芯片最大允许误差范围1%。Wherein, the first preset threshold may be an empirical value, which is used to ensure the stability of the content display of the display screen before and after the frequency switching, such as the maximum allowable error range of the display chip of 1%.
可见,本申请实施例中,电子设备在跳频切换后,会使得电子设备的显示屏的一些参数发生改变,帧率是保证显示屏跳频切换后的显示稳定性的一个重要参数指标,故而电子设备可以基于帧率公式,预先确定该跳频过程中需要同步调整的屏幕参数的参考屏幕参数值,电子设备可先将屏幕参数调整至参考屏幕参数值,并在参考屏幕参数值的基础上进一步动态调整屏幕参数,最终达到目标屏幕参数值,从而提高显示屏显示稳定性。It can be seen that in the embodiment of the present application, after the frequency hopping is switched on by the electronic device, some parameters of the display screen of the electronic device will be changed, and the frame rate is an important parameter index to ensure the stability of the display after the frequency hopping switching of the display screen. The electronic device can pre-determine the reference screen parameter value of the screen parameter that needs to be synchronously adjusted during the frequency hopping process based on the frame rate formula. The electronic device can first adjust the screen parameter to the reference screen parameter value, and based on the reference screen parameter value Further dynamically adjust the screen parameters to finally reach the target screen parameter value, thereby improving the display stability of the display.
可选地,上述步骤A2中,所述屏幕参数包括水平屏幕参数,所述水平屏幕参数包括以下至少一种:所述HBP、所述HFP和所述HAS;其中,根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,可包括以下步骤:Optionally, in the above step A2, the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS; wherein, according to the reference screen parameter value Dynamically adjusting the screen parameters of the display screen to obtain the target screen parameter values may include the following steps:
根据所述参考屏幕参数值动态调整所述显示屏的水平屏幕参数,使所述显示屏的行扫描时长在MIPI频率切换之后的变化量小于第二预设阈值。The horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
其中,若屏幕参数为水平屏幕参数,电子设备可先将水平屏幕参数调整至参考屏幕参数值,并在参考屏幕参数值的基础上进一步动态调整屏幕参数,使所述显示屏的行扫描时长在MIPI频率切换之后的变化量小于第二预设阈值,从而,可提高显示屏显示稳定性。Wherein, if the screen parameter is a horizontal screen parameter, the electronic device may first adjust the horizontal screen parameter to the reference screen parameter value, and further dynamically adjust the screen parameter based on the reference screen parameter value, so that the line scan duration of the display screen is at The amount of change after MIPI frequency switching is less than the second preset threshold, thereby improving the display stability of the display.
举例说明,在显示屏MIPI主频率为514.5MHz时测量到行扫描时间为7.18us,MIPI频率切换到辅助频率529MHz时,根据屏幕参数的参考值进行微调,并同步测量行扫描时间,确定行扫描时间为7.18us状态下的微调后的屏幕参数的值为目标值。这主要是由于上述预设帧率计算公式仅为理论计算公式,实际上由于器件的物理差异性,此参考值的准确度并不是很高,而MIPI传输频率和屏幕参数的数值实际又相差较大(MHz和几十、几百的差异),同时显示屏水平屏幕参数对显示稳定性影响较大,故而考虑基于实际检测结果来修正水平屏幕参数的值,以此提高稳定性。For example, when the MIPI main frequency of the display is 514.5MHz, the line scan time is 7.18us, and when the MIPI frequency is switched to the auxiliary frequency of 529MHz, fine-tuning is performed according to the reference value of the screen parameter, and the line scan time is measured simultaneously to determine the line scan. The value of the screen parameter after the fine-tuning under the time of 7.18us is the target value. This is mainly because the above preset frame rate calculation formula is only a theoretical calculation formula. In fact, due to the physical difference of the device, the accuracy of this reference value is not very high, and the actual MIPI transmission frequency and the value of the screen parameter are different. Large (the difference between MHz and tens and hundreds), and the horizontal screen parameters of the display screen have a greater impact on the display stability, so consider modifying the value of the horizontal screen parameters based on the actual detection results to improve stability.
此外,所述屏幕参数若仅包括垂直屏幕参数,所述垂直屏幕参数包括以下至少一种:所述VBP、所述VFP和所述VAS,则所述目标屏幕参数值可以等于所述参考屏幕参数值,即调整垂直方向的porch值对行扫描时长没有影响。In addition, if the screen parameters include only vertical screen parameters, and the vertical screen parameters include at least one of the following: the VBP, the VFP, and the VAS, the target screen parameter value may be equal to the reference screen parameter The value, that is, adjusting the porch value in the vertical direction has no effect on the line scan duration.
可见,本申请实施例中,在屏幕参数包括水平屏幕参数的情况下,电子设备能够根据行扫描时长约束条件结合实际检测结果对参考屏幕参数值进行修正,从而提高跳频后显示屏稳定性。It can be seen that in the embodiment of the present application, in the case where the screen parameters include the horizontal screen parameters, the electronic device can modify the reference screen parameter value according to the constraint condition of the line scan duration and the actual detection result, thereby improving the stability of the display screen after frequency hopping.
可以看出,本申请实施例中所描述的电磁干扰控制方法,通过在电子设备处于视频模式时,若显示屏处于亮屏状态,获取modem的目标工作频率,获取显示屏MIPI的第一MIPI工作频率,根据第一MIPI工作频率确定目标工作频率是否受到干扰,若是,确定视频的目标视频帧率,确定与目标视频帧率对应的第二MIPI工作频率,将显示屏的MIPI工作频率调整至所述第二MIPI工作频率,如此,可在不改动电子设备硬件设计的情况下,在电子设备处于视频模式时下动态调整显示屏MIPI工作频率,从而消除或者降低其对modem通信的电磁干扰,获得最佳的通信性能。It can be seen that the electromagnetic interference control method described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operation of the MIPI of the display screen when the electronic device is in the video mode and the display screen is bright. Frequency, determine whether the target operating frequency is disturbed according to the first MIPI operating frequency, if so, determine the target video frame rate of the video, determine the second MIPI operating frequency corresponding to the target video frame rate, and adjust the MIPI operating frequency of the display to all The second MIPI operating frequency is described. In this way, the MIPI operating frequency of the display screen can be dynamically adjusted when the electronic device is in the video mode without changing the hardware design of the electronic device, thereby eliminating or reducing its electromagnetic interference to modem communication, and obtaining the most Good communication performance.
与上述一致地,图2是本申请实施例公开的一种电磁干扰控制方法的流程示意图。应用于如图1A所示的电子设备,所述电子设备包括显示屏和调制解调器modem,该电磁干扰控制方法包括如下步骤:Consistent with the above, FIG. 2 is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application. Applied to the electronic device shown in FIG. 1A, the electronic device includes a display screen and a modem. The electromagnetic interference control method includes the following steps:
201、在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率。201. When the electronic device is in a video mode, if the display screen is in a bright screen state, obtain a target operating frequency of the modem.
202、获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率。202. Obtain the first MIPI working frequency of the processor interface MIPI of the display screen mobile industry.
203、根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰。203. Determine whether the target operating frequency is interfered according to the first MIPI operating frequency.
204、若是,获取所述视频的目标视频帧率。204. If yes, obtain the target video frame rate of the video.
205、确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰。205. Determine a second MIPI operating frequency corresponding to the target video frame rate. The interference of the second MIPI operating frequency on the target operating frequency is less than that of the first MIPI operating frequency on the target operating frequency. interference.
206、将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。206. Adjust the MIPI working frequency of the display screen to the second MIPI working frequency.
207、在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值。207. When the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter of the display screen according to the preset frame rate calculation formula and the second MIPI operating frequency value.
208、根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。208. Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal trailing edge HBP, horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
其中,上述步骤201-步骤208的具体描述可以参照图1B所描述的电磁干扰控制方法的相应描述,在此不再赘述。For the specific description of the above steps 201 to 208, reference may be made to the corresponding description of the electromagnetic interference control method described in FIG. 1B, which will not be repeated here.
可以看出,本申请实施例中所描述的电磁干扰控制方法,通过在电子设备处于视频模式时,若显示屏处于亮屏状态,获取modem的目标工作频率,获取显示屏MIPI的第一MIPI工作频率,根据第一MIPI工作频率确定目标工作频率是否受到干扰,若是,获取视频的目标视频帧率,确定与所述目标视频帧率对应的第二MIPI工作频率,将显示屏的MIPI工作频率调整至所述第二MIPI工作频率,在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,确定显示屏的参考屏幕参数值,根据参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,如此,可在不改动电子设备硬件设计的情况下,在电子设备处于视频模式时下动态调整显示屏MIPI工作频率,从而消除或者降低其对modem通信的电磁干扰,获得最佳的通信性能,以及,提高显示屏显示稳定性。It can be seen that the electromagnetic interference control method described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operation of the MIPI of the display screen when the electronic device is in the video mode and the display screen is bright. Frequency, determine whether the target operating frequency is disturbed according to the first MIPI operating frequency, if so, obtain the target video frame rate of the video, determine the second MIPI operating frequency corresponding to the target video frame rate, and adjust the MIPI operating frequency of the display To the second MIPI working frequency, when the change of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter value of the display screen, and dynamically adjust the value according to the reference screen parameter value The screen parameters of the display screen are described to obtain the target screen parameter value. In this way, the operating frequency of the display screen MIPI can be dynamically adjusted when the electronic device is in the video mode without changing the hardware design of the electronic device, thereby eliminating or reducing its communication with the modem Electromagnetic interference, to obtain the best communication performance, and to improve the display stability of the display
与上述一致地,图3是本申请实施例公开的一种电磁干扰控制方法的流程示意图。应用于图1A所示的电子设备,所述电子设备包括显示屏和调制解调器modem,该电磁干扰控制方法包括如下步骤:Consistent with the above, FIG. 3 is a schematic flowchart of an electromagnetic interference control method disclosed in an embodiment of the present application. Applied to the electronic device shown in FIG. 1A, the electronic device includes a display screen and a modem, and the electromagnetic interference control method includes the following steps:
301、在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率。301: When the electronic device is in a video mode, if the display screen is in a bright screen state, obtain a target operating frequency of the modem.
302、获取所述显示屏MIPI的第一MIPI工作频率。302. Obtain the first MIPI working frequency of the display screen MIPI.
303、根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定与所述第一MIPI工作频率对应的目标干扰频率列表,所述目标干扰频率列表包含与所述第一MIPI工作频率对应的多个第一干扰频率。303. Determine a target interference frequency list corresponding to the first MIPI operating frequency according to a preset correspondence between the MIPI operating frequency and the interference frequency list, where the target interference frequency list includes the first MIPI operating frequency Corresponding multiple first interference frequencies.
304、将所述目标工作频率与所述目标干扰频率列表中的所述多个第一干扰频率依次进行匹配,若所述目标工作频率与所述多个第一干扰频率中任一第一干扰频率匹配成功,确定所述目标工作频率受到干扰。304. Match the target operating frequency with the multiple first interference frequencies in the target interference frequency list in sequence, if the target operating frequency and any first interference among the multiple first interference frequencies The frequency matching is successful, and it is determined that the target operating frequency is interfered.
305、获取所述视频的目标视频帧率,确定与所述视频的目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率。305. Obtain a target video frame rate of the video, and determine a target MIPI operating frequency range list corresponding to the target video frame rate of the video. The target MIPI operating frequency range list includes multiple MIPI operating frequencies.
306、确定所述多个MIPI工作频率中每一MIPI工作频率对所述目标工作频率的干扰强度值,得到多个干扰强度值。306. Determine the interference intensity value of each MIPI operating frequency of the plurality of MIPI operating frequencies to the target operating frequency to obtain multiple interference intensity values.
307、确定所述多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率。307. Determine a second MIPI operating frequency corresponding to an interference intensity value less than a preset threshold among the multiple interference intensity values.
308、将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。308. Adjust the MIPI working frequency of the display screen to the second MIPI working frequency.
309、在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值。309. When the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter of the display screen according to the preset frame rate calculation formula and the second MIPI operating frequency value.
310、根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。310. Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
其中,上述步骤301-步骤310的具体描述可以参照图1B所描述的电磁干扰控制方法的相应描述,在此不再赘述。For the specific description of the above steps 301 to 310, reference may be made to the corresponding description of the electromagnetic interference control method described in FIG. 1B, which will not be repeated here.
可以看出,本申请实施例中所描述的电磁干扰控制方法,通过在电子设备处于视频模式时,若显示屏处于亮屏状态,获取modem的目标工作频率和显示屏MIPI的第一MIPI工作频率,若第一MIPI工作频率对目标工作频率产生干扰,确定与视频的目标视频帧率对应的目标MIPI工作频率范围列表,确定多个MIPI工作频率中每一MIPI工作频率对目标工作频率的干扰强度值,得到多个干扰强度值,确定多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率,将显示屏的MIPI工作频率调整至第二MIPI工作频率,在显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据参考屏幕参数值动态调整显示屏的屏幕参数,得到目标屏幕参数值,如此,可在电子设备处于不同的用户场景下动态调整显示屏MIPI工作频率,从而消除或者降低其对modem通信的电磁干扰,获得最佳的通信性能,以及,提高显示屏显示稳定性。It can be seen that the electromagnetic interference control method described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operating frequency of the display screen MIPI when the electronic device is in the video mode and the display screen is on , If the first MIPI operating frequency interferes with the target operating frequency, determine the list of target MIPI operating frequency ranges corresponding to the target video frame rate of the video, and determine the interference intensity of each MIPI operating frequency among multiple MIPI operating frequencies to the target operating frequency Value to obtain multiple interference intensity values, determine the second MIPI operating frequency corresponding to the interference intensity value less than the preset threshold among the multiple interference intensity values, adjust the MIPI operating frequency of the display to the second MIPI operating frequency, When the change rate of the frame rate after MIPI frequency switching is less than the first preset threshold, dynamically adjust the screen parameters of the display screen according to the reference screen parameter value to obtain the target screen parameter value, so that the electronic device can be in different user scenarios Dynamically adjust the MIPI working frequency of the display screen to eliminate or reduce its electromagnetic interference to modem communication The best communication performance, and to improve the stability of the display screen.
请参阅图4,图4是本申请实施例公开的另一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口,以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行以下步骤的指令:Please refer to FIG. 4. FIG. 4 is a schematic structural diagram of another electronic device disclosed in an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more programs. One or more programs are stored in the aforementioned memory and are configured to be executed by the aforementioned processor. The aforementioned program includes instructions for performing the following steps:
在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率;When the electronic device is in the video mode, if the display screen is in the bright state, obtain the target working frequency of the modem;
获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率;Obtain the first MIPI working frequency of the display industry mobile processor interface MIPI;
根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰;Determine whether the target operating frequency is interfered according to the first MIPI operating frequency;
若是,获取所述视频的目标视频帧率;If so, obtain the target video frame rate of the video;
确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰;Determining a second MIPI operating frequency corresponding to the target video frame rate, the interference of the second MIPI operating frequency on the target operating frequency is less than the interference of the first MIPI operating frequency on the target operating frequency;
将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。Adjusting the MIPI operating frequency of the display screen to the second MIPI operating frequency.
在一个可能的示例中,在所述获取所述modem的目标工作频率方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of obtaining the target operating frequency of the modem, the above program includes instructions for performing the following steps:
获取所述电子设备的移动速度;Acquiring the moving speed of the electronic device;
若所述移动速度满足预设速度范围,根据所述移动速度确定目标时间周期,以所述目标时间周期接收所述modem上报的所述目标工作频率。If the moving speed meets a preset speed range, a target time period is determined according to the moving speed, and the target operating frequency reported by the modem is received in the target time period.
在一个可能的示例中,在所述根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining whether the target operating frequency is interfered according to the first MIPI operating frequency, the above program includes instructions for performing the following steps:
根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定与所述第一MIPI工作频率对应的目标干扰频率列表,所述目标干扰频率列表包含与所述第一MIPI工作频率对应的多个第一干扰频率;Determine a target interference frequency list corresponding to the first MIPI operating frequency according to the preset correspondence between the MIPI operating frequency and the interference frequency list, the target interference frequency list including the corresponding to the first MIPI operating frequency Multiple first interference frequencies;
将所述目标工作频率与所述目标干扰频率列表中的所述多个第一干扰频率依次进行匹配,若所述目标工作频率与所述多个第一干扰频率中任一第一干扰频率匹配成功,确定所 述目标工作频率受到干扰。Matching the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency matches any of the plurality of first interference frequencies Successfully, it is determined that the target operating frequency is interfered.
在一个可能的示例中,在所述确定与所述目标视频帧率对应的第二MIPI工作频率方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining the second MIPI operating frequency corresponding to the target video frame rate, the above program includes instructions for performing the following steps:
确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
确定所述多个MIPI工作频率中每一MIPI工作频率对所述目标工作频率的干扰强度值,得到多个干扰强度值;Determining the interference intensity value of each MIPI operating frequency of the multiple MIPI operating frequencies to the target operating frequency to obtain multiple interference intensity values;
确定所述多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率。Determining a second MIPI operating frequency corresponding to an interference intensity value less than a preset threshold among the multiple interference intensity values.
在一个可能的示例中,在所述确定与所述目标视频帧率对应的第二MIPI工作频率方面,上述程序包括用于执行以下步骤的指令:In a possible example, in terms of determining the second MIPI operating frequency corresponding to the target video frame rate, the above program includes instructions for performing the following steps:
确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定所述多个MIPI工作频率中每一MIPI工作频率对应的参考干扰频率列表,得到多个参考干扰频率列表;Determine the reference interference frequency list corresponding to each MIPI working frequency in the plurality of MIPI working frequencies according to the preset correspondence between the MIPI working frequency and the interference frequency list, and obtain multiple reference interference frequency lists;
将所述目标工作频率与所述多个参考干扰频率列表中每一参考干扰频率列表中的多个干扰频率进行匹配,得到第二干扰频率列表对应的匹配结果;Matching the target operating frequency with multiple interference frequencies in each reference interference frequency list in the multiple reference interference frequency lists to obtain a matching result corresponding to the second interference frequency list;
若所述匹配结果为所述第二干扰频率列表中的所有干扰频率与所述目标工作频率均匹配失败,根据所述MIPI工作频率与干扰频率列表之间的对应关系确定与所述第二干扰频率列表对应的第二MIPI工作频率。If the matching result is that all interference frequencies in the second interference frequency list fail to match the target operating frequency, the second interference is determined according to the correspondence between the MIPI operating frequency and the interference frequency list The second MIPI operating frequency corresponding to the frequency list.
在一个可能的示例中,在所述将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率时,上述程序还包括用于执行以下步骤的指令:In a possible example, when the MIPI operating frequency of the display screen is adjusted to the second MIPI operating frequency, the above program further includes instructions for performing the following steps:
在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值;When the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter value of the display screen according to a preset frame rate calculation formula and the second MIPI working frequency;
根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, Horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
在一个可能的示例中,所述屏幕参数包括水平屏幕参数,所述水平屏幕参数包括以下至少一种:所述HBP、所述HFP和所述HAS;In a possible example, the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS;
在所述根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值方面,上述程序包括用于执行以下步骤的指令:In terms of dynamically adjusting the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the above program includes instructions for performing the following steps:
根据所述参考屏幕参数值动态调整所述显示屏的水平屏幕参数,使所述显示屏的行扫描时长在MIPI频率切换之后的变化量小于第二预设阈值。The horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solutions of the embodiments of the present application from the perspective of the execution process on the method side. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of the examples described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要 说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present application may divide the functional unit of the electronic device according to the above method example, 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 integrated unit may be implemented in the form of hardware or software functional unit. It should be noted that the division of the units in the embodiments of the present application is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
请参阅图5,图5是本申请实施例公开的一种电磁干扰控制装置的结构示意图,应用于图1A所示的电子设备,所述电子设备包括显示屏和调制解调器modem,所述电磁干扰控制装置包括获取单元501、确定单元502和调整单元503,其中,Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of an electromagnetic interference control device disclosed in an embodiment of the present application, which is applied to the electronic device shown in FIG. 1A. The electronic device includes a display screen and a modem, and the electromagnetic interference control The device includes an acquisition unit 501, a determination unit 502, and an adjustment unit 503, where,
所述获取单元501,用于在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率;以及获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率;The acquiring unit 501 is configured to acquire the target operating frequency of the modem when the display device is in the bright state when the electronic device is in the video mode; and acquire the first of the display industry interface MIPI MIPI working frequency;
所述确定单元502,用于根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰;The determining unit 502 is configured to determine whether the target operating frequency is interfered according to the first MIPI operating frequency;
所述获取单元501,还用于在确定所述目标工作频率受到干扰时,获取所述视频的目标视频帧率;The obtaining unit 501 is further configured to obtain the target video frame rate of the video when it is determined that the target operating frequency is interfered;
所述确定单元502,还用于确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰;The determining unit 502 is further configured to determine a second MIPI operating frequency corresponding to the target video frame rate, and the interference of the second MIPI operating frequency on the target operating frequency is less than the first MIPI operating frequency pair Interference generated by the target operating frequency;
所述调整单元503,用于将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。The adjusting unit 503 is configured to adjust the MIPI operating frequency of the display screen to the second MIPI operating frequency.
可选地,在所述获取所述modem的目标工作频率方面,所述获取单元501具体用于:Optionally, in terms of acquiring the target operating frequency of the modem, the acquiring unit 501 is specifically configured to:
获取所述电子设备的移动速度;Acquiring the moving speed of the electronic device;
若所述移动速度满足预设速度范围,根据所述移动速度确定目标时间周期,以所述目标时间周期接收所述modem上报的所述目标工作频率。If the moving speed meets a preset speed range, a target time period is determined according to the moving speed, and the target operating frequency reported by the modem is received in the target time period.
可选地,在所述根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰方面,所述确定单元502具体用于:Optionally, in terms of determining whether the target operating frequency is interfered according to the first MIPI operating frequency, the determining unit 502 is specifically configured to:
根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定与所述第一MIPI工作频率对应的目标干扰频率列表,所述目标干扰频率列表包含与所述第一MIPI工作频率对应的多个第一干扰频率;Determine a target interference frequency list corresponding to the first MIPI operating frequency according to the preset correspondence between the MIPI operating frequency and the interference frequency list, the target interference frequency list including the corresponding to the first MIPI operating frequency Multiple first interference frequencies;
将所述目标工作频率与所述目标干扰频率列表中的所述多个第一干扰频率依次进行匹配,若所述目标工作频率与所述多个第一干扰频率中任一第一干扰频率匹配成功,确定所述目标工作频率受到干扰。Matching the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency matches any of the plurality of first interference frequencies Successfully, it is determined that the target operating frequency is interfered.
可选地,在所述确定与所述目标视频帧率对应的第二MIPI工作频率方面,所述确定单元502具体用于:Optionally, in terms of determining the second MIPI operating frequency corresponding to the target video frame rate, the determining unit 502 is specifically configured to:
确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
确定所述多个MIPI工作频率中每一MIPI工作频率对所述目标工作频率的干扰强度值,得到多个干扰强度值;Determining the interference intensity value of each MIPI operating frequency of the multiple MIPI operating frequencies to the target operating frequency to obtain multiple interference intensity values;
确定所述多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率。Determining a second MIPI operating frequency corresponding to an interference intensity value less than a preset threshold among the multiple interference intensity values.
可选地,在所述确定与所述目标视频帧率对应的第二MIPI工作频率方面,所述确定单元502具体用于:Optionally, in terms of determining the second MIPI operating frequency corresponding to the target video frame rate, the determining unit 502 is specifically configured to:
确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定所述多个MIPI工作频率中每一MIPI工作频率对应的参考干扰频率列表,得到多个参考干扰频率列表;Determine the reference interference frequency list corresponding to each MIPI working frequency in the plurality of MIPI working frequencies according to the preset correspondence between the MIPI working frequency and the interference frequency list, and obtain multiple reference interference frequency lists;
将所述目标工作频率与所述多个参考干扰频率列表中每一参考干扰频率列表中的多个干扰频率进行匹配,得到第二干扰频率列表对应的匹配结果;Matching the target operating frequency with multiple interference frequencies in each reference interference frequency list in the multiple reference interference frequency lists to obtain a matching result corresponding to the second interference frequency list;
若所述匹配结果为所述第二干扰频率列表中的所有干扰频率与所述目标工作频率均匹配失败,根据所述MIPI工作频率与干扰频率列表之间的对应关系确定与所述第二干扰频率列表对应的第二MIPI工作频率。If the matching result is that all interference frequencies in the second interference frequency list fail to match the target operating frequency, the second interference is determined according to the correspondence between the MIPI operating frequency and the interference frequency list The second MIPI operating frequency corresponding to the frequency list.
可选地,在所述将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率时,所述确定单元502还用于:Optionally, when the MIPI operating frequency of the display screen is adjusted to the second MIPI operating frequency, the determining unit 502 is further configured to:
在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值;When the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter value of the display screen according to a preset frame rate calculation formula and the second MIPI working frequency;
所述调整单元503,还用于:The adjustment unit 503 is also used to:
根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, Horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
可选地,所述屏幕参数包括水平屏幕参数,所述水平屏幕参数包括以下至少一种:所述HBP、所述HFP和所述HAS;Optionally, the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS;
在所述根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值方面,所述调整单元503具体用于:In terms of dynamically adjusting the screen parameters of the display screen according to the reference screen parameter values to obtain a target screen parameter value, the adjustment unit 503 is specifically configured to:
根据所述参考屏幕参数值动态调整所述显示屏的水平屏幕参数,使所述显示屏的行扫描时长在MIPI频率切换之后的变化量小于第二预设阈值。The horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
可选地,在所述确定与所述目标视频帧率对应的目标MIPI工作频率范围列表方面,所述确定单元具体用于:Optionally, in terms of determining a list of target MIPI operating frequency ranges corresponding to the target video frame rate, the determining unit is specifically configured to:
根据预设的视频帧率与MIPI工作频率范围列表之间的对应关系,确定与所述目标视频帧率对应的目标MIPI工作频率范围列表。The target MIPI working frequency range list corresponding to the target video frame rate is determined according to the correspondence between the preset video frame rate and the MIPI working frequency range list.
可以看出,本申请实施例中所描述的电磁干扰控制装置,通过在电子设备处于视频模式时,若显示屏处于亮屏状态,获取modem的目标工作频率,获取显示屏MIPI的第一MIPI工作频率,根据第一MIPI工作频率确定目标工作频率是否受到干扰,若是,确定视频的目标视频帧率,确定与目标视频帧率对应的第二MIPI工作频率,将显示屏的MIPI工作频率调整至所述第二MIPI工作频率,如此,可在不改动电子设备硬件设计的情况下,在电子设备处于视频模式时下动态调整显示屏MIPI工作频率,从而消除或者降低其对modem通信的电磁干扰,获得最佳的通信性能。It can be seen that the electromagnetic interference control device described in the embodiments of the present application obtains the target operating frequency of the modem and the first MIPI operation of the MIPI of the display screen when the electronic device is in the video mode and the display screen is in the bright state Frequency, determine whether the target operating frequency is disturbed according to the first MIPI operating frequency, if so, determine the target video frame rate of the video, determine the second MIPI operating frequency corresponding to the target video frame rate, and adjust the MIPI operating frequency of the display The second MIPI operating frequency is described. In this way, the MIPI operating frequency of the display screen can be dynamically adjusted when the electronic device is in the video mode without changing the hardware design of the electronic device, thereby eliminating or reducing its electromagnetic interference to modem communication and obtaining the most Good communication performance.
需要注意的是,本申请实施例所描述的电子设备是以功能单元的形式呈现。这里所使用的术语“单元”应当理解为尽可能最宽的含义,用于实现各个“单元”所描述功能的对象例如可以是集成电路ASIC,单个电路,用于执行一个或多个软件或固件程序的处理器(共享的、专用的或芯片组)和存储器,组合逻辑电路,和/或提供实现上述功能的其他合适的组件。It should be noted that the electronic devices described in the embodiments of the present application are presented in the form of functional units. The term "unit" used herein should be understood as the broadest possible meaning, and the object used to implement the function described by each "unit" may be, for example, an integrated circuit ASIC, a single circuit, used to execute one or more software or firmware A program's processor (shared, dedicated, or chipset) and memory, combined logic circuits, and / or other suitable components that provide the above functions.
其中,获取单元501、确定单元502和调整单元503可以是控制电路或处理器。The acquisition unit 501, the determination unit 502, and the adjustment unit 503 may be control circuits or processors.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任何一种电磁干扰控制方法的部分或全部步骤。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, which causes the computer to execute any of the electromagnetic interference control methods described in the above method embodiments Part or all steps.
本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种电磁干扰控制方法的部分或全部步骤。An embodiment of the present application further provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause the computer to execute as described in the method embodiments Some or all steps of any electromagnetic interference control method.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。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 this application is not limited by the described action sequence, Because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the involved actions and modules are not necessarily required by this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed in an embodiment, you can refer to related descriptions in other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may Integration into another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of 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 alone physically, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software program modules.
所述集成的单元如果以软件程序模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application essentially or part of the contribution to the existing technology or all or part of the technical solution can be embodied in the form of a software product, the computer software product is stored in a memory, Several instructions are included to enable a computer device (which may be a personal computer, server, network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. The foregoing memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, magnetic disk, or optical disk, which can store various program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、ROM、RAM、磁盘或光盘等。A person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by a program instructing relevant hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash disk , ROM, RAM, magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and core idea of the present application; at the same time, Those of ordinary skill in the art, according to the ideas of the present application, may have changes in specific implementations and application scopes. In summary, the content of this specification should not be construed as limiting the present application.

Claims (20)

  1. 一种电磁干扰控制方法,其特征在于,应用于电子设备,所述电子设备包括显示屏、调制解调器modem,所述方法包括:An electromagnetic interference control method is characterized in that it is applied to electronic equipment, and the electronic equipment includes a display screen and a modem. The method includes:
    在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率;When the electronic device is in the video mode, if the display screen is in the bright state, obtain the target working frequency of the modem;
    获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率;Obtain the first MIPI working frequency of the display industry mobile processor interface MIPI;
    根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰;Determine whether the target operating frequency is interfered according to the first MIPI operating frequency;
    若是,获取所述视频的目标视频帧率;If so, obtain the target video frame rate of the video;
    确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰;Determining a second MIPI operating frequency corresponding to the target video frame rate, the interference of the second MIPI operating frequency on the target operating frequency is less than the interference of the first MIPI operating frequency on the target operating frequency;
    将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。Adjusting the MIPI operating frequency of the display screen to the second MIPI operating frequency.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述modem的目标工作频率,包括:The method according to claim 1, wherein the acquiring the target operating frequency of the modem comprises:
    获取所述电子设备的移动速度;Acquiring the moving speed of the electronic device;
    若所述移动速度满足预设速度范围,根据所述移动速度确定目标时间周期,以所述目标时间周期接收所述modem上报的所述目标工作频率。If the moving speed meets a preset speed range, a target time period is determined according to the moving speed, and the target operating frequency reported by the modem is received in the target time period.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰,包括:The method according to claim 1 or 2, wherein the determining whether the target operating frequency is interfered according to the first MIPI operating frequency includes:
    根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定与所述第一MIPI工作频率对应的目标干扰频率列表,所述目标干扰频率列表包含与所述第一MIPI工作频率对应的多个第一干扰频率;Determine a target interference frequency list corresponding to the first MIPI operating frequency according to the preset correspondence between the MIPI operating frequency and the interference frequency list, the target interference frequency list including the corresponding to the first MIPI operating frequency Multiple first interference frequencies;
    将所述目标工作频率与所述目标干扰频率列表中的所述多个第一干扰频率依次进行匹配,若所述目标工作频率与所述多个第一干扰频率中任一第一干扰频率匹配成功,确定所述目标工作频率受到干扰。Matching the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency matches any of the plurality of first interference frequencies Successfully, it is determined that the target operating frequency is interfered.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述确定与所述目标视频帧率对应的第二MIPI工作频率,包括:The method according to any one of claims 1-3, wherein the determining the second MIPI operating frequency corresponding to the target video frame rate includes:
    确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
    确定所述多个MIPI工作频率中每一MIPI工作频率对所述目标工作频率的干扰强度值,得到多个干扰强度值;Determining the interference intensity value of each MIPI operating frequency of the multiple MIPI operating frequencies to the target operating frequency to obtain multiple interference intensity values;
    确定所述多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率。Determining a second MIPI operating frequency corresponding to an interference intensity value less than a preset threshold among the multiple interference intensity values.
  5. 根据权利要求1-3任一项所述的方法,其特征在于,所述确定与所述目标视频帧率对应的第二MIPI工作频率,包括:The method according to any one of claims 1-3, wherein the determining the second MIPI operating frequency corresponding to the target video frame rate includes:
    确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
    根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定所述多个MIPI工作频率中每一MIPI工作频率对应的参考干扰频率列表,得到多个参考干扰频率列表;Determine the reference interference frequency list corresponding to each MIPI working frequency in the plurality of MIPI working frequencies according to the preset correspondence between the MIPI working frequency and the interference frequency list, and obtain multiple reference interference frequency lists;
    将所述目标工作频率与所述多个参考干扰频率列表中每一参考干扰频率列表中的多个干扰频率进行匹配,得到第二干扰频率列表对应的匹配结果;Matching the target operating frequency with multiple interference frequencies in each reference interference frequency list in the multiple reference interference frequency lists to obtain a matching result corresponding to the second interference frequency list;
    若所述匹配结果为所述第二干扰频率列表中的所有干扰频率与所述目标工作频率均匹配失败,根据所述MIPI工作频率与干扰频率列表之间的对应关系确定与所述第二干扰频率列表对应的第二MIPI工作频率。If the matching result is that all interference frequencies in the second interference frequency list fail to match the target operating frequency, the second interference is determined according to the correspondence between the MIPI operating frequency and the interference frequency list The second MIPI operating frequency corresponding to the frequency list.
  6. 根据权利要求5所述的方法,其特征在于,所述确定与所述目标视频帧率对应的目 标MIPI工作频率范围列表,包括:The method according to claim 5, wherein the list of target MIPI operating frequency ranges corresponding to the target video frame rate includes:
    根据预设的视频帧率与MIPI工作频率范围列表之间的对应关系,确定与所述目标视频帧率对应的目标MIPI工作频率范围列表。The target MIPI working frequency range list corresponding to the target video frame rate is determined according to the correspondence between the preset video frame rate and the MIPI working frequency range list.
  7. 根据权利要求1-6任一项所述的方法,其特征在于,在所述将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率时,所述方法还包括:The method according to any one of claims 1-6, wherein when the MIPI operating frequency of the display screen is adjusted to the second MIPI operating frequency, the method further comprises:
    在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值;When the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter value of the display screen according to a preset frame rate calculation formula and the second MIPI working frequency;
    根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, Horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  8. 根据权利要求7所述的方法,其特征在于,所述屏幕参数包括水平屏幕参数,所述水平屏幕参数包括以下至少一种:所述HBP、所述HFP和所述HAS;The method according to claim 7, wherein the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS;
    所述根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,包括:The dynamically adjusting the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values includes:
    根据所述参考屏幕参数值动态调整所述显示屏的水平屏幕参数,使所述显示屏的行扫描时长在MIPI频率切换之后的变化量小于第二预设阈值。The horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
  9. 根据权利要求7所述的方法,其特征在于,所述预设帧率计算公式为如下公式:The method according to claim 7, wherein the preset frame rate calculation formula is as follows:
    FPS=CLK_rate*2*lane_num/((height+VBP+VSA+VFP)*(weight+HBP+HFP+HSA)*bits_perpixel)FPS = CLK_rate * 2 * lane_num / ((height + VBP + VSA + VFP) * (weight + HBP + HFP + HSA) * bits_perpixel)
    其中,所述FPS表示显示屏的帧率,CLK_rate表示MIPI频率,lane_num表示通道数,height和weight表示显示屏的物理尺寸,VBP表示在一帧图像开始时,垂直同步信号以后的无效的行数,VSA表示垂直同步信号的宽度,VFB表示在一帧图像结束后,垂直同步信号以前的无效的行数,HBP表示从水平同步信号开始到一行的有效数据开始之间的时钟的个数,HFP表示一行的有效数据结束到下一个水平同步信号开始之间的时钟的个数,HSA表示水平同步信号的宽度,bits_perpixel表示RGB显示数据宽度。Wherein, the FPS indicates the frame rate of the display screen, CLK_rate indicates the MIPI frequency, lane_num indicates the number of channels, height and weight indicate the physical size of the display screen, and VBP indicates the number of invalid lines after the vertical synchronization signal at the beginning of a frame of image , VSA represents the width of the vertical synchronization signal, VFB represents the number of invalid lines before the vertical synchronization signal after the end of a frame of image, HBP represents the number of clocks from the start of the horizontal synchronization signal to the beginning of the effective data of one line, HFP Indicates the number of clocks between the end of a row of valid data and the beginning of the next horizontal synchronization signal, HSA indicates the width of the horizontal synchronization signal, and bits_perpixel indicates the width of the RGB display data.
  10. 一种电磁干扰控制装置,其特征在于,应用于电子设备,所述电子设备包括显示屏、调制解调器modem,所述电磁干扰控制装置包括:An electromagnetic interference control device is characterized by being applied to electronic equipment. The electronic equipment includes a display screen and a modem. The electromagnetic interference control device includes:
    获取单元,用于在所述电子设备处于视频模式时,若显示屏处于亮屏状态,获取所述modem的目标工作频率;以及获取所述显示屏移动行业处理器接口MIPI的第一MIPI工作频率;An obtaining unit, configured to obtain a target operating frequency of the modem when the display device is in a bright screen state when the electronic device is in a video mode; and obtain a first MIPI operating frequency of the display industry mobile processor interface MIPI ;
    确定单元,用于根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰;A determining unit, configured to determine whether the target operating frequency is interfered according to the first MIPI operating frequency;
    所述获取单元,还用于在确定所述目标工作频率受到干扰时,获取所述视频的目标视频帧率;The acquiring unit is further configured to acquire a target video frame rate of the video when it is determined that the target operating frequency is disturbed;
    所述确定单元,还用于确定与所述目标视频帧率对应的第二MIPI工作频率,所述第二MIPI工作频率对所述目标工作频率产生的干扰小于所述第一MIPI工作频率对所述目标工作频率产生的干扰;The determining unit is further configured to determine a second MIPI operating frequency corresponding to the target video frame rate, and the interference of the second MIPI operating frequency on the target operating frequency is less than that of the first MIPI operating frequency. Describe the interference caused by the target operating frequency;
    调整单元,用于将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率。The adjusting unit is configured to adjust the MIPI operating frequency of the display screen to the second MIPI operating frequency.
  11. 根据权利要求10所述的装置,其特征在于,可选地,在所述获取所述modem的目标工作频率方面,所述获取单元具体用于:The apparatus according to claim 10, wherein, optionally, in terms of acquiring the target operating frequency of the modem, the acquiring unit is specifically configured to:
    获取所述电子设备的移动速度;Acquiring the moving speed of the electronic device;
    若所述移动速度满足预设速度范围,根据所述移动速度确定目标时间周期,以所述目标时间周期接收所述modem上报的所述目标工作频率。If the moving speed meets a preset speed range, a target time period is determined according to the moving speed, and the target operating frequency reported by the modem is received in the target time period.
  12. 根据权利要求10或11所述的装置,其特征在于,在所述根据所述第一MIPI工作频率确定所述目标工作频率是否受到干扰方面,所述确定单元具体用于:The apparatus according to claim 10 or 11, wherein in determining whether the target operating frequency is interfered according to the first MIPI operating frequency, the determining unit is specifically configured to:
    根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定与所述第一MIPI工作频率对应的目标干扰频率列表,所述目标干扰频率列表包含与所述第一MIPI工作频率对应的多个第一干扰频率;Determine a target interference frequency list corresponding to the first MIPI operating frequency according to the preset correspondence between the MIPI operating frequency and the interference frequency list, the target interference frequency list including the corresponding to the first MIPI operating frequency Multiple first interference frequencies;
    将所述目标工作频率与所述目标干扰频率列表中的所述多个第一干扰频率依次进行匹配,若所述目标工作频率与所述多个第一干扰频率中任一第一干扰频率匹配成功,确定所述目标工作频率受到干扰。Matching the target operating frequency with the plurality of first interference frequencies in the target interference frequency list in sequence, if the target operating frequency matches any of the plurality of first interference frequencies Successfully, it is determined that the target operating frequency is interfered.
  13. 根据权利要求10-12任一项所述的装置,其特征在于,在所述确定与所述目标视频帧率对应的第二MIPI工作频率方面,所述确定单元具体用于:The apparatus according to any one of claims 10-12, wherein, in terms of determining the second MIPI operating frequency corresponding to the target video frame rate, the determining unit is specifically configured to:
    确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
    确定所述多个MIPI工作频率中每一MIPI工作频率对所述目标工作频率的干扰强度值,得到多个干扰强度值;Determining the interference intensity value of each MIPI operating frequency of the multiple MIPI operating frequencies to the target operating frequency to obtain multiple interference intensity values;
    确定所述多个干扰强度值中小于预设阈值的干扰强度值对应的第二MIPI工作频率。Determining a second MIPI operating frequency corresponding to an interference intensity value less than a preset threshold among the multiple interference intensity values.
  14. 根据权利要求10-12任一项所述的装置,其特征在于,在所述确定与所述目标视频帧率对应的第二MIPI工作频率方面,所述确定单元具体用于:The apparatus according to any one of claims 10-12, wherein, in terms of determining the second MIPI operating frequency corresponding to the target video frame rate, the determining unit is specifically configured to:
    确定与所述目标视频帧率对应的目标MIPI工作频率范围列表,所述目标MIPI工作频率范围列表包括多个MIPI工作频率;Determining a target MIPI operating frequency range list corresponding to the target video frame rate, the target MIPI operating frequency range list includes multiple MIPI operating frequencies;
    根据预设的MIPI工作频率与干扰频率列表之间的对应关系,确定所述多个MIPI工作频率中每一MIPI工作频率对应的参考干扰频率列表,得到多个参考干扰频率列表;Determine the reference interference frequency list corresponding to each MIPI working frequency in the plurality of MIPI working frequencies according to the preset correspondence between the MIPI working frequency and the interference frequency list, and obtain multiple reference interference frequency lists;
    将所述目标工作频率与所述多个参考干扰频率列表中每一参考干扰频率列表中的多个干扰频率进行匹配,得到第二干扰频率列表对应的匹配结果;Matching the target operating frequency with multiple interference frequencies in each reference interference frequency list in the multiple reference interference frequency lists to obtain a matching result corresponding to the second interference frequency list;
    若所述匹配结果为所述第二干扰频率列表中的所有干扰频率与所述目标工作频率均匹配失败,根据所述MIPI工作频率与干扰频率列表之间的对应关系确定与所述第二干扰频率列表对应的第二MIPI工作频率。If the matching result is that all interference frequencies in the second interference frequency list fail to match the target operating frequency, the second interference is determined according to the correspondence between the MIPI operating frequency and the interference frequency list The second MIPI operating frequency corresponding to the frequency list.
  15. 根据权利要求14所述的装置,其特征在于,在所述确定与所述目标视频帧率对应的目标MIPI工作频率范围列表方面,所述确定单元具体用于:The apparatus according to claim 14, characterized in that, in terms of determining the list of target MIPI operating frequency ranges corresponding to the target video frame rate, the determining unit is specifically configured to:
    根据预设的视频帧率与MIPI工作频率范围列表之间的对应关系,确定与所述目标视频帧率对应的目标MIPI工作频率范围列表。The target MIPI working frequency range list corresponding to the target video frame rate is determined according to the correspondence between the preset video frame rate and the MIPI working frequency range list.
  16. 根据权利要求10-15任一项所述的装置,其特征在于,在所述将所述显示屏的MIPI工作频率调整至所述第二MIPI工作频率时,所述确定单元还用于:The device according to any one of claims 10-15, wherein, when the MIPI operating frequency of the display screen is adjusted to the second MIPI operating frequency, the determining unit is further configured to:
    在所述显示屏的帧率在MIPI频率切换之后的变化量小于第一预设阈值时,根据预设帧率计算公式和所述第二MIPI工作频率确定所述显示屏的参考屏幕参数值;When the change amount of the frame rate of the display screen after the MIPI frequency switching is less than the first preset threshold, determine the reference screen parameter value of the display screen according to a preset frame rate calculation formula and the second MIPI working frequency;
    所述调整单元还用于:The adjustment unit is also used to:
    根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值,所述屏幕参数包括所述预设帧率计算公式中的以下至少一种porch值:水平后沿HBP、水平前沿HFP、垂直后沿VBP、垂直前沿VFP、垂直同步信号的宽度VSA、水平同步信号的宽度HAS。Dynamically adjust the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the screen parameters including at least one of the following porch values in the preset frame rate calculation formula: horizontal back edge HBP, Horizontal leading edge HFP, vertical trailing edge VBP, vertical leading edge VFP, width of vertical synchronization signal VSA, width of horizontal synchronization signal HAS.
  17. 根据权利要求16所述的装置,其特征在于,所述屏幕参数包括水平屏幕参数,所述水平屏幕参数包括以下至少一种:所述HBP、所述HFP和所述HAS;The apparatus according to claim 16, wherein the screen parameters include horizontal screen parameters, and the horizontal screen parameters include at least one of the following: the HBP, the HFP, and the HAS;
    在所述根据所述参考屏幕参数值动态调整所述显示屏的屏幕参数,得到目标屏幕参数值方面,所述调整单元具体用于:In terms of dynamically adjusting the screen parameters of the display screen according to the reference screen parameter values to obtain the target screen parameter values, the adjustment unit is specifically configured to:
    根据所述参考屏幕参数值动态调整所述显示屏的水平屏幕参数,使所述显示屏的行扫描时长在MIPI频率切换之后的变化量小于第二预设阈值。The horizontal screen parameter of the display screen is dynamically adjusted according to the reference screen parameter value, so that the change amount of the line scan duration of the display screen after the MIPI frequency switching is less than the second preset threshold.
  18. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device, characterized in that it includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory, and are configured to be executed by the processor, The program includes instructions for performing the steps in the method of any one of claims 1-9.
  19. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。A computer program product, characterized in that the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to execute the Described method.
PCT/CN2019/109164 2018-11-02 2019-09-29 Electromagnetic interference control method and relevant product WO2020088184A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811302281.0A CN109561643A (en) 2018-11-02 2018-11-02 Electromagnetic interference control method and Related product
CN201811302281.0 2018-11-02

Publications (1)

Publication Number Publication Date
WO2020088184A1 true WO2020088184A1 (en) 2020-05-07

Family

ID=65865833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/109164 WO2020088184A1 (en) 2018-11-02 2019-09-29 Electromagnetic interference control method and relevant product

Country Status (2)

Country Link
CN (1) CN109561643A (en)
WO (1) WO2020088184A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109412704B (en) 2018-10-31 2020-08-25 Oppo广东移动通信有限公司 Electromagnetic interference control method and related product
CN109413274B (en) * 2018-11-01 2021-09-24 Oppo广东移动通信有限公司 Display screen MIPI working frequency adjusting method and related product
CN109561643A (en) * 2018-11-02 2019-04-02 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
CN110266428B (en) * 2019-06-19 2021-09-28 Oppo(重庆)智能科技有限公司 Electromagnetic interference control method and device, electronic equipment and storage medium
CN111446986A (en) * 2020-03-24 2020-07-24 维沃移动通信有限公司 Frame rate adjusting method and electronic equipment
CN111443888B (en) * 2020-03-27 2024-03-22 Tcl华星光电技术有限公司 Display control method, display control device, electronic equipment and storage medium
CN116111551B (en) * 2023-04-10 2023-07-11 深圳核心医疗科技股份有限公司 Antistatic parameter determination method and device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827775A (en) * 2016-04-20 2016-08-03 努比亚技术有限公司 Test method and system for reducing interference of mobile industry processor interfaces (MIPI)
CN106160759A (en) * 2015-03-25 2016-11-23 成都鼎桥通信技术有限公司 A kind of lcd screen method to Radio frequency interference solving terminal
CN106936515A (en) * 2017-05-09 2017-07-07 广东欧珀移动通信有限公司 Radio frequency interference processing method, storage medium and terminal
CN108063646A (en) * 2017-12-15 2018-05-22 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment
CN109348055A (en) * 2018-10-11 2019-02-15 Oppo广东移动通信有限公司 Display control method and Related product
CN109412704A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
CN109561643A (en) * 2018-11-02 2019-04-02 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017118015A (en) * 2015-12-25 2017-06-29 株式会社トーキン Electronic device and arrangement method of electromagnetic interference suppression body

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106160759A (en) * 2015-03-25 2016-11-23 成都鼎桥通信技术有限公司 A kind of lcd screen method to Radio frequency interference solving terminal
CN105827775A (en) * 2016-04-20 2016-08-03 努比亚技术有限公司 Test method and system for reducing interference of mobile industry processor interfaces (MIPI)
CN106936515A (en) * 2017-05-09 2017-07-07 广东欧珀移动通信有限公司 Radio frequency interference processing method, storage medium and terminal
CN108063646A (en) * 2017-12-15 2018-05-22 广东欧珀移动通信有限公司 The anti-interference method and Related product of electronic equipment
CN109348055A (en) * 2018-10-11 2019-02-15 Oppo广东移动通信有限公司 Display control method and Related product
CN109412704A (en) * 2018-10-31 2019-03-01 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product
CN109561643A (en) * 2018-11-02 2019-04-02 Oppo广东移动通信有限公司 Electromagnetic interference control method and Related product

Also Published As

Publication number Publication date
CN109561643A (en) 2019-04-02

Similar Documents

Publication Publication Date Title
WO2020088183A1 (en) Electromagnetic interference control method and related product
WO2020088184A1 (en) Electromagnetic interference control method and relevant product
US11838064B2 (en) Method for controlling display and related products
WO2020098388A1 (en) Adjustment method for preventing electromagnetic interference and related product
US11701580B2 (en) Display control method and related products
CN109274833B (en) Electromagnetic interference adjusting method and related product
WO2020119230A1 (en) Electromagnetic interference control method and related product
WO2020007174A1 (en) Communication connection establishment method and related device
CN108833683B (en) Dynamic antenna adjustment implementation method and related product
CN110856246A (en) Power control method and electronic equipment
US20220132250A1 (en) Mobile Terminal and Control Method
CN108668018B (en) Mobile terminal, volume control method and related product
CN109561642B (en) Electromagnetic interference control method and related product
CN109525917B (en) Display control method and related product
CN111629263A (en) Display picture compensation method and device, electronic equipment and storage medium
CN113411452B (en) Key control method and device based on mobile terminal and terminal equipment
CN110262744B (en) Switching method of touch device, terminal equipment and storage medium
CN111091777A (en) Charging time debugging method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19880902

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19880902

Country of ref document: EP

Kind code of ref document: A1