Wireless charging method, terminal, wireless charging equipment and storage medium

By adjusting the charging frequency during wireless charging to match the target CDS frequency of the camera application, the impact of wireless charging interference on image acquisition is solved, image quality is improved, and noise interference is eliminated.

CN119255124AActive Publication Date: 2025-01-03HONOR DEVICE CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410053540.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-12
Publication Date
2025-01-03
Estimated Expiration
2044-01-12

AI Technical Summary

Technical Problem

The electromagnetic wave interference generated during wireless charging causes changes in the image sensor voltage, affecting the quality of image acquisition, and causing problems such as noise interference such as interference fringes.

Method used

By obtaining the target-related dual-sampled CDS frequency when the camera application is in the foreground running state, and adjusting the charging frequency of the wireless charging device according to this frequency, so that it approaches the target CDS frequency, to reduce the impact of wireless charging noise on image acquisition. .

Benefits of technology

It effectively reduces the adverse effects of wireless charging noise on image acquisition, improves image quality, eliminates interference fringes in the image, and ensures that the captured image is closer to the real value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119255124A_ABST
    Figure CN119255124A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a wireless charging method, a terminal, wireless charging equipment and a storage medium, and relates to the field of data processing, the method comprises the following steps: when a camera application program is in a foreground running state, obtaining a target correlated double sampling (CDS) frequency adopted by the camera application program in a selected shooting mode; determining an expected charging frequency of the wireless charging device based on the target CDS frequency; indicating the wireless charging device to adjust the charging frequency based on the expected charging frequency; and charging based on the electromagnetic waves generated by the wireless charging equipment according to the adjusted charging frequency. By applying the wireless charging scheme provided by the embodiment of the invention, the adverse effect of noise generated by wireless charging on image acquisition can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing, and in particular to a wireless charging method, a terminal, a wireless charging device and a storage medium. Background Art

[0002] When using a wireless charging device to charge a terminal, the terminal can be charged by placing it in contact with the wireless charging device. For example, a mobile phone, tablet computer or other terminal can be placed on a wireless charging base, and the wireless charging base can charge the terminal. This charging method is favored by users because of its convenience.

[0003] In some cases, users may use a charging terminal to take photos, record videos, etc. Wireless charging devices mainly generate electromagnetic waves through built-in coils to charge terminals. Since electromagnetic waves will generate a changing magnetic field, the changing magnetic field will generate a changing electric field on the terminal's image sensor, and the changing electric field may cause the voltage of the image sensor to change. Since the image sensor converts photoelectric signals based on voltage strength, when users use a charging terminal to take photos or record videos, the photoelectric signal conversion is disturbed, which in turn generates noise and has an adverse effect on the collected image. For example, interference stripes appear in the image. Summary of the invention

[0004] In view of this, the present application provides a wireless charging method, a terminal, a wireless charging device and a storage medium to reduce the adverse effects of noise generated by wireless charging on image acquisition.

[0005] In a first aspect, an embodiment of the present application provides a wireless charging method, which is applied to a terminal, and the method includes:

[0006] When the camera application is in the foreground running state, obtaining a target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode;

[0007] Determining an expected charging frequency of the wireless charging device based on the target CDS frequency;

[0008] Based on the expected charging frequency, instructing the wireless charging device to adjust the charging frequency;

[0009] Charging is performed based on the electromagnetic waves generated by the wireless charging device according to the adjusted charging frequency.

[0010] From the above, it can be seen that when the terminal is wirelessly charged using the solution provided in the embodiment of the present application, the terminal can not only charge based on the electromagnetic waves generated by the wireless charging device, but also actively instruct the wireless charging device to adjust the charging frequency based on the target CDS frequency sampled by the camera application in the selected shooting mode.

[0011] Among them, the expected charging frequency of the wireless charging device is related to the CDS frequency used in the shooting mode. It can be seen that when the terminal determines the expected charging frequency, it takes into account the target CDS frequency used in the selected shooting mode. In this way, the expected charging frequency close to the target CDS frequency can be determined, and then the wireless charging device is instructed to adjust the charging frequency based on the expected charging frequency, and the adjusted charging frequency can be close to the target CDS frequency.

[0012] When the terminal performs signal denoising based on CDS technology, it will perform two signal samplings before and after according to the CDS frequency, one of which collects noise and actual image signals, and the other independently collects noise, and restores the actual image signal based on the difference between the two collection results, thereby generating an image based on the restored actual image signal. Then, when the scheme provided by the embodiment of the present application is adopted to make the charging frequency of the wireless charging device adjusted close to the target CDS frequency used in the selected shooting mode, the wireless charging noise included in the two collection results of the terminal before and after the target CDS frequency is the wireless charging noise near the same phase, that is, the wireless charging noise included in the two collection results is relatively close, so that the wireless charging noise can be better eliminated based on the difference between the two collection results, and then the actual image signal that is closer to the true value can be restored, thereby improving the quality of the image generated based on the actual image signal and reducing the adverse effects of the wireless charging noise on image acquisition.

[0013] In one embodiment of the present application, determining the expected charging frequency of the wireless charging device based on the target CDS frequency includes:

[0014] The target CDS frequency is determined as the expected charging frequency of the wireless charging device.

[0015] In this way, the target CDS frequency can be directly determined as the expected charging frequency of the wireless charging device, so that the expected charging frequency of the wireless charging device is the same as the target CDS frequency, so that the charging frequency of the wireless device after adjusting the charging frequency based on the expected charging frequency is the same as the target CDS frequency. Therefore, the wireless charging noise included in the two sampling results of the terminal before and after the CDS frequency is the wireless charging noise near the same phase, that is, the wireless charging noise included in the two sampling results is relatively close, and then based on the difference between the two sampling results, the wireless charging noise can be better eliminated, so that the actual image signal that is closer to the true value can be restored.

[0016] In one embodiment of the present application, before determining the target CDS frequency as the expected charging frequency of the wireless charging device, the method further includes:

[0017] Determining whether the target CDS frequency is within an adjustable range of the charging frequency of the wireless charging device;

[0018] If yes, executing the step of determining the target CDS frequency as the expected charging frequency of the wireless charging device;

[0019] If not, then a charging frequency closest to the target CDS frequency is determined from the maximum charging frequency and the minimum charging frequency within the adjustable range of the charging frequency as the expected charging frequency.

[0020] It can be seen that in this embodiment, when determining the expected charging frequency, the adjustable range of the charging frequency of the wireless charging device is also considered. When the wireless charging device can adjust the charging frequency to be the same as the target CDS frequency, the target CDS frequency is directly determined as the expected charging frequency; when the wireless charging device cannot adjust the charging frequency to be the same as the target CDS frequency, the expected charging frequency closest to the target CDS frequency is selected from the adjustable range of the charging frequency of the wireless charging device. In this way, it is prevented that the determined expected charging frequency is outside the adjustable range of the charging frequency, and the determined expected charging frequency is as close to the target CDS frequency as possible, which improves the rationality of the scheme.

[0021] In one embodiment of the present application, the terminal includes: the camera application located at the application layer, the camera service located at the application framework layer, the policy module and the sensor node located at the hardware abstraction layer, and the obtaining of the target correlated double sampling CDS frequency used by the camera application in the selected shooting mode includes:

[0022] The camera application determines the selected shooting mode and notifies the camera service to start;

[0023] The camera service is started and the selected shooting mode is sent to the policy module;

[0024] The strategy module determines a target image sensor in a working state based on the selected shooting mode, and determines an image output mode of the target image sensor based on the selected shooting mode;

[0025] The sensor node determines a target CDS frequency used by the camera application in the selected shooting mode based on the image output mode.

[0026] It can be seen that through the interaction between modules located at different software architecture layers, the sensor node can be quickly and accurately notified of the output mode of the target image sensor in the working state in the selected shooting mode, and then the sensor node can accurately obtain the target CDS frequency used by the camera application in the selected shooting mode based on the output mode.

[0027] In one embodiment of the present application, the terminal further comprises: an information recording module located at the hardware abstraction layer and a charging module located at the kernel layer;

[0028] The determining, based on the target CDS frequency, an expected charging frequency of the wireless charging device includes:

[0029] The information recording module writes the target CDS frequency determined by the sensor node into a record file;

[0030] The charging module obtains the target CDS frequency from the record file, and determines an expected charging frequency of the wireless charging device based on the target CDS frequency.

[0031] In this way, through the interaction between modules located at different software architecture layers, the charging module can quickly and accurately know the target CDS frequency used in the selected shooting mode, and then the charging module can accurately determine the expected charging frequency of the wireless charging device based on the target CDS frequency.

[0032] In one embodiment of the present application, when the camera application is in the foreground running state, obtaining the target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes:

[0033] After detecting that the camera application is started, a target CDS frequency used by the camera application in the selected shooting mode is obtained.

[0034] After the camera application is started, it is in the foreground running state. At this time, the image sensor is in working state. Therefore, the target CDS frequency can be obtained. Based on the target CDS frequency, the wireless charging device is instructed to adjust the charging frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.

[0035] In one embodiment of the present application, when the camera application is in the foreground running state, obtaining the target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes:

[0036] After detecting that the selected shooting mode of the camera application is switched, a target CDS frequency used by the camera application in the selected shooting mode is obtained.

[0037] Since the CDS frequencies used in different shooting modes are generally different, when the selected shooting mode of the camera application is switched, the target CDS frequency used in the selected shooting mode may also change. The charging frequency adjusted based on the original target CDS frequency to instruct the wireless charging device may no longer be able to effectively reduce the adverse effects of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be obtained again, and the wireless charging device can be instructed to adjust the charging frequency based on the latest target CDS frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.

[0038] In one embodiment of the present application, when the camera application is in the foreground running state, obtaining the target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes:

[0039] After detecting that the image output mode determined based on the selected shooting mode is switched, a target CDS frequency used by the camera application in the selected shooting mode is obtained.

[0040] After the image output mode is switched, the target CDS frequency may also change. The charging frequency adjusted based on the original target CDS frequency instruction to the wireless charging device may no longer be able to effectively reduce the adverse effects of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be obtained again, and the wireless charging device can be instructed to adjust the charging frequency based on the latest target CDS frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.

[0041] In one embodiment of the present application, the method further includes:

[0042] After the camera application exits the working state, the wireless charging device is instructed to restore the charging frequency to the charging frequency before adjustment.

[0043] It can be seen that in this way, when the user does not use the terminal to take pictures, the wireless charging device can be instructed to restore the charging frequency to the charging frequency before adjustment, so that when the user does not use the terminal to take pictures, the wireless charging device can promptly restore the charging frequency to the initially set default charging frequency, so that the wireless charging device can charge the terminal according to the default charging frequency, reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the wireless charging device can promptly restore the charging frequency to the default charging frequency, which can also improve the efficiency of the wireless charging device charging the terminal.

[0044] In one embodiment of the present application, the terminal includes: the camera application located at the application layer, an exit perception module and an information recording module located at the hardware abstraction layer, and a charging module located at the kernel layer, and the charging module determines the camera application exit working state in the following manner:

[0045] After the camera application determines to exit the working state, it notifies the exit sensing module to start;

[0046] The exit sensing module is started and sends the exit representation information of the camera application to the information recording module;

[0047] The information recording module writes the exit representation information into a record file;

[0048] The charging module obtains the exit representation information from the record file and determines that the camera application has exited the working state.

[0049] In this way, through the interaction between modules located at different software architecture layers, the charging module can quickly and accurately learn that the camera application has exited the working state, and then the charging module can instruct the wireless charging device to restore the charging frequency to the charging frequency before adjustment, so that the wireless charging device can restore the charging frequency to the initial default charging frequency in a timely manner when the user does not use the terminal to take pictures, so that the wireless charging device can charge the terminal according to the default charging frequency, reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the wireless charging device can restore the charging frequency to the default charging frequency in a timely manner, which can also improve the efficiency of the wireless charging device charging the terminal.

[0050] In a second aspect, an embodiment of the present application provides a wireless charging method, which is applied to a wireless charging device, and the method includes:

[0051] receiving an adjustment instruction for charging frequency sent by a terminal;

[0052] adjusting the charging frequency based on the adjustment instruction,

[0053] The terminal is charged based on the adjusted charging frequency.

[0054] It can be seen from the above that when the solution provided in the embodiment of the present application is used to wirelessly charge the terminal, the wireless charging device can dynamically adjust the charging frequency according to the instruction of the terminal.

[0055] When the terminal instructs the wireless charging device to adjust the charging frequency, the target CDS frequency used in the selected shooting mode of the camera application is taken into account. In this way, the terminal can determine the expected charging frequency close to the target CDS frequency, and then instruct the wireless charging device to adjust the charging frequency based on the expected charging frequency, so that the adjusted charging frequency can be close to the target CDS frequency.

[0056] When the terminal performs signal denoising based on CDS technology, it will perform two signal samplings before and after according to the CDS frequency, one of which collects noise and actual image signals, and the other independently collects noise, and restores the actual image signal based on the difference between the two collection results, thereby generating an image based on the restored actual image signal. Then, when the wireless charging device adopts the solution provided by the embodiment of the present application so that the adjusted charging frequency approaches the target CDS frequency used in the selected shooting mode, the wireless charging noise included in the two collection results before and after the target CDS frequency of the terminal is wireless charging noise near the same phase, that is, the wireless charging noise included in the two collection results is relatively close, so that the wireless charging noise can be better eliminated based on the difference between the two collection results, and then the actual image signal that is closer to the true value can be restored, thereby improving the quality of the image generated based on the actual image signal and reducing the adverse effects of wireless charging noise on image acquisition.

[0057] In one embodiment of the present application, the method further includes:

[0058] Receiving a recovery indication for a charging frequency sent by a terminal; restoring the charging frequency to the charging frequency before adjustment; and charging the terminal based on the restored charging frequency.

[0059] It can be seen that when the user does not use the terminal to take pictures, the wireless charging device can restore the charging frequency to the charging frequency before adjustment according to the recovery instruction for the charging frequency sent by the terminal, so that when the user does not use the terminal to take pictures, the charging frequency can be restored to the initial default charging frequency in time, so that the wireless charging device can charge the terminal according to the default charging frequency, reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the wireless charging device can restore the charging frequency to the default charging frequency in time, which can also improve the efficiency of the wireless charging device charging the terminal.

[0060] In a third aspect, an embodiment of the present application provides a terminal, including:

[0061] one or more processors and memory;

[0062] The memory is coupled to the one or more processors, and the memory is used to store computer program codes, where the computer program codes include computer instructions. The one or more processors call the computer instructions to enable the terminal to execute the method described in the first aspect.

[0063] In a fourth aspect, an embodiment of the present application provides a wireless charging device, including:

[0064] one or more processors and memory;

[0065] The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the wireless charging device to execute the method described in the second aspect.

[0066] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising a computer program, and when the computer program runs on a terminal, the terminal executes the method described in the first aspect.

[0067] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, including a computer program, which, when executed on a wireless charging device, enables the wireless charging device to execute the method described in the second aspect.

[0068] In a seventh aspect, an embodiment of the present application provides a computer program product, which includes executable instructions. When the executable instructions are executed on a terminal, the terminal executes the method described in the first aspect.

[0069] In an eighth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product comprises executable instructions. When the executable instructions are executed on a wireless charging device, the wireless charging device executes the method described in the second aspect.

[0070] In the ninth aspect, an embodiment of the present application provides a chip system, which is applied to a terminal, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the terminal inputs data into the chip system, and executes the method described in the first aspect to instruct the wireless charging device to adjust the charging frequency.

[0071] In the tenth aspect, an embodiment of the present application provides a chip system, which is applied to a wireless charging device, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the wireless charging device inputs data into the chip system and executes the method described in the second aspect to adjust the charging frequency according to the instructions of the terminal.

[0072] The beneficial effects of the solutions provided by the embodiments in the third to tenth aspects can refer to the beneficial effects of the solutions provided by the embodiments in the first and second aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0074] Figure 1 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0075] Figure 2 A schematic diagram of a correlated double sampling process provided in an embodiment of the present application;

[0076] Figure 3 A schematic diagram of a terminal photo-taking scenario provided in an embodiment of the present application;

[0077] Figure 4 A schematic diagram of a first wireless charging method provided in an embodiment of the present application;

[0078] Figure 5 A schematic diagram of a selected shooting mode provided in an embodiment of the present application;

[0079] Figure 6a A schematic diagram of the first sampling result provided in an embodiment of the present application;

[0080] Figure 6b A schematic diagram of a second sampling result provided in an embodiment of the present application;

[0081] Figure 7 A software structure block diagram of a terminal provided in an embodiment of the present application;

[0082] Figure 8 A schematic diagram of the structure of a wireless charging device provided in an embodiment of the present application;

[0083] Fig. 9 A schematic diagram of a second wireless charging method provided in an embodiment of the present application;

[0084] Fig.10 A schematic diagram of the structure of the first chip system provided in the embodiment of the present application;

[0085] Fig.11 A schematic diagram of the structure of the second chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0086] In order to better understand the technical solution of the present application, the embodiments of the present application are described in detail below with reference to the accompanying drawings.

[0087] In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first" and "second" are used to distinguish the same items or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are to distinguish different user instructions, and their order is not limited. Those skilled in the art can understand that the words "first" and "second" do not limit the quantity and execution order, and the words "first" and "second" do not necessarily limit them to be different.

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

[0089] The solution provided in the embodiments of the present application can be applied to terminals with camera and wireless charging functions, such as mobile phones, tablet computers, smart watches, netbooks, robots, etc.

[0090] A possible structure of the above terminal is introduced below.

[0091] For example, Figure 1 The schematic diagram of the structure of the terminal 100 is shown. The terminal 100 may include a processor 110, a display screen 120, an internal memory 130, a subscriber identification module (Subscriber Identification Module, SIM) card interface 140, a universal serial bus (Universal Serial Bus, USB) interface 150, a wireless charging module 160, a battery management module 161, a battery 162, a sensor module 170, a mobile communication module 180, a wireless communication module 190, an antenna 1 and an antenna 2, etc. The sensor module 170 may include a pressure sensor 170A, a fingerprint sensor 170B, a touch sensor 170C, an ambient light sensor 170D, an image sensor 170E, etc.

[0092] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal 100. In other embodiments of the present application, the terminal 100 may include more or fewer components than shown in the figure, or combine certain components, or split certain 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.

[0093] The processor 110 may include one or more processing units, for example: the processor 110 may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor (NPU), etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the terminal 100 may also include one or more processors 110. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be set in the processor 110 for storing instructions and data. Exemplarily, the memory in the processor 110 may be a high-speed cache memory. The memory may store instructions or data that the processor 110 has just used or circulated. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 110, thereby improving the efficiency of the terminal 100 in processing data or executing instructions.

[0094] 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 SIM card interface and / or a USB interface, etc. Among them, the USB interface 150 is an interface that complies with the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 150 may be used to connect a charger to charge the terminal 100, and may also be used to transmit data between the terminal 100 and a peripheral device. The USB interface 150 may also be used to connect headphones to play audio through the headphones.

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

[0096] The wireless communication function of the terminal 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 180, the wireless communication module 190, the modem processor and the baseband processor.

[0097] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in terminal 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the 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.

[0098] The terminal 100 implements the display function through a GPU, a display screen 120, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 120 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, which execute program instructions to generate or change display information.

[0099] The display screen 120 is used to display images, videos, etc. The display screen 120 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 terminal 100 may include one or more display screens 120.

[0100] In some embodiments of the present application, when the display panel is made of materials such as OLED, AMOLED, FLED, etc., the above Figure 1 The display screen 120 in the embodiment can be bent. Here, the display screen 120 can be bent means that the display screen can be bent to any angle at any position and can be kept at the angle, for example, the display screen 120 can be folded in half from the middle to the left or right. It can also be folded in half from the middle to the top or bottom.

[0101] The display screen 120 of the terminal 100 may be a flexible screen. Currently, flexible screens have attracted much attention for their unique characteristics and great potential. Compared with traditional screens, flexible screens are flexible and bendable, which can provide users with a new interaction method based on the bendable characteristics, and can meet more user demands for the terminal. For a terminal equipped with a foldable display screen, the foldable display screen on the terminal can be switched between a small screen in a folded form and a large screen in an unfolded form at any time. Therefore, users are using the split-screen function on terminals equipped with foldable displays more and more frequently.

[0102] The wireless charging module 160 is used to sense the electromagnetic waves sent by the wireless charging device, convert the sensed electromagnetic waves into electrical energy, and then charge the terminal 100.

[0103] The terminal 100 can implement a shooting function through an ISP, an image sensor 170E, a video codec, a GPU, a display screen 120, and an application processor.

[0104] The ISP is used to process the data fed back by the image sensor 170E. For example, when shooting, the shutter is opened, and light is transmitted to the image sensor 170E through the lens. The light signal is converted into an electrical signal, and the image sensor 170E transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can perform algorithmic optimization on the noise, brightness and color of the image. The ISP can also optimize the exposure and color temperature of the shooting scene and other parameters.

[0105] The image sensor 170E is used to capture photos or videos. The object generates an optical image through the lens and projects it onto the image sensor 170E. The image sensor 170E may include a charge coupled device (CCD) or a complementary metal oxide semiconductor (CMOS) phototransistor. The image sensor 170E converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it 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 red green blue (RGB), YUV or other format. In some embodiments, the terminal 100 may include 1 or N image sensors 170E, where N is a positive integer greater than 1.

[0106] 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 terminal 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0107] Video codecs are used to compress or decompress digital videos. Terminal 100 may support one or more video codecs. Thus, terminal 100 may play or record videos in multiple coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.

[0108] 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 the terminal 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0109] The internal memory 130 can be used to store one or more computer programs, which include instructions. The processor 110 can execute the above instructions stored in the internal memory 130, so that the terminal 100 performs the wireless charging method provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 130 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system; the program storage area can also store one or more applications (such as a gallery, contacts, etc.). The data storage area can store data (such as photos, contacts, etc.) created during the use of the terminal 100. In addition, the internal memory 130 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, a flash memory component, a universal flash memory (Universal Flash Storage, UFS), etc. In some embodiments, the processor 110 can execute the wireless charging method provided in the embodiment of the present application, as well as other applications and data processing by running instructions stored in the internal memory 130 and / or instructions stored in a memory provided in the processor 110.

[0110] The internal memory 130 can be used to store the relevant programs of the wireless charging method provided in the embodiment of the present application, and the processor 110 can be used to call the relevant programs of the wireless charging method stored in the internal memory 130 when displaying information to execute the wireless charging method of the embodiment of the present application.

[0111] The sensor module 170 may include a pressure sensor 170A, a fingerprint sensor 170B, a touch sensor 170C, an ambient light sensor 170D, and the like.

[0112] The pressure sensor 170A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 170A can be set on the display screen 120. There are many types of pressure sensors 170A, for example, they can be resistive pressure sensors, inductive pressure sensors or capacitive pressure sensors. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When the force acts on the pressure sensor 170A, the capacitance between the electrodes changes, and the terminal 100 determines the intensity of the pressure according to the change in capacitance. When the touch operation acts on the display screen 120, the terminal 100 detects the touch operation according to the pressure sensor 170A. The terminal 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 170A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on a short message application icon, an instruction to view the short message is executed; when a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on a short message application icon, an instruction to create a new short message is executed.

[0113] The fingerprint sensor 170B is used to collect fingerprints. The terminal 100 can use the collected fingerprint characteristics to realize functions such as unlocking, accessing application locks, taking pictures, and answering calls.

[0114] The touch sensor 170C is also called a touch control device. The touch sensor 170C can be arranged on the display screen 120, and the touch sensor 170C and the display screen 120 form a touch screen, which is also called a touch control screen. The touch sensor 170C is used to detect a touch operation acting on or near it. The touch sensor 170C can pass the detected touch operation to the application processor to determine the type of touch event. A visual output related to the touch operation can be provided through the display screen 120. In other embodiments, the touch sensor 170C can also be arranged on the surface of the terminal 100, and is arranged at a different position from the display screen 120.

[0115] The ambient light sensor 170D is used to sense the ambient light brightness. The terminal 100 can adaptively adjust the brightness of the display screen 120 according to the perceived ambient light brightness. The ambient light sensor 170D can also be used to automatically adjust the white balance when shooting. The ambient light sensor 170D can also transmit the environment information of the device to the GPU.

[0116] The ambient light sensor 170D is also used to obtain the brightness, light ratio, color temperature, etc. of the collection environment.

[0117] To facilitate understanding of the solutions provided by the embodiments of the present application, some concepts involved in the embodiments of the present application are first introduced below.

[0118] 1. Wireless charging technology

[0119] The basic principle of wireless charging technology is: the transmitting coil set in the wireless charging device generates electromagnetic waves. After the receiving coil inside the terminal senses the electromagnetic waves, current will be formed in the receiving coil, thereby charging the terminal.

[0120] 2. Working Principle of Image Sensor

[0121] Image sensors can convert light signals into electrical signals, that is, realize photoelectric signal conversion. Specifically, when light shines on the photosensitive array of the image sensor, photons are absorbed by the photosensitive elements, which will generate electrons under the action of light and eventually form voltage signals. The voltage signals are further converted into digital signals through digital-to-analog conversion. The digital signals can generate digital images through further image processing and encoding.

[0122] 3. Dark noise

[0123] From the above introduction to the working principle of image sensors, it can be seen that image sensors convert photoelectric signals based on the strength of voltage signals.

[0124] However, due to the influence of the material of the image sensor itself, the voltage signal formed includes not only the actual image signal but also reset noise. Furthermore, due to the influence of low-frequency electromagnetic waves in the environment, the voltage signal formed may also include low-frequency noise.

[0125] The above reset noise and low-frequency noise can be collectively referred to as dark noise.

[0126] 4. Wireless charging noise

[0127] Wireless charging devices charge terminals by generating electromagnetic waves. Electromagnetic waves will generate changing magnetic fields. The changing magnetic fields will generate changing electric fields on the image sensor of the terminal. The changing electric fields may cause the voltage of the image sensor to change.

[0128] Furthermore, since the image sensor converts photoelectric signals based on the strength of the voltage signal, when the user uses the charging terminal to take photos or videos, the voltage signal formed by the image sensor will be interfered with, that is, the voltage signal will include noise caused by the electromagnetic waves generated by wireless charging. In the embodiment of the present application, the above noise is referred to as wireless charging noise.

[0129] 5. Correlated Double Sampling (CDS) technology

[0130] From the above introduction, it can be seen that even if the wireless charging noise is not considered, the voltage signal formed by the image sensor will also include dark noise such as reset noise and low-frequency noise. In this way, when the voltage signal including noise generates an image through operations such as digital-to-analog conversion, the generated image will also be adversely affected.

[0131] CDS technology is a technology based on the principle of correlated double sampling to reduce noise interference. Its basic principle is to use two samplings to reduce the noise in the signal, thereby improving the quality of the image.

[0132] Specifically, the CDS technology reduces noise by performing two-stage sampling on the voltage signal output by the image sensor to obtain the actual image signal.

[0133] For example, assuming that the first sampling samples the signal level of the voltage signal, this sampling will collect the dark noise and the actual image signal together, and the second sampling samples the reset level of the voltage signal, this sampling will collect the dark noise alone. Since the dark noise is relatively stable, the dark noise collected twice is close, so by calculating the difference between the two sampling results, a more accurate actual image signal can be obtained, reducing the impact of noise.

[0134] See also Figure 2 , is a schematic diagram of a correlated double sampling process provided in an embodiment of the present application.

[0135] It can be seen that the first sampling will collect the dark noise and the actual image signal together, and the second sampling will only collect the dark noise separately. In this way, by calculating the difference between the two sampling results, a more accurate actual image signal can be obtained.

[0136] 6. CDS frequency

[0137] CDS frequency is: the sampling frequency used when performing signal noise reduction based on CDS technology.

[0138] The application scenarios of the solutions provided in the embodiments of the present application are introduced.

[0139] The application scenario of the solution provided in the embodiment of the present application is: a scenario in which terminals such as mobile phones and tablet computers are wirelessly charged using wireless charging devices. In this scenario, the terminal can be placed on the wireless charging device, so that the terminal can be charged based on the electromagnetic waves generated by the wireless charging device.

[0140] As can be seen from the above concept introduction, wireless charging devices will generate wireless charging noise, which will have an adverse effect on the terminal's image acquisition, such as the appearance of interference stripes in the image.

[0141] See also Figure 3 , which is a schematic diagram of a terminal photo-taking scenario provided in an embodiment of the present application.

[0142] In order to clearly observe the stripes on the camera application's viewfinder interface, Figure 3 The camera app viewfinder image on the right has been pre-adjusted for brightness and contrast.

[0143] Depend on Figure 3 It can be seen that the mobile phone is placed in the wireless charging base, and the wireless charging base starts to charge the mobile phone. At this time, the mobile phone is in a charging state.

[0144] The user clicks the camera application icon on the mobile phone user interface, the camera application starts, and enters the viewfinder interface. At this time, the image sensor in the mobile phone is in working state. In this case, the voltage of the image sensor changes due to the influence of the electromagnetic waves generated by the wireless charging base, the photoelectric signal conversion is disturbed, and noise is generated. The intuitive manifestation is the generation of stripes on the viewfinder interface of the camera application. This will have an adverse effect on the collected image, and stripes will also appear in the final collected image.

[0145] In view of the above situation, an embodiment of the present application provides a wireless charging solution to reduce the adverse effects of noise generated by wireless charging on image acquisition.

[0146] The wireless charging solution provided in the embodiment of the present application is described in detail below through specific embodiments.

[0147] See also Figure 4 , is a flow chart of a first wireless charging method provided in an embodiment of the present application. The above method is applied to a terminal and includes the following steps S401-S404.

[0148] Step S401: when the camera application is in the foreground running state, obtaining a target CDS frequency used by the camera application in a selected shooting mode.

[0149] The foreground running state is the running state, not the background sleeping state. When the camera application is in the foreground running state, the image sensor is also in the working state.

[0150] Camera applications generally provide multiple shooting modes, such as the default photo mode, professional shooting mode, night scene shooting mode, portrait shooting mode, street shooting mode, video shooting mode, etc.

[0151] The selected shooting mode is a shooting mode that is in a selected state among multiple shooting modes provided by the camera application, for example, it may be a shooting mode selected by the user through a touch or slide operation on the shooting interface.

[0152] See also Figure 5 , is a schematic diagram of a selected shooting mode provided in an embodiment of the present application.

[0153] Depend on Figure 5 As can be seen from the left part, the initial shooting mode when the camera application of the mobile phone is started is the default photo mode. At this time, the user switches the shooting mode from the default photo mode to the portrait mode by sliding the shooting mode selection bar. Figure 5 As shown in the right part, portrait mode is now the selected shooting mode of the phone.

[0154] It should be noted that if the user does not actively select a shooting mode, the selected shooting mode is the initial shooting mode when the camera application is started. The above initial shooting mode can be the default shooting mode or the shooting mode selected before the camera application was last exited.

[0155] In different shooting modes, the image sensor started by the terminal can be different, and the specific configuration used for image acquisition can also be different. When the terminal uses CDS technology for signal denoising, in order to achieve better signal denoising effect, different CDS frequencies can be used for signal denoising for different shooting modes.

[0156] The above target CDS frequency is: the CDS frequency used in the selected shooting mode.

[0157] For example, the CDS frequency used in the default shooting mode is F1, the CDS frequency used in the portrait shooting mode is F2, and the CDS frequency used in the night scene shooting mode is F3. If the selected shooting mode is the portrait shooting mode, the target CDS frequency is the CDS frequency F2 used in the portrait shooting mode.

[0158] In one case, the terminal may include: a camera application at the application layer, a camera service at the application framework layer, a policy module and a sensor node at the hardware abstraction layer. In this case, through the interaction between the camera application, the camera service, the policy module and the sensor node, the sensor node may determine the target CDS frequency used by the camera application in the selected shooting mode. The specific implementation method is detailed in the subsequent embodiments and will not be described in detail here.

[0159] Step S402: determining an expected charging frequency of the wireless charging device based on the target CDS frequency.

[0160] The expected charging frequency is the charging frequency that the wireless charging device is expected to adopt.

[0161] In one implementation, the target CDS frequency may be directly determined as the expected charging frequency of the wireless charging device.

[0162] For example, if the target CDS frequency is 100 kilohertz (kHz), then it is determined that the expected charging frequency of the wireless charging device is 100 kHz.

[0163] In this way, the target CDS frequency can be directly determined as the expected charging frequency of the wireless charging device, so that the expected charging frequency of the wireless charging device is the same as the target CDS frequency, so that the charging frequency of the wireless device after adjusting the charging frequency based on the expected charging frequency is the same as the target CDS frequency. Therefore, the wireless charging noise included in the two sampling results of the terminal before and after the CDS frequency is the wireless charging noise near the same phase, that is, the wireless charging noise included in the two sampling results is relatively close, and then based on the difference between the two sampling results, the wireless charging noise can be better eliminated, so that the actual image signal that is closer to the true value can be restored.

[0164] In another embodiment, before determining the target CDS frequency as the expected charging frequency of the wireless charging device, it is also possible to first determine whether the target CDS frequency is within the adjustable charging frequency range of the wireless charging device. If so, the target CDS frequency is determined as the expected charging frequency of the wireless charging device; otherwise, the charging frequency closest to the target CDS frequency is determined from the maximum charging frequency and the minimum charging frequency within the adjustable charging frequency range as the expected charging frequency.

[0165] The adjustable range of charging frequency of the wireless charging device is the range of charging frequencies that the wireless charging device can adopt. The wireless charging device can only adjust the charging frequency within the adjustable range of charging frequency.

[0166] The adjustable range of the charging frequency of a wireless charging device is generally determined by the wireless charging standard adopted by the wireless charging device, and the embodiments of the present application do not limit this.

[0167] For example, if the wireless charging standard adopted by the wireless charging device is the Qi standard, the charging frequency range it supports is 100kHz-205kHz, that is, the charging frequency of the wireless charging device can be adjusted from 100kHz to 205kHz; if the wireless charging standard adopted by the wireless charging device is the Power Matters Alliance (PMA) standard, the charging frequency range it supports is 277kHz-355kHz, that is, the charging frequency of the wireless charging device can be adjusted from 277kHz to 355kHz.

[0168] In this embodiment, it is possible to first determine whether the target CDS frequency is within the adjustable charging frequency range of the wireless charging device. If so, it means that the wireless charging device can adjust the charging frequency to be the same as the target CDS frequency. Therefore, the target CDS frequency can be determined as the expected charging frequency of the wireless charging device.

[0169] Otherwise, it means that the wireless charging device cannot adjust the charging frequency to be the same as the target CDS frequency. Therefore, in order to enable the wireless charging device to adjust the charging frequency to be close to the target CDS frequency as much as possible, the charging frequency closest to the target CDS frequency can be determined from the maximum charging frequency and the minimum charging frequency within the adjustable range of the charging frequency as the expected charging frequency.

[0170] For example, the charging frequency of the wireless charging device can be adjusted in the range of 100kHz-205kHz, then the maximum charging frequency is 205kHz and the minimum charging frequency is 100kHz. If the target CDS frequency is 90kHz, the charging frequency closest to the target CDS frequency is the minimum charging frequency of 100kHz. Therefore, the minimum charging frequency of 100kHz can be determined as the expected charging frequency.

[0171] It can be seen that in this embodiment, when determining the expected charging frequency, the adjustable range of the charging frequency of the wireless charging device is also considered. When the wireless charging device can adjust the charging frequency to be the same as the target CDS frequency, the target CDS frequency is directly determined as the expected charging frequency; when the wireless charging device cannot adjust the charging frequency to be the same as the target CDS frequency, the expected charging frequency closest to the target CDS frequency is selected from the adjustable range of the charging frequency of the wireless charging device. In this way, it is prevented that the determined expected charging frequency is outside the adjustable range of the charging frequency, and the determined expected charging frequency is as close to the target CDS frequency as possible, which improves the rationality of the scheme.

[0172] Step S403: Based on the expected charging frequency, instruct the wireless charging device to adjust the charging frequency.

[0173] In one implementation, the terminal may instruct the wireless charging device to adjust the charging frequency to the expected charging frequency.

[0174] For example, the terminal sends the expected charging frequency and the charging frequency adjustment instruction to the wireless charging device, so that after receiving the expected charging frequency and the charging frequency adjustment instruction, the wireless charging device can adjust its own charging frequency to the expected charging frequency.

[0175] In another implementation, the terminal may determine the current charging frequency of the wireless charging device, then calculate the difference between the expected charging frequency and the current charging frequency, and send the difference and a charging frequency adjustment instruction to the wireless charging device.

[0176] Among them, the terminal can determine the current charging frequency of the wireless charging device through self-detection or interaction with the wireless charging device, which is not limited in this embodiment of the present application.

[0177] In this way, after receiving the expected charging frequency and the charging frequency adjustment instruction, the wireless charging device can adjust its own charging frequency according to the difference. For example, if the difference is a positive number, the charging frequency is adjusted to the charging frequency after adding the difference; if the difference is a negative number, the charging frequency is adjusted to the charging frequency after subtracting the difference.

[0178] Step S404: Charging is performed based on the electromagnetic waves generated by the wireless charging device according to the adjusted charging frequency.

[0179] After the wireless charging device adjusts the charging frequency according to the instructions, it will generate electromagnetic waves according to the adjusted charging frequency, so that the terminal can be charged based on the above electromagnetic waves.

[0180] In the solution provided in the embodiment of the present application, the expected charging frequency is related to the CDS frequency used in the shooting mode. It can be seen that when the terminal determines the expected charging frequency, it takes into account the target CDS frequency used in the selected shooting mode. In this way, the expected charging frequency close to the target CDS frequency can be determined, and then after the wireless charging device is instructed to adjust the charging frequency based on the expected charging frequency, the adjusted charging frequency can be close to the target CDS frequency.

[0181] When the terminal performs signal noise reduction based on CDS technology, it will perform two signal samplings at the CDS frequency, one of which is to sample the noise and the actual image signal, and the other is to sample the noise independently. The actual image signal is restored based on the difference between the two sampling results, and an image is generated based on the restored actual image signal.

[0182] Below through Figure 6a and Figure 6b , respectively, the difference between the sampling results when the charging frequency is the same as or different from the target CDS frequency is intuitively explained.

[0183] See first Figure 6a , which is a schematic diagram of the first sampling result provided in an embodiment of the present application.

[0184] Figure 6a The sampling results shown are the sampling results when the charging frequency is different from the target CDS frequency.

[0185] From the above introduction, we can know that dark noise is relatively stable. Therefore, regardless of whether the charging frequency is the same as the target CDS frequency, the dark noise collected twice is close. Figure 6a It is referred to as dark noise A in the literature.

[0186] In addition, since the charging frequency is different from the target CDS frequency, the wireless charging noises sampled twice are noises of different phases, so the wireless charging noises included in the two sampling results may be different. Figure 6aThe wireless charging noises sampled twice are respectively referred to as wireless charging noise B1 and wireless charging noise B2.

[0187] It can be seen that the first sampling result includes the actual image signal, the wireless charging noise B1 and the dark noise A, and the second sampling result includes the wireless charging noise B2 and the dark noise A.

[0188] In this way, since the wireless charging noise included in the two sampling results is different, it is difficult to effectively eliminate the wireless charging noise based on the difference between the two sampling results.

[0189] For example, if the actual image signal is denoted as Light signal, the wireless charging noise B1 is denoted as noise B1, the wireless charging noise B2 is denoted as noise B2, and the dark noise A is denoted as noise A, then the first sampling result minus the second sampling result can be expressed by the following expression:

[0190] Light signal+noise B1+noise A-(noise B2+noise A)=Light signal+noiseB1-noise B2

[0191] It can be seen that the calculated result is not the actual image signal Light signal.

[0192] That is, when the charging frequency is different from the target CDS frequency, it is difficult for the CDS technology to effectively eliminate the wireless charging noise and obtain the actual image signal.

[0193] See also Figure 6b , which is a schematic diagram of the second sampling result provided in an embodiment of the present application.

[0194] Figure 6b The sampling results shown are those when the charging frequency is the same as the target CDS frequency.

[0195] From the above introduction, we can know that dark noise is relatively stable. Therefore, regardless of whether the charging frequency is the same as the target CDS frequency, the dark noise collected twice is close. Figure 6b It is referred to as dark noise A in the literature.

[0196] In addition, since the charging frequency is the same as the target CDS frequency, the wireless charging noise sampled twice is noise of the same phase, so the wireless charging noise included in the two sampling results is the same. Figure 6b In the figure, the wireless charging noise sampled twice is referred to as wireless charging noise B.

[0197] It can be seen that the first sampling result includes the actual image signal, wireless charging noise B and dark noise A, and the second sampling result includes wireless charging noise B and dark noise A.

[0198] In this way, since the wireless charging noise included in the two sampling results is the same, the wireless charging noise can be better eliminated based on the difference between the two sampling results.

[0199] For example, if the actual image signal is denoted as Light signal, the wireless charging noise B is denoted as noise B, and the dark noise A is denoted as noise A, then the first sampling result minus the second sampling result can be expressed by the following expression:

[0200] Light signal+noise B+noise A-(noise B+noise A)=Light signal

[0201] It can be seen that the calculation result is the actual image signal Light signal.

[0202] That is, when the charging frequency is the same as the target CDS frequency, the CDS technology can better eliminate the wireless charging noise and obtain the actual image signal.

[0203] It can be seen from the above that when the terminal is wirelessly charged using the solution provided in the embodiment of the present application, the terminal can not only charge based on the electromagnetic waves generated by the wireless charging device, but also determine the expected charging frequency of the wireless charging device based on the target CDS frequency sampled by the camera application in the selected shooting mode, and actively instruct the wireless charging device to adjust the charging frequency based on the expected charging frequency, and then can charge based on the electromagnetic waves generated by the wireless charging device according to the adjusted charging frequency.

[0204] Among them, the expected charging frequency is related to the CDS frequency used in the shooting mode. It can be seen that when the terminal determines the expected charging frequency, it takes into account the target CDS frequency used in the selected shooting mode. In this way, the expected charging frequency close to the target CDS frequency can be determined, and then the wireless charging device is instructed to adjust the charging frequency based on the expected charging frequency, and the adjusted charging frequency can be close to the target CDS frequency.

[0205] When the terminal performs signal denoising based on CDS technology, it will perform two signal samplings before and after according to the CDS frequency, one of which collects noise and actual image signals, and the other independently collects noise, and restores the actual image signal based on the difference between the two collection results, thereby generating an image based on the restored actual image signal. Then, when the scheme provided by the embodiment of the present application is adopted to make the charging frequency of the wireless charging device adjusted close to the target CDS frequency used in the selected shooting mode, the wireless charging noise included in the two collection results of the terminal before and after the target CDS frequency is the wireless charging noise near the same phase, that is, the wireless charging noise included in the two collection results is relatively close, so that the wireless charging noise can be better eliminated based on the difference between the two collection results, and then the actual image signal that is closer to the true value can be restored, thereby improving the quality of the image generated based on the actual image signal and reducing the adverse effects of wireless charging noise on image acquisition.

[0206] In one embodiment of the present application, there may be multiple opportunities for the terminal to obtain the target CDS frequency used by the camera application in the selected shooting mode and to subsequently instruct the wireless charging device to adjust the charging frequency.

[0207] In the first case, after detecting that the camera application is started, the terminal may obtain the target CDS frequency used by the camera application in the selected shooting mode.

[0208] After the camera application is started, it is in the foreground running state. At this time, the image sensor is in working state. Therefore, the target CDS frequency can be obtained. Based on the target CDS frequency, the wireless charging device is instructed to adjust the charging frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.

[0209] In the second case, after detecting that the selected shooting mode of the camera application is switched, the terminal may obtain the target CDS frequency used by the camera application in the selected shooting mode.

[0210] Since the CDS frequencies used in different shooting modes are generally different, when the selected shooting mode of the camera application is switched, the target CDS frequency used in the selected shooting mode may also change. The charging frequency adjusted based on the original target CDS frequency to instruct the wireless charging device may no longer be able to effectively reduce the adverse effects of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be obtained again, and the wireless charging device can be instructed to adjust the charging frequency based on the latest target CDS frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.

[0211] In the third case, after detecting that the image output mode determined based on the selected shooting mode is switched, the terminal may obtain the target CDS frequency used by the camera application in the selected shooting mode.

[0212] The above-mentioned image output mode may include various types of configuration information based on which the image sensor collects images in the selected shooting mode, and each image output corresponds to a CDS frequency.

[0213] After the image output mode is switched, the target CDS frequency may also change. The charging frequency adjusted based on the original target CDS frequency instruction to the wireless charging device may no longer be able to effectively reduce the adverse effects of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be obtained again, and the wireless charging device can be instructed to adjust the charging frequency based on the latest target CDS frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.

[0214] In one embodiment of the present application, after the camera application exits the working state, the terminal may instruct the wireless charging device to restore the charging frequency to the charging frequency before adjustment.

[0215] The charging frequency before the adjustment may be the default charging frequency of the wireless charging device.

[0216] After the camera application exits the working state, it means that the user will not use the terminal to take pictures temporarily. At this time, there is no need to pay attention to the adverse effects of wireless charging on image acquisition, that is, there is no need to pay attention to the charging frequency of the wireless charging device. Therefore, the terminal can instruct the wireless charging device to restore the charging frequency to the charging frequency before adjustment.

[0217] It can be seen that in this way, when the user does not use the terminal to take pictures, the wireless charging device can be instructed to restore the charging frequency to the charging frequency before adjustment, so that when the user does not use the terminal to take pictures, the wireless charging device can promptly restore the charging frequency to the initially set default charging frequency, so that the wireless charging device can charge the terminal according to the default charging frequency, reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the wireless charging device can promptly restore the charging frequency to the default charging frequency, which can also improve the efficiency of the wireless charging device charging the terminal.

[0218] The following describes the manner in which the sensor node mentioned in the aforementioned step S401 determines the target CDS frequency used by the camera application in the selected shooting mode.

[0219] See also Figure 7 , is a software structure block diagram of a terminal provided in an embodiment of the present application. The software system of the above terminal can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.

[0220] The layered architecture divides the terminal's software system into several layers, each with a clear role and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the software system can be divided into application layers (applications), application framework layers (application framework), hardware abstract layers (HAL) and kernel layers. Of course, the above software system can also include a hardware layer, Figure 7 Not shown.

[0221] Combine the following Figure 7 ,The process of sensor node determining the target CDS frequency is introduced.

[0222] First, after the camera application in the application layer is started, the currently selected shooting mode can be determined and the camera service in the application framework layer is notified to start.

[0223] Then, the camera service is started and sends the selected shooting mode to the policy module.

[0224] In this way, the policy module can determine the target image sensor in a working state based on the selected shooting mode, and determine the image output mode of the target image sensor based on the selected shooting mode.

[0225] The above-mentioned image output mode may include various configuration information based on which the image sensor collects images in the selected shooting mode, and each image output mode corresponds to a CDS frequency.

[0226] After the policy module determines the above-mentioned image output mode, it can notify the sensor node to generate configuration instructions for the image sensor according to the image output mode.

[0227] Finally, the sensor node can determine the target CDS frequency to be used by the camera application in the selected capture mode based on the image output mode.

[0228] It can be seen that through the interaction between modules located at different software architecture layers, the sensor node can be quickly and accurately notified of the output mode of the target image sensor in the working state in the selected shooting mode, and then the sensor node can accurately obtain the target CDS frequency used by the camera application in the selected shooting mode based on the output mode.

[0229] In one case, after the sensor node determines the target CDS frequency corresponding to the image output mode, it can generate a configuration instruction including the above target CDS frequency and send the configuration instruction to the camera request manager (Camera Request Manager, CRM) located in the kernel layer. The CRM can send the configuration instruction to the sensor driver and image front end (Image Front End, IFE) driver located in the kernel layer. Finally, the sensor driver can write the configuration to the image sensor hardware according to the configuration instruction, so that the image sensor can perform image acquisition according to the written configuration.

[0230] In one embodiment of the present application, the sensor node can send the target CDS frequency to the information recording (camxcustom) module located in the hardware abstraction layer, so that the information recording module can write information and write the target CDS frequency into the record file. Then, the charging module located in the kernel layer can obtain the target CDS frequency from the record file and determine the expected charging frequency of the wireless charging device based on the target CDS frequency.

[0231] After the charging module at the core layer determines the expected charging frequency of the wireless charging device, it can instruct the wireless charging device to adjust the wireless frequency.

[0232] In this way, through the interaction between modules located at different software architecture layers, the charging module can quickly and accurately know the target CDS frequency used in the selected shooting mode, and then the charging module can accurately determine the expected charging frequency of the wireless charging device based on the target CDS frequency.

[0233] In one embodiment of the present application, after the camera application determines that it has exited the working state, it can notify the exit perception (CamxHalUtils) module located in the hardware abstraction layer to start, and then the exit perception module starts and sends the exit representation information of the camera application to the information recording module. In this way, the information recording module can write information and write the exit representation information into the recording file, and then the charging module can obtain the exit representation information from the recording file to determine that the camera application has exited the working state.

[0234] In this way, the charging module can instruct the wireless charging device to restore the charging frequency to the charging frequency before adjustment.

[0235] The embodiment of the present application does not limit the specific content of the above-mentioned exit characterization information. For example, the above-mentioned exit characterization information can be 0 or exit.

[0236] In this way, through the interaction between modules located at different software architecture layers, the charging module can quickly and accurately learn that the camera application has exited the working state, and then the charging module can instruct the wireless charging device to restore the charging frequency to the charging frequency before adjustment, so that the wireless charging device can restore the charging frequency to the initial default charging frequency in a timely manner when the user does not use the terminal to take pictures, so that the wireless charging device can charge the terminal according to the default charging frequency, reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the wireless charging device can restore the charging frequency to the default charging frequency in a timely manner, which can also improve the efficiency of the wireless charging device charging the terminal.

[0237] Corresponding to the above-mentioned wireless charging method applied to the terminal, the embodiment of the present application also provides a wireless charging method applied to a wireless charging device.

[0238] First, a possible structure of the wireless charging device is introduced below.

[0239] For example, Figure 8 8 shows a schematic diagram of the structure of a wireless charging device 800. The wireless charging device 800 may include a processor 810, an internal memory 820, a USB interface 830, a wireless charging module 840, a battery management module 841, a battery 842, a wireless communication module 850, an antenna 1, and the like.

[0240] It is understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the wireless charging device 800. In other embodiments of the present application, the wireless charging device 800 may include more or fewer components than shown in the figure, or combine certain components, or split certain 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.

[0241] The processor 810 may include one or more processing units, for example: the processor 810 may include a central processing unit (CPU), an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural network processor (NPU), etc. Among them, different processing units may be independent components or integrated into one or more processors. In some embodiments, the wireless charging device 800 may also include one or more processors 810. Among them, the controller may generate an operation control signal according to the instruction opcode and the timing signal to complete the control of fetching and executing instructions. In some other embodiments, a memory may also be set in the processor 810 for storing instructions and data. Exemplarily, the memory in the processor 810 may be a cache memory. The memory may store instructions or data that the processor 810 has just used or circulated. If the processor 810 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated access and reduces the waiting time of the processor 810, thereby improving the efficiency of the wireless charging device 800 in processing data or executing instructions.

[0242] In some embodiments, the processor 810 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 SIM card interface and / or a USB interface, etc. Among them, the USB interface 830 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 830 can be used to connect a charger to charge the wireless charging device 800, and can also be used to transmit data between the wireless charging device 800 and peripheral devices. The USB interface 830 can also be used to connect headphones to play audio through the headphones.

[0243] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is for illustrative purposes only and does not constitute a structural limitation on the wireless charging device 800. In other embodiments of the present application, the wireless charging device 800 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.

[0244] The wireless communication function of the wireless charging device 800 can be implemented through the antenna 1, the wireless communication module 850, the modem processor, the baseband processor, etc.

[0245] Antenna 1 is used to transmit and receive electromagnetic wave signals. The antenna in the wireless charging device 800 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of the antenna. 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.

[0246] The wireless charging module 840 is used to generate electromagnetic waves and charge the terminal based on the generated electromagnetic waves.

[0247] The internal memory 820 can be used to store one or more computer programs, which include instructions. The processor 810 can run the above instructions stored in the internal memory 820, so that the wireless charging device 800 performs the wireless charging method provided in some embodiments of the present application, as well as various applications and data processing. The internal memory 820 may include a program storage area and a data storage area. Among them, the program storage area can store an operating system. The data storage area can store data created during the use of the wireless charging device 800. In addition, the internal memory 820 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage components, flash memory components, universal flash storage (Universal Flash Storage, UFS), etc. In some embodiments, the processor 810 can run instructions stored in the internal memory 820, and / or instructions stored in a memory provided in the processor 810, so that the wireless charging device 800 performs the wireless charging method provided in the embodiment of the present application, as well as other applications and data processing.

[0248] The internal memory 820 can be used to store the relevant programs of the wireless charging method provided in the embodiment of the present application, and the processor 810 can be used to call the relevant programs of the wireless charging method stored in the internal memory 820 when displaying information to execute the wireless charging method of the embodiment of the present application.

[0249] The wireless charging solution provided in the embodiment of the present application is described in detail below through specific embodiments.

[0250] See also Fig. 9 , is a flow chart of a second wireless charging method provided in an embodiment of the present application. The above method is applied to a wireless charging device and includes the following steps S901-S903.

[0251] Step S901: receiving an adjustment instruction for charging frequency sent by a terminal.

[0252] Step S902: adjusting the charging frequency based on the adjustment instruction.

[0253] It can be seen from the aforementioned wireless charging embodiments applied to the terminal that the terminal can send the expected charging frequency and the adjustment instruction to the wireless charging device, so that the wireless charging device can adjust its own charging frequency to the expected charging frequency.

[0254] In one case, the wireless charging device can determine whether the expected charging frequency sent by the terminal is within its own adjustable charging frequency range. If so, it directly adjusts its own charging frequency to the expected charging frequency; otherwise, it can determine the charging frequency closest to the expected charging frequency from the maximum charging frequency and the minimum charging frequency within the adjustable charging frequency range, and adjust its own charging frequency to the above-mentioned closest charging frequency.

[0255] Step S903: charging the terminal based on the adjusted charging frequency.

[0256] After the wireless charging device adjusts the charging frequency according to the instructions, it will generate electromagnetic waves according to the adjusted charging frequency, so that the terminal can be charged based on the above electromagnetic waves.

[0257] As can be seen from the above, when the terminal is wirelessly charged using the solution provided in the embodiment of the present application, the wireless charging device can dynamically adjust the charging frequency based on the terminal's adjustment indication for the charging frequency, and can then charge the terminal based on the adjusted charging frequency.

[0258] When the terminal instructs the wireless charging device to adjust the charging frequency, the target CDS frequency used in the selected shooting mode of the camera application is taken into account. In this way, the terminal can determine the expected charging frequency close to the target CDS frequency, and then instruct the wireless charging device to adjust the charging frequency based on the expected charging frequency, so that the adjusted charging frequency can be close to the target CDS frequency.

[0259] When the terminal performs signal denoising based on CDS technology, it will perform two signal samplings before and after according to the CDS frequency, one of which collects noise and actual image signals, and the other independently collects noise, and restores the actual image signal based on the difference between the two collection results, thereby generating an image based on the restored actual image signal. Then, when the wireless charging device adopts the solution provided by the embodiment of the present application so that the adjusted charging frequency approaches the target CDS frequency used in the selected shooting mode, the wireless charging noise included in the two collection results before and after the target CDS frequency of the terminal is wireless charging noise near the same phase, that is, the wireless charging noise included in the two collection results is relatively close, so that the wireless charging noise can be better eliminated based on the difference between the two collection results, and then the actual image signal that is closer to the true value can be restored, thereby improving the quality of the image generated based on the actual image signal and reducing the adverse effects of wireless charging noise on image acquisition.

[0260] In one embodiment of the present application, Fig. 9 The wireless charging method shown also includes:

[0261] A recovery indication for the charging frequency sent by the receiving terminal is restored, the charging frequency is restored to the charging frequency before adjustment, and the terminal is charged based on the restored charging frequency.

[0262] After the camera application exits the working state, it means that the user will not use the terminal to take pictures temporarily. At this time, there is no need to pay attention to the adverse effects of wireless charging on image acquisition, that is, there is no need to pay attention to the charging frequency of the wireless charging device.

[0263] Therefore, the terminal can instruct the wireless charging device to restore the charging frequency to the charging frequency before adjustment, so that after the wireless charging device receives the restoration instruction for the charging frequency sent by the terminal, it can restore the charging frequency to the charging frequency before adjustment and charge the terminal based on the restored charging frequency.

[0264] It can be seen that when the user does not use the terminal to take pictures, the wireless charging device can restore the charging frequency to the charging frequency before adjustment according to the recovery instruction for the charging frequency sent by the terminal, so that when the user does not use the terminal to take pictures, the charging frequency can be restored to the initial default charging frequency in time, so that the wireless charging device can charge the terminal according to the default charging frequency, reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the wireless charging device can restore the charging frequency to the default charging frequency in time, which can also improve the efficiency of the wireless charging device charging the terminal.

[0265] The user information involved in the embodiments of the present application is information that has been authorized by the user. The acquisition, storage, use, processing, transmission, provision and disclosure of the user information are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0266] In a specific implementation, the present application further provides a computer storage medium, wherein the computer storage medium may store a program, wherein when the program is executed, the device where the computer readable storage medium is located is controlled to perform some or all of the steps in the above embodiment. The above storage medium may be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc.

[0267] In a specific implementation, an embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a terminal, the terminal executes some or all of the steps in the above method embodiment.

[0268] In a specific implementation, the embodiment of the present application further provides a terminal, including:

[0269] one or more processors, image sensors, and memory;

[0270] The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the terminal to execute the aforementioned wireless charging method applied to the terminal.

[0271] In a specific implementation, the embodiment of the present application further provides a wireless charging device, including:

[0272] one or more processors, image sensors, and memory;

[0273] The memory is coupled to the one or more processors, and the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and the one or more processors call the computer instructions to enable the terminal to execute the aforementioned wireless charging method applied to a wireless charging device.

[0274] An embodiment of the present application further provides a computer-readable storage medium, including a computer program, which, when executed on a terminal, enables the terminal to execute the aforementioned wireless charging method applied to the terminal.

[0275] An embodiment of the present application further provides another computer-readable storage medium, including a computer program. When the computer program is executed on a wireless charging device, the wireless charging device executes the aforementioned wireless charging method applied to the wireless charging device.

[0276] The embodiment of the present application further provides a computer program product, which includes executable instructions. When the executable instructions are executed on a terminal, the terminal executes the aforementioned wireless charging method applied to the terminal.

[0277] An embodiment of the present application further provides another computer program product, which includes executable instructions. When the executable instructions are executed on a wireless charging device, the wireless charging device executes the aforementioned wireless charging method applied to the wireless charging device.

[0278] like Fig.10 As shown, the present application also provides a chip system, which is applied to a terminal 100, and the chip system includes one or more processors 1001, and the processor 1001 is used to call computer instructions so that the terminal 100 inputs the data to be processed into the chip system. The chip system executes a wireless charging method based on the solution provided in an embodiment of the present application to instruct the wireless charging device to adjust the charging frequency.

[0279] like Fig.11As shown, the present application also provides another chip system, which is applied to a wireless charging device 800. The chip system includes one or more processors 1101. The processor 1101 is used to call computer instructions so that the wireless charging device 800 inputs the data to be processed into the chip system. The chip system executes the wireless charging method based on the solution provided in the embodiment of the present application to adjust the charging frequency according to the instructions of the terminal.

[0280] In a possible implementation, the chip system also includes input and output interfaces for inputting and outputting data.

[0281] The various embodiments of the mechanism disclosed in the present application can be implemented in hardware, software, firmware or a combination of these implementation methods. The embodiments of the present application can be implemented as a computer program or program code executed on a programmable system, which includes at least one processor, a storage system (including volatile and non-volatile memory and / or storage elements), at least one input device and at least one output device.

[0282] Program code can be applied to input instructions to perform the functions described in this application and generate output information. The output information can be applied to one or more output devices in a known manner. For the purposes of this application, a processing system includes any system having a processor such as, for example, a digital signal processor (DSP), a microcontroller, an application specific integrated circuit (ASIC), or a microprocessor.

[0283] Program code can be implemented with high-level programming language or object-oriented programming language to communicate with the processing system. When necessary, program code can also be implemented with assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any specific programming language. In either case, the language can be a compiled language or an interpreted language.

[0284] In some cases, the disclosed embodiments can be implemented in hardware, firmware, software or any combination thereof. The disclosed embodiments can also be implemented as instructions carried or stored on one or more temporary or non-temporary machine-readable (e.g., computer-readable) storage media, which can be read and executed by one or more processors. For example, instructions can be distributed over a network or through other computer-readable media. Therefore, machine-readable media can include any mechanism for storing or transmitting information in a machine (e.g., computer) readable form, including but not limited to, floppy disks, optical disks, optical disks, compact disc read-only memories (Compact Disc Read Only Memory, CD-ROMs), magneto-optical disks, read-only memories, random access memories, erasable programmable read-only memories (Erasable Programmable Read Only Memory, EPROM), electrically erasable programmable read-only memories (Electrically Erasable Programmable Read Only Memory, EEPROM), magnetic cards or optical cards, flash memory, or tangible machine-readable memories for transmitting information (e.g., carrier waves, infrared signal digital signals, etc.) using the Internet in electrical, optical, acoustic or other forms of propagation signals. Accordingly, machine-readable media include any type of machine-readable media suitable for storing or transmitting electronic instructions or information in a form readable by a machine (eg, a computer).

[0285] In the accompanying drawings, some structural or method features may be shown in a specific arrangement and / or order. However, it should be understood that such a specific arrangement and / or order may not be required. Instead, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings of the specification. In addition, the inclusion of structural or method features in a particular figure does not mean that such features are required in all embodiments, and in some embodiments, these features may not be included or may be combined with other features.

[0286] It should be noted that the units / modules mentioned in the various device embodiments of the present application are all logical units / modules. Physically, a logical unit / module can be a physical unit / module, or a part of a physical unit / module, or can be implemented as a combination of multiple physical units / modules. The physical implementation method of these logical units / modules themselves is not the most important. The combination of functions implemented by these logical units / modules is the key to solving the technical problems proposed by the present application. In addition, in order to highlight the innovative part of the present application, the above-mentioned device embodiments of the present application do not introduce units / modules that are not closely related to solving the technical problems proposed by the present application, which does not mean that there are no other units / modules in the above-mentioned device embodiments.

[0287] It should be noted that in the examples and description of this patent, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "including one" do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0288] Although the present application has been illustrated and described with reference to certain preferred embodiments thereof, it will be apparent to those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the present application.

Claims

1. A wireless charging method, characterized in that: Applied to a terminal, the method comprises: When the camera application is in the foreground running state, obtaining a target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode; Determining an expected charging frequency of the wireless charging device based on the target CDS frequency; Based on the expected charging frequency, instructing the wireless charging device to adjust the charging frequency; Charging is performed based on the electromagnetic waves generated by the wireless charging device according to the adjusted charging frequency.

2. The method according to claim 1, characterized in that The determining, based on the target CDS frequency, an expected charging frequency of the wireless charging device includes: The target CDS frequency is determined as the expected charging frequency of the wireless charging device.

3. The method according to claim 2, characterized in that Before determining the target CDS frequency as the expected charging frequency of the wireless charging device, the method further includes: Determining whether the target CDS frequency is within an adjustable range of the charging frequency of the wireless charging device; If yes, executing the step of determining the target CDS frequency as the expected charging frequency of the wireless charging device; If not, then a charging frequency closest to the target CDS frequency is determined from the maximum charging frequency and the minimum charging frequency within the adjustable range of the charging frequency as the expected charging frequency.

4. The method according to claim 1, characterized in that: The terminal includes: the camera application at the application layer, the camera service at the application framework layer, the policy module and the sensor node at the hardware abstraction layer, and the obtaining of the target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes: The camera application determines the selected shooting mode and notifies the camera service to start; The camera service is started and the selected shooting mode is sent to the policy module; The strategy module determines a target image sensor in a working state based on the selected shooting mode, and determines an image output mode of the target image sensor based on the selected shooting mode; The sensor node determines a target CDS frequency used by the camera application in the selected shooting mode based on the image output mode.

5. The method according to claim 4, characterized in that The terminal further comprises: an information recording module located at the hardware abstraction layer and a charging module located at the kernel layer; The determining, based on the target CDS frequency, an expected charging frequency of the wireless charging device includes: The information recording module writes the target CDS frequency determined by the sensor node into a record file; The charging module obtains the target CDS frequency from the record file, and determines an expected charging frequency of the wireless charging device based on the target CDS frequency.

6. The method according to claim 1, characterized in that The step of obtaining, when the camera application is in the foreground running state, a target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes: After detecting that the camera application is started, obtaining a target CDS frequency used by the camera application in a selected shooting mode; or After detecting that the selected shooting mode of the camera application is switched, obtaining a target CDS frequency used by the camera application in the selected shooting mode; or After detecting that the image output mode determined based on the selected shooting mode is switched, a target CDS frequency used by the camera application in the selected shooting mode is obtained.

7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: After the camera application exits the working state, the wireless charging device is instructed to restore the charging frequency to the charging frequency before adjustment.

8. The method according to claim 7, characterized in that The terminal includes: the camera application located at the application layer, an exit perception module and an information recording module located at the hardware abstraction layer, and a charging module located at the kernel layer, wherein the charging module determines the camera application exit working state in the following manner: After the camera application determines to exit the working state, it notifies the exit sensing module to start; The exit sensing module is started and sends the exit representation information of the camera application to the information recording module; The information recording module writes the exit representation information into a record file; The charging module obtains the exit representation information from the record file and determines that the camera application has exited the working state.

9. A wireless charging method, characterized in that: Applied to a wireless charging device, the method comprises: receiving an adjustment instruction for charging frequency sent by a terminal; adjusting the charging frequency based on the adjustment indication; The terminal is charged based on the adjusted charging frequency.

10. The method according to claim 9, characterized in that The method further comprises: receiving a recovery indication for the charging frequency sent by the terminal; Restoring the charging frequency to the charging frequency before adjustment; The terminal is charged based on the restored charging frequency.

11. A terminal, characterized in that: include: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, where the computer program codes include computer instructions. The one or more processors call the computer instructions to enable the terminal to execute the method according to any one of claims 1 to 8.

12. A wireless charging device, characterized in that: include: one or more processors and memory; The memory is coupled to the one or more processors, and the memory is used to store computer program codes, where the computer program codes include computer instructions. The one or more processors call the computer instructions to enable the terminal to execute the method according to claim 9 or 10.

13. A computer-readable storage medium, characterized in that: The method comprises a computer program, which, when executed on a terminal, causes the terminal to execute the method according to any one of claims 1 to 8.

14. A computer-readable storage medium, characterized in that: The method comprises a computer program, which, when executed on a wireless charging device, enables the wireless charging device to perform the method according to claim 9 or 10.

15. A computer program product, characterized in that The computer program product comprises executable instructions, and when the executable instructions are executed on a terminal, the terminal is caused to execute the method according to any one of claims 1 to 8.

16. A computer program product, characterized in that The computer program product comprises executable instructions, and when the executable instructions are executed on a wireless charging device, the wireless charging device is caused to perform the method of claim 9 or 10.

17. A chip system, characterized in that: The chip system is applied to a terminal, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the terminal inputs data into the chip system and executes the method described in any one of claims 1 to 8 to instruct the wireless charging device to adjust the charging frequency.

18. A chip system, characterized in that: The chip system is applied to a wireless charging device, and the chip system includes one or more processors, and the processor is used to call computer instructions so that the wireless charging device inputs data into the chip system and executes the method described in claim 9 or 10 to adjust the charging frequency according to the instruction of the terminal.

Citation Information

Patent Citations

  • Wireless power transmitter tuning

    CN103534956A

  • Wireless energy switching circuit, wireless charging chip and electronic equipment

    CN111934445A

  • Camera with reduced image noise resulting from wireless charging

    CN112005478A

  • Correlated double-sampling front-end reading circuit, capacitance-to-digital converter and sensor

    CN114884514A

  • Color filtering array, image sensor, camera module and electronic equipment

    CN115696078A