An intelligent instruction set construction method and system for industrial control

By parsing production scenario business into production structure processes and searching for node action instructions in the action instruction library, the problem of excessive preparation time caused by production equipment reconstruction instructions is solved, realizing efficient construction of production instruction sets and improving industrial production efficiency.

CN120494446BActive Publication Date: 2025-11-11ZHEJIANG CHINAJEY SOFTWARE TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510978410.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-07-16
Publication Date
2025-11-11
Estimated Expiration
2045-07-16

AI Technical Summary

Technical Problem

In existing technologies, technicians need to constantly reconstruct the operating instructions of production equipment to meet different production tasks, which leads to excessive preparation time before production and low industrial production efficiency.

Method used

By parsing the business scenarios of production into production structure processes, deconstructing each step into node production actions, and searching for the corresponding node action instructions in the action instruction library, a production instruction set is reconstructed, avoiding the need to rewrite the instructions for production equipment.

Benefits of technology

It saves a significant amount of preparation time before production, improves industrial production efficiency, ensures that the production instruction set matches the actual production tasks, and enhances the accuracy and efficiency of production instructions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120494446B_ABST
    Figure CN120494446B_ABST
Patent Text Reader

Abstract

This application provides a method and system for constructing an intelligent instruction set for industrial control, relating to the technical field of intelligent manufacturing. The method includes: acquiring production scenario business; analyzing the production scenario business to determine the production structure process; analyzing the production structure process to determine the corresponding node production actions; determining node action instructions based on the node production actions and a preset action instruction library; and reconstructing the node action instructions to generate a production instruction set. This application has the effect of improving industrial production efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of intelligent manufacturing, and in particular to a method and system for constructing an intelligent instruction set for industrial control. Background Technology

[0002] Industrial control refers to the use of various control methods and technologies to monitor and regulate production equipment and processes during industrial production, in order to ensure the stable and efficient operation of the production process and achieve the expected production goals.

[0003] In related technologies, during industrial production, when a new production task is received, technicians will determine the production equipment to complete the task before production begins. Then, the technicians will reconstruct the operating instructions of the production equipment to ensure that the production equipment can process the raw materials according to the requirements of the production task when it receives them.

[0004] Regarding the aforementioned technologies, in the face of different production tasks, technicians need to constantly rebuild the operating instructions of production equipment, resulting in excessively long preparation time before production, leading to low efficiency in industrial production, and there is still room for improvement. Summary of the Invention

[0005] To improve industrial production efficiency, this application provides a method and system for constructing an intelligent instruction set for industrial control.

[0006] Firstly, this application provides a method for constructing an intelligent instruction set for industrial control, employing the following technical solution:

[0007] A method for constructing an intelligent instruction set for industrial control, comprising:

[0008] Acquire business information from production scenarios;

[0009] Analyze the business processes in the production scenario to determine the production structure and workflow;

[0010] Analyze the production structure and process to determine the corresponding production actions at each node;

[0011] The node action instructions are determined based on the node production actions and the preset action instruction library.

[0012] The node action instructions are refactored to generate a production instruction set.

[0013] By adopting the above technical solution, the production scenario business is analyzed into a production structure process, and each step in the production structure process is deconstructed into node production actions. Then, the corresponding node action instructions are searched in the action instruction library according to the node production actions, and the node action instructions are reconstructed into a production instruction set, without the need to rewrite the instructions of the production equipment. This saves a lot of preparation time before production and improves industrial production efficiency.

[0014] Optionally, the steps for analyzing the production structure and process to determine the corresponding node production actions include:

[0015] Acquire historical scenario business information;

[0016] Determine whether the business operations in the production scenario meet the requirements of the business operations in the historical scenario;

[0017] If the conditions are met, the business in the production scenario and the business in the historical scenario will be analyzed to identify the business in the same scenario.

[0018] The node production action is determined based on the same scenario business and the preset scenario action library;

[0019] If it does not match, then retrieve the historical structure process;

[0020] Analyze the production structure and historical structure to determine the production actions at each node.

[0021] By adopting the above technical solution, when the business in the production scenario is consistent with the business in the historical scenario, it indicates that the production task is a duplicate production. Therefore, the node production action can be determined by directly searching for the corresponding node action in the scenario action library based on the same scenario business, thereby improving the efficiency of determining the node production action.

[0022] Optionally, analyzing the production structure and historical structure to determine the steps for each node's production action includes:

[0023] Analyze the production structure and historical structure processes to identify processes with the same structure and processes with different structure.

[0024] Identify actions with the same structure based on the same structural process and the preset historical structural action library;

[0025] Different structural actions are determined based on different structural processes and a preset structural process action library;

[0026] Associate actions with the same structure and actions with different structures to generate node production actions.

[0027] By adopting the above technical solution, the same and different structural processes are found in the production structure process. Then, the same structural actions are found in the historical structural action library based on the same structural process, and different structural actions are found in the structural process action library based on the different structural processes. This reduces the scope of action search for some structural processes and improves the efficiency of determining the production actions of nodes.

[0028] Optionally, the steps for determining node action instructions based on node production actions and a preset action instruction library include:

[0029] Analyze the production structure and corresponding node production actions to determine the synchronous selection of instruction actions;

[0030] Obtain the action determination form of the synchronous selection command action;

[0031] Determine whether the action determination form meets the requirements of the preset action direct matching form;

[0032] If the match is found, the corresponding scenario service will be retrieved.

[0033] The node action instructions are determined based on the matching scenario business and the preset scenario instruction library;

[0034] If it does not meet the requirements, the action instruction library will be analyzed based on the synchronously selected instruction action to determine the appropriate process instruction library.

[0035] The node action instructions are determined based on the synchronous selection of instruction actions and the adaptation process instruction library.

[0036] By adopting the above technical solution, when the action determination form of the synchronous selection instruction meets the requirements of the direct action matching form, the matching scenario business is invoked, and the node action instruction is searched in the scenario instruction library according to the matching scenario business. If it does not meet the requirements, the action instruction library is analyzed according to the synchronous selection instruction to determine the appropriate process instruction library, thereby narrowing the scope of the search instructions and improving the efficiency of determining the node action instruction.

[0037] Optionally, the steps of analyzing the action instruction library based on the synchronously selected instructions to determine the appropriate process instruction library include:

[0038] Analyze the synchronous selection instructions to determine the production actions to be analyzed and the matching production actions;

[0039] Analyze the production actions and matching actions to determine the number of actions to be analyzed and the number of actions to be matched.

[0040] Determine whether the number of actions analyzed meets the requirements for the number of matching actions;

[0041] If not, obtain the relevant equipment based on the matching production action;

[0042] Determine the appropriate process instruction library based on motion-related equipment and motion instruction library;

[0043] If the conditions are met, available production equipment will be obtained based on the production structure and process.

[0044] Determine the appropriate process instruction library based on available production equipment and motion instruction library.

[0045] By adopting the above technical solution, when the number of analyzed actions does not exceed the number of matched actions, it indicates that there are many instructions that can be determined directly by searching based on the matched production actions. Therefore, the action-related equipment is obtained, and the appropriate process instruction library is determined based on the action-related equipment and the action instruction library. When the number exceeds the limit, the available production equipment is obtained based on the production structure process, and the appropriate process instruction library is determined based on the available production equipment and the action instruction library. This ensures the availability of the appropriate process instruction library and improves the efficiency and accuracy of determining the appropriate process instruction library.

[0046] Optionally, the steps for determining node action instructions based on the synchronously selected instruction action and the adaptive process instruction library include:

[0047] Determine whether the synchronously selected instruction action meets the requirements of the appropriate process instruction library;

[0048] If it does not meet the requirements, output the synchronous selection instruction action to prompt you to add a node action instruction;

[0049] If the conditions are met, the basic node instructions are determined based on the synchronously selected instruction actions and the adaptive process instruction library;

[0050] Get the previous node's instruction;

[0051] The basic node instructions and the previous node instructions are analyzed to determine the node action instructions.

[0052] By adopting the above technical solution, when it is determined that the synchronous selection instruction action exists in the adaptive process instruction library, the basic node instruction is found in the adaptive process instruction library according to the synchronous selection instruction action, and the node action instruction is determined in the basic node instruction according to the previous node instruction, thereby improving the accuracy of the node action instruction.

[0053] Optionally, the steps of analyzing the basic node instructions and the previous node instructions to determine the node action instructions include:

[0054] Check if the instruction from the previous node exists;

[0055] If it does not exist, the device production score is obtained based on the basic node instructions;

[0056] The equipment production score and basic node instructions are sorted to determine the optimal node instruction, and the optimal node instruction is defined as the node action instruction.

[0057] If it exists, then obtain the previous production equipment based on the instructions from the previous node;

[0058] Based on the previous production equipment and the preset equipment association relationship, determine the associatable equipment and obtain the associativity instructions for the associatable equipment;

[0059] The associated device instructions and basic node instructions are analyzed to determine the node action instructions.

[0060] By adopting the above technical solution, associable equipment is determined based on the previous production equipment, and the associative equipment instructions of the associable equipment are matched with the basic node instructions to obtain node action instructions. This ensures that the equipment implementing the node action instructions is matched with the equipment implementing the previous instructions, thereby improving the accuracy of determining the node action instructions.

[0061] Optionally, the step of refactoring node action instructions to generate a production instruction set includes:

[0062] Analyze the node action commands to determine if there are any preset command variable parameters;

[0063] If it does not exist, then define the node action instruction as a reconfigurable instruction;

[0064] If it exists, the production structure and process will be analyzed to determine the actual production variables;

[0065] The node action instructions are modified based on the actual generated variables to generate reconfigurable instructions;

[0066] Reconfigurable instructions are reconfigured to generate a production instruction set.

[0067] By adopting the above technical solution, when determining the instruction variable parameters within the node action instruction, the actual production variables are determined by analyzing the production structure process. Based on the actual generated variables, the node action instructions are modified to obtain reconfigurable instructions, ensuring that the production instruction set matches the actual production task, thereby improving the accuracy of the production instruction set.

[0068] Secondly, this application provides an intelligent instruction set construction system for industrial control, which adopts the following technical solution:

[0069] An intelligent instruction set construction system for industrial control, comprising:

[0070] The acquisition module is used to acquire business information from production scenarios.

[0071] A memory for storing a program for constructing an intelligent instruction set for industrial control as described in any of the preceding claims;

[0072] The processor and the program in the memory can be loaded and executed by the processor to implement an intelligent instruction set construction method for industrial control as described in any of the above.

[0073] By adopting the above technical solution, the processor loads and executes a program stored in memory for constructing an intelligent instruction set for industrial control. The control acquisition module acquires a series of data related to the construction of the intelligent instruction set for industrial control, thereby parsing the production scenario into a production structure process. Each step in the production structure process is deconstructed into node production actions. Then, based on the node production actions, the corresponding node action instructions are searched in the action instruction library, and the node action instructions are reconstructed to form a production instruction set. This eliminates the need to rewrite the instructions for the production equipment, thereby saving a significant amount of preparation time before production and improving industrial production efficiency.

[0074] In summary, this application includes at least one of the following beneficial technical effects:

[0075] 1. By parsing the business of the production scenario into a production structure process, each step in the production structure process is deconstructed into node production actions. Then, the corresponding node action instructions are searched in the action instruction library according to the node production actions, and the node action instructions are reconstructed into a production instruction set. There is no need to rewrite the instructions of the production equipment, thereby saving a lot of preparation time before production and improving industrial production efficiency.

[0076] 2. When the business in the production scenario is consistent with the business in the historical scenario, it indicates that the production task is a duplicate production. Therefore, the node production action can be determined by directly searching for the corresponding node action in the scenario action library based on the same scenario business, thereby improving the efficiency of determining the node production action.

[0077] 3. By identifying associable equipment based on the previous production equipment, and matching the associative equipment instructions of the associative equipment with the basic node instructions, node action instructions are obtained. This ensures that the equipment implementing the node action instructions matches the equipment implementing the previous instructions, thereby improving the accuracy of determining the node action instructions. Attached Figure Description

[0078] Figure 1 This is a flowchart of a method for constructing an intelligent instruction set for industrial control, as described in an embodiment of this application.

[0079] Figure 2 This is a flowchart illustrating the steps involved in analyzing the production structure process to determine the corresponding node production actions in this embodiment of the application.

[0080] Figure 3 This is a flowchart illustrating the steps involved in analyzing the production structure process and historical structure process in this embodiment of the application to determine the production actions at each node.

[0081] Figure 4 This is a flowchart illustrating the steps of determining node action instructions based on node production actions and a preset action instruction library in this embodiment of the application.

[0082] Figure 5 This is a flowchart illustrating the steps in this application embodiment to analyze the action instruction library based on synchronously selected instructions to determine the appropriate process instruction library.

[0083] Figure 6 This is a flowchart of the steps for determining node action instructions based on synchronously selected instruction actions and the adaptive process instruction library in an embodiment of this application.

[0084] Figure 7 This is a flowchart illustrating the steps in this application embodiment to analyze the basic node instructions and the previous node instructions to determine the node action instructions.

[0085] Figure 8 This is a flowchart of the steps in this application embodiment to reconstruct node action instructions to generate a production instruction set. Detailed Implementation

[0086] To make the purpose, technical solution, and advantages of this application clearer, the following description is provided in conjunction with the appendix. Figures 1 to 8 The present application will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the application.

[0087] This application discloses an intelligent instruction set construction method for industrial control. Specifically, it discloses a processing terminal. When the processing terminal receives a production scenario business, it converts the production scenario business into a production structure process, then deconstructs the production structure process into node production actions. Based on the node production actions, it searches for the corresponding node action instructions in the action instruction library, and finally reconstructs the node action instructions to form a production instruction set. This eliminates the need for technicians to rewrite the instruction set of the production equipment before production, thereby reducing pre-production preparation time and improving industrial production efficiency.

[0088] Reference Figure 1 This application discloses a method for constructing an intelligent instruction set for industrial control, comprising the following steps:

[0089] Step S100: Obtain production scenario business.

[0090] Among them, the production scenario business refers to the description of the production business scenario, including the type, quantity, quality and other requirements of the products. The operators write the production plan according to the customer's needs and upload it to the processing terminal.

[0091] Step S101: Analyze the business scenarios in the production environment to determine the production structure and process.

[0092] Among them, the production structure process refers to the process of business in the production scenario. For example, if a business person in the production scenario is to produce an electronic product, the corresponding production structure process is: raw materials are transported to the production equipment -- the production equipment processes the raw materials to form components -- the components are assembled to form electronic products -- the electronic products are tested -- the electronic products are packaged -- the electronic products are transported by logistics. The processing terminal uses a pre-trained BERT model to understand the business in the production scenario and identifies the specific process in the preset knowledge graph. Finally, the process diagram is drawn using the BPMN tool.

[0093] Step S102: Analyze the production structure process to determine the corresponding node production actions.

[0094] Among them, node production actions refer to the smallest actions that can be decomposed into different processes in the production structure process. For example, the processing of raw materials into components by production equipment can be decomposed into actions such as planning, scheduling, task acquisition, material handling, mold adjustment, start-up verification, and equipment production. These actions are obtained by the processing terminal through analysis of the specific processes in the production structure process. The specific methods are described in [reference needed]. Figure 2 The steps.

[0095] Step S103: Determine the node action instructions based on the node production actions and the preset action instruction library.

[0096] Among them, the action instruction library refers to a database that stores different actions and their corresponding instructions. The action instruction library is classified according to different scenarios. For example, the production instruction library stores actions and their corresponding instructions during the production process, and the logistics instruction library stores actions and their corresponding instructions during the logistics process. The instruction library corresponding to a specific scenario is further subdivided to map the instructions to specific devices.

[0097] Node action instructions are the instructions required to complete a node production action. They are actually encapsulated scripts, generated by the processing terminal selecting the corresponding instruction from the action instruction library based on the node production action. For details, please refer to [link to relevant documentation]. Figure 4 The steps.

[0098] Step S104: Reconstruct the node action instructions to generate a production instruction set.

[0099] The production instruction set refers to the set of instructions required to complete business operations in a production scenario. It is formed by the processing terminal reconstructing node action instructions according to a dependency-driven sorting principle. For specific methods, please refer to [link / reference needed]. Figure 8 The steps.

[0100] Reference Figure 2 The steps involved in analyzing the production structure and process to determine the corresponding production actions at each node include:

[0101] Step S200: Obtain historical scenario services.

[0102] Among them, historical scenario services refer to past production scenario services, which are backed up and recalled by the processing terminal.

[0103] Step S201: Determine whether the business in the production scenario meets the requirements of the business in the historical scenario.

[0104] The requirement for historical scenario services refers to services that exist within historical scenarios. The processing terminal determines whether the production scenario service exists within the historical scenario service, thereby determining whether node actions need to be determined based on specific process analysis.

[0105] Step S2011: If the conditions are met, analyze the production scenario business and the historical scenario business to identify the same scenario business.

[0106] If the processing terminal determines that the production scenario business exists in the historical scenario business, it means that there was a scenario business with the same characteristics as the production scenario business in the past. Therefore, the corresponding node actions also exist. It is not necessary to determine the node actions based on the specific process analysis. Thus, the same scenario business is determined based on the production scenario business and the historical scenario business, providing data support for the subsequent determination of node actions.

[0107] Same-scenario services refer to scenario services in historical scenarios that are the same as those in production scenarios. The processing terminal performs semantic understanding on historical scenario services and selects historical scenario services whose semantic understanding is consistent with that of production scenario services as same-scenario services.

[0108] Step S20111: Determine the node production action based on the same scenario business and the preset scenario action library.

[0109] The scenario action library refers to a database that stores different production scenarios and their corresponding actions. Operators create a mapping table by mapping historical scenario business with actions one by one.

[0110] The node production action in this step is the same as the node production action in step S102. It is obtained by the processing terminal searching for the action corresponding to the same scenario service in the scenario action library.

[0111] Step S2012: If it does not meet the requirements, obtain the historical structure process.

[0112] If the processing terminal determines that the production scenario business does not exist in the historical scenario business, it means that there was no scenario business with the same as the production scenario business in the past. Therefore, not all the corresponding node actions exist. Thus, the historical structure process is called to provide data support for the subsequent determination of node production actions.

[0113] Historical structure processes refer to the processes of previous scenario business transformations. The processing terminal converts the previous scenario business into processes and backs them up for later use.

[0114] Step S20121: Analyze the production structure process and historical structure process to determine the node production actions.

[0115] The node production actions in this step are consistent with those in step S102, and are determined by the processing terminal after analyzing the production structure flow and historical structure flow. The specific method is as follows: Figure 3 The steps.

[0116] Reference Figure 3 The steps involved in analyzing the production structure and historical structure to determine the production actions at each node include:

[0117] Step S300: Analyze the production structure process and historical structure process to identify the same structure process and different structure processes.

[0118] In this context, "same structure process" refers to processes within the production structure process that are identical to those within the historical structure process, while "different structure process" refers to processes within the production structure process that differ from those within the historical structure process. The processing terminal performs semantic understanding on the production structure process and the historical structure process to determine which processes share the same semantic understanding and are classified as "same structure processes," and which do not. By categorizing production structure processes into "same structure processes" and "different structure processes," the search scope is minimized during subsequent action determination based on the process, thereby improving the efficiency of determining node actions.

[0119] Step S301: Determine the same structure action based on the same structure process and the preset historical structure action library.

[0120] The historical structure action library refers to a database that stores historical structure processes and corresponding node actions. Operators create a mapping table by mapping historical structure processes to node actions one by one.

[0121] Same structure actions refer to node actions corresponding to the same structure process, which are found by the processing terminal in the historical structure action library based on the same structure process.

[0122] Step S302: Determine different structural actions based on different structural processes and the preset structural process action library.

[0123] The structure process action library refers to a database that stores all structure processes and their corresponding node actions. Operators create a mapping table by mapping the structure processes to the node actions one by one.

[0124] Different structure actions refer to the node actions corresponding to different structure processes, which are found by the processing terminal in the structure process action library according to the different structure processes.

[0125] Step S303: Associate actions with the same structure and actions with different structures to generate node production actions.

[0126] In this step, the node production action is the same as the node production action in step S20121. The processing terminal stores the same structural actions and different structural actions in the same database.

[0127] Reference Figure 4 The steps for determining node action instructions based on node production actions and a preset action instruction library include:

[0128] Step S400: Analyze the production structure process and corresponding node production actions to determine the synchronous selection instruction actions.

[0129] Among them, synchronous selection of instruction actions refers to the action of selecting instructions simultaneously. The processing terminal selects instruction actions according to the order of the production structure process, and takes the node production action of a single production structure process as the synchronous selection of instruction actions.

[0130] Step S401: Obtain the action determination form of the synchronous selection instruction action.

[0131] Among them, the action determination form refers to the method of determining the synchronous selection instruction action, including the method obtained from structural process analysis and the method obtained from scenario matching. When processing the terminal to determine the action, the method of determining the action is marked and awaited to be called.

[0132] Step S402: Determine whether the action determination form meets the requirements of the preset action direct matching form.

[0133] Among them, the direct action matching form refers to the method in which the node action is directly matched according to the scenario business. The requirement for the direct action matching form is that it is consistent with the direct action matching form.

[0134] By processing the terminal to determine whether the action determination form is consistent with the action direct matching form, it is possible to determine whether there is a similar scenario business, and provide data support for subsequent instruction selection.

[0135] Step S4021: If it matches, then obtain the matching scenario service.

[0136] If the processing terminal determines that the action determination form is consistent with the action direct matching form, it indicates that the action is obtained by direct matching based on the scenario business. Therefore, it exists in the scenario business that is the same as the production scenario business, thereby calling the matching scenario business to provide data support for subsequent selection instructions.

[0137] Matching scenario services refer to scenario services that are the same as production scenario services. When processing the terminal to determine the same scenario services in step S2011, the same scenario services are backed up for later use.

[0138] Step S40211: Determine the node action instructions based on the matching scenario business and the preset scenario instruction library.

[0139] The scenario instruction library refers to a database that stores past scenario services and corresponding instructions. Operators create a mapping table by matching scenario services with instructions one by one.

[0140] The node action instructions in this step are the same as those in step S103. They are obtained by the processing terminal searching for all instructions corresponding to the matching scenario service in the scenario instruction library according to the matching scenario service.

[0141] Step S4022: If it does not meet the requirements, analyze the action instruction library based on the synchronous selection instruction action to determine the appropriate process instruction library.

[0142] If the form of the action determined by the processing terminal is inconsistent with the form of direct action matching, it indicates that the action is obtained by matching the structure process. Therefore, there are no completely identical instructions. Thus, the action instruction library is subdivided according to the synchronous selection of instructions to obtain an adaptive process instruction library, which narrows the range of instructions and improves the efficiency of instruction selection.

[0143] The adaptive process instruction library refers to the instruction library within the action instruction library that can select more instructions and is more suitable for production. It is determined by the processing terminal after analyzing the action instruction library based on synchronously selected instructions. For specific methods, please refer to [link / reference]. Figure 5 The steps.

[0144] Step S40221: Determine the node action instruction based on the synchronous selection instruction action and the adaptive process instruction library.

[0145] After determining the adaptive process instruction library, instructions are selected from the library based on the synchronous selection of instructions and actions to obtain node action instructions. The specific method is described in [reference needed]. Figure 6 The steps.

[0146] Reference Figure 5The steps for analyzing the action instruction library based on synchronously selected instructions to determine the appropriate process instruction library include:

[0147] Step S500: Analyze the synchronous selection instruction action to determine the analysis production action and the matching production action.

[0148] Among them, analyzing production actions refers to node actions determined according to different structural processes, while matching production actions refers to node actions determined according to the same structural process. When determining node actions, the processing terminal marks the determination method of node actions. When classification is required, the processing terminal identifies the determination method of synchronous selection instruction actions and classifies the actions according to the identification method.

[0149] Step S501: Analyze the production actions and matching actions to determine the number of actions to be analyzed and the number of actions to be matched.

[0150] Among them, the number of analysis actions refers to the number of analysis production actions, and the number of matching actions refers to the number of matching production actions, which are obtained by the processing terminal counting the analysis production actions and the matching production actions respectively.

[0151] Step S502: Determine whether the number of analyzed actions meets the requirements for the number of matched actions.

[0152] The requirement for the number of matched actions means that it must be greater than the number of matching actions. The processing terminal determines whether the number of actions exceeds the number of matching actions, thus providing data support for subsequently determining which action to use as the basis for determining the instruction library.

[0153] Step S5021: If it does not match, obtain the relevant equipment based on the matching production action.

[0154] If the number of actions to be analyzed by the processing terminal is not greater than the number of actions to be matched, it indicates that there are many matching production actions. Therefore, the number of instructions that can be selected from the instruction library determined by the matching production actions is also large. Thus, the relevant devices are called according to the matching production actions, providing data support for the subsequent determination of the instruction library.

[0155] Action-related equipment refers to equipment that completes matching production actions. It is obtained by the processing terminal based on the equipment operation records and matching production actions, and calls upon equipment that has previously performed such actions.

[0156] Step S50211: Determine the appropriate process instruction library based on the motion-related equipment and motion instruction library.

[0157] In this step, the adaptive process instruction library is the same as that in step S4022, and is obtained by the processing terminal searching for the corresponding instruction library for the action-related device in the action instruction library. In this step, the adaptive process instruction library determined by the action-related device can select a larger number of instructions compared to the adaptive process instruction library determined by analyzing production actions.

[0158] Step S5022: If the conditions are met, obtain available production equipment based on the production structure process.

[0159] If the number of actions to be analyzed by the processing terminal is greater than the number of actions to be matched, it indicates that there are a large number of production actions to be analyzed. Therefore, it is necessary to determine the instruction library from the perspective of ensuring that the production actions to be analyzed can select the corresponding instructions as much as possible, so as to call the available production equipment according to the production structure process and provide data support for the subsequent determination of the instruction library adapted to the process.

[0160] Available production equipment refers to the relevant equipment that can complete the production structure process. It is obtained by the processing terminal calling the equipment that meets the production structure process according to the equipment function map and the production structure process.

[0161] Step S50221: Determine the appropriate process instruction library based on the available production equipment and motion instruction library.

[0162] In this step, the adaptive process instruction library is the same as that in step S4022. It is obtained by the processing terminal searching for the corresponding instruction library for each available production device in the action instruction library. In this step, the adaptive process instruction library determined by available production devices is more numerous than that determined by action-related devices, but it better meets the requirement of selecting and analyzing the number of instructions corresponding to production actions, thus ensuring that more instructions that can better complete the scenario business can be selected.

[0163] Reference Figure 6 The steps for determining node action instructions based on synchronously selected instructions and the adaptive process instruction library include:

[0164] Step S600: Determine whether the synchronous selection instruction action meets the requirements of the adaptive process instruction library.

[0165] The requirement for adapting to the process instruction library refers to the existence of instruction actions corresponding to the adaptable process instruction library. The processing terminal determines whether the synchronous selection instruction action exists in the corresponding instruction actions of the adaptable process instruction library, thereby determining whether an instruction corresponding to the synchronous selection instruction action can be selected from the adaptable process instruction library.

[0166] Step S601: If it does not meet the requirements, output the synchronous selection instruction action to prompt the addition of a node action instruction.

[0167] If the processing terminal determines that the synchronous selection instruction action does not exist in the corresponding instruction action of the adaptive process instruction library, it means that there is no instruction corresponding to the action in the adaptive process instruction library. Therefore, the synchronous selection instruction action is output to prompt the personnel to manually write the node action instruction corresponding to the action.

[0168] Step S602: If the conditions are met, determine the basic node instructions based on the synchronous selection of instruction actions and the adaptive process instruction library.

[0169] If the processing terminal determines that the synchronous selection instruction action exists in the corresponding instruction action of the adaptive process instruction library, it indicates that the instruction corresponding to the synchronous selection instruction action can be selected from the adaptive process instruction library. Thus, the basic node instruction is determined based on the synchronous selection instruction action and the adaptive process instruction library, providing data support for the subsequent determination of the final node action instruction.

[0170] Basic node instructions refer to all the selected instructions corresponding to the synchronous selection instruction action, which are obtained by the processing terminal from the adaptive process instruction library according to the synchronous selection instruction action.

[0171] Step S6021: Obtain the instruction from the previous node.

[0172] Among them, the previous node instruction refers to the instruction corresponding to the previous node action of the synchronous selection instruction action. If it exists, it is directly called by the processing terminal; if it does not exist, it returns null.

[0173] Step S6022: Analyze the basic node instructions and the previous node instructions to determine the node action instructions.

[0174] In this step, the node action instruction is the same as the node action instruction in step S40221. The processing terminal selects the matching instruction from the basic node instructions based on the previous node instruction, which is the node action instruction.

[0175] Reference Figure 7 The steps for analyzing the basic node instructions and the instructions of the previous node to determine the node action instructions include:

[0176] Step S700: Determine if the previous node instruction exists.

[0177] Specifically, the processing terminal identifies the retrieved content to determine whether the previous node instruction exists, providing data support for determining subsequent node action instructions.

[0178] Step S701: If it does not exist, obtain the device production score based on the basic node instruction.

[0179] If the processing terminal determines that the previous node instruction does not exist, it means that the instruction corresponding to the synchronous selection instruction action does not need to be matched with the previous node instruction. Therefore, the equipment production score is called according to the basic node instruction to provide data support for the subsequent determination of node action instructions.

[0180] The equipment production score refers to the equipment score obtained by combining indicators such as equipment production efficiency and profit. It is determined by the operator based on the actual equipment, and the processing terminal identifies the equipment to which the instruction belongs based on the basic node instruction, and then calls the corresponding equipment score to obtain the score.

[0181] Step S7011: Sort the equipment production score and basic node instructions to determine the best node instruction, and define the best node instruction as the node action instruction.

[0182] The optimal node instruction refers to the best instruction for synchronously selecting instructions. The processing terminal sorts the equipment production scores and their corresponding basic node instructions to determine the highest equipment production score and identifies the basic node instruction corresponding to that score; this is the optimal node instruction. After determining the optimal node instruction, the processing terminal defines it as a node action instruction, thus ensuring better synchronous selection of instructions.

[0183] Step S702: If it exists, obtain the previous production equipment based on the previous node's instruction.

[0184] If the processing terminal determines that the previous node instruction exists, the selection of the node action instruction needs to match the previous node instruction to ensure smooth production. Therefore, the previous production equipment is called according to the previous node instruction to provide data support for the subsequent determination of the node action instruction.

[0185] The previous production equipment refers to the equipment that executes the instructions from the previous node, which is obtained by the processing terminal identifying the equipment to which the instructions from the previous node belong.

[0186] Step S7021: Determine the associatable equipment based on the previous production equipment and the preset equipment association relationship, and obtain the associativity instructions for the associatable equipment.

[0187] Among them, equipment association refers to the association between different devices, which is formed by operators mapping different devices to the associated devices one by one to create a mapping table.

[0188] Associatable equipment refers to equipment that is associated with the previous production equipment, and is determined by the processing terminal by searching for the previous production equipment in the equipment association relationship.

[0189] The associated device instruction refers to the instruction belonging to the associated device, which is obtained by the processing terminal by looking up the associated device in the correspondence between devices and instructions.

[0190] Step S7022: Analyze the associated device instructions and basic node instructions to determine the node action instructions.

[0191] After determining the associated device instructions, the associated device instructions are sorted according to the association order of the associatable devices. Then, the sorted associated device instructions are compared with the basic node instructions to select the associated device instructions with the highest priority, which are the node action instructions.

[0192] Reference Figure 8 The steps for refactoring node action instructions to generate a production instruction set include:

[0193] Step S800: Analyze the node action instructions to determine whether there are preset instruction variable parameters.

[0194] In this context, instruction variable parameters refer to variable parameters present in the action command, such as speed and dimensions. By processing the node action command, the terminal identifies whether the node action command contains instruction variable parameters, thereby determining whether the node action command needs to be modified.

[0195] Step S801: If it does not exist, define the node action instruction as a reconfigurable instruction.

[0196] If the processing terminal determines that there are no instruction variable parameters in the node action instruction, it means that there is no need to modify the node action instruction, so the node action instruction is directly defined as a reconfigurable instruction.

[0197] Reconfigurable instructions are instructions that can be reconfigured to form an instruction set. In this step, the node action instructions are defined directly by the processing terminal.

[0198] Step S802: If it exists, analyze the production structure process to determine the actual production variables.

[0199] If the processing terminal determines that there are instruction variable parameters in the node action instruction, it indicates that the node action instruction may not meet the variable requirements of the current production scenario business. Therefore, after analyzing the production structure process, the actual production variables are determined to provide data support for subsequent correction of the node action instruction.

[0200] Actual production variables refer to the actual variables required in the production structure process corresponding to the action instruction of this node, which are obtained by the processing terminal through semantic understanding of the production structure process.

[0201] Step S8021: Modify the node action instructions according to the actual generated variables to generate reconfigurable instructions.

[0202] The reconfigurable instruction in this step is defined the same as the reconfigurable instruction in step S801. The difference is that the reconfigurable instruction in this step is obtained by the processing terminal replacing the variables in the node action instruction with the actual generated variables.

[0203] Step S803: Reconfigure the reconfigurable instructions to generate a production instruction set.

[0204] After determining the reconfigurable instructions, the processing terminal reconfigures the reconfigurable instructions according to the dependency-driven sorting principle to form a production instruction set.

[0205] Based on the same inventive concept, embodiments of this application provide an intelligent instruction set construction system for industrial control, including:

[0206] The acquisition module is used to acquire production scenario business, historical scenario business, historical structure process, action determination form, matching scenario business, action-related equipment, available production equipment, previous node instructions, equipment production score, previous production equipment and related equipment instructions;

[0207] A memory used to store a program for constructing an intelligent instruction set for industrial control;

[0208] A method for constructing an intelligent instruction set for industrial control, whereby programs in the processor and memory can be loaded and executed by the processor.

[0209] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0210] This application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed as a method for constructing an intelligent instruction set for industrial control.

[0211] Computer storage media include, for example, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, optical disks, and other media that can store program code.

[0212] Based on the same inventive concept, embodiments of this application provide a smart terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded and executed by the processor to construct an intelligent instruction set for industrial control.

[0213] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional modules is used as an example. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device, and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0214] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features unless specifically stated otherwise. That is, unless specifically stated otherwise, each feature is only one example of a series of equivalent or similar features.

Claims

1. A method for constructing an intelligent instruction set for industrial control, characterized in that, include: Acquire business information from production scenarios; Analyze the business processes in the production scenario to determine the production structure and workflow; Analyze the production structure and process to determine the corresponding production actions at each node; The node action instructions are determined based on the node production actions and the preset action instruction library. Reconstruct the node action instructions to generate a production instruction set; The steps involved in analyzing the production structure and process to determine the corresponding production actions at each node include: Acquire historical scenario business information; Determine whether the business operations in the production scenario meet the requirements of the business operations in the historical scenario; If the conditions are met, the business in the production scenario and the business in the historical scenario will be analyzed to identify the business in the same scenario. The node production action is determined based on the same scenario business and the preset scenario action library; If it does not match, then retrieve the historical structure process; Analyze the production structure and historical structure to determine the production actions at each node; Analyzing the production structure and historical structure to determine the steps involved in each production node includes: Analyze the production structure and historical structure processes to identify processes with the same structure and processes with different structure. Identify actions with the same structure based on the same structural process and the preset historical structural action library; Different structural actions are determined based on different structural processes and a preset structural process action library; Associate actions with the same structure and actions with different structures to generate node production actions; The steps for refactoring node action instructions to generate a production instruction set include: Analyze the node action commands to determine if there are any preset command variable parameters; If it does not exist, then define the node action instruction as a reconfigurable instruction; If it exists, the production structure and process will be analyzed to determine the actual production variables; The node action instructions are modified based on the actual generated variables to generate reconfigurable instructions; Reconfigurable instructions are reconfigured to generate a production instruction set.

2. The method for constructing an intelligent instruction set for industrial control according to claim 1, characterized in that, The steps for determining node action instructions based on node production actions and a preset action instruction library include: Analyze the production structure and corresponding node production actions to determine the synchronous selection of instruction actions; Obtain the action determination form of the synchronous selection command action; Determine whether the action determination form meets the requirements of the preset action direct matching form; If the match is found, the corresponding scenario service will be retrieved. The node action instructions are determined based on the matching scenario business and the preset scenario instruction library; If it does not meet the requirements, the action instruction library will be analyzed based on the synchronously selected instruction action to determine the appropriate process instruction library. The node action instructions are determined based on the synchronous selection of instruction actions and the adaptation process instruction library.

3. The method for constructing an intelligent instruction set for industrial control according to claim 2, characterized in that, The steps for analyzing the action instruction library based on synchronously selected instructions to determine the appropriate process instruction library include: Analyze the synchronous selection instructions to determine the production actions to be analyzed and the matching production actions; Analyze the production actions and matching actions to determine the number of actions to be analyzed and the number of actions to be matched. Determine whether the number of actions analyzed meets the requirements for the number of matching actions; If not, obtain the relevant equipment based on the matching production action; Determine the appropriate process instruction library based on motion-related equipment and motion instruction library; If the conditions are met, available production equipment will be obtained based on the production structure and process. Determine the appropriate process instruction library based on available production equipment and motion instruction library.

4. The method for constructing an intelligent instruction set for industrial control according to claim 2, characterized in that, The steps for determining node action instructions based on synchronously selected instruction actions and the adaptive process instruction library include: Determine whether the synchronously selected instruction action meets the requirements of the appropriate process instruction library; If it does not meet the requirements, output the synchronous selection instruction action to prompt you to add a node action instruction; If the conditions are met, the basic node instructions are determined based on the synchronously selected instruction actions and the adaptive process instruction library; Get the previous node's instruction; The basic node instructions and the previous node instructions are analyzed to determine the node action instructions.

5. The method for constructing an intelligent instruction set for industrial control according to claim 4, characterized in that, The steps for analyzing the basic node instructions and the instructions of the previous node to determine the node action instructions include: Check if the instruction from the previous node exists; If it does not exist, the device production score is obtained based on the basic node instructions; The equipment production score and basic node instructions are sorted to determine the optimal node instruction, and the optimal node instruction is defined as the node action instruction. If it exists, then obtain the previous production equipment based on the instructions from the previous node; Based on the previous production equipment and the preset equipment association relationship, determine the associatable equipment and obtain the associativity instructions for the associatable equipment; The associated device instructions and basic node instructions are analyzed to determine the node action instructions.

6. An intelligent instruction set construction system for industrial control, characterized in that, include: The acquisition module is used to acquire business information from production scenarios. A memory for storing a program for constructing an intelligent instruction set for industrial control as described in any one of claims 1 to 5; The processor and the program in the memory can be loaded and executed by the processor to implement the intelligent instruction set construction method for industrial control as described in any one of claims 1 to 5.

Citation Information

Patent Citations

  • Process flow configuration method, device and equipment and computer readable storage medium

    CN111724077A

  • Method and device for supporting complex product manufacturing process model reconstruction

    CN119599405A