Method and device for determining remaining charging duration of vehicle, vehicle and storage medium
By receiving the cloud time stamp and charging time when the vehicle is charged, and determining its delay situation, the second remaining charging time is corrected, the problem of inaccuracy caused by delay in charging time is solved, and the accuracy of charging time is improved.
Patent Information
- Application Number
- CN202510298635.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-13
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-03-13
AI Technical Summary
When the vehicle is charging, there may be a delay in the remaining charging time received, resulting in the displayed remaining charging time inaccurate.
By receiving the time stamp sent by the cloud and the first remaining charging time, when the vehicle starts charging, it is determined whether the charging time is delayed, and the second remaining charging time is corrected based on the delay situation.
Improve the accuracy of the remaining charging time and ensure that users can obtain more accurate charging time information.
Smart Images

Figure CN120024248A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicles, and more specifically, to a method, device, vehicle and storage medium for determining the remaining charging time of a vehicle in the field of vehicles. Background Art
[0002] The remaining charging time of the current vehicle is determined by the battery's state of health (SOH), the vehicle's current maximum capacity, the vehicle's remaining charge (SOC), and the vehicle's charging current. However, as the battery ages, the battery's internal structure and chemical composition will change, resulting in inaccurate calculation of the battery's SOH. Therefore, the remaining charging time of the current vehicle calculated based on the SOH is inaccurate.
[0003] In the related technology, the cloud has powerful data processing capabilities, so the cloud can predict the remaining charging time of the vehicle based on the historical battery parameters and real-time battery parameters of the vehicle. However, in actual applications, the vehicle may be in an underground parking lot, and the communication signal of the vehicle is not good. Therefore, when the vehicle starts charging, there is a delay in receiving the remaining charging time sent by the cloud. Summary of the invention
[0004] The present application provides a method, device, 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] In a first aspect, a method for determining a remaining charging time of a vehicle is provided, the method being applied to the vehicle, the method comprising:
[0006] When the vehicle starts charging, receiving a timestamp and a first remaining charging time sent by the cloud;
[0007] 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;
[0008] In the case where the first remaining charging time is delayed, 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 of the vehicle determined based on the battery status parameters of the vehicle.
[0009] Through the above technical solution, when the vehicle starts charging, the timestamp and the first remaining charging time sent by the cloud are received. In the case where 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, so 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. In the case 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 battery status parameter. Since the first remaining charging time is determined according to the real-time battery status parameter, although there is a delay in the first remaining charging time, the first remaining charging time is still more accurate than the second remaining charging time. That is, the problem of inaccurate remaining charging time displayed by the vehicle due to a delay in the first remaining charging time received by the vehicle is solved.
[0010] In combination 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 at which the vehicle receives the first remaining charging time, and the first remaining charging time includes:
[0011] In a case where the first remaining charging time is less than or equal to the total charging time of the vehicle, determining whether the first remaining charging time sent by the cloud is delayed based on the timestamp and the current time;
[0012] When a first deviation value between the timestamp and the current time is less than or equal to a first preset duration, determining that the first remaining charging duration has no delay;
[0013] When the first deviation value is greater than the first preset time length, the first remaining charging time length is determined to be delayed.
[0014] Through the above technical solution, whether the first remaining charging time is valid can be determined based on the total charging time of the vehicle, and whether the first remaining charging time is delayed 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, when the first remaining charging time is delayed, correcting the second remaining charging time of the vehicle based on the first remaining charging time includes:
[0016] In the case where there is a delay in the first remaining charging time, determining the number of delays for which there is a delay in the first remaining charging time;
[0017] When the delay number is less than the first preset number, the first remaining charging time is corrected based on the delay number to obtain an actual remaining charging time;
[0018] The second remaining charging time is switched to the actual remaining charging time.
[0019] Through the above technical solution, the first remaining charging time has multiple delays. 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 there is a delay in the first remaining charging time, the first remaining charging time can be made more accurate based on the number of delays.
[0020] In combination with the first aspect, in some possible implementations, the first remaining charging time is corrected based on the number of delays to obtain an actual remaining charging time, including:
[0021] determining whether the vehicle receives at least one first remaining charging duration 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 indicate the frequency with which the vehicle receives the first remaining charging time.
[0023] Through the above technical solution, 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 the number of delays, thereby bringing a better experience to the user.
[0024] In combination with the first aspect, in some possible implementations, the method further includes:
[0025] In the case where there is no delay in the first remaining charging time, determining whether a second deviation value between a second remaining charging time of the vehicle and the first remaining charging time is less than a second preset time;
[0026] In the case where the second deviation value is less than the second preset time, based on the second deviation value and the third preset time, a deviation coefficient between the second remaining charging time and the first remaining charging time is determined; based on the deviation coefficient, the second remaining charging time is corrected and updated; wherein the deviation coefficient is used to characterize the degree of deviation between the second remaining charging time and the first remaining charging time;
[0027] When 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.
[0028] Through the above technical solution, when there is no delay in the first remaining charging time, it is determined based on the second preset time whether the deviation value between the second remaining charging time and the second remaining charging time is large, so as to select a method to correct the second remaining charging time, so that the user can view a more accurate remaining charging time of the vehicle.
[0029] In combination with the first aspect, in some possible implementations, the deviation coefficient includes a first deviation coefficient and a second deviation coefficient, and the determining, based on the second deviation value and the third preset duration, the deviation coefficient between the second remaining charging duration and the first remaining charging duration includes:
[0030] 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, the absolute value of the second deviation value is added to the third preset time to obtain a reference coefficient;
[0031] Determining whether the first remaining charging time is greater than the second remaining charging time;
[0032] When the first remaining charging time is less than the second remaining charging time, dividing the reference coefficient by the third preset time to obtain the first deviation coefficient;
[0033] When 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] Through the above technical solution, the deviation coefficient is determined according to the size of the first remaining charging time and the second remaining charging time, thereby covering a variety of situations of correcting the second remaining charging time, bringing a better experience to users.
[0035] In combination with the first aspect, in some possible implementations, the deviation coefficient includes a third deviation coefficient and a fourth deviation coefficient, and the determination of 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 includes:
[0036] 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, dividing the second remaining charging time by the first remaining charging time to obtain the third deviation coefficient;
[0037] Alternatively, 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, determine the minimum value between the first remaining charging time and the third preset time, divide the second remaining charging time by the minimum value, and obtain the fourth deviation coefficient.
[0038] Through the above technical solution, the deviation coefficient is determined according to the first remaining charging time, the second remaining charging time and the third preset time, thereby covering a variety of situations for correcting the second remaining charging time and bringing a better experience to users.
[0039] In a second aspect, a device for determining a remaining charging time of a vehicle is provided, the device comprising:
[0040] A receiving module, used for receiving a timestamp and a first remaining charging time sent by the cloud when the vehicle starts charging;
[0041] A determination module, configured to determine 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;
[0042] A correction module is used to correct the second remaining charging time of the vehicle based on the first remaining charging time when the first remaining charging time is delayed; wherein the second remaining charging time is the remaining charging time of the vehicle determined based on the battery status parameters of the vehicle.
[0043] In a third aspect, a vehicle is provided, comprising 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, so that the vehicle executes the method executed by the above-mentioned method for determining the remaining charging time of the vehicle.
[0044] In a fourth aspect, a computer program product is provided, which includes: a computer program code, which, when executed on a computer, enables the computer to execute the method executed by the above-mentioned method for determining the remaining charging time of a vehicle.
[0045] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method executed by the above-mentioned method for determining the remaining charging time of a vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] Figure 1 It is a schematic diagram of an implementation environment of a method for determining the remaining charging time of a vehicle provided in an embodiment of the present application;
[0047] Figure 2 is a schematic flow chart of a method for determining the remaining charging time of a vehicle provided in an embodiment of the present application;
[0048] Figure 3 is a schematic flow chart of another method for determining the remaining charging time of a vehicle according to an embodiment of the present application;
[0049] Figure 4 is a schematic flow chart of a vehicle-cloud interaction method provided in an embodiment of the present application;
[0050] Figure 5 It is a structural schematic diagram of a device for determining the remaining charging time of a vehicle provided in an embodiment of the present application;
[0051] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0053] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0054] Figure 1 It 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 the present application.
[0055] For example, 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 of the vehicle, which can obtain relevant data of the vehicle and control the vehicle to perform corresponding operations based on the relevant data. For example, the microcontroller unit 110 can obtain the remaining charging time of the vehicle calculated by the cloud, and determine whether the remaining charging time of the vehicle calculated by the vehicle is accurate based on the remaining charging time of the vehicle in the cloud.
[0057] The display screen 120 is used to display basic information, multimedia information or a user interface of the vehicle. For example, the display screen 120 displays the remaining charging time of the vehicle calculated by the vehicle. In some embodiments, the display screen 120 includes a dashboard of the vehicle.
[0058] Figure 2It is a schematic flowchart of a method for determining the remaining charging time of a vehicle provided in an embodiment of the present application.
[0059] For example, Figure 2 As shown, taking the execution subject as a micro control unit as an example, the method 200 includes steps 201 to 203.
[0060] Step 201, when the vehicle starts charging, receiving a timestamp and a first remaining charging time sent by the cloud.
[0061] The vehicle starts charging, which means that the charging pile starts to supply power to the vehicle's battery. The cloud is a cloud platform in the vehicle charging management system, and the cloud is used to monitor the vehicle's charging status in real time. The timestamp records the specific time when the cloud sends the first remaining charging time. For example, the timestamp when the cloud sends the first remaining charging time is 14:01 on March 1, 2023. The first remaining charging time is the remaining charging time of the vehicle determined by the cloud through the vehicle's battery status parameters. For example, in a hybrid vehicle, the vehicle's battery is small, and the first remaining charging time is 2 hours.
[0062] Step 202, 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.
[0063] In actual applications, if the distance between the vehicle and the cloud is far or the vehicle may be in an underground parking lot, the vehicle's communication signal is not good, which will lead to poor communication quality between the vehicle and the cloud, that is, when the vehicle starts charging, the vehicle receives the first remaining charging time with a time delay. It is understandable that in actual applications, it takes time for the cloud to transmit data to the vehicle, but the time spent is shorter in undelayed data transmission. However, if it takes a long time for the vehicle to receive the first remaining charging time from the cloud, it means that there is a delay in the first remaining charging time received by the vehicle.
[0064] Since the timestamp indicates the moment when the first remaining charging time is sent from the cloud, and the current time is the moment when the vehicle receives the first remaining charging time, when the vehicle receives the first remaining charging time, based on the timestamp and the current time when the vehicle receives the first remaining charging time, it is possible to determine whether the first remaining charging time is delayed.
[0065] Step 203, in the case where the first remaining charging time is delayed, correcting the second remaining charging time of the vehicle based on the first remaining charging time; wherein the second remaining charging time is the remaining charging time of the vehicle determined based on the battery status parameters of the vehicle.
[0066] In actual applications, as the usage time increases, the battery will age and the internal resistance of the battery will gradually increase. If the vehicle determines the second remaining charging time based on the battery status parameters of the vehicle, the second remaining charging time will be inaccurate. However, the cloud can continuously monitor and obtain the battery status parameters of the vehicle, and calculate the first remaining charging time in time in combination with the actual charging curve, and the cloud can improve the accuracy of calculating the first remaining charging time based on the long-term accumulated usage data of the vehicle battery. Therefore, the first remaining charging time is more accurate than the second remaining charging time. However, in actual applications, there is also a delay in the vehicle receiving the first remaining charging time. Since the first remaining charging time is determined according to the real-time battery status parameters, although there is a delay in the first remaining charging time, the first remaining charging time is more accurate than the second remaining charging time. In this case, the second remaining charging time of the vehicle is corrected based on the first remaining charging time, so that the user can view a more accurate remaining charging time.
[0067] The embodiment of the present application provides a method for determining the remaining charging time of a vehicle. When the vehicle starts charging, a timestamp and a first remaining charging time sent by the cloud are received. In the case where 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, 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. In the case 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 battery status parameter. Since the first remaining charging time is determined according to the real-time battery status parameter, although there is a delay in the first remaining charging time, the first remaining charging time is still more accurate than the second remaining charging time. That is, the problem of inaccurate remaining charging time displayed by the vehicle due to a delay in the first remaining charging time received by the vehicle is solved.
[0068] Figure 3 It is a schematic flowchart of another method for determining the remaining charging time of a vehicle provided in an embodiment of the present application.
[0069] It should be noted that the above steps 201-203 are a simple description of a method for determining the remaining charging time of a vehicle provided in an embodiment of the present application. The following will provide a more detailed description of the method for determining the remaining charging time of a vehicle provided in an embodiment of the present application with some examples.
[0070] See also Figure 3 Taking the execution subject as a micro control unit as an example, the method includes the following steps 301 to 305.
[0071] Step 301, when the vehicle starts charging, receiving the timestamp and the first remaining charging time sent by the cloud.
[0072] The timestamp is used to indicate the time when the cloud sends the first remaining charging time. The first remaining charging time is the remaining charging time determined by the cloud based on the battery status parameters of the vehicle.
[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 starts charging, the vehicle sends an authentication request to the cloud through the Message Queuing Telemetry Transport (MQTT) protocol. If the cloud returns a message carrying a session token, it is determined that the communication between the vehicle and the cloud is successful. If the cloud does not return a message carrying a session token, it is determined that the communication between the vehicle and the cloud has failed.
[0075] The authentication request includes the unique identification of the vehicle.
[0076] In some embodiments, when the vehicle successfully communicates with the cloud, the vehicle receives the timestamp and the first remaining charging time sent by the cloud based on the MQTT protocol.
[0077] Step 302: 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.
[0078] It should be understood that in actual applications, when the vehicle starts charging, the charging pile may generate electromagnetic interference, which may cause a delay in the vehicle receiving the remaining charging time sent by the cloud, resulting in inaccurate first remaining charging time. Therefore, it is necessary to determine whether the vehicle is delayed in receiving the first remaining charging time.
[0079] In a possible implementation, when 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 of the vehicle refers to the time required to charge the battery of the vehicle from zero to a fully charged state. The first remaining charging time refers to the time required to charge the battery of the vehicle from the current power to a fully charged state. Therefore, the first remaining charging time is always less than or equal to the total charging time of the vehicle.
[0081] In some embodiments, when a first deviation value between the timestamp and the current time is less than or equal to a first preset duration, the first remaining charging duration is determined without delay.
[0082] The first preset duration is automatically determined by the microcontroller unit, or is set by a technician according to actual conditions, and the present application embodiment does not limit this. For example, the first preset duration is 1 minute (min).
[0083] In some embodiments, when the first deviation value is greater than a first preset duration, determining the first remaining charging duration is delayed.
[0084] In this embodiment, whether the first remaining charging time is valid can be determined based on the total charging time of the vehicle, and whether the first remaining charging time is delayed can be determined based on the first deviation value between the timestamp and the current time, thereby facilitating correction of the first remaining charging time.
[0085] Optionally, before executing the above step 302, the following steps may also be executed.
[0086] In a possible implementation, when the first remaining charging time is greater than the total charging time, it is determined that the first remaining charging time is invalid. When the first remaining charging time is less than or equal to the total charging time, it is determined that the first remaining charging time is valid.
[0087] It should be understood that if the first remaining charging time is invalid, the second remaining charging time is displayed on the vehicle to facilitate the user to view the remaining charging time. If the first remaining charging time is valid, the first remaining charging time is displayed on the vehicle.
[0088] In this case, whether the first remaining charging time is valid can be determined based on the total charging time of the vehicle.
[0089] In a possible implementation manner, when the first remaining charging time is invalid, a second remaining charging time is determined based on a battery status parameter of the vehicle, and the second remaining charging time is displayed on the vehicle.
[0090] In this case, even if the first remaining charging time is invalid, the second remaining charging time can still be used to remind the user when the battery is fully charged, thereby bringing a better user experience.
[0091] Optionally, after step 302, perform the following steps 303-304 according to actual conditions, or perform the following step 305.
[0092] Step 303: When the first remaining charging time is delayed, the first remaining charging time is corrected to obtain an actual remaining charging time.
[0093] It should be understood that in the case where the first remaining charging time is delayed, if the first remaining charging time is directly displayed in the vehicle, 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 describes 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 a possible implementation, when there is a delay in the first remaining charging time, the number of delays in the first remaining charging time is determined; when the number of delays is less than a first preset number of times, 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 is set by a technician according to actual conditions, and the present application embodiment does not limit this. For example, the first preset number of times may be 3 times.
[0097] In actual applications, the delay of the first remaining charging time indicates that the first remaining charging time is the latest and valid time received by the vehicle. In order to enable the user to obtain 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 embodiment, there are multiple delays in the first remaining charging time. 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 there is a delay in the first remaining charging time, the first remaining charging time can be made more accurate based on the number of delays.
[0099] In order to explain the above implementation in more detail, the above implementation is explained in several parts below.
[0100] The first part describes the content of determining the number of delays of the first remaining charging time when the first remaining charging time is delayed.
[0101] It should be understood that the cloud calculates the first remaining charging time in real time and sends the first remaining charging time to the vehicle in real time, so the vehicle can receive multiple first remaining charging times. However, in actual applications, in the case of electromagnetic interference, the vehicle cannot receive the multiple first remaining charging times in real time, that is, there is a delay in the first remaining charging time.
[0102] It should also be understood that the communication between the vehicle and the cloud is usually used to handle more complex tasks. Therefore, in order to ensure that the communication link between the vehicle and the cloud is stable and reliable, a "heartbeat packet" mechanism can be established.
[0103] In a possible implementation, the number of delays during which the first remaining charging duration is delayed is determined based on a heartbeat packet between the vehicle and the cloud.
[0104] Among them, the heartbeat packet is a small data packet sent periodically to confirm the connection status and response capabilities of the communicating parties.
[0105] The 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 duplication. The timestamp is used to calculate delays. The checksum is used to verify data integrity.
[0106] In some embodiments, a timer is configured in the cloud, and a heartbeat packet sending function is triggered every preset time interval. The cloud periodically sends a heartbeat packet to the vehicle, and the vehicle receives the heartbeat packet and verifies it based on the verification code. The preset time interval is used to indicate 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 is set by a technician according to actual conditions, and the present application embodiment does not limit this. For example, the preset time interval may be 5 minutes.
[0108] In some embodiments, the number of delays in the first remaining charging duration is calculated based on a first deviation value between a timestamp sent by the cloud and a current time of the vehicle and the preset time interval.
[0109] For example, the first deviation value between the timestamp sent by the cloud and the current time of the vehicle 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 number of delays in the first remaining charging time can be effectively monitored and counted based on the heartbeat packets between the vehicle and the cloud.
[0111] The second part describes the content of correcting the first remaining charging time based on the delay number to obtain the actual remaining charging time when the delay number is less than the first preset number.
[0112] It should be understood that a delay number less than the first preset number indicates that the vehicle has not received the first remaining charging time in a short period of time, and the first remaining charging time received by the vehicle before the delay in receiving the first remaining charging time is valid, so the first remaining charging time can be corrected based on the delay number.
[0113] In one embodiment, it is determined whether the vehicle receives at least one first remaining charging duration without delay.
[0114] 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 from a preset time interval according to the number of delays to obtain the actual remaining charging time.
[0115] For example, the vehicle receives the first remaining charging time (300 min) at 13:01 on October 1, 2023, and when there is no delay in the first remaining charging time, it is determined that the number of delays for the first remaining charging time is 3 times, and the preset time interval is 5 min. The actual remaining charging time is 300=285 min.
[0116] It should be understood that, in the case where there is a delay in the first remaining charging time, in order to calibrate the first remaining charging time, the first remaining charging time without delay may be subtracted from a preset time interval based on the accumulated 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 accumulated and subtracted from a preset time interval according to the number of delays to obtain the actual remaining charging time.
[0118] For example, when it is determined that the first remaining charging time (300 min) is delayed for the first time, the preset time interval is 5 min, then the first remaining charging time without delay is subtracted by 5 min, and when it is determined that the first remaining charging time (300 min) is delayed for the second time, 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 remaining charging time after calibration, and the second remaining charging time of the vehicle is affected by battery aging, the second remaining charging time is inaccurate, so 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 second remaining charging time is displayed on the display screen of the vehicle, switching the second remaining charging time to the actual remaining charging time means displaying the actual remaining charging time on the display screen.
[0123] In some embodiments, the actual remaining charging time is displayed on a display screen.
[0124] Step 305 : When there is no delay in the first remaining charging time, correct the second remaining charging time 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 actual applications, the second remaining charging time will be displayed on the display screen of the vehicle. If the second remaining charging time is directly switched to the first remaining charging time, the time on the display screen will jump, which will bring a bad experience to the user. Therefore, the second remaining charging time needs to be corrected based on the first remaining charging time.
[0126] Next, when 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, when there is no delay in the first remaining charging time, 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 the second deviation value is greater than or equal to the second preset time, switch the second remaining charging time to the first remaining charging time; when the second deviation value is less than the second preset time, determine a deviation coefficient between the second remaining charging time and the first remaining charging time based on the second deviation value and a third preset time; and correct and update the second remaining charging time based on the deviation coefficient.
[0128] Among them, the second preset time is automatically determined by the microcontroller unit, or is set by the technician according to the actual situation, and the embodiment of the present application does not limit this. For example, the second preset time is 30 minutes. The second preset time can determine whether the deviation value between the second remaining charging time and the second remaining charging time is large. The deviation coefficient is used to characterize the degree of deviation between the second remaining charging time and the first remaining charging time. The third preset time is automatically determined by the microcontroller unit, or is set by the technician according to the actual situation, and the embodiment of the present application does not limit this. For example, the third preset time is 20 minutes.
[0129] Under this embodiment, when there is no delay in the first remaining charging time, it is determined based on the second preset time whether the deviation value between the second remaining charging time and the second remaining charging time is large, so as to select a method to correct the second remaining charging time, thereby allowing the user to view a more accurate remaining charging time of the vehicle.
[0130] In order to explain the above implementation in more detail, the above implementation is explained in several parts below.
[0131] The first part describes the content of switching the second remaining charging time to the first remaining charging time when the second deviation value is greater than or equal to the second preset time.
[0132] It should be understood that if the second deviation value is greater than or equal to the second preset duration, it means that the deviation value between the first remaining charging duration and the second remaining charging duration is large. At this time, if the second remaining charging duration is updated according to the first remaining charging duration, it will cause the second remaining charging duration to be corrected slowly, or the second remaining charging duration cannot be calibrated to the first remaining charging duration. To avoid the above situation, 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 display screen of the vehicle.
[0133] In some embodiments, when the second deviation value is greater than or equal to the first preset time, the first remaining charging time is displayed on a display screen of the vehicle.
[0134] The second part describes the content of 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 time when the second deviation value is less than the second preset time.
[0135] It should be understood that the second deviation value being less than the second preset time indicates that the deviation value between the first remaining charging time and the second remaining charging time is smaller. If the second remaining charging time is directly switched to the first remaining charging time, the time on the display screen will jump. Therefore, the deviation coefficient between the second remaining charging time and the first remaining charging time is determined, so as to facilitate correction of the second remaining charging time 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 value between the first remaining charging time and the second remaining charging time.
[0137] It should be understood that in order to make the second remaining charging time equal to the first remaining charging time in a short time without any jump problem on the display screen, the third preset time can be calibrated to change the decreasing rate of the second remaining charging time.
[0138] In one possible implementation, 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, 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 a 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 is different from the second remaining charging time, 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 adjust the remaining charging time based on the size of the first remaining charging time and the second remaining charging time.
[0141] In some embodiments, when 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, the first remaining charging time is 230 minutes, the second remaining charging time is 240 minutes, the third preset time is 20 minutes, and the first remaining charging time is greater than the second remaining charging time. Then, the first deviation coefficient is ((240-230)+20) / 20=1.5.
[0143] In some embodiments, when 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, the first remaining charging time is 240 minutes, the second remaining charging time is 230 minutes, and the third preset time is 20 minutes. The first remaining charging time is greater than the second remaining charging time, and the first deviation coefficient is 20 / ((240-230)+20)=2 / 3.
[0145] In this implementation, the deviation coefficient is determined according to the magnitude of the first remaining charging time and the second remaining charging time, thereby covering a variety of situations in which the second remaining charging time is corrected, providing a better experience for users.
[0146] In a possible implementation, 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 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 actual applications, the third preset duration is used to change the decreasing rate of the second remaining charging duration in a shorter 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 means that the third preset duration is longer. 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 still decreasing after the first remaining charging duration has decreased to 0. Therefore, when the first remaining charging duration is less than the third preset duration, it is necessary to determine the third deviation coefficient.
[0149] For example, if the third preset time is 20 minutes, the first remaining charging time is 10 minutes, and the second remaining charging time is 30 minutes, then the third deviation coefficient is 3.
[0150] In this implementation, the deviation coefficient is determined according to the magnitude of the first remaining charging time and the second remaining charging time, thereby covering a variety of situations in which the second remaining charging time is corrected, providing a better experience for users.
[0151] In a possible implementation, 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 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 actual applications, the third preset duration is used to change the decreasing rate of the second remaining charging duration in a shorter 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 means that the third preset duration is longer. 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 still decreasing after the first remaining charging duration has decreased to 0. In order to avoid the above problem, a minimum value is determined between the first remaining charging duration and the third preset duration, so that the second remaining charging duration is controlled to decrease in a shorter time, that is, the 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 time is 20 minutes, the first remaining charging time is 30 minutes, and the second remaining charging time is 10 minutes, the third deviation coefficient is 0.5.
[0154] In this implementation, the deviation coefficient is determined according to the magnitude of the first remaining charging time and the third preset time, thereby covering a variety of situations of correcting the second remaining charging time and bringing a better experience to the user.
[0155] Part 3: Explain the contents 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 value 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 the first deviation coefficient so that the second remaining charging time approaches the first remaining charging time.
[0158] For example, the first remaining charging time is 230 minutes, the second remaining charging time is 240 minutes, and the first deviation coefficient is 1.5. The second remaining charging time is controlled to decrease at a rate of 1.5. That is, the first remaining charging time decreases by 1 minute, and the second remaining charging time decreases by 1.5 minutes. Then, after 20 minutes, the second remaining charging time approaches 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, the first remaining charging time is 240 minutes, the second remaining charging time is 230 minutes, and the second deviation coefficient is 2 / 3. The second remaining charging time is controlled to decrease at a rate of 2 / 3. That is, the first remaining charging time decreases by 1 minute, and the second remaining charging time decreases by 2 / 3 minutes. Then, after 30 minutes, the second remaining charging time approaches 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, the first remaining charging time is 10 minutes, the second remaining charging time is 30 minutes, and the third deviation coefficient is 3. The second remaining charging time is controlled to decrease at a rate of 3. That is, the first remaining charging time decreases by 1 minute, and the second remaining charging time decreases by 3 minutes. Then, after 10 minutes, the second remaining charging time approaches 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, the third preset time is 20 minutes, the first remaining charging time is 30 minutes, the second remaining charging time is 10 minutes, and the third deviation coefficient is 0.5. The second remaining charging time is controlled to decrease at a rate of 0.5. That is, the first remaining charging time decreases by 1 minute, and the second remaining charging time decreases by 0.5 minutes. Then, after 20 minutes, the second remaining charging time approaches the first remaining charging time.
[0165] The embodiment of the present application provides a method for determining the remaining charging time of a vehicle, which can receive a timestamp and a first remaining charging time sent by the cloud when the vehicle starts charging. In the case where 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, so 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. In the case where the first remaining charging time is delayed, the first remaining charging time is corrected to obtain the actual remaining charging time. The second remaining charging time is corrected based on the actual remaining charging time. In the case where there is no delay in the first remaining charging time, the second remaining charging time is corrected based on the first remaining charging time. That is, although there is a delay in the first remaining charging time, the first remaining charging time is corrected, and the second remaining charging time is corrected, so that the remaining charging time displayed by the vehicle is more accurate.
[0166] Figure 4 It is a schematic flow chart of a vehicle-cloud interaction method provided in an embodiment of the present application.
[0167] For example, Figure 4 As shown, taking the execution subject as a micro control unit as an example, the method includes the following steps 401 to 405.
[0168] Step 401, when the vehicle starts charging, the cloud obtains the battery status parameters of the vehicle.
[0169] The battery status parameter is used to evaluate the battery performance of the vehicle. The battery status parameter includes one or more of the battery's health status, charge status, temperature value, and charging current.
[0170] In some embodiments, the cloud obtains battery status parameters of the vehicle from the vehicle based on the MQTT protocol.
[0171] Step 402: The cloud calculates a first remaining charging time based on the battery status parameter.
[0172] In some embodiments, the cloud inputs the battery status parameters into a model for determining the remaining charging time to obtain a first remaining charging time for the vehicle.
[0173] The remaining charging time determination model is obtained by training based on historical battery status parameters of the vehicle. The remaining charging time determination model is a convolutional neural network model.
[0174] Since the cloud can obtain battery status parameters in real time, and the remaining charging time model can calculate the first remaining charging time of the vehicle, 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 a timestamp to the vehicle.
[0177] Step 404: The vehicle receives the first remaining charging time and timestamp sent by the cloud.
[0178] Optionally, the specific implementation method of the vehicle receiving the first remaining charging time and timestamp sent by the cloud can refer to the description of the aforementioned steps 201 and 301, which will not be repeated here.
[0179] Step 405: The vehicle corrects the second remaining charging time based on the first remaining charging time.
[0180] Optionally, the specific implementation method of the vehicle receiving the first remaining charging time and timestamp sent by the cloud can refer to the description of the aforementioned step 203 and step 303-step 305, which will not be repeated here.
[0181] The embodiment of the present application provides a method for interaction between a vehicle and the cloud. When the vehicle starts to charge, the cloud obtains the battery status parameters of the vehicle; the cloud calculates the first remaining charging time based on the battery status parameters; the cloud sends the first remaining charging time and a timestamp to the vehicle. The vehicle receives the first remaining charging time and the timestamp sent by the cloud; the vehicle corrects the second remaining charging time based on the first remaining charging time. That is, after the cloud calculates the first remaining charging time, it sends the first remaining charging time to the vehicle, and the vehicle corrects the second remaining charging time based on the first remaining charging time, thereby realizing vehicle-cloud interaction.
[0182] Figure 5 It is a structural schematic diagram of a device for determining the remaining charging time of a vehicle provided in an embodiment of the present application.
[0183] For example, Figure 5 As shown, the device 500 includes:
[0184] The receiving module 501 is used to receive the timestamp and the first remaining charging time sent by the cloud when the vehicle starts charging;
[0185] A determination module 502, configured to determine 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;
[0186] The correction module 503 is used to correct the second remaining charging time of the vehicle based on the first remaining charging time when the first remaining charging time is delayed; wherein the second remaining charging time is the remaining charging time of the vehicle determined based on the battery status parameters of the vehicle.
[0187] In a possible implementation manner, the device 500 further includes:
[0188] A determination module 502, configured 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] A determination module 502, configured to determine that the first remaining charging time has no delay when a first deviation value between the timestamp and the current time is less than or equal to a first preset time;
[0190] The determination 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 a possible implementation manner, the device 500 further includes:
[0192] A determination module 502 is used to determine the number of delays of the first remaining charging time when there is a delay in the first remaining charging time;
[0193] A correction module 503, configured to correct the first remaining charging time based on the delay number to obtain an actual remaining charging time when the delay number is less than the first preset number;
[0194] A switching module is used to switch the second remaining charging time to the actual remaining charging time.
[0195] In a possible implementation manner, the device 500 further includes:
[0196] A determination module 502, configured to determine whether the vehicle has received at least one first remaining charging time without delay;
[0197] A calculation module is used to, when the vehicle receives at least one first remaining charging time without delay, subtract a preset time interval from the first remaining charging time without delay according to the number of delays to obtain the actual remaining charging time; wherein the preset time interval is used to indicate the frequency with which the vehicle receives the first remaining charging time.
[0198] In a possible implementation manner, the device 500 further includes:
[0199] A determination module 502, configured to determine whether a second deviation between a second remaining charging time of the vehicle and the first remaining charging time is less than a second preset time when the first remaining charging time is not delayed;
[0200] A deviation coefficient determination module, configured to determine, when 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 based on the second deviation value and a third 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] When 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.
[0202] In a possible implementation manner, the device 500 further includes:
[0203] a deviation coefficient determination module, configured to add the absolute value of the second deviation value to the third preset time length to obtain a reference coefficient when the first remaining charging time length is greater than or equal to the third preset time length and the second remaining charging time length is greater than or equal to the third preset time length;
[0204] A deviation coefficient determination module is used to determine whether the first remaining charging time is greater than the second remaining charging time;
[0205] a deviation coefficient determination module, configured to divide the reference coefficient by the third preset time length to obtain the first deviation coefficient when the first remaining charging time length is less than the second remaining charging time length;
[0206] The deviation coefficient determination module is used to divide the third preset time by the reference coefficient to obtain the second deviation coefficient when the first remaining charging time is greater than the second remaining charging time.
[0207] In a possible implementation manner, the device 500 further includes:
[0208] a deviation coefficient determination module, configured to, 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, divide the second remaining charging time by the first remaining charging time to obtain the third deviation coefficient;
[0209] A 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 divide the second remaining charging time by the minimum value to obtain the fourth deviation coefficient.
[0210] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0211] For example, Figure 6 As shown, the vehicle 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an 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 a vehicle.
[0212] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for determining the remaining charging time of a vehicle provided in an embodiment of the present application.
[0213] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0214] In the case of dividing each functional module according to each function, the device may also include a switching module, a calculation module, and a deviation coefficient determination module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0215] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for determining the remaining charging time of a vehicle, and thus can achieve the same effect as the above-mentioned implementation method.
[0216] In the case of 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 may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing related program codes, etc.
[0217] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0218] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for determining the remaining charging time of a vehicle provided in the above embodiment.
[0219] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is executed on a computer, the computer executes the above-mentioned related method steps to implement a method for determining the remaining charging time of a vehicle provided in the above embodiment.
[0220] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for determining the remaining charging time of a vehicle provided in the above-mentioned embodiment.
[0221] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0222] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned 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 the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0224] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection 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 comprises: When the vehicle starts charging, receiving a timestamp and a first remaining charging time sent by the cloud; 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; In the event that the first remaining charging time is delayed, a 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 of the vehicle determined based on the battery status parameters of the vehicle.
2. The method according to claim 1, characterized in that The 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: In a case where the first remaining charging time is less than or equal to the total charging time of the vehicle, determining whether the first remaining charging time sent by the cloud is delayed based on the timestamp and the current time; When a first deviation value between the timestamp and the current time is less than or equal to a first preset duration, determining that the first remaining charging duration has no delay; When the first deviation value is greater than the first preset time period, determining that the first remaining charging time period is delayed.
3. The method according to claim 1, characterized in that The method of correcting the second remaining charging time of the vehicle based on the first remaining charging time when the first remaining charging time is delayed includes: In the case where there is a delay in the first remaining charging time, determining the number of delays for which there is a delay in the first remaining charging time; When the delay number is less than the first preset number, the first remaining charging time is corrected based on the delay number to obtain an actual remaining charging time; The second remaining charging time is switched to the actual remaining charging time.
4. The method according to claim 3, characterized in that The correcting the first remaining charging time based on the number of delays to obtain an actual remaining charging time includes: determining whether the vehicle receives at least one first remaining charging duration without delay; 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 indicate the frequency with which the vehicle receives the first remaining charging time.
5. The method according to claim 1, characterized in that The method further comprises: In the case where there is no delay in the first remaining charging time, determining whether a second deviation value between a second remaining charging time of the vehicle and the first remaining charging time is less than a second preset time; In the case where the second deviation value is less than the second preset time, determining a 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; and correcting and updating 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; When 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.
6. The method according to claim 5, characterized in that The deviation coefficient includes a first deviation coefficient and a second deviation coefficient, and 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 time includes: 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, adding the absolute value of the second deviation value to the third preset time to obtain a reference coefficient; Determining whether the first remaining charging time is greater than the second remaining charging time; When the first remaining charging time is less than the second remaining charging time, dividing the reference coefficient by the third preset time to obtain the first deviation coefficient; When 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.
7. The method according to claim 5, characterized in that The deviation coefficient includes a third deviation coefficient and a fourth deviation coefficient, and 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 time includes: 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, dividing the second remaining charging time by the first remaining charging time to obtain the third deviation coefficient; Alternatively, 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, determine the minimum value between the first remaining charging time and the third preset time, divide the second remaining charging time by the minimum value, and obtain the fourth deviation coefficient.
8. A device for determining the remaining charging time of a vehicle, characterized in that: The device comprises: A receiving module, used for receiving a timestamp and a first remaining charging time sent by the cloud when the vehicle starts charging; A determination module, configured to determine 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; A correction module is used to correct the second remaining charging time of the vehicle based on the first remaining charging time when the first remaining charging time is delayed; wherein the second remaining charging time is the remaining charging time of the vehicle determined based on the battery status parameters of the vehicle.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
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
Power battery capacity correction method, storage medium and electronic equipment
CN119408458A
Charge control device, vehicle, charging system, and charge control method
US20210107371A1
Electric vehicle charging management methods and systems based on charging demand of electric vehicle
US20230211696A1