[go: up one dir, main page]

CN107196363B - Method for adjusting charging current, terminal and computer readable storage medium - Google Patents

Method for adjusting charging current, terminal and computer readable storage medium Download PDF

Info

Publication number
CN107196363B
CN107196363B CN201710370233.4A CN201710370233A CN107196363B CN 107196363 B CN107196363 B CN 107196363B CN 201710370233 A CN201710370233 A CN 201710370233A CN 107196363 B CN107196363 B CN 107196363B
Authority
CN
China
Prior art keywords
charging
duration
current
time
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710370233.4A
Other languages
Chinese (zh)
Other versions
CN107196363A (en
Inventor
洪丹龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Huasu Information Technology Co ltd
Original Assignee
Nanjing Car Chain Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanjing Car Chain Technology Co Ltd filed Critical Nanjing Car Chain Technology Co Ltd
Priority to CN201710370233.4A priority Critical patent/CN107196363B/en
Publication of CN107196363A publication Critical patent/CN107196363A/en
Application granted granted Critical
Publication of CN107196363B publication Critical patent/CN107196363B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • H02J7/0091

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a method for adjusting charging current, a terminal and a computer readable storage medium, which can acquire the first starting time of the current charging of the terminal when detecting that the terminal is in a charging state; predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal. When the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and when the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold. The charging method and the charging system can learn the charging habit of the user, and judge whether the current charging needs to preferentially ensure the charging speed or preferentially ensure the temperature rise experience according to the charging habit, so that the charging current is intelligently adjusted, and the user can obtain better charging and temperature rise experience.

Description

Method for adjusting charging current, terminal and computer readable storage medium
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a method for adjusting a charging current, a terminal, and a computer-readable storage medium.
Background
At present, charging speed is more and more emphasized by users in mobile terminals, and in order to obtain faster charging speed, most of the mobile terminals strive to improve the charging speed so as to obtain better user experience. However, the faster the charging speed, the larger the charging current, and the larger the heat generation amount of the charging chip.
In order to avoid the problem of poor temperature rise experience caused by high-speed charging, a plurality of design schemes can properly reduce charging current when the mobile terminal generates heat, namely, the charging speed is sacrificed to obtain better temperature rise experience. However, in the actual use process of the user, better temperature rise experience is not always needed, and sometimes it is desirable to sacrifice the heating experience for the charging speed. How to accurately judge the current requirement of a user so as to intelligently adjust the charging current is a big problem in the design of the charging temperature rise of the mobile terminal at present.
Disclosure of Invention
The invention mainly aims to provide a method, a terminal and a computer readable storage medium for adjusting charging current, and aims to solve the problem that the charging current cannot be adjusted according to the actual needs of users in the prior art.
To achieve the above object, the present invention provides a method for adjusting a charging current, comprising:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal;
if the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
Further, predicting the first duration of the current charging according to the charging habit of the user to the terminal and the first start time includes:
acquiring a second starting time and a corresponding second duration of each past charging of the terminal;
and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration.
Further, determining a charging duration corresponding to the terminal starting charging within a time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration comprises:
matching the second starting time with the first starting time, and if the second starting time which is different from the first starting time within a preset range exists, predicting a second duration corresponding to the second starting time which is closest to the first starting time as the first duration of the current charging;
or, matching the second starting time with the first starting time, if a second starting time which is different from the first starting time within a preset range exists, acquiring a second duration corresponding to the second starting time which is different from the first starting time within the preset range, averaging the second duration, and predicting the first duration of the current charging as an average;
or dividing one day into N charging time periods, and calculating the average value of the charging duration time of each charging time period according to the second starting time and the second duration time;
and determining a charging time period in which the first starting time is positioned, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
Further, the method also comprises the following steps:
when the temperature threshold of the current charging current is a second temperature threshold, monitoring whether the terminal is in a user use state;
if so, prompting the user that the current charging current is larger, and inquiring whether the user needs to reduce the charging current;
and correspondingly adjusting the current charging current according to the feedback of the user.
Further, the method also comprises the following steps:
and when the terminal is charged every time, storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration respectively.
In order to achieve the above object, the present invention further provides a terminal for adjusting charging current, the terminal comprising a processor, a memory and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the program for adjusting the charging current stored in the memory so as to realize the following steps:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal;
if the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
Further, the processor is configured to execute the program stored in the memory for adjusting the charging current to implement the following steps:
acquiring a second starting time and a corresponding second duration of each past charging of the terminal;
and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration.
Further, the processor is configured to execute the program stored in the memory for adjusting the charging current to implement the following steps:
and matching the second starting time with the first starting time, and if the second starting time which is different from the first starting time within the preset range exists, predicting the second duration corresponding to the second starting time closest to the first starting time as the first duration of the current charging.
Alternatively, the processor is configured to execute a program stored in the memory for adjusting the charging current to implement the following steps:
and matching the second starting time with the first starting time, if the second starting time with the difference of the first starting time within the preset range exists, acquiring a second duration corresponding to the second starting time with the difference of the first starting time within the preset range, averaging the second duration, and predicting the first duration of the current charging as the average.
Alternatively, the processor is configured to execute a program stored in the memory for adjusting the charging current to implement the following steps:
dividing one day into N charging time periods, and calculating the average value of the charging duration of each charging time period according to the second starting time and the second duration;
and determining a charging time period in which the first starting time is positioned, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
Further, the processor is further configured to execute the program stored in the memory for adjusting the charging current to implement the steps of:
and when the terminal is charged every time, storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration respectively.
To achieve the above object, the present invention also provides a computer-readable storage medium storing one or more programs, the one or more programs being executable to implement the steps of:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal;
if the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
By adopting the method for adjusting the charging current, the terminal and the computer readable storage medium, the first starting time of the current charging of the terminal can be obtained when the terminal is detected to be in a charging state; the first duration of the current charging can be predicted according to the charging habit of the user to the terminal and the first starting time; and the charging habit comprises a second starting time and a corresponding second duration of each time the terminal is charged in the past. When the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; when the first duration is lower than the first duration threshold, setting the temperature threshold of the present charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold. From this, can learn user's charging habit, judge that the current charging of user needs priority to guarantee the speed of charging or priority guarantees that the temperature rise is experienced according to the habit of charging to intelligent regulation charging current makes the user obtain better charging experience and temperature rise and experience.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a flow chart of a method of adjusting a charging current of the present invention;
fig. 3 is a schematic diagram of a prompt when a user uses a mobile phone when the temperature threshold of the current charging current is the second temperature threshold according to the present invention;
FIG. 4 is a schematic diagram of a prompt when a user uses a mobile phone when the temperature threshold of the present charging current is the second temperature threshold according to the present invention;
FIG. 5 is a flow chart of another method of adjusting the charging current of the present invention;
fig. 6 is a schematic diagram of a hardware structure of a terminal for adjusting a charging current according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 109 of the present invention may store a program for adjusting the charging current.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110. The processor 110 of the present invention may run the program for adjusting the charging current stored in the memory 109 to implement the following steps: when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time; predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal; if the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
Based on the hardware structure of the mobile terminal, the invention provides various embodiments of the method.
The first embodiment is as follows:
referring to fig. 1, in the method, information of each charging of a user may be recorded as charging habit data of the user on a terminal, when the terminal starts charging, time for the terminal to start charging may be obtained as first start time, then a first duration that the charging may last this time is predicted according to a charging habit of the user when the terminal is charged in the past, if the first duration is higher than a first duration threshold, the charging of the terminal is likely to be long-time charging, a temperature rise experience is ensured first, and at this time, the charging current may not be very large; if the first duration is less than the first duration threshold, the terminal is charged in a short time, and it is first ensured that the terminal is charged as much as possible in a short time, that is, the charging speed is ensured, and the temperature threshold of the charging current at this time can be improved to some extent. Therefore, the magnitude of the charging current can be intelligently controlled according to the actual needs of users.
As shown in fig. 2, the method for adjusting the charging current of the present embodiment includes:
s201, when the terminal is detected to be in a charging state, acquiring a first starting time of the current charging of the terminal;
s202, predicting a first duration of the current charging according to the charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal;
s203, if the first duration is higher than a first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
In this embodiment, the terminal may include a fixed terminal such as a desktop computer, and a mobile terminal such as a mobile phone, a tablet computer, a bracelet, a smart watch, a notebook computer, and so on.
In this embodiment, before S201, it may further include detecting whether the terminal is currently in a charging state, and if so, entering S201. The method for detecting whether the terminal is in the charging state comprises the following steps: and detecting whether current is input into a charging interface of the terminal, and if so, determining that the terminal is currently in a charging state.
For a typical user, the time for charging the terminal and the duration of each charge are generally regular. For example, a user of a mobile phone is a software engineer who generally needs to complete work on a computer during work hours, such as 8-12 am and 2-6 pm on monday through friday, and generally has sufficient charging time during work hours if the mobile phone is charged. If the end user is using the terminal on saturday or weekend, the user is most likely outdoors and the charging duration of the handset is typically relatively short. These are all the charging habits of the user on the terminal, and it is important in this embodiment to predict the first duration of the current charging by using the charging habits of the user on the terminal. The charging habit of the user terminal can embody a second starting time of each charging and a second duration of each charging of the user.
Further, in S202, predicting a first duration of the current charging according to the charging habit of the user to the terminal and the first start time includes: acquiring a second starting time and a corresponding second duration of each past charging of the terminal; and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration. Generally, the charging duration corresponding to the time when the terminal starts to charge within the time close to the first starting time is not much different from the charging duration of this time to a great extent. For example, the first starting time of this charging is 14:30, yesterday, the user starts charging at 14:25, finishes charging at 15:40, and the second duration is 75 minutes, so that the first duration of this charging may be more abundant and may reach 75 minutes.
During the charging process of the terminal, the contact between the terminal charger and the socket may be poor for some reasons, and a short charging pause may occur. It will be appreciated that in this embodiment, when the duration of charging the terminal (including the first duration and the second duration) is calculated, the charging of the terminal may be allowed to pause, but the time of pausing needs to be within a certain range, for example, within 5 minutes. Assuming that the starting time of charging for a user is 13 o ' clock and half, in the charging process, because the patch board is not well connected with the terminal charger, at 14 o ' clock and 20 min, the charging is interrupted for two minutes, and the time of the final charging end is 14 o ' clock and 45 min, the first duration of the terminal charging is 13:30-14:20 and 14:22-14:45, namely 73 minutes.
In order to set the magnitude of the charging current more accurately, a first time length threshold value and a first time length threshold value are also set in the present embodiment. When the predicted first duration of the current charging is not lower than the first duration threshold in S202, it indicates that the current charging is sufficient in time, and the temperature threshold of the current charging current may be set to a smaller first temperature threshold, so as to ensure the temperature rise experience. And if the predicted first duration of the current charging is lower than the first duration threshold, it indicates that the current charging may be short in time and needs to ensure the charging speed, and the temperature threshold of the current charging current may be set to be the first temperature threshold with a larger value to ensure the charging current.
In one embodiment, determining a charging duration corresponding to the terminal starting charging within a time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration comprises: and matching the second starting time with the first starting time, and if the second starting time which is different from the first starting time within a preset range exists, predicting a second duration corresponding to the second starting time closest to the first starting time as the first duration of the current charging.
The method for predicting the first duration is described below with reference to table 1.
Figure BDA0001302601030000111
TABLE 1
If the first start time of this charging is 17:30, the first start time is matched with the second start time from the first charging to the fifth charging in table 1. Assuming that the preset range is 30 minutes, the difference between the second start time and the first start time of the fourth charging is within 30 minutes, so that the second duration 15 minutes of the fourth charging may be the first duration of the current charging.
In one embodiment, determining a charging duration corresponding to the terminal starting charging within a time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration comprises: and matching the second starting time with the first starting time, if the second starting time with the difference of the first starting time within the preset range exists, acquiring a second duration corresponding to the second starting time with the difference of the first starting time within the preset range, averaging the second duration, and predicting the first duration of the current charging as the average.
The method for predicting the first duration is described below with reference to table 2.
Figure BDA0001302601030000112
TABLE 2
Assuming that the first start time of this charge is 17:30, the first start time is matched with the second start time from the first charge to the sixth charge in table 2 above. Assuming that the preset range is 30 minutes, the difference between the second starting time and the first starting time of the third, fourth and sixth charging is within 30 minutes, the second duration of the third, fourth and sixth charging is averaged to obtain an average value of 28.33 minutes, and the first duration of the current charging is predicted to be 28.33 minutes.
In one embodiment, determining a charging duration corresponding to the terminal starting charging within a time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration comprises: dividing one day into N charging time periods, and calculating the average value of the charging duration of each charging time period according to the second starting time and the second duration; and determining a charging time period in which the first starting time is positioned, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
The method of predicting the first duration as described above is exemplified below with reference to table 3.
Figure BDA0001302601030000121
TABLE 3
Assuming that the time from 0:00 to 24:00 is divided into 48 charging periods on average, each charging period is half an hour, and the first starting time of this charging is 17: 20. The charging period to which the current charging belongs is 17:00-17:30, and in table 3, the second start time of the third charging and the sixth charging is in the charging period, and the average charging time length in the charging period is calculated to be (30+ 40)/2-35 minutes, so that the first duration time of the current charging is predicted to be 35 minutes.
When the temperature threshold of the current charging current is the second temperature threshold, the charging current is generally larger, the temperature of the mobile phone generally rises, and if the user uses the mobile phone in the charging process, the temperature of the mobile phone may rise to a dangerous value, which may cause damage to the mobile phone and even damage to the user. To avoid this, the method of this embodiment further includes: in the charging process of the terminal, when the temperature threshold of the current charging current is a second temperature threshold, monitoring whether the terminal is in a user use state; if so, prompting the user that the current charging current is larger, and inquiring whether the user needs to reduce the charging current; and correspondingly adjusting the current charging current according to the feedback of the user. And if the user feeds back the 'yes', the current charging current is reduced, and if the user feeds back the 'no', the current charging current is maintained. Wherein, the prompt and the inquiry can be realized by means of a dialog box or voice. For example, when the temperature threshold of the current charging current of the mobile phone is the second temperature threshold, if it is monitored that the user is using the mobile phone, a dialog box as shown in fig. 3 is displayed on the interface of the mobile phone to prompt the user that the current charging state is in a short-time charging state, the charging current is high, the temperature of the mobile phone is high, and the user is asked whether to reduce the current charging current, and two selection keys of yes and no are displayed. Further, in the dialog box of fig. 3, the time required for the terminal to be fully charged according to the current charging current and the time required for the terminal to be fully charged after the charging current is reduced may also be displayed, and as shown in fig. 4, "it takes 30 minutes to be fully charged according to the current charging current and takes 50 minutes to be fully charged after the charging current is reduced" may be displayed in the dialog box.
It is foreseen that, in this embodiment, if the data included in the charging habit of the user on the terminal is richer, the reliability of the predicted first duration is higher, so the method in this embodiment further includes: and when the terminal is charged every time, storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration respectively. Wherein the second start time and the second duration of each charging may be correspondingly stored in the memory of the terminal.
By adopting the method for adjusting the charging current, when the terminal is detected to be in a charging state, the first starting time of the current charging of the terminal is obtained; the first duration of the current charging can be predicted according to the charging habit of the user to the terminal and the first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal. When the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; when the first duration is lower than the first duration threshold, setting the temperature threshold of the present charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold. From this, this embodiment can learn user's charging habit, judges according to the habit of charging that the user is currently charged and need the priority to guarantee the speed of charging or the priority guarantees that the temperature rise is experienced to intelligent regulation charging current makes the user obtain better charging experience and temperature rise experience.
Example two:
a method for adjusting a charging current according to this embodiment is described below with reference to fig. 5, where the method according to this embodiment includes:
s501, when the terminal is detected to be in a charging state, recording first starting time of starting charging of the terminal at the moment, and assuming t 1;
s502, searching a second starting time t2 with the difference value with the first starting time within a preset range in the database, if the second starting time t2 is found, entering S503, and if the second starting time t2 is not found, entering S507;
and the database stores the charging habit of the user to the terminal, and the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal.
S503, acquiring a second duration corresponding to t 2;
if there are a plurality of second start times queried in S502, the second start time closest to the first start time t1 is selected in S503 to obtain the second duration.
S504, judging whether the second duration is lower than a first duration threshold, if so, entering S505, and otherwise, entering S506;
s505, setting the temperature threshold of the current charging current as a second temperature threshold;
s506, setting the temperature threshold of the current charging current as a first temperature threshold;
wherein the first temperature threshold is lower than the second temperature threshold.
And S507, storing the first starting time of terminal charging and the first duration of terminal charging as a second starting time and a second duration respectively.
Adopt this embodiment, can learn user's charging habit, judge that the current charging of user needs priority to guarantee the speed of charging or priority guarantees the temperature rise and experience according to the habit of charging to intelligent regulation charging current makes the user obtain better charging and temperature rise and experiences.
Example three:
referring to fig. 6, the present embodiment shows a terminal for adjusting a charging current, which includes a processor 61, a memory 62, and a communication bus 63;
the communication bus 63 is used for realizing connection communication between the processor 61 and the memory 62;
the processor 61 is configured to execute the program stored in the memory 62 for adjusting the charging current to implement the following steps:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal;
if the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
In this embodiment, the terminal may include a fixed terminal such as a desktop computer, and a mobile terminal such as a mobile phone, a tablet computer, a bracelet, a smart watch, a notebook computer, and so on.
In this embodiment, the processor 61 is configured to execute the program for adjusting the charging current stored in the memory 62 to implement the following steps: and detecting whether the terminal is in a charging state at present. The method for detecting whether the terminal is in the charging state comprises the following steps: and detecting whether current is input into a charging interface of the terminal, and if so, determining that the terminal is currently in a charging state.
For a typical user, the time for charging the terminal and the duration of each charge are generally regular. For example, a user of a mobile phone is a software engineer who generally needs to complete work on a computer during work hours, such as 8-12 am and 2-6 pm on monday through friday, and generally has sufficient charging time during work hours if the mobile phone is charged. If the end user is using the terminal on saturday or weekend, the user is most likely outdoors and the charging duration of the handset is typically relatively short. These are all the charging habits of the user on the terminal.
Further, the processor 61 is configured to execute the program stored in the memory 62 for adjusting the charging current to implement the following steps:
acquiring a second starting time and a corresponding second duration of each past charging of the terminal; and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration. Generally, the charging duration corresponding to the time when the terminal starts to charge within the time close to the first starting time is not much different from the charging duration of this time to a great extent. For example, the first starting time of this charging is 4:30, yesterday, the user starts charging at 4:25, finishes charging at 5:40, and the second duration is 75 minutes, so that the first duration of this charging may be rich and may reach 75 minutes.
During the charging process of the terminal, the contact between the terminal charger and the socket may be poor for some reasons, and a short charging pause may occur. It will be appreciated that in this embodiment, when the duration of charging the terminal (including the first duration and the second duration) is calculated, the charging of the terminal may be allowed to pause, but the time of pausing needs to be within a certain range, for example, within 5 minutes. Assuming that the charging start time of a user is 3 o ' clock and half, in the charging process, because the patch board is not well connected with the terminal charger, the charging is interrupted for two minutes at 4 o ' clock and 20 o ' clock, and the final charging end time is 4 o ' clock and 45 o ' clock, the first duration of the terminal charging is 3:30-4:20 and 4:22-4:45, namely 73 minutes.
In order to set the magnitude of the charging current more accurately, a first time length threshold value and a first time length threshold value are also set in the present embodiment. When the predicted first duration of the current charging is not lower than the first duration threshold, it indicates that the current charging is sufficient in time, and the temperature threshold of the current charging current can be set to be a smaller first temperature threshold, so as to ensure temperature rise experience. And if the predicted first duration of the current charging is lower than the first duration threshold, it indicates that the current charging may be short in time and needs to ensure the charging speed, and the temperature threshold of the current charging current may be set to be the first temperature threshold with a larger value to ensure the charging current.
In one embodiment, the processor 61 is configured to execute a program stored in the memory 62 for adjusting the charging current to implement the following steps:
and matching the second starting time with the first starting time, and if the second starting time which is different from the first starting time within a preset range exists, predicting a second duration corresponding to the second starting time closest to the first starting time as the first duration of the current charging.
In one embodiment, the processor 61 is configured to execute a program stored in the memory 62 for adjusting the charging current to implement the following steps:
and matching the second starting time with the first starting time, if the second starting time with the difference of the first starting time within the preset range exists, acquiring a second duration corresponding to the second starting time with the difference of the first starting time within the preset range, averaging the second duration, and predicting the first duration of the current charging as the average.
In one embodiment, the processor 61 is configured to execute a program stored in the memory 62 for adjusting the charging current to implement the following steps:
dividing one day into N charging time periods, and calculating the average value of the charging duration of each charging time period according to the second starting time and the second duration; and determining a charging time period in which the first starting time is positioned, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
When the temperature threshold of the current charging current is the second temperature threshold, the charging current is generally larger, the temperature of the mobile phone generally rises, and if the user uses the mobile phone in the charging process, the temperature of the mobile phone may rise to a dangerous value, which may cause damage to the mobile phone and even damage to the user. To avoid this, the processor 61 of the present embodiment is configured to execute the program for adjusting the charging current stored in the memory 62 to implement the following steps:
in the charging process of the terminal, when the temperature threshold of the current charging current is a second temperature threshold, monitoring whether the terminal is in a user use state; if so, prompting the user that the current charging current is larger, and inquiring whether the user needs to reduce the charging current; and correspondingly adjusting the current charging current according to the feedback of the user. Wherein, the prompt and the inquiry can be realized by means of dialog boxes or voice
It is foreseen that in the present embodiment, if the data contained in the charging habit of the user on the terminal is richer, the predicted reliability of the first duration is higher, so the processor 61 is configured to execute the program for adjusting the charging current stored in the memory 62 to implement the following steps:
and when the terminal is charged every time, storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration respectively. Wherein the second start time and the second duration of each charging may be correspondingly stored in the memory of the terminal.
The terminal for adjusting the charging current can learn the charging habit of the user, and judges whether the current charging of the user needs to preferentially ensure the charging speed or preferentially ensure the temperature rise experience according to the charging habit, so that the charging current is intelligently adjusted, and the user obtains better charging experience and temperature rise experience.
Example four:
the present embodiment shows a computer-readable storage medium storing one or more programs, the one or more programs being executable to implement the steps of:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to a charging habit of a user to the terminal and a first starting time; the charging habit comprises a second starting time and a corresponding second duration of each past charging of the terminal;
if the first duration is not less than the first duration threshold, setting the temperature threshold of the current charging current as a first temperature threshold; and if the first duration is lower than the first duration threshold, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
In this embodiment, the computer-readable storage medium stores one or more programs, and the one or more programs are executable to implement the steps of: and detecting whether the terminal is in a charging state at present. The method for detecting whether the terminal is in the charging state comprises the following steps: and detecting whether current is input into a charging interface of the terminal, and if so, determining that the terminal is currently in a charging state.
For a typical user, the time for charging the terminal and the duration of each charge are generally regular. For example, a user of a mobile phone is a software engineer who generally needs to complete work on a computer during work hours, such as 8-12 am and 2-6 pm on monday through friday, and generally has sufficient charging time during work hours if the mobile phone is charged. If the end user is using the terminal on saturday or weekend, the user is most likely outdoors and the charging duration of the handset is typically relatively short. These are all the charging habits of the user on the terminal. An important point in this embodiment is to use the charging habit of the user on the terminal to predict the first duration of the current charging. The charging habit of the user terminal can embody a second starting time of each charging and a second duration of each charging of the user.
Further, the computer readable storage medium stores one or more programs, which are executable to implement the steps of: acquiring a second starting time and a corresponding second duration of each past charging of the terminal; and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration. Generally, the charging duration corresponding to the time when the terminal starts to charge within the time close to the first starting time is not much different from the charging duration of this time to a great extent. For example, the first starting time of this charging is 4:30, yesterday, the user starts charging at 4:25, finishes charging at 5:40, and the second duration is 75 minutes, so that the first duration of this charging may be rich and may reach 75 minutes.
During the charging process of the terminal, the contact between the terminal charger and the socket may be poor for some reasons, and a short charging pause may occur. It will be appreciated that in this embodiment, when the duration of charging the terminal (including the first duration and the second duration) is calculated, the charging of the terminal may be allowed to pause, but the time of pausing needs to be within a certain range, for example, within 5 minutes. Assuming that the charging start time of a user is 3 o ' clock and half, in the charging process, because the patch board is not well connected with the terminal charger, the charging is interrupted for two minutes at 4 o ' clock and 20 o ' clock, and the final charging end time is 4 o ' clock and 45 o ' clock, the first duration of the terminal charging is 3:30-4:20 and 4:22-4:45, namely 73 minutes.
In order to set the magnitude of the charging current more accurately, a first time length threshold value and a first time length threshold value are also set in the present embodiment. When the predicted first duration of the current charging is not lower than the first duration threshold, it indicates that the current charging is sufficient in time, and the temperature threshold of the current charging current can be set to be a smaller first temperature threshold, so as to ensure temperature rise experience. And if the predicted first duration of the current charging is lower than the first duration threshold, it indicates that the current charging may be short in time and needs to ensure the charging speed, and the temperature threshold of the current charging current may be set to be the first temperature threshold with a larger value to ensure the charging current.
In one embodiment, a computer readable storage medium stores one or more programs that are executable to perform the steps of:
and matching the second starting time with the first starting time, and if the second starting time which is different from the first starting time within a preset range exists, predicting a second duration corresponding to the second starting time closest to the first starting time as the first duration of the current charging.
In another embodiment, a computer readable storage medium stores one or more programs that are executable to perform the steps of:
and matching the second starting time with the first starting time, if the second starting time with the difference of the first starting time within the preset range exists, acquiring a second duration corresponding to the second starting time with the difference of the first starting time within the preset range, averaging the second duration, and predicting the first duration of the current charging as the average.
In another embodiment, a computer readable storage medium stores one or more programs that are executable to perform the steps of:
dividing one day into N charging time periods, and calculating the average value of the charging duration of each charging time period according to the second starting time and the second duration; and determining a charging time period in which the first starting time is positioned, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
When the temperature threshold of the current charging current is the second temperature threshold, the charging current is generally larger, the temperature of the mobile phone generally rises, and if the user uses the mobile phone in the charging process, the temperature of the mobile phone may rise to a dangerous value, which may cause damage to the mobile phone and even damage to the user. To avoid this, the computer-readable storage medium of the present embodiment stores one or more programs, which can be executed to implement the steps of: in the charging process of the terminal, when the temperature threshold of the current charging current is a second temperature threshold, monitoring whether the terminal is in a user use state; if so, prompting the user that the current charging current is larger, and inquiring whether the user needs to reduce the charging current; and correspondingly adjusting the current charging current according to the feedback of the user. Wherein, the prompt and the inquiry can be realized by means of dialog boxes or voice
It is anticipated that, in the present embodiment, if the data included in the charging habit of the user for the terminal is richer, the predicted first duration reliability is higher, and therefore the computer-readable storage medium stores one or more programs that can be executed to implement the steps of: and when the terminal is charged every time, storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration respectively. Wherein the second start time and the second duration of each charging may be correspondingly stored in the memory of the terminal.
By adopting the computer-readable storage medium of the embodiment, the program stored in the computer-readable storage medium can be executed, the charging habit of the user can be learned, and whether the charging speed or the temperature rise experience needs to be preferentially ensured in the current charging of the user is judged according to the charging habit, so that the charging current is intelligently adjusted, and the user can obtain better charging experience and temperature rise experience.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A method of adjusting a charging current, comprising:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to the charging habit of the user on the terminal and the first starting time; the charging habit comprises a second starting time and a corresponding second duration of each time the terminal is charged in the past;
if the first duration is not less than a first time threshold, the current charging is long-time charging, and the temperature threshold of the current charging current is set as a first temperature threshold; and if the first duration is lower than the first duration threshold, and the charging is short-time charging, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
2. The method of claim 1, wherein predicting the first duration of the current charging according to the charging habit of the user on the terminal and the first starting time comprises:
acquiring a second starting time and a corresponding second duration of each past charging of the terminal;
and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration.
3. The method of adjusting charging current according to claim 2, wherein determining a charging duration corresponding to when the terminal starts charging within a time close to the first start time in a past charging process according to the second start time and a corresponding second duration, and predicting the first duration of the current charging according to the charging duration comprises:
matching the second starting time with the first starting time, and if a second starting time which is different from the first starting time within a preset range exists, predicting a second duration corresponding to the second starting time which is closest to the first starting time as a first duration of the current charging;
or, matching the second start time with the first start time, if a second start time which is different from the first start time by a preset range exists, acquiring a second duration corresponding to the second start time which is different from the first start time by the preset range, averaging the second duration, and predicting the first duration of the current charging as the average;
or dividing one day into N charging time periods, and calculating the average value of the charging duration time of each charging time period according to the second starting time and the second duration time;
and determining the charging time period of the first starting time, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
4. A method of regulating a charging current as claimed in any one of claims 1 to 3, further comprising:
when the temperature threshold of the current charging current is a second temperature threshold, monitoring whether the terminal is in a user use state;
if so, prompting the user that the current charging current is larger, and inquiring whether the user needs to reduce the charging current;
and correspondingly adjusting the current charging current according to the feedback of the user.
5. A method of regulating a charging current as claimed in any one of claims 1 to 3, further comprising:
and when the terminal is charged every time, respectively storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration.
6. A terminal for regulating a charging current, the terminal comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is used for executing the program for adjusting the charging current stored in the memory so as to realize the following steps:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to the charging habit of the user on the terminal and the first starting time; the charging habit comprises a second starting time and a corresponding second duration of each time the terminal is charged in the past;
if the first duration is not less than a first time threshold, the current charging is long-time charging, and the temperature threshold of the current charging current is set as a first temperature threshold; and if the first duration is lower than the first duration threshold, and the charging is short-time charging, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
7. The terminal for adjusting charging current according to claim 6, wherein the processor is configured to execute a program stored in the memory for adjusting charging current to implement the steps of:
acquiring a second starting time and a corresponding second duration of each past charging of the terminal;
and determining a charging duration corresponding to the time when the terminal starts charging within the time close to the first starting time in the past charging process according to the second starting time and the corresponding second duration, and predicting the first duration of the current charging according to the charging duration.
8. The terminal for adjusting charging current according to claim 7, wherein the processor is configured to execute a program stored in the memory for adjusting charging current to implement the steps of:
matching the second starting time with the first starting time, and if a second starting time which is different from the first starting time within a preset range exists, predicting a second duration corresponding to the second starting time which is closest to the first starting time as a first duration of the current charging;
alternatively, the processor is configured to execute a program stored in the memory for adjusting the charging current, so as to implement the following steps:
matching the second starting time with the first starting time, if a second starting time which is different from the first starting time within a preset range exists, acquiring a second duration corresponding to the second starting time which is different from the first starting time within the preset range, averaging the second duration, and predicting the first duration of the current charging as the average;
alternatively, the processor is configured to execute a program stored in the memory for adjusting the charging current, so as to implement the following steps:
dividing one day into N charging time periods, and calculating the average value of the charging duration of each charging time period according to the second starting time and the second duration;
and determining the charging time period of the first starting time, and predicting the average value of the charging duration of the charging time period as the first duration of the current charging.
9. A terminal for regulating charging current according to any of claims 7-8, wherein said processor is further adapted to execute a program stored in a memory for regulating charging current to implement the steps of:
and when the terminal is charged every time, respectively storing a first starting time of the terminal charging and a first duration of the terminal charging as a second starting time and a second duration.
10. A computer-readable storage medium storing one or more programs, the one or more programs being executable to perform the steps of:
when the terminal is detected to be in a charging state, acquiring first starting time of the terminal for charging at this time;
predicting a first duration of the current charging according to the charging habit of the user on the terminal and the first starting time; the charging habit comprises a second starting time and a corresponding second duration of each time the terminal is charged in the past;
if the first duration is not less than a first time threshold, the current charging is long-time charging, and the temperature threshold of the current charging current is set as a first temperature threshold; and if the first duration is lower than the first duration threshold, and the charging is short-time charging, setting the temperature threshold of the current charging current as a second temperature threshold, wherein the first temperature threshold is lower than the second temperature threshold.
CN201710370233.4A 2017-05-23 2017-05-23 Method for adjusting charging current, terminal and computer readable storage medium Active CN107196363B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710370233.4A CN107196363B (en) 2017-05-23 2017-05-23 Method for adjusting charging current, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710370233.4A CN107196363B (en) 2017-05-23 2017-05-23 Method for adjusting charging current, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107196363A CN107196363A (en) 2017-09-22
CN107196363B true CN107196363B (en) 2020-12-18

Family

ID=59874850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710370233.4A Active CN107196363B (en) 2017-05-23 2017-05-23 Method for adjusting charging current, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107196363B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110048473B (en) * 2018-01-17 2023-05-02 中兴通讯股份有限公司 Charging current control method, terminal and storage medium
US11165269B2 (en) 2018-02-23 2021-11-02 Asustek Computer Inc. Electronic apparatus, charging method, and non-transitory computer readable recording medium
CN109004724B (en) * 2018-09-15 2022-01-04 深圳市奇芯电子有限公司 Mobile terminal charging protection system
CN109378878B (en) * 2018-11-13 2021-03-05 Oppo(重庆)智能科技有限公司 Charging circuit, charging processing method, electronic device, and storage medium
CN109510263A (en) * 2018-11-23 2019-03-22 歌尔股份有限公司 Wireless earphone and charging method thereof
CN110676905A (en) * 2019-10-12 2020-01-10 南昌黑鲨科技有限公司 Battery charging management method, system, intelligent terminal and computer readable storage medium
CN112701741B (en) * 2019-10-23 2024-03-12 北京小米移动软件有限公司 Charging control method, device and storage medium
CN111262292A (en) * 2020-02-14 2020-06-09 京东方科技集团股份有限公司 A method and system for controlling battery charging
CN112886655A (en) * 2021-01-08 2021-06-01 中国联合网络通信集团有限公司 Charging management method, system, mobile terminal and computer readable storage medium
CN120675224A (en) * 2021-11-15 2025-09-19 华为技术有限公司 Charging method and device of terminal equipment and terminal equipment
CN115515045A (en) * 2022-09-26 2022-12-23 歌尔科技有限公司 Equipment charging optimization method and device, electronic equipment and readable storage medium
CN116760145B (en) * 2023-07-31 2024-05-14 东莞市奥源电子科技有限公司 Intelligent charging control circuit and method
CN117669781A (en) * 2023-12-15 2024-03-08 梅威斯电气技术(上海)有限公司 Predictive control method for lithium battery charging active equalization

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6225787B1 (en) * 2000-05-02 2001-05-01 National Semiconductor Corporation Temperature stabilized constant current source suitable for charging a highly discharged battery
US9515510B2 (en) * 2013-03-15 2016-12-06 Integrated Device Technology, Inc. Apparatuses and methods for over-temperature protection of energy storage devices

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070126405A1 (en) * 2005-12-02 2007-06-07 Wei-Peng Kao Battery charging system and related method for preventing overheating while charging
US8922329B2 (en) * 2009-07-23 2014-12-30 Qualcomm Incorporated Battery charging to extend battery life and improve efficiency
US8963504B2 (en) * 2009-08-11 2015-02-24 Sony Corporation Electronic device, method of charging electronic device, program, charging control apparatus, and charging control method
US9356461B2 (en) * 2012-09-25 2016-05-31 Google Technology Holdings, LLC Methods and systems for rapid wireless charging where the low state of charge (SOC) temperature dependent charging current and low SOC temperature limit are higher than the high SOC temperature dependent charging current and high SOC temperature limit
US10122193B2 (en) * 2014-05-23 2018-11-06 Htc Corporation Portable device and method for controlling charging current thereof
CN105896647A (en) * 2016-04-12 2016-08-24 努比亚技术有限公司 Charging management method and charging management device
CN105958564A (en) * 2016-04-29 2016-09-21 乐视控股(北京)有限公司 Charging mode indication method and device, and charging method and device
CN105895979B (en) * 2016-05-27 2020-06-05 维沃移动通信有限公司 A terminal charging method and terminal
CN106356946A (en) * 2016-10-18 2017-01-25 乐视控股(北京)有限公司 Charging method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6225787B1 (en) * 2000-05-02 2001-05-01 National Semiconductor Corporation Temperature stabilized constant current source suitable for charging a highly discharged battery
US9515510B2 (en) * 2013-03-15 2016-12-06 Integrated Device Technology, Inc. Apparatuses and methods for over-temperature protection of energy storage devices

Also Published As

Publication number Publication date
CN107196363A (en) 2017-09-22

Similar Documents

Publication Publication Date Title
CN107196363B (en) Method for adjusting charging current, terminal and computer readable storage medium
CN107357385B (en) Method for controlling temperature based on frequency, terminal and computer readable storage medium
US11366510B2 (en) Processing method for reducing power consumption and mobile terminal
CN107734614B (en) Wi-Fi antenna control method, mobile terminal and computer readable storage medium
CN108494030B (en) A wireless charging method, terminal and transmitter device
CN108135033B (en) Bluetooth connection method and mobile terminal
CN108227898B (en) Flexible screen terminal, power consumption control method thereof and computer readable storage medium
CN108073458B (en) Memory recovery method, mobile terminal and computer-readable storage medium
WO2020156111A1 (en) Interface display method and terminal
CN108322599B (en) Network access method and mobile terminal
CN109901695B (en) Screen power-saving display method, mobile terminal and computer-readable storage medium
CN109639863B (en) Voice processing method and device
CN111143683A (en) Terminal interaction recommendation method and device and readable storage medium
CN108762877B (en) A kind of control method of mobile terminal interface and mobile terminal
CN108055392B (en) Display area adjusting method, mobile terminal and computer readable storage medium
CN107908705A (en) A kind of information-pushing method, information push-delivery apparatus and mobile terminal
CN107832067B (en) Application update method, mobile terminal and computer-readable storage medium
CN111432599A (en) Heat dissipation control method, terminal and computer readable storage medium
CN107835495B (en) A message prompting method, device and mobile terminal
CN107733016B (en) Mobile terminal charging control method and mobile terminal
CN107734170A (en) A kind of notification message processing method, mobile terminal and wearable device
EP3934056A1 (en) Terminal and wireless charging control method
CN109126127B (en) Game control method, dual-screen mobile terminal and computer-readable storage medium
CN112437476A (en) Network switching control method and device, intelligent terminal and readable storage medium
CN108279842A (en) A kind of function controlling method, function controlling device and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201201

Address after: 210036, 303 Hanzhoung Avenue, Gulou District, Jiangsu, Nanjing

Applicant after: Nanjing car chain Technology Co.,Ltd.

Address before: 518057 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Applicant before: NUBIA TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231113

Address after: 510000 No. 106, Fengze East Road, Nansha District, Guangzhou City, Guangdong Province (self compiled Building 1) x1301-d013282 (cluster registration) (JM)

Patentee after: Guangzhou HuaSu Information Technology Co.,Ltd.

Address before: 303 Hanzhongmen street, Gulou District, Nanjing City, Jiangsu Province

Patentee before: Nanjing car chain Technology Co.,Ltd.