WO2020114103A1 - 电磁干扰控制方法及相关装置 - Google Patents

电磁干扰控制方法及相关装置 Download PDF

Info

Publication number
WO2020114103A1
WO2020114103A1 PCT/CN2019/111970 CN2019111970W WO2020114103A1 WO 2020114103 A1 WO2020114103 A1 WO 2020114103A1 CN 2019111970 W CN2019111970 W CN 2019111970W WO 2020114103 A1 WO2020114103 A1 WO 2020114103A1
Authority
WO
WIPO (PCT)
Prior art keywords
antenna
frequency
screen state
electromagnetic interference
detected
Prior art date
Application number
PCT/CN2019/111970
Other languages
English (en)
French (fr)
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广东移动通信有限公司
Priority to EP19893236.0A priority Critical patent/EP3890215A4/en
Publication of WO2020114103A1 publication Critical patent/WO2020114103A1/zh
Priority to US17/337,422 priority patent/US20210289108A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B15/00Suppression or limitation of noise or interference
    • H04B15/02Reducing interference from electric apparatus by means located at or near the interfering apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/06Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station
    • H04B7/0602Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the transmitting station using antenna switching
    • H04B7/0608Antenna selection according to transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B7/00Radio transmission systems, i.e. using radiation field
    • H04B7/02Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
    • H04B7/04Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
    • H04B7/08Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
    • H04B7/0802Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection
    • H04B7/0805Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching
    • H04B7/0814Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using antenna selection with single receiver and antenna switching based on current reception conditions, e.g. switching to different antenna when signal level is below threshold
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • H04N23/81Camera processing pipelines; Components thereof for suppressing or minimising disturbance in the image signal generation

Definitions

  • the present application relates to the technical field of electronic equipment, in particular to an electromagnetic interference control method and related devices.
  • the operating frequency of certain frequency bands of the radio frequency system may cause electromagnetic interference to the camera, resulting in a screen or a phenomenon of jamming when the camera is previewed and photographed.
  • shielding protection is added to the camera signal transmission line to reduce the electromagnetic interference of the radio frequency system on the camera, but this way of improving the hardware will increase the cost of the electronic device and increase the volume of the electronic device. Flexible and smart.
  • Embodiments of the present application provide an electromagnetic interference control method and related devices, with a view to achieving flexibility and intelligence in electronic equipment for electromagnetic interference control.
  • an embodiment of the present application provides an electromagnetic interference control method, which is applied to an electronic device.
  • the electronic device includes the electronic device including four antennas.
  • the method includes:
  • the screen state includes a horizontal screen state and a vertical screen state
  • the dynamic switching strategy includes the The detection priority sequence and switching conditions of four antennas
  • an embodiment of the present application provides an electromagnetic interference control apparatus, which is applied to an electronic device.
  • the electromagnetic interference control apparatus includes a processing unit and a communication unit, wherein the processing unit is configured to detect the electronic device When the camera of the camera is turned on, detect whether electromagnetic interference occurs between the camera and the radio frequency system; if so, detect the screen state of the electronic device, and determine the dynamic switching strategy of the four antennas according to the screen state.
  • the screen state includes a horizontal screen state and a vertical screen state
  • the dynamic switching strategy includes the detection priority sequence and switching conditions of the four antennas; according to the dynamic switching strategy, the communication unit detects other than the currently enabled antenna The communication quality of at least one antenna, and perform an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be processed by the above
  • the above program includes instructions for performing the steps in any method of 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.
  • the computer program causes the computer to execute the first embodiment of the present application.
  • 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 any method of the first aspect.
  • the computer program product may be a software installation package.
  • the electronic device when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system; if so, it detects the screen state of the electronic device, And determine the dynamic switching strategy of the four antennas according to the screen state, the screen state includes a horizontal screen state and a vertical screen state, and the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; Detecting the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performing an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference.
  • the electronic device of the embodiment of the present application detects electromagnetic interference between the radio frequency system and the camera, it can perform the antenna switching operation according to the current screen state to reduce or avoid electromagnetic interference, and improve the flexibility of the electronic device to control electromagnetic interference And intelligence.
  • FIG. 1 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of an electromagnetic interference control method provided by an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of another electromagnetic interference control method provided by an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of another electromagnetic interference control method provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of another electronic device provided by an embodiment of the present application.
  • FIG. 6 is a block diagram of functional units of an electromagnetic interference control device provided by an embodiment of the present application.
  • the electronic device 1000 involved in the embodiments of the present application includes an application processor AP1100, a modem Modem1200, a camera 1300, and a radio frequency system 1400.
  • the radio frequency system 1400 includes a radio frequency transceiver 1410, radio frequency processing circuits 1420 and 4 An antenna 1431, 1432, 1433, 1434, the AP1100 connects the Modem1200 and the camera 1300, the Modem1200 connects to the RF transceiver 1410, and the RF transceiver 1410 connects to the RF processing circuit 1420, the The radio frequency processing circuit 1420 is connected to the four antennas.
  • the above electronic devices may include various handheld devices, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, as well as various forms of user equipment (User Equipment, UE), mobile stations (Mobile Station, MS ), electronic equipment (terminal Pevice), etc.
  • User Equipment User Equipment
  • MS Mobile Station
  • terminal Pevice electronic equipment
  • An embodiment of the present application proposes an electromagnetic interference control method.
  • the embodiment of the present application will be described in detail below with reference to the drawings.
  • FIG. 2 is a schematic flowchart of an electromagnetic interference control method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1. As shown in the figure, the control method includes:
  • Step 201 When the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system.
  • electromagnetic interference refers to that when the camera and the radio frequency system are working at the same time, when the radio frequency system is in a certain working frequency band, it causes interference to the camera. It can be determined by dynamic comparison between the phase-locked loops (PLL) frequency of the camera (that is, the operating frequency of the camera) and the operating frequency of the radio frequency system of the electronic device to determine whether electromagnetic interference occurs between the two, for example To directly obtain the current working frequency of the camera and the current working frequency of the RF system. If the two can match according to the preset rules, it is considered that electromagnetic interference has occurred between the RF system and the camera.
  • PLL phase-locked loops
  • the camera and the radio frequency system of the electronic device have electromagnetic interference, for example, pre-establish an electromagnetic interference frequency list in the electronic device to obtain the current operating frequency of the radio frequency system, if the operating frequency is in the electromagnetic interference frequency list, the radio frequency is considered There is electromagnetic interference between the system and the camera.
  • Step 202 If yes, the electronic device detects the screen state of the electronic device and determines the dynamic switching strategy of the four antennas according to the screen state.
  • the screen state includes a horizontal screen state and a vertical screen state.
  • the dynamic switching strategy includes the detection priority sequence of the four antennas and the switching conditions.
  • the frame around the periphery of the electronic device has a human hand detection device.
  • the human hand detection device When the electronic device is in a horizontal or vertical screen state and the electronic device is in a bright screen working state, the human hand detection device will detect the current user's grip Area, after detecting the holding area, the electronic device first determines the current system time and generates a holding record in combination with the current screen state.
  • the human grip detection device detects that the user's grip area has changed, it first determines the grip time of the previous grip area and saves it in the grip record generated by the previous grip area, and will re-detect the user's grip Hold the area and perform the above loop operation. Therefore, a large number of grip records will be generated, and the number of times the four antennas are blocked will be determined according to the grip area and grip time in each grip record in the same screen state and a detection priority sequence will be generated.
  • Step 203 The electronic device detects the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performs an antenna switching operation when the communication quality meets the switching condition to avoid or reduce The electromagnetic interference.
  • the electronic device detects the four antennas one by one according to the detection priority in the dynamic switching strategy. When it is the turn to detect the currently enabled antenna according to the detection priority sequence, the currently enabled antenna is skipped and the detection priority is detected An antenna after the currently enabled antenna in the level sequence.
  • the electronic device when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system; if so, the screen state of the electronic device is detected, And determine the dynamic switching strategy of the four antennas according to the screen state, the screen state includes a horizontal screen state and a vertical screen state, and the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; Detecting the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performing an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference. It can be seen that, when detecting the electromagnetic interference between the radio frequency system and the camera, the electronic device of the embodiment of the present application can perform the antenna switching operation according to the current screen state to reduce or avoid electromagnetic interference.
  • the electronic device determining the dynamic switching strategy of the four antennas according to the screen state includes: using the screen state as a query identifier, querying a mapping relationship, and acquiring the dynamic state corresponding to the screen state Switching strategy, the mapping relationship includes the correspondence between the screen state and the dynamic switching strategy.
  • the screen state includes the horizontal screen state and the vertical screen state
  • the mapping relationship includes the mapping relationship between the horizontal screen state and the dynamic switching strategy corresponding to the horizontal screen state and the mapping between the vertical screen state and the dynamic switching strategy corresponding to the vertical screen state relationship.
  • the reasons for the different dynamic switching strategies corresponding to the horizontal screen state and the vertical screen state are: when the user holds the electronic device on the horizontal screen or the vertical screen, the holding area is different, which affects the antenna at different positions The size is different.
  • the electronic device when the electronic device detects that the screen state is the horizontal screen state, the electronic device queries the mapping relationship to obtain the horizontal screen antenna switching strategy under the horizontal screen state corresponding to the horizontal screen state; when the electronic device detects the screen state to be the vertical screen state At that time, the electronic device queries the mapping relationship to obtain the vertical screen antenna switching strategy in the vertical screen state corresponding to the vertical screen state.
  • the electronic device can query the mapping relationship according to the current screen state to determine the dynamic switching strategy, which improves the switching efficiency of the antenna.
  • the method before the electronic device queries the mapping relationship, the method further includes: obtaining a plurality of grip records of the electronic device, each grip record including a screen state and a grip area; and filtering out the same The first number of first grip records in the screen state; the blocked area corresponding to each grip record is determined according to the grip area of each first grip record in the first number of first grip records Antenna; according to the first number of first grip records and the blocked antennas corresponding to each first grip record, determine that each of the four antennas is blocked in the same screen state The probability of determining the detection priority sequence of the four antennas in the same screen state according to the probability that each antenna is blocked; generating a dynamic switching strategy based on the detection priority sequence and the switching conditions; creating The corresponding relationship between the same screen state and the dynamic switching strategy to form the mapping relationship.
  • each holding record also includes the holding time of each holding area
  • the electronic device can determine the total holding time of the corresponding area in the same screen state according to each holding area and holding time in the same screen state , The total holding time of the corresponding area is divided by the total holding time of the electronic device in the same screen state to obtain the probability of the corresponding area being held in the same screen state, and then the antenna blocked by the corresponding area when being held is obtained The probability of occlusion.
  • the probability of the corresponding area being held may be determined only according to the area held each time and the number of holding times, and then the probability of being blocked by the antenna blocked by holding the corresponding area may be determined.
  • the electronic device can determine the probability that each antenna is blocked according to the stored grip records, and then generate a detection priority, which improves the intelligence of the electronic device. At the same time, the electronic device performs antenna detection and detection according to the detection priority. During the switching operation, the efficiency of antenna switching is improved.
  • the method before the electronic device queries the mapping relationship, the method further includes: the electronic device determines the detection priority sequence of the four antennas in the same screen state according to the user's setting operation; according to the detection priority The level sequence and the switching conditions generate a dynamic switching strategy; a correspondence between the same screen state and the dynamic switching strategy is created to form the mapping relationship.
  • the user can perform the setting operation through the interactive interface of the electronic device.
  • the antenna that will be blocked by the current holding posture of the user can be displayed in real time, so that the user can know that the user is holding the electronic device in a commonly used holding method.
  • the user can customize the detection priority to improve the intelligence of the electronic device.
  • the electronic device performs antenna detection and switching operations according to the above detection priority, the efficiency of antenna switching is improved, avoiding The necessary resources are wasted, such as the power of the electronic device and the loss of the antenna during the detection operation.
  • the electronic device detects the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performs an antenna switching operation when the communication quality meets the switching condition
  • the electronic device determines whether the currently processed antenna is the last antenna to be detected; if not, detecting the communication quality of the currently processed antenna and detecting whether the communication quality Said switching condition is satisfied; if it is satisfied, the antenna switching operation is performed; if not satisfied, the currently processed antenna is updated as the next antenna to be detected, and the next antenna to be detected is the detection priority
  • the next root antenna of the currently processed antenna in the level sequence if it is, the communication quality of the currently processed antenna is detected, and whether the communication quality meets the switching condition is detected; if it is satisfied, the antenna switching operation is performed ; If not satisfied, the frequency hopping operation is performed.
  • the electronic device when the electronic device performs the detection operation according to the dynamic switching strategy, the detection is performed sequentially according to the detection priority sequence, and when it is the turn of the currently enabled antenna, it is skipped, and the next antenna in the detection priority sequence is detected .
  • the currently enabled antenna is ranked second in the detection priority sequence
  • the electronic device determines that the antenna ranked first in the detection priority sequence is the currently processed antenna according to the detection priority sequence, and determines that it is ranked If the first antenna in the detection priority sequence is not the last antenna to be detected, the communication quality of the antenna in the first detection priority sequence will be detected. If the communication quality meets the switching conditions, the detection operation will be terminated and the antenna switching operation will be performed .
  • the currently enabled antennas should be detected according to the detection priority sequence, and then skipped; detecting the antenna ranked third in the detection priority sequence and determining that it is not the last antenna to be detected, the detection is ranked in the detection
  • the communication quality of the antenna in the third place of the priority sequence if the communication quality meets the switching condition, the detection operation is ended, and the antenna switching operation is performed. If it is not satisfied, the antenna ranked fourth should be detected according to the detection priority sequence, and it is determined that it is the last antenna to be detected, and the communication quality is detected. If the communication quality meets the switching conditions, the antenna switching operation is performed. If it is not satisfied, the frequency hopping operation is performed.
  • the electronic device can sequentially detect the communication quality of the antenna according to the detection priority. If the communication quality of the antenna meets the switching condition, the antenna switching operation is performed; if it does not, the next antenna is detected; there is no need to always detect all The antenna avoids the waste of resources and improves the efficiency of antenna switching and the intelligence of electronic devices.
  • the electronic device further includes: an application processor AP and a modem
  • the detecting whether electromagnetic interference occurs between the camera and the radio frequency system includes: the electronic device obtains the first through the modem At least one detected value of frequency, at least one detected value of a second frequency is acquired by the application processor AP, the first frequency is a communication frequency of the radio frequency system, and the second frequency is a phase locked of the camera Loop PLL frequency; send at least one detected value of the second frequency to the modem through the application processor AP; receive at least one detected value of the second frequency through the modem; the modem according to At least one detection value of the first frequency and at least one detection value of the second frequency determine whether electromagnetic interference occurs between the radio frequency system of the electronic device and the display screen.
  • the electronic device further includes: an application processor AP and a modem
  • the detecting whether electromagnetic interference occurs between the camera and the radio frequency system includes: acquiring the first frequency through the modem At least one detection value, at least one detection value of a second frequency is acquired by the application processor AP, the first frequency is a communication frequency of the radio frequency system, and the second frequency is a phase-locked loop PLL of the camera Frequency; sending at least one detected value of the first frequency to the application processor AP through the modem; receiving at least one detected value of the first frequency through the application processor AP; the application processor The AP determines whether electromagnetic interference occurs between the radio frequency system of the electronic device and the display screen according to at least one detection value of the first frequency and at least one detection value of the second frequency.
  • FIG. 3 is a schematic flowchart of another electromagnetic interference control method provided by an embodiment of the present application, which is applied to an electronic device. Control methods include:
  • Step 301 When the electronic device detects that the camera of the electronic device is turned on, detect whether electromagnetic interference occurs between the camera and the radio frequency system.
  • Step 302. If yes, the electronic device detects the screen state of the electronic device and determines the dynamic switching strategy of the four antennas according to the screen state.
  • the screen state includes a horizontal screen state and a vertical screen state.
  • the dynamic switching strategy includes the detection priority sequence and switching conditions of the four antennas.
  • Step 303 The electronic device determines whether the currently processed antenna is the last antenna to be detected.
  • Step 304 If not, the electronic device detects the communication quality of the currently processed antenna and detects whether the communication quality meets the switching condition; if it is satisfied, the antenna switching operation is performed; if it is not satisfied, it is updated
  • the currently processed antenna is the next antenna to be detected, and the next antenna to be detected is the next antenna of the currently processed antenna in the detection priority sequence.
  • Step 305 If yes, the electronic device detects the communication quality of the currently processed antenna, and detects whether the communication quality meets the switching condition; if it meets, the antenna switching operation is performed; if it does not, the jump is performed Frequency operation.
  • the electronic device when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system; if so, the screen state of the electronic device is detected, And determine the dynamic switching strategy of the four antennas according to the screen state, the screen state includes a horizontal screen state and a vertical screen state, and the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; Detecting the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performing an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference. It can be seen that, when detecting the electromagnetic interference between the radio frequency system and the camera, the electronic device of the embodiment of the present application can perform the antenna switching operation according to the current screen state to reduce or avoid electromagnetic interference.
  • the electronic device can sequentially detect the communication quality of the antenna according to the detection priority. If the communication quality of the antenna meets the switching condition, the antenna switching operation is performed; if it does not, the next antenna is detected; there is no need to always detect all antennas to avoid This wastes resources and improves the efficiency of antenna switching and the intelligence of electronic devices.
  • FIG. 4 is a schematic flowchart of an electromagnetic interference control method provided by an embodiment of the present application, which is applied to the electronic device shown in FIG. 1, as shown in the figure ,
  • This electromagnetic interference control method includes:
  • Step 401 When the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system.
  • Step 402 If yes, detect the screen status of the electronic device.
  • Step 403 The electronic device uses the screen state as a query identifier to query a mapping relationship to obtain a dynamic switching strategy corresponding to the screen state.
  • the mapping relationship includes a correspondence between the screen state and the dynamic switching strategy.
  • Step 404 The electronic device determines whether the currently processed antenna is the last antenna to be detected.
  • Step 406 If yes, the electronic device detects the communication quality of the currently processed antenna, and detects whether the communication quality meets the switching condition; if it meets, the antenna switching operation is performed; if it does not, the jump is performed Frequency operation.
  • the electronic device when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system; if so, the screen state of the electronic device is detected, And determine the dynamic switching strategy of the four antennas according to the screen state, the screen state includes a horizontal screen state and a vertical screen state, and the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; Detecting the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performing an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference. It can be seen that, when detecting the electromagnetic interference between the radio frequency system and the camera, the electronic device of the embodiment of the present application can perform the antenna switching operation according to the current screen state to reduce or avoid electromagnetic interference.
  • the electronic device can determine the probability of each antenna being blocked according to the stored grip records, and then generate a detection priority, which improves the intelligence of the electronic device. At the same time, when the electronic device performs antenna detection and switching operations according to the detection priority, Improve the efficiency of antenna switching.
  • the electronic device can sequentially detect the communication quality of the antenna according to the detection priority. If the communication quality of the antenna meets the switching condition, the antenna switching operation is performed; if it does not, the next antenna is detected; there is no need to always detect all antennas to avoid This wastes resources and improves the efficiency of antenna switching and the intelligence of electronic devices.
  • FIG. 5 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application.
  • the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, wherein the one or more programs 521 are stored in the above-mentioned memory 520 and are configured to be executed by the above-mentioned application processor 510,
  • the one or more programs 521 include instructions for performing the following steps;
  • the screen state includes a horizontal screen state and a vertical screen state
  • the dynamic switching strategy includes the The detection priority sequence and switching conditions of four antennas
  • the electronic device when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system; if so, the screen state of the electronic device is detected, And determine the dynamic switching strategy of the four antennas according to the screen state, the screen state includes a horizontal screen state and a vertical screen state, and the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; Detecting the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performing an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference. It can be seen that, when detecting the electromagnetic interference between the radio frequency system and the camera, the electronic device of the embodiment of the present application can perform the antenna switching operation according to the current screen state to reduce or avoid electromagnetic interference.
  • the instructions in the program are specifically used to perform the following operations: using the screen status as a query identifier, query A mapping relationship to obtain a dynamic switching strategy corresponding to the screen state, where the mapping relationship includes a correspondence between the screen state and the dynamic switching strategy.
  • the instructions in the program are also used to perform the following operations: acquire multiple grip records of the electronic device, and each grip record includes the screen status and grip Holding area; filtering out the first number of first holding records of the same screen state; determining each holding according to the holding area of each first holding record in the first number of first holding records Record the corresponding blocked antenna; according to the first number of first grip records and the blocked antenna corresponding to each first grip record, determine that each of the four antennas is in the The probability of being blocked in the same screen state; determining the detection priority sequence of the four antennas in the same screen state according to the probability of each antenna being blocked; according to the detection priority sequence and the switching condition Generate a dynamic switching strategy; create a correspondence between the same screen state and the dynamic switching strategy to form the mapping relationship.
  • the instructions in the program are also used to perform the following operations: determine the detection priority sequence of the four antennas in the same screen state according to the user's setting operation; The detection priority sequence and the switching condition generate a dynamic switching strategy; a correspondence between the same screen state and the dynamic switching strategy is created to form the mapping relationship.
  • the communication quality of at least one antenna other than the currently enabled antenna is detected according to the dynamic switching strategy, and an antenna switching operation is performed when the communication quality satisfies the switching condition to
  • the instructions in the program are specifically used to perform the following operations: determine whether the currently processed antenna is the last antenna to be detected; if not, detect the communication of the currently processed antenna Quality, and detect whether the communication quality meets the switching condition; if it meets, perform the antenna switching operation; if not, update the currently processed antenna to the next antenna to be detected, and the next one
  • the antenna to be detected is the next root antenna of the currently processed antenna in the detection priority sequence; if so, the communication quality of the currently processed antenna is detected, and whether the communication quality meets the switching condition is detected ; If satisfied, perform antenna switching operation; if not satisfied, perform frequency hopping operation.
  • the electronic device further includes: an application processor AP and a modem.
  • the instructions in the program are specifically used to execute The following operations: acquiring at least one detection value of a first frequency through the modem, and acquiring at least one detection value of a second frequency through the application processor AP, the first frequency being the communication frequency of the radio frequency system, The second frequency is the phase-locked loop PLL frequency of the camera; at least one detection value of the second frequency is sent to the modem by the application processor AP; the second frequency is received by the modem At least one detected value; the modem determines whether electromagnetic interference occurs between the radio frequency system of the electronic device and the display screen according to at least one detected value of the first frequency and at least one detected value of the second frequency.
  • the electronic device further includes: an application processor AP and a modem.
  • the instructions in the program are specifically used to execute The following operations: acquiring at least one detection value of a first frequency through the modem, and acquiring at least one detection value of a second frequency through the application processor AP, the first frequency being the communication frequency of the radio frequency system, The second frequency is the phase-locked loop PLL frequency of the camera; at least one detection value of the first frequency is sent to the application processor AP through the modem; the first signal is received through the application processor AP At least one detected value of a frequency; the application processor AP determines whether electromagnetic interference occurs between the radio frequency system of the electronic device and the display screen according to at least one detected value of the first frequency and at least one detected value of the second frequency interference.
  • 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. 6 is a block diagram of the functional units of the electromagnetic interference control device 600 involved in the embodiment of the present application.
  • the control device 600 is applied to electronic equipment, including a processing unit 601 and a communication unit 602, where,
  • the processing unit 601 is configured to detect whether electromagnetic interference occurs between the camera and the radio frequency system when it is detected that the camera of the electronic device is turned on; if it is, detect the screen state of the electronic device, and according to the The screen state determines the dynamic switching strategy of the four antennas.
  • the screen state includes a horizontal screen state and a vertical screen state.
  • the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; The switching strategy detects the communication quality of at least one antenna other than the currently enabled antenna through the communication unit 602, and performs an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference.
  • control device 600 may further include a storage unit 603 for storing program codes and data of electronic devices.
  • the processing unit 601 may be a processor
  • the communication unit 602 may be a touch screen or a transceiver
  • the storage unit 603 may be a memory.
  • the electronic device when the electronic device detects that the camera of the electronic device is turned on, it detects whether electromagnetic interference occurs between the camera and the radio frequency system; if so, the screen state of the electronic device is detected, And determine the dynamic switching strategy of the four antennas according to the screen state, the screen state includes a horizontal screen state and a vertical screen state, and the dynamic switching strategy includes a detection priority sequence and switching conditions of the four antennas; Detecting the communication quality of at least one antenna other than the currently enabled antenna according to the dynamic switching strategy, and performing an antenna switching operation when the communication quality meets the switching condition to avoid or reduce the electromagnetic interference. It can be seen that, when detecting the electromagnetic interference between the radio frequency system and the camera, the electronic device of the embodiment of the present application can perform the antenna switching operation according to the current screen state to reduce or avoid electromagnetic interference.
  • the processing unit 601 is specifically configured to: use the screen state as a query identifier, query a mapping relationship, and obtain The dynamic switching strategy corresponding to the screen state, and the mapping relationship includes a correspondence between the screen state and the dynamic switching strategy.
  • the processing unit 601 is further configured to: obtain multiple grip records of the electronic device, each grip record including a screen state and a grip area; screening A first number of first grip records in the same screen state; according to the grip area of each first grip record in the first number of first grip records, determine the corresponding Blocked antenna; according to the first number of first grip records and the blocked antenna corresponding to each first grip record, determine that each of the four antennas is in the same screen state The probability of being blocked; the detection priority sequence of the four antennas in the same screen state is determined according to the probability that each antenna is blocked; a dynamic switching strategy is generated according to the detection priority sequence and the switching conditions ; Create a correspondence between the same screen state and the dynamic switching strategy to form the mapping relationship.
  • the processing unit 601 is further configured to: determine the detection priority sequence of the four antennas in the same screen state according to the user's setting operation; according to the detection priority The level sequence and the switching conditions generate a dynamic switching strategy; a correspondence between the same screen state and the dynamic switching strategy is created to form the mapping relationship.
  • the communication quality of at least one antenna other than the currently enabled antenna is detected according to the dynamic switching strategy, and an antenna switching operation is performed when the communication quality satisfies the switching condition to
  • the processing unit 601 is specifically configured to: determine whether the currently processed antenna is the last antenna to be detected; if not, check the communication quality of the currently processed antenna and detect Whether the communication quality satisfies the switching condition; if it meets, the antenna switching operation is performed; if it does not, the currently processed antenna is updated to the next antenna to be detected, and the next antenna to be detected Is the next root antenna of the currently processed antenna in the detection priority sequence; if it is, then the communication quality of the currently processed antenna is detected, and whether the communication quality meets the switching condition is detected; if it is satisfied, Then perform the antenna switching operation; if not satisfied, perform the frequency hopping operation.
  • the electronic device further includes: an application processor AP and a modem.
  • the processing unit 601 is specifically configured to: The modem modem obtains at least one detection value of a first frequency, and obtains at least one detection value of a second frequency through the application processor AP, the first frequency is a communication frequency of the radio frequency system, and the second frequency Is the phase-locked loop PLL frequency of the camera; sending at least one detection value of the second frequency to the modem through the application processor AP; receiving at least one detection of the second frequency through the modem Value; the modem modem determines whether electromagnetic interference occurs between the radio frequency system of the electronic device and the display screen according to at least one detected value of the first frequency and at least one detected value of the second frequency.
  • the electronic device further includes: an application processor AP and a modem.
  • the processing unit 601 is specifically configured to: The modem modem obtains at least one detection value of a first frequency, and obtains at least one detection value of a second frequency through the application processor AP, the first frequency is a communication frequency of the radio frequency system, and the second frequency Is the phase-locked loop PLL frequency of the camera; sending at least one detection value of the first frequency to the application processor AP through the modem; receiving at least one of the first frequency through the application processor AP A detection value; the application processor AP determines whether electromagnetic interference occurs between the radio frequency system of the electronic device and the display screen according to at least one detection value of the first frequency and at least one detection value of the second frequency.
  • An embodiment of the present application further provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to perform part or all of the steps of any method described in the above method embodiments ,
  • the aforementioned computer includes electronic devices.
  • An embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium that stores the computer program, and the computer program is operable to cause the computer to perform any of the methods described in the foregoing method embodiments Some or all steps of the method.
  • the computer program product may be a software installation package, and the computer includes an electronic device.
  • the disclosed device may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the above-mentioned units is only a division of logical functions.
  • there may be other division methods for example, multiple units or components may be combined or integrated To another system, or some features can be ignored, or not implemented.
  • 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 may be implemented in the form of hardware or software functional unit.
  • the above integrated unit is implemented in the form of a software functional unit 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, a server, or a network device, etc.) to perform all or part of the steps of the above methods in various embodiments of the present application.
  • the aforementioned memory includes: U disk, read-only memory (ROM, ReaP-Only Memory), random access memory (RAM, RanPom Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
  • the program may be stored in a computer-readable memory, and the memory may include: a flash disk , Read-only memory (English: ReaP-Only Memory, referred to as: ROM), random access device (English: RanPom Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
  • ROM Read-only memory
  • RAM Random access device
  • magnetic disk or optical disk etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Radio Transmission System (AREA)
  • Telephone Function (AREA)

Abstract

本申请实施例公开了电磁干扰控制方法及相关装置,方法包括:当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略;按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。本申请实施例有利于降低或者避免电磁干扰。

Description

电磁干扰控制方法及相关装置 技术领域
本申请涉及电子设备技术领域,具体涉及一种电磁干扰控制的方法及相关装置。
背景技术
生活中,电子设备的摄像头与射频系统同时工作时,射频系统的某些频段的工作频率可能会对摄像头产生电磁干扰,导致摄像头预览和拍照时出现花屏或者卡顿现象。现有技术中,通过在摄像头信号传输走线上增加屏蔽防护,以减少射频系统对摄像头的电磁干扰,但是,这种通过改善硬件的方式会增加电子设备的成本以及增加电子设备的体积,不够灵活、智能。
发明内容
本申请实施例提供了一种电磁干扰控制方法及相关装置,以期实现电子设备进行电磁干扰控制的灵活性与智能性。
第一方面,本申请实施例提供一种电磁干扰控制方法,应用于电子设备,所述电子设备包括所述电子设备包括四根天线,所述方法包括:
当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;
若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;
按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
第二方面,本申请实施例提供一种电磁干扰控制装置,应用于电子设备,所述电磁干扰控制装置包括处理单元和通信单元,其中,所述处理单元,用于当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略通过所述通信单元检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。
可以看出,本申请实施例中,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状 态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。可见,本申请实施例的电子设备在检测到射频系统与摄像头之间的电磁干扰时,能够根据当前的屏幕状态执行天线切换操作以降低或者避免电磁干扰,提高电子设备进行电磁干扰控制的灵活性与智能性。
附图说明
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的一种电子设备的结构示意图;
图2是本申请实施例提供的一种电磁干扰控制方法的流程示意图;
图3是本申请实施例提供的另一种电磁干扰控制方法的流程示意图;
图4是本申请实施例提供的另一种电磁干扰控制方法的流程示意图;
图5是本申请实施例提供的另一种电子设备的结构示意图;
图6是本申请实施例提供的一种电磁干扰控制装置的功能单元组成框图。
具体实施方式
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。
如图1所示,本申请实施例所涉及到的电子设备1000包括应用处理器AP1100、调制解调器Modem1200、摄像头1300和射频系统1400,所述射频系统1400包括射频收发器1410、射频处理电路1420和4根天线1431、1432、1433、1434,所述AP1100连接所述Modem1200和所述摄像头1300,所述Modem1200连接所述射频收发器1410,所述射频收发器1410连接所述射频处理电路1420,所述射频处理电路1420连接所述4根天线。
上述电子设备可以包括各种手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),电子设备(terminal Pevice)等等。
本申请实施例提出一种电磁干扰控制方法,下面结合附图对本申请实施例进行详细介绍。
请参阅图2,图2是本申请实施例提供了一种电磁干扰控制方法的流程示意图,应用于如图1所示的电子设备,如图所示,本控制方法包括:
步骤201,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰。
其中,电磁干扰是指在摄像头与射频系统同时工作时,当射频系统处于某个工作频段时,对摄像头产生干扰。可以通过动态比对检测所述摄像头的锁相环(Phase-locked loops,PLL)频率(即摄像头的工作频率)与所述电子设备的射频系统的工作频率来确定两者是否发生电磁干扰,例如,直接获取摄像头的当前工作频率与射频系统的当前工作频率,若两者根据预设规则能够匹配的情况下,则认为射频系统与摄像头之间产生了电磁干扰,也可以通过静态查表检测所述摄像头与所述电子设备的射频系统是否发生电磁干扰,例如,在电子设备中预先建立电磁干扰频率列表,获取射频系统的当前工作频率,如果该工作频率在电磁干扰频率列表中,则认为射频系统与摄像头之间产生了电磁干扰。
步骤202,若是,则上述电子设备检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件。
其中,所述电子设备外围的边框具有人手握持检测装置,当电子设备处于横屏或竖屏状态且电子设备处于亮屏工作状态时,所述人手握持检测装置将检测当前用户的握持区域,检测出握持区域后电子设备首先确定当前的系统时间并结合当前的屏幕状态生成握持记录。当所述人手握持检测装置检测到用户的握持区域发生变化时,首先确定上一握持区域的握持时间并保存至上一握持区域生成的握持记录中,将重新检测用户的握持区域并执行上述循环操作。因此将会生成大量的握持记录,根据同一屏幕状态下每个握持记录中的握持区域和握持时间确定上述四根天线被遮挡的次数并生成检测优先级序列。
步骤203,所述电子设备按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
其中,电子设备根据动态切换策略中的检测优先级对四根天线逐一检测,当根据检测优先级序列轮到检测所述当前启用的天线时,则跳过当前启用的天线,检测所述检测优先级序列中当前启用的天线之后的一根天线。
可以看出,本申请实施例中,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。可见,本申请实施例的电子设备在检测到射频系统与摄像头之间的电磁干扰时,能够根据当前的屏幕状态执行天线切换操作以降低或者避免电磁干扰。
在一个可能的示例中,所述电子设备根据所述屏幕状态确定所述四根天线的动态切换策略,包括:以所述屏幕状态为查询标识,查询映射关系,获取所述屏幕状态对应的动态切换策略,所述映射关系包括屏幕状态与动态切换策略之间的对应关系。
其中,屏幕状态包括横屏状态和竖屏状态,映射关系包括横屏状态与横屏状态对应的动态切换策略之间的映射关系和竖屏状态与竖屏状态对应的动态切换策略之间的映射关系。其中,横屏状态和竖屏状态对应的动态切换策略不同的原因为:当用户在横屏握持电子设备或竖屏握持电子设备时,握持的区域不同,对不同位置的天线的影响大小不同。
举例来说,当电子设备检测出屏幕状态为横屏状态时,电子设备查询映射关系获取横 屏状态对应的横屏状态下的横屏天线切换策略;当电子设备检测出屏幕状态为竖屏状态时,电子设备查询映射关系获取竖屏状态对应的竖屏状态下的竖屏天线切换策略。
可见,本示例中,电子设备可根据当前的屏幕状态查询映射关系确定动态切换策略,提高了天线的切换效率。
在一个可能的示例中,所述电子设备查询映射关系之前,所述方法还包括:获取所述电子设备的多个握持记录,每个握持记录包括屏幕状态和握持区域;筛选出相同屏幕状态的第一数量的第一握持记录;根据所述第一数量的第一握持记录中每个第一握持记录的握持区域确定所述每个握持记录对应的被遮挡的天线;根据所述第一数量的第一握持记录和所述每个第一握持记录对应的被遮挡的天线,确定所述四根天线中每根天线在所述相同屏幕状态下被遮挡的概率;根据所述每根天线被遮挡的概率确定所述四根天线在所述相同屏幕状态下的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
其中,每次握持记录中还包括每次握持区域的握持时间,电子设备可根据相同屏幕状态下每次握持区域和握持时间确定对应区域在相同屏幕状态下握持的总时间,将对应区域握持的总时间除以电子设备在相同屏幕状态下总的握持时间可得到对应区域在相同屏幕状态下被握持的概率,进而得到握持对应区域时遮挡的天线的被遮挡的概率。可选的,也可不根据时间确定,只根据每次握持的区域和握持次数确定对应区域被握持的概率,进而确定握持对应区域遮挡的天线的被遮挡概率。
可见,本示例中,电子设备可根据存储的握持记录确定每根天线被遮挡的概率,进而生成检测优先级,提高了电子设备的智能性,同时电子设备根据检测优先级进行天线的检测和切换操作时,提高了天线切换的效率。
在一个可能的示例中,所述电子设备查询映射关系之前,所述方法还包括:电子设备根据用户的设置操作确定相同屏幕状态下所述四根天线的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
其中,用户可通过电子设备的交互界面进行设置操作,交互界面在设置时可实时显示用户当前握持姿势会遮挡的天线,进而使用户得知用户在使用常用的握持方式握持电子设备时会遮挡的天线,进而根据得到的情况设置检测优先级。
可见,本示例中,用户可自定义设置检测优先级,提高了电子设备的智能性,同时电子设备根据上述检测优先级进行天线的检测和切换操作时,提高了天线切换的效率,避免了不必要的资源浪费,例如电子设备的电量和天线执行检测操作过程的损耗。
在一个可能的示例中,所述电子设备按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰,包括:电子设备确定当前处理的天线是否为最后一根待检测的天线;若否,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一个根天线;若是,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
其中,当电子设备根据动态切换策略执行检测操作时,根据检测优先级序列依次进行检测,当轮到所述当前启用的天线时则跳过,检测所述检测优先级序列中的下一根天线。
举例来说,当前启用的天线在检测优先级序列中排在第二位,电子设备根据所述检测优先级序列确定排在检测优先级序列第一位的天线为当前处理的天线,判断排在检测优先级序列第一位的天线不是最后一根待检测的天线,则检测排在检测优先级序列第一位的天 线的通信质量,若通信质量满足切换条件则结束检测操作,执行天线切换操作。若不满足,根据检测优先级序列应检测所述当前启用的天线,则跳过;检测排在检测优先级序列第三位的天线,确定不是最后一根待检测的天线,则检测排在检测优先级序列第三位的天线的通信质量,若通信质量满足切换条件则结束检测操作,执行天线切换操作。若不满足,根据检测优先级序列应检测排在第四位的天线,确定是最后一根待检测的天线,检测通信质量,若通信质量满足切换条件则执行天线切换操作。若不满足,则执行跳频操作。
可见,本示例中,电子设备可根据检测优先级依次检测天线的通信质量,若天线的通信质量满足切换条件则执行天线切换操作;若不满足,则检测下一根天线;无需总是检测所有的天线,避免了资源的浪费,提高了天线切换的效率和电子设备的智能性。
在一个可能的示例中,所述电子设备还包括:应用处理器AP和调制解调器modem,所述检测所述摄像头与所述射频系统是否发生电磁干扰,包括:电子设备通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述应用处理器AP向所述调制解调器modem发送所述第二频率的至少一个检测值;通过所述调制解调器modem接收所述第二频率的至少一个检测值;所述调制解调器modem根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
在一个可能的示例中,所述电子设备还包括:应用处理器AP和调制解调器modem,所述检测所述摄像头与所述射频系统是否发生电磁干扰,包括:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述调制解调器modem向所述应用处理器AP发送所述第一频率的至少一个检测值;通过所述应用处理器AP接收所述第一频率的至少一个检测值;所述应用处理器AP根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的另一种电磁干扰控制方法的流程示意图,应用于电子设备,如图所示,本电磁干扰控制方法包括:
步骤301、当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰。
步骤302、若是,则所述电子设备检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件。
步骤303、所述电子设备确定当前处理的天线是否为最后一根待检测的天线。
步骤304、若否,则所述电子设备检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一根天线。
步骤305、若是,则所述电子设备检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
可以看出,本申请实施例中,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照 所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。可见,本申请实施例的电子设备在检测到射频系统与摄像头之间的电磁干扰时,能够根据当前的屏幕状态执行天线切换操作以降低或者避免电磁干扰。
此外,电子设备可根据检测优先级依次检测天线的通信质量,若天线的通信质量满足切换条件则执行天线切换操作;若不满足,则检测下一根天线;无需总是检测所有的天线,避免了资源的浪费,提高了天线切换的效率和电子设备的智能性。
与上述图2所示的实施例一致的,请参阅4,图4是本申请实施例提供的一种电磁干扰控制方法的流程示意图,应用于如图1所述的电子设备,如图所示,本电磁干扰控制方法包括:
步骤401、当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰。
步骤402、若是,则检测所述电子设备的屏幕状态。
步骤403、所述电子设备以所述屏幕状态为查询标识,查询映射关系,获取所述屏幕状态对应的动态切换策略,所述映射关系包括屏幕状态与动态切换策略之间的对应关系。
步骤404、所述电子设备确定当前处理的天线是否为最后一根待检测的天线。
步骤405、若否,则所述电子设备检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一个根天线。
步骤406、若是,则所述电子设备检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
可以看出,本申请实施例中,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。可见,本申请实施例的电子设备在检测到射频系统与摄像头之间的电磁干扰时,能够根据当前的屏幕状态执行天线切换操作以降低或者避免电磁干扰。
此外,电子设备可根据存储的握持记录确定每根天线被遮挡的概率,进而生成检测优先级,提高了电子设备的智能性,同时电子设备根据检测优先级进行天线的检测和切换操作时,提高了天线切换的效率。
此外,电子设备可根据检测优先级依次检测天线的通信质量,若天线的通信质量满足切换条件则执行天线切换操作;若不满足,则检测下一根天线;无需总是检测所有的天线,避免了资源的浪费,提高了天线切换的效率和电子设备的智能性。
与上述图2、图3、图4所示的实施例一致的,请参阅图5,图5是本申请实施例提供的一种电子设备500的结构示意图,如图所示,所述电子设备500包括应用处理器510、存储器520、通信接口530以及一个或多个程序521,其中,所述一个或多个程序521被存储在上述存储器520中,并且被配置由上述应用处理器510执行,所述一个或多个程序521包括用于执行以下步骤的指令;
当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;
若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;
按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
可以看出,本申请实施例中,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。可见,本申请实施例的电子设备在检测到射频系统与摄像头之间的电磁干扰时,能够根据当前的屏幕状态执行天线切换操作以降低或者避免电磁干扰。
在一个可能的示例中,在所述根据所述屏幕状态确定所述四根天线的动态切换策略方面,所述程序中的指令具体用于执行以下操作:以所述屏幕状态为查询标识,查询映射关系,获取所述屏幕状态对应的动态切换策略,所述映射关系包括屏幕状态与动态切换策略之间的对应关系。
在一个可能的示例中,在所述查询映射关系之前,所述程序中的指令还用于执行以下操作:获取所述电子设备的多个握持记录,每个握持记录包括屏幕状态和握持区域;筛选出相同屏幕状态的第一数量的第一握持记录;根据所述第一数量的第一握持记录中每个第一握持记录的握持区域确定所述每个握持记录对应的被遮挡的天线;根据所述第一数量的第一握持记录和所述每个第一握持记录对应的被遮挡的天线,确定所述四根天线中每根天线在所述相同屏幕状态下被遮挡的概率;根据所述每根天线被遮挡的概率确定所述四根天线在所述相同屏幕状态下的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
在一个可能的示例中,所述电查询映射关系之前,所述程序中的指令还用于执行以下操作:根据用户的设置操作确定相同屏幕状态下所述四根天线的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
在一个可能的示例中,在所述按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰方面,所述程序中的指令具体用于执行以下操作:确定当前处理的天线是否为最后一根待检测的天线;若否,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一个根天线;若是,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
在一个可能的示例中,所述电子设备还包括:应用处理器AP和调制解调器modem,在所述检测所述摄像头与所述射频系统是否发生电磁干扰方面,所述程序中的指令具体用于执行以下操作:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述应用处理器AP向所述调制 解调器modem发送所述第二频率的至少一个检测值;通过所述调制解调器modem接收所述第二频率的至少一个检测值;所述调制解调器modem根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
在一个可能的示例中,所述电子设备还包括:应用处理器AP和调制解调器modem,在所述检测所述摄像头与所述射频系统是否发生电磁干扰方面,所述程序中的指令具体用于执行以下操作:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述调制解调器modem向所述应用处理器AP发送所述第一频率的至少一个检测值;通过所述应用处理器AP接收所述第一频率的至少一个检测值;所述应用处理器AP根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
图6是本申请实施例中所涉及的电磁干扰控制装置600的功能单元组成框图。该控制装置600应用于电子设备,包括处理单元601和通信单元602,其中,
所述处理单元601,用于当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略通过所述通信单元602检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
其中,所述控制装置600还可以包括存储单元603,用于存储电子设备的程序代码和数据。所述处理单元601可以是处理器,所述通信单元602可以是触控显示屏或者收发器,存储单元603可以是存储器。
可以看出,本申请实施例中,当电子设备检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。可见,本申请实施例的电子设备在检测到射频系统与摄像头之间的电磁干扰时,能够根据当前的屏幕状态执行天线切换操作以降低或者避免电磁干扰。
在一个可能的示例中,在所述根据所述屏幕状态确定所述四根天线的动态切换策略方面,所述处理单元601具体用于:以所述屏幕状态为查询标识,查询映射关系,获取所述 屏幕状态对应的动态切换策略,所述映射关系包括屏幕状态与动态切换策略之间的对应关系。
在一个可能的示例中,在所述查询映射关系之前,所述处理单元601还用于:获取所述电子设备的多个握持记录,每个握持记录包括屏幕状态和握持区域;筛选出相同屏幕状态的第一数量的第一握持记录;根据所述第一数量的第一握持记录中每个第一握持记录的握持区域确定所述每个握持记录对应的被遮挡的天线;根据所述第一数量的第一握持记录和所述每个第一握持记录对应的被遮挡的天线,确定所述四根天线中每根天线在所述相同屏幕状态下被遮挡的概率;根据所述每根天线被遮挡的概率确定所述四根天线在所述相同屏幕状态下的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
在一个可能的示例中,所述电查询映射关系之前,所述处理单元601还用于:根据用户的设置操作确定相同屏幕状态下所述四根天线的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
在一个可能的示例中,在所述按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰方面,所述处理单元601具体用于:确定当前处理的天线是否为最后一根待检测的天线;若否,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一个根天线;若是,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
在一个可能的示例中,所述电子设备还包括:应用处理器AP和调制解调器modem,在所述检测所述摄像头与所述射频系统是否发生电磁干扰方面,所述处理单元601具体用于:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述应用处理器AP向所述调制解调器modem发送所述第二频率的至少一个检测值;通过所述调制解调器modem接收所述第二频率的至少一个检测值;所述调制解调器modem根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
在一个可能的示例中,所述电子设备还包括:应用处理器AP和调制解调器modem,在所述检测所述摄像头与所述射频系统是否发生电磁干扰方面,所述处理单元601具体用于:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述调制解调器modem向所述应用处理器AP发送所述第一频率的至少一个检测值;通过所述应用处理器AP接收所述第一频率的至少一个检测值;所述应用处理器AP根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实 施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,ReaP-Only Memory)、随机存取存储器(RAM,RanPom Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:ReaP-Only Memory,简称:ROM)、随机存取器(英文:RanPom Access Memory,简称:RAM)、磁盘或光盘等。
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种电磁干扰控制方法,其特征在于,应用于电子设备,所述电子设备包括四根天线,所述方法包括:
    当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;
    若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;
    按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述屏幕状态确定所述四根天线的动态切换策略,包括:
    以所述屏幕状态为查询标识,查询映射关系,获取所述屏幕状态对应的动态切换策略,所述映射关系包括屏幕状态与动态切换策略之间的对应关系。
  3. 根据权利要求2所述的方法,其特征在于,所述查询映射关系之前,所述方法还包括:
    获取所述电子设备的多个握持记录,每个握持记录包括屏幕状态和握持区域;
    筛选出相同屏幕状态的第一数量的第一握持记录;
    根据所述第一数量的第一握持记录中每个第一握持记录的握持区域确定所述每个握持记录对应的被遮挡的天线;
    根据所述第一数量的第一握持记录和所述每个第一握持记录对应的被遮挡的天线,确定所述四根天线中每根天线在所述相同屏幕状态下被遮挡的概率;
    根据所述每根天线被遮挡的概率确定所述四根天线在所述相同屏幕状态下的检测优先级序列;
    根据所述检测优先级序列和所述切换条件生成动态切换策略;
    创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
  4. 根据权利要求2所述的方法,其特征在于,所述查询映射关系之前,所述方法还包括:
    根据用户的设置操作确定相同屏幕状态下所述四根天线的检测优先级序列;
    根据所述检测优先级序列和所述切换条件生成动态切换策略;
    创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰,包括:
    确定当前处理的天线是否为最后一根待检测的天线;
    若否,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一个根天线;
    若是,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述电子设备还包括:应用处理器AP和调制解调器modem,所述检测所述摄像头与所述射频系统是否发生电磁干扰, 包括:
    通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;
    通过所述应用处理器AP向所述调制解调器modem发送所述第二频率的至少一个检测值;
    通过所述调制解调器modem接收所述第二频率的至少一个检测值;
    所述调制解调器modem根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,所述电子设备还包括:应用处理器AP和调制解调器modem,所述检测所述摄像头与所述射频系统是否发生电磁干扰,包括:
    通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;
    通过所述调制解调器modem向所述应用处理器AP发送所述第一频率的至少一个检测值;
    通过所述应用处理器AP接收所述第一频率的至少一个检测值;
    所述应用处理器AP根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
  8. 根据权利要求1所述的方法,其特征在于,所述检测所述摄像头与射频系统是否发生电磁干扰,包括:
    获取所述摄像头的当前工作频率与所述射频系统的当前工作频率,若所述摄像头的当前工作频率与所述射频系统的当前工作频率根据预设规则能够匹配的情况下,则认为所述射频系统与所述摄像头之间产生了电磁干扰;或者,
    通过静态查表检测所述摄像头与所述射频系统是否发生电磁干扰。
  9. 根据权利要求1所述的方法,其特征在于,所述四根天线的检测优先级序列根据同一屏幕状态下每个握持记录中的握持区域和握持时间确定所述四根天线被遮挡的次数并生成。
  10. 一种电磁干扰控制装置,其特征在于,应用于电子设备,所述电磁干扰控制装置包括处理单元和通信单元,其中,
    所述处理单元,用于当检测到所述电子设备的摄像头处于开启状态时,检测所述摄像头与射频系统是否发生电磁干扰;若是,则检测所述电子设备的屏幕状态,并根据所述屏幕状态确定所述四根天线的动态切换策略,所述屏幕状态包括横屏状态和竖屏状态,所述动态切换策略包括所述四根天线的检测优先级序列以及切换条件;按照所述动态切换策略通过所述通信单元检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰。
  11. 根据权利要求10所述的装置,其特征在于,在所述根据所述屏幕状态确定所述四根天线的动态切换策略方面,所述程序中的指令具体用于执行以下操作:以所述屏幕状态为查询标识,查询映射关系,获取所述屏幕状态对应的动态切换策略,所述映射关系包括屏幕状态与动态切换策略之间的对应关系。
  12. 根据权利要求11所述的装置,其特征在于,在所述查询映射关系之前,所述程序中的指令还用于执行以下操作:获取所述电子设备的多个握持记录,每个握持记录包括屏幕状态和握持区域;筛选出相同屏幕状态的第一数量的第一握持记录;根据所述第一数量 的第一握持记录中每个第一握持记录的握持区域确定所述每个握持记录对应的被遮挡的天线;根据所述第一数量的第一握持记录和所述每个第一握持记录对应的被遮挡的天线,确定所述四根天线中每根天线在所述相同屏幕状态下被遮挡的概率;根据所述每根天线被遮挡的概率确定所述四根天线在所述相同屏幕状态下的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
  13. 根据权利要求11所述的装置,其特征在于,所述电查询映射关系之前,所述程序中的指令还用于执行以下操作:根据用户的设置操作确定相同屏幕状态下所述四根天线的检测优先级序列;根据所述检测优先级序列和所述切换条件生成动态切换策略;创建所述相同屏幕状态与所述动态切换策略之间的对应关系以形成所述映射关系。
  14. 根据权利要求10-13任一项所述的装置,其特征在于,在所述按照所述动态切换策略检测除当前启用的天线之外的至少一根天线的通信质量,并在所述通信质量满足所述切换条件时执行天线切换操作以避免或者降低所述电磁干扰方面,所述程序中的指令具体用于执行以下操作:确定当前处理的天线是否为最后一根待检测的天线;若否,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则更新所述当前处理的天线为下一根待检测的天线,所述下一根待检测的天线为所述检测优先级序列中所述当前处理的天线的下一个根天线;若是,则检测所述当前处理的天线的通信质量,并检测所述通信质量是否满足所述切换条件;若满足,则执行天线切换操作;若不满足,则执行跳频操作。
  15. 根据权利要求10-14任一项所述的装置,其特征在于,所述电子设备还包括:应用处理器AP和调制解调器modem,在所述检测所述摄像头与所述射频系统是否发生电磁干扰方面,所述程序中的指令具体用于执行以下操作:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述应用处理器AP向所述调制解调器modem发送所述第二频率的至少一个检测值;通过所述调制解调器modem接收所述第二频率的至少一个检测值;所述调制解调器modem根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
  16. 根据权利要求10-14任一项所述的装置,其特征在于,所述电子设备还包括:应用处理器AP和调制解调器modem,在所述检测所述摄像头与所述射频系统是否发生电磁干扰方面,所述程序中的指令具体用于执行以下操作:通过所述调制解调器modem获取第一频率的至少一个检测值,通过所述应用处理器AP获取第二频率的至少一个检测值,所述第一频率为所述射频系统的通信频率,所述第二频率为所述摄像头的锁相环PLL频率;通过所述调制解调器modem向所述应用处理器AP发送所述第一频率的至少一个检测值;通过所述应用处理器AP接收所述第一频率的至少一个检测值;所述应用处理器AP根据所述第一频率的至少一个检测值和所述第二频率的至少一个检测值确定所述电子设备的射频系统与显示屏是否发生电磁干扰。
  17. 根据权利要求10所述的装置,其特征在于,在所述检测所述摄像头与射频系统是否发生电磁干扰方面,所述程序中的指令具体用于执行以下操作:获取所述摄像头的当前工作频率与所述射频系统的当前工作频率,若所述摄像头的当前工作频率与所述射频系统的当前工作频率根据预设规则能够匹配的情况下,则认为所述射频系统与所述摄像头之间产生了电磁干扰;或者,
    通过静态查表检测所述摄像头与所述射频系统是否发生电磁干扰。
  18. 根据权利要求10所述的装置,其特征在于,所述四根天线的检测优先级序列根据 同一屏幕状态下每个握持记录中的握持区域和握持时间确定所述四根天线被遮挡的次数并生成。
  19. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-7任一项所述的方法中的步骤的指令。
  20. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-7任一项所述的方法。
PCT/CN2019/111970 2018-12-04 2019-10-18 电磁干扰控制方法及相关装置 WO2020114103A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP19893236.0A EP3890215A4 (en) 2018-12-04 2019-10-18 ELECTROMAGNETIC INTERFERENCE CONTROL METHOD AND ASSOCIATED APPARATUS
US17/337,422 US20210289108A1 (en) 2018-12-04 2021-06-03 Electromagnetic interference control method and related electromagnetic interference control device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811472836.6A CN109743119B (zh) 2018-12-04 2018-12-04 电磁干扰控制方法及相关装置
CN201811472836.6 2018-12-04

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/337,422 Continuation US20210289108A1 (en) 2018-12-04 2021-06-03 Electromagnetic interference control method and related electromagnetic interference control device

Publications (1)

Publication Number Publication Date
WO2020114103A1 true WO2020114103A1 (zh) 2020-06-11

Family

ID=66358477

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/111970 WO2020114103A1 (zh) 2018-12-04 2019-10-18 电磁干扰控制方法及相关装置

Country Status (4)

Country Link
US (1) US20210289108A1 (zh)
EP (1) EP3890215A4 (zh)
CN (2) CN109743119B (zh)
WO (1) WO2020114103A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743119B (zh) * 2018-12-04 2020-10-20 Oppo广东移动通信有限公司 电磁干扰控制方法及相关装置
CN112615136A (zh) * 2019-09-18 2021-04-06 华为技术有限公司 多天线系统及电子设备
CN112040065A (zh) * 2020-09-29 2020-12-04 努比亚技术有限公司 一种握持状态提示方法、移动终端以及计算机存储介质
CN113163145B (zh) * 2021-03-22 2023-10-31 维沃移动通信有限公司 时钟频率切换方法、装置、电子设备以及可读存储介质
CN115801079A (zh) * 2021-09-10 2023-03-14 中兴通讯股份有限公司 天线的切换方法、装置、设备及存储介质
CN114498028B (zh) * 2022-01-25 2023-03-24 荣耀终端有限公司 数据传输方法、装置、设备及存储介质
CN114422705B (zh) * 2022-02-10 2024-04-23 维沃移动通信有限公司 电子设备及其控制方法、装置
WO2024080732A1 (ko) * 2022-10-14 2024-04-18 삼성전자 주식회사 기준 신호를 송신하는 전자 장치 및 그 동작 방법
CN116669153B (zh) * 2022-12-09 2023-10-20 荣耀终端有限公司 发射功率回退方法、终端设备和计算机可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160173151A1 (en) * 2014-12-16 2016-06-16 Kabushiki Kaisha Toshiba Receiving device, communication system, and interference detection method
CN107483092A (zh) * 2017-07-27 2017-12-15 广东欧珀移动通信有限公司 天线切换方法、装置及终端
CN108600520A (zh) * 2018-03-30 2018-09-28 努比亚技术有限公司 接收状态控制方法、移动终端及计算机可读存储介质
CN109743119A (zh) * 2018-12-04 2019-05-10 Oppo广东移动通信有限公司 电磁干扰控制方法及相关装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104683540B (zh) * 2013-11-26 2018-03-09 深圳市金立通信设备有限公司 一种改善通讯终端信号质量的方法及终端
CN106385474A (zh) * 2016-10-31 2017-02-08 努比亚技术有限公司 一种终端天线切换装置及其方法
CN106936515A (zh) * 2017-05-09 2017-07-07 广东欧珀移动通信有限公司 射频干扰处理方法、存储介质及终端
CN108093134B (zh) * 2017-12-15 2020-09-22 Oppo广东移动通信有限公司 电子设备的抗干扰方法及相关产品
CN108540152B (zh) * 2018-03-12 2020-10-09 Oppo广东移动通信有限公司 射频干扰的处理方法、装置、存储介质及电子设备
CN108494957A (zh) * 2018-03-13 2018-09-04 广东欧珀移动通信有限公司 天线切换方法、装置、存储介质和电子设备
CN108512625B (zh) * 2018-03-28 2023-12-08 努比亚技术有限公司 摄像头的抗干扰方法、移动终端及存储介质
CN108649990A (zh) * 2018-03-29 2018-10-12 努比亚技术有限公司 射频干扰处理方法及移动终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160173151A1 (en) * 2014-12-16 2016-06-16 Kabushiki Kaisha Toshiba Receiving device, communication system, and interference detection method
CN107483092A (zh) * 2017-07-27 2017-12-15 广东欧珀移动通信有限公司 天线切换方法、装置及终端
CN108600520A (zh) * 2018-03-30 2018-09-28 努比亚技术有限公司 接收状态控制方法、移动终端及计算机可读存储介质
CN109743119A (zh) * 2018-12-04 2019-05-10 Oppo广东移动通信有限公司 电磁干扰控制方法及相关装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3890215A4 *

Also Published As

Publication number Publication date
CN112187376B (zh) 2022-05-31
US20210289108A1 (en) 2021-09-16
CN112187376A (zh) 2021-01-05
EP3890215A1 (en) 2021-10-06
CN109743119A (zh) 2019-05-10
EP3890215A4 (en) 2022-02-16
CN109743119B (zh) 2020-10-20

Similar Documents

Publication Publication Date Title
WO2020114103A1 (zh) 电磁干扰控制方法及相关装置
US10341569B2 (en) Method and apparatus for varying focal length of camera device, and camera device
WO2020114009A1 (zh) 电磁干扰控制方法及相关装置
WO2020114023A1 (zh) 电磁干扰控制方法及相关装置
US11172433B2 (en) Network search display method for terminal device, apparatus, and terminal device
US11246168B2 (en) Method for random access and terminal device
CN108093134A (zh) 电子设备的抗干扰方法及相关产品
CN108322450A (zh) 使用多种协议进行通信的方法及其电子设备
CN104837214B (zh) 电子装置和将电子装置连接到网络的方法
WO2020098388A1 (zh) 电磁干扰的调整方法及相关产品
EP3553663A1 (en) Message reminding method for terminal, and terminal
CN109391444A (zh) 一种bwp的激活控制方法、用户设备及基站
CN107682338A (zh) 获取、处理配置信息的方法、装置和系统
CN105491135B (zh) 建立数据连接的方法及装置
CN105847168A (zh) 一种数据传输的方法、网络服务器、用户终端及系统
CN108093135A (zh) 电子设备的抗干扰方法及相关产品
CN105517126B (zh) 一种通信终端中的频段处理方法、装置及通信终端
CN110266343B (zh) 天线切换方法及相关设备
WO2018228313A1 (zh) 信息传输方法、基站、移动终端及计算机可读存储介质
WO2020119230A1 (zh) 电磁干扰控制方法及相关产品
CN109348055A (zh) 显示控制方法及相关产品
EP4064760A1 (en) Device control method and apparatus, storage medium and electronic device
US10355789B2 (en) Interference reduction method and apparatus
CN108200285B (zh) 减少干扰的拍照方法、移动终端及计算机可读存储介质
CN109379093A (zh) 一种调节信号频率的方法、装置、电路及电子设备

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: 19893236

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019893236

Country of ref document: EP

Effective date: 20210705