Charging control method, device, equipment, and storage medium
By combining the user's charging behavior intention information and the device parameters of the terminal device, dynamically adjusting the charging power is solved, the existing charging control method is not intelligent enough, and intelligent charging control is realized, which improves user experience and battery life.
Patent Information
- Application Number
- CN202411758200.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-02
- Publication Date
- 2025-04-04
AI Technical Summary
The existing charging control methods are not intelligent enough to effectively meet users' charging needs, resulting in time wasted and unnecessary battery loss by blind charging.
By obtaining the user's charging behavior intention information and the current device parameters of the terminal device, the target charging power is determined and the terminal device is charged with this power. The charging behavior intent information includes user portrait, environment, charging purpose and application usage, and device parameters include residual power, system power consumption, screen brightness and backplane temperature.
It realizes intelligent judgment of user charging needs, provides customized charging strategies, avoids the waste of time and battery loss of blind charging, improves the overall user experience, and dynamically adjusts the charging power, maximizes charging efficiency, reduces temperature rise, protects batteries, and extends the service life of terminal devices.
Smart Images

Figure CN119765536A_ABST
Abstract
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 control method and apparatus, equipment, and storage medium. Background Art
[0002] In the field of terminal device charging, existing charging control methods are mostly based on monitoring and analysis of the current status of the terminal device, including factors such as the remaining battery power of the terminal device, application load, temperature, and charger specifications. For users, the charging control methods are not smart enough and cannot meet user needs well.
[0003] Therefore, how to improve the intelligence of charging control methods is an urgent problem to be solved. Summary of the invention
[0004] In view of this, the charging control method, device, equipment, and storage medium provided in the embodiments of the present application can improve the intelligence of the charging control method. The charging control method, device, equipment, and storage medium provided in the embodiments of the present application are implemented as follows:
[0005] The charging control method provided in an embodiment of the present application is applied to a terminal device, and the method includes: obtaining the user's charging behavior intention information and the current device parameters of the terminal device; determining the target charging power according to the charging behavior intention information and the device parameters, and charging the terminal device with the target charging power; wherein the charging behavior intention information includes at least one of the user portrait, the environment in which the user is located when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to the charging behavior in the terminal device, and the device parameters include at least one of the remaining power of the terminal device, system power consumption, screen brightness, and backplane temperature.
[0006] The charging control device provided in the embodiment of the present application is applied to a terminal device, and the device includes: an acquisition module, used to obtain the user's charging behavior intention information and the current device parameters of the terminal device; a determination module, used to determine the target charging power according to the charging behavior intention information and the device parameters, and charge the terminal device with the target charging power; wherein the charging behavior intention information includes at least one of the user portrait, the environment in which the user is located when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to the charging behavior in the terminal device, and the device parameters include at least one of the remaining power of the terminal device, system power consumption, screen brightness, and backplane temperature.
[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 control method, apparatus, device, and storage medium provided in the embodiments of the present application, the corresponding charging power is determined by combining the user's charging behavior intention information and the current device parameters of the terminal device, and then the terminal device is charged based on the charging power. This can intelligently judge the user's charging needs and provide a customized charging strategy, thereby avoiding the time waste and unnecessary battery loss caused by blind charging, thereby improving the overall user experience; dynamically adjusting the charging power based on the device parameters of the terminal device helps to maximize the charging efficiency while reducing the temperature rise, reduce the pressure on the battery, effectively protect the battery, and extend the service life of the terminal device. 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 an implementation flow of a charging control method provided in one embodiment of the present application;
[0014] Figure 3 A schematic diagram of an implementation flow of a charging control method provided in another embodiment of the present application;
[0015] Figure 4 A schematic diagram of analyzing the determination of charging behavior intention information and the first energy replenishment demand score provided in one embodiment of the present application;
[0016] Figure 5 An overall exemplary flow chart of a charging control method provided by an embodiment of the present application;
[0017] Figure 6 A structural schematic diagram of a charging control device provided by an embodiment of the present application;
[0018] Figure 7 A structural diagram of a computer device provided for one embodiment of the present application. DETAILED DESCRIPTION
[0019] 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.
[0020] 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.
[0021] 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.
[0022] 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.
[0023] With the rapid development of charging technology, the charging performance experience of mobile terminal devices such as smartphones has been greatly improved. The corresponding charging control methods mainly focus on optimizing charging efficiency, extending battery life and improving the safety of the charging process.
[0024] Most existing charging control methods are based on monitoring and analysis of the current status of the terminal device, including factors such as the remaining battery power of the terminal device, application load, temperature, and charger specifications. These methods can control the charging process by adjusting the charging power to ensure that the terminal device remains balanced during the charging process.
[0025] However, most existing charging control methods focus on the status of terminal devices. For users, the charging control methods are not smart enough and cannot meet user needs well. Therefore, how to improve the intelligence of charging control methods is an urgent problem to be solved.
[0026] In view of this, an embodiment of the present application provides a charging control method, which is applied to a terminal device, and the method specifically includes: first obtaining the user's charging behavior intention information and the current device parameters of the terminal device, and then determining the target charging power according to the charging behavior intention information and the device parameters, and charging the terminal device at the target charging power; wherein the charging behavior intention information includes at least one of the user portrait, the environment in which the user is when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of the application related to the charging behavior in the terminal device, and the device parameters include at least one of the remaining power of the terminal device, the system power consumption, the screen brightness, and the backplane temperature. In the charging control method of the present application, by combining the user's charging behavior intention information and the current device parameters of the terminal device to determine the corresponding charging power, and then charging the terminal device based on the charging power, the user's charging needs can be intelligently judged, and a customized charging strategy can be provided, which avoids the time waste and unnecessary battery loss caused by blind charging, thereby improving the overall user experience; dynamically adjusting the charging power according to the device parameters of the terminal device is helpful to maximize the charging efficiency while reducing the temperature rise, reduce the pressure on the battery, effectively protect the battery, and extend the service life of the terminal device.
[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 1As 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 control 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 control 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, obtaining the user's charging behavior intention information and the current device parameters of the terminal device.
[0042] Among them, the charging behavior intention information includes at least one of the user portrait, the environment in which the user is when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to the charging behavior in the terminal device. The device parameters include at least one of the remaining power of the terminal device, system power consumption, screen brightness, and backplane temperature.
[0043] In some embodiments, the terminal device can analyze and obtain charging behavior intention information through big data or machine learning. Among them, the user portrait is obtained by "portraying" the user based on the user's behavior information. The user's behavior information may include the user's age, gender, usage habits, etc. The user portrait may include student groups, company white-collar workers, the elderly, blue-collar workers, express delivery or takeaway practitioners, etc. The environment in which the user is when the terminal device is connected to the charger can be obtained by using sensors in the terminal device, such as geolocation module, ambient light sensor, Wi-Fi signal strength, etc.; the environment in which the user is when the terminal device is connected to the charger includes two parts: time and space. For example, time can be subdivided into after getting up in the morning (6:00-9:30), the morning block time (9:31-11:30), lunch break time (11:31-14:00), before leaving a place in the afternoon (14:01-19:00), before going to bed at night (19:01-1:00 the next day), etc.; space can be roughly divided into the following categories: on transportation (such as airplanes, high-speed trains), living places (such as homes, dormitories, hotels, homestays, etc.), long-term stay spaces (such as offices, classrooms, laboratories, libraries, cafes, etc.), short-term stay spaces (such as street light chargers, restaurants, etc.). The purpose of connecting to the charger is closely related to what the user wants to do, which can be inferred by asking the user or through the contextual data of the device, such as the battery power status. For example, the purpose of connecting to a charger may include the user's mobile phone being connected to the charger for a long time and then using a computer or other device; the user being connected to the charger for a short time and about to leave the location; the user being connected to the charger on a high-speed train; the user being about to take a high-speed train in three hours; the movie for which the user has purchased a ticket is about to start in one hour, etc. The user's use of applications related to charging behavior in the terminal device is used to indicate the use of certain applications that are strongly related to charging behavior by the user during charging. Different applications may reflect the user's demand for energy replenishment, but at the same time, the rapid temperature rise caused by high-load applications must also be considered, and the charging power cannot be pulled too high, for example: using high-load applications, medium-load applications, or low-load applications.
[0044] In some embodiments, the current device parameters of the terminal device can be collected through the application programming interface (API) interface of the operating system, the power consumption management system, the brightness control module, and the temperature sensor in the terminal device. For example, the remaining power of the terminal device is obtained through the API interface of the operating system, the system power consumption of the terminal device is obtained through the power consumption management system, the screen brightness is obtained through the brightness control module, the backplane temperature is obtained using a temperature sensor, and so on.
[0045] Step 202: determine the target charging power according to the charging behavior intention information and the device parameters, and charge the terminal device at the target charging power.
[0046] In some embodiments, the terminal device determines the target charging power by comprehensively acquiring the charging behavior intention information and the device parameters. For example, different weights may be set for different parameters in the charging behavior intention information to comprehensively obtain the urgency of the user's energy replenishment demand, which may be expressed in the form of a score or a grade. For the device parameters, different weights may also be set for different parameters therein to comprehensively obtain the urgency of the device's energy replenishment demand, which may also be expressed in the form of a score or a grade. Finally, the target charging power is determined by comprehensively considering the urgency of the user's energy replenishment demand and the urgency of the device's energy replenishment demand.
[0047] In this embodiment, the corresponding charging power is determined by combining the user's charging behavior intention information and the current device parameters of the terminal device, and then the terminal device is charged based on the charging power. This can intelligently judge the user's charging needs and provide a customized charging strategy, avoiding the time waste and unnecessary battery loss caused by blind charging, thereby improving the overall user experience; dynamically adjusting the charging power based on the device parameters of the terminal device helps to maximize the charging efficiency while reducing the temperature rise, reduce the pressure on the battery, effectively protect the battery, and extend the service life of the terminal device.
[0048] Based on the above embodiments, Figure 3 A schematic diagram of the implementation flow of a charging control 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 305:
[0049] Step 301, obtaining the user's charging behavior intention information and the current device parameters of the terminal device.
[0050] In some embodiments, the terminal device can analyze and obtain charging behavior intention information through big data or machine learning. Among them, the user portrait is obtained by "portraying" the user based on the user's behavior information. The user's behavior information may include the user's age, gender, usage habits, etc. The user portrait may include student groups, company white-collar workers, the elderly, blue-collar workers, express delivery or takeaway practitioners, etc. The environment in which the user is located when the terminal device is connected to the charger can be obtained using sensors in the terminal device, such as geolocation modules, ambient light sensors, Wi-Fi signal strength, etc.; the environment in which the user is located when the terminal device is connected to the charger includes two parts: time and space. The purpose of connecting to the charger is closely related to what the user wants to do, which can be inferred by asking the user or through the contextual data of the device, such as the battery power status. For example, the purpose of connecting to the charger may include the user's mobile phone being connected to the charger for a long time and switching to a computer or other device; the user is connected to the charger for a short time and is about to leave the geographical location; the user is connected to the charger on the high-speed rail; the user is about to take the high-speed rail in three hours; the movie that the user bought a ticket for is about to start in 1 hour, etc. The user's usage of applications related to charging behavior in the terminal device is used to indicate the use of certain applications that are strongly related to charging behavior during charging. Different applications may reflect the user's demand for energy replenishment, but at the same time, the rapid temperature rise caused by high-load applications must also be considered, and the charging power cannot be too high, for example: using high-load applications, medium-load applications, or low-load applications.
[0051] In some embodiments, the current device parameters of the terminal device can be collected through the API interface of the operating system, the power consumption management system, the brightness control module, and the temperature sensor in the terminal device. For example, the remaining power of the terminal device is obtained through the API interface of the operating system, the system power consumption of the terminal device is obtained through the power consumption management system, the screen brightness is obtained through the brightness control module, the back panel temperature is obtained using a temperature sensor, and so on.
[0052] Step 302 : determining a first energy replenishment demand score of the user according to the charging behavior intention information. The first energy replenishment demand score is used to indicate the urgency of the user's energy replenishment demand. The higher the first energy replenishment demand score is, the more urgent the user's energy replenishment demand is.
[0053] Optionally, in some charging scenarios, the user's energy replenishment demand is not urgent, and a lower first energy replenishment demand score is corresponding to reduce the damage to the device battery caused by the excessively fast charging rate. Since each user has different habits in using the device, some of the scores mentioned in the embodiments of the present application are only for explanation purposes and are not limited. They can be modified according to the habits of different users.
[0054] In some embodiments, the first score can be determined based on the user portrait in the charging behavior intention information. Each user portrait corresponds to a different score. For example, the first score can be set to C(x). The user portraits are divided into different levels, and each level corresponds to a different score. For example, the student group is a high C(x) group, the company white-collar workers are a medium C(x) group, and the elderly are a low C(x) group. Further, the first score is obtained according to the level of the user portrait.
[0055] In some embodiments, the second score can be determined according to the environment in which the user is located when the terminal device is connected to the charger in the charging behavior intention information. Among them, the environment in which the user is located when the terminal device is connected to the charger includes the geographical location and time of the user when the terminal device is connected to the charger. The time can be subdivided into, for example, after getting up in the morning (6:00-9:30), the morning block time (9:31-11:30), the lunch break time (11:31-14:00), before leaving a place in the afternoon (14:01-19:00), before going to bed at night (19:01-1:00 the next day), etc.; the geographical location, that is, the space can be roughly divided into the following categories: transportation (such as airplanes, high-speed rail), living places (such as homes, dormitories, hotels, homestays, etc.), long-term stay spaces (such as offices, classrooms, laboratories, libraries, cafes, etc.), and short-term stay spaces (such as street lamp chargers, restaurants, etc.). Exemplarily, the second score can be set to E(x), such as when the user connects to the charger in the morning before going to work, it is a high E(x) environment, when the user connects to the charger in the office in the morning, it is a low E(x) environment, when the user connects to the charger on the plane, it is a medium E(x) environment, etc. Further, the specific score of the second score E(x) is obtained by inputting the geographical location and time of the user when the terminal device is connected to the charger into the first model, and the first model is obtained by training the neural network model based on the historical data of the geographical location and time of the user when the terminal device is connected to the charger and the corresponding historical scores.
[0056] In some embodiments, the third score can be determined according to the purpose of connecting to the charger in the charging behavior intention information. Exemplarily, the third score can be set to D(x), such as the purpose of connecting to the charger is that the user's mobile phone is connected to the charger for a long time, and then using a computer or other device can be called a low D(x) behavior; the user connects to the charger for a short time and is about to leave the geographical location can be called a high D(x) behavior; the user connects to the charger on the high-speed rail can be called a medium D(x) behavior; the movie that the user bought a ticket for is about to start in 1 hour can be called a high D(x) behavior, and so on. Further, the specific score of the third score D(x) is obtained by inputting the purpose of the user's current connection to the charger into the second model, and the second model is obtained by training the neural network model based on the historical data of the purpose of the user's connection to the charger and the corresponding historical scores.
[0057] In some embodiments, the fourth score can be determined according to the user's use of the application related to the charging behavior in the terminal device in the charging behavior intention information. Exemplarily, the fourth score can be set to A(x). If charging with the screen on, the rapid temperature rise caused by high-load applications must be taken into account, and the charging power cannot be pulled too high, so the use of high-load applications can be called low A(x) applications, the use of medium-load applications can be called medium A(x) applications, and the use of low-load applications can be called high A(x) applications; in particular, if the user is charging with the screen off, the type of application used before the screen is turned off is concerned, and high-load applications correspond to high A(x) applications. Furthermore, the specific value of the fourth score is obtained by inputting the brightness information of the screen during the current charging process and the user's use of the application related to the charging behavior in the terminal device into the third model. The third model is based on the historical data of the screen brightness information of the user during the historical charging process, the user's use of the application related to the charging behavior in the terminal device, and the corresponding historical scores to train the neural network model.
[0058] Further, the first energy replenishment demand score is determined according to the first score, the second score, the third score and the fourth score. For example, the first score can be multiplied by the preset first coefficient to obtain a first product, the second score can be multiplied by the preset second coefficient to obtain a second product, the third score can be multiplied by the preset third coefficient to obtain a third product, and the fourth score can be multiplied by the preset fourth coefficient to obtain a fourth product, wherein the sum of the first coefficient, the second coefficient, the third coefficient and the fourth coefficient is 1; finally, the first product, the second product, the third product and the fourth product are added together to obtain the first energy replenishment demand score, which can also be called the user-side charging score.
[0059] Exemplarily, assuming that the first energy replenishment demand score is f(x), the first coefficient is a, the second coefficient is b, the third coefficient is c, the fourth coefficient is d, and the sum of a, b, c, and d is 1, then f(x)=a*C(x)+b*E(x)+c*D(x)+d*A(x) is obtained comprehensively, and the first energy replenishment demand score is allocated from a maximum of 80 points to a minimum of 10 points according to whether the demand for electricity replenishment is strong or not.
[0060] For example, please refer to Figure 4 , is a schematic diagram of analyzing the determination of charging behavior intention information and the first energy replenishment demand score provided by an embodiment of the present application. Figure 4As shown, the charging behavior intention information is jointly determined by the user portrait, the environment in which the user is when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to charging behavior in the terminal device. Among them, the user portrait represents "who is the user?", including: company white-collar workers, students, blue-collar workers, couriers or takeaway practitioners, etc., and the corresponding first score is C(x). The environment in which the user is when the terminal device is connected to the charger represents "what environment?" (including time and space), specifically including: at home in the morning, in the office in the morning, taking a nap in the dormitory, etc., and the corresponding second score is E(x). The purpose of connecting to the charger represents "what to do?" (including the present and the future), including: sitting for a long time to study, taking the high-speed rail to leave in 3 hours, the movie starts in 1 hour, and getting off work in 30 minutes, etc., and the corresponding third score is D(x). The user's use of applications related to charging behavior in the terminal device represents "what application?" (including screen on and screen off), including: high-load applications, medium-load applications, and low-load applications, etc., and the corresponding fourth score is A(x). The first energy replenishment demand score can be obtained as f(x).
[0061] As an example, if a user plugs in a charger 5 hours before traveling and charges with the screen off, the user-side charging points will be recorded as 50 points; if the user is identified as traveling, the user-side charging points for the sporadic charging behavior from leaving the residence to returning to the residence will be recorded as 80 points; if the user plugs in a charger in the library, the user-side charging points will be marked as 10 points; if the user plugs in a charger during a large-scale game, the user-side charging points will be marked as 30 points, etc. If there are user usage habits that are not marked by other charging control systems, the terminal device status, user behavior, user portrait, user application usage, etc. will be marked for subsequent data updates and supplementary learning, and the user-side charging points at this moment will be marked as 40 points (default value).
[0062] Step 303, determining a second energy replenishment requirement score of the terminal device according to the device parameters. The size of the second energy replenishment requirement score is used to indicate the urgency of the terminal device's energy replenishment requirement. The higher the second energy replenishment requirement score, the more urgent the terminal device's energy replenishment requirement.
[0063] It should be noted that after the above steps determine the energy replenishment demand on the user side, a more comprehensive investigation of the energy replenishment demand of the entire device is conducted based on the device side information. In the embodiment of the present application, the device parameters include the remaining power of the terminal device, system power consumption, screen brightness and backplane temperature to characterize the current actual energy replenishment demand of the device.
[0064] In some embodiments, the fifth score can be first determined based on the remaining power of the terminal device. The remaining power of the terminal device includes different remaining power intervals, each remaining power interval corresponds to a different score, and the more remaining power the terminal device has, the lower the score corresponding to the remaining power interval in which the remaining power of the terminal device is located.
[0065] Exemplarily, the correspondence between the remaining power interval of the terminal device and the fifth score may be shown in the following Table 1:
[0066] Table 1
[0067] Remaining power range of terminal equipment (%) Fifth Score (0,20] 5 (20,50] 3 (50,80] 1 (80,100] 0
[0068] In some embodiments, the sixth score is determined based on the system power consumption of the terminal device. The system power consumption of the terminal device includes different power consumption intervals, each power consumption interval corresponds to a different score, and the higher the system power consumption of the terminal device, the lower the score corresponding to the power consumption interval in which the system power consumption of the terminal device is located.
[0069] Exemplarily, the corresponding relationship between the system power consumption range of the terminal device and the sixth score may be shown in the following Table 2:
[0070] Table 2
[0071] System power consumption range (mA) Sixth Score High (1000mA+) 1 Medium (500-1000mA) 3 Low (500mA-) 5
[0072] In some embodiments, the seventh score is determined based on the screen brightness of the terminal device. The screen brightness of the terminal device includes different screen brightness intervals, each screen brightness interval corresponds to a different score, and the brighter the screen brightness of the terminal device, the lower the score corresponding to the screen brightness interval in which the screen brightness of the terminal device is located.
[0073] Exemplarily, the correspondence between the screen brightness range of the terminal device and the seventh score may be shown in the following Table 3:
[0074] Table 3
[0075] Screen brightness range (%) Seventh Score 75-100 2 50-75 3 20-50 4 0-20 5
[0076] In some embodiments, an eighth score is determined based on the backplane temperature of the terminal device. The backplane temperature of the terminal device includes different backplane temperature intervals, each backplane temperature interval corresponds to a different score, and the higher the backplane temperature of the terminal device, the lower the score corresponding to the backplane temperature interval in which the backplane temperature of the terminal device is located.
[0077] Exemplarily, the corresponding relationship between the backplane temperature range of the terminal device and the eighth score may be shown in the following Table 4:
[0078] Table 4
[0079] Backplane temperature range (℃) Eighth Score (40,+∞] 0 (35,40] 1 (30,35] 2 (28,30] 3 (25,28] 4 (20,25] 5
[0080] Further, the second energy replenishment requirement score is determined according to the fifth score, the sixth score, the seventh score and the eighth score. For example, the fifth score, the sixth score, the seventh score and the eighth score may be added together to obtain the second energy replenishment requirement score.
[0081] Step 304: Determine a target energy replenishment requirement score according to the first energy replenishment requirement score and the second energy replenishment requirement score.
[0082] In some embodiments, the first energy replenishment demand score and the second energy replenishment demand score obtained in the above steps are added to obtain the target energy replenishment demand score. Different weights can also be assigned to the first energy replenishment demand score and the second energy replenishment demand score, respectively. For example, assuming that the weight corresponding to the first energy replenishment demand score is q1 and the weight corresponding to the second energy replenishment demand score is q2, then the target energy replenishment demand score = first energy replenishment demand score * q1 + second energy replenishment demand score * q2; it is also possible to choose to use the maximum value or minimum value method according to the scores of the first energy replenishment demand score and the second energy replenishment demand score. For example, when the two energy replenishment demand scores are independent of each other and have a large difference in some cases, the highest energy replenishment demand score can be selected as the final target energy replenishment demand score, etc.; this application does not specifically limit this.
[0083] It should be noted that, in the embodiment of the present application, the target energy replenishment requirement score is taken as the sum of the first energy replenishment requirement score and the second energy replenishment requirement score for illustration.
[0084] Step 305: determine the target charging power according to the target energy replenishment demand score, and charge the terminal device at the target charging power.
[0085] In some embodiments, the terminal device determines a target charging mode based on the target energy replenishment demand score, and then determines a target charging power based on the target charging mode.
[0086] Among them, a mapping relationship between the energy replenishment demand score and the charging mode is preset in the terminal device, and each charging mode corresponds to a different charging power.
[0087] For example, the charging modes may include slow charging, normal charging, fast charging, ultra-fast charging and ultra-fast charging Pro, and the corresponding charging powers are 0.1P, 0.3P, 0.6P, 0.8P and P, respectively, assuming that P is a preset standard power value. The corresponding relationship between the target energy replenishment demand score, target charging mode and target charging power of the terminal device can be shown in Table 5 below:
[0088] Table 5
[0089] Target energy demand score Target charging mode Target charging power [0,30] Slow charging 0.1P (30,50] Normal charging 0.3P (50,70] Fast charging 0.6P (70,90] Ultra-fast charging 0.8P (90,100] Fast Charge Pro P
[0090] Optionally, if the terminal device has not yet learned the user's usage habits, the fast charging mode is used by default, and the corresponding charging power is 0.6P, that is, there is a default value.
[0091] The following is an example of three users' actual usage scenarios:
[0092] A user plugs his phone into the charger before going to work at 7:50 am. At this time, the remaining power is 18%, the system power consumption is low (465mA), the screen brightness is 43%, and the backplane temperature is 26°C. The first energy replenishment demand score on the user side is 80, and the second energy replenishment demand score on the device side is 5+5+4+4=18, so the target energy replenishment demand score is 98, the assigned target charging mode is Speed Charge Pro, and the target charging power is P.
[0093] A user connects his phone to the charger after playing a large game for 40 minutes. At this time, the remaining power is 3%, the system power consumption is medium, the screen brightness is 55%, and the backplane temperature is 39°C. The first energy replenishment demand score on the user side is 75, and the second energy replenishment demand score on the device side is 5+3+3+1=12, so the target energy replenishment demand score is 87, the assigned target charging mode is ultra-fast charging, and the target power is 0.8P.
[0094] A user connects his mobile phone to the charger while reading in the library. At this time, the remaining power is 37%, the system power consumption is low (300mA), the screen brightness is 35%, and the backplane temperature is 25°C. The first energy replenishment demand score on the user side is 10, and the second energy replenishment demand score on the device side is 3+5+4+5=17, so the target energy replenishment demand score is 27, the assigned target charging mode is slow charging, and the target power is 0.1P.
[0095] In this embodiment, the terminal device first obtains the user's charging behavior intention information and the current device parameters of the terminal device, and then determines the user's first energy replenishment requirement score according to the charging behavior intention information, and the size of the first energy replenishment requirement score is used to indicate the urgency of the user's energy replenishment need; determines the second energy replenishment requirement score of the terminal device according to the device parameters, and the size of the second energy replenishment requirement score is used to indicate the urgency of the terminal device's energy replenishment need; and then determines the target energy replenishment requirement score according to the first energy replenishment requirement score and the second energy replenishment requirement score, determines the target charging power according to the target energy replenishment requirement score, and charges the terminal device at the target charging power. By obtaining the user's charging behavior intention information and the device parameters of the terminal device, the user's charging needs and the device's charging limitations can be accurately understood, thereby optimizing the charging process and adjusting the charging power according to actual needs; the charging power can be automatically adjusted according to the energy replenishment demand score. If both the user and the device need fast charging, the system can increase the charging power; conversely, if the demand is not so urgent, the system can choose a lower power charging to avoid overcharging or wasting energy; for battery health, excessive charging power or inappropriate charging rate may have a negative impact on battery life. Automatically adjusting the charging power by the system can help extend battery life; based on the different needs of users and devices, the system can formulate the optimal charging strategy for each charging scenario, improve the intelligence of the charging control method, and thus enhance the overall user experience.
[0096] For example, please refer to Figure 5 , is a schematic diagram of an overall exemplary flow chart of a charging control method provided by an embodiment of the present application, such as Figure 5 As shown, the method may include the following steps 501 to 504:
[0097] Step 501: The terminal device is connected to a charger.
[0098] Step 502: Obtain a first energy replenishment demand score (10 to 80) on the user side according to the charging behavior intention information.
[0099] Among them, the first energy replenishment demand score f(x) is obtained by combining C(x) corresponding to the user portrait, E(x) corresponding to the environment in which the user is when the terminal device is connected to the charger, D(x) corresponding to the purpose of connecting to the charger, and A(x) corresponding to the user's use of applications related to charging behavior in the terminal device.
[0100] Step 503, obtaining a second energy replenishment requirement score (0 to 20) on the device side according to the current device parameters of the terminal device.
[0101] Among them, the second energy replenishment requirement score is obtained by combining the four parameters of remaining power, system power consumption, screen brightness and backplane temperature and their corresponding scores.
[0102] Step 504: Calculate the target energy replenishment requirement score according to the sum of the first energy replenishment requirement score and the second energy replenishment requirement score, and allocate the corresponding target charging power.
[0103] It should be noted that the specific implementation methods of the steps in this embodiment can refer to the above Figure 2 and Figure 3 The description in the illustrated embodiments will not be repeated in this application.
[0104] In summary, the charging control method provided in the embodiment of the present application will examine the geographical location and time information of the user accessing the charger, the user's schedule information, user portrait, the usage of certain applications that are highly related to charging behavior, etc., and make a comprehensive judgment based on the remaining power, system power consumption, temperature parameters, screen brightness and other information on the device side, and finally calculate a reasonable energy replenishment demand score, and give the corresponding charging power according to the energy replenishment demand score. It can intelligently judge the user's expected charging needs and provide a customized charging strategy, avoiding the waste of time and unnecessary battery loss caused by blind charging, thereby improving the overall user experience; dynamically adjusting the charging power according to the device parameters of the terminal device can help maximize the charging efficiency while reducing the temperature rise, reduce the pressure on the battery, effectively protect the battery, and extend the service life of the terminal device.
[0105] 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.
[0106] Based on the foregoing embodiments, an embodiment of the present application provides a charging control 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.
[0107] Figure 6 A structural schematic diagram of a charging control device provided in one embodiment of the present application is shown in FIG. Figure 6As shown, the device 600 includes an acquisition module 601 and a determination module 602, wherein:
[0108] An acquisition module 601 is used to acquire the user's charging behavior intention information and the current device parameters of the terminal device; a determination module 602 is used to determine the target charging power based on the charging behavior intention information and the device parameters, and charge the terminal device with the target charging power; wherein the charging behavior intention information includes at least one of the user portrait, the environment in which the user is located when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to the charging behavior in the terminal device; and the device parameters include at least one of the remaining power of the terminal device, system power consumption, screen brightness, and backplane temperature.
[0109] In some embodiments, the determination module 602 is specifically used to: determine a first energy replenishment requirement score of the user according to the charging behavior intention information, the size of the first energy replenishment requirement score is used to indicate the urgency of the user's energy replenishment need, and the higher the first energy replenishment requirement score, the more urgent the user's energy replenishment need; determine a second energy replenishment requirement score of the terminal device according to the device parameters, the size of the second energy replenishment requirement score is used to indicate the urgency of the terminal device's energy replenishment need, and the higher the second energy replenishment requirement score, the more urgent the terminal device's energy replenishment need; determine a target energy replenishment requirement score according to the first energy replenishment requirement score and the second energy replenishment requirement score; and determine the target charging power according to the target energy replenishment requirement score.
[0110] In some embodiments, the determination module 602 is specifically used to: determine a first score based on the user portrait, the user portrait is obtained based on user behavior data, and each user portrait corresponds to a different score; determine a second score based on the environment in which the user is when the terminal device is connected to the charger, the environment in which the user is when the terminal device is connected to the charger includes the user's geographical location and time when the terminal device is connected to the charger, and the second score is obtained by inputting the user's geographical location and time when the terminal device is connected to the charger into a first model, and the first model is based on the historical data of the user's geographical location and time when the terminal device is connected to the charger and the corresponding historical scores to train a neural network model; determine a third score based on the purpose of accessing the charger, and the third score is obtained by inputting the user's current geographical location and time when the terminal device is connected to the charger into a first model. The purpose of the charger is input into a second model, and the second model is obtained by training a neural network model based on historical data of the purpose of the user accessing the charger and corresponding historical scores; a fourth score is determined according to the user's use of the application related to the charging behavior in the terminal device, and the fourth score is obtained by inputting the brightness information of the screen of the user during the current charging process and the user's use of the application related to the charging behavior in the terminal device into a third model, and the third model is obtained by training a neural network model based on the brightness information of the screen of the user during the historical charging process, historical data of the user's use of the application related to the charging behavior in the terminal device, and corresponding historical scores; the first energy replenishment demand score is determined according to the first score, the second score, the third score and the fourth score.
[0111] In some embodiments, the determination module 602 is specifically used to: multiply the first score by a preset first coefficient to obtain a first product, multiply the second score by a preset second coefficient to obtain a second product, multiply the third score by a preset third coefficient to obtain a third product, and multiply the fourth score by a preset fourth coefficient to obtain a fourth product, and the sum of the first coefficient, the second coefficient, the third coefficient and the fourth coefficient is 1; add the first product, the second product, the third product and the fourth product to obtain the first energy replenishment demand score.
[0112] In some embodiments, the determination module 602 is specifically used to: determine a fifth score according to the remaining power of the terminal device, the remaining power of the terminal device includes different remaining power intervals, each remaining power interval corresponds to a different score, the more the remaining power of the terminal device, the lower the score corresponding to the remaining power interval where the remaining power of the terminal device is located; determine a sixth score according to the system power consumption of the terminal device, the system power consumption of the terminal device includes different power consumption intervals, each power consumption interval corresponds to a different score, the higher the system power consumption of the terminal device, the lower the score corresponding to the power consumption interval where the system power consumption of the terminal device is located; determine a seventh score according to the screen brightness of the terminal device, the screen brightness of the terminal device includes different screen brightness intervals, each screen brightness interval corresponds to a different score, the brighter the screen brightness of the terminal device, the lower the score corresponding to the screen brightness interval where the screen brightness of the terminal device is located; determine an eighth score according to the backplane temperature of the terminal device, the backplane temperature of the terminal device includes different backplane temperature intervals, each backplane temperature interval corresponds to a different score, the higher the backplane temperature of the terminal device, the lower the score corresponding to the backplane temperature interval where the backplane temperature of the terminal device is located; determine the second energy replenishment demand score according to the fifth score, the sixth score, the seventh score and the eighth score.
[0113] In some embodiments, the determination module 602 is specifically configured to: add the fifth score, the sixth score, the seventh score, and the eighth score to obtain the second energy replenishment demand score.
[0114] In some embodiments, the determination module 602 is specifically configured to: add the first energy replenishment requirement score and the second energy replenishment requirement score to obtain the target energy replenishment requirement score.
[0115] In some embodiments, the determination module 602 is specifically used to: determine the target charging mode according to the target energy replenishment demand score, the terminal device is preset with a mapping relationship between the energy replenishment demand score and the charging mode, and each charging mode corresponds to a different charging power; determine the target charging power according to the target charging mode.
[0116] 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.
[0117] It should be noted that in the embodiments of this application Figure 6The division of modules in the charging control 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 may be integrated into a processing unit, or may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of a software functional unit. It may also be implemented in the form of a combination of software and hardware.
[0118] 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.
[0119] 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 7 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.
[0120] 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.
[0121] 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.
[0122] Those skilled in the art will understand that Figure 7The 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.
[0123] In one embodiment, the charging control device provided in the present application can be implemented in the form of a computer program. The computer program can be Figure 7 The computer device shown in the figure is 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 in the method of each embodiment of the present application described in this specification.
[0124] 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.
[0125] 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.
[0126] 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.
[0127] 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.
[0128] 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.
[0129] 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.
[0130] 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.
[0131] 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.
[0132] 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.
[0133] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0134] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0135] 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.
[0136] 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 control method, characterized in that: Applied to a terminal device, the method comprises: Obtaining the user's charging behavior intention information and the current device parameters of the terminal device; Determine a target charging power according to the charging behavior intention information and the device parameters, and charge the terminal device at the target charging power; Among them, the charging behavior intention information includes at least one of the user portrait, the environment in which the user is when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to the charging behavior in the terminal device, and the device parameters include at least one of the remaining power of the terminal device, system power consumption, screen brightness and backplane temperature.
2. The method according to claim 1, characterized in that The determining the target charging power according to the charging behavior intention information and the device parameters includes: determining a first energy replenishment demand score of the user according to the charging behavior intention information, wherein the magnitude of the first energy replenishment demand score is used to indicate the urgency of the user's energy replenishment demand, and the higher the first energy replenishment demand score is, the more urgent the user's energy replenishment demand is; determining a second energy replenishment requirement score of the terminal device according to the device parameter, wherein the magnitude of the second energy replenishment requirement score is used to indicate the urgency of the energy replenishment requirement of the terminal device, and the higher the second energy replenishment requirement score is, the more urgent the energy replenishment requirement of the terminal device is; Determining a target energy replenishment requirement score according to the first energy replenishment requirement score and the second energy replenishment requirement score; The target charging power is determined according to the target energy replenishment demand score.
3. The method according to claim 2, characterized in that The determining the first energy replenishment requirement score of the user according to the charging behavior intention information includes: Determining a first score according to the user portrait, wherein the user portrait is obtained according to the user behavior data, and each user portrait corresponds to a different score; determining a second score according to an environment in which the user is located when the terminal device is connected to a charger, the environment in which the user is located when the terminal device is connected to a charger includes a geographical location and a time in which the user is located when the terminal device is connected to a charger, the second score being obtained by inputting the geographical location and the time in which the user is located when the terminal device is connected to a charger into a first model, the first model being obtained by training a neural network model based on historical data of the geographical location and the time in which the user is located when the terminal device is connected to a charger and corresponding historical scores; determining a third score according to the purpose of connecting to the charger, wherein the third score is obtained by inputting the purpose of the user currently connecting to the charger into a second model, wherein the second model is obtained by training a neural network model based on historical data of the purpose of the user connecting to the charger and corresponding historical scores; determining a fourth score according to usage of an application related to charging behavior in the terminal device by the user, the fourth score being obtained by inputting screen brightness information of the user during a current charging process and usage of the application related to charging behavior in the terminal device by the user into a third model, the third model being obtained by training a neural network model based on screen brightness information of the user during historical charging processes, historical data of usage of the application related to charging behavior in the terminal device by the user, and corresponding historical scores; The first energy replenishment requirement score is determined according to the first score, the second score, the third score, and the fourth score.
4. The method according to claim 3, characterized in that The determining the first energy replenishment requirement score according to the first score, the second score, the third score, and the fourth score includes: multiplying the first score by a preset first coefficient to obtain a first product, multiplying the second score by a preset second coefficient to obtain a second product, multiplying the third score by a preset third coefficient to obtain a third product, and multiplying the fourth score by a preset fourth coefficient to obtain a fourth product, wherein the sum of the first coefficient, the second coefficient, the third coefficient and the fourth coefficient is 1; The first energy replenishment requirement score is obtained by adding the first product, the second product, the third product and the fourth product.
5. The method according to claim 2, characterized in that: The determining, according to the device parameter, a second energy replenishment requirement score of the terminal device includes: determining a fifth score according to the remaining power of the terminal device, the remaining power of the terminal device including different remaining power intervals, each remaining power interval corresponding to a different score, and the more the remaining power of the terminal device, the lower the score corresponding to the remaining power interval in which the remaining power of the terminal device is located; determining a sixth score according to the system power consumption of the terminal device, wherein the system power consumption of the terminal device includes different power consumption intervals, each power consumption interval corresponds to a different score, and the higher the system power consumption of the terminal device, the lower the score corresponding to the power consumption interval in which the system power consumption of the terminal device is located; determining a seventh score according to the screen brightness of the terminal device, the screen brightness of the terminal device including different screen brightness intervals, each screen brightness interval corresponding to a different score, and the brighter the screen brightness of the terminal device, the lower the score corresponding to the screen brightness interval in which the screen brightness of the terminal device is located; determining an eighth score according to the backplane temperature of the terminal device, wherein the backplane temperature of the terminal device includes different backplane temperature intervals, each backplane temperature interval corresponds to a different score, and the higher the backplane temperature of the terminal device, the lower the score corresponding to the backplane temperature interval in which the backplane temperature of the terminal device is located; The second energy replenishment requirement score is determined according to the fifth score, the sixth score, the seventh score, and the eighth score.
6. The method according to claim 5, characterized in that The determining the second energy replenishment requirement score according to the fifth score, the sixth score, the seventh score, and the eighth score includes: The fifth score, the sixth score, the seventh score and the eighth score are added together to obtain the second energy replenishment demand score.
7. The method according to claim 2, characterized in that The determining a target energy replenishment requirement score according to the first energy replenishment requirement score and the second energy replenishment requirement score includes: The first energy replenishment requirement score and the second energy replenishment requirement score are added to obtain the target energy replenishment requirement score.
8. The method according to claim 2, characterized in that: The determining the target charging power according to the target energy replenishment demand score includes: Determine a target charging mode according to the target energy replenishment demand score, wherein a mapping relationship between the energy replenishment demand score and the charging mode is preset in the terminal device, and each charging mode corresponds to a different charging power; The target charging power is determined according to the target charging mode.
9. A charging control device, characterized in that: Applied to a terminal device, the device comprises: An acquisition module, used to acquire the user's charging behavior intention information and the current device parameters of the terminal device; a determination module, configured to determine a target charging power according to the charging behavior intention information and the device parameters, and charge the terminal device at the target charging power; Among them, the charging behavior intention information includes at least one of the user portrait, the environment in which the user is when the terminal device is connected to the charger, the purpose of connecting to the charger, and the user's use of applications related to the charging behavior in the terminal device, and the device parameters include at least one of the remaining power of the terminal device, system power consumption, screen brightness and backplane temperature.
10. A computer device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 8 are implemented.
11. 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 8 is implemented.
Citation Information
Cited By
Chip starting control method and system and electronic equipment
CN121834913A