Battery test data compression storage method

By selecting the appropriate data compression algorithm and establishing an index structure in the battery test data storage system, the problems of large amount of battery test data and low analysis efficiency are solved, data compression storage is realized, storage system performance and read and write efficiency are improved, and the storage system is extended. The lifespan of the storage medium.

CN113485646BActive Publication Date: 2024-11-22NEWARE TECH LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110778519.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-09
Publication Date
2024-11-22
Estimated Expiration
2041-07-09

AI Technical Summary

Technical Problem

During battery testing, the test time is long and the data volume is large, resulting in insufficient disk space, frequent reading and writing can easily damage the disk, and low data analysis efficiency.

Method used

By selecting appropriate data compression algorithms and parameters in the storage system, the battery test data is compressed and indexed structure is established, data storage and read and write operations are optimized, disk usage is reduced and analysis efficiency is improved.

Benefits of technology

It realizes data compression storage, reduces disk space usage, improves the performance and read and write performance of the storage system, extends the life of the storage medium, and improves data analysis efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113485646B_ABST
    Figure CN113485646B_ABST
Patent Text Reader

Abstract

The present invention discloses a battery test data compression storage method, comprising the following steps: S1: selecting corresponding data compression algorithms and parameters for data compression as data segments to be compressed according to the work step layer data and several layers of record data set by the storage system; S2: writing the compressed data segments and the compression algorithms and parameters into a storage device or a storage medium. The present invention has the following beneficial effects: the battery test data compression storage method can realize the compressed storage of battery test data, thereby improving the performance of the storage system; reducing the disk space of the storage system, speeding up the opening speed of the battery test data file, improving the data analysis efficiency, and improving the read and write performance and service life of the storage system.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention belongs to the technical field of data storage and relates to a battery test data compression storage method. [Background technology]

[0002] With the explosive growth of data volume, the amount of data stored in storage systems is increasing. According to IDC statistics, the total amount of global data reached trillions of GB in 2012, and more than 95% of the data was unstructured data. In many data-centric computing centers, the amount of new data generated every day has reached 100GB or even 1TB. At the same time, new storage media and their technologies, such as flash memory and phase change memory, are also constantly developing. Many existing computer systems use data compression technology to compress stored data, effectively reducing the storage cost of the system, and can potentially reduce write operations to the storage medium, improving the life of the storage medium and the access performance of the system.

[0003] At present, traditional data storage technology has the following problems: during battery testing, the battery test time is long, the data is large, the disk space is easily insufficient, and too frequent reading and writing can easily damage the disk, resulting in low efficiency during data analysis. [Summary of the invention]

[0004] The purpose of the present invention is to solve the problems that during battery testing, the battery testing time is long, the data is large, the disk space is easily insufficient, too frequent reading and writing can easily damage the disk, and the efficiency of data analysis is low, and a new battery test data compression storage method is provided.

[0005] The present invention is achieved through the following technical solutions:

[0006] A method for compressing and storing battery test data comprises the following steps:

[0007] S1: Select corresponding data compression algorithm and parameters to perform data compression according to the work step layer data set by the storage system and the battery test data of several layers of recorded data as the data segment to be compressed;

[0008] S2: Write the compressed data segment, compression algorithm and parameters into a storage device or storage medium.

[0009] Furthermore, the specific process of compression in step S1 is as follows:

[0010] 1) several layers of recorded data establish mapping relationships between each stored data segment or stored data compression segment and each file's logical data segment, establish an index structure for all mapping relationships, and write the index structure into a storage device or storage medium;

[0011] 2) writing data of several layers of recorded data into a data stream, dividing the written data stream into one or more written data segments; the recorded data is compressed by selecting a corresponding compression algorithm and parameters for each written data segment according to the process step layer data set by the storage system and the current battery test data of several layers of recorded data, thereby generating a compressed data segment;

[0012] 3) Writing the compressed data segment into a storage device or storage medium, and updating the index structure, writing the updated part of the index structure into the storage device or storage medium.

[0013] Furthermore, each of the data segments or the data compression segments in the index structure in step 1) is mapped one-to-one with an index segment; each of the index segments is represented as: work step layer data, first layer record data, second layer record data.

[0014] Furthermore, the work step layer data includes but is not limited to the work step number, cycle number, work step type, and starting data sequence number.

[0015] Furthermore, the first layer of recorded data includes but is not limited to step time, absolute time, capacity, energy, time interval, and starting data sequence number. The first layer of recorded data classifies data with the same recording interval into the same category. This segment of data only records the step time, absolute time, capacity, and energy of the first data. These parameters of other data are calculated based on the first data and the time interval. If a segment of data is relatively large, one segment is split into multiple segments to reduce the amount of calculation and deviation when viewing the data.

[0016] Furthermore, the second layer of recorded data includes but is not limited to current and voltage, and the second layer of recorded data records the current and voltage of each piece of data.

[0017] Furthermore, the starting data sequence number is incremented each time the index segment is updated.

[0018] The beneficial effects of the present invention are:

[0019] (1) The battery test data compression storage method can realize concurrent data compression operations, thereby improving the performance of the storage system; it can not only meet the compression requirements of the storage system but also reduce the space of the storage system, thereby greatly optimizing the performance of the storage system;

[0020] (2) The battery test time is short and the data is small, which reduces the disk space of the storage system, improves the data analysis efficiency, and improves the read and write performance and service life of the storage system;

[0021] (3) The first layer of recorded data in the battery test data compression storage method can greatly reduce the disk space occupied, can use a smaller disk to store more data, and can reduce the file size and improve the file reading speed, thereby optimizing the efficiency of analyzing and viewing data;

[0022] (4) The second-layer record data in the battery test data compression storage method only needs to record the current and voltage of each data, and the other data is calculated from the process layer data and the first-layer record data. Many second-layer record data share the same process layer data and the first-layer record data. On average, the size of each data does not exceed 9 bytes;

[0023] (5) After being compressed by this method, the data can be compressed again by traditional compression methods to further reduce disk usage.

Brief Description of the Drawings

[0024] Figure 1 This is a schematic diagram of the structure of the battery test data compression storage system of the present invention; [Specific implementation method]

[0025] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments:

[0026] like Figure 1 As shown, a method for compressing and storing battery test data includes the following steps:

[0027] S1: Select corresponding data compression algorithm and parameters to perform data compression according to the work step layer data set by the storage system and the battery test data of several layers of recorded data as the data segment to be compressed;

[0028] S2: Write the compressed data segment, compression algorithm and parameters into a storage device or storage medium.

[0029] Preferably, the specific process of compression in step S1 is:

[0030] 1) several layers of recorded data establish mapping relationships between each stored data segment or stored data compression segment and each file's logical data segment, establish an index structure for all mapping relationships, and write the index structure into a storage device or storage medium;

[0031] 2) writing data of several layers of recorded data into a data stream, dividing the written data stream into one or more written data segments; the recorded data is compressed by selecting a corresponding compression algorithm and parameters for each written data segment according to the process step layer data set by the storage system and the current battery test data of several layers of recorded data, thereby generating a compressed data segment;

[0032] 3) Writing the compressed data segment into a storage device or storage medium, and updating the index structure, writing the updated part of the index structure into the storage device or storage medium.

[0033] Preferably, each of the data segments or the data compression segments in the index structure in step 1) is mapped one-to-one with an index segment; each of the index segments is represented as: work step layer data, first layer record data, second layer record data.

[0034] Preferably, the work step layer data includes but is not limited to the work step number, cycle number, work step type, and starting data sequence number.

[0035] Preferably, the first layer of recorded data includes but is not limited to step time, absolute time, capacity, energy, time interval, and starting data sequence number. The first layer of recorded data classifies data with the same recording interval into the same category. This segment of data only records the step time, absolute time, capacity, and energy of the first data. These parameters of other data are calculated based on the first data and the time interval. If a segment of data is relatively large, split it into multiple segments to reduce the amount of calculation and deviation when viewing the data.

[0036] Preferably, the second layer of recorded data includes but is not limited to current and voltage, and the second layer of recorded data records the current and voltage of each piece of data.

[0037] Preferably, the starting data sequence number is incremented each time the index segment is updated.

[0038] According to the disclosure and teaching of the above description, those skilled in the art to which the present invention belongs may also make appropriate changes and modifications to the above embodiments. Therefore, the present invention is not limited to the specific embodiments disclosed and described above, and some modifications and changes to the present invention should also fall within the scope of protection of the claims of the present invention. In addition, although some specific terms are used in this specification, these terms are only for the convenience of description and do not constitute any limitation to the present invention.

Claims

1. A method for compressing and storing battery test data, characterized in that: The steps include: S1: According to the work step layer data set by the storage system and the battery test data of several layers of recorded data, the corresponding data compression algorithm and parameters are selected for data compression as the data segment to be compressed; the specific process of data compression is as follows: 1) Several layers of record data establish mapping relationships between each stored data segment or stored data compression segment and each file's logical number segment, establish an index structure for all mapping relationships, and write the index structure into a storage device or storage medium; each data segment or data compression segment in the index structure is mapped one-to-one with an index segment; each index segment is represented as: step layer data, first layer record data, second layer record data; the step layer data includes but is not limited to step number, cycle number, step type, and starting data sequence number; the first layer record data includes but is not limited to step time, absolute time, capacity, energy, time interval, and starting data sequence number. The first layer record data classifies data with the same recording interval into the same category. This data only records the step time, absolute time, capacity, and energy of the first data. These parameters of other data are calculated based on the first data and time interval. If a segment of data is relatively large, split it into multiple segments to reduce the amount of calculation and deviation when viewing the data; 2) writing data of several layers of recorded data into a data stream, dividing the written data stream into one or more written data segments; the recorded data selects a corresponding compression algorithm and parameters for each written data segment to perform data compression according to the working step layer data set by the storage system and the current battery test data of several layers of recorded data, and generates a compressed data segment; 3) writing the compressed data segment into a storage device or storage medium, and updating the index structure, writing the updated part of the index structure into the storage device or storage medium; S2: Write the compressed data segment, compression algorithm and parameters into a storage device or storage medium.

2. The method for compressing and storing battery test data according to claim 1, characterized in that: The second layer of recorded data includes current and voltage, and the second layer of recorded data records the current and voltage of each piece of data.

3. The method for compressing and storing battery test data according to claim 1, characterized in that: The starting data sequence number is incremented each time the index segment is updated.