A battery protection method, device, chip system, terminal device and medium

By detecting the lithium battery status and adjusting the charging strategy, the problem of accelerated aging of lithium batteries under high temperature, high humidity, full charge, and high voltage conditions is solved, realizing intelligent protection, extending the service life of lithium batteries and improving safety.

CN115065116BActive Publication Date: 2026-07-07QINGDAO HISENSE MOBILE COMM TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HISENSE MOBILE COMM TECH CO LTD
Filing Date
2022-06-28
Publication Date
2026-07-07

AI Technical Summary

Technical Problem

When lithium batteries in terminal devices are used under conditions of high temperature, high humidity, full charge, and high voltage, they age faster, resulting in reduced standby time and increased safety hazards. Existing technologies are insufficient to effectively protect lithium batteries, extend their lifespan, and ensure safety.

Method used

By detecting the preset state of the lithium battery, the remaining power is obtained at preset time intervals, and the charging strategy is adjusted according to the factors affecting battery performance, including resuming charging, pausing charging or prompting charging when the power is below the threshold, controlling the power consumption of the terminal device, and shutting down the device when it has not been charged for a long time, so as to achieve intelligent protection.

Benefits of technology

It effectively slows down the aging of lithium batteries, extends their lifespan, avoids safety issues, and improves safety during use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115065116B_ABST
    Figure CN115065116B_ABST
Patent Text Reader

Abstract

The application discloses a battery protection method and device, a chip system, a terminal equipment and a medium. In the method, the element value of a preset influencing element affecting the performance of a battery is acquired according to a last acquisition period to determine a second target power threshold, and a first target power threshold smaller than the second target power threshold is determined. When the lithium battery is in a preset state, the remaining power of the target lithium battery acquired according to a preset first time interval is smaller than the saved first target power threshold, and the target lithium battery is not currently charged, the charging of the target lithium battery is resumed, thereby reducing the overuse of the battery, slowing down the aging of the battery, and realizing the intelligent protection of the lithium battery.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of battery technology, and in particular to a battery protection method, device, chip system, terminal equipment, and medium. Background Technology

[0002] When the lithium batteries of terminal devices are exposed to high temperature, high humidity, full charge, and high voltage for a long time, due to the wide variety of user habits, excessive use of lithium batteries will accelerate battery aging. Aged lithium batteries will have problems such as reduced standby time and bulging, and the possibility of safety problems will also increase significantly. Once a safety problem occurs, it will cause property loss and personal injury to users.

[0003] Therefore, how to achieve intelligent protection for lithium batteries to slow down battery aging, extend battery life, and ensure battery safety has become an urgent technical problem to be solved. Summary of the Invention

[0004] This application provides a battery protection method, apparatus, chip system, terminal device, and medium to achieve intelligent protection of lithium batteries, thereby slowing down battery aging, extending battery life, and ensuring battery safety.

[0005] In a first aspect, this application provides a battery protection method, the method comprising:

[0006] If the target lithium battery is detected to be in a preset state, the remaining power of the target lithium battery is obtained according to a preset first time interval;

[0007] If the remaining power is less than the saved first target power threshold and the target lithium battery is not currently being charged, then charging of the target lithium battery will resume. The first target power threshold is smaller than the second target power threshold. The second target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and the determination function of the pre-saved full charge power threshold. The preset influencing factors include the battery's production time, the number of charge-discharge cycles, the drop frequency, the battery temperature, the battery humidity, and the number of charge-discharge cycles within a first set time period.

[0008] Furthermore, the method also includes:

[0009] If the remaining charge after charging reaches the second target charge threshold, then charging of the target lithium battery is paused.

[0010] Furthermore, detecting the target lithium battery in a preset state includes:

[0011] The feature values ​​of the preset features of the target lithium battery within a second set time period and the second target power threshold updated in the previous acquisition cycle are obtained. The preset features include the cumulative charging time, the average battery temperature, the average battery humidity, and the cumulative high voltage holding time of the battery.

[0012] If the feature value of at least one preset feature is not less than the first preset threshold corresponding to the preset feature, or the updated second target power threshold is less than the corresponding second preset threshold, then the target lithium battery is determined to be in a preset state.

[0013] Furthermore, if the target lithium battery is detected to be in a preset state, but before obtaining the remaining power of the target lithium battery according to a preset first time interval, the method further includes:

[0014] Based on the target time when the target lithium battery is first identified as being in the preset state, the target charge of the target lithium battery at the target time is obtained.

[0015] If the target power is less than the stored second target power threshold, then the subsequent step of obtaining the remaining power of the target lithium battery at a preset first time interval is executed;

[0016] If the target power level is not less than the second target power level threshold, the terminal device with the target lithium battery installed is controlled to actively consume power until the power level after consumption is less than the second target power level threshold. Then, the subsequent step of obtaining the remaining power level of the target lithium battery at a preset first time interval is executed.

[0017] Furthermore, the active power consumption control of the terminal device equipped with the target lithium battery includes:

[0018] Based on the average battery temperature and average battery humidity of the target lithium battery within a preset period before the target time, and the average power consumption current corresponding to the pre-saved range of average battery temperature and average battery humidity, the target average power consumption current value corresponding to the average battery temperature and average battery humidity is determined.

[0019] Obtain the average temperature of each preset region of the target lithium battery, determine the target preset region with the lowest average temperature, and determine the target power consumption process corresponding to the target preset region based on the power consumption process corresponding to each preset region that is saved in advance.

[0020] The system obtains the first average power consumption current value of the terminal device in the previous preset time period, and obtains the second average power consumption current value in the next preset time period based on the difference between the target average power consumption current value and the first average power consumption current value. The system then controls the terminal device to start the target power consumption process and controls the average power consumption current value of the target power consumption process in the next preset time period to be the second average power consumption current value.

[0021] Furthermore, the method also includes:

[0022] If the remaining power is less than the saved third target power threshold, and the target lithium battery is not currently being charged, a prompt message to resume charging the target lithium battery is output. The third target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and the determination function of the pre-saved depletion power threshold. The third target power threshold is less than the second target power threshold.

[0023] If the target lithium battery does not start charging within a preset time after the prompt message is output, the terminal device with the target lithium battery installed will be powered off.

[0024] Secondly, this application provides a battery protection device, the device comprising:

[0025] The acquisition module is used to acquire the remaining power of the target lithium battery according to a preset first time interval if the target lithium battery is detected to be in a preset state.

[0026] The processing module is configured to resume charging the target lithium battery if the remaining power is less than a saved first target power threshold and the target lithium battery is not currently being charged. The first target power threshold is smaller than a second target power threshold. The second target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous acquisition cycle and a determination function of a pre-saved full-charge power threshold. The preset influencing factors include battery production time, charge-discharge cycle count, drop frequency, battery temperature, battery humidity, and charge-discharge count within a first set time period.

[0027] Furthermore, the processing module is also configured to pause charging the target lithium battery if the remaining charge after charging reaches the second target charge threshold.

[0028] Further, the acquisition module is specifically used to acquire the feature values ​​of preset features of the target lithium battery within a second set time length, and the second target power threshold updated in the previous acquisition cycle, wherein the preset features include cumulative charging time, average battery temperature, average battery humidity, and cumulative high voltage holding time of the battery; if the feature value of at least one preset feature is not less than the first preset threshold corresponding to the preset feature, or the updated second target power threshold is less than the corresponding second preset threshold, then the target lithium battery is determined to be in a preset state.

[0029] Furthermore, the acquisition module is also configured to, after detecting that the target lithium battery is in a preset state and before acquiring the remaining power of the target lithium battery at a preset first time interval, acquire the target power of the target lithium battery at a target time based on the target time when the target lithium battery is first identified as being in the preset state; if the target power is less than a stored second target power threshold, then execute the subsequent step of acquiring the remaining power of the target lithium battery at a preset first time interval; if the target power is not less than the second target power threshold, then trigger the processing module to execute the step of controlling the terminal device with the target lithium battery installed to actively consume power, until the power consumed is less than the second target power threshold, then execute the subsequent step of acquiring the remaining power of the target lithium battery at a preset first time interval.

[0030] Further, the processing module is specifically configured to: determine the target average power consumption current value corresponding to the first feature value and the second feature value based on the average battery temperature value and average battery humidity value of the target lithium battery within a preset period before the target time, and the average power consumption current value corresponding to the first feature value range and the second feature value range stored in advance; obtain the average temperature value corresponding to each preset region of the target lithium battery, and determine the target preset region with the lowest average temperature value; determine the target power consumption process corresponding to the target preset region based on the power consumption process corresponding to each preset region stored in advance; obtain the first average power consumption current value of the terminal device obtained in the previous preset time period; obtain the second average power consumption current value of the next preset time period based on the difference between the target average power consumption current value and the first average power consumption current value; control the terminal device to start the target power consumption process; and control the average power consumption current value of the target power consumption process in the next preset time period to be the second average power consumption current value.

[0031] Furthermore, the processing module is also configured to, if the remaining power is less than a stored third target power threshold and the target lithium battery is not currently being charged, output a prompt message to resume charging the target lithium battery, wherein the third target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and a pre-stored function for determining the depleted power threshold, wherein the third target power threshold is less than the second target power threshold; if the target lithium battery does not start charging within a preset time after the prompt message is output, the terminal device with the target lithium battery installed is controlled to shut down.

[0032] Thirdly, this application provides a chip system comprising: a memory and a processor, wherein the processor and the memory are coupled; wherein the memory includes program instructions, which, when executed by the processor, cause the chip system to implement the steps of any of the above-described battery protection methods.

[0033] Fourthly, this application provides a terminal device, including:

[0034] Display, processor, and memory;

[0035] The display is used to show the screen display area;

[0036] The memory is used to store the processor-executable instructions;

[0037] The processor is configured to execute the instructions to implement the steps of any of the battery protection methods described above.

[0038] Fifthly, this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of any of the above-described battery protection methods.

[0039] This application provides a battery protection method, apparatus, chip system, terminal device, and medium. In this method, when a target lithium battery is detected to be in a preset state, the remaining power of the target lithium battery is acquired according to a preset first time interval. If the remaining power is less than a stored first target power threshold and the target lithium battery is not currently being charged, charging of the target lithium battery is resumed. The first target power threshold is a threshold smaller than a second target power threshold determined by a function that determines preset influencing factors affecting battery performance obtained from the previous acquisition cycle and a pre-stored full charge power threshold. The preset influencing factors include battery production time, charge / discharge cycle count, drop frequency, battery temperature, battery humidity, and charge / discharge count within a first set time period. This method determines the second target power threshold based on the value of the preset influencing factors affecting battery performance obtained from the previous acquisition cycle, and determines a first target power threshold that is smaller than the second target power threshold. When the lithium battery is in a preset state, the remaining power of the target lithium battery is less than the stored first target power threshold when the preset first time interval is obtained, and the target lithium battery is not currently being charged, the charging of the target lithium battery is resumed. This reduces the overuse of the battery, slows down battery aging, and achieves intelligent protection of the lithium battery. Attached Figure Description

[0040] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0041] Figure 1 This is a schematic diagram of the structure of a terminal device 100 provided in this application;

[0042] Figure 2 This is a software structure block diagram of a terminal device 100 provided in this application;

[0043] Figure 3 A schematic diagram of a battery protection process provided in this application;

[0044] Figure 4 A graph showing the relationship between battery production time and battery performance provided in this application;

[0045] Figure 5 A graph showing the relationship between the number of charge-discharge cycles and battery performance provided in this application;

[0046] Figure 6 A schematic diagram illustrating a battery protection method provided in this application;

[0047] Figure 7 A schematic diagram of a temperature sensor for a terminal device provided in this application;

[0048] Figure 8 A schematic diagram illustrating the process of determining the second average power consumption current value of a target power consumption process provided in this application;

[0049] Figure 9 A schematic diagram illustrating a battery protection method provided in this application;

[0050] Figure 10 This application provides a schematic diagram of the structure of a battery protection device;

[0051] Figure 11 This is a schematic diagram of the structure of a chip system provided in this application;

[0052] Figure 12 Another structural schematic diagram of the terminal device provided in this application. Detailed Implementation

[0053] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0054] When the lithium batteries of terminal devices are exposed to high temperature, high humidity, full charge, and high voltage for a long time, due to the wide variety of user habits, excessive use of lithium batteries will accelerate battery aging. Aged lithium batteries will have problems such as reduced standby time and bulging, and the possibility of safety problems will also increase significantly. Once a safety problem occurs, it will cause property loss and personal injury to users.

[0055] In order to achieve intelligent protection of lithium batteries, thereby slowing down battery aging, extending battery life, and ensuring battery safety, this application provides a battery protection method, device, chip system, terminal equipment, and medium.

[0056] In some embodiments of this application, if the terminal device detects that the target lithium battery is in a preset state, it obtains the remaining power of the target lithium battery according to a preset first time interval; if the remaining power is less than a stored first target power threshold and the target lithium battery is not currently being charged, it resumes charging the target lithium battery.

[0057] In some embodiments, Figure 1 This is a structural schematic diagram of a terminal device 100 provided in this application. It should be understood that... Figure 1The terminal device 100 shown is merely an example, and the terminal device 100 may have more than Figure 1 The more or fewer components shown can be combined into two or more components, or they can have different component configurations. The various components shown in the figure can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and / or application-specific integrated circuits.

[0058] Figure 1 The diagram illustrates a hardware configuration block diagram of a terminal device 100 according to an exemplary embodiment. Figure 1 As shown, the terminal device 100 includes components such as a radio frequency (RF) circuit 110, a memory 120, a display unit 130, a camera 140, a sensor 150, an audio circuit 160, a Wireless Fidelity (Wi-Fi) module 170, a processor 180, a Bluetooth module 181, and a power supply 190. The processor 180 of the terminal device 100 acquires the status of the target lithium battery detected by the sensor 150. If the target lithium battery is detected to be in a preset state, the processor 180 acquires the remaining power of the target lithium battery at a preset first time interval. If the remaining power is less than a first target power threshold stored in the memory 120, and the target lithium battery is not currently being charged, then charging of the target lithium battery resumes.

[0059] RF circuit 110 can be used to receive and transmit signals during information transmission or calls. It can receive downlink data from the base station and hand it over to processor 180 for processing; it can also send uplink data to the base station. Typically, RF circuits include, but are not limited to, devices such as antennas, at least one amplifier, transceivers, couplers, low-noise amplifiers, and duplexers.

[0060] The memory 120 can be used to store software programs and data. The processor 180 executes various functions of the terminal device 100 and performs data processing by running the software programs or data stored in the memory 120. The memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The memory 120 stores an operating system that enables the terminal device 100 to run. In this application, the memory 120 can store the operating system and various application programs, and may also store program code that executes the battery protection method of this application.

[0061] The display unit 130 can be used to receive input digital or character information and generate signal inputs related to user settings and function control of the terminal device 100. Specifically, the display unit 130 may include a touch screen 131 disposed on the front of the terminal device 100, which can collect touch operations on or near the user, such as clicking a button.

[0062] The display unit 130 can also be used to display information input by the user or information provided to the user, as well as a graphical user interface (GUI) for various menus of the terminal device 100. Specifically, the display unit 130 may include a display screen 132 disposed on the front of the terminal device 100. The display screen 132 may be configured as a liquid crystal display, a light-emitting diode, or the like. The display unit 130 can be used to display the screen display area of ​​the terminal in this application.

[0063] The touchscreen 131 can be placed over the display screen 132, or the touchscreen 131 and the display screen 132 can be integrated to realize the input and output functions of the terminal device 100. After integration, it can be referred to as a touch display screen. In this application, the display unit 130 can display the application program and the corresponding operation steps.

[0064] Camera 140 can be used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then transmitted to processor 180 to be converted into a digital image signal.

[0065] The terminal device 100 may also include at least one sensor 150, such as an accelerometer 151, a proximity sensor 152, a fingerprint sensor 153, and a temperature sensor 154. The terminal device 100 may also be equipped with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, and motion sensor.

[0066] Audio circuitry 160, speaker 161, and microphone 162 provide an audio interface between the user and terminal device 100. Audio circuitry 160 converts received audio data into electrical signals, which are then transmitted to speaker 161, where they are converted into sound signals for output. Terminal device 100 may also be equipped with volume buttons for adjusting the volume of the sound signal, and these buttons can be combined with other buttons to adjust the enclosed area. On the other hand, microphone 162 converts collected sound signals into electrical signals, which are then received by audio circuitry 160, converted into audio data, and output to RF circuitry 110 for transmission to, for example, another terminal, or to memory 120 for further processing.

[0067] Wi-Fi is a short-range wireless transmission technology. Terminal device 100 can use Wi-Fi module 170 to help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access.

[0068] The processor 180 is the control center of the terminal device 100. It connects various parts of the terminal via various interfaces and lines, and performs various functions and processes data by running or executing software programs stored in the memory 120 and calling data stored in the memory 120. In some embodiments, the processor 180 may include one or more processing units; the processor 180 may also integrate an application processor and a baseband processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the baseband processor mainly handles wireless communication. It is understood that the baseband processor may not be integrated into the processor 180. In this application, the processor 180 can run the operating system, applications, user interface display and touch response, and the battery protection method of this embodiment. Furthermore, the processor 180 is coupled to the display unit 130.

[0069] Bluetooth module 181 is used to interact with other Bluetooth devices that also have Bluetooth modules via the Bluetooth protocol. For example, terminal device 100 can establish a Bluetooth connection with wearable electronic devices (such as smartwatches) that also have Bluetooth modules through Bluetooth module 181, thereby exchanging data.

[0070] The terminal device 100 also includes a power supply 190 (such as a lithium battery) that supplies power to various components. The power supply can be logically connected to the processor 180 through a power management system, thereby enabling the management of charging, discharging, and power consumption. The processor 180 obtains the lithium battery's charge level and status through the power management system. The terminal device 100 may also be equipped with a power button for powering on and off the terminal, as well as screen locking.

[0071] Figure 2This is a software structure block diagram of a terminal device 100 according to an embodiment of this application.

[0072] A layered architecture divides software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system can be divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0073] The application layer can include a series of application packages.

[0074] like Figure 2 As shown, the application package can include applications such as phone, MMS, Wi-Fi, WeChat, messaging, alarm clock, gallery, calendar, and WLAN.

[0075] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.

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

[0077] The window manager is used to manage windowed applications. It can retrieve screen size, determine the presence of a status bar, lock the screen, and capture screenshots, among other things.

[0078] Content providers are used to store and retrieve data, making that data accessible to applications. This data can include video, images, audio, phone calls made and received, browsing history and bookmarks, phone books, text messages, etc.

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

[0080] The phone manager is used to provide communication functions for terminal device 100. For example, it manages call status (including connection, hang-up, etc.).

[0081] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, etc.

[0082] The notification manager allows applications to display notification information (such as SMS message content) in the status bar. It can be used to convey informational messages and can disappear automatically after a short pause without user interaction. For example, the notification manager can be used to notify of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting alert sounds, vibrating the terminal, or flashing indicator lights.

[0083] The Android Runtime consists of core libraries and a virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.

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

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

[0086] System libraries can include multiple functional modules. For example: surface manager, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), etc.

[0087] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.

[0088] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.

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

[0090] A 2D (an animation method) graphics engine is a graphics engine for 2D drawing.

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

[0092] The following is in conjunction with the above. Figure 1 and Figure 2 The battery protection process of the embodiments of this application will be described in detail.

[0093] Figure 3 A schematic diagram of a battery protection method provided in this application is shown, the process including the following steps:

[0094] S301: If the target lithium battery is detected to be in a preset state, the remaining power of the target lithium battery is obtained according to a preset first time interval.

[0095] The battery protection method provided in this application is applied to a terminal device, which may be a terminal device equipped with a lithium battery, including but not limited to smartphones, tablets, wearable electronic devices (such as smartwatches), and laptops.

[0096] To achieve intelligent protection of lithium batteries, the terminal device detects the target lithium battery, which refers to the battery inside the terminal device. If the target lithium battery is detected to be in a preset state, the remaining power of the target lithium battery is obtained according to a preset first time interval. The first preset time interval is pre-set. If it is desired to improve the accuracy of intelligent battery protection, the first preset time interval can be set to be smaller; if it is desired to reduce the battery aging rate, the first preset time interval can be set to be larger. The preset state is at least one of high temperature state, high humidity state, fully charged state, high voltage state, and aging state.

[0097] S302: If the remaining power is less than the saved first target power threshold and the target lithium battery is not currently being charged, then charging of the target lithium battery is resumed. The first target power threshold is smaller than the second target power threshold. The second target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and the determination function of the pre-saved full charge power threshold. The preset influencing factors include the battery's production time, the number of charge-discharge cycles, the drop frequency, the battery temperature, the battery humidity, and the number of charge-discharge cycles within a first set time length.

[0098] In order to achieve intelligent protection of the target lithium battery, after obtaining the remaining power of the target lithium battery, the terminal device also needs to detect whether the target lithium battery is currently being charged. The remaining power is compared with the stored first target power threshold. If it is determined that the remaining power is less than the stored first target power threshold and the target lithium battery is not currently being charged, then charging of the target lithium battery is resumed.

[0099] The first target battery level threshold is smaller than the second target battery level threshold. The second target battery level threshold is determined based on the value of the preset influencing factors affecting battery performance obtained from the previous data collection cycle, and a pre-saved function for determining the full-charge battery level threshold. The pre-saved function for determining the full-charge battery level threshold is... Where Cmax represents the full charge threshold, M represents the battery's manufacturing time, N represents the number of charge-discharge cycles, D represents the drop frequency, T represents the battery temperature and humidity, U represents the number of charge-discharge cycles within a first set time period (which can be 24 hours, 12 hours, 48 ​​hours, etc.), F(U) represents a function of the number of charge-discharge cycles. If the target lithium battery has ≥4 charge-discharge cycles within 48 hours, F(U) = 0.01; otherwise, it defaults to 0. η0 is a correction coefficient with a default value of 0.85, and the value varies depending on the battery material. The correction coefficients will vary to some extent. The default values ​​for the influence factors α, β, γ, and μ are 0.35, 0.5, 0.15, and 0.1, respectively, and these coefficients will vary depending on the battery material system. F(T0) is a function of battery temperature and battery humidity. When the battery temperature is ≥40℃ and the battery humidity is ≥80%, F(T0) = 0.85; when the battery temperature is <40℃ and the battery humidity is <80%, F(T0) = 1; when the battery temperature is ≥40℃ and the battery humidity is <80%, or when the battery temperature is <40℃ and the battery humidity is ≥80%, F(T0) = 0.95.

[0100] The terminal device inputs each element value obtained from the previous collection cycle, such as battery production time, charge / discharge cycle count, drop frequency, battery temperature, battery humidity, and charge / discharge count within a first set time period, into a function to determine the full charge threshold, thereby obtaining a second target charge threshold. The first target charge threshold is a threshold smaller than the second target charge threshold. It can be determined by subtracting a set value from the second target charge threshold, or by determining the first target charge threshold as the proportion of the second target charge threshold that is greater than 0 and less than 1.

[0101] Since the second target battery threshold is updated after the previous collection cycle, as the value of the preset influencing factor obtained in the previous collection cycle increases, the battery performance decreases, causing the second target battery threshold to decrease after each update. The first target battery threshold will also be updated synchronously, that is, the first target battery threshold will also decrease after each update.

[0102] Figure 4 This application provides a graph showing the relationship between battery production time and battery performance, such as... Figure 4 As shown, when the battery has been in production for 0 years, the battery performance is 100%; when the battery has been in production for 1 year, the battery performance drops to 97%.

[0103] Figure 5 This application provides a graph showing the relationship between the number of charge / discharge cycles and battery performance, such as... Figure 5 As shown, the battery performance is 100% when the number of charge-discharge cycles is 0, and the battery performance drops to 90% when the number of charge-discharge cycles is 800.

[0104] In this application, when the target lithium battery is detected to be in a preset state, the remaining power of the target lithium battery is obtained at a preset first time interval. If the remaining power is less than a saved first target power threshold and the target lithium battery is not currently being charged, charging of the target lithium battery is resumed. The first target power threshold is a threshold smaller than a second target power threshold determined by a function that determines the preset influencing factors affecting battery performance obtained from the previous collection cycle and a pre-saved full-charge power threshold. The preset influencing factors include battery production time, charge-discharge cycle count, drop frequency, battery temperature, battery humidity, and charge-discharge count within a first set time period. Since this method determines the second target power threshold based on the preset influencing factors affecting battery performance obtained from the previous collection cycle, and determines a first target power threshold smaller than the second target power threshold, charging of the target lithium battery is resumed when the lithium battery is in a preset state, the remaining power of the target lithium battery obtained at the preset first time interval is less than the saved first target power threshold, and the target lithium battery is not currently being charged. This reduces overuse of the battery, slows down battery aging, and achieves intelligent protection of the lithium battery.

[0105] In some embodiments, in order to achieve intelligent protection of the target lithium battery, based on the above embodiments, the method in this application further includes:

[0106] If the remaining charge after charging reaches the second target charge threshold, then charging of the target lithium battery is paused.

[0107] In order to achieve intelligent protection of the target lithium battery, in this application, the terminal device detects the remaining power of the target lithium battery after charging in real time. If the remaining power after charging reaches the second target power threshold, the charging of the target lithium battery is paused until the remaining power after the charging pause is less than the first target power threshold, then the charging of the target lithium battery is resumed. That is, the terminal device charges the target lithium battery intermittently, so that the power of the target lithium battery is always within the range of the first target power threshold and the second target power threshold. The terminal device is in battery protection mode.

[0108] Because this application can keep the target lithium battery's charge level within the range of the first target charge threshold and the second target charge threshold, it avoids the target lithium battery's charge level being too high or too low, and avoids charging the target lithium battery for a long time, thereby slowing down battery aging.

[0109] In some embodiments, in order to achieve intelligent protection of the target lithium battery, based on the above embodiments, the method in this application further includes:

[0110] If the remaining power is less than the saved third target power threshold, and the target lithium battery is not currently being charged, a prompt message to resume charging the target lithium battery is output. The third target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle, and the determination function of the pre-saved depletion power threshold.

[0111] If the target lithium battery does not start charging within a preset time after the prompt message is output, the terminal device with the target lithium battery installed will be powered off.

[0112] In order to achieve intelligent protection of the target lithium battery, in this application, the terminal device detects the remaining power of the target lithium battery. If the remaining power is less than the stored third target power threshold and the target lithium battery is not currently being charged, a prompt message is output. The prompt message is used to prompt the user to resume charging the target lithium battery. The prompt message can be voice information, text information, or both voice information and text information.

[0113] The third target battery capacity threshold is determined based on the value of preset influencing factors affecting battery performance obtained from the previous data collection cycle, and a pre-saved function for determining the pre-saved battery capacity threshold. The pre-saved function for determining the pre-saved battery capacity threshold is... Where Cmin represents the depletion threshold, M represents the battery's production time, N represents the number of charge-discharge cycles, D represents the drop frequency, T represents the battery temperature and humidity, U represents the number of charge-discharge cycles within the first set time period, η1 is a correction coefficient with a default value of 0.1, and this correction coefficient will vary depending on the battery material system, F(T1) is a function of battery temperature and humidity, when battery temperature ≥ 10℃ and battery humidity < 80%, F(T1) = 1; when battery temperature < 0℃, F(T1) = 1.5; when 0℃ ≤ battery temperature < 10℃, and when battery temperature ≥ 10℃ and battery humidity ≥ 80%, F(T1) = 1.2; F(U) represents a function of the number of charge-discharge cycles, if the target lithium battery has ≥ 4 charge-discharge cycles within 48 hours, F(U) = 0.01, otherwise, the default value is 0, and the influence factors α, β, γ, and μ have default values ​​of 0.35, 0.5, 0.15, and 0.1, respectively.

[0114] After the terminal device outputs a prompt message, it checks whether the target lithium battery resumes charging within a preset time period after the prompt message is output. If the target lithium battery resumes charging within the preset time period after the prompt message is output, it will charge until the charged power is less than the second target power threshold. If the target lithium battery does not resume charging within the preset time period after the prompt message is output, it is determined that continued use of the target lithium battery will accelerate battery aging, so the terminal device can be shut down.

[0115] The preset duration is set by the user. If you want to improve the effectiveness of the battery smart protection, you can set the preset duration to be smaller. If you want to improve the user experience, you can set the preset duration to be larger.

[0116] In one possible implementation, when the terminal device is in a pre-charging state but the target lithium battery is not currently being charged, if the remaining power is less than a saved first target power threshold, charging of the target lithium battery resumes. The pre-charging state can be a charging cable connection state or a wireless charging connection state. When the terminal device is not in a pre-charging state and the target lithium battery is not currently being charged, if the remaining power is less than a saved third target power threshold, a charging prompt is output. If charging does not begin within a preset time, the device automatically shuts down. Once the charged power reaches a second target power threshold, charging of the target lithium battery is paused, and the system continues to monitor whether the terminal device is in a pre-charging state and whether the remaining power is less than the saved first or third target power threshold.

[0117] In some embodiments, to determine whether the target lithium battery is in a preset state, based on the above embodiments, in this application, detecting that the target lithium battery is in a preset state includes:

[0118] The feature values ​​of the preset features of the target lithium battery within a second set time period and the second target power threshold updated in the previous acquisition cycle are obtained. The preset features include the cumulative charging time, the average battery temperature, the average battery humidity, and the cumulative high voltage holding time of the battery.

[0119] If the feature value of at least one preset feature is not less than the first preset threshold corresponding to the preset feature, or the updated second target power threshold is less than the corresponding second preset threshold, then the target lithium battery is determined to be in a preset state.

[0120] To determine whether the target lithium battery is in a preset state, in this application, the terminal device acquires the feature values ​​of preset features of the target lithium battery within a second preset time period, as well as the second target power threshold updated in the previous acquisition cycle. The preset features include cumulative charging time, average battery temperature, average battery humidity, and cumulative high voltage holding time of the battery. The second preset time period is predetermined by the user. If it is desired to improve the accuracy of determining whether the target lithium battery is in a preset state, the second preset time period can be set to a larger value. If it is desired to improve the efficiency of determining whether the target lithium battery is in a preset state, the second preset time period can be set to a smaller value.

[0121] Based on the feature value of each preset feature and the updated second target power threshold, the terminal device obtains the preset threshold corresponding to each preset feature and the preset threshold corresponding to the second target power threshold that are stored in advance. If the feature value of at least one preset feature is not less than the first preset threshold corresponding to the preset feature and the second target power threshold is less than the corresponding second preset threshold, then the target lithium battery is determined to be in a preset state.

[0122] Specifically, if the cumulative charging time is not less than the corresponding first preset charging time threshold, the target lithium battery is determined to be in a fully charged state; if the average battery temperature is not less than the corresponding first preset temperature threshold, the target lithium battery is determined to be in a high-temperature state; if the average battery humidity is not less than the corresponding first preset humidity threshold, the target lithium battery is determined to be in a high-humidity state; if the cumulative high voltage holding time of the battery is not less than the corresponding first preset holding time threshold, the target lithium battery is determined to be in a high-voltage state, wherein the first preset charging time threshold is greater than the first preset holding time threshold; if the second target energy threshold is less than the corresponding second preset threshold, the target lithium battery is determined to be in an aging state; wherein the target lithium battery can be in at least two of the following states simultaneously: fully charged state, high-temperature state, high-humidity state, high-voltage state, and aging state.

[0123] As one possible implementation, in this application, the terminal device can also acquire each feature value of the cumulative charging time within the third set time length, battery temperature, battery humidity, the cumulative high voltage holding time of the battery within the fourth set time length, and the second target power threshold updated in the previous acquisition cycle, and determine whether the target lithium battery is in a preset state based on each feature value acquired and the second target power threshold, wherein the fourth set time length is less than the third set time length.

[0124] The following is an illustration using a specific example. For instance, if the cumulative charging time within 60 hours is not less than 24 hours, the target lithium battery is determined to be in a fully charged state. If the battery temperature is not less than 40°C, the target lithium battery is determined to be in a high-temperature state. If the battery humidity is not less than 80%, the target lithium battery is determined to be in a high-humidity state. If the cumulative high voltage duration within 24 hours is not less than 2 hours, the target lithium battery is determined to be in a high-voltage state. The high-voltage judgment threshold V is a parameter related to the battery material system, with a default value of 4.2V. If the second target capacity threshold is less than 0.8, the target lithium battery is determined to be in an aging state.

[0125] In one possible implementation, in this application, if the second target power threshold is less than the corresponding first power preset threshold, a prompt message is output prompting the user to actively activate the battery protection mode; if the second target power threshold is less than the corresponding second power preset threshold, a prompt message is output prompting the user to forcibly activate the battery protection mode; if the second target power threshold is less than the corresponding third power preset threshold, a prompt message to replace the battery is output; wherein the first power preset threshold is greater than the second power preset threshold, and the second power preset threshold is greater than the third power preset threshold.

[0126] For example, the default value of the second target power threshold Cmax is 0.85. When Cmax is less than 0.8, it indicates that the battery performance has aged to a certain extent, and a pop-up window prompts the user to actively enable the battery protection mode; when Cmax is less than 0.75, a pop-up window prompts the user to forcibly enable the battery protection mode; when Cmax is less than 0.7, a pop-up window prompts the user that the battery has reached the end of its design life and needs to be replaced.

[0127] Figure 6 A schematic diagram of a battery protection method provided in this application is shown below. Figure 6 As shown, the process includes the following steps:

[0128] S601: Determine whether any of the following conditions for entering battery protection mode are met; Condition 1: Accumulated charging time ≥ 24h within 60h; Condition 2: Battery temperature ≥ 40℃; Condition 3: Battery humidity ≥ 80%; Condition 4: Accumulated high voltage holding time ≥ 2h within 24h; Condition 5: Second target power threshold Cmax is less than 0.8; If yes, proceed to S602; if no, proceed to S610.

[0129] S602: Based on the preset influencing factor values ​​of battery performance obtained in the previous collection cycle, the function for determining the full charge threshold and the function for determining the depleted charge threshold, determine the updated second target charge threshold and the updated third charge threshold. Based on the second target charge threshold and the preset ratio value 0.8, determine the updated first target charge threshold.

[0130] S603: Enter battery protection mode and obtain the remaining power of the target lithium battery according to the preset first time interval.

[0131] S604: Determine whether the terminal device itself is in a charging cable connection state or a wireless charging connection state. If yes, proceed to S605; otherwise, proceed to S606.

[0132] S605: If the remaining power is less than the saved first target power threshold of 0.8Cmax, and the terminal device is in the charging cable connection state or wireless charging connection state but the target lithium battery is not currently being charged, then resume charging the target lithium battery and proceed to S608.

[0133] S606: If the remaining battery power is less than the saved third target battery power threshold Cmin, output a prompt message to charge the battery.

[0134] S607: Determine whether charging will begin within a preset time after the output prompt message. If yes, proceed to S608; otherwise, proceed to S609.

[0135] S608: If the remaining power after charging reaches the second target power threshold Cmax, then pause charging the target lithium battery and proceed to S603.

[0136] S609: Terminal device automatically shuts down.

[0137] S610: Entering normal charging mode.

[0138] In some embodiments, in order to achieve intelligent protection of the lithium battery, based on the above embodiments, in this application, if the target lithium battery is detected to be in a preset state, before obtaining the remaining power of the target lithium battery according to a preset first time interval, the method further includes:

[0139] Based on the target time when the target lithium battery is first identified as being in the preset state, the target charge of the target lithium battery at the target time is obtained.

[0140] If the target power is less than the stored second target power threshold, then the subsequent step of obtaining the remaining power of the target lithium battery at a preset first time interval is executed;

[0141] If the target power level is not less than the second target power level threshold, the terminal device with the target lithium battery installed is controlled to actively consume power until the power level after consumption is less than the second target power level threshold. Then, the subsequent step of obtaining the remaining power level of the target lithium battery at a preset first time interval is executed.

[0142] In order to improve the intelligent protection of the target lithium battery, in this application, the terminal device obtains the target charge of the target lithium battery at the target time when the target lithium battery is first identified as being in a preset state.

[0143] Based on the obtained target power and the saved second target power threshold, it is determined whether the target power is not less than the second target power threshold. If not, the subsequent step of obtaining the remaining power of the target lithium battery at a preset first time interval is executed. If so, the terminal device with the target lithium battery installed needs to be controlled to actively consume power and the power after consumption needs to be monitored in real time. If the power after consumption is less than the second target power threshold, the subsequent step of obtaining the remaining power of the target lithium battery at a preset first time interval is executed.

[0144] In some embodiments, in order to achieve active power consumption of the terminal device with the target lithium battery installed, based on the above embodiments, in this application, controlling the active power consumption of the terminal device with the target lithium battery installed includes:

[0145] Based on the average battery temperature and average battery humidity of the target lithium battery within a preset period before the target time, and the average power consumption current corresponding to the first feature value range and the second feature value range that are saved in advance, the target average power consumption current value corresponding to the first feature value and the second feature value is determined.

[0146] Obtain the average temperature of each preset region of the target lithium battery, determine the target preset region with the lowest average temperature, and determine the target power consumption process corresponding to the target preset region based on the power consumption process corresponding to each preset region that is saved in advance.

[0147] The system obtains the first average power consumption current value of the terminal device in the previous preset time period, and obtains the second average power consumption current value in the next preset time period based on the difference between the target average power consumption current value and the first average power consumption current value. The system then controls the terminal device to start the target power consumption process and controls the average power consumption current value of the target power consumption process in the next preset time period to be the second average power consumption current value.

[0148] When the target battery level is not less than the second target battery level threshold, in order to avoid the target lithium battery from being kept in a high voltage state for a long time and to reduce the voltage of the target lithium battery quickly, the terminal device activates active power consumption. In this application, the terminal device obtains the average battery temperature value and the average battery humidity value within a first preset period before the target time. The first preset period is determined by the user. If it is desired to improve the accuracy of the determined average battery temperature value and average battery humidity value, the first preset period can be set to a larger value. If it is desired to improve the efficiency of determining the average battery temperature value and average battery humidity value, the first preset period can be set to a smaller value.

[0149] To achieve active power consumption, the terminal device pre-stores the correspondence between the battery's average temperature range, the battery's average humidity range, and the average power consumption current value. This correspondence stores the battery's average humidity range and the battery's average humidity range for each average power consumption current value. That is, each average power consumption current value corresponds to two ranges: one is the battery's average humidity range, and the other is the battery's average humidity range. The battery's average temperature range and the battery's average humidity range for each average power consumption current value may overlap or not. This embodiment of the invention does not impose any restrictions on this.

[0150] Based on the obtained average battery temperature and average battery humidity values ​​of the target lithium battery, the target battery average temperature range and the target battery average humidity range are determined. Based on the target battery average temperature range, the target battery average humidity range, and the pre-saved correspondence, the average power consumption current value corresponding to the target battery average temperature range and the target battery average humidity range is determined, which is the target average power consumption current value of the target lithium battery for active power consumption.

[0151] The terminal device acquires the average temperature of each preset area of ​​the target lithium battery. Based on the average temperature of each preset area, it determines the lowest target average temperature and identifies the preset area corresponding to the target average temperature as the target preset area. To determine the target power consumption process used during active power consumption, the terminal device stores the power consumption process corresponding to each preset area. The power consumption process for each preset area refers to the power consumption process of the modules contained in each preset area. The modules contained in each preset area may be speaker modules, wire modules, or camera modules. The power consumption process of a module refers to the process that controls the module to work and consume power. Based on the target preset area and the power consumption process corresponding to each preset area, the power consumption process corresponding to the target preset area with the lowest average temperature is determined as the target power consumption process. By using the power consumption process corresponding to the preset area with the lowest temperature, it is possible to prevent the temperature rise detection from deteriorating due to blindly activating power consumption processes.

[0152] Specifically, the terminal device acquires the temperature value collected by each temperature sensor, determines the area where a set number of adjacent temperature sensors are located as a preset area, and uses a uniformization algorithm to determine the average temperature of each preset area based on the temperature value collected by the temperature sensor in each preset area.

[0153] For example, Figure 7 A schematic diagram of a temperature sensor for a terminal device provided in this application is shown below. Figure 7 As shown, the motherboard of the terminal device includes 6 board-level temperature sensors, namely 1, 2, 3, 4, 5, and 6. Each number corresponds to a temperature sensor. The terminal device acquires the temperature values ​​collected by the board-level temperature sensors. The area where three adjacent temperature sensors are located is determined as a preset area. The preset area includes the area where (1, 2, 4), the area where (2, 3, 6), the area where (1, 4, 5), the area where (3, 5, 6), the area where (1, 3, 5), and the area where (2, 4, 6).

[0154] The system obtains the first average power consumption current value of the terminal device itself in the previous preset time period. Based on the target average power consumption current value and the first average power consumption current value, it determines the difference between the target average power consumption current value and the first average power consumption current value. The difference is then determined as the second average power consumption current value for the next preset time interval. The system also controls the terminal device to start the target power consumption process and controls the average power consumption current value of the target power consumption process in the next preset time period, so that the average power consumption current value in the next preset time period remains at the determined second average power consumption current value.

[0155] Specifically, the terminal device obtains its own first average power consumption current value over the past 10 seconds, and then combines it with the target average power consumption current value B to determine the second average power consumption current value of the target power consumption process, which is the load rate of the active power consumption process. The terminal device updates the load rate of the power consumption process every 10 seconds, thereby controlling the total power consumption current value of the terminal device to remain equal to the target average power consumption current value B.

[0156] Figure 8 A schematic diagram illustrating the process for determining the second average power consumption current value of a target power consumption process provided in this application is shown below. Figure 8 As shown, the target average power consumption current value B is the total power consumption current value of the terminal device itself. The average power consumption current value within 10 seconds from time t to time (t+10) is the first average power consumption current value of the terminal device itself. The range between the first average power consumption current value and the target average power consumption current value B is the second average power consumption current value of the target power consumption process.

[0157] In some embodiments, when the terminal device intermittently charges the target lithium battery so that the battery level remains within the range of a first target battery level threshold and a second target battery level threshold, the terminal device is in battery protection mode. To determine whether the terminal device should exit battery protection mode, feature values ​​of preset features of the target lithium battery are obtained within a second set time period. If the feature value of each preset feature is less than the second preset threshold corresponding to that preset feature, then the terminal device is determined to exit battery protection mode. For each preset feature, the second preset threshold corresponding to that preset feature may be the same as the preset threshold corresponding to that preset feature, or the second preset threshold corresponding to that preset feature may be less than the preset threshold corresponding to that preset feature.

[0158] As one possible implementation, in this application, the terminal device can also acquire each feature value of the cumulative charging time within a third preset time length, battery temperature, battery humidity, and the cumulative high voltage holding time of the battery within a fourth time length. If the feature value of each preset feature is less than the second preset threshold corresponding to the preset feature, then the terminal device is determined to exit the battery protection mode.

[0159] The following is an example to illustrate this. For instance, if the cumulative charging time within 60 hours is less than 20 hours, the battery temperature is less than 40°C, the battery humidity is less than 80%, and the cumulative high voltage holding time within 24 hours is less than 1 hour, then the terminal device is determined to exit the battery protection mode. The high voltage judgment threshold V is a parameter related to the battery material system, and the default value is 4.2V.

[0160] In some embodiments, a battery protection method of this application is described below through a specific example. Figure 9A schematic diagram of a battery protection method provided in this application is shown below. Figure 9 As shown, the process includes the following steps:

[0161] S901: Determine whether any of the following conditions for entering battery protection mode are met; Condition 1: Accumulated charging time ≥ 24h within 60h; Condition 2: Battery temperature ≥ 40℃; Condition 3: Battery humidity ≥ 80%; Condition 4: Accumulated high voltage holding time ≥ 2h within 24h; Condition 5: Second target power threshold Cmax is less than 0.8; If yes, proceed to S902, otherwise proceed to S910.

[0162] S902: Outputs a prompt message indicating that the battery protection mode has been entered.

[0163] S903: Based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle, as well as the function for determining the full charge threshold and the function for determining the depleted charge threshold, the updated second target charge threshold Cmax and the updated third charge threshold Cmin are determined. Based on the second target charge threshold Cmax and the preset ratio value, the updated first target charge threshold is determined.

[0164] S904: Based on the target time when the target lithium battery is first identified as being in a preset state, obtain the target power of the target lithium battery at the target time, and determine whether the target power is less than the second target power threshold Cmax. If not, proceed to S905; if yes, proceed to S906.

[0165] S905: Control the terminal device to actively consume power until the power consumption is less than the second target power threshold Cmax.

[0166] S906: The terminal device has entered battery protection mode.

[0167] S907: Determine if all of the following conditions for exiting battery protection mode are met: Condition 1: Cumulative charging time within 60 hours < 20 hours; Condition 2: Temperature < 40℃; Condition 3: Humidity < 80%; Condition 4: Cumulative high voltage holding time within 24 hours < 1 hour; If yes, proceed to S908; otherwise, proceed to S909.

[0168] S908: Exit battery protection mode and proceed to S910.

[0169] S909: Maintain battery protection mode.

[0170] S910: Entering normal charging mode.

[0171] In some embodiments, Figure 10 This application provides a schematic diagram of the structure of a battery protection device, as shown below. Figure 10 As shown, the device includes:

[0172] The acquisition module 1001 is used to acquire the remaining power of the target lithium battery according to a preset first time interval if the target lithium battery is detected to be in a preset state.

[0173] The processing module 1002 is used to resume charging the target lithium battery if the remaining power is less than a saved first target power threshold and the target lithium battery is not currently being charged. The first target power threshold is smaller than a second target power threshold. The second target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and a determination function of a pre-saved full charge power threshold. The preset influencing factors include battery production time, charge-discharge cycle count, drop frequency, battery temperature, battery humidity, and charge-discharge count within a first set time period.

[0174] Furthermore, the processing module is also configured to pause charging the target lithium battery if the remaining charge after charging reaches the second target charge threshold.

[0175] Furthermore, the acquisition module is specifically used to acquire the feature values ​​of preset features of the target lithium battery within a second set time period, and the second target power threshold updated in the previous acquisition cycle, wherein the preset features include cumulative charging time, average battery temperature, average battery humidity, and cumulative high voltage holding time of the battery; if the feature value of at least one preset feature is not less than the preset threshold corresponding to the preset feature, or the updated second target power threshold is less than the corresponding preset threshold, then the target lithium battery is determined to be in a preset state.

[0176] Furthermore, the acquisition module is also configured to, after detecting that the target lithium battery is in a preset state and before acquiring the remaining power of the target lithium battery at a preset first time interval, acquire the target power of the target lithium battery at a target time based on the target time when the target lithium battery is first identified as being in the preset state; if the target power is less than a stored second target power threshold, then execute the subsequent step of acquiring the remaining power of the target lithium battery at a preset first time interval; if the target power is not less than the second target power threshold, then trigger the processing module to execute the step of controlling the terminal device with the target lithium battery installed to actively consume power, until the power consumed is less than the second target power threshold, then execute the subsequent step of acquiring the remaining power of the target lithium battery at a preset first time interval.

[0177] Further, the processing module is specifically configured to: determine the target average power consumption current value corresponding to the first feature value and the second feature value based on the average battery temperature value and average battery humidity value of the target lithium battery within a preset period before the target time, and the average power consumption current value corresponding to the first feature value range and the second feature value range stored in advance; obtain the average temperature value corresponding to each preset region of the target lithium battery, and determine the target preset region with the lowest average temperature value; determine the target power consumption process corresponding to the target preset region based on the power consumption process corresponding to each preset region stored in advance; obtain the first average power consumption current value of the terminal device obtained in the previous preset time period; obtain the second average power consumption current value of the next preset time period based on the difference between the target average power consumption current value and the first average power consumption current value; control the terminal device to start the target power consumption process; and control the average power consumption current value of the target power consumption process in the next preset time period to be the second average power consumption current value.

[0178] Furthermore, the processing module is also configured to, if the remaining power is less than a stored third target power threshold and the target lithium battery is not currently being charged, output a prompt message to resume charging the target lithium battery, wherein the third target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and a pre-stored function for determining the depleted power threshold, wherein the third target power threshold is less than the second target power threshold; if the target lithium battery does not start charging within a preset time after the prompt message is output, the terminal device with the target lithium battery installed is controlled to shut down.

[0179] In some embodiments, Figure 11 This is a schematic diagram of a chip system provided in this application. The chip system includes one or more processors 1101, a communication interface 1102, and a memory 1103. The memory 1103 may include read-only memory and random access memory, and provides operation instructions and data to the processors. A portion of the memory may also include non-volatile random access memory (NVRAM).

[0180] In some embodiments, such as Figure 11 As shown, memory 1103 stores the following elements: execution modules or data structures, or subsets thereof, or extended sets thereof.

[0181] like Figure 11 As shown, in this application, the corresponding operation is executed by calling the operation instructions stored in the memory 1103 (which can be stored in the operating system).

[0182] like Figure 11 As shown, the processor 1101 controls the processing operations of the head-end device. The processor can also be called a central processing unit (CPU).

[0183] like Figure 11 As shown, memory 1103 may include read-only memory and random access memory, and provides instructions and data to the processor. A portion of memory 1103 may also include NVRAM. For example, in an application, the communication interface and memory are coupled together via bus system 1104, which may include, in addition to a data bus, a power bus, a control bus, and a status signal bus, etc. However, for clarity, in... Figure 11 The general designated all buses as Bus System 1104.

[0184] The methods disclosed in this application can be applied to or implemented by a processor. The processor may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor can be a general-purpose processor, a digital signal processor (DSP), an ASIC, a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the methods, steps, and logic block diagrams disclosed in this application. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in this application can be directly implemented by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software modules can reside in random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, or other mature storage media in the art. This storage medium is located in memory; the processor reads information from the memory and, in conjunction with its hardware, completes the steps of the above method.

[0185] Based on the same inventive concept Figure 12 Another structural schematic diagram of the terminal device provided in this application, as shown below. Figure 12 As shown, it includes: one or more processors 1201 (including two) and a communication interface 1202.

[0186] Optionally, the terminal also includes a memory 1203, which may include read-only memory and random access memory, and provides operation instructions and data to the processor. A portion of the memory may also include non-volatile random access memory (NVRAM).

[0187] In some implementations, such as Figure 12 As shown, memory 1203 stores the following elements: execution modules or data structures, or subsets thereof, or extended sets thereof.

[0188] like Figure 12 As shown, in some embodiments of this application, corresponding operations are performed by calling operation instructions stored in memory 1203 (which may be stored in the operating system).

[0189] like Figure 12 As shown, the processor 1201 controls the processing operations of the head-end device. The processor can also be called a central processing unit (CPU).

[0190] like Figure 12 As shown, memory 1203 may include read-only memory and random access memory, and provides instructions and data to processor 1201, causing processor 1201 to execute the steps of the battery protection method of this application. A portion of memory 1203 may also include NVRAM. For example, in the application, communication interface 1202 and memory 1203 are coupled together via bus system 1204, wherein bus system 1204 may include, in addition to data bus, power bus, control bus, and status signal bus, etc. However, for clarity, in Figure 12 The general labeled all buses as Bus System 1204.

[0191] Based on the above embodiments, this application also provides a computer-readable storage medium storing a computer program executable by a processor, which, when run on the processor, causes the processor to perform the steps of the battery protection method of this application.

[0192] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0193] This application is described with reference to flowchart illustrations of the methods, apparatus, and computer program products according to this application. It should be understood that each step in the flowchart can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing device, generate instructions for implementing the process. Figure 1 A device for a function specified in one or more processes.

[0194] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A battery protection method, characterized in that, Applied to a terminal device, the method includes: If the target lithium battery inside the terminal device is detected to be in a preset state, the remaining power of the target lithium battery is obtained according to a preset first time interval; wherein, the preset state is at least one of high temperature state, high humidity state, fully charged state, high voltage state and aging state; If the remaining power is less than the first target power threshold and the target lithium battery is not currently being charged, then charging of the target lithium battery will resume. The first target power threshold is smaller than the second target power threshold. The second target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and the determination function of the pre-saved full charge power threshold. The preset influencing factors include battery production time, number of charge-discharge cycles, drop frequency, battery temperature, battery humidity, and number of charge-discharge cycles within a first set time period. The function for determining the pre-saved full charge threshold is: ,in Indicates the full charge threshold. This indicates the battery's production time. Indicates the number of charge-discharge cycles. Indicates the frequency of falls. Indicates battery temperature and battery humidity. This indicates the number of charge / discharge cycles within a first set time period. A function representing the number of charge-discharge cycles, where the target lithium battery has a certain number of charge-discharge cycles within 48 hours. 4, =0.01, otherwise, the value is 0. It is a function of battery temperature and battery humidity. When the battery temperature... 40℃ and battery humidity 80%, F(T0) = 0.85; when battery temperature < 40℃ and battery humidity < 80%, F(T0) = 1; when battery temperature 40℃ and battery humidity <80%, battery temperature <40℃ and battery humidity 80%, F(T0) = 0.95, , , , As the impact factor, It is a correction factor with a value of 0.85, and this correction factor varies for different battery material systems.

2. The method according to claim 1, characterized in that, The method further includes: If the remaining charge after charging reaches the second target charge threshold, then charging of the target lithium battery is paused.

3. The method according to claim 1, characterized in that, The target lithium battery is detected to be in a preset state, including: The feature values ​​of the preset features of the target lithium battery within a second set time period and the second target power threshold updated in the previous acquisition cycle are obtained. The preset features include the cumulative charging time, the average battery temperature, the average battery humidity, and the cumulative high voltage holding time of the battery. If the feature value of at least one preset feature is not less than the first preset threshold corresponding to the preset feature, or the updated second target power threshold is less than the corresponding second preset threshold, then the target lithium battery is determined to be in a preset state.

4. The method according to claim 1, characterized in that, If the target lithium battery is detected to be in a preset state, and before obtaining the remaining power of the target lithium battery at a preset first time interval, the method further includes: Based on the target time when the target lithium battery is first identified as being in the preset state, the target charge of the target lithium battery at the target time is obtained. If the target power is less than the stored second target power threshold, then the subsequent step of obtaining the remaining power of the target lithium battery at a preset first time interval is executed; If the target power level is not less than the second target power level threshold, the terminal device with the target lithium battery installed is controlled to actively consume power until the power level after consumption is less than the second target power level threshold. Then, the subsequent step of obtaining the remaining power level of the target lithium battery at a preset first time interval is executed.

5. The method according to claim 4, characterized in that, The active power consumption of the terminal device with the target lithium battery installed includes: Based on the average battery temperature and average battery humidity of the target lithium battery within a preset period before the target time, and the average power consumption current corresponding to the pre-saved range of average battery temperature and average battery humidity, the target average power consumption current value corresponding to the average battery temperature and average battery humidity is determined. Obtain the average temperature of each preset region of the target lithium battery, determine the target preset region with the lowest average temperature, and determine the target power consumption process corresponding to the target preset region based on the power consumption process corresponding to each preset region that is saved in advance. The system obtains the first average power consumption current value of the terminal device in the previous preset time period, and obtains the second average power consumption current value in the next preset time period based on the difference between the target average power consumption current value and the first average power consumption current value. The system then controls the terminal device to start the target power consumption process and controls the average power consumption current value of the target power consumption process in the next preset time period to be the second average power consumption current value.

6. The method according to claim 1, characterized in that, The method further includes: If the remaining power is less than the saved third target power threshold, and the target lithium battery is not currently being charged, a prompt message to resume charging the target lithium battery is output. The third target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and the determination function of the pre-saved depletion power threshold. The third target power threshold is less than the second target power threshold. If the target lithium battery does not start charging within a preset time after the prompt message is output, the terminal device with the target lithium battery installed will be powered off.

7. A battery protection device, characterized in that, The device includes: The acquisition module is used to acquire the remaining power of the target lithium battery according to a preset first time interval if the target lithium battery inside the terminal device is detected to be in a preset state; wherein the preset state is at least one of high temperature state, high humidity state, fully charged state, high voltage state and aging state. The processing module is configured to resume charging the target lithium battery if the remaining power is less than a saved first target power threshold and the target lithium battery is not currently being charged. The first target power threshold is smaller than a second target power threshold. The second target power threshold is determined based on the element values ​​of preset influencing factors affecting battery performance obtained in the previous collection cycle and a function for determining a pre-saved full-charge power threshold. The preset influencing factors include battery production time, charge-discharge cycle count, drop frequency, battery temperature, battery humidity, and charge-discharge count within a first set time period. The function for determining the pre-saved full charge threshold is: ,in Indicates the full charge threshold. This indicates the battery's production time. Indicates the number of charge-discharge cycles. Indicates the frequency of falls. Indicates battery temperature and battery humidity. This indicates the number of charge / discharge cycles within a first set time period. A function representing the number of charge-discharge cycles, where the target lithium battery has a certain number of charge-discharge cycles within 48 hours. 4, =0.01, otherwise, the value is 0. It is a function of battery temperature and battery humidity. When the battery temperature... 40℃ and battery humidity 80%, F(T0) = 0.85; when battery temperature < 40℃ and battery humidity < 80%, F(T0) = 1; when battery temperature 40℃ and battery humidity <80%, battery temperature <40℃ and battery humidity 80%, F(T0) = 0.95, , , , As the impact factor, It is a correction factor with a value of 0.85, and this correction factor varies for different battery material systems.

8. A chip system, characterized in that, include: A memory and a processor, the processor and the memory being coupled; wherein the memory includes program instructions that, when executed by the processor, cause the chip system to perform the steps of the battery protection method as described in any one of claims 1-6.

9. A terminal device, characterized in that, include: Display, processor, and memory; The display is used to show the screen display area; The memory is used to store the processor-executable instructions; The processor is configured to execute the instructions to implement the steps of the battery protection method as described in any one of claims 1-6.

10. A computer-readable storage medium, characterized in that, It stores a computer program executable by a processor, which, when run on the processor, causes the processor to perform the steps of any of the battery protection methods described in claims 1-6.