Scheduling method and device, equipment and storage medium
By obtaining the production model of parts, the method of standardd or rolling production is used to solve the problem of low efficiency of manual production, and realize the function of automated production and rapid adjustment of production results.
Patent Information
- Application Number
- CN202411530009.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-30
- Publication Date
- 2025-01-28
AI Technical Summary
In the field of machining, manual production scheduling efficiency is low, resulting in the inability to adjust the production scheduling results in time, and the production scheduling results are inconvenient to transmit, increasing the difficulty of production scheduling.
By obtaining the production model of parts in the order, if the parts do not have the current node on any production route, standard production is performed; if the part has the current node on the current production route The plan of the parts starts and ends.
The production process of automation has been realized, the labor resources are saved, the production efficiency is improved, the results of production are adjusted in a timely manner, and the production of digital data is easy to pass, and the response speed of production is improved.
Smart Images

Figure CN119378913A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present disclosure relate to the technical field of production scheduling, and in particular, to a production scheduling method, device, equipment and storage medium. Background Art
[0002] In the field of machining, manual scheduling is currently the main method. During manual scheduling, Excel is usually used to list the processes of the parts to be processed, and then each process is scheduled manually.
[0003] However, the process flow of parts is complicated, resulting in a large workload for manual scheduling. Production schedulers have to spend a lot of time on scheduling every day, and the scheduling results are not easy to transmit. In addition, due to the low efficiency of manual scheduling, the scheduling results cannot be adjusted in time with new orders. The adjustment time is too long, and the adjusted scheduling results cannot be transmitted in time. Summary of the invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a production scheduling method, device, equipment and storage medium.
[0005] A first aspect of an embodiment of the present disclosure provides a production scheduling method, the method comprising:
[0006] Obtaining a production scheduling model corresponding to the parts in the order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node;
[0007] If the part does not have a current node on any production scheduling route, standard scheduling is performed on the part to obtain the planned start time and planned end time of the part for each node;
[0008] If a part has a current node on at least one production scheduling route, the part is rolled over to obtain the planned start time and planned end time of the part for each remaining node, where the remaining nodes are the nodes that follow the current node in the production order.
[0009] A second aspect of an embodiment of the present disclosure provides a production scheduling device, the device comprising:
[0010] A first acquisition module is used to acquire a production scheduling model corresponding to a part in an order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node;
[0011] The first production scheduling module is used to perform standard production scheduling on the part if the part does not have a current node on any production scheduling route, and obtain the planned start time and planned end time of the part for each node;
[0012] The second production scheduling module is used to perform rolling production scheduling on the part if the part has a current node on at least one production scheduling route, and obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in terms of production sequence.
[0013] A third aspect of an embodiment of the present disclosure provides an electronic device, the server comprising: a processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method of the first aspect above.
[0014] A fourth aspect of an embodiment of the present disclosure provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of the first aspect described above can be implemented.
[0015] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0016] The disclosed embodiment can obtain the production scheduling model corresponding to the parts in the order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node; if the part does not have a current node on any production scheduling route, the part is subjected to standard production scheduling to obtain the planned start time and planned end time of the part for each node; if the part has a current node on at least one production scheduling route, the part is subjected to rolling production scheduling to obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in the production sequence. By adopting the above technical scheme, the parts in the order can be automatically subjected to standard production scheduling or rolling production scheduling, saving labor resources and improving production scheduling efficiency. In this way, even if there are new orders, the production scheduling results can be adjusted in time with the new orders, and since the production scheduling results are digital data, it is convenient to transmit them in time through the Internet and other forms, so that production personnel can produce in time according to the production scheduling results. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0019] Figure 1 is a flow chart of a production scheduling method provided by an embodiment of the present disclosure;
[0020] Figure 2 is a structural schematic diagram of a production scheduling model provided by an embodiment of the present disclosure;
[0021] Figure 3 It is a structural schematic diagram of a production scheduling device provided by an embodiment of the present disclosure;
[0022] Figure 4 It is a structural schematic diagram of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0023] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0024] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0025] Figure 1 is a flow chart of a production scheduling method provided by an embodiment of the present disclosure, and the method can be executed by an electronic device. The electronic device can be exemplarily understood as a device with a page display function such as a mobile phone, a tablet computer, a laptop computer, a desktop computer, a smart TV, etc. Figure 1 As shown, the method provided in this embodiment includes the following steps:
[0026] S110. Obtain a production scheduling model corresponding to the parts in the order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node.
[0027] In an embodiment of the present disclosure, the electronic device can obtain a production scheduling model corresponding to a part in an order, so as to subsequently perform standard production scheduling or rolling production scheduling on the parts according to the production scheduling model.
[0028] Specifically, the source of the order may include systems such as enterprise resource planning (ERP), product lifecycle management (PLM), and customer relationship management (CRM), but is not limited thereto.
[0029] Specifically, the types of orders may include customer orders, bill of materials (BOM), orders for self-made parts after production, etc., but are not limited thereto.
[0030] Specifically, an order can be divided into multiple nodes according to its entire life cycle, and the multiple nodes can be sorted according to the production sequence to obtain a production route, which can constitute a production scheduling model.
[0031] For example, Figure 2 Schematic diagram of a production scheduling model provided by an embodiment of the present disclosure. Figure 2 The production scheduling model includes three production scheduling routes, which have both parallel and serial parts. Specifically, the first production scheduling route is "pattern diagram-single-pitch modeling-full circle modeling-pattern block diagram-pattern block process-production-machining transfer-hole introduction-trim-seam repair-perfection-packaging and delivery"; the second production scheduling route is "pattern diagram-single-pitch modeling-full circle modeling-basic mold program-basic mold-casting-production-machining transfer-hole introduction-trim-seam repair-perfection-packaging and delivery"; the third production scheduling route is "pattern diagram-technical department diagram-steel sheet process-casting steel sheet-casting-production-machining transfer-hole introduction-trim-seam repair-perfection-packaging and delivery".
[0032] It can be understood that in the embodiment of the present disclosure, when constructing the production scheduling model corresponding to the parts in the order, all important nodes in the entire life cycle of the order, such as technology and workshop production, are taken into consideration. In this way, the coordination of technology and workshop production can be achieved, which is conducive to production scheduling from the perspective of the enterprise as a whole.
[0033] S120. If the part does not have a current node on any production scheduling route, perform standard production scheduling on the part to obtain the planned start time and planned end time of the part for each node.
[0034] In the disclosed embodiment, if the parts in the order have not started processing, that is, the parts do not have a current node on any production scheduling route, the parts are subjected to standard scheduling to obtain the planned start time and planned end time of the parts for each node.
[0035] Specifically, the current node is the node that has been processed most recently on its production scheduling route.
[0036] Optionally, the process of determining the current node includes: detecting whether the part has an actual completion time for each node; for each production route in the production scheduling model corresponding to the part, taking the last (i.e., the last) node with an actual completion time in the production route in the production sequence as the current node on the production route.
[0037] Specifically, the actual completion time is the time when the node is actually processed and completed.
[0038] Specifically, the total number of production routes in the production scheduling model corresponding to the parts is obtained, and then, for each production route, the nodes on the production route and the production order of the nodes (i.e., detailed production route information) are obtained, and the first node whose actual completion time is not empty is found from bottom to top in the production route according to the production order (i.e., the current node), or the first node whose actual completion time is empty is found from top to bottom, and the previous node of this node is the current node.
[0039] Specifically, standard scheduling uses the difference between the contract duration of the order and the parts batch as the planned duration length corresponding to the part setting, and then uses the standard working time rules corresponding to the planned duration length to schedule each node in the scheduling model.
[0040] In one example, the delivery time of the parts in the order is determined according to the order placement time and the contract duration, and the planned start time and the planned end time of each part in the order for the technical stage, as well as the planned start time and the planned end time of the workshop stage are determined according to the difference between the order placement time, the delivery time and the parts batch, so as to obtain the planned duration length of each part for the technical stage, as well as the planned duration length for the workshop stage. Then, the standard working time rules corresponding to the planned duration length are used for production scheduling to obtain the planned start time and the planned end time of the parts for each node.
[0041] S130. If the part has a current node on at least one production scheduling route, perform rolling scheduling on the part to obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in the production sequence.
[0042] In the disclosed embodiment, if the parts in the order have started to be processed, that is, the parts have a current node on at least one production scheduling route, the parts are rolled out to obtain the planned start time and planned end time of the parts for each remaining node.
[0043] Specifically, rolling scheduling is to determine the remaining nodes on the production route through the current node on the production route, and determine the remaining duration of the part through the planned completion time of the part for the technical stage and / or the planned completion time for the workshop stage, and the actual completion time of the current node, and then use the standard working time rules corresponding to the remaining duration to schedule the remaining nodes.
[0044] In one example, for each production route, the remaining duration of the part corresponding to the production route is determined based on the planned completion time of the part for the technical stage and / or the planned completion time for the workshop stage, and the actual completion time of the current node on the production route. Then, the remaining nodes on the production route are scheduled using the standard working time rule corresponding to the remaining duration of the part (the remaining duration of the part corresponding to the production route) to obtain the planned start time and end time of each remaining node on the production route.
[0045] It can be understood that the disclosed embodiment is not only suitable for the case of a single production route, but also for the case of multiple production routes, and is not only suitable for the case of single-piece small batch processing, but also for batch processing, and is adaptable to a variety of scenarios. In addition, rolling production is scheduled according to the remaining construction period. Since the current node (i.e., processing progress) is extracted from time to time, the on-site processing can be closer to the production schedule (i.e., the production schedule result), improving the executability of the production schedule.
[0046] The disclosed embodiment can obtain the production scheduling model corresponding to the parts in the order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node; if the part does not have a current node on any production scheduling route, the part is subjected to standard production scheduling to obtain the planned start time and planned end time of the part for each node; if the part has a current node on at least one production scheduling route, the part is subjected to rolling production scheduling to obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in the production sequence. By adopting the above technical scheme, the parts in the order can be automatically subjected to standard production scheduling or rolling production scheduling, saving labor resources and improving production scheduling efficiency. In this way, even if there are new orders, the production scheduling results can be adjusted in time with the new orders, and since the production scheduling results are digital data, it is convenient to transmit them in time through the Internet and other forms, so that production personnel can produce in time according to the production scheduling results.
[0047] In another embodiment of the present disclosure, standard production scheduling is performed on parts to obtain the planned start time and planned end time of the parts for each node, including:
[0048] S121. Determine the planned construction period for the parts according to the technical stage.
[0049] In the disclosed embodiment, the planned construction period of a part includes two parts, namely, the planned construction period for the technical stage (including non-manufacturing nodes such as product design and process design) and the planned construction period for the workshop stage (i.e., workshop production), so as to use the standard working time rules corresponding to the planned construction period for the technical stage to schedule the production of each technical data node belonging to the technical stage, and use the standard working time rules corresponding to the planned construction period for the workshop stage to schedule the production of each process node belonging to the workshop stage.
[0050] Optionally, determining the planned duration of a part for a technical stage includes: selecting the part with the earliest planned end time for the technical stage from the part group to which the part belongs, and using it as the target part, wherein multiple parts in the part group correspond to the same technical data; determining the planned duration of the technical stage based on the planned start time and planned end time of the target part for the technical stage.
[0051] The applicant considers that the product codes and technical data corresponding to the same parts are the same. Since the parts must have complete technical data before entering the workshop stage (for example, the drawings required for processing the parts have been issued), the planned end time of the technical stage for the parts corresponding to the same technical data limits the planned duration of the technical stage. In view of this, when determining the planned duration for the technical stage, the planned end time of each part in the order for the technical stage can be obtained (with the product code as the primary key); the earliest planned end time for the technical stage among all parts corresponding to the same technical data is obtained, and the part corresponding to the earliest planned end time for the technical stage is determined as the target part; the time difference between the planned end time and the planned start time of the target part for the technical stage is calculated to obtain the planned duration of the technical stage.
[0052] S122. Determine the planned duration of each technical data node of the part for the technical stage according to the planned duration of the part for the technical stage and the standard working time table.
[0053] In an embodiment of the present disclosure, a standard working time sheet may be pre-stored in an electronic device, wherein the standard working time sheet records standard working time data corresponding to different planned construction period lengths (planned construction period lengths for technical stages), wherein the standard working time data mentioned here refers to the planned construction period lengths set for each technical data node of the technical stage according to the standard working time rules. In this way, the standard working time sheet may be searched to obtain the standard working time data corresponding to the planned construction period length of the parts for the technical stage.
[0054] Specifically, the technical data node is a node corresponding to the production of technical data.
[0055] Specifically, according to the planned construction period of the part for the technical stage, the corresponding standard working time data in the standard working time table is obtained, and the planned construction period of each technical data node of the part for the technical stage can be obtained.
[0056] In one example, the planned construction period for a part in the technical stage is 9 days, and the first standard working time table obtained by matching records: the planned construction period for technical data node A is from the 1st day to the 3rd day, the planned construction period for technical data node B is from the 4th day to the 5th day, and the planned construction period for technical data node C is from the 6th day to the 9th day.
[0057] S123. Determine the planned start time and the planned end time of the part for each technical data node according to the planned start time of the part for the technical stage and the planned duration of the part for each technical data node.
[0058] In the disclosed embodiment, the order batches corresponding to the same technical data are the same, but the contract durations may be different. Since the same batch of orders may have different contract durations, the planned start time of each part in the order for the technical stage is different, but the planned duration lengths of each technical data node for the technical stage for the parts corresponding to the same technical data are the same. Therefore, for each part in the parts group, the planned start time and planned end time of the part for each technical data node can be determined based on the planned start time of the part for the technical stage and the planned duration length of the part for each technical data node.
[0059] Specifically, the planned start time of the part for the technical stage plus the planned duration length of each technical data node is the planned end time (in days) of each technical data node.
[0060] S124. Determine the planned duration of the parts for the workshop stage.
[0061] Optionally, determining the planned duration of the part for the workshop stage includes: determining the planned duration of the part for the workshop stage according to a planned start time and a planned end time of the part for the workshop stage.
[0062] In the embodiment of the present disclosure, considering that in the actual processing process, the workshop processes in units of parts, each part is unique to the workshop. In view of this, for each part, the time difference between the planned start time and the planned end time of the part for the workshop stage is calculated to obtain the planned duration length of the part for the workshop stage.
[0063] S125. According to the matching of the planned duration of the parts for the workshop stage and the standard working time table, the planned duration of the parts for each process node in the workshop stage is determined.
[0064] In an embodiment of the present disclosure, a standard working time sheet may be pre-stored in an electronic device, wherein the standard working time sheet records standard working time data corresponding to different planned construction period lengths (planned construction period lengths for the workshop stage), wherein the standard working time data referred to here refers to the planned construction period lengths set for each process node in the workshop stage according to the standard working time rules. In this way, the standard working time sheet may be searched to obtain the standard working time data corresponding to the planned construction period length of the parts for the workshop stage.
[0065] Specifically, the process node is the node corresponding to the workshop production.
[0066] Specifically, according to the planned duration of the part in the workshop stage, the corresponding standard working time data in the standard working time table is obtained, and the planned duration of each process node of the part in the workshop stage can be obtained.
[0067] S126. Determine the planned start time and the planned end time of the part for each process node according to the planned start time of the part for the workshop stage and the planned duration of the part for each process node.
[0068] Specifically, the planned start time of the part for the workshop stage plus the planned duration length of each process node is the planned end time (in days) of each workshop process node.
[0069] It can be understood that the above-mentioned method of standard scheduling of parts by technical stage and workshop stage can ensure that the technical data required for processing parts are fully prepared before entering the workshop production, and because the data in the standard time sheet is usually obtained by production personnel based on actual production, the planned construction period of the parts for each node can be determined by querying the standard time sheet, so that the scheduling results can be more in line with the actual production situation.
[0070] In another embodiment of the present disclosure, rolling production scheduling is performed on parts to obtain the planned start time and the planned end time of the parts for each remaining node, including:
[0071] S131. For each production route in the production scheduling model corresponding to the part, determine the remaining duration of the part corresponding to the production route according to the actual completion time of the current node on the production route and the planned completion time of the part.
[0072] In some embodiments, the remaining nodes on the production route include the technical data nodes of the technical stage and the process nodes of the workshop stage, then the planned completion time of the part includes the planned completion time of the part for the technical stage, and the remaining duration of the part corresponding to the production route includes the remaining duration for the technical stage and the remaining duration for the workshop stage, wherein the remaining duration for the technical stage can be obtained by calculating the difference between the actual completion time of the current node and the planned completion time of the part for the technical stage, and the planned duration of the part for the workshop stage is the remaining duration for the workshop stage.
[0073] In some embodiments, the remaining nodes on the production route only include process nodes of the workshop stage, then the planned completion time of the part includes the planned completion time of the part for the workshop stage, and the remaining duration of the part corresponding to the production route only includes the remaining duration for the workshop stage, wherein the remaining duration for the technical stage can be obtained by calculating the difference between the actual completion time of the current node and the planned completion time of the part for the workshop stage.
[0074] S132. Determine the planned start time and the planned end time of each remaining node according to the remaining duration of the parts corresponding to the production route, the rolling timetable and the standard timetable.
[0075] In some embodiments, the remaining duration of the part corresponding to the production route includes the remaining duration for the technical stage and the remaining duration for the workshop stage. Then, scheduling the remaining nodes in the production route includes: scheduling the remaining nodes of the technical stage according to the remaining duration of the part for the technical stage; scheduling the remaining nodes of the workshop stage according to the remaining duration of the part for the workshop stage (similar to S124-S126, which will not be repeated here).
[0076] In other embodiments, the remaining duration of the part corresponding to the production route only includes the remaining duration for the workshop stage, and scheduling the remaining nodes in the production route includes: scheduling the remaining nodes of the technical workshop stage according to the remaining duration of the part for the workshop stage.
[0077] Specifically, the process of scheduling the remaining nodes (whether they are the remaining nodes in the technical stage or the workshop stage) according to the remaining duration is as follows: search for the data corresponding to the remaining duration in the rolling duration table (i.e., rolling duration data); obtain the duration length in the rolling duration data; according to the duration length, obtain the standard duration data corresponding to the duration length in the standard duration table (i.e., the planned duration length corresponding to the remaining nodes); take the actual completion time of the current node as the starting time, and calculate the planned start time and planned completion time of the remaining nodes according to the standard duration data. It should be understood by those skilled in the art that no production scheduling is made for the nodes before the current node.
[0078] Optionally, the method further includes: S133, if the remaining nodes are located in multiple production scheduling routes, selecting the latest planned end time from multiple planned end times obtained by the standard production scheduling of the remaining nodes as the planned end time of the remaining nodes.
[0079] In one example, see Figure 2 When the remaining nodes include the casting node and its subsequent nodes, since these nodes are located in three production scheduling routes, the same node will have three planned completion times. The latest planned completion time among all planned completion times is used as the final planned completion time of the node, and the shortest remaining duration in each production scheduling route is used as the final remaining duration.
[0080] Optionally, the method also includes: in the case where a certain node has not been completed, the planned completion time calculated according to the standard working hours may be earlier than the current production scheduling time (ie, the current time), then the planned completion time of the node is uniformly changed to the current production scheduling time.
[0081] It is understandable that, since the data in the rolling timesheet and the standard timesheet are usually obtained by production personnel based on actual production, the production scheduling results can be made more consistent with the actual production situation by looking up the rolling timesheet and the standard timesheet to determine the planned duration of the parts for each remaining node. In addition, the latest planned completion time among multiple planned completion times corresponding to the same remaining node is used as the final planned completion time of the remaining node, so that the planned completion time of the remaining node is more consistent with the actual production situation.
[0082] In another embodiment of the present disclosure, the method further includes:
[0083] S140. Determine the current remaining capacity and current load corresponding to the first preset node.
[0084] Specifically, the first preset node refers to any node that needs to be processed within the time period from the current production scheduling time (ie, the current moment) to the preset moment.
[0085] Specifically, the current remaining capacity refers to the capacity in the time period from the current production schedule (ie, current moment) corresponding to the first preset node to the preset moment. The current load refers to the load in the time period from the current production schedule corresponding to the first preset node to the preset moment.
[0086] Optionally, the current remaining capacity may be the remaining capacity for the day, and the current load may be the remaining load for the day.
[0087] Specifically, the process of determining the remaining production capacity for the day corresponding to the first preset node can be as follows: obtain all working time periods (start time and end time) of the first preset node and schedule them according to the start time; if the current scheduling time is earlier than or equal to the earliest start time of all working time periods of the first preset node, it indicates that at the current scheduling time, this first preset node is about to go to work, and the remaining production capacity for the day is equal to the total production capacity for the day; if the current scheduling time is later than or equal to the latest end time of all working time periods of the first preset node, it indicates that at the current scheduling time, this first preset node is in an off-duty state and can no longer be assigned tasks, and the remaining capacity is 0; if the current scheduling time is within a working time period of the first preset node, the used capacity of the first preset node = (used working time / total time of the first preset node) * total capacity of the first preset node, and the remaining capacity of the first preset node = total capacity of the first preset node - used capacity of the first preset node.
[0088] S150. If the current remaining capacity is greater than the current load, search for parts that meet the preset activation conditions as activation parts, and activate the parts in advance according to the planned start time and the planned end time of the first preset node.
[0089] Optionally, the preset activation condition is the highest scheduling level and / or the earliest planned completion time of the part for the workshop stage.
[0090] In one example, when the capacity of the first preset node is insufficient on a certain day (i.e., the current remaining capacity is greater than the current load), starting from the second day, parts that can be activated (i.e., parts that meet the preset activation conditions) are searched, where the search conditions are that the parts with the earliest planned completion time for the workshop stage and / or the parts with the highest scheduling level are prioritized. It should be noted that after the planned completion time of the first preset node is advanced, it cannot be earlier than the planned completion time of the previous node. For example, when the pattern is activated, the planned start time after advancement cannot be earlier than the planned start time of the part.
[0091] Optionally, after the first preset node is processed in advance, its subsequent nodes may not be processed.
[0092] It is understandable that the imbalance of receiving orders will lead to uneven load in the workshop, and it is easy for nodes to complete processing ahead of the corresponding production scheduling time, resulting in waste of production capacity. In the embodiment of the present disclosure, by performing activation processing when the current remaining capacity is greater than the current load, the production capacity can be fully utilized.
[0093] In another embodiment of the present disclosure, the method further comprises:
[0094] S160. Count the load corresponding to the second preset node on the preset date according to the production scheduling results of all parts.
[0095] Specifically, the production scheduling result of a part is the planned start time and planned end time of a node obtained after standard scheduling or rolling scheduling of the part.
[0096] Specifically, the second preset node refers to any node that needs to be processed within a preset date.
[0097] Specifically, the preset date may be the day of the current production schedule, or any day after the current day.
[0098] In one example, the planned completion time of each part for each node is found, the parts are grouped according to the planned completion time, and the load of the second preset node of each day is counted.
[0099] S170. If the production capacity corresponding to the second preset node on the preset date is less than the load corresponding to the second preset node on the preset date, find a part that meets the preset capacity constraint condition as the capacity constraint part, and postpone the planned start time and planned end time of the capacity constraint node of the capacity constraint part, wherein the capacity constraint node is the second preset node and the node located after the second preset node in the production order.
[0100] Optionally, the preset capacity constraint condition is that the production scheduling level is the lowest and / or the planned completion time of the parts for the workshop phase is the latest.
[0101] In one example, for each second preset node that needs to be processed on a preset date, if the capacity of the second preset node on the preset date is less than the load on the preset date, the node planned completion time is postponed (i.e., capacity constraint processing). Specifically, if the capacity of the second preset node on the preset date is less than the load on the preset date, all product code information corresponding to the day when the capacity is exceeded is found, and all product codes are sorted according to the earliest planned completion time of all parts under them. The parts that exceed the capacity have a later planned completion time or a lower production scheduling level, and the planned completion time of the second preset node and subsequent nodes of the part can be postponed, and the second preset node is postponed for one day, and the subsequent nodes (determined according to the production scheduling route where the second preset node is located) are postponed with reference to the rolling production scheduling rules. If the time difference between the two nodes before and after the standard working time is 0, the subsequent node postponement time shall be based on the previous node. It should be noted that if there are multiple planned completion times for a node (such as casting and subsequent nodes), the latest planned completion time among multiple production scheduling routes is used as the basis for node capacity constraint.
[0102] It is understandable that through capacity constraint processing, the production scheduling results can be matched with the actual capacity, which can not only fully utilize the capacity but also reduce the risk that the actual capacity cannot afford the production scheduling plan.
[0103] Of course, the method may also include: holiday maintenance, that is, if there is a holiday between the planned start time and the planned end time of the node, the planned end time may be postponed according to the number of holidays. In this way, the production scheduling result can be more in line with the actual holiday situation.
[0104] Figure 3 is a schematic diagram of the structure of a production scheduling device provided by an embodiment of the present disclosure, and the production scheduling device can be understood as the above-mentioned electronic device or a part of the functional modules in the above-mentioned electronic device. Figure 3 As shown, the production scheduling device 300 includes:
[0105] A first acquisition module 310 is used to acquire a production scheduling model corresponding to a part in an order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node;
[0106] The first production scheduling module 320 is used to perform standard production scheduling on the part if the part does not have a current node on any production scheduling route, and obtain the planned start time and planned end time of the part for each node;
[0107] The second production scheduling module 330 is used to perform rolling production scheduling on the part if the part has a current node on at least one production scheduling route, and obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in the production order.
[0108] In another embodiment of the present disclosure, the device further includes a first determination module, configured to determine a process of a current node, wherein the first determination module may include:
[0109] A detection submodule, used to detect whether the part has an actual completion time for each node;
[0110] The first determination submodule is used to, for each production route in the production model corresponding to the part, use the last node with an actual completion time in the production route according to the production sequence as the current node on the production route.
[0111] In yet another embodiment of the present disclosure, the first production scheduling module 320 may include:
[0112] The second determination submodule is used to determine the planned duration of the part for the technical stage;
[0113] The third determination submodule is used to determine the planned construction period length of each technical data node of the part for the technical stage according to the planned construction period length of the part for the technical stage and the standard working time table;
[0114] The fourth determination submodule is used to determine the planned start time and the planned end time of the part for each technical data node according to the planned start time of the part for the technical stage and the planned duration length of the part for each technical data node;
[0115] The fifth determination submodule is used to determine the planned duration length of the part for the workshop stage;
[0116] The sixth determination submodule is used to determine the planned duration length of the part for each process node in the workshop stage according to the matching of the planned duration length of the part for the workshop stage and the standard working time table;
[0117] The seventh determination submodule is used to determine the planned start time and the planned end time of the part for each process node according to the planned start time of the part for the workshop stage and the planned duration length of the part for each process node.
[0118] In yet another embodiment of the present disclosure, the second determining submodule may include:
[0119] A first selection unit is used to select a part with the earliest planned end time for the technical stage from the part group to which the part belongs, and use it as a target part, wherein multiple parts in the part group correspond to the same technical data;
[0120] A first determining unit is used to determine the planned duration of the technical stage according to the planned start time and the planned end time of the technical stage for the target part;
[0121] The fifth determining submodule may include:
[0122] The second determining unit is used to determine the planned duration length of the part for the workshop stage according to the planned start time and the planned end time of the part for the workshop stage.
[0123] In another embodiment of the present disclosure, the second production scheduling module 330 may include:
[0124] An eighth determination submodule is used to determine, for each production route in the production model corresponding to the part, the remaining duration of the part corresponding to the production route according to the actual completion time of the current node on the production route and the planned completion time of the part;
[0125] The ninth determination submodule is used to determine the planned start time and the planned end time of each remaining node according to the remaining duration of the parts corresponding to the production route, the rolling timetable and the standard timetable.
[0126] In another embodiment of the present disclosure, the device also includes: a second determination module, which is used to select the latest planned end time from multiple planned end times obtained by standard scheduling for the remaining nodes as the planned end time of the remaining nodes if the remaining nodes are located in multiple scheduling routes.
[0127] In another embodiment of the present disclosure, the device further comprises:
[0128] A third determination module is used for the current remaining capacity and the current load corresponding to the first preset node;
[0129] The fourth determination module is used to find parts that meet the preset activation conditions as activation parts if the current remaining capacity is greater than the current load, and to advance the planned start time and planned end time of the activation parts for the first preset node.
[0130] In another embodiment of the present disclosure, the device further comprises:
[0131] A statistics submodule, used for counting the load corresponding to the second preset node on a preset date according to the production scheduling results of all parts;
[0132] The fifth determination module is used to find a part that meets the preset capacity constraint conditions as a capacity-constrained part if the production capacity corresponding to the second preset node on the preset date is less than the load corresponding to the second preset node on the preset date, and postpone the planned start time and planned end time of the capacity constraint node of the capacity-constrained part, wherein the capacity constraint node is the second preset node and the node located after the second preset node in the production order.
[0133] The device provided in this embodiment can execute the method of any of the above embodiments, and its execution method and beneficial effects are similar, which will not be repeated here.
[0134] An embodiment of the present disclosure further provides an electronic device, which includes: a memory, in which a computer program is stored; and a processor, for executing the computer program. When the computer program is executed by the processor, the method of any of the above embodiments can be implemented.
[0135] For example, Figure 4 Schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 4 , which shows a schematic diagram of the structure of an electronic device 400 suitable for implementing the embodiment of the present disclosure. The electronic device 400 in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0136] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0137] Typically, the following devices may be connected to the I / O interface 405: an input device 406 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 400 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0138] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0139] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0140] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0141] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0142] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: obtains a production scheduling model corresponding to the parts in the order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node;
[0143] If the part does not have a current node on any production scheduling route, standard scheduling is performed on the part to obtain the planned start time and planned end time of the part for each node;
[0144] If a part has a current node on at least one production scheduling route, the part is rolled over to obtain the planned start time and planned end time of the part for each remaining node, where the remaining nodes are the nodes that follow the current node in the production order.
[0145] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0146] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0147] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit does not, in some cases, limit the unit itself.
[0148] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0149] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0150] The embodiments of the present disclosure also provide a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method of any of the above embodiments can be implemented. The execution method and beneficial effects are similar and will not be repeated here.
[0151] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0152] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A production scheduling method, characterized in that: include: Obtaining a production scheduling model corresponding to the parts in the order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node; If the part does not have a current node on any of the production scheduling routes, perform standard production scheduling on the part to obtain the planned start time and planned end time of the part for each node; If the part has the current node on at least one of the production scheduling routes, rolling scheduling is performed on the part to obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in the production order.
2. The production scheduling method according to claim 1, characterized in that: The process of determining the current node includes: Detecting whether the part has an actual completion time for each of the nodes; For each of the production scheduling routes in the production scheduling model corresponding to the part, the last node with an actual completion time in the production sequence in the production scheduling route is used as the current node on the production scheduling route.
3. The production scheduling method according to claim 1, characterized in that: The step of performing standard production scheduling on the parts to obtain the planned start time and the planned end time of the parts for each node includes: Determine the planned duration of the part for the technical phase; Determine the planned construction period for each technical data node of the technical stage according to the planned construction period of the part for the technical stage and the standard working time table; Determine the planned start time and the planned end time of the part for each of the technical data nodes according to the planned start time of the part for the technical stage and the planned duration of the part for each of the technical data nodes; Determining the planned duration of the part for the workshop phase; According to the matching of the planned duration of the part for the workshop stage and the standard working time table, determining the planned duration of the part for each process node of the workshop stage; The planned start time and the planned end time of the part for each of the process nodes are determined according to the planned start time of the part for the workshop stage and the planned duration of the part for each of the process nodes.
4. The production scheduling method according to claim 3, characterized in that: Determining the planned duration of the part for the technical stage includes: Selecting, from the part group to which the part belongs, a part with the earliest planned end time for the technical stage and using it as a target part, wherein multiple parts in the part group correspond to the same technical data; Determining the planned duration of the technical stage according to the planned start time and the planned end time of the target part for the technical stage; Wherein, determining the planned duration of the part for the workshop stage includes: The planned duration of the part for the workshop stage is determined according to the planned start time and the planned end time of the part for the workshop stage.
5. The production scheduling method according to claim 1, characterized in that: The rolling production scheduling of the parts to obtain the planned start time and the planned end time of the parts for each remaining node includes: For each of the production scheduling routes in the production scheduling model corresponding to the part, determine the remaining duration of the part corresponding to the production scheduling route according to the actual completion time of the current node on the production scheduling route and the planned completion time of the part; The planned start time and the planned end time of each of the remaining nodes are determined according to the remaining construction period length, the rolling timetable and the standard timetable of the parts corresponding to the production scheduling route.
6. The production scheduling method according to claim 5, characterized in that: Also includes: If the remaining nodes are located in multiple production scheduling routes, the latest planned end time is selected from multiple planned end times obtained by standard production scheduling for the remaining nodes as the planned end time of the remaining nodes.
7. The method according to claim 1, characterized in that Also includes: Determine the current remaining capacity and current load corresponding to the first preset node; If the current remaining capacity is greater than the current load, parts that meet the preset activation conditions are searched as activation parts, and the planned start time and planned end time of the activation parts for the first preset node are advanced.
8. The method according to claim 1, characterized in that Also includes: Counting the load corresponding to the second preset node on the preset date according to the production scheduling results of all parts; If the production capacity corresponding to the second preset node on the preset date is less than the load corresponding to the second preset node on the preset date, find a part that meets the preset capacity constraint condition as the capacity constraint part, and postpone the planned start time and planned end time of the capacity constraint node of the capacity constraint part, wherein the capacity constraint node is the second preset node and the node located after the second preset node in the production order.
9. A production scheduling device, characterized in that: include: A first acquisition module is used to acquire a production scheduling model corresponding to a part in an order, wherein the production scheduling model includes at least one production scheduling route, and the production scheduling route includes at least one node; The first production scheduling module is used for performing standard production scheduling on the part if the part does not have a current node on any of the production scheduling routes, and obtaining the planned start time and the planned end time of the part for each node; The second production scheduling module is used to perform rolling production scheduling on the part if the part has the current node on at least one of the production scheduling routes, and obtain the planned start time and planned end time of the part for each remaining node, wherein the remaining nodes are nodes located after the current node in terms of production sequence.
10. An electronic device, characterized in that: include: A processor and a memory, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.