Parametric process route generation method, system and storage medium
Through the parametric process route generation method, dynamic calculation and automatic generation of process routes solve the problems of high labor intensity and uneven quality of manual preparation in discrete manufacturing, realize fast and accurate process route preparation and maintenance, and adapt to the dynamics of non-standard parts. processing needs.
Patent Information
- Application Number
- CN202410614034.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-05-17
AI Technical Summary
In the discrete manufacturing industry, traditional machining process route methods require manual preparation and maintenance, which results in high labor intensity and error-prone. In addition, differences in staff preparation levels lead to uneven process preparation quality and cannot effectively cope with the dynamic processing dimensions of non-standard parts. change.
Using the parametric process route generation method, by establishing parameter variable models, generating process route templates, extracting material feature values and forming matching rules, the process route is dynamically calculated to achieve automated generation and maintenance.
It reduces the workload of manual maintenance, improves the accuracy and consistency of process route preparation, can quickly adapt to the processing needs of large quantities of non-standard materials, reduces labor intensity and improves production efficiency.
Smart Images

Figure CN118195283B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of discrete manufacturing production management, and in particular to a parameterized process route generation method, system and storage medium. Background Art
[0002] At present, the traditional mechanical processing process route method is to set the process route of part processing according to the part drawing, and compile the process information such as the process steps, inspection dimensions, technical requirements, etc. of each process to guide production and processing. In the discrete manufacturing industry, production is usually carried out in the form of projects. In the products of the project, the parts are non-standard due to inconsistencies in length / width, etc., and there will be differences in the process route, which requires separate maintenance; because when compiling large quantities of parts with the same structure and different sizes, the processing dimensions of each process change and a new processing process needs to be re-compiled; and the process route of each part needs to be maintained. Large-scale maintenance by manual labor will be very labor-intensive and prone to errors; it will also be affected by the compilation level of different employees, resulting in uneven quality of process compilation. Summary of the invention
[0003] In view of this, the purpose of this application is to propose a parameterized process route generation method, system and storage medium, which can solve the technical problems of high labor intensity and easy errors in process route compilation and maintenance.
[0004] Based on the above purpose, the present application provides a parameterized process route generation method, including:
[0005] A parameter variable model is established based on product parameters, wherein the parameter variable model is used to define a basic parameter variable set that affects the process route, and the parameter variables are used to compile a calculation formula for the process route; the calculation formula includes a condition calculation formula and a process calculation formula;
[0006] Obtaining and classifying the process set under the product, and generating a parameterized process route template based on the process set;
[0007] Extracting characteristic values of materials under the product and classifying and summarizing them to form a characteristic value classification retrieval table, associating the characteristic value classification retrieval table with the process route template, and forming a matching rule between the materials under the product and the process route template;
[0008] Based on the matching rule, a process route template associated with the current material is searched, and the product process is calculated based on the associated process route template to generate a parameterized process route.
[0009] In one embodiment, generating a parameterized process route template based on the process set includes:
[0010] According to the work content and required process resources of each process node, determine the sequence relationship and dependency relationship between the process nodes, and establish the sequential path of the process nodes;
[0011] Set the parametric calculation formula for the process;
[0012] Connect the required adjacent processes and assign process route name information to form a process route template.
[0013] In one embodiment, the calculating of the product process based on the associated process route template includes:
[0014] Obtain all process sets under the current process route template through the associated process route template, and loop through all processes; determine the type of the conditional calculation formula of the process; if it is a fixed conditional format type, directly obtain the return value; if not, obtain the return value through calculation; the return value includes true or false;
[0015] If the return value is true, the process is selected, the process is assigned to the process route of the current material, and the process parameters in the process route are calculated;
[0016] If the return value is false, the process is skipped.
[0017] In one embodiment, the step of calculating the process parameters in the process route includes:
[0018] Get the parameter formulas corresponding to the current process;
[0019] Extract all variable attributes in the process parameter formula by regularization;
[0020] Use the name of the variable to search in the parameter variable model and return the model definition data of the variable;
[0021] Parse the model definition data to obtain the object associated with the variable and the object attribute value;
[0022] Traverse each parameter formula and use the value and parameter formula to build the script running environment;
[0023] Execute the parameter formula to obtain the process parameters in the process route and update the parameterized information of the process.
[0024] In one embodiment, the step of obtaining the process parameters in the process route and updating the parameterized information of the process further includes:
[0025] Connect all processes that meet the conditions, assign new process route name information, and form a process route unique to the current material.
[0026] In one embodiment, searching for a process route template associated with the current material based on the matching rule includes:
[0027] Obtain relevant characteristic values of the current material, match the value type with the value in the characteristic value classification search table, and find the process route template associated with the current material.
[0028] In one embodiment, the generating a parameterized process route template based on the process set further includes:
[0029] Under the same process set classification, multiple process route templates are generated to adapt to different business scenarios.
[0030] In one embodiment, the parameter variable model includes: parameter number, parameter name, parameter variable, and source object type and attributes of parameter value.
[0031] Based on the same inventive concept, the present application also provides a parameterized process route generation system, which includes:
[0032] A model building module, used to build a parameter variable model based on product parameters, wherein the parameter variable model is used to define a basic set of parameter variables that affect the process route, and the parameter variables are used to compile a calculation formula for the process route; the calculation formula includes a condition calculation formula and a process calculation formula;
[0033] A process route template generation module is used to obtain and classify the process set under the product, and generate a parameterized process route template based on the process set;
[0034] A material extraction module is used to extract characteristic values of materials under products and classify and summarize them to form a characteristic value classification retrieval table, associate the characteristic value classification retrieval table with the process route template, and form a matching rule between materials under products and the process route template;
[0035] The process route generation module is used to search for a process route template associated with the current material based on the matching rule, calculate the product process based on the associated process route template, and generate a parameterized process route.
[0036] Based on the same inventive concept, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the methods described above is implemented.
[0037] Based on the same inventive concept, the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute any of the methods described above.
[0038] From the above, it can be seen that the parameterized process route generation method, system and storage medium provided by the present application, by presetting a formula template containing parameter variables, substitute the actual business values into the formula variables during calculation for dynamic calculation, and can more quickly compile process routes for large quantities of non-standard materials; it also provides an online process parameter model library sharing service, which can be operated online by multiple people at the same time, reducing the workload of personal parameter model design. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0040] Figure 1 A flow chart of a parameterized process route generation method provided in an embodiment of the present application;
[0041] Figure 2 A schematic diagram of a standardized BOM design of a product P provided in an embodiment of the present application;
[0042] Figure 3 A schematic diagram of the design BOM requirements of the product P provided in the embodiment of the present application in project 1;
[0043] Figure 4 A schematic diagram of the design BOM requirements of the product P provided in the embodiment of the present application in Project 2;
[0044] Figure 5 A schematic diagram of the parameterized calculation flow of the process provided in the embodiment of the present application;
[0045] Figure 6 A schematic diagram of a parameterized process route generation system provided in an embodiment of the present application;
[0046] Figure 7 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0048] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.
[0049] At present, the existing discrete products have different project requirements in actual manufacturing, and some of the components will also be different, so the processing technology of the parts is not exactly the same. The process route of the parts will be affected by the basic data and project data of the specific parts. For example, when the length of the copper busbar parts exceeds 2m, a punching process operation needs to be added for subsequent fixation. Another project requires that all copper busbar parts be smooth and a grinding process needs to be added. In addition, the size of the part will also affect the processing time of a certain process. For example, the larger the part size, the longer the corresponding processing time will naturally be. In the discrete manufacturing industry, there are a large number of non-standard parts for such projects. If the dynamic information such as the process route and process parameters are maintained and adjusted by human judgment, the workload will be huge.
[0050] In view of this, see Figure 1 , the present application provides a parameterized process route generation method, comprising:
[0051] Step S100, establishing a parameter variable model based on product parameters, wherein the parameter variable model is used to define a basic set of parameter variables that affect the process route, and the parameter variables are used to compile a calculation formula for the process route; the calculation formula includes a conditional calculation formula and a process calculation formula.
[0052] Specifically, the parameter variable model is used to define the basic parameter variable set that affects the process route. These parameter variables are used by process personnel to compile the calculation formula of the process route; when generating the process route of the part, the real variable value is substituted for calculation, so as to realize the automatic generation of the process route of different parts. The parameter variable model includes parameter number, parameter name, parameter variable, and the source object type and attribute of the parameter value. The parameter number is the unique ID defined by the parameter variable; the parameter name is the purpose of the variable intuitively identified by the process personnel, such as the length of the copper bar, the width of the copper bar, etc.; the parameter variable is used for the parameter variable in the formula, such as X, Y, etc.; the source object type and attribute of the parameter value is in object-oriented programming, the value of the parameter variable is taken from what attribute of what object type; for example, the value of the copper bar length parameter will be taken from the length attribute of the copper bar material master data object type.
[0053] Step S200: Obtain and classify the process set under the product, and generate a parameterized process route template based on the process set.
[0054] In one embodiment, step S200 includes:
[0055] Step S210: Determine the sequence relationship and dependency relationship between the process nodes according to the work content and required process resources of each process node, and establish a sequential path of the process nodes;
[0056] Step S220, setting a parameterized calculation formula for the process;
[0057] Step S230: Connect the required processes that are adjacent to each other, and assign process route name information to form a process route template.
[0058] Furthermore, step S200 also includes: generating multiple process route templates under the same process set classification to adapt to different business scenarios.
[0059] Specifically, the process set under the product can be classified and defined according to different part types such as sheet metal, copper busbar and profiles. For example, sheet metal processing usually includes sawing, general punching, folding, programming, digital punching, servo stamping, grinding and other processes, and copper busbar processing includes sawing, bending, punching, grinding and other processes. Then, parameterized selection conditions and dynamic parameter information (including process resource information, process equipment information, process management information, etc.) are set in detail for each process of the process route, which can realize the compilation of large-scale non-standard material process routes more quickly.
[0060] After classifying and defining the process set, first determine the order and dependency between the process nodes according to the work content and required process resources of each process node, and then establish the sequential path of the process nodes. Set the parametric calculation formula of the process to determine whether a certain process is required in the processing of the part; the calculation formula is mainly divided into conditional calculation formula and process calculation formula. The conditional calculation formula includes: when the return value of the parametric formula calculation on the process is true (correct), it means that the process of the part needs to use this process; when the return value of the parametric formula calculation on the process is false (wrong), it means that the part does not use this process. If the part materials adapted by the current process parameter template are all required processes, the parametric conditional calculation always returns true (correct); the process selection also includes optional processes, and it is necessary to use parametric calculation to determine whether this process is applied to the processing of the part.
[0061] The process calculation formula generates the process description of the current process through dynamic parameters, which can include related tools, equipment, production and processing requirements, etc. In the calculation formula, the parameterized variables come from the pre-established parameter variable model. Parameterized statement expressions usually use JavaScript syntax, which can run on multiple platforms such as JAVA / .NET / ABAP. The language entry threshold is low, and the user group is very popular and has good adaptability. Among them, JavaScript (JS) is a lightweight, interpreted or just-in-time compiled programming language with function priority.
[0062] The parameterization in this application is achieved by presetting a formula template containing parameter variables, and substituting the actual business values into the formula variables during calculation to perform dynamic calculations; and parameterization is not only used for process parameters (such as labor time quotas), but also for the dynamic selection of processes in the process route; and this application works based on the B / S mode, and multiple people can operate online at the same time; at the same time, it provides an online process parameter model library sharing service, which greatly reduces the workload of personal parameter model design.
[0063] After determining the required processes, connect all adjacent processes and assign process route name information to form a process route template. Under the same process set category, multiple process route templates can be defined to better adapt to different business scenarios.
[0064] Step S300, extract the characteristic values of the materials under the product and classify and summarize them to form a characteristic value classification retrieval table, associate the characteristic value classification retrieval table with the process route template, and form a matching rule between the materials under the product and the process route template.
[0065] Specifically, step S300 includes: configuring matching rules between materials and process route templates, extracting characteristic values of materials and grouping them, associating characteristic groups with process route templates, and forming matching rules between materials and process route templates, wherein material characteristic values refer to typical characteristics that can be used to distinguish materials in the dimension of process route set, such as the type of material. The process routes of different types of materials contain different sets of processes; if the same material characteristics are associated with multiple process route templates, the characteristics need to be further refined until an accurate match is achieved; then all characteristic values are classified, collected and summarized to form a characteristic value classification retrieval table.
[0066] Step S400: searching for a process route template associated with the current material based on the matching rule, calculating the product process based on the associated process route template, and generating a parameterized process route.
[0067] Among them, searching for the process route template associated with the current material based on the matching rule includes: obtaining the relevant characteristic value of the current material, matching the value by value type in the characteristic value classification search table, and searching for the associated process route template.
[0068] Calculate product operations based on the associated process route template, including:
[0069] Obtain all process sets under the current process route template through the associated process route template, and loop through all processes; determine the type of the conditional calculation formula of the process; if it is a fixed conditional format type, directly obtain the return value; if not, obtain the return value through calculation; the return value includes true or false;
[0070] If the return value is true, the process is selected, the process is assigned to the process route of the current material, and the process parameters in the process route are calculated;
[0071] If the return value is false, the process is skipped.
[0072] Furthermore, in step S400, the process parameters in the process route are calculated, including:
[0073] Get the parameter formulas corresponding to the current process;
[0074] Extract all variable attributes in the process parameter formula by regularization;
[0075] Use the name of the variable to search in the parameter variable model and return the model definition data of the variable;
[0076] Parse the model definition data to obtain the object associated with the variable and the object attribute value;
[0077] Traverse each parameter formula and use the value and parameter formula to build the script running environment;
[0078] Execute the parameter formula to obtain the process parameters in the process route and update the parameterized information of the process.
[0079] Connect all processes that meet the conditions, assign new process route name information, and form a process route unique to the current material.
[0080] Specifically, in the process of parametric generation of process routes, the design BOM (Bill of Materials) of the project is a hierarchical tree data structure, which needs to be traversed in a depth-first or breadth-first manner. Only when the traversed material is a self-made processed part and the process route needs to be maintained, the parametric process route generation is performed. Its generation process mainly includes the selection of process route templates and the calculation of processes in the process route; the selection of process route templates includes obtaining the relevant characteristic values of the current material, matching the value type with the value in the characteristic value classification retrieval table, and finding the associated process route template. Then the processes in the process route are calculated, including obtaining all the process sets under the current process route template through the process route template, and looping through all processes.
[0081] The following is a specific example of a parameterized process route generation method, system, and storage medium provided by the present application. Figure 2 , a standard BOM structure diagram of a discrete product, but due to different project requirements in actual manufacturing, some of the components will also be different, so the processing technology of the parts is not exactly the same. Figure 3 and Figure 4 , respectively representing the actual production demands P1 and P2 of product P for different projects; Figure 3 Parts A1 / B1 / C1 are some of the components required for the actual production demand P1 of product P. Figure 4 Parts A2 / B2 / C2 are some of the components required for the actual production demand P2 of product P.
[0082] Taking product P as an example, a parameterized process route generation method is established, which mainly includes the following steps:
[0083] Establish a parameterized variable model for P products to define the basic set of parameter variables that affect the process route, and use these variables for process personnel to compile the calculation formula for the process route; when generating the process route of a part, substitute the real variable value into the calculation formula for calculation, so as to realize the automatic generation of process routes for different parts. Among them, the parameter variable model includes parameter number, parameter name, parameter variable, source object type and attribute of parameter value; parameter number refers to the unique ID defined by the parameter variable; parameter name refers to the purpose of the variable intuitively identified by process personnel, such as copper bar length, copper bar width, etc.; parameter variable refers to the parameter variable used in the formula, such as X, Y; the source object type and attribute of the parameter value refers to what attribute of what object type the value of the parameter variable is taken from in object-oriented programming, such as the value of the copper bar length parameter will be taken from the length attribute of the copper bar material master data object type.
[0084] for Figure 2 The product P can define the variable model of part material process parameterization under product P as shown in Table 1.
[0085] Table 1
[0086]
[0087] Classify the process set under product P and define the parameterized process route template as shown in Table 2.
[0088] Table 2
[0089]
[0090] As shown in Table 2, 1001 and 1002 are the process routes for sheet metal and copper busbar under product P, respectively. Therefore, the process set can be classified and defined according to different part types such as sheet metal, copper busbar and profile. For example, sheet metal processing in product P includes programming, digital punching, folding and other processes, and copper busbar processing includes sawing, bending, general punching, grinding and other processes. First, according to the work content and required process resources of each process node, the sequence relationship and dependency relationship between each process node are determined, and then the sequence path of the process nodes is established. Then, the parametric calculation formula of the process is set to calculate the required process. The calculation formula is mainly divided into conditional calculation formula and process calculation formula, among which the conditional calculation formula also includes fixed formula. In the fixed formula, a positive value is always returned, such as all copper busbar parts have a sawing process.
[0091] Conditional calculation formula 1 indicates that when the part type is copper busbar and the material model is B, the process route of the part includes the bending process, where conditional calculation formula 1 is:
[0092]
[0093] Among them, process calculation formula 1 means that when the copper bar is punched in a general process, if the length is greater than 2m and less than 6m, a hole is punched in the center; when the length exceeds 6m, a hole is punched every 3m, and the hole diameter is 0.5mm; the process calculation formula 1 is:
[0094]
[0095] The source of formula parameterized variables is the pre-established parameter variable model in Table 2. Parameterized statement expressions usually use JavaScript syntax, which can run on multiple platforms such as JAVA / .NET / ABAP. The language has a low entry threshold and is widely used by the user group, making it highly adaptable.
[0096] Connect all adjacent processes and assign process route name information to form a process route template. In addition, multiple process route templates can be defined to better adapt to different business scenarios.
[0097] After the process route template is generated, the matching rules between the material and the process route template under the P product are configured. By extracting the characteristic values of the material and grouping them, the characteristic groups are associated with the process route template to form the matching rules between the material and the process route template. The material characteristic values refer to the typical characteristics that can be used to distinguish the material in the process route set dimension. For example, sheet metal and copper bars under the P product can be distinguished by the type of material. If there are multiple process route templates associated with the same material characteristics, the characteristics need to be further refined until an accurate match is achieved. All characteristic values are classified and collected to form a characteristic value classification retrieval table. Table 3 shows the matching rules table between the part material and the process route template under the P product.
[0098] Table 3
[0099]
[0100] The process route of the parts and materials in the project is generated parameterized. The design BOM of the project is a hierarchical tree data structure, which needs to be traversed in a depth-first or breadth-first manner. Only when the traversed material is a self-made processed part and the process route needs to be maintained, the parameterized process route is generated. Its generation process mainly includes process route template selection and process calculation; process route template selection includes obtaining the relevant characteristic values of the current material, matching the value type with the value in the characteristic value classification retrieval table, and finding the associated process route template. As shown in Table 3, the copper busbar part will select the 1002 process route template, and the sheet metal will select the 1001 process route template.
[0101] The process calculation in the process route is to obtain all the process sets under the current process route template through the process route template, and then loop through all the processes. Figure 5 The calculation is performed according to the process shown; first determine the type of the conditional calculation formula of the process. If it is a fixed conditional format type, directly return the value (true / false); otherwise, obtain the return value of the conditional formula through calculation, including extracting the parameter variables in the formula through regular expressions; search in the parameter model by the name of the variable and return the model definition data of the variable; parse the model definition data to obtain the object associated with the variable and the object attribute value; use the value and formula to build the script running environment; execute the formula to obtain the return value.
[0102] If true is returned, the process belongs to the process route of the current material; otherwise, if false is returned, the process will not be selected.
[0103] When the process is selected, the process parameters in the process route need to be further calculated; specifically, the following steps are performed: obtaining the parameter formulas corresponding to the current process; extracting all variable attributes in the process parameter formula by regular expression; searching the parameter model with the variable name and returning the model definition data of the variable; parsing the model definition data and obtaining the object and object attribute values associated with the variable; traversing each parameter formula and building the script running environment with the value and formula; executing the formula to obtain the calculation result and update the parameterized information of the process.
[0104] Finally, all the processes that meet the conditions are connected and given new process route name information, thus forming a process route unique to the current material, such as the process route information of B1 / B2 / C1 / C2 materials shown in the process route table 4 of the project material.
[0105] Table 4
[0106]
[0107] As can be seen from the above, the parameterized process route generation method provided by the present application, by presetting the formula template containing parameter variables, sets the parameterized selection conditions and dynamic parameter information in detail at each process of the process route during calculation, and substitutes the actual business value into the formula variable for dynamic calculation; it can realize the preparation of large-scale non-standard material process routes more quickly; it supports the convenience of process management under flexible and changeable engineering design, and the dynamic process parameters can subdivide the input and output information of discrete materials into each related process, clearly reflect the specific situation of the process route, increase the production and processing requirements of each process during production scheduling, and at the same time, according to the management information, the management requirements of the process can be clearly defined, so that the management is more standardized. Moreover, multiple people can operate online at the same time, providing an online process parameter model library sharing service, reducing the workload of personal parameter model design.
[0108] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0109] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0110] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a parameterized process route generation system.
[0111] refer to Figure 6 , parameterized process route generation system, including the following modules:
[0112] A model building module, used to build a parameter variable model based on product parameters, wherein the parameter variable model is used to define a basic set of parameter variables that affect the process route, and the parameter variables are used to compile a calculation formula for the process route; the calculation formula includes a condition calculation formula and a process calculation formula;
[0113] A process route template generation module is used to obtain and classify the process set under the product, and generate a parameterized process route template based on the process set;
[0114] A material extraction module is used to extract characteristic values of materials under products and classify and summarize them to form a characteristic value classification retrieval table, associate the characteristic value classification retrieval table with the process route template, and form a matching rule between materials under products and the process route template;
[0115] The process route generation module is used to search for a process route template associated with the current material based on the matching rule, calculate the product process based on the associated process route template, and generate a parameterized process route.
[0116] In a feasible embodiment, the process route template generation module is further used to:
[0117] According to the work content and required process resources of each process node, determine the sequence relationship and dependency relationship between the process nodes, and establish the sequential path of the process nodes;
[0118] Set the parametric calculation formula for the process;
[0119] Connect the required adjacent processes and assign process route name information to form a process route template.
[0120] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0121] The system of the above embodiment is used to implement the corresponding parameterized process route generation method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.
[0122] Based on the same concept, corresponding to any of the above-mentioned embodiments, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the parameterized process route generation method described in any of the above embodiments is implemented.
[0123] Figure 7 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0124] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0125] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0126] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0127] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).
[0128] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).
[0129] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0130] The electronic device of the above embodiment is used to implement the corresponding parameterized process route generation method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.
[0131] Based on the same concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the parameterized process route generation method described in any of the above embodiments.
[0132] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, 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, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0133] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the parameterized process route generation method described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0134] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0135] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the well-known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the embodiments of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.
[0136] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.
[0137] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A parametric process route generation method, It is characterized in that include: A parameter variable model is established based on product parameters, wherein the parameter variable model is used to define a basic parameter variable set that affects the process route, and the parameter variables are used to compile a calculation formula for the process route; the calculation formula includes a condition calculation formula and a process calculation formula; Obtaining and classifying a process set of a product, and generating a parameterized process route template based on the process set; Extracting characteristic values of product materials and classifying and summarizing them to form a characteristic value classification retrieval table, associating the characteristic value classification retrieval table with the process route template, and forming a matching rule between product materials and the process route template; Searching for a process route template associated with the current material based on the matching rule, calculating the product process based on the associated process route template, and generating a parameterized process route; The calculation of the product process based on the associated process route template includes: Obtain all process sets under the current process route template through the associated process route template, and loop through all processes; determine the type of the conditional calculation formula of the process; if it is a fixed conditional format type, directly obtain the return value; if not, obtain the return value through calculation; the return value includes true or false; If the return value is true, the process is selected, the process is assigned to the process route of the current material, and the process parameters in the process route are calculated; If the return value is false, the process is skipped; The process parameters in the calculation process route include: Get the parameter formulas corresponding to the current process; Extract all variable attributes in the process parameter formula by regularization; Use the name of the variable to search in the parameter variable model and return the model definition data of the variable; Parse the model definition data to obtain the object associated with the variable and the object attribute value; Traverse each parameter formula and use the value and parameter formula to build the script running environment; Execute the parameter formula to obtain the process parameters in the process route and update the parameterized information of the process.
2. The parameterized process route generation method according to claim 1, It is characterized in that The generating of a parameterized process route template based on the process set includes: According to the work content and required process resources of each process node, determine the sequence relationship and dependency relationship between the process nodes, and establish the sequential path of the process nodes; Set the parametric calculation formula for the process; Connect the required adjacent processes and assign process route name information to form a process route template.
3. The parameterized process route generation method according to claim 1, It is characterized in that The step of obtaining the process parameters in the process route and updating the parameterized information of the process further includes: Connect all processes that meet the conditions, assign new process route name information, and form a process route unique to the current material.
4. The parameterized process route generation method according to claim 1, It is characterized in that The searching for a process route template associated with the current material based on the matching rule includes: Obtain relevant characteristic values of the current material, match the value type with the value in the characteristic value classification search table, and find the process route template associated with the current material.
5. The parameterized process route generation method according to claim 1, It is characterized in that The generating of a parameterized process route template based on the process set further includes: Under the same process set classification, multiple process route templates are generated to adapt to different business scenarios.
6. The method for generating a parameterized process route according to claim 1, It is characterized in that The parameter variable model includes: parameter number, parameter name, parameter variable, and source object type and attributes of parameter value.
7. A parametric process route generation system, It is characterized in that include: A model building module, used to build a parameter variable model based on product parameters, wherein the parameter variable model is used to define a basic set of parameter variables that affect the process route, and the parameter variables are used to compile a calculation formula for the process route; the calculation formula includes a condition calculation formula and a process calculation formula; A process route template generation module is used to obtain and classify the process set of the product, and generate a parameterized process route template based on the process set; A material extraction module is used to extract characteristic values of product materials and classify and summarize them to form a characteristic value classification retrieval table, and associate the characteristic value classification retrieval table with the process route template to form a matching rule between product materials and the process route template; A process route generation module, used for searching a process route template associated with the current material based on the matching rule, calculating the product process based on the associated process route template, and generating a parameterized process route; The calculation of the product process based on the associated process route template includes: Obtain all process sets under the current process route template through the associated process route template, and loop through all processes; determine the type of the conditional calculation formula of the process; if it is a fixed conditional format type, directly obtain the return value; if not, obtain the return value through calculation; the return value includes true or false; If the return value is true, the process is selected, the process is assigned to the process route of the current material, and the process parameters in the process route are calculated; If the return value is false, the process is skipped; The process parameters in the calculation process route include: Get the parameter formulas corresponding to the current process; Extract all variable attributes in the process parameter formula by regularization; Use the name of the variable to search in the parameter variable model and return the model definition data of the variable; Parse the model definition data to obtain the object associated with the variable and the object attribute value; Traverse each parameter formula and use the value and parameter formula to build the script running environment; Execute the parameter formula to obtain the process parameters in the process route and update the parameterized information of the process.
8. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the parameterized process route generation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Process compiling system and process compiling method
CN106408435A
Process file generation method and device, storage medium and electronic device
CN114239097A
Intelligent generation method for part machining process route
CN115994619A
