A method for automatically generating a process tree for process-based production or operation under conditional constraints
Through the automatic generation method of flow-based production or operation process tree under conditional constraints, the problem of process diagram adjustment in multi-process production is solved, the automatic balancing of process trees and the minimization of waiting time are realized, which is suitable for different multi-process production scenarios. Quick adjustment of product models.
Patent Information
- Application Number
- CN202410370769.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-03-29
AI Technical Summary
In a multi-process production scenario, manual production or operation process diagrams are difficult to adjust quickly, resulting in long waiting times, inability to effectively cope with switching between different models of products or operation processes, and the inability to automatically generate overall production or operation process diagrams.
Adopt the process tree automatic generation method of process production or operation under conditional constraints, and use the process tree generation unit, simulation calculation unit and output control unit in the computing support equipment, combined with the solution unit, to automatically generate and adjust the process tree to ensure that the left and right sub Tree balance and process connection waiting time are minimal.
It realizes the automatic generation of process trees according to different process times in multi-process production scenarios, reduces the waiting time for process connection, quickly adjusts the process tree structure to respond to time events, and ensures the shortest overall waiting time.
Smart Images

Figure CN118331187B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of production process management, and in particular relates to a method for automatically generating a process-type production or operation process tree under conditional constraints. Background Art
[0002] The process is the basic unit of the production process. According to the different nature and tasks, it can be divided into process, inspection process, transportation process, etc. The order of processing products in each section of the entire production process also refers to the processing of each section. The materials are processed into finished products through various processes. As for the operator, work place and labor object of the same process, they are fixed. If one element changes, it constitutes another new process.
[0003] In the actual production application process, in the production scenario with multiple processes as the main line, each process has discrete process dependencies or serialized sub-process dependencies, and in the production and processing industry with manual operation as the main feature, the process diagram of the complete production process depends on manual formulation, it is impossible to automatically generate the overall complete production or operation process diagram for products of different models or operation processes that are frequently switched. For the production of multiple processes, the time consumed for each process in the supporting production process is different. When a time event occurs in a process, it will cause the overall waiting time to be the longest, delaying the construction period, and being unable to quickly adjust the production or operation process diagram, and the work plan cannot be guaranteed. Summary of the invention
[0004] The purpose of the present invention is to provide a method for automatically generating a process-based production or operation procedure tree under conditional constraints to solve the problems raised by the above-mentioned background technology.
[0005] To solve the above technical problems, the present invention is achieved through the following technical solutions:
[0006] The present invention is a method for automatically generating a process tree for flow-type production or operation under conditional constraints, comprising a calculation support device, wherein a process tree generation unit, a process tree simulation calculation unit, a process tree output control unit and a solution unit are arranged in the calculation support device, and the type and quantity of the determined processes and the front-back dependency relationship of the fixed main processes are used as the constraint conditions. Under the constraint conditions, the process tree is automatically generated in the following steps:
[0007] Step 1: Enter the process decomposition measurement table into the process tree generation unit;
[0008] Step 2: After being automatically generated by the process tree generation unit, it is transmitted to the process tree simulation calculation unit;
[0009] Step 3: After simulation and evaluation, the process tree simulation calculation unit adjusts the solution in combination with the solution unit, regenerates the process tree, and realizes the closed-loop adjustment process of automatic calculation;
[0010] Step 4: Automatically calculate and adjust the balance of the left and right sides of the process tree so that the balance deviation is less than the specified threshold and meets the requirements. The specified threshold is 0-10%. The specified threshold can also be adjusted according to customer requirements and is not limited to 0-10%;
[0011] Step 5, transmitting the process tree that has reached the expected balance degree to the process tree output control unit;
[0012] Step 6: The process tree output control unit generates a visual diagram of the process tree and outputs or prints it so as to complete the work order dispatching for each process.
[0013] Furthermore, the process decomposition measurement table is the result of the user measuring the time required for each process and the dependencies between the processes, and the time required for each process is the time required for a skilled worker to actually complete the operation of the corresponding process.
[0014] Furthermore, the process tree generation unit has the functions of reading process duration data and process dependencies before and after the process in the process decomposition measurement table; constructing a data structure for each sub-process of the process according to the optimal process tree, and the optimal process tree uses the trunk as the logistics supply channel; determining the sub-processes connected to the trunk node according to the process decomposition measurement, adjusting the number of processes on the left and right of the trunk node to make the duration on the left and right of the trunk node as equal as possible; accepting information fed back by the process tree simulation calculation unit, adjusting the total length of the left and right subtree structures of the process tree, and submitting it to the process tree simulation calculation unit.
[0015] Furthermore, the process tree simulation calculation unit accepts various tree structure data submitted by the process tree generation unit, simulates the overall efficiency, balance and total length of the process tree, and compares the balance with the target requirements. If it does not meet the requirements, it will be fed back to the process tree generation unit to readjust the worst balance node and sorting.
[0016] Furthermore, the process tree can be read and arranged by production team dispatchers. The left and right subtree information on both sides of the process tree includes process combinations and combined time estimates between processes, and presentation of process dependency status before and after.
[0017] Furthermore, the process tree has the functions of process tree replication and individual data adjustment of left and right subtree forks. When the fork is adjusted and edited, the historical data of the current process tree fork is provided as reference, display or selection.
[0018] Furthermore, the process tree needs to construct a trunk node to combine the left and right subtrees, and the fork position structure of the left and right subtrees depends on the sum of the lengths of the left subtree and the right subtree. The specific method includes:
[0019] S1, take the starting node of the trunk node as the first process node;
[0020] S2, add a left subtree fork to the first process node;
[0021] S3, add a right subtree fork to the first process node;
[0022] S4, adding the next subtree fork at the first process node, combining the left and right subtree judgment conditions to add;
[0023] The left and right subtree judgment conditions are as follows: the newly added subtree fork is placed on the side with a smaller value than the sum of the total lengths of the left and right subtrees. The length of a subtree fork represents the time required for a process. The length sorting of the subtree forks starts from the first process node and extends from long to short to both sides. When adding the next subtree fork, it is necessary to recalculate the length sum of the existing left and right subtree forks, and add the next subtree fork to the side with a smaller length sum. The length sorting of the next subtree fork starts from the first process node and extends from long to short to both sides. Similarly, the next process node is arranged in sequence. The total length of the subtree fork is calculated as follows:
[0024] The total length of the left subtree of the trunk node =
[0025] The total length of the right subtree of the trunk node =
[0026] in, is the total length of the left subtree, is the total length of the right subtree, m is the number of forks in the current left subtree, n is the number of forks in the current right subtree, and k is the maximum number of forks from zero.
[0027] The present invention has the following beneficial effects:
[0028] 1. This application is used in a production or operation scenario with multiple processes. It is a method for automatically generating a process tree according to a specific algorithm based on the different times consumed by different processes recorded in the previous single process experiment.
[0029] 2. Under the constraints, the length difference between the left and right subtree forks is minimized, so that the waiting time for the connection between the previous and next processes is minimized.
[0030] 3. In the actual production application process, when a deviation occurs in the time event of a certain process, the length of the tree fork of the left and right subtrees is adjusted to the new minimum difference state according to the actual time result to achieve the shortest overall waiting time.
[0031] Of course, any product implementing the present invention does not necessarily need to achieve all of the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for describing the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0033] Figure 1 It is a structural schematic diagram of a method for automatically generating a process-based production or operation process tree under a conditional constraint of the present invention;
[0034] Figure 2 It is a process tree structure diagram of the present invention;
[0035] Figure 3 It is a process tree structure diagram of the present invention;
[0036] Figure 4 It is a process tree structure diagram of the present invention. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] See also Figure 1-4 As shown, the present invention is a method for automatically generating a process tree for flow-type production or operation under conditional constraints, including a calculation support device, wherein a process tree generation unit, a process tree simulation calculation unit, a process tree output control unit and a solution unit are provided in the calculation support device, and the type and quantity of the determined processes and the front-back dependency relationship of the fixed main processes are used as the constraint conditions. Under the constraint conditions, the steps for automatically generating the process tree are as follows:
[0039] Step 1: Enter the process decomposition measurement table into the process tree generation unit;
[0040] Step 2: After being automatically generated by the process tree generation unit, it is transmitted to the process tree simulation calculation unit;
[0041] Step 3: After simulation and evaluation, the process tree simulation calculation unit adjusts the solution in combination with the solution unit, regenerates the process tree, and realizes the closed-loop adjustment process of automatic calculation;
[0042] Step 4: Automatically calculate and adjust the balance of the left and right sides of the process tree so that the balance deviation is less than the specified threshold. The specified threshold is 0-10% to meet the requirements. The specified threshold can also be adjusted according to customer requirements and is not limited to 0-10%;
[0043] Step 5, transmitting the process tree that has reached the expected balance degree to the process tree output control unit;
[0044] Step 6, process tree output control unit generates a visual diagram of the process tree, outputs or prints it, so as to complete the work order dispatching for each process. This application is used in a production scenario with multiple processes, according to the different time consumed by different processes recorded in the previous single process experiment, and automatically generates a process tree according to a specific algorithm. Under the constraints, the difference in the length of the left and right subtree forks is minimized, which achieves the effect of minimizing the waiting time for the connection between the previous and subsequent processes. In the actual production application process, when a deviation occurs in the time event of a certain process, the length of the tree fork of the left and right subtrees is adjusted to the new minimum difference state according to the actual time result, so as to achieve the shortest overall waiting time.
[0045] The process decomposition measurement table is the result of the user's measurement of the time required for each process and the dependencies between processes. The time required for each process is the actual time required for a skilled worker to complete the corresponding process.
[0046] The process tree generation unit has the functions of reading the process duration data and the dependency relationship before and after the process from the process decomposition measurement table; constructing the data structure for each sub-process of the process according to the optimal process tree, and the optimal process tree uses the trunk as the logistics supply channel; determining the sub-processes connected to the trunk node according to the process decomposition measurement, adjusting the number of processes on the left and right of the trunk node to make the duration on the left and right of the trunk node as equal as possible; accepting the information fed back by the process tree simulation calculation unit, adjusting the total length of the left and right subtree structures of the process tree, and submitting it to the process tree simulation calculation unit.
[0047] The process tree simulation calculation unit accepts various tree structure data submitted by the process tree generation unit, simulates the overall efficiency, balance and total length of the process tree, and compares the balance with the target requirements. If it does not meet the requirements, it will be fed back to the process tree generation unit to readjust the worst balance node and sorting.
[0048] The process tree can be read and arranged by production team dispatchers. The left and right subtree information on both sides of the process tree includes process combinations and combined time estimates between processes, as well as the presentation of dependency status before and after the processes.
[0049] The process tree has the functions of process tree replication, individual data adjustment of left and right subtree branches, and provides historical data of the current process tree branch for reference, display or selection when adjusting and editing the branch. This application is suitable for production scenarios with multiple processes as the main line, each process has discrete process dependencies or serialized sub-process dependencies, and production and processing industries with manual operation and complete production process process diagrams as the main feature. For different models of products or operation processes that are frequently switched, the overall complete production or operation process diagram can be automatically generated.
[0050] The process tree needs to construct a trunk node to combine the left and right subtrees. The fork position structure of the left and right subtrees depends on the sum of the lengths of the left subtree and the right subtree. The specific methods include:
[0051] S1, take the starting node of the trunk node as the first process node;
[0052] S2, add a left subtree fork to the first process node;
[0053] S3, add a right subtree fork to the first process node;
[0054] S4, adding the next subtree fork at the first process node, combining the left and right subtree judgment conditions to add;
[0055] The left and right subtree judgment conditions are as follows: the newly added subtree fork is placed on the side with a smaller value than the sum of the total lengths of the left and right subtrees. The length of a subtree fork represents the time required for a process. The length sorting of the subtree forks starts from the first process node and extends from long to short to both sides. When adding the next subtree fork, it is necessary to recalculate the length sum of the existing left and right subtree forks, and add the next subtree fork to the side with a smaller length sum. The length sorting of the next subtree fork starts from the first process node and extends from long to short to both sides. Similarly, the next process node is arranged in sequence. The total length of the subtree fork is calculated as follows:
[0056] The total length of the left subtree of the trunk node =
[0057] The total length of the right subtree of the trunk node =
[0058] in, is the total length of the left subtree, is the total length of the right subtree, m is the number of forks in the current left subtree, n is the number of forks in the current right subtree, and k is the maximum number of forks from zero.
[0059] like Figure 2As shown, it is a process tree for multi-process production, with the logistics supply channel as the main trunk, and the main trunk is divided into four nodes, A node, B node, C node and D node, as the constraints of the current operation. The length of a subtree fork represents the time required for a process, and the processes on the left and right subtrees on the left and right sides of the node are used as tree forks. In this embodiment, process 3 is placed near the A node in the right subtree as the longest time, process 4 is placed near the A node in the left subtree as the second longest time, process 2 is placed on the left side of process 4 as the third longest time, and process 1 is placed on the right side of process 3 as the fourth longest time, and so on for other nodes. After the maximum time of 40S at A node is completed, it enters the B node, after the maximum time of 23S at B node is completed, it enters the C node, after the maximum time of 26S at C node is completed, it enters the D node, and after the maximum time of 8S at D node is completed, the entire process is completed. According to the actual time results of different processes, the length of the tree forks of the left and right subtrees is adjusted to the new minimum difference state to achieve the shortest overall waiting time of the trunk.
[0060]
[0061] If the subtree fork changes, such as the subtree fork in the figure, that is, the duration of process 3 changes from 32S to 12S, the process tree will be quickly adjusted according to the judgment conditions of the left and right subtrees, and then a new process tree will be automatically generated. Figure 3 shown.
[0062] like Figure 4 As shown in the figure, this is the operation process tree for ships entering the port terminal, with the logistics supply channel as the main trunk. The trunk is divided into three nodes, A node, B node and C node, as the constraints of the current operation. The left and right subtrees on the left and right sides of the three nodes are used as tree forks. According to the actual time taken for different ship types to enter the port, the tree fork lengths of the left and right subtrees are adjusted to the new minimum difference state to achieve the shortest overall waiting time.
[0063] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0064] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A method for automatically generating a process tree for process-based production or operation under conditional constraints. It is characterized in that The computing support device includes a process tree generation unit, a process tree simulation calculation unit, a process tree output control unit and a solution unit. The process tree is automatically generated under the constraints of the determined process types and quantities and the front-to-back dependency relationship of the fixed main process. The steps are as follows: Step 1: Enter the process decomposition measurement table into the process tree generation unit; Step 2: After being automatically generated by the process tree generation unit, it is transmitted to the process tree simulation calculation unit; Step 3: After simulation and evaluation, the process tree simulation calculation unit adjusts the solution in combination with the solution unit, regenerates the process tree, and realizes the closed-loop adjustment process of automatic calculation; Step 4: Automatically calculate and adjust the balance of the left and right sides of the process tree so that the balance deviation is less than the specified threshold value, which is 0-10% to meet the requirements; Step 5, transmitting the process tree that has reached the expected balance degree to the process tree output control unit; Step 6: The process tree output control unit generates a process tree visual diagram and outputs or prints it so as to complete the work order dispatch for each process; The process decomposition measurement table is the result of the user measuring the time taken for each process and the dependencies between processes. The time taken for each process is the time it takes for a skilled worker to actually complete the operation of the corresponding process. The process tree generation unit has the functions of reading process duration data and process dependencies from the process decomposition measurement table; constructing a data structure for each sub-process of the process according to the optimal process tree, where the optimal process tree takes the trunk as the logistics supply channel; determining the sub-processes connected to the trunk node according to the process decomposition measurement, adjusting the number of processes on the left and right sides of the trunk node to make the duration of the left and right sides of the trunk node as equal as possible; receiving information fed back by the process tree simulation calculation unit, adjusting the total length of the left and right sub-tree structures of the process tree, and submitting it to the process tree simulation calculation unit; The process tree needs to construct a trunk node to combine the left and right subtrees. The fork position structure of the left and right subtrees depends on the sum of the lengths of the left subtree and the right subtree. The specific method includes: S1, take the starting node of the trunk node as the first process node; S2, add a left subtree fork to the first process node; S3, add a right subtree fork to the first process node; S4, adding the next subtree fork at the first process node, combining the left and right subtree judgment conditions to add; The left and right subtree judgment conditions are as follows: the newly added subtree fork is placed on the side with a smaller value than the sum of the total lengths of the left and right subtrees. The length of a subtree fork represents the time required for a process. The length sorting of the subtree forks starts from the first process node and extends from long to short to both sides. When adding the next subtree fork, it is necessary to recalculate the length sum of the existing left and right subtree forks, and add the next subtree fork to the side with a smaller length sum. The length sorting of the next subtree fork starts from the first process node and extends from long to short to both sides. Similarly, the next process node is arranged in sequence. The total length of the subtree fork is calculated as follows: The total length of the left subtree of the trunk node = ; The total length of the right subtree of the trunk node = ; in, is the total length of the left subtree, is the total length of the right subtree, m is the number of forks in the current left subtree, n is the number of forks in the current right subtree, and k is the maximum number of forks from zero.
2. The method for automatically generating a process-based production or operation process tree under conditional constraints according to claim 1, It is characterized in that The process tree simulation calculation unit accepts various tree structure data submitted by the process tree generation unit, simulates the overall efficiency, balance and total length of the process tree, compares the balance with the target requirements, and if it does not meet the requirements, feeds back to the process tree generation unit to readjust the worst balance node and sorting.
3. The method for automatically generating a process-based production or operation process tree under conditional constraints according to claim 1, It is characterized in that The process tree can be read and arranged by production team dispatchers. The left and right subtree information on both sides of the process tree includes process combinations and combined time estimates between processes, and presentation of dependency status before and after processes.
4. The method for automatically generating a process-based production or operation process tree under conditional constraints according to claim 1, It is characterized in that The process tree has the functions of process tree replication and individual data adjustment of left and right subtree forks. When the fork is adjusted and edited, the historical data of the current process tree fork is provided as reference, display or selection.
Citation Information
Patent Citations
Comprehensive scheduling method for dynamic local optimal tree
CN109961237A
Non-recursive high-performance construction method of balanced binary tree
CN113326271A
