CN117154900A - Charging control method and electronic equipment - Google Patents

Charging control method and electronic equipment Download PDF

Info

Publication number
CN117154900A
CN117154900A CN202311420169.8A CN202311420169A CN117154900A CN 117154900 A CN117154900 A CN 117154900A CN 202311420169 A CN202311420169 A CN 202311420169A CN 117154900 A CN117154900 A CN 117154900A
Authority
CN
China
Prior art keywords
frequency
electronic device
module
charging
matched
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311420169.8A
Other languages
Chinese (zh)
Other versions
CN117154900B (en
Inventor
刘薇
孙霓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202311420169.8A priority Critical patent/CN117154900B/en
Priority claimed from CN202311420169.8A external-priority patent/CN117154900B/en
Publication of CN117154900A publication Critical patent/CN117154900A/en
Application granted granted Critical
Publication of CN117154900B publication Critical patent/CN117154900B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/00032Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by data exchange
    • H02J7/00034Charger exchanging data with an electronic device, i.e. telephone, whose internal battery is under charge
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0047Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with monitoring or indicating devices or circuits
    • H02J7/005Detection of state of health [SOH]
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature

Abstract

The application provides a charging control method and electronic equipment, wherein the method comprises the following steps: in the charging process of the electronic equipment, the electronic equipment searches a first frequency corresponding to the maximum efficiency value in the first database information based on the equipment parameters. The electronic device switches the operating frequency of the charging chip to the first frequency without determining that the first frequency would cause vibration of the at least one module being invoked based on the second database information. Therefore, the inter-module interference is avoided while the charging efficiency is ensured.

Description

Charging control method and electronic equipment
Technical Field
The present application relates to the field of terminal devices, and in particular, to a charging control method and an electronic device.
Background
Currently, charging integrated circuits (integrated circuit, ICs) typically operate at a fixed frequency while an electronic device is being charged. However, during charging, a constant charging frequency may cause a decrease in charging efficiency due to a change in the charging scene.
Disclosure of Invention
The application provides a charging control method and electronic equipment. In the method, the electronic device can dynamically adjust the charging frequency according to scene changes.
In a first aspect, the present application provides a charge control method. The method comprises the following steps: and in the process of charging the electronic equipment, acquiring equipment parameters of the electronic equipment, wherein the equipment parameters are used for indicating the charging state of the charging chip. Based on the first database information, a first frequency corresponding to a maximum efficiency value that matches the device parameter is determined. Based on the second database information, it is detected whether the first frequency matches a vibration frequency of at least one module being invoked by the electronic device. If the first frequency is not matched with the vibration frequency of at least one module, the frequency of the charging chip is updated to the first frequency. Therefore, the application can obtain the frequency corresponding to the maximum efficiency value based on the change of the equipment parameters under different scenes by presetting the corresponding relation among the efficiency value, the equipment parameters and the working frequency. And the application compares the selected frequency with the vibration frequency of at least one module being called, so that the working frequency of the charging IC avoids the vibration frequency of the module being called, thereby avoiding causing resonance of other modules. Therefore, the inter-module interference is effectively reduced while the charging efficiency is ensured.
Exemplary device parameters include: at least one of current, voltage, temperature (i.e., the temperature of the charging IC).
By way of example, the vibration frequency of a module may be understood to be that if the vibration frequency of other modules coincides with the vibration frequency of the module, the module may be caused to resonate.
The vibration frequency of the module may be a constant value or a range, and the application is not limited.
For example, detecting whether the first frequency matches the vibration frequency of the module may be detecting whether the first frequency falls within the vibration frequency range of the module, or detecting whether the first frequency coincides with the vibration frequency range of the module.
In one possible implementation, the method further includes: if the first frequency is matched with the vibration frequency of the at least one module and the current frequency of the charging chip is not matched with the vibration frequency of the at least one module, determining that the frequency of the charging chip is kept at the current frequency. In this way, the application can preferentially reduce the module resonance problem caused by charging, that is, when the operating frequency corresponding to the selected maximum efficiency point possibly causes the module resonance, the current frequency which does not cause the module resonance can be selected.
In one possible implementation, the method further includes: if the first frequency is matched with the vibration frequency of at least one module, and the current frequency of the charging chip is matched with the vibration frequency of at least one module, searching a second frequency which is not the first frequency and corresponds to the maximum efficiency value matched with the equipment parameter from the first database information. Based on the second database information, it is detected whether the second frequency matches a vibration frequency of at least one module being invoked by the electronic device. And if the second frequency is not matched with the vibration frequency of at least one module, updating the frequency of the charging chip to the second frequency. Thus, if the selected optimal frequency (i.e., the frequency corresponding to the maximum efficiency point) and the current frequency may both cause module resonance, the electronic device may select the frequency corresponding to the suboptimal efficiency, and select the frequency as the frequency of the charging IC if it is detected that the frequency does not cause inter-module resonance. Thus avoiding the problem of module resonance caused by charging while ensuring the charging efficiency as much as possible.
In one possible implementation, if the first frequency does not match the vibration frequency of the at least one module, updating the frequency of the charging chip to the first frequency further includes: obtaining an efficiency difference value between the maximum efficiency value and a current efficiency value corresponding to the current frequency of the charging chip; if the efficiency difference is greater than or equal to a preset value and the first frequency is not matched with the vibration frequency of at least one module, updating the frequency of the charging chip to the first frequency; if the efficiency difference is smaller than the preset value and the current frequency is not matched with the vibration frequency of at least one module, the frequency of the charging chip is kept at the current frequency. In this way, the electronic device may obtain efficiency benefits between the new frequency and the current frequency based on the efficiency difference between the current frequency and the selected frequency. And determines whether a new frequency needs to be switched based on efficiency benefits. Wherein if efficiency benefits are low, the new frequency may not be switched, but the current frequency may be maintained.
In one possible implementation, detecting whether the first frequency matches a vibration frequency of at least one module being invoked by the electronic device based on the second database information includes: acquiring at least one application running on the electronic device; at least one module invoked by the at least one application is determined based on the third database information. Thus, the electronic equipment can acquire the modules called by the application, so that the vibration frequency corresponding to each module can be accurately acquired. And then when the charging frequency of the charging IC is selected, the vibration frequency of the calling module can be avoided, so that module resonance caused by charging is avoided.
In a second aspect, the present application provides an electronic device comprising: one or more processors, memory; and one or more computer programs, wherein the one or more computer programs are stored on the memory, which when executed by the one or more processors, cause the electronic device to perform the steps of: acquiring equipment parameters of the electronic equipment in the process of charging the electronic equipment, wherein the equipment parameters are used for indicating the charging state of a charging chip; determining a first frequency corresponding to a maximum efficiency value matched with the equipment parameter based on the first database information; detecting whether the first frequency matches a vibration frequency of at least one module being invoked by the electronic device based on the second database information; if the first frequency is not matched with the vibration frequency of at least one module, the frequency of the charging chip is updated to the first frequency.
In one possible implementation, the computer program, when executed by one or more processors, causes the electronic device to perform the steps of: if the first frequency is matched with the vibration frequency of the at least one module and the current frequency of the charging chip is not matched with the vibration frequency of the at least one module, determining that the frequency of the charging chip is kept at the current frequency.
In one possible implementation, the computer program, when executed by one or more processors, causes the electronic device to perform the steps of: if the first frequency is matched with the vibration frequency of at least one module, and the current frequency of the charging chip is matched with the vibration frequency of at least one module, searching a second frequency which is not the first frequency and corresponds to the maximum efficiency value matched with the equipment parameter from the first database information; detecting whether the second frequency matches a vibration frequency of at least one module being invoked by the electronic device based on the second database information; and if the second frequency is not matched with the vibration frequency of at least one module, updating the frequency of the charging chip to the second frequency.
In one possible implementation, the computer program, when executed by one or more processors, causes the electronic device to perform the steps of: obtaining an efficiency difference value between the maximum efficiency value and a current efficiency value corresponding to the current frequency of the charging chip; if the efficiency difference is greater than or equal to a preset value and the first frequency is not matched with the vibration frequency of at least one module, updating the frequency of the charging chip to the first frequency; if the efficiency difference is smaller than the preset value and the current frequency is not matched with the vibration frequency of at least one module, the frequency of the charging chip is kept at the current frequency.
In one possible implementation, the computer program, when executed by one or more processors, causes the electronic device to perform the steps of: acquiring at least one application running on the electronic device; at least one module invoked by the at least one application is determined based on the third database information.
Any implementation manner of the second aspect and the second aspect corresponds to any implementation manner of the first aspect and the first aspect, respectively. The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a third aspect, the application provides a computer readable medium storing a computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
In a fourth aspect, the present application provides a computer program comprising instructions for performing the method of the first aspect or any possible implementation of the first aspect.
In a fifth aspect, the present application provides a chip comprising processing circuitry, transceiver pins. Wherein the transceiver pin and the processing circuit communicate with each other via an internal connection path, the processing circuit performing the method of the first aspect or any one of the possible implementation manners of the first aspect to control the receiving pin to receive signals and to control the transmitting pin to transmit signals.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an electronic device exemplarily shown;
fig. 2 is a schematic diagram of an exemplary charging scenario;
FIG. 3 is a schematic diagram of a software architecture of an exemplary electronic device;
fig. 4 is a schematic diagram illustrating a cause of charge disturbance;
fig. 5 is a flow chart diagram of an exemplary illustrated charge control method;
fig. 6 is a flow chart diagram of an exemplary illustrated charge control method;
fig. 7 is a flow chart diagram of an exemplary illustrated charge control method;
fig. 8 is a flow chart diagram of an exemplary illustrated charge control method;
fig. 9 is a schematic diagram of the structure of the device shown in an exemplary manner.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The term "and/or" is herein merely an association relationship describing an associated object, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone.
The terms first and second and the like in the description and in the claims of embodiments of the application, are used for distinguishing between different objects and not necessarily for describing a particular sequential order of objects. For example, the first target object and the second target object, etc., are used to distinguish between different target objects, and are not used to describe a particular order of target objects.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise indicated, the meaning of "a plurality" means two or more. For example, the plurality of processing units refers to two or more processing units; the plurality of systems means two or more systems.
Optionally, in the embodiment of the present application, the terminal device may be an electronic device such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (augmented reality, AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), or the like, and the embodiment of the present application does not limit a specific type of the terminal device.
Fig. 1 shows a schematic configuration of an electronic device 100. It should be understood that the electronic device 100 shown in fig. 1 is only one example of an electronic device, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also employ different interfacing manners in the above embodiments, or a combination of multiple interfacing manners.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. As shown in fig. 2, in some wired charging embodiments, the charge management module 140 may receive a charging input of the wired charger 201 through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may comprise a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS)
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 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 change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (flex), a mini, a Micro led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 is frequency selective, the digital signal processor is used to fourier transform the frequency energy, etc.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The electronic equipment gesture recognition method can also be used for recognizing the gesture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 3 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present application.
The layered architecture of the electronic device 100 divides the software into several layers, each with a distinct role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 3, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 3, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver, a sensor driver, a charging management module and the like.
In the embodiment of the present application, the charging management module may be configured to dynamically switch the charging frequency of the charging IC, and the specific switching manner may be referred to below.
It will be appreciated that the layers and components contained in the layers in the software structure shown in fig. 3 do not constitute a specific limitation on the electronic device 100. In other embodiments of the application, electronic device 100 may include more or fewer layers than shown and may include more or fewer components per layer, as the application is not limited.
The following is a brief description of the background art that may be involved:
1) Charging disturbance
Fig. 4 is a schematic diagram illustrating the cause of the charging interference, and referring to fig. 4 specifically, through laser vibration measurement analysis, when the terminal device is charged (the configuration frequency XHz (hz)), the piezoelectric effect of the alternating voltage will cause the capacitance vibration of the charging IC, that is, drive the printed circuit board (Printed Circuit Board, PCB) to vibrate at the corresponding frequency. Wherein, the mechanical vibration of the PCB is concentrated around 2XHz times the frequency of the charging IC. The vibration frequency coincides with the high-frequency resonance point of the gyroscope device, so that the internal resonance of the gyroscope is caused, and the problem of large single-side noise is further caused. Since the frequency of the gyroscope cannot be changed and is distributed in a certain range, resonance is inevitably present.
2) Influence of frequency and loss
Illustratively, the conduction loss, the driving loss, the switching loss and the capacitance loss are different at different frequencies of different currents in the charging process. Table 1 shows the loss effects at different frequencies as exemplified:
TABLE 1
As shown in table 1, the higher the frequency of the charging IC, the lower the conduction loss, the higher the driving loss, the higher the switching loss, and the lower the capacitance loss. The lower the frequency of the charging IC, the higher the conduction loss, the lower the drive loss, the lower the switching loss, and the higher the capacitance loss.
Switching lossThe calculation formula of (2) is shown as formula (1):
(1)
the factor of 0.5 is because the Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) turn-on curve is considered to be approximately linear, which translates into an area power of 0.5.Vin is the input voltage and Io is the output current. tr and tf are rising time and falling time of the MOS transistor, and refer to the time when the drain-source voltage drops from 90% to 10% and the drain-source voltage rises from 10% to 90%, respectively.Is the switching frequency.
Drive lossThe calculation formula of (may also be referred to as gate drive loss) is shown as formula (2):
(2)
wherein n represents the number of MOS transistors (when the MOS transistors are identical in type selection),representing the switching frequency. />Is the input voltage. Qg is the gate power.The gate drive loss mainly occurs on the power control chip, not on the MOS transistor, but the size of the gate drive loss is related to the parameters of the MOS transistor.
Conduction lossThe calculation formula of (may also be referred to as gate drive loss) is shown as formula (3):
(3)
wherein, thereinFor load current +.>On-resistance of switching tube with unit width, +.>For the total width of the switching tube,is a constant related to the topology structure and is used for measuring the contribution of the on-resistance of the switching tube to the loss in one charge-discharge period. / >Represents the total number of the switching tubes, T represents the charge-discharge period, < ->Representing the charging period>Represents the discharge period>Switch tube representing conduction in charging periodCount (n)/(l)>Representing the number of switching tubes that are turned on during the discharge period.
The application provides a charging control method, which can be used for determining the optimal frequency after carrying out frequency selection, switching and decoupling on a charging IC after detecting information such as user scene, temperature, current, voltage and the like in real time based on a real user scene, so that the charging efficiency is improved, and meanwhile, the interference on other devices in electronic equipment is avoided as much as possible.
Fig. 5 is a flow chart illustrating an exemplary charge control method, please refer to fig. 5, which specifically includes, but is not limited to, the following steps:
s501, establishing a database matrix.
Illustratively, in the embodiment of the present application, the database matrix (may also be referred to as database information or correspondence information, etc., which is not limited by the present application) includes a first database matrix and a second database matrix. The first database matrix is used to indicate the correspondence among the frequency (i.e. the frequency of the charging IC, which may also be understood as the operating frequency of the charging IC, and will not be repeated below), the load current, the efficiency, the voltage and the temperature. It should be noted that, in the embodiment of the present application, only the above-mentioned several corresponding relations are taken as examples for explanation, and in practical application, an operator may set more or less parameters and corresponding relations according to scene requirements, so the present application is not limited.
The second database matrix is used for indicating the vibration frequency corresponding to each module or device of the electronic equipment. And may be understood as frequencies that may cause the module or device to resonate.
For example, for a first database, an operator may obtain corresponding efficiency and temperature values based on different frequencies, different currents and voltages.
For example, table 2 is an exemplary first database matrix, please refer to table 2:
TABLE 2
As shown in table 2, for example, using a frequency of 310khz, an operator charges an electronic device, controls the frequency of a charging IC to 310khz, and adjusts the current intensity. For example, the operator adjusts the amperage to 2A, and the operator obtains the temperature, efficiency, and voltage of the electronic device under test (i.e., frequency 310khz, current 2A). The specific acquisition mode can be acquisition through a tool, the acquisition mode can be according to actual requirements, and the application is not limited.
For example, an operator may obtain multiple test results in the same scenario, and write the average value into the first database matrix. An operator can sequentially adjust the current intensity of different gears under the gear with the frequency of 310khz so as to obtain corresponding parameter values such as temperature, voltage, efficiency and the like.
The operator may adjust the frequency of the charging IC, and sequentially obtain the efficiency, voltage, temperature, and other parameter values at different current levels according to the above manner. Specific results are shown with reference to Table 2 and will not be described here.
It should be noted that the frequency shift and the current shift shown in table 2 are only illustrative examples, and may be set according to actual requirements, and the present application is not limited thereto.
For example, for the second database matrix, the operator may obtain the vibration frequency of the relevant device of the electronic apparatus according to the device specification and the historical experience value, so as to obtain the second database matrix.
For example, table 3 is an exemplary second database matrix, please refer to table 3
TABLE 3 Table 3
/>
It should be noted that, in the embodiment of the present application, the modules that may be affected by charging, such as a radio frequency, a screen, a sensor, etc., are all schematically illustrated, and may include, for example, a vibration frequency corresponding to the audio module, which is not limited by the present application.
It should be further noted that the frequencies in table 2 are only illustrative examples, and the present application is not limited thereto. In some examples, the frequencies corresponding to the modules may also be a certain frequency range, for example, each frequency range ±5 in table 2, which is not limited by the present application.
In one possible implementation, the database matrix may further comprise a third database matrix. The third database matrix is used to indicate the modules invoked by the different applications. For example, the modules corresponding to the video application include, but are not limited to: screens (including TP, display screen, fingerprint, power supply, etc.), and the like, the present application is not limited.
In the embodiment of the application, the database matrix can be stored in the electronic equipment before delivery. Optionally, the operator may update the database matrix and push the database matrix to each electronic device through the cloud. The updating mode of the database matrix can be set according to actual requirements, and the application is not limited.
S502, acquiring equipment parameters during charging.
For example, as shown in fig. 6, during the charging process, the electronic device (specifically, may be a charging management module, which will not be described again below) detects that charging is occurring (i.e., detects an input current), and may periodically acquire a device parameter. Optionally, the period duration may be set according to actual requirements, which is not limited by the present application, for example, in the embodiment of the present application, the period duration is 5s, that is, the electronic device obtains the device parameter every 5 s. Alternatively, the present flow may be ended after the charging is ended.
In an embodiment of the present application, the device parameters include, but are not limited to: at least one of current, voltage, temperature (i.e., the temperature of the charging IC). For example, during charging of the mobile phone, the user opens the video application using the mobile phone and views the video through the video application. In the use process of a user, the electronic equipment can periodically acquire the current value, the voltage value and the temperature value of the electronic equipment. Alternatively, the parameter values obtained in each period may be the same or different, and the present application is not limited thereto. The manner in which the charging management module obtains the parameters of each device can be set according to actual requirements, and the application is not limited.
S503, determining the optimal frequency corresponding to the highest efficiency based on the database matrix and the equipment parameters.
For example, as shown in fig. 6, after the electronic device obtains the device parameter, the highest efficiency value corresponding to the device parameter may be determined based on the first database matrix in the database matrices.
For example, the electronic device obtains a current value of 2A. The electronic device obtains the efficiency value corresponding to the current 2A by querying a first database matrix (for example, as shown in table 2), which includes but is not limited to: a1%, B1%, C1%, D1%, E1%, F1%, G1%, H1%. The maximum value in the efficiency values, which is the maximum efficiency value corresponding to the current device parameter, is obtained by the electronic device, for example, A1%.
Still referring to fig. 6, the electronic device determines a corresponding optimal frequency based on the maximum efficiency value. For example, still taking the electronic device obtaining the maximum efficiency value of A1% as an example, the electronic device may determine the current 2A, and the frequency corresponding to the efficiency value of A1% is the optimal frequency, for example, 310khz is f1.
S504, judging whether to switch or not based on the efficiency difference value between the optimal frequency and the previous frequency.
For example, as shown in fig. 7, after the electronic device determines the optimal frequency, the electronic device may obtain an efficiency difference between the optimal frequency and the current frequency (i.e. the current frequency of the charging IC, which may also be understood as the target frequency determined by performing the process S502-S506 last time). The efficiency difference is the difference between the frequency and the maximum efficiency value corresponding to the device parameter (i.e. the maximum efficiency value determined in S503).
For example, the maximum efficiency value corresponding to the current 2A obtained this time is A1%, and the maximum efficiency value obtained last time is C1%. The electronic device may obtain a difference between the efficiency value of the last time and the efficiency value obtained this time.
S505, determining the target frequency based on the database matrix.
Illustratively, the charge management module may obtain the currently invoked application (this step may also be performed in S502, which is not limited by the present application).
The electronic device determines the relevant module invoked by the application based on the third database matrix. For example, the charge management module obtains that the current electronic device is running a video application, and may determine that relevant modules used by the video application include, but are not limited to, relevant modules of a screen (e.g., TP, etc.).
In one possible implementation, the charge management module may also send a request to the currently invoked application to request the application to feed back the module it invoked. The application is not limited.
As shown in fig. 8, after the charge management module obtains the modules invoked by the application, the vibration frequency corresponding to each module being invoked may be determined based on the second database matrix.
Referring to fig. 8, the charging management module may compare the current frequency and the optimal frequency determined in S504 with the vibration frequencies of the modules being invoked respectively to achieve decoupling of the frequencies, i.e. the selected target frequency may avoid the vibration frequencies of the modules being invoked to avoid causing resonance of other modules.
In one possible implementation, if the difference in efficiency between the optimal frequency and the current frequency is greater than or equal to a preset threshold (for example, 2%, which may be set according to actual requirements, the present application is not limited), it may be determined that the optimal frequency may be switched. In one example, if the current frequency matches the vibration frequency of the at least one module being invoked (i.e., the current frequency may cause resonance of the at least one module being invoked), and the optimal frequency does not match the vibration frequency of the at least one module being invoked (i.e., the optimal frequency does not cause resonance of the module being invoked), then the target frequency may be determined to be the optimal frequency. In another example, the target frequency is determined to be an optimal frequency if the current frequency does not match the vibration frequency of the at least one module being invoked (i.e., the current frequency does not cause resonance of the at least one module being invoked), and the optimal frequency does not match the vibration frequency of the at least one module being invoked (i.e., the optimal frequency does not cause resonance of the module being invoked). In yet another example, the target frequency is determined to be the current frequency if the current frequency does not match the vibration frequency of the at least one module being invoked (i.e., the current frequency does not cause resonance of the at least one module being invoked), and the optimal frequency matches the vibration frequency of the at least one module being invoked (i.e., the optimal frequency may cause resonance of the module being invoked). In yet another example, if the current frequency matches the vibration frequency of the at least one module being invoked (i.e., the current frequency may cause resonance of the at least one module being invoked), and the optimal frequency matches the vibration frequency of the at least one module being invoked (i.e., the optimal frequency may cause resonance of the module being invoked), the electronic device re-executes S503-S504, and upon executing S503, the electronic device may select a maximum of the other efficiency values in addition to the maximum efficiency value to continue executing S504 and S505. If the re-selected optimal frequency still does not meet the condition, the frequency corresponding to the smaller efficiency value can be selected continuously.
In another possible implementation, if the difference in efficiency between the optimal frequency and the current frequency is less than the preset threshold, it may be determined that no switching to the optimal frequency is required, i.e. S505 is not performed, i.e. in this example, the efficiency is the optimal choice condition, which may cause resonance interference.
In yet another possible implementation, if the efficiency difference between the optimal frequency and the current frequency is less than a preset threshold. The electronic device further executes S505. In one example, the target frequency is determined to be the current frequency if neither the optimal frequency nor the current frequency matches the resonant frequency of the at least one module being invoked. In another example, the target frequency is determined to be the current frequency if the optimal frequency matches none of the resonant frequencies of the at least one module being invoked and the current frequency does not match none of the resonant frequencies of the at least one module being invoked. In yet another example, the target frequency is determined to be the current frequency if none of the optimal frequencies match the resonant frequency of the at least one module being invoked and the current frequency matches the resonant frequency of the at least one module being invoked. In yet another example, if the current frequency matches the vibration frequency of the at least one module being invoked (i.e., the current frequency may cause resonance of the at least one module being invoked), and the optimal frequency matches the vibration frequency of the at least one module being invoked (i.e., the optimal frequency may cause resonance of the module being invoked), the electronic device re-executes S503-S504, and upon executing S503, the electronic device may select a maximum of the other efficiency values in addition to the maximum efficiency value to continue executing S504 and S505. If the re-selected optimal frequency still does not meet the condition, the frequency corresponding to the smaller efficiency value can be selected continuously.
In one possible implementation, the electronic device may not perform S504, i.e., the electronic device may perform S505 after determining the optimal frequency.
In another possible implementation, the electronic device may not perform S505, i.e. not consider interference issues, but rather prioritize maximum efficiency.
In yet another possible implementation, the electronic device may execute S505 first and then execute S504, which is not limited by the present application. That is, the electronic device may first detect whether the current frequency and the optimal frequency cause resonance of other modules. If neither the optimal frequency nor the current frequency causes resonance, S504 is performed again to determine whether or not switching to the optimal frequency is possible. If the optimal frequency does not cause resonance and the current frequency does cause resonance, the switching to the optimal frequency may be directly performed without S504. If the optimal frequency and the current frequency both cause resonance, other frequencies that do not cause resonance are selected as the optimal frequencies, and S504 is performed. If the optimal frequency would cause resonance and the current frequency would not, S504 may not be performed, i.e. the current frequency is still maintained. Alternatively, if the optimal frequency causes resonance but the current frequency does not, the optimal frequency may be reselected (i.e., the efficiency of selection is slightly lower than that of the current frequency, as described above), and S504 is performed.
S506, updating the frequency of the charging IC to the target frequency.
For example, after the electronic device determines the target frequency, the frequency of the charging IC may be updated to the target frequency. For example, the charge management module may write a target frequency to a register of the charging IC to indicate a register update frequency.
The flow in fig. 5 is described in detail below in connection with some application scenarios.
Scene one:
in this scenario, taking an example of switching the electronic device from standby to light-load, for example, the electronic device is charged in a standby state, and during charging, the user switches the electronic device from the standby state to an unlocked state, and after unlocking, browses a web page using the electronic device. In the embodiment of the application, the light load state may refer to a lower load state (including data transmission, memory occupation, battery use, etc.) of the electronic device, and the heavy load state may refer to a higher load state of the electronic device.
Specifically, in the standby state, if the electronic device detects that the electronic device is being charged, S502 to S504 are started to be executed, so as to obtain the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device detects that it is currently in standby mode, which normally does not invoke the modules involved in the second database matrix. Therefore, when executing S505, the electronic apparatus may determine that the optimal frequency is the target frequency in the case where it is determined that the frequency can be switched. It should be noted that, during charging in the standby state, since the current, voltage and/or temperature of the charging IC may change, the optimal frequency obtained when the electronic device executes the flow of fig. 5 every cycle may be the same or different, which is not limited by the present application. For example, at the initial time, the electronic device sets the frequency of the charging IC to a default frequency (may be set according to actual requirements, and the present application is not limited). At the first periodic trigger time, the electronic device executes the flow of fig. 5, and obtains the optimal frequency (denoted as the second frequency). The optimal frequency may be different from the default frequency. The electronic device may determine the target frequency based on the flow chart in fig. 5, for example, the target frequency is the optimal frequency (i.e., the second frequency), and the electronic device switches the current frequency of the charging IC (i.e., the default frequency) to the second frequency. At the third period trigger time, the electronic device continues to execute the flow in fig. 5, and may determine that the target frequency is the third frequency. Wherein the third frequency may be different from the second frequency due to an increase in the temperature of the charging IC caused by the charging. Accordingly, the electronic device determines the target frequency based on the flow in fig. 5. For example, the target frequency is the third frequency, the electronic device switches the current frequency (i.e., the second frequency) of the charging IC to the third frequency.
For example, in the present scenario, after the electronic device starts the browser application and displays the web page in response to the received user operation during the charging process, it is assumed that the nth detection period is reached. And at the period triggering moment, the electronic equipment starts to execute S502-S504 so as to acquire the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device acquires that the browser application is currently running, and determines, based on the third database matrix (or information fed back by the browser application), a module called by the browser application (i.e., a running module) includes, but is not limited to: a screen and a sensor. The electronic device may select a corresponding target frequency based on the vibration frequencies of the screen and the sensor when performing S505. It is assumed that the current frequency matches the vibration frequency of the screen, while the optimal frequency does not match the vibration frequency of both the screen and the sensor. The electronic device may determine the optimal frequency as the target frequency and switch the frequency of the charging IC to the target frequency, i.e., the optimal frequency. Therefore, under a light-load scene, the charging IC is maintained at the maximum charging efficiency, the influence on a module called by a user is avoided, and the influence (such as clamping and the like) of charging on the application is reduced.
Scene II:
in this scenario, taking the example of the electronic device switching from a light load to a standby scenario, a user uses the electronic device to browse the interface of the video application to view video, for example. Subsequently, the electronic device switches to a standby state in response to the received user operation. I.e. charging continues in standby state.
Specifically, in the process of browsing the video by the user, the electronic device detects that the electronic device is being charged, and S502 to S504 are executed to obtain the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device detects that the currently running application is a video application, and determines, based on the third database matrix, modules invoked by the video application (i.e., running modules) include, but are not limited to: audio, screen and sensor, etc. The electronic device may select a corresponding target frequency based on the vibration frequencies of the screen and the sensor when performing S505. It is assumed that the current frequency matches the vibration frequency of the screen, while the optimal frequency does not match the vibration frequency of both the screen and the sensor. The electronic device may determine the optimal frequency as the target frequency and switch the frequency of the charging IC to the target frequency, i.e., the optimal frequency.
Next, the electronic device switches to a standby mode in response to a received user operation (e.g., a user clicking on a switch key). That is, the electronic device is charged in the standby mode. And when the electronic equipment detects that the electronic equipment is being charged, starting to execute S502-S504 to acquire the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device detects that it is currently in standby mode, which normally does not invoke the modules involved in the second database matrix. Therefore, when executing S505, the electronic apparatus may determine that the optimal frequency is the target frequency in the case where it is determined that the frequency can be switched. In this way, according to different modules called in different scenes, the electronic device can decouple the frequency of the charging IC based on the vibration frequency of the modules in different scenes, so as to avoid resonance of other modules caused by the frequency of the charging IC. Therefore, the requirements of different scenes are met by dynamically adjusting the frequency of the charging IC. Namely, in different scenes, the maximization of the charging efficiency is achieved, and meanwhile, the interference to other modules is avoided.
Scene III:
in this scenario, taking the example of the electronic device switching from a light load to a heavy load scenario, a user uses the electronic device to browse the interface of the video application to view video, for example. Subsequently, during the charging of the electronic device, the user plays a game using the electronic device.
Specifically, in the process of browsing the video by the user, the electronic device detects that the electronic device is being charged, and S502 to S504 are executed to obtain the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device detects that the currently running application is a video application, and determines, based on the third database matrix, modules invoked by the video application (i.e., running modules) include, but are not limited to: audio, screen and sensor, etc. The electronic device may select a corresponding target frequency based on the vibration frequencies of the screen and the sensor when performing S505. It is assumed that the current frequency matches the vibration frequency of the screen, while the optimal frequency does not match the vibration frequency of both the screen and the sensor. The electronic device may determine the optimal frequency as the target frequency and switch the frequency of the charging IC to the target frequency, i.e., the optimal frequency.
The electronic device then runs the gaming application in response to the received user operation. And when the electronic equipment detects that the electronic equipment is being charged, starting to execute S502-S504 to acquire the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device obtains that the game application is currently running, and determines, based on the third database matrix, modules invoked by the game application (i.e., modules that are running) include, but are not limited to: a screen and a sensor. The electronic device may select a corresponding target frequency based on the vibration frequencies of the screen and the sensor when performing S505. The electronic equipment runs the browser application and the game application, and the screen and the sensor are called, but in the running process, the electronic equipment is in a heavy-load state due to the fact that the game application runs, and accordingly the temperature of the charging IC is higher than that of the charging IC when the video application is browsed. Thus, the optimal frequencies selected by the electronic devices may not be the same. For other descriptions, reference is made to the above, and no further description is given here.
Scene four:
in this scenario, taking the electronic device switching from a heavy load to a light load scenario as an example, a user plays a game using the electronic device during charging of the electronic device. The user then uses the electronic device to browse the interface of the video application to view the video.
The electronic device runs the gaming application in response to the received user operation. And when the electronic equipment detects that the electronic equipment is being charged, starting to execute S502-S504 to acquire the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device obtains that the game application is currently running, and determines, based on the third database matrix, modules invoked by the game application (i.e., modules that are running) include, but are not limited to: a screen and a sensor. The electronic device may select a corresponding target frequency based on the vibration frequencies of the screen and the sensor when performing S505.
In the process of browsing videos by a user, the electronic equipment detects that the electronic equipment is being charged, and S502-S504 are executed to acquire the optimal frequency and the current frequency. The specific flow may be referred to above, and will not be described herein. In the current scenario, the electronic device detects that the currently running application is a video application, and determines, based on the third database matrix, modules invoked by the video application (i.e., running modules) include, but are not limited to: audio, screen and sensor, etc. The electronic device may select a corresponding target frequency based on the vibration frequencies of the screen and the sensor when performing S505. It is assumed that the current frequency matches the vibration frequency of the screen, while the optimal frequency does not match the vibration frequency of both the screen and the sensor. The electronic device may determine the optimal frequency as the target frequency and switch the frequency of the charging IC to the target frequency, i.e., the optimal frequency. Also, the temperature of the charging IC may decrease due to the electronic device switching from heavy load to light load. Therefore, the optimal frequency selected by the electronic device at light load may not be the same as the optimal frequency selected at heavy load. That is, the frequency selection of the charging IC will vary with scene changes.
Scene five:
in this scenario, a case where a user uses an electronic device to make a call during charging will be described. In the process of charging the electronic equipment, the electronic equipment responds to the received user operation to communicate with another equipment. In the communication process, the electronic device executes S502-S506. In performing S505, the electronic device may determine a vibration frequency corresponding to a module (e.g., including audio and radio frequencies) invoked by the telephony application based on the second database matrix. The electronic device can decouple the frequency of the charging IC based on the vibration frequency of the module, so that the target frequency is selected, and the optimal efficiency speed and conversation performance experience are achieved. Specific details are set forth above and are not repeated here.
Scene six:
in this scenario, taking an example of the electronic device being charged, the user takes a picture using the electronic device.
Specifically, the electronic device detects that the electronic device is being charged, and S502 to S506 are executed. Wherein, in executing S505, the electronic device may determine, based on the second database matrix, a vibration frequency corresponding to a module (including, but not limited to, a camera, a screen, etc.) invoked by the photographing application. The electronic device can decouple the frequency of the charging IC based on the vibration frequency of the module, so that the target frequency is selected, and the optimal efficiency speed and photographing performance experience are achieved. Specific details are set forth above and are not repeated here.
Scene seven:
in this scenario, taking the example of the electronic device being charged, the user plays audio using the electronic device.
Specifically, the electronic device detects that the electronic device is being charged, and S502 to S506 are executed. Wherein, in performing S505, the electronic device may determine a vibration frequency corresponding to a module (including, but not limited to, audio, etc.) invoked by the music application based on the second database matrix. The electronic device can decouple the frequency of the charging IC based on the vibration frequency of the module, so that the target frequency is selected, and the optimal efficiency speed and the audio quality performance experience are achieved. Specific details are set forth above and are not repeated here.
Scene eight:
in this scenario, the electronic device is illustrated as being used by a user to navigate through the electronic device during a charging process.
Specifically, the electronic device detects that the electronic device is being charged, and S502 to S506 are executed. Wherein upon performing S505, the electronic device may determine a vibration frequency corresponding to a module (e.g., including but not limited to radio frequency, screen, sensor, etc.) invoked by the navigation application based on the second database matrix. The electronic device can decouple the frequency of the charging IC based on the vibration frequency of the module, so that the target frequency is selected, and the optimal efficiency speed and navigation performance experience are achieved. Specific details are set forth above and are not repeated here.
Scene nine:
in this scenario, with the electronic device in the charging process, the user listens to music using the electronic device and uses the compass function.
Specifically, the electronic device detects that the electronic device is being charged, and S502 to S506 are executed. Wherein, in performing S505, the electronic device may determine a vibration frequency corresponding to a module (e.g., including but not limited to audio, etc.) invoked by the music application and determine a vibration frequency corresponding to a module (e.g., including but not limited to a sensor) invoked by the compass application based on the second database matrix. The electronics can decouple the frequency of the charging IC based on the vibration frequency of the above-described modules (including audio and sensors, etc.), thereby selecting the target frequency. That is, in this scenario, the electronic device may decouple the charging IC frequency based on different modules invoked by multiple applications to avoid interference with the modules.
Scene ten:
in this scenario, the electronic device is illustrated as being in a charging process, and the user uses the electronic device to navigate and listen to music.
Specifically, the electronic device detects that the electronic device is being charged, and S502 to S506 are executed. Wherein, in performing S505, the electronic device may determine a vibration frequency corresponding to a module (including but not limited to audio, etc.) invoked by the music application, and determine a vibration frequency corresponding to a module (including but not limited to radio frequency, screen, sensor, etc.) invoked by the navigation application, based on the second database matrix. The electronic device may decouple the frequency of the charging IC based on the vibration frequency of the above-described modules (including audio, screen, sensor, etc.), thereby selecting the target frequency. That is, in this scenario, the electronic device may decouple the charging IC frequency based on different modules invoked by multiple applications to avoid interference with the modules.
Scene eleven:
in this scenario, the electronic device is used by a user to navigate, listen to music, and take a photograph during charging.
Specifically, the electronic device detects that the electronic device is being charged, and S502 to S506 are executed. Wherein, in performing S505, the electronic device may determine, based on the second database matrix, a vibration frequency corresponding to a module (e.g., including but not limited to audio, etc.) invoked by the music application, and determine a vibration frequency corresponding to a module (e.g., including but not limited to radio frequency, screen, sensor, etc.) invoked by the navigation application, and determine a vibration frequency corresponding to a module (e.g., including but not limited to camera, screen, etc.) invoked by the photographing application. The electronic device may decouple the frequency of the charging IC based on the vibration frequency of the above-described modules (including audio, screen, radio frequency, sensor, etc.), thereby selecting the target frequency. That is, in this scenario, the electronic device may decouple the charging IC frequency based on different modules invoked by multiple applications to avoid interference with the modules.
It will be appreciated that the electronic device, in order to achieve the above-described functions, includes corresponding hardware and/or software modules that perform the respective functions. The present application can be implemented in hardware or a combination of hardware and computer software, in conjunction with the example algorithm steps described in connection with the embodiments disclosed herein. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In one example, fig. 9 shows a schematic block diagram of an apparatus 900 of an embodiment of the application, the apparatus 900 may comprise: the processor 901 and transceiver/transceiver pins 902, optionally, also include a memory 903.
The various components of apparatus 900 are coupled together by a bus 904, wherein bus 904 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are referred to in the figures as bus 904.
Alternatively, the memory 903 may be used for instructions in the foregoing method embodiments. The processor 901 is operable to execute instructions in the memory 903 and control the receive pin to receive signals and the transmit pin to transmit signals.
The apparatus 900 may be an electronic device or a chip of an electronic device in the above-described method embodiments.
All relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
The present embodiment also provides a computer storage medium having stored therein computer instructions which, when executed on an electronic device, cause the electronic device to perform the above-described related method steps to implement the method in the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement the method in the above-mentioned embodiments.
In addition, embodiments of the present application also provide an apparatus, which may be embodied as a chip, component or module, which may include a processor and a memory coupled to each other; the memory is configured to store computer-executable instructions, and when the device is operated, the processor may execute the computer-executable instructions stored in the memory, so that the chip performs the methods in the above method embodiments.
The electronic device, the computer storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding methods provided above, so that the beneficial effects thereof can be referred to the beneficial effects in the corresponding methods provided above, and will not be described herein.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (13)

1. A charge control method, characterized by being applied to an electronic device, the method comprising:
acquiring equipment parameters of the electronic equipment in the process of charging the electronic equipment, wherein the equipment parameters are used for indicating the charging state of a charging chip;
determining a first frequency corresponding to a maximum efficiency value matched with the equipment parameter based on first database information;
detecting whether the first frequency matches a vibration frequency of at least one module being invoked by the electronic device based on second database information;
and if the first frequency is not matched with the vibration frequency of the at least one module, updating the frequency of the charging chip to the first frequency.
2. The method according to claim 1, wherein the method further comprises:
and if the first frequency is matched with the vibration frequency of the at least one module and the current frequency of the charging chip is not matched with the vibration frequency of the at least one module, determining that the frequency of the charging chip is kept at the current frequency.
3. The method according to claim 1, wherein the method further comprises:
if the first frequency is matched with the vibration frequency of the at least one module, and the current frequency of the charging chip is matched with the vibration frequency of the at least one module, searching a second frequency which is not the first frequency and corresponds to the maximum efficiency value matched with the equipment parameter from the first database information;
Detecting, based on the second database information, whether the second frequency matches a vibration frequency of at least one module being invoked by the electronic device;
and if the second frequency is not matched with the vibration frequency of the at least one module, updating the frequency of the charging chip to the second frequency.
4. The method of claim 1, wherein updating the frequency of the charging chip to the first frequency if the first frequency does not match the vibration frequency of the at least one module further comprises:
obtaining an efficiency difference value between the maximum efficiency value and a current efficiency value corresponding to the current frequency of the charging chip;
if the efficiency difference is greater than or equal to a preset value and the first frequency is not matched with the vibration frequency of the at least one module, updating the frequency of the charging chip to the first frequency;
and if the efficiency difference value is smaller than a preset value and the current frequency is not matched with the vibration frequency of the at least one module, the frequency of the charging chip is kept at the current frequency.
5. The method of claim 4, wherein detecting whether the first frequency matches a vibration frequency of at least one module being invoked by the electronic device based on second database information comprises:
Acquiring at least one application running on the electronic equipment;
the at least one module invoked by the at least one application is determined based on third database information.
6. An electronic device, comprising:
one or more processors, memory;
and one or more computer programs, wherein the one or more computer programs are stored on the memory, which when executed by the one or more processors, cause the electronic device to perform the steps of:
acquiring equipment parameters of the electronic equipment in the process of charging the electronic equipment, wherein the equipment parameters are used for indicating the charging state of a charging chip;
determining a first frequency corresponding to a maximum efficiency value matched with the equipment parameter based on first database information;
detecting whether the first frequency matches a vibration frequency of at least one module being invoked by the electronic device based on second database information;
and if the first frequency is not matched with the vibration frequency of the at least one module, updating the frequency of the charging chip to the first frequency.
7. The electronic device of claim 6, wherein the computer program, when executed by the one or more processors, causes the electronic device to perform the steps of:
And if the first frequency is matched with the vibration frequency of the at least one module and the current frequency of the charging chip is not matched with the vibration frequency of the at least one module, determining that the frequency of the charging chip is kept at the current frequency.
8. The electronic device of claim 6, wherein the computer program, when executed by the one or more processors, causes the electronic device to perform the steps of:
if the first frequency is matched with the vibration frequency of the at least one module, and the current frequency of the charging chip is matched with the vibration frequency of the at least one module, searching a second frequency which is not the first frequency and corresponds to the maximum efficiency value matched with the equipment parameter from the first database information;
detecting, based on the second database information, whether the second frequency matches a vibration frequency of at least one module being invoked by the electronic device;
and if the second frequency is not matched with the vibration frequency of the at least one module, updating the frequency of the charging chip to the second frequency.
9. The electronic device of claim 6, wherein the computer program, when executed by the one or more processors, causes the electronic device to perform the steps of:
Obtaining an efficiency difference value between the maximum efficiency value and a current efficiency value corresponding to the current frequency of the charging chip;
if the efficiency difference is greater than or equal to a preset value and the first frequency is not matched with the vibration frequency of the at least one module, updating the frequency of the charging chip to the first frequency;
and if the efficiency difference value is smaller than a preset value and the current frequency is not matched with the vibration frequency of the at least one module, the frequency of the charging chip is kept at the current frequency.
10. The electronic device of claim 9, wherein the computer program, when executed by the one or more processors, causes the electronic device to perform the steps of:
acquiring at least one application running on the electronic equipment;
the at least one module invoked by the at least one application is determined based on third database information.
11. A computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method of any of claims 1-5.
12. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method according to any of claims 1-5.
13. A chip comprising one or more interface circuits and one or more processors; the interface circuit is configured to receive a signal from a memory of an electronic device and to send the signal to the processor, the signal including computer instructions stored in the memory; the computer instructions, when executed by the processor, cause the electronic device to perform the method of any of claims 1-5.
CN202311420169.8A 2023-10-30 Charging control method and electronic equipment Active CN117154900B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311420169.8A CN117154900B (en) 2023-10-30 Charging control method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311420169.8A CN117154900B (en) 2023-10-30 Charging control method and electronic equipment

Publications (2)

Publication Number Publication Date
CN117154900A true CN117154900A (en) 2023-12-01
CN117154900B CN117154900B (en) 2024-04-26

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150155790A1 (en) * 2013-11-29 2015-06-04 Siemens Aktiengesellschaft Method and device for frequency generation for a resonance converter
CN106385087A (en) * 2016-11-11 2017-02-08 努比亚技术有限公司 Mobile terminal and wireless charging method
CN113286091A (en) * 2021-06-09 2021-08-20 维沃移动通信有限公司 Control method, control device, electronic equipment and readable storage medium
CN114243162A (en) * 2020-09-09 2022-03-25 华为技术有限公司 Battery heating method, device and equipment
CN114552600A (en) * 2022-02-18 2022-05-27 中国电建集团青海省电力设计院有限公司 Frequency adjusting method for photovoltaic grid-connected power generation participation system
CN116447720A (en) * 2023-03-31 2023-07-18 青岛海尔空调器有限总公司 Method and device for controlling air conditioner, electronic equipment and storage medium
CN116826892A (en) * 2023-05-26 2023-09-29 荣耀终端有限公司 Charging method, charging device, electronic apparatus, and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150155790A1 (en) * 2013-11-29 2015-06-04 Siemens Aktiengesellschaft Method and device for frequency generation for a resonance converter
CN106385087A (en) * 2016-11-11 2017-02-08 努比亚技术有限公司 Mobile terminal and wireless charging method
CN114243162A (en) * 2020-09-09 2022-03-25 华为技术有限公司 Battery heating method, device and equipment
CN113286091A (en) * 2021-06-09 2021-08-20 维沃移动通信有限公司 Control method, control device, electronic equipment and readable storage medium
CN114552600A (en) * 2022-02-18 2022-05-27 中国电建集团青海省电力设计院有限公司 Frequency adjusting method for photovoltaic grid-connected power generation participation system
CN116447720A (en) * 2023-03-31 2023-07-18 青岛海尔空调器有限总公司 Method and device for controlling air conditioner, electronic equipment and storage medium
CN116826892A (en) * 2023-05-26 2023-09-29 荣耀终端有限公司 Charging method, charging device, electronic apparatus, and readable storage medium

Similar Documents

Publication Publication Date Title
CN112789651B (en) Frequency adjustment method and device applied to terminal and electronic equipment
CN114449599B (en) Network link switching method based on electronic equipment position and electronic equipment
CN113448382B (en) Multi-screen display electronic device and multi-screen display method of electronic device
CN113641271B (en) Application window management method, terminal device and computer readable storage medium
CN115333941B (en) Method for acquiring application running condition and related equipment
CN111031492A (en) Call demand response method and device and electronic equipment
CN115798390B (en) Screen display method and terminal equipment
CN110058729B (en) Method and electronic device for adjusting sensitivity of touch detection
CN113438366A (en) Information notification interaction method, electronic device and storage medium
CN114828098B (en) Data transmission method and electronic equipment
CN117154900B (en) Charging control method and electronic equipment
WO2021155709A1 (en) Charging control method and electronic device
CN114384465A (en) Azimuth angle determination method and device
CN117154900A (en) Charging control method and electronic equipment
CN116048831B (en) Target signal processing method and electronic equipment
CN116703689B (en) Method and device for generating shader program and electronic equipment
CN116048629B (en) System service switching method, control device, electronic equipment and storage medium
CN113050864B (en) Screen capturing method and related equipment
CN116719376B (en) Voltage control method, device, equipment and storage medium
CN115513571B (en) Control method of battery temperature and terminal equipment
CN116389884B (en) Thumbnail display method and terminal equipment
CN117013660B (en) Charging icon display method and electronic equipment
CN116048769B (en) Memory recycling method and device and terminal equipment
CN116723384B (en) Process control method, electronic device and readable storage medium
CN113254409B (en) File sharing method, system and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant