A remaining charging duration adjustment method and device, an auxiliary device and a medium
By acquiring the charging power and interval duration during the charging process of electric vehicles, calculating the adjustment factor, and adjusting the charging duration, the problem of inaccurate calculation of electric vehicle charging duration is solved, and more precise charging management and resource utilization are achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2026-03-31
AI Technical Summary
In existing technologies, the calculation of charging time for electric vehicles is not accurate enough, making it difficult for users to accurately grasp the remaining charging time and affecting charging management.
By acquiring the charging power from the historical time to the target time, calculating the adjustment factor, and adjusting the initial remaining charging time according to the interval and charging power, the target remaining charging time is obtained. The charging power is recorded using a preset storage medium, and the charging time of the charging equipment is adjusted in a timely manner.
It improves the accuracy of calculating remaining charging time, allowing users to more accurately grasp the charging time and optimizes the utilization of charging resources and the accuracy of billing.
Smart Images

Figure CN116674413B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging equipment technology, and in particular to a method, apparatus, auxiliary equipment and medium for adjusting remaining charging time. Background Technology
[0002] Electric vehicles are becoming increasingly widespread, but their battery capacity is limited, necessitating charging. Current technology, when using charging stations, typically calculates remaining charging time by subtracting the actual charging time from the user-selected charging time. However, due to differences in power output between brands and types of electric vehicles, the same charging time may result in a higher-powered vehicle reaching nearly 100% charge, while a lower-powered vehicle may have less than 50% charge. Therefore, users cannot accurately monitor remaining charging time for effective management. Summary of the Invention
[0003] The purpose of this application is to provide a method, apparatus, auxiliary device, and medium for adjusting remaining charging time, so as to improve the accuracy of calculating remaining charging time and solve the problem that users cannot accurately grasp the remaining charging time and thus manage the charging time.
[0004] In a first aspect, embodiments of this application provide a method for adjusting remaining charging time, the method comprising:
[0005] The charging power of the charging device charging the target device during the period from the historical time to the target time is obtained as the first charging power, wherein the historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time;
[0006] An adjustment factor is calculated based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power;
[0007] Based on the interval between the historical time and the target time, and the adjustment factor, the initial remaining charging time is adjusted to obtain the target remaining charging time. The initial remaining charging time is the remaining charging time of the target device after adjustment at the historical time, and the target remaining charging time is negatively correlated with the interval.
[0008] In one possible implementation, calculating the adjustment factor based on the first charging power includes:
[0009] The charging power of the charging device charging the target device during the period from the target time to the future time is obtained as the second charging power, wherein the future time is the time after the target time when the remaining charging time of the target device was most recently adjusted;
[0010] An adjustment factor is calculated based on the first charging power and the second charging power, wherein the adjustment factor is negatively correlated with the second charging power.
[0011] In one possible implementation, calculating the adjustment factor based on the first charging power and the second charging power includes:
[0012] Calculate the ratio of the first charging power to the second charging power, and use it as an adjustment factor.
[0013] In one possible implementation, adjusting the initial remaining charging time based on the interval between the historical time and the target time and the adjustment factor to obtain the target remaining charging time includes:
[0014] Calculate the difference between the initial remaining charging time and the interval duration;
[0015] Calculate the product of the difference and the adjustment factor, and use it as the target remaining charging time.
[0016] In one possible implementation, the method further includes:
[0017] If the first charging power is less than the preset standard power, the first charging power is adjusted to the preset standard power.
[0018] In one possible implementation, calculating the adjustment factor based on the first charging power includes:
[0019] Calculate the ratio of the first power to the preset standard power, and use it as the power ratio.
[0020] The maximum value between the power ratio and the natural number 1 is calculated and used as an adjustment factor.
[0021] In one possible implementation, acquiring the charging power of the charging device during the period from the historical time to the target time when charging the target device, as the first charging power, includes:
[0022] The latest recorded charging power before the target time is read from the preset storage medium as the first charging power. The preset storage medium is used to record the charging power collected by the preset acquisition unit, and the acquisition unit is used to periodically collect the charging power when the charging device charges the target device.
[0023] Secondly, embodiments of this application provide a remaining charging time adjustment device, the device comprising:
[0024] The power acquisition module is used to acquire the charging power of the charging device when charging the target device during the period from the historical time to the target time, as the first charging power, wherein the historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time;
[0025] A factor calculation module is used to calculate an adjustment factor based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power;
[0026] The duration adjustment module is used to adjust the initial remaining charging duration according to the interval duration between the historical time and the target time and the adjustment factor to obtain the target remaining charging duration, wherein the initial remaining charging duration is the remaining charging duration of the target device after adjustment at the historical time, and the target remaining charging duration is negatively correlated with the interval duration.
[0027] In one possible implementation, the factor calculation module includes:
[0028] The first submodule is used to obtain the charging power of the charging device charging the target device during the period from the target time to the future time, as the second charging power, wherein the future time is the time after the target time when the remaining charging time of the target device was most recently adjusted;
[0029] The second submodule is used to calculate an adjustment factor based on the first charging power and the second charging power, wherein the adjustment factor is negatively correlated with the second charging power.
[0030] The second submodule for calculation includes:
[0031] A calculation unit is used to calculate the ratio of the first charging power to the second charging power as an adjustment factor;
[0032] The duration adjustment module includes:
[0033] The difference calculation submodule is used to calculate the difference between the initial remaining charging time and the interval time;
[0034] The product calculation submodule is used to calculate the product of the difference and the adjustment factor as the target remaining charging time;
[0035] The device further includes:
[0036] A standard power adjustment module is used to adjust the first charging power to the preset standard power if the first charging power is less than the preset standard power.
[0037] The factor calculation module includes:
[0038] The power ratio calculation submodule is used to calculate the ratio of the first power to the preset standard power as the power ratio.
[0039] The maximum value calculation submodule is used to calculate the maximum value between the power ratio and the natural number 1, as an adjustment factor;
[0040] The power acquisition module includes:
[0041] The reading submodule is used to read the latest recorded charging power before the target time from the preset storage medium as the first charging power. The preset storage medium is used to record the charging power collected by the preset acquisition unit, and the acquisition unit is used to periodically collect the charging power when the charging device charges the target device.
[0042] Thirdly, embodiments of this application provide an auxiliary device that establishes a communication connection with a charging device. The auxiliary device includes: a computing unit and a transmitting unit.
[0043] The calculation unit is configured to obtain the charging power of the charging device charging the target device during the period from a first historical time to a target time, as the first charging power, wherein the first historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time; calculate an adjustment factor based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power; and adjust the initial remaining charging time based on the interval between the first historical time and the target time and the adjustment factor to obtain the target remaining charging time, wherein the initial remaining charging time is the remaining charging time of the target device after adjustment at the historical time, and the target remaining charging time is negatively correlated with the interval.
[0044] The sending unit is used to send the target remaining charging time to the charging device, so that the charging device can charge according to the target remaining charging time.
[0045] In one possible implementation, the auxiliary device further includes: a data acquisition unit and a storage unit;
[0046] The acquisition unit is used to periodically acquire the charging power of the charging device when it charges the target device.
[0047] The storage unit is used to store the charging power of the charging device collected and the remaining charging time calculated each time.
[0048] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements any of the aforementioned methods for adjusting remaining charging time.
[0049] In the solution provided in this application embodiment, the charging power of the charging device charging the target device during the period from a historical time to a target time is obtained as the first charging power. The historical time is the time before the target time when the remaining charging time of the target device was most recently adjusted. An adjustment factor is calculated based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power. The initial remaining charging time is adjusted based on the interval between the historical time and the target time and the adjustment factor to obtain the target remaining charging time. The initial remaining charging time is the remaining charging time of the target device after adjustment at the historical time, and the target remaining charging time is negatively correlated with the interval.
[0050] The adjustment factor in this application is calculated based on the first charging power. That is, the remaining charging time is adjusted based on the first charging power and the interval duration, and the frequency of adjusting the remaining charging time is determined by the interval duration. The first charging power reflects the real-time charging power of the target device from a historical time to the target time. During charging, when the first charging power of the target device increases, the charging time is shortened, i.e., the remaining charging time becomes shorter; when the first charging power of the target device decreases, the charging time is lengthened, i.e., the remaining charging time becomes longer. Users can accurately grasp the remaining charging time, thereby managing the charging duration.
[0051] Of course, implementing any product or method of this application does not necessarily require achieving all of the advantages described above at the same time. Attached Figure Description
[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these drawings.
[0053] Figure 1 This is a schematic diagram of a first process for a method of adjusting remaining charging time provided in an embodiment of this application;
[0054] Figure 2This is a second flowchart illustrating a method for adjusting remaining charging time provided in an embodiment of this application;
[0055] Figure 3 This is a schematic diagram of a third method for adjusting remaining charging time provided in an embodiment of this application;
[0056] Figure 4 This is a schematic diagram of a fourth method for adjusting remaining charging time provided in an embodiment of this application;
[0057] Figure 5 A fifth flowchart illustrating a method for adjusting remaining charging time provided in an embodiment of this application;
[0058] Figure 6 A sixth flowchart illustrating a method for adjusting remaining charging time provided in an embodiment of this application;
[0059] Figure 7 This is a schematic diagram of the structure of a remaining charging time adjustment device provided in an embodiment of this application;
[0060] Figure 8 This is a schematic diagram of the structure of an auxiliary device provided in an embodiment of this application. Detailed Implementation
[0061] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art based on this application are within the scope of protection of this application.
[0062] The solution in this application can be applied to billed charging scenarios. In practical applications, users use charging equipment provided by operators to charge target devices. Charging usually requires payment, and operators need to calculate the amount to be refunded to users based on the calculated remaining charging time. Currently, there are many billing methods for electric vehicle charging, including those based on electricity consumption and those based on charging time. However, due to the different power outputs of electric vehicles, billing based on electricity consumption is not fair. Furthermore, the charging power of electric vehicles is not fixed during the charging process, so the calculation of charging time is not accurate enough. Therefore, it is necessary to accurately calculate the remaining charging time. On the one hand, this allows users to accurately grasp the remaining charging time and thus manage the charging duration. On the other hand, it makes charging charges more accurate and reasonable.
[0063] To improve the accuracy of calculating remaining charging time and solve the problem that users cannot accurately grasp the remaining charging time and thus manage the charging time, the first aspect of this application provides a method for adjusting remaining charging time.
[0064] like Figure 1 As shown, Figure 1 A first flowchart illustrating a method for adjusting remaining charging time provided in this application embodiment may specifically include the following steps:
[0065] Step S1: Obtain the charging power of the charging device when charging the target device during the period from the historical time to the target time, and use it as the first charging power. The historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time.
[0066] In practical applications, the charging equipment can be a charging pile or other equipment with charging capabilities, and the target device can be an electric vehicle, mobile phone, or other device that needs charging. The target time can be any time, such as the time when the user needs to stop charging the target device or needs to know the remaining charging time. The historical time is the time before the target time when the remaining charging time of the target device was most recently adjusted. For example, assuming the remaining charging time of the target device was first adjusted at t=10min and then adjusted again at t=20min, and the target time is t=30min, then the historical time is t=20min.
[0067] Step S2: Calculate the adjustment factor based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power.
[0068] Step S3: Adjust the initial remaining charging time according to the interval between the historical time and the target time and the adjustment factor to obtain the target remaining charging time. The initial remaining charging time is the remaining charging time of the target device after adjustment at the historical time, and the target remaining charging time is negatively correlated with the interval.
[0069] The interval duration can be obtained by a timer. For scenarios where the remaining charging time is adjusted once every preset interval, the interval duration can also be a preset duration, such as 1 minute, 2 minutes, 3 minutes, etc. The shorter the interval duration, the faster the remaining charging time is adjusted, and the more accurate the adjustment. Conversely, the longer the interval duration, the slower the adjustment, as it consumes fewer system resources. Based on the interval duration between the historical time and the target time, and the adjustment factor, the remaining charging time of the target device is adjusted. The longer the interval duration, the shorter the adjusted remaining charging time. The adjustment factor is obtained based on the first charging power; that is, the higher the first charging power, the shorter the adjusted remaining charging time, i.e., the target remaining charging time.
[0070] As can be seen, using the method of this embodiment, when calculating the remaining charging time of the target device at the target time, the charging power of the charging device charging the target device during the period from the historical time to the target time is obtained as the first charging power, wherein the historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time. Based on the first charging power, an adjustment factor is calculated, wherein the adjustment factor is positively correlated with the first charging power; based on the interval between the historical time and the target time and the adjustment factor, the initial remaining charging time is adjusted to obtain the target remaining charging time, wherein the initial remaining charging time is the remaining charging time of the target device after adjustment at the historical time, and the target remaining charging time is negatively correlated with the interval. Applying the scheme of this application, the adjustment factor is calculated based on the first charging power, that is, the remaining charging time is adjusted based on the first charging power and the interval, and the frequency of adjusting the remaining charging time is determined by the interval. The first charging power reflects the real-time charging power of the target device from the historical time to the target time. During the charging process, as the initial charging power of the target device increases, the charging time is shortened, meaning the remaining charging time decreases; conversely, as the initial charging power decreases, the charging time is lengthened, meaning the remaining charging time increases. Users can accurately monitor the remaining charging time and thus manage the charging duration. (Examples are shown in Method 1 or Method 2, but other methods besides Method 1 or Method 2 are also possible.)
[0071] like Figure 2 As shown, Figure 2 This is a second flowchart illustrating a method for adjusting remaining charging time according to an embodiment of this application. Step S2 may specifically include the following steps:
[0072] Step S21: Obtain the charging power of the charging device when charging the target device during the period from the target time to the future time, and use it as the second charging power, wherein the future time is the time after the target time when the remaining charging time of the target device was most recently adjusted.
[0073] Step S22: Calculate an adjustment factor based on the first charging power and the second charging power, wherein the adjustment factor is negatively correlated with the second charging power.
[0074] Applying the method of this application embodiment, when calculating the remaining charging time of the target device, the charging power of the charging device charging the target device during the period from the historical time to the target time is obtained as the first charging power. The charging power of the charging device charging the target device during the period from the target time to a future time is obtained as the second charging power. Based on the first charging power and the second charging power, an adjustment factor is calculated so that when the initial remaining charging time of the target device is adjusted according to the interval between the historical time and the target time and the adjustment factor to obtain the target remaining charging time, the target remaining charging time is jointly determined by the interval, the first charging power, and the second charging power. The shorter the interval, the more accurately the user can grasp the remaining charging time, thereby managing the charging time. (Exemplary method one is shown, but other methods besides method one are also applicable to this solution.)
[0075] like Figure 3 As shown, Figure 3 This is a third flowchart illustrating a method for adjusting remaining charging time according to an embodiment of this application. Step S22 may specifically include the following steps:
[0076] Step S221: Calculate the ratio of the first charging power to the second charging power as an adjustment factor.
[0077] The solution in this application uses the ratio of the first charging power to the second charging power as the adjustment factor. This allows the initial remaining charging time to be adjusted based on the interval between the historical time and the target time, and the adjustment factor. Specifically, the larger the ratio (i.e., the higher the first charging power and the lower the second charging power), the longer the remaining charging time for the target device. This allows users to more accurately manage the remaining charging time. (Method one is an example; other methods besides Method one are also applicable to this solution.)
[0078] like Figure 4 As shown, Figure 4 This is a fourth flowchart illustrating a method for adjusting remaining charging time according to an embodiment of this application. Step S3 may specifically include the following steps:
[0079] Step S31: Calculate the difference between the initial remaining charging time and the interval time.
[0080] Step S32: Calculate the product of the difference and the adjustment factor as the target remaining charging time.
[0081] Specifically, the target remaining charging time can be calculated using formula (1):
[0082] Target remaining charging time = (initial remaining charging time - interval time) * (first charging power / second charging power) ... Formula (1)
[0083] The solution applying this application adjusts the initial remaining charging time of the target device based on the ratio of the first charging power to the second charging power and the difference between the remaining charging time and the interval time. A larger difference (i.e., a longer remaining charging time and a shorter interval time) and a larger ratio (i.e., a higher first charging power and a lower second charging power) result in a longer target remaining charging time. Furthermore, a larger difference and a shorter interval time lead to a faster frequency of adjusting the initial remaining charging time, resulting in more accurate control of the target remaining charging time. This allows users to more precisely manage the remaining charging time and thus control the charging duration. (Exemplary method one is shown, but other methods besides method one are also applicable to this solution.)
[0084] like Figure 5 As shown, Figure 5 This is a fifth flowchart illustrating a method for adjusting remaining charging time according to an embodiment of this application. The method further includes the following steps:
[0085] Step S4: If the first charging power is less than the preset standard power, adjust the first charging power to the preset standard power.
[0086] In actual charging, if the target device's actual charging power is too low, it will take a long time to complete charging, during which time the target device will occupy the charging equipment for an extended period. For public charging facilities, since the number of such facilities is often limited, if the target device occupies the charging equipment for an extended period, it will make it difficult for other devices to charge, resulting in a waste of charging resources. Therefore, in this application, if the target device's actual charging power is lower than the preset standard power, the remaining charging time is adjusted to the condition that the target device's actual charging power equals the preset standard power. This effectively prevents the target device from occupying the charging equipment for an extended period, improving the utilization rate of charging resources.
[0087] In one possible embodiment, when both the first charging power and the second charging power are less than or equal to a preset standard power, the first charging power and the second charging power are both adjusted to the preset standard power. At this time, when the ratio of the first charging power to the second charging power is 1, for the adjustment method in S3 mentioned above, the target remaining charging time is the difference between the initial remaining charging time and the interval time. Therefore, in this case, the method of adjusting the remaining charging time can be simplified to subtracting the interval time from the initial remaining charging time.
[0088] The solution in this application, when the first charging power is less than a preset standard power, adjusts the first charging power to the preset standard power and calculates the target remaining charging time for the target device. For users, the charging time consumed when the charging power is low and below the preset standard power is itself a time cost; the solution in this application can save users' time. For operators, charging costs still occur even when the charging frequency is low; the solution in this application can also reduce operators' costs to some extent.
[0089] In one possible embodiment, step S2 above may specifically include the following steps:
[0090] Step S201: Calculate the ratio of the first charging power to the preset standard power as the power ratio.
[0091] Step S202: Calculate the maximum value between the power ratio and the natural number 1, and use it as an adjustment factor.
[0092] The adjustment factor is calculated based on the first charging power and the preset standard power, so that the initial remaining charging time is adjusted according to the interval between the historical time and the target time and the adjustment factor, and the target remaining charging time is obtained. Specifically, the target remaining charging time can be calculated using formula (2):
[0093] New remaining charging time = Remaining charging time - N*max{first charging power / preset standard power, 1}……Formula (2)
[0094] Where N is the interval duration.
[0095] The solution applied in this application embodiment can calculate an adjustment factor based on the first charging power and the preset standard power. This allows the target remaining charging time to be adjusted based on the ratio of the first charging power to the preset standard power, the initial remaining charging time, and the interval duration. A larger power ratio (i.e., a larger first charging power) results in a shorter remaining charging time for the adjusted target device. Furthermore, a larger power ratio and a shorter interval duration lead to a faster frequency of remaining charging time adjustment and more accurate remaining charging time control. This allows users to more precisely control the remaining charging time and manage charging duration. (Method two is an example; other methods besides Method two that are applicable to this solution may also be used.)
[0096] To illustrate the methods of this application, the following description is provided in conjunction with specific embodiments. In the aforementioned application scenario of billed charging, this application provides two methods for calculating the remaining charging time:
[0097] The initial charging power is 210W; after 10 minutes of charging, the power is 440W; after 20 minutes of charging, the power is 330W; after 30 minutes of charging, the power is 550W; after 40 minutes of charging, the power is 440W; after 50 minutes of charging, the power is 330W; after 60 minutes of charging, the power is 220W; after 70 minutes of charging, the power is 110W; and after 80 minutes of charging, the power is 100W.
[0098] Method 1: Calculate the adjustment factor according to steps S21 and S22 above, so that the initial remaining charging time of the target device is adjusted according to the interval between the historical time and the target time and the adjustment factor, to obtain the target remaining preset time. The calculation formula is formula (1): Target remaining charging time = (initial remaining charging time - interval time) * (first charging power / second charging power). The calculation results are shown in Table 1, which is the calculation table of Method 1 for calculating the target remaining charging time in the actual application provided by the embodiments of this application.
[0099] Table 1
[0100]
[0101] In Table 1, 220W is set as the preset standard power, and the interval is 10 minutes. The target remaining charging time is calculated.
[0102] At the initial moment, the first charging power is 210W, which is less than the preset standard power of 220W. The first charging power is adjusted to the preset standard power of 220W, and the target remaining charging time is calculated to be 240 minutes.
[0103] After 10 minutes of charging, the first charging power is 220W and the second charging power is 440W. The ratio of the first charging power to the second charging power is calculated and used as an adjustment factor. The difference between the initial remaining charging time and the interval time is calculated. The product of the adjustment factor and the difference is calculated, and the target remaining charging time is calculated to be 115 minutes.
[0104] After 20 minutes of charging, the first charging power is 440W and the second charging power is 330W. The ratio of the first charging power to the second charging power is calculated and used as an adjustment factor. The difference between the initial remaining charging time and the interval time is calculated. The product of the adjustment factor and the difference is calculated, and the target remaining charging time is calculated to be 140 minutes.
[0105] After 30 minutes of charging, the first charging power is 330W, and the second charging power is 550W. The ratio of the first charging power to the second charging power is calculated and used as an adjustment factor. The difference between the initial remaining charging time and the interval time is calculated, and the product of the adjustment factor and the difference is calculated. The target remaining charging time is then calculated to be 78 minutes. This process is repeated, and the detailed calculation results are shown in Table 1.
[0106] In the above method one, the negative correlation between the target remaining charging time and the first charging power means that, when all other factors affecting the target remaining charging time, except for the first charging power, remain unchanged, the greater the first charging power, the smaller the target remaining charging time.
[0107] In the above table (1), if the first charging power P1 is 440W, the second charging power P2 is 330W, P0 is the first charging power of the previous time, the initial remaining charging time T1 is 115 minutes, the target remaining charging time T2 is 140 minutes, and the interval is ΔT, the above formula (1) can be written as the following formula (3):
[0108] T2=(T1-ΔT)*(P1 / P2)…………Formula (3)
[0109] Where T1=(T0-ΔT)*(P0 / P1), which is denoted as formula (4). Substituting formula (4) into formula (3) yields formula (5):
[0110]
[0111] In the above formula (5), ΔT is a constant, T0 is independent of P1, P0 is the preset standard power, which is also independent of P1. As can be seen from the above, the coefficient of P1 is negative, which means that the target remaining charging time is negatively correlated with the first charging power.
[0112] Method 2: Calculate the adjustment factor according to steps S201 and S202 above, so that the initial remaining charging time of the target device is adjusted according to the interval between the historical time and the target time and the adjustment factor, to obtain the target remaining preset time. The calculation formula is formula (2): Target remaining charging time = Initial remaining charging time - N*max{first charging power / preset standard power, 1}. Where N is the interval. The calculation results are shown in Table 2, which is the calculation table of Method 2 for calculating the remaining charging time in the actual application provided by the embodiments of this application.
[0113] Table 2
[0114]
[0115] In Table 2, 220W is set as the preset standard power, and the interval is 10 minutes. The target remaining charging time is calculated.
[0116] At the initial moment, the first charging power is 210W, and the target remaining charging time is 240 minutes.
[0117] After 10 minutes of charging, the first charging power is 210W. Using the above formula, the target remaining charging time is calculated to be 230 minutes.
[0118] After 20 minutes of charging, the first charging power is 440W. Using the above formula, the target remaining charging time is calculated to be 210 minutes.
[0119] After 30 minutes of charging, the initial charging power is 330W. Using the formula above, the target remaining charging time is calculated to be 195 minutes. Detailed calculation results are shown in Table 2.
[0120] In the aforementioned billing charging scenario, the target remaining charging time is calculated using the above method. The operator then calculates the refund amount using the formula: Refund amount = Target remaining charging time (hours) * (Total amount / Total time (hours)).
[0121] like Figure 6 Show, Figure 6 This is a sixth flowchart illustrating a method for adjusting remaining charging time according to an embodiment of this application. The method S1 includes the following steps:
[0122] Step S11: Read the latest recorded charging power before the target time from the preset storage medium as the first charging power. The preset storage medium is used to record the charging power collected by the preset acquisition unit. The acquisition unit is used to periodically collect the charging power when the charging device charges the target device.
[0123] The preset storage medium stores the charging power of the charging device when charging the target device, which is periodically collected by the acquisition unit according to the time interval. In practical applications, the charging power obtained from the charging device is approximately equal to the power obtained from the target device. Therefore, in the above method, the acquisition unit can periodically collect the charging power of the charging device or the target device according to the time interval, or it can be the charging power of the target device obtained by the charging device. When the first charging power needs to be obtained, the latest recorded charging power before the target time is read from the preset storage medium.
[0124] The scheme of this application embodiment is used in which the collection unit periodically collects the charging power of the charging device when charging the target device and stores it in a preset storage medium. When it is necessary to calculate the remaining charging time, it is only necessary to read the latest recorded charging power before the target time from the preset storage medium as the first charging power, which improves the calculation efficiency of the remaining charging time. Furthermore, in the aforementioned billing charging scenario, if there is a dispute over the charging fee due to an error in the calculation of the remaining charging time, the accuracy of the charge can be determined by retrieving the stored data.
[0125] Corresponding to the above method embodiments, this application provides a remaining charging time adjustment device, such as... Figure 7 As shown, Figure 7 This is a schematic diagram of a remaining charging time adjustment device provided in an embodiment of this application. The device may include the following modules:
[0126] The power acquisition module 701 is used to acquire the charging power of the charging device when charging the target device during the period from the historical time to the target time, as the first charging power, wherein the historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time.
[0127] The factor calculation module 702 is used to calculate an adjustment factor based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power;
[0128] The duration adjustment module 703 is used to adjust the initial remaining charging duration according to the interval duration between the historical time and the target time and the adjustment factor to obtain the target remaining charging duration, wherein the initial remaining charging duration is the remaining charging duration of the target device after adjustment at the historical time, and the target remaining charging duration is negatively correlated with the interval duration.
[0129] The adjustment factor in this application is calculated based on the first charging power. That is, the remaining charging time is adjusted based on the first charging power and the interval duration, and the frequency of adjusting the remaining charging time is determined by the interval duration. The first charging power reflects the real-time charging power of the target device from a historical time to the target time. During charging, when the first charging power of the target device increases, the charging time is shortened, i.e., the remaining charging time becomes shorter; when the first charging power of the target device decreases, the charging time is lengthened, i.e., the remaining charging time becomes longer. Users can accurately grasp the remaining charging time, thereby managing the charging duration.
[0130] In one possible embodiment, in one possible implementation, the factor calculation module includes:
[0131] The first submodule is used to obtain the charging power of the charging device when charging the target device during the period from the target time to the future time, as the second charging power, wherein the future time is the time after the target time when the remaining charging time of the target device was most recently adjusted.
[0132] The second submodule is used to calculate an adjustment factor based on the first charging power and the second charging power, wherein the adjustment factor is negatively correlated with the second charging power.
[0133] The second submodule for calculation includes:
[0134] The calculation unit is used to calculate the ratio of the first charging power to the second charging power as an adjustment factor.
[0135] The duration adjustment module includes:
[0136] The difference calculation submodule is used to calculate the difference between the initial remaining charging time and the interval time.
[0137] The product calculation submodule is used to calculate the product of the difference and the adjustment factor as the target remaining charging time.
[0138] The device further includes:
[0139] A standard power adjustment module is used to adjust the first charging power to the preset standard power if the first charging power is less than the preset standard power.
[0140] The factor calculation module includes:
[0141] The power ratio calculation submodule is used to calculate the ratio of the first power to the preset standard power as the power ratio.
[0142] The maximum value calculation submodule is used to calculate the maximum value between the power ratio and the natural number 1, as an adjustment factor.
[0143] The power acquisition module includes:
[0144] The reading submodule is used to read the latest recorded charging power before the target time from the preset storage medium as the first charging power. The preset storage medium is used to record the charging power collected by the preset acquisition unit, and the acquisition unit is used to periodically collect the charging power when the charging device charges the target device.
[0145] Corresponding to the above method embodiments, this application provides an auxiliary device, such as... Figure 8 As shown, Figure 8 This is a schematic diagram of an auxiliary device provided in an embodiment of the present application. The auxiliary device establishes a communication connection with a charging device, and the auxiliary device includes: a computing unit and a transmitting unit.
[0146] The calculation unit 801 is configured to obtain the charging power of the charging device charging the target device during the period from the first historical time to the target time, as the first charging power, wherein the first historical time is the time when the remaining charging time of the target device was most recently adjusted before the target time; calculate an adjustment factor based on the first charging power, wherein the adjustment factor is positively correlated with the first charging power; and adjust the initial remaining charging time based on the interval between the first historical time and the target time and the adjustment factor to obtain the target remaining charging time, wherein the initial remaining charging time is the remaining charging time of the target device after adjustment at the historical time, and the target remaining charging time is negatively correlated with the interval.
[0147] The sending unit 802 is used to send the target remaining charging time to the charging device so that the charging device can charge according to the target remaining charging time.
[0148] In this embodiment, the adjustment factor is calculated based on the first charging power. That is, the remaining charging time is adjusted based on the first charging power and the interval duration, and the frequency of adjusting the remaining charging time is determined by the interval duration. The first charging power reflects the real-time charging power of the target device from a historical time to the target time. During charging, when the first charging power of the target device increases, the charging time is shortened, i.e., the remaining charging time becomes shorter; when the first charging power of the target device decreases, the charging time is lengthened, i.e., the remaining charging time becomes longer. After adjusting the remaining charging time, the sending unit sends it to the charging device so that the charging device charges according to the adjusted remaining charging time of the target device. Therefore, the user can accurately grasp the remaining charging time and manage the charging duration.
[0149] In one possible embodiment, the auxiliary device further includes: a data acquisition unit and a storage unit.
[0150] The acquisition unit is used to periodically acquire the charging power of the charging device when it charges the target device.
[0151] The storage unit is used to store the charging power of the charging device collected and the remaining charging time calculated each time.
[0152] The scheme of this application embodiment is used in which the collection unit periodically collects the charging power of the charging device when charging the target device and stores it in a preset storage medium. When it is necessary to calculate the remaining charging time, it is only necessary to read the latest recorded charging power before the target time from the preset storage medium as the first charging power, which improves the calculation efficiency of the remaining charging time. Furthermore, in the aforementioned billing charging scenario, if there is a dispute over the charging fee due to an error in the calculation of the remaining charging time, the accuracy of the charge can be determined by retrieving the stored data.
[0153] In another embodiment provided in this application, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, implements the steps of any of the above-described methods for adjusting the remaining charging time.
[0154] In another embodiment provided in this application, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to execute any of the remaining charging time adjustment methods in the above embodiments.
[0155] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a solid-state drive (SSD), etc.
[0156] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, 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 exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0157] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0158] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application are included within the scope of protection of this application.
Claims
1. A method for adjusting remaining charging time, characterized in that, The method comprises: obtaining charging power of the charging device charging the target device during a historical time to a target time as first charging power, wherein the historical time is a time when the remaining charging duration of the target device is last adjusted before the target time; calculating an adjustment factor according to the first charging power; adjusting an initial remaining charging duration according to an interval duration between the historical time and the target time and the adjustment factor to obtain a target remaining charging duration, wherein the initial remaining charging duration is the remaining charging duration of the target device adjusted at the historical time, and the target remaining charging duration is negatively related to the interval duration; the adjustment factor is calculated according to the first charging power, comprising: calculating a ratio of the first charging power to a preset standard power as a power ratio; calculating a maximum value between the power ratio and a natural number 1 as the adjustment factor.
2. The method of claim 1, wherein, the adjustment factor is calculated according to the first charging power, comprising: obtaining charging power of the charging device charging the target device during the target time to a future time as second charging power, wherein the future time is a time when the remaining charging duration of the target device is last adjusted after the target time; calculating an adjustment factor according to the first charging power and the second charging power, wherein the adjustment factor is negatively related to the second charging power.
3. The method of claim 2, wherein, the adjustment factor is calculated according to the first charging power and the second charging power, comprising: calculating a ratio of the first charging power to the second charging power as the adjustment factor.
4. The method of claim 3, wherein, the initial remaining charging duration is adjusted according to the interval duration between the historical time and the target time and the adjustment factor to obtain a target remaining charging duration, comprising: calculating a difference between the initial remaining charging duration and the interval duration; calculating a product of the difference and the adjustment factor as the target remaining charging duration.
5. The method of claim 1, wherein, The method further comprises: if the first charging power is less than a preset standard power, adjusting the first charging power to the preset standard power.
6. The method of claim 1, wherein, the first charging power is obtained as the charging power of the charging device charging the target device during a historical time to a target time, comprising: reading the latest recorded charging power before the target time from a preset storage medium as the first charging power, wherein the preset storage medium is used to record the charging power collected by a preset collection unit, and the collection unit is used to periodically collect the charging power of the charging device charging the target device.
7. A remaining charge duration adjustment apparatus, characterized by comprising: The device comprises: a power acquisition module configured to obtain charging power of the charging device charging the target device during a historical time to a target time as first charging power, wherein the historical time is a time when the remaining charging duration of the target device is last adjusted before the target time; a factor calculation module configured to calculate an adjustment factor according to the first charging power; The time length adjustment module is configured to adjust an initial remaining charging time length according to an interval time length between the historical time and the target time and the adjustment factor, to obtain a target remaining charging time length, wherein the initial remaining charging time length is an adjusted remaining charging time length of the target device at the historical time, and the target remaining charging time length is negatively related to the interval time length. The factor calculation module comprises: The power ratio calculation submodule is configured to calculate a ratio of the first charging power to a preset standard power as a power ratio. The maximum value calculation submodule is configured to calculate a maximum value between the power ratio and a natural number 1 as the adjustment factor.
8. The apparatus of claim 7, wherein, The factor calculation module comprises: The first calculation submodule is configured to obtain a charging power of the charging device for charging the target device during the target time to a future time as a second charging power, wherein the future time is a time at which the remaining charging time length of the target device is adjusted for the last time after the target time. The second calculation submodule is configured to calculate an adjustment factor according to the first charging power and the second charging power, wherein the adjustment factor is negatively related to the second charging power. The second calculation submodule comprises: The calculation unit is configured to calculate a ratio of the first charging power to the second charging power as the adjustment factor. The time length adjustment module comprises: The difference calculation submodule is configured to calculate a difference between the initial remaining charging time length and the interval time length. The product calculation submodule is configured to calculate a product of the difference and the adjustment factor as the target remaining charging time length. The device further comprises: The standard power adjustment module is configured to adjust the first charging power to a preset standard power if the first charging power is less than the preset standard power. The power acquisition module comprises: The reading submodule is configured to read a latest recorded charging power before the target time from a preset storage medium as the first charging power, wherein the preset storage medium is configured to record charging powers collected by a preset collection unit, and the collection unit is configured to periodically collect charging powers of the charging device for charging the target device.
9. An auxiliary device, characterized by The auxiliary device and the charging device are communicatively connected, and the auxiliary device comprises a calculation unit and a sending unit. The calculation unit is configured to obtain a charging power of the charging device for charging the target device during a first historical time to a target time as a first charging power, wherein the first historical time is a time at which the remaining charging time length of the target device is adjusted for the last time before the target time; calculate an adjustment factor according to the first charging power, wherein the adjustment factor is positively related to the first charging power; and adjust an initial remaining charging time length according to an interval time length between the first historical time and the target time and the adjustment factor, to obtain a target remaining charging time length, wherein the initial remaining charging time length is an adjusted remaining charging time length of the target device at the historical time, and the target remaining charging time length is negatively related to the interval time length. The sending unit is configured to send the target remaining charging duration to the charging device, so that the charging device charges according to the target remaining charging duration.
10. The apparatus of claim 9, wherein, The auxiliary device further comprises a collecting unit and a storage unit. The collecting unit is configured to periodically collect the charging power when the charging device charges the target device. The storage unit is configured to store the collected charging power of the charging device and the calculated remaining charging duration each time.
11. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to implement the remaining charging duration adjustment method in any one of claims 1-6.
Citation Information
Patent Citations
Battery charging remaining time calculation method and device and vehicle
CN112035777A
Charging remaining time correction method, battery system and storage medium
CN115817216A