Charging reminding method and device, equipment and storage medium

By determining the charging reminder time period based on the current power and full charge time of the terminal device, the problem of inflexible charging reminder in the prior art is solved, more accurate charging reminder is achieved, and the flexibility of charging reminder for the terminal device is improved.

CN119561186APending Publication Date: 2025-03-04GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411697633.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In the prior art, the charging reminder before travel of terminal equipment is not flexible enough to provide accurate reminders based on the specific situation and itinerary of the user.

Method used

By determining the charging reminder time period based on the current power and full charge time of the terminal device, and outputting the charging reminder information during this time period. The full charge duration indicates the time required to charge from zero to preset cutoff.

Benefits of technology

It provides more accurate charging reminders to help users avoid missing the best charging time or charging time too long, improving the flexibility of charging reminders for terminal devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561186A_ABST
    Figure CN119561186A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a charging reminding method and device, equipment and a storage medium. According to the technical scheme, the charging reminding time period is determined according to the current electric quantity and the full charging duration of the terminal device, the full charging duration is used for indicating the duration required for charging the terminal device from the electric quantity of zero to the preset cut-off electric quantity, and then the charging reminding information is output in the charging reminding time period. In the charging reminding method, the charging reminding time period is determined by integrating the current electric quantity of the terminal equipment and the duration required for charging the terminal equipment from zero to the preset cut-off electric quantity, so that more accurate charging reminding can be provided, a user can be prevented from missing a proper charging opportunity or the charging time is prevented from being too long, and the user experience is improved. And the flexibility of charging reminding of the terminal equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of charging technology, and relate to but are not limited to a charging reminder method and device, equipment, and storage medium. Background Art

[0002] In the current related technologies, most of the pre-travel charging solutions for terminal devices are limited to reminding users to charge before departure, and the charging reminder is not flexible enough.

[0003] Therefore, how to improve the flexibility of charging reminders for terminal devices is an urgent problem to be solved. Summary of the invention

[0004] In view of this, the charging reminder method, device, equipment, and storage medium provided in the embodiments of the present application can improve the flexibility of charging reminders for terminal devices. The charging reminder method, device, equipment, and storage medium provided in the embodiments of the present application are implemented as follows:

[0005] The charging reminder method provided in the embodiment of the present application is applied to a terminal device, and the method includes: determining a charging reminder time period based on the current power of the terminal device and the full charging time, the full charging time being used to indicate the time required to charge the terminal device from zero power to a preset cutoff power; and outputting charging reminder information within the charging reminder time period.

[0006] The charging reminder device provided in the embodiment of the present application is applied to a terminal device, and the device includes: a determination module, used to determine a charging reminder time period according to a current power level and a full charge time of the terminal device, wherein the full charge time is used to indicate the time required to charge the terminal device from zero power to a preset cutoff power level; and an output module, used to output charging reminder information within the charging reminder time period.

[0007] The computer device provided in the embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the method described in the embodiment of the present application is implemented.

[0008] The computer-readable storage medium provided in the embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the method provided in the embodiment of the present application is implemented.

[0009] The computer program product provided in the embodiments of the present application includes a computer program, and when the computer program is executed by a processor, the method provided in the embodiments of the present application is implemented.

[0010] In the charging reminder method, device, equipment, and storage medium provided in the embodiments of the present application, the charging reminder time period is first determined based on the current power of the terminal device and the full charge time, and the full charge time is used to indicate the time required to charge the terminal device from zero power to a preset cutoff power, and then the charging reminder information is output within the charging reminder time period. In the charging reminder method, the charging reminder time period is determined based on the current power of the terminal device and the time required to charge the terminal device from zero power to a preset cutoff power, which can provide more accurate charging reminders, help prevent users from missing the best charging time or charging for too long, improve the flexibility of terminal device charging reminders, and solve the technical problems raised in the background technology. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0012] Figure 1 A schematic diagram of the system architecture of a terminal device provided for one embodiment of the present application;

[0013] Figure 2 A schematic diagram of the implementation flow of a charging reminder method provided in one embodiment of the present application;

[0014] Figure 3 A schematic diagram of the implementation flow of a charging reminder method provided in another embodiment of the present application;

[0015] Figure 4 A schematic diagram of the implementation flow of a charging reminder method provided in yet another embodiment of the present application;

[0016] Figure 5 A schematic diagram of a charging algorithm matching process provided by an embodiment of the present application;

[0017] Figure 6 An overall exemplary flow chart of a charging reminder method provided by an embodiment of the present application;

[0018] Figure 7 A structural schematic diagram of a charging reminder device provided by an embodiment of the present application;

[0019] Figure 8 A structural diagram of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.

[0021] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0022] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0023] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0024] In the current related technologies, most of the pre-trip charging solutions for terminal devices are limited to reminding users to charge before departure, such as the system issuing reminders based on the departure time set by the user or the preset threshold of the battery power. Although such solutions provide a certain degree of convenience, they do not take into account the differences in user habits and charging, and charging reminders are not flexible enough in most scenarios.

[0025] Therefore, how to improve the flexibility of charging reminders for terminal devices is an urgent problem to be solved.

[0026] In view of this, an embodiment of the present application provides a charging reminder method, which is applied to a terminal device, and the method specifically includes: determining a charging reminder time period according to the current power level of the terminal device and the full charge time, the full charge time is used to indicate the time required to charge the terminal device from zero power to a preset cutoff power level, and then outputting charging reminder information within the charging reminder time period. In the charging reminder method of the present application, the charging reminder time period is determined by comprehensively considering the current power level of the terminal device and the time required to charge the terminal device from zero power to a preset cutoff power level, which can provide more accurate charging reminders, help prevent users from missing the best charging time or charging for too long, and improve the flexibility of charging reminders for terminal devices.

[0027] It should be understood that the terminal device involved in the embodiments of the present application may be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a smart screen, an artificial intelligence (AI) speaker, a headset, a terminal in industrial control, a terminal in self driving, a terminal in remote medical surgery, a terminal in a smart grid, a terminal in transportation safety, a terminal in a smart city, a terminal in a smart home, a personal digital assistant (PDA), etc., and the embodiments of the present application are not limited to this.

[0028] For example, Figure 1 A schematic diagram of the system architecture of a terminal device provided in one embodiment of the present application. Figure 1 As shown, the terminal device includes components such as a processor 110, a memory 120, a transceiver 130, a display unit 140, an input unit 150, a sensor 160, an audio circuit 170, and a power module 180.

[0029] The processor 110 is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 120, and calling data stored in the memory 120, the processor 110 performs various functions of the terminal device and processes data, thereby monitoring the terminal device as a whole. Optionally, the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor, which mainly processes operating devices, user interfaces, and application programs, etc. Of course, other processors may also be included, which are not listed here one by one.

[0030] The memory 120 can be used to store software programs and modules. The processor 110 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 120. The memory 120 mainly includes a program storage area and a data storage area, wherein the program storage area can store operating devices, at least one application required for a function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the terminal device (such as audio data, a phone book, etc.), etc. In addition, the memory 120 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0031] The transceiver 130 can provide wireless communication solutions for terminal devices, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc. The transceiver 130 can be one or more devices integrating at least one communication processing module, for example, an antenna and a baseband processor are integrated into the transceiver 130, or an antenna and a modem processor are integrated into the transceiver 130, etc., which are not limited here.

[0032] The display unit 140 can be used to display information input by the user or information provided to the user and various menus of the terminal device. The display unit 140 can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc., which is not limited here.

[0033] The input unit 150 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the terminal device. Specifically, the input unit 150 can collect the user's operations on or near it, and drive the corresponding connection device according to a pre-set program. In addition, the input unit 150 may include a touch panel, which can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel, the input unit 150 may also include other input devices. Specifically, other input devices may include, but are not limited to, one or more of function keys (such as volume control keys, switch keys, etc.), trackballs, joysticks, etc.

[0034] The terminal device may also include at least one sensor 160, such as a gyroscope sensor, a motion sensor, and other sensors. The motion sensor may include an acceleration sensor for detecting the magnitude of acceleration in all directions, and the magnitude and direction of gravity when stationary, which may be used for applications that identify the posture of the terminal device, such as horizontal and vertical screen switching, related games, magnetometer posture calibration, etc. As for other sensors that may be configured in the terminal device, such as a pressure gauge, a barometer, a hygrometer, a thermometer, an infrared sensor, a fingerprint sensor, etc., they will not be described in detail here.

[0035] The audio circuit 170 may include a speaker and a microphone, and may provide an audio interface between the user and the terminal device. The audio circuit 170 may transmit the electrical signal converted from the received audio data to the speaker, which is converted into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and converted into audio data, and then the audio data is output to the processor 110 for processing, and then sent to another terminal device through the video circuit, or the audio data is output to the memory 120 for further processing.

[0036] The terminal device also includes a power module 180 for supplying power to various components. Optionally, the power module 180 can be logically connected to the processor 110 through a power management device, so that functions such as charging, discharging, and power consumption management can be managed through the power management device.

[0037] Although not shown, the terminal device may further include a camera. Optionally, the camera may be located at the front or rear of the terminal device, which is not limited in the embodiment of the present application.

[0038] It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the terminal device. In other embodiments of the present application, the terminal device may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0039] In order to make the purpose and technical solution of this application clearer and more intuitive, the charging reminder method, device, equipment, and storage medium provided in the embodiments of this application will be described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain this application and are not used to limit this application.

[0040] Please refer to Figure 2 , is a schematic diagram of the implementation flow of a charging reminder method provided by an embodiment of the present application. The method can be applied to Figure 1 The terminal equipment shown, such as Figure 2 As shown, the method may include the following steps 201 and 202:

[0041] Step 201, determine a charging reminder time period according to the current power of the terminal device and the full charging time, where the full charging time is used to indicate the time required to charge the terminal device from zero power to a preset cut-off power.

[0042] It should be understood that the preset cut-off power level is actually a power level that the user is more comfortable with, which can be 100% or 90%, etc. This application does not limit this.

[0043] In some embodiments, the full charging time required to charge a terminal device from zero power to a preset cutoff power is calculated, usually based on a preset standard charging power. For example, the standard charging power may include a first power and a second power, and the first power is less than the second power. The full charging time can be calculated by selecting an appropriate power according to the different times when the terminal device is plugged into the charger for charging.

[0044] In some embodiments, the terminal device can determine the charging reminder time period based on the current power level, full charging time, and the actual situation of the current charging device. For example, the charging time required to charge the terminal device from the current power level to the preset cutoff power level can be calculated based on the current power level of the terminal device and the actual situation of the current charging device, and then the charging reminder time period can be determined based on the charging time and the full charging time, which can improve the accuracy of the charging reminder time period.

[0045] Step 202: output charging reminder information within the charging reminder time period.

[0046] In some embodiments, after determining the charging reminder time period, the terminal device can output charging reminder information at any time within the charging reminder time period. It can also output charging reminder information at preset time intervals within the charging reminder time period when the user has not connected the charger. It can also output charging reminder information a preset number of times within the charging reminder time period. This application does not limit this.

[0047] Optionally, the terminal device outputs the charging reminder information by directly displaying the charging reminder information on the screen of the terminal device, or by displaying the charging reminder information on the screen of the terminal device in the form of a pop-up window, or by playing the charging reminder information in the form of a voice broadcast, etc. This application does not limit this.

[0048] In this embodiment, the charging reminder time period is first determined based on the current power of the terminal device and the full charge time, and the full charge time is used to indicate the time required to charge the terminal device from zero power to a preset cut-off power, and then the charging reminder information is output within the charging reminder time period. The charging reminder time period is determined based on the current power of the terminal device and the time required to charge the terminal device from zero power to a preset cut-off power, which can provide more accurate charging reminders, help prevent users from missing the best charging time or charging for too long, and improve the flexibility of charging reminders for terminal devices.

[0049] Based on the above embodiments, Figure 3 A schematic diagram of the implementation flow of a charging reminder method provided in another embodiment of the present application is shown in FIG. Figure 3 As shown, the method may include the following steps 301 to 303:

[0050] Step 301, obtaining the itinerary information of the terminal device, wherein the itinerary information includes the departure time.

[0051] In some embodiments, the terminal device can determine the travel information by reading information of a preset application in the terminal device, and the preset application includes at least one of a travel application, a reminder application, and a text message application.

[0052] Exemplarily, the ticket information of travel applications can be accessed through the user's authorized terminal device, and then the ticket information can be filtered according to the current date and time to determine the itinerary information. It is also possible to access the itinerary created by the user in reminder applications such as calendars / reminders, and directly read the itinerary information. For example, the itinerary list in the reminder includes two itinerary information, "going to Guangzhou for a meeting on April 2" and "going to Hangzhou for a trip on October 1". It is also possible to access the SMS application in the user's terminal device, determine the reservation information based on the sender of the SMS information and / or the keywords included in the SMS information, and determine the reservation information as the itinerary information. Exemplarily, if the sender of the SMS information is the server of the station, the server of the hotel, or the server of the scenic spot, the SMS information is determined as the reservation information. Or the SMS message is a notification message of a successful reservation. In this case, the SMS message usually includes keywords of the consumption items booked by the user. For example, when the consumption item is an accommodation item, the SMS message may include keywords such as "hotel", "standard room", "double room"; when the consumption item is a transportation item, the SMS message may include keywords such as "train ticket", "bus ticket", "air ticket"; when the consumption item is an entertainment item, the SMS message may include keywords such as "talk show", "movie"; when the consumption item is a food item, the SMS message may include keywords such as "hot pot".

[0053] In some embodiments, the itinerary information of the terminal device may include the time and place where the user is going to travel, as well as suggestions on what time the user should leave home and what time the user should arrive at a certain location based on the user's usual travel methods, etc. For example, the user's itinerary information is a flight at 6 pm today. After the user authorizes access to relevant information, the user's usual travel methods, such as taking a taxi, are obtained through the terminal device. Then, the time required for the user to travel from the current location to the corresponding airport by taking a taxi is calculated, for example, 1 hour. Usually, according to regulations, it is necessary to arrive at the airport two hours in advance to take a plane. Then, the terminal device can suggest that the user leave home at 3 pm and then take a taxi to the airport.

[0054] In some embodiments, the departure time included in the trip information in the embodiments of the present application is the time when the user goes out. After the user goes out, he cannot directly connect to the charger for charging. Therefore, it is necessary to remind the user to charge before the departure time so that the user has sufficient power when he goes out.

[0055] Step 302, determining a target charging time according to the current power level of the terminal device and a preset cut-off power level, where the target charging time is used to indicate the time required to charge the terminal device from the current power level to the preset cut-off power level.

[0056] In some embodiments, the preset cut-off power level is actually a power level that the user is more comfortable with, which can be 100% or 90%, etc. This application does not limit this.

[0057] In some embodiments, the terminal device may first obtain the characteristics of the energy-replenishing device that can be used in the current environment, such as learning the characteristics of the energy-replenishing device commonly used by the user in the last 1 to 3 days, and recording the maximum charging current that can be provided as I max Usually, the terminal device is charged with the maximum charging current, which can be called fast charging. The terminal device can also be charged with a slow charging current that is less than the maximum charging current, which is called slow charging. A certain mapping relationship between the maximum charging current and the slow charging current can be preset according to the user's usage needs and habits.

[0058] Furthermore, the target charging time is determined according to the current power of the terminal device, the preset cut-off power and the charging current that the energy supplement device can provide. For example, assuming that the current power of the terminal device is x%, the preset cut-off power is y%, the total battery capacity of the terminal device is C mAh, and the terminal device is charged with a charging current I, then the charging time required to charge from x% to y% is C(yx)% / I.

[0059] Step 303, determine the charging reminder time period according to the target charging time and the full charging time, and output the charging reminder information within the charging reminder time period. The time interval between the start time of the charging reminder time period and the departure time is the full charging time, and the time interval between the end time of the charging reminder time period and the departure time is the target charging time.

[0060] In some embodiments, the target charging time and the full charging time can be compared. When the target charging time is less than or equal to the full charging time, it means that it is still possible to remind the user to charge, so the charging reminder information is output within the charging reminder time period; if the target charging time is greater than the full charging time, it means that it is too late to fully charge even if reminded, so no reminder is given.

[0061] In a possible implementation, after the terminal device outputs the charging reminder information within the charging reminder time period, it will continue to determine whether the terminal device is connected to the charger, and use different charging modes when the charger is connected for charging. Figure 4 , is a flow chart of a charging reminder provided by another embodiment of the present application, such as Figure 4 As shown, the method may include the following steps 401 to 416:

[0062] It should be noted that, in this embodiment, the full charging time includes a first full charging time and a second full charging time, the target charging time includes a first charging time and a second charging time, and the charging reminder time period includes a first charging reminder time period and a second charging reminder time period.

[0063] Among them, the first full charging time is used to indicate the time required to charge the terminal device from zero power to a preset cut-off power at a first power, and the first charging time is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power at a slow charging power, and both the first power and the slow charging power are less than the preset power threshold; the second full charging time is used to indicate the time required to charge the terminal device from zero power to the preset cut-off power at a second power, and the second charging time is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power at a fast charging power, and both the second power and the fast charging power are greater than the preset power threshold.

[0064] Step 401, determining whether the first charging time is less than or equal to the first full charging time.

[0065] It should be noted that the terminal device calculates the time required to charge the terminal device from zero power to a preset cut-off power using the first power, obtains the first full charge time, and compares the first full charge time with the first charging time at the first detection moment with a time interval from the departure moment equal to the first full charge time, that is, determines whether the first charging time is less than or equal to the first full charge time. The first power is a standard power less than a preset power threshold, and the standard power can be determined based on the performance of the original charger of the terminal device.

[0066] In some embodiments, the slow charging power is determined based on the capability of the current charging device of the terminal device. The first charging duration is determined based on the product of the second charging duration and a preset coefficient, and the value of the preset coefficient is greater than 1, for example, it can be 1.3 to 2. Among them, the second charging duration is determined based on the ratio of the target power difference to the maximum charging current of the current charging device of the terminal device, and the target power difference is the difference between the preset cutoff power and the current power of the terminal device.

[0067] For example, assuming that the current power of the terminal device is x%, the preset cut-off power is y%, the total battery capacity of the terminal device is C mAh, and the maximum charging current is I max When charging the terminal device, the second charging time t2 required to charge from x% to y% is C(yx)% / I max , then the first charging time t1 = 1.3t2 ~ 2t2.

[0068] Step 402: when the first charging duration is less than or equal to the first full-charging duration, determine a first charging reminder time period, and output charging reminder information within the first charging reminder time period.

[0069] The time interval between the start time of the first charging reminder time period and the departure time is the first full charging time period, and the time interval between the end time of the first charging reminder time period and the departure time is the first charging time period.

[0070] When the first charging time is greater than the first full-charging time, step 411 is executed.

[0071] In some embodiments, if the first charging time is less than or equal to the first full charging time, it means that it is still possible to remind the user and charge the terminal device with the slow charging power or the first power, and it is also better for the battery; the time period for reminding the user to charge can be between the moment when the time interval from the departure time is the first full charging time and the moment when the time interval from the departure time is the first charging time.

[0072] Step 403: determine whether the terminal device is connected to a charger before the end time of the first charging reminder time period.

[0073] In some embodiments, after the terminal device outputs a charging reminder message within the first charging reminder time period, the user may not necessarily connect the charger in time. If it is not connected for a long time, the battery may not be fully charged before the departure time. Therefore, it is necessary to determine whether the terminal device is connected to the charger before the end of the first charging reminder time period, and take different measures according to the situation of the charger connection to meet user needs.

[0074] Step 404, when the terminal device is connected to the charger before the end of the first charging reminder time period, control the terminal device to enter the first charging mode, and the first charging mode is used to indicate that the terminal device is charged with a slow charging power.

[0075] If the terminal device is not connected to the charger before the end time of the first charging reminder time period, step 406 is executed.

[0076] In some embodiments, when the terminal device is connected to the charger before the end of the first charging reminder time period, the terminal device can be charged with a slow charging power to maximize the battery life because the charging time is early.

[0077] Step 405, when the terminal device enters the first charging mode, the target charging strategy is determined according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the terminal device, and the terminal device is charged based on the target charging strategy.

[0078] In some embodiments, a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current device power and charging strategy is preset in the terminal device. The terminal device compares the current screen brightness, foreground and background application types, device temperature, system power consumption and current device power with the mapping relationship stored locally or in the cloud to determine the target charging strategy and the corresponding first charging parameter. The first charging parameter includes the charging current and the charging temperature rise target. The temperature of the terminal device is continuously collected during the charging process, and the first charging parameter is updated with the temperature to obtain the second charging parameter. The temperature of the terminal device is continuously detected again, and the second charging parameter is updated again to obtain the third charging parameter, etc. If the terminal device exceeds the maximum temperature threshold during the charging process, the current charging plan is stopped and a new charging strategy is re-matched.

[0079] In some embodiments, the screen in the terminal device can be divided into an on screen and an off screen. In the case of an on screen, the screen brightness can be divided into low brightness, medium brightness and high brightness. Low brightness is when the battery level is less than 20%, which can be called type 1; medium brightness is when the battery level is between 20% and 75%, which can be called type 2; high brightness is when the battery level is higher than 75%, which can be called type 3.

[0080] For the foreground and background application types in the terminal device, the running applications can be classified and marked, including but not limited to the graphic information flow category, which can be called type 1; the video category, which can be called type 2; the video call category, which can be called type 3; and the game category, which can be called type 4.

[0081] For the device temperature of the terminal device, the battery temperature of the terminal device at the time of charging can be obtained, for example, the temperature data can be obtained by collecting the temperature through at least one temperature sensor arranged around the battery; when multiple sensor temperatures are arranged around the terminal battery, the battery temperature should be the average value of multiple temperature data obtained after collecting the temperature data through multiple temperature sensors. According to the different user sensations, the temperature is divided into normal temperature, such as TBAT[20, 30]T, which can be called type 1; medium temperature, such as TBAT[30, 40]T, which can be called type 2; higher temperature, such as TBAT[40, 47]T, which can be called type 3.

[0082] As for the system power consumption of the terminal device, since the battery voltage in the terminal device is constant, the system power consumption can be characterized by the current. To obtain the system power consumption, the output voltage (VBUS) and output current (IBUS) of the charger connected to the terminal device, as well as the input voltage (VBAT) and input current (IBAT) of the battery of the terminal device can be obtained first; then, the system power consumption of the electronic device can be determined based on the product of the output voltage and output current of the charger connected to the terminal device, the product of the input voltage and input current of the battery of the terminal device, and the charging efficiency. For example, if the charging efficiency is Among them, I out is the output current of the charging chip during discharge, T out is the time of discharge to cut-off voltage, I in is the charging current, T in is the charging time; the charging efficiency can be calculated based on the historical charging data of the electronic device, so the system power consumption

[0083] The current power level of the terminal device can be obtained through the charging device, and is divided into BAT [0, 20]%, which can be called low power mode, type 1, BAT [20, 50]%, which can be called medium power mode, type 2, and BAT [50, 90]%, which can be called high power mode, type 3, based on the power threshold and the low power threshold.

[0084] For example, assuming that the current parameters of the terminal device are: screen brightness is 60% of medium brightness, foreground application type is type 1, device temperature TBAT is 32°C, system power consumption is 630mA, and device current power BAT is 35%, then charging scenario 1, charging scenario 2, and charging scenario 3 can be obtained from the cloud or locally, and each charging scenario includes a reference information and a charging strategy. As an example, the reference information is as follows:

[0085] Charging scenario 1: foreground application type (type 1), screen brightness low brightness, TBAT [20,30] degrees Celsius (type 1), system power consumption [600,700] mA, BAT [0,20] % (type 1).

[0086] Charging scenario 2: foreground application type (type 1), screen brightness medium brightness, TBAT [30,40] degrees Celsius (type 2), system power consumption [600,700] mA, BAT [20,50] % (type 2).

[0087] Charging scenario 3: foreground application type (type 3), screen brightness low brightness, TBAT [20,30] degrees Celsius (type 1), system power consumption [700,800] mA, BAT [50,90] % (type 3).

[0088] Among them, the current parameters of the terminal device are matched with the reference information in sequence to obtain charging scenario 2, and the corresponding charging strategy is the target charging strategy.

[0089] Step 406: When the terminal device is not connected to the charger before the end time of the first charging reminder time period, determine whether the second charging duration is less than or equal to the second full charging duration.

[0090] It should be noted that the terminal device calculates the time required to charge the terminal device from zero power to a preset cut-off power using the second power, obtains the second full charge time, and compares the second full charge time with the second charging time at a second detection time interval from the departure time equal to the second full charge time. The second power is a standard power greater than a preset power threshold, and the standard power can be determined based on the performance of the original charger of the terminal device.

[0091] Among them, the second charging time is determined according to the ratio of the target power difference to the maximum charging current of the current charging device of the terminal device, and the target power difference is the difference between the preset cut-off power and the current power of the terminal device.

[0092] For example, assuming that the current power of the terminal device is x'%, the preset cut-off power is y%, the total battery capacity of the terminal device is C mAh, and the maximum charging current I max When charging the terminal device, the second charging time t'2 required to charge from x'% to y% is C(y-x')% / I max .

[0093] Step 407: when the second charging duration is less than or equal to the second full-charging duration, determine a second charging reminder time period, and output charging reminder information within the second charging reminder time period.

[0094] The time interval between the start time of the second charging reminder time period and the departure time is the second full charging time period, and the time interval between the end time of the second charging reminder time period and the departure time is the second charging time period.

[0095] When the second charging time is greater than the second full-charging time, step 416 is executed.

[0096] In some embodiments, if the second charging time is less than or equal to the second full charging time, it means that it is still possible to remind the user and charge the terminal device with the fast charging power or the second power; the time period for reminding the user to charge can be between the moment when the time interval from the departure time is the second full charging time and the moment when the time interval from the departure time is the second charging time.

[0097] Step 408: Determine whether the terminal device is connected to a charger before the end time of the second charging reminder time period.

[0098] In some embodiments, after the terminal device outputs a charging reminder message within the second charging reminder time period, the user may not necessarily connect the charger in time. If it is not connected for a long time, the battery may not be fully charged before the departure time. Therefore, it is necessary to determine whether the terminal device is connected to the charger before the end of the second charging reminder time period, and take different measures according to the situation of the charger connection to meet user needs.

[0099] Step 409, when the terminal device is connected to the charger before the end of the second charging reminder time period, the terminal device is controlled to enter the second charging mode, and the second charging mode is used to indicate that the terminal device is charged with a fast charging power.

[0100] Step 410, when the terminal device enters the second charging mode, a target charging strategy is determined according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device, and the terminal device is charged based on the target charging strategy.

[0101] In some embodiments, a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current device power and charging strategy is preset in the terminal device. The terminal device determines the target charging strategy and corresponding charging parameters based on the current screen brightness, foreground and background application types, device temperature, system power consumption and current device power compared with the mapping relationship stored locally or in the cloud.

[0102] It should be noted that in this step, the method for determining the target charging strategy by comparing the terminal device's current screen brightness, foreground and background application types, device temperature, system power consumption, and current power of the device with the mapping relationship between local or cloud storage can refer to the description in step 405, and the repeated parts will not be repeated here.

[0103] As an example, see Figure 5 , is a schematic diagram of a charging algorithm matching process provided by an embodiment of the present application. Figure 5As shown, the terminal device connects to the charger and starts charging, and can determine whether to enter the first charging mode or the second charging mode according to the time of connecting to the charger. The first charging mode is divided into screen-on charging and screen-off charging. Screen-off charging uses a slow charging algorithm to determine the target charging mode according to the current foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device; screen-on charging uses a slow charging algorithm to determine the target charging mode according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device. Correspondingly, the second charging mode is divided into screen-on charging and screen-off charging. Screen-off charging uses a fast charging algorithm to determine the target charging mode according to the current foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device; screen-on charging uses a fast charging algorithm to determine the target charging mode according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device.

[0104] Step 411, when the first charging duration is greater than the first full charging duration, no charging reminder information is output during the first charging reminder time period, and it is determined whether the second charging duration is less than or equal to the second full charging duration.

[0105] Step 412: when the second charging duration is less than or equal to the second full-charging duration, determine a second charging reminder time period, and output charging reminder information within the second charging reminder time period.

[0106] The time interval between the start time of the second charging reminder time period and the departure time is the second full charging time period, and the time interval between the end time of the second charging reminder time period and the departure time is the second charging time period.

[0107] When the second charging time is greater than the second full-charging time, step 416 is executed.

[0108] For this step, please refer to the description of step 407, which will not be repeated here.

[0109] Step 413, determining whether the terminal device is connected to a charger before the end time of the second charging reminder time period.

[0110] This step may refer to the description of step 408 and will not be repeated here.

[0111] Step 414, when the terminal device is connected to the charger before the end of the second charging reminder time period, control the terminal device to enter the second charging mode, and the second charging mode is used to indicate that the terminal device is charged with a fast charging power.

[0112] Step 415, when the terminal device enters the second charging mode, the target charging strategy is determined according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the terminal device, and the terminal device is charged based on the target charging strategy.

[0113] In some embodiments, a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power level of the device and charging strategy is preset in the terminal device.

[0114] This step may refer to the description of step 410 and will not be repeated here.

[0115] Step 416: When the second charging time is longer than the second full-charging time, no charging reminder information is output during the second charging reminder time period.

[0116] In this embodiment, the terminal device first obtains the trip information of the terminal device, which includes the departure time, and then determines the target charging time according to the current power of the terminal device and the preset cut-off power. The target charging time is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power. Finally, according to the target charging time and the full charging time, the charging reminder time period is determined, and the charging reminder information is output within the charging reminder time period. Furthermore, after the terminal device outputs the charging reminder information within the charging reminder time period, it will continue to determine whether the terminal device is connected to a charger, and adopt different charging modes when the charger is connected for charging. By combining the itinerary information, current power and preset cut-off power of the terminal device, the time required for the device to be charged can be accurately predicted, thereby avoiding the use experience affected by low power or overcharging, and improving the battery use efficiency of the device; by determining the target charging time and the charging reminder time period, the device can issue a charging reminder at the best time, thereby avoiding the sudden power outage of the device caused by the user ignoring the power problem, effectively improving the reliability of the device and the user's use experience; after detecting whether the charger is connected, the terminal device can adjust according to different charging modes, which may include fast charging, slow charging and other modes. The switching of different modes can optimize the charging speed and battery life according to the battery condition; the user can charge in time according to the charging reminder information of the device, avoiding the situation of suddenly stopping the use of the device when the power is low, especially when the itinerary is tight, the user can flexibly arrange the charging time according to the charging needs of the device, which improves the convenience; intelligent control of factors such as charging mode and charging time helps to avoid overcharging or over-discharging, thereby extending the service life of the battery and reducing the risk of battery loss; in general, the charging reminder method in this embodiment not only improves the use efficiency of the terminal device through intelligent power management and charging reminders, but also optimizes the charging process, which has a positive impact on the battery protection and user experience of the device.

[0117] As an example, travel information is obtained from the user terminal side to detect whether the user is about to travel, and then corresponding reminder information is generated to remind the user to charge during the first / second reminder time period. The sending time of the reminder can be determined by the charging efficiency of the charger most commonly used by the user at the first / second detection moment; and according to the different timing when the user connects to the charger after receiving the charging reminder, corresponding charging algorithms are allocated to match the user's usage requirements as much as possible on the premise of extending the battery life.

[0118] Among them, the travel information may include the target time for the user to reach the destination. For example, if the user needs to arrive at the airport at 7 pm, the target time is 7 pm. After the user authorizes the use of relevant materials, the terminal device is used to obtain the user's commonly used travel modes, such as self-driving, taking a taxi, public transportation, bicycle, walking, etc., to calculate the time t0 required for the user to travel from the current location to the corresponding airport using the commonly used travel mode. Then, the time interval between the first detection moment when the device reminds the user to charge and the target time is T1 = t0 + ah, and the time interval between the second detection moment when the device reminds the user to charge and the target time is T2 = t0 + bh, where b < a, which can be gradually adjusted through later research, and specific values are not limited here. ah is the time required to fully charge the terminal device from zero power to full power with a preset standard slow charge, and bh is the time required to fully charge the terminal device from zero power to full power with a preset standard fast charge. Assume that the current battery level of the terminal device at the first detection moment is x%, the preset cut-off battery level is y%, and the total battery capacity of the terminal device is C mAh, with the maximum charging current I max charges the terminal device, then the second charging duration t2 required to charge from x% battery level to y% is C(y - x)% / I max , then the first charging duration t1 = 1.3t2 - 2t2. Assume that the current battery level of the terminal device at the second detection moment is x'%, the preset cut-off battery level is y%, and the total battery capacity of the terminal device is C mAh, with the maximum charging current I max charges the terminal device, then the second charging duration t'2 required to charge from x'% battery level to y% is C(y - x')% / I max .

[0119] Furthermore, the time interval between the start moment of the first reminder time period and the target time is T1, and the time interval between the end moment of the first reminder time period and the target time is the first charging duration t1; the time interval between the start moment of the second reminder time period and the target time is T2, and the time interval between the end moment of the second reminder time period and the target time is the second charging duration t'2. Please refer to Figure 6 , for the overall exemplary flowchart of the charging reminder method provided by an embodiment of the present application, as Figure 6 shown, the method may include the following steps 601 to step 615:

[0120] Step 601, obtaining travel information.

[0121] Step 602: Generate corresponding travel reminder information, which includes the target time.

[0122] It should be noted that the target time in this embodiment is different from the above Figure 4 The departure time in the illustrated embodiment is not the same time. For example, if the user needs to arrive at the airport at 7 pm, then 7 pm is the target time. If the user needs to take a taxi for 1 hour from home to the airport, the user should leave home at 6 pm, then 6 pm is the departure time. In actual use, both the target time and the departure time can be used for estimation. In this embodiment, the target time is used as an example for explanation.

[0123] Step 603 , determining whether the first charging time t1 is within ah at the first detection moment, if the first charging time t1 is within ah, executing step 604 ; otherwise executing step 611 .

[0124] Step 604: output charging reminder information within the first reminder time period.

[0125] Step 605 , determining whether the terminal device is connected to the charger within the first reminder time period. If the terminal device is connected to the charger within the first reminder time period, executing step 606 , otherwise executing step 607 .

[0126] Step 606, entering the first charging mode.

[0127] Step 607: Refresh the current power of the terminal device at the second detection time to obtain x'%.

[0128] Step 608, at the second detection time, determine whether the second charging time t'2 is within bh. If the second charging time t'2 is within bh, execute step 609; otherwise, execute step 615.

[0129] Step 609: output charging reminder information within the second reminder time period.

[0130] Step 610: When the terminal device is connected to a charger, enter a second charging mode.

[0131] Step 611: Do not remind the user to charge during the first reminder period, and refresh the current power of the terminal device at the second detection time to obtain x'%.

[0132] Step 612, at the second detection time, determine whether the second charging time t'2 is within bh. If the second charging time t'2 is within bh, execute step 613; otherwise, execute step 615.

[0133] Step 613: output charging reminder information within the second reminder time period.

[0134] Step 614: When the terminal device is connected to a charger, enter the second charging mode.

[0135] Step 615: Do not output charging reminder information during the second reminder time period.

[0136] It should be noted that the specific implementation of the method in this embodiment can refer to the above Figure 3 and Figure 4 The embodiments shown in this application will not be described in detail here.

[0137] To sum up, the charging reminder method provided in the embodiment of the present application can avoid reminding users to charge too early and causing users to forget to charge, thereby improving the flexibility of charging reminders, and reminding users to charge at a time that matches the user's travel arrangements as much as possible, and matching different charging algorithms according to the time when the user's charger is inserted, thereby minimizing the loss of battery life.

[0138] It should be understood that, although the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0139] Based on the foregoing embodiments, an embodiment of the present application provides a charging reminder device, which includes the modules included and the units included in the modules, which can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit, a microprocessor, a digital signal processor or a field programmable gate array, etc.

[0140] Figure 7 A structural diagram of a charging reminder device provided by an embodiment of the present application is shown as follows: Figure 7 As shown, the device 700 includes a determination module 701 and an output module 702, wherein:

[0141] The determination module 701 is used to determine the charging reminder time period according to the current power level and full charging time of the terminal device, and the full charging time is used to indicate the time required to charge the terminal device from zero power to a preset cut-off power level; the output module 702 is used to output the charging reminder information within the charging reminder time period.

[0142] In some embodiments, the device further includes: an acquisition module. The acquisition module is used to acquire the travel information of the terminal device, wherein the travel information includes the departure time; the determination module 701 is specifically used to: determine the target charging duration according to the current power of the terminal device and the preset cut-off power, wherein the target charging duration is used to indicate the duration required to charge the terminal device from the current power to the preset cut-off power; determine the charging reminder time period according to the target charging duration and the full charging duration, wherein the time interval between the start time of the charging reminder time period and the departure time is the full charging duration, and the time interval between the end time of the charging reminder time period and the departure time is the target charging duration.

[0143] In some embodiments, the full charging duration includes a first full charging duration, which is used to indicate the time required to charge the terminal device from zero power to the preset cutoff power at a first power, and the target charging duration includes a first charging duration, which is used to indicate the time required to charge the terminal device from the current power to the preset cutoff power at a slow charging power, and the first power and the slow charging power are both less than a preset power threshold; the determination module 701 is specifically used to: compare the first full charging duration and the first charging duration; when the first charging duration is less than or equal to the first full charging duration, determine a first charging reminder time period, the time interval between the start time of the first charging reminder time period and the departure time is the first full charging duration, and the time interval between the end time of the first charging reminder time period and the departure time is the first charging duration.

[0144] In some embodiments, the full charge duration includes a second full charge duration, the second full charge duration is used to indicate the time required to charge the terminal device from zero power to the preset cut-off power at a second power, the target charging duration includes a second charging duration, the second charging duration is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power at a fast charge power, and the second power and the fast charge power are both greater than the preset power threshold; the device also includes: a judgment module. The judgment module is used to judge whether the terminal device is connected to a charger before the end time of the first charging reminder time period; the determination module 701 is specifically used to: compare the second full charge duration and the second charging duration when the terminal device is not connected to a charger before the end time of the first charging reminder time period; when the second charging duration is less than or equal to the second full charge duration, determine the second charging reminder time period, the time interval between the start time of the second charging reminder time period and the departure time is the second full charge duration, and the time interval between the end time of the second charging reminder time period and the departure time is the second charging duration.

[0145] In some embodiments, the device further includes: a control module. The control module is used to control the terminal device to enter a first charging mode when the terminal device is connected to a charger before the end of the first charging reminder time period, and the first charging mode is used to indicate that the terminal device is charged with the slow charging power; the determination module 701 is also used to determine a target charging strategy according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device when the terminal device enters the first charging mode, and charge the terminal device based on the target charging strategy, and the terminal device is preset with a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power of the device and charging strategy.

[0146] In some embodiments, the judgment module is also used to judge whether the terminal device is connected to the charger before the end time of the second charging reminder time period; the control module is also used to control the terminal device to enter the second charging mode when the terminal device is connected to the charger before the end time of the second charging reminder time period, and the second charging mode is used to indicate that the terminal device is charged with the fast charging power; the determination module 701 is also used to determine the target charging strategy according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device when the terminal device enters the second charging mode, and charge the terminal device based on the target charging strategy, and the terminal device is preset with a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power of the device and charging strategy.

[0147] In some embodiments, the full charge duration includes a second full charge duration, the second full charge duration is used to indicate the time required to charge the terminal device from zero power to the preset cut-off power at a second power, the target charging duration includes a second charging duration, the second charging duration is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power at a fast charge power, the second power and the fast charge power are both greater than the preset power threshold, and the device further includes: a comparison module. The comparison module is used to compare the second full charge duration and the second charging duration when the first charging duration is greater than the first full charge duration; the determination module 701 is also used to determine a second charging reminder time period when the second charging duration is less than or equal to the second full charge duration, the time interval between the start time of the second charging reminder time period and the departure time is the second full charge duration, and the time interval between the end time of the second charging reminder time period and the departure time is the second charging duration.

[0148] In some embodiments, the judgment module is also used to judge whether the terminal device is connected to the charger before the end time of the second charging reminder time period; the control module is also used to control the terminal device to enter the second charging mode when the terminal device is connected to the charger before the end time of the second charging reminder time period, and the second charging mode is used to indicate that the terminal device is charged with the fast charging power; the determination module 701 is also used to determine the target charging strategy according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device when the terminal device enters the second charging mode, and charge the terminal device based on the target charging strategy, and the terminal device is preset with a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power of the device and charging strategy.

[0149] In some embodiments, the second charging duration is determined based on the ratio of the target power difference to the maximum charging current of the current charging device of the terminal device, and the target power difference is the difference between the preset cut-off power and the current power of the terminal device; the first charging duration is determined based on the product of the second charging duration and a preset coefficient, and the value of the preset coefficient is greater than 1.

[0150] In some embodiments, the acquisition module is specifically used to: read information of a preset application in the terminal device to determine the travel information, and the preset application includes at least one of a travel application, a reminder application, and a text message application.

[0151] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0152] It should be noted that in the embodiments of this application Figure 7 The division of modules in the charging reminder device shown is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or it can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It can also be implemented in the form of a combination of software and hardware.

[0153] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0154] The embodiment of the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0155] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.

[0156] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.

[0157] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0158] In one embodiment, the charging reminder device provided in the present application can be implemented in the form of a computer program. The computer program can be Figure 8The computer device shown in the figure can be run. The memory of the computer device can store various program modules constituting the above-mentioned device. The computer program composed of various program modules enables the processor to execute the steps of the method of each embodiment of the present application described in this specification.

[0159] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0160] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0161] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.

[0162] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0163] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.

[0164] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0165] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0166] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0167] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0168] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0169] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0170] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0171] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A charging reminder method, characterized in that: Applied to a terminal device, the method comprises: Determine a charging reminder time period according to the current power level of the terminal device and the full charge time, wherein the full charge time is used to indicate the time required to charge the terminal device from zero power to a preset cut-off power level; Outputting charging reminder information within the charging reminder time period.

2. The method according to claim 1, characterized in that Before determining the charging reminder time period according to the current power level of the terminal device and the full charging time, the method further includes: Acquire itinerary information of the terminal device, wherein the itinerary information includes a departure time; The determining of the charging reminder time period according to the current power level of the terminal device and the full charging time includes: Determine a target charging duration according to the current power of the terminal device and the preset cut-off power, where the target charging duration is used to indicate the duration required to charge the terminal device from the current power to the preset cut-off power; The charging reminder time period is determined according to the target charging time period and the full charging time period, the time interval between the starting time of the charging reminder time period and the departure time is the full charging time period, and the time interval between the ending time of the charging reminder time period and the departure time is the target charging time period.

3. The method according to claim 2, characterized in that The full charge duration includes a first full charge duration, which is used to indicate the time required to charge the terminal device from zero power to the preset cut-off power at a first power; the target charging duration includes a first charging duration, which is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power at a slow charging power, and the first power and the slow charging power are both less than a preset power threshold; The determining the charging reminder time period according to the target charging time period and the full charging time period includes: comparing the first full-charge time and the first charging time; When the first charging duration is less than or equal to the first full charging duration, a first charging reminder time period is determined, and the time interval between the start time of the first charging reminder time period and the departure time is the first full charging duration, and the time interval between the end time of the first charging reminder time period and the departure time is the first charging duration.

4. The method according to claim 3, characterized in that The full charge duration includes a second full charge duration, which is used to indicate the time required to charge the terminal device from zero power to the preset cut-off power at a second power, and the target charging duration includes a second charging duration, which is used to indicate the time required to charge the terminal device from the current power to the preset cut-off power at a fast charge power, and the second power and the fast charge power are both greater than the preset power threshold; After determining the first charging reminder time period, the method further includes: Determining whether the terminal device is connected to a charger before the end time of the first charging reminder time period; The determining the charging reminder time period according to the target charging time period and the full charging time period includes: When the terminal device is not connected to a charger before the end time of the first charging reminder time period, comparing the second full charging time period with the second charging time period; When the second charging duration is less than or equal to the second full charging duration, a second charging reminder time period is determined, and the time interval between the start time of the second charging reminder time period and the departure time is the second full charging duration, and the time interval between the end time of the second charging reminder time period and the departure time is the second charging duration.

5. The method according to claim 4, characterized in that The method further comprises: When the terminal device is connected to a charger before the end of the first charging reminder time period, controlling the terminal device to enter a first charging mode, where the first charging mode is used to indicate that the terminal device is charged with the slow charging power; When the terminal device enters the first charging mode, a target charging strategy is determined according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device, and the terminal device is charged based on the target charging strategy. The terminal device is preset with a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power of the device and charging strategy.

6. The method according to claim 4, characterized in that After determining the second charging reminder time period, the method further includes: Determining whether the terminal device is connected to a charger before the end time of the second charging reminder time period; When the terminal device is connected to a charger before the end of the second charging reminder time period, controlling the terminal device to enter a second charging mode, where the second charging mode is used to indicate that the terminal device is charged with the fast charging power; When the terminal device enters the second charging mode, a target charging strategy is determined according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device, and the terminal device is charged based on the target charging strategy. The terminal device is preset with a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power of the device and charging strategy.

7. The method according to claim 3, characterized in that The full charge duration includes a second full charge duration, the second full charge duration is used to indicate the duration required to charge the terminal device from zero power to the preset cut-off power at a second power, the target charging duration includes a second charging duration, the second charging duration is used to indicate the duration required to charge the terminal device from the current power to the preset cut-off power at a fast charge power, the second power and the fast charge power are both greater than the preset power threshold, the method further includes: When the first charging time is greater than the first full-charging time, comparing the second full-charging time with the second charging time; When the second charging duration is less than or equal to the second full charging duration, a second charging reminder time period is determined, and the time interval between the start time of the second charging reminder time period and the departure time is the second full charging duration, and the time interval between the end time of the second charging reminder time period and the departure time is the second charging duration.

8. The method according to claim 7, characterized in that After determining the second charging reminder time period, the method further includes: Determining whether the terminal device is connected to a charger before the end time of the second charging reminder time period; When the terminal device is connected to a charger before the end of the second charging reminder time period, controlling the terminal device to enter a second charging mode, where the second charging mode is used to indicate that the terminal device is charged with the fast charging power; When the terminal device enters the second charging mode, a target charging strategy is determined according to the current screen brightness, foreground and background application types, device temperature, system power consumption and current power of the device of the terminal device, and the terminal device is charged based on the target charging strategy. The terminal device is preset with a one-to-one mapping relationship between screen brightness, foreground and background application types, device temperature, system power consumption, current power of the device and charging strategy.

9. The method according to claim 7, characterized in that: The second charging duration is determined according to a ratio of a target power difference to a maximum charging current of a current charging device of the terminal device, wherein the target power difference is a difference between the preset cut-off power and the current power of the terminal device; The first charging duration is determined according to the product of the second charging duration and a preset coefficient, and the value of the preset coefficient is greater than 1.

10. The method according to claim 2, characterized in that The obtaining of the travel information of the terminal device includes: The information of a preset application in the terminal device is read to determine the travel information, wherein the preset application includes at least one of a travel application, a reminder application, and a text message application.

11. A charging reminder device, characterized in that: Applied to a terminal device, the device comprises: A determination module, used to determine a charging reminder time period according to the current power of the terminal device and the full charging time, wherein the full charging time is used to indicate the time required to charge the terminal device from zero power to a preset cut-off power; The output module is used to output charging reminder information within the charging reminder time period.

12. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor executes the program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 10 is implemented.

Citation Information

Cited By

  • Airport charging pile management method, system, equipment and medium

    CN120245792A