A method, device, equipment, and storage medium for reminding a car to have a low battery
By constructing a database of charging start time and SOC value, and using a time series model to personalize the SOC reminder threshold, the problem of electric vehicle battery reminder methods not taking user habits into account was solved, resulting in more accurate low battery reminders and eliminating driving inconvenience and safety hazards.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- DONGFENG MOTOR GRP
- Filing Date
- 2023-05-11
- Publication Date
- 2026-05-26
AI Technical Summary
In the existing technology, the battery level reminder method for electric vehicles does not take into account the user's charging habits, resulting in low battery reminders having low practicality and potentially leading to the vehicle running out of power and road traffic safety hazards.
By building a database of charging start time and initial SOC value, a pre-selected time series model is used to determine the SOC starting threshold and weighting value. Based on the user's charging history, the SOC reminder threshold is set in a personalized way, and the vehicle's infotainment system issues a low battery reminder when the SOC value meets the threshold.
It enables personalized low battery reminders based on users' charging habits, eliminating driving inconvenience and safety hazards caused by low vehicle battery.
Smart Images

Figure CN116803733B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a method, device, equipment, and storage medium for reminding a car to have low battery. Background Technology
[0002] In recent years, with the implementation of energy conservation and environmental protection policies, the market share of electric vehicles has gradually expanded. As the power source for electric vehicles, the battery's State of Charge (SOC) is a crucial indicator of driving safety. If users fail to monitor the vehicle's SOC in a timely manner, the vehicle may run out of power and become unable to drive, severely impacting the user's driving experience and posing a road safety hazard.
[0003] In existing technologies, vehicle battery level reminders typically determine whether to issue a low battery warning based on the vehicle's current State of Charge (SOC) and a charging reminder threshold. The charging reminder threshold is usually determined experimentally by technical personnel. However, users with different charging habits may have varying expectations regarding the SOC at the start of charging. Using a fixed charging reminder threshold fails to consider user charging habits, resulting in low battery warnings that are less practical for users. Summary of the Invention
[0004] In view of the above-mentioned defects or improvement needs of the prior art, the purpose of this invention is to provide a method, device, equipment and storage medium for reminding a car to be low on battery.
[0005] To achieve this objective, the present invention adopts the following technical solution:
[0006] Firstly, a method for providing a low battery warning for a car is provided, including the following steps:
[0007] Based on the charging start time and charging start SOC value of each charge in the historical charging records, construct a database about the charging start time and charging start SOC value;
[0008] Based on the database and the pre-selected time series model, determine the SOC starting threshold and SOC weighting value;
[0009] Based on the SOC initial threshold and the SOC weighted value, determine the first SOC alert threshold:
[0010] SOC last = a1·x1 + a2·x2;
[0011] Among them, SOC last Here, a1 is the first SOC reminder threshold, x1 is the first weighting coefficient, a2 is the SOC starting threshold, and x2 is the SOC weighting value.
[0012] If the vehicle's current SOC value meets the first SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0013] Further, the step of determining the SOC starting threshold and SOC weighting value based on the database and the pre-selected time series model includes:
[0014] Within a preset time period, first time-series data is extracted at fixed time intervals to obtain second time-series data, wherein the first time-series data is determined by the database;
[0015] The SOC starting threshold is determined based on the second time series data and the time series model.
[0016] Further, the step of determining the first time-series data includes:
[0017] In the database, data with a starting SOC value less than a power threshold are filtered out.
[0018] The data is selected according to a preset time period to construct the first time series data;
[0019] If multiple sets of data exist within a preset time period, the set of data with the smallest initial SOC value among the multiple sets of data is selected as the data for the preset time period; if data is missing in a preset time period, data from the previous period is selected to fill in the gaps.
[0020] Furthermore, the step of determining the SOC starting threshold and SOC weighting value based on the database and the pre-selected time series model further includes:
[0021] Based on the database, determine the starting SOC value of the vehicle for the most recent n charges;
[0022] Based on the initial SOC values of the vehicle's most recent n charges, determine the SOC weighting value:
[0023]
[0024] Where x1 is the SOC weighting value, n is the preset number of charging cycles, and ω i The weighting coefficient for the initial SOC value of the most recent i-th charge; SOC i The initial SOC value for the most recent i-th charge.
[0025] Further, the step of determining the SOC weighted value based on the initial SOC values of the vehicle's most recent n charges includes:
[0026] The corresponding weighting coefficient for the initial SOC value is determined based on the charging start time of the vehicle's most recent n charging cycles.
[0027] The weighting coefficients for the initial SOC value satisfy the following:
[0028]
[0029] Furthermore, the closer the charging start time is to the current time, the larger the weighting coefficient of the corresponding charging start SOC value.
[0030] Furthermore, before the step of constructing a database of charging start time and charging start SOC value based on the charging start time and charging start SOC value of each charge in historical charging records, the method further includes:
[0031] Determine that the mileage exceeds the mileage threshold and the number of charging cycles exceeds the number of charging cycles threshold.
[0032] Furthermore, the low battery reminder method for automobiles also includes:
[0033] When the mileage exceeds the mileage threshold and the number of charging cycles is less than or equal to the number of charging cycles threshold, if the vehicle's current SOC value meets the preset second SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0034] Furthermore, the low battery reminder method for automobiles also includes:
[0035] When the mileage is less than or equal to the mileage threshold, if the vehicle's current SOC value meets the preset third SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0036] Secondly, a low battery warning device for automobiles, characterized in that it comprises:
[0037] The first module is used to determine whether the vehicle is in a low battery state based on the driving mileage, number of charging cycles and the current SOC value.
[0038] The second module is used to determine the first SOC reminder threshold based on the database of charging start time and charging start SOC value and the pre-selected time series model;
[0039] The third module is used to control the vehicle's infotainment system to issue a low battery warning when the first module determines that the vehicle is at a low battery level.
[0040] Thirdly, an electronic device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor executes the computer program to implement the steps of the low battery warning method for automobiles.
[0041] Fourthly, a computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions that cause the computer to perform the steps of the vehicle low battery reminder method.
[0042] The beneficial effects of this invention are as follows: For the method, device, equipment, and storage medium for low battery reminders for automobiles, a database is constructed based on the charging start time and initial SOC value of each charge in historical charging records. Based on the database and a pre-selected time series model, a SOC starting threshold and a SOC weighted value are determined. A first SOC reminder threshold is determined based on the SOC starting threshold and the SOC weighted value. If the vehicle's current SOC value meets the first SOC reminder threshold, a low battery reminder is issued by the vehicle's infotainment system. Based on the first SOC reminder threshold determined by historical charging records and the pre-selected time series model, a low battery reminder that better aligns with user charging habits is provided, eliminating driving inconvenience and safety hazards caused by excessively low vehicle battery levels.
[0043] Additional aspects and advantages of this application will be set forth in part in the description which follows, and will become apparent from the description or may be learned by practice of this application. Attached Figure Description
[0044] The above and / or additional aspects and advantages of this application will become apparent and readily understood from the following description of the embodiments taken in conjunction with the accompanying drawings, wherein:
[0045] Figure 1 This is a flowchart of the low battery reminder method for automobiles in this invention;
[0046] Figure 2 This is a flowchart illustrating the process of determining the first SOC reminder threshold and issuing a low battery reminder in an embodiment of the present invention;
[0047] Figure 3 This is a schematic diagram of the low battery reminder device for automobiles in this invention;
[0048] Figure 4 This is a schematic diagram of the electronic device in this invention. Detailed Implementation
[0049] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0050] In the description of this invention, unless otherwise explicitly specified and limited, the terms "connected," "linked," and "fixed" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0051] Those skilled in the art will understand that, unless otherwise stated, the singular forms “a,” “an,” “the,” and “the” used herein may also include the plural forms. It should be further understood that the word “comprising” as used in the specification of this application means the presence of the stated features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or combinations thereof.
[0052] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as in the embodiments of this application.
[0053] This embodiment provides a method for reminding vehicles of low battery, applicable to rechargeable new energy vehicles, including pure electric vehicles, plug-in hybrid electric vehicles, and range-extended hybrid electric vehicles.
[0054] The flowchart of the low battery reminder method for automobiles in this embodiment is as follows: Figure 1 As shown.
[0055] In this context, the SOC value of a car refers to the remaining charge of its high-voltage battery.
[0056] In this embodiment, the battery management system obtains the current SOC value of the vehicle in real time.
[0057] In one embodiment, when the mileage exceeds a mileage threshold and the number of charging cycles exceeds a charging cycle threshold, the first SOC reminder threshold is determined using a time series model.
[0058] Furthermore, when the vehicle's current SOC value meets the first SOC warning threshold, the vehicle's infotainment system issues a low battery warning, as shown in the flowchart below. Figure 2 As shown, it includes steps S10-S40.
[0059] Specifically, see Figure 2 Step S10: Based on the charging start time and charging start SOC value of each charge in the historical charging records, construct a database about the charging start time and charging start SOC value.
[0060] It is understandable that when the mileage exceeds the mileage threshold and the number of charging times exceeds the number of charging times threshold, there can be enough data in the historical charging records to build a database and provide data for subsequent time series models.
[0061] S20. Based on the database and the pre-selected time series model, determine the initial threshold and weighted value of SOC.
[0062] Further, step S20 includes steps S201-S204.
[0063] S201. Within a preset time period, first time-series data is extracted at fixed time intervals to obtain second time-series data, wherein the first time-series data is determined by the database.
[0064] In one embodiment, the step of determining the first time-series data includes:
[0065] In the database, filter data where the initial SOC value at the start of charging is less than the power threshold;
[0066] Data is selected based on a preset time period to construct the first time series data;
[0067] If multiple sets of data exist within a preset time period, the set of data with the smallest initial SOC value among the multiple sets of data is selected as the data for the preset time period; if data is missing in a preset time period, data from the previous period is selected to fill in the gaps.
[0068] Understandably, the power threshold is a settable parameter, and technicians set the power threshold through experimental calibration or empirical data.
[0069] As a feasible implementation method, the preset time period can be a time period set by the technician. For example, the technician sets the preset time period to one day (0:00-24:00). In this case, selecting data based on the preset time period to construct the first time series data includes: sorting the data in the database according to the charging start time, selecting a set of data for each day (0:00-24:00), and sorting all the selected data according to the charging start time to form the first time series data.
[0070] Furthermore, if multiple sets of data exist for a given day (0:00-24:00) due to multiple charges by the user, the set with the lowest initial SOC value among these sets is selected as the data for that day. If blank data exists for a given day (0:00-24:00) due to no charges by the user, the data from the previous day (0:00-24:00) is used to fill the blanks, and this data is then used as the data for that day (0:00-24:00).
[0071] As a feasible implementation method, the preset time period can be determined based on historical charging records: the user's charging frequency is determined by analyzing the historical charging records, and the preset time period is determined based on the user's charging frequency. For example, if the analysis of historical charging records determines that the user charges once every two to three days, the preset time period is set to two days. If the earliest charging start time in the historical charging records is January 1st, then the preset time periods are successively January 1st 0:00 - January 2nd 24:00, January 3rd 0:00 - January 4th 24:00, January 5th 0:00 - January 6th 24:00, and so on. In this case, selecting data based on the preset time period to construct the first time series data includes: sorting the data in the database according to the charging start time, selecting a set of data every two days, and sorting all the selected data according to the charging start time to form the first time series data.
[0072] S202. Determine the SOC starting threshold based on the second time series data and the time series model.
[0073] In one embodiment, step S202 includes:
[0074] The second time series data is split into an initial training set and an initial test set;
[0075] Normalize the initial training set and the initial test set respectively to determine the target training set and the target test set;
[0076] Train multiple pre-selected time series models based on the target training set;
[0077] Test multiple pre-selected trained time series models based on the target test set, and determine the test results;
[0078] The test results of multiple pre-selected time series models are evaluated, and the pre-selected time series model with the best evaluation index is taken as the final time series model.
[0079] The initial threshold for SOC is determined based on the final time series model.
[0080] In this embodiment, the second time series data is proportionally split according to the time order. For example, if the second time series data is split in an 8:2 ratio, the first 80% of the second time series data is used as the initial training set, and the last 20% of the second time series data is used as the initial test set.
[0081] Furthermore, the initial training set is normalized according to the stand-scalar normalization formula to obtain the target training set:
[0082]
[0083] The initial test set is normalized according to the stand-scalar normalization formula to obtain the target test set:
[0084]
[0085] Among them, x ′ 1 represents the data in the target training set, x1 represents the data in the initial training set, μ1 represents the mean of the initial training set, and σ1 represents the standard deviation of the initial training set. ′ 2 represents the data in the target test set, x2 represents the data in the initial test set, μ2 represents the mean of the initial test set, and σ2 represents the standard deviation of the initial test set.
[0086] Furthermore, the pre-selected time series models include LSTM, RNN, and Arima models. Multiple pre-selected time series models are trained using the target training set, and then tested using the target test set to determine the test results.
[0087] Evaluation metrics for time series models include mean absolute error, mean absolute percentage error, mean squared error, root mean squared error, logarithm of mean squared error, median absolute error, and coefficient of determination.
[0088] In this embodiment, a single evaluation index can be used to evaluate the pre-selected time series model, or multiple evaluation indexes can be used in combination to evaluate the pre-selected time series model.
[0089] As a feasible implementation method, the coefficient of determination (R-squared) is used to evaluate the test results of the above time series models. The R-squared reflects the extent to which the independent variable explains the variation of the dependent variable; the closer it is to 1, the better the model fits.
[0090] Furthermore, when evaluating the test results of the above time series models using the coefficient of determination, the time series model with the highest evaluation value is selected as the final time series model.
[0091] As a feasible implementation method, the mean absolute error (MAE) is used to evaluate the test results of the above time series models. The mean absolute error (MAE) is the expected value of the absolute error loss; the smaller the evaluation value, the better the model fits.
[0092] Furthermore, when evaluating the test results of the above time series models using the coefficient of determination, the time series model with the smallest evaluation value is selected as the final time series model.
[0093] S203. Based on the database, determine the starting SOC value of the vehicle for the most recent n charges;
[0094] S204. Determine the SOC weighting value based on the initial SOC values of the vehicle's most recent n charges:
[0095]
[0096] Where x1 is the SOC weighting value, n is the preset number of charging cycles, and ω i The weighting coefficient for the initial SOC value of the most recent i-th charge; SOC i The initial SOC value for the most recent i-th charge.
[0097] The weighting coefficient for the starting SOC value is determined based on the charging start time of the vehicle's most recent n charging cycles.
[0098] The weighting coefficient for the initial SOC value during charging satisfies the following:
[0099]
[0100] Furthermore, the closer the charging start time is to the current time, the larger the weighting coefficient of the corresponding charging start SOC value.
[0101] It is understandable that the corresponding weighting coefficient for the initial SOC value refers to the weighting coefficient for the initial charging value corresponding to the charging start time.
[0102] As a feasible implementation method, if the SOC weighting value is determined based on the initial SOC values of the vehicle's most recent five charges, then the weighting coefficients of the initial SOC values corresponding to the initial SOC values of the most recent five charges conform to ω1>ω2>ω3>ω4>ω5, and satisfy:
[0103]
[0104] S30. Determine the first SOC alert threshold based on the initial SOC threshold and the SOC weighted value:
[0105] SOC last= a1·x1 + a2·x2;
[0106] Among them, SOC last , where a1 is the first SOC reminder threshold, x1 is the first weighting coefficient, a2 is the second weighting coefficient, and x2 is the SOC weighting value.
[0107] In this embodiment, the first weighting coefficient a1 and the second weighting coefficient a2 satisfy:
[0108] a1+a2=1.
[0109] S40. If the vehicle's current SOC value meets the first SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0110] In one embodiment, when the mileage exceeds the mileage threshold and the number of charging cycles is less than or equal to the number of charging cycles threshold, if the vehicle's current SOC value meets the preset second SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0111] Understandably, when the mileage exceeds the mileage threshold and the number of charging cycles is less than or equal to the number of charging cycles threshold, the historical charging data is insufficient to support the time series model. In this case, the preset SOC second charging reminder value is used to determine the low battery level.
[0112] In one embodiment, when the mileage is less than or equal to the mileage threshold, if the vehicle's current SOC value meets the preset third SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0113] Understandably, when the driving mileage is less than or equal to the driving mileage threshold, the historical charging record data is insufficient to support the time series model. In this case, the preset SOC third charging reminder value is used to determine the low battery level.
[0114] As a feasible implementation method, the low battery reminder method in this embodiment is implemented through a rule engine.
[0115] Specifically, the vehicle's historical charging records are collected through the in-vehicle terminal T-box device. The T-box connects to the cloud via network communication and transmits the relevant data of the vehicle's historical charging records in real time. The cloud calculates the first SOC reminder threshold according to the low battery reminder method mentioned above. The first SOC reminder threshold, the preset second SOC reminder threshold, and the preset third SOC reminder threshold are combined to form a scene engine configuration file and transmitted to the vehicle's terminal.
[0116] Furthermore, based on the low battery warning method in this embodiment, the following rules are established: When the mileage exceeds a mileage threshold and the number of charges exceeds a charging count threshold, if the vehicle's current State of Charge (SOC) value meets the first SOC warning threshold, the vehicle's infotainment system issues a low battery warning. When the mileage exceeds the mileage threshold and the number of charges is less than or equal to the charging count threshold, if the vehicle's current SOC value meets the preset second SOC warning threshold, the vehicle's infotainment system issues a low battery warning. When the mileage is less than or equal to the mileage threshold, if the vehicle's current SOC value meets the preset third SOC warning threshold, the vehicle's infotainment system issues a low battery warning.
[0117] The rules engine provides a low battery warning trigger mechanism for automobiles. The rules engine receives data from the vehicle's infotainment system: a scenario engine configuration file and vehicle data obtained from the battery management system. The vehicle data obtained from the battery management system includes mileage, number of charging cycles, and the vehicle's current state of charge (SOC). Based on the received data, the rules are executed to trigger the device, controlling the infotainment system to perform corresponding actions, thereby accelerating response time.
[0118] Based on the low battery reminder method in this embodiment, if the user confirms that they want to charge the car after the vehicle's infotainment system issues a low battery reminder, the process of recommending a charging station and charging gun is executed.
[0119] Recommended steps for setting up a charging station include:
[0120] The system can retrieve nearby charging stations from the charging platform, and the distance range can be set, such as within 20km of the current location.
[0121] Based on the time and distance information from the vehicle's current location to nearby charging stations obtained from map software, charging stations with more than 0 available charging guns are identified, and the scores of all nearby charging stations are calculated. station :
[0122] score station =β1·T + β2·S;
[0123] Where T is the time it takes for the vehicle to travel from its current location to a nearby charging station, S is the distance from the vehicle's current location to a nearby charging station, and β1 and β2 can be set.
[0124] Select score from all nearby charging stations station The largest charging station is the recommended charging station.
[0125] Furthermore, all available charging guns in the recommended charging stations are analyzed to determine the recommended charging guns:
[0126] Get the number of times the idle charging gun has been used and its recent usage history;
[0127] Based on recent usage records, the charging guns that have not been used recently are discarded, and the charging gun that has been used the most times among the remaining free charging guns is selected as the recommended charging gun.
[0128] After identifying the recommended charging station and charging gun, display them to the user. If the recommended charging gun has a ground lock or barrier, activate the barrier or ground lock.
[0129] This embodiment also provides a low battery reminder device for automobiles. Figure 3 This is a schematic diagram of the low battery reminder device for automobiles provided in this embodiment.
[0130] like Figure 3 As shown, the low battery warning device for automobiles includes a first module 31, a second module 32, and a third module 33.
[0131] The first module 31 is used to determine whether the vehicle is in a low battery state based on the driving mileage, number of charging cycles and the current SOC value.
[0132] The second module 32 is used to determine the first SOC reminder threshold based on a database of charging start time and charging start SOC value and a pre-selected time series model.
[0133] The third module 33 is used to control the vehicle terminal to issue a low battery reminder when the first module determines that the vehicle is at a low battery level.
[0134] It should be noted that the low battery reminder device provided in this embodiment can also be a computer program (including program code) running on a computer device. For example, the low battery reminder device can be used as an application to execute the corresponding steps in the low battery reminder method provided in this embodiment.
[0135] In some feasible implementations, the low battery reminder device provided in this embodiment can be implemented using a combination of hardware and software. As an example, the low battery reminder device in this embodiment can be a processor in the form of a hardware decoding processor, which is programmed to execute the low battery reminder device provided in this embodiment. For example, the processor in the form of a hardware decoding processor can be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0136] In some feasible implementations, the low battery reminder device provided in this embodiment can be implemented in software, which can be software in the form of programs and plug-ins, and includes a series of modules to implement the low battery reminder method provided in this embodiment of the invention.
[0137] This application also provides an electronic device. Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this application, such as... Figure 4 As shown, the electronic device 1000 in this embodiment may include: a processor 1001, a network interface 1004, and a memory 1005. Furthermore, the electronic device 1000 may also include: a user interface 1003, and at least one communication bus 1002. The communication bus 1002 is used to implement communication between these components. The user interface 1003 may include a display screen and a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1004 may be a high-speed RAM or non-volatile memory, such as at least one disk storage device. The memory 1005 may optionally be at least one storage device located remotely from the processor 1001. Figure 4 As shown, the memory 1005, which is a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
[0138] like Figure 4In the illustrated electronic device 1000, the network interface 1004 provides network communication functionality; the user interface 1003 is primarily used to provide an input interface for the user; and the processor 1001 can be used to call the device control application stored in the memory 1005 to achieve:
[0139] Based on the charging start time and charging start SOC value of each charge in the historical charging records, construct a database about the charging start time and charging start SOC value;
[0140] Based on the database and the pre-selected time series model, determine the initial threshold and weighted value of SOC;
[0141] The first SOC reminder threshold is determined based on the SOC initial threshold and the SOC weighted value.
[0142] If the vehicle's current SOC value meets the first SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
[0143] The low battery reminder device in this embodiment is based on the first SOC reminder threshold determined by historical charging records and a pre-selected time series model. It provides a low battery reminder that is more in line with the user's charging habits based on the first SOC reminder threshold, thereby eliminating driving inconvenience and safety hazards caused by low vehicle battery.
[0144] It should be understood that in some feasible implementations, the processor 1001 described above may be a central processing unit (CPU), which may also be other general-purpose processors, DSPs, ASICs, FPGAs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor. The memory may include read-only memory and random access memory, and provides instructions and data to the processor. A portion of the memory may also include non-volatile random access memory. For example, the memory may also store device type information.
[0145] In practice, the aforementioned electronic device 1000 can execute the implementation methods provided by the various steps of the control method described above through its built-in functional modules. For details, please refer to the implementation methods provided by the various steps described above, which will not be repeated here.
[0146] The electronic device provided in this embodiment constructs a database of charging start times and initial SOC values based on the charging start time and initial SOC value of each charge in historical charging records. Based on the database and a pre-selected time series model, it determines an initial SOC threshold and a weighted SOC value. Then, based on the initial SOC threshold and the weighted SOC value, it determines a first SOC reminder threshold. If the vehicle's current SOC value meets the first SOC reminder threshold, the vehicle's infotainment system issues a low battery reminder. By providing a low battery reminder that better aligns with the user's charging habits based on the first SOC reminder threshold determined from historical charging records and the pre-selected time series model, it eliminates driving inconvenience and safety hazards caused by excessively low vehicle battery levels.
[0147] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement the various steps in the vehicle low battery reminder method described above. For details, please refer to the implementation methods provided for the various steps described above, which will not be repeated here.
[0148] The computer-readable storage medium provided in this embodiment constructs a database of charging start times and initial SOC values based on the charging start times and initial SOC values of each charge in historical charging records. According to the database and a pre-selected time series model, a SOC starting threshold and a SOC weighted value are determined. Based on the SOC starting threshold and SOC weighted value, a first SOC reminder threshold is determined. If the vehicle's current SOC value meets the first SOC reminder threshold, the vehicle's infotainment system issues a low battery reminder. By providing a low battery reminder that better aligns with user charging habits based on the first SOC reminder threshold determined from historical charging records and the pre-selected time series model, the system eliminates driving inconvenience and safety hazards caused by excessively low vehicle battery levels.
[0149] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0150] The above description is only a partial embodiment of this application. It should be noted that for those skilled in the art, several improvements and modifications can be made without departing from the principle of this application, and these improvements and modifications should also be considered within the scope of protection of this application.
Claims
1. A method for reminding a car of low battery, characterized in that, Includes the following steps: Based on the charging start time and charging start SOC value of each charge in the historical charging records, construct a database about the charging start time and charging start SOC value; Based on the database and the pre-selected time series model, determine the SOC starting threshold and SOC weighting value; Based on the SOC initial threshold and the SOC weighted value, determine the first SOC alert threshold: ; in, The first reminder threshold for SOC. The first weighting coefficient, This is the initial threshold for SOC. This is the second weighting coefficient. Weighted by SOC; If the vehicle's current SOC value meets the first SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder. The steps of determining the SOC starting threshold and SOC weighting value based on the database and the pre-selected time series model include: Within a preset time period, first time-series data is extracted at fixed time intervals to obtain second time-series data, wherein the first time-series data is determined by the database; The SOC starting threshold is determined based on the second time series data and the time series model; The steps for determining the first time series data include: In the database, data with a starting SOC value less than a power threshold are filtered out. The data is selected according to a preset time period to construct the first time series data; If multiple sets of data exist within a preset time period, the set of data with the smallest initial SOC value among the multiple sets of data is selected as the data for the preset time period; if data is missing in a preset time period, data from the previous period is selected to fill in the gaps. The preset time period is determined based on historical charging records: the user's charging frequency is determined by analyzing the historical charging records, and the preset time period is determined based on the user's charging frequency. The step of determining the SOC starting threshold and SOC weighting value based on the database and the pre-selected time series model further includes: Based on the database, determine the starting SOC value of the vehicle for the most recent n charges; Based on the initial SOC values of the vehicle's most recent n charges, determine the SOC weighting value: , in, Weighted value for SOC For the preset number of charging cycles, For the most recent Weighting coefficient of initial SOC value for the first charge. For the most recent The initial SOC value for the first charge; The step of determining the SOC weighted value based on the initial SOC values of the vehicle's most recent n charging cycles includes: The corresponding weighting coefficient for the initial SOC value is determined based on the charging start time of the vehicle's most recent n charging cycles. The weighting coefficients for the initial SOC value satisfy the following: , Furthermore, the closer the charging start time is to the current time, the larger the weighting coefficient of the corresponding charging start SOC value.
2. The low battery reminder method for automobiles as described in claim 1, characterized in that, Before the step of constructing a database of charging start time and charging start SOC value based on the charging start time and charging start SOC value of each charge in historical charging records, the following steps are also included: Determine that the mileage exceeds the mileage threshold and the number of charging cycles exceeds the number of charging cycles threshold.
3. The low battery reminder method for automobiles as described in claim 2, characterized in that, The low battery warning method for automobiles also includes: When the mileage exceeds the mileage threshold and the number of charging cycles is less than or equal to the number of charging cycles threshold, if the vehicle's current SOC value meets the preset second SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
4. The low battery reminder method for automobiles as described in claim 2, characterized in that, The low battery warning method for automobiles also includes: When the mileage is less than or equal to the mileage threshold, if the vehicle's current SOC value meets the preset third SOC reminder threshold, the vehicle's infotainment system will issue a low battery reminder.
5. A vehicle low battery reminder device, used to implement the vehicle low battery reminder method as described in claim 1, characterized in that, include: The first module is used to determine whether the vehicle is in a low battery state based on the driving mileage, number of charging cycles and the current SOC value. The second module is used to determine the first SOC reminder threshold based on the database of charging start time and charging start SOC value and the pre-selected time series model; The third module is used to control the vehicle's infotainment system to issue a low battery warning when the first module determines that the vehicle is at a low battery level.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the vehicle low battery reminder method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause the computer to perform the steps of the vehicle low battery warning method as described in any one of claims 1 to 4.