Environmental test database making method and system, electronic equipment and storage medium
By designing and implementing the structure and data storage solution of HDF5 database, the problem of inefficient data storage and management of complex environment experiments is solved, and efficient data storage and retrieval is achieved.
Patent Information
- Application Number
- CN202510244971.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-04
- Publication Date
- 2025-03-28
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The prior art is difficult to efficiently and systematically store and manage complex environmental test data, and cannot fully utilize the advantages of HDF5 data storage format.
By obtaining data sources related to complex environmental experiments, performing data analysis and preprocessing, designing the HDF5 database structure, selecting appropriate compression algorithms and storage formats, storing data into the HDF5 database, and establishing data indexes and metadata.
It realizes efficient storage and management of experimental data in complex environments, improves the efficiency of data reading and retrieval, and solves the problem of inefficient data storage and management in the prior art.
Smart Images

Figure CN119719031A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of databases, and in particular to a method, system, electronic equipment and storage medium for making an environmental test database. Background Art
[0002] Complex environmental testing is a key step to ensure that special equipment can work normally in extreme environments. This type of test will generate a large amount of data, including multiple environmental parameters such as vibration, noise, pressure, shock, micro-vibration, thermal stability and thermal vacuum, as well as the response data of special equipment. Traditional data storage methods, such as text files or simple binary files, are difficult to store and retrieve these data efficiently and systematically. HDF5 (Hierarchical Data Format version 5), as an open source data storage format, was developed and maintained by the Center for Supercomputing Applications (NCSA) of the United States. It aims to provide efficient, flexible and scalable data storage solutions, which are very suitable for storing and processing large-scale test data.
[0003] However, there is currently a lack of a HDF5 database creation method and system for complex environmental test data, and it is impossible to fully utilize the advantages of HDF5 to efficiently manage and analyze complex environmental test data.
[0004] Therefore, a study on the method of making a complex environment test database based on the HDF5 format was carried out to collect all relevant data generated during the complex environment test, including test data sets of various complex environments such as sinusoidal vibration, random vibration, noise, shock, micro-vibration, thermal stability and thermal vacuum. The collected data were preprocessed, including data cleaning and format conversion, to obtain a standard data source that can be used for database production. According to the characteristics and requirements of complex environment test data, the structure of the HDF5 database was designed, including data sets, attribute sets and grouping. According to the type and characteristics of the data, a suitable compression algorithm and storage format were selected from the various data compression algorithms and storage formats provided by the HDF5 library, and the preprocessed data were stored in the HDF5 database. The HDF5 database was verified to ensure its integrity and accuracy, and optimized as needed to improve the efficiency of data reading and retrieval, so as to solve the problem of low efficiency in complex environment test data storage and management in the existing technology. Summary of the invention
[0005] In view of the shortcomings existing in the above problems, the present invention provides a method, system, electronic device and storage medium for preparing an environmental test database.
[0006] To achieve the above object, the present invention provides a method for preparing an environmental test database, comprising: Acquire data sources related to complex environment tests, the data sources including public information data, test type code table, global attribute data, time domain data and frequency domain data; Selecting a corresponding parsing method based on the format of the data source, and obtaining parsed data after parsing; Creating a test data file in HDF5 format based on the parsed data, wherein the test data file is hierarchically managed according to a data common information group and a data set group; Select the corresponding compression algorithm based on different test data types to compress and store in the HDF5 database; Data indexes and metadata are created in the HDF5 database.
[0007] Preferably, the public information data includes product name, product code, product name, development stage, and data generation time; the test type code table is a list of test type code values, and its attributes include data set code, data set channel number, and Chinese name of scientific data set.
[0008] Preferably, the global attribute interface, the time domain data interface and the frequency domain data interface parsing method are traversed and called according to the data set code to distinguish the test type; The global attribute data parsing method parses the measurement point type information, measurement channel sequence number, measurement point name, measurement point code, measurement point coordinates, measurement point unit and measurement point function key-value pairs in the global attributes according to the preset field definition; The time domain data parsing method parses the test direction, test magnitude, measuring point code and measuring point data in the time domain data, and for the measuring point data, its data type and data length need to be identified; The frequency domain data parsing method parses the data information attributes and data of the frequency domain data set.
[0009] Preferably, the key values of the key-value pairs created by product name, product code, product name, development stage, data generation time, annotation 1, annotation 2, and annotation 3 are created in the data public information group, and the sinusoidal vibration test data set, random vibration test data set, noise test data set, impact test data set, micro-vibration test data set, micro-vibration test transfer function test data set, micro-vibration modal test data set, disturbance source disturbance test data set, thermal stability test data set, thermal vacuum test data set, real-time test static data set, real-time test mechanical environment data set, real-time test micro-vibration data set, real-time test state quantity monitoring data set, and active vibration absorption real-time debugging monitoring data set are created in the data set group.
[0010] Preferably, three subgroups are created in the sinusoidal vibration test data set, the random vibration test data set, the noise test data set, the impact test data set, the micro-vibration test transfer function test data set, the real-time test micro-vibration data set, and the active vibration absorption real-time debugging monitoring data set, including a data set global attribute group, a time domain data set group 1 to M, and a frequency domain data set group 1 to M; Two subgroups are created in each of the micro-vibration test data set, the disturbance source disturbance test data set, the thermal stability test data set, the thermal vacuum test data set, the real-time test static data set, the real-time test mechanical environment data set, and the real-time test state quantity monitoring data set, including a data set global attribute group and a time domain data set group 1 to M data set groups; Three subgroups are created in the micro-vibration modal test data set, including a data set global attribute group, a modal parameter data set group 1 to M, and a vibration shape data set group 1 to N; Among them, the key values of the key-value pairs of measurement 1~N channel numbers, measurement point 1~N names, measurement point 1~N codes, measurement point 1~N coordinates and measurement point 1~N units are created in the global attribute group of the data set in the micro-vibration modal test data set; the key values of the key-value pairs of measurement point 1~N type information, measurement 1~N channel numbers, measurement point 1~N names, measurement point 1~N codes, measurement point 1~N coordinates, measurement point 1~N units and measurement point 1~N functions are created in the global attribute groups of the remaining data sets; Creating a time domain data information attribute group and a time domain data group in the time domain data set groups 1 to M; The frequency domain data set groups 1 to M create a frequency domain data information attribute group and a frequency domain data group; Creating a modal data information attribute group and a modal data group in the modal parameter data set groups 1 to M; The vibration type data set groups 1 to N create vibration type data information attribute groups and vibration type data groups.
[0011] Preferably, among the sinusoidal vibration test data set, the noise test data set and the random vibration test data set: The time domain data information attribute group creates the key values of the key-value pairs of test direction, test magnitude, test number, sampling rate, data start time, data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4, Create time domain measurement point 1~N codes and key values of time domain measurement point 1~N data key-value pairs in the time domain data group; The frequency domain data information attribute group creates the key values of the test direction, test magnitude, test number, scan rate, test design conditions, note 1, note 2, note 3, and note 4 key value pairs; The frequency domain data group creates the key values of the frequency domain measurement point 1~N code and the frequency domain measurement point 1~N data key value pair; The impact test data set, the micro-vibration test data set, the micro-vibration test transfer function test data set, the disturbance source disturbance test data set, the thermal stability test data set, the thermal vacuum test data set and the active vibration absorption real-time debugging monitoring data set are included: The key values of the test sub-condition name, sampling rate, data start time, data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs are created in the time domain data information attribute group; Create time domain measurement point 1~N codes and key values of time domain measurement point 1~N data key-value pairs in the time domain data group; The key values of the test sub-condition name, shock spectrum response spectrum factor, frequency resolution, note 1, note 2, note 3, and note 4 key-value pairs in the frequency domain data information attribute group; The frequency domain data group creates the key values of the frequency domain measurement point 1~N code and the frequency domain measurement point 1~N data key value pair; The real-time test static data set, the real-time test mechanical environment data set, the real-time test micro-vibration data set, and the real-time test state quantity monitoring data set include: Create key values of the key-value pairs of measurement period, measurement event name, annotation 1, annotation 2, annotation 3, and annotation 4 in the time domain data information attribute group; Create type 1~M measuring point 1~N codes and type 1~M measuring point 1~N data key-value pairs in the time domain data group; The key values of the key-value pairs of measurement period, measurement event name, annotation 1, annotation 2, annotation 3, and annotation 4 in the frequency domain data information attribute group; The frequency domain data group creates key values of type 1~N measurement point 1~N codes and type 1~N measurement point 1~N data key-value pairs; Creating a modal data information attribute group and a modal data group in the modal parameter data set groups 1 to M; The vibration type data information attribute group in the vibration type data set groups 1 to N creates the key values of the key-value pairs of annotation 1, annotation 2, annotation 3, and annotation 4; The key values of the key value pairs of mode 1-N names, mode 1-N natural frequencies and mode 1-N modal damping ratios are created in the vibration mode data group; Creating key values of normalization method, order, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the vibration mode data set groups 1 to N; The vibration mode data group creates the key values of the measurement point 1-N codes and the measurement point 1-N vibration mode key-value pairs.
[0012] Preferably, the global attributes of "product code", "product name", "development stage", "data set code", "measuring point 1~N code", "data set", "test direction", "test sub-condition name", "measurement event name" and "test magnitude" are obtained through the test data file, and the H5AOpen interface is called according to the global attributes to quickly locate the relevant attributes, and then the H5Aread interface is called according to the relevant attributes to quickly read the relevant attribute values.
[0013] The present application also provides an environmental test database production system, including: An acquisition module is used to acquire data sources related to complex environment tests, wherein the data sources include public information data, test type code table, global attribute data, time domain data, and frequency domain data; A parsing module, used for selecting a corresponding parsing method based on the format of the data source, and obtaining parsed data after parsing; A creation module, used for creating a test data file in HDF5 format based on the parsed data, wherein the test data file is hierarchically managed according to a data common information group and a data set group; Compression module, used to select corresponding compression algorithms based on different test data types to compress and store them in HDF5 database; The reading module is used to establish data index and metadata in the HDF5 database.
[0014] The present invention also provides an electronic device, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the above method.
[0015] The present invention also provides a storage medium storing a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device executes the above method.
[0016] Compared with the prior art, the present invention has the following beneficial effects: The present invention realizes the collection of all relevant data generated during complex environmental tests, including test data sets of various complex environments such as sinusoidal vibration, random vibration, noise, impact, micro-vibration, thermal stability and thermal vacuum. The collected data is preprocessed, including data cleaning, format conversion, etc., to obtain a standard data source that can be used for database production. According to the characteristics and requirements of complex environmental test data, the structure of the HDF5 database is designed, including data sets, attribute sets and groupings. According to the type and characteristics of the data, a suitable compression algorithm and storage format are selected from the various data compression algorithms and storage formats provided by the HDF5 library, and the preprocessed data is stored in the HDF5 database. The HDF5 database is verified to ensure its integrity and accuracy, and optimized as needed to improve the efficiency of data reading and retrieval, so as to solve the problem of low efficiency in complex environmental test data storage and management in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a flow chart of the method for making an environmental test database of the present invention. DETAILED DESCRIPTION
[0018] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0019] Reference Figure 1 The present invention provides a method for preparing an environmental test database, comprising: Obtain data sources related to complex environment tests, including public information data, test type code table, global attribute data, time domain data, and frequency domain data; Specifically, the test data of complex environments is obtained by connecting to the service interface provided by the AIT system; the service interface includes: public information set interface, test type code table interface, global attribute interface, time domain data set interface and frequency domain data set interface; Select the corresponding parsing method based on the format of the data source, and obtain the parsed data after parsing; Specifically, the public information set interface is called to obtain attributes such as product name, product code, product name, development stage, data generation time, etc. and store them in the public information set; the test type code table interface is called to obtain the test type code value list. The code table attributes include data set code, data set channel number and scientific data set Chinese name. According to the data set code, the test type is distinguished and the global attribute, time domain data set and frequency domain data set interface parsing method is called. The global attribute parsing, according to the preset field definition, parses the key-value pairs such as measurement point type information, measurement channel sequence number, measurement point name, measurement point code, measurement point coordinates, measurement point unit and measurement point function in the global attribute. Time domain data set parsing, parses the data information attributes (such as test direction, test magnitude, etc.) and data (such as measurement point code and measurement point data) in the time domain data set. In particular, for the measurement point data, its data type and data length need to be identified and processed accordingly. Frequency domain data set parsing, parses the data information attributes and data in the frequency domain data set. Pay attention to the processing of the special data set of test design conditions, which may contain multiple fields and values. During the analysis process, the data is strictly checked to ensure its integrity, accuracy and consistency. For data that does not conform to the expected format or range, error processing or marking is performed. The organized and structured test data is stored in a temporary data set; Create test data files in HDF5 format based on parsed data. Test data files are hierarchically managed according to data common information groups and data set groups. Specifically, according to the characteristics and requirements of complex environment test data, the structure of HDF5 database is designed. The common data information is placed in the public data information, and hierarchical management is performed according to different information levels. Different test items and measurement type data are divided into different data sets for management. Currently, there are 15 data sets in total. Including: sinusoidal vibration test data set, random vibration test data set, noise test data set, impact test data set, micro-vibration test data set, micro-vibration test transfer function test data set, micro-vibration modal test data set, disturbance source disturbance test data set, thermal stability test data set, thermal vacuum test data set, real-time test static data set, real-time test mechanical environment data set, real-time test micro-vibration data set, real-time test state quantity monitoring data set, active vibration absorption real-time debugging monitoring data set.
[0020] Furthermore, using the API interface provided by the HDF5 library, create an HDF5 complex environment test data file, if the file already exists, it will be overwritten. Create a complex environment test data group in the HDF5 complex environment test data file, and create two groups, a public information set and data, in the complex environment test data group.
[0021] Create product name, product code, product name, development stage, data generation time, annotation 1, annotation 2, and annotation 3 in the public information set group to create key values of the key-value pair.
[0022] The data type of the product name is a string and the data length is 30 bytes; The data type of the product code is a string and the data length is 20 bytes; The data type of the product name is a string and the data length is 30 bytes; The data type in the development stage is a string and the data length is 20 bytes; The data type is string and the data length is 20 bytes; The data type of the data generation time is a string and the data length is 30 bytes; Note 1: The data type is string and the data length is 30 bytes; Note 2: The data type is string and the data length is 30 bytes; The data type of annotation 3 is a string and the data length is 30 bytes.
[0023] 15 groups are created in the data group, including sinusoidal vibration test data set, random vibration test data set, noise test data set, impact test data set, micro-vibration test data set, micro-vibration test transfer function test data set, micro-vibration modal test data set, disturbance source disturbance test data set, thermal stability test data set, thermal vacuum test data set, real-time test static data set, real-time test mechanical environment data set, real-time test micro-vibration data set, real-time test state quantity monitoring data set, and active vibration absorption real-time debugging monitoring data set.
[0024] Three groups are created within the sinusoidal vibration test dataset group: dataset global attributes, time domain dataset 1~M, and frequency domain dataset 1~M.
[0025] Create the key values of the measurement point 1~N type information, measurement 1~N channel sequence number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinates, measurement point 1~N unit and measurement point 1~N function key-value pairs in the global attribute group of the dataset.
[0026] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; The data type of the measurement point 1~N function is a string and the data length is 10 bytes.
[0027] Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0028] Create key values of the key-value pairs of test direction, test magnitude, number of tests, sampling rate (interval), data start time (seconds), data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0029] The data type of the test direction is a string and the data length is 8 bytes; The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of the sampling rate (interval) is a string and the data length is 8 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 10 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0030] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0031] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measuring points 1 to N is data set, and the data length is [100000, 6]; Create two groups, data information attributes and data, in the frequency domain data set 1~M group.
[0032] Create key values of the key-value pairs of test direction, test magnitude, number of tests, scanning rate, test design conditions, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0033] The data type of the test direction is a string and the data length is 8 bytes; The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of the scan rate is a string and the data length is 8 bytes; The data type of the experimental design condition is data set, and the data length is [30,2]; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0034] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0035] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measurement points 1 to N is data set, and the data length is [500,6]; Three groups are created in the noise test dataset group: dataset global attributes, time domain dataset 1~M, and frequency domain dataset 1~M.
[0036] Create the key values of the measurement point 1~N type information, measurement 1~N channel sequence number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinates, measurement point 1~N unit and measurement point 1~N function key-value pairs in the global attribute group of the dataset.
[0037] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; The data type of the measurement point 1~N function is a string and the data length is 10 bytes.
[0038] Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0039] Create key values of the key-value pairs of test magnitude, test number, sampling rate (interval), data start time (seconds), data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0040] The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of the sampling rate (interval) is a string and the data length is 8 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 10 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0041] Create measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0042] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data at measuring points 1 to N is data set, and the data length is [200000, 6]; Create two groups, data information attributes and data, in the frequency domain data set 1~M group.
[0043] Create key values for the key-value pairs of test magnitude, number of tests, frequency resolution, frequency domain data unit, start frequency, number of frequency points, test design conditions, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0044] The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of frequency resolution is string and the data length is 8 bytes; The data type of the frequency domain data unit is a string and the data length is 16 bytes; The data type of the start frequency is a string and the data length is 8 bytes; The data type of the frequency point number is a string and the data length is 8 bytes; The data type of the experimental design condition is data set, and the data length is [30,2]; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0045] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0046] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measurement points 1 to N is data set, and the data length is [500,6]; Create key values of the key-value pairs of test direction, test magnitude, number of tests, scanning rate, test design conditions, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0047] The data type of the test direction is a string and the data length is 8 bytes; The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of the scan rate is a string and the data length is 8 bytes; The data type of the experimental design condition is data set, and the data length is [30,2]; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0048] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0049] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measurement points 1 to N is data set, and the data length is [500,6]; Three groups are created in the noise test dataset group: dataset global attributes, time domain dataset 1~M, and frequency domain dataset 1~M.
[0050] Create the key values of the measurement point 1~N type information, measurement 1~N channel sequence number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinates, measurement point 1~N unit and measurement point 1~N function key-value pairs in the global attribute group of the dataset.
[0051] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; The data type of the measurement point 1~N function is a string and the data length is 10 bytes.
[0052] Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0053] Create key values of the key-value pairs of test magnitude, test number, sampling rate (interval), data start time (seconds), data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0054] The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of the sampling rate (interval) is a string and the data length is 8 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 10 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0055] Create measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0056] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data at measuring points 1 to N is data set, and the data length is [200000, 6]; Create two groups, data information attributes and data, in the frequency domain data set 1~M group.
[0057] Create key values for the key-value pairs of test magnitude, number of tests, frequency resolution, frequency domain data unit, start frequency, number of frequency points, test design conditions, annotation 1, annotation 2, annotation 3, and annotation 4 in the data information attribute group.
[0058] The data type of the test level is a string and the data length is 16 bytes; The data type of the test number is a string and the data length is 8 bytes; The data type of frequency resolution is string and the data length is 8 bytes; The data type of the frequency domain data unit is a string and the data length is 16 bytes; The data type of the start frequency is a string and the data length is 8 bytes; The data type of the frequency point number is a string and the data length is 8 bytes; The data type of the experimental design condition is data set, and the data length is [30,2]; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0059] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0060] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measurement points 1 to N is data set, and the data length is [500,6]; Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0061] Create the key values of the test sub-condition name, sampling rate (interval), data start time (seconds), data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0062] The data type of the test sub-condition name is a string and the data length is 30 bytes; The data type of the sampling rate (interval) is a string and the data length is 16 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 16 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0063] Create measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0064] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measuring points 1 to N is data set, and the data length is [3000,6]; Create two groups, data information attributes and data, in the shock response spectrum data set 1~M group.
[0065] Create key values of the test sub-condition name, shock spectrum response spectrum factor, frequency resolution, note 1, note 2, note 3, and note 4 key-value pairs in the data information attribute group.
[0066] The data type of the test sub-condition name is a string and the data length is 30 bytes; The data type of the shock spectrum response spectrum factor is a string and the data length is 8 bytes; The data type of frequency resolution is string and the data length is 16 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0067] Create measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0068] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measurement points 1 to N is data set, and the data length is [50,6]; Two groups, namely, global attributes of the dataset and time domain dataset 1~M, are created in the micro-vibration test response dataset group.
[0069] Create the key values of the key-value pairs of measuring point 1~N type information, measuring point 1~N channel sequence number, measuring point 1~N name, measuring point 1~N code, measuring point 1~N coordinates and measuring point 1~N unit in the global attribute group of the dataset.
[0070] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0071] Create the key values of the test sub-condition name, sampling rate (interval), data start time (seconds), data sampling volume, data source, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0072] The data type of the test sub-condition name is a string and the data length is 60 bytes; The data type of the sampling rate (interval) is a string and the data length is 16 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 16 bytes; The data type of the data source is string and the data length is 30 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0073] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0074] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measuring points 1 to N is data set, and the data length is [6000000, 6]; Three groups are created in the micro-vibration test transfer function test data set group: data set global attributes, time domain data set 1~M, and frequency domain data set 1~M.
[0075] Create input point 1~N sequence number, input point 1~N name, input point 1~N code, input point 1~N type, input point 1~N coordinate, input point 1~N unit and input point 1~N magnitude in the global attribute group of the dataset; and create key values of the key-value pairs of response point 1~N sequence number, response point 1~N name, response point 1~N code, response point 1~N type, response point 1~N coordinate and response point 1~N unit.
[0076] The maximum number of input points 1 to N is four digits (1, 2, 3, 4, ... N). The data type of the attribute is a string and the data length is 4 bytes. The data type of the input point 1~N name is a string and the data length is 40 bytes; The data type of the input point 1~N code is a string and the data length is 20 bytes; The data type of input points 1 to N is string and the data length is 30 bytes; The data type of the input point 1~N coordinates is a string and the data length is 30 bytes; The data type of input points 1 to N is a string, and the data length is 16 bytes; The data type of input points 1 to N is a string, and the data length is 4 bytes; The data type of the response point 1~N serial number is a maximum of four digits (1, 2, 3, 4, ... N). The attribute is a string and the data length is 4 bytes. The data type of the response point 1~N name is a string, and the data length is 40 bytes; The data type of the response point 1~N code is a string, and the data length is 20 bytes; The data type of response point 1~N is string and the data length is 30 bytes; The data type of the response point 1~N coordinates is a string, and the data length is 30 bytes; The data type of response point 1~N units is string, and the data length is 16 bytes; Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0077] Create the key values of the test sub-condition name, sampling rate (interval), data start time (seconds), data sampling volume, data source, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0078] The data type of the test sub-condition name is a string and the data length is 60 bytes; The data type of the sampling rate (interval) is a string and the data length is 16 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 16 bytes; The data type of the data source is string and the data length is 30 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0079] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0080] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measuring points 1 to N is data set, and the data length is [100000, 6]; Three groups are created in the micro-vibration modal test data set group: data set global attributes, modal parameter data set 1~M, and vibration shape data set 1~N.
[0081] Create key values of measurement 1~N channel number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinate and measurement point 1~N unit key-value pairs in the global attribute group of the dataset.
[0082] The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; Create two groups, data information attributes and data, in the modal parameter data set 1~M group.
[0083] Create the key values of the Note 1, Note 2, Note 3, and Note 4 key-value pairs in the data information attribute group.
[0084] Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0085] Create key values of mode 1~N name, mode 1~N natural frequency and mode 1~N modal damping ratio key value pairs in the data group.
[0086] The data type of the mode 1~N name is a string and the data length is 40 bytes; The data type of the natural frequency of mode 1 to N is a string, and the data length is 16 bytes; The data type of the modal damping ratio of mode 1 to N is a string, and the data length is 16 bytes; Create two groups: data information attributes and data in the vibration mode data set 1~N group.
[0087] Create the key values of the normalization method, order, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0088] The data type of the normalization method is string and the data length is 40 bytes; The data type of the order is a string and the data length is 8 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0089] Create key values of measurement point 1~N codes and measurement point 1~N vibration mode key-value pairs in the data group.
[0090] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the vibration mode of measurement points 1 to N is data set, and the data length is [200,6]; Two groups, namely, global attribute data set and time domain data set 1~M, are created in the disturbance source disturbance test data set group.
[0091] Create the key values of the key-value pairs of measuring point 1~N type information, measuring point 1~N channel sequence number, measuring point 1~N name, measuring point 1~N code, measuring point 1~N coordinates and measuring point 1~N unit in the global attribute group of the dataset.
[0092] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes. Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0093] Create the key values of the test sub-condition name, sampling rate (interval), data start time (seconds), data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0094] The data type of the test sub-condition name is a string and the data length is 60 bytes; The data type of the sampling rate (interval) is a string and the data length is 8 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 10 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0095] Create key values of measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0096] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data at measurement points 1 to N is data set, and the data length is [6000000, 6]; Two groups, namely, global attributes of data set and time domain data set 1~M, are created in the thermal stability test data set group.
[0097] Create the key values of the key-value pairs of measuring point 1~N type information, measuring point 1~N channel sequence number, measuring point 1~N name, measuring point 1~N code, measuring point 1~N coordinates and measuring point 1~N unit in the global attribute group of the dataset.
[0098] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes. Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0099] Create the key values of the test sub-condition name, sampling rate (interval), data start time (seconds), data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0100] The data type of the test sub-condition name is a string and the data length is 30 bytes; The data type of the sampling rate (interval) is a string and the data length is 16 bytes; The data type of data start time (seconds) is string and the data length is 8 bytes; The data type of the data sampling amount is a string and the data length is 16 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0101] Create measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0102] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data at measurement points 1 to N is data set, and the data length is [90000, 2]; Two groups, namely, global attributes of the dataset and time domain dataset 1~M, are created in the thermal vacuum test dataset group.
[0103] Create the key values of the key-value pairs of measuring point 1~N type information, measuring point 1~N channel sequence number, measuring point 1~N name, measuring point 1~N code, measuring point 1~N coordinates and measuring point 1~N unit in the global attribute group of the dataset.
[0104] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes. Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0105] Create the key values of the test sub-condition name, sampling rate (interval), comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0106] The data type of the test sub-condition name is a string and the data length is 30 bytes; The data type of the sampling rate (interval) is a string and the data length is 16 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0107] Create measurement point 1~N codes and measurement point 1~N data key-value pairs in the data group.
[0108] The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the data of measuring points 1 to N is data set, and the data length is [50000, 2]; In the real-time test static data set group, two groups are created: data set global attributes and time domain data set 1~M.
[0109] Create key values of the key-value pairs of measurement point 1~N type information, measurement 1~N channel sequence number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinates, measurement point 1~N unit and measurement point 1~N sampling rate in the global attribute group of the dataset.
[0110] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; The data type of the sampling rate of measurement points 1 to N is a string, and the data length is 4 bytes; Create two groups, data information attributes and data, in the time domain data set 1~ R group.
[0111] Create key values of the measurement period, measurement event name, comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0112] The data type of the measurement period is a string and the data length is 30 bytes; The data type of the measurement event name is a string and the data length is 40 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0113] Create type 1~M measuring point 1~N codes and type 1~M measuring point 1~N data key-value pairs in the data group.
[0114] Type 1~M: The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; Type 1~M: The data type of measurement point 1~N is data set, and the data length is [500000,6]; Two groups, namely, global attribute data set and time domain data set 1~M, are created in the real-time test mechanical environment data set group.
[0115] Create key values of the key-value pairs of measuring point 1~N type information, measuring point 1~N channel sequence number, measuring point 1~N name, measuring point 1~N code, measuring point 1~N coordinates, measuring point 1~N sensitivity and measuring point 1~N sampling rate in the global attribute group of the dataset.
[0116] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the sensitivity of measuring points 1 to N is a string, and the data length is 16 bytes; The data type of the sampling rate of measurement points 1 to N is a string, and the data length is 10 bytes; Create two groups, data information attributes and data, in the time domain data set 1~ R group.
[0117] Create key values of the measurement period, measurement event name, comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0118] The data type of the measurement period is a string and the data length is 30 bytes; The data type of the measurement event name is a string and the data length is 40 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0119] Create type 1~M measuring point 1~N codes and type 1~M measuring point 1~N data key-value pairs in the data group.
[0120] Type 1~M: The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; Type 1~M: The data type of measurement point 1~N is data set, and the data length is [3000000,6]; Three groups are created in the real-time test micro-vibration dataset group: dataset global attributes, time domain dataset 1~M, and frequency domain dataset 1~M.
[0121] Create the key values of the measurement point 1~N type information, measurement 1~N channel sequence number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinates, measurement point 1~N unit and measurement point 1~N function key-value pairs in the global attribute group of the dataset.
[0122] The data type of the information attribute of measurement point 1~N type is string and the data length is 30 bytes; The data type of the attribute measuring the maximum four-digit number of channel numbers 1 to N (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the name of measuring point 1~N is string, and the data length is 40 bytes; The data type of the measurement point 1~N code is a string, and the data length is 10 bytes; The data type of the coordinates of measuring points 1 to N is a string, and the data length is 30 bytes; The data type of the measurement point 1~N unit is a string, and the data length is 16 bytes; The data type of the sampling rate of measurement points 1 to N is a string and the data length is 10 bytes.
[0123] Create two groups, data information attributes and data, in the time domain data set 1~ R group.
[0124] Create key values of the measurement period, measurement event name, comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0125] The data type of the measurement period is a string and the data length is 30 bytes; The data type of the measurement event name is a string and the data length is 16 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0126] Create key values of type 1~N measuring point 1~N codes and type 1~N measuring point 1~N data key-value pairs in the data group.
[0127] Type 1~N The data type of the measurement point 1~N code is a string and the data length is 10 bytes; Type 1~N The data type of measurement point 1~N is data set, and the data length is [6000000,6]; Create two groups, data information attributes and data, in the frequency domain data set 1~ R group.
[0128] Create key values of the measurement period, measurement event name, comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0129] The data type of the measurement period is a string and the data length is 30 bytes; The data type of the measurement event name is a string and the data length is 40 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0130] Create key values of type 1~N measuring point 1~N codes and type 1~N measuring point 1~N data key-value pairs in the data group.
[0131] Type 1~N The data type of the measurement point 1~N code is a string and the data length is 10 bytes; Type 1~N The data type of measurement point 1~N is data set, and the data length is [15000,6]; Two groups, namely, global attribute data set and time domain data set 1~M, are created in the real-time test state quantity monitoring data set group.
[0132] Create the key values of the key-value pairs of monitoring quantity 1~N channel numbers, monitoring quantity 1~N names, names of each monitoring parameter in monitoring quantity 1~N, and units of each parameter in monitoring quantity 1~N in the global attribute group of the data set.
[0133] The data type of the attribute of the maximum four-digit number of the monitoring quantity 1~N channel sequence (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of the monitoring quantity 1~N name is a string, and the data length is 40 bytes; The data type of each monitoring parameter name in monitoring quantity 1~N is a string, and the data length is 40 bytes; The data type of each parameter unit of monitoring quantity 1~N is a string, and the data length is 16 bytes; Create two groups, data information attributes and data, in the time domain data set 1~ R group.
[0134] Create key values of the measurement period, measurement event name, comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0135] The data type of the measurement period is a string and the data length is 30 bytes; The data type of the measurement event name is a string and the data length is 40 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0136] Create type 1~M monitoring quantity 1~N codes and type 1~M monitoring quantity 1~N data key-value pairs in the data group.
[0137] Type 1~M monitoring quantity 1~N code data type is string, data length is 10 bytes; Type 1~M: The data type of monitoring quantity 1~N is data set, and the data length is [500000,6]; Three groups are created in the active vibration absorption real-time debugging monitoring data set group: data set global attributes, time domain data set 1~M, and frequency domain data set 1~M.
[0138] Create the key values of the measurement point 1~N type information, measurement 1~N channel sequence number, measurement point 1~N name, measurement point 1~N code, measurement point 1~N coordinates, measurement point 1~N unit and measurement point 1~N function key-value pairs in the global attribute group of the dataset.
[0139] The data type of the attribute of the maximum four-digit number of the monitoring data 1~N channel sequence number (1, 2, 3, 4, ... N) is a string and the data length is 4 bytes; The data type of monitoring data 1~N name is string, and the data length is 30 bytes; The data type of each monitoring parameter name in monitoring data 1~N is a string, and the data length is 40 bytes; The data type of each parameter unit of monitoring data 1~N is a string, and the data length is 16 bytes; Create two groups, data information attributes and data, in the time domain data set 1~M group.
[0140] Create the key values of the test sub-condition name, data start time (seconds), data sampling volume, data source, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the data information attribute group.
[0141] The data type of the test sub-condition name is a string and the data length is 8 bytes; The data type of data start time (seconds) is string and the data length is 30 bytes; The data type of the data sampling amount is a string and the data length is 16 bytes; The data type of the data source is string and the data length is 40 bytes; Create monitoring data name 1~N and monitoring data name 1~N data key-value pairs in the data group.
[0142] The data type of monitoring data name 1~N is string, and the data length is 10 bytes; The data type of monitoring data name 1~N is data set, and the data length is [8000,6]; Create two groups, data information attributes and data, in the frequency domain data set 1~M group.
[0143] Create the key values of the test sub-condition name, data sampling frequency, start frequency, number of frequency points, comment 1, comment 2, comment 3, and comment 4 key-value pairs in the data information attribute group.
[0144] The data type of the test sub-condition name is a string and the data length is 40 bytes; The data type of the data sampling frequency is a string and the data length is 16 bytes; The data type of the data sampling amount is a string and the data length is 16 bytes; The data type of the data source is string and the data length is 40 bytes; The data type of the start frequency is a string and the data length is 16 bytes; The data type of the frequency point number is a string and the data length is 16 bytes; Note 1: The data type is string and the data length is 16 bytes. Note 2: The data type is string and the data length is 16 bytes. Note 3: The data type is string and the data length is 16 bytes. Note 4's data type is a string and its data length is 16 bytes.
[0145] Create monitoring data name 1~N code and monitoring data name 1~N data key-value pairs in the data group.
[0146] The data type of monitoring data name 1~N is string, and the data length is 10 bytes; The data type of monitoring data name 1~N is data set, and the data length is [15000,6] Select the corresponding compression algorithm based on different test data types to compress and store in the HDF5 database; Specifically, the temporary data set is compressed using the GZIP compression algorithm built into HDF5. The GZIP compression algorithm first divides the data into small blocks (called "chunks"), and then applies the LZ77 algorithm to each small block for preliminary compression. Then, Huffman coding is used to further compress the data after preliminary compression. Finally, the compressed data blocks are written into 15 HDF5 data sets, including sinusoidal vibration test data set, random vibration test data set, noise test data set, impact test data set, micro-vibration test data set, micro-vibration test transfer function test data set, micro-vibration modal test data set, disturbance source disturbance test data set, thermal stability test data set, thermal vacuum test data set, real-time test static data set, real-time test mechanical environment data set, real-time test micro-vibration data set, real-time test state quantity monitoring data set, and active vibration absorption real-time debugging monitoring data set.
[0147] Create data indexes and metadata in an HDF5 database.
[0148] Specifically, upload the local HDF5 file to the server, and extract the attribute values such as "product code", "product name", "development stage", "data set code", "measurement point 1~N code", "data set", "test direction", "test sub-condition name", "measurement event name", and "test magnitude" by parsing the HDF5 file. Take these keywords as global attributes, call the H5AOpen interface according to the global attribute (key) to quickly locate the relevant attribute (attr_id), and then call the H5Aread interface according to the relevant attribute (attr_id) to quickly read the relevant attribute value (value), and finally store the key and value in the database.
[0149] Through the global attribute key combined with the corresponding attribute value as the condition for reading HDF5, call the H5Gopen interface to quickly locate the relevant group, then call the H5DOpen interface to open the relevant data set, and quickly read the data set information by calling the H5Dread interface; finally, create a new HDF5 file with the acquired data set by calling the H5Fcreate interface, call the H5Dcreate interface to create a data set, and finally write it to the HDF5 file by calling the H5Dwrite interface.
[0150] The present application also provides an environmental test database production system, including: The acquisition module is used to obtain data sources related to complex environment tests, including public information data, test type code table, global attribute data, time domain data and frequency domain data; The parsing module is used to select a corresponding parsing method based on the format of the data source and obtain parsed data after parsing; A creation module is used to create a test data file in HDF5 format based on the parsed data. The test data file is hierarchically managed according to the data common information group and the data set group; Compression module, used to select corresponding compression algorithms based on different test data types to compress and store them in HDF5 database; Read module for building data indexes and metadata in HDF5 databases.
[0151] The present invention also provides an electronic device, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the above method.
[0152] The present invention also provides a storage medium storing a computer program executable by an electronic device. When the program runs on the electronic device, the electronic device executes the above method.
[0153] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for preparing an environmental test database, characterized in that: include: Acquire data sources related to complex environment tests, the data sources including public information data, test type code table, global attribute data, time domain data and frequency domain data; Selecting a corresponding parsing method based on the format of the data source, and obtaining parsed data after parsing; Creating a test data file in HDF5 format based on the parsed data, wherein the test data file is hierarchically managed according to a data common information group and a data set group; Select the corresponding compression algorithm based on different test data types to compress and store in the HDF5 database; Data indexes and metadata are created in the HDF5 database.
2. The method for preparing an environmental test database according to claim 1, characterized in that: The public information data includes product name, product code, product name, development stage, and data generation time; the test type code table is a list of test type code values, and its attributes include data set code, data set channel number, and scientific data set Chinese name.
3. The method for preparing an environmental test database according to claim 2, characterized in that: Differentiate the test type according to the data set code and traverse and call the global attribute interface, time domain data interface and frequency domain data interface analysis method; The global attribute data parsing method parses the measurement point type information, measurement channel sequence number, measurement point name, measurement point code, measurement point coordinates, measurement point unit and measurement point function key-value pairs in the global attributes according to the preset field definition; The time domain data parsing method parses the test direction, test magnitude, measuring point code and measuring point data in the time domain data, and for the measuring point data, its data type and data length need to be identified; The frequency domain data parsing method parses the data information attributes and data of the frequency domain data set.
4. The method for preparing an environmental test database according to claim 3, characterized in that: The product name, product code, product name, development stage, data generation time, annotation 1, annotation 2, and annotation 3 are created in the data public information group to create key values of key-value pairs; the sinusoidal vibration test data set, random vibration test data set, noise test data set, impact test data set, micro-vibration test data set, micro-vibration test transfer function test data set, micro-vibration modal test data set, disturbance source disturbance test data set, thermal stability test data set, thermal vacuum test data set, real-time test static data set, real-time test mechanical environment data set, real-time test micro-vibration data set, real-time test state quantity monitoring data set, and active vibration absorption real-time debugging monitoring data set are created in the data set group.
5. The method for preparing an environmental test database according to claim 4, characterized in that: Three subgroups are created in the sinusoidal vibration test data set, the random vibration test data set, the noise test data set, the impact test data set, the micro-vibration test transfer function test data set, the real-time test micro-vibration data set, and the active vibration absorption real-time debugging monitoring data set, including a data set global attribute group, a time domain data set group 1 to M, and a frequency domain data set group 1 to M; Two subgroups are created in each of the micro-vibration test data set, the disturbance source disturbance test data set, the thermal stability test data set, the thermal vacuum test data set, the real-time test static data set, the real-time test mechanical environment data set, and the real-time test state quantity monitoring data set, including a data set global attribute group and a time domain data set group 1 to M data set groups; Three subgroups are created in the micro-vibration modal test data set, including a data set global attribute group, a modal parameter data set group 1 to M, and a vibration shape data set group 1 to N; Among them, the key values of the key-value pairs of measurement 1~N channel numbers, measurement point 1~N names, measurement point 1~N codes, measurement point 1~N coordinates and measurement point 1~N units are created in the global attribute group of the data set in the micro-vibration modal test data set; the key values of the key-value pairs of measurement point 1~N type information, measurement 1~N channel numbers, measurement point 1~N names, measurement point 1~N codes, measurement point 1~N coordinates, measurement point 1~N units and measurement point 1~N functions are created in the global attribute groups of the remaining data sets; Creating a time domain data information attribute group and a time domain data group in the time domain data set groups 1 to M; The frequency domain data set groups 1 to M create a frequency domain data information attribute group and a frequency domain data group; Creating a modal data information attribute group and a modal data group in the modal parameter data set groups 1 to M; The vibration type data set groups 1 to N create vibration type data information attribute groups and vibration type data groups.
6. The method for preparing an environmental test database according to claim 5, characterized in that: Among the sinusoidal vibration test data set, the noise test data set and the random vibration test data set: The time domain data information attribute group creates the key values of the key-value pairs of test direction, test magnitude, test number, sampling rate, data start time, data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4, Create time domain measurement point 1~N codes and key values of time domain measurement point 1~N data key-value pairs in the time domain data group; The frequency domain data information attribute group creates the key values of the test direction, test magnitude, test number, scan rate, test design conditions, note 1, note 2, note 3, and note 4 key value pairs; The frequency domain data group creates the key values of the frequency domain measurement point 1~N code and the frequency domain measurement point 1~N data key value pair; The impact test data set, the micro-vibration test data set, the micro-vibration test transfer function test data set, the disturbance source disturbance test data set, the thermal stability test data set, the thermal vacuum test data set and the active vibration absorption real-time debugging monitoring data set are included: The key values of the test sub-condition name, sampling rate, data start time, data sampling amount, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs are created in the time domain data information attribute group; Create time domain measurement point 1~N codes and key values of time domain measurement point 1~N data key-value pairs in the time domain data group; The key values of the test sub-condition name, shock spectrum response spectrum factor, frequency resolution, note 1, note 2, note 3, and note 4 key-value pairs in the frequency domain data information attribute group; The frequency domain data group creates the key values of the frequency domain measurement point 1~N code and the frequency domain measurement point 1~N data key value pair; The real-time test static data set, the real-time test mechanical environment data set, the real-time test micro-vibration data set, and the real-time test state quantity monitoring data set include: Create key values of the key-value pairs of measurement period, measurement event name, annotation 1, annotation 2, annotation 3, and annotation 4 in the time domain data information attribute group; Create type 1~M measuring point 1~N codes and type 1~M measuring point 1~N data key-value pairs in the time domain data group; The key values of the key-value pairs of measurement period, measurement event name, annotation 1, annotation 2, annotation 3, and annotation 4 in the frequency domain data information attribute group; The frequency domain data group creates key values of type 1~N measurement point 1~N codes and type 1~N measurement point 1~N data key-value pairs; Creating a modal data information attribute group and a modal data group in the modal parameter data set groups 1 to M; The vibration type data information attribute group in the vibration type data set groups 1 to N creates the key values of the key-value pairs of annotation 1, annotation 2, annotation 3, and annotation 4; The key values of the key value pairs of mode 1-N names, mode 1-N natural frequencies and mode 1-N modal damping ratios are created in the vibration mode data group; Creating key values of normalization method, order, annotation 1, annotation 2, annotation 3, and annotation 4 key-value pairs in the vibration mode data set groups 1 to N; The vibration mode data group creates the key values of the measurement point 1-N codes and the measurement point 1-N vibration mode key-value pairs.
7. The method for preparing an environmental test database according to claim 6, characterized in that: The global attributes of "product code", "product name", "development stage", "data set code", "measuring point 1~N code", "data set", "test direction", "test sub-condition name", "measurement event name", and "test magnitude" are obtained through the test data file, and the H5AOpen interface is called according to the global attributes to quickly locate the relevant attributes, and then the H5Aread interface is called according to the relevant attributes to quickly read the relevant attribute values.
8. An environmental test database production system, characterized in that: include: An acquisition module is used to acquire data sources related to complex environment tests, wherein the data sources include public information data, test type code table, global attribute data, time domain data, and frequency domain data; A parsing module, used for selecting a corresponding parsing method based on the format of the data source, and obtaining parsed data after parsing; A creation module, used for creating a test data file in HDF5 format based on the parsed data, wherein the test data file is hierarchically managed according to a data common information group and a data set group; Compression module, used to select corresponding compression algorithms based on different test data types to compress and store them in HDF5 database; The reading module is used to establish data index and metadata in the HDF5 database.
9. An electronic device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit executes the method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: It stores a computer program executable by an electronic device, and when the program runs on the electronic device, the electronic device executes the method described in any one of claims 1 to 7.
Citation Information
Patent Citations
Test data storage system and method
CN103440282A
A block type data storage and reading method based on HDF5
CN109597575A
Nuclear reaction database making method and device based on HDF5 format
CN115374079A
High-efficiency read-write method and device for test data of HDF5
CN116521063A
Data compression in a dispersed storage network
US20190007493A1