Configuration file generation method and device, readable storage medium and terminal equipment

Through the automated configuration file generation method, the mapping relationship between the target data table and the data template and the configuration rules is used to generate the target configuration file, which solves the problem that configuration file generation relies on manual operations in the existing technology, and improves the efficiency of stamping SPM simulation.

CN119623077APending Publication Date: 2025-03-14NIO TECH ANHUI CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411730013.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, the configuration file generation process relies on manual operations, resulting in low efficiency in stamping SPM simulation.

Method used

By obtaining the target data table, determining the target configuration rules based on the mapping relationship between the data template and the configuration rules, and generating the target configuration file to achieve automated configuration file generation.

Benefits of technology

There is no need for manual participation in generating configuration files, which reduces the labor cost of the configuration file generation process and improves the efficiency of stamping SPM.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119623077A_ABST
    Figure CN119623077A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of data processing, and particularly relates to a configuration file generation method and device, a computer readable storage medium and terminal equipment. The method comprises the steps of obtaining a target data table; determining a target configuration rule based on the first mapping relation and the target data template; wherein the first mapping relation is a mapping relation between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template; and generating a target configuration file based on the target data table and the target configuration rule. Through the method, the target configuration rule can be determined based on the mapping relation between the data template and the configuration rule, and the target configuration file can be generated based on the target configuration rule, so that manual participation in configuration file generation is not needed, the labor cost in the configuration file generation process is reduced, and the SPM stamping efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to a configuration file generation method, device, computer-readable storage medium and terminal device. Background Art

[0002] Stamping SPM (Stroke Per Minute) simulation is a method that uses computer numerical simulation technology to simulate the stamping process. This simulation technology can help shorten the on-site debugging cycle and reduce debugging costs. In the development process of stamping dies, stamping SPM simulation is usually performed on the stamping die to predict and analyze various problems that may occur in the stamping process before the actual manufacturing of the stamping die, so that the stamping die can be better optimized.

[0003] Typically, before performing stamping SPM simulation, a configuration file is required to configure the simulation process; however, the existing configuration file generation process relies on manual operation, resulting in low efficiency of stamping SPM simulation. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a configuration file generation method, apparatus, computer-readable storage medium and terminal device to solve the problem that the configuration file generation process in the prior art relies on manual operation, resulting in low efficiency of stamping SPM simulation.

[0005] A first aspect of an embodiment of the present application provides a configuration file generation method, which may include:

[0006] Obtaining a target data table; wherein the target data table includes target parameters;

[0007] Determine a target configuration rule based on a first mapping relationship and a target data template; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template;

[0008] A target configuration file is generated based on the target data table and the target configuration rule.

[0009] A second aspect of an embodiment of the present application provides a configuration file generating device, which may include:

[0010] An acquisition module, used for acquiring a target data table; wherein the target data table includes target parameters;

[0011] A determination module, configured to determine a target configuration rule based on a first mapping relationship and a target data template; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template;

[0012] A generating module is used to generate a target configuration file based on the target data table and the target configuration rule.

[0013] A third aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any of the above-mentioned configuration file generation methods are implemented.

[0014] A fourth aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any one of the above-mentioned configuration file generation methods when executing the computer program.

[0015] A fifth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the steps of any one of the above configuration file generation methods.

[0016] Compared with the prior art, the embodiments of the present application have the following beneficial effects: the embodiments of the present application obtain a target data table; based on a first mapping relationship and a target data template, a target configuration rule is determined; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template; based on the target data table and the target configuration rule, a target configuration file is generated. Through the embodiments of the present application, the target configuration rule can be determined based on the mapping relationship between the data template and the configuration rule, and the target configuration file can be generated based on the target configuration rule, thereby eliminating the need for manual participation in generating the configuration file, helping to reduce the labor cost of the configuration file generation process and improving the efficiency of the stamping SPM. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1This is a flow chart of an embodiment of a method for generating a configuration file in an embodiment of the present application;

[0019] Figure 2 This is a schematic diagram for importing the target data table;

[0020] Figure 3 Schematic diagram for simulation parameter settings;

[0021] Figure 4 This is a structural diagram of an embodiment of a configuration file generating device in an embodiment of the present application;

[0022] Figure 5 This is a schematic block diagram of a terminal device in an embodiment of the present application. DETAILED DESCRIPTION

[0023] In order to make the purpose, features, and advantages of the invention of this application more obvious and easy to understand, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0024] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0025] It should also be understood that the terms used in this application specification are only for the purpose of describing specific embodiments and are not intended to limit the application. As used in this application specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0026] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0027] As used in this specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]," depending on the context.

[0028] In addition, in the description of the present application, the terms "first", "second", "third", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0029] Stamping SPM (Stroke Per Minute) simulation is a method that uses computer numerical simulation technology to simulate the stamping process. This simulation technology can help shorten the on-site debugging cycle and reduce debugging costs. In the development process of stamping dies, stamping SPM simulation is usually performed on the stamping die to predict and analyze various problems that may occur in the stamping process before the actual manufacturing of the stamping die, so that the stamping die can be better optimized.

[0030] Typically, before performing a stamping SPM simulation, it is necessary to use a configuration file to configure the simulation process; however, the existing configuration file generation process relies on manual operation. Specifically, it is necessary to manually enter (for example, through a mouse or keyboard) the technical parameters required for the simulation process and manually generate the configuration file, resulting in low efficiency of the stamping SPM simulation.

[0031] In view of this, the embodiments of the present application provide a configuration file generation method, apparatus, computer-readable storage medium and terminal device to solve the problem in the prior art that the configuration file generation process relies on manual operation, resulting in low efficiency of stamping SPM simulation.

[0032] It should be noted that the execution subject of the method of the present application is a terminal device. Specifically, the terminal device can be a computing device such as a desktop computer, a notebook, a PDA, a workstation, a mobile phone, a server, etc.

[0033] See also Figure 1 In the embodiments of the present application, an embodiment of a configuration file generation method may include:

[0034] Step S101, obtaining a target data table.

[0035] The target data table includes target parameters.

[0036] In the embodiment of the present application, the stamping process can be simulated using relevant simulation software (i.e., stamping SPM simulation). Specifically, the simulation software can be configured according to the technical parameters in the stamping process, and then the stamping process can be simulated based on the configured simulation software.

[0037] Here, the stamping process that needs to be simulated by stamping SPM can be referred to as the target stamping process, and the technical parameters of the target stamping process can be referred to as target parameters. The specific composition of the target parameters can be set according to actual needs, and the embodiments of the present application do not limit this.

[0038] In a specific implementation of the embodiment of the present application, the technical parameters of the target stamping process may at least include mold parameters, upper mold interference points and workpiece parameters; specifically, the mold parameters may include closing height, mold length, mold width, single-side width of the mold in a certain direction and the highest point of the lower mold core; the upper mold interference point may include each upstream interference point and downstream interference point in the stamping stroke, and the coordinates corresponding to each interference point; the workpiece parameters may include workpiece height, corner, workpiece length, front width of the workpiece in the positive direction and rear width. In a specific implementation of the embodiment of the present application, the user may import the target data table into the terminal device, so that the terminal device may obtain the target data table. For example, the user may select the target data table on the display interface of the relevant simulation software on the terminal device to import the target data table; thereafter, the user may click on the control displayed with the text "Configuration file generation" to instruct the terminal device to execute the subsequent configuration file generation process.

[0039] In another specific implementation of the embodiment of the present application, the terminal device can establish a communication connection with other devices and receive a target data table sent from other devices.

[0040] In another specific implementation of the embodiment of the present application, the target parameters can be determined according to the preset stamping stroke and the mold and workpiece involved in the target stamping process, and the target data table can be determined based on the target parameters. For example, the upper die interference point can be determined based on the preset stamping stroke, and the mold parameters and workpiece parameters can be determined based on the design drawings of the mold and workpiece to obtain the target parameters; then, the target parameters can be filled into the data template corresponding to the target stamping process to obtain the target data table.

[0041] The generation process of the target data table in the above implementation will be described in detail below.

[0042] In the above implementation, the data template defines the various technical parameters contained in the data table and the specific positions of the technical parameters in the data table; by filling the technical parameters into the corresponding positions in the data template, a structured and standardized data table can be generated, so that the terminal device can accurately and efficiently read the various technical parameters from the data table, laying the foundation for automatically generating configuration files.

[0043] For example, data template 1 defines that the data table contains parameter 1, parameter 2 and parameter 3, and also defines the specific positions of parameter 1, parameter 2 and parameter 3 in the data table; here, parameter 1 is in the first row and first column of the data table, parameter 2 is in the first row and second column of the data table, and parameter 3 is in the second row and first column of the data table.

[0044] As an example only, the target data template may be as shown in the following table:

[0045]

[0046]

[0047] Among them, the field numbered i_x in the target data template needs to be filled with the xth technical parameter.

[0048] Since different stamping processes may include different technical parameters, the data templates corresponding to different stamping processes may also be different; for example, the technical parameters of stamping process 1 include parameter 1, parameter 2 and parameter 3, and the technical parameters of stamping process 2 include parameter 2, parameter 4 and parameter 5; since stamping process 1 and stamping process 2 include different technical parameters, the data template corresponding to stamping process 1 is also different from the data template corresponding to stamping process 2.

[0049] When it is necessary to generate a target data table, the target parameters can be filled into the corresponding data template. In the embodiment of the present application, in order to improve the efficiency of generating the data table, a second mapping relationship can be pre-constructed according to each stamping process and the data template corresponding to each stamping process; wherein the second mapping relationship is a mapping relationship between the stamping process and the data template; after obtaining the target parameters, the data template corresponding to the target stamping process (referred to as the target data template) can be queried from the second mapping relationship; thereafter, the target parameters can be filled into the target data template to obtain the target data table.

[0050] For example, there is a mapping relationship between stamping process 1 and data template 3, there is a mapping relationship between stamping process 2 and data template 4, and there is a mapping relationship between stamping process 3 and data template 1; based on this, a second mapping relationship can be constructed; when it is necessary to simulate stamping process 1, it can be queried from the second mapping relationship that the data template corresponding to stamping process 1 is data template 3; thereafter, the technical parameters of stamping process 1 can be filled into data template 3 to obtain the required data table.

[0051] It should be understood that the above target parameters may include only some technical parameters of the target stamping process, or may include all technical parameters of the target stamping process. For example, there are common technical parameters in each stamping process, and the values ​​of the common technical parameters are fixed values; and compared with other stamping processes, the target stamping process has unique technical parameters, then the target parameters may include only the unique technical parameters of the target stamping process (i.e., some technical parameters), or may include both the common technical parameters of each stamping process and the unique technical parameters of the target stamping process (i.e., all technical parameters).

[0052] As an example only, the target data table may look like this:

[0053]

[0054]

[0055] Here, each technical parameter (ie, i_x) in the target data template is filled with a corresponding value to obtain a target data table.

[0056] Step S102: Determine a target configuration rule based on the first mapping relationship and the target data template.

[0057] In an embodiment of the present application, after obtaining the target data table, a configuration file required to simulate the target stamping process can be generated based on the target data table; here, the configuration file corresponding to the target stamping process can be referred to as a target configuration file.

[0058] When generating the configuration file required for simulating the stamping process, it is necessary to extract the target parameters in the target data table and fill the extracted target parameters into specific fields of the initial configuration file; wherein the initial configuration file is a preset configuration file without filling in technical parameters.

[0059] For example, when it is necessary to simulate stamping process 1, a data table containing the technical parameters of stamping process 1 can be determined according to the above process, which is specifically data table 1 in this case; when generating the corresponding configuration file, field 3 of data table 1 can be extracted and filled into field 2 of the initial configuration file; field 4 of data table 1 can also be extracted and filled into field 6 of the initial configuration file.

[0060] Just as an example, part of an initial configuration file might look like this:

[0061] <panel>

[0062] …

[0063] <length> i_1< / length> <!-- Field 1 -->

[0064] <upstreamwidth> i_2< / upstreamwidth> <!-- Field 2 -->

[0065] <downstreamwidth> i_3< / downstreamwidth> <!-- Field 3 -->

[0066] …

[0067] <workpieceformed>

[0068] <length> i_4< / length> <!-- Field 4 -->

[0069] <upstreamwidth> i_5< / upstreamwidth> <!-- Field 5 -->

[0070] <downstreamwidth> i_6< / downstreamwidth> <!-- Field 6 -->

[0071] <heigh> i_7< / heigh> <!-- Field 7 -->

[0072] …

[0073] Among them, field 1, field 2, field 3, field 4, field 5, field 6 and field 7 in the initial configuration file are fields that need to be filled. By filling in field 1, field 2, field 3, field 4, field 5, field 6 and field 7 in the initial configuration file, the corresponding configuration file can be obtained.

[0074] In an embodiment of the present application, the configuration rules corresponding to the data template can be determined based on the fields extracted from the data template (called extraction fields) and the corresponding filled fields in the initial configuration file (called filling fields); the configuration rules are rules for generating configuration files based on the data table, and the configuration rules specifically describe how to fill the parameters in the data table into the configuration file.

[0075] For example, field 2, field 3 and field 5 in data template 1 need to be extracted and filled into field 1, field 4 and field 6 of the initial configuration file respectively. Then, it can be determined that field 2 in data template 1 corresponds to field 1 of the initial configuration file, field 3 in data template 1 corresponds to field 4 of the initial configuration file, and field 5 in data template 1 corresponds to field 6 of the initial configuration file. Based on this, configuration rule 1 corresponding to data template 1 can be determined; here, configuration rule 1 can be shown in the following table:

[0076] Extract fields Populate Fields Field 2 Field 1 Field 3 Field 4 Field 5 Field 6

[0077] In the embodiment of the present application, based on each data template and the configuration rule corresponding to each data template, a first mapping relationship (ie, a mapping relationship between a data template and a configuration rule) can be obtained.

[0078] As just an example, the first mapping relationship may be shown in the following table:

[0079] Data templates Configuring rules Data Template 1 Configuration rule 1 Data Template 2 Configuration rule 2 Data Template 3 Configuration rule 3

[0080] In the above example, there are three data templates, namely data template 1, data template 2 and data template 3; among them, data template 1 has a mapping relationship with configuration rule 1, data template 2 has a mapping relationship with configuration rule 2, and data template 3 has a mapping relationship with configuration rule 3.

[0081] When it is necessary to generate a target configuration file, the target configuration rule can be efficiently determined based on the constructed first mapping relationship and the target data template. Specifically, the configuration rule corresponding to the target data template can be queried from the first mapping relationship, and the configuration rule obtained by the query can be determined as the target configuration rule; wherein the target configuration rule is a rule for generating a target configuration file based on a target data table obtained from the target data template, and the target configuration rule specifically describes how to fill the parameters in the target data table into the initial configuration file.

[0082] Please continue to refer to the example of the first mapping relationship above. If the target data template is data template 2, it can be found from the first mapping relationship that the configuration rule corresponding to data template 2 is configuration rule 2. Therefore, configuration rule 2 can be determined as the target configuration rule.

[0083] Step S103: Generate a target configuration file based on the target data table and the target configuration rules.

[0084] In the embodiment of the present application, the target configuration rules can be used to extract data from the target data table to obtain target parameters; then, the target parameters can be filled into the configuration file to obtain the target configuration file.

[0085] Here, the target configuration rule may include a target fill field, which is a field in the initial configuration file that needs to be filled with data; the target configuration rule may also include a target extraction field, which is a field extracted from the target data template and used to fill the target fill field.

[0086] Specifically, data may be extracted from the target extraction field in the target data table to obtain target parameters corresponding to the target extraction field; then, the target parameters may be filled into the target filling field corresponding to the initial configuration file to obtain the target configuration file.

[0087] In a specific implementation method of an embodiment of the present application, since the unit of the target parameter in the target data table may be different from the unit set in the target configuration file, for example, the unit of the target parameter in the target data table is millimeter, while the unit set in the target configuration file is meter; therefore, after extracting the target parameter from the target data table, it can also be determined whether the extracted target parameter is converted in unit; if the unit of the target parameter in the target data table is the same as the unit set in the target configuration file, the extracted target parameter can be directly filled into the target fill field of the initial configuration file to obtain the target configuration file; if the unit of the target parameter in the target data table is different from the unit set in the target configuration file, the extracted target parameter can be converted in unit to convert the unit of the target parameter into the unit set in the target configuration file to obtain the target parameter after unit conversion; thereafter, the target parameter after unit conversion can be filled into the target fill field of the initial configuration file to obtain the target configuration file.

[0088] For example, the unit set in the target configuration file is meter, and the unit of the target parameter in the target data table is millimeter. After extracting the target parameter, the unit of the target parameter can be converted from millimeter to meter to obtain the target parameter after unit conversion; then, the target parameter after unit conversion can be filled into the target fill field of the initial configuration file to obtain the target configuration file.

[0089] Just as an example, part of a target configuration file might look like this:

[0090] <panel>

[0091] …

[0092] <length> 2< / length> <!-- Field 1 -->

[0093] <upstreamwidth> 1.1< / upstreamwidth> <!-- Field 2 -->

[0094] <downstreamwidth> 1.2< / downstreamwidth> <!-- Field 3 -->

[0095] …

[0096] <workpieceformed>

[0097] <length> 1.1< / length> <!-- Field 4 -->

[0098] <upstreamwidth> 0.00021< / upstreamwidth> <!-- Field 5 -->

[0099] <downstreamwidth> 0.00022< / downstreamwidth> <!-- Field 6 -->

[0100] <heigh> 0.23< / heigh> <!-- Field 7 -->

[0101] …

[0102] In this example, the target parameters have been converted to units and filled into the target fill fields (specifically Field 1, Field 2, Field 3, Field 4, Field 5, Field 6, and Field 7).

[0103] In a specific implementation of the embodiment of the present application, after obtaining the target configuration file, the simulation of the target stamping process can be performed based on the target configuration file. Specifically, the simulation parameters of the target stamping process can be configured in the relevant simulation software based on the target configuration file; for example, refer to Figure 3 In the relevant simulation software, the simulation parameters of the target stamping process can be set using the target configuration file and displayed in the display interface of the simulation software, and the user can view and confirm the simulation parameters in the display interface. Afterwards, the simulation software can be used to simulate the target stamping process based on the simulation parameters of the target stamping process to obtain the target simulation results; wherein the target simulation results may include but are not limited to simulating the state of the mold in the target stamping process. Optionally, the mold used in the target stamping process can also be optimized based on the target simulation results.

[0104] In summary, the embodiment of the present application obtains a target data table; based on a first mapping relationship and a target data template, a target configuration rule is determined; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template; based on the target data table and the target configuration rule, a target configuration file is generated. Through the embodiment of the present application, the target configuration rule can be determined based on the mapping relationship between the data template and the configuration rule, and the target configuration file can be generated based on the target configuration rule, thereby eliminating the need for manual participation in generating the configuration file, helping to reduce the labor cost of the configuration file generation process and improving the efficiency of the stamping SPM.

[0105] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0106] Corresponding to the configuration file generation method described in the above embodiment, Figure 4 A structural diagram of an embodiment of a configuration file generating device provided in an embodiment of the present application is shown.

[0107] In an embodiment of the present application, a configuration file generating device may include:

[0108] The acquisition module 401 is used to acquire a target data table; wherein the target data table includes target parameters;

[0109] A determination module 402 is used to determine a target configuration rule based on a first mapping relationship and a target data template; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template;

[0110] The generating module 403 is used to generate a target configuration file based on the target data table and the target configuration rule.

[0111] In a specific implementation of the embodiment of the present application, the generating module includes:

[0112] A data extraction submodule, used to extract the target parameters from the target data table using the target configuration rule;

[0113] The parameter filling submodule is used to fill the target parameters into the initial configuration file to obtain the target configuration file.

[0114] In a specific implementation of the embodiment of the present application, the target configuration rule includes a target extraction field;

[0115] The data extraction submodule includes:

[0116] The data extraction unit is used to extract the target extraction field in the target data table to obtain the target parameter.

[0117] In a specific implementation of the embodiment of the present application, the target configuration rule further includes a target fill field;

[0118] The parameter filling submodule includes:

[0119] A parameter filling unit is used to fill the target parameter into the target filling field of the initial configuration file to obtain the target configuration file.

[0120] In a specific implementation of the embodiment of the present application, the generating module further includes:

[0121] A unit conversion submodule, used for performing unit conversion on the target parameter to obtain the target parameter after unit conversion;

[0122] Furthermore, the parameter filling unit is further used to fill the target parameter after unit conversion into the target filling field of the initial configuration file to obtain the target configuration file.

[0123] In a specific implementation of the embodiment of the present application, the acquisition module includes:

[0124] A parameter acquisition submodule is used to acquire target parameters; wherein the target parameters are technical parameters of the target stamping process;

[0125] A template determination submodule, configured to determine a target data template based on a second mapping relationship and the target stamping process; wherein the second mapping relationship at least includes a mapping relationship between the target stamping process and the target data template;

[0126] The template filling submodule is used to fill the target parameters into the target data template to obtain the target data table.

[0127] In a specific implementation of the embodiment of the present application, the configuration file generating device further includes:

[0128] A configuration module, configured to configure simulation parameters of a target stamping process based on the target configuration file;

[0129] The simulation module is used to simulate the target stamping process based on the simulation parameters of the target stamping process to obtain a target simulation result.

[0130] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices, modules and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0131] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0132] Figure 5 A schematic block diagram of a terminal device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.

[0133] like Figure 5 As shown, the terminal device 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. When the processor 50 executes the computer program 52, the steps in the above-mentioned configuration file generation method embodiments are implemented, for example Figure 1 Alternatively, when the processor 50 executes the computer program 52, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 4 The functions of modules 401 to 403 are shown.

[0134] Exemplarily, the computer program 52 may be divided into one or more modules / units, which are stored in the memory 51 and executed by the processor 50 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 52 in the terminal device 5.

[0135] Those skilled in the art will understand that Figure 5 It is only an example of the terminal device 5 and does not constitute a limitation of the terminal device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device 5 may also include input and output devices, network access devices, buses, etc.

[0136] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0137] The memory 51 may be an internal storage unit of the terminal device 5, such as a hard disk or memory of the terminal device 5. The memory 51 may also be an external storage device of the terminal device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 5. Further, the memory 51 may also include both an internal storage unit of the terminal device 5 and an external storage device. The memory 51 is used to store the computer program and other programs and data required by the terminal device 5. The memory 51 may also be used to temporarily store data that has been output or is to be output.

[0138] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0139] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0140] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0141] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0142] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0143] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0144] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.

[0145] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.< / workpieceformed> < / panel> < / workpieceformed> < / panel>

Claims

1. A configuration file generation method, characterized in that: include: Obtaining a target data table; wherein the target data table includes target parameters; Determine a target configuration rule based on a first mapping relationship and a target data template; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template; A target configuration file is generated based on the target data table and the target configuration rule.

2. The configuration file generation method according to claim 1, characterized in that: The generating a target configuration file based on the target data table and the target configuration rule includes: Extracting the target parameters from the target data table using the target configuration rule; Fill the target parameters into the initial configuration file to obtain the target configuration file.

3. The configuration file generation method according to claim 2, characterized in that: The target configuration rule includes a target extraction field; The step of extracting the target parameter from the target data table by using the target configuration rule includes: The target extraction field in the target data table is extracted to obtain the target parameter.

4. The configuration file generation method according to claim 3, characterized in that: The target configuration rule also includes a target fill field; Filling the target parameters into the initial configuration file to obtain the target configuration file includes: Fill the target parameters into the target filling field of the initial configuration file to obtain the target configuration file.

5. The configuration file generation method according to claim 4, characterized in that: Before filling the target parameter into the target filling field of the initial configuration file to obtain the target configuration file, the method further includes: Performing unit conversion on the target parameter to obtain the target parameter after unit conversion; Filling the target parameter into the target filling field of the initial configuration file to obtain the target configuration file includes: The target parameter after unit conversion is filled into the target filling field of the initial configuration file to obtain the target configuration file.

6. The configuration file generation method according to claim 1, characterized in that: The obtaining of the target data table comprises: Obtaining target parameters; wherein the target parameters are technical parameters of the target stamping process; Determine a target data template based on a second mapping relationship and the target stamping process; wherein the second mapping relationship at least includes a mapping relationship between the target stamping process and the target data template; Fill the target parameters into the target data template to obtain the target data table.

7. The configuration file generation method according to any one of claims 1 to 6, characterized in that: After generating a target configuration file based on the target data table and the target configuration rule, the method further includes: Based on the target configuration file, configuring simulation parameters of a target stamping process; Based on the simulation parameters of the target stamping process, the target stamping process is simulated to obtain a target simulation result.

8. A configuration file generating device, characterized in that: include: An acquisition module, used for acquiring a target data table; wherein the target data table includes target parameters; A determination module, configured to determine a target configuration rule based on a first mapping relationship and a target data template; wherein the first mapping relationship is a mapping relationship between a data template and a configuration rule, the target data template is a data template corresponding to the target data table, and the target configuration rule is a configuration rule corresponding to the target data template; A generating module is used to generate a target configuration file based on the target data table and the target configuration rule.

9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the configuration file generation method according to any one of claims 1 to 7 are implemented.

10. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the configuration file generation method according to any one of claims 1 to 7 are implemented.