Data storage method and related apparatus
By dividing and storing energy storage battery life test data into recording layer, process layer, cycle layer and cell layer, the problem of inconvenient analysis caused by scattered data storage is solved, and centralized data management and efficient query are realized.
Patent Information
- Application Number
- CN202411820315.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2044-12-11
AI Technical Summary
In existing technologies, the storage methods for energy storage battery life test data are scattered, which makes subsequent analysis inconvenient and makes it difficult to achieve unified query and analysis.
Life test data is divided into recording layer, process layer, cycle layer and cell layer, and stored in the corresponding databases. The data format is unified by mapping table and language model to achieve centralized storage and query of data.
It enables centralized storage and unified query and analysis of data, improving users' access to the diversity and query efficiency of cell life test data.
Smart Images

Figure CN119760031B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data storage technology, and in particular to a data storage method and related apparatus. Background Technology
[0002] Currently, after energy storage batteries undergo lifespan testing, the test data is stored in files, meaning that test data generated at each time point is stored as a separate file. This storage method results in the test data being scattered across different locations, which is not conducive to subsequent unified analysis of the test data. Summary of the Invention
[0003] This application provides a data storage method and related apparatus. By dividing test files into recording layers, process layers, cycle layers, and cell layers and storing them in corresponding databases, the data distribution can be made more centralized, making it convenient for users to perform unified query and analysis of test data in the future.
[0004] In a first aspect, this application provides a data storage method, the method comprising:
[0005] Obtain the life test file, which includes data generated after the battery cell undergoes a life test;
[0006] The life test files are divided into different categories of recording layer data according to different work steps, and the different categories of recording layer data are stored in the corresponding category of recording layer database. The work steps are related to the charge and discharge states recorded in the recording layer data.
[0007] Based on the different categories of record layer data, determine the corresponding category of work step layer data, store the different categories of work step layer data into the corresponding category of work step layer database, and the work step layer data includes the integrated data corresponding to the record layer data under each work step;
[0008] Based on the different categories of step-level data, determine the loop-level data and store the loop-level data in the loop-level database. The loop-level data includes the integrated data corresponding to the step-level data under each test loop.
[0009] The cell layer data is determined based on the cycle layer data, and the cell layer data of different cells is stored in the corresponding cell layer database. The cell layer data includes the integrated data corresponding to the cycle layer data of the cell under all test cycles in the life test.
[0010] As can be seen, in this application, the data generated after the battery cell life test is divided into recording layer, process layer, cycle layer, and battery cell layer, and then stored in sub-databases corresponding to different layers within the database. Compared to saving the data generated after the battery cell life test in different files, this approach results in a more centralized data distribution, and the division of data into different layers facilitates unified querying and analysis of the test data by users. Furthermore, the division into recording layer, process layer, cycle layer, and battery cell layer better reflects the actual working conditions of battery cell life testing, increasing the diversity of data query and analysis for users.
[0011] In a feasible example, obtaining a lifespan test file includes: determining the relationship between the cell number and at least one first original test file, and the acquisition time of each first original test file, based on multiple original test files and the cell number; unifying the data format of the at least one first original test file to obtain at least one second original test file; and merging the data in the at least one second original test file based on the acquisition time of each second original test file to obtain a lifespan test file corresponding to each cell.
[0012] In this application, the data format of at least one first original test file corresponding to the obtained battery cell is unified before the data is merged, which facilitates the subsequent division and storage of data at each level on a per-cell basis.
[0013] In a feasible example, the data format of at least one first original test file is unified to obtain at least one second original test file, including: unifying the header names of at least one first original test file based on a first mapping table to obtain at least one second original test file, wherein the first mapping table includes the mapping relationship between the header names before and after format unification; if the first mapping table does not include the header names of at least one first original test file, then at least one first original test file is input into a first language model to obtain at least one second original test file, wherein the first language model is trained based on first training data, wherein the first training data includes the format-unified header names, the format-unified header names, and the reference header name format.
[0014] In this application, when the header name of the first original test file cannot be unified according to the first mapping table, the header name of the first original test file can also be unified through the first language model, which can improve the stability of the header name unification.
[0015] In a feasible example, the life test file is divided into different categories of record layer data according to different steps, including: assigning a step number to the first data included in the life test file, where the first data is the earliest data in the life test file; if the charge / discharge state included in the first data is different from the charge / discharge state included in the second data, then the step number corresponding to the second data is set to the sum between the step number corresponding to the first data and a first preset threshold, where the second data is the data in the life test file at the next moment after the first data; if the charge / discharge state included in the first data is the same as the charge / discharge state included in the second data, then the step number corresponding to the second data is set to the step number corresponding to the first data; repeating the above steps until each piece of data in the life test file has a corresponding step number; and dividing the life test file into different categories of record layer data according to different step numbers.
[0016] In this application, the data corresponding to the charge and discharge states of each data point in the life test file is divided into record layer data corresponding to different work steps, thereby facilitating subsequent data query and analysis by users based on different work steps.
[0017] In a feasible example, the recording layer data for each category includes at least one of the following: current, voltage, temperature, capacity, and charge / discharge state at different times; the step layer data includes at least one of the following: capacity change, average current, average temperature, starting voltage, ending voltage, charge / discharge state, and step time in the current step. The corresponding step layer data is determined based on the recording layer data for different categories, including: determining the average current and average temperature in the current step based on the average current and temperature at different times; determining the starting voltage and ending voltage in the current step based on the starting voltage and ending voltage at different times; determining the capacity change in the current step based on the difference between the ending capacity and the starting capacity at different times; determining the charge / discharge state in the current step based on the charge / discharge state at different times; and determining the step time in the current step based on the difference between the start time and the end time of the current step.
[0018] In this application, based on the data integration method, the process step layer data corresponding to each process step is determined, which facilitates subsequent cell life test analysis by users based on the process step dimension.
[0019] In a feasible example, determining the cycle layer data based on different categories of step layer data includes: assigning the same cycle number to all different categories of step layer data; based on the time order between different categories of step layer data, traversing from the first piece of step layer data in different categories to the last piece of step layer data; if there is a first data group in different categories of step layer data, then adding a second preset threshold to the cycle number corresponding to the step layer data after the first data group; the first data group includes multiple consecutive first step layer data, and multiple consecutive first step layer data constitute the step layer data under a test cycle; determining the cycle layer data based on the data with the same cycle number in different categories of step layer data.
[0020] In this application, the charge and discharge states corresponding to different categories of process layer data are used to divide them into process layer data corresponding to different test cycles. Then, the process layer data under different test cycles are integrated to determine the cycle layer data under different test cycles, which facilitates subsequent cell life test analysis based on different test cycles.
[0021] In a feasible example, the method further includes: obtaining cell screening conditions; determining the number of at least one first cell that meets the cell screening conditions from a cell layer database; obtaining the number of at least one second cell; determining the cycle layer data corresponding to the number of at least one second cell from a cycle layer database; obtaining the number of at least one third cell and a first cycle number; determining the process layer data corresponding to the number of at least one third cell and the first cycle number from a process step layer database; obtaining the number of a fourth cell, a second cycle number, and a process step number; determining the record layer data corresponding to the number of the fourth cell, the second cycle number, and the process step number from a record layer database.
[0022] In this application, data at different database levels can be queried using corresponding methods, facilitating subsequent data queries at different levels for users.
[0023] Secondly, this application provides a data storage device, the device comprising:
[0024] The acquisition unit is used to acquire life test files, which include data generated after the battery cell undergoes life testing.
[0025] The processing unit is used to divide the life test file into different categories of recording layer data according to different work steps, and store the different categories of recording layer data into the corresponding category of recording layer database. The work steps are related to the charge and discharge states recorded in the recording layer data.
[0026] The processing unit is also used to determine the corresponding type of work step layer data based on the different types of record layer data, and store the different types of work step layer data into the corresponding type of work step layer database. The work step layer data includes the integrated data corresponding to the record layer data under each work step.
[0027] The processing unit is also used to determine the loop layer data based on different categories of step layer data, and store the loop layer data in the loop layer database. The loop layer data includes the integrated data corresponding to the step layer data under each test loop.
[0028] The processing unit is also used to determine the cell layer data based on the cycle layer data, and store the cell layer data of different cells into the corresponding cell layer database. The cell layer data includes the integrated data corresponding to the cycle layer data of the cell under all test cycles in the life test.
[0029] Thirdly, this application provides an electronic device including a processor, a memory, and a communication interface. The processor, memory, and communication interface are interconnected and perform communication with each other. The memory stores executable program code, the communication interface is used for wireless communication, and the processor is used to retrieve the executable program code stored in the memory and execute some or all of the steps described in any of the methods in the first aspect.
[0030] Fourthly, this application provides a computer-readable storage medium storing electronic data, which, when executed by a processor, is used to perform the electronic data to implement some or all of the steps described in the first aspect of this application.
[0031] Fifthly, this application provides a computer program product including a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of this application. The computer program product may be a software installation package. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0033] Figure 1 This is a schematic diagram of the structure of a data storage system provided in an embodiment of this application;
[0034] Figure 2 A flowchart illustrating a data storage method provided in an embodiment of this application;
[0035] Figure 3 A flowchart illustrating another data storage method provided in an embodiment of this application;
[0036] Figure 4 A flowchart illustrating another data storage method provided in an embodiment of this application;
[0037] Figure 5 A functional unit block diagram of a data storage device provided in an embodiment of this application;
[0038] Figure 6 A functional unit block diagram of another data storage device provided in the embodiments of this application;
[0039] Figure 7 This is a structural block diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0040] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.
[0041] The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps is not limited to the steps listed, but may optionally include steps not listed, or may optionally include other steps inherent to these processes, methods, products, or apparatuses.
[0042] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0043] Please see Figure 1 , Figure 1 This is a schematic diagram of the structure of a data storage system provided in an embodiment of this application, such as... Figure 1As shown, the data storage system 100 includes a terminal device 101, a server 102, and a database 103.
[0044] Terminal equipment 101 refers to equipment used in the laboratory to record cell life test data, such as desktop computers, laptops, tablets, and smartphones.
[0045] Server 102 is used to process the raw test data obtained from terminal device 101 and store the processed data in database 103. Optionally, server 102 can be a single server, server cluster, cloud server, cloud computing service center, or other form of computing device (e.g., it can also be terminal device 101 with computing capabilities).
[0046] Database 103 includes multiple sub-databases, namely the cell layer database, the cycle layer database, the process layer database, and the record layer database.
[0047] Specifically, after server 102 obtains the life test file corresponding to the data generated after the battery cell life test, it divides the life test file into different categories of recording layer data according to different work steps, and stores the different categories of recording layer data into the corresponding category of recording layer database in database 103. The work step is related to the charge and discharge state recorded in the recording layer data. Based on the different categories of recording layer data, the corresponding category of work step layer data is determined, and the different categories of work step layer data are stored in the corresponding category of work step layer database in database 103. The work step layer data includes the integrated data corresponding to the recording layer data under each work step. Based on the different categories of work step layer data, the cycle layer data is determined, and the cycle layer data is stored in the cycle layer database in database 103. The cycle layer data includes the integrated data corresponding to the work step layer data under each test cycle. Based on the cycle layer data, the battery cell layer data is determined, and the battery cell layer data of different batteries is stored in the corresponding battery cell layer database in database 103. The battery cell layer data includes the integrated data corresponding to the cycle layer data under all test cycles of the battery cell in the life test.
[0048] As can be seen, the data generated after the life test of the battery cell is divided into recording layer, process layer, cycle layer, and battery cell layer, and then stored in sub-databases corresponding to different layers in the database. Compared to saving the data generated after the battery cell life test in different files, this facilitates subsequent querying and analysis. Furthermore, the division into recording layer, process layer, cycle layer, and battery cell layer can improve the diversity of data query and analysis for users.
[0049] Based on this, the present application provides a data storage method, and the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0050] Please see Figure 2 , Figure 2 This is a flowchart illustrating a data storage method provided in an embodiment of this application. The method is applied to the aforementioned server and / or terminal device, such as... Figure 2 As shown, the method includes the following steps:
[0051] Step S201: Obtain the life test file.
[0052] The lifespan test documentation includes data generated after the battery cell undergoes lifespan testing. Lifespan testing primarily estimates the number of cycles or time a battery cell can operate normally by simulating actual usage conditions. Currently, common testing methods involve repeatedly performing multiple charge-discharge cycles according to a predetermined charge-discharge pattern and recording the parameter changes after each cycle.
[0053] The following is a detailed explanation of the current step:
[0054] In one feasible embodiment, obtaining a lifespan test file includes: determining the relationship between the cell number and at least one first original test file, and the acquisition time of each first original test file, based on multiple original test files and the cell number; the cell number is the same as the cell number included in the first original test file; unifying the data format of the at least one first original test file to obtain at least one second original test file; and merging the data in the at least one second original test file based on the acquisition time of each second original test file to obtain a lifespan test file corresponding to each cell.
[0055] Specifically, the process begins with a full scan of the original folder containing the original test files. The filenames of the original test files or the cell numbers included within them are matched using the cell number format. This identifies at least one first original test file that successfully matches a cell number. Based on this, a relationship is established between the cell number, the first original test file, and the acquisition time of the first original test file, creating a list of associated cell files. The original test files contain, but are not limited to, information such as cell step number, step type, step time, absolute time, current, voltage, capacity, and temperature.
[0056] For example, Table 1 is an example of an original test file provided in the embodiments of this application. It should be understood that Table 1 is only an example of an original test file and should not be regarded as a limitation of this application.
[0057] Table 1
[0058]
[0059] Based on the cell-related file list, load the data from each of the first original test files in the list. Assume there are n first original test files, and the data corresponding to these files can be represented as D = [Data_1, Data_2, ..., Data_n]. Then, unify the data format of at least one first original test file to obtain at least one second original test file. Based on the acquisition time of each of the at least one second original test files, merge the data from the at least one second original test file to obtain the life test file corresponding to each cell. Since it contains cell aging cycle information, the life test file can contain the following basic attributes: time t, temperature T, current I, voltage V, and charge / discharge state S (0 indicates rest, 1 indicates charging, 2 indicates discharging). The amount of data for these attributes can be consistent and represented as n. Specifically, it can be represented as: time t=[t_1,t_2,…,t_n], temperature T=[T_1,T_2,…,T_n], current I=[I_1,I_2,…,I_n], voltage V=[V_1,V_2,…,V_n], and charging / discharging state S=[S_1,S_2,…,S_n] (0 represents rest, 1 represents charging, and 2 represents discharging).
[0060] In this application, the data format of at least one first original test file corresponding to the obtained battery cell is unified before the data is merged, which facilitates the subsequent division and storage of data at each level on a per-cell basis.
[0061] The following is a detailed explanation of methods for standardizing data formats:
[0062] In one feasible embodiment, unifying the data format of at least one first original test file to obtain at least one second original test file includes: unifying the header names of at least one first original test file based on a first mapping table to obtain at least one second original test file. The first mapping table includes the mapping relationship between the header names before and after format unification. If the first mapping table does not include the header names of at least one first original test file, then inputting at least one first original test file into a first language model to obtain at least one second original test file. The first language model is trained based on first training data, which includes the format-unified header names, the format-unified header names, and a reference header name format.
[0063] Specifically, based on the aforementioned loaded data D, the header names C = [C_1, C_2, ..., C_n] of each data are identified. For each header name C_i, it is standardized to a fixed format. Before standardizing the header names, a first mapping table needs to be established. The first mapping table includes the mapping relationship between the header names before and after standardization. Specifically, it can be divided into the mapping relationship between the actual header value and the standardized header value, as well as the mapping relationship between different units, such as energy (mWh) and energy (Wh). For example, Table 2 is an example of a first mapping table provided in this application.
[0064] Table 2
[0065]
[0066] Furthermore, if the first mapping table does not include the header names from the first original test file, meaning that the format of the first original test file cannot be unified based on the first mapping table, the first original test file can be input into the first language model to achieve format unification. The first language model is trained based on the first training data, which includes format-unified header names, format-unified header names, and reference header name formats.
[0067] For example, an existing large language model can be invoked. Specifically, an Application Programming Interface (API) for accessing the large language model needs to be obtained. The corresponding first training data may include the following:
[0068] "I will provide a list. Please identify which items in the list are related to ['Battery Average Temperature (°C)', 'Process Status', 'Process Sequence Number', 'Record Sequence Number', 'System Time', 'Capacity (Ah)', 'Cycle Sequence Number', 'Actual Voltage (V)', 'Actual Current (A)', 'Actual Power (W)', 'Energy (Wh)', 'Cumulative Discharge Capacity (Ah)', 'Cumulative Charge Capacity (Ah)', 'Cumulative Charge Energy (Wh)', 'Cumulative Discharge Energy (Wh)', 'Maximum Auxiliary Pressure (V)', 'Auxiliary Pressure (N)']. For each..." Each type is mapped to a dictionary, and the dictionary is output in YAML format (keys are Chinese characters). For example, I would give: ['Record Number', 'Absolute Time', 'Actual Voltage (V)', 'Set Voltage (V)', 'Actual Current (A)', 'Set Current (A)', 'Battery Temperature 1 (°C)', 'Battery Temperature 2 (°C)', 'Battery Temperature 3 (°C)', 'Actual Power (W)', 'Set Power (W)', 'Capacity (Ah)', 'Energy (Wh)', 'External Pressure (N|MPa)', 'Internal Pressure (N|MPa)', 'Auxiliary Channel TU1' U(V)','Auxiliary Channel TU1T(°C)','Charging Capacity (Ah)','Relative Time (h:min:s.ms)','Discharging Capacity (Ah)','Channel Voltage Difference (V)','Channel Temperature Difference (°C)','Steps','Cycles','Jump','Status','Minimum Battery Temperature (°C)','Maximum Battery Temperature (°C)','Average Battery Temperature (°C)','Channel Voltage','Channel Temperature'], you will output:
[0069] ```yaml
[0070] Average battery temperature (°C): [Average battery temperature (°C)]
[0071] Process step status: [Status]
[0072] Work step number: [step number]
[0073] Record number: [Record number]
[0074] System time: [Absolute time, relative time (h:min:s.ms)]
[0075] Capacity(Ah):[Capacity(Ah)]
[0076] Loop number: [loop]
[0077] Actual voltage (V): [Actual voltage (V)]
[0078] Actual current (A): [Actual current (A)]
[0079] Actual power (W): [Actual power (W)]
[0080] Energy (Wh): [Energy (Wh)]
[0081] Cumulative discharge capacity (Ah): [Charging capacity (Ah)]
[0082] Cumulative charging capacity (Ah): [Discharging capacity (Ah)]
[0083] Cumulative charging energy (Wh): []
[0084] Cumulative discharge energy (Wh): []
[0085] Maximum auxiliary pressure (V): []
[0086] Auxiliary pressure (N): []```”
[0087] After inputting the first training data into the first large language model, the table header names are compiled into a list and input into the first large language model. For example, inputting "['Record Number', 'Absolute Time', 'Actual Voltage (V)', 'Set Voltage (V)', 'Actual Current (A)', 'Set Current (A)', 'Battery Temperature 1 (°C)', 'Battery Temperature 2 (°C)', 'Battery Temperature 3 (°C)', 'Actual Power (W)', 'Set Power (W)', 'Capacity (Ah)', 'Energy (Wh)', 'External Pressure (N|MPa)', 'Internal Pressure (N|MPa)', 'Auxiliary Channel TU1 U (V)', 'Auxiliary Channel TU1 After [T(°C)','Charging Capacity(Ah)','Relative Time(h:min:s.ms)','Discharging Capacity(Ah)','Channel Voltage Difference(V)','Channel Temperature Difference(°C)','Steps','Cycles','Jump','State','Minimum Battery Temperature(°C)','Maximum Battery Temperature(°C)','Average Battery Temperature(°C)','Channel Voltage','Channel Temperature']", the large language model will return
[0088] Average battery temperature (°C): [Average battery temperature (°C)]
[0089] Process step status: [Status]
[0090] Work step number: [step number]
[0091] Record number: [Record number]
[0092] System time: [Absolute time, relative time (h:min:s.ms)]
[0093] Capacity (Ah): [Capacity (Ah), Charging Capacity (Ah), Discharging Capacity (Ah)]
[0094] Loop number: [loop]
[0095] Actual voltage (V): [Actual voltage (V)]
[0096] Actual current (A): [Actual current (A)]
[0097] Actual power (W): [Actual power (W)]
[0098] Energy (Wh): [Energy (Wh)]
[0099] Cumulative discharge capacity (Ah): [Discharge capacity (Ah)]
[0100] Cumulative charging capacity (Ah): [Charging capacity (Ah)]
[0101] Cumulative charging energy (Wh): []
[0102] Cumulative discharge energy (Wh): []
[0103] Maximum auxiliary pressure (V): []
[0104] Auxiliary pressure (N): [External pressure (N|MPa), Internal pressure (N|MPa)]
[0105] Understandably, the aforementioned method can automatically match key-value pairs to unify table header names. Alternatively, the first original test file can be directly input into the first language model to obtain the second original test file, without needing to unify table header names based on the first mapping table.
[0106] In this application, when the header name of the first original test file cannot be unified according to the first mapping table, the header name of the first original test file can also be unified through the first language model, which can improve the stability of the header name unification.
[0107] For example, please refer to Figure 3 , Figure 3 A flowchart illustrating another data storage method provided in this application embodiment is shown below. Figure 3As shown, the file scanning module 301 performs disk file detection to identify all original test files. Then, the file association module 302 establishes a relationship between the cell number and the corresponding original test file, as well as the acquisition time of each original test file, based on the cell number, thereby determining the cell-associated file list. After determining the cell-associated file list, the file processing module 303 processes each cell-associated original test file, specifically including: file recognition for each cell-associated original test file to determine if the header name in the original test file has a corresponding header name format in the first mapping table. If a corresponding format is identified, format unification processing can be performed based on the corresponding script and the first mapping table; if no corresponding format is identified, format unification processing can be performed based on the first language model. Finally, the data of each cell-associated original test file is merged, and the file storage module 304 performs the data import operation.
[0108] The specific methods for data import are explained in detail below:
[0109] Step S202: Divide the life test files into different categories of record layer data according to different work steps, and store the different categories of record layer data into the corresponding category of record layer database.
[0110] Among them, the process step is related to the charge and discharge state recorded in the recording layer data. It can be understood that a process step (also referred to as a "step" or "process") refers to a series of predefined operations during the battery charge and discharge cycle test, such as charging, discharging, and resting. For example, Table 3 provides an example of recording layer data provided in an embodiment of this application.
[0111] Table 3
[0112]
[0113]
[0114] The following is a detailed explanation of the current step:
[0115] In one feasible embodiment, the life test file is divided into different categories of recording layer data according to different steps, including: assigning a step number to the first data included in the life test file, wherein the first data is the data with the earliest time in the life test file; if the charge / discharge state included in the first data is different from the charge / discharge state included in the second data, then the step number corresponding to the second data is set to the sum between the step number corresponding to the first data and a first preset threshold, wherein the second data is the data in the life test file at the next moment after the first data; if the charge / discharge state included in the first data is the same as the charge / discharge state included in the second data, then the step number corresponding to the second data is set to the step number corresponding to the first data; repeating the above steps until each piece of data in the life test file has a corresponding step number; and dividing the life test file into different categories of recording layer data according to different step numbers.
[0116] The division of the life test file into different steps is primarily based on the charge / discharge states S in each data set within the life test file. Specifically, the first data set with the earliest time in the life test file is assigned a step number L1. L1 can be 1, or a list L = [1,1,1,…1] of length n (the number of data sets in the life test file) filled with only 1s can be initialized. This list will be used later to store the step number corresponding to each data set. The process iterates from the charge / discharge states S1 of the first data set to the charge / discharge states S of the nth data set. n If S i+1 =S i Then let L i+1 =L i This means that the (i+1)th data and the ith data are in the same step. If S i+1 ≠S i If the (i+1)th data and the ith data are in different steps, then the step number is incremented by 1, i.e., L. i+1 =L i +1. Repeat the aforementioned steps until the life test file contains a corresponding step number for each piece of data. Based on this method, the attribute L representing the step number can be obtained. Each piece of data with the same L value (which may include time t, temperature T, current I, voltage V, and charge / discharge state S) is divided into a category of record layer data. This allows the multiple pieces of data included in the life test file to be divided into different categories of record layer data. Subsequently, the record layer data of different categories are stored in the corresponding category's record layer database. Understandably, each piece of record layer data also needs to be labeled with its corresponding step number. Cell serial number.
[0117] In this application, the data corresponding to the charge and discharge states of each data point in the life test file is divided into record layer data corresponding to different work steps, thereby facilitating subsequent data query and analysis by users based on different work steps.
[0118] Step S203: Determine the corresponding work step layer data based on the different categories of record layer data, and store the different categories of work step layer data into the corresponding category of work step layer database.
[0119] The step-level data includes the integrated data corresponding to the record-level data under each step. It can be understood that the integrated data corresponding to the record-level data under each step refers to the data obtained after integrating the record-level data under each step. Data integration includes parameter extraction, calculation, and other processing of the record-level data of each step to obtain the step-level data under a preset parameter format. For example, Table 4 provides an example of step-level data provided in an embodiment of this application.
[0120] Table 4
[0121]
[0122]
[0123] For example, in one feasible embodiment, the recording layer data for each category includes at least one of the following: current, voltage, temperature, capacity, and charge / discharge state at different times; the step layer data includes at least one of the following: capacity change, average current, average temperature, starting voltage, ending voltage, charge / discharge state, and step time in the current step. Determining the corresponding step layer data based on the recording layer data of different categories includes: determining the average current and average temperature in the current step based on the average values of current and temperature at different times; determining the starting voltage and ending voltage in the current step based on the starting voltage and ending voltage in the voltage at different times; determining the capacity change in the current step based on the difference between the ending capacity and the starting capacity in the capacity at different times; determining the charge / discharge state in the current step based on the charge / discharge state at different times; and determining the step time in the current step based on the difference between the start time and the end time of the current step.
[0124] This embodiment primarily describes the integration of key data from the recording layer and the step-level data. The recording layer and step-level data may also include other data as shown in the previous examples. It is understood that the recording layer data is based on the dimensions of data recorded in each test, specifically divided into original test data corresponding to multiple times under different work steps. The step-level data can be obtained by integrating the original test data included in each work step based on the corresponding parameter format under the dimension of the work step. Data integration for the recording layer data includes, but is not limited to, average calculation, summation calculation, difference calculation, and key parameter extraction.
[0125] For example, for the temperature and current at each moment included in each recording layer data, an average value can be calculated to determine the average current and average temperature in each step layer data. For the voltage at each moment included in each recording layer data, only the start voltage and end voltage can be extracted as step layer data. Since the charging and discharging states are the same at each moment included in each recording layer data, the charging and discharging states can be directly used as step layer data. For the capacity at each moment in each recording layer data, the start capacity and end capacity can be extracted, and the difference can be calculated to determine the capacity change under the current step included in each step layer data. The time of the current step in each step layer data can be determined by the difference between the start time and end time of the current step in each recording layer data.
[0126] It is understood that the foregoing embodiments only provide a partial method for integrating recording layer data. Data integration for other recording layer data may also include other calculation methods or key parameter extraction. For specific examples, please refer to the foregoing examples of recording layer data and step layer data. Based on the correspondence between the recording layer data and other data included in the step layer data, the corresponding integration method can be determined. For instance, for the energy change at different times in each set of recording layer data, a summation calculation can be used to determine the energy change at the current step included in each set of step layer data. This will not be elaborated further here.
[0127] In this application, based on the data integration method, the process step layer data corresponding to each process step is determined, which facilitates subsequent cell life test analysis by users based on the process step dimension.
[0128] Step S204: Determine the loop layer data based on the different categories of work step layer data, and store the loop layer data in the loop layer database.
[0129] The loop layer data includes integrated data corresponding to the step layer data under each test loop. A test loop can be understood as the completion of a predefined operation within that test loop. For example, a test loop may include three consecutive steps: charging, resting, and discharging, or it may include five consecutive steps: charging, resting, charging, resting, and discharging. Table 5 provides an example of loop layer data provided in an embodiment of this application.
[0130] Table 5
[0131] Serial Number field name type Field Description 1 Barcode Str Cell number 2 CycleNo Int Battery cycle number 3 Qc Float Battery charge level for the current cycle, in Ah. 4 Qd Float Battery discharge capacity in the current cycle, in Ah. 5 SOH Float SOH of the battery in the current cycle 6 StepList List The work step number corresponding to the current loop
[0132] In a feasible embodiment, determining the cycle layer data based on different categories of step layer data includes: assigning the same cycle number to different categories of step layer data; based on the time order between different categories of step layer data, traversing from the first piece of step layer data in different categories to the last piece of step layer data; if there is a first data group in different categories of step layer data, then adding a second preset threshold to the cycle number corresponding to the step layer data after the first data group; the first data group includes multiple consecutive first step layer data, and the multiple consecutive first step layer data constitute the step layer data under a test cycle; determining the cycle layer data based on the data with the same cycle number in different categories of step layer data.
[0133] Before determining the cycle layer data, it is necessary to divide the different categories of work step layer data based on each test cycle, so as to determine the work step layer data included in each test cycle. Finally, each set of cycle layer data is determined based on the work step layer data included in each test cycle.
[0134] For example, the charging and discharging states of each step in different categories of step-level data can be analyzed. Composition list S step Assuming the total number of steps is denoted as m, we initialize a list of length m containing only 1s, Cycle = [1, 1, 1, ..., 1], to store the cycle numbers. The cycle number corresponding to the i-th step layer data (the i-th step) is Cycle. i Assuming charge / discharge states At this time, the corresponding charging / discharging state is rest, and the charging / discharging state is... Time: The corresponding charge / discharge state is charging, charge / discharge state At this time, the corresponding charge / discharge state is discharge, and one test cycle includes a continuous discharge, rest, and charge / discharge cycle. At this time, the charge / discharge state corresponding to the i-th step layer data is... Traversing to the charging / discharging state corresponding to the m-th step layer data (the last step layer data) If it appears and and Then Cycle i+1~m Increment by 1, meaning the cycle number corresponding to each step layer data from the (i+1)th to the last step layer data is incremented by 1. This gives us the cycle number (Cycle) for each step layer data (each step). Dividing the data according to different cycle numbers yields the step layer data included in each test cycle. Then, the total charging capacity of the current cycle is calculated. and total discharge capacity The sequence number is stored in the database, and the loop sequence number is synchronously updated to the process layer database and the record layer database.
[0135] Understandably, the loop layer data can be obtained by integrating the step layer data included in each test cycle based on the parameter format corresponding to the dimension of the test cycle. Once the step layer data included in each test cycle is determined, it is also necessary to integrate this data to determine the loop layer data for each test cycle. For example, determining the capacity change of the step layer data in the charging / discharging state within each test cycle determines the total charging capacity in the loop layer data; determining the capacity change of the step layer data in the discharging state within each test cycle determines the total discharging capacity in the loop layer data. Other data integration methods can refer to the data integration for the recording layer data, which will not be elaborated here.
[0136] In this application, the charge and discharge states corresponding to different categories of process layer data are used to divide them into process layer data corresponding to different test cycles. Then, the process layer data under different test cycles are integrated to determine the cycle layer data under different test cycles, which facilitates subsequent cell life test analysis based on different test cycles.
[0137] Step S205: Determine the cell layer data based on the cycle layer data, and store the cell layer data of different cells into the corresponding cell layer database.
[0138] The cell layer data includes integrated data corresponding to the cycle layer data of the cell under all test cycles in the life test. For example, the cell layer data may include basic information about each battery, such as current data status, cycle number, data source, storage time, and data level. Table 6 provides an example of cell layer data provided in an embodiment of this application.
[0139] Table 6
[0140]
[0141]
[0142] The cell-level data can be based on the parameter format corresponding to the cell dimension. Data from the cycle layer data included in each cell is integrated to obtain the cell-level data for all test cycles included in the cell life test. For example, it calculates information such as average temperature, current, power, rest time, initial charging capacity, and final charging capacity for all test cycles. The corresponding data integration method can refer to the aforementioned data integration for the recording layer data, and will not be repeated here.
[0143] Furthermore, after storing the recording layer data, process layer data, cycle layer data, and cell layer data based on the aforementioned embodiments, data queries can be performed based on the aforementioned databases at different levels.
[0144] For example, in one feasible embodiment, the method further includes: obtaining cell screening conditions; determining the number of at least one first cell that meets the cell screening conditions from a cell layer database; obtaining the number of at least one second cell; determining the cycle layer data corresponding to the number of at least one second cell from a cycle layer database; obtaining the number of at least one third cell and a first cycle number; determining the process layer data corresponding to the number of at least one third cell and the first cycle number from a process step layer database; obtaining the number of a fourth cell, a second cycle number, and a process step number; determining the record layer data corresponding to the number of the fourth cell, the second cycle number, and the process step number from a record layer database.
[0145] The cell selection criteria include various data types found in the cell layer data, such as temperature, rate capability, and power. Based on these criteria, the cell numbers that meet the criteria can be determined from the cell layer database. For example, by obtaining the cell selection criteria, the database can be used to determine the numbers of at least one first cell that meets the criteria. The query for cycle layer data in the cycle layer database can be based on the cell number to retrieve the corresponding cycle layer data. For example, based on the number of at least one second cell, the database can be used to determine the cycle layer data corresponding to that second cell number, which can be selected from the numbers of at least one first cell.
[0146] Queries based on step-level data in the step-level database can be performed based on the cell number and cycle number. For example, obtaining the number and first cycle number of at least one third cell, and determining the corresponding step-level data from the step-level database. This number and cycle number can be selected from the cycle-level data corresponding to the number of at least one second cell. Similarly, queries based on record-level data in the record-level database can be performed based on the cell number, cycle number, and step number. For example, obtaining the number, second cycle number, and step number of a fourth cell, and determining the corresponding record-level data from the record-level database. This number and cycle number can be selected from the step-level data corresponding to the number and cycle number of at least one third cell.
[0147] In addition, the data at each of the aforementioned levels can be displayed to users through graphs.
[0148] In this application, data at different database levels can be queried using corresponding methods, facilitating subsequent data queries at different levels for users.
[0149] For example, please refer to Figure 4 , Figure 4 A flowchart illustrating another data storage method provided in this application embodiment is shown below. Figure 4As shown, similarly, the file scanning module 301 first performs disk file detection to identify all original test files. Then, the file association module 302 determines the list of cell-associated files. The file processing module 303 then processes the original test files associated with each cell. Finally, the file storage module 304 performs data storage operations. Specifically, data storage involves: after dividing the recording layer data based on the aforementioned embodiments, recording layer data is stored; after determining the process step layer data based on the aforementioned embodiments and the recording layer data, process step layer data is stored; after determining the circulation pool data based on the aforementioned embodiments and the process step layer data, circulation layer data is stored; and after determining the cell layer data based on the aforementioned embodiments and the circulation layer data, cell layer data is stored. Finally, data modeling and data and feature visualization can be performed based on data at different levels. For example, this data modeling can refer to using statistical, machine learning, or deep learning methods to analyze and predict the performance and lifespan of the cell, thereby helping researchers and engineers better understand the cell's behavior patterns, optimize design, and improve battery reliability and lifespan. This data and feature visualization can refer to converting data into an image format based on a corresponding plotting method and displaying it to the user, such as a curve used to characterize capacity changes under different test cycles.
[0150] As can be seen from the embodiments of this application, the data generated after the battery cell life test is divided into recording layer, process layer, cycle layer, and battery cell layer, and then stored in sub-databases corresponding to different levels of the database. Compared to saving the data generated after the battery cell life test in different files, this method allows for a more centralized data distribution, and the division of data into different levels facilitates unified query and analysis of the test data by users. Furthermore, the division into recording layer, process layer, cycle layer, and battery cell layer better reflects the actual working conditions of battery cell life testing, increasing the diversity of data query and analysis for users.
[0151] For embodiments consistent with those shown above, please refer to... Figure 5 , Figure 5 This application provides a functional unit block diagram of a data storage device according to an embodiment of the present application. The data storage device is the aforementioned server and / or terminal device, or a part of the server and / or terminal device, such as... Figure 5 As shown, the data storage device 50 includes:
[0152] The acquisition unit 501 is used to acquire the life test file, which includes data generated after the battery cell undergoes a life test.
[0153] The processing unit 502 is used to divide the life test file into different categories of recording layer data according to different work steps, and store the different categories of recording layer data into the corresponding category of recording layer database. The work steps are related to the charge and discharge states recorded in the recording layer data.
[0154] The processing unit 502 is also used to determine the corresponding type of work step layer data based on the different types of record layer data, and store the different types of work step layer data into the corresponding type of work step layer database. The work step layer data includes the integrated data corresponding to the record layer data under each work step.
[0155] The processing unit 502 is also used to determine the loop layer data according to different types of step layer data, and store the loop layer data in the loop layer database. The loop layer data includes the integrated data corresponding to the step layer data under each test loop.
[0156] The processing unit 502 is further configured to determine the cell layer data based on the cycle layer data, and store the cell layer data of different cells into the corresponding cell layer database. The cell layer data includes the integrated data corresponding to the cycle layer data of the cell under all test cycles in the life test.
[0157] In a feasible embodiment, in terms of obtaining life test files, the acquisition unit 501 is specifically configured to: determine the relationship between the cell number and at least one first original test file, and the acquisition time of each first original test file, based on multiple original test files and the cell number, wherein the cell number is the same as the cell number included in the first original test file; unify the data format of at least one first original test file to obtain at least one second original test file; and merge the data in at least one second original test file based on the acquisition time of each second original test file to obtain a life test file corresponding to each cell.
[0158] In a feasible embodiment, in terms of unifying the data format of at least one first original test file to obtain at least one second original test file, the acquisition unit 501 is specifically used to: unify the header names in at least one first original test file based on a first mapping table to obtain at least one second original test file, wherein the first mapping table includes the mapping relationship between the header names before format unification and the header names after format unification; if the first mapping table does not include the header names in at least one first original test file, then input at least one first original test file into a first language model to obtain at least one second original test file, wherein the first language model is trained based on first training data, wherein the first training data includes the format-unified header names, the format-unified header names, and the reference header name format.
[0159] In a feasible embodiment, in dividing the lifetime test file into different categories of recording layer data according to different steps, the processing unit 502 is specifically configured to: assign a step number to the first data included in the lifetime test file, wherein the first data is the data with the earliest time in the lifetime test file; if the charge / discharge state included in the first data is different from the charge / discharge state included in the second data, then set the step number corresponding to the second data to the sum between the step number corresponding to the first data and a first preset threshold, wherein the second data is the data in the lifetime test file at the next moment after the first data; if the charge / discharge state included in the first data is the same as the charge / discharge state included in the second data, then set the step number corresponding to the second data to the step number corresponding to the first data; repeat the aforementioned steps until each piece of data in the lifetime test file has a corresponding step number; and divide the lifetime test file into different categories of recording layer data according to different step numbers.
[0160] In one feasible embodiment, the recording layer data for each category includes at least one of the following: current, voltage, temperature, capacity, and charge / discharge state at different times; the step layer data includes at least one of the following: capacity change, average current, average temperature, starting voltage, ending voltage, charge / discharge state, and step time in the current step. In determining the corresponding category of step layer data based on the recording layer data for different categories, the processing unit 502 is specifically configured to: determine the average current and average temperature in the current step based on the average values of current and temperature at different times; determine the starting voltage and ending voltage in the current step based on the starting voltage and ending voltage in the voltage at different times; determine the capacity change in the current step based on the difference between the ending capacity and the starting capacity in the capacity at different times; determine the charge / discharge state in the current step based on the charge / discharge state at different times; and determine the step time in the current step based on the difference between the start time and the end time of the current step.
[0161] In a feasible embodiment, in determining the cycle layer data based on different categories of step layer data, the processing unit 502 is specifically configured to: assign the same cycle number to different categories of step layer data; based on the time order between different categories of step layer data, traverse from the first piece of step layer data in different categories to the last piece of step layer data; if there is a first data group in different categories of step layer data, add a second preset threshold to the cycle number corresponding to the step layer data after the first data group; the first data group includes multiple consecutive first step layer data, and the multiple consecutive first step data constitute the step layer data under a test cycle; and determine the cycle layer data based on the data with the same cycle number in different categories of step layer data.
[0162] In one feasible embodiment, the acquisition unit 501 is further configured to acquire cell screening conditions, and the processing unit 502 is further configured to determine the number of at least one first cell that meets the cell screening conditions from the cell layer database; the acquisition unit 501 is further configured to acquire the number of at least one second cell, and the processing unit 502 is further configured to determine the cycle layer data corresponding to the number of at least one second cell from the cycle layer database; the acquisition unit 501 is further configured to acquire the number of at least one third cell and the first cycle sequence number, and the processing unit 502 is further configured to determine the process layer data corresponding to the number of at least one third cell and the first cycle sequence number from the process step layer database; the acquisition unit 501 is further configured to acquire the number of a fourth cell, the second cycle sequence number, and the process step sequence number, and the processing unit 502 is further configured to determine the record layer data corresponding to the number of the fourth cell, the second cycle sequence number, and the process step sequence number from the record layer database.
[0163] It is understood that since the method embodiments and the device embodiments are different presentations of the same technical concept, the content of the method embodiment section in this application should be adapted to the device embodiment section in a synchronous manner, and will not be repeated here.
[0164] When using integrated units, such as Figure 6 As shown, Figure 6 This is a functional unit block diagram of another data storage device provided in an embodiment of this application. Figure 6 In this document, the data storage device 60 includes a processing module 612 and a communication module 611. The processing module 612 controls and manages the operation of the data storage device 60, for example, the steps of the acquisition unit 501 and the processing unit 502, and / or other processes for executing the techniques described herein. The communication module 611 supports interaction between the data storage device 60 and other devices. Figure 6 As shown, the data storage device 60 may further include a storage module 613, which is used to store the program code and data of the data storage device 60.
[0165] The processing module 612 can be a processor or controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), an ASIC, an FPGA, or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computational functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. The communication module 611 can be a transceiver, RF circuitry, or a communication interface, etc. The storage module 613 can be a memory.
[0166] All relevant content in each scenario involved in the above method embodiments can be referenced from the functional descriptions of the corresponding functional modules, and will not be repeated here. The above data storage device 60 can all execute the above... Figure 2 The data storage method shown.
[0167] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions according to the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. A computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. Semiconductor media can be solid-state drives.
[0168] Figure 7 This is a structural block diagram of an electronic device provided in an embodiment of this application. Figure 7As shown, the electronic device 700 may include one or more of the following components: processor 701, memory 702 and communication interface 703. The processor 701, memory 702 and communication interface 703 are interconnected and perform communication between them. The memory 702 may store one or more computer programs. The one or more computer programs may be configured to implement the methods described in the above embodiments when executed by one or more processors 701.
[0169] Processor 701 may include one or more processing cores. Processor 701 connects to various parts within the electronic device 700 using various interfaces and lines, and performs various functions and processes data of the electronic device 700 by running or executing instructions, programs, code sets, or instruction sets stored in memory 702, and by calling data stored in memory 702. Optionally, processor 701 may be implemented using at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). Processor 701 may integrate one or more of a Central Processing Unit (CPU), Graphics Processing Unit (GPU), and modem. It is understood that the aforementioned modem may also not be integrated into processor 701, but may be implemented separately through a communication chip.
[0170] The memory 702 may include random access memory (RAM) or read-only memory (ROM). The memory 702 can be used to store instructions, programs, code, code sets, or instruction sets. The memory 702 may include a program storage area and a data storage area. The program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as touch functionality, sound playback functionality, image playback functionality, etc.), and instructions for implementing the various method embodiments described above. The data storage area may also store data created by the electronic device 700 during use.
[0171] It is understood that the electronic device 700 may include more or fewer structural elements than those shown in the above block diagram, such as a power module, physical buttons, WiFi (Wireless Fidelity) module, speaker, Bluetooth module, sensor, etc., without limitation.
[0172] The aforementioned electronic device 700 may be one of the aforementioned and / or terminal devices, or a server and / or terminal device.
[0173] This application provides a computer-readable storage medium storing program data, which, when executed by a processor, is used to perform some or all of the steps of any of the data storage methods described in the above method embodiments.
[0174] This application also provides a computer program product, including a computer program operable to cause a computer to perform some or all of the steps of any of the data storage methods described in the above method embodiments. This computer program product may be a software installation package.
[0175] It should be noted that, for the sake of simplicity, each of the aforementioned data storage method embodiments is described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to this application.
[0176] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple instances. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce a good effect.
[0177] Those skilled in the art will understand that all or part of the steps in the various method embodiments of any of the above data storage methods can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0178] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principle and implementation of a data storage method and related apparatus of this application. The description of the above embodiments is only for the purpose of helping to understand the method and its core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation and application scope based on the ideas of a data storage method and related apparatus of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0179] This application is described with reference to flowchart illustrations and / or block diagrams of methods, hardware products, and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0180] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0181] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0182] It is understood that any product that is controlled or configured to execute the processing method of the flowchart described in the method embodiment of the data storage method of this application, such as the terminal and computer program product of the above flowchart, falls within the scope of the related products described in this application.
[0183] Obviously, those skilled in the art can make various modifications and variations to the data storage method and related apparatus provided in this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.
Claims
1. A data storage method, characterized by, The method comprises: obtaining a life test file, wherein the life test file comprises data generated after a life test of a battery cell; dividing the life test file into different categories of record layer data according to different working steps, wherein the working steps are related to charge and discharge states recorded by the record layer data, and storing the different categories of record layer data into corresponding record layer databases; determining corresponding working step layer data according to the different categories of record layer data, wherein the working step layer data comprises integrated data corresponding to the record layer data at each working step, and storing the different categories of working step layer data into corresponding working step layer databases; determining cycle layer data according to the different categories of working step layer data, wherein the cycle layer data comprises integrated data corresponding to the working step layer data at each test cycle, and storing the cycle layer data into a cycle layer database; determining battery cell layer data according to the cycle layer data, wherein the battery cell layer data comprises integrated data corresponding to the cycle layer data at all test cycles of the battery cell in the life test, and storing the battery cell layer data of different battery cells into corresponding battery cell layer databases; wherein the method further comprises: obtaining a battery cell screening condition, and determining the number of at least one first battery cell meeting the battery cell screening condition from the battery cell layer database; obtaining the number of at least one second battery cell, and determining the cycle layer data corresponding to the number of the at least one second battery cell from the cycle layer database; obtaining the number of at least one third battery cell and a first cycle sequence number, and determining the working step layer data corresponding to the number of the at least one third battery cell and the first cycle sequence number from the working step layer database; obtaining the number of a fourth battery cell, a second cycle sequence number and a working step sequence number, and determining the record layer data corresponding to the number of the fourth battery cell, the second cycle sequence number and the working step sequence number from the record layer database.
2. The method of claim 1, wherein, The method comprises: determining the relationship between the number of a battery cell and at least one first original test file and the acquisition time of each first original test file according to a plurality of original test files and the number of the battery cell, wherein the number of the battery cell is the same as the number of a battery cell included in the first original test file; unifying the data format in the at least one first original test file to obtain at least one second original test file; merging the data in the at least one second original test file based on the acquisition time of each second original test file in the at least one second original test file to obtain a life test file corresponding to each battery cell.
3. The method of claim 2, wherein, The method comprises: unifying the table header names in the at least one first original test file based on a first mapping table to obtain the at least one second original test file, wherein the first mapping table comprises a mapping relationship between table header names before format unification and table header names after format unification; If the table header name in the at least one first original test file is not included in the first mapping table, the at least one first original test file is input into a first language model to obtain the at least one second original test file, the first language model is obtained based on first training data, and the first training data includes a format-unified table header name, a format-unified table header name, and a reference table header name format.
4. The method according to any one of claims 1 to 3, characterized in that, The dividing the life test file into different categories of recording layer data according to different working steps comprises: A working step sequence number is assigned to first data included in the life test file, the first data being data closest in time in the life test file; If the charge and discharge state included in the first data is different from the charge and discharge state included in second data, a working step sequence number corresponding to the second data is set as a sum of a working step sequence number corresponding to the first data and a first preset threshold, the second data being data at a time next to the first data in the life test file; If the charge and discharge state included in the first data is the same as the charge and discharge state included in the second data, a working step sequence number corresponding to the second data is set as a working step sequence number corresponding to the first data; The foregoing steps are repeated until each data included in the life test file has a corresponding working step sequence number; The life test file is divided into different categories of recording layer data according to different working step sequence numbers.
5. The method of claim 1, wherein, Each category of recording layer data includes at least one of current, voltage, temperature, capacity, and charge and discharge state at different times, and the working step layer data includes at least one of capacity change amount, average current, average temperature, starting voltage, ending voltage, charge and discharge state, and working step time in the current working step, and the working step layer data corresponding to each category is determined according to the different categories of recording layer data, comprising: The average current and average temperature in the current working step are determined according to the average values of the current and temperature at different times; The starting voltage and ending voltage in the current working step are determined according to the starting voltage and ending voltage in the voltage at different times; The capacity change amount in the current working step is determined according to a difference between the terminal capacity and the starting capacity in the capacity at different times; The charge and discharge state in the current working step is determined according to the charge and discharge state at different times; The working step time in the current working step is determined according to a difference between the start time and the end time of the current working step.
6. The method of claim 1, wherein, The cycle layer data is determined according to the different categories of working step layer data, comprising: A same cycle sequence number is assigned to the different categories of working step layer data. Based on the time sequence between the different categories of process step layer data, starting from the first process step layer data in the different categories of process step layer data to the last process step layer data, if there is a first data group in the different categories of process step layer data, the cycle sequence number corresponding to the process step layer data after the first data group is increased by a second preset threshold, the first data group includes a plurality of continuous first process step layer data, and the plurality of continuous first process step data are process step layer data under a test cycle; According to the data with the same cycle sequence number in the different categories of process step layer data, the cycle layer data is determined.
7. A data storage device, characterized by The device comprises: An acquisition unit is configured to acquire a life test file, wherein the life test file comprises data generated after a battery cell is subjected to a life test; A processing unit is configured to divide the life test file into different categories of record layer data according to different process steps, wherein the process steps are related to charging and discharging states recorded by the record layer data, and store the different categories of record layer data into a record layer database corresponding to the categories; The processing unit is further configured to determine process step layer data corresponding to the categories according to the different categories of record layer data, store the different categories of process step layer data into a process step layer database corresponding to the categories, and the process step layer data comprises integrated data corresponding to the record layer data under each process step; The processing unit is further configured to determine cycle layer data according to the different categories of process step layer data, store the cycle layer data into a cycle layer database, and the cycle layer data comprises integrated data corresponding to the process step layer data under each test cycle; The processing unit is further configured to determine battery cell layer data according to the cycle layer data, and store the battery cell layer data of different battery cells into a battery cell layer database corresponding to the battery cells, wherein the battery cell layer data comprises integrated data corresponding to the cycle layer data under all test cycles of the battery cell in the life test; The acquisition unit is further configured to acquire a battery cell screening condition, and the processing unit is further configured to determine the number of at least one first battery cell meeting the battery cell screening condition from the battery cell layer database; The acquisition unit is further configured to acquire the number of at least one second battery cell, and the processing unit is further configured to determine cycle layer data corresponding to the number of the at least one second battery cell from the cycle layer database; The acquisition unit is further configured to acquire the number of at least one third battery cell and a first cycle sequence number, and the processing unit is further configured to determine process step layer data corresponding to the number of the at least one third battery cell and the first cycle sequence number from the process step layer database; The acquisition unit is further configured to acquire the number of a fourth battery cell, a second cycle sequence number, and a process step sequence number, and the processing unit is further configured to determine record layer data corresponding to the number of the fourth battery cell, the second cycle sequence number, and the process step sequence number from the record layer database.
8. An electronic device, the device comprising a processor, a memory, and a computer program stored on the memory, characterized in that, The processor is configured to call the computer program stored on the memory to execute the method according to any one of claims 1-6.
9. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method according to any one of claims 1-6.
10. A computer program product comprising a computer program, characterized in that, The computer program, which when executed by a processor, implements the method according to any one of claims 1-6.
Citation Information
Patent Citations
Battery test data display method and device and storage medium
CN111814319A
Method and system for structure, generation and dynamic rendering of multi-level data
CN116204495A