Data storage method and system, equipment, medium and product
By automatically matching and storing the performance indicators and target simulation data of simulation tasks, the problems of inefficient and high error rates in the existing technology are solved, and efficient and accurate data management and automated judgment of simulation data are achieved.
Patent Information
- Application Number
- CN202411811672.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2044-12-10
AI Technical Summary
In the prior art, the inefficiency and high error rate of input simulation results are caused by inconvenient data management and insufficient accuracy.
Automatic matching and systematic management are achieved by determining the performance indicators of the simulation tasks to be executed, and correlating them with the target simulation data and storing them in a preset database.
It improves the accuracy of data storage and data entry efficiency, reduces manual operation costs, and improves the accuracy of judging whether the simulated data meets the standards.
Smart Images

Figure CN119862690A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of simulation technology, and in particular to a data storage method and system, device, medium, and product. Background Art
[0002] As an important technical means, simulation technology is widely used in the design and optimization stages of products. By establishing a model and inputting various working condition parameters into the model, simulation technology can obtain the simulation results of the model under various working conditions. Engineers compare the simulation results with the set performance goals to determine whether the simulation results meet the set performance goals, thereby verifying whether the product design meets the predetermined goals. For example, in the automotive industry, various working condition parameters of the vehicle can be input into the model to obtain simulation results of the vehicle under different working conditions, thereby verifying whether the vehicle design meets the predetermined goals. However, the statistical management of performance goals and simulation results in related technologies is generally still carried out in the form of Excel tables (Microsoft Office Excel, a spreadsheet software), which requires engineers to manually enter and obtain and check the simulation results one by one. The manual entry of simulation results is not only inefficient, but also prone to data omissions and errors. Summary of the invention
[0003] Based on this, a data storage method and system, device, medium, and product are provided to solve the problems of low efficiency and high error rate in entering simulation results in the prior art.
[0004] In one aspect, a data storage method is provided, the method comprising:
[0005] Determine the performance indicators of the simulation tasks to be performed;
[0006] Determine a simulation file corresponding to the simulation task, and store the performance indicator in the simulation file;
[0007] In the simulation file, the acquired target simulation data is associated with the performance indicator and stored in a preset database.
[0008] Optionally, the performance index of the simulation task to be executed is a vehicle performance index;
[0009] The step of determining the performance index of the simulation task to be executed includes:
[0010] Obtain vehicle simulation conditions;
[0011] According to a first preset corresponding relationship between the vehicle simulation operating condition and the vehicle performance indicator, the vehicle performance indicator is extracted based on the vehicle simulation operating condition.
[0012] Optionally, determining the performance indicator of the simulation task to be executed includes:
[0013] Obtain target simulation conditions;
[0014] According to a second preset correspondence between the target simulation working condition and the performance indicator, the performance indicator is extracted based on the target simulation working condition.
[0015] Optionally, determining the simulation file corresponding to the simulation task includes:
[0016] Determining a target path corresponding to the simulation task;
[0017] Based on the target path, the simulation file is created.
[0018] Optionally, the performance indicator includes a target performance parameter and a target performance value, and the target simulation data includes the target performance parameter and the simulation value;
[0019] Then, in the simulation file, associating the acquired target simulation data with the performance indicator includes:
[0020] Acquire simulation data obtained by executing the simulation task; wherein the simulation data includes a preset correspondence between multiple groups of performance parameters and simulation data,
[0021] In the simulation data, based on the target performance parameter, querying the target simulation data associated with the performance indicator;
[0022] The target simulation data and the performance indicator are associated in the simulation file through the target performance parameter.
[0023] Optionally, after storing in a preset database, the method further includes:
[0024] Determining target performance values and target simulation data corresponding to target performance parameters;
[0025] The simulation value is compared with the target performance value to determine the compliance information of the target simulation data; wherein the compliance information indicates whether the target simulation data meets the standard, and the target simulation data includes the simulation value.
[0026] Optionally, comparing the simulation value with the target performance value to determine the target simulation data's compliance information includes:
[0027] Obtaining preset attainment conditions for the target performance value;
[0028] Comparing the simulation value with the target performance value to obtain comparison information;
[0029] In response to the comparison information meeting the preset compliance condition, it is determined that the compliance information is compliance.
[0030] In a second aspect, a data storage system is provided, the data storage system comprising:
[0031] A first determination module, used to determine the performance index of the simulation task to be executed;
[0032] A second determination module, used for determining a simulation file corresponding to the simulation task, and storing the performance indicator in the simulation file;
[0033] The storage module is used to associate the acquired target simulation data with the performance indicator in the simulation file and store them in a preset database.
[0034] According to a third aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, wherein the processor implements the data storage method according to the first aspect when executing the computer program.
[0035] According to a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the data storage method according to the first aspect is implemented.
[0036] According to a fifth aspect, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the data storage method according to the first aspect is implemented.
[0037] On the basis of conforming to the common sense in the art, the above-mentioned preferred conditions can be arbitrarily combined to obtain the preferred embodiments of the present application.
[0038] The above-mentioned data storage method, system, device, medium, and product realize systematic management of performance indicators and target simulation data by automatically matching and storing performance indicators and target simulation data of simulation tasks, thereby improving the accuracy of data storage and the efficiency of data entry. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 A first flow chart of a data storage method in one embodiment;
[0040] Figure 2 A second flow chart of a data storage method in one embodiment;
[0041] Figure 3 A schematic diagram of the structure of a data storage system in one embodiment;
[0042] Figure 4 FIG. 1 is a schematic diagram of the structure of an electronic device in an embodiment. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0044] It should be noted that the diagram provided in the present embodiment only illustrates the basic concept of the present application in a schematic manner, so the diagram only shows the components related to the present application rather than drawing according to the number, shape and size of the components during actual implementation. The type, quantity and ratio of each component during actual implementation can be a random change, and its component layout type may also be more complicated. The structure, ratio, size, etc. illustrated by the accompanying diagram of this specification are only used to match the content disclosed in the specification, so that people familiar with this technology can understand and read, and are not used to limit the restrictive conditions that can be implemented in this application, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size, without affecting the effect that can be produced by this application and the purpose that can be achieved, should still fall within the scope that the technical content disclosed in this application can cover. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are also only for the convenience of narration, rather than for limiting the scope that can be implemented in this application. The change or adjustment of its relative relationship, without substantial change of technical content, should also be regarded as the scope that can be implemented in this application.
[0045] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the text does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0046] As shown in this document, unless the context clearly indicates an exception, the words "a", "an", "an" and / or "the" do not refer to the singular and may also include the plural, unless the context clearly indicates an exception. Generally speaking, the terms "include" and "comprise" only indicate that the steps and elements that have been clearly identified are included, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0047] The definitions of inclusion in this document, such as the terms "having", "may have", "include" or "may include" used herein, indicate the existence of the corresponding functions, operations, elements, etc. herein, and do not limit the existence of one or more other functions, operations, elements, etc. In addition, it should be understood that the terms "including" or "having" used herein indicate the existence of the features, numbers, steps, operations, elements, components, or a combination thereof described in the specification, without excluding the existence or addition of one or more other features, numbers, steps, operations, elements, components, or a combination thereof.
[0048] In the embodiments of the present application, prefixes such as "first" and "second" are used only to distinguish different description objects, and have no limiting effect on the position, order, priority, quantity or content of the described objects. The use of prefixes such as ordinal numbers to distinguish description objects in the embodiments of the present application does not constitute a limitation on the described objects. For the statement of the described objects, please refer to the description in the context of the claims or embodiments, and no unnecessary limitation should be constituted due to the use of such prefixes. In addition, in the description of the present embodiment, unless otherwise specified, the meaning of "multiple" is two or more.
[0049] In the embodiments provided in this application, the fields of simulation include but are not limited to vehicle simulation, aviation simulation, power simulation, traffic simulation, etc.
[0050] Figure 1 A data storage method is provided for an exemplary embodiment of the present application, and the data storage method includes:
[0051] S11. Determine the performance index of the simulation task to be executed.
[0052] The performance index is stored in a preset database. The performance index can be understood as a target that a certain performance parameter needs to reach after executing a simulation task. For example, the performance index of a simulation task can be torsional stiffness ≥ 1000 N·m (Newton meter), which indicates that after executing the simulation task, the target that the performance parameter torsional stiffness needs to reach is greater than or equal to 1000 N·m.
[0053] In one embodiment, the target simulation condition may be first obtained. The target simulation condition corresponds to the aforementioned simulation task to be executed, and the target simulation condition may be extracted from a simulation condition library. According to a second preset correspondence between the target simulation condition and the performance indicator, the aforementioned performance indicator corresponding to the target simulation condition may be extracted based on the target simulation condition. The representation method of the second preset correspondence may be a table or a database.
[0054] Simulation conditions are a set of loads and boundary conditions that simulate specific conditions in simulation analysis. Simulation conditions can include static loads, dynamic loads, temperature changes, pressure, humidity and other factors. They can be single or combined to simulate the complexity of the actual situation. For example, simulation conditions under different roads, different climates and different driving conditions can be combined to simulate the vehicle to evaluate the performance and safety of the vehicle.
[0055] In one embodiment, the performance index of the simulation task to be executed is a vehicle performance index, and determining the performance index of the simulation task to be executed includes:
[0056] Obtain vehicle simulation conditions;
[0057] According to a first preset correspondence relationship between the vehicle simulation working condition and the vehicle performance index, the vehicle performance index is extracted based on the vehicle simulation working condition. The first preset correspondence relationship can be represented by a table or a database.
[0058] The performance index of the simulation task to be executed may be a vehicle performance index, and the vehicle performance index may be a power performance index, a fuel performance index, a handling performance index, a driving performance index, a comfort performance index, a safety performance index, an emission performance index, a durability performance index, a load performance index, etc. The vehicle simulation working condition and the vehicle performance index are the simulation working conditions and the determined performance indexes obtained when simulating the vehicle.
[0059] The following takes the simulation task of vehicle simulation as an example: when simulating a vehicle, you can create a simulation project, create a simulation task in the simulation project, and simulate the vehicle under different simulation conditions through the simulation task. Multiple simulation tasks can be created under one simulation project, and each simulation task simulates one simulation condition. Different car models can correspond to different simulation projects, and the same car model corresponds to the same simulation project, which means that different simulation conditions of the same car model are simulated under the same simulation project. Different components under the same car model can also correspond to one simulation project, for example, the seat of the vehicle is one simulation project, and the door of the vehicle is another simulation project.
[0060] The simulation project indicates that the performance and behavior of the vehicle under the target simulation conditions are simulated using preset simulation model computer technology and simulation software.
[0061] The following continues to take the simulation task of vehicle simulation as an example to explain the simulation task: the simulation conditions are stored in the simulation condition library. You can first create a simulation project for a certain model, and then extract multiple preset simulation conditions from the simulation condition library according to the conditions for vehicle analysis as needed, and then write multiple simulation conditions into the simulation project, and then create a simulation task for each simulation condition under the same simulation project according to the multiple simulation conditions in the simulation project. Among them, each simulation condition can correspond to multiple performance indicators, which can be understood as including multiple performance indicators under each simulation task. When executing the simulation task, multiple performance indicators under the same simulation task can be analyzed at the same time. It can be understood that the same simulation condition can also be written to multiple simulation projects. For example, the doors of different models may be different, so different simulation conditions of the doors must be analyzed in different simulation projects, and simulation conditions for performance testing of the doors can be written for different simulation projects.
[0062] For ease of understanding, the relationship between simulation projects, simulation conditions, and simulation tasks can be expressed as follows:
[0063] Simulation Condition Library-----Project A-----Simulation Condition AA---Simulation Task
[0064] |----Performance IndexAAA
[0065] |----Performance indicators AAB
[0066] |----Performance IndexAAC
[0067] -----Simulation Condition AB---Simulation Task
[0068] |----Performance Index ABA
[0069] |----Performance indicators ABB
[0070] |----Performance indicators ABC
[0071] Simulation Condition Library-----Project B-----Simulation Condition BA---Simulation Task
[0072] |----Performance index BAA
[0073] |----Performance index BAB
[0074] |----Performance index BAC
[0075] -----Simulation Condition BB---Simulation Task
[0076] |----Performance Index BBA
[0077] |----Performance Index BBB
[0078] |----Performance Indicators BBC
[0079] In the simulation platform, firstly, according to the working condition of the vehicle to be analyzed, a plurality of preset simulation working conditions are extracted from the simulation working condition library, and then the plurality of simulation working conditions are written into the simulation project. The plurality of simulation working conditions in the simulation project must be analyzed, so a target simulation working condition can be selected arbitrarily from the plurality of simulation working conditions, and then a simulation task is created for the target simulation working condition. Then, from the second preset correspondence between the plurality of sets of target simulation working conditions and the performance index, the intermediate performance index corresponding to the target simulation working condition is extracted, the intermediate performance index is determined as the performance index, the data carried in the intermediate performance index and the performance index are consistent, and then the performance index is synchronously written into the simulation task, and finally the target simulation working condition and the performance index are written into the record corresponding to the target simulation working condition in the preset database. When the representation method of the second preset correspondence is a database, it can be understood that the second preset correspondence can be a template database, and each simulation project created can obtain a plurality of simulation working conditions from the simulation working condition library according to the working condition that needs to be analyzed for the vehicle in the simulation project, and then write the plurality of simulation working conditions into the simulation project. In a simulation project, you can first select a target simulation condition from multiple simulation conditions, then create a simulation task in the simulation project according to the target simulation condition, obtain the performance index corresponding to the target simulation condition from the template database, and then store the performance index and the target simulation condition in the record corresponding to the target simulation condition in the preset database. Repeat this operation until all simulation tasks corresponding to multiple simulation conditions under the simulation project are executed.
[0080] For ease of understanding, as shown in Table 1, an example of a table structure of a preset database is provided in an embodiment of the present application as follows:
[0081] Table 1 Preset database table structure
[0082]
[0083] The following description is made by taking the second preset correspondence as a template database as an example. As shown in Table 2, an example of a table structure of a template database provided by the embodiment of the present application is as follows:
[0084] Table 2 Template database table structure
[0085]
[0086] Among them, the performance parameter in the performance index is k, such as the specific position of the model, stress magnitude, etc.; the expression is e, such as greater than, less than, etc.; the target value is v, such as 30, 50, etc.; the unit is u, such as N·m, s, etc. Take the performance index as torsional stiffness:>=:1000:N·m as an example, torsional stiffness is the performance parameter, ≥ is the expression, the target value is 1000, and the unit is N·m. The performance parameters, expressions, target values and units in the performance index are separated by colons. A simulation condition corresponds to a simulation task. After executing the simulation task, multiple performance indicators may need to be achieved, so a simulation task may include multiple groups of performance indicators. When a simulation task includes multiple groups of performance indicators, the multiple groups of performance indicators are separated by semicolons.
[0087] Taking the target simulation condition as giga-torsional stiffness analysis as an example, a performance indicator corresponding to the giga-torsional stiffness analysis is torsional stiffness ≥ 1000 N·m, as shown in Table 3. The table content in the template database is as follows:
[0088] Table 3 Template database
[0089] id loadcaeId target 1 1 Torsional stiffness:>=:1000:N·m
[0090] In the simulation platform, a simulation project is first created, and the projectId (project identifier) of the simulation project is 1. Then, according to the working conditions of the vehicle analysis as needed, multiple preset simulation working conditions are extracted from the simulation working condition library. Multiple simulation working conditions are stored in the simulation working condition library in the form of working condition identifiers. The target simulation working condition with a preset loadcaseId (working condition identifier) of 1 can be extracted from the multiple simulation working conditions, and then the target simulation working condition is written into the simulation project. A simulation task is created under the simulation project according to the target simulation working condition, and then the working condition identifier is identified from the second preset corresponding relationship, and then the intermediate performance indicator corresponding to the working condition identifier of 1 is found to be torsional stiffness:>=:1000:N·m, and the intermediate performance indicator is determined as a performance indicator, and the performance indicator is torsional stiffness:>=:1000:N·m. The performance indicator is synchronously written into the simulation task, and finally the working condition identifier and performance indicator of the target simulation working condition are stored in the record corresponding to the target simulation working condition in the preset database.
[0091] As shown in Table 4, an example of the table content in the preset database is as follows:
[0092] Table 4 Preset database
[0093]
[0094] When creating a simulation task on the simulation platform, the preset simulation conditions are written into the simulation task, and the performance indicators corresponding to the simulation conditions can be written into the simulation task simultaneously. At this time, the target value v in the performance indicator can be modified, but the performance parameters, expressions, and units cannot be modified. The modified performance target value can be stored in the preset database again.
[0095] S12. Determine a simulation file corresponding to the simulation task, and store the performance indicator in the simulation file.
[0096] The simulation file may be in .txt format (text file format), .json format (JavaScript Object Notation), XML format (eXtensibleMarkup Language), or other storage formats that can store information.
[0097] After creating a simulation project, you can extract multiple preset simulation conditions from the simulation condition library, write multiple simulation conditions into the simulation project, and then create a simulation task for each simulation condition under the simulation project. Each simulation task corresponds to a simulation file. The execution of the simulation task includes the pre-processing process, the simulation calculation process, and the post-processing process. The execution environment of each working process is the same shared working directory, and different simulation tasks have different working directories. During the execution of the simulation task, the solution calculation and other processes are all based on the working directory.
[0098] In the simulation platform, the execution process of the simulation task is carried out in the working directory corresponding to the simulation task. However, due to the lack of instruction files in the working directory, it is impossible to directly extract data from the database. It is necessary to create a simulation file in the working directory. The information transmission between the preset database and the data in the working directory is realized through the simulation file, and the original data can also be prevented from being accidentally modified or overwritten, so as to maintain the integrity of the data. Therefore, in one embodiment, determining the simulation file corresponding to the simulation task includes:
[0099] Based on the task identifier, determining a target path corresponding to the simulation task; wherein the task identifier corresponds to the simulation task;
[0100] Create simulation files based on the target path.
[0101] The task identifier can be a task name, a task ID (IDentity) or a task number. The task identifier can also be determined by specific simulation parameters, such as input conditions, model configuration or simulation scope, or by the user's login information or user name. In some cases, a simulation task may depend on the output of another task. In this case, the task identifier may be determined based on the dependency relationship.
[0102] Each simulation task has a task identifier. When creating a simulation task according to the simulation working condition, the target path corresponding to the simulation task can be determined by the task identifier, and then a simulation file is created under the target path. Each simulation file corresponds to a simulation task, and then the performance indicators corresponding to the simulation working condition are written into the simulation file.
[0103] The performance index in the simulation file can be stored in the form of "performance parameter: expression: target value: unit". Taking the simulation file format as .txt as an example, the content of the simulation file can be "torsion stiffness:>=:1000:N·m". When a simulation task includes multiple groups of performance indicators, the multiple groups of performance indicators in the simulation file are separated by semicolons.
[0104] Create a simulation file in the working directory corresponding to the simulation task, store the performance indicators corresponding to the simulation task and the simulation data obtained by executing the simulation task in the working directory corresponding to the simulation task, and each simulation task corresponds to a working directory, which is convenient for the management and access of performance indicators and simulation data, and reduces the complexity of data management. At the same time, it can also realize the information transmission between the preset database and the data in the working directory, realize the systematic management of performance indicators and simulation data, and improve the accuracy of data storage and the efficiency of data entry.
[0105] S13. In the simulation file, the acquired target simulation data is associated with the performance index and stored in a preset database.
[0106] The simulation task is executed through the simulation model. After the simulation task is completed, the simulation data can be read from the simulation model through the post-processing process. The simulation data includes multiple simulation result values of the simulation task, such as model-specific position stress, model-specific time acceleration, etc. The target simulation data can be associated with the performance index, and then stored in the preset database, and the storage time is recorded, so as to realize the automatic association, matching and storage of the performance index of the simulation task and the simulation data, improve the automation efficiency of the simulation platform, and improve the accuracy of data storage.
[0107] In order to achieve automatic association and matching of the performance indicators of the simulation task and the simulation data, a common key value can be found in the performance indicators and the simulation data, and the performance indicators and the simulation data are automatically matched through the key value to improve the accuracy and efficiency of data matching. Therefore, in one embodiment, in the simulation file, the acquired target simulation data is associated with the performance indicators and stored in the preset database, including:
[0108] Acquire simulation data obtained by executing the simulation task; wherein the simulation data includes preset correspondences between multiple groups of performance parameters and the simulation data, and the performance indicators include target performance parameters and target performance values;
[0109] In the simulation data, based on the target performance parameter, query the target simulation data associated with the performance indicator; wherein the target simulation data includes the target performance parameter and the simulation value;
[0110] Target simulation data and performance metrics are associated in simulation files through target performance parameters.
[0111] After the simulation task is completed, the simulation data can be read from the simulation model through the post-processing process. The simulation data includes multiple simulation result values of the simulation task, such as model-specific position stress, model-specific time acceleration, etc. The performance index corresponding to the simulation task can be determined from the simulation file. The performance index includes a target performance parameter and a target performance value. Then the target performance parameter in the performance index is determined. For example, if the performance index is torsional stiffness:>=:1000:N·m, then the target performance parameter is torsional stiffness. Then, the target simulation data in the simulation data is searched according to the target performance parameter. The target simulation data includes the target performance parameter and the simulation value. For example, the target simulation data corresponding to the torsional stiffness in the simulation data output by the simulation model is searched through the "torsional stiffness" in the simulation file. The target simulation data is, for example, 1200.
[0112] After determining the target simulation data corresponding to the target performance parameters, the target simulation data corresponding to the target performance parameters can be associated and stored in the records corresponding to the target performance parameters in the above-mentioned simulation file according to the target performance parameters, and then the target simulation data can be extracted from the simulation file and stored in the records of the target performance parameters in the preset database.
[0113] Alternatively, you can create another intermediate simulation file in the working directory, and the format of the intermediate simulation file can be in .json format. After determining the target simulation data in the simulation data according to the target performance parameters, you can associate the target simulation data and performance indicators corresponding to the target performance parameters and store them in the intermediate simulation file according to the target performance parameters. The content of the intermediate simulation file is as follows:
[0114]
[0115]
[0116] Taking the target performance parameter "torsional stiffness" as an example, the content of the intermediate simulation file is as follows:
[0117]
[0118] After the target simulation data and performance indicators corresponding to the target performance parameters are stored in the intermediate simulation file, the target simulation data and performance indicators can be stored in the records of the target performance parameters in the preset database according to the target performance parameters. Taking Table 4 as an example, after the simulation task is completed, the table after the target simulation data is stored in the preset database is shown in Table 5:
[0119] Table 5 Preset database
[0120]
[0121] In order to reduce manual operation costs and improve the accuracy of judging whether the simulation data meets the standards, in one embodiment, after associating the acquired target simulation data with the performance index in the simulation file and storing them in the preset database, the following steps are also included:
[0122] Determining a target performance value and target simulation data corresponding to the target performance parameter; wherein the performance indicator includes the target performance value and the target performance parameter;
[0123] The simulation value is compared with the target performance value, and the compliance information of the target simulation data is determined according to the size relationship between the simulation value and the target performance value; wherein the compliance information indicates whether the target simulation data meets the standard, and the target simulation data includes the simulation value.
[0124] The compliance information indicates whether the target simulation data corresponding to a certain performance parameter has reached the target after the simulation task is completed. The performance indicator is expressed in the form of "performance parameter: expression: performance value: unit", and the target simulation data is expressed in the form of "performance parameter: simulation value". It can be understood that the performance parameter is a key value, and the target performance value and simulation value corresponding to the target performance parameter can be determined, and then the target simulation data can be judged whether it meets the standard based on the relationship between the simulation value and the target performance value. It can automatically judge whether the target simulation data meets the standard, improve the accuracy of simulation data judgment, and reduce costs and error rates. Reduce labor costs.
[0125] In one embodiment, comparing the simulation value with the target performance value to determine the target simulation data's compliance information includes:
[0126] Obtaining preset attainment conditions for target performance values;
[0127] Compare the simulation value with the target performance value to obtain comparative information;
[0128] In response to the comparison information meeting a preset compliance condition, the compliance information is determined to be compliance.
[0129] The preset compliance conditions can be set according to the actual situation, for example, greater than or equal to, less than or equal to, or equal to.
[0130] Take the performance index in Table 5 as "torsional stiffness:>=:1000:N·m" and the target simulation data as "torsional stiffness=1200" as an example, where the target performance parameter is torsional stiffness, the target performance value is 1000, the preset standard condition of the target performance value is greater than or equal to, and the simulation value is 1200. By comparing the size of the simulation value and the target performance value, the comparison information obtained is greater than, and the comparison information meets the preset standard condition. Then the standard information of the target simulation data is up to standard, which can be understood as the target simulation data reaching the performance value required by the performance index. The data in the preset database can be automatically updated according to the simulation working conditions and performance indicators input in the project, and the simulation data after the simulation task is completed is automatically judged whether it meets the standard, and finally the simulation performance target achievement table of the entire project is generated.
[0131] The embodiments provided in the present application can achieve systematic management of performance indicators and target simulation data by automatically matching and storing performance indicators and target simulation data of simulation tasks, thereby improving the accuracy of data storage and the efficiency of data entry, and can also improve the accuracy of judging whether simulation data meets the standards while reducing manual operation costs.
[0132] Combine the following Figure 2 , further explanation of the data storage method:
[0133] In the simulation platform, a simulation project is first created, and then according to the working conditions required for vehicle analysis, multiple preset simulation conditions (simulation conditions can be called analysis items) are extracted from the simulation condition library, and then the multiple simulation conditions are written into the simulation project. Multiple simulation conditions in the simulation project need to be analyzed, so you can first select any target simulation condition from the multiple simulation conditions, and then write the target simulation condition into the simulation project, and then create a simulation task based on the target simulation condition, and then according to the preset target correspondence between the simulation condition and the performance indicator (the performance indicator can be called the performance target), extract the intermediate performance indicator corresponding to the target simulation condition from the second preset correspondence, determine the intermediate performance indicator as the performance indicator, the data carried in the intermediate performance indicator and the performance indicator are consistent, and then the performance indicator corresponding to the target simulation condition is synchronously written into the simulation task, and finally the target simulation condition and the performance indicator are written into the record corresponding to the target simulation condition in the preset database.
[0134] Each simulation task corresponds to a simulation file. The execution of the simulation task includes the pre-processing process, the simulation calculation process and the post-processing process. The execution environment of each working process is the same shared working directory, and different simulation tasks have different working directories. During the execution of the simulation task, the solution calculation and other processes are based on the working directory. However, the database cannot be read directly in the working directory. It is necessary to create a simulation file in the working directory to realize the information transmission between the preset database and the data in the working directory through the simulation file. Each simulation task has a task identifier. When creating a simulation task according to the target simulation condition, the target path corresponding to the simulation task can be determined by the task identifier, and then a simulation file is created under the target path. Each simulation file corresponds to a simulation task, and then the performance indicators corresponding to the target simulation condition are written into the simulation file.
[0135] The simulation task is executed through the simulation model. After the simulation task is executed, the simulation data can be read from the simulation model through the post-processing process. First, the performance index corresponding to the simulation task is determined from the simulation file. The performance index includes the target performance parameter and the target performance value. Then the target performance parameter in the performance index is determined. The target simulation data in the simulation data is searched through the target performance parameter. The target simulation data includes the target performance parameter and the simulation value. After the target simulation data corresponding to the target performance parameter is determined, the target simulation data corresponding to the target performance parameter can be stored in the record corresponding to the target performance parameter in the above-mentioned simulation file according to the target performance parameter. Then the target simulation data is extracted from the simulation file and the target simulation data is stored in the record of the target performance parameter in the preset database. In the preset database, the target performance value and the simulation value corresponding to the target performance parameter can be determined, and then according to the size relationship between the simulation value and the target performance value, it is judged whether the target simulation data meets the standard.
[0136] It should be understood that although Figure 1 , Figure 2 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1 , Figure 2 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0137] like Figure 3As shown, the present application also provides a data storage system, the data storage system comprising:
[0138] A first determination module 31 is used to determine the performance index of the simulation task to be executed;
[0139] A second determining module 32, configured to determine a simulation file corresponding to the simulation task, and store the performance indicator in the simulation file;
[0140] The storage module 33 is used to associate the acquired target simulation data with the performance indicator in the simulation file and store them in a preset database.
[0141] In one embodiment, the performance index of the simulation task to be executed is a vehicle performance index; then the first determination module 31 is further used to:
[0142] Obtain vehicle simulation conditions;
[0143] According to a first preset corresponding relationship between the vehicle simulation operating condition and the vehicle performance indicator, the vehicle performance indicator is extracted based on the vehicle simulation operating condition.
[0144] In one embodiment, the first determining module 31 is further configured to:
[0145] Obtain target simulation conditions;
[0146] According to a second preset correspondence between the target simulation working condition and the performance indicator, the performance indicator is extracted based on the target simulation working condition.
[0147] In one embodiment, the second determining module 32 is further configured to:
[0148] Determining a target path corresponding to the simulation task;
[0149] Based on the target path, the simulation file is created.
[0150] In one embodiment, the performance indicator includes a target performance parameter and a target performance value, and the target simulation data includes the target performance parameter and the simulation value; the storage module 33 is further used for:
[0151] Acquire simulation data obtained by executing the simulation task; wherein the simulation data includes a preset correspondence between multiple groups of performance parameters and simulation data,
[0152] In the simulation data, based on the target performance parameter, querying the target simulation data associated with the performance indicator;
[0153] The target simulation data and the performance indicator are associated in the simulation file through the target performance parameter.
[0154] In one embodiment, the data storage system further includes a third determining module, configured to:
[0155] Determining a target performance value and target simulation data corresponding to a target performance parameter; the performance indicator includes the target performance value and the target performance parameter;
[0156] The comparison simulation value is compared with the target performance value to determine the compliance information of the target simulation data; wherein the compliance information indicates whether the target simulation data meets the standard, and the target simulation data includes the simulation value.
[0157] In one embodiment, the third determination module is further configured to:
[0158] Obtaining preset attainment conditions for the target performance value;
[0159] Comparing the simulation value with the target performance value to obtain comparison information;
[0160] In response to the comparison information meeting the preset compliance condition, it is determined that the compliance information is compliance.
[0161] For the system embodiment, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The system embodiment described above is only illustrative, wherein the units described as separate components may or may not be physically separated, and the components as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present application solution.
[0162] Figure 4 This is a schematic diagram of the structure of an electronic device shown in an example embodiment of the present application, the electronic device includes a memory, a processor, and a computer program stored in the memory and used to run on the processor, and when the processor executes the computer program, it implements the data storage method described in any of the above embodiments. Figure 4 The electronic device 40 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0163] like Figure 4 As shown, the electronic device 40 may be in the form of a general-purpose computing device, for example, it may be a server device. The components of the electronic device 40 may include, but are not limited to: at least one processor 41, at least one memory 42, and a bus 43 connecting different system components (including the memory 42 and the processor 41).
[0164] The bus 43 includes a data bus, an address bus, and a control bus.
[0165] The memory 42 may include a volatile memory, such as a random access memory (RAM) 421 and / or a cache memory 422 , and may further include a read-only memory (ROM) 423 .
[0166] The memory 42 may also include a program tool 425 (or utility) having a set (at least one) of program modules 424, such program modules 424 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0167] The processor 41 executes various functional applications and data processing by running the computer programs stored in the memory 42, such as the data storage method provided in any of the above embodiments.
[0168] The electronic device 40 may also communicate with one or more external devices 44 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 45. Furthermore, the electronic device 40 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 46. As shown, the network adapter 46 communicates with other modules of the electronic device 40 via a bus 43. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 40, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0169] It should be noted that although several units / modules or sub-units / modules of the electronic device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0170] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the data storage method provided by any of the above embodiments is implemented.
[0171] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0172] An embodiment of the present application further provides a computer program product, including a computer program, which implements any of the above-mentioned data storage methods when executed by a processor.
[0173] Among them, the program code for executing the computer program product of the present application can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0174] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0175] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the patent application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent application shall be subject to the attached claims.
Claims
1. A data storage method, characterized in that: The data storage method comprises: Determine the performance indicators of the simulation tasks to be performed; Determine a simulation file corresponding to the simulation task, and store the performance indicator in the simulation file; In the simulation file, the acquired target simulation data is associated with the performance indicator and stored in a preset database.
2. The data storage method according to claim 1, characterized in that: The performance index of the simulation task to be executed is a vehicle performance index; The step of determining the performance index of the simulation task to be executed includes: Obtain vehicle simulation conditions; According to a first preset corresponding relationship between the vehicle simulation operating condition and the vehicle performance indicator, the vehicle performance indicator is extracted based on the vehicle simulation operating condition.
3. The data storage method according to claim 1, characterized in that: The step of determining the performance index of the simulation task to be executed includes: Obtain target simulation conditions; According to a second preset correspondence between the target simulation working condition and the performance indicator, the performance indicator is extracted based on the target simulation working condition.
4. The data storage method according to claim 1, characterized in that: The determining of the simulation file corresponding to the simulation task includes: Determining a target path corresponding to the simulation task; Based on the target path, the simulation file is created.
5. The data storage method according to any one of claims 1 to 4, characterized in that: The performance indicator includes a target performance parameter and a target performance value, and the target simulation data includes the target performance parameter and the simulation value; Then, in the simulation file, associating the acquired target simulation data with the performance indicator includes: Acquire simulation data obtained by executing the simulation task; wherein the simulation data includes a preset correspondence between multiple groups of performance parameters and simulation data, In the simulation data, based on the target performance parameter, querying the target simulation data associated with the performance indicator; The target simulation data and the performance indicator are associated in the simulation file through the target performance parameter.
6. The data storage method according to claim 5, characterized in that: After storing in the preset database, the method further includes: Determining target performance values and target simulation data corresponding to target performance parameters; The simulation value is compared with the target performance value to determine the compliance information of the target simulation data; wherein the compliance information indicates whether the target simulation data meets the standard, and the target simulation data includes the simulation value.
7. The data storage method according to claim 6, characterized in that: The comparing the simulation value with the target performance value to determine the target simulation data reaching the target value includes: Obtaining preset attainment conditions for the target performance value; In the preset database, comparing the simulation value with the target performance value to obtain comparison information; In response to the comparison information meeting the preset compliance condition, it is determined that the compliance information is compliance.
8. A data storage system, characterized in that: The data storage system comprises: A first determination module, used to determine the performance index of the simulation task to be executed; A second determination module, used for determining a simulation file corresponding to the simulation task, and storing the performance indicator in the simulation file; The storage module is used to associate the acquired target simulation data with the performance indicator in the simulation file and store them in a preset database.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and used to run on the processor, characterized in that: When the processor executes the computer program, the data storage method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data storage method according to any one of claims 1 to 7 is implemented.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the data storage method according to any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Simulation method and simulation device for flash memory circuit
CN107679266A
Automatic driving simulation data management server and method
CN111881332A
Power system parameter determination method and device, computer equipment and storage medium
CN112241580A
Automobile suspension KC simulation analysis method and device
CN114282301A
Automobile dynamics performance simulation and test result rapid benchmarking method
CN114692292A