Scheduling method, device, equipment, medium and product
By identifying and adjusting the raw material supply status and support level of production tasks, and optimizing production scheduling, the problem of raw material supply imbalance in the traditional production scheduling model has been solved, achieving more efficient production and order fulfillment.
Patent Information
- Application Number
- CN202511744807.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-25
- Publication Date
- 2026-02-24
AI Technical Summary
Traditional production scheduling models suffer from problems such as production interruptions, rising costs, and declining order fulfillment rates due to imbalances in raw material supply.
By acquiring the current production schedule, the raw material supply status data and support level of each production task are determined. The production schedule is then adjusted to match the support level threshold, optimizing the raw material supply capacity of the production tasks. This includes identifying low-support and high-support tasks and making adjustments accordingly.
Reduce downtime caused by raw material shortages, improve on-time order fulfillment and equipment utilization, and optimize the rationality of production scheduling.
Smart Images

Figure CN121563111A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of production technology, and in particular to a production scheduling method, apparatus, equipment, medium, and product. Background Technology
[0002] In modern manufacturing production management, intelligent scheduling centers are the core hubs that ensure efficient production operations. Production plans are basically scheduled by intelligent scheduling centers according to time sequence. However, in actual production, "production is scheduled ahead but raw materials are in short supply" is the most common production bottleneck. The disconnect between raw material supply and production sequence not only wastes equipment capacity but also causes a chain reaction of order delays.
[0003] It is evident that traditional production scheduling models often suffer from problems such as raw material supply imbalances, leading to production interruptions, rising costs, and decreased order fulfillment rates. Therefore, it is necessary to provide a production scheduling adjustment scheme based on traditional models to mitigate the various problems caused by raw material supply imbalances. Summary of the Invention
[0004] Therefore, it is necessary to provide a production scheduling method, apparatus, equipment, medium, and product to address the aforementioned technical problems.
[0005] Firstly, this application provides a production scheduling method, including:
[0006] Obtain the current production schedule;
[0007] For each production task in the current production schedule, determine the raw material supply status data of the production task based on the raw material information of the production task.
[0008] Based on the raw material supply status data of the production task, determine the raw material support level of the production task;
[0009] Based on the raw material support level of each production task in the current production schedule, determine the current matching degree corresponding to the current production schedule;
[0010] If the current matching degree is less than the matching degree threshold, the current production schedule is adjusted according to the differences in raw material support for each production task in the current production schedule, resulting in an adjusted production schedule.
[0011] In one embodiment, determining the raw material supply status data of a production task based on the raw material information of the production task includes: determining the raw material delay rate of the production task based on the number of times the raw materials are delayed and the total number of raw material purchases; and determining the raw material supply status data of the production task based on the raw material inventory, total raw material demand, and raw material delay rate.
[0012] In one embodiment, determining the raw material support level of a production task based on the raw material supply status data includes: obtaining the planned production volume and raw material unit consumption of the production task; wherein, the raw material unit consumption represents the amount of raw materials required to produce a unit quantity of product under the current production process; and determining the raw material support level of the production task based on the raw material supply status data, raw material inventory, planned production volume, and raw material unit consumption of the production task.
[0013] In one embodiment, the current matching degree of the current production schedule is determined based on the raw material support of each production task in the current production schedule, including: determining the support weight of each production task based on its urgency and profit contribution; and determining the current matching degree of the current production schedule based on the raw material support and corresponding support weight of each production task.
[0014] In one embodiment, the current production schedule is adjusted based on the differences in raw material support levels among the production tasks in the current production schedule to obtain an adjusted production schedule. This includes: selecting production tasks with raw material support levels below a first support level threshold from the current production schedule as first production tasks; and selecting production tasks with raw material support levels above a second support level threshold from the current production schedule as second production tasks; where the first support level threshold is less than the second support level threshold; for each pair of tasks to be swapped formed by the first and second production tasks, determining the swapping benefit of the task pair based on the differences in raw material support levels between the two production tasks in the task pair and the time cost after swapping; selecting the task pair with the largest swapping benefit from each pair of task pairs with swapping benefits greater than 0 as the target swapping task pair; adjusting the current production schedule based on the target swapping task pair to obtain an adjusted production schedule, and determining the adjusted matching degree corresponding to the adjusted production schedule; and using the adjusted production schedule as the target production schedule if the adjusted matching degree is greater than the matching degree threshold.
[0015] In one embodiment, the method further includes: for each production task, determining the target production rate range based on the latest completion time of the production task, the adjusted start time, the raw material storage capacity, and the raw material inventory; and when the actual production rate of the production task exceeds the corresponding target production rate range, making coordinated adjustments to subsequent production tasks in the target production schedule.
[0016] Secondly, this application also provides a production scheduling device, comprising:
[0017] The first acquisition module is used to acquire the current production schedule;
[0018] The first determination module is used to determine the raw material supply status data of each production task in the current production schedule based on the raw material information of the production task.
[0019] The second determining module is used to determine the raw material support level of the production task based on the raw material supply status data of the production task.
[0020] The third determination module is used to determine the current matching degree of the current production schedule based on the raw material support of each production task in the current production schedule.
[0021] The plan adjustment module is used to adjust the current production schedule based on the differences in raw material support for each production task in the current production schedule when the current matching degree is less than the matching degree threshold, so as to obtain the adjusted production schedule.
[0022] Thirdly, this application also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method provided in the first aspect.
[0023] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect.
[0024] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the method provided in the first aspect.
[0025] The aforementioned production scheduling methods, devices, equipment, media, and products, for each production task, determine the raw material supply status data of the production task based on the raw material information, thereby obtaining the supply status of the raw materials required for that production task; based on the raw material supply status data of the production task, determine the raw material support level of the production task, thereby knowing the supporting capacity of the raw materials required for that production task; based on the raw material support level of each production task, determine the current matching degree corresponding to the current production schedule, thereby knowing the degree of matching between the current production schedule and the raw material supply capacity of each production task; if the current matching degree is less than the matching degree threshold, it indicates that the current production schedule is unreasonable, and therefore the current production schedule is adjusted to obtain an adjusted production schedule with enhanced rationality, improving the matching degree between the production schedule and the raw material supply capacity of each production task, thereby reducing downtime caused by raw material shortages, improving order fulfillment on-time rate, improving equipment effective utilization rate, and thus reducing various problems caused by raw material supply imbalance. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 This is a flowchart illustrating a production scheduling method in one embodiment;
[0028] Figure 2 This is a flowchart illustrating the steps for determining raw material supply status data in one embodiment;
[0029] Figure 3 This is a flowchart illustrating the steps for determining the material support in one embodiment;
[0030] Figure 4 This is a flowchart illustrating the current matching degree determination step in one embodiment;
[0031] Figure 5 This is a flowchart illustrating the production schedule adjustment steps in one embodiment;
[0032] Figure 6 This is a flowchart illustrating the processing steps in the planned execution of one embodiment;
[0033] Figure 7 This is a structural block diagram of the production scheduling device in one embodiment;
[0034] Figure 8 This is a structural block diagram of a computer device in one embodiment. Detailed Implementation
[0035] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0036] In one exemplary embodiment, a production scheduling method is provided, see [link to example]. Figure 1 The method includes:
[0037] S110, retrieve the current production schedule.
[0038] The current production schedule includes multiple production tasks, as well as the planned start time, planned production volume, and product model for each task. It is an arrangement of multiple production tasks.
[0039] For example, the current production schedule is as follows:
[0040]
[0041] In the formula, there are n production tasks in the current production schedule, and the t-th production task is... Including product model and planned production volume and planned start date .
[0042] S120 determines the raw material supply status data for each production task in the current production schedule based on the raw material information of the production task.
[0043] It is understandable that different production tasks yield different products, and different products require different raw materials.
[0044] The raw material information includes at least one of the following: raw material delay rate, raw material inventory, and total raw material demand.
[0045] Among them, raw material supply status data can be understood as data describing whether the raw material supply status is stable.
[0046] S130, based on the raw material supply status data of the production task, determine the raw material support level of the production task.
[0047] Among them, raw material support can be understood as the ability of raw materials to support production tasks, as determined by raw material supply status data.
[0048] S140, determine the current matching degree corresponding to the current production schedule based on the raw material support level of each production task in the current production schedule.
[0049] The current matching degree reflects the degree of matching between the current production schedule and the raw material supply capacity of each production task. The higher the current matching degree, the more appropriate the current production schedule is.
[0050] S150, if the current matching degree is less than the matching degree threshold, adjust the current production schedule according to the difference in raw material support of each production task in the current production schedule to obtain the adjusted production schedule.
[0051] Understandably, if the current matching degree is less than the matching degree threshold, it means that the matching degree between the current production schedule and the raw material supply capacity of each production task is low, and the current production schedule is unreasonable. Therefore, it needs to be adjusted. The adjusted production schedule can enhance the matching degree between the current production schedule and the raw material supply capacity of each production task, that is, the rationality of the adjusted production schedule is enhanced.
[0052] The above production scheduling method, for each production task, determines the raw material supply status data of the production task based on the raw material information, thereby obtaining the supply status of the raw materials required for that production task; based on the raw material supply status data of the production task, it determines the raw material support level of the production task, thereby knowing the supporting capacity of the raw materials required for that production task; based on the raw material support level of each production task, it determines the current matching degree corresponding to the current production schedule, thereby knowing the degree of matching between the current production schedule and the raw material supply capacity of each production task; if the current matching degree is less than the matching degree threshold, it indicates that the current production schedule is unreasonable, so the current production schedule is adjusted to obtain an adjusted production schedule with enhanced rationality, improving the matching degree between the production schedule and the raw material supply capacity of each production task, thereby reducing downtime caused by raw material shortages, improving order fulfillment on-time rate, improving equipment effective utilization rate, and thus reducing various problems caused by raw material supply imbalance.
[0053] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided. In this optional embodiment, the step of determining the raw material supply status data in S120 is refined.
[0054] See Figure 2 The steps for determining raw material supply status data include:
[0055] S210, determine the raw material delay rate of the production task based on the number of times the raw materials are delayed and the total number of raw material purchases.
[0056] Understandably, for a production task, at least one raw material is required, and for each raw material, the material delay rate needs to be calculated in order to calculate the raw material supply status data for each raw material.
[0057] Among them, the number of times raw materials are delayed can be understood as the number of times that raw material suppliers have failed to deliver raw materials within the agreed time after the raw materials have been purchased.
[0058] The total number of raw material purchases can be understood as the total number of times raw materials are purchased.
[0059] The material delay rate for each raw material required for a production task can be the ratio between the number of times the raw material is delayed and the total number of times the raw material is purchased.
[0060] S220 determines the raw material supply status data for the production task based on the raw material inventory, total raw material demand, and raw material delay rate.
[0061] Among them, the raw material delay rate, raw material inventory, and total raw material demand all refer to the same type of raw material.
[0062] The raw material supply status data can be determined using the following formula:
[0063]
[0064] In the formula, This refers to the raw material supply status data corresponding to raw material i required for the production task. The actual inventory of raw material i required for the production task, i.e., the above-mentioned raw material inventory quantity; The total amount of raw material i required for the production task, i.e., the total demand for the aforementioned raw materials; The raw material delay rate for raw material i required for the production task; and For weights.
[0065] The raw material supply status data obtained by the above calculation formula has a value range of [0,1], and the higher the value, the more stable the supply.
[0066] For example, an automotive parts manufacturer mainly produces engine bearings (conventional product A), transmission gears (high-profit product B), and sensors for new energy vehicles (urgent product C). During production, product A requires bearing steel (raw material X), product B requires high-strength gear steel (raw material Y), and product C requires special chips (raw material Z). The unit consumption of raw material X for producing one unit of product A is 0.5 kg, i.e. The unit consumption of raw material Y required to produce one unit of product B is 2 kg, that is... The unit quantity of raw material Z required to produce one unit of product C is 1 unit, i.e. .
[0067] Raw Material X: Raw material inventory =500kg, total raw material requirement =400kg, delayed delivery rate ,but =0.7×(500 / 400)+0.3×(1-0.05)=1.16, indicating that the supply of raw material X is stable.
[0068] Raw material Y: Raw material inventory =800kg, total raw material requirement =1000kg, delay rate ,but =0.7×(800 / 1000)+0.3×(1-0.1)=0.56+0.27=0.83, indicating that the supply of raw material Y is basically stable.
[0069] Raw Material Z: Inventory =30, demand =80, latency ,but =0.7×(30 / 80)+0.3×(1-0.4)=0.7×0.375+0.3×0.6=0.4425, which shows that the supply of raw material Z is basically stable.
[0070] Furthermore, in quantifying the status of raw material supply, future supply forecast data can be incorporated to predict raw material consumption replenishment for early warning. Included The calculation formula is used to obtain the corrected formula for calculating raw material supply status data:
[0071]
[0072] In the formula, if the current raw material i but When sufficient, after calculation At this point, the task supported by the raw material is marked as "future supportable" in the production scheduling adjustment, and a raw material shortage warning is issued at the same time.
[0073] In this embodiment, based on the raw material delay arrival rate, raw material inventory, and total raw material demand, raw material supply status data that can accurately represent whether the raw material supply status is stable can be calculated, thereby improving the reliability of subsequent calculations.
[0074] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the raw material support determination step in S130 is refined.
[0075] See Figure 3 The steps for determining the support of raw materials include:
[0076] S310, obtain the planned production quantity and raw material unit consumption of the production task; wherein, the raw material unit consumption represents the amount of raw materials required to produce a unit quantity of product under the current production process.
[0077] The unit consumption of raw materials can be expressed as:
[0078]
[0079] In the formula, i represents the raw material number, j represents the product number, and k represents the production process version. This represents the standard amount of raw material i required to produce one unit of product j under the production process corresponding to production process version k.
[0080] S320 determines the raw material support level for production tasks based on data on raw material supply status, raw material inventory, planned production volume, and unit raw material usage.
[0081] The formula for calculating the raw material support degree for the i-th production task is as follows:
[0082]
[0083] In the formula, Let be the raw material support level for the t-th production task. This refers to the raw material supply status data corresponding to raw material i. Let i be the raw material inventory quantity. Let i be the unit amount of raw material used for the t-th production task. The planned production quantity is the amount of product to be produced for the t-th production task.
[0084] in, This indicates that the raw materials are fully supported. This indicates a shortage of some raw materials. This indicates a severe shortage of raw materials.
[0085] In this embodiment, based on the raw material supply status data, raw material inventory, planned production volume, and unit raw material usage of the production task, a raw material support level that accurately reflects whether there is a shortage of raw materials can be calculated, thereby improving the reliability of subsequent calculations.
[0086] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the current matching degree determination step in S140 is refined.
[0087] See Figure 4 The steps for determining the current matching degree include:
[0088] S410 determines the support weight corresponding to each production task based on its urgency and profit contribution.
[0089] Specifically, the greater the profit contribution of a production task, the greater its support weight. That is, the initial support weight can be determined based on the profit contribution of a production task, and then adjusted according to the urgency level to obtain the final support weight. For example, the initial support weight can be adjusted using an urgency weight adjustment coefficient, which can be expressed as:
[0090]
[0091] In the formula, For urgent markings, Requesting urgent service. Representing the norm, the support weight can be expressed as: , This indicates the expedited weighting adjustment factor. This represents the initial support weight. This indicates the final support weight.
[0092] S420 determines the current matching degree of the current production schedule based on the raw material support level and corresponding support level weight of each production task.
[0093] The current matching degree can be calculated using the following formula:
[0094]
[0095] In the formula, The current matching degree, Let be the raw material support level for the i-th production task. Let be the support weight for the i-th production task.
[0096] For example, the current production schedule is In response to production tasks Production of product C: 50 units, planned start date The order is urgent (rush indicator F=1). This is for production tasks. Production of product A: 200 units, planned to begin. Regular orders. For production tasks. Production of product B300 units is planned to begin. High-profit orders.
[0097] The raw material support for the three production tasks is as follows:
[0098] This indicates a severe shortage of raw materials.
[0099] It is evident that the raw materials are fully supported.
[0100] It is evident that the raw materials are fully supported.
[0101] Support weight (Rush orders) , The current matching degree corresponding to the current production schedule is: .
[0102] In this embodiment, the current matching degree, calculated by using the raw material support level and corresponding support level weight for each production task, can accurately reflect the average matching degree between the raw material supply capacity of each production task and the current production schedule. Furthermore, since the support level weight can reflect the urgency and profit contribution of different production tasks, the determination of the current matching degree aligns with the needs of the actual scenario.
[0103] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the production scheduling adjustment steps in S150 are refined.
[0104] See Figure 5 The steps for adjusting the production schedule include:
[0105] S510, select a production task with a raw material support level lower than a first support level threshold from the current production schedule as the first production task; and select a production task with a raw material support level higher than a second support level threshold from the current production schedule as the second production task; the first support level threshold is lower than the second support level threshold.
[0106] For example, production tasks with a raw material support level of less than 1 are selected from the current production schedule as the first production task. The first production task is a low-support production task, and the number of first production tasks can be one or more. Production tasks with a raw material support level greater than 1.2 are selected from the current production schedule as the second production task. The second production task is a high-support production task, and the number of second production tasks can be one or more.
[0107] S520: For each pair of tasks to be swapped formed by the first production task and the second production task, determine the swapping benefit of the pair of tasks to be swapped based on the difference in raw material support between the two production tasks in the pair and the time cost after the swap.
[0108] That is, select one first production task from each first production task and select one second production task from each second production task. The selected first and second production tasks form a task pair to be swapped. Calculate the swap benefit generated after swapping the two production tasks in the task pair to be swapped.
[0109] The swap benefit comes from two parts: one part is the raw material support benefit calculated based on the difference in raw material support between the two production tasks, and the other part is the time benefit calculated based on the time cost after the swap.
[0110] The formula for calculating the exchange gain can be:
[0111]
[0112] In the formula, In exchange for profits, This refers to the raw material support level for the first production task in the task pair to be swapped. This refers to the raw material support level for the second production task in the task pair to be swapped. For time weighting coefficients, This refers to the reduced downtime for the first production task after the change due to the replenishment of raw materials. The delay is to postpone the start of the second production task after the change.
[0113] Understandably, for each pair of tasks to be swapped, the corresponding swap benefit can be calculated.
[0114] S530: Select the task pair with the highest exchange benefit from all task pairs to be exchanged that have an exchange benefit greater than 0, and use it as the target task pair to be exchanged.
[0115] If the exchange benefit of a task pair to be exchanged is greater than 0, it indicates that the two production tasks in the task pair to be exchanged are worth exchanging; if the exchange benefit of a task pair to be exchanged is less than or equal to 0, it indicates that the two production tasks in the task pair to be exchanged are not worth exchanging.
[0116] Among them, the target swap task pair has the greatest swap benefit, which is greater than 0, and is the most valuable swap task pair to be swapped.
[0117] S540, based on the target task pair, adjusts the current production schedule to obtain the adjusted production schedule, and determines the matching degree of the adjusted production schedule.
[0118] That is, the execution order of the two production tasks in the target swap task pair is swapped to obtain the adjusted production schedule. The adjusted matching degree corresponding to the swapped production schedule is calculated. The calculation method can be found in S110~S140.
[0119] For example, the set of the first production tasks is The set of the second production tasks is .
[0120] First, calculate and The resulting exchange benefits for the paired tasks:
[0121]
[0122] In the formula, Yuan / hour Delaying production allows for waiting for chip delivery, reducing downtime. Hour; Postponement of construction Hours, thus calculating .
[0123] Then, calculate and The resulting exchange benefits for the paired tasks:
[0124]
[0125] It is evident that priority should be given to replacement. and The adjusted production schedule was obtained: .
[0126] If prediction The chip arrived on Day 3. After correction, the raw material supply status data for raw material Z is as follows:
[0127]
[0128]
[0129] Revised At this point, the optimization objective is satisfied.
[0130] If the actual situation is that 50 units of raw material Z arrive on Day 3, updates will be provided in real time:
[0131]
[0132]
[0133] In real-world scenarios, if the delay in raw material Z occurs frequently, it will... The weight in the calculation formula The weighting for supply reliability has been increased from 0.3 to 0.4.
[0134] In the above examples, downtime caused by raw material shortages was reduced from 2-3 days per month to less than 0.5 days, direct losses were reduced by 80%, on-time fulfillment rate of expedited orders increased from 82% to 96%, and equipment utilization rate increased from 75% to 89%. At the same time, through dynamic optimization, the model's response time to raw material delays and process changes was shortened to within 2 hours, and the adaptation accuracy reached 92%.
[0135] As can be seen, this embodiment first identifies the conflict between low-support tasks and high-support tasks, then determines the adjustment method by swapping benefits, and finally generates a new production sequence with higher raw material matching degree, thereby realizing dynamic adjustment of the production sequence, optimizing the arrangement relationship between tasks with insufficient raw material support and tasks with sufficient raw material support, improving the feasibility of the overall production plan, and reducing production interruptions caused by raw material shortages.
[0136] S550: If the adjusted matching degree is greater than the matching degree threshold, the adjusted production schedule will be used as the target production schedule.
[0137] The matching threshold can be set as needed, for example, 0.9, or other values can be used, which are not limited here.
[0138] Understandably, if the adjusted matching degree is greater than the matching degree threshold, it means that the adjusted production schedule is reasonable. Therefore, the adjusted production schedule can be used as the target production schedule, and production activities can be carried out according to the target production schedule.
[0139] In this embodiment, task pairs to be swapped are constructed, and the swap benefit after swapping is calculated for each task pair. Based on the swap benefit, the task pair with the most swap value is selected. If the adjusted matching degree of the task pair with the most swap value is greater than the matching degree threshold, the adjusted production schedule is taken as the target production schedule, thereby realizing the adjustment of the production schedule. The above process can maximize the rationality of the target production schedule.
[0140] Based on the technical solutions provided in the above embodiments, an optional embodiment is provided, in which the scheduling method is further refined to include: a processing step during plan execution.
[0141] See Figure 6 The steps involved in the execution of the plan include:
[0142] S610 determines the target production rate range for each production task based on the latest completion time, adjusted start time, raw material storage capacity, and raw material inventory.
[0143] The target production rate range is the optimal range of production rates.
[0144] Among them, the target production rate range of the t-th production task The calculation formula is as follows:
[0145]
[0146]
[0147] In the formula, Let be the minimum production rate for the t-th production task. Let t be the planned production quantity for the t-th production task. Let t be the latest completion time of the t-th production task. Let be the adjusted start time of the t-th production task. Let t be the maximum production rate of the t-th production task. For raw material storage capacity, This refers to the raw material inventory. Let t be the execution time of the t-th production task.
[0148] S620 adjusts subsequent production tasks in the target production schedule in a coordinated manner when the actual production rate of a production task exceeds the corresponding target production rate range.
[0149] In actual production activities, if the actual production rate of a production task does not fall within the target production rate range, it will affect subsequent production tasks. Therefore, the start time and target production rate range of subsequent production tasks will be adjusted.
[0150] In this embodiment, a target production speed range is determined for each production task, and subsequent production tasks are adjusted in a coordinated manner when the actual production speed exceeds the target production speed range, so as to achieve flexible adjustment of the production schedule.
[0151] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0152] Based on the same inventive concept, this application also provides a scheduling apparatus for implementing the scheduling method described above. The solution provided by this apparatus is similar to the solution described in the above method; therefore, the specific limitations in one or more scheduling apparatus embodiments provided below can be found in the limitations of the scheduling method described above, and will not be repeated here.
[0153] In one exemplary embodiment, a production scheduling device is provided, see [link to relevant documentation]. Figure 7 ,include:
[0154] The first acquisition module 710 is used to acquire the current production schedule;
[0155] The first determining module 720 is used to determine the raw material supply status data of each production task in the current production schedule based on the raw material information of the production task.
[0156] The second determining module 730 is used to determine the raw material support level of the production task based on the raw material supply status data of the production task.
[0157] The third determination module 740 is used to determine the current matching degree corresponding to the current production schedule based on the raw material support of each production task in the current production schedule.
[0158] The planning adjustment module 750 is used to adjust the current production schedule based on the differences in raw material support for each production task in the current production schedule when the current matching degree is less than the matching degree threshold, so as to obtain the adjusted production schedule.
[0159] In one embodiment, the first determining module is specifically used to: determine the raw material delay rate of the production task based on the number of times the raw materials are delayed and the total number of raw material purchases; and determine the raw material supply status data of the production task based on the raw material inventory, total raw material demand, and raw material delay rate.
[0160] In one embodiment, the second determining module is specifically used to: obtain the planned production volume and raw material unit consumption of the production task; wherein, the raw material unit consumption represents the amount of raw materials required to produce a unit quantity of product under the current production process; and determine the raw material support level of the production task based on the raw material supply status data, raw material inventory, planned production volume and raw material unit consumption of the production task.
[0161] In one embodiment, the third determining module is specifically used to: determine the support weight corresponding to each production task based on the urgency and profit contribution of each production task; and determine the current matching degree corresponding to the current production schedule based on the raw material support and corresponding support weight of each production task.
[0162] In one embodiment, the planning adjustment module is specifically used for: selecting production tasks with raw material support levels lower than a first support level threshold from the current production schedule as first production tasks; and selecting production tasks with raw material support levels higher than a second support level threshold from the current production schedule as second production tasks; the first support level threshold is less than the second support level threshold; for each pair of tasks to be swapped formed by the first production task and each second production task, determining the swapping benefit of the task pair to be swapped based on the difference in raw material support levels between the two production tasks in the task pair to be swapped and the time cost after swapping; selecting the task pair to be swapped with the largest swapping benefit from each task pair to be swapped with a swapping benefit greater than 0, as the target swapping task pair; adjusting the current production schedule based on the target swapping task pair to obtain the adjusted production schedule, and determining the adjusted matching degree corresponding to the swapped production schedule; if the adjusted matching degree is greater than the matching degree threshold, using the adjusted production schedule as the target production schedule.
[0163] In one embodiment, the apparatus further includes:
[0164] The linkage adjustment module is used to determine the target production rate range for each production task based on the latest completion time, adjusted start time, raw material storage capacity, and raw material inventory. If the actual production rate of a production task exceeds the corresponding target production rate range, the subsequent production tasks in the target production schedule will be adjusted accordingly.
[0165] Each module in the aforementioned production scheduling device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.
[0166] In one exemplary embodiment, a computer device is provided, the internal structure of which can be as shown in the figure. Figure 8 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, Near Field Communication (NFC), or other technologies. When executed by the processor, the computer program implements an intra-frame prediction mode determination method.
[0167] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0168] In one exemplary embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the scheduling methods provided in the above embodiments.
[0169] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the scheduling methods provided in the above embodiments.
[0170] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the scheduling methods provided in the above embodiments.
[0171] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.
[0172] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.
[0173] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0174] The above embodiments are merely illustrative of several implementation methods of this application, and their descriptions are relatively specific and detailed. However, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A production scheduling method, characterized in that, include: Obtain the current production schedule; For each production task in the current production schedule, the raw material supply status data of the production task is determined based on the raw material information of the production task. Based on the raw material supply status data of the production task, determine the raw material support level of the production task; Based on the raw material support level of each production task in the current production schedule, determine the current matching degree corresponding to the current production schedule; If the current matching degree is less than the matching degree threshold, the current production schedule is adjusted according to the difference in raw material support for each production task in the current production schedule, resulting in an adjusted production schedule.
2. The method according to claim 1, characterized in that, The step of determining the raw material supply status data for the production task based on the raw material information of the production task includes: The raw material delay rate for the production task is determined based on the number of times raw materials are delayed and the total number of raw material purchases. Based on the raw material inventory, total raw material demand, and raw material delay rate of the production task, determine the raw material supply status data of the production task.
3. The method according to claim 1, characterized in that, Determining the raw material support level for the production task based on the raw material supply status data includes: Obtain the planned production volume and raw material unit consumption of the production task; wherein, the raw material unit consumption represents the amount of raw materials required to produce a unit quantity of product under the current production process; Based on the raw material supply status data, raw material inventory, planned production volume, and unit raw material usage of the production task, the raw material support level of the production task is determined.
4. The method according to claim 1, characterized in that, The step of determining the current matching degree corresponding to the current production schedule based on the raw material support level of each production task in the current production schedule includes: The support weight corresponding to each production task is determined based on its urgency and profit contribution. Based on the raw material support level and corresponding support level weight of each production task, the current matching degree corresponding to the current production schedule is determined.
5. The method according to any one of claims 1 to 4, characterized in that, The step of adjusting the current production schedule based on the differences in raw material support levels for each production task in the current production schedule to obtain an adjusted production schedule includes: From the current production schedule, select production tasks with raw material support levels below a first support threshold as the first production task; and, From the current production schedule, select production tasks with a raw material support level higher than the second support level threshold as the second production task; the first support level threshold is lower than the second support level threshold. For each pair of tasks to be swapped formed by the first production task and the second production task, the swapping benefit of the pair of tasks to be swapped is determined based on the difference in raw material support between the two production tasks in the pair and the time cost after swapping. From all pairs of tasks to be swapped where the swap benefit is greater than 0, select the pair of tasks to be swapped with the highest swap benefit and use it as the target swap pair. Based on the target swap task pair, the current production schedule is adjusted to obtain the adjusted production schedule, and the adjusted matching degree corresponding to the swapped production schedule is determined. If the adjusted matching degree is greater than the matching degree threshold, the adjusted production schedule will be used as the target production schedule.
6. The method according to claim 5, characterized in that, The method further includes: For each production task, the target production rate range is determined based on the latest completion time of the production task, the adjusted start time, the raw material storage capacity, and the raw material inventory. If the actual production rate of the production task exceeds the corresponding target production rate range, the subsequent production tasks in the target production schedule will be adjusted accordingly.
7. A production scheduling device, characterized in that, include: The first acquisition module is used to acquire the current production schedule; The first determining module is used to determine the raw material supply status data of each production task in the current production schedule based on the raw material information of the production task. The second determining module is used to determine the raw material support level of the production task based on the raw material supply status data of the production task. The third determining module is used to determine the current matching degree corresponding to the current production schedule based on the raw material support degree of each production task in the current production schedule. The planning adjustment module is used to adjust the current production schedule based on the differences in raw material support for each production task in the current production schedule when the current matching degree is less than the matching degree threshold, so as to obtain the adjusted production schedule.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.