Camera control method, electronic device and storage medium

By using clock signals of different frequencies for different cameras in electronic devices, ensuring that the frequencies are different and there is no integer multiple relationship, the problem of superposition of signals affecting antenna quality when multiple cameras are working is solved, and communication quality and user experience are improved.

CN117459832BActive Publication Date: 2025-01-17HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311375678.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-19
Publication Date
2025-01-17
Estimated Expiration
2043-10-19

AI Technical Summary

Technical Problem

In electronic devices, when multiple cameras work at the same time, the frequency of the clock signal is the same, causing the signal to be superimposed, affecting the signal quality of the antenna, resulting in a decrease in communication quality and poor user experience.

Method used

Use clock signals of different frequencies to control the operation of different cameras to ensure that the clock signal frequencies are different from each other and there is no integer multiple relationship, and avoid signal superposition.

Benefits of technology

It effectively reduces the interference of multiple camera clock signals on the antenna, improves communication quality and user experience, especially in communication scenarios such as video calls, data upload and download, etc.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117459832B_ABST
    Figure CN117459832B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a camera control method, an electronic device, and a storage medium, and relate to the field of terminal device technology. The electronic device uses clock signals of different frequencies to control the operation of different cameras, thereby reducing the impact of the clock signals generated by at least two cameras on the communication quality when at least two cameras are working at the same time. The above-mentioned camera control method is applied to an electronic device including at least two cameras, wherein the method includes, after starting at least two cameras, using clock signals of different frequencies to control the operation of at least two cameras. Among them, the frequencies of the clock signals used to control the operation of different cameras are different from each other, and there is no integer multiple relationship between the frequencies.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of terminal devices, and in particular to a camera control method, electronic device, and storage medium. Background Art

[0002] At present, the camera function is a common function provided by electronic devices, and users can use electronic devices to make video calls, take photos or record videos, etc. As people's requirements for the shooting function of electronic devices are increasing, the cameras in electronic devices have developed from a single camera to dual cameras, four cameras, and even five cameras.

[0003] The applicant's research found that when an electronic device has multiple cameras working simultaneously in a communication scenario (for example, a call scenario, uploading or downloading data, etc.), the communication quality of the electronic device is poor, affecting the user experience. Summary of the invention

[0004] An embodiment of the present application provides a camera control method, an electronic device, and a storage medium. The electronic device uses clock signals of different frequencies to control the operation of different cameras, thereby reducing the impact of the clock signals generated by at least two cameras on the communication quality when at least two cameras work at the same time.

[0005] To achieve the above objectives, the embodiments of the present application adopt the following technical solutions:

[0006] In a first aspect, a camera control method is provided, which is applied to an electronic device including at least two cameras. The method may include:

[0007] Start at least two cameras; use clock signals of different frequencies to control the operation of at least two cameras, the frequencies of the clock signals used to control the operation of different cameras are different, and there is no integer multiple relationship between the frequencies.

[0008] It can be understood that when at least two cameras in the electronic device are working, the electronic device uses clock signals of different frequencies to control different cameras, and there is no integer multiple relationship between the frequencies of the clock signals. Since the frequencies of the clock signals controlling different cameras are different, there is no superposition phenomenon between the clock signals, which reduces the impact of the clock signals of multiple cameras on the signal quality of the antenna.

[0009] It should be explained that if there is an integer multiple relationship between the frequencies of the clock signals used to control at least two cameras, then during the operation of the at least two cameras, there is a phenomenon of signal superposition at the rising edge and the falling edge of the frequency-multiplied signals of the clock signals of the at least two cameras, and the superimposed signal will affect the signal quality of the antenna. Therefore, in the embodiment of the present application, the frequencies of the clock signals used to control different cameras must not only be different from each other, but also there must be no integer multiple relationship between the frequencies.

[0010] Optionally, using clock signals of different frequencies to control the operation of at least two cameras may include:

[0011] During the operation of at least two cameras, in a communication scenario, clock signals of different frequencies are used to control the operation of the at least two cameras.

[0012] It can be understood that during the operation of at least two cameras in the electronic device, if the electronic device is in a non-communication scenario, the electronic device can use a clock signal of the same frequency to control the operation of at least two cameras. If the electronic device is in a communication scenario, the electronic device can use clock signals of different frequencies to control the operation of at least two cameras. Thus, the influence of the clock signals of at least two cameras on the signal quality of the antenna is reduced, and the problem of the clock signal of the camera affecting the communication quality is solved.

[0013] Optionally, the electronic device further includes an antenna, and the communication scenario includes: detecting that the antenna transmits and / or receives an electromagnetic wave signal, or starting a communication application.

[0014] The above communication scenario may be a scenario where the electronic device uploads or downloads data, or a scenario where the electronic device starts a communication application, etc. For example, the communication scenario may be a scenario where the electronic device caches audio and video files from a server. For another example, the electronic device is in a call scenario.

[0015] Optionally, during the operation of at least two cameras, in a communication scenario, using clock signals of different frequencies to control the operation of at least two cameras may include:

[0016] In the process of using at least two cameras for a video call, using clock signals of different frequencies to control the at least two cameras to work; or,

[0017] In the process of using at least two cameras to work and using a positioning system to determine position information, using clock signals of different frequencies to control the at least two cameras to work; or,

[0018] When at least two cameras are used to work and a game application is started, clock signals of different frequencies are used to control the at least two cameras to work.

[0019] It can be understood that, in the process of an electronic device using at least two cameras to make a video call, the electronic device can use clock signals of different frequencies to control the operation of at least two cameras. Thus, the influence of the clock signals of at least two cameras on the video call process is reduced. Alternatively, in the process of an electronic device using at least two cameras to work and using a positioning system to determine location information, the frequencies of the clock signals used to control the operation of at least two cameras are also different from each other. Thus, the interference of the clock signals of at least two cameras with the positioning process is avoided, and the accuracy of positioning is improved. Alternatively, in the process of an electronic device using at least two cameras to work and starting a game application, clock signals of different frequencies are used to control the operation of at least two cameras, avoiding the interference of the clock signals of at least two cameras with the game application.

[0020] The above description is about the situation that clock signals of different frequencies are used to control the operation of at least two cameras in different communication scenarios. Of course, the communication scenarios in the embodiments of the present application are not limited to this. For example, when the electronic device is downloading data from a server or uploading data, the frequencies of the clock signals used by the electronic device to control the operation of at least two cameras must also be different, and there is no integer multiple relationship between the frequencies.

[0021] Optionally, the camera control method may further include:

[0022] During the operation of at least two cameras, in a non-communication scenario, clock signals of the same frequency are used to control the operation of the at least two cameras.

[0023] It can be understood that, during the operation of at least two cameras in an electronic device, if the electronic device is in a non-communication scenario, the electronic device can use a clock signal of the same frequency to control the operation of the at least two cameras.

[0024] Optionally, the at least two cameras include a first camera and a second camera, and starting the at least two cameras includes:

[0025] Starting the first camera; using a clock signal of a first frequency to control the operation of the first camera; starting the second camera;

[0026] Using clock signals of different frequencies to control at least two cameras to work, the frequencies of the clock signals used to control the work of different cameras are different from each other, and there is no integer multiple relationship between the frequencies, including:

[0027] A clock signal of a second frequency is used to control the first camera, and a clock signal of a third frequency is used to control the second camera. The second frequency is different from the third frequency, and there is no integer multiple relationship between the second frequency and the third frequency.

[0028] It can be understood that, when the electronic device uses a clock signal of the first frequency to control the operation of the first camera, after the electronic device starts the second camera, the electronic device can use a clock signal of the second frequency to control the operation of the first camera, and use a clock signal of the third frequency to control the operation of the second camera. Thus, the electronic device uses clock signals of different frequencies to control the operation of the first camera and the second camera, avoiding the problem that the clock signal generated when the first camera and the second camera are working at the same time affects the antenna performance.

[0029] Optionally, the clock signal of each of the at least two cameras has an adapted clock frequency range, and the frequency of the clock signal used to control camera startup is within the adapted clock frequency range of the corresponding camera.

[0030] Optionally, the at least two cameras include a main camera and a wide-angle camera, or the at least two cameras include a main camera and an auxiliary camera.

[0031] For example, suppose that during the process of turning on the positioning mode of the electronic device, the electronic device turns on the multi-lens recording mode, and the main camera and the wide-angle camera in the electronic device are working, the frequencies of the clock signals used to control the main camera and the wide-angle camera are different from each other, and there is no integer multiple relationship between the frequencies. In this way, the superposition of the clock signals of the main camera and the wide-angle camera is avoided, which affects the signal quality of the antenna and causes the problem of inaccurate positioning.

[0032] When the electronic device is downloading or uploading data, the main camera and the auxiliary camera in the electronic device work at the same time, and the frequencies of the clock signals used to control the main camera and the auxiliary camera are different from each other, and there is no integer multiple relationship between the frequencies. In this way, the superposition of the clock signals of the main camera and the auxiliary camera is avoided, which affects the signal quality of the antenna and causes the problem of abnormal data transmission.

[0033] It should be explained that the above-mentioned scenarios in which the main camera and the wide-angle camera work at the same time, and the main camera and the auxiliary camera work at the same time are only described as examples and are not limited to this in the embodiments of the present application.

[0034] In a second aspect, the present application provides an electronic device, comprising: at least two cameras, an antenna, a memory and one or more processors; wherein the at least two cameras, the antenna, the memory and the processor are coupled; the antenna is used to transmit and receive electromagnetic wave signals; the memory is used to store computer program code, and the computer program code includes computer instructions; when the processor executes the computer instructions, the electronic device executes the camera control method as described in any one of the above-mentioned first aspects.

[0035] In a third aspect, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on an electronic device, the electronic device executes the camera control method as described in any one of the first aspects.

[0036] In a fourth aspect, the present application provides a computer program product, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the camera control method as described in any one of the first aspects.

[0037] It can be understood that the electronic device described in the second aspect, the computer storage medium described in the third aspect, and the computer program product described in the fourth aspect are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 An example diagram of wave interference provided in an embodiment of the present application;

[0039] Figure 2 An exemplary structural diagram of an electronic device provided in an embodiment of the present application;

[0040] Figure 3 This is an example diagram of a multi-lens video recording mode of a camera in an electronic device;

[0041] Figure 4 An example diagram showing a chat application and a game application working simultaneously in an electronic device;

[0042] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0043] Figure 6 A software structure diagram of an electronic device provided in an embodiment of the present application;

[0044] Figure 7 An example diagram of an electronic device turning on a wide-angle mode provided in an embodiment of the present application;

[0045] Figure 8 A waveform diagram of voltage signals of a main camera and a wide-angle camera provided in an embodiment of the present application;

[0046] Fig. 9 A simulation diagram of clock signals for a main camera and a wide-angle camera provided in an embodiment of the present application;

[0047] Fig.10 A schematic diagram of a current measurement result of an antenna port provided in an embodiment of the present application;

[0048] Fig.11 A simulation diagram of the noise generated when the main camera and the wide-angle camera provided in the embodiment of the present application work simultaneously;

[0049] Fig.12 This is an example diagram of an image displayed in a foldable screen mobile phone provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] The technical solution in the embodiment of the present application will be described below in conjunction with the drawings in the embodiment of the present application. In the description of the embodiment of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0051] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0052] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.

[0053] Before introducing the solution of the present application, the principle of wave interference and superposition is briefly introduced.

[0054] The superposition of waves refers to the direct addition of two waves to obtain a new wave. The interference of waves is a special case of the superposition of waves. When two waves with the same frequency, parallel vibration directions, the same phase or a constant phase difference meet, the vibration in some places is always strengthened, while the vibration in other places is always weakened. This phenomenon is called the interference phenomenon of waves.

[0055] In the embodiment of the present application, the clock signal of the camera in the electronic device is a square wave signal. According to the Fourier series theorem, any periodic signal can be expressed as a superposition of sinusoidal signals. According to the interference principle of waves, if two waves have the same frequency during propagation, there will be areas of superposition and attenuation, which makes the rising and falling edges of the square wave vary greatly, resulting in the phenomenon of signal superposition. Figure 1 (a) is the signal after two clock signals with the same frequency are superimposed. Figure 1 (b) is the signal after two clock signals with the same frequency cancel each other out. Figure 1 It can be seen that when the frequencies of the two waves are the same, the superimposed signal will be stronger, thereby generating greater noise, or the signals of the two waves will cancel each other out, generating almost no interference signal.

[0056] Assuming the square wave period is T and the frequency is f, the corresponding angular frequency is The amplitude of the square wave is ±A, and the Fourier series corresponding to the square wave function is:

[0057]

[0058] In the scenario where multiple cameras in an electronic device are working at the same time, the master clock (MClk) of the multiple cameras will generate clock signals. Since the frequencies of the clock signals of the multiple cameras are the same, the voltage rising and falling edges of the multiple clock signals of the same frequency are reflected in the frequency domain as raised spectra at different frequencies. Since the frequencies of the harmonics of the clock signals of the same frequency are also the same, the bumps generated by the multiple clock signals will be superimposed on each other to produce greater electromagnetic noise, which will have a bad impact on the performance of the antenna in the scenario where multiple cameras are working at the same time, resulting in a significant decrease in antenna sensitivity. For GNSS antennas that are susceptible to interference, the sensitivity deterioration is more obvious, such as wireless fidelity (Wi-Fi) antennas.

[0059] It needs to be explained that the current system-on-chip (Soc) of terminal products mostly adopts ball grid array package (BGA). The same type of clock routing is mostly clustered, and the routing of different cameras appears in clusters, which is more likely to cause crosstalk between the routing of multiple cameras in electronic devices. When the clock signal generated by the clock of the camera exists in the working frequency band of the antenna of the electronic device, the clock signal of the camera will interfere with the signal quality of the antenna. In this case, for the antenna, the clock signal of the camera is electromagnetic noise. Especially in the scenario where multiple cameras are working at the same time, the clocks of multiple cameras will be turned on at the same time to generate corresponding clock signals. Since the frequencies of the clock signals of multiple cameras are the same, resonance is generated between the multiple clock signals, resulting in the superposition of the clock signals of multiple cameras. The superimposed signal has a more serious impact on the performance of the antenna, resulting in a significant decrease in the sensitivity of the antenna, which makes the user experience in the communication scenario poor.

[0060] For example, Figure 2The electronic device shown in FIG. 1 includes four cameras, namely a main camera, a front camera, a wide-angle camera, and a macro camera. Figure 2 In a scenario where at least two cameras work simultaneously, the clocks of at least two cameras will generate clock signals. Since the clock frequencies of at least two cameras are the same (for example, the clock frequencies are both 24 MHz), the at least two clock signals are superimposed on each other to generate greater electromagnetic noise.

[0061] It should be noted that Figure 2 The number of cameras provided in the electronic device is described only as an example. In the embodiments of the present application, the number of cameras provided in the electronic device is not limited. The electronic device may be provided with 2 cameras, 3 cameras, and so on.

[0062] For example, when an electronic device is in multi-lens recording mode, multiple cameras will be activated at the same time. Figure 3 As shown, when the main camera and the wide-angle camera in the electronic device work simultaneously for video recording, and the global positioning system (GPS) positioning (for example, the Beidou positioning system) is started, since the clock frequencies of the main camera and the wide-angle camera are the same, the clock signals of the main camera and the wide-angle camera are superimposed, and the superimposed signals are distributed within the working frequency band of the antenna, which causes more serious interference to the antenna, causing problems such as inaccurate GPS direction positioning, positioning point drift, and inaccurate distance calculation.

[0063] Assuming that the frequency of the clock signal controlling the main camera and the wide-angle camera in the electronic device is 24MHz, it can be calculated that the 65-fold frequency of the clock signal is 1560MHz, and 1560MHz is distributed in the working frequency band of the Beidou positioning system. It can be seen that when the main camera and the wide-angle camera in the electronic device work at the same time, the clock signals of the main camera and the wide-angle camera interfere with the positioning function of the Beidou positioning system, thereby affecting the positioning accuracy of the electronic device and causing inaccurate positioning of the electronic device.

[0064] For example, when an electronic device uses the main camera to take photos or record videos, and the electronic device detects that the user has clicked the screen for a long time to focus, and the auxiliary camera and the main camera are working at the same time, if the electronic device has data uploading, data downloading or is in a call state, since the main clocks of the auxiliary camera and the main camera are turned on at the same time, the superposition of noise generated by the two cameras affects the antenna performance, resulting in problems such as abnormal data uploading, downloading or call interruption in the electronic device when the main camera and the auxiliary camera are working at the same time.

[0065] For example, Figure 4As shown in the figure, when the electronic device uses the main camera and the auxiliary camera for video chat at the same time and starts the game application, the electronic device uses the clock signal of the same frequency to control the auxiliary camera and the main camera to work. Since the clock signals of the main camera and the auxiliary camera are superimposed, the superimposed signal affects the antenna performance, which causes the video chat to freeze when the main camera and the auxiliary camera are working at the same time.

[0066] To this end, an embodiment of the present application provides a camera control method, which is applied to an electronic device, wherein at least two cameras are provided in the electronic device, and after the at least two cameras are started, the electronic device uses clock signals of different frequencies to control the operation of the at least two cameras, and the frequencies of the clock signals used to control the operation of different cameras are different from each other, and there is no integer multiple relationship between the frequencies. In this way, when at least two cameras are working at the same time, the clock signals generated by the at least two cameras do not affect each other with the antenna signal, which solves the problem in the related art that the clock signals of at least two cameras are superimposed, and the superimposed signal affects the signal quality of the antenna.

[0067] Exemplarily, the camera control method provided in the embodiments of the present application can be applied to mobile phones, tablet computers, personal computers (PCs), personal digital assistants (PDAs), smart watches, netbooks, wearable electronic devices, augmented reality (AR) devices, virtual reality (VR) devices, vehicle-mounted devices, smart cars, smart speakers, and other electronic devices with at least two cameras, and the embodiments of the present application do not impose any restrictions on this.

[0068] like Figure 5 As shown, Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0069] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0070] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0071] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0072] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0073] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0074] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0075] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0076] The charging management module 140 is used to receive charging input from a charger, where the charger can be a wireless charger or a wired charger.

[0077] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, and the baseband processor.

[0078] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.

[0079] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.

[0080] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.

[0081] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.

[0082] In some embodiments, the antenna 1 of the electronic device 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. GNSS may include the global positioning system (GPS), the global navigation satellite system (GLONASS), the Beidou navigation satellite system (BDS), the quasi-zenith satellite system (QZSS) and / or the satellite based augmentation system (SBAS).

[0083] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0084] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0085] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0086] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise and brightness of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0087] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0088] In the embodiment of the present application, the electronic device 100 may include multiple cameras 193. For example, the electronic device 100 may include a front camera, a rear camera, a wide-angle camera, a macro camera, and the like.

[0089] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0090] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0091] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0092] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.

[0093] The internal memory 121 can be used to store computer executable program codes, and the executable program codes include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.

[0094] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0095] The SIM card interface 195 is used to connect a SIM card. The SIM card can be connected to and separated from the electronic device 100 by inserting it into the SIM card interface 195 or pulling it out from the SIM card interface 195. The electronic device 100 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as calls and data communications. In some embodiments, the electronic device 100 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0096] The software system of the electronic device may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device.

[0097] Figure 6 A software structure diagram of an electronic device provided in an embodiment of the present application.

[0098] It is understandable that the layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system may include an application layer (abbreviated as application layer), an application framework layer (abbreviated as framework layer), a system library, and a kernel layer.

[0099] The above-mentioned application layer may include a series of application packages.

[0100] like Figure 6 As shown, the application package may include system applications. System applications refer to applications that are set in the electronic device before leaving the factory. For example, the system applications may include programs such as camera, gallery, calendar, music, desktop, memo, and weather.

[0101] The application package may also include third-party applications, which are applications that users install after downloading the installation package from an application store (or application market), such as map applications, food delivery applications, reading applications (such as e-books), social applications, and travel applications.

[0102] The application framework layer provides an application programming interface (API) and a programming framework for the application programs in the application layer. The application framework layer includes some predefined functions.

[0103] like Figure 6 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0104] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0105] Content providers are used to store and retrieve data and make it accessible to applications. The data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0106] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0107] The phone manager is used to provide communication functions for electronic devices, such as the management of call status (including answering, hanging up, etc.).

[0108] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0109] The notification manager allows applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a reminder sound is emitted, the phone vibrates, the indicator light flashes, etc.

[0110] Android Runtime includes core libraries and virtual machines. Android Runtime is responsible for scheduling and management of the Android system.

[0111] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0112] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0113] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0114] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and three-dimensional layers for multiple applications.

[0115] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0116] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.

[0117] A 2D graphics engine is a drawing engine for 2D drawings.

[0118] The kernel layer is the layer between hardware and software. The kernel layer includes at least display driver, camera driver, audio driver and sensor driver.

[0119] The camera driver can be used to configure the frequency of the camera's main clock according to the acquired clock frequency after acquiring the clock frequency of the camera's main clock.

[0120] In some embodiments, the camera driver may include a main camera driver, a wide-angle camera driver, a front camera driver and a macro camera driver, wherein the main camera driver can be used to drive the main camera, the wide-angle camera driver can be used to drive the wide-angle camera, the front camera driver can be used to drive the front camera, and the macro camera driver can be used to drive the macro camera.

[0121] Exemplarily, after the main camera driver obtains the clock frequency of the main camera, the clock frequency of the main camera can be configured according to the obtained frequency. For example, the clock frequency of the main camera obtained by the main camera driver is 24MHz, and the main camera driver can configure the clock frequency of the main camera to 24MHz. After the wide-angle camera driver obtains the clock frequency of the wide-angle camera, the clock frequency of the wide-angle camera can be configured according to the obtained frequency. For example, the clock frequency of the wide-angle camera obtained by the wide-angle camera driver is 19.2MHz, and the wide-angle camera driver can configure the clock frequency of the wide-angle camera to 19.2MHz.

[0122] It should be explained that the above-mentioned camera drivers including the main camera driver, the wide-angle camera driver, the front camera driver and the macro camera driver are only described as examples, and the number of camera drivers can be determined according to the number of cameras configured in the electronic device, which is not limited in the embodiments of the present application. In addition, the number of camera drivers can be less than or equal to the number of cameras, that is, one camera driver can control two cameras.

[0123] The technical solutions involved in the following embodiments can all be implemented in electronic devices having the above hardware structure and software architecture. The following still takes the electronic device as a mobile phone as an example to illustrate this solution.

[0124] In an embodiment of the present application, when at least two cameras are provided in a mobile phone, after the mobile phone obtains the clock frequencies of the at least two cameras, the mobile phone can configure the clock frequencies of the at least two cameras respectively according to the obtained clock frequencies of the at least two cameras. Among them, the clock frequencies of the at least two cameras obtained by the mobile phone are different from each other. For example, a main camera and a wide-angle camera are provided in the mobile phone, and the mobile phone obtains that the clock frequency of the main camera is 24MHz, and the clock frequency of the wide-angle camera is 19.2MHz. The mobile phone can configure the clock frequency of the main camera to 24MHz and the clock frequency of the wide-angle camera to 19.2MHz.

[0125] In this way, when the mobile phone starts at least two cameras, the mobile phone can use clock signals of different frequencies to control the operation of the at least two cameras. Among them, the frequencies of the clock signals used to control the operation of different cameras are different, and there is no integer multiple relationship between the frequencies. As a result, at least two cameras in the mobile phone use different clock frequencies to work, avoiding the superposition of clock signals when the clock frequencies of at least two cameras are the same, resulting in the phenomenon that the superimposed signal interferes more seriously with the signal quality of the antenna. Since the frequencies of the clock signals controlling the operation of at least two cameras are different, the clock signals corresponding to at least two cameras are not within the working frequency band of the antenna, thereby avoiding the problem of the clock signal of the camera interfering with the signal quality of the antenna, thereby ensuring the signal quality of the antenna in the mobile phone.

[0126] In addition, if there is an integer multiple relationship between the frequencies of the clock signals used to control at least two cameras, there is a signal superposition phenomenon at the rising edge and the falling edge of the frequency-multiplied signals of the clock signals of the at least two cameras during the operation of the at least two cameras, and the superimposed signal will affect the signal quality of the antenna. Therefore, in the embodiment of the present application, the frequencies of the clock signals used to control different cameras must not only be different from each other, but also there must be no integer multiple relationship between the frequencies of the clock signals.

[0127] In some embodiments, the at least two cameras provided in the mobile phone include a first camera and a second camera. After the mobile phone starts the first camera, a clock signal of a first frequency can be used to control the operation of the first camera. Then, the mobile phone starts the second camera, and the mobile phone uses a clock signal of a second frequency to control the operation of the first camera, and uses a clock signal of a third frequency to control the operation of the second camera. The first frequency and the second frequency can be the same or different. The second frequency and the third frequency are different, and there is no integer multiple relationship between the second frequency and the third frequency.

[0128] It can be understood that when the first camera in the mobile phone is working, the second camera is started. The mobile phone can use clock signals of different frequencies to control the operation of the first camera and the second camera, thereby avoiding the superposition of the clock signals of the first camera and the second camera, causing the superimposed signal to interfere with the signal quality of the antenna.

[0129] For example, assuming that the first camera is the main camera and the second camera is the wide-angle camera, the kernel layer includes a main camera driver for driving the main camera and a wide-angle camera driver for driving the wide-angle camera. After the main camera driver and the wide-angle camera driver obtain the clock frequency of the main camera and the clock frequency of the wide-angle camera respectively, the main camera driver configures the frequency of the main camera clock according to the obtained clock frequency, and the wide-angle camera driver configures the frequency of the wide-angle camera clock according to the obtained clock frequency. Here, the clock frequency of the main camera is different from the clock frequency of the wide-angle camera.

[0130] After the mobile phone starts the main camera, the mobile phone uses a clock signal of the first frequency to control the main camera to work. During the operation of the main camera, the mobile phone starts the wide-angle camera, and the mobile phone can use a clock signal of the second frequency to control the main camera to continue working, and use a clock signal of the third frequency to control the wide-angle camera to work. Among them, the first frequency and the second frequency can be the same or different. The second frequency is different from the third frequency, and there is no integer multiple relationship between the second frequency and the third frequency.

[0131] It can be understood that when the user controls the main camera and the wide-angle camera to work at the same time, the frequencies of the clock signals are different, and there is no integer multiple relationship between the clock signals of different frequencies, there is no signal superposition phenomenon on the rising and falling edges of the clock signals of the main camera and the wide-angle camera, and the clock signals of the main camera and the wide-angle camera and the frequency doubled signals have little effect on the signal quality of the antenna.

[0132] It should be noted that the Qualcomm platform can send the parameters supported by each device in the mobile phone to the kernel layer of the mobile phone. For example, the Qualcomm platform can send the clock frequency adapted by at least two cameras configured in the mobile phone to the kernel layer of the mobile phone. The at least two cameras configured in the mobile phone correspond to the adapted clock frequency range respectively. The Qualcomm platform sends to the kernel layer the indication that the clock frequency adapted by the two cameras is within the adapted clock frequency range of each camera. For example, the clock frequency obtained by the main camera driver is within the adapted clock frequency range of the main camera, and the clock frequency obtained by the wide-angle camera driver is within the adapted clock frequency range of the wide-angle camera.

[0133] For example, the clock frequency range of the main camera clock adaptation is 20-40MHz, the clock frequency range of the wide-angle camera clock adaptation is 19-60MHz, etc. The clock frequency of the main camera obtained by the kernel layer may be 24MHz, and the clock frequency of the wide-angle camera obtained may be 19.2MHz.

[0134] In one scenario, Figure 2As shown, the mobile phone is provided with a main camera, a wide-angle camera, a front camera and a macro camera. The main camera driver obtains the clock frequency of the main camera as clock frequency 1, the wide-angle camera driver obtains the clock frequency of the wide-angle camera as clock frequency 2, the front camera driver obtains the clock frequency of the front camera as clock frequency 3, and the macro camera driver obtains the clock frequency of the macro camera as clock frequency 4. The main camera driver configures the clock frequency of the main camera as clock frequency 1, the wide-angle camera driver configures the clock frequency of the wide-angle camera as clock frequency 2, the front camera driver configures the clock frequency of the front camera as clock frequency 3, and the macro camera driver configures the clock frequency of the macro camera as clock frequency 4. Among them, the above-mentioned clock frequency 1, clock frequency 2, clock frequency 3 and clock frequency 4 are different from each other.

[0135] It can be understood that when a mobile phone is equipped with multiple cameras, the mobile phone sets the clock frequencies of the multiple cameras to be different from each other, and there is no overlap in the rising and falling edge signals of the clock signals of the multiple cameras. The raised spectra of the clock signals in the frequency domain are dispersed and not superimposed, thereby reducing the crosstalk between the traces and the superposition of the noises generated by the multiple cameras, and reducing the impact of the clock signal on the antenna performance.

[0136] For example, Figure 7 As shown in (a) of FIG. 1 , when the mobile phone detects that the user clicks the icon 702 of the camera application (application, APP) on the desktop 701, the camera application can be started and the following display can be displayed: Figure 7 Another GUI shown in (b) of FIG. 7 is referred to as a shooting interface 703. The shooting interface 703 may include a viewfinder 704. In the preview state, the viewfinder 704 may display a preview image in real time. It is understood that the size of the viewfinder 704 may be different in the photo mode and the video mode (i.e., the video shooting mode). For example, Figure 7 The viewfinder shown in (a) in FIG. 7 may be a viewfinder in a photographing mode. In a video recording mode, the viewfinder 704 may be the entire touch screen.

[0137] The shooting interface may also include a control 705 for indicating a night scene shooting module, a control 706 for indicating a wide-angle mode, a control 707 for indicating a photo mode, a control 708 for indicating a video mode, and a shooting control 709. In the wide-angle mode, when the mobile phone detects that the user clicks the shooting control 709, the mobile phone performs a wide-angle photo shooting operation; when the mobile phone detects that the user is in the video mode, when the mobile phone detects that the user clicks the shooting control 709, the mobile phone performs a video shooting operation.

[0138] The phone turns on the multi-lens recording mode, and the phone controls the main camera and the wide-angle camera to work simultaneously. Since the clock frequencies of the main camera and the wide-angle camera are different, the rising and falling edges of the clock signals generated by the main camera and the wide-angle camera are offset, thereby reducing the crosstalk between the wiring and the superposition of the noise generated by the main camera and the wide-angle camera, and reducing the impact of the noise generated by the main camera and the wide-angle camera on the antenna performance.

[0139] Assuming that the clock frequency of the main camera obtained by the kernel layer is 24MHz, and the clock frequency of the wide-angle camera obtained is 19.2MHz, the kernel layer configures the clock frequency of the main camera to 24MHz and the clock frequency of the wide-angle camera to 19.2MHz. When the main camera and the wide-angle camera work at the same time, the waveforms of the voltage signals of the main camera and the wide-angle camera are as follows: Figure 8 As shown. Figure 8 It can be seen that when the clock frequencies of the main camera and the wide-angle camera are different, the voltage signals of the main camera and the wide-angle camera are not synchronized, so that when the main camera and the wide-angle camera work at the same time, there is no superposition of clock interference signals, which reduces the impact of clock interference signals on antenna performance.

[0140] In addition, when the main camera and the wide-angle camera are working at the same time, the manufacturer simulates the clock signals of the main camera and the wide-angle camera through simulation software. The simulation results are as follows: Fig. 9 When the clock frequencies of the main camera and the wide-angle camera are the same, for example, the clock frequencies of the main camera and the wide-angle camera are both 24MHz, the simulation results of the clock signals of the main camera and the wide-angle camera by the simulation software are as follows: Fig. 9 When the clock frequencies of the main camera and the wide-angle camera are different, for example, the clock frequency of the main camera is 24MHz and the clock frequency of the wide-angle camera is 19.2MHz, the simulation results of the clock signals of the main camera and the wide-angle camera by the simulation software are as follows: Fig. 9 As shown in (b) in .

[0141] Depend on Fig. 9 As can be seen from (a) in the related art, when the clock frequencies of the main camera and the wide-angle camera are the same, the clock signals of the main camera and the wide-angle camera are basically synchronized. In this case, the clock signals of the main camera and the wide-angle camera are superimposed, and the rising and falling edges of the superimposed signals have a greater impact on the performance of the antenna.

[0142] Depend on Fig. 9It can be seen from (b) in the embodiment of the present application that when the clock frequencies of the main camera and the wide-angle camera are different, there is no superposition phenomenon in the signals at the rising and falling edges of the clock signals of the main camera and the wide-angle camera. Therefore, by setting the clocks of the main camera and the wide-angle camera to asynchronous clocks, the mobile phone avoids the phenomenon of noise superposition when the main camera and the wide-angle camera work at the same time, and reduces the interference of the camera clock signal on the antenna performance.

[0143] In the embodiment of the present application, when the main camera and wide-angle camera of the mobile phone are working at the same time, the tester can import the whole machine model into the electromagnetic simulation software and obtain the current of the antenna port through simulation analysis. Fig.10 As shown, in the related art, when the clock frequencies of the main camera and the wide-angle camera of the mobile phone are the same (for example, the clock frequencies are both 24.1MHz), and the main camera and the wide-angle camera in the mobile phone work at the same time, the current of the antenna port can be simulated to be -271.96dBA. When the clock frequencies of the main camera and the wide-angle camera of the mobile phone are different (for example, the clock frequency of the main camera is 24.1MHz, and the clock frequency of the wide-angle camera is 19.2MHz), and the main camera and the wide-angle camera in the mobile phone work at the same time, the current of the antenna port can be simulated to be -275.63dBA.

[0144] Depend on Fig.10 It can be seen that compared with the case where the clock frequencies of the main camera and the wide-angle camera are the same, when the clock frequencies of the main camera and the wide-angle camera in the mobile phone are different, the simulated current of the antenna port is smaller and the noise of the antenna port also differs by about 4dB. It can be seen that the use of asynchronous clocks for the main camera and the wide-angle camera can weaken the coupling of the two clock circuits, reduce the current of the antenna port, and help improve the performance of the antenna.

[0145] Fig.11 This is a simulation diagram of the noise generated when the main camera and wide-angle camera provided in an embodiment of the present application work simultaneously. Fig.11 The specific positions of the main camera and the wide-angle camera are not shown. Fig.11 (a) is a simulation diagram of the noise generated when the mobile phone uses a clock signal of the same frequency to control the operation of the main camera and the wide-angle camera. Fig.11 (b) is a simulation diagram of the noise generated when the mobile phone uses clock signals of different frequencies to control the main camera and wide-angle camera. Fig.11It can be seen from areas 1100 and 1120 in (a) and (b), as well as areas 1110 and 1130 that, compared with the case where the same frequency clock signal is used to control the operation of the main camera and the wide-angle camera, the noise generated when different frequency clock signals are used to control the operation of the main camera and the wide-angle camera is smaller, thereby reducing the interference of the camera clock signal on the antenna performance, which is beneficial to improving the antenna performance.

[0146] In some embodiments, during the operation of at least two cameras in a mobile phone, if the mobile phone is in a communication scenario, the mobile phone uses clock signals of different frequencies to control the operation of the at least two cameras.

[0147] For example, when the mobile phone detects that the antenna sends and / or receives electromagnetic wave signals, the mobile phone uses clock signals of different frequencies to control at least two cameras to work. The frequencies of the clock signals used to control the work of different cameras are different from each other, and there is no integer multiple relationship between the frequencies.

[0148] Alternatively, after the mobile phone starts a communication application (e.g., a video chat application), the mobile phone uses clock signals of different frequencies to control at least two cameras to work, wherein the frequencies of the clock signals used to control the work of different cameras are different from each other, and there is no integer multiple relationship between the frequencies.

[0149] In other embodiments, during the operation of at least two cameras in a mobile phone, if the mobile phone is not in a communication scenario, the mobile phone can use a clock signal of the same frequency to control the operation of the at least two cameras.

[0150] It can be understood that when at least two cameras in a mobile phone are working at the same time, the mobile phone is not in a communication scenario, and the mobile phone can use a clock signal of the same frequency to control the at least two cameras to work. When the mobile phone switches to a communication scenario, the mobile phone can use clock signals of different frequencies to control the at least two cameras to work. In this way, the superposition of the clock signals of at least two cameras is avoided, resulting in the problem that the superimposed signal affects the communication quality.

[0151] In one possible scenario, when a mobile phone uses the main camera and the wide-angle camera to perform multi-screen recording and the mobile phone uses the positioning system to determine the location information, the mobile phone can use clock signals of different frequencies to control the main camera and the wide-angle camera to shoot. Since the clock frequencies of the main camera and the wide-angle camera are different, the clock signals generated by the main camera and the wide-angle camera have less impact on the signal quality of the antenna, thereby reducing the impact of the clock signal on the positioning function.

[0152] In another possible scenario, when a mobile phone uses at least two cameras to make a video call, the mobile phone can use clock signals of different frequencies to control the operation of the at least two cameras. Here, the frequencies of the clock signals of the at least two cameras used to control the video call are different from each other, and there is no integer multiple relationship between the frequencies. Since the frequencies of the clock signals for controlling the cameras are different from each other, during the operation of multiple cameras, the clock signals generated by the multiple cameras have less influence on the signal quality of the antenna, thereby reducing the influence of the clock signals on the call function.

[0153] In another possible scenario, when the mobile phone uses at least two cameras to work and starts a game application, the mobile phone can use clock signals of different frequencies to control the at least two cameras to work, thereby reducing the impact of the clock signals of the at least two cameras on the game application.

[0154] It should be noted that in the above embodiment, when the frequencies of the clock signals used to control the main camera and the wide-angle camera are the same, the frequencies of the clock signals are both 24 MHz as an exemplary description, and other frequencies of the clock signals applicable to the main camera and the wide-angle camera are also applicable to the embodiments of the present application. When the frequencies of the clock signals used to control the main camera and the wide-angle camera are different, the frequencies of the clock signals for controlling the main camera are 24 MHz, and the frequencies of the clock signals for controlling the wide-angle camera are 19.2 MHz, which is also only an exemplary description. For example, the mobile phone can use a clock signal with a frequency of 19.2 MHz to control the operation of the main camera, and a clock signal with a frequency of 24 MHz to control the operation of the wide-angle camera. For another example, the mobile phone can use a clock signal with a frequency of 24 MHz to control the operation of the main camera, and a clock signal with a frequency of 20 MHz to control the operation of the wide-angle camera. In the embodiments of the present application, the mobile phone uses clock signals of different frequencies to control the operation of the main camera and the wide-angle camera, so as to achieve the purpose of reducing the influence of the clock signal on the antenna performance.

[0155] In the above embodiment, the scenario in which the main camera and the wide-angle camera in the mobile phone work at the same time is used only as an example to introduce the solution of the present application. In actual use, since the clock frequencies of any two cameras in the mobile phone are different, when any two cameras in the mobile phone work at the same time, the clock interference signals generated by any two cameras have little effect on the antenna performance.

[0156] For example, when a mobile phone uses clock signals of different frequencies to control the operation of the main camera and the rear camera, if there is data uploading or downloading in the mobile phone, since the frequencies of the clock signals used to control the main camera and the rear camera are different, the clock signals generated by the main camera and the rear camera have little effect on the antenna performance, and thus do not affect the uploading or downloading of data.

[0157] When a mobile phone is provided with a main camera and a rear camera, there are a main camera driver for driving the main camera and a rear camera driver for driving the rear camera in the kernel layer. After the main camera driver obtains the clock frequency of the main camera, the main camera driver configures the frequency of the main camera clock according to the obtained clock frequency, and after the rear camera driver obtains the clock frequency of the rear camera, the rear camera driver configures the frequency of the rear camera clock according to the obtained clock frequency. Here, the clock frequency of the main camera is different from the clock frequency of the rear camera.

[0158] The camera of the mobile phone may include different camera functions such as photo mode, portrait mode, video mode, night scene mode, movie mode, etc. Among them, the video mode may also include single-lens video mode and multi-lens video mode.

[0159] For example, continue as Figure 4 As an example, when the mobile phone starts the multi-lens recording mode, the mobile phone uses clock signals of different frequencies to control the operation of the main camera and the rear camera. Assuming that the camera function of the mobile phone is in the multi-lens recording mode, there is data uploaded in the mobile phone. Since the frequencies of the clock signals used to control the main camera and the rear camera are different, the clock signals generated by the main camera and the rear camera have little effect on the antenna performance, and thus do not affect the data upload.

[0160] In the related art, at least two cameras in a mobile phone have the same clock frequency. In order to reduce the impact of clock interference signals on antenna performance when at least two cameras are working at the same time, mobile phone manufacturers can configure hardware devices such as board-level filter devices (such as common-mode inductors, capacitors, etc.) and / or electrical connection auxiliary materials (such as conductive foam, absorbing materials, etc.) in the mobile phone to suppress noise. However, mobile phone manufacturers use various filter devices and electrical connection auxiliary materials to suppress noise, resulting in high production costs for mobile phones, and when generating and assembling each mobile phone, there may be a problem of poor assembly consistency, resulting in different noise suppression effects for different mobile phones.

[0161] In an embodiment of the present application, the mobile phone sets the clock frequencies of at least two cameras to be different from each other, and reduces the coupling between at least two clock signals through an asynchronous clock. There is no need to assemble filter components and hardware devices of electrical connection accessories in the mobile phone, which not only reduces the impact of the clock signal on the antenna performance, but also saves the production cost of the mobile phone.

[0162] In the embodiment of the present application, there are at least two identical modules in the mobile phone, for example, two display screen modules are provided in the mobile phone. In order to avoid the problem that the clock frequencies of at least two identical modules are the same, when at least two identical modules are working at the same time, the noise generated by the clock signals of at least two identical modules is superimposed, and the superimposed noise has a greater impact on the antenna performance, the mobile phone can use clock signals of different frequencies to control the operation of at least two identical modules. In this way, when at least two identical modules are working at the same time, the clock signals generated by at least two identical modules will not have a signal superposition phenomenon, and the impact on the antenna performance is relatively small.

[0163] For example, two display screen modules are provided in a mobile phone, and the mobile phone can use clock signals of different frequencies to control the operation of the two display screen modules. In this way, when the two display screen modules in the mobile phone work at the same time, there is no superposition phenomenon of the signals at the rising edge and falling edge of the clock signals of the two display screen modules. It can be seen that during the operation of the two display screen modules, the clock signal generated does not affect the performance of the antenna.

[0164] It should be explained that when the display screen in the mobile phone is working, the data transmission protocol MIPI protocol can be used. The MIPI protocol includes two protocols: D-Phy and C-Phy. The C-Phy protocol does not have a fixed clock signal. The D-Phy protocol has a set of differential signals that can be used as a clock signal, but it is not used as the main clock signal of the mobile phone display module. The main clock of the display module is generally generated inside the display screen. From now on, the clock signal of the display screen is called the MIPI clock signal of the LCD.

[0165] For example, Fig.12 As shown in (a), assuming that the foldable screen mobile phone is in the unfolded state, the image captured by the inner screen front camera 1240 can be previewed on the large screen composed of the inner screen 1210 and the inner screen 1220, or can be previewed only by the inner screen 1210 or the inner screen 1220, which is not limited here. When the foldable screen mobile phone is in a fully unfolded state, the screen angle θ of the mobile phone can be 180° or approximately 180°, which can achieve a large-screen display, provide users with richer information, and bring users a better user experience. Among them, the screen angle θ of the mobile phone is the angle between the inner screen 1210 and the inner screen 1220 (or, the plane where the inner screen 1210 and the inner screen 1220 are located).

[0166] It should be explained that the value range of the angle θ between the inner screen 1210 and the inner screen 1220 can be [0°, 180°]. In the embodiment of the present application, if θ is in the range of [0°, X], it can be determined that the foldable screen mobile phone is in a folded state, and if θ is in the range of (X, 180°], it can be determined that the foldable screen mobile phone is in an unfolded state. Among them, X is a preset angle threshold. X can be set by the user in the electronic device, or it can be determined by the electronic device according to the user's usage habits. The value of X is not limited in the embodiment of the present application. For example, X can be set to 90°. If the angle θ between the inner screen 1210 and the inner screen 1220 is less than or equal to 90°, it is determined that the foldable screen mobile phone is in a folded state; if the angle θ between the inner screen 1210 and the inner screen 1220 is greater than 90°, it is determined that the foldable screen mobile phone is in a folded state. Of course, X can also be set to other values, such as X can be set to 80°, 85° or 95°, etc., which is not limited here.

[0167] After the folding screen mobile phone obtains the frequency of the MIPI clock signal of the inner screen 1210, the clock of the inner screen 1210 is configured according to the obtained frequency of the inner screen 1210. After the folding screen mobile phone obtains the frequency of the MIPI clock signal of the inner screen 1220, the clock of the inner screen 1220 is configured according to the obtained frequency of the inner screen 1220. Among them, the frequencies of the MIPI clock signals of the inner screen 1210 and the inner screen 1220 are different.

[0168] like Fig.12 As shown in (b), when the mobile phone controls the image captured by the external screen front camera 1250, the mobile phone uses the MIPI clock signal to control the operation of the external screen 1230 to display the image captured by the external screen front camera 1250. Here, the frequency of the MIPI clock signal used to control the external screen 1230 is different from the frequency of the MIPI clock signal used to control the operation of the internal screen. Therefore, when the internal and external screens are working at the same time, there is no signal superposition phenomenon at the rising and falling edges of the clock signals of the internal and external screens, which reduces the interference of the MIPI clock signal on the signal quality of the antenna.

[0169] It should be explained that the above example is illustrated by exemplifying that two display screen modules are set in the mobile phone. When there are more than two display screen modules in the mobile phone, the mobile phone can also set the clock frequencies of the two or more display screen modules to be different from each other, so as to avoid the problem that the clock frequencies of multiple display screen modules are the same and the clock signals generated by multiple display screen modules affect the antenna performance when the multiple display screen modules work at the same time.

[0170] It is understandable that, in order to realize the above functions, the above-mentioned electronic devices, etc. include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the embodiments of the present invention.

[0171] The embodiment of the present application can divide the functional modules of the above-mentioned electronic device etc. according to the above-mentioned method example. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0172] In the case of dividing each functional module according to each function, a possible composition diagram of the electronic device involved in the above embodiment, the electronic device may include: a display unit, a transmission unit and a processing unit, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and will not be repeated here.

[0173] The embodiment of the present application also provides an electronic device, including one or more processors and one or more memories. The one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the electronic device executes the above-mentioned related method steps to implement the camera control method in the above-mentioned embodiment.

[0174] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the camera control method in the above-mentioned embodiment.

[0175] An embodiment of the present application further provides a computer program product, which includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the camera control method in the above-mentioned embodiment.

[0176] In addition, an embodiment of the present application also provides a device, which may specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor may execute the computer-executable instructions stored in the memory so that the device executes the camera control method executed by the electronic device in the above-mentioned method embodiments.

[0177] Among them, the electronic device, computer-readable storage medium, computer program product or device provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0178] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0179] Each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units.

[0180] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.

[0181] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A camera control method, characterized in that: Applied to an electronic device including at least two cameras, the method comprises: Starting the at least two cameras; During the operation of the at least two cameras, in a communication scenario, clock signals of different frequencies are used to control the operation of the at least two cameras. The frequencies of the clock signals used to control the operation of different cameras are different from each other, and there is no integer multiple relationship between the frequencies.

2. The method according to claim 1, characterized in that The electronic device further includes an antenna, and the communication scenario includes: detecting that the antenna transmits and / or receives an electromagnetic wave signal, or starting a communication application.

3. The method according to claim 2, characterized in that During the operation of the at least two cameras, in a communication scenario, clock signals of different frequencies are used to control the operation of the at least two cameras, including: In the process of using the at least two cameras to make a video call, using clock signals of different frequencies to control the at least two cameras to work; or, In the process of using the at least two cameras to work and using the positioning system to determine the position information, using clock signals of different frequencies to control the at least two cameras to work; or, When the at least two cameras are used to work and a game application is started, clock signals of different frequencies are used to control the at least two cameras to work.

4. The method according to claim 2, characterized in that The method further comprises: During the operation of the at least two cameras, in a non-communication scenario, clock signals of the same frequency are used to control the operation of the at least two cameras.

5. The method according to any one of claims 1 to 4, characterized in that: The at least two cameras include a first camera and a second camera, and the starting the at least two cameras includes: Start the first camera; Using a clock signal of a first frequency to control the operation of the first camera; Activate the second camera; The method of using clock signals of different frequencies to control the operation of the at least two cameras, wherein the frequencies of the clock signals used to control the operation of different cameras are different from each other and there is no integer multiple relationship between the frequencies, includes: A clock signal of a second frequency is used to control the first camera, and a clock signal of a third frequency is used to control the second camera. The second frequency is different from the third frequency, and there is no integer multiple relationship between the second frequency and the third frequency.

6. The method according to any one of claims 1 to 5, characterized in that: The clock signal of each of the at least two cameras has an adapted clock frequency range, and the frequency of the clock signal used to control the startup of the camera is within the adapted clock frequency range of the corresponding camera.

7. The method according to any one of claims 1 to 6, characterized in that: The at least two cameras include a main camera and a wide-angle camera, or the at least two cameras include a main camera and an auxiliary camera.

8. An electronic device, characterized in that: The electronic device comprises: at least two cameras, an antenna, a memory and one or more processors; the at least two cameras, the antenna, the memory and the processor are coupled; the antenna is used to transmit and receive electromagnetic wave signals; The memory is used to store computer program codes, and the computer program codes include computer instructions; when the processor executes the computer instructions, the electronic device executes the method according to any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that: The method comprises computer instructions; when the computer instructions are executed on the electronic device, the electronic device executes the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Vehicle control system and control method

    CN106597902A

  • Interference elimination method, device, storage medium and terminal

    CN107087282A