Automatic production scheduling method, device, electronic device and readable storage medium
By generating a rule indicator library and dynamically adjusting the production scheduling flow chart, the problem that the existing production scheduling system cannot match the on-site working conditions is solved, the availability and real-time nature of the production scheduling results are improved, and the dynamic adjustment of the production scheduling rules is realized.
Patent Information
- Application Number
- CN202210374351.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-11
- Publication Date
- 2024-12-24
- Estimated Expiration
- 2042-04-11
AI Technical Summary
When facing complex and multi-constrained production site and dynamic changes, the existing production scheduling system cannot continuously match the on-site working conditions, resulting in a far different production scheduling result from the manual production scheduling result and cannot meet the actual production needs.
By collecting on-site equipment data and indicator rule data, a rule index library is generated, and a production scheduling flow chart is generated based on importance settings and production scheduling rules, dynamically adjusting the production scheduling plan to ensure high availability of production scheduling results.
It improves the availability and real-timeness of production scheduling results, and can dynamically adjust the production scheduling configuration parameters according to the on-site working conditions, adjust the progress of processing objects in real time, and realize dynamic adjustment of production scheduling rules and procedures.
Smart Images

Figure CN114742406B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of production management, and in particular to an automatic production scheduling method, device, electronic device and readable storage medium. Background Art
[0002] With the rapid development of the economy, production enterprises have adopted production scheduling as an effective way to expand and develop production. Production scheduling is based on limited production capacity, and comprehensively considers the impact of multiple factors on production, such as the market, materials, production capacity, process flow, funds, management system, and employee behavior, and optimizes advanced planning and scheduling to obtain a reasonable and effective production plan. Due to the complex and multi-constrained production site, the complex production mode of multi-variety small batches, the dynamically changing production environment, the multi-variety mixed scheduling mode of lean production, etc., after the production scheduling system in the relevant technology is put into operation, it will not be able to be used continuously after a slight change in the on-site working conditions, or the production scheduling results cannot match the on-site working conditions, and the planned production scheduling results are far from the manual production scheduling results, which cannot meet the on-site working conditions.
[0003] In view of this, how to improve the availability of production scheduling results is a technical problem that technical personnel in the relevant field need to solve. Summary of the invention
[0004] The present application provides an automatic production scheduling method, device, electronic device and readable storage medium, which effectively improve the availability of production scheduling results.
[0005] To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
[0006] An embodiment of the present invention provides an automatic production scheduling method, including:
[0007] Generate a rule indicator library based on the on-site equipment data, indicator rule data and on-site process requirements collected in the production scheduling scenario;
[0008] In response to the importance setting instruction, automatically setting importance information for each indicator of the rule indicator library;
[0009] A production scheduling flowchart is generated based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, the processing object of the production plan to be scheduled is adjusted according to the production scheduling flowchart, and the adjusted production plan to be scheduled is output as the scheduling result.
[0010] Optionally, generating a production scheduling flowchart based on the type of the production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjusting the processing object of the production plan to be scheduled according to the production scheduling flowchart, and outputting the adjusted production plan to be scheduled as the production scheduling result, includes:
[0011] According to the processing information and index requirements, it is used to distinguish different types of process requirements and build an initial processing object library;
[0012] Based on the importance information of each indicator, sorting each processing object in the initial processing object library to generate a processing object library;
[0013] When the plan insertion conditions are met, the target plan is inserted into the current production plan to be scheduled as the target production plan to be scheduled;
[0014] A production scheduling flowchart is generated based on the processing object library and the production scheduling rules, and each processing object of the target production scheduling plan is adjusted according to the production scheduling flowchart.
[0015] Optionally, generating a production scheduling flowchart based on the processing object library and the production scheduling rules, and adjusting each processing object of the target production scheduling plan according to the production scheduling flowchart includes:
[0016] Based on the production scheduling rule, if the number of processing objects included in the target production schedule is less than a preset number threshold, the target processing objects obtained from the processing object library according to the transition rule are filled into the target production schedule;
[0017] Based on the production scheduling rule, if there are abnormal processing objects that do not meet the processing parameters in the target production schedule, then deleting each abnormal processing object from the target production schedule;
[0018] Based on the production scheduling rule, if the number of processing objects included in the target production plan to be scheduled is greater than a preset average number threshold, determine the total number of deleted objects according to the total number of processing objects included in the target production plan to be scheduled and the preset average number threshold, and delete a corresponding number of processing objects from the target production plan to be scheduled based on the total number of deleted objects;
[0019] Based on the production scheduling rule, if the number of processing objects included in the target production plan to be scheduled is greater than a first preset threshold, the target production plan to be scheduled is split into a plurality of sub-production plans to be scheduled;
[0020] Based on the production scheduling rule, if the number of processing objects included in the target production schedule is greater than a second preset threshold and there are processing objects that meet the compatibility condition, the target production schedule is not adjusted.
[0021] Optionally, the step of generating a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, and adjusting the processing object of the production plan to be scheduled according to the production scheduling flowchart, further includes:
[0022] Display the adjusted production schedule;
[0023] Get user verification instructions;
[0024] If the verification is successful, the step of outputting the adjusted production plan to be scheduled as the production scheduling result is executed;
[0025] If the verification fails, an instruction to readjust the production plan is output.
[0026] Optionally, generating a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rule, and adjusting the processing object of the production plan to be scheduled according to the production scheduling flowchart includes:
[0027] Sort each processing object based on the importance information of each indicator, take every two processing objects as a pair of processing objects, and generate matching mark information according to the judgment result of whether each pair of processing objects matches the current production scheduling rule;
[0028] Based on the matching mark information, for the same pair of processing objects, if the current pair of processing objects meets all the scheduling rules, then the current pair of processing objects is the scheduling processing object; if the current pair of processing objects does not meet all the scheduling rules, then the current pair of processing objects is not the scheduling processing object;
[0029] Delete the processing objects that are not scheduled processing objects in the production plan.
[0030] Another aspect of the present invention provides an automatic production scheduling device, including:
[0031] A rule base construction module is used to generate a rule index library based on the on-site equipment data, index rule data and on-site process requirements collected in the production scheduling scenario;
[0032] An importance setting module, used to respond to an importance setting instruction and automatically set importance information for each indicator in the rule indicator library;
[0033] The adjustment module is used to generate a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjust the processing objects of the production plan to be scheduled according to the production scheduling flowchart, and output the adjusted production plan to be scheduled as the scheduling result.
[0034] Optionally, the adjustment module is further used to: construct an initial processing object library in advance based on processing information and in accordance with indicator requirements to distinguish different types of process requirements; sort each processing object in the initial processing object library based on the importance information of each indicator to generate a processing object library; when the plan insertion conditions are met, insert the target plan into the current production plan to be scheduled as the target production plan to be scheduled; generate a scheduling flowchart based on the processing object library and scheduling rules, and adjust each processing object of the target production plan to be scheduled according to the scheduling flowchart.
[0035] Optionally, the adjustment module is further used to: based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is less than a preset number threshold, then the target processing objects obtained from the processing object library according to the transition rules are filled into the target production plan to be scheduled; based on the production scheduling rules, if there are abnormal processing objects that do not meet the processing parameters in the target production plan to be scheduled, then delete each abnormal processing object from the target production plan to be scheduled; based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is greater than a preset average number threshold, determine the total number of deleted objects based on the total number of processing objects included in the target production plan to be scheduled and the preset average number threshold, and delete the corresponding number of processing objects from the target production plan to be scheduled based on the total number of deleted objects.
[0036] An embodiment of the present invention further provides an electronic device, comprising a processor, wherein the processor is configured to implement the steps of the automatic production scheduling method as described in any of the preceding items when executing a computer program stored in a memory.
[0037] Finally, an embodiment of the present invention further provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the automatic production scheduling method as described in any of the preceding items are implemented.
[0038] The advantage of the technical solution provided in the present application is that a digital indicator rule library is formed based on the collection of on-site equipment data and indicator rule data. Based on the digital indicator rule library, the production scheduling configuration parameters can be dynamically adjusted according to the on-site working conditions. At the same time, the progress of the processing object can be adjusted in real time in combination with the current production scheduling rules, thereby realizing dynamic adjustment of the production scheduling rule process, thereby effectively improving the high availability of the production scheduling results.
[0039] In addition, the embodiment of the present invention also provides a corresponding implementation device, electronic device and readable storage medium for the automatic production scheduling method, which further makes the method more practical, and the device, electronic device and readable storage medium have corresponding advantages.
[0040] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0042] Figure 1 A schematic diagram of a flow chart of an automatic production scheduling method provided by an embodiment of the present invention;
[0043] Figure 2 A schematic flow chart of another automatic production scheduling method provided by an embodiment of the present invention;
[0044] Figure 3 A schematic diagram of a rule comprehensive determination matrix provided by an embodiment of the present invention;
[0045] Figure 4 A structural diagram of a specific implementation of the automatic production scheduling device provided in an embodiment of the present invention;
[0046] Figure 5 A structural diagram of a specific implementation of an electronic device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0047] In order to enable those skilled in the art to better understand the scheme of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0048] The terms "first", "second", "third", "fourth", etc. in the specification and claims of this application and the above drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0049] After introducing the technical solutions of the embodiments of the present invention, various non-limiting implementation methods of the present application are described in detail below.
[0050] See first Figure 1 , Figure 1 A flowchart of an automatic production scheduling method provided by an embodiment of the present invention is provided. The embodiment of the present invention may include the following contents:
[0051] S101: Generate a rule indicator library based on the on-site equipment data, indicator rule data and on-site process requirements collected in the production scheduling scenario.
[0052] In this step, the production scenario to be scheduled is the application scenario applicable to the production plan to be scheduled, and is adapted to the factory's production scheduling business based on rules and constraints, such as the continuous annealing and pickling production lines that can produce cold-rolled products. On-site equipment data may include parameters and operating status information of equipment performing processing operations, and indicator rule data may include management indicators, equipment indicators, production indicators, etc. in the production and processing process, and some production rules and scheduling rules in the production and processing process. This step can be carried out through on-site processing technology such as rolling process requirements, combined with the experience of production scheduling experts in the production scheduling process, data cleaning and assembly of processing technology requirements, influencing factors, and indicators, and digital management of management indicators, equipment indicators, rule indicators, and production indicators. A digital rule indicator library is organized, which may include single indicators and composite indicators; single indicators may be, for example, length, width, thickness, temperature, and speed transition requirements; composite indicators may be, for example, importance levels, combined temperature, hardness, production line requirements, and coil diameter requirements; the combined temperature is a combination of the furnace entry temperature, furnace exit temperature, and temperatures at different positions of the heating furnace; the hardness combination is synthesized based on carbon content, temperature, and P-containing components; the importance level is a combination of multiple factors such as contract urgency, customer importance, and urging for delivery.
[0053] S102: In response to the importance setting instruction, automatically set importance information for each indicator in the rule indicator library.
[0054] In this step, we can combine the process, production scheduling and other expert experience to score different single indicators in the rule indicator library. The score is the importance information of the indicator. The value range of the single indicator score is α∈[0,100], and the value range of the composite indicator score is β∈[0,100]. For composite indicators, J is the number of composite indicators, which can be obtained by Calculate the score of the composite index Calculate the j-th composite index score β j , j∈[1,J],α i is the score of the i-th single indicator, i∈[1,I], I is the number of single indicators required to form a composite indicator, p is the single indicator contribution weight, p∈[0,1], For ease of use, β j Sort by importance and form the indicator importance table P.
[0055] S103: Generate a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjust the processing objects of the production plan to be scheduled according to the production scheduling flowchart, and output the adjusted production plan to be scheduled as the production scheduling result.
[0056] In this step, the production schedule to be scheduled can be classified according to the processing technology. The types of production schedules to be scheduled may include ordinary plans and transition plans. The ordinary plan is a plan for producing ordinary processing objects, and the transition plan is a plan for producing special processing objects and processing objects that meet special rules. When the formal plan material transitions, or the processing technology requirements cannot meet the transition requirements, the transition plan is inserted into the formal plan. When the quantity requirements are not met, the two plans can be connected through the transition plan. Under the premise of meeting the requirements, materials can be inserted into a formal plan through rebound and special rules to make the plan as long as possible. For example, the ordinary plan is a plan for producing ordinary continuous rolling materials, and the transition plan is a plan for producing highly flexible rolling materials and materials that meet special rules. When the formal plan material transitions, or the rolling requirements cannot meet the transition requirements, the transition plan is inserted into the formal plan. The production scheduling rules include the total number of processing objects included in a certain production scheduling task, the processing order of each processing object, the processing technology requirements, and the parameters of the processing object such as length and weight. The adjustment in this step may include deleting the processing objects that do not meet the production scheduling rules or deleting the processing objects that exceed the specified value from the production schedule, and also includes adding new processing objects from the material library to the production schedule. The adjusted production schedule is output as the final production schedule.
[0057] In the technical solution provided by the embodiment of the present invention, a digital indicator rule library is formed based on the collection of on-site equipment data and indicator rule data. Based on the digital indicator rule library, the production scheduling configuration parameters can be dynamically adjusted according to the on-site working conditions. At the same time, the progress of the processing object can be adjusted in real time in combination with the current production scheduling rules, thereby realizing dynamic adjustment of the production scheduling rule process, thereby effectively improving the high availability of the production scheduling results.
[0058] It should be noted that there is no strict order of execution between the steps in this application. As long as they comply with the logical order, these steps can be executed simultaneously or in a certain preset order. Figure 1 This is just a schematic and does not mean that this is the only execution order.
[0059] In the above embodiment, there is no limitation on how to execute step S103. In this embodiment, an optional implementation method for dynamically adjusting the production plan to be scheduled is provided, that is, a production scheduling flowchart is generated based on the type of the production plan to be scheduled, the importance information of each indicator and the production scheduling rule, the processing object of the production plan to be scheduled is adjusted according to the production scheduling flowchart, and the process of outputting the adjusted production plan to be scheduled as the production scheduling result may include the following contents:
[0060] According to the processing information and index requirements, it is used to distinguish different types of process requirements and build an initial processing object library;
[0061] Based on the importance information of each indicator, sort the processing objects in the initial processing object library to generate a processing object library;
[0062] When the plan insertion conditions are met, the target plan is inserted into the current production plan to be scheduled as the target production plan to be scheduled;
[0063] Based on the processing object library and production scheduling rules, adjust the processing objects of the target production scheduling plan.
[0064] The process of adjusting each processing object of the target production scheduling plan based on the processing object library and the production scheduling rules may include:
[0065] Based on the production scheduling rules, if the number of processing objects included in the target production schedule is less than the preset number threshold, the target processing objects obtained from the processing object library according to the transition rules are filled into the target production schedule;
[0066] Based on the production scheduling rules, if there are abnormal processing objects that do not meet the processing parameters in the target production schedule, then the abnormal processing objects are deleted from the target production schedule;
[0067] Based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is greater than the preset average number threshold, the total number of deleted objects is determined according to the total number of processing objects included in the target production plan to be scheduled and the preset average number threshold, and the corresponding number of processing objects is deleted from the target production plan to be scheduled based on the total number of deleted objects;
[0068] Based on the production scheduling rule, if the number of processing objects included in the target production plan to be scheduled is greater than a first preset threshold, the target production plan to be scheduled is split into multiple sub-production plans to be scheduled;
[0069] Based on the production scheduling rule, if the number of processing objects included in the target production plan to be scheduled is greater than the second preset threshold, and there are processing objects that meet the compatibility condition, the target production plan to be scheduled is not adjusted.
[0070] In this embodiment, the preset number threshold, the preset average number threshold, the first preset threshold, and the second preset threshold can be flexibly selected according to actual conditions. The compatibility condition refers to the judgment condition of whether the processing object of this type can be used for other production plans at the same time. The contract and processing object information can be collected first, and different types of process requirements can be distinguished according to the index requirements to form an initial processing object library MT; according to the order of importance in the P table, the processing objects in the initial processing object library MT are sorted as a whole, and the initial processing object library MT is updated to obtain the final processing object library. According to the production plan transition rule, the plan type is divided into ordinary plan and transition plan. When the processing object of the formal plan transitions, or the processing technology requirements cannot meet the transition requirements, the transition plan is inserted into the formal plan. If the number of processing objects in the model automatic production scheduling plan is too small and does not meet the production scheduling rules such as length and weight, all processing objects in the processing object library are traversed, and the processing object filling plan is added according to the transition rule, or the balance plan is deleted to delete the redundant processing objects. Specifically, if the number of processing objects such as materials included in the target production scheduling plan is small, the processing objects are supplemented based on the transition rule or the jump rule. If the weight, length or other processing parameters of a processing object in the target production schedule do not meet the requirements, it is considered to be an abnormal processing material and will be deleted. If based on the balance requirement, each production schedule requires 10 materials to be processed (10 is the preset average number threshold), if it exceeds 10, the excess processing objects will be deleted. When the exclusion plan can directly meet the requirements and there are excess processing objects, production will continue to be scheduled to form multiple plans. When the production schedule meets the requirements and the excess processing objects such as materials can be used for other plans, that is, such materials are similar to general materials and can also be retained. Taking the processing object as the material, combined with Figure 2 As shown, this embodiment can collect contract and material information, distinguish different types of process requirements such as finished product requirements, roller surface requirements, product requirements, roller requirements, coil diameter requirements, and specification distinction according to index requirements, and at the same time, sort the materials from wide to narrow according to width to form a pool to form a material library MT; sort the materials in the material library as a whole according to the order of importance in the P table, and update the material library MT; according to the production plan transition rules, such as production line rules, width rules, surface rules, coil diameter rules, thickness rules, hardness rules, temperature rules, width rule transition, thickness rule transition, hardness rule transition, temperature rule transition, etc., the plan type is divided into ordinary plan and transition plan. The ordinary plan is a plan for producing ordinary continuous rolling materials, and the transition plan is a plan for producing highly flexible rolling materials and materials that meet special rules. When the formal plan material transitions, or the rolling requirements cannot meet the transition requirements, the transition plan is inserted into the formal plan. If the number of materials in the model automatic scheduling plan is too small and does not meet the length and weight requirements, all materials in the library are traversed, and the material filling plan is added according to the transition rule, or the balance plan is deleted. Redundant materials.
[0071] In order to improve the high availability of the final output production schedule, based on the above embodiment, after generating a production schedule flowchart based on the type of production schedule, the importance information of each indicator and the production schedule rules, and adjusting the processing object of the production schedule according to the production schedule flowchart, it also includes: displaying the adjusted production schedule; obtaining user verification instructions; if the verification is successful, executing the step of outputting the adjusted production schedule as the production schedule result; if the verification is unsuccessful, outputting instructions for re-adjusting the production plan.
[0072] Of course, in this embodiment, the production schedule of the adjusted processing object can also be model-checked. The model can be a pre-built model. Through model verification or manual verification, if the plan is confirmed to be correct, the production plan will be issued, otherwise the rules will be re-matched.
[0073] Further, based on the above embodiment, this embodiment also provides a method for determining whether a processing object complies with a production scheduling rule, which may include the following contents:
[0074] Sort each processing object based on the importance information of each indicator, take every two processing objects as a pair of processing objects, and generate matching mark information according to the judgment result of whether each pair of processing objects matches the current production scheduling rule;
[0075] Based on the matching tag information, for the same pair of processing objects, if the current pair of processing objects meets all the scheduling rules, then the current pair of processing objects is the scheduling processing object; if the current pair of processing objects does not meet all the scheduling rules, then the current pair of processing objects is not the scheduling processing object;
[0076] Delete the processing objects that are not scheduled processing objects in the production plan.
[0077] In this embodiment, the processing object is taken as the material, and the matching judgment method between the processing object and the production scheduling rule can be realized by formulating a comprehensive judgment matrix. Figure 3 As shown, the matrix A can be generated according to the material sorting in the material library MT. k =[a m*n ], a m*n is a null value, a m*n Represents the cell where the mth material intersects the nth material, A k is an N-order square matrix, that is, the compliance matrix of the k-th rule, k∈[1,K], K is the total number of rules, N is the total number of materials; judge a m*n Do the two corresponding materials match the current production scheduling rules? If yes, then cell a m*n Equal to the match mark, which can be represented by 0, that is, a m*n =0, if not, then a m*n Equal to the non-compliant mark, which can be represented by 1, i.e. a m*n=1; After marking all materials according to the above method, generate a set A of all rule-compliant matrices, A = {A k}, merge the matrices in A according to the logic and rules to form a comprehensive judgment matrix B, which is an N-order square matrix, B = [b m*n ], b m*n represents the cell where the mth material intersects with the nth material, b m*n =a 1 m*n &a 2 m*n &...&a t m*n &...&a N m*n , & represents the AND operator, a t m*n It is the cell where the m-th material and the n-th material of the t-th rule intersect, that is, if the corresponding cells in the two matrices participating in the operation are both compliant, the value is compliant, otherwise it does not comply. If it does not comply, the material is deleted, and the remaining materials are all the materials that meet the rules.
[0078] The embodiment of the present invention also provides a corresponding device for the automatic production scheduling method, which further makes the method more practical. The device can be described from the perspective of functional modules and hardware. The automatic production scheduling device provided by the embodiment of the present invention is introduced below. The automatic production scheduling device described below and the automatic production scheduling method described above can be referred to each other.
[0079] From the perspective of functional modules, see Figure 4 , Figure 4 A structural diagram of an automatic production scheduling device provided in an embodiment of the present invention in a specific implementation manner, the device may include:
[0080] A rule base construction module 401 is used to generate a rule index library according to the field equipment data, index rule data and field process requirements collected in the production scheduling scene;
[0081] The importance setting module 402 is used to respond to the importance setting instruction and automatically set the importance information for each indicator in the rule indicator library;
[0082] The adjustment module 403 is used to generate a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjust the processing objects of the production plan to be scheduled according to the production scheduling flowchart, and output the adjusted production plan to be scheduled as the scheduling result.
[0083] Optionally, in some implementations of the present embodiment, the above-mentioned adjustment module 403 can be used to: construct an initial processing object library in advance according to processing information and indicator requirements to distinguish different types of process requirements; sort the processing objects in the initial processing object library based on the importance information of each indicator to generate a processing object library; when the plan insertion conditions are met, insert the target plan into the current production plan to be scheduled as the target production plan to be scheduled; based on the processing object library and scheduling rules, adjust the processing objects of the target production plan to be scheduled.
[0084] As an optional implementation of the above embodiment, the above adjustment module 403 can also be used for: based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is less than the preset number threshold, the target processing objects obtained from the processing object library according to the transition rules are filled into the target production plan to be scheduled; based on the production scheduling rules, if there are abnormal processing objects that do not meet the processing parameters in the target production plan to be scheduled, then delete each abnormal processing object from the target production plan to be scheduled; based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is greater than the preset average number threshold, determine the total number of deleted objects according to the total number of processing objects included in the target production plan to be scheduled and the preset average number threshold, and delete the corresponding number of processing objects from the target production plan to be scheduled based on the total number of deleted objects; based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is greater than the first preset threshold, the target production plan to be scheduled is split into multiple sub-production plans to be scheduled; based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is greater than the second preset threshold, and there are processing objects that meet the compatibility conditions, then the target production plan to be scheduled is not adjusted.
[0085] Optionally, in some other implementations of the present embodiment, the above-mentioned adjustment module 403 can be further used to: sort each processing object based on the importance information of each indicator, regard every two processing objects as a pair of processing objects, and generate matching mark information according to the judgment result of whether each pair of processing objects matches the current scheduling rules; based on the matching mark information, for the same pair of processing objects, if the current pair of processing objects meets all the scheduling rules, then the current pair of processing objects is the scheduling processing object; if the current pair of processing objects does not meet all the scheduling rules, then the current pair of processing objects is not the scheduling processing object; delete the processing objects that are not the scheduling processing objects in the production plan to be scheduled.
[0086] Optionally, in some other implementations of the present embodiment, the above-mentioned device may also include a verification module, for example, for displaying the adjusted production plan to be scheduled; obtaining a user verification instruction; if the verification is successful, executing the step of outputting the adjusted production plan to be scheduled as the production scheduling result; if the verification is unsuccessful, outputting an instruction to re-adjust the production plan.
[0087] The functions of the functional modules of the automatic production scheduling device described in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0088] It can be seen from the above that the embodiments of the present invention can effectively improve the availability of production scheduling results.
[0089] The automatic production scheduling device mentioned above is described from the perspective of functional modules. Furthermore, the present application also provides an electronic device, which is described from the perspective of hardware. Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application in one implementation manner. Figure 5 As shown, the electronic device includes a memory 50 for storing a computer program; and a processor 51 for implementing the steps of the automatic production scheduling method mentioned in any of the above embodiments when executing the computer program.
[0090] Among them, the processor 51 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the processor 51 may also be a controller, a microcontroller, a microprocessor or other data processing chip. The processor 51 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 51 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 51 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 51 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.
[0091] The memory 50 may include one or more computer-readable storage media, which may be non-transitory. The memory 50 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices and flash storage devices. The memory 50 may be an internal storage unit of an electronic device in some embodiments, such as a hard disk of a server. The memory 50 may also be an external storage device of an electronic device in other embodiments, such as a plug-in hard disk equipped on a server, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), etc. Further, the memory 50 may also include both an internal storage unit of an electronic device and an external storage device. The memory 50 may not only be used to store application software and various types of data installed in the electronic device, such as: the code of the program for executing the vulnerability processing method, etc., but may also be used to temporarily store data that has been output or is to be output. In this embodiment, the memory 50 is at least used to store the following computer program 501, wherein, after the computer program is loaded and executed by the processor 51, the relevant steps of the automatic production scheduling method disclosed in any of the aforementioned embodiments can be implemented. In addition, the resources stored in the memory 50 may also include an operating system 502 and data 503, and the storage method may be temporary storage or permanent storage. The operating system 502 may include Windows, Unix, Linux, etc. The data 503 may include but is not limited to data corresponding to the automatic production scheduling results.
[0092] In some embodiments, the electronic device may further include a display screen 52, an input / output interface 53, a communication interface 54 or a network interface, a power supply 55 and a communication bus 56. Among them, the display screen 52 and the input / output interface 53 such as a keyboard belong to the user interface, and the optional user interface may also include a standard wired interface, a wireless interface, etc. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode) touch device, etc. The display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface. The communication interface 54 may optionally include a wired interface and / or a wireless interface, such as a WI-FI interface, a Bluetooth interface, etc., which is usually used to establish a communication connection between the electronic device and other electronic devices. The communication bus 56 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 5 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0093] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than those shown in the figure, for example, it may also include a sensor 57 for realizing various functions.
[0094] The functions of the functional modules of the electronic device described in the embodiment of the present invention can be specifically implemented according to the method in the above method embodiment. The specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.
[0095] It can be seen from the above that the embodiments of the present invention can effectively improve the availability of production scheduling results.
[0096] It is understandable that if the automatic production scheduling method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), electrically erasable programmable ROM, register, hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, removable disk, CD-ROM, magnetic disk or optical disk, etc. Various media that can store program codes.
[0097] Based on this, an embodiment of the present invention further provides a readable storage medium storing a computer program, and when the computer program is executed by a processor, the steps of the automatic production scheduling method described in any of the above embodiments are performed.
[0098] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the hardware disclosed in the embodiments, including devices and electronic devices, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part.
[0099] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0100] The above is a detailed introduction to an automatic production scheduling method, device, electronic device and readable storage medium provided by the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.
Claims
1. An automatic production scheduling method, characterized in that: include: Generate a rule indicator library based on the on-site equipment data, indicator rule data and on-site process requirements collected in the production scheduling scenario; In response to the importance setting instruction, automatically setting importance information for each indicator of the rule indicator library; Generate a production scheduling flow chart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjust the processing objects of the production plan to be scheduled according to the production scheduling flow chart, and output the adjusted production plan to be scheduled as the production scheduling result; The step of generating a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, and adjusting the processing object of the production plan to be scheduled according to the production scheduling flowchart includes: Sort each processing object based on the importance information of each indicator, take every two processing objects as a pair of processing objects, and generate matching mark information according to the judgment result of whether each pair of processing objects matches the current production scheduling rule; Based on the matching mark information, for the same pair of processing objects, if the current pair of processing objects meets all the scheduling rules, then the current pair of processing objects is the scheduling processing object; if the current pair of processing objects does not meet all the scheduling rules, then the current pair of processing objects is not the scheduling processing object; Delete the processing objects that are not scheduled processing objects in the production plan to be scheduled; The method of generating a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjusting the processing object of the production plan to be scheduled according to the production scheduling flowchart, and outputting the adjusted production plan to be scheduled as the production scheduling result includes: According to the processing information and index requirements, it is used to distinguish different types of process requirements and build an initial processing object library; Based on the importance information of each indicator, sorting each processing object in the initial processing object library to generate a processing object library; When the plan insertion conditions are met, the target plan is inserted into the current production plan to be scheduled as the target production plan to be scheduled; A production scheduling flowchart is generated based on the processing object library and the production scheduling rules, and each processing object of the target production scheduling plan is adjusted according to the production scheduling flowchart.
2. The automatic production scheduling method according to claim 1, characterized in that: The step of generating a production scheduling flowchart based on the processing object library and the production scheduling rules, and adjusting each processing object of the target production scheduling plan according to the production scheduling flowchart includes: Based on the production scheduling rule, if the number of processing objects included in the target production schedule is less than a preset number threshold, the target processing objects obtained from the processing object library according to the transition rule are filled into the target production schedule; Based on the production scheduling rule, if there are abnormal processing objects that do not meet the processing parameters in the target production schedule, then deleting each abnormal processing object from the target production schedule; Based on the production scheduling rule, if the number of processing objects included in the target production plan to be scheduled is greater than a preset average number threshold, determine the total number of deleted objects according to the total number of processing objects included in the target production plan to be scheduled and the preset average number threshold, and delete a corresponding number of processing objects from the target production plan to be scheduled based on the total number of deleted objects; Based on the production scheduling rule, if the number of processing objects included in the target production plan to be scheduled is greater than a first preset threshold, the target production plan to be scheduled is split into a plurality of sub-production plans to be scheduled; Based on the production scheduling rule, if the number of processing objects included in the target production schedule is greater than a second preset threshold and there are processing objects that meet the compatibility condition, the target production schedule is not adjusted.
3. The automatic production scheduling method according to claim 2, characterized in that: The method further comprises: generating a production scheduling flowchart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, and adjusting the processing objects of the production plan to be scheduled according to the production scheduling flowchart. Display the adjusted production schedule; Get user verification instructions; If the verification is successful, the step of outputting the adjusted production plan to be scheduled as the production scheduling result is executed; If the verification fails, an instruction to readjust the production plan is output.
4. An automatic production scheduling device, characterized in that: include: A rule base construction module is used to generate a rule index library based on the on-site equipment data, index rule data and on-site process requirements collected in the production scheduling scenario; An importance setting module, used to respond to an importance setting instruction and automatically set importance information for each indicator in the rule indicator library; An adjustment module is used to generate a production scheduling flow chart based on the type of production plan to be scheduled, the importance information of each indicator and the production scheduling rules, adjust the processing objects of the production plan to be scheduled according to the production scheduling flow chart, and output the adjusted production plan to be scheduled as the production scheduling result; Wherein, the adjustment module is further used for: Sort each processing object based on the importance information of each indicator, take every two processing objects as a pair of processing objects, and generate matching mark information according to the judgment result of whether each pair of processing objects matches the current production scheduling rule; Based on the matching mark information, for the same pair of processing objects, if the current pair of processing objects meets all the scheduling rules, then the current pair of processing objects is the scheduling processing object; if the current pair of processing objects does not meet all the scheduling rules, then the current pair of processing objects is not the scheduling processing object; Delete the processing objects that are not scheduled processing objects in the production plan to be scheduled; Among them, the adjustment module is further used to: construct an initial processing object library in advance according to processing information and indicator requirements to distinguish different types of process requirements; sort the processing objects in the initial processing object library based on the importance information of each indicator to generate a processing object library; when the plan insertion conditions are met, insert the target plan into the current production plan to be scheduled as the target production plan to be scheduled; generate a production scheduling flowchart based on the processing object library and scheduling rules, and adjust the processing objects of the target production plan to be scheduled according to the production scheduling flowchart.
5. The automatic production scheduling device according to claim 4, characterized in that: The adjustment module is further used for: based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is less than a preset number threshold, the target processing objects obtained from the processing object library according to the transition rules are filled into the target production plan to be scheduled; based on the production scheduling rules, if there are abnormal processing objects that do not meet the processing parameters in the target production plan to be scheduled, then delete each abnormal processing object from the target production plan to be scheduled; based on the production scheduling rules, if the number of processing objects included in the target production plan to be scheduled is greater than a preset average number threshold, determine the total number of deleted objects according to the total number of processing objects included in the target production plan to be scheduled and the preset average number threshold, and delete the corresponding number of processing objects from the target production plan to be scheduled based on the total number of deleted objects.
6. An electronic device, characterized in that: It comprises a processor and a memory, wherein the processor is used to implement the steps of the automatic production scheduling method as claimed in any one of claims 1 to 3 when executing the computer program stored in the memory.
7. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the automatic production scheduling method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Production scheduling method, equipment, device and storage medium
CN113393092A
