Storage battery power shortage prediction method, device and equipment and storage medium

By predicting the time series data of the vehicle battery, the prediction model is used to remind the driver to prevent battery loss, which solves the problem of battery loss due to long-term parking or parking, and extends the service life of the battery.

CN118735042APending Publication Date: 2024-10-01FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410744613.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

If the vehicle is parked for a long time or uses electricity for a long time after parking, the battery will lose power, affecting vehicle operation and user travel.

Method used

By obtaining the target battery time series data, the battery loss prediction model is used to predict the data, and the power loss prediction results are obtained, which reminds the driver to charge in time or adjust power consumption behavior to avoid the occurrence of power loss.

Benefits of technology

Quickly and accurately predict battery power loss, extend battery life, and avoid vehicle failure to start due to power loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735042A_ABST
    Figure CN118735042A_ABST
Patent Text Reader

Abstract

The invention discloses a storage battery power shortage prediction method, device and equipment and a storage medium, and belongs to the technical field of vehicles, and the method comprises the steps: obtaining the time sequence data of a target storage battery; and predicting the time sequence data of the target storage battery by using the storage battery power shortage prediction model to obtain a target power shortage prediction result. The time sequence data of the target storage battery are predicted by means of the storage battery power shortage prediction model, the target power shortage prediction result is obtained, the power shortage condition of the target storage battery is rapidly and accurately obtained, a vehicle driver can conveniently charge the target storage battery in time according to the power shortage condition of the target storage battery, and the vehicle driving safety is improved. Or the vehicle power utilization behavior of the vehicle where the target storage battery is located is corrected in time, so that the phenomenon of power shortage of the storage battery is avoided, and the service life of the storage battery is prolonged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a battery power loss prediction method, device, equipment and storage medium. Background Art

[0002] When the vehicle is parked for a long time or uses electricity for a long time after being parked, the battery will often run out of power, causing the vehicle to be unable to start, which will have a great impact on user travel and vehicle operations.

[0003] In order to solve the above problems, a battery power loss prediction method is urgently needed to predict the battery status of the vehicle. Summary of the invention

[0004] The present invention provides a method, device, equipment and storage medium for predicting battery power failure, so as to avoid battery power failure and increase the service life of the battery.

[0005] According to one aspect of the present invention, a method for predicting battery power failure is provided, the method comprising:

[0006] Obtain target battery timing data;

[0007] The battery power loss prediction model is used to predict the target battery time series data to obtain the target power loss prediction result.

[0008] According to another aspect of the present invention, a battery power failure prediction device is provided, the device comprising:

[0009] A battery time series data acquisition module is used to acquire the target battery time series data;

[0010] The power-loss prediction result determination module is used to predict the target battery time series data using the battery power-loss prediction model to obtain the target power-loss prediction result.

[0011] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0012] at least one processor; and

[0013] a memory communicatively connected to at least one processor; wherein,

[0014] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the battery power loss prediction method of any embodiment of the present invention.

[0015] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the battery power loss prediction method of any embodiment of the present invention when executed.

[0016] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the battery power failure prediction method according to any embodiment of the present invention is implemented.

[0017] The technical solution of the embodiment of the present invention obtains the target battery timing data; uses the battery power loss prediction model to predict the target battery timing data to obtain the target power loss prediction result. The above technical solution predicts the target battery timing data with the help of the battery power loss prediction model to obtain the target power loss prediction result, and quickly and accurately obtains the power loss situation of the target battery, which is convenient for the vehicle driver to charge the target battery in time according to the power loss situation of the target battery, or to correct the vehicle power consumption behavior of the vehicle where the target battery is located in time, thereby avoiding the occurrence of battery power loss and increasing the service life of the battery.

[0018] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 is a flow chart of a method for predicting battery power failure according to the first embodiment of the present invention;

[0021] Figure 2 is a flow chart of a method for predicting battery power failure according to a second embodiment of the present invention;

[0022] Figure 3 This is a schematic diagram of the structure of a battery power failure prediction device provided according to Embodiment 3 of the present invention;

[0023] Figure 4 It is a structural schematic diagram of an electronic device for implementing the battery power loss prediction method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0025] It should be noted that the terms "target", "candidate" and "sample" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0026] In addition, it should be noted that in the technical solution of the present invention, the collection, storage, use, processing, transmission, provision and disclosure of the target battery timing data, sample battery timing data, and label data corresponding to the sample battery timing data are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0027] Embodiment 1

[0028] Figure 1 This is a flow chart of a battery power loss prediction method provided in the first embodiment of the present invention. This embodiment can be applied to predicting the battery power loss of a vehicle when the vehicle is parked for a long time or when the vehicle is powered for a long time after being parked. The method can be performed by a battery power loss prediction device, which can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0029] S101. Obtain target battery timing data.

[0030] The target battery time series data refers to the time series data required for power shortage prediction of the target battery; optionally, the target battery time series data is composed of at least two target battery time data. The target battery refers to the battery to be predicted for power shortage, for example, the target battery can be the battery of a vehicle parked for a long time, or the target battery can be the battery of a vehicle that uses electricity for a long time after parking.

[0031] The target battery time data refers to data related to the target battery state at a certain time; optionally, the target battery time data includes but is not limited to the vehicle identification, data timestamp, battery time voltage, time temperature, instrument vehicle speed, engine speed, light switch state, air conditioner switch state and air conditioner gear position. The vehicle identification can be the vehicle identification number (VIN).

[0032] Specifically, initial battery timing data can be obtained; wherein the initial battery timing data is composed of at least two battery timing data; for each battery timing data, according to the instrument vehicle speed and engine speed in the battery timing data, a vehicle stop mark is added to the battery timing data to obtain new battery timing data; at least two new battery timing data are sorted in chronological order to obtain candidate battery timing data; and the candidate battery timing data are normalized to obtain target battery timing data.

[0033] Among them, the initial battery timing data refers to the battery timing data without any data processing. Among them, the battery timing data refers to the timing data related to the target battery state. It should be noted that the difference between the initial battery timing data and the target battery timing data is that the initial battery timing data has not been processed. The vehicle stop mark is used to characterize the engine state of the vehicle where the target battery is located. For example, if the vehicle stop mark is 1, it means that the engine of the vehicle where the target battery is located is in the off state; if the vehicle stop mark is 0, it means that the engine of the vehicle where the target battery is located is in the on state. New battery time data refers to the battery time data with the vehicle stop mark added. Candidate battery timing data refers to the timing data obtained after sorting each new battery time data.

[0034] More specifically, initial battery timing data is obtained from the Internet of Vehicles system of the vehicle where the target battery is located; for each battery moment data in the initial battery timing data, if the instrument vehicle speed in the battery moment data is zero and the engine speed in the battery moment data is zero, a vehicle stop mark marked as 1 is added to the battery moment data; otherwise, a vehicle stop mark marked as 0 is added to the battery moment data to obtain new battery moment data; according to the data timestamp in each new battery moment data, each new battery moment data is arranged in ascending order to obtain candidate battery timing data; a data normalization algorithm is used to perform data normalization processing on the candidate battery timing data to obtain the target battery timing data; wherein the data normalization algorithm can be pre-set according to actual business needs, or can be set arbitrarily, for example, the data normalization algorithm can be a minimum-maximum normalization method or a standard deviation normalization method, which is not specifically limited in the embodiments of the present invention.

[0035] It is understandable that the purpose of obtaining target battery timing data by processing the initial battery timing data rather than directly using the initial battery timing data as the target battery timing data is to improve the data quality of the subsequent battery power loss prediction model input data.

[0036] Optionally, in addition to the instrument vehicle speed and engine speed, the battery time data also includes the vehicle identification, data timestamp, battery time voltage, light switch status, air conditioning switch status, air conditioning gear and time temperature.

[0037] S102: Use a battery power loss prediction model to predict target battery time series data to obtain a target power loss prediction result.

[0038] Among them, the battery power loss prediction model can be obtained by training the pre-built long short-term memory network model through the sample battery time series data with the battery power loss label. The target power loss prediction results include but are not limited to the target power loss risk value, the voltage value at the future time and the power loss occurrence duration. Among them, the target power loss risk value refers to the probability value of the target battery experiencing a battery power loss phenomenon. The voltage value at the future time refers to the voltage value of the target battery at the future time. The power loss occurrence duration refers to the time from the target battery to the battery power loss phenomenon. For example, if the power loss occurrence duration is 2 hours, it means that the target battery will experience a battery power loss phenomenon in 2 hours.

[0039] Specifically, the target battery time series data is input into the battery power loss prediction model, and the target power loss prediction result is obtained after prediction by the battery power loss prediction model.

[0040] The technical solution of the embodiment of the present invention obtains the target battery timing data; uses the battery power loss prediction model to predict the target battery timing data to obtain the target power loss prediction result. The above technical solution predicts the target battery timing data with the help of the battery power loss prediction model to obtain the target power loss prediction result, and quickly and accurately obtains the power loss situation of the target battery, which is convenient for the vehicle driver to charge the target battery in time according to the power loss situation of the target battery, or to correct the vehicle power consumption behavior of the vehicle where the target battery is located in time, thereby avoiding the occurrence of battery power loss and increasing the service life of the battery.

[0041] On the basis of the above embodiment, as an optional method of the embodiment of the present invention, it is also possible to: generate battery power shortage warning information according to the target power shortage risk value in the target power shortage prediction result.

[0042] The battery low power warning information includes but is not limited to the current voltage of the target battery, the target low power risk value and the duration of the low power occurrence.

[0043] Specifically, the target power failure risk value in the target power failure prediction result can be compared with the power failure risk value threshold. If the target power failure risk value is greater than the power failure risk threshold, a battery power failure warning message is generated to remind the vehicle driver to handle the vehicle battery in time, thereby avoiding the occurrence of battery power failure and increasing the service life of the battery. The power failure risk value threshold can be pre-set according to actual business needs, and the embodiment of the present invention does not specifically limit it.

[0044] Embodiment 2

[0045] Figure 2 This is a flowchart of a battery power loss prediction method provided in Example 2 of the present invention. Based on the above example, this example further optimizes "using a battery power loss prediction model to predict the target battery time series data to obtain a target power loss prediction result" and provides an optional implementation plan. It should be noted that for the parts not described in detail in the example of the present invention, reference can be made to the relevant descriptions of other examples. Figure 2 As shown, the method includes:

[0046] S201. Obtain target battery timing data.

[0047] S202: Based on the feature extraction network in the battery power-loss prediction model, feature extraction is performed on the target battery time series data to obtain target power-loss data features.

[0048] The feature extraction network refers to a neural network with a feature extraction function; optionally, the feature extraction network may be a long short-term memory network (Long Short-Term Memory, LSTM). It should be noted that the battery power loss prediction model includes two layers of feature extraction networks.

[0049] Specifically, based on the first-layer feature extraction network in the battery low-power prediction model, feature extraction can be performed on the target battery time series data to obtain candidate low-power data features; based on the second-layer feature extraction network in the battery low-power prediction model, feature extraction can be performed on the candidate low-power data features to obtain target low-power data features, so that the obtained target low-power data features can better characterize the long-term dependency in the target battery time series data, thereby improving the accuracy of the prediction results of the battery low-power prediction model, and making the subsequent target low-power prediction results more accurate.

[0050] Exemplarily, if the feature extraction network is a long short-term memory network, feature extraction can be performed on the target battery time series data based on the first LSTM layer in the battery low power prediction model to obtain candidate low power data features; and feature extraction can be performed on the candidate low power data features based on the second LSTM layer in the battery low power prediction model to obtain target low power data features.

[0051] Optionally, based on the first-layer feature extraction network in the battery power loss prediction model, forward feature extraction is performed on the target battery time series data in the forward chronological order to obtain positive power loss data features; based on the second-layer feature extraction network in the battery power loss prediction model, reverse feature extraction is performed on the target battery time series data in the reverse chronological order to obtain reverse power loss data features; the positive power loss data features and the directional power loss data features are feature concatenated to obtain target power loss data features, so that the obtained target power loss data features have richer contextual information, thereby improving the accuracy of the prediction results of the battery power loss prediction model, and making the subsequent target power loss prediction results more accurate.

[0052] Exemplarily, if the feature extraction network is a long short-term memory network, the target battery time series data includes the target battery time data at time t-1 (referred to as t-1 time data), the target battery time data at time t (referred to as t time data) and the target battery time data at time t+1 (referred to as t+1 time data); wherein t is a positive integer. Based on the first LSTM layer in the battery power loss prediction model, the target battery time data at time t-1, time t and time t+1 in the target battery time series data are sequentially feature extracted in the forward order of time to obtain positive power loss data features; wherein the positive power loss data features include the positive power loss features at time t-1, the positive power loss features at time t and the positive power loss features at time t+1; based on the second LSTM layer in the battery power loss prediction model, the target battery time data at time t+1, time t and time t-1 in the target battery time series data are sequentially feature extracted in the reverse order of time to obtain reverse power loss data features; wherein the reverse power loss data features include the reverse power loss features at time t+1. The reverse power loss feature at time t, the reverse power loss feature at time t and the reverse power loss feature at time t-1 are concatenated to obtain the power loss data feature at time t-1; the positive power loss feature at time t and the reverse power loss feature at time t are concatenated to obtain the power loss data feature at time t; the positive power loss feature at time t+1 and the reverse power loss feature at time t+1 are concatenated to obtain the power loss data feature at time t+1, thereby obtaining the target power loss data feature; wherein the target power loss data feature includes the power loss data feature at time t-1, the power loss data feature at time t and the power loss data feature at time t+1.

[0053] S203. Based on the prediction network in the battery power loss prediction model and according to the target power loss data characteristics, a target power loss prediction result is obtained.

[0054] Specifically, the target power loss data features are input into the prediction network in the battery power loss prediction model, and the target power loss prediction result is obtained after prediction by the prediction network.

[0055] The technical solution of the embodiment of the present invention obtains the target battery timing data; based on the feature extraction network in the battery power loss prediction model, the target battery timing data is feature extracted to obtain the target power loss data features; based on the prediction network in the battery power loss prediction model, the target power loss prediction result is obtained according to the target power loss data features. The above technical solution predicts the target battery timing data with the help of the battery power loss prediction model to obtain the target power loss prediction result, and the power loss situation of the target battery is obtained quickly and accurately, which is convenient for the vehicle driver to charge the target battery in time according to the power loss situation of the target battery, or to correct the vehicle power usage behavior of the vehicle where the target battery is located in time, thereby avoiding the occurrence of battery power loss and increasing the service life of the battery.

[0056] On the basis of the above-mentioned embodiment, as an optional method of the embodiment of the present invention, the battery power loss prediction model can also be trained, and the specific training process is as follows: obtain sample battery time series data; based on the feature extraction network in the battery power loss prediction model, extract features of the sample battery time series data to obtain sample power loss data features; based on the prediction network in the battery power loss prediction model, obtain sample power loss prediction results according to the sample power loss data features; train the battery power loss prediction model according to the sample power loss prediction results and the label data corresponding to the sample battery time series data.

[0057] Among them, the sample battery time series data refers to the time series data required for training the battery power loss prediction model. It should be noted that before extracting features from the sample battery time series data based on the feature extraction network in the battery power loss prediction model to obtain the sample power loss data features, the optimal hyperparameter group of the battery power loss prediction model can also be determined; wherein, the optimal hyperparameter group can include the following hyperparameters: the number of neurons in the LSTM layer, the learning rate, the batch size of the training data, and the number of training iterations. Specifically, the grid search method can be used to find the optimal hyperparameter group for the battery power loss prediction model.

[0058] Optionally, based on the prediction network in the battery power loss prediction model, a sample power loss prediction result is obtained according to the sample power loss data characteristics, which can be: inputting the sample power loss data characteristics into the prediction network in the battery power loss prediction model, and obtaining the target power loss prediction result after prediction by the prediction network.

[0059] Optionally, the battery low power prediction model is trained according to the sample low power prediction results and the label data corresponding to the sample battery timing data, which can be: determining the training loss according to the sample low power prediction results and the label data corresponding to the sample battery timing data; and training the battery low power prediction model according to the training loss.

[0060] Specifically, the training loss can be determined based on the preset loss function according to the sample power-loss prediction results and the label data corresponding to the sample battery time series data; the battery power-loss prediction model is trained using the training loss until the training loss reaches a preset range, or the number of training iterations reaches a preset number, then the battery power-loss prediction model is stopped from being trained, and the battery power-loss prediction model at the time of stopping the training is used as the final battery power-loss prediction model. Among them, the preset loss function, the preset range, and the preset number of times can all be preset according to actual business needs, and the embodiments of the present invention do not specifically limit them.

[0061] Embodiment 3

[0062] Figure 3 This is a schematic diagram of the structure of a battery power loss prediction device provided in the third embodiment of the present invention. This embodiment can be applied to predict the battery power loss of a vehicle when the vehicle is parked for a long time or when the vehicle is powered for a long time after being parked. The device can be implemented in the form of hardware and / or software and can be configured in an electronic device. Figure 3 As shown, the device comprises:

[0063] A battery time series data acquisition module 301 is used to acquire target battery time series data;

[0064] The power-loss prediction result determination module 302 is used to predict the target battery time series data using the battery power-loss prediction model to obtain a target power-loss prediction result.

[0065] The technical solution of the embodiment of the present invention obtains the target battery timing data; uses the battery power loss prediction model to predict the target battery timing data to obtain the target power loss prediction result. The above technical solution predicts the target battery timing data with the help of the battery power loss prediction model to obtain the target power loss prediction result, and quickly and accurately obtains the power loss situation of the target battery, which is convenient for the vehicle driver to charge the target battery in time according to the power loss situation of the target battery, or to correct the vehicle power consumption behavior of the vehicle where the target battery is located in time, thereby avoiding the occurrence of battery power loss and increasing the service life of the battery.

[0066] Optionally, the battery time series data acquisition module 301 is specifically used for:

[0067] Acquire initial battery timing data; wherein the initial battery timing data is composed of at least two battery time data;

[0068] For each battery time data, according to the instrument vehicle speed and engine speed in the battery time data, a vehicle stop mark is added to the battery time data to obtain new battery time data;

[0069] Sorting at least two new battery time data in chronological order to obtain candidate battery time series data;

[0070] The candidate battery time series data is normalized to obtain the target battery time series data.

[0071] Optionally, the battery time data also includes vehicle identification, data timestamp, battery time voltage, light switch status, in-vehicle air conditioning switch status, in-vehicle air conditioning gear position and time temperature.

[0072] Optionally, the power shortage prediction result determination module 302 is specifically used to:

[0073] Based on the feature extraction network in the battery power loss prediction model, feature extraction is performed on the target battery time series data to obtain the target power loss data features;

[0074] Based on the prediction network in the battery power loss prediction model, the target power loss prediction result is obtained according to the target power loss data characteristics.

[0075] Optionally, the device further includes a model training module, wherein the model training module includes:

[0076] A sample battery time series data acquisition unit, used to acquire sample battery time series data;

[0077] A sample power-loss data feature determination unit is used to extract features from sample battery time series data based on a feature extraction network in a battery power-loss prediction model to obtain features of the sample power-loss data;

[0078] A sample power-loss prediction result determination unit is used to obtain a sample power-loss prediction result based on a prediction network in a battery power-loss prediction model and according to characteristics of sample power-loss data;

[0079] The model training unit is used to train the battery power loss prediction model according to the sample power loss prediction results and the label data corresponding to the sample battery time series data.

[0080] Optional, model training unit, specifically used for:

[0081] Determine the training loss based on the sample power-loss prediction result and the label data corresponding to the sample battery time series data;

[0082] The battery power shortage prediction model is trained based on the training loss.

[0083] Optionally, the device further comprises:

[0084] The warning information generation module is used to generate battery power shortage warning information according to the target power shortage risk value in the target power shortage prediction result.

[0085] The battery power loss prediction device provided in the embodiment of the present invention can execute the battery power loss prediction method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing each battery power loss prediction method.

[0086] According to an embodiment of the present invention, the present invention also provides an electronic device, a readable storage medium and a computer program product.

[0087] Embodiment 4

[0088] Figure 4 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0089] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, ROM 12 and RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0090] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0091] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a battery power failure prediction method.

[0092] In some embodiments, the battery power loss prediction method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the battery power loss prediction method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the battery power loss prediction method in any other appropriate manner (e.g., by means of firmware).

[0093] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0094] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0095] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0096] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0097] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0098] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0099] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0100] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for predicting battery power failure. It is characterized in that include: Obtain target battery timing data; A battery power loss prediction model is used to predict the target battery time series data to obtain a target power loss prediction result.

2. The method according to claim 1, It is characterized in that The step of obtaining target battery timing data includes: Acquire initial battery timing data; wherein the initial battery timing data is composed of at least two battery time data; For each battery time data, according to the instrument vehicle speed and engine speed in the battery time data, a vehicle stop mark is added to the battery time data to obtain new battery time data; Sorting at least two new battery time data in chronological order to obtain candidate battery time series data; The candidate battery time series data is subjected to data normalization processing to obtain target battery time series data.

3. The method according to claim 2, It is characterized in that The battery time data also includes vehicle identification, data timestamp, battery time voltage, light switch status, in-vehicle air conditioning switch status, in-vehicle air conditioning gear position and time temperature.

4. The method according to claim 1, It is characterized in that The method of using the battery power loss prediction model to predict the target battery time series data to obtain a target power loss prediction result includes: Based on the feature extraction network in the battery power loss prediction model, feature extraction is performed on the target battery time series data to obtain target power loss data features; Based on the prediction network in the battery power loss prediction model and according to the target power loss data characteristics, a target power loss prediction result is obtained.

5. The method according to claim 1, It is characterized in that The training process of the battery power loss prediction model is as follows: Obtain sample battery timing data; Based on the feature extraction network in the battery power loss prediction model, feature extraction is performed on the sample battery time series data to obtain the sample power loss data features; Based on the prediction network in the battery power loss prediction model, and according to the sample power loss data characteristics, a sample power loss prediction result is obtained; The battery power loss prediction model is trained according to the sample power loss prediction result and the label data corresponding to the sample battery time series data.

6. The method according to claim 5, It is characterized in that The training of the battery power loss prediction model according to the sample power loss prediction result and the label data corresponding to the sample battery time series data includes: Determine the training loss according to the sample power-loss prediction result and the label data corresponding to the sample battery time series data; The battery power-loss prediction model is trained according to the training loss.

7. The method according to claim 1, It is characterized in that The method further comprises: According to the target power shortage risk value in the target power shortage prediction result, the battery power shortage warning information is generated.

8. A battery power failure prediction device, It is characterized in that include: A battery time series data acquisition module is used to acquire the target battery time series data; The power-loss prediction result determination module is used to use the battery power-loss prediction model to predict the target battery time series data to obtain a target power-loss prediction result.

9. An electronic device, It is characterized in that The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the battery power loss prediction method described in any one of claims 1 to 7.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the battery power failure prediction method described in any one of claims 1 to 7 when executed.