Disclosure of Invention
The embodiment of the invention provides a method and a device for determining a scheduling plan, which can improve the accuracy of the scheduling plan of a product.
In a first aspect, an embodiment of the present invention provides a method for determining a scheduling plan, including:
determining at least one to-be-planned procedure corresponding to a to-be-scheduled product;
determining the corresponding loss rate of each procedure to be planned in at least one produced period;
taking each process to be planned as a current process to be planned, and executing S1-S4:
s1: determining the output requirement quantity of the current process to be planned in a preset period to be produced;
s2: determining a target to-be-planned yield corresponding to the current to-be-planned process according to the output requirement amount and the loss rate corresponding to each to-be-planned process;
s3: setting the cargo lifting amount of the current process to be planned in a preset period to be produced;
s4: determining the inventory corresponding to the current process to be planned, and determining the output difference value of the last production period corresponding to the period to be produced;
and determining a scheduling plan corresponding to the product to be scheduled in the period to be scheduled according to the target product to be scheduled corresponding to each process to be scheduled, the cargo lifting amount, the inventory amount and the output difference value.
Preferably, the first and second electrodes are formed of a metal,
each of the produced cycles comprises: a produced process identical to each of the processes to be planned;
the determining the corresponding loss rate of each process to be planned in at least one produced period comprises the following steps:
for each process to be planned, executing:
determining a target produced process identical to the process to be planned from each of the produced cycles;
according to the determined loss rate corresponding to each target produced procedure, calculating the loss rate corresponding to the procedure to be planned by using the following first calculation formula;
the first calculation formula:
wherein A represents the procedure to be plannedCorresponding loss rate, miCharacterization of the corresponding loss rate of the ith target manufactured Process, αiWeight value corresponding to the ith preset target production procedure is represented, and 0<αi<1, n represents the total number of target produced processes corresponding to the process to be planned.
Preferably, the first and second electrodes are formed of a metal,
the S2, including:
determining the production sequence of each procedure to be planned;
determining a target procedure to be planned which is arranged behind the current procedure to be planned in the production sequence;
calculating a target to-be-produced quantity corresponding to the current to-be-planned procedure by using the following second calculation formula according to the determined loss rate corresponding to the target to-be-planned procedure, the loss rate corresponding to the current to-be-planned procedure and the output requirement quantity;
the second calculation formula:
b represents the target to-be-planned yield corresponding to the current to-be-planned process, B represents the output requirement amount corresponding to the current to-be-planned process, and AjRepresenting the loss rate corresponding to the jth target procedure to be planned corresponding to the current procedure to be planned, A0And representing the corresponding loss rate of the current process to be planned.
Preferably, the first and second electrodes are formed of a metal,
the determining the output difference value corresponding to the last produced period corresponding to the period to be produced includes:
determining a planned output value and an actual output value corresponding to a last produced period corresponding to the current process to be planned;
calculating the yield difference value according to the planned yield value and the actual yield value;
preferably, the first and second electrodes are formed of a metal,
the determining a scheduling plan of the product to be scheduled in the period to be produced according to the target product to be scheduled corresponding to each process to be scheduled, the lifting amount, the inventory amount and the output difference value comprises:
calculating the actual yield to be produced corresponding to each procedure to be planned by using the following third calculation formula;
determining the production days corresponding to each procedure to be planned according to the actual yield to be produced and the actual production load corresponding to each procedure to be planned;
the third calculation formula:
C=B+(K-M)+N
the method comprises the steps of representing an actual to-be-produced volume corresponding to a to-be-planned process, representing a target to-be-produced volume corresponding to the to-be-planned process, representing a cargo lifting volume corresponding to the to-be-planned process, representing a inventory volume corresponding to the to-be-planned process, and representing a production difference value corresponding to the to-be-planned process.
Preferably, the first and second electrodes are formed of a metal,
when the production days corresponding to each procedure to be planned are determined,
the determining a scheduling plan of the product to be scheduled in the period to be produced according to the target product to be scheduled corresponding to each process to be scheduled, the lifting amount, the inventory amount and the output difference value comprises:
determining whether a to-be-maintained item exists in the to-be-maintained production cycle according to a maintenance date corresponding to at least one preset maintenance item, and if so, determining a to-be-maintained date corresponding to the to-be-maintained item and a to-be-planned procedure corresponding to the to-be-maintained item;
determining the production date of each procedure to be planned in the cycle to be produced according to the target maintenance date and the production days corresponding to each procedure to be planned; and the production date of the to-be-planned working procedure corresponding to the to-be-maintained item is different from the to-be-maintained date.
In a second aspect, an embodiment of the present invention provides a scheduling plan determining apparatus, including: a process determining unit, a wear rate determining unit, a processing unit and a plan determining unit; wherein,
the process determining unit is used for determining at least one to-be-planned process corresponding to the to-be-scheduled product;
the loss rate determining unit is used for determining the corresponding loss rate of each procedure to be planned in at least one produced period;
the processing unit is used for taking each procedure to be planned as a current procedure to be planned, and executing: determining the output requirement quantity of the current process to be planned in a preset period to be produced; determining a target to-be-produced volume corresponding to the current to-be-planned procedure according to the output requirement volume and the loss rate corresponding to each to-be-planned procedure determined by the loss rate determining unit; setting the cargo lifting amount of the current process to be planned in a preset period to be produced; determining the inventory corresponding to the current process to be planned, and determining the output difference value of the last production period corresponding to the period to be produced;
and the plan determining unit is used for determining a scheduling plan corresponding to the product to be scheduled in the period to be scheduled according to the target product to be scheduled, the cargo lifting amount, the tray stock amount and the output difference value corresponding to each process to be scheduled.
Preferably, the first and second electrodes are formed of a metal,
each of the produced cycles comprises: a produced process identical to each of the processes to be planned;
the loss rate determining unit is configured to, for each of the to-be-planned processes: determining a target produced process identical to the process to be planned from each of the produced cycles; according to the determined loss rate corresponding to each target produced procedure, calculating the loss rate corresponding to the procedure to be planned by using the following first calculation formula;
the first calculation formula:
wherein A represents the corresponding loss rate of the procedure to be planned, miCharacterization of the corresponding loss rate of the ith target manufactured Process, αiWeight value corresponding to the ith preset target production procedure is represented, and 0<αi<1, n represents the total number of target produced processes corresponding to the process to be planned.
Preferably, the first and second electrodes are formed of a metal,
the processing unit is used for determining the production sequence of each procedure to be planned and determining a target procedure to be planned which is arranged behind the current procedure to be planned in the production sequence; calculating a target to-be-produced quantity corresponding to the current to-be-planned procedure by using the following second calculation formula according to the determined loss rate corresponding to the target to-be-planned procedure, the loss rate corresponding to the current to-be-planned procedure and the output requirement quantity;
the second calculation formula:
b represents the target to-be-planned yield corresponding to the current to-be-planned process, B represents the output requirement amount corresponding to the current to-be-planned process, and AjCharacterizing a first corresponding to the current process to be plannedLoss rates corresponding to the j target processes to be planned, A0And representing the corresponding loss rate of the current process to be planned.
Preferably, the first and second electrodes are formed of a metal,
the processing unit is used for determining a planned output value and an actual output value corresponding to a last produced period corresponding to the current process to be planned and calculating the output difference value according to the planned output value and the actual output value;
preferably, the first and second electrodes are formed of a metal,
the plan determining unit is used for calculating the actual to-be-planned yield corresponding to each to-be-planned procedure by using the following third calculation formula; determining the production days corresponding to each procedure to be planned according to the actual yield to be produced and the actual production load corresponding to each procedure to be planned;
the third calculation formula:
C=B+(K-M)+N
the method comprises the steps of representing an actual to-be-produced volume corresponding to a to-be-planned process, representing a target to-be-produced volume corresponding to the to-be-planned process, representing a cargo lifting volume corresponding to the to-be-planned process, representing a inventory volume corresponding to the to-be-planned process, and representing a production difference value corresponding to the to-be-planned process.
Preferably, the first and second electrodes are formed of a metal,
the plan determining unit is used for determining whether a to-be-maintained item exists in the to-be-maintained production cycle according to a preset maintenance date corresponding to at least one maintenance item when the production days corresponding to each to-be-planned procedure are determined, and if yes, determining the to-be-maintained date corresponding to the to-be-maintained item and the to-be-planned procedure corresponding to the to-be-maintained item; determining the production date of each procedure to be planned in the cycle to be produced according to the target maintenance date and the production days corresponding to each procedure to be planned; and the production date of the to-be-planned working procedure corresponding to the to-be-maintained item is different from the to-be-maintained date.
The embodiment of the invention provides a scheduling plan determining method and device. And then determining the corresponding loss rate of each procedure to be planned in the production cycle and the output requirement amount of each procedure to be planned in the preset production cycle, and determining the target production to be planned corresponding to each procedure to be planned according to the determined output requirement amount and the loss rate. And finally, determining a corresponding scheduling plan of the product to be scheduled in the period to be scheduled according to the cargo weighing set by each process to be scheduled, the determined inventory amount and the output difference value of the last production period. Therefore, the scheduling plan is accurate to each production process, and the accuracy of the product scheduling plan is improved.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer and more complete, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention, and based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts belong to the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a method for determining a scheduling plan, which may include the following steps:
step 101: determining at least one to-be-planned procedure corresponding to a to-be-scheduled product;
step 102: determining the corresponding loss rate of each procedure to be planned in at least one produced period;
step 103: selecting one unselected procedure to be planned as a current procedure to be planned;
step 104: determining the output requirement quantity of the current process to be planned in a preset period to be produced;
step 105: determining a target to-be-planned yield corresponding to the current to-be-planned process according to the output requirement amount and the loss rate corresponding to each to-be-planned process;
step 106: setting the cargo lifting amount of the current process to be planned in a preset period to be produced;
step 107: determining the inventory corresponding to the current process to be planned, and determining the output difference value of the last production period corresponding to the period to be produced;
step 108: determining whether at least one to-be-planned procedure which is not selected exists in the at least one to-be-planned procedure, if so, executing step 103, otherwise, executing step 109;
step 109: and determining a scheduling plan corresponding to the product to be scheduled in the period to be scheduled according to the target product to be scheduled corresponding to each process to be scheduled, the cargo lifting amount, the inventory amount and the output difference value.
In the above embodiment, at least one to-be-planned procedure corresponding to the to-be-scheduled product is determined, for example, the to-be-scheduled product is composed of a plurality of parts, and each part has its corresponding to-be-planned procedure. And then determining the corresponding loss rate of each procedure to be planned in the production cycle and the output requirement amount of each procedure to be planned in the preset production cycle, and determining the target production to be planned corresponding to each procedure to be planned according to the determined output requirement amount and the loss rate. And finally, determining a corresponding scheduling plan of the product to be scheduled in the period to be scheduled according to the cargo weighing set by each process to be scheduled, the determined inventory amount and the output difference value of the last production period. Therefore, the scheduling plan is accurate to each production process, and the accuracy of the product scheduling plan is improved.
In one embodiment of the invention, each of said produced cycles comprises: a produced process identical to each of the processes to be planned;
specific embodiments of step 102 may include:
for each process to be planned, executing:
determining a target produced process identical to the process to be planned from each of the produced cycles;
according to the determined loss rate corresponding to each target produced procedure, calculating the loss rate corresponding to the procedure to be planned by using the following calculation formula (1);
wherein A represents the corresponding loss rate of the procedure to be planned, miCharacterization of the corresponding loss rate of the ith target manufactured Process, αiWeight value corresponding to the ith preset target production procedure is represented, and 0<αi<1, n represents the total number of target produced processes corresponding to the process to be planned.
For example, one month is taken as a period, the month corresponding to the period to be produced is 5 months, and the month corresponding to the period already produced is 1 to 4 months. When determining the loss rate of the procedure a0 to be planned, the target produced procedures a1, a2, A3 and a4 which are the same as the procedure a0 to be planned are determined from the produced cycles of 1 month, 2 months, 3 months and 4 months, respectively, then the loss rates of a1, a2, A3 and a4 are determined according to the actual output quantity and the waste quantity of a1, a2, A3 and a4, respectively, and then the average value of the determined loss rates of the produced cycles is taken as the loss rate of the procedure a0 to be produced, so that the determined loss rate of the procedure a to be produced is closer to the actual situation, thereby being more practical when determining the scheduling plan according to the loss rates and being beneficial to improving the accuracy of the scheduling plan.
In an embodiment of the present invention, the step 105 may be implemented by:
determining the production sequence of each procedure to be planned;
determining a target procedure to be planned which is arranged behind the current procedure to be planned in the production sequence;
according to the determined loss rate corresponding to the target process to be planned, the determined loss rate corresponding to the current process to be planned and the determined output requirement, calculating a target output to be planned corresponding to the current process to be planned by using the following calculation formula (2);
b represents the target to-be-planned yield corresponding to the current to-be-planned process, B represents the output requirement amount corresponding to the current to-be-planned process, and AjRepresenting the loss rate corresponding to the jth target procedure to be planned corresponding to the current procedure to be planned, A0And representing the corresponding loss rate of the current process to be planned.
Taking three to-be-planned working procedures A0, B0 and C0 corresponding to the to-be-scheduled products as examples, the corresponding production sequence is A0-B0-C0, wherein the loss rate corresponding to A0 is a0, the loss rate corresponding to B0 is B0, and the loss rate corresponding to C0 is C0. The target planned processes corresponding to A0 are B0 and C0, and the target planned production amount corresponding to A0 is B calculated according to the calculation formula (2)A0/[(1-a0)(1-b0)(1-c0)]Wherein b isA0The yield demand corresponding to a 0. Similarly, the target to-be-produced quantity B corresponding to B0 can be calculatedB0/[(1-b0)(1-c0)]Wherein b isB0The yield demand corresponding to B0. The target to-be-produced amount corresponding to C0 is bC0L (1-c0), wherein bC0The yield demand corresponding to C0. Therefore, when the yield to be produced of each process to be planned is determined, the loss rate of the process to be planned at the current process to be planned and the loss rate of the subsequent process to be planned in the actual production process are considered, so that the determined target yield to be produced value is more consistent with the actual situation, and the accuracy of the scheduling plan is improved.
In an embodiment of the present invention, the specific implementation of step 107 may include:
determining a planned output value and an actual output value corresponding to a last produced period corresponding to the current process to be planned;
and calculating the yield difference value according to the planned yield value and the actual yield value.
The method comprises the steps of obtaining a planned output value and an actual output value of a last production period through an SQL language, then taking a difference value obtained by subtracting the actual output value from the planned output value as an output difference value, wherein the output difference value is a task amount left by the last production period, continuing to finish a current process to be planned, and taking the output difference value as an increment of the process to be planned, so that the actual output to be planned of the process to be planned is more practical.
In an embodiment of the present invention, the specific implementation manner of step 109 may include:
calculating the actual yield to be produced corresponding to each process to be planned by using the following calculation formula (3);
determining the production days corresponding to each procedure to be planned according to the actual yield to be produced and the actual production load corresponding to each procedure to be planned;
C=B+(K-M)+N………………………………….(3)
the method comprises the steps of representing an actual to-be-produced volume corresponding to a to-be-planned process, representing a target to-be-produced volume corresponding to the to-be-planned process, representing a cargo lifting volume corresponding to the to-be-planned process, representing a inventory volume corresponding to the to-be-planned process, and representing a production difference value corresponding to the to-be-planned process.
The set lifting amount of the goods is obtained through SQL, and the product remaining amount of the previous production cycle is obtained as the inventory amount of the disk, wherein the lifting amount of the goods is a target inventory amount preset by an enterprise before production, and the difference between the lifting amount of the goods and the inventory amount of the disk is an increment corresponding to the current process to be planned mainly in order to prevent production delay caused by production halt due to unexpected faults such as power failure. In setting the cargo lifting amount, the rational cargo lifting amount of each process may be set according to the degree of busy production, and generally, the cargo lifting amount is set once per production cycle. The total cargo lifting amount is set precisely at the component level and the process level, for example, each component of the product to be scheduled corresponds to one process to be scheduled, and the total cargo lifting amount corresponding to each process should be set for each process to be scheduled, and the total cargo lifting amount seen in each process is not directly related. The cargo weighing amount can be adjusted according to actual conditions by taking the cargo weighing amount set in the previous production cycle as a default. The set cargo lifting amount is necessarily a value greater than zero, and the corresponding table structure can be shown in table 1.
TABLE 1
ID |
Set period |
Part coding |
Process encoding |
Gross weight value |
Remarks for note |
And then, acquiring a yield difference value of the last production cycle through SQL, and determining an actual yield to be produced corresponding to the process to be planned according to the acquired cargo lifting amount, inventory amount and yield difference value. For example, if the planned output value of the previous planned cycle of the to-be-planned process a0 is 180W, the actual output value of the previous planned cycle is 160W, the load is 10W, and the stock amount is 10W, the actual to-be-planned output amount corresponding to the to-be-planned process 1 is bA0/[(1-a0)(1-b0)(1-c0)]+ (180w-160w) + (10w-10 w). From this, according to the target to-be-produced amount, the cargo lifting amount, the inventory amount and the output difference value corresponding to the to-be-planned process, the actual to-be-produced amount corresponding to the to-be-planned process is determined, so that the actual to-be-produced amount is determined to be more accurate, and the accuracy of the scheduling plan is further improved.
After the actual to-be-planned yield is determined, the production days corresponding to each to-be-planned process can be determined according to the actual production load corresponding to each to-be-planned process, namely the ratio of the actual to-be-planned yield corresponding to the to-be-planned process to the actual production load corresponding to the to-be-planned process is the production days corresponding to the to-be-planned process. When the production days corresponding to each procedure to be planned are determined, SQL batch processing can be performed so as to improve the processing efficiency. Therefore, the production days are determined according to the accurate actual yield to be produced, and the accuracy of the determined scheduling plan is higher.
In addition, the number of production days per planned process may be set in advance, and the number of production days may be set once per month when the production cycle is one month. The production days corresponding to each procedure to be planned comprise a starting date and a stopping date, the corresponding dates set by the starting date and the stopping date of production are specified to a specific certain day in the working calendar, and the days set by the production days are the days of production in the month and are Arabic numerals. After the production days are set, according to the actual to-be-produced quantity corresponding to each to-be-planned procedure, determining the daily production quantity of the to-be-planned procedure, namely the ratio of the actual to-be-produced quantity to the production days is the daily production quantity of the to-be-planned procedure, and then performing corresponding scheduling on the to-be-planned procedure according to the set starting date. The setting structure of the production start date and the production day can be shown in table 2.
TABLE 2
In an embodiment of the present invention, when determining the number of production days corresponding to each of the to-be-planned processes, a specific implementation manner of step 109 may include:
determining whether a to-be-maintained item exists in the to-be-maintained production cycle according to a maintenance date corresponding to at least one preset maintenance item, and if so, determining a to-be-maintained date corresponding to the to-be-maintained item and a to-be-planned procedure corresponding to the to-be-maintained item;
determining the production date of each procedure to be planned in the cycle to be produced according to the target maintenance date and the production days corresponding to each procedure to be planned; and the production date of the to-be-planned working procedure corresponding to the to-be-maintained item is different from the to-be-maintained date.
In the long-term production process, enterprises can organize regular maintenance items such as equipment maintenance and the like so as to ensure that construction equipment can stably run for a long time. If there is a maintenance item in the production date of the planned process, a conflict between the production process and the maintenance item should be avoided. For example, if a facility corresponding to the process a to be scheduled is maintained on date 1 in the maintenance schedule, the process B to be scheduled can be performed on date 1 on the scheduled date instead of on date 1 on the production date of the process a to be scheduled, which is advantageous in ensuring the production schedule.
In addition, the to-be-planned processes without corresponding maintenance items can arrange specific production dates in the to-be-produced period according to the corresponding production days and actual conditions. After the production date corresponding to each procedure to be planned is arranged, the production procedure corresponding to each day and the daily output corresponding to the production procedure on the day can be displayed through the display interface, and circulation is carried out according to the set production days until the circulation days reach the production days.
As shown in fig. 2, an embodiment of the present invention provides a method for determining a scheduling plan, which may include the following steps:
step 201: and determining at least one to-be-planned procedure corresponding to the to-be-scheduled product.
Step 202: for each process to be planned, executing: and determining a target produced procedure which is the same as the procedure to be planned in each produced period, and calculating the loss rate corresponding to the procedure to be planned according to the determined loss rate corresponding to each target produced procedure.
In particular, formulas may be utilizedCalculating the loss rate of each procedure to be planned, wherein A represents the loss rate corresponding to the procedure to be planned, and miCharacterization of the corresponding loss rate of the ith target manufactured Process, αiWeight value corresponding to the ith preset target production procedure is represented, and 0<αi<1, n represents the total number of target produced processes corresponding to the process to be planned.
Step 203: and selecting one unselected procedure to be planned as the current procedure to be planned.
Step 204: and determining the output requirement quantity of the current working procedure to be planned in a preset working period to be produced, and determining the production sequence of each working procedure to be planned.
Step 205: and determining a target process to be planned which is arranged behind the current process to be planned in the production sequence, and calculating a target yield to be planned which corresponds to the current process to be planned according to the determined loss rate which corresponds to the target process to be planned, the loss rate which corresponds to the current process to be planned and the output required quantity.
In particular, it can be represented by a formulaCalculating a target to-be-planned yield, wherein B represents the target to-be-planned yield corresponding to the current to-be-planned process, B represents the output requirement amount corresponding to the current to-be-planned process, and AjRepresenting the loss rate corresponding to the jth target procedure to be planned corresponding to the current procedure to be planned, A0And representing the corresponding loss rate of the current process to be planned.
Step 206: and setting the cargo lifting amount of the current process to be planned in a preset period to be produced, and determining the inventory corresponding to the current process to be planned and the production difference value of the last produced period corresponding to the period to be produced.
Step 207: and determining whether at least one to-be-planned process is not selected, if so, executing step 203, and otherwise, executing step 208.
Step 208: and calculating the actual to-be-produced volume corresponding to each to-be-planned procedure, and determining the production days corresponding to each to-be-planned procedure according to the actual to-be-produced volume and the actual production load corresponding to each to-be-planned procedure.
Specifically, the production days can be calculated according to a formula C ═ B + (K-M) + N, where C represents an actual to-be-produced volume corresponding to the to-be-planned process, B represents a target to-be-produced volume corresponding to the to-be-planned process, K represents a weighed volume corresponding to the to-be-planned process, M represents a inventory volume corresponding to the to-be-planned process, and N represents a production difference value corresponding to the to-be-planned process.
In summary, the scheduling plan determining method provided by the embodiment of the present invention is a method for scheduling monthly scheduling by using cargo lifting and varying the production cycle. By using the method, a relatively accurate scheduling plan of each process can be calculated through cargo lifting, changed production cycle, loss rate, previous month inventory and previous month difference. The method has the characteristics of configurability, easiness in operation, easiness in expansion and the like, has good popularization and application values, and is suitable for single-piece small-batch production enterprises to carry out scheduling plans by changing the production cycle.
As shown in fig. 3 and 4, an embodiment of the present invention provides a scheduling plan determining apparatus. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. From a hardware level, as shown in fig. 3, a hardware structure diagram of a device in which a scheduling plan determining apparatus provided in the embodiment of the present invention is located is shown, where in addition to the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 3, the device in which the apparatus is located in the embodiment may also include other hardware, such as a forwarding chip responsible for processing a packet, in general. Taking a software implementation as an example, as shown in fig. 4, as a logical apparatus, the apparatus is formed by reading a corresponding computer program instruction in a non-volatile memory into a memory by a CPU of a device in which the apparatus is located and running the computer program instruction. The scheduling plan determining apparatus provided in this embodiment includes: a process determination unit 401, a wear rate determination unit 402, a processing unit 403, and a plan determination unit 404; wherein,
the process determining unit 401 is configured to determine at least one to-be-planned process corresponding to a to-be-scheduled product;
the loss rate determining unit 402 is configured to determine a loss rate corresponding to each to-be-planned process in at least one produced cycle;
the processing unit 403 is configured to take each to-be-planned procedure as a current to-be-planned procedure, and execute: determining the output requirement quantity of the current process to be planned in a preset period to be produced; determining a target to-be-produced volume corresponding to the current to-be-planned procedure according to the output requirement volume and the loss rate corresponding to each to-be-planned procedure determined by the loss rate determining unit 402; setting the cargo lifting amount of the current process to be planned in a preset period to be produced; determining the inventory corresponding to the current process to be planned, and determining the output difference value of the last production period corresponding to the period to be produced;
the plan determining unit 404 is configured to determine a scheduling plan of the product to be scheduled in the production cycle according to the target product to be scheduled, the cargo lifting amount, the tray stock amount, and the yield difference value corresponding to each process to be scheduled.
In one embodiment of the invention, each of said produced cycles comprises: a produced process identical to each of the processes to be planned;
the wear rate determining unit 402 is configured to, for each to-be-planned procedure, perform: determining a target produced process identical to the process to be planned from each of the produced cycles; according to the determined loss rate corresponding to each target produced procedure, calculating the loss rate corresponding to the procedure to be planned by using the following calculation formula (1);
wherein A represents the corresponding loss rate of the procedure to be planned, miCharacterization of the corresponding loss rate of the ith target manufactured Process, αiWeight value corresponding to the ith preset target production procedure is represented, and 0<αi<1, n represents the total number of target produced processes corresponding to the process to be planned.
In one embodiment of the present invention, the first and second substrates are,
the processing unit 403 is configured to determine a production order of each to-be-planned process, and determine a target to-be-planned process that is arranged after the current to-be-planned process in the production order; according to the determined loss rate corresponding to the target process to be planned, the determined loss rate corresponding to the current process to be planned and the determined output requirement, calculating a target output to be planned corresponding to the current process to be planned by using the following calculation formula (2);
b represents the target to-be-planned yield corresponding to the current to-be-planned process, B represents the output requirement amount corresponding to the current to-be-planned process, and AjRepresenting the loss rate corresponding to the jth target procedure to be planned corresponding to the current procedure to be planned, A0And representing the corresponding loss rate of the current process to be planned.
In an embodiment of the present invention, the processing unit 403 is configured to determine a planned output value and an actual output value corresponding to a last produced period corresponding to the current to-be-planned process, and calculate the output difference value according to the planned output value and the actual output value.
In an embodiment of the present invention, the plan determining unit 404 is configured to calculate an actual to-be-produced volume corresponding to each to-be-planned process by using the following calculation formula (3); determining the production days corresponding to each procedure to be planned according to the actual yield to be produced and the actual production load corresponding to each procedure to be planned;
C=B+(K-M)+N………………………………….(3)
the method comprises the steps of representing an actual to-be-produced volume corresponding to a to-be-planned process, representing a target to-be-produced volume corresponding to the to-be-planned process, representing a cargo lifting volume corresponding to the to-be-planned process, representing a inventory volume corresponding to the to-be-planned process, and representing a production difference value corresponding to the to-be-planned process.
In an embodiment of the present invention, the plan determining unit 404 is configured to determine, when the number of production days corresponding to each process to be planned is determined, whether a project to be maintained exists in the production cycle to be planned according to a preset maintenance date corresponding to at least one maintenance project, and if yes, determine a date to be maintained corresponding to the project to be maintained and a process to be planned corresponding to the project to be maintained; determining the production date of each procedure to be planned in the cycle to be produced according to the target maintenance date and the production days corresponding to each procedure to be planned; and the production date of the to-be-planned working procedure corresponding to the to-be-maintained item is different from the to-be-maintained date.
Because the information interaction, execution process, and other contents between the units in the device are based on the same concept as the method embodiment of the present invention, specific contents may refer to the description in the method embodiment of the present invention, and are not described herein again.
Embodiments of the present invention provide a readable medium, which includes an execution instruction, and when a processor of a storage controller executes the execution instruction, the storage controller executes a method provided in any one of the above embodiments of the present invention.
An embodiment of the present invention provides a storage controller, including: a processor, a memory, and a bus; the memory is used for storing execution instructions, the processor is connected with the memory through the bus, and when the storage controller runs, the processor executes the execution instructions stored in the memory, so that the storage controller executes the method provided by any one of the above embodiments of the invention.
In summary, the above embodiments of the present invention have at least the following advantages:
1. in the embodiment of the invention, at least one to-be-planned procedure corresponding to the to-be-scheduled product is determined, for example, the to-be-scheduled product is composed of a plurality of parts, and each part has a corresponding to-be-planned procedure. And then determining the corresponding loss rate of each procedure to be planned in the production cycle and the output requirement amount of each procedure to be planned in the preset production cycle, and determining the target production to be planned corresponding to each procedure to be planned according to the determined output requirement amount and the loss rate. And finally, determining a corresponding scheduling plan of the product to be scheduled in the period to be scheduled according to the cargo weighing set by each process to be scheduled, the determined inventory amount and the output difference value of the last production period. Therefore, the scheduling plan is accurate to each production process, and the accuracy of the scheduling plan of the product is improved.
2. In the embodiment of the invention, the loss rate corresponding to each production cycle is determined, then the average value of the determined loss rates of the production cycles is taken as the loss rate of the period to be produced, so that the determined loss rate of the period to be produced is closer to the actual condition, the production scheduling plan is determined according to the loss rate and is more practical, and the accuracy of the production scheduling plan is improved.
3. In the embodiment of the invention, when the yield to be produced of each process to be planned is determined, the loss rate of the current process to be planned and the loss rate of the subsequent process to be planned in the actual production process are considered, so that the determined target yield to be produced value is more consistent with the actual situation, and the accuracy of the scheduling plan is improved.
4. In the embodiment of the invention, the actual yield to be produced corresponding to the process to be planned is determined according to the target yield to be produced, the cargo lifting amount, the inventory amount and the production difference value corresponding to the process to be planned, so that the actual yield to be produced is determined more accurately, and the accuracy of the scheduling plan is further improved.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a" does not exclude the presence of other similar elements in a process, method, article, or apparatus that comprises the element.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it is to be noted that: the above description is only a preferred embodiment of the present invention, and is only used to illustrate the technical solutions of the present invention, and not to limit the protection scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.