Production plan generation method and device, equipment and medium
Through automated generation of production plans, combined with production order information, processing work hours and production scheduled data, the unreasonable allocation of production tasks caused by manual production plans is solved, and more efficient and stable production plans are achieved.
Patent Information
- Application Number
- CN202411815864.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-05-13
AI Technical Summary
In the prior art, the production plan formulation of production orders mainly relies on manual labor, resulting in unreasonable allocation of production tasks and unstable production efficiency and quality.
By obtaining product information and production information in production orders, the target production line of the target product is generated, the processing time on each production process is determined, and the production plan is automatically generated based on the production schedule data and constraints.
It realizes automated production scheduling, reduces dependence on labor, simplifies production scheduling process, improves production plan formulation efficiency, and ensures the feasibility and resource utilization of production plans.
Smart Images

Figure CN119990568A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of production planning, and in particular to a production plan generating method, device, equipment and medium. Background Art
[0002] At present, production planning for production orders is usually done manually, mainly by schedulers using Excel spreadsheets to schedule production manually based on production information such as delivery date, specification process, etc. However, due to the different skills and experience levels of personnel, making production plans based solely on manual experience may fail to reasonably allocate production tasks, resulting in unstable production efficiency and quality. Summary of the invention
[0003] The present invention provides a production plan generation method, device, computer equipment and medium to solve the technical problem that due to different technical and experience levels of personnel, the production plan formulated only by manual experience may fail to reasonably allocate production tasks, resulting in unstable production efficiency and quality.
[0004] In a first aspect, a production plan generation method is provided, comprising:
[0005] Obtain product information and production information of the target product to be produced in the production order, wherein the production information includes the production quantity and production period of the target product;
[0006] Based on the product information, a target production line of the target product is generated, wherein the target production line includes multiple production processes;
[0007] Based on the target production line, determine the processing hours required for each production process of the target product;
[0008] Based on the target production line, determine the scheduled production data and multiple constraints within the production period;
[0009] Generate a production plan for the target product based on the target production line, processing hours, scheduled data, and multiple constraints.
[0010] In a second aspect, a production plan generating device is provided, comprising:
[0011] An acquisition module is used to acquire product information and production information of a target product to be produced in a production order, wherein the production information includes a production quantity and a production period of the target product;
[0012] A first generating module is used to generate a target production line of a target product based on product information, wherein the target production line includes multiple production processes;
[0013] The first determination module is used to determine the processing hours required for each production process of the target product based on the target production line;
[0014] The second determination module is used to determine the scheduled production data and multiple constraints within the production period based on the target production line;
[0015] The second generation module is used to generate a production plan for the target product based on the target production line, processing hours, scheduled production data and multiple constraints.
[0016] In a third aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned production plan generating method when executing the computer program.
[0017] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned production plan generation method are implemented.
[0018] In the scheme implemented by the above-mentioned production plan generation method, device, computer equipment and storage medium, first, based on the product information of the target product to be produced in the production order, the target production line of the target product is formulated to determine the multiple production processes of the target product in the production process, and estimate the processing time of the target product in each production process. Afterwards, the scheduled production data and multiple constraints of the multiple production processes in the production period are obtained, and finally the production plan of the target product is generated based on the target production line, processing time, scheduled production data and multiple constraints. The above-mentioned technical scheme is adopted to realize automated production scheduling, reduce the dependence on manual labor and workload in the process of production planning, simplify the production scheduling process, and improve the efficiency of production planning. In addition, the production scheduling is realized by combining the processing time of the order with the factory's scheduled production data and constraints, comprehensively considering factors such as time requirements, resource availability and production capacity in the production process, and ensuring the feasibility of the production plan and resource utilization. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0020] Figure 1 is a schematic diagram of an application environment of a production plan generation method in one embodiment of the present invention;
[0021] Figure 2 is a flow chart of a method for generating a production plan in one embodiment of the present invention;
[0022] Figure 3 yes Figure 2 A schematic flow chart of a specific implementation of step S10;
[0023] Figure 4 A sales order on an operation panel of an electronic device in one embodiment of the present invention is converted into a production order display diagram;
[0024] Figure 5 It is a schematic diagram of a production plan in one embodiment of the present invention;
[0025] Figure 6 is a bar diagram of a production plan in one embodiment of the present invention;
[0026] Figure 7 is a structural schematic diagram of a production plan generating device in one embodiment of the present invention;
[0027] Figure 8 is a schematic diagram of a structure of a computer device in one embodiment of the present invention;
[0028] Fig. 9 It is another structural schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0029] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] The production plan generation method provided by the embodiment of the present invention can be applied in Figure 1In the application environment, the client communicates with the server through the network. The manager inputs the production order through the client, and the server extracts the product information and production information of the target product to be produced in the production order from the client. Based on the product information of the target product to be produced in the production order, the target production line of the target product is formulated to determine the multiple production processes of the target product in the production process, and the processing time of the target product in each production process is estimated. After that, the scheduled production data and multiple constraints of the multiple production processes in the production period are obtained, and finally the production plan of the target product is generated based on the target production line, processing time, scheduled production data and multiple constraints. The above technical solution is adopted to realize automatic production scheduling, reduce the dependence on manual labor and workload in the production plan formulation process, simplify the production scheduling process, and improve the efficiency of production plan formulation. In addition, the production scheduling is realized by combining the processing time of the order with the factory's scheduled production data and constraints, and comprehensively considering factors such as time demand, resource availability and production capacity in the production process to ensure the feasibility of the production plan and resource utilization. Among them, the client can be but not limited to various personal computers, laptops, smart phones, tablets and portable wearable devices. The server side can be implemented by an independent server or a server cluster composed of multiple servers. The present invention is described in detail below through specific embodiments.
[0031] See also Figure 2 As shown, Figure 2 A flowchart of a production plan generation method provided by an embodiment of the present invention includes the following steps:
[0032] S10: Obtain product information and production information of the target product to be produced in the production order;
[0033] Among them, the production information includes the production quantity and production period of the target product.
[0034] The production plan generation method provided by the present invention can be applied to assembly production scenarios. Specifically, in the process of formulating a production plan for a production order, the target product to be produced contained in the production order is obtained. It should be noted that the target product is an assembly product, that is, it needs to be combined and assembled through multiple parts or components during the production process to finally form a complete functional product. The target product can be any line of products in the production order, or multiple lines of products. The staff can select one or more lines of products in the production order as the target product based on the production plan and formulate a production plan.
[0035] Optionally, the production information of the target product includes production quantity and production period.
[0036] In one embodiment of the present application, Figure 3As shown, a specific solution for obtaining the production information and product information of the target product is provided. In S10, the product information and production information of the target product to be produced in the production order are obtained, which specifically includes the following steps S11-S16:
[0037] S11: In response to the production plan generation request, obtaining a sales order included in the production plan generation request;
[0038] S12: based on the preset order conversion rules, convert the sales order into a production order;
[0039] For steps S11-S12, after the company's staff signs a sales order with the customer, they need to determine the number of products that need to be produced based on the number of goods in the sales order and schedule production for them. However, the order content of the sales order focuses more on business and external needs. If production scheduling is performed directly based on sales order information, it may lead to problems such as unreasonable allocation of production resources and inflexible production plans. In order to better coordinate the relationship between sales and production and ensure the rationality of the final production plan, when a production plan needs to be formulated, the sales order is first converted into a production order that focuses on production organization, and then production scheduling is performed based on the order information in the production order to optimize the production process and improve overall production efficiency. Specifically, after receiving a production plan generation request, the sales order included in the request is obtained, and the sales order is converted into a production order based on pre-set order conversion rules.
[0040] Optionally, the preset order conversion rules include a data mapping relationship between sales orders and production orders. In the process of formulating the order conversion rules, the product-related data to be converted (such as product code, quantity, production delivery date, sales delivery date, etc.) and the data format correspondence between the data to be converted in the sales order and the production order are determined, and then the preset order conversion rules are constructed based on the data to be converted and its format correspondence.
[0041] In actual application scenarios, sales orders generally come from ERP (Enterprise Resource Planning) systems and MES (Manufacturing Execution System) systems. Sales orders focus more on business and external needs, while production orders focus on production organization. Taking the MES system as an example, the sales order mentioned in the system refers to the sales order line, and the production order is also converted based on the sales order behavior. Sales-production conversion refers to the transfer of fields required for production and manufacturing (such as product code, quantity, production delivery date, sales delivery date, etc.), and fields not related to production (such as customer contact information, payment method, freight bearer, etc.) are not transferred. Specifically, the staff clicks on one or more rows in the sales order table on the client interface, and then clicks the "Order Conversion" button above the table to complete the conversion of sales orders to production orders, and modify the sales order status according to the converted quantity. In addition, select the sales order line and click the "Undo Conversion" button above the table to cancel all converted production orders and modify the sales order behavior to the initial conversion. If Figure 4 As shown, a sales order on the operation panel of an electronic device is converted into a production order display diagram. A standard order scheduling button is set on the operation panel of the electronic device that executes the production plan generation method of this scheme, or a standard order scheduling button is displayed on the display interface of the electronic device. When a staff member clicks the order scheduling button or button, a production plan production request is generated in response to the staff member's click operation. After the server obtains the production plan generation request, a production plan for the production order is formulated.
[0042] S13: Obtain product information, product delivery date, product delivery quantity, and order creation date of the target product in the production order;
[0043] S14: Obtain the product inventory of the target product;
[0044] S15: Determine the production quantity of the target product based on the product delivery quantity and product inventory.
[0045] For steps S13-S15, the product delivery quantity is the number of products that the target product production department needs to deliver, and the product inventory quantity of the target product is queried, and the production quantity to be produced this time is obtained by subtracting the product inventory quantity from the product delivery quantity.
[0046] S16: Determine the production preparation time of the target product based on the production quantity;
[0047] S17: Generate the production duration of the target product based on the product delivery date, order creation date and production preparation time.
[0048] For steps S16-S17, in addition to the production time, the product also needs to consider the time for preliminary preparation (such as raw material procurement), process waiting (such as equipment debugging), packaging and transportation during the production process. These times are summarized as the production preparation time. In order to ensure the accuracy of the production plan, the production preparation time of the target product under the production quantity is predicted based on past production basis. It can be understood that the production preparation time is usually hours. The production preparation time is converted into days. Based on the product delivery date, the production preparation days are subtracted to obtain the production delivery date, and then the production period of the product is calculated based on the production delivery date minus the order creation date.
[0049] In the actual application scenario, the production preparation time for producing 500 pieces of product 1 is predicted to be 5 days. The product delivery date given in the order information is November 30, 2022, so the production delivery date of product 1 is November 25, 2022, and the order creation date of the production order is November 10, 2022, so it can be determined that the production period of the target product is 15 days.
[0050] In actual application scenarios, obtain customer information in the sales order, query the priority of the customer and the product based on the customer information and product information, and determine whether an emergency order check is required based on the priority. Specifically, priority levels are established based on customer attributes, as well as customer types and product types corresponding to each priority level. For example, customers with the highest priority level of 1 require special exceptions for emergency order insertion, that is, when formulating the production plan for this customer, the production of all its products is ranked first. If production plans are formulated for production orders of multiple sales orders at the same time, the multiple production orders are sorted based on the priorities corresponding to the customers and products of the multiple sales orders, and then production plans are formulated in sequence based on the sorting results.
[0051] S20: Generate each product of the target production line of the target product based on the product information;
[0052] Among them, the target production line includes multiple production processes;
[0053] In this step, based on the product information of the target product, the multiple production processes required to produce the product and the processing order of each production process are determined, and the multiple production processes are combined to obtain the target production line of the target product in the production process.
[0054] In one embodiment of the present application, a specific target production line construction scheme is provided. In S20, a target production line of a target product is generated based on product information, which specifically includes the following steps S21-S23:
[0055] S21: Based on the product information, determine the production process of the target product in the production process in the first preset mapping relationship;
[0056] Wherein, the first preset mapping relationship includes the corresponding relationship between the product and the production process;
[0057] S22: Based on the production process, determine multiple production processes of the target product, production equipment and materials for each production process in the second preset mapping relationship;
[0058] The second preset mapping relationship includes the corresponding relationship between the production process and the production process;
[0059] S23: Generate a target production line for a target product based on multiple production processes, production equipment and materials corresponding to each production process;
[0060] Among them, product information includes product name, product model and product specifications.
[0061] For steps S21-S23, in actual applications, the factory has at least one production line, and each production line usually has multiple production processes. During the production and processing of the products, the production tasks of each product in the production order will be assigned to each production process of each production line for production and processing. Before formulating a production plan, based on the product name, product model and product specifications of the target product, a query is made in the first preset mapping relationship to obtain a production process flow chart for the target product. Then, based on the production process flow chart, a query is made in the second preset mapping relationship to determine the multiple production processes of the target product in the production process, the production equipment and materials corresponding to each production process. The above-mentioned multiple production processes, the production equipment and materials of each production process are summarized to form a target production line for the target product.
[0062] Optionally, the first preset mapping relationship includes the correspondence between different products and their production processes; the second preset mapping relationship includes the correspondence between the production process and the production process.
[0063] In the actual application scenario, the product to be produced in the production order is product 1, and the product information of product 1, model a, specification b, is obtained. Based on product 1, model a and specification b, the corresponding production process flow is queried in the first preset mapping relationship: mechanical processing-surface treatment-assembly-testing. Based on the production process, the multiple production processes required for product 1 in the production process are determined: mechanical processing: including cutting process, drilling process, and grinding process; surface treatment: including cleaning process, spraying process, and drying process; assembly: including partial assembly process and general assembly process; testing: including functional testing process and performance testing process. Obtain the production equipment corresponding to each production process (for example, cutting process: cutting equipment C; general assembly process: assembly equipment G, etc.) and the materials corresponding to each production process (for example, cutting process-raw material D, cleaning process-cleaning agent F, partial assembly-semi-finished product H, etc.). Based on the above multiple production processes, the production equipment and materials of each production process are summarized to form the target production line of product 1.
[0064] S30: Based on the target production line, determine the processing hours required for each production process of the target product;
[0065] In this step, the standard working hours of the production equipment required for the production and processing of the target product in each production process and the material processing time of the materials processed in each production process are obtained, and then the processing hours of the target product in each production process are calculated.
[0066] Through the above method, the processing time of the target product in each process can be estimated in advance, so as to formulate a more reasonable production plan and avoid idle or excessive use of resources.
[0067] In one embodiment of the present application, a scheme for specifically determining the processing time of a target product in each production process is provided. In S30, that is, based on a target production line, the processing time required for the target product in each production process is determined, which specifically includes the following steps S31-S33:
[0068] S31: Determine the standard working hours of the production equipment used in each production process of the target product based on the preset processing rule table;
[0069] S32: Determine the material processing time of the materials used in each production process of the target product based on the preset processing rule table;
[0070] S33: Based on the standard working hours and material processing time, determine the processing time of the target product in each production process.
[0071] For steps S31-S33, based on the preset processing rule table, find the standard working hours of the production equipment used in each production process of the target product and the material processing time of the materials used in each production process, add the standard working hours of the production equipment and the material processing time, and get the processing hours required for each production process of the target product on the target production line.
[0072] Optionally, the preset processing rule table includes equipment processing rules and material processing rules, wherein the equipment processing rules include the standard working hours of each production equipment in different production processes; the material processing rules include the processing time of each material in different production processes. In the historical production process, the processing time of each production equipment in each production process and the processing time of each material are collected, and these times are summarized to generate a preset processing planning table for each production process of the factory under different production equipment and different materials.
[0073] S40: Based on the target production line, determine the scheduled production data and multiple constraints within the production period;
[0074] In this step, when formulating the production plan, it is necessary to fully understand the factory's production progress, resource usage and other information to ensure the rationality of the formulated production plan and resource utilization. Specifically, based on the multiple production processes in the target production line of the target product and the production equipment and materials of each production process, determine the factory's scheduled production data for each production process within the production period and the constraints on production equipment and materials.
[0075] Through the above methods, the scheduled production data can be collected, the key constraints can be determined, and the production time of the products to be produced can be reasonably arranged to avoid conflicts with existing production tasks. This can ensure the scientific nature and feasibility of the production plan, improve production efficiency and resource utilization, and meet the requirements of product quality and delivery deadlines.
[0076] In one embodiment of the present application, a specific solution for determining the scheduled production data and multiple constraint conditions is provided. In S40, based on the target production line, the processing time required for each production process of the target product is determined, which specifically includes the following steps S41-S43:
[0077] S41: Acquire multiple management data during the production period;
[0078] Among them, a number of management data include production schedules, production equipment maintenance schedules, worker shift schedules, and material supply schedules;
[0079] It is very important to obtain a number of management data of the factory during the production period in order to formulate a production plan. The management data includes the factory's production schedule, production equipment maintenance table, worker shift table and material supply table during the production period. Among them, the production schedule includes the product information (such as product name, product number, product type) and production information (such as expected start time, end time, production quantity) that have been scheduled in each production process; the production equipment maintenance table includes the maintenance plan information of the production equipment (such as equipment number, type, expected maintenance date, downtime); the worker shift table includes the worker shift arrangement (such as worker number, name, shift date, start and end time, assigned tasks); the material supply table includes the inventory and supply status of materials (such as material number, name, inventory quantity, supply cycle and expected arrival time).
[0080] S42: Based on the target production line, determine the scheduled production data corresponding to the multiple production processes in the production schedule table;
[0081] In this step, based on the target production line of the target product, the scheduled production data corresponding to multiple production processes of the target product in the production process are filtered out in the production schedule, including the product name, type, production quantity of each product, estimated start time of the process, estimated end time, equipment number for executing the process, worker number for executing the process, and material number required for the process.
[0082] S43: Based on the production equipment maintenance table, worker shift table and material supply table, determine multiple constraints of the target production line within the production period;
[0083] Among them, multiple constraints include production equipment usage time constraints, worker shift constraints, material supply constraints, and process switching constraints.
[0084] In this step, based on the factory's production equipment maintenance table and worker shift table during the production period, determine the production equipment usage time constraints for the multiple production processes included in the target production line during the production period, including the maintenance time and downtime of each equipment; based on the worker shift table, determine each worker's shift schedule, available working time and rest time; based on the factory's material supply table during the production period, determine the material supply constraints for the materials required for each production process, including the material supply quantity and the estimated arrival time; considering the time required for equipment adjustment and worker shift changes, determine the process switching time constraints between multiple production processes based on the processing sequence between multiple production processes.
[0085] Through the above method, by organizing and analyzing the production equipment maintenance table, worker shift table and material supply table in detail, the specific constraints of the target production line within the production period can be clearly determined, and then assist in formulating the production plan to ensure the scientificity and feasibility of the production plan.
[0086] S50: Generate a production plan for the target product based on the target production line, processing hours, scheduled production data, and multiple constraints.
[0087] In this step, based on the scheduled production data and multiple constraints, the available production data that can be scheduled for each production process in the target production line within the production period is determined, including at least one available working day that can be scheduled, the estimated start time and the estimated end time of each working day. Subsequently, based on the processing hours, production quantity and schedulable data of each production process of the target product, the production tasks are allocated, and at least one scheduled production date within the production period and the production volume of each scheduled production date are determined for the target product.
[0088] In one embodiment of the present application, a specific production plan is provided. In S40, a production plan for a target product is generated based on a target production line, processing hours, scheduled production data, and multiple constraints. The steps S51-S58 are specifically included:
[0089] S51: Based on the usage time constraint of the production equipment, determine the available production time of each production equipment in the target production line within the production period;
[0090] S52: Determine the available working time of each worker in the target production line within the production period based on the worker shift constraints;
[0091] S53: Determine the estimated arrival time of out-of-stock materials in the target production line based on the material supply constraints;
[0092] S54: Determine the switching waiting time between multiple production processes based on the process switching constraint;
[0093] For steps S51-S54, based on the production equipment maintenance constraints, determine the available production time of each equipment in the target production line; based on the material supply constraints, determine the supply time of out-of-stock materials in the target production line; based on the worker shift constraints, determine the available working time of each worker in the target production line; based on the process switching constraints, analyze the equipment adjustment, worker shift handover and transfer time between the upper and lower processes, and then determine the switching waiting time between each production process.
[0094] S55: Determine the schedulable production data of multiple production processes in the target production line based on the scheduled production data, available production time, available working time, expected arrival time, and process switching time;
[0095] The schedulable production data includes at least one schedulable production date for each production process within the production period, as well as the estimated start time, estimated end time and schedulable production hours for each schedulable production date;
[0096] In this step, based on the scheduled data, the schedulable date of each production process in the target production line within the production period, as well as the estimated start time and estimated end time of each schedulable date are determined. It should be noted that in the process of determining the schedulable data of the production process, in order to ensure the accuracy of the production schedule, it is necessary to combine the relevant time of each production equipment, operator and material in each production process on the basis of the schedulable situation of each production process, so as to ensure that the production schedule of the production process meets the working requirements of the production equipment, operator and material. Therefore, based on the schedulable time of the production equipment, the available working time of the operator and the estimated arrival time of the out-of-stock material combined with the above-mentioned production process scheduling data, the final schedulable data of multiple production processes in the target production line is generated, including at least one schedulable date of each production process within the production period, and the estimated start time and estimated end time of each schedulable date, and the schedulable working hours of each scheduling date are calculated by the estimated start time and the estimated end time.
[0097] S56: Determine the total processing time of each production process based on the production quantity and the processing time of the target product in each production process;
[0098] S57: Based on the schedulable production data and total processing time of each production process, determine at least one production start date required for each production process of the target product and the production volume of each schedulable production date;
[0099] S58: Generate a production plan for the target product based on at least one schedulable date of each production process and the production volume of each schedulable date.
[0100] For steps S56-S58, the total processing time for each production process to produce the target product is calculated based on the production quantity of the target product and the processing time of each production process. Thereafter, the production volume of the target product on the schedulable date of each production process is determined based on the schedulable date of each production process and the total processing time. Finally, a production plan for the target product within the production period is generated based on the schedulable date of each production process and the production volume on each schedulable date.
[0101] Optionally, in order to improve the efficiency of production planning, a production scheduling optimization algorithm (such as legacy algorithm, linear programming, etc.) can also be used to optimize the production plan based on the processing hours of the target product in each production process, combined with the scheduled production data and multiple constraints.
[0102] In actual application scenarios, the production process and production volume of the target product in the production order on each production date can be listed in the form of a production schedule. During the production process, the production plan completion volume is updated in real time, so that relevant personnel can view the production plan based on the production order number. Figure 5 As shown, it is a production plan representation, where the production plan number is the number of the production order. The relevant personnel enter the production order number in the electronic device and click the "Plan Query" button to query the production plan of the order, including the production period (2022-06-01 to 2022-06-07), the production process required for at least one target product in the production order, and the planned progress of each production process on each production date. Furthermore, in order to facilitate the relevant personnel to understand the production plan more intuitively, the production date and production volume of each production process can also be sorted out, and the output of the target product is used as the benchmark to determine the output of the target product on each production date. A bar chart is drawn based on the production period, production quantity, production priority, at least production date and output of each production date of the target product to show it to the relevant personnel. As Figure 6 As shown, it is a bar chart of the production plan, where plan 1 is the target product 1. The priority of this product is 3, and it is expected to produce 340 units with a production period of 4 days. Based on the production plan, the production period is determined to be 75% on June 1 and 25% on June 2.
[0103] In one embodiment of the present application, in order to ensure the feasibility of the formulated production plan, after S57, that is, after determining at least one production start date and the production volume of each production start date required for the target product in each production process based on the schedulable production data and total processing time of each production process, the following steps S571-S573 are also included:
[0104] S571: Based on at least one production start date of each production process, determine the estimated production days required for the target product in each production process;
[0105] S572: Compare each estimated production day with the preset production day to determine whether the estimated production day is equal to or equal to the preset production day threshold;
[0106] S573: In any case where the estimated production days are greater than or equal to the preset production days threshold, overdue risk warning information is generated and sent to the terminal of the relevant personnel.
[0107] For steps S571-S573, after estimating at least one production schedule date of the target product in each production process, the estimated production days required for the target product in the production process are generated based on at least one production schedule date. The estimated production days are then compared with the preset production days threshold. If the estimated production days are greater than or equal to the preset production days threshold, it means that the target product has a risk of overdue production in the production process. At this time, overdue risk warning information is generated and sent to the terminal of the production scheduler, so that the production scheduler can adjust the type and quantity of the target product based on the prompt information, for example, the relevant personnel can reselect some products as target products or modify the number of orders to be produced, etc., to ensure the rationality of the production plan.
[0108] Optionally, the preset production days threshold refers to the upper limit of the production days of the product in each production process, which is used to measure whether the expected production days exceed an acceptable range. The preset production days threshold range can be specifically set according to the production process and the production period, and the preset production days threshold of each production process needs to be less than or equal to the production period.
[0109] It can be seen that in the above scheme, first, based on the product information of the target product to be produced in the production order, the target production line of the target product is formulated to determine the multiple production processes of the target product in the production process, and estimate the processing time of the target product in each production process. Afterwards, the scheduled production data and multiple constraints of the multiple production processes in the production period are obtained, and finally the production plan of the target product is generated based on the target production line, processing time, scheduled production data and multiple constraints. The above technical scheme is adopted to realize automated production scheduling, reduce the dependence on manual labor and workload in the process of production planning, simplify the production scheduling process, and improve the efficiency of production planning. In addition, the production scheduling is realized by combining the processing time of the order with the factory's scheduled production data and constraints, and comprehensively considers factors such as time requirements, resource availability and production capacity in the production process to ensure the feasibility of the production plan and resource utilization.
[0110] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0111] In one embodiment, a production plan generation device is provided, and the production plan generation device corresponds one-to-one to the production plan generation method in the above embodiment. Figure 7 As shown, the production plan generating device includes: an acquisition module 101, a first generating module 102, a first determining module 103, a second determining module 104 and a second generating module 105. The functional modules are described in detail as follows:
[0112] The acquisition module 101 is used to acquire product information and production information of the target product to be produced in the production order, wherein the production information includes the production quantity and production period of the target product;
[0113] A first generating module 102 is used to generate a target production line of a target product based on the product information, wherein the target production line includes multiple production processes;
[0114] The first determination module 103 is used to determine the processing hours required for each production process of the target product based on the target production line;
[0115] The second determination module 104 is used to determine the scheduled production data and multiple constraints within the production period based on the target production line;
[0116] The second generation module 105 is used to generate a production plan for the target product based on the target production line, processing hours, scheduled production data, and multiple constraints.
[0117] In one embodiment, the acquisition module 101 is specifically configured to:
[0118] In response to the production plan generation request, obtaining a sales order included in the production plan generation request;
[0119] Convert sales orders into production orders based on preset order conversion rules;
[0120] Obtain product information, product delivery date, product delivery quantity and order creation date of the target product in the production order;
[0121] Get the product inventory of the target product;
[0122] Determine the production quantity of the target product based on product delivery volume and product inventory;
[0123] Determine the production lead time of the target product based on the production quantity;
[0124] Generate the production duration of the target product based on the product delivery date, order creation date and production preparation time.
[0125] In one embodiment, the first generating module 102 is specifically configured to:
[0126] Based on the product information, determining the production process of the target product in the production process in a first preset mapping relationship, wherein the first preset mapping relationship includes a correspondence between the product and the production process;
[0127] Based on the production process, in the second preset mapping relationship, multiple production processes of the target product, production equipment and materials for each production process are determined, wherein the second preset mapping relationship includes a correspondence between the production process and the production process;
[0128] Generate the target production line of the target product based on multiple production processes, the production equipment and materials corresponding to each production process;
[0129] Among them, product information includes product name, product model and product specifications.
[0130] In one embodiment, the first determining module 103 is specifically configured to:
[0131] Based on the preset processing rule table, determine the standard working hours of the production equipment used in each production process of the target product;
[0132] Based on the preset processing rule table, determine the material processing time of the materials used in each production process of the target product;
[0133] Based on the standard working hours and material handling time, determine the processing hours for the target product in each production process.
[0134] In one embodiment, the second determining module 104 is specifically configured to:
[0135] Obtain multiple management data during the production period, including production schedule, production equipment maintenance table, worker shift table and material supply table;
[0136] Based on the target production line, determine the scheduled production data corresponding to multiple production processes in the production schedule;
[0137] Based on the production equipment maintenance table, worker shift table and material supply table, multiple constraints of the target production line within the production period are determined, among which the multiple constraints include production equipment usage time constraints, worker shift constraints, material supply constraints and process switching constraints.
[0138] In one embodiment, the second generating module 105 is specifically configured to:
[0139] Based on the time constraints of production equipment, determine the available production time of each production equipment in the target production line within the production period;
[0140] Based on the worker shift constraints, determine the available working time of each worker in the target production line within the production period;
[0141] Determine the estimated arrival time of out-of-stock materials in the target production line based on material supply constraints;
[0142] Based on the process switching constraints, determine the switching waiting time between multiple production processes;
[0143] Based on the scheduled production data, available production time, available working time, expected arrival time and process switching time, determine the schedulable production data of multiple production processes in the target production line, wherein the schedulable production data includes at least one schedulable production date of each production process within the production period, and the expected start time, expected end time and schedulable working hours of each schedulable production date;
[0144] Determine the total processing time for each production process based on the production quantity and the processing time of the target product in each production process;
[0145] Based on the schedulable data and total processing time of each production process, determine at least one production start date and the production volume of each schedulable date required for the target product in each production process;
[0146] Generate a production plan for the target product based on at least one schedulable date for each production process and the production volume of each schedulable date.
[0147] In one embodiment, the device further comprises:
[0148] A third determination module is used to determine the estimated production days required for the target product in each production process based on at least one production start date of each production process;
[0149] A comparison module, used for comparing each estimated production day with a preset production day;
[0150] The third generation module is used to generate overdue risk warning information when any of the expected production days is greater than or equal to the preset production day threshold;
[0151] The sending module is used to send overdue risk warning information to the terminals of relevant personnel.
[0152] The present invention provides a production plan generation device. First, based on the product information of the target product to be produced in the production order, a target production line of the target product is formulated to determine the multiple production processes of the target product in the production process, and estimate the processing time of the target product in each production process. Afterwards, the scheduled production data and multiple constraints of the multiple production processes in the production period are obtained, and finally the production plan of the target product is generated based on the target production line, processing time, scheduled production data and multiple constraints. The above technical solution is adopted to realize automated production scheduling, reduce the dependence on manual labor and workload in the production plan formulation process, simplify the production scheduling process, and improve the efficiency of production plan formulation. In addition, production scheduling is realized by combining the processing time of the order with the factory's scheduled production data and constraints, comprehensively considering factors such as time requirements, resource availability and production capacity in the production process, and ensuring the feasibility of the production plan and resource utilization.
[0153] For the specific definition of the production plan generation device, please refer to the definition of the production plan generation method above, which will not be repeated here. Each module in the above-mentioned production plan generation device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0154] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, it implements the functions or steps on the server side of a production plan generation method.
[0155] In one embodiment, a computer device is provided. The computer device may be a client, and its internal structure diagram may be as follows: Fig. 9As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server through a network connection. When the computer program is executed by the processor, the functions or steps on the client side of a production plan generation method are implemented.
[0156] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
[0157] Obtain product information and production information of the target product to be produced in the production order, wherein the production information includes the production quantity and production period of the target product;
[0158] Based on the product information, a target production line of the target product is generated, wherein the target production line includes multiple production processes;
[0159] Based on the target production line, determine the processing hours required for each production process of the target product;
[0160] Based on the target production line, determine the scheduled production data and multiple constraints within the production period;
[0161] Generate a production plan for the target product based on the target production line, processing hours, scheduled data, and multiple constraints.
[0162] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0163] Obtain product information and production information of the target product to be produced in the production order, wherein the production information includes the production quantity and production period of the target product;
[0164] Based on the product information, a target production line of the target product is generated, wherein the target production line includes multiple production processes;
[0165] Based on the target production line, determine the processing hours required for each production process of the target product;
[0166] Based on the target production line, determine the scheduled production data and multiple constraints within the production period;
[0167] Generate a production plan for the target product based on the target production line, processing hours, scheduled production data, and multiple constraints.
[0168] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.
[0169] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0170] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0171] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A production plan generation method, characterized in that: include: Acquire product information and production information of the target product to be produced in the production order, wherein the production information includes the production quantity and production period of the target product; Based on the product information, generating a target production line for the target product, wherein the target production line includes multiple production processes; Based on the target production line, determine the processing hours required for each production process of the target product; Based on the target production line, determine the scheduled production data and multiple constraints within the production period; A production plan for the target product is generated based on the target production line, the processing hours, the scheduled production data, and the multiple constraints.
2. The method according to claim 1, characterized in that The step of obtaining product information and production information of the target product to be produced in the production order specifically includes: In response to a production plan generation request, obtaining a sales order included in the production plan generation request; Based on a preset order conversion rule, convert the sales order into the production order; Obtain the product information, product delivery date, product delivery quantity and order creation date of the target product in the production order; Obtaining the product inventory of the target product; Determining the production quantity of the target product based on the product delivery quantity and the product inventory quantity; Based on the production quantity, determining the production preparation time of the target product; The production duration of the target product is generated based on the product delivery date, the order creation date and the production preparation time.
3. The method according to claim 1, characterized in that The step of generating a target production line for the target product based on the product information specifically includes: Based on the product information, determining the production process of the target product in the production process in a first preset mapping relationship, wherein the first preset mapping relationship includes a correspondence between products and production processes; Based on the production process, in a second preset mapping relationship, multiple production processes of the target product, production equipment and materials for each production process are determined, wherein the second preset mapping relationship includes a correspondence between the production process and the production process; Based on the multiple production processes, the production equipment and materials corresponding to each production process, generating the target production line of the target product; The product information includes product name, product model and product specifications.
4. The method according to claim 3, characterized in that The step of determining the processing hours required for each production process of the target product based on the target production line specifically includes: Based on the preset processing rule table, determine the standard working hours of the production equipment used in each production process of the target product; Based on the preset processing rule table, determining the material processing time of the materials used in each production process of the target product; Based on the standard working hours and the material processing time, the processing working hours of the target product in each production process are determined.
5. The method according to claim 1, characterized in that The step of determining the scheduled production data and multiple constraints within the production period based on the target production line specifically includes: Acquire multiple management data during the production period, wherein the multiple management data include a production schedule, a production equipment maintenance schedule, a worker shift schedule, and a material supply schedule; Based on the target production line, determining the scheduled production data corresponding to the plurality of production processes in the production schedule; Based on the production equipment maintenance table, the worker shift table and the material supply table, multiple constraints of the target production line within the production period are determined, wherein the multiple constraints include production equipment usage time constraints, worker shift constraints, material supply constraints and process switching constraints.
6. The method according to claim 5, characterized in that The step of generating a production plan for the target product based on the target production line, the processing hours, the scheduled production data, and the plurality of constraints specifically includes: Based on the production equipment usage time constraint, determine the available production time of each production equipment in the target production line within the production period; Based on the worker shift constraints, determining the available working time of each worker in the target production line within the production period; Based on the material supply constraint, determining an estimated arrival time of the out-of-stock material in the target production line; Based on the process switching constraints, determining the switching waiting time between multiple production processes; Based on the scheduled production data, the available production time, the available working time, the expected arrival time, and the process switching time, determine the schedulable production data of multiple production processes in the target production line, wherein the schedulable production data includes at least one schedulable production date of each production process within the production period, and the expected start time, expected end time, and schedulable working hours of each schedulable production date; Determine the total processing time of each production process based on the production quantity and the processing time of each production process of the target product; Based on the schedulable production data and the total processing time of each production process, determine at least one production start date and the production volume of each schedulable date required for the target product in each production process; The production plan of the target product is generated based on the at least one schedulable production date of each production process and the production volume of each schedulable production date.
7. The method according to claim 6, characterized in that After determining at least one production start date and the production volume of each production date required for the target product in each production process based on the schedulable production data and the total processing time of each production process, the method further includes: Determine the estimated production days required for each production process of the target product based on at least one production start date of each production process; Each estimated production day is compared with the preset production days. When any of the estimated production days is greater than or equal to the preset production day threshold, overdue risk warning information is generated and sent to the terminal of the relevant personnel.
8. A production plan generating device, characterized in that: include: An acquisition module, used to acquire product information and production information of a target product to be produced in a production order, wherein the production information includes a production quantity and a production period of the target product; A first generating module, configured to generate a target production line for the target product based on the product information, wherein the target production line includes a plurality of production processes; A first determination module is used to determine the processing hours required for each production process of the target product based on the target production line; A second determination module is used to determine the scheduled production data and multiple constraints within the production period based on the target production line; The second generation module is used to generate a production plan for the target product based on the target production line, the processing hours, the scheduled production data and the multiple constraints.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the production plan generating method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the production plan generating method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Production line matching method and device, computer device and computer storage medium
CN122596591A