Charging Method, Device and Terminal Device of a Terminal Device
By obtaining the environmental information of the terminal device and the charging habits of users, and formulating customized charging strategies, the problem of temperature increase during the charging process of terminal devices is solved, and the user experience and charging safety are improved.
Patent Information
- Application Number
- CN202111346697.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-15
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2041-11-15
AI Technical Summary
Terminal devices are prone to increase temperature during charging, especially in small spaces or flammable environments, which may cause safety hazards and affect user experience.
By obtaining the environmental information of the current environment of the terminal device and the charging habits of users, custom charging strategies are formulated, including long-term safe charging, short-term fast charging and current-limiting charging, etc., to ensure that the temperature is controlled within a reasonable range during the charging process.
It effectively reduces the temperature of the terminal equipment during the charging process, improves the user experience, and enhances the safety of the charging process.
Smart Images

Figure CN114221402B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of intelligent terminals, and particularly to a charging method, device and terminal device for a terminal device. Background Art
[0002] With the development of the charging technology of terminal devices, the charging power is getting larger and the charging rate is getting faster; while due to the development of industrial design and the pursuit of the ultimate appearance of terminal devices, the appearance of terminal devices is continuously developing towards the direction of being thinner and lighter, and the thickness of terminal devices is getting smaller; accompanied by this, the problem of charging heat generation is becoming increasingly serious in the narrow space of terminal devices.
[0003] During charging, charging heat generation easily causes the temperature of the terminal device to rise. At this time, if the terminal device is placed in an enclosed space or near flammable materials, serious consequences such as fire may occur; even if no serious consequences are caused, if the user touches the terminal device during the charging process and the temperature of the terminal device is relatively high, it will also cause a bad experience for the user. Summary of the Invention
[0004] The embodiments of the present application provide a charging method, device and terminal device for a terminal device. The embodiments of the present application also provide a computer-readable storage medium to implement customizing a charging strategy according to the environmental information of the current environment where the terminal device is located and the charging habits of the user, which not only ensures the charging effect, but also does not make the user feel obvious heat during the charging process, and improves the user experience.
[0005] In a first aspect, the embodiments of the present application provide a charging method for a terminal device, including: obtaining the environmental information of the current environment where the terminal device is located, and obtaining the charging habits of the user using the above terminal device; wherein, the above environmental information includes the temperature of the terminal device itself and the heat dissipation condition of the current environment where the terminal device is located; when the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold and the heat dissipation condition of the current environment where the terminal device is located meets the predetermined heat dissipation condition, determining a charging strategy according to the charging habits of the user; and charging the terminal device according to the above charging strategy.
[0006] In the charging method of the above terminal device, after the terminal device obtains the environmental information of the current environment where the terminal device is located and the charging habits of the user using the terminal device, when the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold and the heat dissipation condition of the current environment where the terminal device is located meets the predetermined heat dissipation condition, a charging strategy is determined according to the charging habits of the user. Then, according to the above charging strategy, the terminal device is charged, so that a charging strategy can be customized according to the environmental information of the current environment where the terminal device is located and the charging habits of the user, which can not only ensure the charging effect, but also prevent the user from feeling obvious heat during the charging process, thereby improving the user experience.
[0007] In one possible implementation, determining the charging strategy according to the charging habits of the above user may be: if the charging habit of the above user is that in the current time period, the charging times of the terminal device are less than the first predetermined number of times and the charging duration of the above terminal device is greater than or equal to the first predetermined duration, then determine the charging strategy as a long-time safe charging strategy; or, if the charging habit of the above user is that in the current time period, the charging times of the terminal device are greater than or equal to the second predetermined number of times and the charging duration of the above terminal device is less than the second predetermined duration, then when no human body is detected within a predetermined distance range, determine the above charging strategy as a short-time fast charging strategy; and / or, after a human body is detected within the above predetermined distance range, end the charging process of the above terminal device; where the above predetermined distance range includes a range where the distance from the above terminal device is less than or equal to the above predetermined distance; the above first predetermined number of times is less than or equal to the above second predetermined number of times, and the above first predetermined duration is greater than or equal to the above second predetermined duration.
[0008] In one possible implementation, after obtaining the environmental information of the current environment where the terminal device is located, it may further include: when the temperature of the terminal device itself is greater than the predetermined temperature threshold, determine the charging strategy as a current-limiting charging strategy; charging the terminal device according to the above charging strategy may be: entering a thermal current-limiting state according to the above current-limiting charging strategy to reduce the charging current of the terminal device.
[0009] In one possible implementation, after obtaining the environmental information of the current environment where the terminal device is located, it may further include: when the temperature of the terminal device itself is less than or equal to the predetermined temperature threshold and the heat dissipation condition of the current environment where the terminal device is located does not meet the predetermined heat dissipation condition, determine the charging strategy as a temperature-priority safe charging strategy.
[0010] In one possible implementation, the above method may further include: after charging the terminal device according to the temperature-priority safe charging policy, obtaining the environmental information of the current environment where the terminal device is located; if the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located meets the predetermined heat dissipation condition, then according to the user's charging habit, switch the charging policy to a long-time safe charging policy or a short-time fast charging policy.
[0011] In one possible implementation, the above method may further include: after charging the terminal device according to the above long-time safe charging policy or the above short-time fast charging policy, obtaining the environmental information of the current environment where the terminal device is located; if the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located does not meet the predetermined heat dissipation condition, then determine to switch the charging policy to the temperature-priority safe charging policy.
[0012] In a second aspect, an embodiment of the present application provides a charging device for a terminal device. The device is included in the terminal device and has the function of implementing the behavior of the terminal device in the first aspect and the possible implementation manners of the first aspect. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, an environment perception unit, a user perception unit, an intelligent charging management unit, a charging execution unit, etc.
[0013] In a third aspect, an embodiment of the present application provides a terminal device, including: one or more processors; a memory; a plurality of applications; and one or more computer programs, where the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the terminal device, cause the terminal device to perform the following steps: obtaining the environmental information of the current environment where the terminal device is located, and obtaining the charging habit of the user using the terminal device; where the environmental information includes the temperature of the terminal device itself and the heat dissipation condition of the current environment where the terminal device is located; when the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located meets the predetermined heat dissipation condition, determining a charging policy according to the charging habit of the user; and charging the terminal device according to the charging policy.
[0014] In one possible implementation, when the above instruction is executed by the above terminal device, the steps for the above terminal device to execute the charging strategy determined according to the charging habits of the above user include: if the charging habit of the above user is that in the current time period, the number of charging times of the above terminal device is less than the first predetermined number, and the charging duration of the above terminal device is greater than or equal to the first predetermined duration, then determine the above charging strategy as a long-time safe charging strategy; or, if the charging habit of the above user is that in the current time period, the number of charging times of the above terminal device is greater than or equal to the second predetermined number, and the charging duration of the above terminal device is less than the second predetermined duration, then when no human body is detected within the predetermined distance range, determine the above charging strategy as a short-time fast charging strategy; and / or, after a human body is detected within the above predetermined distance range, end the charging process of the above terminal device; where the above predetermined distance range includes the range where the distance from the above terminal device is less than or equal to the above predetermined distance; the above first predetermined number is less than or equal to the above second predetermined number, and the above first predetermined duration is greater than or equal to the above second predetermined duration.
[0015] In one possible implementation, when the above instruction is executed by the above terminal device, after the above terminal device executes the step of obtaining the environmental information of the current environment where the terminal device is located, the following steps are further executed: when the temperature of the above terminal device itself is greater than the predetermined temperature threshold, determine the above charging strategy as a current-limiting charging strategy; when the above instruction is executed by the above terminal device, the steps for the above terminal device to execute the charging of the above terminal device according to the above charging strategy include: according to the above current-limiting charging strategy, enter the thermal current-limiting state and reduce the charging current of the above terminal device.
[0016] In one possible implementation, when the above instruction is executed by the above terminal device, after the above terminal device executes the step of obtaining the environmental information of the current environment where the terminal device is located, the following steps are further executed: when the temperature of the above terminal device itself is less than or equal to the predetermined temperature threshold, and the heat dissipation condition of the current environment where the above terminal device is located does not meet the predetermined heat dissipation condition, determine the above charging strategy as a temperature-priority safe charging strategy.
[0017] In one possible implementation, when the above instruction is executed by the above terminal device, the above terminal device is further made to execute the following steps: after charging the above terminal device according to the temperature-priority safe charging strategy, obtain the environmental information of the current environment where the above terminal device is located; if the temperature of the above terminal device itself is less than or equal to the predetermined temperature threshold, and the heat dissipation condition of the current environment where the above terminal device is located meets the predetermined heat dissipation condition, then switch the above charging strategy to a long-time safe charging strategy or a short-time fast charging strategy according to the charging habits of the above user.
[0018] In one possible implementation, when the above instruction is executed by the above terminal device, the above terminal device further performs the following steps: After charging the above terminal device according to the above long-term safe charging policy or the above short-term fast charging policy, obtain the environmental information of the environment where the above terminal device is currently located; If the temperature of the above terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the environment where the above terminal device is currently located does not meet the predetermined heat dissipation condition, then determine to switch the above charging policy to a temperature-priority safe charging policy.
[0019] It should be understood that the technical solutions of the second to third aspects of the embodiments of the present application are consistent with those of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding feasible implementation manners are similar, and will not be elaborated herein.
[0020] Fourthly, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored. When it runs on a computer, it causes the computer to execute the method provided in the first aspect.
[0021] Fifthly, an embodiment of the present application provides a computer program. When the above computer program is executed by a computer, it is used to execute the method provided in the first aspect.
[0022] In a possible design, the program in the fifth aspect can be stored in whole or in part on a storage medium packaged together with the processor, or can be stored in whole or in part on a memory not packaged together with the processor. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 A schematic diagram of a charging method provided by the related art;
[0024] Figure 2 A schematic structural diagram of a terminal device provided by an embodiment of the present application;
[0025] Figure 3 A flowchart of a charging method for a terminal device provided by an embodiment of the present application;
[0026] Figure 4 A schematic implementation diagram of a charging method for a terminal device provided by an embodiment of the present application;
[0027] Figure 5 A flowchart of a charging method for a terminal device provided by another embodiment of the present application;
[0028] Figure 6 A flowchart of a charging method for a terminal device provided by still another embodiment of the present application;
[0029] Figure 7 A flowchart of a charging method for a terminal device provided in yet another embodiment of the present application;
[0030] Figure 8 A schematic diagram of a charging method for a terminal device provided in yet another embodiment of the present application;
[0031] Figure 9 A schematic diagram of the structure of a terminal device provided in another embodiment of the present application. DETAILED DESCRIPTION
[0032] The terms used in the implementation section of this application are only used to explain the specific embodiments of this application and are not intended to limit this application.
[0033] In order to solve the problem of heating of terminal equipment during charging, one solution provided by the existing related technology is to use different charging voltages and currents at different stages according to a pre-set charging curve, such as Figure 1 As shown, Figure 1 A schematic diagram of a charging method provided by the prior art. Figure 1 In the scheme shown, a temperature control threshold is set during the entire charging process. When the temperature rises to near the threshold, the current is limited to reduce the temperature rise.
[0034] but, Figure 1 The scheme shown does not take environmental factors into consideration and charges according to the established charging strategy: the temperature rises rapidly during the high-current charging stage, which poses a safety hazard in a closed flammable environment, and the temperature control and current limiting will be frequently triggered, affecting the charging speed. The above scheme also does not take into account the charging habits of users. Each user has different charging habits and needs. Some users use fragmented time to perform multiple short charges. In this case, the demand of such users is to charge as much power as possible in a short period of time. Some users use their rest time at night to keep the charger plugged in for a long time. In this case, the demand of such users is charging safety and extending battery life.
[0035] Based on the above problems, an embodiment of the present application provides a charging method for a terminal device, which is used in a scenario where the user is charging. The terminal device can sense the surrounding environment through its own sensors, learn the user's usage habits through machine learning, and intelligently set charging parameters so that the terminal device can be intelligently charged in a way that provides the best user experience. This allows the charging strategy to be customized based on the environmental information of the terminal device's current environment and the user's charging habits, thereby ensuring the charging effect and preventing the user from feeling obvious heat during the charging process, thereby improving the user's experience.
[0036] The charging method of the terminal device provided by the embodiments of this application can be applied to the terminal device. Among them, the above terminal device can be a smart phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc.; the embodiments of this application do not impose any restrictions on the specific type of the terminal device.
[0037] Exemplarily, Figure 2 is a schematic structural diagram of a terminal device provided by an embodiment of this application. As Figure 2 shown, the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone jack 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, a barometric pressure sensor 180C, an infrared sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0038] It can be understood that the structure schematically shown in the embodiments of this application does not constitute a specific limitation on the terminal device 100. In other embodiments of this application, the terminal device 100 may include more or fewer components than those shown in the figure, or combine certain components, or split certain components, or have different component arrangements. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0039] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a microcontroller unit (MCU), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0040] The controller may generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions.
[0041] 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. This memory may save the instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be directly called from the memory. This avoids repeated accesses, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0042] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0043] The I2C interface is a two-way synchronous serial bus, including a serial data line (SDA) and a serial clock line (DCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be respectively coupled to the touch sensor 180K, charger, flash, camera 193, etc. through different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K through the I2C interface, enabling the processor 110 and the touch sensor 180K to communicate through the I2C bus interface, thereby implementing the touch function of the terminal device 100.
[0044] The I2S interface can be used for audio communication. In some embodiments, the processor 110 may include multiple groups of I2S buses. The processor 110 may be coupled to the audio module 170 through the I2S bus to implement communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through the I2S interface to implement the function of answering a call through a Bluetooth headset.
[0045] The PCM interface can 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 the 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 the function of answering a call through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0046] The UART interface is a general-purpose serial data bus for asynchronous communication. This bus can be a two-way communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 may transmit audio signals to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0047] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate through the CSI interface to implement the shooting function of the terminal device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the terminal device 100.
[0048] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0049] The USB interface 130 is an interface that complies with the USB standard specification, and can specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the terminal device 100, and can also be used to transfer data between the terminal device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. This interface can also be used to connect other electronic devices, such as AR devices, etc.
[0050] It can be understood that the interface connection relationships between the modules illustrated in the embodiments of the present application are only illustrative and do not constitute a structural limitation on the terminal device 100. In other embodiments of the present application, the terminal device 100 can also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0051] The charging management module 140 is used to receive a charging input from a charger. Among them, the charger can be a wireless charger or a wired charger. In some embodiments of wired charging, the charging management module 140 can receive the charging input from a wired charger through the USB interface 130. In some embodiments of wireless charging, the charging management module 140 can receive the wireless charging input through the wireless charging coil of the terminal device 100. While charging the battery 142, the charging management module 140 can also supply power to the terminal device 100 through the power management module 141.
[0052] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives inputs from the battery 142 and / or the charging management module 140 to supply power to the processor 110, the internal memory 121, the display screen 194, the camera 193, the wireless communication module 160, etc. The power management module 141 can also be used to monitor parameters such as the battery capacity, the number of battery charge cycles, and the battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be disposed in the processor 110. In some other embodiments, the power management module 141 and the charging management module 140 can also be disposed in the same device.
[0053] The wireless communication function of the terminal device 100 can be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, and the baseband processor, etc.
[0054] The antenna 1 and the antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the terminal device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization rate of the antennas. For example, the antenna 1 can be multiplexed as the diversity antenna of the wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0055] The mobile communication module 150 can provide solutions for wireless communications such as 2G / 3G / 4G / 5G applied to the terminal device 100. The mobile communication module 150 can include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves by the antenna 1, filter, amplify, etc. the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor and convert it into electromagnetic waves through the antenna 1 for radiation. In some embodiments, at least some functional modules of the mobile communication module 150 can be disposed in the processor 110. In some embodiments, at least some functional modules of the mobile communication module 150 and at least some modules of the processor 110 can be disposed in the same device.
[0056] The modulation and demodulation processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. Subsequently, the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays an image or video through the display screen 194. In some embodiments, the modulation and demodulation processor may be an independent device. In other embodiments, the modulation and demodulation processor may be independent of the processor 110 and be provided in the same device as the mobile communication module 150 or other functional modules.
[0057] The wireless communication module 160 may provide solutions for wireless communications applied to the terminal device 100, including wireless local area networks (WLANs) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite systems (GNSSs), frequency modulation (FM), near field communication (NFC), infrared technology (IR), etc. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive the signals to be transmitted from the processor 110, perform frequency modulation and amplification on them, and convert them into electromagnetic waves through the antenna 2 for radiation.
[0058] In some embodiments, antenna 1 of the terminal device 100 is coupled to the mobile communication module 150, and antenna 2 is coupled to the wireless communication module 160, enabling the terminal device 100 to communicate with the network and other devices through wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).
[0059] The terminal device 100 implements the display function through the GPU, the display screen 194, and the application processor, etc. The GPU is a microprocessor for image processing, connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs, which execute program instructions to generate or change the display information.
[0060] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a Miniled, a MicroLed, a Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the terminal device 100 may include one or N display screens 194, where N is a positive integer greater than 1.
[0061] The terminal device 100 can implement the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194, and the application processor, etc.
[0062] The ISP is used to process the data fed back by the camera 193. For example, when taking a photo, the shutter is opened, and light passes through the lens and is transmitted to the camera sensor. The light signal is converted into an electrical signal, and the camera sensor transmits the electrical signal to the ISP for processing and converts it into an image visible to the naked eye. The ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. The ISP can also optimize parameters such as the exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 193.
[0063] The camera 193 is used to capture static images or videos. An object generates an optical image through the lens and projects it onto the sensor. The sensor can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The sensor converts the light signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in standard RGB, YUV, etc. formats. In some embodiments, the terminal device 100 may include one or N cameras 193, where N is a positive integer greater than 1.
[0064] The digital signal processor is used to process digital signals. Besides being able to process digital image signals, it can also process other digital signals. For example, when the terminal device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0065] The video codec is used to compress or decompress digital videos. The terminal device 100 can support one or more video codecs. In this way, the terminal device 100 can play or record videos in multiple encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0066] The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between human brain neurons, it can quickly process input information and can also continuously learn on its own. Through the NPU, applications such as intelligent cognition of the terminal device 100 can be realized, such as: image recognition, face recognition, speech recognition, text understanding, etc.
[0067] The external memory interface 120 can be used to connect to an external memory card, such as a Micro SD card, to expand the storage capacity of the terminal device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to achieve the data storage function. For example, files such as music and videos are saved in the external memory card.
[0068] The internal memory 121 can be used to store computer-executable program code, and the executable program code includes instructions. The internal memory 121 can include a program storage area and a data storage area. Among them, the program storage area can store the operating system, application programs required for at least one function (such as the sound playback function, image playback function, etc.). The data storage area can store the data created during the use of the terminal device 100 (such as audio data, phone book, etc.). In addition, the internal memory 121 can include high-speed random access memory and can also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. The processor 110 executes various functional applications and data processing of the terminal device 100 by running the instructions stored in the internal memory 121 and / or the instructions stored in the memory provided in the processor.
[0069] The terminal device 100 can implement audio functions through the audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, and the application processor, etc. For example, music playback, recording, etc.
[0070] The audio module 170 is used to convert digital audio information into an analog audio signal for output, and is also used to convert an analog audio input into a digital audio signal. The audio module 170 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some functional modules of the audio module 170 can be disposed in the processor 110.
[0071] The speaker 170A, also known as the "loudspeaker", is used to convert an audio electrical signal into a sound signal. The terminal device 100 can listen to music or a hands-free call through the speaker 170A.
[0072] The receiver 170B, also known as the "earpiece", is used to convert an audio electrical signal into a sound signal. When the terminal device 100 answers a call or a voice message, the voice can be listened to by bringing the receiver 170B close to the human ear.
[0073] The microphone 170C, also known as the "microphone" or "transmitter", is used to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak by bringing the mouth close to the microphone 170C to input the sound signal into the microphone 170C. The terminal device 100 can be provided with at least one microphone 170C. In some other embodiments, the terminal device 100 can be provided with two microphones 170C, which can not only collect sound signals but also implement a noise reduction function. In some other embodiments, the terminal device 100 can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify the sound source, implement a directional recording function, etc.
[0074] The headphone jack 170D is used to connect a wired headphone. The headphone jack 170D can be a USB interface 130, or a 3.5 mm open mobile terminal platform (OMTP) standard interface, or a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0075] The pressure sensor 180A is used to sense pressure signals and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor may include at least two parallel plates having conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The terminal device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the terminal device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The terminal device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, the instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
[0076] The gyroscope sensor 180B can be used to determine the motion posture of the terminal device 100. In some embodiments, the angular velocity of the terminal device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake during shooting. Exemplarily, when the shutter is pressed, the gyroscope sensor 180B detects the shaking angle of the terminal device 100, calculates the distance that the lens module needs to compensate according to the angle, and enables the lens to offset the shaking of the terminal device 100 through reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and somatosensory game scenarios.
[0077] The barometric pressure sensor 180C is used to measure barometric pressure. In some embodiments, the terminal device 100 calculates the altitude according to the barometric pressure value measured by the barometric pressure sensor 180C to assist in positioning and navigation.
[0078] The infrared sensor 180D is used to detect whether there are organisms around the terminal device 100 and the movement of the organisms;
[0079] The acceleration sensor 180E can detect the magnitude of the acceleration of the terminal device 100 in various directions (generally three axes). When the terminal device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of the terminal device 100 and is applied to applications such as horizontal and vertical screen switching and pedometers.
[0080] A distance sensor 180F is used to measure distance. The terminal device 100 can measure distance through infrared or laser. In some embodiments, when shooting a scene, the terminal device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0081] 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 terminal device 100 emits infrared light outward through the light-emitting diode. The terminal device 100 uses the photodiode to detect the infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the terminal device 100. When insufficient reflected light is detected, the terminal device 100 can determine that there is no object near the terminal device 100. The terminal device 100 can use the proximity light sensor 180G to detect that the user holds the terminal device 100 close to the ear for a call, so as to automatically turn off the screen to achieve the purpose of power saving. The proximity light sensor 180G can also be used in the holster mode and the pocket mode to automatically unlock and lock the screen.
[0082] The ambient light sensor 180L is used to sense the ambient light brightness. The terminal device 100 can adaptively adjust the brightness of the display screen 194 according to the sensed ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the terminal device 100 is in the pocket to prevent accidental touch.
[0083] The fingerprint sensor 180H is used to collect fingerprints. The terminal device 100 can use the collected fingerprint characteristics to achieve fingerprint unlocking, access to application locks, fingerprint photography, fingerprint answering of incoming calls, etc.
[0084] The temperature sensor 180J is used to detect temperature. In some embodiments, the terminal device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the terminal device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the terminal device 100 heats the battery 142 to avoid abnormal shutdown of the terminal device 100 caused by low temperature. In still other embodiments, when the temperature is lower than yet another threshold, the terminal device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
[0085] The touch sensor 180K, also known as the "touch control device". The touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also known as the "touch control screen". The touch sensor 180K is used to detect touch operations acting thereon or nearby. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In some other embodiments, the touch sensor 180K can also be disposed on the surface of the terminal device 100, at a different position from the display screen 194.
[0086] The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire vibration signals of the vibrating bone mass of the human vocal part. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulsation signals. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone to form a bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vibrating bone mass of the human vocal part acquired by the bone conduction sensor 180M to implement the voice function. The application processor can analyze the heart rate information based on the blood pressure pulsation signal acquired by the bone conduction sensor 180M to implement the heart rate detection function.
[0087] The button 190 includes a power-on button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The terminal device 100 can receive button inputs and generate key signal inputs related to the user settings and function controls of the terminal device 100.
[0088] The motor 191 can generate vibration prompts. The motor 191 can be used for incoming call vibration prompts and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playing, etc.) can correspond to different vibration feedback effects. Touch operations acting on different areas of the display screen 194 can also correspond to different vibration feedback effects for the motor 191. Different application scenarios (such as time reminder, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0089] The indicator 192 can be an indicator light and can be used to indicate the charging state, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0090] The SIM card interface 195 is used to connect to the SIM card. The SIM card can be inserted into or pulled out from the SIM card interface 195 to achieve contact and separation from the terminal device 100. The terminal device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 195 simultaneously. The types of the multiple cards can be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external memory cards. The terminal device 100 interacts with the network through the SIM card to implement functions such as calls and data communication. In some embodiments, the terminal device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the terminal device 100 and cannot be separated from the terminal device 100.
[0091] For ease of understanding, the following embodiments of the present application will use a terminal device with the Figure 2 shown structure as an example, and in combination with the accompanying drawings and application scenarios, specifically elaborate on the charging method of the terminal device provided in the embodiments of the present application.
[0092] Figure 3 The flowchart of the charging method of the terminal device provided in an embodiment of the present application is as Figure 3 shown. The charging method of the above terminal device may include:
[0093] Step 301, the terminal device 100 obtains the environmental information of the environment where the terminal device 100 is currently located, and obtains the charging habits of the user using the terminal device 100. Among them, the above environmental information may include the temperature of the terminal device 100 itself and the heat dissipation conditions of the environment where the terminal device 100 is currently located.
[0094] Among them, the above environmental information may include the temperature of the terminal device 100 itself, the motion state information of the terminal device 100, the environmental image of the environment where the terminal device 100 is currently located, and the information on whether there are objects approaching near the terminal device 100.
[0095] Specifically, when implemented, refer to Figure 4 , Figure 4Schematic diagram of the implementation of the charging method for the terminal device provided by an embodiment of the present application. The processor 110 in the terminal device 100 can collect the temperature of the terminal device 100 itself through the temperature sensor 180J, collect the motion state information of the terminal device 100 through the acceleration sensor 180E, collect the environmental image of the current environment where the terminal device 100 is located through the camera 193, and collect the environmental change information of the environment where the terminal device 100 is located through the proximity light sensor 180G, such as information on whether there is an object approaching near the terminal device 100; in addition, the processor 110 can also obtain the charging habits of the user through machine learning.
[0096] Step 302, when the temperature of the terminal device 100 itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device 100 is located meets the predetermined heat dissipation condition, determine the charging strategy according to the charging habits of the user.
[0097] Among them, the above-mentioned predetermined temperature threshold can be set by itself according to system performance and / or implementation requirements, etc. in specific implementation. This embodiment does not limit the size of the above-mentioned predetermined temperature threshold. For example, the above-mentioned predetermined temperature threshold can be 50 degrees.
[0098] The above-mentioned predetermined heat dissipation condition can also be set by itself in specific implementation. For example, when the terminal device 100 is placed on a sofa or a bed, it can be determined that the heat dissipation condition is poor and does not meet the predetermined heat dissipation condition; while when the terminal device 100 is placed on a table, it can be determined that the heat dissipation condition is good and meets the predetermined heat dissipation condition.
[0099] Specifically, referring to Figure 4 , after the processor 110 obtains the environmental information of the current environment where the terminal device 100 is located and obtains the charging habits of the user using the terminal device 100, it can formulate a charging strategy for the terminal device 100 according to the above environmental information and charging habits.
[0100] In this embodiment, in this embodiment, the temperature sensor 180J measures the temperature of the terminal device 100 itself, and then transmits the measured temperature of the terminal device 100 itself to the processor 110, and the processor 110 determines whether the temperature of the terminal device 100 itself is greater than the predetermined temperature threshold.
[0101] When the temperature of the terminal device 100 itself is less than or equal to the predetermined temperature threshold, and the heat dissipation condition around the terminal device 100 is good and meets the predetermined heat dissipation condition, the processor 110 formulates a charging strategy according to the charging habits of the user.
[0102] Step 303, charge the terminal device 100 according to the above charging strategy.
[0103] Specifically, after the processor 110 formulates the charging strategy, it can transmit the above charging strategy to the charging management module 140, and the charging management module 140 charges the battery 142 according to the above charging strategy.
[0104] In the charging method of the above terminal device, after the terminal device 100 obtains the environmental information of the environment where the terminal device 100 is currently located and the charging habits of the user using the terminal device 100, when the temperature of the terminal device 100 itself is less than or equal to a predetermined temperature threshold and the heat dissipation condition of the environment where the terminal device 100 is currently located meets the predetermined heat dissipation condition, a charging strategy is determined according to the charging habits of the user. Then, according to the above charging strategy, the terminal device 100 is charged, so that a charging strategy can be customized according to the environmental information of the environment where the terminal device is currently located and the charging habits of the user, which can not only ensure the charging effect, but also prevent the user from feeling obvious heat during the charging process, thereby improving the user experience.
[0105] Figure 5 The flowchart of the charging method of the terminal device provided by another embodiment of the present application is as Figure 5 shown. In the embodiment Figure 3 shown, step 302 may be:
[0106] Step 501, when the temperature of the terminal device 100 itself is less than or equal to a predetermined temperature threshold and the heat dissipation condition of the environment where the terminal device 100 is currently located meets the predetermined heat dissipation condition, if the charging habit of the above user is that in the current time period, the charging times of the terminal device 100 are less than the first predetermined number of times and the charging duration of the terminal device 100 is greater than or equal to the first predetermined duration, then determine the charging strategy as a long-time safe charging strategy; or, if the charging habit of the above user is that in the current time period, the charging times of the terminal device 100 are greater than or equal to the second predetermined number of times and the charging duration of the terminal device 100 is less than the second predetermined duration, then when no human body is detected within a predetermined distance range, determine the above charging strategy as a short-time fast charging strategy; and / or, after a human body is detected within the above predetermined distance range, end the charging process of the terminal device 100.
[0107] Among them, the above predetermined distance range includes a range where the distance from the terminal device 100 is less than or equal to a predetermined distance; the size of the above predetermined distance can be set by itself according to system performance and / or implementation requirements, etc. in specific implementation. This embodiment does not limit the size of the above predetermined distance. For example, the above predetermined distance can be 30 centimeters.
[0108] The above first predetermined number of times is less than or equal to the second predetermined number of times, and the first predetermined duration is greater than or equal to the second predetermined duration. Similarly, the magnitudes of the first predetermined number of times, the second predetermined number of times, the first predetermined duration, and the second predetermined duration can be set by themselves in specific implementations, and this embodiment does not limit this.
[0109] In specific implementation, the distance sensor 180F can detect whether there is a human body within a predetermined distance range. Then, the processor 110 can, according to the information detected by the distance sensor 180F, know whether a user is approaching the terminal device 100.
[0110] In this embodiment, when the temperature of the terminal device 100 itself is less than or equal to a predetermined temperature threshold, and the heat dissipation conditions around the terminal device 100 are good and meet the predetermined heat dissipation conditions, if the user is accustomed to charging for a long time during the current time period, the processor 110 determines the charging strategy as a long-time safe charging strategy. The long-time safe charging strategy can make full use of the complete charging duration and be fully charged before the user ends charging, which can avoid repeated charging stops and restarts.
[0111] If the user is accustomed to charging multiple times for short durations using fragmented time during the current time period, when the distance sensor 180F does not detect a human body within the predetermined distance range, the processor 110 determines the above charging strategy as a short-time fast charging strategy. The short-time fast charging strategy can make full use of the fast charging ability and charge with the maximum charging current. In this state, the temperature rise may exceed the limited temperature threshold in a short time, which is a charging speed optimization strategy. When charging using the short-time fast charging strategy, if the distance sensor 180F detects a human body within the above predetermined distance range, the processor 110 notifies the charging management module 140 to end the charging process of the battery 142, so that the short-time charging ends in advance and the temperature of the terminal device 100 itself is reduced.
[0112] In addition, when the user is accustomed to charging multiple times for short durations using fragmented time, if the distance sensor 180F detects a human body within the predetermined distance range, the charging process of the terminal device 100 can be directly ended.
[0113] Figure 6 For the flowchart of the charging method of the terminal device provided in another embodiment of the present application, as Figure 6 shown, in the embodiment shown in the present application Figure 3 after step 301, it may further include:
[0114] Step 601, when the temperature of the terminal device 100 itself is greater than the predetermined temperature threshold, determine the above charging strategy as a current-limiting charging strategy.
[0115] In this way, step 303 can be:
[0116] Step 602: Enter the thermal current limiting state according to the above current limiting charging strategy to reduce the charging current of the terminal device 100.
[0117] In this embodiment, the temperature sensor 180J measures the temperature of the terminal device 100 itself, and then transmits the measured temperature of the terminal device 100 itself to the processor 110. The processor 110 determines whether the temperature of the terminal device 100 itself is greater than a predetermined temperature threshold. When the temperature of the terminal device 100 itself is greater than the predetermined temperature threshold, the processor 110 determines the charging strategy as the current limiting charging strategy and transmits the current limiting charging strategy to the charging management module 140. At this time, the charging management module 140 immediately executes the above current limiting charging strategy, enters the thermal current limiting state, and reduces the charging current of the battery 142, so that the temperature of the terminal device 100 can be quickly reduced. Moreover, in this charging state, the processor 110 monitors the temperature sensor 180J regularly or periodically. After the temperature of the terminal device 100 itself drops to less than or equal to the predetermined temperature threshold, the processor 110 can notify the charging management module 140 to increase the charging current.
[0118] Figure 7 The flowchart of the charging method of the terminal device provided for another embodiment of the present application is as Figure 7 shown. In the embodiment shown in the present application Figure 3 after step 301, it may further include:
[0119] Step 701: When the temperature of the terminal device 100 itself is less than or equal to the predetermined temperature threshold and the heat dissipation condition of the environment where the terminal device 100 is currently located does not meet the predetermined heat dissipation condition, determine the charging strategy as the temperature-priority safe charging strategy.
[0120] In this embodiment, when the temperature of the terminal device 100 itself is less than or equal to the predetermined temperature threshold and the heat dissipation condition around the terminal device 100 is poor and does not meet the predetermined heat dissipation condition, the processor 110 can determine to use the temperature-priority safe charging strategy. When using the temperature-priority safe charging strategy, the charging management module 140 can charge the battery 142 with a smaller charging current to control the rising speed of the temperature. Moreover, in this charging state, the processor 110 monitors the temperature sensor 180J regularly or periodically. After the temperature of the terminal device 100 itself rises to greater than the predetermined temperature threshold, the processor 110 can notify the charging management module 140 to charge using the current limiting charging strategy.
[0121] The present application Figures 3 to 7The method provided by the illustrated embodiment can customize the optimal charging strategy according to the environmental information of the current environment of the terminal device 100 and the user's charging habits, which not only ensures the charging effect but also makes the user feel no obvious heat during the charging process, improving the user experience.
[0122] Figure 8 Schematic diagram of the charging method of the terminal device provided by another embodiment of the present application. As Figure 8 shown, after determining the charging strategy according to the method provided by the embodiment of the present application Figures 3 to 7 shown, if the charging strategy is a temperature-priority safe charging strategy, after the charging management module 140 charges the battery 142 according to the temperature-priority safe charging strategy, the processor 110 can obtain the environmental information of the current environment where the terminal device 100 is located. If the temperature of the terminal device 100 itself is less than or equal to the predetermined temperature threshold and the heat dissipation condition of the current environment where the terminal device 100 is located meets the predetermined heat dissipation condition, this indicates that the terminal device 100 has been moved to an environment with good heat dissipation. At this time, the processor 110 can switch the charging strategy to a long-time safe charging strategy or a short-time fast charging strategy according to the user's charging habits, as Figure 8 shown by arrow 81 in
[0123] In addition, after determining the charging strategy according to the method provided by the embodiment of the present application Figures 3 to 7 shown, if the charging strategy is a long-time safe charging strategy or a short-time fast charging strategy, after the charging management module 140 charges the battery 142 according to the long-time safe charging strategy or the short-time fast charging strategy, the processor 110 can obtain the environmental information of the current environment where the terminal device 100 is located; if the temperature of the terminal device 100 itself is less than or equal to the predetermined temperature threshold and the heat dissipation condition of the current environment where the terminal device 100 is located does not meet the predetermined heat dissipation condition, for example, during the charging process, the terminal device 100 falls into an area with poor heat dissipation (such as a sofa gap), then the processor 110 can determine to switch the charging strategy to a temperature-priority safe charging strategy, as Figure 8 shown by arrow 82 in
[0124] After the battery 142 is fully charged using the long-time safe charging strategy or the short-time fast charging strategy, the charging management module 140 can end the charging; or, when charging using the short-time fast charging strategy, if the proximity sensor 180F detects that a user is approaching the terminal device 100, then the processor 110 can notify the charging management module 140 to end the charging, as Figure 8 shown by arrow 83 in
[0125] In addition, if the user's charging habit changes, the processor 110 can switch the charging strategy from the long-term safe charging strategy to the short-term fast charging strategy, or switch the charging strategy from the short-term fast charging strategy to the long-term safe charging strategy according to the user's charging habit, as Figure 8 shown by arrow 84 in
[0126] Furthermore, it should be noted that during the charging process, if the temperature of the terminal device 100 itself rises abnormally and is greater than a predetermined temperature threshold, the processor 110 determines to switch the charging strategy to a current-limiting charging strategy. After the temperature of the terminal device 100 itself drops to less than or equal to the predetermined temperature threshold, the original charging strategy used is restored. As Figure 8 shown, if the temperature of the terminal device 100 rises abnormally and is greater than a predetermined temperature threshold during the process of the charging management module 140 charging the battery 142 using the temperature-priority safe charging strategy, the processor 110 determines to switch the charging strategy to a current-limiting charging strategy to quickly reduce the temperature of the terminal device 100. After the temperature of the terminal device 100 itself drops to less than or equal to the predetermined temperature threshold, the temperature-priority safe charging strategy is restored, as Figure 8 shown by arrow 85 in
[0127] Similarly, if the temperature of the terminal device 100 rises abnormally and is greater than a predetermined temperature threshold during the process of the charging management module 140 charging the battery 142 using the long-term safe charging strategy, the processor 110 determines to switch the charging strategy to a current-limiting charging strategy to quickly reduce the temperature of the terminal device 100. After the temperature of the terminal device 100 itself drops to less than or equal to the predetermined temperature threshold, the long-term safe charging strategy is restored, as Figure 8 shown by arrow 86 in
[0128] If the temperature of the terminal device 100 rises abnormally and is greater than a predetermined temperature threshold during the process of the charging management module 140 charging the battery 142 using the short-term fast charging strategy, the processor 110 determines to switch the charging strategy to a current-limiting charging strategy to quickly reduce the temperature of the terminal device 100. After the temperature of the terminal device 100 itself drops to less than or equal to the predetermined temperature threshold, the short-term fast charging strategy is restored, as Figure 8 shown by arrow 87 in
[0129] This embodiment can charge the battery 142 using different charging strategies according to changes in the environment and human factors.
[0130] It can be understood that some or all of the steps or operations in the above embodiments are merely examples. Embodiments of the present application can also perform other operations or variations of various operations. In addition, the various steps can be executed in different orders presented in the above embodiments, and it is possible not to execute all the operations in the above embodiments.
[0131] It can be understood that in order for the terminal device to implement the above functions, it includes the corresponding hardware and / or software modules for executing each function. Combining the algorithm steps of each example described in the embodiments disclosed in the present application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the manner of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to exceed the scope of the present application.
[0132] In this embodiment, the terminal device can be divided into function modules according to the above method embodiments. For example, each function module can be divided corresponding to each function, or two or more functions can be integrated into one module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is illustrative, only a logical function division, and there can be other division methods in actual implementation.
[0133] Figure 9 It is a schematic structural diagram of a terminal device provided in another embodiment of the present application. In the case of dividing each function module corresponding to each function, Figure 9 it shows a possible composition schematic diagram of the terminal device 900 involved in the above embodiment, as Figure 9 shown. The terminal device 900 may include: an environment perception unit 901, a user perception unit 902, an intelligent charging management unit 903, and a charging execution unit 904;
[0134] Among them, the environment perception unit 901 is responsible for perceiving the external environment of the terminal device 900, including temperature, environmental images, and / or biological ranging, etc., and can be used to support the terminal device 900 to execute step 301, and / or for other processes of the technical solution described in the embodiments of the present application;
[0135] The user perception unit 902 mainly learns the usage habits of the user using the terminal device 900 through machine learning, predicts the charging time period and / or charging duration, etc., and can be used to support the terminal device 900 to execute step 301, and / or for other processes of the technical solution described in the embodiments of the present application;
[0136] The intelligent charging management unit 903 is responsible for comprehensively making decisions on charging parameters and determining charging strategies, and can be used to support the terminal device 900 in executing steps 302, 501, 601, 701, etc., and / or other processes of the technical solutions described in the embodiments of the present application;
[0137] The charging execution unit 904 is responsible for charging the terminal device 900 according to the charging strategy, and can be used to support the terminal device 900 in executing steps 303 and 602, etc., and / or other processes of the technical solutions described in the embodiments of the present application.
[0138] It should be noted that all relevant contents of each step involved in the above method embodiments can be cited in the function descriptions of the corresponding functional modules, and will not be elaborated here.
[0139] The terminal device 900 provided in this embodiment is used to execute the charging method of the above terminal device, and thus can achieve the same effects as the above method.
[0140] It should be understood that the terminal device 900 can correspond to Figure 1 the terminal device 100 shown. Among them, the functions of the environment perception unit 901 can be implemented by Figure 1 the temperature sensor 180J, camera 193, infrared sensor 180D, acceleration sensor 180E, and proximity light sensor 180G in the terminal device 100 shown; the functions of the user perception unit 902 and the intelligent charging management unit 903 can be implemented by the processor 110; the function of the charging execution unit 904 can be implemented by the charging management module 140.
[0141] In the case of adopting an integrated unit, the terminal device 900 may include a processing module, a storage module, and a communication module.
[0142] Among them, the processing module can be used to control and manage the actions of the terminal device 900. For example, it can be used to support the terminal device 900 in executing the steps performed by the above environment perception unit 901, user perception unit 902, intelligent charging management unit 903, and charging execution unit 904. The storage module can be used to support the terminal device 900 in storing program codes and data, etc. The communication module can be used to support the communication of the terminal device 900 with other devices.
[0143] Among them, the processing module can be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits described in connection with the disclosure of the present application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, an MCU, a digital signal processing (DSP), and / or a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, and / or a Wi-Fi chip, etc.
[0144] In one embodiment, when the processing module is a processor and the storage module is a memory, the terminal device 900 involved in this embodiment can be a device with Figure 1 the structure shown.
[0145] The embodiment of the present application also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When it runs on a computer, it causes the computer to execute the method provided by the embodiment of the present application Figures 3 to 8 shown.
[0146] The embodiment of the present application also provides a computer program product. The computer program product includes a computer program. When it runs on a computer, it causes the computer to execute the method provided by the embodiment of the present application Figures 3 to 8 shown.
[0147] In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships can exist. For example, A and / or B can represent the cases of A existing alone, A and B existing simultaneously, and B existing alone. Where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after. "At least one of the following" and its similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a and b and c, where a, b, and c can be single or multiple.
[0148] Those of ordinary skill in the art can realize that the units and algorithm steps described in the embodiments disclosed herein can be implemented by a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.
[0149] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0150] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present application. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0151] The above is only the specific implementation manner of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application and should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A charging method for a terminal device, characterized in that, it includes: Obtaining environmental information of the current environment where the terminal device is located, and obtaining the charging habits of the user using the terminal device; wherein, the environmental information includes the temperature of the terminal device itself and the heat dissipation conditions of the current environment where the terminal device is located; When the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation conditions of the current environment where the terminal device is located meet the predetermined heat dissipation conditions, determining a charging strategy according to the charging habits of the user; Charging the terminal device according to the charging strategy; Wherein, the determining the charging strategy according to the charging habits of the user includes: If the charging habit of the user is that in the current time period, the number of charging times of the terminal device is less than a first predetermined number, and the charging duration of the terminal device is greater than or equal to a first predetermined duration, then determining the charging strategy as a long-time safe charging strategy; or, If the charging habit of the user is that in the current time period, the number of charging times of the terminal device is greater than or equal to a second predetermined number, and the charging duration of the terminal device is less than a second predetermined duration, then when no human body is detected within a predetermined distance range, determining the charging strategy as a short-time fast charging strategy; and / or, after a human body is detected within the predetermined distance range, ending the charging process of the terminal device; wherein, the predetermined distance range includes a range where the distance from the terminal device is less than or equal to the predetermined distance; The first predetermined number is less than or equal to the second predetermined number, and the first predetermined duration is greater than or equal to the second predetermined duration.
2. The method according to claim 1, characterized in that, after obtaining the environmental information of the current environment where the terminal device is located, it further includes: When the temperature of the terminal device itself is greater than a predetermined temperature threshold, determining the charging strategy as a current-limiting charging strategy; The charging the terminal device according to the charging strategy includes: According to the current-limiting charging strategy, entering a thermal current-limiting state and reducing the charging current of the terminal device.
3. The method according to claim 1, characterized in that, after obtaining the environmental information of the current environment where the terminal device is located, it further includes: When the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation conditions of the current environment where the terminal device is located do not meet the predetermined heat dissipation conditions, determining the charging strategy as a temperature-priority safe charging strategy.
4. The method according to claim 3, characterized in that, it further includes: After charging the terminal device according to the temperature-priority safe charging strategy, obtaining the environmental information of the current environment where the terminal device is located; If the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation conditions of the current environment where the terminal device is located meet the predetermined heat dissipation conditions, then according to the charging habits of the user, switching the charging strategy to a long-time safe charging strategy or a short-time fast charging strategy.
5. The method according to claim 1, characterized in that, it further includes: After charging the terminal device according to the long-term safe charging strategy or the short-term fast charging strategy, obtain the environmental information of the current environment where the terminal device is located; If the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located does not meet the predetermined heat dissipation condition, determine to switch the charging strategy to a temperature-priority safe charging strategy.
6. A terminal device, characterized in that, it includes: one or more processors; a memory; multiple applications; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions that, when executed by the terminal device, cause the terminal device to perform the following steps: Obtain the environmental information of the current environment where the terminal device is located, and obtain the charging habits of the user using the terminal device; wherein, the environmental information includes the temperature of the terminal device itself and the heat dissipation condition of the current environment where the terminal device is located; When the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located meets the predetermined heat dissipation condition, determine the charging strategy according to the charging habits of the user; Charge the terminal device according to the charging strategy; wherein, when the instruction is executed by the terminal device, the step of causing the terminal device to perform the step of determining the charging strategy according to the charging habits of the user includes: If the charging habit of the user is that in the current time period, the charging times of the terminal device are less than the first predetermined number of times, and the charging duration of the terminal device is greater than or equal to the first predetermined duration, determine that the charging strategy is a long-term safe charging strategy; or, If the charging habit of the user is that in the current time period, the charging times of the terminal device are greater than or equal to the second predetermined number of times, and the charging duration of the terminal device is less than the second predetermined duration, then when no human body is detected within a predetermined distance range, determine that the charging strategy is a short-term fast charging strategy; and / or, after a human body is detected within the predetermined distance range, end the charging process of the terminal device; wherein, the predetermined distance range includes a range where the distance from the terminal device is less than or equal to the predetermined distance; The first predetermined number of times is less than or equal to the second predetermined number of times, and the first predetermined duration is greater than or equal to the second predetermined duration.
7. The terminal device according to claim 6, characterized in that, when the instruction is executed by the terminal device, after the step of causing the terminal device to perform the step of obtaining the environmental information of the current environment where the terminal device is located, the following steps are further performed: When the temperature of the terminal device itself is greater than a predetermined temperature threshold, determine that the charging strategy is a current-limiting charging strategy; When the instruction is executed by the terminal device, the step of causing the terminal device to perform the step of charging the terminal device according to the charging strategy includes: According to the current-limiting charging strategy, enter the thermal current-limiting state and reduce the charging current of the terminal device.
8. The terminal device according to claim 6, wherein, when the instruction is executed by the terminal device, after the terminal device executes the step of obtaining the environmental information of the current environment where the terminal device is located, the following steps are further executed: when the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located does not meet the predetermined heat dissipation condition, determine that the charging strategy is a temperature-priority safe charging strategy.
9. The terminal device according to claim 8, wherein, when the instruction is executed by the terminal device, the terminal device is further caused to execute the following steps: after charging the terminal device according to the temperature-priority safe charging strategy, obtain the environmental information of the current environment where the terminal device is located; if the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located meets the predetermined heat dissipation condition, then switch the charging strategy to a long-time safe charging strategy or a short-time fast charging strategy according to the user's charging habit.
10. The terminal device according to claim 6, wherein, when the instruction is executed by the terminal device, the terminal device is further caused to execute the following steps: after charging the terminal device according to the long-time safe charging strategy or the short-time fast charging strategy, obtain the environmental information of the current environment where the terminal device is located; if the temperature of the terminal device itself is less than or equal to a predetermined temperature threshold, and the heat dissipation condition of the current environment where the terminal device is located does not meet the predetermined heat dissipation condition, then determine to switch the charging strategy to a temperature-priority safe charging strategy.
11. A computer-readable storage medium, wherein, a computer program is stored in the computer-readable storage medium, and when it runs on a computer, it causes the computer to execute the method according to any one of claims 1-5.
Citation Information
Patent Citations
Battery charging management method and system, intelligent terminal and computer readable storage medium
CN110676905A
Charging control method and device, electronic equipment and computer storage medium
CN110707772A
Charging control method and device, electronic device and computer readable storage medium
CN111342159A