CN114239097A - Method and device for generating process file, storage medium and electronic device - Google Patents

Method and device for generating process file, storage medium and electronic device Download PDF

Info

Publication number
CN114239097A
CN114239097A CN202111538975.6A CN202111538975A CN114239097A CN 114239097 A CN114239097 A CN 114239097A CN 202111538975 A CN202111538975 A CN 202111538975A CN 114239097 A CN114239097 A CN 114239097A
Authority
CN
China
Prior art keywords
target
parameter
content
parameters
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111538975.6A
Other languages
Chinese (zh)
Inventor
王五常
张传会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN202111538975.6A priority Critical patent/CN114239097A/en
Publication of CN114239097A publication Critical patent/CN114239097A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/20Configuration CAD, e.g. designing by assembling or positioning modules selected from libraries of predesigned modules

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computer Hardware Design (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Computational Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method and a device for generating a process file, a storage medium and an electronic device. The method comprises the following steps: determining target parameters corresponding to a target process; matching a process generation rule corresponding to the target process from the rule base according to the target parameter; filtering preset process contents according to the target process parameters to obtain filtered process contents; determining parameter values of process parameters in the filtered process content to obtain target process content; and generating a process file corresponding to the target process according to the target process content. According to the method and the device, the problem that the accuracy and efficiency of process file generation are low under the condition that the process file is generated in a typical process mode in the related technology is solved.

Description

Method and device for generating process file, storage medium and electronic device
Technical Field
The present disclosure relates to the field of manufacturing process files, and in particular, to a method and an apparatus for generating a process file, a storage medium, and an electronic apparatus.
Background
In many manufacturing enterprises, when processing or producing products, because most of workshops and production lines are fixed, so that various products which can be generated have similar characteristics, that is, the process procedures are similar, the existing enterprises generally use a typical process mode to manage process files, that is, when process personnel compile process files, parameters and pictures are added in process templates with high general use degree to complete compilation of the process files, and when adjusting the process files, the process contents, process diagrams and the like need to be modified manually by combining with the product characteristics. Although the process file can be correctly changed, the changing efficiency is low, and if the process content or the diagram size involves complicated calculation, the problem of wrong modification can also occur, so that the process production is caused to be problematic.
Aiming at the problem that the accuracy and efficiency of process file generation are low under the condition that the process file is generated through a typical process mode in the related art, an effective solution is not provided at present.
Disclosure of Invention
The application provides a method and a device for generating a process file, a storage medium and an electronic device, which are used for solving the problems of low accuracy and efficiency of process file generation in the case of generating the process file through a typical process mode in the related art.
According to one aspect of the present application, a method of generating a process file is provided. The method comprises the following steps: determining target parameters corresponding to a target process; matching a process generation rule corresponding to the target process from the rule base according to the target parameter, wherein the process generation rule comprises preset process content and the target process parameter; filtering preset process contents according to the target process parameters to obtain filtered process contents; determining parameter values of process parameters in the filtered process content to obtain target process content; and generating a process file corresponding to the target process according to the target process content.
Optionally, the rule base stores a plurality of process type information, each process type information is associated with a process generation rule, and matching a process generation rule corresponding to a target process from the rule base according to a target parameter includes: determining process type information corresponding to the target process in the rule base according to the target parameters; and acquiring a process generation rule associated with the process type information, and determining the acquired process generation rule as a process generation rule corresponding to the target process.
Optionally, the preset process content is associated with a process parameter, and the filtering of the preset process content according to the target process parameter to obtain the filtered process content includes: detecting whether an updating instruction of the target process parameters is received; under the condition of receiving an updating instruction, updating the target process parameters to obtain updated target process parameters; matching the updated target process parameters with the process parameters associated with the preset process content to obtain matched process parameters; and determining the preset process content associated with the matched process parameter as the filtered process content.
Optionally, the process generation rule includes a parameter value generation rule, the process parameters in the filtered process content include a parameter to be filled and a variable parameter, and determining the parameter values of the process parameters in the filtered process content to obtain the target process content includes: determining a first parameter value generation rule associated with the parameter to be filled, and generating a first parameter value corresponding to the parameter to be filled according to the first parameter value generation rule; and determining a second parameter value generation rule associated with the variable parameter, generating a second parameter value corresponding to the variable parameter according to the second parameter value generation rule, and updating the parameter value of the variable parameter according to the second parameter value.
Optionally, the generation rule of the parameter value includes at least one of: receiving an input parameter value of a user interface, calling the parameter value from a preset storage address, inquiring the parameter value from a preset table in the process content, and calculating the parameter value through a preset formula.
Optionally, the process generating rule further includes a file generating format, and generating the process file corresponding to the target process according to the target process content includes: and converting the target process content according to the file generation format to obtain a process file corresponding to the target process.
Optionally, the preset process content includes at least one of the following: process base information, process information, and process map information.
According to another aspect of the present application, there is provided an apparatus for generating a process file. The device includes: the first determining unit is used for determining target parameters corresponding to a target process; the matching unit is used for matching a process generation rule corresponding to the target process from the rule base according to the target parameters, wherein the process generation rule comprises preset process content and the target process parameters; the filtering unit is used for filtering preset process contents according to the target process parameters to obtain filtered process contents; the second determining unit is used for determining parameter values of the process parameters in the filtered process content to obtain target process content; and the generating unit is used for generating a process file corresponding to the target process according to the target process content.
According to another aspect of the embodiments of the present invention, a nonvolatile storage medium is further provided, where the nonvolatile storage medium is used to store a program, and the program controls, when running, an apparatus in which the nonvolatile storage medium is located to execute a method for generating a process file.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including a processor and a memory; the memory has computer readable instructions stored therein, and the processor is configured to execute the computer readable instructions, wherein the computer readable instructions when executed perform a method for generating a process file.
Through the application, the following steps are adopted: determining target parameters corresponding to a target process; matching a process generation rule corresponding to the target process from the rule base according to the target parameter, wherein the process generation rule comprises preset process content and the target process parameter; filtering preset process contents according to the target process parameters to obtain filtered process contents; determining parameter values of process parameters in the filtered process content to obtain target process content; and generating a process file corresponding to the target process according to the target process content. The problem of in the correlation technique under the condition of through typical technology mode generation technology file, technology file generates the rate of accuracy and efficiency lower is solved. The target parameters corresponding to the target process are set, the process generation rules are obtained according to the target parameters, and parameter filling and data calculation are automatically performed according to the process generation rules, so that the effect of quickly and accurately generating the process files corresponding to the target process is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a flow chart of a method of generating a process file provided according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating an optional preset process content according to the embodiment;
fig. 3 is a schematic diagram illustrating a relationship between an optional process type and a process generation rule provided in this embodiment;
FIG. 4 is a flow chart of an alternative process file generation method according to the present embodiment;
fig. 5 is a schematic diagram of a device for generating a process file according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the application, a method for generating a process file is provided.
Fig. 1 is a flowchart of a method for generating a process file according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
and step S102, determining target parameters corresponding to the target process.
Specifically, the target parameter may be a keyword and a key parameter corresponding to the target process, and before the target process file is generated, the keyword and the key parameter need to be set according to the content of the target process, for example, the keyword may be a generated metal part and a bolt product selected from the metal part, and meanwhile, the keyword may further include raw material information and the like required for completing the target process, and the key parameter may be information such as a bolt of M14 specification, and the subsequent process generation rule is obtained through the keyword.
And step S104, matching a process generation rule corresponding to the target process from the rule base according to the target parameter, wherein the process generation rule comprises preset process content and the target process parameter.
Specifically, after the target parameter is determined, a process generation rule corresponding to a target process needs to be obtained in a rule base according to information in the target parameter, where the rule base includes process generation rules corresponding to multiple types of products, the process generation rule needs to be selected according to keyword information, each process generation rule may include preset process content and a target process parameter, where the preset process content may include multiple types of information corresponding to the target process, fig. 2 is a diagram of optional preset process content provided according to this embodiment, as shown in fig. 2, the preset process content may include process information, a process diagram, process output, and the like, where the process information may further include process step information, inspection information, a process diagram, and the like, and the target process parameter may include default parameter information corresponding to a preset target process, Presetting parameter values and presetting picture information.
And S106, filtering the preset process content according to the target process parameter to obtain the filtered process content.
Specifically, after the process generation rule is obtained, the preset process content is screened according to the content in the target process parameter, so as to obtain the process content generated according to the default parameter information.
For example, table 1 may be process information in the preset process content corresponding to the target process, as shown in table 1,
TABLE 1
Name of procedure Condition
Number (C)
Cutting Transverse forging form ═ finish welding 'and solid solution form ═ full solid solution'
Vehicle with wheels Transverse forging form ═ non-finish welding 'and solid solution form ═ semi-solid solution'
Straight and straight
Rivet welding Transverse forging form ═ finish welding 'and solid solution form ═ semi-solid solution'
The process information may include five processes, and some of the processes have corresponding conditions, and the process is performed only if the corresponding conditions are satisfied, and the target process parameters may include some default conditions, for example, in the process information, the default conditions may be "transverse forging form ═ fine welding" and solid solution form ═ full solid solution' ", and at this time, the process information corresponding to the target process generated according to the default conditions is sign, cut, straight, and rivet welding, and the process information is set as the process content after filtering.
And step S108, determining parameter values of process parameters in the filtered process content to obtain target process content.
Specifically, the preset process content may include a process template and a part of process parameters, and parameter values of the process parameters may be obtained in a manual filling manner and a manner of obtaining the process parameters from the preset process content, where the parameter values may be information such as data and pictures to be filled in the process content, and after the filling is completed, target process content corresponding to the target process is obtained, and the method for obtaining the parameter values of the process parameters may include methods of directly filling in the parameters and generating the parameters through formula calculation.
And step S110, generating a process file corresponding to the target process according to the target process content.
Specifically, after the target process content is obtained, the target process content may be directly set as a process file corresponding to the target process, or format conversion may be performed on the target process content to convert the target process content into a target format, so as to prevent the file from being incompatible with the system.
The method for generating the process file provided by the embodiment of the application comprises the following steps: determining target parameters corresponding to a target process; matching a process generation rule corresponding to the target process from the rule base according to the target parameter, wherein the process generation rule comprises preset process content and the target process parameter; filtering preset process contents according to the target process parameters to obtain filtered process contents; determining parameter values of process parameters in the filtered process content to obtain target process content; and generating a process file corresponding to the target process according to the target process content. The problem of in the correlation technique under the condition of through typical technology mode generation technology file, technology file generates the rate of accuracy and efficiency lower is solved. The target parameters corresponding to the target process are set, the process generation rules are obtained according to the target parameters, and parameter filling and data calculation are automatically performed according to the process generation rules, so that the effect of quickly and accurately generating the process files corresponding to the target process is achieved.
Optionally, in the method for generating a process file provided in the embodiment of the present application, a plurality of process type information is stored in a rule base, each process type information is associated with a process generation rule, and matching a process generation rule corresponding to a target process from the rule base according to a target parameter includes: determining process type information corresponding to the target process in the rule base according to the target parameters; and acquiring a process generation rule associated with the process type information, and determining the acquired process generation rule as a process generation rule corresponding to the target process.
Specifically, after the target parameter is determined, process type information corresponding to the target process needs to be acquired from a rule base according to information in the target parameter, wherein a plurality of process type information are stored in the rule base, each process type information is associated with a process generation rule, the process type information in the rule base needs to be selected according to the target parameter, for example, when the target parameter is a bolt product of M14 specification, the corresponding process type information may be a part type.
It should be noted that each process type information may correspond to one or more process generation rules, fig. 3 is a schematic diagram illustrating a relationship between an optional process type and a process generation rule provided according to this embodiment, as shown in fig. 3, a part type in a process type may correspond to a process generation rule, and the process generation rule may include preset process content and target process parameters corresponding to a product of the part type. And acquiring a process generation rule corresponding to the target process according to the corresponding relation between the process type information and the process generation rule.
Optionally, in the method for generating a process file provided in the embodiment of the present application, the preset process content is associated with a process parameter, and the preset process content is filtered according to the target process parameter, where the obtaining of the filtered process content includes: detecting whether an updating instruction of the target process parameters is received; under the condition of receiving an updating instruction, updating the target process parameters to obtain updated target process parameters; matching the updated target process parameters with the process parameters associated with the preset process content to obtain matched process parameters; and determining the preset process content associated with the matched process parameter as the filtered process content.
Specifically, after the process generation rule is obtained, a data change instruction is initiated to the user, and at this time, the user may modify the target process parameter, so as to change part of the default parameters and default conditions. After the data change instruction is initiated to the user, the detection of the update instruction of the target process parameter needs to be carried out, after the update instruction is detected, the updated content needs to be replaced in the target process parameter, thus, the updated target process parameters are obtained, and for example, if the default target process parameters include "horizontal forging form ═ finish welding" and "solid solution form ═ full solid solution'", upon receiving an update command for changing the "horizontal forging form to the" fine welding "and the solid solution form to the" full solid solution "to the" horizontal forging form to the "non-fine welding" and the solid solution form to the "semi-solid solution", the condition information is replaced, and at this time, the updated target process parameter is changed by using the conditions of the "transverse forging mode ═ non-fine welding" and the "semi-solid solution mode ═ semi-solid solution'".
It should be noted that, after the target process parameter is changed, the updated target process parameter needs to be matched with the process parameter associated with the preset process content, for example, table 2 may be process information in the preset process content corresponding to the target process, as shown in table 1:
TABLE 2
Name of procedure Condition
Number (C)
Cutting Transverse forging form ═ finish welding 'and solid solution form ═ full solid solution'
Vehicle with wheels Transverse forging form ═ non-finish welding 'and solid solution form ═ semi-solid solution'
Straight and straight
Rivet welding Transverse forging form ═ finish welding 'and solid solution form ═ semi-solid solution'
The preset process parameter associated with the process content may be a condition corresponding to each process name, the updated target process parameter may be a "horizontal forging form ═ non-fine welding" and a solid solution form ═ semi-solid solution' ", at this time, the process information corresponding to the target process generated according to the updated target process parameter is a number, a turning, a straightening, and the process information is set as the filtered process content.
Optionally, in the method for generating a process file provided in the embodiment of the present application, the process generation rule includes a parameter value generation rule, the process parameters in the filtered process content include a parameter to be filled and a variable parameter, and determining the parameter values of the process parameters in the filtered process content to obtain the target process content includes: determining a first parameter value generation rule associated with the parameter to be filled, and generating a first parameter value corresponding to the parameter to be filled according to the first parameter value generation rule; and determining a second parameter value generation rule associated with the variable parameter, generating a second parameter value corresponding to the variable parameter according to the second parameter value generation rule, and updating the parameter value of the variable parameter according to the second parameter value.
Specifically, the parameter value generation rule may include a first parameter value generation rule and a second parameter value generation rule, where the first parameter generation rule may be a rule for directly setting a process parameter associated with preset process content as a parameter to be filled, so as to generate the parameter to be filled, and the second parameter value generation rule may be a rule for changing a corresponding parameter in the preset process content through a preset calculation method and a preset calling method, so as to obtain a corresponding parameter value, for example, table 3 may be a process information table corresponding to a target process, where a/B/C/D/E/F/gysb1/gysb2/gysb3 may be a preset calling identifier, and data corresponding to each of a/B/C/D/E/F/gysb1/gysb2/gysb3 in the process parameter associated with the preset process content may be directly mapped to the corresponding parameter in the process information table according to the preset calling identifier And identifying the bits for replacement, thereby updating the parameter values of the variable parameters.
TABLE 3
Figure BDA0003413763900000071
Optionally, in the method for generating a process document provided in the embodiment of the present application, the rule for generating the parameter value at least includes one of the following: receiving an input parameter value of a user interface, calling the parameter value from a preset storage address, inquiring the parameter value from a preset table in the process content, and calculating the parameter value through a preset formula.
Specifically, the parameter values may include a basic parameter and a replacement parameter, where the basic parameter may be input by a user on a user interface, or obtained in a table look-up manner, or obtained in a formula calculation manner, for example, the formula is preset in the process information in the preset process content to be the product height a of X + Y + Z, and the product height a may be calculated after the parameter value of X/Y/Z is obtained, so as to obtain the parameter value.
It should be noted that the replacement parameter may be a preset parameter value stored in a preset storage address, and when the parameter value is generated, the preset parameter value may be called through a preset associated call address, so as to obtain the parameter value, for example, the parameter value is obtained according to the preset call relation and the preset call address, and the parameter value is replaced to a corresponding position on the process content or the simplified diagram.
Optionally, in the method for generating a process file provided in the embodiment of the present application, the process generation rule further includes a file generation format, and generating the process file corresponding to the target process according to the target process content includes: and converting the target process content according to the file generation format to obtain a process file corresponding to the target process.
Specifically, after the target process content is obtained, the target process content may be directly set as a process file corresponding to the target process, or the target process content may be subjected to format conversion and converted into a target format, so as to prevent the file from being incompatible with the system, for example, the format of the process text is converted into a format such as a cxp (caxa process file format) and an xls.
Optionally, in the method for generating a process file provided in the embodiment of the present application, the preset process content at least includes one of the following: process base information, process information, and process map information.
Specifically, as shown in fig. 2, the preset process content may include process information, a process diagram, and the like, wherein the process information may further include process step information, inspection information, a process diagram, and the like. The process information may be information of raw materials, such as blanking specification of the process, blank weight, etc., the process information may be related information of the production process, such as process name, process content, process equipment, workshop, working hour, etc., and the process diagram may be a flow chart corresponding to the whole process flow.
Next, a flow of an optional process file generation manner according to the present embodiment is provided, and fig. 4 is a flow chart of an optional process file generation manner according to the present embodiment. As shown in fig. 4, a target process file is newly created, then a target process type is obtained by inputting a target parameter or manually selecting the target process type, preset process content and a target process parameter in the type are obtained according to the target process type, that is, a process generation rule is obtained, further, a parameter input request is sent to a user for changing the target process parameter according to process requirements, after the parameter input request is sent to the user, the preset process content is filtered according to the target process parameter, a parameter value of the process parameter in the filtered process content is determined, the target process content is obtained, and a process file in a format corresponding to the target process is generated according to the target process content, so that the target process file is obtained.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a device for generating a process file, and it should be noted that the device for generating a process file according to the embodiment of the present application may be used to execute the method for generating a process file according to the embodiment of the present application. The following describes a process file generation apparatus provided in an embodiment of the present application.
Fig. 5 is a schematic diagram of a device for generating a process file according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a first determining unit 51, a matching unit 52, a filtering unit 53, a second determining unit 54, a generating unit 55.
Specifically, the first determining unit 51 is configured to determine a target parameter corresponding to a target process;
the matching unit 52 is configured to match a process generation rule corresponding to the target process from the rule base according to the target parameter, where the process generation rule includes preset process content and the target process parameter;
the filtering unit 53 is configured to filter preset process contents according to the target process parameters to obtain filtered process contents;
a second determining unit 54, configured to determine parameter values of process parameters in the filtered process content to obtain target process content;
and the generating unit 55 is used for generating a process file corresponding to the target process according to the target process content.
In the device for generating a process file provided in the embodiment of the present application, a first determining unit 51 determines a target parameter corresponding to a target process; the matching unit 52 matches a process generation rule corresponding to the target process from the rule base according to the target parameter, wherein the process generation rule includes preset process content and the target process parameter; the filtering unit 53 filters the preset process content according to the target process parameter to obtain the filtered process content; the second determining unit 54 determines parameter values of process parameters in the filtered process content to obtain target process content; the generating unit 55 generates a process file corresponding to the target process based on the target process content. The problem of in the correlation technique under the condition of through typical technology mode generation technology file, technology file generates the rate of accuracy and efficiency lower is solved. The target parameters corresponding to the target process are set, the process generation rules are obtained according to the target parameters, and parameter filling and data calculation are automatically performed according to the process generation rules, so that the effect of quickly and accurately generating the process files corresponding to the target process is achieved.
Optionally, in the apparatus for generating a process document provided in this embodiment of the present application, a plurality of process type information is stored in a rule base, each process type information is associated with a process generation rule, and the matching unit 52 includes: the first determining module is used for determining process type information corresponding to the target process in the rule base according to the target parameters; and the acquisition module is used for acquiring the process generation rule associated with the process type information and determining the acquired process generation rule as the process generation rule corresponding to the target process.
Optionally, in the apparatus for generating a process document provided in this embodiment of the present application, the preset process content is associated with a process parameter, and the filtering unit 53 includes: the detection module is used for detecting whether an update instruction of the target process parameter is received; the updating module is used for updating the target process parameters under the condition of receiving the updating instruction to obtain the updated target process parameters; the matching module is used for matching the updated target process parameters with the process parameters related to the preset process content to obtain matched process parameters; and the second determining module is used for determining the preset process content associated with the matched process parameter as the filtered process content.
Optionally, in the device for generating a process document provided in this embodiment of the present application, the process generation rule includes a generation rule of a parameter value, the process parameters in the filtered process content include a parameter to be filled and a variable parameter, and the second determining unit 54 includes: the third determining module is used for determining a first parameter value generating rule associated with the parameter to be filled and generating a first parameter value corresponding to the parameter to be filled according to the first parameter value generating rule; and the fourth determining module is used for determining a second parameter value generating rule associated with the variable parameter, generating a second parameter value corresponding to the variable parameter according to the second parameter value generating rule, and updating the parameter value of the variable parameter according to the second parameter value.
Optionally, in the apparatus for generating a process document provided in the embodiment of the present application, the rule for generating the parameter value includes at least one of: receiving an input parameter value of a user interface, calling the parameter value from a preset storage address, inquiring the parameter value from a preset table in the process content, and calculating the parameter value through a preset formula.
Optionally, in the device for generating a process file provided in the embodiment of the present application, the process generation rule further includes a file generation format, and the generating unit 55 includes: and the conversion module is used for converting the target process content according to the file generation format to obtain a process file corresponding to the target process.
Optionally, in the device for generating a process document provided in the embodiment of the present application, the preset process content at least includes one of the following: process base information, process information, and process map information.
The generating device of the process file comprises a processor and a memory, wherein the first determining unit 51, the matching unit 52, the filtering unit 53, the second determining unit 54, the generating unit 55, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, and the problem of low accuracy and efficiency of process file generation under the condition of generating process files in a typical process mode in the related art is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the application also provides a nonvolatile storage medium, wherein the nonvolatile storage medium is used for storing the program, and the program controls the equipment where the nonvolatile storage medium is located to execute the generation method of the process file when running.
The embodiment of the application also provides an electronic device, which comprises a processor and a memory; the memory has computer readable instructions stored therein, and the processor is configured to execute the computer readable instructions, wherein the computer readable instructions when executed perform a method for generating a process file. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for generating a process file is characterized by comprising the following steps:
determining target parameters corresponding to a target process;
matching a process generation rule corresponding to the target process from a rule base according to the target parameter, wherein the process generation rule comprises preset process content and target process parameters;
filtering the preset process content according to the target process parameter to obtain filtered process content;
determining parameter values of process parameters in the filtered process content to obtain target process content;
and generating a process file corresponding to the target process according to the target process content.
2. The method as claimed in claim 1, wherein the rule base stores a plurality of process type information, each process type information is associated with a process generation rule, and matching the process generation rule corresponding to the target process from the rule base according to the target parameter comprises:
determining process type information corresponding to the target process in the rule base according to the target parameters;
and acquiring a process generation rule associated with the process type information, and determining the acquired process generation rule as the process generation rule corresponding to the target process.
3. The method according to claim 1, wherein the preset process content is associated with process parameters, and the filtering of the preset process content according to the target process parameters to obtain the filtered process content comprises:
detecting whether an updating instruction of the target process parameter is received;
under the condition that the updating instruction is received, updating the target process parameter to obtain an updated target process parameter;
matching the updated target process parameter with the process parameter associated with the preset process content to obtain a matched process parameter;
and determining the preset process content associated with the matched process parameter as the filtered process content.
4. The method as claimed in claim 1, wherein the process generation rule includes a generation rule of parameter values, the process parameters in the filtered process content include parameters to be filled and variable parameters, and determining the parameter values of the process parameters in the filtered process content to obtain the target process content includes:
determining a first parameter value generation rule associated with the parameter to be filled, and generating a first parameter value corresponding to the parameter to be filled according to the first parameter value generation rule;
determining a second parameter value generation rule associated with the variable parameter, generating a second parameter value corresponding to the variable parameter according to the second parameter value generation rule, and updating the parameter value of the variable parameter according to the second parameter value.
5. The method of claim 4, wherein the rule for generating the parameter value comprises at least one of: receiving an input parameter value of a user interface, calling the parameter value from a preset storage address, inquiring the parameter value from a preset table in the process content, and calculating the parameter value through a preset formula.
6. The method of claim 1, wherein the process generation rule further includes a file generation format, and generating the process file corresponding to the target process according to the target process content includes:
and converting the target process content according to the file generation format to obtain a process file corresponding to the target process.
7. The method of claim 1, wherein the predetermined process context comprises at least one of: process base information, process information, and process map information.
8. An apparatus for generating a process file, comprising:
the first determining unit is used for determining target parameters corresponding to a target process;
the matching unit is used for matching a process generation rule corresponding to the target process from a rule base according to the target parameters, wherein the process generation rule comprises preset process content and target process parameters;
the filtering unit is used for filtering the preset process content according to the target process parameter to obtain filtered process content;
the second determining unit is used for determining parameter values of the process parameters in the filtered process contents to obtain target process contents;
and the generating unit is used for generating a process file corresponding to the target process according to the target process content.
9. A non-volatile storage medium, wherein the non-volatile storage medium is used for storing a program, and when the program runs, the program controls a device where the non-volatile storage medium is located to execute the process file generation method according to any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory having stored thereon computer-readable instructions, the processor being configured to execute the computer-readable instructions, wherein the computer-readable instructions are configured to execute the method of generating a process file according to any one of claims 1 to 7.
CN202111538975.6A 2021-12-15 2021-12-15 Method and device for generating process file, storage medium and electronic device Pending CN114239097A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111538975.6A CN114239097A (en) 2021-12-15 2021-12-15 Method and device for generating process file, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111538975.6A CN114239097A (en) 2021-12-15 2021-12-15 Method and device for generating process file, storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN114239097A true CN114239097A (en) 2022-03-25

Family

ID=80756685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111538975.6A Pending CN114239097A (en) 2021-12-15 2021-12-15 Method and device for generating process file, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN114239097A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756913A (en) * 2022-04-22 2022-07-15 苏州浪潮智能科技有限公司 Method, device, equipment and medium for determining component installation position
CN114936054A (en) * 2022-04-11 2022-08-23 中车青岛四方机车车辆股份有限公司 Method and device for generating debugging process file of vehicle and rail vehicle
CN116205188A (en) * 2023-05-04 2023-06-02 粤芯半导体技术股份有限公司 Method and device for creating semiconductor process recipe, storage medium and electronic equipment
CN118195283A (en) * 2024-05-17 2024-06-14 苏州慧工云信息科技有限公司 Parameterized process route generation method, parameterized process route generation system and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN113688609A (en) * 2021-08-20 2021-11-23 北京数码大方科技股份有限公司 Method and device for naming process file, storage medium and processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN113688609A (en) * 2021-08-20 2021-11-23 北京数码大方科技股份有限公司 Method and device for naming process file, storage medium and processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王正刚 等: "基于特征的多模式CAPP系统的研究", 《组合机床与自动化加工技术》, no. 08, 25 August 2003 (2003-08-25), pages 28 - 30 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936054A (en) * 2022-04-11 2022-08-23 中车青岛四方机车车辆股份有限公司 Method and device for generating debugging process file of vehicle and rail vehicle
CN114756913A (en) * 2022-04-22 2022-07-15 苏州浪潮智能科技有限公司 Method, device, equipment and medium for determining component installation position
CN114756913B (en) * 2022-04-22 2024-01-19 苏州浪潮智能科技有限公司 Component mounting position determining method, device, equipment and medium
CN116205188A (en) * 2023-05-04 2023-06-02 粤芯半导体技术股份有限公司 Method and device for creating semiconductor process recipe, storage medium and electronic equipment
CN116205188B (en) * 2023-05-04 2023-08-29 粤芯半导体技术股份有限公司 Method and device for creating semiconductor process recipe, storage medium and electronic equipment
CN118195283A (en) * 2024-05-17 2024-06-14 苏州慧工云信息科技有限公司 Parameterized process route generation method, parameterized process route generation system and storage medium

Similar Documents

Publication Publication Date Title
CN114239097A (en) Method and device for generating process file, storage medium and electronic device
CN110413634A (en) Data query method, system, device and computer readable storage medium
CN109145981B (en) Deep learning automatic model training method and equipment
CN112347750A (en) Method, device and medium for generating bill of materials
CN109388644B (en) Data updating method and device
CN114511235A (en) Process evaluation method and system
CN113919683A (en) Method and device for calculating process man-hour, storage medium and processor
CN109241515B (en) Method and device for generating report file
CN113989817A (en) User-defined bill identification method, device and medium
CN111427976A (en) Method and device for acquiring road freshness
CN113515708A (en) Project recommendation method and device for construction land, storage medium and processor
CN110969547A (en) Text generation method and device
CN116341839B (en) Order pushing method, equipment and medium for household service personnel
CN111143356A (en) Report retrieval method and device
CN114817209A (en) Monitoring rule processing method and device, processor and electronic equipment
CN115496044A (en) Online table data generation method, equipment and medium
CN113792241A (en) Method and related device for overlaying and browsing DWG (discrete wavelet packet) file on Web map
CN110086867B (en) Vehicle returning network point pushing method
CN109299125B (en) Database updating method and device
CN113626415A (en) Credit data output method, device and medium
CN114138787A (en) Bar code identification method, equipment and medium
CN115480754A (en) Data acquisition method, equipment and medium
CN112579764A (en) Method, device, equipment and storage medium for generating court trial outline
CN114218912B (en) Method and system for generating process file, storage medium and electronic device
CN111274802B (en) Validity judgment method and device for address data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination