Process management method and device for RTD dispatching rule execution based on memory and medium
By using a memory-based process engine in the RTD system to manage and execute dispatch rule algorithms, the problem of low execution efficiency of dispatch rule in the existing technology is solved, and more efficient automated transfer and capacity efficiency are achieved.
Patent Information
- Application Number
- CN202510064798.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-15
- Publication Date
- 2025-04-25
AI Technical Summary
In the prior art, the database-based process engine is less efficient when executing RTD dispatch rules, resulting in the execution time of the dispatch rules being too long and unable to meet the requirements of factory automation logistics efficiency.
The memory-based process engine is adopted to manage the dispatch rule algorithm of the RTD system through a flow chart, which improves the flexibility of maintaining the dispatch rule algorithm, and greatly saves scheduling time by scheduling process nodes in memory.
The operation efficiency of the dispatch rules has been significantly improved, and the time for dispatching 100 process nodes has been compressed to within 4 milliseconds, which has improved the efficiency and capacity efficiency of the entire automated transfer, making factory automation more rapid.
Smart Images

Figure CN119882647A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of semiconductor manufacturing technology, and in particular to a process management method, device and storage medium for RTD dispatch rule execution based on memory. Background Art
[0002] With the rapid development of informatization in the manufacturing industry, the efficiency requirements for factory automation are getting higher and higher. RTD (real-time dispatch system) plays the role of the intelligent brain of factory automation logistics, and the efficiency of executing dispatch rule algorithms is gradually improving. There are the following solutions for dispatch rule execution:
[0003] Solution 1: Integrate the dispatch rule algorithm into the RTD system in code.
[0004] Solution 2: Extract the logic of the dispatch algorithm and build and maintain it in the form of a visual flowchart.
[0005] Solution 1 is more efficient than Solution 2, but it is not flexible enough and it is difficult to cope with changing demands in production. Therefore, Solution 2 is often chosen.
[0006] Existing solution: Use process engines such as Activiti to draw BPMN diagrams on the WEB side as dispatch logic. Since the process engine runs based on the database, the efficiency is low. After testing, the time for scheduling process nodes is generally more than 20 milliseconds. When the RTD dispatch rules are slightly complex, the process nodes will exceed 100, which means that the time spent on executing the jump of 100 nodes is more than 2 seconds, and the time to execute the entire dispatch rule is relatively long. Summary of the invention
[0007] The present invention proposes a process management method, device and storage medium for RTD dispatch rule execution based on memory, which can solve at least one of the technical problems in the background technology.
[0008] To achieve the above object, the present invention adopts the following technical solutions:
[0009] A process management method for executing RTD dispatching rules based on memory, performing the following steps through a computer device:
[0010] When a process starts and ends, it interacts with the EAP system and sends a request for loading or unloading materials to the RTD system through the EAP system. The RTD system will find the delivery rules supported by the device based on the device information of the request and the information on whether loading or unloading is required, and execute according to the rules to finally find the optimal solution for loading materials.
[0011] Furthermore, when the production equipment sends the loading request to the RTD system through EAP, the RTD system will find the dispatch rule algorithm of the equipment when loading, that is, a regular process. Then the RTD system will use the equipment as a parameter and use the DSP process engine to call this regular process.
[0012] Furthermore, it also includes obtaining the production data of the MES system according to the loading and unloading requests of the equipment, using SQL-related components, connecting to the MES system database or the instant backup library of the MES database, inputting equipment parameters, finding the product model produced by this equipment, and obtaining the Lot information that can be delivered.
[0013] Furthermore, find the delivery rules supported by the device, execute according to these rules, and finally find the best solution for loading materials, including:
[0014] Use the filtering component to filter out the timed lots and filter the distributed lots. Then, use the data and logic components to calculate a score for these batches of lots according to the set logic. Then, use the sorting logic to place the lots with high scores in front.
[0015] Furthermore, it also includes querying the delivery route: querying the delivery route through the SQL component according to the high-scoring Lot, or scoring the delivery route according to distance, partition, etc., and calculating an optimal route.
[0016] Furthermore, it also includes the result that the RTD system uses the call to the DSP to execute the dispatch rule process, and sends the handling instructions to the AMHS (Automatic Material Handling System) automatic material handling system through the MCS system to complete the implementation of automation. At the same time, the handling equipment will interact with the RTD system during the handling process and report the handling status, such as starting to handle, in progress, completed, and error, etc. RTD will execute the next step based on this information feedback.
[0017] On the other hand, the present invention further discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.
[0018] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0019] It can be seen from the above technical solution that the present invention is a process management method for the execution of RTD dispatching rules based on memory. The present invention manages the dispatching rule algorithm of the RTD system by means of a flowchart, thereby improving the flexibility of maintaining the dispatching rule algorithm. Compared with the process engine based on the database, the present invention is a process engine based on memory, which greatly saves the time of scheduling process nodes and directly improves the efficiency of the operation of the dispatching rules. Ultimately, the efficiency of the entire automated transportation is improved, the production efficiency is improved, and the factory automation is faster.
[0020] At the same time, when the demand changes and the delivery rules need to be updated, the present invention only needs to adjust the combined logic of the flow chart and publish it, and it will take effect immediately without restarting the application. This design can flexibly configure different delivery rules for different devices. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 A schematic diagram of the basic data components;
[0022] Figure 2 is a schematic diagram of data processing components;
[0023] Figure 3 It is a schematic diagram of the logic components;
[0024] Figure 4 Schematic diagram of other components;
[0025] Figure 5 This is a diagram of the interaction relationship between the RTD, EAP, MES, and MCS systems in an embodiment of the present invention;
[0026] Figure 6 This is a logic diagram of the RTD dispatching rule algorithm of an embodiment of the present invention;
[0027] Figure 7 This is a partial example diagram of the algorithm for dispatching rules according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0029] The embodiment of the present invention is mainly used for running and maintaining the dispatch rule algorithm in the RTD system. The memory-based process engine DSP (Dispatch System Process) is used to draw and call the dispatch rule algorithm. The process components can be roughly divided into Figure 1 Several categories are shown.
[0030] Process Components
[0031] 1) Basic data components
[0032] It includes SQL related components and file related components. First, configure some required data sources in the DSP system, such as the connection method of the MES system database. Then use SQL related components to query the information of related equipment, such as the products currently produced by the equipment, the raw materials used, the size of the wafer, etc.
[0033] 2) Data processing components
[0034] like Figure 2 As shown, it includes a series of components such as sorting, aggregation, adding columns, filtering, deduplication, constraints, grouping and sorting. After using the basic data components to obtain some production data of the MES system, these components can be used to process the basic data and finally obtain the required data, such as which lots can be used for delivery and some parameters of these lots, such as Qtime, etc.
[0035] 3) Logical components
[0036] like Figure 3 As shown, it includes conditional branch IF, loop logic, gateway components, etc. The IF component is used to make different logical processing branches for different conditions. The loop component can be used to execute logic in a loop and traverse some collection data. It is often used for data constraint verification and appending data information according to certain conditions.
[0037] 4) Other components
[0038] like Figure 4 As shown in the figure, it includes assignment, export column, superposition data set, link component, etc. Assignment can supplement variable value or change data in the middle, export column can modify the final process execution result data, superposition is used to collect and integrate data in a loop, and link component can use data from previous nodes to reduce the number of direct interactions with the database and improve process efficiency.
[0039] Through the above process components, the dispatch rules of various equipment can be flexibly configured. For example, when the equipment needs to load materials, how to find the optimal batch of wafers to be transported, and when the equipment unloads materials, which shelf the materials need to be transported to or which loading location for the next process needs to be moved to.
[0040] In the process of factory automation, the interaction of EAP, equipment, MES, RTD, MCS and other systems is shown in Figure 5. When a process starts and ends, it will interact with the EAP system, and send a request for loading or unloading to the RTD system through the EAP system. The RTD system will find the dispatching rules supported by the device based on the device information of the request and the information of whether the material needs to be loaded or unloaded, and execute according to this rule, and finally find the best solution for loading materials, such as which batch of wafers should be transported to this device, or where to transport this batch of wafers after the process is completed. Then the RTD system interacts with the MCS system, and sends the transport command to the AGV or MR and other transport equipment through the MCS system to perform the task. The transport equipment replaces manual transport to achieve automation.
[0041] The following are examples:
[0042] When the production equipment sends the loading request to the RTD system through EAP, the RTD system will find the dispatch rule algorithm of this equipment when loading, which is a rule process. For example: when equipment 01 starts to do a batch task, it will send a message to the RTD system. The RTD system passes in "equipment 01" as a parameter based on the mapping relationship between the maintained equipment and the dispatch rules, and finds a dispatch rule Dispatch_Rule_01. Then RTD will use the equipment as a parameter and use the DSP process engine to call the process of this rule. For example, the parameter eqpName = "equipment 01" is passed into the Dispatch_Rule_01 flowchart to execute, and the Lot data and route that can be dispatched are obtained. Figure 6 As shown:
[0043] 1.According to the loading and unloading requests of the equipment, obtain the production data of the MES system: you can use SQL-related components to connect to the MES system database or the instant backup library of the MES database, input the equipment parameters, find the product model produced by this equipment, and obtain the lot information that can be delivered.
[0044] 2. Filter out the optimal lot for delivery according to the rules: Use the filtering component to filter out the timed lots and filter the lots that have been delivered. Then, through the data and logic components, calculate a score for these batches of lots according to a certain logic, such as the Qtime parameter, and then use the sorting logic to place the lots with high scores in front.
[0045] 3. Query the delivery route: Query the delivery route through the SQL component based on the high-scoring Lot. At the same time, the delivery route can also be scored according to distance, partition, etc. to calculate the optimal route.
[0046] Finally, the RTD system uses the result of calling DSP to execute the dispatch rule process, sends the handling instructions to AGV through the MCS system, and AGV completes the automation implementation. At the same time, during the handling process, AVG will interact with the RTD system to report the handling information, such as the start of the handling, whether the handling is completed, etc. RTD can feedback this information and execute the next step logic.
[0047] In summary, in order to make the operation and maintenance of the delivery rules logic in the RTD system more flexible, such as Figure 6 and Figure 7 As shown, the logic of the dispatch rule algorithm is often complex, resulting in a large number of process nodes. Using a conventional database-based process engine will cause performance problems, so the embodiment of the present invention is used to schedule the process node operation based on memory. After testing, the scheduling event of jumping 100 process nodes is compressed within 4 milliseconds, which is greatly improved compared to using a conventional process engine.
[0048] On the other hand, the present invention further discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor executes the steps of the above method.
[0049] On the other hand, the present invention further discloses a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the above method.
[0050] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the process management methods for executing memory-based RTD dispatching rules in the above embodiments.
[0051] It is understandable that the system, device and storage medium provided in the embodiments of the present invention correspond to the method provided in the embodiments of the present invention, and the explanation, examples and beneficial effects of the relevant contents can refer to the corresponding parts in the above methods.
[0052] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.
[0053] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0054] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0055] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A process management method for executing RTD dispatching rules based on memory, characterized in that: The following steps are included: When a process starts and ends, it interacts with the EAP system and sends a request for loading or unloading materials to the RTD system through the EAP system. The RTD system will find the delivery rules supported by the device based on the device information of the request and the information on whether loading or unloading is required, and execute according to the rules to finally find the optimal solution for loading materials.
2. The process management method for executing RTD dispatching rules based on memory according to claim 1 is characterized in that: It also includes when the production equipment sends the loading request to the RTD system through EAP. The RTD system will find the dispatch rule algorithm of this equipment when loading, that is, a regular process. Then the RTD system will use the equipment as a parameter and use the DSP process engine to call this regular process.
3. The process management method for executing RTD dispatching rules based on memory according to claim 1 is characterized in that: It also includes obtaining the production data of the MES system based on the equipment's loading and unloading requests, using SQL-related components, connecting to the MES system database or the MES database's instant backup library, inputting equipment parameters, finding the product model produced by this equipment, and obtaining the Lot information that can be delivered.
4. The process management method for executing RTD dispatching rules based on memory according to claim 3 is characterized in that: Find the delivery rules supported by the device, execute according to these rules, and finally find the best solution for loading materials, including: Use the filtering component to filter out the timed lots and filter the distributed lots. Then, use the data and logic components to calculate a score for these batches of lots according to the set logic. Then, use the sorting logic to place the lots with high scores in front.
5. The process management method for executing RTD dispatching rules based on memory according to claim 4 is characterized in that: It also includes querying the delivery route: querying the delivery route through the SQL component based on the high-scoring Lot, or scoring the delivery route based on distance, partition, etc., and calculating the optimal route.
6. The process management method for executing RTD dispatching rules based on memory according to claim 5 is characterized in that: Finally, the RTD system uses the result of calling DSP to execute the delivery rule process, sends the handling instructions to the AGV through the MCS system, and the AGV completes the implementation of automation. At the same time, during the transportation process, the AVG will interact with the RTD system and report the transportation information. RTD will execute the next step based on this information feedback.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the method according to any one of claims 1 to 6.