Battery data storage method and device, electronic equipment and computer program product

By acquiring the battery status information and network status information of the battery data, determining the data priority of the battery data and performing storage processing, the problem of loss of key data in battery data storage in the prior art is solved, and storage reliability is improved.

CN120179186AInactive Publication Date: 2025-06-20CATL ELECTRIC BOAT TECHNOLOGY CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202510665122.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-22
Publication Date
2025-06-20
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The prior art tends to lead to the loss of critical data in battery data storage and insufficient storage reliability.

Method used

By acquiring the battery status information and network status information of the battery data, the data priority of the battery data is determined based on these information, and the storage processing is carried out according to the priority, so as to reduce the loss rate of key data and improve storage reliability.

Benefits of technology

It realizes efficient and accurate priority determination of battery data, reduces the loss rate of key data, and improves the reliability of storage media.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120179186A_ABST
    Figure CN120179186A_ABST
Patent Text Reader

Abstract

The invention discloses a battery data storage method and device, electronic equipment and a computer program product, and belongs to the technical field of data processing. The method comprises the following steps: acquiring to-be-stored first battery data, wherein the first battery data is transmitted in a first network environment; acquiring battery state information corresponding to the first battery data and network state information corresponding to the first network environment; determining a data priority of the first battery data based on the battery state information and the network state information; and based on the data priority of the first battery data, performing storage processing on the first battery data. According to the method, multi-dimensional data are fused, high-efficiency and accurate priority judgment is performed on battery data, storage processing is performed according to the data priority, the loss rate of key data can be effectively reduced, and the storage reliability is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of data processing, and particularly relates to a battery data storage method, device, electronic device, and computer program product. Background Art

[0002] During the operation of a battery system, a large amount of data will be collected. Analyzing these battery data can monitor the working status of the battery in real time, predict potential faults and performance degradation, and assist in optimizing the working mode and formulating maintenance strategies.

[0003] Data storage is a key link in the process of battery data management. The current storage strategy mainly archives according to the generation time or classification attributes of battery data, and such storage strategies are prone to loss of key data. Summary of the Invention

[0004] This application aims to solve at least one of the technical problems existing in the prior art. For this reason, this application proposes a battery data storage method, device, electronic device, and computer program product, which determines the data priority of battery data from multiple dimensions, reduces the loss rate of key data, and improves storage reliability.

[0005] In a first aspect, this application provides a battery data storage method, which includes: Obtain first battery data to be stored, and the first battery data is transmitted in a first network environment; Obtain the battery status information corresponding to the first battery data and the network status information corresponding to the first network environment; Based on the battery status information and the network status information, determine the data priority of the first battery data; Based on the data priority of the first battery data, perform storage processing on the first battery data.

[0006] According to the battery data storage method of this application, by obtaining the battery status information of the first battery data and the network status information of the first network environment, determining the data priority of the first battery data according to the battery status information and the network status information, fusing multi-dimensional data, performing efficient and accurate priority determination on the battery data, and performing storage processing according to the data priority, the loss rate of key data can be effectively reduced, and storage reliability can be improved.

[0007] According to an embodiment of this application, the determining the data priority of the first battery data based on the battery status information and the network status information includes: Obtain the weight coefficients corresponding to the battery status information and the network status information respectively; Based on the weight coefficients corresponding to the battery status information and the network status information respectively, perform a weighted calculation on the battery status information and the network status information to obtain the data priority of the first battery data.

[0008] According to an embodiment of the present application, the obtaining the weight coefficients corresponding to the battery status information and the network status information respectively includes: Based on the battery status change trend and the network status change trend, determine the weight coefficients corresponding to the battery status information and the network status information respectively.

[0009] According to an embodiment of the present application, the performing a storage process on the first battery data based on the data priority of the first battery data includes: In the case where there is no remaining storage space in the storage medium, compare the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium, and process the first battery data according to the comparison result.

[0010] According to an embodiment of the present application, the comparing the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and processing the first battery data according to the comparison result includes: In the case where the data priorities of the second battery data in the storage medium are all greater than the data priority of the first battery data, the first battery data is not stored.

[0011] According to an embodiment of the present application, the comparing the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and processing the first battery data according to the comparison result includes: In the case where there is second battery data in the storage medium whose data priority is less than or equal to the data priority of the first battery data, delete at least part of the second battery data in the storage medium whose data priority is less than or equal to the data priority of the first battery data, and store the first battery data in the storage medium.

[0012] According to an embodiment of the present application, the performing a storage process on the first battery data based on the data priority of the first battery data includes: In the case where the storage medium has remaining storage space, based on the data priority of the first battery data, store the first battery data in the battery data queue of the storage medium, and the battery data in the battery data queue is sorted according to the data priority.

[0013] According to an embodiment of the present application, a storage medium has a preset number of storage addresses and is divided into at least two storage address clusters. The storage addresses in different storage address clusters are used to store battery data with different data priorities. The storage medium is configured to adjust the number of addresses of the storage address clusters according to the storage state.

[0014] According to an embodiment of the present application, the number of addresses of the storage address cluster is positively correlated with the data priority of the battery data stored in the storage addresses of the storage address cluster.

[0015] According to an embodiment of the present application, a storage medium includes at least two storage areas. Different storage areas are used to store battery data with different data priorities. The storing process of the first battery data based on the data priority of the first battery data includes: Based on the data priority of the first battery data, determine a first storage area corresponding to the data priority from the at least two storage areas, and store the first battery data in the first storage area.

[0016] According to an embodiment of the present application, the access speed of the storage area is positively correlated with the data priority of the battery data stored in the storage area.

[0017] According to an embodiment of the present application, the method further includes: When the network latency of the first network environment is greater than a latency threshold, compress the third battery data, and transmit the compressed third battery data through the first network environment. The data priority of the third battery data is less than the target priority.

[0018] According to an embodiment of the present application, the battery state information includes at least one of a battery failure type and a battery health state.

[0019] In a second aspect, the present application provides a battery data storage device, and the device includes: A first acquisition module, configured to acquire first battery data to be stored, and the first battery data is transmitted in a first network environment; A second acquisition module, configured to acquire battery state information corresponding to the first battery data and network state information corresponding to the first network environment; A first processing module, configured to determine the data priority of the first battery data based on the battery state information and the network state information; A second processing module, configured to perform a storage process on the first battery data based on the data priority of the first battery data.

[0020] According to the battery data storage device of the present application, by obtaining the battery status information of the first battery data and the network status information of the first network environment, determining the data priority of the first battery data according to the battery status information and the network status information, fusing multi-dimensional data, performing efficient and accurate priority determination on the battery data, and performing storage processing according to the data priority, the loss rate of key data can be effectively reduced, and the storage reliability can be improved.

[0021] In a third aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the battery data storage method described in the first aspect above is implemented.

[0022] In a fourth aspect, the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, the battery data storage method described in the first aspect above is implemented.

[0023] The additional aspects and advantages of the present application will be partially given in the following description, partially become apparent from the following description, or be understood through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and / or additional aspects and advantages of the present application will become apparent and easy to understand from the description of the embodiments in conjunction with the following drawings, where: Figure 1 is one of the flow diagrams of the battery data storage method provided by the embodiment of the present application; Figure 2 is the second flow diagram of the battery data storage method provided by the embodiment of the present application; Figure 3 is the third flow diagram of the battery data storage method provided by the embodiment of the present application; Figure 4 is the fourth flow diagram of the battery data storage method provided by the embodiment of the present application; Figure 5 is the fifth flow diagram of the battery data storage method provided by the embodiment of the present application; Figure 6 is the sixth flow diagram of the battery data storage method provided by the embodiment of the present application; Figure 7 is the structural diagram of the battery data storage device provided by the embodiment of the present application; Figure 8 is the structural diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] Next, the technical solutions in the embodiments of the present application will be clearly described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art belong to the scope of protection of the present application.

[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are usually of the same category, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and / or" in the specification and claims means at least one of the connected objects, and the character " / " generally means that the associated objects before and after are in an "or" relationship.

[0027] Next, in conjunction with the accompanying drawings, the battery data storage method, battery data storage device, electronic device, and computer program product provided by the embodiments of the present application will be described in detail through specific embodiments and their application scenarios.

[0028] The battery data storage method provided by the embodiments of the present application may be executed by an electronic device or a functional module or functional entity in the electronic device that can implement the battery data storage method.

[0029] As Figure 1 shown, the battery data storage method includes: step 110, step 120, step 130, and step 140.

[0030] Step 110: Obtain first battery data to be stored.

[0031] Among them, the first battery data is transmitted in the first network environment.

[0032] It can be understood that battery data is various information generated during the operation of the battery system, including but not limited to data such as voltage, current, temperature, capacity, and charge and discharge times.

[0033] In actual execution, battery data during the operation of the battery system can be collected by a data collection device, and the collected battery data can be transmitted to a storage medium for storage.

[0034] Taking the ship battery system as an example.

[0035] The ship battery system is provided with multiple data acquisition devices to collect battery data generated during the operation of the ship battery system. The storage medium can be a non-volatile storage unit in the battery management system (BMS) of the ship battery system for recording battery data. Transmitting the collected battery data to the storage medium for storage can improve the integrity of battery data in the ship's vibration, high and low temperature environments, and support fault backtracking and health status analysis.

[0036] In this step, the first battery data can be battery data generated during the operation of the battery system and not yet stored in the storage medium (i.e., to be stored). The first battery data can be transmitted to the storage medium in the first network environment for storage processing.

[0037] Step 120: Obtain the battery status information corresponding to the first battery data and the network status information corresponding to the first network environment.

[0038] Among them, the battery status information is used to characterize the current operating state of the battery system.

[0039] In some embodiments, the battery status information may include at least one of the battery fault type and the battery health status.

[0040] Among them, the battery fault type refers to the type of abnormal operation of the battery system. For example, types such as overcharging, over-discharging, short circuit, thermal runaway, consistency abnormality, internal aging, and connection failure affect the safety and endurance of the battery system.

[0041] In actual execution, various fault recognition algorithms can be preset in the BMS. For the obtained battery data such as voltage, current, and temperature, the corresponding recognition algorithm is matched to determine the fault type and obtain the fault recognition result. Among them, the fault recognition result can be no fault, single fault, or multiple faults existing simultaneously.

[0042] The State Of Health (SOH) of the battery reflects the degree of degradation of the current battery performance compared to that of a brand-new battery, usually expressed as a percentage. 100% indicates that the battery is in a brand-new state, and the lower the value, the worse the battery performance.

[0043] In actual execution, the capacity attenuation rate and internal resistance growth curve can be calculated based on the battery data to update the battery health status in real time.

[0044] Among them, the capacity attenuation rate refers to the proportion of the available capacity of the battery relative to the initial value during cyclic use or long-term storage. The capacity attenuation rate is a key indicator for measuring the degree of battery aging.

[0045] For example, the annual attenuation rate of ternary lithium batteries is about 2%-5%, and the capacity is greater than or equal to 80% after 2000 cycles.

[0046] In actual implementation, data such as battery dynamic data, historical charge-discharge data, and historical capacity data are obtained, and capacity calibration is performed based on the obtained data, including obtaining charge-discharge data, calibrating the initial capacity and the current capacity, and calculating the capacity decay rate according to the formula: Capacity decay rate = (Initial capacity - Current capacity) / Initial capacity * 100%.

[0047] The internal resistance growth curve refers to the changing trend of the battery internal resistance increasing with the number of cycles or over time, reflecting the process of battery aging and performance degradation. The internal resistance growth curve can be used to evaluate the battery health status and warn of potential failures (such as electrode corrosion, electrolyte dryness, etc.).

[0048] Taking the ship battery system as an example, by analyzing the slope of the internal resistance growth curve, the charge-discharge strategy can be optimized, the maintenance cycle can be adjusted, and the risk of ship stoppage caused by battery failure can be reduced.

[0049] In actual implementation, battery dynamic data, historical charge-discharge data, historical capacity data and other data are obtained. Based on the obtained data, internal resistance calculation is performed. Taking time or the number of charge-discharge cycles as the abscissa and the internal resistance as the ordinate, the internal resistance growth curve is plotted, and the SOH is calculated according to the internal resistance growth value.

[0050] In this step, the network status information of the first network environment is also obtained. The network status information is a network status parameter used to characterize the communication quality of the first network environment.

[0051] In this embodiment, by monitoring data such as latency and bandwidth volatility, a communication quality scoring model can be established to dynamically calculate the communication quality and output the network environment monitoring result of the first network environment.

[0052] For example, data such as latency, broadband volatility, and packet loss rate of the first network environment over a period of time are collected and stored. After removing outliers, a suitable communication quality scoring model (such as polynomial weighting method, machine learning algorithm, etc.) is selected to dynamically calculate the communication quality (which can be expressed as a network status score) and output the network status information of the first network environment.

[0053] In actual implementation, the network fluctuation can be judged by using the central server load, and the communication quality can be monitored. In a weak network scenario, edge computing capabilities can also be introduced. For example, through methods such as geographic information modeling, the network status monitoring module can be sunk to the edge node to realize the edge module measuring the network status.

[0054] Step 130: Determine the data priority of the first battery data based on the battery status information and the network status information.

[0055] In this step, based on the battery status information of the first battery data and the network status information of the first network environment, starting from both the battery itself and the communication network, multi-dimensional data is fused to accurately determine the data priority of the first battery data, achieving efficient identification of critical battery data.

[0056] Taking the battery status information including the battery failure type and the battery health status as an example.

[0057] Obtain the battery failure type and the battery health status corresponding to the first battery data, and obtain the network status information of the first network environment. Fuse the three-dimensional data of the battery failure type, the battery health status, and the network status information to accurately determine the data priority of the first battery data.

[0058] Step 140: Based on the data priority of the first battery data, perform storage processing on the first battery data.

[0059] In this step, according to the data priority of the first battery data, it is possible to determine whether it is necessary to store the first battery data and information such as the storage location of the first battery data in the storage medium, and obtain the storage processing strategy of the first battery data.

[0060] It should be noted that storing battery data according to the data priority can achieve the priority storage of critical battery data (high-priority data). For the limited storage space in the storage medium, it reduces the occupancy ratio of low-priority data, realizes the optimal balance of the battery data quality and the storage capacity configuration, reduces the loss rate of critical data, and improves the storage reliability.

[0061] In the related art, according to whether the battery is abnormal and the corresponding abnormal level, the battery data is classified and stored in multiple devices. Such a solution is similar to the solution of archiving according to the generation time or classification attributes of the battery data. The analysis dimension is single, the evaluation of the battery data is prone to deviation, the critical data cannot be accurately evaluated, and the critical data is easily lost.

[0062] In the embodiments of the present application, by obtaining the battery status information of the first battery data and the network status information of the first network environment, not only the status of the battery itself is considered, but also the communication network status for transmitting data is considered. Multi-dimensional data is fused to efficiently and accurately determine the data priority of the first battery data. Storage processing is performed according to the data priority. High-priority data can be stored first, and low-priority data can be eliminated prior to high-priority data, which can effectively reduce the loss rate of critical data and improve the storage reliability.

[0063] According to the battery data storage method provided by the embodiments of the present application, by obtaining the battery status information of the first battery data and the network status information of the first network environment, determining the data priority of the first battery data according to the battery status information and the network status information, fusing multi-dimensional data, performing efficient and accurate priority determination on the battery data, and performing storage processing according to the data priority, the loss rate of key data can be effectively reduced and the storage reliability can be improved.

[0064] In some embodiments, step 130, determining the data priority of the first battery data based on the battery status information and the network status information, includes: Obtaining the weight coefficients corresponding to the battery status information and the network status information respectively; Based on the weight coefficients corresponding to the battery status information and the network status information respectively, performing weighted calculation on the battery status information and the network status information to obtain the data priority of the first battery data.

[0065] In this embodiment, by obtaining the weight coefficients corresponding to the battery status information and the network status information respectively, and by assigning different weights, the contribution degrees of each status information of the battery itself and the communication network to the data priority can be accurately reflected, the influence of key status information can be highlighted, the interference of secondary status information can be weakened, and the data priority of the first battery data obtained by weighted calculation is more in line with the actual scenario, realizing the accurate evaluation of key battery data.

[0066] It can be understood that the battery status information may include one or more status information, and the network status information may also include one or more status information. Obtaining the weight coefficients corresponding to the battery status information and the network status information respectively refers to obtaining the respective weight systems of each status information in the battery itself and the communication network.

[0067] For example, the battery status information includes the battery failure type and the battery health status. The weight coefficients of the battery failure type, the battery health status, and the network status information are obtained respectively, and weighted calculation is performed to obtain the data priority of the first battery data.

[0068] In actual execution, the fault level can be judged according to the battery failure type to obtain the corresponding fault classification value, the SOH attenuation value can be calculated according to the battery health status, and combined with the network status score calculated from the network status information, weighted calculation is performed. The data priority Priority of the first battery data is solved by the following formula: Priority = α × fault classification value + β × SOH attenuation value + γ × (1 - network status score) Where, α is the weight corresponding to the battery failure type, β is the weight corresponding to the battery health status, and γ is the weight corresponding to the network status information.

[0069] In some embodiments, obtaining the weight coefficients corresponding to the battery state information and the network state information respectively includes: Based on the battery state change trend and the network state change trend, determine the weight coefficients corresponding to the battery state information and the network state information respectively.

[0070] In this embodiment, by dynamically adjusting the weight coefficients corresponding to the battery state information and the network state information according to the battery state change trend and the network state change trend, the adaptability and accuracy of weighted calculation data priority can be improved. The dynamic weights can respond flexibly and reduce the judgment deviation caused by fixed weights.

[0071] Among them, the battery state change trend refers to the development law presented by the operating state of the battery system that generates the first battery data changing with time, and the network state change trend refers to the development law presented by the network state of the first network environment changing with time.

[0072] It can be understood that by dynamically adjusting the corresponding weight coefficients according to the battery state change trend and the network state change trend, the changes of the battery itself and the communication network can be responded to in a timely manner, the data priority of the battery data can be determined more accurately, and the key battery data can be accurately identified.

[0073] In actual execution, according to the time series data prediction algorithm, by establishing a prediction model, dynamic sequence prediction can be carried out to obtain the battery state change trend and the network state change trend, and the weight coefficients corresponding to the battery state information and the network state information are dynamically adjusted.

[0074] For example, based on the time series data prediction algorithm of the Long Short-Term Memory (LSTM) network, an LSTM prediction model can be established. Through the gating mechanism, long-term dependencies can be captured, dynamic sequence prediction can be carried out, the battery state change trend and the network state change trend can be analyzed, the weight coefficients corresponding to the battery state information and the network state information are dynamically adjusted, and the data priority Priority of the first battery data is calculated.

[0075] The calculation formula of Priority is as follows: Priority = α × failure classification value + β × SOH attenuation value + γ × (1 - network state score) Among them, α is the weight corresponding to the battery failure type, β is the weight corresponding to the battery health state, and γ is the weight corresponding to the network state information.

[0076] In this embodiment, when the LSTM prediction model determines that the fault level suddenly increases, α can be increased (for example, increased from 0.5 to 0.8); when the LSTM prediction model determines that the SOH decay accelerates, β is linearly enhanced (for example, for every 0.1% / hour increase in SOH, β + 0.05); when the LSTM prediction model determines that the network delay is greater than 200 ms, γ can be attenuated to less than 0.3 to reduce the impact of unreliable communication.

[0077] In actual execution, after determining the data priority of the first battery data, it can be determined whether the first battery data is stored in the storage medium and the storage location of the first battery data in the storage medium according to the data priority of the first battery data and whether the storage medium has remaining storage space.

[0078] 1. The storage medium has no remaining storage space.

[0079] In some embodiments, step 140, storing and processing the first battery data based on the data priority of the first battery data, may include: In the case where the storage medium has no remaining storage space, compare the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium, and process the first battery data according to the comparison result.

[0080] In this embodiment, the storage medium has no remaining storage space, that is, the storage medium is full. By comparing the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium, it is determined whether the first battery data can be stored in the storage medium and whether the second battery data already stored in the storage medium needs to be eliminated, so that high-priority data is stored first and low-priority data is eliminated before high-priority data, reducing the loss rate of key battery data in the case of limited storage resources.

[0081] It can be understood that the second battery data is the battery data already stored in the storage medium, and the calculation method of the data priority of the second battery data can be the same as that of the first battery data. The first battery data and the second battery data are evaluated and sorted under the same standard, reducing the evaluation deviation caused by algorithm differences.

[0082] In some embodiments, comparing the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and processing the first battery data according to the comparison result includes: In the case where the data priority of the second battery data in the storage medium is greater than the data priority of the first battery data, the first battery data is not stored.

[0083] In this embodiment, the data priority of the second battery data in the storage medium is greater than that of the first battery data, that is, there is no second battery data in the storage medium whose data priority is less than or equal to that of the first battery data. It is determined that the data priority of the first battery data is lower than that of the stored data, and the first battery data is not stored, and the first battery data can be eliminated.

[0084] For example, there are ten second battery data stored in the storage medium, and the data priorities of the ten second battery data are 4, 5, 5, 5, 6, 7, 7, 8, 8, 9 respectively. The larger the value, the higher the priority. The data priority of the first battery data to be stored is 3. The data priority of the second battery data in the storage medium is greater than that of the first battery data, and the first battery data is not stored.

[0085] In some embodiments, the data priority of the first battery data is compared with the data priorities of the second battery data already stored in the storage medium, and the first battery data is processed according to the comparison result, including: In the case where there is second battery data in the storage medium whose data priority is less than or equal to that of the first battery data, at least part of the second battery data whose data priority is less than or equal to that of the first battery data is deleted from the storage medium, and the first battery data is stored in the storage medium.

[0086] In this embodiment, there is second battery data in the storage medium whose data priority is less than or equal to that of the first battery data. It is determined that the data priority of the first battery data is not lower than (including both equal to and higher than) the data priority of the stored data, and replacement insertion is performed, that is, at least part of the stored data is deleted, and the first battery data is stored in the storage medium.

[0087] In actual execution, part of the second battery data whose data priority is less than or equal to that of the first battery data in the storage medium can be deleted, or all of the second battery data whose data priority is less than or equal to that of the first battery data in the storage medium can be deleted.

[0088] For example, there are ten second battery data stored in the storage medium, and the data priorities of the ten second battery data are 4, 5, 5, 5, 6, 7, 7, 8, 8, 9 respectively. The larger the value, the higher the priority.

[0089] If the data priority of the first battery data to be stored is 6, there are a total of five second battery data in the storage medium whose data priority is less than or equal to that of the first battery data.

[0090] In this embodiment, the second battery data with a data priority of 4 can be deleted, leaving a storage space for one battery data in the storage medium, and then the first battery data can be stored in the storage medium to achieve replacement and insertion. Alternatively, a total of 4 second battery data with data priorities of 4 and 5 can be deleted, and then the first battery data can be stored in the storage medium.

[0091] If the data priority of the first battery data to be stored is 4, and there is only one second battery data in the storage medium whose data priority is equal to that of the first battery data, in this case, the generation times of the first battery data and the second battery data can be compared, and the second battery data with a data priority of 4 can be deleted (the generation time of the stored data generally precedes that of the data to be stored), and the first battery data can be stored in the storage medium to preferentially save the newly generated battery data.

[0092] Second, the storage medium has remaining storage space.

[0093] In some embodiments, based on the data priority of the first battery data, storage processing of the first battery data is performed, including: When the storage medium has remaining storage space, based on the data priority of the first battery data, the first battery data is stored in the battery data queue of the storage medium, and the battery data in the battery data queue is sorted according to the data priority.

[0094] In this embodiment, the storage medium has remaining storage space, that is, the storage medium is not full, and the first battery data can be directly stored in the storage medium. In the storage medium, the battery data is sorted according to the data priority to form a battery data queue, and the first battery data is inserted into the corresponding position according to the corresponding data priority.

[0095] For example, the storage medium has a storage space for ten battery data, and eight second battery data have been stored in the storage medium. The data priorities of the eight second battery data in the battery data queue of the storage medium are 4, 5, 5, 5, 6, 7, 7, 8 respectively, and the larger the value, the higher the priority. The data priority of the first battery data to be stored is 9, and the first battery data is inserted at the end of the battery data queue. The data priorities of the nine battery data in the battery data queue of the storage medium are 4, 5, 5, 5, 6, 7, 7, 8, 9 respectively.

[0096] For another example, the storage medium has a storage space for ten battery data. The storage medium has already stored eight second battery data. The data priorities of the eight second battery data in the battery data queue of the storage medium are 4, 5, 5, 6, 6, 7, 9, 9 respectively. The larger the value, the higher the priority. The data priority of the first battery data to be stored is 8. The first battery data is inserted between the second battery data with data priorities of 7 and 9 in the battery data queue. The data priorities of the nine battery data in the battery data queue of the storage medium are 4, 5, 5, 6, 6, 7, 8, 9, 9 respectively.

[0097] It should be noted that for a storage medium that is already full, some of the second battery data in the battery data queue can be deleted according to the priority comparison result to make room for storage, and then the first battery data can be inserted into the corresponding position in the battery data queue according to the corresponding data priority.

[0098] For example, the storage medium has already stored ten second battery data. The data priorities of the ten second battery data in the battery data queue of the storage medium are 4, 5, 5, 5, 6, 7, 7, 8, 8, 9 respectively. The larger the value, the higher the priority.

[0099] The data priority of the first battery data to be stored is 4. According to the priority comparison result, the second battery data with a data priority of 4 in the battery data queue is deleted, and the first battery data is inserted into the head of the battery data queue. The data priorities of the ten battery data in the battery data queue of the storage medium are 4, 5, 5, 5, 6, 7, 7, 8, 8, 9 respectively.

[0100] It can be understood that by using the priority queuing algorithm, corresponding data priority labels are added to the battery data stored in the storage medium, and the battery data queue is formed according to the data priority sorting. The battery data to be stored is inserted into the queue according to the data priority level, which can effectively improve the storage efficiency of the storage medium.

[0101] In actual implementation, the storage medium can store battery data in ways such as dynamic address allocation and fixed partitioning.

[0102] 1. Dynamic address allocation.

[0103] In some embodiments, the storage medium has a preset number of storage addresses and is divided into at least two storage address clusters. The storage addresses in different storage address clusters are used to store battery data with different data priorities. The storage medium is configured to adjust the number of addresses of the storage address cluster according to the storage state.

[0104] In this embodiment, the storage medium stores battery data in a dynamic address allocation manner, and can dynamically adjust the number of addresses of each storage address cluster according to the current storage state of the storage medium, dynamically allocate memory according to actual requirements, and effectively improve the utilization rate of the storage space.

[0105] For example, the storage medium has 100 storage addresses, which are divided into 3 storage address clusters. The high-priority battery data can occupy 30 storage addresses, the medium-priority battery data can occupy 50 storage addresses, and the low-priority battery data can occupy 20 storage addresses.

[0106] After all the storage addresses of a certain storage address cluster are occupied, the number of addresses of the 3 storage address clusters can be adjusted, and memory can be dynamically allocated according to actual requirements.

[0107] In some embodiments, the number of addresses of the storage address cluster has a positive correlation with the data priority of the battery data stored in the storage addresses of the storage address cluster.

[0108] In this embodiment, for the storage medium implementing dynamic address allocation, when adjusting the number of addresses of the storage address cluster according to the storage state, the number of storage addresses that can be occupied by high-priority data is preferentially expanded, and the number of storage addresses that can be occupied by low-priority data is preferentially reduced, that is, the higher the data priority of the battery data stored in the storage addresses of a certain storage address cluster, the more the number of addresses of this storage address cluster can be adjusted.

[0109] For example, the storage medium has 100 storage addresses, which are divided into 3 storage address clusters. The high-priority battery data can occupy 30 storage addresses, the medium-priority battery data can occupy 50 storage addresses, and the low-priority battery data can occupy 20 storage addresses.

[0110] After all the storage addresses of a certain storage address cluster are occupied, the number of addresses of the 3 storage address clusters can be adjusted. The high-priority battery data is adjusted to be able to occupy 50 storage addresses, the medium-priority battery data is adjusted to be able to occupy 30 storage addresses, and the low-priority battery data can occupy 20 storage addresses.

[0111] It can be understood that the storage space of the storage medium is limited. The dynamic address allocation method enables all battery data to share the storage, reduces the situation where part of the storage space is idle or part of the storage space frequently eliminates data, and effectively improves the utilization rate of the storage space.

[0112] II. Fixed partitioning.

[0113] In some embodiments, the storage medium includes at least two storage areas, where different storage areas are used to store battery data with different data priorities. Based on the data priority of the first battery data, the storage process for the first battery data includes: Based on the data priority of the first battery data, determine the first storage area corresponding to the data priority from at least two storage areas, and store the first battery data in the first storage area.

[0114] It can be understood that the storage medium is pre-divided into multiple storage areas with fixed sizes (i.e., partitions), and each storage area can store battery data corresponding to the data priority, reducing the complexity of memory allocation in the storage medium and minimizing fragmentation problems.

[0115] In this embodiment, after determining the data priority of the first battery data, determine which data priority range of the storage areas in the storage medium the data priority of the first battery data belongs to, that is, determine the first storage area corresponding to the data priority from multiple storage areas of the storage medium, and store the first battery data in the first storage area to achieve partitioned storage of battery data.

[0116] For example, the storage medium is pre-divided into 10 storage areas, and each storage area can store 10 battery data. The 10 storage areas are allocated to store battery data with data priorities in the ranges of 0 - 9, 10 - 19, 20 - 29, 30 - 39, 40 - 49, 50 - 59, 60 - 69, 70 - 79, 80 - 89, and 90 - 100.

[0117] If the data priority of the first battery data is 15, allocate the first battery data to the storage area with a data priority in the range of 10 - 19 for storage, directly hitting the storage space corresponding to the priority, and achieving a high-security and low-latency storage process.

[0118] It should be noted that storing battery data in the storage area corresponding to the priority can also achieve isolation of data with different priorities, reducing the probability of battery data being tampered with or lost.

[0119] In some embodiments, the access speed of the storage area is positively correlated with the data priority of the battery data stored in the storage area.

[0120] In this embodiment, different storage areas of the storage medium can have different access speeds (i.e., read / write rates). High-priority battery data can be stored in high-access-speed storage areas, and low-priority battery data can be stored in low-access-speed storage areas, automatically allocating storage locations according to the corresponding priorities to achieve efficient storage of critical battery data.

[0121] For example, the storage medium can be physical hardware with high and low read / write speeds. The storage area with high access speed is an independent cache, and the storage area with low access speed can be a storage space such as temporary storage or an SD card, realizing physical isolation of high-priority data and efficiently storing key battery data.

[0122] In some embodiments, the battery data storage method may further include: When the network latency of the first network environment is greater than the latency threshold, compress the third battery data and transmit the compressed third battery data through the first network environment.

[0123] Wherein, the data priority of the third battery data is less than the target priority.

[0124] It should be noted that the target priority can be a preset priority critical value. When the data priority of a certain battery data is less than the target priority, it indicates that the battery data belongs to low-priority data, that is, the battery data is not critical data.

[0125] It can be understood that the latency threshold is a preset latency parameter critical value. When the network latency of the first network environment is greater than the latency threshold, it indicates that network congestion may occur, and packet loss may accompany.

[0126] In this embodiment, perform priority calculation on the battery data generated during the operation of the battery system and not yet stored in the storage medium (i.e., to be stored). The battery data with a data priority less than the target priority is used as the third battery data. When the network latency of the first network environment is greater than the latency threshold, the third battery data can be compressed, and then the compressed third battery data is transmitted through the first network environment, compressing low-priority data and releasing the bandwidth of the first network environment to improve the transmission success rate of high-priority data and improve the storage success rate of key battery data in a weak network environment.

[0127] A specific embodiment is introduced below.

[0128] Step 1, obtain the battery data to be stored, and obtain multi-dimensional data such as the corresponding battery fault type, battery health status, and network status information.

[0129] As Figure 2 shown, obtain the battery data, match the fault recognition algorithm, and determine the battery fault type (such as over-temperature fault, internal short-circuit fault, battery consistency anomaly, etc.).

[0130] As Figure 3As shown, obtain battery data, calculate the capacity attenuation rate and internal resistance growth value, perform outlier correction (for example, data with a capacity attenuation rate > 5% is regarded as an outlier), and based on the capacity attenuation rate and internal resistance growth value, use the weighted formula method or machine learning algorithm to dynamically calculate the SOH and obtain the current SOH data.

[0131] As Figure 4 shown, obtain data such as latency, bandwidth volatility, packet loss rate, etc., cache the data for a period of time and preprocess the data (remove outliers, etc.), select a suitable communication quality scoring model for calculation, and output the network environment monitoring result, which can be expressed as a network status score.

[0132] Step 2: Determine the priority of battery data according to the priority algorithm.

[0133] As Figure 5 shown, according to the obtained fault type data, calculate the fault classification value. For example, define the fault level for the fault type, and different types of faults correspond to different fault classification values; obtain multiple segments of SOH data and calculate the SOH attenuation rate.

[0134] Perform model calculation based on the network status data and output the network status score. For example, if the network status is excellent, the score value can be greater than 85; if the network status is good, the score value can be greater than or equal to 50 and less than or equal to 85; if the network status is poor, the score value can be less than 50.

[0135] According to Priority = α × fault classification value + β × SOH attenuation value + γ × (1 - network status score), calculate the data priority Priority, where the weight system α, β, γ can be dynamically adjusted through the LSTM model, and output the Priority value.

[0136] Step 3: Eliminate and update the battery data stored in the storage medium.

[0137] As Figure 6 shown, after obtaining the priority, add a priority label to the battery data, store and update the data in the storage medium according to the priority, and identify whether a battery data with a certain priority can be stored. If there is still remaining storage space in the storage medium, the battery data can be directly inserted into the battery data queue in the storage medium according to the priority ranking.

[0138] If there is no remaining storage space in the storage medium, for battery data with a priority not lower than the lowest priority of the data already stored in the storage medium, perform replacement insertion; for battery data with a priority lower than the lowest priority of the data already stored in the storage medium, do not perform the insertion action.

[0139] In this embodiment, starting from both the battery itself and the communication network, multi-dimensional data is fused to efficiently and accurately determine the data priority of battery data. According to the data priority, operations of updating and eliminating data in the storage medium are performed, so that high-priority data can be preferentially retained, effectively reducing the loss rate of critical data and improving storage reliability.

[0140] For the battery data storage method provided in the embodiments of the present application, the execution subject may be a battery data storage device. In the embodiments of the present application, taking the battery data storage device executing the battery data storage method as an example, the battery data storage device provided in the embodiments of the present application is described.

[0141] The embodiments of the present application also provide a battery data storage device.

[0142] As Figure 7 shown, the battery data storage device includes: A first acquisition module 710, configured to acquire first battery data to be stored, and the first battery data is transmitted in a first network environment; A second acquisition module 720, configured to acquire battery state information corresponding to the first battery data and network state information corresponding to the first network environment; A first processing module 730, configured to determine the data priority of the first battery data based on the battery state information and the network state information; A second processing module 740, configured to perform storage processing on the first battery data based on the data priority of the first battery data.

[0143] According to the battery data storage device provided in the embodiments of the present application, by acquiring the battery state information of the first battery data and the network state information of the first network environment, determining the data priority of the first battery data according to the battery state information and the network state information, fusing multi-dimensional data, performing efficient and accurate priority determination on the battery data, and performing storage processing according to the data priority, the loss rate of critical data can be effectively reduced and storage reliability can be improved.

[0144] In some embodiments, the first processing module 730, configured to determine the data priority of the first battery data based on the battery state information and the network state information, may include: Acquiring weight coefficients corresponding to the battery state information and the network state information respectively; Based on the weight coefficients corresponding to the battery state information and the network state information respectively, performing weighted calculation on the battery state information and the network state information to obtain the data priority of the first battery data.

[0145] In some embodiments, the first processing module 730, configured to acquire weight coefficients corresponding to the battery state information and the network state information respectively, may include: Based on the changing trends of the battery state and the network state, determine the weight coefficients corresponding to the battery state information and the network state information respectively.

[0146] In some embodiments, the second processing module 740, which is used to perform storage processing on the first battery data based on the data priority of the first battery data, may include: When there is no remaining storage space in the storage medium, compare the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium, and process the first battery data according to the comparison result.

[0147] In some embodiments, the second processing module 740, which is used to compare the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and process the first battery data according to the comparison result, may include: When the data priorities of the second battery data in the storage medium are all greater than the data priority of the first battery data, the first battery data is not stored.

[0148] In some embodiments, the second processing module 740, which is used to compare the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and process the first battery data according to the comparison result, may include: When there is second battery data in the storage medium whose data priority is less than or equal to the data priority of the first battery data, delete at least part of the second battery data in the storage medium whose data priority is less than or equal to the data priority of the first battery data, and store the first battery data in the storage medium.

[0149] In some embodiments, the second processing module 740, which is used to perform storage processing on the first battery data based on the data priority of the first battery data, may include: When there is remaining storage space in the storage medium, based on the data priority of the first battery data, store the first battery data in the battery data queue of the storage medium, and the battery data in the battery data queue is sorted according to the data priority.

[0150] In some embodiments, the storage medium has a preset number of storage addresses and is divided into at least two storage address clusters. The storage addresses in different storage address clusters are used to store battery data with different data priorities, and the storage medium is configured to adjust the number of addresses of the storage address clusters according to the storage state.

[0151] In some embodiments, the number of addresses of the storage address cluster is positively correlated with the data priority of the battery data stored in the storage addresses of the storage address cluster.

[0152] In some embodiments, the storage medium includes at least two storage areas, where different storage areas are used to store battery data with different data priorities. The second processing module 740 is configured to perform storage processing on the first battery data based on the data priority of the first battery data, which may include: Based on the data priority of the first battery data, determine a first storage area corresponding to the data priority from at least two storage areas, and store the first battery data in the first storage area.

[0153] In some embodiments, the access speed of the storage area is positively correlated with the data priority of the battery data stored in the storage area.

[0154] In some embodiments, the battery data storage device may further include a third processing module, configured to compress the third battery data and transmit the compressed third battery data through the first network environment when the network latency of the first network environment is greater than the latency threshold. The data priority of the third battery data is less than the target priority.

[0155] In some embodiments, the battery status information includes at least one of a battery failure type and a battery health status.

[0156] The battery data storage device in the embodiments of the present application may be an electronic device or a component in an electronic device, such as an integrated circuit or a chip.

[0157] The battery data storage device provided by the embodiments of the present application can implement each process implemented by the above-mentioned battery data storage method embodiments. To avoid repetition, it will not be elaborated here.

[0158] In some embodiments, as Figure 8 shown, the embodiments of the present application further provide an electronic device 800, including a processor 801, a memory 802, and a computer program stored in the memory 802 and executable on the processor 801. When the program is executed by the processor 801, it implements each process of the above-mentioned battery data storage method embodiments and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0159] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0160] The embodiments of the present application further provide a computer program product, including a computer program, which implements the above-mentioned battery data storage method when executed by a processor.

[0161] Another embodiment of the present application provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is configured to run programs or instructions to implement each process of the above embodiment of the battery data storage method and can achieve the same technical effects. To avoid repetition, details are not described herein again.

[0162] It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, system chip, chip system, or system-on-chip, etc.

[0163] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, such that a process, method, article or device including a series of elements not only includes those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "including a..." does not exclude the presence of additional identical elements in the process, method, article or device including such element. In addition, it should be pointed out that the methods and devices in the embodiments of the present application are not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0164] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on this understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. The computer software product is stored in a storage medium such as ROM / RAM, magnetic disk, or optical disc, and includes several instructions for causing a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.

[0165] The embodiments of the present application have been described above with reference to the accompanying drawings. However, the present application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Those of ordinary skill in the art, under the inspiration of the present application and without departing from the spirit and scope protected by the claims of the present application, can still make many forms, all of which fall within the protection scope of the present application.

[0166] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples" etc. mean that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of this application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.

[0167] Although the embodiments of this application have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and spirit of this application, and the scope of this application is defined by the claims and their equivalents.

Claims

1. A battery data storage method, characterized in that, Including: Obtain first battery data to be stored, where the first battery data is transmitted in a first network environment; Obtain battery status information corresponding to the first battery data and network status information corresponding to the first network environment; Based on the battery status information and the network status information, determine the data priority of the first battery data; Based on the data priority of the first battery data, perform storage processing on the first battery data.

2. The battery data storage method according to claim 1, characterized in that, The determining the data priority of the first battery data based on the battery status information and the network status information includes: Obtain weight coefficients corresponding to the battery status information and the network status information respectively; Based on the weight coefficients corresponding to the battery status information and the network status information respectively, perform weighted calculation on the battery status information and the network status information to obtain the data priority of the first battery data.

3. The battery data storage method according to claim 2, characterized in that, The obtaining the weight coefficients corresponding to the battery status information and the network status information respectively includes: Based on the battery status change trend and the network status change trend, determine the weight coefficients corresponding to the battery status information and the network status information respectively.

4. The battery data storage method according to claim 1, characterized in that, The performing storage processing on the first battery data based on the data priority of the first battery data includes: When there is no remaining storage space in the storage medium, compare the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium, and process the first battery data according to the comparison result.

5. The battery data storage method according to claim 4, characterized in that, The comparing the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and processing the first battery data according to the comparison result includes: When the data priorities of the second battery data in the storage medium are all greater than the data priority of the first battery data, the first battery data is not stored.

6. The battery data storage method according to claim 4, characterized in that, The comparing the data priority of the first battery data with the data priority of the second battery data already stored in the storage medium and processing the first battery data according to the comparison result includes: When there is second battery data in the storage medium with a data priority less than or equal to the data priority of the first battery data, delete at least part of the second battery data in the storage medium with a data priority less than or equal to the data priority of the first battery data, and store the first battery data in the storage medium.

7. The battery data storage method according to claim 1, characterized in that, The performing storage processing on the first battery data based on the data priority of the first battery data includes: When the storage medium has remaining storage space, based on the data priority of the first battery data, store the first battery data in the battery data queue of the storage medium, and the battery data in the battery data queue is sorted according to the data priority.

8. The battery data storage method according to any one of claims 1-7, characterized in that, The storage medium has a preset number of storage addresses and is divided into at least two storage address clusters. The storage addresses in different storage address clusters are used to store battery data with different data priorities. The storage medium is configured to adjust the number of addresses of the storage address clusters according to the storage state.

9. The battery data storage method according to claim 8, characterized in that, The number of addresses of the storage address cluster is positively correlated with the data priority of the battery data stored in the storage addresses of the storage address cluster.

10. The battery data storage method according to any one of claims 1-7, characterized in that, The storage medium includes at least two storage areas. Different storage areas are used to store battery data with different data priorities. The storing and processing the first battery data based on the data priority of the first battery data includes: Based on the data priority of the first battery data, determining a first storage area corresponding to the data priority from the at least two storage areas, and storing the first battery data in the first storage area.

11. The battery data storage method according to claim 10, characterized in that, The access speed of the storage area is positively correlated with the data priority of the battery data stored in the storage area.

12. The battery data storage method according to any one of claims 1-7, characterized in that, The method further includes: When the network latency of the first network environment is greater than a latency threshold, compressing the third battery data and transmitting the compressed third battery data through the first network environment, where the data priority of the third battery data is less than the target priority.

13. The battery data storage method according to any one of claims 1-7, characterized in that, The battery status information includes at least one of a battery failure type and a battery health status.

14. A battery data storage device, characterized in that, Including: A first acquisition module, configured to acquire first battery data to be stored, where the first battery data is transmitted in a first network environment; A second acquisition module, configured to acquire battery status information corresponding to the first battery data and network status information corresponding to the first network environment; A first processing module, configured to determine the data priority of the first battery data based on the battery status information and the network status information; A second processing module, configured to perform storage processing on the first battery data based on the data priority of the first battery data.

15. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the battery data storage method according to any one of claims 1-13.

16. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the battery data storage method according to any one of claims 1-13.

Citation Information

Patent Citations

  • Network system, connection apparatus and data emitting method

    CN102137097A

  • Cloud data scheduling method and system based on Internet of Things

    CN118972332A

  • Alpine region logging data cloud storage system

    CN119135576A

  • Data storage method and device for power internet of things, and storage medium

    CN119415035A

  • Return data optimization system based on OCPX

    CN119728588A