Charging method and device and electronic equipment
By acquiring candidate charging times and selecting the target charging time with the lowest charging cost, the problem of high costs caused by users manually selecting charging times is solved, thus achieving charging cost optimization and timely device charging.
Patent Information
- Application Number
- CN202511024731.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-24
- Publication Date
- 2025-10-28
AI Technical Summary
In existing technologies, the problem of high charging costs arises because users manually select charging times.
By responding to the estimated usage time of the device to be charged, candidate charging times are obtained, and the charging end time and cost are determined. The target charging time with the lowest charging cost or that meets preset conditions is selected for charging.
It reduces charging costs and ensures that devices are fully charged before users need to use them.
Smart Images

Figure CN120855593A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging technology, specifically to a charging method, device, and electronic device. Background Technology
[0002] To improve the flexibility of charging devices for users, many power supply devices now support scheduled charging. However, most scheduled charging functions currently require users to manually select the start time of the charging process based on their expected usage time. Charging devices based on manually selected start times carries the risk of higher charging costs. Summary of the Invention
[0003] The main objective of this application is to provide a charging method, apparatus, and electronic device that aims to solve the problem of high charging costs associated with charging devices based on user-selected start times in the prior art.
[0004] This application provides a charging method for an electronic device, comprising: in response to the estimated usage time of the device to be charged, obtaining a candidate charging time prior to the estimated usage time; determining a charging end time and a charging cost corresponding to the start of charging at the candidate charging time; and determining the candidate charging time as a target charging time if the charging end time is earlier than or equal to the estimated usage time and the charging cost corresponding to the candidate charging time meets a preset charging cost condition, wherein the target charging time is the time when the power supply device begins charging the device to be charged.
[0005] In one embodiment, when there are multiple candidate charging times, determining the candidate charging time as the target charging time if the charging end time is earlier than or equal to the expected usage time and the charging cost corresponding to the candidate charging time meets a preset charging cost condition includes: selecting a first candidate charging time from the multiple candidate charging times whose charging end time is earlier than or equal to the expected usage time; if there are multiple first candidate charging times, selecting a second candidate charging time from the multiple first candidate charging times that meets the preset charging cost condition; and determining the target charging time based on the second candidate charging time.
[0006] In one embodiment, determining the charging end time and charging cost corresponding to the start time of the candidate charging time includes: determining the charging end time corresponding to the candidate charging time based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged; wherein the device operating parameters include the operating parameters of at least one of the device to be charged and the power supply device.
[0007] In one embodiment, the device operating parameters include the charging current of the device to be charged during multiple first charging periods; determining the charging end time corresponding to the candidate charging time based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged includes: for each first charging period, determining the charging power of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period; determining the first charging duration corresponding to the candidate charging time based on the charging power of the device to be charged during the first charging period and the target power of the device to be charged; wherein, the first charging duration represents the charging time required to bring the power of the device to be charged to the target power starting from the candidate charging time; and determining the charging end time based on the candidate charging time and the first charging duration.
[0008] In one embodiment, before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method further includes: determining the charging current corresponding to the first charging period based on the initial capacity of the device to be charged during the first charging period, the output power of the power supply device during the first charging period, and the charging temperature corresponding to the first charging period; wherein, the charging temperature corresponding to the first charging period includes at least one of the following: the ambient temperature corresponding to the first charging period, and the initial battery temperature of the device to be charged during the first charging period.
[0009] In one embodiment, the charging current of the device to be charged during the first charging period is determined based on the initial battery temperature of the device to be charged during the first charging period; before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method further includes: determining the battery temperature rise rate corresponding to the (n-1)th charging period based on the charging current and the initial battery temperature corresponding to the (n-1)th charging period; determining the battery temperature rise corresponding to the (n-1)th charging period based on the duration of the (n-1)th charging period and the battery temperature rise rate; determining the initial battery temperature corresponding to the nth charging period based on the initial battery temperature and the battery temperature rise corresponding to the (n-1)th charging period; wherein, the nth charging period represents the first charging period with a sorting value of n among the plurality of first charging periods, and n is an integer greater than 1.
[0010] In one embodiment, determining the charging end time based on the candidate charging time and the first charging duration includes: correcting the first charging duration according to the charging duration correction coefficient corresponding to the power supply equipment to obtain a second charging duration corresponding to the candidate charging time; and determining the charging end time based on the candidate charging time and the second charging duration.
[0011] In one embodiment, the candidate charging time and the charging end time include multiple second charging periods; determining the charging end time and charging cost corresponding to the start charging time under the candidate charging time includes: for each second charging period, determining the charging cost corresponding to the second charging period based on the charging capacity and charging price corresponding to the second charging period; and determining the charging cost corresponding to the candidate charging time based on the charging cost corresponding to each second charging period.
[0012] In one embodiment, after determining the charging end time and charging cost corresponding to the start charging time of the candidate charging time, the charging method further includes: if there is no candidate charging time that meets a preset charging time condition before the estimated usage time, then the current time is determined as the target charging time; wherein the preset charging time condition is that the charging end time is earlier than or equal to the estimated usage time.
[0013] In one embodiment, after determining the candidate charging time as the target charging time, the charging method further includes: sending the target charging time to the power supply device; wherein the target charging time is used to instruct the power supply device to charge the device to be charged when the current time reaches the target charging time; and when the current time reaches the target charging time, waking up the device to be charged in response to a wake-up message sent by the power supply device, and charging the device to be charged through the power supply device.
[0014] In one embodiment, after determining the candidate charging time as the target charging time, the charging method further includes: generating a three-dimensional situation map of charging time, charging price, and charging power based on the target charging time, the charging end time corresponding to the target charging time, the charging price, and the charging power; and outputting the three-dimensional situation map.
[0015] This application embodiment also provides a charging device, including an acquisition module, a first determination module, and a second determination module; the acquisition module is used to acquire a candidate charging time located before the estimated usage time of the device to be charged in response to the estimated usage time of the device to be charged; the first determination module is used to determine the charging end time and the charging cost corresponding to the start of charging at the candidate charging time; the second determination module is used to determine the candidate charging time as the target charging time if the charging end time is earlier than or equal to the estimated usage time and the charging cost corresponding to the candidate charging time meets a preset charging cost condition, wherein the target charging time is the time when the power supply device starts charging the device to be charged.
[0016] This application also provides an electronic device, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the above-described charging method.
[0017] The present application provides a charging method, apparatus, and electronic device that, in response to the estimated usage time of the device to be charged, obtains a candidate charging time prior to the estimated usage time, determines the charging end time and charging cost corresponding to the start of charging at the candidate charging time, and determines the candidate charging time as the target charging time if the charging end time is earlier than or equal to the estimated usage time and the charging cost corresponding to the candidate charging time meets a preset charging cost condition. In the process of determining the candidate charging time as the target charging time, the charging cost corresponding to the candidate charging time is taken into consideration, which helps to reduce the charging cost. Attached Figure Description
[0018] Figure 1This is a schematic flowchart of the charging method provided in an embodiment of this application;
[0019] Figure 2 This is a schematic diagram of the specific process of the charging method provided in the embodiments of this application;
[0020] Figure 3 This is another specific flowchart illustrating the charging method provided in the embodiments of this application;
[0021] Figure 4 This is a schematic diagram of the structure of the charging device provided in the embodiments of this application;
[0022] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0023] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0024] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the digit " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0025] The charging method provided in this application can be applied to electronic devices or their software. The electronic device can be a device to be charged, a power supply device, a terminal, or a server. The device to be charged can be a vehicle or other electric equipment. In some embodiments, the terminal can be a smartphone, tablet, laptop, desktop computer, etc.; the server can be configured as an independent physical server, a server cluster consisting of multiple physical servers, or a distributed system. The software can be an application that implements the charging method, but is not limited to the above forms.
[0026] The charging method provided in this application will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0027] See Figure 1This application provides a charging method for electronic devices, comprising:
[0028] Step S101: In response to the estimated usage time of the device to be charged, obtain the candidate charging time located before the estimated usage time;
[0029] In practice, users can pre-input the expected usage time of the device to be charged based on their own anticipated usage time. Upon receiving the user's input of the expected usage time, the system can randomly select one or more candidate charging times that are before the expected usage time. Alternatively, it can select multiple candidate charging times that are before the expected usage time according to a first time interval. Optionally, the time interval between any two adjacent candidate charging times is equal to the first time interval. The first time interval can be determined according to the actual situation.
[0030] Step S102: Determine the charging end time and charging cost corresponding to the start time of the candidate charging time;
[0031] Optionally, the user can pre-set the target cost for the current charging of the device to be charged; optionally, the target cost represents the maximum charging cost for the device to be charged in this charging session. In actual implementation, the charging duration of the device to be charged can be determined first based on the pre-set target cost, combined with the charging current and charging price corresponding to the candidate charging time; optionally, the charging cost incurred by the device to be charged within the charging duration is less than or equal to the target cost; then, the charging duration can be added to the candidate charging time to obtain the charging end time corresponding to the candidate charging time.
[0032] Optionally, the user can also pre-set the target charging level for the device to be charged this time; optionally, the target charging level represents the amount of electricity the device needs to achieve during this charging. In actual implementation, the charging end time corresponding to the start of charging at the candidate charging time can also be determined based on the device operating parameters corresponding to the candidate charging time and the target charging level. For specific implementation details, please refer to the relevant description below, which will not be repeated here. Furthermore, based on determining the charging end time corresponding to the start of charging at the candidate charging time, the charging fee corresponding to the candidate charging time can be determined based on the candidate charging time, the charging end time corresponding to the candidate charging time, and the charging price. For specific implementation details, please refer to the relevant description below, which will not be repeated here.
[0033] Step S103: If the charging end time is earlier than or equal to the expected usage time, and the charging cost corresponding to the candidate charging time meets the preset charging cost condition, then the candidate charging time is determined as the target charging time, wherein the target charging time is the time when the power supply equipment starts charging the device to be charged.
[0034] Optionally, the preset charging cost condition can be that the charging cost corresponding to the candidate charging time is lower than the historical charging cost. In actual implementation, when a candidate charging time is determined, the historical charging cost of the device to be charged starting at that candidate charging time can be extracted; if the charging end time corresponding to the candidate charging time is earlier than or equal to the expected usage time, and the charging cost corresponding to the candidate charging time is lower than the historical charging cost, then the candidate charging time can be determined as the target charging time.
[0035] Optionally, when there are multiple candidate charging times, the preset charging cost condition can be that the charging cost corresponding to the candidate charging time is the lowest. In actual implementation, if the charging end time corresponding to a certain candidate charging time is earlier than or equal to the expected usage time, and the charging cost corresponding to that candidate charging time is the lowest, then that candidate charging time can be determined as the target charging time.
[0036] In this embodiment, in response to the estimated usage time of the device to be charged, a candidate charging time prior to the estimated usage time is obtained, and the charging end time and charging cost corresponding to the start charging time at the candidate charging time are determined. If the charging end time is earlier than or equal to the estimated usage time, and the charging cost corresponding to the candidate charging time meets a preset charging cost condition, then the candidate charging time is determined as the target charging time. In the process of determining the candidate charging time as the target charging time, the charging cost corresponding to the candidate charging time is taken into consideration, which helps to reduce the charging cost.
[0037] In one embodiment, when there are multiple candidate charging times, step S103 above, which involves determining the candidate charging time as the target charging time if the charging end time is earlier than or equal to the expected usage time and the charging cost corresponding to the candidate charging time meets a preset charging cost condition, includes:
[0038] Select the first candidate charging time from multiple candidate charging times whose charging end time is earlier than or equal to the expected usage time;
[0039] When there are multiple first candidate charging times, a second candidate charging time that meets the preset charging cost conditions is selected from the multiple first candidate charging times.
[0040] The target charging time is determined based on the second candidate charging time.
[0041] In actual implementation, if there are candidate charging times that meet the preset charging time conditions before the expected usage time, the first candidate charging time with a charging end time earlier than or equal to the expected usage time can be selected from multiple candidate charging times; optionally, the preset charging time condition is that the charging end time is earlier than or equal to the expected usage time.
[0042] Next, if only one first candidate charging time is selected, then the first candidate charging time can be determined as the target charging time; if multiple first candidate charging times are selected, then a second candidate charging time that meets the preset charging cost condition can be selected from the multiple first candidate charging times.
[0043] Then, if only one second candidate charging time is selected, it can be determined as the target charging time; if multiple second candidate charging times are selected, the second candidate charging time with the lowest charging cost can be determined as the target charging time. It's worth noting that if there are multiple second candidate charging times with the lowest charging cost, the second candidate charging time with the earliest charging time can be determined as the target charging time. This allows sufficient time to handle any unforeseen circumstances that may occur during the charging process, ensuring that the device can be successfully charged before the user needs it.
[0044] This application embodiment selects a first candidate charging time from multiple candidate charging times whose charging end time is earlier than or equal to the expected usage time. When there are multiple first candidate charging times, it selects a second candidate charging time from the multiple first candidate charging times that meets the preset charging cost conditions. Based on the second candidate charging time, it determines the target charging time, so that the device to be charged starts charging at the target charging time. This not only ensures that the device to be charged is charged before the user needs to use it, but also reduces charging costs.
[0045] In one embodiment, step S102 above, which involves determining the charging end time and charging cost corresponding to the start time of charging under the candidate charging time, includes:
[0046] Based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged, determine the charging end time corresponding to the candidate charging time.
[0047] The equipment operating parameters include the operating parameters of at least one of the devices to be charged and the power supply equipment.
[0048] Optionally, the above-mentioned equipment operating parameters may include the maximum allowable charging power of the device to be charged and the rated output power of the power supply equipment.
[0049] In practice, the smaller of the maximum allowable charging power and the rated output power can be selected as the target charging power. Then, based on the target charging power, the target charging time required for the device to be charged to reach the target level from its current level can be determined. Finally, the target charging time can be added to the candidate charging time to obtain the charging end time corresponding to the candidate charging time.
[0050] Optionally, the aforementioned device operating parameters may further include the charging current of the device to be charged during multiple first charging periods. Optionally, the multiple first charging periods are continuous time intervals between the candidate charging time and the expected usage time, and the start time of the first charging period with the smallest ranking value is the candidate charging time. In actual implementation, the charging end time corresponding to the candidate charging time can be determined based on the charging current of the device to be charged during multiple first charging periods and the target capacity of the device to be charged. Specific implementation details are provided in the following description and will not be repeated here.
[0051] This application embodiment determines the charging end time corresponding to the candidate charging time based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged. This can improve the accuracy of determining the charging end time corresponding to the candidate charging time, thereby improving the accuracy of determining the candidate charging time as the target charging time. This allows the device to start charging at the target charging time, ensuring that the device is fully charged before the user needs to use it, and also reducing charging costs.
[0052] In one embodiment, determining the charging end time corresponding to the candidate charging time based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged includes:
[0053] For each first charging period, the charging capacity of the device to be charged in the first charging period is determined based on the charging current of the device to be charged in the first charging period and the duration of the first charging period.
[0054] Based on the charging capacity of the device to be charged during the first charging period and the target capacity of the device to be charged, the first charging duration corresponding to the candidate charging time is determined; wherein, the first charging duration represents the charging time required to bring the device to be charged to the target capacity from the start of the candidate charging time.
[0055] The charging end time is determined based on the candidate charging time and the first charging duration.
[0056] In practical implementation, for each first charging period, the charging capacity of the device under test during the first charging period can be determined based on the product of the charging current and the duration of the first charging period. Optionally, when the charging capacity is expressed as a percentage, the ratio of the first product to the battery capacity of the device under test can be used to determine the charging capacity of the device under test during the first charging period; the first product is the product of the charging current and the duration of the first charging period. Optionally, when the charging capacity is expressed as a capacity value, the charging capacity of the device under test during the first charging period can be determined as the product of the charging current and the duration of the first charging period. Optionally, the battery capacity can be a capacity value corrected based on battery aging.
[0057] Next, the charging capacity of the device to be charged in multiple first charging periods can be accumulated sequentially according to the sorting value of the first charging period from smallest to largest, to obtain the accumulated charging capacity value of the device to be charged. When the accumulated charging capacity value reaches a first difference, the first charging period involved in the accumulation can be determined as the first target charging period, and the total duration of the first target charging period can be determined as the first charging duration; alternatively, the first charging duration can be determined by multiplying the first ratio by the total duration of the first target charging period. Optionally, the first difference can be equal to the difference between the target capacity of the device to be charged and the current capacity; the first ratio can be equal to the ratio of the first difference to the accumulated charging capacity value.
[0058] Then, the first charging duration can be added to the candidate charging time to obtain the charging end time corresponding to the candidate charging time.
[0059] Optionally, for each first charging period, the charging current of the device to be charged in the first charging period can be the rated charging current of the device to be charged, or it can be determined based on other operating parameters of the device to be charged and the power supply equipment. For specific implementation details, please refer to the relevant description below, which will not be described here.
[0060] This application embodiment determines the charging capacity of the device to be charged in each first charging period based on the charging current and duration of the first charging period. It then determines the first charging duration corresponding to a candidate charging time based on the charging capacity and the target charging capacity of the device. Finally, it determines the charging end time based on the candidate charging time and the first charging duration. This improves the accuracy of determining the charging end time corresponding to the candidate charging time, thereby improving the accuracy of determining the target charging time based on the candidate charging time. This ensures that the device to be charged starts charging at the target charging time, not only ensuring that the device is fully charged before the user needs to use it, but also reducing charging costs.
[0061] Optionally, the above-mentioned equipment operating parameters may also include the initial power of the device to be charged during multiple first charging periods, and the output power of the power supply device during multiple first charging periods.
[0062] In one embodiment, before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method provided in this application embodiment further includes:
[0063] Based on the initial charge of the device to be charged during the first charging period, the output power of the power supply device during the first charging period, and the charging temperature corresponding to the first charging period, the charging current corresponding to the first charging period is determined.
[0064] The charging temperature corresponding to the first charging period includes at least one of the following: the ambient temperature corresponding to the first charging period, and the initial battery temperature of the device to be charged during the first charging period.
[0065] In actual implementation, the initial charge of the device to be charged during the first charging period, the output power of the power supply device during the first charging period, and the charging temperature corresponding to the first charging period can be input into the current prediction model to obtain the charging current corresponding to the first charging period. Optionally, the current prediction model is a model that has learned the relationship between charge, charging power, charging temperature and charging current. Optionally, the relationship between charge, charging power, charging temperature and charging current can be a relationship corrected based on battery aging.
[0066] Alternatively, based on the initial charge level of the device to be charged during the first charging period, the output power of the power supply during the first charging period, and the corresponding charging temperature during the first charging period, a table relating charge level, charging power, charging temperature, and charging current can be consulted to obtain the charging current for the first charging period. Optionally, the table relating charge level, charging power, charging temperature, and charging current can be a corrected table based on battery aging conditions.
[0067] Optionally, the ambient temperature corresponding to the first charging period can be obtained based on the current ambient temperature and weather forecast information; the output power of the power supply device during the first charging period can be obtained by querying the relationship curve between the output power of the power supply device and time during the first charging period; the initial charge of the device to be charged during the first charging period can be determined based on the initial charge and charging charge of the device to be charged in the previous first charging period, and the specific implementation is described in the relevant description below, which will not be described here; the initial battery temperature of the device to be charged during the first charging period can be determined based on the initial battery temperature and battery temperature rise of the device to be charged in the previous first charging period, and the specific implementation is described in the relevant description below, which will not be described here.
[0068] This embodiment of the application determines the charging current corresponding to the first charging period based on the initial power of the device to be charged during the first charging period, the output power of the power supply device during the first charging period, and the charging temperature corresponding to the first charging period. By considering the influence of charging temperature on charging current, the accuracy of determining the charging current of the device to be charged during the first charging period can be improved. This, in turn, can improve the accuracy of determining the candidate charging time as the target charging time based on the charging current of the device to be charged during the first charging period. As a result, the device to be charged can start charging at the target charging time, which not only ensures that the device to be charged is fully charged before the user needs to use it, but also reduces charging costs.
[0069] Optionally, for each first charging period, the charging current of the device to be charged during the first charging period can be determined based on the initial charge level of the device to be charged during the first charging period.
[0070] In one embodiment, before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method provided in this application embodiment further includes:
[0071] The initial charge of the device to be charged in the nth charging period is determined based on the initial charge of the device in the (n-1)th charging period and the charge amount of the device in the (n-1)th charging period.
[0072] Here, the nth charging period refers to the first charging period with a sorting value of n among multiple first charging periods, where n is an integer greater than 1.
[0073] In practice, the initial charge of the device to be charged in the (n-1)th charging period can be added to the charge amount of the device to be charged in the (n-1)th charging period to obtain the initial charge of the device to be charged in the nth charging period. Optionally, the charge amount in the (n-1)th charging period can be determined based on the product of the charging current of the device to be charged in the (n-1)th charging period and the duration of the (n-1)th charging period.
[0074] Optionally, when n=2, the initial charge of the (n-1)th charging period can be equal to the current charge of the device to be charged. The charging current of the (n-1)th charging period can be obtained by using the current charge of the device to be charged, the current battery temperature, the output power of the power supply device in the (n-1)th charging period, and the ambient temperature input current prediction model corresponding to the (n-1)th charging period.
[0075] This application embodiment determines the initial power of the device to be charged in the nth charging period based on the initial power of the device to be charged in the (n-1)th charging period and the charging power of the device to be charged in the (n-1)th charging period. This improves the accuracy of determining the initial power of the device to be charged in each first charging period, and further improves the accuracy of determining the candidate charging time as the target charging time based on the initial power of the device to be charged in each first charging period. This ensures that the device to be charged starts charging at the target charging time, not only ensuring that the device to be charged is fully charged before the user needs to use it, but also reducing charging costs.
[0076] Optionally, the above-mentioned device operating parameters may also include the initial battery temperature of the device to be charged during multiple first charging periods; for each first charging period, the charging current of the device to be charged during the first charging period may be determined based on the initial battery temperature of the device to be charged during the first charging period.
[0077] In one embodiment, before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method provided in this application embodiment further includes:
[0078] Determine the battery temperature rise rate corresponding to the (n-1)th charging period based on the charging current and initial battery temperature.
[0079] The battery temperature rise corresponding to the (n-1)th charging period is determined based on the duration of the (n-1)th charging period and the battery temperature rise rate.
[0080] The initial battery temperature corresponding to the nth charging period is determined based on the initial battery temperature and battery temperature rise corresponding to the (n-1)th charging period.
[0081] Here, the nth charging period refers to the first charging period with a sorting value of n among multiple first charging periods, where n is an integer greater than 1.
[0082] In practice, the charging current and initial battery temperature corresponding to the (n-1)th charging period can be input into the temperature rise prediction model to obtain the battery temperature rise rate corresponding to the (n-1)th charging period. Optionally, the temperature rise prediction model is a model that has learned the relationship between charging current, battery temperature and battery temperature rise rate. Alternatively, based on the charging current and initial battery temperature corresponding to the (n-1)th charging period, the relationship between charging current, battery temperature and battery temperature rise rate can be queried to obtain the battery temperature rise rate corresponding to the (n-1)th charging period.
[0083] Next, the duration of the (n-1)th charging period can be multiplied by the battery temperature rise rate to obtain the battery temperature rise corresponding to the (n-1)th charging period, which is the battery temperature rise of the device to be charged during the (n-1)th charging period. Finally, the initial battery temperature corresponding to the (n-1)th charging period can be added to the battery temperature rise to obtain the initial battery temperature corresponding to the nth charging period, which is the initial battery temperature of the device to be charged during the nth charging period.
[0084] Optionally, when n=2, the initial battery temperature corresponding to the (n-1)th charging period can be the current battery temperature of the device to be charged, and the charging current corresponding to the (n-1)th charging period can be determined based on the current charge of the device to be charged, the current battery temperature, the power supply of the power supply device in the (n-1)th charging period, and the ambient temperature corresponding to the (n-1)th charging period.
[0085] This application embodiment determines the battery temperature rise rate corresponding to the (n-1)th charging period based on the charging current and initial battery temperature, determines the battery temperature rise corresponding to the (n-1)th charging period based on the duration and temperature rise rate, and determines the initial battery temperature corresponding to the nth charging period based on the initial battery temperature and temperature rise. This improves the accuracy of determining the initial battery temperature of the device to be charged in each first charging period, thereby improving the accuracy of determining the candidate charging time as the target charging time based on the initial battery temperature of the device to be charged in each first charging period. This ensures that the device to be charged starts charging at the target charging time, not only ensuring that the device to be charged is fully charged before the user needs to use it, but also reducing charging costs.
[0086] In one embodiment, determining the charging end time based on the candidate charging time and the first charging duration includes:
[0087] The first charging time is corrected according to the charging time correction coefficient corresponding to the power supply equipment to obtain the second charging time corresponding to the candidate charging time.
[0088] The charging end time is determined based on the candidate charging time and the second charging duration.
[0089] Considering factors such as grid fluctuations, user charging behavior deviations, and aging power supply equipment, the actual output power of the power supply equipment may not strictly follow the power curve during the charging process, potentially leading to a discrepancy between the actual and calculated charging times. In practice, historical charging data from the power supply equipment can be used to analyze the deviation between the actual and calculated charging times and determine the appropriate charging time correction factor for the power supply equipment.
[0090] In practice, the first charging duration corresponding to the candidate charging time can be determined based on the charging capacity of the device to be charged in each first charging period and the target capacity of the device to be charged. Then, if the charging duration correction coefficient is a proportional value, the product of the charging duration correction coefficient corresponding to the power supply device and the first charging duration can be determined as the second charging duration corresponding to the candidate charging time. If the charging duration correction coefficient is a duration value, the sum of the charging duration correction coefficient corresponding to the power supply device and the first charging duration can be determined as the second charging duration corresponding to the candidate charging time. Finally, the sum of the candidate charging time and the second charging duration can be determined as the charging end time.
[0091] This application's embodiments consider the impact of factors such as grid output fluctuations, user charging behavior deviations, and power supply equipment aging on determining the charging duration corresponding to the candidate charging time. Based on the first charging duration corresponding to the candidate charging time, the first charging duration is corrected by a charging duration correction coefficient corresponding to the power supply equipment to obtain the second charging duration corresponding to the candidate charging time. Then, based on the candidate charging time and the second charging duration, the charging end time corresponding to the candidate charging time is determined. This can improve the accuracy of determining the charging end time corresponding to the candidate charging time, thereby improving the accuracy of determining the charging end time based on the candidate charging time as the target charging time. This ensures that the device to be charged starts charging at the target charging time, not only ensuring that the device to be charged is charged before the user needs to use it, but also reducing charging costs.
[0092] Optionally, the period between the candidate charging time and the charging end time includes multiple second charging periods. In one embodiment, step S102 above, determining the charging end time and charging cost corresponding to the start charging time under the candidate charging time, includes:
[0093] For each second charging period, the charging cost for the second charging period is determined based on the charging capacity and charging price corresponding to the second charging period.
[0094] The charging cost corresponding to the candidate charging time is determined based on the charging cost corresponding to each second charging period.
[0095] Optionally, the second charging period can be a charging period obtained by dividing the time between the candidate charging time and the end charging time using a second time interval; the second time interval can be the same as or different from the first time interval mentioned above, and can be determined according to the actual situation.
[0096] In practice, the relationship curve between charging price and time (which can be simply referred to as the time-of-use pricing curve) can be queried to obtain the charging price corresponding to each second charging period. Then, for each second charging period, the charging cost can be determined based on the product of the charging capacity and the charging price. The sum of the charging costs for each second charging period can then be used as the charging cost for a candidate charging time. Alternatively, a coefficient can be added to the sum of the charging costs for each second charging period to obtain the charging cost for the candidate charging time.
[0097] Optionally, when the charging capacity during the second charging period is expressed as a percentage, the charging cost for the second charging period can be determined by multiplying the charging capacity during the second charging period, the charging price during the second charging period, the battery capacity of the device to be charged, and the target charging voltage. When the charging capacity during the second charging period is expressed as a capacity value, the charging cost for the second charging period can be determined by multiplying the charging capacity during the second charging period, the charging price during the second charging period, and the target charging voltage. Optionally, the target charging voltage can be equal to the average of the current voltage and the full-charge voltage of the device to be charged.
[0098] Based on the determined charging end time corresponding to the candidate charging time, this embodiment of the application, for each second charging period between the candidate charging time and the charging end time, determines the charging cost corresponding to the second charging period according to the charging amount and charging price corresponding to the second charging period. Furthermore, based on the charging cost corresponding to each second charging period, the charging cost corresponding to the candidate charging time can be accurately determined. This improves the accuracy of determining the candidate charging time as the target charging time based on the charging end time and charging cost corresponding to the candidate charging time. Consequently, the device to be charged starts charging at the target charging time, ensuring that the device is fully charged before the user needs to use it, and also reducing charging costs.
[0099] In one embodiment, after step S102 above: determining the charging end time and charging cost corresponding to the start time of charging under the candidate charging time, the charging method provided in this application embodiment further includes:
[0100] If it is determined that there is no candidate charging time that meets the preset charging time conditions before the expected usage time, then the current time is determined as the target charging time.
[0101] The preset charging time condition is that the charging end time is earlier than or equal to the expected usage time.
[0102] In actual implementation, after step S102 above, if there is no candidate charging time that meets the preset charging time condition before the expected usage time, the current time can be determined as the target charging time. Even if the power supply equipment immediately charges the device to be charged, it will prioritize ensuring that the device to be charged is charged with enough power before the expected usage time.
[0103] In this embodiment of the application, when there is no candidate charging time that meets the preset charging time condition before the expected usage time is determined, the current time is determined as the target charging time, so that the power supply equipment can immediately charge the device to be charged, thereby ensuring that the device to be charged is charged with enough power before the expected usage time.
[0104] In one embodiment, after determining the candidate charging time as the target charging time in step S103 above, the charging method provided in this application embodiment further includes:
[0105] Send the target charging time to the power supply equipment; wherein, the target charging time is used to instruct the power supply equipment to charge the device to be charged when the target charging time is reached at the current time;
[0106] When the target charging time is reached, the device to be charged is woken up in response to the wake-up message sent by the power supply equipment, and the device to be charged is charged by the power supply equipment.
[0107] In practice, after determining the target charging time, the target charging time can be sent to the power supply equipment. Upon receiving the target charging time, the power supply equipment can monitor the current time. If the current time has not reached the target charging time, the device to be charged can enter a sleep state to save energy. If the current time reaches the target charging time, the power supply equipment can send a wake-up message to the device to be charged to wake it up and start charging it.
[0108] This application embodiment establishes a scheduled charging mechanism by sending the target charging time to the power supply device and, upon reaching the target charging time, waking up the device to be charged in response to a wake-up message sent by the power supply device, and then having the power supply device charge the device to be charged. This ensures that the device to be charged starts charging at the target charging time, thus guaranteeing that the device to be charged is fully charged before the user needs it and reducing charging costs. In addition, the device to be charged can enter a sleep state before the target charging time arrives, saving energy consumption during the waiting period. Furthermore, based on the scheduled charging mechanism, the entire charging process requires no manual intervention; the power supply device can autonomously manage the charging sequence to wake up the device to be charged, improving charging reliability.
[0109] In one embodiment, after determining the candidate charging time as the target charging time in step S103 above, the charging method provided in this application embodiment further includes:
[0110] Based on the target charging time, the corresponding charging end time, charging price, and charging power, a three-dimensional situation map of charging time, charging price, and charging power is generated.
[0111] Output a 3D situation map.
[0112] Optionally, the charging price corresponding to the target charging time may include the charging prices corresponding to multiple third charging periods between the target charging time and the charging end time; the charging power corresponding to the target charging time may include the charging power of the device to be charged during multiple fourth charging periods between the target charging time and the charging end time. Optionally, for each fourth charging period, the charging power of the device to be charged during the fourth charging period may be equal to the output power of the power supply device during the fourth charging period. The third charging period, the fourth charging period, the aforementioned first charging period, and the aforementioned second charging period may be completely identical, partially identical, or completely different.
[0113] In actual implementation, given the target charging time and the charging end time corresponding to the target charging time, the charging price corresponding to each of the multiple third charging periods and the charging power of each of the multiple fourth charging periods can be obtained. Then, based on the target charging time, the charging end time corresponding to the target charging time, the charging price corresponding to each of the multiple third charging periods, and the charging power of the multiple fourth charging periods, a three-dimensional situation map can be generated that represents the change of charging price from the target charging time to the charging end time and the change of charging power from the target charging time to the charging end time.
[0114] It is worth mentioning that after determining the candidate charging time as the target charging time in step S103 above, the target charging time and the corresponding charging cost can also be output so that the user knows the start time and cost of the current charging of the device to be charged.
[0115] This application embodiment generates a three-dimensional situation map of charging time, charging price, and charging power based on the target charging time, the corresponding charging end time, charging price, and charging power, and outputs the three-dimensional situation map. This allows users to clearly know the start and end times of the current charging of the device to be charged, as well as the changes in charging price and charging power during the charging process, thereby improving the user's charging experience.
[0116] In one specific embodiment, the device to be charged can be a vehicle, and the power supply equipment can be a charging pile conforming to the standard GB / T27930.2-2024 "Digital Communication Protocol between Off-board Conductive Chargers and Electric Vehicles". Please refer to [link / reference]. Figure 2 The charging method provided in this application embodiment may also include, but is not limited to, the following steps:
[0117] (1) The vehicle and the charging station complete the physical connection of the charging gun;
[0118] (2) The vehicle and the charging station negotiate the protocol version;
[0119] In practice, if both parties agree on the protocol version, they can switch to the V2.0.0 version of the communication protocol.
[0120] (3) Negotiate the scheduled charging function between the vehicle and the charging station;
[0121] In practice, the charging pile supports and provides a scheduled charging function. The vehicle can respond to the user's input of the expected usage time and actively select the scheduled charging function of the charging pile. The charging function of both parties is successfully negotiated.
[0122] (4) The charging pile sends a reservation charging information message to the vehicle through its reservation charging function module; the reservation charging information message may include the output power information of the charging pile; the output power information may include the maximum output power of the charging pile, and the percentage of the available output power of the charging pile for 24 hours to the maximum output power.
[0123] (5) The vehicle determines the target charging time based on the estimated usage time, current battery level, target battery level, current battery temperature, charging pile output power information and time-of-use electricity price information;
[0124] (6) The vehicle sends the target charging time to the charging station, the charging appointment negotiation between the two parties is successful, and the vehicle enters the hibernation state.
[0125] (7) When the target charging time is reached at the current time, the charging pile sends a wake-up message to the vehicle to wake up the vehicle and charge the vehicle.
[0126] The specific implementation process of this embodiment can be referred to the description in the above embodiments, and will not be repeated here.
[0127] This application embodiment establishes a scheduled charging mechanism by negotiating protocol versions, scheduled charging functions, and scheduled charging between the vehicle and the charging pile. This makes the charging method provided by this application embodiment applicable to various charging protocol versions and has high functional compatibility. In addition, the vehicle can enter a sleep state before the target charging time arrives, which can save energy consumption during the waiting period. Furthermore, based on the scheduled charging mechanism, the entire charging process does not require manual intervention. The charging pile can autonomously manage the charging sequence to wake up the vehicle for charging, which can improve charging reliability.
[0128] In another specific embodiment, the device to be charged can be a vehicle, and the power supply device can be a charging pile; please refer to [link to previous document]. Figure 3 The charging method provided in this application embodiment may also include, but is not limited to, the following steps:
[0129] Step 1: Obtain multiple candidate charging times; In actual implementation, multiple candidate charging times can be selected from the time interval from the current time to the vehicle's expected usage time according to the first time interval (e.g., 5 minutes). The time interval between any two adjacent candidate charging times is equal to the first time interval.
[0130] Step 2: For each candidate charging time, based on the vehicle operating parameters and charging pile operating parameters corresponding to the candidate charging time, and combined with the current prediction model and temperature rise prediction model, determine the charging end time corresponding to the candidate charging time.
[0131] Step 3: For each candidate charging time, determine the charging cost corresponding to the candidate charging time based on the candidate charging time, its corresponding charging end time, and the time-of-use electricity price curve.
[0132] Step 4: Determine if there is a first candidate charging time that meets the preset charging time conditions before the expected usage time.
[0133] If there is a first candidate charging time that meets the preset charging time conditions before the expected usage time, then proceed to step 5: select the second candidate charging time with the lowest charging cost from the first candidate charging time as the target charging time.
[0134] If there is no first candidate charging time that meets the preset charging time conditions before the expected usage time, then proceed to step 6 and determine the current time as the target charging time.
[0135] Step 7: Send the target charging time to the charging station via a vehicle reservation charging information message so that the charging station can charge the vehicle when the target charging time arrives at the current time.
[0136] Step 8: Inform the user of the start time and cost of this charging session through the in-vehicle infotainment system (IVI) or mobile application (APP), and show the user a three-dimensional status map of the charging time, charging price and charging power.
[0137] The specific implementation process of this embodiment can be referred to the description in the above embodiments, and will not be repeated here.
[0138] It is worth mentioning that, before determining the charging cost corresponding to the candidate charging time in step 3 based on the candidate charging time, its corresponding charging end time, and the time-of-use electricity price curve, the charging end time corresponding to the candidate charging time can be corrected using the charging duration correction coefficient corresponding to the power supply equipment. This improves the accuracy of determining the candidate charging time as the target charging time and ensures that the device to be charged starts charging at the target charging time. This not only ensures that the device to be charged is fully charged before the user needs to use it, but also reduces charging costs.
[0139] For example, a user sets a scheduled charging time at 8:00 PM. The vehicle's current battery level is 10%, the current battery temperature is 15°C, and the battery capacity is 100 kWh. The user sets a target battery level of 100% and the expected usage time is 8:00 AM the next day. Multiple candidate charging times can be determined at 5-minute intervals: 8:05 PM, 8:10 PM... 8:00 AM.
[0140] Optionally, the output power curve of the charging pile can be as follows: 20:00-22:00, the output power of the charging pile is 20kW; 22:00-1:00, the output power of the charging pile is 30kW; 1:00-3:00, the output power of the charging pile is 40kW; 3:00-8:00, the output power of the charging pile is 30kW.
[0141] Optionally, the time-of-use electricity price curve can be as follows: 20:00-22:00, the charging price is 1.2 yuan / kWh; 22:00-24:00, the charging price is 1.0 yuan / kWh; 0:00-5:00, the charging price is 0.6 yuan / kWh; 5:00-8:00, the charging price is 0.8 yuan / kWh.
[0142] For each candidate charging time, the first charging time can be calculated based on the vehicle's current battery level, current battery temperature and capacity, the user-set target battery level, and the charging pile's output power curve. Then, the first charging time can be corrected using a charging pile's charging time correction factor (e.g., 15%) to obtain the second charging time. Finally, based on the time-of-use electricity price curve, the charging cost from the start of the candidate charging time to reaching the second charging time can be calculated. The calculation results are shown in the table below.
[0143] Candidate charging time First charging time Second charging time Charging cost / yuan 20:00 4h 4h36m 106 20:05 3h58m 4h33m 104.5 …… 22:00 3h10m 3h38m 88 22:05 3h8m 3h35m 87.2 …… 0:00 2h45m 3h10m 54 0:05 2h43m 3h8m 54 …… 1:00 2h30m 2h52m 54 1:05 2h32m 2h54m 54 …… 4:50 3h10m Unable to fill 70.6 4:55 Unable to fill Unable to fill \ …… 8:00 Unable to fill Unable to fill \
[0144] As shown in the table above, among the candidate charging times with a charging end time earlier than 8:00 the next day, the charging costs corresponding to 00:00, 0:05...1:05 are the lowest. In order to allow enough time to deal with possible emergencies during the charging process, the earliest candidate charging time of 00:00 among the candidate charging times with the lowest charging costs can be taken as the target charging time.
[0145] The charging method provided in this application is applicable to multi-period electricity pricing systems (such as a peak-high-flat-valley four-period electricity pricing system). By acquiring multiple candidate charging times before the expected usage time, the time interval between the current time and the expected usage time can be divided into minute-level time slices. Furthermore, based on the charging end time and charging cost corresponding to each candidate charging time, the target charging time that meets the preset charging time and cost requirements can be accurately determined. Additionally, in determining the charging end time corresponding to the candidate charging time, a temperature rise prediction model is used to predict the battery temperature change during charging, taking into account the influence of battery temperature and improving the accuracy of determining the charging end time corresponding to the candidate charging time. Moreover, in determining the charging end time corresponding to the candidate charging time, a charging duration correction coefficient corresponding to the power supply equipment is used to correct the charging end time, taking into account the effects of grid fluctuation characteristics, user charging behavior deviations, and power supply equipment aging, further improving the accuracy of determining the charging end time corresponding to the candidate charging time. In summary, ensuring that the device to be charged starts charging at the target charging time not only ensures that the device is fully charged before the user needs to use it but also reduces charging costs.
[0146] See Figure 4 This application embodiment also provides a charging device 400 that can implement the above-described charging method. The device 400 includes an acquisition module 401, a first determination module 402, and a second determination module 403.
[0147] The acquisition module 401 is used to acquire candidate charging times that are before the estimated usage time of the device to be charged in response to the estimated usage time of the device to be charged.
[0148] The first determining module 402 is used to determine the charging end time and charging cost corresponding to the start time of charging under the candidate charging time.
[0149] The second determining module 403 is used to determine the candidate charging time as the target charging time if the charging end time is earlier than or equal to the expected usage time and the charging cost corresponding to the candidate charging time meets the preset charging cost condition. The target charging time is the time when the power supply equipment starts charging the device to be charged.
[0150] The charging device provided in this application embodiment can implement all the steps of the above charging method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0151] This application also provides an electronic device, including a processor and a memory. The memory stores a program or instructions that can run on the processor. When the program or instructions are executed by the processor, they implement the various steps of the above-described charging method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0152] Figure 5 To illustrate the hardware structure of the electronic device according to the embodiments of this application, the electronic device includes:
[0153] The processor 501 can be implemented using a general-purpose central processing unit (CPU), microprocessor, application specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this application.
[0154] The memory 502 can be implemented as a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 502 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented through software or firmware, the relevant program code is stored in the memory 502 and is called and executed by the processor 501 using the charging method of the embodiments of this application.
[0155] The input / output interface 503 is used to implement information input and output;
[0156] The communication interface 504 is used to enable communication and interaction between this electronic device and other devices. Communication can be achieved through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0157] Bus 505 transmits information between various components of an electronic device (e.g., processor 501, memory 502, input / output interface 503, and communication interface 504);
[0158] The processor 501, memory 502, input / output interface 503, and communication interface 504 are connected to each other within the electronic device via bus 505.
[0159] The electronic device provided in this application embodiment can implement all the steps of the above charging method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0160] This application also provides a computer-readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various steps of the charging method embodiments described above and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0161] The processor is the processor in the electronic device described in the above embodiments. The computer-readable storage medium includes computer-readable storage media such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0162] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run programs or instructions to implement the various steps of the above charging method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.
[0163] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0164] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various steps of the charging method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0165] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not delete other identical elements present in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0166] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this application.
[0167] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A charging method, characterized in that, Applied to electronic devices, including: In response to the estimated usage time of the device to be charged, a candidate charging time prior to the estimated usage time is obtained; Determine the charging end time and charging cost corresponding to the start time of the candidate charging time; If the charging end time is earlier than or equal to the expected usage time, and the charging cost corresponding to the candidate charging time meets the preset charging cost condition, then the candidate charging time is determined as the target charging time, wherein the target charging time is the time when the power supply device starts charging the device to be charged.
2. The charging method as described in claim 1, characterized in that, When there are multiple candidate charging times, the step of determining the candidate charging time as the target charging time if the charging end time is earlier than or equal to the expected usage time and the charging cost corresponding to the candidate charging time meets a preset charging cost condition includes: Select a first candidate charging time from the plurality of candidate charging times whose charging end time is earlier than or equal to the expected usage time; When there are multiple first candidate charging times, a second candidate charging time that meets the preset charging cost condition is selected from the multiple first candidate charging times. The target charging time is determined based on the second candidate charging time.
3. The charging method as described in claim 1, characterized in that, Determining the charging end time and charging cost corresponding to the start time of the candidate charging time includes: Based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged, the charging end time corresponding to the candidate charging time is determined. The device operating parameters include the operating parameters of at least one of the devices to be charged and the power supply devices.
4. The charging method as described in claim 3, characterized in that, The device operating parameters include the charging current of the device to be charged during multiple first charging periods; The step of determining the charging end time corresponding to the candidate charging time based on the device operating parameters corresponding to the candidate charging time and the target power of the device to be charged includes: For each of the first charging periods, the charging capacity of the device to be charged during the first charging period is determined based on the charging current of the device to be charged during the first charging period and the duration of the first charging period. Based on the charging capacity of the device to be charged during the first charging period and the target capacity of the device to be charged, a first charging duration corresponding to the candidate charging time is determined; wherein, the first charging duration represents the charging time required for the device to be charged to reach the target capacity from the start of the candidate charging time. The charging end time is determined based on the candidate charging time and the first charging duration.
5. The charging method as described in claim 4, characterized in that, Before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method further includes: Based on the initial charge of the device to be charged during the first charging period, the power supply of the power supply device during the first charging period, and the charging temperature corresponding to the first charging period, the charging current corresponding to the first charging period is determined. The charging temperature corresponding to the first charging period includes at least one of the following: the ambient temperature corresponding to the first charging period, and the initial battery temperature of the device to be charged during the first charging period.
6. The charging method as described in claim 4, characterized in that, The charging current of the device to be charged during the first charging period is determined based on the initial battery temperature of the device to be charged during the first charging period. Before determining the charging capacity of the device to be charged during the first charging period based on the charging current of the device to be charged during the first charging period and the duration of the first charging period, the charging method further includes: The battery temperature rise rate corresponding to the (n-1)th charging period is determined based on the charging current and initial battery temperature. The battery temperature rise corresponding to the (n-1)th charging period is determined based on the duration of the (n-1)th charging period and the battery temperature rise rate. The initial battery temperature corresponding to the nth charging period is determined based on the initial battery temperature corresponding to the (n-1)th charging period and the battery temperature rise. Wherein, the nth charging period refers to the first charging period with a sorting value of n among the plurality of first charging periods, where n is an integer greater than 1.
7. The charging method as described in claim 4, characterized in that, Determining the charging end time based on the candidate charging time and the first charging duration includes: The first charging time is corrected according to the charging time correction coefficient corresponding to the power supply equipment to obtain the second charging time corresponding to the candidate charging time. The charging end time is determined based on the candidate charging time and the second charging duration.
8. The charging method as described in claim 1, characterized in that, The candidate charging time and the charging end time include multiple second charging periods; Determining the charging end time and charging cost corresponding to the start time of the candidate charging time includes: For each second charging period, the charging cost corresponding to the second charging period is determined based on the charging capacity and charging price corresponding to the second charging period. The charging cost corresponding to the candidate charging time is determined based on the charging cost corresponding to each second charging period.
9. The charging method as described in claim 1, characterized in that, After determining the charging end time and charging cost corresponding to the start time of the candidate charging time, the charging method further includes: If it is determined that there is no candidate charging time that meets the preset charging time condition before the estimated usage time, then the current time is determined as the target charging time; The preset charging time condition is that the charging end time is earlier than or equal to the expected usage time.
10. The charging method as described in claim 1, characterized in that, After determining the candidate charging time as the target charging time, the charging method further includes: The target charging time is sent to the power supply device; wherein, the target charging time is used to instruct the power supply device to charge the device to be charged when the current time reaches the target charging time; When the current time reaches the target charging time, the device to be charged is woken up in response to a wake-up message sent by the power supply device, and the device to be charged is charged by the power supply device.
11. The charging method as described in claim 1, characterized in that, After determining the candidate charging time as the target charging time, the charging method further includes: Based on the target charging time, and the charging end time, charging price, and charging power corresponding to the target charging time, a three-dimensional situation map of charging time, charging price, and charging power is generated. Output the three-dimensional situation map.
12. A charging device, characterized in that, It includes an acquisition module, a first determination module, and a second determination module; The acquisition module is used to acquire candidate charging times that are prior to the expected usage time of the device to be charged in response to the expected usage time of the device to be charged. The first determining module is used to determine the charging end time and charging cost corresponding to the start time of the candidate charging time; The second determining module is used to determine the candidate charging time as the target charging time if the charging end time is earlier than or equal to the expected usage time and the charging cost corresponding to the candidate charging time meets the preset charging cost condition. The target charging time is the time when the power supply device starts charging the device to be charged.
13. An electronic device, characterized in that, The electronic device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to implement the charging method as described in any one of claims 1 to 11.