Wireless charging method, terminal, wireless charging device and storage medium
By obtaining the CDS frequency of the camera application and adjusting the charging frequency of the wireless charging device to match the shooting mode, the interference of wireless charging noise on image acquisition is resolved and the image quality is improved.
Patent Information
- Application Number
- CN202410053540.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-12
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2044-01-12
AI Technical Summary
The electromagnetic waves generated during wireless charging interfere with the image sensor, causing image acquisition noise and affecting the photo and video quality.
By obtaining the target correlated double sampling (CDS) frequency when the camera application is in the foreground, the wireless charging device is instructed to adjust the charging frequency to match the CDS frequency in the shooting mode, thereby reducing the impact of wireless charging noise on image acquisition.
The image quality is improved, the adverse effects of wireless charging noise on image acquisition are reduced, and the accuracy of image signals is ensured.
Smart Images

Figure CN119255124B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular to a wireless charging method, terminal, wireless charging device and storage medium. Background Art
[0002] When using a wireless charging device to charge a terminal, simply place the terminal in contact with the wireless charging device to charge it. For example, placing a mobile phone or tablet on a wireless charging dock will charge the terminal. This charging method is popular among users due to its convenience.
[0003] In some cases, users may use a charging device to take photos, record videos, and more. Wireless charging devices primarily use built-in coils to generate electromagnetic waves to charge the device. These electromagnetic waves generate a changing magnetic field, which in turn generates a changing electric field on the device's image sensor. This changing electric field can cause the image sensor's voltage to fluctuate. Furthermore, because image sensors convert photoelectric signals based on voltage, when users use a charging device to take photos or record videos, the photoelectric signal conversion is disrupted, generating noise that can adversely affect the captured image. For example, interference fringes may appear in the image. Summary of the Invention
[0004] In view of this, the present application provides a wireless charging method, terminal, wireless charging device and 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, applied to a terminal, the method comprising:
[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 a 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] The expected charging frequency of the wireless charging device is related to the CDS frequency used in the shooting mode. Therefore, when determining the expected charging frequency, the terminal takes into account the target CDS frequency used in the selected shooting mode. This allows the terminal to determine an expected charging frequency that is close to the target CDS frequency. Furthermore, based on the expected charging frequency, the terminal can instruct the wireless charging device to adjust its charging frequency, so that the adjusted charging frequency is close to the target CDS frequency.
[0012] When the terminal performs signal noise reduction based on CDS technology, it samples the signal twice before and after the CDS frequency, sampling the signal once to collect noise and the actual image signal, and sampling the noise independently in the other sampling. The actual image signal is restored based on the difference between the two sampling results, thereby generating an image based on the restored actual image signal. Therefore, when the solution provided by the embodiment of the present application is adopted so that the charging frequency adjusted by the wireless charging device approaches the target CDS frequency used in the selected shooting mode, the wireless charging noise included in the two sampling results before and after the target CDS frequency by the terminal is wireless charging noise near the same phase, that is, the wireless charging noise included in the two sampling results is relatively close, so the wireless charging noise can be better eliminated based on the difference between the two sampling 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.
[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, and 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 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 charging frequency range 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] As can be seen, this embodiment also considers the adjustable charging frequency range of the wireless charging device when determining the expected charging frequency. If the wireless charging device can adjust the charging frequency to the same as the target CDS frequency, the target CDS frequency is directly determined as the expected charging frequency. If the wireless charging device cannot adjust the charging frequency to the same as the target CDS frequency, the expected charging frequency closest to the target CDS frequency within the wireless charging device's adjustable charging frequency range is selected. This prevents the determined expected charging frequency from falling outside the adjustable charging frequency range while ensuring that the determined expected charging frequency is as close to the target CDS frequency as possible, thereby improving the rationality of the solution.
[0021] In one embodiment of the present application, the terminal includes: the 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, and obtaining the target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes:
[0022] The camera application determines that a shooting mode is selected 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 a selected shooting mode based on the image output mode.
[0026] It can be seen that through the interaction between modules located in 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 a camera application is in a foreground running state, obtaining a target correlated double sampling (CDS) frequency used by the camera application in a 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 a camera application is in a foreground running state, obtaining a target correlated double sampling (CDS) frequency used by the camera application in a 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] Because the CDS frequencies used in different shooting modes generally differ, when the selected shooting mode in the camera application is switched, the target CDS frequency used in the selected shooting mode may also change. Instructing the wireless charging device to adjust the charging frequency based on the original target CDS frequency may no longer effectively reduce the adverse effects of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be retrieved and used to instruct the wireless charging device to adjust the charging frequency, thereby reducing the adverse effects of wireless charging noise on image acquisition.
[0038] In one embodiment of the present application, when a camera application is in a foreground running state, obtaining a target correlated double sampling (CDS) frequency used by the camera application in a 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 switching the output mode, the target CDS frequency may also change. The adjusted charging frequency instructed to the wireless charging device based on the original target CDS frequency may no longer effectively reduce the negative impact of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be retrieved and used to instruct the wireless charging device to adjust its charging frequency, thereby reducing the negative impact 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 this can instruct the wireless charging device to restore the charging frequency to the pre-adjustment charging frequency when the user is not using the terminal to take photos. As a result, the wireless charging device can promptly restore the charging frequency to the initially set default charging frequency when the user is not using the terminal to take photos, allowing the wireless charging device to 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 promptly restoring the charging frequency to the default charging frequency 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. The charging module determines the camera application's exit status in the following manner:
[0045] After the camera application determines to exit the working state, it notifies the exit perception module to start;
[0046] The exit sensing module is started and sends 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 be informed that the camera application has exited the working state. The charging module can then instruct the wireless charging device to restore the charging frequency to the charging frequency before the adjustment. As a result, when the user is not using the terminal to take pictures, the wireless charging device can promptly restore the charging frequency to the initially set default charging frequency, allowing the wireless charging device to charge the terminal at the default charging frequency, thereby reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the timely restoration of the charging frequency to the default charging frequency by the wireless charging device can also improve the efficiency of the wireless charging device in charging the terminal.
[0050] In a second aspect, an embodiment of the present application provides a wireless charging method, applied to a wireless charging device, the method comprising:
[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] As can be seen from the above, 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, it takes into account the target CDS frequency used in the selected shooting mode of the camera application. This allows the terminal to determine an expected charging frequency that is 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 approach the target CDS frequency.
[0056] When the terminal performs signal noise reduction based on CDS technology, it samples the signal twice before and after the CDS frequency, sampling the signal once to collect noise and the actual image signal, and sampling the noise independently in the other sampling. The actual image signal is restored based on the difference between the two sampling results, thereby generating an image based on the restored actual image signal. Therefore, 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 sampling results before and after the target CDS frequency by the terminal is wireless charging noise near the same phase, that is, the wireless charging noise included in the two sampling results is relatively close, so the wireless charging noise can be better eliminated based on the difference between the two sampling 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 restoration instruction 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 is not using the terminal to take photos, the wireless charging device can restore the charging frequency to the charging frequency before adjustment according to the restoration instruction for the charging frequency sent by the terminal. Therefore, when the user is not using the terminal to take photos, the charging frequency can be promptly restored to the initially set default charging frequency, allowing the wireless charging device to 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 also improve the efficiency of charging the terminal by promptly restoring the charging frequency to the default charging frequency.
[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 is used to store computer program code, where the computer program code includes 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 code, where the computer program code includes computer instructions. 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, which, when executed on a terminal, enables the terminal to execute the method described in the first aspect.
[0067] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, comprising a computer program. When the computer program runs on a wireless charging device, the wireless charging device executes 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, which includes 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, which are used to call computer instructions to enable the terminal to input data into the chip system and execute 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. The chip system includes one or more processors, which are used to call computer instructions to enable the wireless charging device to input data into the chip system and execute 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 in the embodiments of the third to tenth aspects can be referred to the beneficial effects of the solutions provided in the embodiments of 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 following is a brief introduction to the drawings required for use in the embodiments. 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 any creative work.
[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 flow chart 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 the second sampling result provided in an embodiment of the present application;
[0081] Figure 7 A software structure 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] Figure 9 A schematic diagram of a second wireless charging method according to an embodiment of the present application;
[0084] Figure 10 A schematic structural diagram of the first chip system provided in an embodiment of the present application;
[0085] Figure 11 A schematic structural diagram 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, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the first instruction and the second instruction are intended to distinguish different user instructions and do not limit their order. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "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 in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplarily" or "for example" is intended to present the relevant concepts in a concrete manner.
[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, and robots.
[0090] A possible structure of the above terminal is introduced below.
[0091] For example, Figure 1 FIG1 shows a schematic diagram of the structure of the terminal 100. The terminal 100 may include a processor 110, a display screen 120, an internal memory 130, a Subscriber Identification Module (SIM) card interface 140, a 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. 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, and the like.
[0092] It should be understood that the structures illustrated in the embodiments of the present application do 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, or may combine or separate certain components, or arrange the components differently. The illustrated components 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 processing unit (NPU). The 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. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In other embodiments, the processor 110 may also include a memory for storing instructions and data. For example, the memory in the processor 110 may be a cache memory. This memory may store instructions or data that have just been used or are being recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can directly call it from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves 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 interfaces 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. The USB interface 150 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 150 may be used to connect a charger to charge the terminal 100, or to transfer data between the terminal 100 and peripheral devices. The USB interface 150 may also be used to connect headphones to play audio through the headphones.
[0095] It is understood that the interface connection relationship between the modules illustrated in the embodiments 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 from 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 antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0098] Terminal 100 implements display functions through a GPU, display screen 120, and an application processor. The GPU is a microprocessor for image processing that connects display screen 120 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or modify 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), a mini-LED, a micro-LED, a micro-o-LED, or a quantum dot light-emitting diode (QLED). 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 adopts materials such as OLED, AMOLED, FLED, etc., the above Figure 1 The display screen 120 can be bent. Here, the display screen 120 can be bent to any angle at any position and can be maintained at that 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 due to their unique characteristics and huge potential. Compared with traditional screens, flexible screens are more flexible and bendable, which can provide users with a new way of interaction based on the bendable characteristics, and can meet more user demands for the terminal. For terminals equipped with a foldable display, the foldable display 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 a foldable display more and more frequently.
[0102] The wireless charging module 160 is used to sense the electromagnetic waves sent by the wireless charging device and convert the sensed electromagnetic waves into electrical energy to 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 processes data fed back by the image sensor 170E. For example, when shooting, the shutter is opened, and light is transmitted through the lens to the image sensor 170E. The light signal is converted into an electrical signal, which the image sensor 170E then passes to the ISP for processing, transforming it into a visible image. The ISP can perform algorithmic optimization on image noise, brightness, and color. It can also optimize parameters such as exposure and color temperature for the captured scene.
[0105] The image sensor 170E is used to capture photos or videos. The object generates an optical image through the lens and is projected 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 be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard 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. In addition to processing digital image signals, it can also process other digital signals. For example, when the terminal 100 selects 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 video. Terminal 100 may support one or more video codecs. This allows terminal 100 to play or record videos in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, and MPEG4.
[0108] The NPU is a neural network (NN) computing processor. Drawing on the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, it rapidly processes input information and can continuously self-learn. The NPU enables intelligent cognitive applications in the terminal 100, such as image recognition, face recognition, speech recognition, and text comprehension.
[0109] The internal memory 130 can be used to store one or more computer programs, each of which includes instructions. The processor 110 can execute the instructions stored in the internal memory 130, thereby enabling the terminal 100 to perform 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. The program storage area may store an operating system; the program storage area may also store one or more applications (such as a gallery, contacts, etc.). The data storage area may store data created during the use of the terminal 100 (such as photos, contacts, etc.). 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 storage (UFS), etc. In some embodiments, the processor 110 can execute the instructions stored in the internal memory 130 and / or instructions stored in a memory provided in the processor 110, thereby enabling the terminal 100 to perform the wireless charging method provided in the embodiments of the present application, as well as other applications and data processing.
[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] Pressure sensor 170A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 170A can be located on display screen 120. There are many types of pressure sensors 170A, including resistive, inductive, and capacitive pressure sensors. A capacitive pressure sensor may comprise at least two parallel plates made of conductive material. When force is applied to pressure sensor 170A, the capacitance between the electrodes changes, and terminal 100 determines the intensity of the pressure based on the change in capacitance. When a touch operation is applied to display screen 120, terminal 100 detects the touch operation based on pressure sensor 170A. Terminal 100 can also calculate the touch location based on the detection signal from pressure sensor 170A. In some embodiments, touch operations applied to the same touch location but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with an intensity less than a first pressure threshold is applied to a short message application icon, a command to view short messages is executed; when a touch operation with an intensity greater than or equal to the first pressure threshold is applied to a short message application icon, a command 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 implement functions such as unlocking, accessing application locks, taking photos, and answering calls.
[0114] Touch sensor 170C, also known as a touch-sensitive device, can be provided on display screen 120. Touch sensor 170C and display screen 120 form a touch screen, also known as a touchscreen. Touch sensor 170C is used to detect touch operations applied thereto or in the vicinity thereof. Touch sensor 170C can transmit the detected touch operations to an application processor to determine the type of touch event. Visual output related to the touch operations can be provided via display screen 120. In other embodiments, touch sensor 170C can also be provided on the surface of terminal 100, in a different location from display screen 120.
[0115] Ambient light sensor 170D is used to sense ambient light brightness. Terminal 100 can adaptively adjust the brightness of display screen 120 based on the perceived ambient light brightness. Ambient light sensor 170D can also be used to automatically adjust white balance during photography. Ambient light sensor 170D can also transmit information about the device's environment 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 that 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 convert light signals into electrical signals, also known as photoelectric signal conversion. Specifically, when light strikes the image sensor's photosensitive array, photons are absorbed by the photosensitive elements. These elements, under the influence of light, generate electrons, ultimately forming a voltage signal. This voltage signal is then converted to a digital signal through digital-to-analog conversion. This digital signal undergoes further image processing and encoding to generate a digital image.
[0122] 3. Dark noise
[0123] As can be seen from the above description of the working principle of image sensors, image sensors convert photoelectric signals based on the strength of voltage signals.
[0124] However, due to the material of the image sensor itself, the voltage signal it generates 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 it generates 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 generate changing magnetic fields. The changing magnetic fields generate changing electric fields on the terminal's image sensor. The changing electric fields may cause the voltage of the image sensor to change.
[0128] 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 generated 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 embodiments of the present application, the above noise is referred to as wireless charging noise.
[0129] 5. Correlated Double Sampling (CDS) technology
[0130] As can be seen from the preceding description, even without considering wireless charging noise, the voltage signal generated by the image sensor will still include dark noise such as reset noise and low-frequency noise. Therefore, when this noisy voltage signal is used to generate an image through operations such as digital-to-analog conversion, the resulting image will 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, if the first sampling operation samples the voltage signal level, this sampling will capture both dark noise and the actual image signal. The second sampling operation samples the voltage signal reset level, capturing the dark noise separately. Because dark noise is relatively stable, the dark noise values collected in the two samplings are similar. Therefore, calculating the difference between the two sampling results can yield a more accurate actual image signal, minimizing 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 dark noise and actual image signal together, and the second sampling will only collect 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 then 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 tablets 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 preceding concepts, wireless charging devices generate wireless charging noise, which can adversely affect terminal image acquisition, such as the appearance of interference stripes in the image.
[0141] See also Figure 3 , 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 charging state.
[0144] When a user taps the camera app icon on the phone's user interface, the app launches and enters the viewfinder interface. At this point, the phone's image sensor is in operation. However, the electromagnetic waves generated by the wireless charging dock can cause changes in the image sensor's voltage, disrupting the photoelectric signal conversion and generating noise. This noise is manifested as streaks on the camera app's viewfinder interface. This can negatively impact the captured image, resulting in streaks appearing in the final 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 embodiments of the present application is described in detail below through specific examples.
[0147] See also Figure 4 , which is a flow chart of the 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, obtain the target CDS frequency used by the camera application in the selected shooting mode.
[0149] The foreground running state is the running state, not the background dormant 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 can 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 side, the initial shooting mode when the phone's camera application 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 on the right, portrait mode is 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 terminal can activate different image sensors and use different specific configurations for image acquisition. When the terminal uses CDS technology for signal noise reduction, in order to achieve better signal noise reduction effects, different CDS frequencies can be used for signal noise reduction in different shooting modes.
[0156] The 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 embodiment, a terminal may include a camera application at the application layer, a camera service at the application framework layer, a policy module at the hardware abstraction layer, and a sensor node. In this embodiment, the camera application, the camera service, the policy module, and the sensor node interact with each other to enable the sensor node to determine the target CDS frequency used by the camera application in the selected shooting mode. The specific implementation is described in subsequent embodiments and is not described in detail here.
[0159] Step S402: Determine the 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 the expected charging frequency of the wireless charging device is determined to be 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, and 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 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 can also be determined 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 a 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 as close to the target CDS frequency 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, so 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] As can be seen, this embodiment also considers the adjustable charging frequency range of the wireless charging device when determining the expected charging frequency. If the wireless charging device can adjust the charging frequency to the same as the target CDS frequency, the target CDS frequency is directly determined as the expected charging frequency. If the wireless charging device cannot adjust the charging frequency to the same as the target CDS frequency, the expected charging frequency closest to the target CDS frequency within the wireless charging device's adjustable charging frequency range is selected. This prevents the determined expected charging frequency from falling outside the adjustable charging frequency range while ensuring that the determined expected charging frequency is as close to the target CDS frequency as possible, thereby improving the rationality of the solution.
[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. 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 to the expected charging frequency.
[0175] In another embodiment, 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 based on the difference. For example, if the difference is positive, the charging frequency is adjusted to the charging frequency with the difference added; if the difference is negative, the charging frequency is adjusted to the charging frequency with the difference subtracted.
[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 embodiments of this application, the expected charging frequency is related to the CDS frequency used in the shooting mode. Therefore, when the terminal determines the expected charging frequency, it takes into account the target CDS frequency used in the selected shooting mode. This allows the terminal to determine an expected charging frequency that is close to the target CDS frequency. Furthermore, based on the expected charging frequency, the terminal can instruct the wireless charging device to adjust the charging frequency, so that the adjusted charging frequency can approach 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 sampling is to collect noise and actual image signals, and the other sampling is to collect 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] As can be seen from the above introduction, dark noise is relatively stable. Therefore, regardless of whether the charging frequency is the same as the target CDS frequency, the dark noise of the two acquisitions is close. Figure 6a It is referred to as dark noise A in this paper.
[0186] In addition, since the charging frequency is different from the target CDS frequency, the wireless charging noise of the two samples is noise of different phases, so the wireless charging noise included in the two sampling results may be different. Figure 6aThe two sampled wireless charging noises are referred to as wireless charging noise B1 and wireless charging noise B2 respectively.
[0187] It can be seen that the first sampling result includes the actual image signal, wireless charging noise B1 and dark noise A, and the second sampling result includes wireless charging noise B2 and 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, wireless charging noise B1 is denoted as noise B1, wireless charging noise B2 is denoted as noise B2, and dark noise A is denoted as noise A, then the first sampling result minus the second sampling result can be expressed as follows:
[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 CDS technology to effectively eliminate wireless charging noise and obtain actual image signals.
[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] As can be seen from the above introduction, dark noise is relatively stable. Therefore, regardless of whether the charging frequency is the same as the target CDS frequency, the dark noise of the two acquisitions is close. Figure 6b It is referred to as dark noise A in this paper.
[0196] In addition, since the charging frequency is the same as the target CDS frequency, the wireless charging noise of the two samples is the 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 as follows:
[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, CDS technology can effectively eliminate 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 charge based on the electromagnetic waves generated by the wireless charging device according to the adjusted charging frequency.
[0204] The expected charging frequency is related to the CDS frequency used in the shooting mode. Therefore, when determining the expected charging frequency, the terminal takes into account the target CDS frequency used in the selected shooting mode. This allows the terminal to determine an expected charging frequency that is close to the target CDS frequency. Furthermore, based on the expected charging frequency, the terminal can instruct the wireless charging device to adjust the charging frequency, so that the adjusted charging frequency is close to the target CDS frequency.
[0205] When the terminal performs signal noise reduction based on CDS technology, it samples the signal twice before and after according to the CDS frequency, sampling the signal once to collect noise and the actual image signal, and sampling the noise independently in the other sampling. The actual image signal is restored based on the difference between the two sampling results, thereby generating an image based on the restored actual image signal. Therefore, when the solution provided by the embodiment of the present application is adopted so that the charging frequency adjusted by the wireless charging device approaches the target CDS frequency used in the selected shooting mode, the wireless charging noise included in the two sampling results before and after the target CDS frequency by the terminal is wireless charging noise near the same phase, that is, the wireless charging noise included in the two sampling results is relatively close, so the wireless charging noise can be better eliminated based on the difference between the two sampling 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 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] Because the CDS frequencies used in different shooting modes generally differ, when the selected shooting mode in the camera application is switched, the target CDS frequency used in the selected shooting mode may also change. Instructing the wireless charging device to adjust the charging frequency based on the original target CDS frequency may no longer effectively reduce the adverse effects of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be retrieved and used to instruct the wireless charging device to adjust the charging 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 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 switching the output mode, the target CDS frequency may also change. The adjusted charging frequency instructed to the wireless charging device based on the original target CDS frequency may no longer effectively reduce the negative impact of wireless charging noise on image acquisition. Therefore, the latest target CDS frequency can be retrieved and used to instruct the wireless charging device to adjust its charging frequency, thereby reducing the negative impact 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 be using the terminal to take photos temporarily. At this time, there is no need to worry about the adverse effects of wireless charging on image acquisition, and in other words, there is no need to worry about the charging frequency of the wireless charging device. Therefore, the terminal can instruct the wireless charging device to restore the charging frequency to the pre-adjustment charging frequency.
[0217] It can be seen that this can instruct the wireless charging device to restore the charging frequency to the pre-adjustment charging frequency when the user is not using the terminal to take photos. As a result, the wireless charging device can promptly restore the charging frequency to the initially set default charging frequency when the user is not using the terminal to take photos, allowing the wireless charging device to 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 promptly restoring the charging frequency to the default charging frequency 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, event-driven architecture, micro-kernel architecture, micro-service architecture, or 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 abstraction layers (HAL), and kernel layers. Of course, the above software system can also include a hardware layer, Figure 7 Not shown in the figure.
[0221] The following combination Figure 7 ,The process of sensor node determining target CDS frequency is introduced.
[0222] First, after the camera application in the application layer is started, it can determine the currently selected shooting mode and notify the camera service in the application framework layer 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 the 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 output mode.
[0228] It can be seen that through the interaction between modules located in 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 (CRM) located in the kernel layer. The CRM can send the configuration instruction to the sensor driver and 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 based on 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 record file, and then the charging module can obtain the exit representation information from the record 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 representation information. For example, the above-mentioned exit representation 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 be informed that the camera application has exited the working state. The charging module can then instruct the wireless charging device to restore the charging frequency to the charging frequency before the adjustment. As a result, when the user is not using the terminal to take pictures, the wireless charging device can promptly restore the charging frequency to the initially set default charging frequency, allowing the wireless charging device to charge the terminal at the default charging frequency, thereby reducing the impact of long-term changes in the charging frequency on the wireless charging device. In some cases, the timely restoration of the charging frequency to the default charging frequency by the wireless charging device can also improve the efficiency of the wireless charging device in charging the terminal.
[0237] Corresponding to the above-mentioned wireless charging method applied to a terminal, an embodiment of the present application further provides a wireless charging method applied to a wireless charging device.
[0238] The following first introduces a possible structure of the above-mentioned wireless charging device.
[0239] For example, Figure 8 FIG2 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 should be understood that the structure illustrated in the embodiments of this application does not constitute a specific limitation on the wireless charging device 800. In other embodiments of this application, the wireless charging device 800 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0241] The processor 810 may include one or more processing units, such as 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 processing unit (NPU). The 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. The controller may generate operation control signals based on instruction opcodes and timing signals to control instruction fetching and execution. In other embodiments, the processor 810 may also include a memory for storing instructions and data. For example, the memory in the processor 810 may be a cache memory. This memory may store instructions or data that have just been used or are being recycled by the processor 810. If the processor 810 needs to use the instruction or data again, it may directly call the instruction or data from the memory. This avoids repeated access, reduces the waiting time of the processor 810 , and thus improves 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 interfaces 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. The USB interface 830 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 830 may be used to connect a charger to charge the wireless charging device 800, or to transmit data between the wireless charging device 800 and peripheral devices. The USB interface 830 may also be used to connect headphones to play audio through the headphones.
[0243] It is understood that the interface connection relationship between the modules illustrated in the embodiments 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 a different interface connection method from 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, and the baseband processor.
[0245] Antenna 1 is used to transmit and receive electromagnetic wave signals. The antenna in wireless charging device 800 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antenna can be used in conjunction 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 execute 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. The program storage area may store an operating system. The data storage area may 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, a flash memory component, a universal flash memory (UFS), etc. In some embodiments, the processor 810 can execute the instructions stored in the internal memory 820 and / or the instructions stored in the memory provided in the processor 810, so that the wireless charging device 800 performs the wireless charging method provided in the embodiments 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 embodiments of the present application is described in detail below through specific examples.
[0250] See also Figure 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: Adjust the charging frequency based on the adjustment instruction.
[0253] As can be seen from the aforementioned wireless charging embodiment applied to a terminal, the terminal can send an expected charging frequency and an 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 instruction for the charging frequency, and then can charge the terminal based on the adjusted charging frequency.
[0258] When the terminal instructs the wireless charging device to adjust the charging frequency, it takes into account the target CDS frequency used in the selected shooting mode of the camera application. This allows the terminal to determine an expected charging frequency that is 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 approach the target CDS frequency.
[0259] When the terminal performs signal noise reduction based on CDS technology, it samples the signal twice before and after the CDS frequency, sampling the signal once to collect noise and the actual image signal, and sampling the noise independently in the other sampling. The actual image signal is restored based on the difference between the two sampling results, thereby generating an image based on the restored actual image signal. Therefore, 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 sampling results before and after the target CDS frequency by the terminal is wireless charging noise near the same phase, that is, the wireless charging noise included in the two sampling results is relatively close, so the wireless charging noise can be better eliminated based on the difference between the two sampling 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, Figure 9 The wireless charging method shown also includes:
[0261] The terminal receives a restoration instruction for the charging frequency sent by the terminal, restores the charging frequency to the charging frequency before adjustment, and charges the terminal 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 is not using the terminal to take photos, the wireless charging device can restore the charging frequency to the charging frequency before adjustment according to the restoration instruction for the charging frequency sent by the terminal. Therefore, when the user is not using the terminal to take photos, the charging frequency can be promptly restored to the initially set default charging frequency, allowing the wireless charging device to 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 also improve the efficiency of charging the terminal by promptly restoring the charging frequency to the default charging frequency.
[0265] The user information involved in the embodiments of this application is all information authorized by the user. The acquisition, storage, use, processing, transmission, provision and disclosure of user information comply with the provisions of 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 containing the computer-readable storage medium is controlled to perform some or all of the steps in the above embodiment. The above storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
[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 code, where the computer program code includes computer instructions. 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 code, where the computer program code includes computer instructions. 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, comprising a computer program. When the computer program is executed on a terminal, the terminal executes 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] 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 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 Figure 10 As shown, the present application also provides a chip system, which is applied to the terminal 100. The chip system includes one or more processors 1001. 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 the wireless charging method based on the solution provided in the embodiment of the present application to instruct the wireless charging device to adjust the charging frequency.
[0279] like Figure 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 one possible implementation, the chip system further includes input and output interfaces for inputting and outputting data.
[0281] The various embodiments of the mechanisms disclosed in this 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 herein 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 a high-level programming language or an object-oriented programming language to communicate with the processing system. Where necessary, program code can also be implemented in assembly language or machine language. In fact, the mechanism described in this application is not limited to the scope of any particular 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 by 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 includes 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 particular arrangement and / or order. However, it should be understood that such a particular arrangement and / or order may not be required. Rather, in some embodiments, these features may be arranged in a manner and / or order different from that shown in the accompanying drawings. In addition, the inclusion of a structural or method feature in a particular figure does not imply that such a feature is required in all embodiments, and in some embodiments, such 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 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 raised by this application. In addition, in order to highlight the innovative part of this application, the above-mentioned device embodiments of this application do not introduce units / modules that are not closely related to solving the technical problems raised by this application. This does not mean that other units / modules do not exist 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 used only 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 that includes 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, an element defined by the sentence "including a" does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0288] Although the present application has been shown and described with reference to certain preferred embodiments thereof, it will be understood by 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 application.
Claims
1. A wireless charging method, characterized in that: Applied to a terminal, the method includes: When the camera application is in the foreground running state, obtaining a target correlated double sampling (CDS) frequency used by the camera application in a 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 charging frequency range 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, wherein The terminal includes: the 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, and obtaining the target correlated double sampling (CDS) frequency used by the camera application in the selected shooting mode includes: The camera application determines that a shooting mode is selected 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 a 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 obtaining, when the camera application is in a foreground running state, a target correlated double sampling (CDS) frequency used by the camera application in a selected shooting mode includes: After detecting that a camera application is started, obtaining a target CDS frequency used by the camera application in a selected shooting mode; or After detecting that a selected shooting mode of the camera application has been 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 in the application layer, an exit sensing module and an information recording module located in the hardware abstraction layer, and a charging module located in the kernel layer, wherein the charging module determines the camera application's exit status in the following manner: After the camera application determines to exit the working state, it notifies the exit perception module to start; The exit sensing module is started and sends 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 includes: receiving an adjustment instruction for charging frequency sent by a terminal; adjusting the charging frequency based on the adjustment instruction; charging the terminal based on the adjusted charging frequency; The adjustment instruction is used to instruct to adjust the charging frequency to an expected charging frequency, and the expected charging frequency is determined based on a target CDS frequency adopted by a camera application of the terminal in a selected shooting mode.
10. The method according to claim 9, characterized in that The method further comprises: receiving a restoration 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 is configured to store computer program codes, where the computer program codes include computer instructions. The one or more processors invoke 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 is configured 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, causes 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 perform 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 according to 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, which are used to call computer instructions to enable the terminal to input data into the chip system and execute 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, which are used to call computer instructions to enable the wireless charging device to input data into the chip system and execute the method described in claim 9 or 10 to adjust the charging frequency according to the instructions of the terminal.
Citation Information
Patent Citations
Camera with reduced image noise resulting from wireless charging
CN112005478A