Intelligent instruction set construction method and system for industrial control
By analyzing the production scenario business into a production structure process and looking for node action instructions in the action command library, the problem of too long preparation time caused by the reconstruction of production equipment is solved, and industrial production efficiency is improved.
Patent Information
- Application Number
- CN202510978410.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-08-15
- Estimated Expiration
- 2045-07-16
AI Technical Summary
In the prior art, when facing different production tasks in the industrial production process, it is necessary to continuously rebuild the operating instructions of the production equipment, resulting in too long preparation time before production and inefficient efficiency.
By analyzing the production scenario business into a production structure process, deconstructing each step into a node production action, and finding the corresponding node action instructions in the action instruction library, reconstructing to form a production instruction set to avoid rewriting instructions for production equipment.
It saves a lot of preparation time before production, improves industrial production efficiency, and directly searches for node actions when determining the production task as repetitive production, improving the efficiency and accuracy of determining node production actions.
Smart Images

Figure CN120494446A_ABST
Abstract
Description
Technical Field
[0001] The present 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 Art
[0002] Industrial control refers to the use of various control methods and technologies to monitor and adjust production equipment and process flows during industrial production to ensure that the production process runs stably and efficiently and achieves the expected production goals.
[0003] In related technologies, during industrial production processes, when a new production task is received, technicians will determine the production equipment that can complete the production task before production, and then the technicians will rebuild the operating instructions of the production equipment to ensure that the production equipment can process the production raw materials according to the requirements of the production task when it receives them.
[0004] Regarding the above-mentioned related technologies, when faced with 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 of industrial production, and there is still room for improvement. Summary of the Invention
[0005] In order to improve industrial production efficiency, the present application provides a method and system for constructing an intelligent instruction set for industrial control.
[0006] In a first aspect, the present application provides a method for constructing an intelligent instruction set for industrial control, which adopts the following technical solutions: A method for constructing an intelligent instruction set for industrial control, comprising: Obtain production scenario business; Analyze production scenario business to determine production structure process; Analyze the production structure process to determine the corresponding node production actions; Determine the node action instruction according to the node production action and the preset action instruction library; The node action instructions are reconstructed to generate a production instruction set.
[0007] By adopting the above technical solution, the production scenario business is parsed into a production structure process, and each step in the production structure process is deconstructed into a node production action. Then, according to the node production action, the corresponding node action instruction is searched in the action instruction library, and the node action instruction is reconstructed into a production instruction set, without the need to rewrite the instructions of the production equipment, thereby saving a lot of preparation time before production and improving industrial production efficiency.
[0008] Optionally, the steps of analyzing the production structure process to determine the corresponding node production action include: Obtain historical scene business; Determine whether the production scenario business meets the requirements of the historical scenario business; If they are consistent, the production scenario business and historical scenario business are analyzed to determine the same scenario business; Determine the node production action based on the same scenario business and the preset scenario action library; If not, obtain the historical structure process; Analyze the production structure process and historical structure process to determine the node production actions.
[0009] By adopting the above technical solution, when it is determined that the production scenario business and the historical scenario business are consistent, it indicates that the production task is a repeated 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.
[0010] Optionally, the steps of analyzing the production structure process and the historical structure process to determine the node production action include: Analyze the production structure process and historical structure process to determine the same structure process and different structure process; Determine the same structural action based on the same structural process and the preset historical structural action library; Determine different structural actions according to different structural processes and preset structural process action libraries; Associate same-structure actions and different-structure actions to generate node production actions.
[0011] By adopting the above technical solution, the same structural process and different structural processes are searched in the production structural process, and then the same structural actions are searched in the historical structural action library according to the same structural process, and then different structural actions are searched in the structural process action library according to the different structural processes, thereby narrowing the action search range of some structural processes, thereby improving the efficiency of determining the node production action.
[0012] Optionally, the step of determining the node action instruction according to the node production action and a preset action instruction library includes: Analyze the production structure process and the corresponding node production actions to determine the synchronous selection instruction actions; Get the action confirmation form of the synchronous selection instruction action; Determine whether the action determination form meets the requirements of the preset action direct matching form; If it matches, then obtain the matching scenario business; Determine the node action instruction based on the matching scenario business and the preset scenario instruction library; If it does not meet the requirements, the action instruction library is analyzed according to the synchronous selection instruction action to determine the appropriate process instruction library; The node action instruction is determined based on the synchronous selection instruction action and the adaptation process instruction library.
[0013] By adopting the above technical solution, when it is determined that the action determination form of the synchronous selection instruction action meets the requirements of the direct action matching form, the matching scene business is called, and the node action instruction is found in the scene instruction library according to the matching scene business. If it does not meet the requirements, the action instruction library is analyzed according to the synchronous selection instruction action to determine the adaptation process instruction library, thereby narrowing the scope of the search instruction and improving the efficiency of determining the node action instruction.
[0014] Optionally, the steps of analyzing the action instruction library according to the synchronous selection instruction action to determine the adapted process instruction library include: Analyze the synchronous selection instruction action to determine the analysis production action and matching production action; Analyze the analysis production action and the matching production action to determine the number of analysis actions and the number of matching actions; Determine whether the number of analysis actions meets the requirements for the number of matching actions; If not, obtain action-related equipment based on matching production actions; Determine the adaptive process instruction library based on the action-related equipment and action instruction library; If it meets the requirements, available production equipment will be obtained based on the production structure process; Determine the appropriate process instruction library based on the available production equipment and action instruction library.
[0015] By adopting the above technical solution, when it is determined that the number of analyzed actions does not exceed the number of matched actions, it indicates that there are more instructions that can be determined by directly searching based on the matching production actions. Therefore, the action-related equipment is obtained, and the adaptation process instruction library is determined based on the action-related equipment and the action instruction library. When it exceeds, the available production equipment is obtained based on the production structure process, and the adaptation process instruction library is determined based on the available production equipment and the action instruction library, thereby ensuring the availability of the adaptation process instruction library, and then improving the efficiency and accuracy of determining the adaptation process instruction library.
[0016] Optionally, the step of determining the node action instruction according to the synchronous selection instruction action and the adaptation process instruction library includes: Determine whether the synchronous selection instruction action meets the requirements of the process instruction library; If it does not match, then the synchronous selection instruction action is output to prompt the user to add a node action instruction; If it is in compliance, the basic node instruction is determined based on the synchronous selection instruction action and the adaptation process instruction library; Get the previous node instruction; The basic node instruction and the previous node instruction are analyzed to determine the node action instruction.
[0017] By adopting the above technical solution, when it is determined that the synchronous selection instruction action exists in the adaptation process instruction library, the basic node instruction is found in the adaptation 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.
[0018] Optionally, the step of analyzing the basic node instruction and the previous node instruction to determine the node action instruction includes: Determine whether the previous node instruction exists; If it does not exist, the equipment production score is obtained based on the basic node instructions; sorting the equipment production scores and basic node instructions to determine the best node instruction, and defining the best node instruction as the node action instruction; If it exists, the previous production device is obtained based on the previous node instruction; Determine the associable device based on the previous production device and the preset device association relationship, and obtain the associable device instruction of the associable device; Analyze the associated device instructions and basic node instructions to determine the node action instructions.
[0019] By adopting the above technical solution, the associable equipment is determined based on the previous production equipment, and the associated equipment instructions of the associable equipment are matched with the basic node instructions to obtain the node action instructions, ensuring that the equipment implementing the node action instructions is matched with the equipment implementing the previous instruction, thereby improving the accuracy of determining the node action instructions.
[0020] Optionally, the step of reconstructing the node action instructions to generate a production instruction set includes: Analyze the node action instruction to determine whether there are preset instruction variable parameters; If it does not exist, the node action instruction is defined as a reconfigurable instruction; If so, the production structure process is analyzed to determine the actual production variables; Modify the node action instructions according to the actual generated variables to generate reconfigurable instructions; The reconfigurable instructions are reconfigured to generate a production instruction set.
[0021] By adopting the above technical solution, when determining the existence of instruction variable parameters in the node action instruction, the production structure process is analyzed to determine the actual production variables, so that the node action instruction is corrected according to the actual generated variables to obtain a reconfigurable instruction, ensuring that the production instruction set matches the actual production task, thereby improving the accuracy of the production instruction set.
[0022] In a second aspect, the present application provides an intelligent instruction set construction system for industrial control, which adopts the following technical solutions: An intelligent instruction set construction system for industrial control, comprising: Acquisition module, used to obtain production scenario services; A memory for storing a program of the method for constructing an intelligent instruction set for industrial control as described in any one of the above items; The program in the processor memory can be loaded and executed by the processor and realize the intelligent instruction set construction method for industrial control as described in any one of the above items.
[0023] By adopting the above technical solution, the processor loads and executes a program of a method for constructing an intelligent instruction set for industrial control stored in the memory, and the control acquisition module obtains a series of data related to the construction of the intelligent instruction set for industrial control, thereby parsing the production scenario business into a production structure process, and deconstructing each step in the production structure process into a node production action. Then, according to the node production action, the corresponding node action instruction is searched in the action instruction library, and the node action instruction is reconstructed into a production instruction set, without the need to rewrite the instructions of the production equipment, thereby saving a lot of preparation time before production, and thus improving industrial production efficiency.
[0024] In summary, this application includes at least one of the following beneficial technical effects: 1. By parsing the production scenario business into a production structure process, each step in the production structure process is deconstructed into a node production action. Then, the corresponding node action instruction is searched in the action instruction library based on the node production action, and the node action instruction is reconstructed into a production instruction set. This eliminates the need to rewrite the instructions of the production equipment, thereby saving a lot of pre-production preparation time and improving industrial production efficiency. 2. When the production scenario business is determined to be consistent with the historical scenario business, it indicates that the production task is repeated production. Therefore, the corresponding node action can be directly searched in the scenario action library based on the same scenario business to determine the node production action, thereby improving the efficiency of determining the node production action; 3. By determining the associable equipment based on the previous production equipment and matching the associable equipment instructions of the associable equipment with the basic node instructions, the node action instructions are obtained to ensure 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. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 This is a flow chart of a method for constructing an intelligent instruction set for industrial control in an embodiment of the present application.
[0026] Figure 2 This is a flowchart of the steps for analyzing the production structure process in an embodiment of the present application to determine the corresponding node production actions.
[0027] Figure 3 This is a flowchart of the steps for analyzing the production structure process and the historical structure process in an embodiment of the present application to determine the node production action.
[0028] Figure 4 This is a flowchart of the steps for determining node action instructions based on node production actions and a preset action instruction library in an embodiment of the present application.
[0029] Figure 5 This is a flowchart of analyzing the action instruction library according to the synchronous selection instruction action in the embodiment of the present application to determine the steps of the process instruction library.
[0030] Figure 6 This is a flowchart of the steps of determining node action instructions based on synchronously selecting instruction actions and adapting to the process instruction library in an embodiment of the present application.
[0031] Figure 7 This is a flowchart of the steps for analyzing the basic node instruction and the previous node instruction to determine the node action instruction in an embodiment of the present application.
[0032] Figure 8 It is a flowchart of the steps of reconstructing node action instructions to generate a production instruction set in an embodiment of the present application. DETAILED DESCRIPTION
[0033] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figures 1 to 8 It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application.
[0034] The embodiment of the present application discloses a method for constructing an intelligent instruction set for industrial control, specifically a processing terminal. When the processing terminal receives a production scenario business, the processing terminal converts the production scenario business into a production structure process, and then deconstructs the production structure process into node production actions, thereby searching for corresponding node action instructions in an action instruction library according to the node production action, and finally reconstructing the node action instructions to form a production instruction set, without the need for technical personnel to rewrite the instruction set of the production equipment before production, thereby reducing the preparation time before production and improving industrial production efficiency.
[0035] Reference Figure 1 The present application discloses a method for constructing an intelligent instruction set for industrial control, comprising the following steps: Step S100: Obtain production scenario business.
[0036] Among them, production scenario business refers to the description of the production business scenario, including product type, quantity, quality and other requirements. The operator writes the production plan according to customer needs and uploads it to the processing terminal.
[0037] Step S101: Analyze the production scenario business to determine the production structure process.
[0038] Among them, the production structure process refers to the process of production scenario business. For example, if the production scenario salesperson produces an electronic product, the corresponding production structure process is the transportation of raw materials to 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 the pre-trained BERT model to understand the production scenario business, and identifies the specific process in the preset knowledge graph, and finally draws a flowchart through the BPMN tool.
[0039] Step S102: Analyze the production structure process to determine the corresponding node production action.
[0040] Among them, the node production action refers to the smallest action that can be decomposed into different processes in the production structure process. For example, the production equipment processes raw materials to form parts, which can be decomposed into plan issuance, scheduling and dispatching, task acquisition, material handling, tooling and machine adjustment, start-up verification, equipment production and other actions. The processing terminal analyzes the specific process in the production structure process. The specific method refers to Figure 2 steps.
[0041] Step S103: determining the node action instruction according to the node production action and a preset action instruction library.
[0042] Among them, the action instruction library refers to a database that stores different actions and corresponding instructions. The action instruction library is classified according to different scenarios. For example, the production instruction library stores actions and corresponding instructions in the production process. Another example is the logistics instruction library, which stores actions and corresponding instructions in the logistics process. The instruction library corresponding to the specific scenario is further subdivided to correspond the instructions to specific equipment.
[0043] Node action instructions refer to the instructions required to complete the node production action. In fact, they are encapsulated scripts. The processing terminal selects the instructions corresponding to the same action in the action instruction library according to the node production action. For specific methods, refer to Figure 4 steps.
[0044] Step S104: reconstruct the node action instructions to generate a production instruction set.
[0045] The production instruction set refers to the instruction set required to complete the production scenario business, which is formed by the processing terminal reconstructing the node action instructions according to the dependency-driven sorting principle. The specific method is referred to Figure 8 steps.
[0046] Reference Figure 2 , analyze the production structure process to determine the corresponding node production action steps include: Step S200: Acquire historical scene services.
[0047] Among them, historical scenario business refers to previous production scenario business, which is backed up and called by the processing terminal.
[0048] Step S201: Determine whether the production scenario business meets the requirements of the historical scenario business.
[0049] The requirement for historical scenario services refers to the presence of historical scenario services. The processing terminal determines whether the production scenario services exist in the historical scenario services, thereby determining whether node actions need to be determined based on specific process analysis.
[0050] Step S2011: If they are consistent, the production scenario business and the historical scenario business are analyzed to determine the same scenario business.
[0051] Among them, if the processing terminal determines that the production scenario business exists in the historical scenario business, it means that the same scenario business as the production scenario business existed in the past, so the corresponding node action also exists, and there is no need to determine the node action based on the specific process analysis, so as to determine the same scenario business based on the production scenario business and the historical scenario business, and provide data support for the subsequent determination of the node action.
[0052] The same scenario business refers to the scenario business in the historical scenario business that is the same as the production scenario business. The processing terminal performs semantic understanding of the historical scenario business, and selects the historical scenario business whose semantic understanding is consistent with the semantic understanding of the production scenario business as the same scenario business.
[0053] Step S20111: Determine the node production action based on the same scenario business and the preset scenario action library.
[0054] Among them, the scene action library refers to a database that stores different production scenes and corresponding actions. The operator maps historical scene businesses and actions one by one to form a mapping table.
[0055] The node production action in this step is consistent with the node production action in step S102, and is obtained by the processing terminal by searching for an action corresponding to the same scenario service in the scenario action library according to the same scenario service.
[0056] Step S2012: If not, obtain the historical structure process.
[0057] Among them, 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 identical to the production scenario business in the past, so the corresponding node actions do not all exist. Therefore, the historical structure process is called to provide data support for the subsequent determination of the node production action.
[0058] The historical structure process refers to the process of converting previous scenario businesses. The processing terminal converts the previous scenario businesses into processes and backs them up for future use.
[0059] Step S20121: Analyze the production structure process and the historical structure process to determine the node production action.
[0060] The node production action in this step is consistent with the node production action in step S102, and is determined by the processing terminal after analyzing the production structure process and the historical structure process. The specific method is referred to Figure 3 steps.
[0061] Reference Figure 3 ,Analyze the production structure process and historical structure process to determine the steps of node production action, including: Step S300: Analyze the production structure process and the historical structure process to determine the same structure process and the different structure process.
[0062] Among them, the same structure process refers to the process in the production structure process that is the same as the historical structure process, and the different structure process refers to the process in the production structure process that is different from the historical structure process. The processing terminal performs semantic understanding of the production structure process and the historical structure process, thereby determining that the production structure process with the same semantic understanding is the same structure process, and the production structure process without the same semantic understanding is the different structure process. By dividing the production structure process into the same structure process and the different structure process, the search scope is minimized in the subsequent process of determining actions based on the process, thereby improving the efficiency of determining node actions.
[0063] Step S301: determining the same structural action according to the same structural process and a preset historical structural action library.
[0064] The historical structure action library refers to a database that stores historical structure processes and corresponding node actions. The operator forms a mapping table by mapping the historical structure processes to the node actions one by one.
[0065] The same structure action refers to the node action corresponding to the same structure process, which is found by the processing terminal in the historical structure action library according to the same structure process.
[0066] Step S302: Determine different structural actions according to different structural processes and a preset structural process action library.
[0067] The structure process action library refers to a database that stores all structure processes and corresponding node actions. The operator forms a mapping table by mapping the structure processes and node actions one by one.
[0068] Different structural actions refer to node actions corresponding to different structural processes, which are found by the processing terminal in the structural process action library according to different structural processes.
[0069] Step S303: Associating the same structure actions with the different structure actions to generate a node production action.
[0070] The node production action in this step is consistent with the node production action in step S20121, and is formed by the processing terminal storing the same structure action and the different structure actions in the same database.
[0071] Reference Figure 4 The steps of determining the node action instruction according to the node production action and the preset action instruction library include: Step S400: Analyze the production structure process and the corresponding node production action to determine the synchronous selection instruction action.
[0072] Among them, the synchronous selection instruction action refers to the action of performing instruction selection at the same time, which is performed by the processing terminal according to the order of the production structure process and the node production action of a single production structure process as the synchronous selection instruction action.
[0073] Step S401: Obtaining the action confirmation form of the synchronous selection instruction action.
[0074] Among them, the action determination form refers to the method of determining the synchronous selection instruction action, including that obtained based on structural process analysis and scene matching. When the terminal determines the action, the method of determining the action is marked and waits for calling.
[0075] Step S402: Determine whether the action determination form meets the requirements of the preset action direct matching form.
[0076] The action direct matching form refers to a method in which the node action is directly matched according to the scenario business, and the requirement of the action direct matching form refers to consistency with the action direct matching form.
[0077] The processing terminal determines whether the action determination form is consistent with the action direct matching form, thereby determining whether the same scenario business exists, and providing data support for subsequent selection instructions.
[0078] Step S4021: If it matches, obtain the matching scenario service.
[0079] Among them, if the processing terminal determines that the action determination form is consistent with the action direct matching form, it means that the action is directly matched according to the scene business, and therefore exists in the scene business that is the same as the production scene business, thereby calling the matching scene business to provide data support for subsequent selection instructions.
[0080] The matching scenario service refers to a scenario service that is the same as the production scenario service. When the processing terminal determines the same scenario service in step S2011, the same scenario service is backed up for calling.
[0081] Step S40211: Determine the node action instruction according to the matching scenario service and the preset scenario instruction library.
[0082] The scene instruction library refers to a database that stores previous scene services and corresponding instructions. The operator matches the scene services and instructions one by one to form a mapping table.
[0083] The node action instruction in this step is consistent with the node action instruction in step S103, and is 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.
[0084] Step S4022: If not, the action instruction library is analyzed according to the synchronous selection instruction action to determine the adapted process instruction library.
[0085] Among them, if the action determination form determined by the processing terminal is inconsistent with the action direct matching form, it means that the action is obtained according to the structural process matching, so there are no completely identical instructions. Therefore, the action instruction library is subdivided according to the synchronous selection instruction action to obtain an instruction library that adapts to the process, narrowing the selection range of instructions and improving the selection efficiency of instructions.
[0086] Adaptive process instruction library means that more instructions can be selected from the action instruction library and the instruction library that is more suitable for production is determined by the processing terminal after analyzing the action instruction library based on the synchronous selection instructions. The specific method is referred to Figure 5 steps.
[0087] Step S40221: Determine the node action instruction according to the synchronous selection instruction action and the adaptation process instruction library.
[0088] Among them, after determining the adaptive process instruction library, select instructions from the adaptive process instruction library according to the synchronous selection instruction action, so as to obtain the node action instruction. The specific method is referred to Figure 6 steps.
[0089] Reference Figure 5 ,analyzing the action instruction library according to the synchronous selection instruction action to determine the steps of adapting the process instruction library include: Step S500: Analyze the synchronous selection instruction action to determine the analysis production action and the matching production action.
[0090] Among them, analyzing production actions refers to node actions determined according to different structural processes, and matching production actions refers to node actions determined according to the same structural processes. When determining the node actions, the processing terminal marks the determination method of the node actions, so that when classification is required, the processing terminal identifies the determination method of the synchronous selection instruction action and classifies the actions according to the identification method.
[0091] Step S501: Analyze the analysis production action and the matching production action to determine the number of analysis actions and the number of matching actions.
[0092] 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 counting the analysis production actions and the matching production actions respectively by the processing terminal.
[0093] Step S502: Determine whether the number of analysis actions meets the requirement of the number of matching actions.
[0094] The requirement for the number of matching actions is that the number of matching actions is greater than the number of matching actions. The processing terminal determines whether the number of actions is greater than the number of matching actions, thereby providing data support for the subsequent determination of which action to use as the basis for determining the instruction library.
[0095] Step S5021: If not, obtain action-related equipment based on the matching production action.
[0096] Among them, if the processing terminal determines that the number of analysis actions is not greater than the number of matching actions, it means that there are more matching production actions. Therefore, the number of instructions that can be selected from the instruction library determined based on the matching production actions is also large, thereby calling action-related equipment based on the matching production actions to provide data support for the subsequent determination of the instruction library.
[0097] Action-related equipment refers to equipment that completes matching production actions, and is obtained by the processing terminal calling the equipment that has previously performed such actions based on the equipment operation records and matching production actions.
[0098] Step S50211: Determine the adaptive process instruction library based on the action-related devices and the action instruction library.
[0099] The adaptive process instruction library in this step is consistent with the adaptive process instruction library in step S4022. The processing terminal retrieves the instruction library corresponding to the action-related device from 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 than the adaptive process instruction library determined by analyzing the production action.
[0100] Step S5022: If it meets the requirements, obtain available production equipment based on the production structure process.
[0101] Among them, if the processing terminal determines that the number of analysis actions is greater than the number of matching actions, it means that the number of analyzed production actions is large. Therefore, it is necessary to determine the instruction library from the perspective of ensuring that the analyzed production actions select 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 process-adaptive instruction library.
[0102] Available production equipment refers to the relevant equipment that can complete the production structure process. The processing terminal calls the equipment that meets the production structure process in the function according to the equipment function map and the production structure process.
[0103] Step S50221: Determine the adapted process instruction library based on the available production equipment and action instruction library.
[0104] The adaptive process instruction library in this step is consistent with the adaptive process instruction library in step S4022. The processing terminal retrieves the instruction library corresponding to the available production equipment from the action instruction library. In this step, the adaptive process instruction library determined by available production equipment is larger than the adaptive process instruction library determined by action-related equipment. However, it better meets the requirement for selecting and analyzing the number of instructions corresponding to production actions, thereby ensuring that more instructions are selected that are more capable of completing the scenario business.
[0105] Reference Figure 6 The steps of determining the node action instruction according to the synchronous selection instruction action and the adaptation process instruction library include: Step S600: Determine whether the synchronous selection instruction action meets the requirements of the adaptive process instruction library.
[0106] The requirement of the adaptive process instruction library refers to the existence of the instruction actions corresponding to the adaptive process instruction library. The processing terminal determines whether the synchronous selection instruction action exists in the instruction actions corresponding to the adaptive process instruction library, thereby determining whether the instruction corresponding to the synchronous selection instruction action can be selected from the adaptive process instruction library.
[0107] Step S601: If not, output a synchronous selection instruction action to prompt adding a node action instruction.
[0108] Among them, if the processing terminal determines that the synchronous selection instruction action does not exist in the instruction action corresponding to the adaptation process instruction library, it means that there is no instruction corresponding to the action in the adaptation process instruction library, so the synchronous selection instruction action is output to prompt personnel to manually write the node action instruction corresponding to the action.
[0109] Step S602: If it is consistent, the basic node instruction is determined according to the synchronous selection instruction action and the adaptation process instruction library.
[0110] Among them, if the processing terminal determines that the synchronous selection instruction action exists in the instruction action corresponding to the adaptation process instruction library, it means that the instruction corresponding to the synchronous selection instruction action can be selected from the adaptation process instruction library, thereby determining the basic node instruction based on the synchronous selection instruction action and the adaptation process instruction library, providing data support for the subsequent determination of the final node action instruction.
[0111] The basic node instructions refer to all instructions selected and corresponding to the synchronous selection instruction action, which are found by the processing terminal in the adaptation process instruction library according to the synchronous selection instruction action.
[0112] Step S6021: Get the previous node instruction.
[0113] Among them, the previous node instruction refers to the instruction corresponding to the previous node action of the synchronous selection instruction action. When it exists, it is directly called by the processing terminal. When it does not exist, it returns empty.
[0114] Step S6022: Analyze the basic node instruction and the previous node instruction to determine the node action instruction.
[0115] Among them, the node action instruction in this step is consistent with the node action instruction in step S40221. The processing terminal selects a matching instruction from the basic node instructions based on the previous node instruction, which is the node action instruction.
[0116] Reference Figure 7 , the steps of analyzing the basic node instruction and the previous node instruction to determine the node action instruction include: Step S700: Determine whether the previous node instruction exists.
[0117] Among them, the retrieved content is identified by the processing terminal to determine whether the previous node instruction exists, providing data support for the subsequent determination of the node action instruction.
[0118] Step S701: If it does not exist, obtain the equipment production score based on the basic node instruction.
[0119] Among them, 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 match 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 the node action instruction.
[0120] The equipment production score refers to the equipment score obtained by comprehensively considering 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 equipment score corresponding to the equipment to obtain it.
[0121] Step S7011: sort the equipment production scores and basic node instructions to determine the best node instruction, and define the best node instruction as the node action instruction.
[0122] The optimal node instruction is the best instruction for achieving the synchronized instruction selection action. The processing terminal sorts the equipment production scores and the corresponding basic node instructions to determine the maximum equipment production score and identify the basic node instruction corresponding to the maximum equipment production score, which is the optimal node instruction. After the processing terminal determines the optimal node instruction, it defines it as the node action instruction, ensuring that the synchronized instruction selection action can be achieved.
[0123] Step S702: If it exists, obtain the previous production equipment based on the previous node instruction.
[0124] Among them, 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.
[0125] The previous production device refers to the device that executes the previous node instruction, and is obtained by the processing terminal identifying the device to which the previous node instruction belongs.
[0126] Step S7021: Determine the associable device based on the previous production device and the preset device association relationship, and obtain the associable device instruction of the associable device.
[0127] The device association relationship refers to the association relationship between different devices, and the operator forms a mapping table by mapping different devices to the associated devices one by one.
[0128] An associable device refers to a device that is associated with the previous production device, and is determined by the processing terminal by searching in the device association relationship based on the previous production device.
[0129] The associated device instruction refers to an instruction belonging to an associable device, and is obtained by searching the corresponding relationship between the associable device and the instruction by the processing terminal according to the corresponding relationship between the device and the instruction.
[0130] Step S7022: Analyze the associated device instructions and basic node instructions to determine the node action instructions.
[0131] After determining the associated device instructions, the associated device instructions are sorted according to the association order of the associable devices, and then the sorted associated device instructions are compared with the basic node instructions to select the associated device instruction with the highest priority, which is the node action instruction.
[0132] Reference Figure 8 ,The steps of reconstructing the node action instructions to generate the production instruction set include: Step S800: Analyze the node action instruction to determine whether there are preset instruction variable parameters.
[0133] The instruction variable parameter refers to the variable parameter in the action instruction, such as speed, size, etc. The processing terminal identifies the node action instruction and determines whether the node action instruction contains the instruction variable parameter, thereby determining whether the node action instruction needs to be modified.
[0134] Step S801: If it does not exist, define the node action instruction as a reconfigurable instruction.
[0135] If the processing terminal determines that the node action instruction does not contain an instruction variable parameter, it indicates that the node action instruction does not need to be modified, so the node action instruction is directly defined as a reconfigurable instruction.
[0136] Reconfigurable instructions refer to instructions that can be reconfigured to form an instruction set. In this step, the processing terminal directly defines the node action instructions.
[0137] Step S802: If yes, analyze the production structure process to determine the actual production variables.
[0138] Among them, if the processing terminal determines that there are instruction variable parameters in the node action instruction, it means that the node action instruction may not meet the variable requirements of the current production scenario business. Therefore, the actual production variables are determined after analyzing the production structure process to provide data support for subsequent corrections to the node action instruction.
[0139] The actual production variables refer to the actual variables required in the production structure process corresponding to the node action instruction, which are obtained by the processing terminal through semantic understanding of the production structure process.
[0140] Step S8021: Modify the node action instruction according to the actual generated variables to generate a reconfigurable instruction.
[0141] The definition of the reconfigurable instruction in this step is consistent with that in step S801 , except 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.
[0142] Step S803: reconstruct the reconfigurable instructions to generate a production instruction set.
[0143] After the reconfigurable instructions are determined, the processing terminal reconfigures the reconfigurable instructions according to the dependency-driven sorting principle to form a production instruction set.
[0144] Based on the same inventive concept, the present embodiment provides an intelligent instruction set construction system for industrial control, including: The acquisition module is used to obtain production scenario services, historical scenario services, historical structure processes, action determination forms, matching scenario services, action-related equipment, available production equipment, previous node instructions, equipment production scores, previous production equipment, and related equipment instructions; A memory for storing a program for a method for constructing an intelligent instruction set for industrial control; The program in the processor and the memory can be loaded and executed by the processor to realize an intelligent instruction set construction method for industrial control.
[0145] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned 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 processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0146] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and executed by a method for constructing an intelligent instruction set for industrial control.
[0147] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.
[0148] Based on the same inventive concept, an embodiment of the present application provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes an intelligent instruction set construction method for industrial control.
[0149] Those skilled in the art will clearly understand that for the sake of convenience and brevity, the division of the above-mentioned functional modules is only used as an example for illustration. In actual applications, the above-mentioned 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 processes of the above-mentioned systems, devices, and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0150] The above are all preferred embodiments of the present application and are not intended to limit the scope of protection of this application. Unless otherwise specified, any feature disclosed in this specification (including the abstract and drawings) may be replaced by other equivalent or similar features. In other words, unless otherwise specified, each feature is merely an 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: Obtain production scenario business; Analyze production scenario business to determine production structure process; Analyze the production structure process to determine the corresponding node production actions; Determine the node action instruction according to the node production action and the preset action instruction library; The node action instructions are reconstructed 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: Analyze the production structure process to determine the corresponding node production action steps include: Obtain historical scene business; Determine whether the production scenario business meets the requirements of the historical scenario business; If they are consistent, the production scenario business and historical scenario business are analyzed to determine the same scenario business; Determine the node production action based on the same scenario business and the preset scenario action library; If not, obtain the historical structure process; Analyze the production structure process and historical structure process to determine the node production actions.
3. The method for constructing an intelligent instruction set for industrial control according to claim 2, characterized in that: The steps for analyzing the production structure process and historical structure process to determine the node production action include: Analyze the production structure process and historical structure process to determine the same structure process and different structure process; Determine the same structural action based on the same structural process and the preset historical structural action library; Determine different structural actions according to different structural processes and preset structural process action libraries; Associate same-structure actions and different-structure actions to generate node production actions.
4. The method for constructing an intelligent instruction set for industrial control according to claim 1, characterized in that: The steps of determining the node action instruction according to the node production action and the preset action instruction library include: Analyze the production structure process and the corresponding node production actions to determine the synchronous selection instruction actions; Get the action confirmation form of the synchronous selection instruction action; Determine whether the action determination form meets the requirements of the preset action direct matching form; If it matches, then obtain the matching scenario business; Determine the node action instruction based on the matching scenario business and the preset scenario instruction library; If it does not meet the requirements, the action instruction library is analyzed according to the synchronous selection instruction action to determine the appropriate process instruction library; The node action instruction is determined based on the synchronous selection instruction action and the adaptation process instruction library.
5. The method for constructing an intelligent instruction set for industrial control according to claim 4, characterized in that: The steps of analyzing the action instruction library based on the synchronous selection instruction action to determine the steps of adapting the process instruction library include: Analyze the synchronous selection instruction action to determine the analysis production action and matching production action; Analyze the analysis production action and the matching production action to determine the number of analysis actions and the number of matching actions; Determine whether the number of analysis actions meets the requirements for the number of matching actions; If not, obtain action-related equipment based on matching production actions; Determine the adaptive process instruction library based on the action-related equipment and action instruction library; If it meets the requirements, available production equipment will be obtained based on the production structure process; Determine the appropriate process instruction library based on the available production equipment and action instruction library.
6. The method for constructing an intelligent instruction set for industrial control according to claim 4, characterized in that: The steps of determining the node action instruction according to the synchronous selection instruction action and the adaptation process instruction library include: Determine whether the synchronous selection instruction action meets the requirements of the process instruction library; If it does not match, then the synchronous selection instruction action is output to prompt the user to add a node action instruction; If it is in compliance, the basic node instruction is determined based on the synchronous selection instruction action and the adaptation process instruction library; Get the previous node instruction; The basic node instruction and the previous node instruction are analyzed to determine the node action instruction.
7. The method for constructing an intelligent instruction set for industrial control according to claim 6, characterized in that: The steps of analyzing the basic node instruction and the previous node instruction to determine the node action instruction include: Determine whether the previous node instruction exists; If it does not exist, the equipment production score is obtained based on the basic node instructions; sorting the equipment production scores and basic node instructions to determine the best node instruction, and defining the best node instruction as the node action instruction; If it exists, the previous production device is obtained based on the previous node instruction; Determine the associable device based on the previous production device and the preset device association relationship, and obtain the associable device instruction of the associable device; Analyze the associated device instructions and basic node instructions to determine the node action instructions.
8. The method for constructing an intelligent instruction set for industrial control according to claim 1, characterized in that: The steps of reconstructing the node action instructions to generate a production instruction set include: Analyze the node action instruction to determine whether there are preset instruction variable parameters; If it does not exist, the node action instruction is defined as a reconfigurable instruction; If so, the production structure process is analyzed to determine the actual production variables; Modify the node action instructions according to the actual generated variables to generate reconfigurable instructions; The reconfigurable instructions are reconfigured to generate a production instruction set.
9. An intelligent instruction set construction system for industrial control, characterized in that: include: Acquisition module, used to obtain production scenario services; A memory for storing a program of a method for constructing an intelligent instruction set for industrial control according to any one of claims 1 to 8; The program in the processor memory can be loaded and executed by the processor to implement the method for constructing an intelligent instruction set for industrial control as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Process flow configuration method, device and equipment and computer readable storage medium
CN111724077A
Configuration method for realizing user-defined business scene based on orchestration engine
CN113849244A
Intelligent equipment scene control method and device, intelligent equipment and storage medium
CN117111482A
Business project management method and device, computer equipment and storage medium
CN119006144A
Method and device for supporting complex product manufacturing process model reconstruction
CN119599405A