Resource collaborative scheduling method considering process shifting

Through the process-backward resource collaborative scheduling algorithm and the use of semi-numeric algorithms to optimize equipment idle time, the problem of equipment idleness and time usage in complex product scheduling is solved, achieving higher equipment utilization and shorter total processing time.

CN117669940BActive Publication Date: 2024-09-13JILIN NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311621547.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2024-09-13
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

In the comprehensive scheduling of complex products, unreasonable process scheduling leads to increased equipment idle time, reducing equipment utilization and extending the total product processing time.

Method used

This paper proposes a resource collaborative scheduling algorithm that considers process shift back. A semi-numeric algorithm is used to construct a process shift method model, which optimizes the use of equipment's idle time, schedules critical paths and closely connects process sub-sequences, and adjusts the scheduling sequence of processes to reduce the total processing. time and improve equipment utilization.

Benefits of technology

It effectively reduces the total processing time of complex products and improves equipment utilization. The experimental results show that the equipment utilization rate is increased by 10% and 11.5%, the total product processing time is reduced by 28.6%, and the scheduling effect is better.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117669940B
    Figure CN117669940B
Patent Text Reader

Abstract

The present invention proposes a resource collaborative scheduling method that considers the postponing of processes. The present invention first calculates the process path value and establishes a critical path sequence for complex products; secondly, each node in the critical path sequence is used as a vertex to establish a closely connected process substring, and the length of the substring path value is calculated, and scheduling is performed in descending order; thirdly, starting from the optimal scheduling moment of the process, whether to insert the process is selected based on whether the idle time on the corresponding equipment is greater than half the processing time of the process itself. In terms of vertical optimization of scheduling effects, the present invention adopts a critical path strategy to improve the strength of closely connecting processes; in terms of horizontal optimization of scheduling effects, the optimal scheduling strategy is adopted to improve the strength of parallel processing of processes. From the perspective of making full use of the idle time of equipment, the present invention adopts a strategy of postponing processes, which not only improves equipment utilization, but also effectively shortens the total processing time of complex products.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of computer integrated manufacturing, and in particular relates to a resource collaborative scheduling method considering process post-shifting. Background Art

[0002] Different from the traditional Flow-shop and Job-shop scheduling problems, comprehensive scheduling is a type of scheduling problem that uses a tree structure to represent products with process constraints and coordinates processing and assembly. Comprehensive scheduling is an activity that allocates limited equipment, personnel and other resources to obtain the best time efficiency and equipment utilization rate. As a scheduling problem that directly affects the production efficiency and social benefits of enterprises, it has always been a hot topic for experts and scholars.

[0003] With the rapid development of information technologies such as artificial intelligence and the Internet of Things, the scheduling modes of various products have also undergone tremendous changes. For example, Wang Fuyu et al. constructed an emergency scheduling model for major emergencies and materials such as people's livelihood, medical care, and logistics based on the improved NSGA-II algorithm; Ba Zhiyong et al. proposed a hybrid evolutionary algorithm with diversity control to solve a type of product scheduling problem with system functional constraints; Li et al. proposed a hybrid scheduling algorithm based on parallel team scheduling, worker capabilities, and transportation time. However, the customization and diversification of product process requirements have made the scheduling problem of products with small quantities but complex processes increasingly prominent. Therefore, a third type of manufacturing scheduling mode for products with complex constrained processes has emerged, namely comprehensive scheduling, which can be summarized as follows: (1) the complex process of the product is represented by a tree structure, (2) the product quantity is single or small batch, and (3) the processing and assembly of the product are coordinated. A series of research results have been achieved.

[0004] For example, the scheduling method of process tree loop decomposition proposes strategies such as subtree decomposition, which improves the manufacturing efficiency of complex products; the method of considering hierarchical scheduling order, based on the hierarchical characteristics of the tree structure, the design and implementation method not only reduces the scheduling time cost of complex products, but also improves the utilization rate of equipment.

[0005] However, in the results of the research from the perspective of vertical optimization, if the scheduling method is based solely on the long path, then the leaf node process on the short path will be delayed on the equipment, and unusable idle time will be generated during the scheduling process. Therefore, the vertical scheduling optimization can be further improved. In the results of the research from the perspective of horizontal optimization, if the scheduling method gives priority to the hierarchical structure of the process tree, then when the path lengths of the subsequent processes with a close constraint relationship are the same, the short-time strategy will fail, and there will be many idle time periods on the equipment corresponding to the subsequent processes, so the horizontal scheduling effect can be further optimized.

[0006] Aiming at the problem that in the current comprehensive scheduling, a large number of unused idle time periods are generated due to the inability to schedule processes more reasonably, which in turn increases the total processing time of product scheduling, a resource collaborative scheduling method considering the postponement of processes is proposed. Summary of the invention

[0007] The present invention aims at the problem that in the current scheduling of multi-variety, small-batch products with tree-type process structures, idle equipment resources are idle due to process constraints, which leads to an increase in the total time of product scheduling and a decrease in equipment utilization. A resource collaborative scheduling algorithm that considers the process shifting is proposed. Specifically, in the production scheduling process of single-piece or small-batch complex tree-type structure products with "simultaneous processing and assembly", the method of the present invention takes the idle time of equipment as the optimization object, constructs a process shifting method model based on a semi-numerical algorithm, and simultaneously achieves the optimization effect of reducing the total processing time of complex products and improving the equipment utilization.

[0008] The present invention is implemented by the following technical solutions. The present invention proposes a resource collaborative scheduling method considering process post-shifting, and the method is specifically as follows:

[0009] Step 1: Calculate the process path value and establish the critical path sequence of complex products;

[0010] Step 2: Use each node in the critical path sequence as a vertex to establish a closely connected process substring;

[0011] Step 3: Calculate the length of each closely connected process substring path and establish a process set in descending order of substring path values;

[0012] Step 4: Arrange closely connected process substrings in descending order according to the path length of the process substrings;

[0013] Step 5: Schedule each node in the critical path sequence;

[0014] Step 6: Schedule each closely connected substring in the process set in descending order of path value. If there are substrings with the same path value, the substring with relatively more nodes will be scheduled first;

[0015] Step 7: Whether there is an optimal scheduling time for the process to be scheduled on the corresponding equipment, if yes, go to Step 8; if no, go to Step 9;

[0016] Step 8: Determine whether the process can be fully scheduled from the optimal scheduling time of the process to be scheduled. If yes, schedule it; if not, go to Step 9;

[0017] Step 9: Determine whether the idle time of the corresponding equipment is greater than the half value of the process processing time. If yes, the completed scheduled process on the corresponding equipment is moved to the optimal scheduling time of the process to be scheduled; if no, schedule them in sequence according to the close constraint relationship between the processes;

[0018] Step 10: Based on the close constraints between processes, adjust the subsequent processes caused by the process being moved back to the optimal scheduling time.

[0019] Furthermore, the process path value: defines the processing time of each process in the complex product process tree as the path value between the immediately preceding and immediately succeeding constrained processes, and the path values ​​of the non-immediately preceding and immediately succeeding processes are superimposed according to the shortest path algorithm.

[0020] Furthermore, the closely connected process substring is a process string having a unique before-and-after constraint relationship.

[0021] Furthermore, the critical path is a closely connected substring with the largest path value in the complex product process tree.

[0022] Furthermore, the optimal scheduling time is the earliest time when the process can start processing on the corresponding equipment under the premise of satisfying the constraints.

[0023] Furthermore, the mathematical model established in the scheduling method is specifically:

[0024] Assume that n is the number of processes, m is the number of processing equipment, different products start processing at different times and there are constraints between workpieces; P = {P i}(1≤i≤n) is the set of all processes, M={M j}(1≤j≤m) is the set of all devices, TP ij is the processing time of the i-th process on the j-th equipment, TE ij is the processing completion time of the i-th process on the j-th equipment, ST ij is the optimal scheduling time for the i-th process on the j-th equipment, EP j is the idle time on the jth device, ED j is the completion time on equipment j, then:

[0025] Objective function:

[0026] min(max(ED j )),(j=1,2,…,m) (1)

[0027] Subject to:

[0028] TE ij -TE (i-1)j≥0,(1≤i≤n,1≤j≤m) (2)

[0029] ST uj -TE vj ≥0,(1≤u≤n,1≤v≤n) (3)

[0030] Formula (1) represents the optimization goal of the scheduling method: minimizing the completion time of complex products; Formula (2) represents the process constraint relationship, that is, no matter whether there is a close-before-close-after constraint relationship between the i-th process and the (i-1)-th process, the start time of the former must not be less than the end time of the latter; Formula (3) represents the equipment processing condition, that is, on the same equipment M j The optimal scheduling time of the u-th process cannot affect the v-th process being processed on the equipment.

[0031] Furthermore, in the scheduling method, the judgment condition of whether the design process is postponed adopts the general probability method of continuous distribution. The probability problem is represented by the distribution function f(x). If f(x) is continuous and unequal, then when f(x) takes all probability values ​​between 0 and 1, its probability k is expressed as formula (4):

[0032]

[0033] Furthermore, without considering other factors, no matter whether the value range of n is large or small, it will be "halved" in the local non-random judgment; because for f(x), there must be an inverse function f -1 (y), such that y = f(x) if and only if x = f -1 (y), k is average;

[0034] Based on this, the judgment condition for the process shifting back in the scheduling method is set as formula (5):

[0035]

[0036] The present invention proposes an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the resource collaborative scheduling method considering process postponing when executing the computer program.

[0037] The present invention also proposes a computer-readable storage medium for storing computer instructions, which, when executed by a processor, implement the steps of the resource collaborative scheduling method considering process postponing.

[0038] The beneficial effects of the present invention are:

[0039] Specifically, the method of the present invention is to optimize the idle time of equipment in the production scheduling process of single-piece or small-batch tree-structured complex products in which "processing and assembly are carried out simultaneously", and to construct a process post-shifting method model based on a semi-numerical algorithm, thereby simultaneously achieving the optimization effect of reducing the total processing time of complex products and improving the utilization rate of equipment. The semi-numerical algorithm theory provides new ideas for the better solution of some NP problems, especially the continuous distribution probability method. The main advantages of the semi-numerical algorithm are: (1) Fast speed: In the fitting process, the semi-numerical algorithm not only requires the satisfaction of convex constraints, but also requires the fitting model to be as close to the problem as possible, which accelerates the convergence speed. (2) Strong feasibility: The semi-numerical algorithm does not require complex initial parameter calculations, but only needs to start from an initial state to start the fitting process and then solve the optimal solution. (3) Jump out of local optimum: The semi-numerical algorithm is a global optimization method that can effectively prevent falling into local optimum, thereby obtaining the global optimum. (4) Strong stability: External stability is a basic requirement of the semi-numerical algorithm, so an important advantage of the semi-numerical algorithm is that the optimization result is relatively stable.

[0040] Experimental comparative analysis shows that the present invention improves equipment utilization by 10% and 11.5% respectively, reduces total product processing time by 28.6%, and achieves better scheduling effect compared with the method that considers hierarchical scheduling order and the scheduling method based on process tree cycle decomposition in resource coordinated comprehensive scheduling of complex products. Therefore, the present invention provides a new method for solving the problem of comprehensive scheduling of complex products, expands the ideas for solving the problem, and has certain theoretical and practical significance. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a flow chart of the resource collaborative scheduling method considering process shifting according to the present invention;

[0042] Figure 2 This is a schematic diagram of the processing tree for complex product P;

[0043] Figure 3 To closely connect the process sub-string diagram;

[0044] Figure 4 Gantt chart for scheduling critical path;

[0045] Figure 5 To schedule the process substring {P10}, move the process P 3 Gantt chart;

[0046] Figure 6 To schedule the process substring {P7, P6}, {P9}, move the process P 7 Gantt chart;

[0047] Figure 7The Gantt chart of complex product P is scheduled for 280 working hours for the method of the present invention;

[0048] Figure 8 Scheduling complex product P Gantt chart 360 hours for CHSO method;

[0049] Fig. 9 Scheduling complex product P Gantt chart 360 hours for BSCDPT method;

[0050] Fig.10 Comparative analysis chart of 100 random instances scheduled for the three methods;

[0051] Fig.11 A schematic diagram of the best solution ratios of the three methods corresponding to 40 product process trees; DETAILED DESCRIPTION

[0052] The technical solutions in the embodiments of the present invention will be described clearly and completely 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. 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.

[0053] Combination Figure 1-Figure 11 The present invention proposes a resource collaborative scheduling method considering process post-shifting, and the method is specifically as follows:

[0054] Step 1: Calculate the process path value and establish the critical path sequence of complex products;

[0055] Step 2: Use each node in the critical path sequence as a vertex to establish a closely connected process substring;

[0056] Step 3: Calculate the length of each closely connected process substring path and establish a process set in descending order of substring path values;

[0057] Step 4: Arrange closely connected process substrings in descending order according to the path length of the process substrings;

[0058] Step 5: Schedule each node in the critical path sequence;

[0059] Step 6: Schedule each closely connected substring in the process set in descending order of path value. If there are substrings with the same path value, the substring with relatively more nodes will be scheduled first;

[0060] Step 7: Whether there is an optimal scheduling time for the process to be scheduled on the corresponding equipment, if yes, go to Step 8; if no, go to Step 9;

[0061] Step 8: Determine whether the process can be fully scheduled from the optimal scheduling time of the process to be scheduled. If yes, schedule it; if not, go to Step 9;

[0062] Step 9: Determine whether the idle time of the corresponding equipment is greater than the half value of the process processing time. If yes, the completed scheduled process on the corresponding equipment is moved to the optimal scheduling time of the process to be scheduled; if no, schedule them in sequence according to the close constraint relationship between the processes;

[0063] Step 10: Based on the close constraints between processes, adjust the subsequent processes caused by the process being moved back to the optimal scheduling time.

[0064] Related definitions:

[0065] The process path value: defines the processing time of each process in the complex product process tree as the path value between the immediately preceding and immediately succeeding constrained processes, and the path values ​​of the non-immediately preceding and immediately succeeding processes are superimposed according to the shortest path algorithm.

[0066] The closely connected process substring is a process string having a unique before-after constraint relationship.

[0067] The critical path: a closely connected substring with the largest path value in a complex product process tree.

[0068] The optimal scheduling time is the earliest time when the process can start processing on the corresponding equipment under the premise of satisfying the constraints.

[0069] Problem Analysis and Mathematical Modeling

[0070] The general comprehensive scheduling requirements are as follows:

[0071] (1) Processing work and assembly work, handled in conjunction, are collectively referred to as “processing”;

[0072] (2) A process has three basic characteristics: it has only one identification number, a matching equipment number, and a fixed processing time for the process on the corresponding equipment;

[0073] (3) At a certain scheduling moment, the process and equipment have a unique correspondence;

[0074] (4) The dispatch system does not have the same equipment;

[0075] (5) Represent the product's constraint process in a tree format;

[0076] (6) The arrows indicate the order of the process constraints. That is, the arrow points to the subsequent process, which can only be started after the scheduling of the preceding process is completed.

[0077] The mathematical model established in the scheduling method is specifically:

[0078] Assume that n is the number of processes, m is the number of processing equipment, different products start processing at different times and there are constraints between workpieces; P = {P i}(1≤i≤n) is the set of all processes, M={M j}(1≤j≤m) is the set of all devices, TP ij is the processing time of the i-th process on the j-th equipment, TE ij is the processing completion time of the i-th process on the j-th equipment, ST ij is the optimal scheduling time for the i-th process on the j-th equipment, EP j is the idle time on the jth device, EF j is the completion time on equipment j, then:

[0079] Objective function:

[0080] min(max(ED j )),(j=1,2,…,m) (1)

[0081] Subject to:

[0082] TE ij -TE (i-1)j ≥0,(1≤i≤n,1≤j≤m) (2)

[0083] ST uj -TE vj ≥0,(1≤u≤n,1≤v≤n) (3)

[0084] Formula (1) represents the optimization goal of the scheduling method: minimizing the completion time of complex products; Formula (2) represents the process constraint relationship, that is, no matter whether there is a close-before-close-after constraint relationship between the i-th process and the (i-1)-th process, the start time of the former must not be less than the end time of the latter; Formula (3) represents the equipment processing condition, that is, on the same equipment M j The optimal scheduling time of the u-th process cannot affect the v-th process being processed on the equipment.

[0085] In the scheduling method, the judgment condition of whether the design process is postponed adopts the general probability method of continuous distribution. The probability problem is represented by the distribution function f(x). If f(x) is continuous and unequal, then when f(x) takes all probability values ​​between 0 and 1, its probability k is expressed as formula (4):

[0086]

[0087] Without considering other factors, no matter whether the value range of n is large or small, it will be "halved" in the local non-random judgment; because for f(x), there must be an inverse function f -1 (y), such that y = f(x) if and only if x = f -1 (y), k is average;

[0088] Based on this, the judgment condition for the process shifting back in the scheduling method is set as formula (5):

[0089]

[0090] Method Implementation

[0091]

[0092] Below, Figure 2 The processing tree of the complex product P shown is used as an example for scheduling demonstration.

[0093] The specific scheduling process is as follows:

[0094] Step 1: Determine the critical path {P5, P4, P3, P2, P1};

[0095] Step 2: Figure 3 As shown, the process nodes P5, P4, P3, P2, and P1 in the critical path sequence are taken as vertices to establish closely connected process substrings, namely; {P8}, {P9}, {P7, P6}, and {P10}.

[0096] Step 3: Calculate the path values ​​of closely connected process substrings {P8}, {P9}, {P7, P6}, {P10}, respectively. Create a set of processes in descending order of substring path values: {{P10},{P7,P6},{P9},{P8}}.

[0097] Step 4: Schedule each node in the critical path sequence, such as Figure 4 shown.

[0098] Step5: Schedule the substring path value process set in sequence: {{P10},{P7,P6},{P9},{P8}}.

[0099] First, schedule {P10}: (1) no previous process constraints, (2) on equipment M 4 The optimal scheduling time is t = 0, (3) equipment M 4 The idle time from t = 0 is 110 working hours, which is greater than (1 / 2) So device M 4 Upper P 3Move back to t = 180, that is, P 3 The best scheduling time, (4) at t = 0 to schedule P 10 ,like Figure 5 shown.

[0100] Secondly, schedule {P7,P6}: process P 7 On device M 1 The scheduling starts at time t = 0; process P 6 Equipment M 3 The scheduling starts at time t=50.

[0101] Again, scheduling {P9}: P 9 Scheduling starts at time t=0, P 4 Move back to the time t=90 for scheduling.

[0102] Finally, schedule {P8}: On device M 1 At t=70 on the system, process P is scheduled. 8 .

[0103] Step 6: Adjust the equipment M in sequence according to the constraints of the process before and after. 3 Process P 2 At t = 240, the scheduling starts, and the device M 1 Process P 1 The scheduling starts at t=270, so the order of scheduling the processes of the complex product P by the method of the present invention is {P5, P4, P3, P2, P1, P7, P6, P10, P9, P8}, and the total processing time is 280 working hours. Figure 7 shown.

[0104] Comparative analysis of three scheduling methods

[0105] To further illustrate the superiority of the present invention, the method of the present invention is now compared with the latest research results in the same research field. The experimental results show that the present invention achieves a better effect of general comprehensive scheduling.

[0106] Comparative Method 1: Method Considering Hierarchical Scheduling Order (CHSO)

[0107] The method considering the hierarchical scheduling order adopts the scheduling strategy of "layer priority, leaf node priority and short time priority". This method schedules the processes of complex product P in the order of {P8, P5, P4, P7, P3, P9, P10, P2, P6, P1}, and the total processing time is 360 working hours. Figure 8 shown.

[0108] Comparison method 2: Process tree cycle decomposition (BSCDPT) method

[0109] The method of process tree cyclic decomposition first cyclically decomposes the complex product process tree with "subtree" as the unit until the subtree is a leaf node or a serial subtree with a constraint degree of 1; then the close constraint relationship between processes is guaranteed based on the review strategy and adjustment strategy. This method schedules the order of each process of the complex product P as {P5, P8, P4, P7, P3, P10, P9, P6, P2, P1}, and the total processing time is 360 working hours. Fig. 9 shown.

[0110] The total processing time of the complex product P scheduled by the method of the present invention (CPBS) is 280 working hours, which is less than that of the other two methods. The comparative analysis of the scheduling results of the three methods is shown in Table 1, and the equipment utilization rate is shown in Table 2. The equipment utilization rate of the method of the present invention is increased by 10% and 11.5% respectively compared with the other two methods, so the equipment utilization rate of the present invention is also higher.

[0111] Table 1 Comparative analysis of scheduling results of three methods

[0112]

[0113] Table 2 Equipment utilization of three methods

[0114]

[0115] Comparative analysis of three methods

[0116] In order to verify the superiority of the scheduling effect of the method of the present invention, 100 instances of 4 types of data [20, 50, 100, 200] were randomly selected on 5 devices in the same computer experimental environment, and 25 processes were selected for each group of data for experiment. Since the number of devices is 5, the average number of processing processes for each device is [4, 10, 20, 40], arranged in ascending order. The scheduling effects of the three methods of CHSO method, BSCDPT method and CPBS method of the present invention are shown in Figure 2. Fig.10 The results show that the CPBS method has better scheduling effect at each operation scale compared with the other two methods.

[0117] In order to verify the adaptability of the CPBS method of the present invention to different tree-type process products, 4 groups of 40 product process trees with different scales and process constraint structures were randomly generated under the same computer experimental environment. The number of processes in the 4 groups of data is [20, 50, 100, 200], and each group has 10 different instances, such as Fig.11 The experimental results show that the ratio of the optimal solution of the method of the present invention is significantly higher than that of the other two methods, and the stability is also the best, that is, the solution obtained by the method of the present invention is closer to the optimal solution.

[0118] The reason why the method of the present invention has achieved better results in the same research field is mainly because:

[0119] (1) In terms of vertical optimization, the present invention first schedules the critical path, thereby improving the close connection of working procedures; in terms of horizontal optimization, the present invention adopts the best scheduling strategy, thereby improving the parallel processing of working procedures.

[0120] (2) From the perspective of making full use of the idle time of the equipment, the present invention adopts the strategy of postponing the process, which not only improves the utilization rate of the equipment, but also effectively shortens the total processing time of complex products. 4 The utilization rate is 100%, and the process p 10 and p 3 Compared with the equipment M considering the hierarchical scheduling order method and the process tree cycle decomposition method, 4 The utilization rate increased by 31.4%.

[0121] (3) The basis for the present invention to shift back and insert a process is that the idle time of the corresponding equipment is longer than the half value of the process processing time. This half value judgment basis comes from the advantage of the general method of continuous distribution in the semi-numerical algorithm. This method has been proven to be the optimal solution for the probability of uniformly distributed real numbers between 0 and 1. For example, in the method of the present invention, in the equipment M 2 Insert process p from time t = 0 9 , process p 4 Moving back to the time t = 90, the scheduling can satisfy the process p 5 and p 4 The constraint relationship does not affect the process p 4 The next process p 3 、p 2 and p 1 , and did not lead to 4 The process p is moved back again 3 、p 2 and p 1 , thereby shortening the total processing time of complex products.

[0122] This invention aims at the production scheduling problem of tree-shaped complex products with process constraints. From the perspective of optimizing the idle time of processing equipment, the method of postponing the process is proposed, which increases the support for the innovation of scheduling technology for complex products with process constraints. The present invention has shown through experiments that it has achieved the current better scheduling effect in the field of general comprehensive scheduling research of complex products, and provides a new method for subsequent research in related fields such as complex multi-product comprehensive scheduling, flexible comprehensive scheduling and distributed comprehensive scheduling; it also provides research ideas for carrying out process digitalization and intelligentization actions and further breaking through the bottleneck of intelligent manufacturing processes.

[0123] The present invention proposes an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the resource collaborative scheduling method considering process postponing when executing the computer program.

[0124] The present invention also proposes a computer-readable storage medium for storing computer instructions, which, when executed by a processor, implement the steps of the resource collaborative scheduling method considering process postponing.

[0125] The memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus RAM (DRRAM). It should be noted that the memory of the method described in the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

[0126] 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 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 (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 (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disc (SSD)).

[0127] In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in a processor or an instruction in the form of software. The steps of the method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware processor for execution, or a combination of hardware and software modules in a processor for execution. The software module can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in conjunction with its hardware. To avoid repetition, it is not described in detail here.

[0128] It should be noted that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or the hardware and software modules in the decoding processor can be combined and performed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

[0129] The resource collaborative scheduling method considering the post-shifting of the process proposed in the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A resource collaborative scheduling method considering process shifting, characterized in that: The method is specifically as follows: Step 1: Calculate the process path value and establish the critical path sequence of complex products; Step 2: Use each node in the critical path sequence as a vertex to establish a closely connected process substring; Step 3: Calculate the length of each closely connected process substring path and establish a process set in descending order of substring path values; Step 4: Arrange closely connected process substrings in descending order according to the path length of the process substrings; Step 5: Schedule each node in the critical path sequence; Step 6: Schedule each closely connected substring in the process set in descending order of path value. If there are substrings with the same path value, the substring with relatively more nodes will be scheduled first; Step 7: Whether there is an optimal scheduling time for the process to be scheduled on the corresponding equipment, if yes, go to Step 8; if no, go to Step 9; Step 8: Determine whether the process can be fully scheduled from the optimal scheduling time of the process to be scheduled. If yes, schedule it; if not, go to Step 9; Step 9: Determine whether the idle time of the corresponding equipment is greater than the half value of the process processing time. If yes, the completed scheduled process on the corresponding equipment is moved to the optimal scheduling time of the process to be scheduled; if no, schedule them in sequence according to the close constraint relationship between the processes; Step 10: According to the close constraint relationship between processes, the subsequent processes caused by the process being shifted back are adjusted to the optimal scheduling time in sequence; The process path value: the processing time of each process in the process tree of a complex product is defined as the path value between the processes with the most preceding and most following constraints, and the path values ​​of the processes with the most preceding and most following constraints are superimposed according to the shortest path algorithm; The closely connected process substring: a process string having a unique before-after constraint relationship; The critical path: a closely connected substring with the largest path value in a complex product process tree; The optimal scheduling time is the earliest time when the process can start processing on the corresponding equipment under the premise of satisfying the constraints; The mathematical model established in the scheduling method is specifically: Assume that n is the number of processes, m is the number of processing equipment, different products start processing at different times and there are constraints between workpieces; P = {P i }(1≤i≤n) is the set of all processes, M={M j }(1≤j≤m) is the set of all devices, TP ij is the processing time of the i-th process on the j-th equipment, TF ij is the processing completion time of the i-th process on the j-th equipment, ST ij is the optimal scheduling time for the i-th process on the j-th equipment, EP j is the idle time on the jth device, ED j is the completion time on equipment j, then: Objective function: min(max(ED j )),(j=1,2,…,m) (1) Subject to: yourself ij yourself (i-1)j ≥0,(1≤i≤n、1≤j≤m) (2) ST uj yourself vj ≥0,(1≤u≤n、1≤v≤n) (3) Formula (1) represents the optimization goal of the scheduling method: minimizing the completion time of complex products; Formula (2) represents the process constraint relationship, that is, no matter whether there is a close-before-close-after constraint relationship between the i-th process and the (i-1)-th process, the start time of the former must not be less than the end time of the latter; Formula (3) represents the equipment processing condition, that is, on the same equipment M j The optimal scheduling time of the u-th process cannot affect the v-th process being processed on the equipment.

2. The method according to claim 1, characterized in that In the scheduling method, the judgment condition of whether the design process is postponed adopts the general probability method of continuous distribution. The probability problem is represented by the distribution function f(x). If f(x) is continuous and unequal, then when f(x) takes all probability values ​​between 0 and 1, its probability k is expressed as formula (4): Without considering other factors, no matter whether the value range of n is large or small, it will be "halved" in the local non-random judgment; because for f(x), there must be an inverse function f -1 (y), such that y = f(x) if and only if x = f -1 (y), k is average.

3. The method according to claim 1, characterized in that The judgment condition for the process shifting back in the scheduling method is set as formula (5):

4. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.

5. A computer-readable storage medium for storing computer instructions, characterized in that: When the computer instructions are executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.