Method and device for determining remaining charging duration of vehicle, vehicle and storage medium

By receiving cloud timestamps and charging durations during vehicle charging, and combining these with battery status parameters to correct the remaining charging time, the system solves the problem of inaccurate charging time caused by battery aging and communication delays, providing a more accurate display.

CN120024248BActive Publication Date: 2025-11-25GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510298635.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-13
Publication Date
2025-11-25
Estimated Expiration
2045-03-13

AI Technical Summary

Technical Problem

Inaccurate SOH calculations due to battery aging lead to inaccurate remaining charging time for the vehicle. Furthermore, in areas with poor communication signals, such as underground parking lots, the remaining charging time sent from the cloud is delayed, resulting in inaccurate display.

Method used

When the vehicle starts charging, it receives a timestamp and a first remaining charging time from the cloud. It determines the delay by comparing the deviation between the timestamp and the current time, and corrects the second remaining charging time based on the battery status parameters to ensure accuracy.

Benefits of technology

Even with communication delays, by correcting the initial remaining charging time, a more accurate display of the vehicle's remaining charging time can be provided, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120024248B_ABST
    Figure CN120024248B_ABST
Patent Text Reader

Abstract

The application provides a method and device for determining the remaining charging time of a vehicle, the vehicle and a storage medium. The method is applied to the field of vehicles and comprises the following steps: in the case that the vehicle starts charging, receiving a timestamp and a first remaining charging time sent by a cloud; determining whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time at which the vehicle receives the first remaining charging time and the first remaining charging time; in the case that the first remaining charging time is delayed, correcting the second remaining charging time of the vehicle based on the first remaining charging time; the second remaining charging time is the remaining charging time of the vehicle determined based on the battery state parameter of the vehicle. The method can correct the second remaining charging time based on the first remaining charging time in the case that the first remaining charging time is delayed, thereby providing more accurate remaining charging time for the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicles, and more specifically, to a method, apparatus, vehicle, and storage medium for determining the remaining charging time of a vehicle. Background Technology

[0002] The remaining charging time of a vehicle is determined by its State of Health (SOH), the vehicle's current maximum capacity, its State of Charge (SOC), and the charging current. However, as batteries age, their internal structure and chemical composition change, leading to inaccurate SOH calculations. Therefore, the remaining charging time calculated based on SOH is inaccurate.

[0003] In related technologies, the cloud has powerful data processing capabilities, enabling it to predict the vehicle's remaining charging time based on historical and real-time battery parameters. However, in practical applications, vehicles may be in underground parking lots where communication signals are poor, resulting in a delay in receiving the remaining charging time information from the cloud when charging begins. Summary of the Invention

[0004] This application provides a method, apparatus, vehicle, and storage medium for determining the remaining charging time of a vehicle. The method can correct the second remaining charging time based on the first remaining charging time when the first remaining charging time is delayed, thereby providing the user with a more accurate remaining charging time.

[0005] Firstly, a method for determining the remaining charging time of a vehicle is provided. This method is applied to a vehicle and includes:

[0006] Once the vehicle starts charging, receive a timestamp and the first remaining charging time sent from the cloud.

[0007] Based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time, it is determined whether the first remaining charging time sent by the cloud is delayed.

[0008] In the event of a delay in the first remaining charging time, the second remaining charging time of the vehicle is corrected based on the first remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on the vehicle's battery state parameters.

[0009] The above technical solution receives a timestamp and a first remaining charging time from the cloud when the vehicle begins charging. If the communication quality between the vehicle and the cloud is poor, there may be a delay in the vehicle receiving the first remaining charging time. Therefore, the system determines whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time the vehicle receives the first remaining charging time, and the actual first remaining charging time. If the first remaining charging time is delayed, the vehicle's second remaining charging time is corrected based on that first remaining charging time; the second remaining charging time is the remaining charging time determined by the vehicle based on the battery state parameters. Since the first remaining charging time is determined based on real-time battery state parameters, it is still more accurate than the second remaining charging time despite the delay. In other words, this solves the problem of inaccurate remaining charging time displayed by the vehicle due to a delay in receiving the first remaining charging time.

[0010] In conjunction with the first aspect, in some possible implementations, determining whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time includes:

[0011] If the first remaining charging time is less than or equal to the total charging time of the vehicle, it is determined whether the first remaining charging time sent by the cloud is delayed based on the timestamp and the current time.

[0012] If the first deviation between the timestamp and the current time is less than or equal to the first preset duration, it is determined that the first remaining charging time has no delay.

[0013] If the first deviation value is greater than the first preset duration, the first remaining charging time delay is determined.

[0014] Through the above technical solution, the validity of the first remaining charging time can be determined based on the total charging time of the vehicle, and the delay of the first remaining charging time can be determined based on the first deviation value between the timestamp and the current time, thereby facilitating the correction of the first remaining charging time.

[0015] In conjunction with the first aspect, in some possible implementations, the second remaining charging time of the vehicle is corrected based on the first remaining charging time in the event of a delay in the first remaining charging time, including:

[0016] If there is a delay in the first remaining charging time, determine the number of delays in the first remaining charging time.

[0017] If the number of delays is less than the first preset number, the first remaining charging time is corrected based on the number of delays to obtain the actual remaining charging time;

[0018] Switch the second remaining charging time to the actual remaining charging time.

[0019] With the above technical solution, the first remaining charging time is delayed multiple times. In order to make the first remaining charging time more accurately display the actual remaining charging time of the vehicle, the first remaining charging time is corrected. That is, even if the first remaining charging time is delayed, the first remaining charging time can still be made more accurate based on the number of delays.

[0020] In conjunction with the first aspect, in some possible implementations, the first remaining charging time is corrected based on the number of delays to obtain the actual remaining charging time, including:

[0021] Determine whether the vehicle has received at least one first remaining charging time without delay;

[0022] When the vehicle receives at least one first remaining charging time without delay, the actual remaining charging time is obtained by subtracting a preset time interval from the first remaining charging time without delay according to the number of delays; wherein the preset time interval is used to represent the frequency at which the vehicle receives the first remaining charging time.

[0023] Through the above technical solution, even when there is a delay in the first remaining charging time, the first remaining charging time can be made more accurate based on the preset time interval and number of delays, thereby bringing a better experience to the user.

[0024] In conjunction with the first aspect, in some possible implementations, the method also includes:

[0025] If there is no delay in the first remaining charging time, determine whether the second deviation value between the second remaining charging time and the first remaining charging time of the vehicle is less than the second preset time;

[0026] If the second deviation value is less than the second preset duration, a deviation coefficient between the second remaining charging duration and the first remaining charging duration is determined based on the second deviation value and the third preset duration; the second remaining charging duration is corrected and updated based on the deviation coefficient; wherein, the deviation coefficient is used to characterize the degree of deviation between the second remaining charging duration and the first remaining charging duration;

[0027] If the second deviation value is greater than or equal to the second preset duration, the second remaining charging duration is switched to the first remaining charging duration.

[0028] With the above technical solution, when there is no delay in the first remaining charging time, the deviation between the second remaining charging time and the second remaining charging time is determined based on the second preset time. This allows for the selection of a method to correct the second remaining charging time, thereby enabling the user to view a more accurate remaining charging time for the vehicle.

[0029] In conjunction with the first aspect, in some possible implementations, the deviation coefficient includes a first deviation coefficient and a second deviation coefficient. Determining the deviation coefficient between the second remaining charging time and the first remaining charging time based on the second deviation value and a third preset duration includes:

[0030] If the first remaining charging time is greater than or equal to the third preset time and the second remaining charging time is greater than or equal to the third preset time, the absolute value of the second deviation value is added to the third preset time to obtain a reference coefficient.

[0031] Determine whether the first remaining charging time is greater than the second remaining charging time;

[0032] If the first remaining charging time is less than the second remaining charging time, the reference coefficient is divided by the third preset time to obtain the first deviation coefficient.

[0033] If the first remaining charging time is greater than the second remaining charging time, the third preset time is divided by the reference coefficient to obtain the second deviation coefficient.

[0034] The above technical solution determines the deviation coefficient based on the magnitude of the first remaining charging time and the second remaining charging time, thereby covering various situations for correcting the second remaining charging time and bringing a better experience to users.

[0035] In conjunction with the first aspect, in some possible implementations, the deviation coefficient includes a third deviation coefficient and a fourth deviation coefficient. Determining the deviation coefficient between the second remaining charging time and the first remaining charging time based on the second deviation value and the third preset duration includes:

[0036] If the first remaining charging time is less than the third preset time and the second remaining charging time is greater than or equal to the third preset time, the second remaining charging time is divided by the first remaining charging time to obtain the third deviation coefficient.

[0037] Alternatively, if the first remaining charging time is greater than the second remaining charging time and the second remaining charging time is less than the third preset time, the minimum value between the first remaining charging time and the third preset time is determined, and the second remaining charging time is divided by the minimum value to obtain the fourth deviation coefficient.

[0038] The above technical solution determines the deviation coefficient based on the magnitude of the first remaining charging time, the second remaining charging time, and the third preset time, thereby covering various situations for correcting the second remaining charging time and bringing a better experience to users.

[0039] Secondly, a device for determining the remaining charging time of a vehicle is provided, the device comprising:

[0040] The receiving module is used to receive a timestamp and the first remaining charging time sent from the cloud when the vehicle starts charging.

[0041] The determination module is used to determine whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time.

[0042] The correction module is used to correct the second remaining charging time of the vehicle based on the first remaining charging time in the event of a delay in the first remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on the vehicle's battery state parameters.

[0043] Thirdly, a vehicle is provided, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, causing the vehicle to perform the method described above for determining the remaining charging time of the vehicle.

[0044] Fourthly, a computer program product is provided, comprising: computer program code, which, when run on a computer, causes the computer to execute the method described above for determining the remaining charging time of a vehicle.

[0045] Fifthly, a computer-readable storage medium is provided that stores computer program code, which, when executed on a computer, causes the computer to perform the method described above for determining the remaining charging time of a vehicle. Attached Figure Description

[0046] Figure 1 This is a schematic diagram of the implementation environment of a method for determining the remaining charging time of a vehicle provided in an embodiment of this application;

[0047] Figure 2 This is a schematic flowchart illustrating a method for determining the remaining charging time of a vehicle according to an embodiment of this application;

[0048] Figure 3 This is a schematic flowchart illustrating another method for determining the remaining charging time of a vehicle according to an embodiment of this application.

[0049] Figure 4 This is a schematic flowchart of a vehicle-to-cloud interaction method provided in an embodiment of this application;

[0050] Figure 5 This is a schematic diagram of a device for determining the remaining charging time of a vehicle, provided in an embodiment of this application.

[0051] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application. Detailed Implementation

[0052] The technical solutions in this application will be clearly and thoroughly described below with reference to the accompanying drawings. In the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B. "And / or" in the text is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0053] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as implying or suggesting relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.

[0054] Figure 1 This is a schematic diagram illustrating the implementation environment of a method for determining the remaining charging time of a vehicle provided in an embodiment of this application.

[0055] For example, such as Figure 1 As shown, the implementation environment includes a microcontroller unit (MCU) 110 and a display screen 120.

[0056] The microcontroller unit 110 is an important control unit for the vehicle. It can acquire relevant vehicle data and control the vehicle to perform corresponding operations based on this data. For example, the microcontroller unit 110 can acquire the remaining charging time of the vehicle calculated in the cloud and determine whether the calculated remaining charging time of the vehicle is accurate based on the remaining charging time of the vehicle calculated in the cloud.

[0057] The display screen 120 is used to display basic vehicle information, multimedia information, or a user interface. For example, the display screen 120 displays the vehicle's calculated remaining charging time. In some embodiments, the display screen 120 includes the vehicle's dashboard.

[0058] Figure 2This is a schematic flowchart illustrating a method for determining the remaining charging time of a vehicle according to an embodiment of this application.

[0059] For example, such as Figure 2 As shown, taking the microcontroller unit as the execution subject as an example, the method 200 includes steps 201-203.

[0060] Step 201: When the vehicle starts charging, receive the timestamp and the first remaining charging time sent by the cloud.

[0061] The start of charging indicates that the charging station has begun supplying power to the vehicle's battery. The cloud platform within the vehicle charging management system monitors the vehicle's charging status in real time. This timestamp records the exact moment the cloud distributes the first remaining charging time. For example, the timestamp for distributing the first remaining charging time is March 1, 2023, at 14:01. The first remaining charging time is determined by the cloud based on the vehicle's battery status parameters. For example, in hybrid vehicles with smaller batteries, the first remaining charging time might be 2 hours.

[0062] Step 202: Based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time, determine whether the first remaining charging time sent by the cloud is delayed.

[0063] In practical applications, if the vehicle is far from the cloud or may be in an underground parking lot, the vehicle's communication signal may be poor, leading to poor communication quality between the vehicle and the cloud. This means there is a delay in the vehicle receiving the initial remaining charging time when charging begins. It's understandable that in practical applications, it takes time for the cloud to transmit data to the vehicle, but in delay-free data transmission, this time is relatively short. However, if it takes a long time for the vehicle to receive the initial remaining charging time from the cloud, it indicates a delay in the vehicle's reception of that initial remaining charging time.

[0064] Since the timestamp represents the moment when the cloud sends out the first remaining charging time, and the current time is the moment when the vehicle receives the first remaining charging time, it is possible to determine whether the first remaining charging time is delayed based on the timestamp and the current time when the vehicle receives the first remaining charging time.

[0065] Step 203: In the event of a delay in the first remaining charging time, the second remaining charging time of the vehicle is corrected based on the first remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on the vehicle's battery state parameters.

[0066] In practical applications, batteries age and their internal resistance gradually increases with usage time. If a vehicle determines its second remaining charging time based on its battery state parameters, this second remaining charging time will be inaccurate. However, the cloud can continuously monitor and acquire the vehicle's battery state parameters and calculate the first remaining charging time in real time based on the actual charging curve. Furthermore, the cloud can improve the accuracy of the calculated first remaining charging time based on long-term accumulated vehicle battery usage data. Therefore, the first remaining charging time is more accurate than the second remaining charging time. However, in practical applications, there is also a delay in the vehicle receiving the first remaining charging time. Since the first remaining charging time is determined based on real-time battery state parameters, it is still more accurate than the second remaining charging time despite this delay. In this case, correcting the vehicle's second remaining charging time based on the first remaining charging time allows the user to view a more accurate remaining charging time.

[0067] This application provides a method for determining the remaining charging time of a vehicle. When the vehicle begins charging, it receives a timestamp and a first remaining charging time sent from the cloud. In cases of poor communication quality between the vehicle and the cloud, there may be a delay in the vehicle receiving the first remaining charging time. Therefore, the method determines whether the first remaining charging time sent from the cloud is delayed based on the timestamp, the current time the vehicle receives the first remaining charging time, and the first remaining charging time itself. If the first remaining charging time is delayed, a second remaining charging time for the vehicle is corrected based on that first remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on battery state parameters. Since the first remaining charging time is determined based on real-time battery state parameters, even with a delay, the first remaining charging time is still more accurate than the second remaining charging time. In other words, this solves the problem of inaccurate remaining charging time displayed by the vehicle due to a delay in the received first remaining charging time.

[0068] Figure 3 This is a schematic flowchart illustrating another method for determining the remaining charging time of a vehicle provided in an embodiment of this application.

[0069] It should be noted that the above steps 201-203 are a simplified description of a method for determining the remaining charging time of a vehicle provided in the embodiments of this application. The following will provide a more detailed description of a method for determining the remaining charging time of a vehicle provided in the embodiments of this application, in conjunction with some examples.

[0070] See Figure 3 Taking a microcontroller unit as the executing entity as an example, the method includes the following steps 301-305.

[0071] Step 301: When the vehicle starts charging, receive the timestamp and the first remaining charging time sent by the cloud.

[0072] The timestamp indicates the moment when the cloud distributes the first remaining charging time. The first remaining charging time is the remaining charging time determined by the cloud based on the vehicle's battery state parameters.

[0073] It should be understood that in the communication between the vehicle and the cloud, in order to ensure that the vehicle successfully receives the timestamp and the first remaining charging time sent by the cloud, it is necessary to verify whether the communication between the vehicle and the cloud is successful.

[0074] In some embodiments, when the vehicle begins charging, the vehicle sends an authentication request to the cloud via the Message Queuing Telemetry Transport (MQTT) protocol. If the cloud returns a message carrying a session token, it is determined that communication between the vehicle and the cloud has been successful. If the cloud does not return a message carrying a session token, it is determined that communication between the vehicle and the cloud has failed.

[0075] The authentication request includes the vehicle's unique identifier.

[0076] In some embodiments, when the vehicle successfully communicates with the cloud, the vehicle receives a timestamp and a first remaining charging time from the cloud based on the MQTT protocol.

[0077] Step 302: Based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time, determine whether the first remaining charging time sent by the cloud is delayed.

[0078] It should be understood that in practical applications, when a vehicle starts charging, the charging station may generate electromagnetic interference, which may cause a delay in the vehicle receiving the remaining charging time sent by the cloud, resulting in an inaccurate first remaining charging time. Therefore, it is necessary to determine whether the vehicle receives the first remaining charging time with a delay.

[0079] In one possible implementation, if the first remaining charging time is less than or equal to the total charging time of the vehicle, it is determined whether the first remaining charging time sent by the cloud is delayed based on the timestamp and the current time.

[0080] The total charging time refers to the time required to charge the vehicle's battery from zero charge to full charge. The first remaining charging time refers to the time required to charge the vehicle's battery from its current charge level to full charge. Therefore, the first remaining charging time is always less than or equal to the total charging time.

[0081] In some embodiments, if the first deviation between the timestamp and the current time is less than or equal to a first preset duration, it is determined that the first remaining charging time has no delay.

[0082] The first preset duration is automatically determined by the microcontroller unit or set by technicians according to actual conditions; this embodiment does not limit this. For example, the first preset duration is 1 minute (min).

[0083] In some embodiments, if the first deviation value is greater than a first preset duration, the first remaining charging time delay is determined.

[0084] In this implementation, the validity of the first remaining charging time can be determined based on the total charging time of the vehicle, and the delay of the first remaining charging time can be determined based on the first deviation value between the timestamp and the current time, thereby facilitating the correction of the first remaining charging time.

[0085] Optionally, the following steps may also be performed before performing step 302 above.

[0086] In one possible implementation, if the first remaining charging time is greater than the total charging time, the first remaining charging time is determined to be invalid. If the first remaining charging time is less than or equal to the total charging time, the first remaining charging time is determined to be valid.

[0087] It should be understood that if the first remaining charging time is invalid, a second remaining charging time will be displayed on the vehicle for the user's convenience. If the first remaining charging time is valid, the first remaining charging time will be displayed on the vehicle.

[0088] In this case, the validity of the first remaining charging time can be determined based on the total charging time of the vehicle.

[0089] In one possible implementation, if the first remaining charging time is invalid, a second remaining charging time is determined based on the vehicle's battery state parameters and displayed on the vehicle.

[0090] In this case, even if the first remaining charging time is invalid, the second remaining charging time can still remind the user when the battery is fully charged, providing a better user experience.

[0091] Optionally, after step 302, steps 303-304 below may be performed, or step 305 below may be performed, depending on the actual situation.

[0092] Step 303: If the first remaining charging time is delayed, the first remaining charging time is corrected to obtain the actual remaining charging time.

[0093] It should be understood that if the first remaining charging time is displayed directly in the vehicle when there is a delay, the user will see an incorrect remaining charging time. Therefore, the first remaining charging time needs to be corrected to obtain the actual remaining charging time.

[0094] The following explains how to correct the first remaining charging time to obtain the actual remaining charging time when the first remaining charging time is delayed.

[0095] In one possible implementation, if there is a delay in the first remaining charging time, the number of delays in the first remaining charging time is determined; if the number of delays is less than a first preset number, the first remaining charging time is corrected based on the number of delays to obtain the actual remaining charging time.

[0096] The first preset number of times is automatically determined by the microcontroller unit or set by technicians according to actual conditions; this application embodiment does not limit this. For example, the first preset number of times can be 3 times.

[0097] In practical applications, the first remaining charging time delay indicates that the first remaining charging time is the latest and valid time received by the vehicle. In order to provide users with a more accurate remaining charging time, the first remaining charging time is corrected based on the number of delays of the vehicle.

[0098] In this implementation, the first remaining charging time is delayed multiple times. In order to make the first remaining charging time more accurately reflect the actual remaining charging time of the vehicle, the first remaining charging time is corrected. That is, even if the first remaining charging time is delayed, the first remaining charging time can be made more accurate based on the number of delays.

[0099] To provide a more detailed explanation of the above embodiments, the following description is divided into several parts.

[0100] The first part explains how to determine the number of delays in the first remaining charging time when there is a delay.

[0101] It should be understood that the cloud calculates the first remaining charging time in real time and sends this first remaining charging time to the vehicle in real time, so the vehicle can receive multiple first remaining charging times. However, in practical applications, under electromagnetic interference, the vehicle cannot receive these multiple first remaining charging times in real time, that is, there is a delay in receiving the first remaining charging time.

[0102] It should also be understood that communication between vehicles and the cloud is often used to handle more complex tasks. Therefore, in order to ensure that the communication link between vehicles and the cloud is stable and reliable, a "heartbeat" mechanism can be established.

[0103] In one possible implementation, the number of delays in the first remaining charging time is determined based on the heartbeat packets between the vehicle and the cloud.

[0104] Among them, the heartbeat packet is a small data packet that is sent periodically to confirm the connection status and responsiveness of the two communicating parties.

[0105] A heartbeat packet includes an identifier, a sequence number, a timestamp, and a checksum. The identifier is used to identify the heartbeat packet. The sequence number is used to detect packet loss or duplicate packets. The timestamp is used to calculate the delay. The checksum is used to verify data integrity.

[0106] In some embodiments, a timer is configured in the cloud to trigger a heartbeat packet sending function at preset time intervals. The cloud periodically sends heartbeat packets to the vehicle, which receives the heartbeat packets and verifies them based on a checksum. The preset time interval represents the frequency at which the vehicle receives the first remaining charging time.

[0107] The preset time interval is automatically determined by the microcontroller unit or set by technicians according to actual conditions; this application embodiment does not limit this. For example, the preset time interval can be 5 minutes.

[0108] In some embodiments, the delay number of times there is a delay in the first remaining charging time is calculated based on a first deviation value between the timestamp sent from the cloud and the current time of the vehicle and the preset time interval.

[0109] For example, if the first deviation between the timestamp sent by the cloud and the vehicle's current time is 10 minutes, and the preset time interval is 5 minutes, then the number of delays in the first remaining charging time is 2.

[0110] In this implementation, the heartbeat packets between the vehicle and the cloud can effectively monitor and count the number of delays in the first remaining charging time.

[0111] The second part explains how, when the number of delays is less than the first preset number, the first remaining charging time is corrected based on the number of delays to obtain the actual remaining charging time.

[0112] It should be understood that a delay count less than the first preset count indicates that the vehicle did not receive the first remaining charging time within a short period of time, and that the first remaining charging time received by the vehicle before the delay in receiving the first remaining charging time was valid. Therefore, the first remaining charging time can be corrected based on the delay count.

[0113] In one embodiment, it is determined whether the vehicle receives at least one first remaining charging time without delay.

[0114] In some embodiments, when the vehicle receives at least one first remaining charging time without delay, the actual remaining charging time is obtained by subtracting a preset time interval from the first remaining charging time without delay according to the number of delays.

[0115] For example, if the vehicle receives the first remaining charging time (300 min) at 13:01 on October 1, 2023, and there is no delay in the first remaining charging time, and the number of delays in the first remaining charging time is determined to be 3, with a preset time interval of 5 min, then the actual remaining charging time is 300 = 285 min.

[0116] It should be understood that, in the event of a delay in the first remaining charging time, in order to calibrate the first remaining charging time, the first remaining charging time without delay can be subtracted from the preset time interval based on the cumulative number of delays.

[0117] In some embodiments, when the vehicle receives at least one first remaining charging time without delay, the first remaining charging time without delay is subtracted by a preset time interval according to the number of delays to obtain the actual remaining charging time.

[0118] For example, when the delay number of the first remaining charging time (300 min) is determined to be the first time, and the preset time interval is 5 min, then the first remaining charging time without delay is subtracted by 5 min. When the delay number of the first remaining charging time (300 min) is determined to be the second time, then the first remaining charging time without delay (295) is subtracted by 5 min, and the actual remaining charging time is 290 min.

[0119] Step 304: Correct the second remaining charging time based on the actual remaining charging time.

[0120] It should be understood that since the actual remaining charging time is the calibrated remaining charging time, and the second remaining charging time of the vehicle is affected by battery aging and is therefore inaccurate, the second remaining charging time is corrected based on the actual remaining charging time.

[0121] In some embodiments, the second remaining charging time is switched to the actual remaining charging time.

[0122] It should be understood that since the vehicle's display shows the second remaining charging time, switching the second remaining charging time to the actual remaining charging time means displaying the actual remaining charging time on the display.

[0123] In some embodiments, the actual remaining charging time is displayed on the screen.

[0124] Step 305: If there is no delay in the first remaining charging time, the second remaining charging time is corrected based on the first remaining charging time.

[0125] It should be understood that if the first remaining charging time has no delay, and the second remaining charging time is not equal to the first remaining charging time, the second remaining charging time needs to be corrected based on the first remaining charging time. However, in practical applications, the vehicle's display screen will show the second remaining charging time. If the second remaining charging time is directly switched to the first remaining charging time, it will cause the time on the display screen to jump, resulting in a poor user experience. Therefore, it is necessary to correct the second remaining charging time based on the first remaining charging time.

[0126] The following section describes how, under the condition that there is no delay in the first remaining charging time, the second remaining charging time is corrected based on the first remaining charging time.

[0127] In one possible implementation, if there is no delay in the first remaining charging time, it is determined whether a second deviation value between the second remaining charging time and the first remaining charging time is less than a second preset time; if the second deviation value is greater than or equal to the second preset time, the second remaining charging time is switched to the first remaining charging time; if the second deviation value is less than the second preset time, a deviation coefficient between the second remaining charging time and the first remaining charging time is determined based on the second deviation value and a third preset time; the second remaining charging time is corrected and updated based on the deviation coefficient.

[0128] The second preset duration is automatically determined by the microcontroller unit or set by a technician according to actual conditions; this embodiment does not limit this. For example, the second preset duration is 30 minutes. The second preset duration can determine whether the deviation between the second remaining charging duration and the first remaining charging duration is large. This deviation coefficient is used to characterize the degree of deviation between the second remaining charging duration and the first remaining charging duration. The third preset duration is automatically determined by the microcontroller unit or set by a technician according to actual conditions; this embodiment does not limit this. For example, the third preset duration is 20 minutes.

[0129] In this implementation, if there is no delay in the first remaining charging time, the deviation between the second remaining charging time and the second remaining charging time is determined based on the second preset time, so as to select a way to correct the second remaining charging time, thereby allowing the user to view a more accurate remaining charging time for the vehicle.

[0130] To provide a more detailed explanation of the above embodiments, the following description is divided into several parts.

[0131] The first part explains how, when the second deviation value is greater than or equal to the second preset duration, the second remaining charging duration is switched to the first remaining charging duration.

[0132] It should be understood that if the second deviation value is greater than or equal to the second preset duration, it indicates a large deviation between the first remaining charging duration and the second remaining charging duration. In this case, if the second remaining charging duration is updated based on the first remaining charging duration, the correction time for the second remaining charging duration will be slow, or the second remaining charging duration may fail to calibrate to the first remaining charging duration. To avoid these situations, the second remaining charging duration is switched to the first remaining charging duration. That is, the first remaining charging duration is directly displayed on the vehicle's screen.

[0133] In some embodiments, if the second deviation value is greater than or equal to the first preset duration, the first remaining charging duration is displayed on the vehicle's display screen.

[0134] The second part explains how, when the second deviation value is less than the second preset duration, the deviation coefficient between the second remaining charging duration and the first remaining charging duration is determined based on the second deviation value and the third preset duration.

[0135] It should be understood that the second deviation value being less than the second preset duration indicates that the deviation between the first remaining charging duration and the second remaining charging duration is small. If the second remaining charging duration is directly switched to the first remaining charging duration, the time on the display screen will jump. Therefore, the deviation coefficient between the second remaining charging duration and the first remaining charging duration is determined, so that the second remaining charging duration can be corrected based on the deviation coefficient.

[0136] The deviation coefficient includes a first deviation coefficient, a second deviation coefficient, and a third deviation coefficient. The deviation coefficient is used to correct the deviation between the first remaining charging time and the second remaining charging time.

[0137] It should be understood that in order to ensure that the second remaining charging time can be equal to the first remaining charging time in a short period of time and that there is no problem of sudden changes on the display screen, a third preset time can be set to change the deceleration rate of the second remaining charging time.

[0138] In one possible implementation, if the first remaining charging time is greater than or equal to the third preset time and the second remaining charging time is greater than or equal to the third preset time, the absolute value of the second deviation value is added to the third preset time to obtain a reference coefficient; and it is determined whether the first remaining charging time is greater than the second remaining charging time.

[0139] The reference coefficient is used to correct the second deviation between the first remaining charging time and the second remaining charging time.

[0140] It should be understood that since the first remaining charging time and the second remaining charging time are different, if the second remaining charging time is corrected according to the same deviation coefficient, the second remaining charging time will never be able to approach the first remaining charging time. Therefore, it is necessary to consider the magnitudes of the first remaining charging time and the second remaining charging time.

[0141] In some embodiments, if the first remaining charging time is less than the second remaining charging time, the reference coefficient is divided by the third preset time to obtain the first deviation coefficient.

[0142] For example, if the first remaining charging time is 230 minutes, the second remaining charging time is 240 minutes, and the third preset time is 20 minutes, and the first remaining charging time is longer than the second remaining charging time, then the first deviation coefficient is ((240-230)+20) / 20=1.5.

[0143] In some embodiments, if the first remaining charging time is greater than the second remaining charging time, the third preset time is divided by the reference coefficient to obtain the second deviation coefficient.

[0144] For example, if the first remaining charging time is 240 minutes, the second remaining charging time is 230 minutes, and the third preset time is 20 minutes, and the first remaining charging time is longer than the second remaining charging time, then the first deviation coefficient is 20 / ((240-230)+20)=2 / 3.

[0145] In this implementation, a deviation coefficient is determined based on the magnitude of the first remaining charging time and the second remaining charging time, thereby covering various situations for correcting the second remaining charging time and bringing a better experience to the user.

[0146] In one possible implementation, if the first remaining charging time is less than the third preset time and the second remaining charging time is greater than or equal to the third preset time, the second remaining charging time is divided by the first remaining charging time to obtain the third deviation coefficient.

[0147] In some embodiments, since the first remaining charging time is less than the third preset time and the second remaining charging time is greater than or equal to the third preset time, the first remaining charging time is less than the second remaining charging time.

[0148] It should be understood that in practical applications, the third preset duration is used to change the deceleration rate of the second remaining charging duration within a short period of time; that is, to control the second remaining charging duration to approach the first remaining charging duration after the third preset duration. However, if the first remaining charging duration is less than the third preset duration, it indicates that the third preset duration is relatively long. If the second remaining charging duration is controlled to approach the first remaining charging duration after the third preset duration, it will result in the second remaining charging duration continuing to decrease even after the first remaining charging duration has already decreased to 0. Therefore, when the first remaining charging duration is less than the third preset duration, a third deviation coefficient needs to be determined.

[0149] For example, if the third preset duration is 20 minutes, the first remaining charging duration is 10 minutes, and the second remaining charging duration is 30 minutes, then the third deviation coefficient is 3.

[0150] In this implementation, a deviation coefficient is determined based on the magnitude of the first remaining charging time and the second remaining charging time, thereby covering various situations for correcting the second remaining charging time and bringing a better experience to the user.

[0151] In one possible implementation, if the first remaining charging time is greater than the second remaining charging time and the second remaining charging time is less than the third preset time, the minimum value between the first remaining charging time and the third preset time is determined, and the second remaining charging time is divided by the minimum value to obtain the fourth deviation coefficient.

[0152] It should be understood that in practical applications, the third preset duration is used to change the deceleration rate of the second remaining charging duration within a short period of time; that is, to control the second remaining charging duration to approach the first remaining charging duration after the third preset duration. However, if the first remaining charging duration is less than the third preset duration, it indicates that the third preset duration is relatively long. If the second remaining charging duration is controlled to approach the first remaining charging duration after the third preset duration, it will result in the second remaining charging duration continuing to decrease even after the first remaining charging duration has decreased to 0. To avoid the above problem, a minimum value is determined between the first remaining charging duration and the third preset duration, thereby controlling the decrease of the second remaining charging duration in a shorter time. That is, a fourth deviation coefficient is determined based on the minimum value between the first remaining charging duration and the third preset duration.

[0153] For example, if the third preset duration is 20 minutes, the first remaining charging duration is 30 minutes, and the second remaining charging duration is 10 minutes, then the third deviation coefficient is 0.5.

[0154] In this implementation, a deviation coefficient is determined based on the magnitude of the first remaining charging time and the third preset time, thereby covering various situations for correcting the second remaining charging time and bringing a better experience to the user.

[0155] Part Three explains the process of correcting and updating the second remaining charging time based on the deviation coefficient.

[0156] It should be understood that since the deviation coefficient can correct the deviation between the first remaining charging time and the second remaining charging time, the difference between the second deviation value and the first deviation value is corrected based on the deviation coefficient, and the problem of the second deviation value display jumping is avoided.

[0157] In some embodiments, when the first remaining charging time is greater than or equal to the third preset time, the second remaining charging time is greater than or equal to the third preset time, and the first remaining charging time is less than the second remaining charging time, the second remaining charging time is controlled to decrease according to a first deviation coefficient so that the second remaining charging time approaches the first remaining charging time.

[0158] For example, if the first remaining charging time is 230 minutes, the second remaining charging time is 240 minutes, and the first deviation coefficient is 1.5, then the second remaining charging time is controlled to decrease at a rate of 1.5. That is, if the first remaining charging time decreases by 1 minute, the second remaining charging time decreases by 1.5 minutes. Then, after 20 minutes, the second remaining charging time will approach the first remaining charging time.

[0159] In some embodiments, when the first remaining charging time is greater than or equal to the third preset time, the second remaining charging time is greater than or equal to the third preset time, and the first remaining charging time is greater than the second remaining charging time, the second remaining charging time is controlled to decrease according to the second deviation coefficient, so that the second remaining charging time approaches the first remaining charging time.

[0160] For example, if the first remaining charging time is 240 minutes, the second remaining charging time is 230 minutes, and the second deviation coefficient is 2 / 3, then the second remaining charging time is controlled to decrease at a rate of 2 / 3. That is, if the first remaining charging time decreases by 1 minute, the second remaining charging time decreases by 2 / 3 minutes. Then, after 30 minutes, the second remaining charging time will approach the first remaining charging time.

[0161] In some embodiments, when the first remaining charging time is less than the third preset time and the second remaining charging time is greater than or equal to the third preset time, the second remaining charging time is controlled to decrease according to the third deviation coefficient, so that the second remaining charging time approaches the first remaining charging time.

[0162] For example, if the first remaining charging time is 10 minutes, the second remaining charging time is 30 minutes, and the third deviation coefficient is 3, then the second remaining charging time is controlled to decrease at a rate of 3. That is, if the first remaining charging time decreases by 1 minute, the second remaining charging time decreases by 3 minutes. After 10 minutes, the second remaining charging time will approach the first remaining charging time.

[0163] In some embodiments, when the first remaining charging time is greater than the second remaining charging time and the second remaining charging time is less than the third preset time, the second remaining charging time is controlled to decrease according to the fourth deviation coefficient so that the second remaining charging time approaches the first remaining charging time.

[0164] For example, if the third preset duration is 20 minutes, the first remaining charging duration is 30 minutes, the second remaining charging duration is 10 minutes, and the third deviation coefficient is 0.5, then the second remaining charging duration is controlled to decrease at a rate of 0.5. That is, if the first remaining charging duration decreases by 1 minute, the second remaining charging duration decreases by 0.5 minutes. After 20 minutes, the second remaining charging duration will approach the first remaining charging duration.

[0165] This application provides a method for determining the remaining charging time of a vehicle. This method receives a timestamp and a first remaining charging time sent from the cloud when the vehicle has started charging. In cases of poor communication quality between the vehicle and the cloud, there may be a delay in the vehicle receiving the first remaining charging time. Therefore, the method determines whether the first remaining charging time sent from the cloud is delayed based on the timestamp, the current time the vehicle receives the first remaining charging time, and the first remaining charging time itself. If the first remaining charging time is delayed, it is corrected to obtain the actual remaining charging time. A second remaining charging time is then corrected based on the actual remaining charging time. If the first remaining charging time is not delayed, the second remaining charging time is also corrected based on the first remaining charging time. In other words, even if the first remaining charging time is delayed, both the first and second remaining charging times are corrected, resulting in a more accurate displayed remaining charging time.

[0166] Figure 4 This is a schematic flowchart illustrating a vehicle-cloud interaction method provided in an embodiment of this application.

[0167] For example, such as Figure 4 As shown, taking the microcontroller unit as the execution subject as an example, the method includes the following steps 401-405.

[0168] Step 401: When the vehicle starts charging, the cloud obtains the vehicle's battery status parameters.

[0169] The battery state parameters are used to evaluate the vehicle's battery performance. These parameters include one or more of the following: battery health, state of charge, temperature, and charging current.

[0170] In some embodiments, the cloud obtains the vehicle's battery status parameters from the vehicle based on the MQTT protocol.

[0171] Step 402: The cloud calculates the first remaining charging time based on the battery status parameters.

[0172] In some embodiments, the cloud inputs battery status parameters into a model for determining the remaining charging time to obtain the vehicle's first remaining charging time.

[0173] The model for determining the remaining charging time is trained based on the vehicle's historical battery state parameters. This model is a convolutional neural network model.

[0174] Since the cloud can obtain battery status parameters in real time and determine the remaining charging time model can calculate the vehicle's first remaining charging time, the cloud can calculate the first remaining charging time in real time.

[0175] Step 403: The cloud sends the first remaining charging time and timestamp to the vehicle.

[0176] In some embodiments, the cloud can periodically send the first remaining charging time and timestamp to the vehicle.

[0177] Step 404: The vehicle receives the first remaining charging time and timestamp sent from the cloud.

[0178] Optionally, the specific implementation of the vehicle receiving the first remaining charging time and timestamp sent by the cloud can be found in the description of steps 201 and 301 above, and will not be repeated here.

[0179] Step 405: The vehicle adjusts the second remaining charging time based on the first remaining charging time.

[0180] Optionally, the specific implementation of the vehicle receiving the first remaining charging time and timestamp sent by the cloud can be found in the description of steps 203 and 303-305 above, and will not be repeated here.

[0181] This application provides a method for vehicle-cloud interaction. When the vehicle starts charging, the cloud obtains the vehicle's battery status parameters; the cloud calculates a first remaining charging time based on these parameters; and the cloud sends the first remaining charging time and a timestamp to the vehicle. The vehicle receives the first remaining charging time and timestamp from the cloud; the vehicle then adjusts the second remaining charging time based on the first remaining charging time. In other words, the cloud calculates the first remaining charging time and sends it to the vehicle, and the vehicle adjusts the second remaining charging time based on this first remaining charging time, thereby achieving vehicle-cloud interaction.

[0182] Figure 5 This is a schematic diagram of a device for determining the remaining charging time of a vehicle, provided in an embodiment of this application.

[0183] For example, such as Figure 5 As shown, the device 500 includes:

[0184] The receiving module 501 is used to receive a timestamp and a first remaining charging time sent from the cloud when the vehicle starts charging.

[0185] The determination module 502 is used to determine whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time.

[0186] The correction module 503 is used to correct the second remaining charging time of the vehicle based on the first remaining charging time in the event of a delay in the first remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on the vehicle's battery state parameters.

[0187] In one possible implementation, the device 500 further includes:

[0188] The determination module 502 is used to determine whether the first remaining charging time sent by the cloud is delayed based on the timestamp and the current time when the first remaining charging time is less than or equal to the total charging time of the vehicle.

[0189] The determining module 502 is used to determine that the first remaining charging time has no delay when the first deviation value between the timestamp and the current time is less than or equal to the first preset duration;

[0190] The determining module 502 is used to determine the first remaining charging time delay when the first deviation value is greater than the first preset time.

[0191] In one possible implementation, the device 500 further includes:

[0192] The determining module 502 is used to determine the number of delays in the first remaining charging time when there is a delay.

[0193] The correction module 503 is used to correct the first remaining charging time based on the number of delays when the number of delays is less than the first preset number of delays, so as to obtain the actual remaining charging time.

[0194] The switching module is used to switch the second remaining charging time to the actual remaining charging time.

[0195] In one possible implementation, the device 500 further includes:

[0196] The determination module 502 is used to determine whether the vehicle has received at least one first remaining charging time without delay;

[0197] The calculation module is used to subtract a preset time interval from the first remaining charging time without delay according to the number of delays when the vehicle receives at least one first remaining charging time without delay, so as to obtain the actual remaining charging time; wherein the preset time interval is used to represent the frequency at which the vehicle receives the first remaining charging time.

[0198] In one possible implementation, the device 500 further includes:

[0199] The determining module 502 is used to determine whether a second deviation value between the second remaining charging time of the vehicle and the first remaining charging time is less than a second preset time when there is no delay in the first remaining charging time.

[0200] The deviation coefficient determination module is used to determine the deviation coefficient between the second remaining charging time and the first remaining charging time based on the second deviation value and the third preset time when the second deviation value is less than the second preset time; and to correct and update the second remaining charging time based on the deviation coefficient; wherein the deviation coefficient is used to characterize the degree of deviation between the second remaining charging time and the first remaining charging time.

[0201] If the second deviation value is greater than or equal to the second preset duration, the second remaining charging duration is switched to the first remaining charging duration.

[0202] In one possible implementation, the device 500 further includes:

[0203] The deviation coefficient determination module is used to add the absolute value of the second deviation value to the third preset time when the first remaining charging time is greater than or equal to the third preset time and the second remaining charging time is greater than or equal to the third preset time, to obtain a reference coefficient.

[0204] The deviation coefficient determination module is used to determine whether the first remaining charging time is greater than the second remaining charging time;

[0205] The deviation coefficient determination module is used to divide the reference coefficient by the third preset duration when the first remaining charging time is less than the second remaining charging time to obtain the first deviation coefficient.

[0206] The deviation coefficient determination module is used to divide the third preset duration by the reference coefficient when the first remaining charging time is greater than the second remaining charging time, to obtain the second deviation coefficient.

[0207] In one possible implementation, the device 500 further includes:

[0208] The deviation coefficient determination module is used to divide the second remaining charging time by the first remaining charging time to obtain the third deviation coefficient when the first remaining charging time is less than the third preset time and the second remaining charging time is greater than or equal to the third preset time.

[0209] The deviation coefficient determination module is used to determine the minimum value between the first remaining charging time and the third preset time when the first remaining charging time is greater than the second remaining charging time and the second remaining charging time is less than the third preset time, and then divide the second remaining charging time by the minimum value to obtain the fourth deviation coefficient.

[0210] Figure 6 This is a schematic diagram of the structure of a vehicle provided in an embodiment of this application.

[0211] For example, such as Figure 6 As shown, the vehicle 600 includes a memory 601 and a processor 602. The memory 601 stores executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a method for determining the remaining charging time of the vehicle.

[0212] Furthermore, embodiments of this application also protect an apparatus that may include a memory and a processor, wherein the memory stores executable program code, and the processor is used to call and execute the executable program code to perform a method for determining the remaining charging time of a vehicle provided in embodiments of this application.

[0213] This embodiment can divide the device into functional modules based on the above method example. For example, each module can correspond to a separate function, or two or more functions can be integrated into one processing module. The integrated module can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0214] When each functional module is divided according to its corresponding function, the device may also include a switching module, a calculation module, and a module for determining deviation coefficients. It should be noted that all relevant content regarding the steps involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here.

[0215] It should be understood that the apparatus provided in this embodiment is used to execute the above-described method for determining the remaining charging time of a vehicle, and therefore can achieve the same effect as the above-described implementation method.

[0216] When using an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module can be used to control and manage the vehicle's movements. The storage module can be used to support the vehicle in executing relevant program code.

[0217] The processing module may be a processor or a controller, which can implement or execute various exemplary logic blocks, modules, and circuits shown in conjunction with the disclosure of this application. The processor may also be a combination of functions that implement computing capabilities, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and microprocessors, etc., and the storage module may be a memory.

[0218] In addition, the device provided in the embodiments of this application may specifically be a chip, component or module. The chip may include a connected processor and a memory. The memory is used to store instructions. When the processor calls and executes the instructions, the chip can execute the method for determining the remaining charging time of a vehicle provided in the above embodiments.

[0219] This embodiment also provides a computer-readable storage medium storing computer program code. When the computer program code is run on a computer, the computer executes the above-described related method steps to implement the method for determining the remaining charging time of a vehicle provided in the above embodiment.

[0220] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned related steps to implement the method for determining the remaining charging time of a vehicle provided in the above embodiment.

[0221] In this embodiment, the device, computer-readable storage medium, computer program product, or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be repeated here.

[0222] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0223] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0224] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for determining the remaining charging time of a vehicle, characterized in that, The method is applied to a vehicle, and the method includes: Once the vehicle starts charging, receive a timestamp and the first remaining charging time sent from the cloud. Based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time, it is determined whether the first remaining charging time sent by the cloud is delayed. If there is a delay in the first remaining charging time, determine the number of delays in the first remaining charging time. If the number of delays is less than the first preset number, the first remaining charging time is corrected based on the number of delays to obtain the actual remaining charging time; The second remaining charging time is switched to the actual remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on the vehicle's battery state parameters.

2. The method according to claim 1, characterized in that, The step of determining whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time includes: If the first remaining charging time is less than or equal to the total charging time of the vehicle, it is determined whether the first remaining charging time sent by the cloud is delayed based on the timestamp and the current time. If the first deviation between the timestamp and the current time is less than or equal to the first preset duration, it is determined that the first remaining charging time has no delay. If the first deviation value is greater than the first preset duration, the first remaining charging time is delayed.

3. The method according to claim 1, characterized in that, The step of correcting the first remaining charging time based on the number of delays to obtain the actual remaining charging time includes: Determine whether the vehicle receives at least one first remaining charging time without delay; When the vehicle receives at least one first remaining charging time without delay, the first remaining charging time without delay is subtracted by a preset time interval according to the number of delays to obtain the actual remaining charging time; wherein, the preset time interval is used to represent the frequency at which the vehicle receives the first remaining charging time.

4. The method according to claim 1, characterized in that, The method further includes: If there is no delay in the first remaining charging time, determine whether the second deviation value between the second remaining charging time of the vehicle and the first remaining charging time is less than the second preset time. If the second deviation value is less than the second preset duration, a deviation coefficient between the second remaining charging duration and the first remaining charging duration is determined based on the second deviation value and the third preset duration; the second remaining charging duration is corrected and updated based on the deviation coefficient; wherein, the deviation coefficient is used to characterize the degree of deviation between the second remaining charging duration and the first remaining charging duration; If the second deviation value is greater than or equal to the second preset duration, the second remaining charging duration is switched to the first remaining charging duration.

5. The method according to claim 4, characterized in that, The deviation coefficient includes a first deviation coefficient and a second deviation coefficient. Determining the deviation coefficient between the second remaining charging time and the first remaining charging time based on the second deviation value and a third preset duration includes: If the first remaining charging time is greater than or equal to the third preset time and the second remaining charging time is greater than or equal to the third preset time, the absolute value of the second deviation value is added to the third preset time to obtain a reference coefficient. Determine whether the first remaining charging time is greater than the second remaining charging time; If the first remaining charging time is less than the second remaining charging time, the reference coefficient is divided by the third preset time to obtain the first deviation coefficient. If the first remaining charging time is greater than the second remaining charging time, the third preset time is divided by the reference coefficient to obtain the second deviation coefficient.

6. The method according to claim 4, characterized in that, The deviation coefficient includes a third deviation coefficient and a fourth deviation coefficient. Determining the deviation coefficient between the second remaining charging time and the first remaining charging time based on the second deviation value and the third preset duration includes: If the first remaining charging time is less than the third preset time and the second remaining charging time is greater than or equal to the third preset time, the second remaining charging time is divided by the first remaining charging time to obtain the third deviation coefficient. Alternatively, if the first remaining charging time is greater than the second remaining charging time and the second remaining charging time is less than the third preset time, the minimum value between the first remaining charging time and the third preset time is determined, and the second remaining charging time is divided by the minimum value to obtain the fourth deviation coefficient.

7. A device for determining the remaining charging time of a vehicle, characterized in that, The device includes: The receiving module is used to receive a timestamp and the first remaining charging time sent from the cloud when the vehicle starts charging. The determining module is used to determine whether the first remaining charging time sent by the cloud is delayed based on the timestamp, the current time when the vehicle receives the first remaining charging time, and the first remaining charging time. The correction module is configured to: determine the number of delays in the first remaining charging time when there is a delay; correct the first remaining charging time based on the number of delays if the number of delays is less than a first preset number, to obtain an actual remaining charging time; and switch the second remaining charging time to the actual remaining charging time; wherein the second remaining charging time is the remaining charging time determined by the vehicle based on the vehicle's battery state parameters.

8. A vehicle, characterized in that, The vehicles include: Memory, used to store executable program code; A processor for calling and running the executable program code from the memory, causing the vehicle to perform the method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed, implements the method as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Charging pile with battery maintenance function and working method thereof

    CN108649621A

  • Correction method and system of electric car charging power

    CN110014884A