CN114512731A - Charging method and system for electronic equipment, electronic device and storage medium - Google Patents

Charging method and system for electronic equipment, electronic device and storage medium Download PDF

Info

Publication number
CN114512731A
CN114512731A CN202011283181.5A CN202011283181A CN114512731A CN 114512731 A CN114512731 A CN 114512731A CN 202011283181 A CN202011283181 A CN 202011283181A CN 114512731 A CN114512731 A CN 114512731A
Authority
CN
China
Prior art keywords
charging
value
charging speed
electronic equipment
factor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011283181.5A
Other languages
Chinese (zh)
Inventor
乔波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oneplus Technology Shenzhen Co Ltd
Original Assignee
Oneplus Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oneplus Technology Shenzhen Co Ltd filed Critical Oneplus Technology Shenzhen Co Ltd
Priority to CN202011283181.5A priority Critical patent/CN114512731A/en
Publication of CN114512731A publication Critical patent/CN114512731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/443Methods for charging or discharging in response to temperature
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/448End of discharge regulating measures
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/0071Regulation of charging or discharging current or voltage with a programmable schedule
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/007188Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters
    • H02J7/007192Regulation of charging or discharging current or voltage the charge cycle being controlled or terminated in response to non-electric parameters in response to temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a charging method, a system, an electronic device and a storage medium of electronic equipment, wherein the method comprises the following steps: acquiring at least two state factors influencing the charging of the electronic equipment; acquiring an expected charging speed value of the electronic equipment under each state factor; carrying out weighted summation on all expected charging speed values to obtain a charging speed target value; charging the electronic equipment according to the charging speed target value; through calculating the charging speed target value, and according to the charging current of the charging speed target value adjustment electronic equipment, can be intelligent for corresponding charging current of electronic equipment matching, thereby adapt to different charging scenes, make electronic equipment's charging current can adapt to diversified scene, can intelligent adaptation different crowds' user demand.

Description

Charging method and system for electronic equipment, electronic device and storage medium
Technical Field
The present disclosure relates to the field of charging technologies, and in particular, to a charging method and system for an electronic device, an electronic apparatus, and a storage medium.
Background
With the development of electronic device charging technology, some manufacturers have developed chargers capable of rapidly charging electronic devices, but rapid charging causes rapid temperature rise of the mobile phone and heat generation, which may affect users to use the electronic devices.
In order to optimize the temperature rise problem of the electronic equipment, the prior art monitors the temperature of the electronic equipment, and when the temperature of the electronic equipment is lower, the charging current is increased, and the charging speed is increased; when the temperature of the electronic equipment is higher, the charging current is reduced, and the charging speed is reduced; or, the electronic device is monitored according to the working state of the electronic device, such as the on-off state, and when the electronic device is in the shutdown state or the dormant state, the electronic device is off, so that the charging current is increased, and the charging speed is increased; when the electronic equipment is in a working state, the electronic equipment is lightened, the charging current is reduced, and the charging speed is reduced.
However, in the prior art, the charging current is adjusted according to the temperature or the working state of the electronic device, and the applicable scene is single.
Disclosure of Invention
In view of this, the present application provides a charging method and system for an electronic device, an electronic apparatus, and a storage medium, so as to solve the problems that in the prior art, a charging current is adjusted according to a temperature or a screen state of the electronic device, an applicable scenario is single, and a personalized charging scheme cannot be provided for each user.
A first aspect of the present application provides a charging method for an electronic device, including: acquiring at least two state factors influencing the charging of the electronic equipment; acquiring an expected charging speed value of the electronic equipment under each state factor; carrying out weighted summation on all expected charging speed values to obtain a charging speed target value; and charging the electronic equipment according to the charging speed target value.
Wherein the weighted summation of the respective expected charging speed values comprises: acquiring user personalized factors which influence the charging speed by the charging habit of the user under each state factor, and acquiring weight factors which influence the charging speed by the charging setting of the electronic equipment under each state factor; and weighting and summing the expected charging speed values by using the user personalized factors and the weighting factors under the state factors to obtain a charging speed target value.
Detecting whether an operation instruction for switching to a specified charging mode of the electronic equipment by a user is received, wherein different specified charging modes have different fixed charging speed values; if an operation instruction for switching to a specified charging mode of the electronic equipment by a user is received, adjusting the charging speed target value to be a fixed charging speed value of the specified charging mode according to the operation instruction, and charging the electronic equipment by using the fixed charging speed value; and if an operation instruction of switching the charging mode of the electronic equipment by a user is not received, charging the electronic equipment according to the intelligent charging mode represented by the charging speed target value.
And updating the user personalized factor by taking the fixed charging speed value of the specified charging mode as the charging speed demand value of the user on the electronic equipment.
When the electronic equipment is charged, acquiring a charging speed target value in real time; and after the charging speed target value reaches the fixed charging speed value in the specified charging mode, charging the electronic equipment according to the fixed charging speed value in the specified charging mode.
The state factors influencing the charging of the electronic equipment comprise: the on/off screen, the residual electric quantity, the temperature, the application scene and the current time of the electronic equipment; under each state factor, the charging setting of the electronic device includes: a charging speed setting at the time of turning on/off the screen of the electronic device, a charging speed setting at each remaining capacity stage, a charging speed setting at each temperature stage, a charging speed setting at each application scene, a charging speed setting at the current time or a time period.
The method for acquiring the expected charging speed value of the electronic equipment under each state factor comprises the following steps: setting a value range of an expected charging speed value, wherein two ends of the value range are respectively a maximum charging speed value and a minimum charging speed value which can be reached in the actual charging process of the electronic equipment; when the state factor is the on/off of the screen of the electronic equipment, taking the difference value between the maximum value of the charging speed and the ratio of the current brightness to the maximum brightness as an expected charging speed value; when the state factor is the residual electric quantity of the electronic equipment, taking the difference value between the maximum value of the charging speed and the percentage of the current electric quantity of the electronic equipment in the total electric quantity as an expected charging speed value; when the state factor is the temperature of the electronic equipment, acquiring a temperature difference value between a highest temperature value of which the electronic equipment is allowed to generate heat during charging and a current electronic equipment temperature value, acquiring a temperature ratio of the temperature difference value to an optimal charging temperature value as an expected charging speed value, and when the temperature ratio is smaller than the minimum charging speed value, taking the minimum charging speed value as an expected charging speed value, and when the temperature ratio is larger than the maximum charging speed value, taking the maximum charging speed value as an expected charging speed value; when the state factor is an application scene of the electronic equipment, taking the difference value of the maximum value of the charging speed and the ratio of the average power to the maximum allowable charging power of the electronic equipment in a preset time as an expected charging speed value; when the state factor is the current time of the electronic equipment, if the current time is in a local sleep time period, taking the minimum value of the charging speed as an expected charging speed value; and if the current time is not in the local sleep time period, taking the maximum value of the charging speed as an expected charging speed value.
Acquiring a user personalized factor which influences the charging speed by the charging habit of the user under each state factor, wherein the user personalized factor comprises: setting a factor value range of the user personalized factor; taking the charging speed requirement value selected by the maximum number of users in the preset number or the big data of statistics under each state factor as the charging speed value used by the user; and acquiring a factor intermediate value of the factor value range, and taking the factor intermediate value as a user personalized factor of the charging speed value habituated to the user under each state factor.
According to the charging method of the electronic equipment, the charging speed target value under more than two state factors is calculated, the charging current of the electronic equipment is adjusted according to the charging speed target value, the corresponding charging current can be intelligently matched for the electronic equipment, so that different charging scenes can be adapted, and the charging current of the electronic equipment can be adapted to diversified scenes.
A second aspect of the present application provides an electronic device charging current adjustment system, including: the data acquisition module is used for acquiring at least two state factors influencing the charging of the electronic equipment; the expected charging speed value calculating module is used for calculating the expected charging speed value of the electronic equipment under each state factor; the charging speed target value calculation module is used for carrying out weighted summation on all expected charging speed values to obtain a charging speed target value; and the charging module is used for charging the electronic equipment by using the charging speed target value.
A third aspect of the present application provides an electronic apparatus comprising: the charging system comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the charging method of the electronic equipment is realized.
A fourth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a charging method of an electronic device as recited in any one of the above.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a charging method of an electronic device according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a matching process of a charging mode of a charging method of an electronic device according to an embodiment of the present disclosure;
fig. 3 is an effect diagram of the electronic device in the off-screen charging method of the electronic device according to the embodiment of the present application;
fig. 4 is an effect diagram of the charging method for an electronic device according to the embodiment of the present application when the electronic device is charged in a portrait mode;
fig. 5 is an effect diagram of the electronic device landscape charging in the charging method of the electronic device according to the embodiment of the present application;
fig. 6 is an effect diagram of adjusting a charging mode of an electronic device through a pull-down bar according to the charging method of the electronic device in the embodiment of the present application;
fig. 7 is a schematic flowchart of an overall charging method of an electronic device according to an embodiment of the present application;
fig. 8 is a block diagram schematically illustrating a structure of a charging current adjustment system for an electronic device according to an embodiment of the present disclosure;
fig. 9 is a block diagram schematically illustrating a structure of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. The following embodiments and their technical features may be combined with each other without conflict.
Referring to fig. 1, an embodiment of the present application provides a charging method for an electronic device, including: s1, acquiring at least two state factors influencing the charging of the electronic equipment; s2, acquiring expected charging speed values of the electronic equipment under various state factors; s3, carrying out weighted summation on all expected charging speed values to obtain a charging speed target value; and S4, charging the electronic equipment according to the charging speed target value.
When a user charges the electronic equipment, the charging speed target value under at least two state factors is calculated, the charging current of the electronic equipment is adjusted according to the charging speed target value, the corresponding charging current can be intelligently matched for the electronic equipment, different charging scenes can be adapted, the charging current of the electronic equipment can adapt to diversified scenes, and the use requirements of different crowds can be intelligently adapted.
In one embodiment, the weighted summation of the respective expected charge speed values comprises: acquiring user personalized factors which influence the charging speed by the charging habit of a user under each state factor, and acquiring weight factors which influence the charging speed by the charging setting of the electronic equipment under each state factor; and weighting and summing the expected charging speed values by using the user personalized factors and the weight factors under the various state factors to obtain the target charging speed value.
Because some state factors can influence the charging speed of the electronic equipment, for example, the electronic equipment has high power consumption in a screen-on state, the electronic equipment can quickly generate heat when the charging speed is too high, the charging speed needs to be reduced, the power consumption in a screen-off state is low, and the charging speed can be increased; when the residual electric quantity of the electronic equipment is low, the charging speed needs to be accelerated, and when the residual electric quantity is high, the charging speed can be properly reduced; when the temperature of the electronic equipment is higher, the charging speed needs to be reduced; when the electronic device runs an application scene (for example, a game is run), power consumption is increased, the electronic device is heated quickly when the charging speed is too high, and the charging speed needs to be reduced; the user does not use the electronic device, and the charging time is longer (for example, the user sleeps at night and the electronic device is charged), the charging speed of the electronic device can be reduced.
Therefore, for a better user charging experience, the charging speed of the electronic device needs to be adjusted, and a plurality of status factors may coincide (for example, the electronic device is low in power and high in temperature, and is running a game), so that the charging speed of the electronic device needs to be influenced by a combination of the status factors, and at this time, the expected charging speed values a1, a2, A3 … … under each status factor need to be calculated separately
Secondly, since the charging performance of different electronic devices is different due to the difference between the hardware used in the charging system of the electronic device, which affects the charging speed of the electronic device, different weighting factors need to be set according to different hardware, for example, the charging time of the electronic device can be affected by the screen, the battery remaining capacity, the battery temperature, the CPU temperature, the battery charging time, and the like of the electronic device, and thus different weighting factors B1, B2, B3 … … need to be set for the charging performance of the screen, the battery remaining capacity, the battery temperature, the CPU temperature, the battery charging time, and the like of the electronic device
In addition, different users have different requirements on the charging speed value of the electronic equipment under each state factor, so that before the electronic equipment leaves a factory, the requirements of the users on the charging speed value under each state factor are counted in a preset number or big data, and the user personalized factors C1, C2 and C3 … … under each state factor are calculated
When calculating the user charging target speed value, weighting the expected charging speed value by using the weighting factor corresponding to the corresponding state factor, performing secondary weighting on the expected charging speed value by using the user personalized factor corresponding to the corresponding state factor, and finally adding all the secondarily weighted expected charging speed values to obtain a charging speed target value S of the electronic device, wherein the specific formula can be as follows: s-a 1 × B1 × C1+ a2 × B2 × C2+ A3 × B3 × C3+ … …
Thereby, the charging current of the electronic device can be adjusted according to the target value of the charging speed.
By calculating the charging speed target value S and adjusting the charging current of the electronic equipment according to the charging speed target value, the corresponding charging current can be intelligently matched with the electronic equipment, so that different charging scenes can be adapted, and the charging current of the electronic equipment can be adapted to diversified scenes.
In one embodiment, the method of charging an electronic device further comprises: detecting whether an operation instruction for switching to a specified charging mode of the electronic equipment by a user is received, wherein different specified charging modes have different fixed charging speed values; if an operation instruction for switching to a specified charging mode of the electronic equipment by a user is received, adjusting the charging speed target value to be a fixed charging speed value of the specified charging mode according to the operation instruction, and charging the electronic equipment by using the fixed charging speed value; and if the operation instruction of switching the charging mode of the electronic equipment by the user is not received, charging the electronic equipment according to the intelligent charging mode represented by the target charging speed value.
The charging mode is adjusted by receiving an operation instruction of the user to the electronic equipment, so that the charging speed corresponding to the charging current of the electronic equipment can better meet the requirements of the user, and the charging experience of the user is improved.
In this embodiment, three designated charging modes are preset, which are a first charging mode, a second charging mode and a third charging mode, respectively, and represent a maximum charging speed value, an intermediate charging speed value and a minimum charging speed value, that is, the maximum charging speed value, the intermediate charging speed value and the minimum charging speed value correspond to the fixed charging speed value, and the maximum charging speed value, the intermediate charging speed value and the minimum charging speed value also correspond to the target charging speed value.
In this embodiment, in the case of using the above five state factors, the overall flowchart of the charging method of the electronic device is as shown in fig. 2, when the device is connected to the wired or wireless charging, the charging speed target value S calculated according to the state factors, the weighting factors, and the user personalization factors matches with the corresponding charging mode X, and among the first charging mode, the second charging mode, and the third charging mode, the charging mode X is the charging mode with the charging speed fixed value closest to the charging speed target value S; in the first charging mode, the second charging mode and the third charging mode, the mode selected by the user is a charging mode Y; in other embodiments, the charging mode X is an intelligent charging mode having a charging speed target value S, and after receiving an operation instruction from a user, the intelligent charging mode is replaced with a first charging mode, a second charging mode or a third charging mode corresponding to the operation instruction.
In one embodiment, the method of charging an electronic device further comprises: and taking the fixed charging speed value of the specified charging mode as the required charging speed value of the user on the electronic equipment, and updating the personalized factor of the user.
The user personalized factor is updated by the charging speed demand value of the electronic equipment in the actual use process of the user, the proportion of the charging speed demand value of the user in the charging speed target value S can be increased, so that the calculation of the charging speed target value S can be closer to the charging speed demand value of the user in the subsequent charging process, and the charging experience of the user is improved.
In one embodiment, the method of charging an electronic device further comprises: detecting whether the electronic equipment is in a screen-off state, and if so, displaying the current charging mode and other appointed charging modes in the center of a screen; and if the mobile terminal is in a bright screen state, displaying the current charging mode and other specified charging modes above the screen within preset time, and hiding the current charging mode and other specified charging modes after the preset time.
In this embodiment, if the electronic device is in the screen-off state, receiving a sliding operation of a user on the electronic device or a clicking operation on another charging mode to generate a switching instruction, and switching the charging mode according to the switching instruction; if the electronic equipment is in a bright screen state and within a preset time, receiving a sliding operation of a user on the electronic equipment or a clicking operation of other charging modes to generate a switching instruction so as to switch the charging modes; if the electronic equipment is in a bright screen state and after a preset time, receiving a switching instruction generated by the switching operation of a user on the electronic equipment in a pull-down bar or a setting so as to switch the charging mode.
In this embodiment, the charging modes are respectively fast charging, balanced charging and non-heating modes, which respectively correspond to the first charging mode, the second charging mode and the third charging mode in the above embodiments, the effect of the electronic device during off-screen charging is shown in fig. 3, the effect of the electronic device during vertical-screen charging is shown in fig. 4, the effect of the electronic device during horizontal-screen charging is shown in fig. 5, and the effect of adjusting the charging mode through the pull-down bar is shown in fig. 6.
Through show current charge mode and appointed charge mode under bright screen and the state of going out the screen, can make the user more audio-visual see the charge speed that current charge mode represented, and be convenient for the user switch charge mode to promote user's the experience of charging.
When the electronic equipment is on screen, the current charging mode and other charging modes are displayed within preset time, the current charging mode can be reminded to a user, the current charging mode and other charging modes are hidden after the preset time, the electronic equipment can be used by the user without being influenced, and therefore the charging experience of the user is further improved.
In one embodiment, the method of charging an electronic device further comprises: when the electronic equipment is charged, a charging speed target value is obtained in real time; and after the charging speed target value reaches the charging speed fixed value in the specified charging mode, charging the electronic equipment according to the charging speed fixed value in the specified charging mode.
In the process of charging the electronic equipment, state factors such as the temperature and the residual capacity of the electronic equipment can be changed, when the change is obvious, the charging speed of the electronic equipment needs to be adjusted in order to adapt to the current scene, and therefore after the target value of the charging speed reaches the fixed value of the charging speed in the specified charging mode, the charging current of the electronic equipment is adjusted according to the fixed value of the charging speed in the charging mode, the electronic equipment is charged, and therefore the electronic equipment is adapted to the current scene.
In one embodiment, the state factors that affect the charging of the electronic device include: on/off screen, residual electric quantity, temperature, application scene and time of the electronic equipment; under each state factor, the charging setting of the electronic device includes: charging speed setting at on/off of a screen of an electronic device, charging speed setting at each remaining capacity stage, charging speed setting at each temperature stage, charging speed setting at each application scene, charging speed setting at a current time or a time period
In this embodiment, five state factors are used, which are the on/off screen, the application scene, the temperature, the residual amount, and the time of the electronic device, respectively, and the corresponding expected charging speed values are also five, which are a1, a2, A3, A4, and a5, the corresponding weight factors are also five, which are B1, B2, B3, B4, and B5, the corresponding user personalization factors are also five, which are C5, and C5, respectively, and the corresponding charging speed target value S is calculated as a 5B 5C 5 + a 5B 5 + B5 + a 5B 5 + C5.
In this embodiment, after the five state factors are used, a flow chart of a charging method of the electronic device is as shown in fig. 7, after the electronic device is connected to wired or wireless charging, a1, a2, A3, a4 and A5 are calculated, and a charging speed target value S, which is a charging speed target value S of a B1, B2, B3, B4, B5 according to weights of the state factors, and user-customized factors C1, C2, C3, C4, C5 of the state factors, is calculated, S is a 1B 1C 1+ a 2B 2C 2+ A3B 3C 3+ a 4B 4C 4+ A5B 5C 5, and a charging mode having the charging speed target value S is used as an intelligent charging mode; and then providing other modes for the user (see the modes of charging fast, balancing and no heat generation in the above embodiment for other modes), judging whether the charging mode is switched by the user according to the operation or non-operation of the user on the electronic device, if so, charging by using the charging mode specified by the user, adjusting the user personalization factors C1, C2, C3, C4 and C5 according to the change of the user, and if not, charging by using the current intelligent charging mode.
In one embodiment, the method for calculating the expected charging speed value of the electronic device under each state factor comprises the following steps: setting a value range of an expected charging speed value, wherein the two ends of the value range are respectively a maximum charging speed value and a minimum charging speed value which can be reached in the actual charging process of the electronic equipment;
when the state factor is the on/off of the screen of the electronic equipment, taking the difference value between the maximum value of the charging speed and the ratio of the current brightness to the maximum brightness as an expected charging speed value;
when the state factor is the residual electric quantity of the electronic equipment, taking the difference value between the maximum value of the charging speed and the percentage of the current electric quantity of the electronic equipment in the total electric quantity as an expected charging speed value;
when the state factor is the temperature of the electronic equipment, acquiring a temperature difference value between a highest temperature value of the electronic equipment allowed to be heated by charging and a current electronic equipment temperature value, and acquiring a temperature ratio of the temperature difference value to an optimal charging temperature value as an expected charging speed value;
when the state factor is an application scene of the electronic equipment, taking the difference value of the maximum value of the charging speed and the ratio of the average power to the maximum allowable charging power of the electronic equipment in a preset time as an expected charging speed value;
when the state factor is the current time of the electronic equipment, if the current time is in the local sleep time period, taking the minimum value of the charging speed as an expected charging speed value; and if the current time is not in the local sleep time period, taking the maximum value of the charging speed as the expected charging speed value.
In this embodiment, the range of the expected charging speed value is set to [0, 1], and in other embodiments, the range of the expected charging speed value may be set to other ranges.
Specifically, the following is a calculation method of the expected charging speed value under each state factor:
when the state factor is on/off of the electronic device, the expected charging speed value a1 is 1 — current brightness/maximum brightness.
When the state factor is an application scenario of the electronic device, the maximum power allowed for charging is P, and the expected charging speed value a2 is 1 — average power/P within a predetermined time.
When the state factor is the temperature of the electronic device, the current temperature of the mobile phone is T, the highest temperature value (for example, 50 ℃) for allowing the electronic device to generate heat during charging is obtained, the optimal charging temperature value (for example, 25 ℃) is obtained, and then the expected charging speed value A3 is (50-T)/25, when A3 is less than 0, A3 is 0, and when A3 is greater than 1, A3 is 1.
When the state factor is the remaining capacity of the electronic device, the expected charging speed value a4 is equal to the current capacity/100.
When the state factor is the time slot in which the electronic device is located, if the local sleep time slot is 22 o 'clock to 6 o' clock in the morning, the expected charging speed value a5 is 0 when the local sleep time slot is in the sleep time slot, and the expected charging speed value a5 is 1 when the local sleep time slot is in the non-sleep time slot.
In one embodiment, the obtaining of the user personalization factor that affects the charging speed according to the charging habit of the user under each state factor includes: setting a factor value range of the user personalized factor; taking the charging speed requirement value selected by the maximum number of users in the preset number of counted users or the big data under each state factor as the charging speed value used by the user; and acquiring a factor intermediate value of the factor value range, and taking the factor intermediate value as a user personalized factor of the charging speed value which is used by the user under each state factor.
In this embodiment, the factor value range of the user personalization factor is set to [0, 1], and in other embodiments, the factor value range of the user personalization factor may also be set to other ranges.
Taking the five state factors in the above embodiment as an example, the values of the user personalization factors C1, C2, C3, C4, and C5 corresponding to the five state factors (on/off screen, application scene, temperature, remaining power, and time of the electronic device) are all 0.5.
Specifically, the condition factor takes the temperature of the electronic device as an example, and in a group of people with a predetermined amount or large data, it is a habit of most people to charge the electronic device with a charging current of 2A in an environment with a condition factor of 25 ℃, then the user personalization factor under the condition factor represents 25 ℃ and a charging speed requirement value of 2A, and at this time, the user personalization factor is taken to be 0.5.
In this embodiment, in the process of calculating the charging speed target value, if some users feel that the charging current using 2A does not meet personal requirements in an environment of 25 ℃, the charging mode is changed, at this time, a user personalized factor of 0.5 is adjusted, if the changed charging mode current is greater than 2A, the user personalized factor of 0.5 is increased, if the changed charging mode current is less than 2A, the user personalized factor of 0.5 is decreased, so that when the charging speed target value S is calculated, a weight is added to the expected charging speed target value; that is, if the charging mode current after the user change is greater than 2A, the expected charging speed value calculated by using the increased user personalization factor is also increased, and if the charging mode current after the user change is less than 2A, the expected charging speed value calculated by using the decreased user personalization factor is also decreased, so that the finally weighted charging speed target value is adjusted, the charging speed target value is made to be closer to the charging mode changed by the user, and the charging experience of the user is improved.
The charging speed requirement value corresponding to the maximum user number is given to the user personalized factor under each state factor by the users in the preset number or the big data, which means that the charging speed target value calculated by using the initial user personalized factor is required by most people under each state factor, so that the charging requirement of the user on the electronic equipment is met as much as possible after the electronic equipment leaves a factory.
Referring to fig. 8, an embodiment of the present application provides a charging system for an electronic device, including: the system comprises a state factor acquisition module 1, an expected charging speed value acquisition module 2, a charging speed target value acquisition module 3 and a charging module 4; the state factor acquiring module 1 is used for acquiring at least two state factors influencing the charging of the electronic equipment; the expected charging speed value calculation module is used for calculating an expected charging speed value of the electronic equipment under each state factor; the charging speed target value acquisition module 3 is used for carrying out weighted summation on each expected charging speed value to obtain a charging speed target value; the charging module 4 is configured to charge the electronic device using the charging speed target value.
In one embodiment, the charging speed target value acquisition module 3 includes: the device comprises a factor acquisition unit and a weighted summation unit; the factor acquisition unit is used for acquiring a user personalized factor which influences the charging speed by the charging habit of the user under each state factor, and a weight factor which influences the charging speed by the charging setting of the electronic equipment under each state factor; and the weighted summation unit is used for weighting and summing the expected charging speed values by using the user personalized factors and the weight factors under the various state factors to obtain the target charging speed value.
In one embodiment, the charging system of the electronic device further comprises: the device comprises an operation instruction detection module, a first execution module and a second execution module; the operation instruction detection module is used for detecting whether an operation instruction for switching to an appointed charging mode of the electronic equipment by a user is received, and different appointed charging modes have different fixed charging speed values; the first execution module is used for adjusting the charging speed target value to be a fixed charging speed value of the specified charging mode according to the operation instruction if the operation instruction detection module receives the operation instruction of switching the electronic equipment to the specified charging mode by the user, and charging the electronic equipment by using the fixed charging speed value; the second execution module is used for charging the electronic equipment according to the intelligent charging mode represented by the charging speed target value if the operation instruction detection module does not receive an operation instruction of switching the charging mode of the electronic equipment by a user.
In one embodiment, the charging system of the electronic device further comprises: and the factor updating module is used for updating the personalized factors of the user by taking the fixed charging speed value of the specified charging mode as the required charging speed value of the user on the electronic equipment.
In one embodiment, the electronic device charging current adjustment system further comprises: a real-time acquisition module and a calling module; the real-time calculation module is used for acquiring a charging speed target value in real time when the electronic equipment is charged; the calling module is used for calling the charging current adjusting module, and after the target value of the charging speed reaches the fixed value of the charging speed in the specified charging mode, the electronic equipment is charged according to the fixed value of the charging speed in the specified charging mode.
In one embodiment, the state factors that affect the charging of the electronic device include: on/off screen, residual electric quantity, temperature, application scene and time of the electronic equipment; under each state factor, the charging setting of the electronic device includes: a charging speed setting at the time of turning on/off the screen of the electronic device, a charging speed setting at each remaining capacity stage, a charging speed setting at each temperature stage, a charging speed setting at each application scene, a charging speed setting at the current time or a time period.
In one embodiment, the expected charging speed value obtaining module 2 includes: a first value range setting unit and a calculating unit; setting a value range of an expected charging speed value, wherein the two ends of the value range are respectively a maximum charging speed value and a minimum charging speed value which can be reached in the actual charging process of the electronic equipment; the calculating unit is used for taking the difference value between the maximum value of the charging speed and the ratio of the current brightness to the maximum brightness as an expected charging speed value when the state factor is the on/off of the screen of the electronic equipment; the charging speed control module is also used for taking the difference value between the maximum value of the charging speed and the percentage of the current electric quantity of the electronic equipment in the total electric quantity as an expected charging speed value when the state factor is the residual electric quantity of the electronic equipment; the charging device is further used for acquiring a temperature difference value between a highest temperature value of the electronic device allowed to be heated by charging and a current electronic device temperature value when the state factor is the temperature of the electronic device, acquiring a temperature ratio of the temperature difference value to an optimal charging temperature value as an expected charging speed value, and when the temperature ratio is smaller than a minimum charging speed value, taking a minimum charging speed value as an expected charging speed value, and when the temperature ratio is larger than a maximum charging speed value, taking a maximum charging speed value as an expected charging speed value; the method is also used for taking the difference value between the maximum value of the charging speed and the ratio of the average power to the maximum allowable charging power within the preset time of the electronic equipment as an expected charging speed value when the state factor is the application scene of the electronic equipment; the method is also used for taking the difference value between the maximum value of the charging speed and the ratio of the average power to the maximum allowable charging power within the preset time of the electronic equipment as an expected charging speed value when the state factor is the application scene of the electronic equipment; the method is also used for taking the minimum value of the charging speed as an expected charging speed value if the current time is within the local sleep time period when the state factor is the current time of the electronic equipment; and if the current time is not in the local sleep time period, taking the maximum value of the charging speed as the expected charging speed value.
In one embodiment, the factor acquisition unit includes: and the user personalized factor acquisition subunit is used for setting a factor value range of the user personalized factor, acquiring the charging speed required values selected by the maximum number of users in each state factor of the counted preset number or big data as the charging habit of the user, acquiring a factor intermediate value of the factor value range, and taking the factor intermediate value as the user personalized factor of which the charging speed is influenced by the charging habit of the user under each state factor.
The electronic equipment charging current adjusting system provided by the embodiment of the application can intelligently match corresponding charging currents for the electronic equipment by calculating the charging speed target value and adjusting the charging current of the electronic equipment according to the charging speed target value, so that different charging scenes can be adapted, and the charging current of the electronic equipment can be adapted to diversified scenes.
An embodiment of the present application provides an electronic device, please refer to fig. 9, which includes: the charging system comprises a memory 601, a processor 602 and a computer program stored on the memory 601 and executable on the processor 602, wherein the processor 602 executes the computer program to realize the charging method of the electronic device described in the foregoing.
Further, the electronic device further includes: at least one input device 603 and at least one output device 604.
The memory 601, the processor 602, the input device 603, and the output device 604 are connected by a bus 605.
The input device 603 may be a camera, a touch panel, a physical button, a mouse, or the like. The output device 604 may be embodied as a display screen.
The Memory 601 may be a high-speed Random Access Memory (RAM) Memory, or a non-volatile Memory (non-volatile Memory), such as a disk Memory. The memory 601 is used for storing a set of executable program code, and the processor 602 is coupled to the memory 601.
Further, an embodiment of the present application also provides a computer-readable storage medium, which may be disposed in the electronic device in the foregoing embodiments, and the computer-readable storage medium may be the memory 601 in the foregoing. The computer-readable storage medium has stored thereon a computer program which, when executed by the processor 602, implements the charging method of the electronic device described in the foregoing embodiments.
Further, the computer-readable storage medium may be various media that can store program codes, such as a usb disk, a removable hard disk, a Read-Only Memory 601 (ROM), a RAM, a magnetic disk, or an optical disk.
Although the application has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. This application is intended to embrace all such modifications and variations and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components, the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the specification.
That is, the above description is only an embodiment of the present application, and not intended to limit the scope of the present application, and all equivalent structures or equivalent flow transformations made by using the contents of the specification and the drawings, such as mutual combination of technical features between various embodiments, or direct or indirect application to other related technical fields, are included in the scope of the present application.
In addition, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more features. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
In this application, the word "exemplary" is used to mean "serving as an example, instance, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The previous description is provided to enable any person skilled in the art to make and use the present application. In the foregoing description, various details have been set forth for the purpose of explanation. It will be apparent to one of ordinary skill in the art that the present application may be practiced without these specific details. In other instances, well-known structures and processes are not shown in detail to avoid obscuring the description of the present application with unnecessary detail. Thus, the present application is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

Claims (11)

1. A method of charging an electronic device, comprising:
acquiring at least two state factors influencing the charging of the electronic equipment;
acquiring an expected charging speed value of the electronic equipment under each state factor;
carrying out weighted summation on all expected charging speed values to obtain a charging speed target value;
and charging the electronic equipment according to the charging speed target value.
2. The method of charging an electronic device according to claim 1,
the weighted summation of the various expected charging speed values comprises:
acquiring user personalized factors which influence the charging speed by the charging habit of the user under each state factor, and acquiring weight factors which influence the charging speed by the charging setting of the electronic equipment under each state factor;
and weighting and summing the expected charging speed values by using the user personalized factors and the weighting factors under the state factors to obtain a charging speed target value.
3. The method for charging an electronic device according to claim 1, further comprising:
detecting whether an operation instruction for switching to a specified charging mode of the electronic equipment by a user is received, wherein different specified charging modes have different fixed charging speed values;
if an operation instruction for switching to a specified charging mode of the electronic equipment by a user is received, adjusting the charging speed target value to be a fixed charging speed value of the specified charging mode according to the operation instruction, and charging the electronic equipment by using the fixed charging speed value;
and if an operation instruction of switching the charging mode of the electronic equipment by a user is not received, charging the electronic equipment according to the intelligent charging mode represented by the charging speed target value.
4. The method for charging an electronic device according to claim 3, further comprising:
and taking the fixed charging speed value of the specified charging mode as a required charging speed value of the user on the electronic equipment, and updating the user personalization factor.
5. The method for charging an electronic device according to claim 3, further comprising:
when the electronic equipment is charged, a charging speed target value is obtained in real time;
and after the charging speed target value reaches the fixed charging speed value in the specified charging mode, charging the electronic equipment according to the fixed charging speed value in the specified charging mode.
6. The method of claim 2, wherein the state factors affecting the charging of the electronic device comprise:
the on/off screen, the residual electric quantity, the temperature, the application scene and the current time of the electronic equipment;
under each state factor, the charging setting of the electronic device includes: a charging speed setting at the time of turning on/off the screen of the electronic device, a charging speed setting at each remaining capacity stage, a charging speed setting at each temperature stage, a charging speed setting at each application scene, a charging speed setting at the current time or a time period.
7. The method of charging an electronic device according to claim 6,
the method for acquiring the expected charging speed value of the electronic equipment under each state factor comprises the following steps:
setting a value range of an expected charging speed value, wherein the two ends of the value range are respectively a maximum charging speed value and a minimum charging speed value which can be reached in the actual charging process of the electronic equipment;
when the state factor is the on/off of the screen of the electronic equipment, taking the difference value between the maximum value of the charging speed and the ratio of the current brightness to the maximum brightness as an expected charging speed value;
when the state factor is the residual electric quantity of the electronic equipment, taking the difference value between the maximum value of the charging speed and the percentage of the current electric quantity of the electronic equipment in the total electric quantity as an expected charging speed value;
when the state factor is the temperature of the electronic equipment, acquiring a temperature difference value between a highest temperature value of which the electronic equipment is allowed to generate heat during charging and a current electronic equipment temperature value, acquiring a temperature ratio of the temperature difference value to an optimal charging temperature value as an expected charging speed value, and when the temperature ratio is smaller than the minimum charging speed value, taking the minimum charging speed value as an expected charging speed value, and when the temperature ratio is larger than the maximum charging speed value, taking the maximum charging speed value as an expected charging speed value;
when the state factor is an application scene of the electronic equipment, taking the difference value of the maximum value of the charging speed and the ratio of the average power to the maximum allowable charging power of the electronic equipment in a preset time as an expected charging speed value;
when the state factor is the current time of the electronic equipment, if the current time is in a local sleep time period, taking the minimum value of the charging speed as an expected charging speed value; and if the current time is not in the local sleep time period, taking the maximum value of the charging speed as an expected charging speed value.
8. The method of charging an electronic device according to claim 2,
the obtaining of the user personalized factors which influence the charging habit of the user on the charging speed under the state factors comprises:
setting a factor value range of the user personalized factor;
taking the charging speed requirement value selected by the maximum number of users in the preset number or the big data of statistics under each state factor as the charging speed value used by the user;
and acquiring a factor intermediate value of the factor value range, and taking the factor intermediate value as a user personalized factor of the charging speed value habituated to the user under each state factor.
9. A charging system for an electronic device, comprising:
the state factor acquisition module is used for acquiring at least two state factors influencing the charging of the electronic equipment;
the expected charging speed value acquisition module is used for calculating the expected charging speed value of the electronic equipment under each state factor;
the charging speed target value acquisition module is used for carrying out weighted summation on each expected charging speed value to obtain a charging speed target value;
and the charging module is used for charging the electronic equipment by using the charging speed target value.
10. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any one of claims 1 to 8 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 8.
CN202011283181.5A 2020-11-16 2020-11-16 Charging method and system for electronic equipment, electronic device and storage medium Pending CN114512731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011283181.5A CN114512731A (en) 2020-11-16 2020-11-16 Charging method and system for electronic equipment, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011283181.5A CN114512731A (en) 2020-11-16 2020-11-16 Charging method and system for electronic equipment, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN114512731A true CN114512731A (en) 2022-05-17

Family

ID=81546464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011283181.5A Pending CN114512731A (en) 2020-11-16 2020-11-16 Charging method and system for electronic equipment, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN114512731A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180321730A1 (en) * 2017-05-04 2018-11-08 Samsung Electronics Co., Ltd. Methods for adaptive battery charging and electronic device thereof
CN111384788A (en) * 2020-03-17 2020-07-07 维沃移动通信有限公司 Charging control method and electronic equipment
CN111404228A (en) * 2020-03-31 2020-07-10 Oppo广东移动通信有限公司 Terminal battery charging method and device, terminal battery charging equipment and storage medium
CN111833534A (en) * 2019-08-02 2020-10-27 北京骑胜科技有限公司 Battery charging method, charging device, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180321730A1 (en) * 2017-05-04 2018-11-08 Samsung Electronics Co., Ltd. Methods for adaptive battery charging and electronic device thereof
CN111833534A (en) * 2019-08-02 2020-10-27 北京骑胜科技有限公司 Battery charging method, charging device, electronic equipment and storage medium
CN111384788A (en) * 2020-03-17 2020-07-07 维沃移动通信有限公司 Charging control method and electronic equipment
CN111404228A (en) * 2020-03-31 2020-07-10 Oppo广东移动通信有限公司 Terminal battery charging method and device, terminal battery charging equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110716592B (en) Temperature control method and related equipment
CN105467202B (en) Electric quantity detection method and device and terminal
JP2002218668A (en) Portable information processor, and charging device and method
CN103631469B (en) The display processing method of icon, device and electronic equipment
CN107077181A (en) A kind of charging current limiter method, device and electronic equipment
KR20140009074A (en) Smart scheduled sync method for sync applications and mobile device
CN112014749B (en) Method, device, chip and storage medium for determining battery display electric quantity
CN112858938B (en) Electric quantity calculation method and device, storage medium and electronic equipment
CN107357392A (en) Mobile terminal temperature rise control method, mobile terminal and readable storage medium storing program for executing
CN110971761B (en) Method and device for generating display parameter curve, mobile terminal and storage medium
CN107046304B (en) Wireless charging method, related device and system
CN115443645A (en) Screen brightness adjusting method, terminal and storage medium
CN115425706A (en) Charging method and related electronic equipment
CN114512731A (en) Charging method and system for electronic equipment, electronic device and storage medium
CN112994173B (en) Wireless charging method and device, equipment and storage medium
US11394223B2 (en) Charging method, electronic equipment, and storage medium
CN109643831A (en) Portable electronic device with addressable charge indicator
US20230088905A1 (en) Electronic device and operation method thereof
CN110649679B (en) Terminal temperature control method, device, equipment and storage medium
CN110268366B (en) Information processing device, information processing method, and program
JP2014078127A (en) Information processing device, information processing method, and program
CN113346602B (en) Display element control method, device, apparatus, medium, and program product
CN114142110A (en) Battery control method, device, electronic equipment and storage medium
CN107592254A (en) A kind of method, apparatus, storage medium and the mobile terminal of information push
CN107436660A (en) A kind of method for reducing temperature rise, computer-readable recording medium, electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination