Charging method, charging device and storage medium

By monitoring the interactive data between the user and the terminal, determining the charging tendency parameters and adjusting the charging rate, the problem that the terminal charging rate in the prior art cannot meet the user's needs is solved, intelligent charging is realized, and user experience is improved.

CN119864891APending Publication Date: 2025-04-22BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311368092.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-20
Publication Date
2025-04-22

AI Technical Summary

Technical Problem

In the prior art, when the terminal is in a charged state and the user uses the terminal, the charging rate cannot effectively meet the needs of the user, affecting the user's user experience.

Method used

By monitoring the interactive data between the user and the terminal, the charging tendency parameters are determined, and the charging rate is adjusted in real time based on these parameters to meet the user's usage habits and needs.

Benefits of technology

It realizes intelligent adjustment of the charging rate when users use the terminal, meets users' demand for charging rate and improves users' user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119864891A_ABST
    Figure CN119864891A_ABST
Patent Text Reader

Abstract

The invention relates to a charging method, a charging device and a storage medium. The charging method comprises the following steps: acquiring interaction data of a user and a terminal in response to charging of the terminal; and according to the interaction data, a charging tendency parameter is determined, and the charging tendency parameter represents the demand degree of the user for the charging rate. And setting the current charging rate according to the charging tendency parameter. According to the method and the device, under the situation that the user uses the terminal and charges the terminal, the demand degree of the user for the terminal charging speed can be judged through the interaction behavior of the user for the terminal, so that the charging speed is adjusted, and the use habit and the charging demand of the user are met.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of charging, and in particular to a charging method, a charging device and a storage medium. Background Art

[0002] Portable smart terminals such as mobile phones have become indispensable devices for users in life, work and entertainment. Due to the usage habits or needs of some users, they often charge the terminals while using them.

[0003] In the related art, the charging rate is set based on the device status of the terminal and the charger, without considering the user's demand for the charging rate when the terminal is in the charging state and the user is using the terminal. In addition, in the related art, the maximum charging rate is used for charging only when the terminal is not in use and in the screen-off state, and when the user is using the terminal, the charging rate will be greatly reduced. In summary, the charging speed of the terminal in use often does not meet the user's usage requirements, affecting the user's experience. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a charging method, a charging device and a storage medium.

[0005] According to a first aspect of an embodiment of the present disclosure, a charging method is provided, comprising: in response to charging a terminal, obtaining interaction data between a user and the terminal; determining a charging tendency parameter based on the interaction data, the charging tendency parameter characterizing the degree of user demand for a charging rate; and setting a current charging rate based on the charging tendency parameter.

[0006] In one embodiment, the interaction data includes one or more of the following data: the frequency of user viewing the screen, the screen switching frequency and the load switching frequency. The frequency of user viewing the screen, the screen switching frequency and the load switching frequency are all proportional to the charging tendency parameter. The screen switching frequency is the frequency of screen switching triggered by the terminal based on user operation. The load switching frequency is the frequency of switching between the first load state and the second load state based on user operation. The first load state is a state where the load is higher than a load threshold, and the second load state is a state where the load is lower than a load threshold.

[0007] In one implementation, when the interaction data includes the frequency of a user viewing a screen, obtaining the user's interaction data includes: determining the frequency of the user viewing the screen as a ratio of the number of times the user views the screen within a preset time to the preset time.

[0008] In one embodiment, when the interaction data includes a screen switching frequency, obtaining the user's interaction data includes: determining the screen switching frequency as the ratio of the number of screen-on and screen-off switching of the terminal screen within a preset time to the preset time.

[0009] In one embodiment, when the interaction data includes a load switching frequency, obtaining the user's interaction data includes: determining the load switching frequency as the ratio of the number of switching times of a terminal running an application from a first application to a second application within a preset time to the preset time, the first application corresponding to the first load, and the second application corresponding to the second load.

[0010] In one embodiment, determining the charging tendency parameter based on the interaction data includes: in response to the terminal being provided with an additional heat dissipation device, obtaining the additional heat dissipation data, the additional heat dissipation data being proportional to the charging tendency parameter; determining the charging tendency parameter based on the interaction data and the additional heat dissipation data.

[0011] In one embodiment, determining the charging tendency parameter based on the interaction data and the additional heat dissipation data includes: determining the value of each data in the interaction data, and determining the value of the additional heat dissipation data, and multiplying the value of each data by the value of the additional heat dissipation data to obtain the product as the charging tendency parameter.

[0012] In one embodiment, the charging tendency parameter is positively correlated with the charging rate of the terminal, and setting the current charging rate according to the charging tendency parameter includes: in response to the charging tendency parameter being higher than the charging tendency parameter determined last time, increasing the current charging rate based on the charging tendency parameter; in response to the charging tendency parameter being lower than the charging tendency parameter determined last time, reducing the current charging rate based on the charging tendency parameter.

[0013] In one embodiment, setting the current charging rate according to the charging tendency parameter includes: determining a charging current setting mode pre-configured for the terminal, and setting the current charging current according to the charging tendency parameter and the charging current setting mode, wherein the charging current setting mode pre-configured for the terminal includes a first charging current setting mode and a second charging current setting mode, wherein the first charging current setting mode is a charging current setting mode for adjusting the charging current in stages, and the second charging current setting mode is a charging current setting mode for linearly adjusting the charging current.

[0014] In one embodiment, setting the current charging current according to the charging tendency parameter and the charging current setting mode includes: in response to the pre-configured charging current setting mode being the first charging current setting mode, determining the charging tendency parameter range in which the charging tendency parameter is located, and determining the first adjustment parameter corresponding to the parameter range according to the correspondence between the charging tendency parameter range and the charging rate adjustment parameter; setting the current charging current according to the first adjustment parameter, the reference charging current of the terminal and the first charging current setting mode.

[0015] In one embodiment, setting the current charging current according to the charging tendency parameter and the charging current setting mode includes: in response to the pre-configured charging current setting mode being the second charging current setting mode, acquiring historical charging data to determine the charging current and charging time of the previous charge; in response to the charging current of the previous charge being within a preset current range, and the charging time of the previous charge being within a preset time range, setting the current charging current through the second charging current setting mode according to the average charging current of the previous charge, the benchmark charging current of the terminal, the charging tendency parameter, the first parameter and the second parameter, wherein the first parameter and the second parameter are preset constants.

[0016] According to a second aspect of an embodiment of the present disclosure, a charging device is provided, comprising: an acquisition unit, for acquiring interaction data between a user and a terminal in response to charging the terminal; a determination unit, for determining a charging tendency parameter based on the interaction data, wherein the charging tendency parameter represents the degree of demand of the user for the charging rate; and a setting unit, for setting a current charging rate based on the charging tendency parameter.

[0017] In one embodiment, the interaction data includes one or more of the following data: the frequency of user viewing the screen, the screen switching frequency and the load switching frequency. The frequency of user viewing the screen, the screen switching frequency and the load switching frequency are all proportional to the charging tendency parameter. The screen switching frequency is the frequency of screen switching triggered by the terminal based on user operation. The load switching frequency is the frequency of switching between the first load state and the second load state based on user operation. The first load state is a state where the load is higher than a load threshold, and the second load state is a state where the load is lower than a load threshold.

[0018] In one embodiment, when the interaction data includes the frequency of the user viewing the screen, the acquisition unit acquires the user's interaction data in the following manner: the ratio of the number of times the user views the screen within a preset time to the preset time is determined as the frequency of the user viewing the screen.

[0019] In one embodiment, when the interaction data includes a screen switching frequency, the acquisition unit acquires the user's interaction data in the following manner: the ratio of the number of screen-on and screen-off switching of the terminal screen within a preset time to the preset time is determined as the screen switching frequency.

[0020] In one embodiment, when the interaction data includes a load switching frequency, the acquisition unit acquires the user's interaction data in the following manner: the ratio of the number of switching times of a terminal running an application from a first application to a second application within a preset time to the preset time is determined as the load switching frequency, the first application corresponds to the first load, and the second application corresponds to the second load.

[0021] In one embodiment, the determination unit determines the charging tendency parameter according to the interaction data in the following manner: in response to the terminal being provided with an additional heat dissipation device, obtaining the additional heat dissipation data, wherein the additional heat dissipation data is proportional to the charging tendency parameter; and determining the charging tendency parameter according to the interaction data and the additional heat dissipation data.

[0022] In one embodiment, the determination unit determines the charging tendency parameter according to the interaction data and the additional heat dissipation data in the following manner: determine the value of each data in the interaction data, and determine the value of the additional heat dissipation data, and determine the product of multiplying the value of each data by the value of the additional heat dissipation data as the charging tendency parameter.

[0023] In one embodiment, the charging tendency parameter is positively correlated with the charging rate of the terminal, and the setting unit sets the current charging rate according to the charging tendency parameter in the following manner: in response to the charging tendency parameter being higher than the charging tendency parameter determined last time, the current charging rate is increased based on the charging tendency parameter; in response to the charging tendency parameter being lower than the charging tendency parameter determined last time, the current charging rate is reduced based on the charging tendency parameter.

[0024] In one embodiment, the setting unit sets the current charging rate according to the charging tendency parameter in the following manner: determining the charging current setting method pre-configured by the terminal, and setting the current charging current according to the charging tendency parameter and the charging current setting method, the charging current setting method pre-configured by the terminal includes a first charging current setting method and a second charging current setting method, the first charging current setting method is a charging current setting method for adjusting the charging current in stages, and the second charging current setting method is a charging current setting method for linearly adjusting the charging current.

[0025] In one embodiment, the setting unit sets the current charging current according to the charging tendency parameter and the charging current setting method in the following manner: in response to the pre-configured charging current setting method being the first charging current setting method, determining the charging tendency parameter range in which the charging tendency parameter is located, and determining the first adjustment parameter corresponding to the parameter range according to the correspondence between the charging tendency parameter range and the charging rate adjustment parameter; setting the current charging current according to the first adjustment parameter, the reference charging current of the terminal and the first charging current setting method.

[0026] In one embodiment, the setting unit sets the current charging current according to the charging tendency parameter and the charging current setting method in the following manner: in response to the pre-configured charging current setting method being the second charging current setting method, obtaining historical charging data to determine the charging current and charging time of the previous charge; in response to the charging current of the previous charge being within a preset current range, and the charging time of the previous charge being within a preset time range, the current charging current is set through the second charging current setting method according to the average charging current of the previous charge, the benchmark charging current of the terminal, the charging tendency parameter, the first parameter and the second parameter, wherein the first parameter and the second parameter are preset constants.

[0027] According to a third aspect of an embodiment of the present disclosure, a charging device is provided, comprising: a processor; and a memory for storing processor executable instructions; wherein the processor is configured to: execute the charging method described in the first aspect or any one of the embodiments of the first aspect.

[0028] According to a fourth aspect of an embodiment of the present disclosure, a storage medium is provided, in which instructions are stored. When the instructions in the storage medium are executed by a processor, the processor is enabled to execute the charging method described in the first aspect or any one of the embodiments of the first aspect.

[0029] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: when charging the terminal, the user's interactive actions on the terminal are detected and the corresponding interactive data are obtained. The charging tendency parameter is determined based on the interactive data. After the charging tendency parameter is obtained, the current charging rate is set according to the charging tendency parameter. Through the present disclosure, in the scenario where the user uses the terminal and charges the terminal, the user's interactive behavior on the terminal can be used to judge the user's demand for the terminal charging speed, and then adjust the charging speed to meet the user's usage habits, thereby realizing intelligent charging.

[0030] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0032] Figure 1 The figure is a flow chart of a charging method according to an exemplary embodiment.

[0033] Figure 2 The invention is a flow chart showing a method for determining a charging tendency parameter according to an exemplary embodiment.

[0034] Figure 3 The invention is a flow chart showing a method for determining a charging tendency parameter according to an exemplary embodiment.

[0035] Figure 4 The figure is a flow chart showing a method for setting a current charging current according to an exemplary embodiment.

[0036] Figure 5 The figure is a flow chart showing a method for setting a charging current according to an exemplary embodiment.

[0037] Figure 6 The figure is a flow chart showing a method for setting a current charging current according to an exemplary embodiment.

[0038] Figure 7 The figure is a flow chart showing a method for setting a charging current according to an exemplary embodiment of the present disclosure.

[0039] Figure 8 The figure is a flow chart showing a method for setting a charging current according to an exemplary embodiment.

[0040] Fig. 9 is a block diagram of a charging device according to an exemplary embodiment.

[0041] Fig.10 The invention is a block diagram of a device for charging according to an exemplary embodiment. DETAILED DESCRIPTION

[0042] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present disclosure.

[0043] The charging method provided by the embodiments of the present disclosure is applied to a scenario in which a user charges a terminal while using the terminal.

[0044] Portable smart terminals such as mobile phones have become indispensable devices for users in life, work, and entertainment. Due to the usage habits or usage needs of some terminal users, users often charge the terminals while using them. For example, occupations such as long-distance truck drivers, deliverymen, and couriers require the terminals to be in long-term use based on the need to use navigation functions. In order to ensure the long-term standby time of the terminal, it is necessary to power the terminal while the terminal is in use. For example, in entertainment scenarios such as watching dramas and playing games for a long time, it is also necessary to power the terminal while the terminal is in use. In the above different scenarios, users have different requirements for terminal charging rates.

[0045] The charging rate adjustment method in the related art mainly sets the terminal charging rate based on the device status (such as temperature) of the terminal and the charger, without considering the user's demand for the charging rate when the terminal is in the charging state and the user is using the terminal. In addition, in the related art, the maximum charging rate is used only when the terminal is not in use and in the screen-off state. When the user is using the terminal, the terminal is in the screen-on state, and the standard charging mode is often exited, reducing the charging rate of the terminal and affecting the user's experience.

[0046] In view of this, the present disclosure proposes a charging method, which monitors the user's interaction data with the terminal during the terminal charging process, determines the charging tendency parameters based on the monitored interaction data, and sets the charging current according to the obtained charging tendency parameters. By setting the charging strategy according to the user's behavior, the charging rate of the terminal when being used is consistent with the user's usage habits, meets the user's demand for charging rate, and realizes intelligent charging.

[0047] Figure 1 FIG. 1 is a flow chart of a charging method according to an exemplary embodiment. Figure 1 As shown, the method includes steps S101 to S103.

[0048] In step S101, in response to charging the terminal, interaction data between the user and the terminal is obtained.

[0049] In step S102, a charging tendency parameter is determined according to the interaction data.

[0050] Among them, the charging tendency parameter represents the user's demand for charging rate.

[0051] In step S103, the current charging rate is set according to the charging tendency parameter.

[0052] In the disclosed embodiment, after the terminal enters the charging state, the terminal monitors the user's interaction data with the terminal, and determines the charging tendency parameters that characterize the user's charging needs based on the interaction data obtained by monitoring the user's interaction behavior. After obtaining the charging tendency parameters, the charging current is set in real time based on the obtained charging tendency parameters to meet the user's charging needs. This disclosure adjusts the charging strategy according to the user's behavior during the charging process, so that the charging rate of the terminal in the used state meets the user's usage habits, meets the user's demand for charging rate, and realizes intelligent charging.

[0053] It is understandable that there are many forms of user interaction with the terminal, such as lighting up the screen of the terminal device, viewing the screen display content, switching applications, etc. The following embodiments of the present disclosure illustrate the interaction data.

[0054] In one implementation of the disclosed embodiment, the interaction data includes one or more of the following data: the frequency of the user viewing the screen, the screen switching frequency and the load switching frequency. The frequency of the user viewing the screen, the screen switching frequency and the load switching frequency are all proportional to the charging tendency parameter. The screen switching frequency is the frequency of the screen switching triggered by the terminal based on the user operation. The load switching frequency is the frequency of the terminal switching between the first load state and the second load state based on the user operation. The first load state is a state where the load is higher than the load threshold, and the second load state is a state where the load is lower than the load threshold.

[0055] In the embodiments of the present disclosure, the frequency of the user checking the screen, the switching frequency of the terminal high and low loads, and the switching frequency of the terminal screen on and off can all reflect the user's demand for using the terminal and indirectly reflect the user's demand for the charging rate. The higher the frequency of the above user interaction behaviors, the higher the user's demand for the terminal, and correspondingly, the higher the user's demand for the charging rate.

[0056] In the embodiments of the present disclosure, it is necessary to detect the interaction behaviors of various users, obtain the interaction data corresponding to the various interaction behaviors, and then determine the charging tendency parameters and adjust the charging rate. The following embodiments of the present disclosure illustrate the method of obtaining user interaction data.

[0057] In one implementation of the disclosed embodiment, when the interaction data includes the frequency of the user viewing the screen, obtaining the user's interaction data includes: determining the frequency of the user viewing the screen as the ratio of the number of times the user views the screen within a preset time to the preset time.

[0058] In an exemplary embodiment of the present disclosure, the following method is used to obtain the user's screen viewing frequency: when the terminal is in a charging state, the camera is within an angle θ and a radius d, and human eye detection is performed. The number of times the user views the screen within time T0 is recorded, and the user's screen viewing frequency α is determined based on the ratio of N to T0, that is,

[0059] In one implementation of the disclosed embodiment, when the interaction data includes screen switching frequency, obtaining the user's interaction data includes: determining the screen switching frequency as the ratio of the number of screen-on and screen-off switching of the terminal screen within a preset time to the preset time.

[0060] In an exemplary embodiment of the present disclosure, the screen switching frequency is determined in the following manner: when the mobile device is in a charging state, the number of times the user's screen switches on and off within a time period T0 is recorded, and the ratio of N1 to T0 is determined as a fixed screen switching frequency β, that is,

[0061] In one implementation of the disclosed embodiment, when the interaction data includes a load switching frequency, obtaining the user's interaction data includes: determining the load switching frequency as the ratio of the number of switching times of a terminal running an application from a first application to a second application within a preset time to the preset time, the first application corresponding to a first load, and the second application corresponding to a second load.

[0062] The first application is an application whose running load is higher than a load threshold, and the second application is an application whose running load is lower than the threshold.

[0063] In an exemplary embodiment of the present disclosure, the load switching frequency is determined in the following manner: record gaming, video recording and other scenes as heavy load scenes, and other scenes as light load scenes, and record the number of times N2 that the heavy load is switched to the light load within T0 in the charging state. The ratio of N2 to T0 is determined as the load switching frequency ε, that is,

[0064] In the disclosed embodiment, the frequency of the user viewing the screen is detected by the terminal's inherent sensor element (visual sensor), the switching frequency of the screen switching generated by the user's interactive behavior is monitored by the built-in monitoring program, and the switching frequency of the load switching generated by the user's interactive behavior is monitored, and the frequency of the user viewing the screen, the screen switching frequency and the load switching frequency are used as interaction data. The above-mentioned interaction data can reflect the user's demand for the charging rate, so that the charging tendency parameters determined based on the interaction data can also reflect the user's demand for the terminal charging rate, so that the charging rate set based on the charging tendency parameters is consistent with the user's charging demand, and the charging rate of the terminal when it is in use is consistent with the user's habits.

[0065] It is understandable that some users often set up additional heat dissipation devices for the terminal to ensure that the terminal runs at high performance when using the terminal. When the heat dissipation device is running, the device temperature of the terminal is reduced. At this time, the charging rate of the terminal can be adaptively improved. In view of this, when the terminal is provided with an additional heat dissipation device, the present disclosure also obtains the data of the heat dissipation device and uses it to adjust the charging rate. The following embodiments of the present disclosure illustrate the method for obtaining additional heat dissipation data.

[0066] Figure 2 FIG. 1 is a flow chart showing a method for determining a charging tendency parameter according to an exemplary embodiment. Figure 2 As shown, the method includes step S201 to step S202.

[0067] In step S201, in response to the terminal being provided with an additional heat dissipation device, additional heat dissipation data is acquired.

[0068] Among them, the additional heat dissipation data is proportional to the charging tendency parameter.

[0069] In the embodiment of the present disclosure, the additional heat dissipation data is data characterizing the heat dissipation capacity of the additional heat dissipation device, and the value of the additional heat dissipation data is positively correlated with the heat dissipation capacity of the additional heat dissipation device. In one example, the product of the heat dissipation power and the heat dissipation area of ​​the heat dissipation device can be obtained as the additional heat dissipation data.

[0070] In step S202, a charging tendency parameter is determined according to the interaction data and the additional heat dissipation data.

[0071] In the embodiment of the present disclosure, the product of the heat dissipation power and the heat dissipation area of ​​the additional heat dissipation device is determined as the additional heat dissipation data. It can be understood that the heat dissipation power and the heat dissipation area of ​​the additional heat dissipation device are positively correlated with its heat dissipation capacity. Considering the impact of the device temperature on the terminal charging rate, the heat dissipation power and the heat dissipation area of ​​the additional heat dissipation device are indirectly positively correlated with the charging rate of the terminal.

[0072] In the embodiment of the present disclosure, by obtaining additional heat dissipation data characterizing the heat dissipation capacity of the additional heat dissipation device when the terminal is in a charging state and is provided with an additional heat dissipation device, the additional heat dissipation data can be added to the data used to obtain the charging tendency parameters, so that the charging rate set based on the charging tendency parameters is more in line with the actual state of the terminal device, and the charging rate of the terminal is adaptively improved when the terminal is provided with an additional heat dissipation device, thereby improving the user experience.

[0073] In an exemplary embodiment of the present disclosure, after determining that the terminal adds additional heat dissipation measures, the additional heat dissipation data is determined in the following manner: determine the heat dissipation power P, and determine the heat dissipation area k0, and determine the product of the heat dissipation power and the heat dissipation area as the additional heat dissipation data γ, that is, γ=k0*P.

[0074] In an exemplary embodiment of the present disclosure, various user interaction data are obtained, including: user screen viewing frequency α, screen switching frequency β and load switching frequency ε, and additional heat dissipation data γ is obtained, and the product of the numerical values ​​of each data is determined as the charging tendency parameter, that is, E=α*γ*β*ε.

[0075] In an exemplary embodiment of the present disclosure, when the terminal is additionally provided with an external heat dissipation device, the heat dissipation device data corresponding to the device tag of the external heat dissipation device may be retrieved based on the device tag of the external heat dissipation device to obtain the additional heat dissipation data.

[0076] In the embodiments of the present disclosure, the user's interactive actions on the terminal are limited, and only some interactive actions may be performed. Therefore, when the terminal detects the user's interactive data, it will obtain one or more of the interactive data listed above, and based on the user's personal needs, it can choose to set an additional heat dissipation device or not set an additional heat dissipation device. Therefore, the acquisition of additional heat dissipation data is also an uncertain item. Based on the uncertainty of data acquisition, the present disclosure determines the charging tendency parameter based on the actual acquired data. The following embodiments of the present disclosure illustrate the method for obtaining the charging tendency parameter.

[0077] Figure 3 FIG. 1 is a flow chart showing a method for determining a charging tendency parameter according to an exemplary embodiment. Figure 3 As shown, the method includes step S301 to step S302.

[0078] In step S301, the value of each item of data in the interactive data is determined, and the value of the additional heat dissipation data is determined.

[0079] In step S302, the product obtained by multiplying the value of each data with the value of the additional heat dissipation data is determined as the charging tendency parameter.

[0080] In the embodiments of the present disclosure, parameters such as the screen viewing frequency, screen switching frequency, and load switching frequency all represent the user's demand for charging rate, and the additional heat dissipation data will also indirectly affect the device status, allowing the device to support a higher charging rate. The charging tendency parameters in the present disclosure include the above parameters. The present disclosure sets the charging current and adjusts the charging rate through the charging tendency parameters. The charging rate set based on the charging tendency parameters meets the user's usage requirements and the device status of the terminal device, thereby improving the user's usage experience.

[0081] In the embodiments of the present disclosure, the charging tendency parameter is positively correlated with the charging rate of the terminal. The following embodiments of the present disclosure illustrate a method for adjusting the charging rate based on the charging tendency parameter.

[0082] Figure 4FIG. 1 is a flow chart showing a method for setting a current charging current according to an exemplary embodiment. Figure 4 As shown, the method includes step S401, step S402A and step S402B.

[0083] In step S401 , a charging tendency parameter is determined.

[0084] In step S402A, in response to the charging tendency parameter being higher than the previously determined charging tendency parameter, the current charging rate is increased based on the charging tendency parameter.

[0085] In step S402B, in response to the charging tendency parameter being lower than the previously determined charging tendency parameter, the current charging rate is reduced based on the charging tendency parameter.

[0086] In the embodiment of the present disclosure, the charging tendency parameter characterizes the demand for charging efficiency and is positively correlated with the charging rate when the charging rate is adjusted. In the present disclosure, during the charging process, the charging tendency parameter is determined once at every predetermined time interval. When the current charging tendency parameter is higher than the charging tendency parameter determined last time, it is ensured that the user's demand for the charging rate increases, so the current charging rate is increased based on the current charging tendency parameter. Similarly, when the current charging tendency parameter is lower than the charging tendency parameter determined last time, it is ensured that the user's demand for the charging rate decreases, so the current charging rate is reduced based on the current charging tendency parameter. In summary, the charging rate adjustment method based on the charging tendency parameter in the present disclosure ensures that the charging rate of the terminal meets the user's usage requirements and improves the user's usage experience.

[0087] In the embodiments of the present disclosure, in order to meet the diverse needs of users, two modes of adjusting the charging rate based on the charging tendency parameter are respectively set. The following embodiments of the present disclosure illustrate the method of adjusting the charging rate based on the charging tendency parameter.

[0088] Figure 5 FIG. 1 is a flow chart showing a method for setting a current charging current according to an exemplary embodiment. Figure 5 As shown, the method includes step S501 to step S502.

[0089] In step S501, a charging current setting mode pre-configured in the terminal is determined.

[0090] In step S502, the current charging current is set according to the charging tendency parameter and the charging current setting mode.

[0091] Among them, the charging current setting mode pre-configured by the terminal includes a first charging current setting mode and a second charging current setting mode. The first charging current setting mode is a charging current setting mode for adjusting the charging current in stages, and the second charging current setting mode is a charging current setting mode for linearly adjusting the charging current.

[0092] In the embodiment of the present disclosure, the terminal pre-sets two different charging current setting modes for adjusting the charging current in stages and for linearly adjusting the charging current to adapt to terminals equipped with different processors. It is understandable that the default factory setting of the terminal will select one of the above two charging devices as the default charging current setting mode, and the user can reset the charging current setting mode based on personal usage habits. The present disclosure meets the diverse needs of users and improves the user experience by setting two modes for adjusting the charging rate based on the charging tendency parameters.

[0093] The following embodiments of the present disclosure illustrate a method for adjusting a charging current based on a first charging current setting mode.

[0094] Figure 6 FIG. 1 is a flow chart showing a method for setting a charging current according to an exemplary embodiment. Figure 6 As shown, the method includes step S601 to step S602.

[0095] In step S601, in response to the pre-configured charging current setting mode being the first charging current setting mode, the charging tendency parameter range in which the charging tendency parameter is located is determined, and based on the correspondence between the charging tendency parameter range and the charging rate adjustment parameter, the first adjustment parameter corresponding to the parameter range is determined.

[0096] In step S602, the current charging current is set according to the first adjustment parameter, the reference charging current of the terminal and the first charging current setting mode.

[0097] In the embodiment of the present disclosure, the terminal is preset with multiple charging tendency parameter ranges, and each charging tendency parameter range corresponds to a different adjustment parameter. During the terminal charging process, after obtaining the charging tendency parameter, the parameter range in which the charging tendency parameter is located is determined, and the adjustment parameter (first adjustment parameter) for adjusting the charging rate corresponding to the parameter range is determined according to the correspondence between the charging tendency parameter range and the charging rate adjustment parameter, and then the charging current is adjusted according to the adjustment parameter. Through the present disclosure, the charging rate of the terminal is adjusted in a gradient manner based on the charging tendency parameter, so that the charging rate of the terminal in the used state conforms to the user's usage habits, meets the user's demand for the charging rate, and realizes intelligent charging.

[0098] In an exemplary embodiment of the present disclosure, the first charging current setting method is:

[0099] I=(m-1)*I0 / m

[0100] Wherein, I is the current charging current, m is the first adjustment parameter, and I0 is the reference charging current.

[0101] In an exemplary embodiment of the present disclosure, the charging current is set by using the above first charging current setting method (I=(m - 1)*I0 / m) to charge the terminal. As Figure 7 shown in the flowchart of the method for setting the charging current, the present disclosure sets the charging current in the following manner: in response to starting to charge the terminal, detecting the interaction data of the user with the terminal (including: obtaining one or more of the frequency of the user viewing the screen, the switching frequency of the terminal screen, and the switching frequency of the terminal switching from heavy load to light load), the external heat dissipation data (the product of the heat dissipation area and the heat dissipation power) when the terminal is provided with external heat dissipation, multiplying the data obtained from the above interaction data and external heat dissipation data to obtain the current charging tendency parameter E, and then determining the parameter range in which the current charging tendency parameter E is located (including: less than or equal to E0, E0 to E1, E1 to E2... En - 1 to En). In the exemplary embodiment of the present disclosure, the traversal method is used to compare each interval one by one from low to high to determine the parameter range in which the current charging tendency parameter E is located, and determine the corresponding current adjustment parameter (including m1 to m n ), and set the charging current through a preset current setting method according to the determined current adjustment parameter: determine whether the current charging tendency parameter is in the range less than E0 (If E≤E0), if so, charge using the standard charging strategy and set the charging current to the standard charging current (If E≤E0). If not, enter the next determination, determine whether the current charging tendency parameter is in E0<E≤E1 (If E0<E≤E1), if so, charge using charging strategy 1, set the adjustment parameter to m1, and set the charging current through a preset current setting method (I=(m1 - 1)*I0 / m1). In the case where the logical judgment is always negative, loop the above process until it is determined that the current charging tendency parameter is in a certain parameter range, and set the charging current using the adjustment parameter corresponding to the parameter range through a preset current setting method. In the case where the logical judgment is always negative, loop the above process. If the current charging tendency parameter is not in any preset parameter range, end the current current setting process. In this case, it can be considered that the parameter acquisition is incorrect, and the charging current determined by the previous current setting process can be used as the current charging current without adjusting the current.

[0102] The following embodiments of the present disclosure illustrate the method for adjusting the charging current based on the second charging current setting mode.

[0103] Figure 8 is a flowchart of a method for setting a charging current shown according to an exemplary embodiment. As Figure 8 shown, the method includes step S701 to step S702.

[0104] In step S701, in response to the pre-configured charging current setting mode being the second charging current setting mode, historical charging data is acquired to determine the charging current and charging time of the previous charging.

[0105] In step S702, in response to the charging current of the previous charge being within the preset current range and the charging time of the previous charge being within the preset time range, the current charging current is set according to the average charging current of the previous charge, the benchmark charging current of the terminal, the charging tendency parameter, the first parameter and the second parameter through the second charging current setting method.

[0106] The first parameter and the second parameter are preset constants.

[0107] In an exemplary embodiment of the present disclosure, the second charging current setting is configured in the following manner:

[0108] Determine the charging current range [Imin, Imax] (Imin is the minimum charging current, Imax is the maximum charging current) and the charging time range [tmin, tmax] (tmin is the minimum charging time, tmax is the maximum charging time) when the terminal is charging. After determining the charging tendency parameter E, set the intelligent charging current to: It = k*E*I0, where k is the second parameter and I0 is the reference charging current.

[0109] Record the charging data of the last charging of the mobile terminal device, that is, the charging current I' and time t. When the charging current and charging time satisfy I'∈[Imin,Imax], t∈[tmin,tmax]. Record the data as historical available data, and retain the average charging current Iave of the previous charging to adjust the charging strategy.

[0110] During actual charging, if the terminal historical charging data is available, the charging current is set to: In = a*It + (1-a)*Iave, a∈[0,1], that is, the second charging current setting method is:

[0111] In=a*k*E*I0+(1-a)*Iave,a∈[0,1]

[0112] Wherein, a is the first parameter, k is the second parameter, a and k are both adjustable constants, E is the charging tendency parameter, I0 is the reference charging current, and Iave is the average charging current of the previous charge. In one embodiment, the constants can be configured according to experimental results.

[0113] In the disclosed embodiment, historical charging data and charging tendency parameters are used as parameters of the formula for determining the charging current to linearly adjust the charging current of the terminal device. Combined with the user's charging behavior habits and emotional tendencies during charging, a user-personalized charging strategy is proposed to better meet the user's personal charging needs.

[0114] In the embodiment of the present disclosure, when the terminal is in a charging state, the interactive data generated based on the interactive behavior with the terminal is monitored, and the additional heat dissipation data is determined when the terminal is provided with additional heat dissipation measures, and then the charging tendency parameter is determined according to the data interaction data and the data obtained from the additional heat dissipation data. After determining the charging tendency parameter, the parameter range of the charging tendency parameter is determined, and the adjustment parameter (first adjustment parameter) for adjusting the charging rate corresponding to the parameter range is determined according to the corresponding relationship between the charging tendency parameter range and the charging rate adjustment parameter, and then the charging current is adjusted according to the adjustment parameter, or the charging current of the terminal device is linearly adjusted by using the historical charging data and the charging tendency parameter as the parameters of the formula for determining the charging current. In summary, the present disclosure proposes a solution for judging the user's charging emotional tendency according to the user's complex behavior, and the user's demand for charging speed can be estimated through the user's behavior, thereby providing a basis for better intelligent charging management in the next step. A multi-speed intelligent charging strategy based on the emotional tendency of the charging user is proposed, which intelligently divides the user's charging demand type, thereby realizing intelligent charging, and can realize intelligent charging for users with different types of emotions. Combining the user's charging behavior habits and emotional tendencies during charging, a user personalized charging strategy is proposed, which is more in line with the user's personal charging needs.

[0115] Based on the same concept, the embodiment of the present disclosure further provides a charging device 100 .

[0116] It is understandable that the charging device 100 provided in the embodiment of the present disclosure includes hardware structures and / or software modules corresponding to the execution of each function in order to realize the above functions. In combination with the units and algorithm steps of each example disclosed in the embodiment of the present disclosure, the embodiment of the present disclosure can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the technical solution of the embodiment of the present disclosure.

[0117] Fig. 9 is a block diagram of a charging device 100 according to an exemplary embodiment. Fig. 9 The device includes an acquiring unit 101, a determining unit 102 and a setting unit 103.

[0118] The acquisition unit 101 is configured to acquire interaction data between a user and a terminal in response to charging the terminal.

[0119] The determination unit 102 is used to determine a charging tendency parameter according to the interaction data, where the charging tendency parameter represents the user's demand for the charging rate.

[0120] The setting unit 103 is used to set the current charging rate according to the charging tendency parameter.

[0121] In one embodiment, the interaction data includes one or more of the following data: the frequency of the user viewing the screen, the screen switching frequency and the load switching frequency. The frequency of the user viewing the screen, the screen switching frequency and the load switching frequency are all proportional to the charging tendency parameter. The screen switching frequency is the frequency of the screen switching triggered by the terminal based on the user operation. The load switching frequency is the frequency of the terminal switching between the first load state and the second load state based on the user operation. The first load state is a state where the load is higher than the load threshold, and the second load state is a state where the load is lower than the load threshold.

[0122] In one implementation, when the interaction data includes the frequency of the user viewing the screen, the acquisition unit 101 acquires the user interaction data in the following manner: the ratio of the number of times the user views the screen within a preset time to the preset time is determined as the frequency of the user viewing the screen.

[0123] In one implementation, when the interaction data includes screen switching frequency, the acquisition unit 101 acquires the user's interaction data in the following manner: the ratio of the number of screen-on and screen-off switching of the terminal screen within a preset time to the preset time is determined as the screen switching frequency.

[0124] In one embodiment, when the interaction data includes a load switching frequency, the acquisition unit 101 acquires the user's interaction data in the following manner: the ratio of the number of switching times of the terminal running application from the first application to the second application within a preset time to the preset time is determined as the load switching frequency, the first application corresponds to the first load, and the second application corresponds to the second load.

[0125] In one embodiment, the determination unit 102 determines the charging tendency parameter according to the interaction data in the following manner: in response to the terminal being provided with an additional heat dissipation device, obtaining additional heat dissipation data, the additional heat dissipation data being proportional to the charging tendency parameter. The charging tendency parameter is determined according to the interaction data and the additional heat dissipation data.

[0126] In one embodiment, the determination unit 102 determines the charging tendency parameter based on the interaction data and the additional heat dissipation data in the following manner: determine the value of each data in the interaction data, and determine the value of the additional heat dissipation data, and determine the product of multiplying the value of each data with the value of the additional heat dissipation data as the charging tendency parameter.

[0127] In one implementation, the charging tendency parameter is positively correlated with the charging rate of the terminal, and the setting unit 103 sets the current charging rate according to the charging tendency parameter in the following manner: in response to the charging tendency parameter being higher than the charging tendency parameter determined last time, the current charging rate is increased based on the charging tendency parameter. In response to the charging tendency parameter being lower than the charging tendency parameter determined last time, the current charging rate is reduced based on the charging tendency parameter.

[0128] In one implementation, the setting unit 103 sets the current charging rate according to the charging tendency parameter in the following manner: determining a charging current setting method pre-configured for the terminal, and setting the current charging current according to the charging tendency parameter and the charging current setting method. The charging current setting method pre-configured for the terminal includes a first charging current setting method and a second charging current setting method. The first charging current setting method is a charging current setting method for adjusting the charging current in stages, and the second charging current setting method is a charging current setting method for linearly adjusting the charging current.

[0129] In one implementation, the setting unit 103 sets the current charging current according to the charging tendency parameter and the charging current setting mode in the following manner: in response to the pre-configured charging current setting mode being the first charging current setting mode, determining the charging tendency parameter range in which the charging tendency parameter is located, and determining the first adjustment parameter corresponding to the parameter range according to the corresponding relationship between the charging tendency parameter range and the charging rate adjustment parameter. The current charging current is set according to the first adjustment parameter, the reference charging current of the terminal, and the first charging current setting mode.

[0130] In one embodiment, the setting unit 103 sets the current charging current according to the charging tendency parameter and the charging current setting mode in the following manner: in response to the pre-configured charging current setting mode being the second charging current setting mode, historical charging data is acquired to determine the charging current and charging time of the previous charging. In response to the charging current of the previous charging being within a preset current range, and the charging time of the previous charging being within a preset time range, the current charging current is set according to the average charging current of the previous charging, the reference charging current of the terminal, the charging tendency parameter, the first parameter, and the second parameter through the second charging current setting mode, where the first parameter and the second parameter are preset constants.

[0131] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0132] Fig.10 2 is a block diagram of a device 200 for charging according to an exemplary embodiment. The device 200 may be provided as a terminal. For example, the device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0133] Reference Fig.10 , the device 200 may include one or more of the following components: a processing component 202 , a memory 204 , a power component 206 , a multimedia component 208 , an audio component 210 , an input / output (I / O) interface 212 , a sensor component 214 , and a communication component 216 .

[0134] The processing component 202 generally controls the overall operation of the device 200, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 202 may include one or more processors 220 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 202 may include one or more modules to facilitate interaction between the processing component 202 and other components. For example, the processing component 202 may include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.

[0135] The memory 204 is configured to store various types of data to support operations on the device 200. Examples of such data include instructions for any application or method operating on the device 200, contact data, phone book data, messages, pictures, videos, etc. The memory 204 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0136] The power component 206 provides power to the various components of the device 200. The power component 206 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 200.

[0137] The multimedia component 208 includes a screen that provides an output interface between the device 200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front camera and / or a rear camera. When the device 200 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0138] The audio component 210 is configured to output and / or input audio signals. For example, the audio component 210 includes a microphone (MIC), and when the device 200 is in an operation mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 204 or sent via the communication component 216. In some embodiments, the audio component 210 also includes a speaker for outputting audio signals.

[0139] I / O interface 212 provides an interface between processing component 202 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0140] The sensor assembly 214 includes one or more sensors for providing various aspects of the status assessment of the device 200. For example, the sensor assembly 214 can detect the open / closed state of the device 200, the relative positioning of components, such as the display and keypad of the device 200, the sensor assembly 214 can also detect the position change of the device 200 or a component of the device 200, the presence or absence of user contact with the device 200, the orientation or acceleration / deceleration of the device 200 and the temperature change of the device 200. The sensor assembly 214 can include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 can also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 can also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0141] The communication component 216 is configured to facilitate wired or wireless communication between the device 200 and other devices. The device 200 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0142] In an exemplary embodiment, the apparatus 200 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0143] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 204 including instructions, and the instructions can be executed by the processor 220 of the device 200 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0144] It is to be understood that in the present disclosure, "plurality" refers to two or more than two, and other quantifiers are similar. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship. The singular forms "a", "the" and "the" are also intended to include plural forms, unless the context clearly indicates other meanings.

[0145] It is further understood that the terms "first", "second", etc. are used to describe various information, but such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other, and do not indicate a specific order or degree of importance. In fact, the expressions "first", "second", etc. can be used interchangeably. For example, without departing from the scope of the present disclosure, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

[0146] It will be further understood that the terms “center”, “longitudinal”, “lateral”, “front”, “back”, “up”, “down”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present embodiment and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation.

[0147] It can be further understood that, unless otherwise specified, “connection” includes a direct connection without other components between the two, and also includes an indirect connection with other components between the two.

[0148] It is further understood that, although the operations are described in a specific order in the drawings in the embodiments of the present disclosure, it should not be understood as requiring the operations to be performed in the specific order shown or in a serial order, or requiring the execution of all the operations shown to obtain the desired results. In certain environments, multitasking and parallel processing may be advantageous.

[0149] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present solution, which follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure.

[0150] It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the scope of the appended claims.

Claims

1. A charging method, characterized in that: include: In response to charging the terminal, acquiring interaction data between the user and the terminal; Determining a charging tendency parameter according to the interaction data, wherein the charging tendency parameter represents the user's demand for charging rate; The current charging rate is set according to the charging tendency parameter.

2. The method according to claim 1, characterized in that The interaction data includes one or more of the following data: the frequency of the user viewing the screen, the screen switching frequency and the load switching frequency, The frequency of the user viewing the screen, the screen switching frequency and the load switching frequency are all proportional to the charging tendency parameter. The screen switching frequency is the frequency of screen switching triggered by the terminal based on user operations. The load switching frequency is the frequency at which the terminal switches between a first load state and a second load state based on a user operation, wherein the first load state is a state in which the load is higher than a load threshold, and the second load state is a state in which the load is lower than a load threshold.

3. The method according to claim 2, characterized in that In the case where the interaction data includes the frequency of the user viewing the screen, the acquiring the user's interaction data includes: The ratio of the number of times the user views the screen within a preset time to the preset time is determined as the frequency of the user viewing the screen.

4. The method according to claim 2, characterized in that: In the case where the interaction data includes screen switching frequency, the acquiring the user's interaction data includes: The screen switching frequency is determined by the ratio of the number of times the terminal screen switches between the on screen and the off screen within the preset time to the preset time.

5. The method according to claim 2, characterized in that: In a case where the interaction data includes a load switching frequency, the acquiring the interaction data of the user includes: The ratio of the number of times the terminal runs an application switching from a first application to a second application within a preset time to the preset time is determined as the load switching frequency, the first application corresponds to the first load, and the second application corresponds to the second load.

6. The method according to claim 1, characterized in that Determining a charging tendency parameter according to the interaction data includes: In response to the terminal being provided with an additional heat dissipation device, acquiring the additional heat dissipation data, wherein the additional heat dissipation data is proportional to the charging tendency parameter; A charging tendency parameter is determined based on the interaction data and the additional heat dissipation data.

7. The method according to claim 6, characterized in that Determining the charging tendency parameter according to the interaction data and the additional heat dissipation data includes: Determine the value of each item of data in the interactive data, determine the value of the additional heat dissipation data, and determine the product obtained by multiplying the value of each item of data by the value of the additional heat dissipation data as the charging tendency parameter.

8. The method according to claim 1, characterized in that: The charging tendency parameter is positively correlated with the charging rate of the terminal. The step of setting the current charging rate according to the charging tendency parameter includes: In response to the charging tendency parameter being higher than a previously determined charging tendency parameter, increasing a current charging rate based on the charging tendency parameter; In response to the charging tendency parameter being lower than a previously determined charging tendency parameter, a current charging rate is reduced based on the charging tendency parameter.

9. The method according to claim 1 or 8, characterized in that: The step of setting the current charging rate according to the charging tendency parameter includes: determining a charging current setting mode pre-configured in the terminal, and setting a current charging current according to the charging tendency parameter and the charging current setting mode, The charging current setting mode pre-configured by the terminal includes a first charging current setting mode and a second charging current setting mode, the first charging current setting mode is a charging current setting mode for adjusting the charging current in stages, and the second charging current setting mode is a charging current setting mode for linearly adjusting the charging current.

10. The method according to claim 9, characterized in that The step of setting the current charging current according to the charging tendency parameter and the charging current setting method includes: In response to the preconfigured charging current setting mode being the first charging current setting mode, determining a charging tendency parameter range in which the charging tendency parameter is located, and determining a first adjustment parameter corresponding to the parameter range according to a correspondence between the charging tendency parameter range and the charging rate adjustment parameter; The current charging current is set according to the first adjustment parameter, the reference charging current of the terminal and the first charging current setting method.

11. The method according to claim 9, characterized in that The step of setting the current charging current according to the charging tendency parameter and the charging current setting method includes: In response to the preconfigured charging current setting mode being the second charging current setting mode, acquiring historical charging data to determine the charging current and charging time of a previous charge; In response to the charging current of the previous charge being within a preset current range and the charging time of the previous charge being within a preset time range, the current charging current is set according to the average charging current of the previous charge, the benchmark charging current of the terminal, the charging tendency parameter, the first parameter and the second parameter through the second charging current setting method, and the first parameter and the second parameter are preset constants.

12. A charging device, characterized in that: include: an acquisition unit, configured to acquire interaction data between a user and the terminal in response to charging the terminal; a determining unit, configured to determine a charging tendency parameter according to the interaction data, wherein the charging tendency parameter represents a user's demand for a charging rate; The setting unit is used to set the current charging rate according to the charging tendency parameter.

13. A charging device, characterized in that: include: processor: a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the charging method according to any one of claims 1 to 11.

14. A storage medium, characterized in that: The storage medium stores instructions, and when the instructions in the storage medium are executed by a processor, the processor is enabled to execute the charging method according to any one of claims 1 to 11.