Graphical-based scheduling method and equipment

Through the graphical scheduling method, automatic analysis of production processes and relationships, generation of scheduling Gantt charts, and dynamically adjusting scheduling, the problems of low manual scheduling efficiency and poor real-time performance in the existing technology are solved, and more efficient and real-time production task management is achieved.

CN119904060AInactive Publication Date: 2025-04-29GUANGZHOU SIE CONSULTING CO LTD +1

Patent Information

Application Number
CN202411992967.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-31
Publication Date
2025-04-29
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

When building a Gantt chart, the existing technology is scheduled by people, resulting in complex dependencies that make the scheduling difficult, low efficiency and error-prone. In the event of abnormal production, the Gantt chart needs to be manually adjusted, which has poor real-time performance.

Method used

A graphical scheduling method is provided, which automatically scheduling and generates scheduling Gantt charts by obtaining production tasks and determining process relationships, monitors production conditions and dynamically adjusts scheduling to achieve real-time performance.

Benefits of technology

Improves scheduling efficiency and accuracy, ensures the smooth completion of production tasks, and achieves faster response and real-time through dynamic adjustments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119904060A_ABST
    Figure CN119904060A_ABST
Patent Text Reader

Abstract

The invention provides a graphics-based scheduling method and equipment, and the method comprises the steps: obtaining a production task, determining a plurality of production processes and a process relation between the production processes according to the production task, automatically analyzing the production processes and the process relation, and carrying out the scheduling. The scheduling Gantt chart generation method comprises the steps of determining the plan starting time and the plan ending time of each production process in a corresponding production resource, and generating a scheduling Gantt chart according to the plan starting time and the plan ending time of the production resource corresponding to each production process, so that the efficiency and the scheduling accuracy can be improved; in the process of executing the production task by using the scheduling Gantt chart, the production condition is monitored, the scheduling of the scheduling Gantt chart is dynamically adjusted according to the production condition or the user adjustment instruction, and the target scheduling Gantt chart is obtained, so that the operation is faster, and the real-time performance can be ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of production, and in particular to a scheduling method and device based on graphics. Background Art

[0002] The Gantt chart is a tool used to display and manage production schedules. It is currently widely used in production. It can help enterprise planners plan and arrange production tasks, optimize resource utilization, identify potential delays and conflicts, and make reasonable adjustments and optimizations.

[0003] However, when constructing a Gantt chart, scheduling is usually done manually. Due to the complex dependencies between different processes, scheduling is difficult, inefficient and prone to errors. At the same time, once an abnormal situation occurs in production, it needs to be discovered manually and the Gantt chart needs to be adjusted and updated manually, which has poor real-time performance. Summary of the invention

[0004] The present application provides a graphical scheduling method and device to solve at least one problem in the related art. The technical solution is as follows:

[0005] In a first aspect, an embodiment of the present application provides a graphical scheduling method, including:

[0006] Obtaining a production task, and determining a number of production processes and process relationships between the production processes according to the production task;

[0007] Scheduling according to the production processes and the process relationships to determine the planned start time and the planned end time of each production process in the corresponding production resources;

[0008] Generate a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each of the production processes;

[0009] In the process of executing the production task using the scheduling Gantt chart, the production situation is monitored, and the schedule of the scheduling Gantt chart is dynamically adjusted according to the production situation or user adjustment instructions to obtain a target scheduling Gantt chart.

[0010] In one embodiment, the scheduling according to the production processes and the process relationships to determine the planned start time and the planned end time of each production process in the corresponding production resource includes:

[0011] When the process relationship between adjacent production processes is process parallelism, a time constraint is established between adjacent production processes such that the planned start time of the preceding production process is greater than or equal to the planned start time of the succeeding production process;

[0012] When the process relationship between adjacent production processes is process serial, a time constraint is established between adjacent production processes such that the planned end time of the preceding production process is greater than or equal to the planned start time of the following production process;

[0013] Determine the effective time of production resources and the conversion time of adjacent production processes, and schedule according to the conversion time, the time constraint and the effective time to determine the planned start time and the planned end time of each production process in the corresponding production resources.

[0014] In one embodiment, determining the effective time of the production resource includes:

[0015] Obtaining the idle time of the production resource; the idle time refers to the time occupied by the schedule without other production tasks;

[0016] Acquire calendar data and / or time setting information to determine rest time in the free time;

[0017] The effective time of the production resources is determined according to the idle time and the rest time.

[0018] In one embodiment, generating a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each production process includes:

[0019] Determine the first time length of each production process according to the planned start time and the planned end time of the production resources corresponding to each production process, and generate a task block corresponding to the first time length according to the first time length of each production process, or determine the second time length according to the preset standard working hours and preset efficiency of the production resources corresponding to each production process, and generate a task block corresponding to the second time length;

[0020] Setting time information in a preset operation area, arranging the task blocks in order according to the time information, the planned start time and the planned end time, and displaying corresponding production resources in a preset resource area;

[0021] A scheduling Gantt chart is generated according to the operation area and the resource area.

[0022] In one embodiment, dynamically adjusting the schedule of the scheduling Gantt chart according to the user adjustment instruction to obtain the target scheduling Gantt chart includes:

[0023] According to the user adjustment instruction, adjusting the position of the target task block in the operation area;

[0024] Determine the new planned start time and the new planned end time corresponding to the target task block according to the location of the target task block and the time information;

[0025] According to the new planned start time and the new planned end time, the corresponding positions of the remaining task blocks are automatically adjusted in the operation area to obtain a target scheduling Gantt chart.

[0026] In one embodiment, automatically adjusting corresponding positions of remaining task blocks in the operation area according to the new planned start time and the new planned end time to obtain a target scheduling Gantt chart includes:

[0027] According to the new planned start time and the new planned end time, automatically adjusting the corresponding positions of the remaining task blocks in the operation area;

[0028] After the positions of all the task blocks are adjusted, the detection results of the process relationships between the task blocks are determined respectively according to the positions of the task blocks and the process relationships;

[0029] When at least one detection result indicates an abnormality, the abnormal task block indicating the abnormality is marked and warned;

[0030] In response to the first adjustment instruction, the position of the abnormal task block is adjusted, or the position of the abnormal task block is automatically adjusted, and the step of determining the detection results of the process relationship between each task block according to the position of each task block and the process relationship is returned to, until all the detection results are normal, and a target scheduling Gantt chart is obtained.

[0031] In one embodiment, dynamically adjusting the schedule of the scheduling Gantt chart according to the production situation to obtain the target scheduling Gantt chart includes:

[0032] Determine the actual delivery date according to the planned end time of the last production process, and compare the actual delivery date with the required delivery date of the production task;

[0033] When the actual delivery date is greater than the required delivery date, a mark and an early warning are issued on the overdue task block whose planned end time exceeds the required delivery date;

[0034] In response to the second adjustment instruction, the position of the overdue task block is adjusted, or the available production resources are automatically determined and the position of the overdue task block is adjusted according to the available production resources, and the step of comparing the actual delivery date with the required delivery date of the production task is returned until the actual delivery date is less than or equal to the required delivery date, thereby obtaining a target scheduling Gantt chart.

[0035] In one embodiment, the method further comprises:

[0036] When the actual delivery date is greater than the required delivery date, marking the overdue task block whose planned end time exceeds the required delivery date with a first color;

[0037] When the actual delivery date is equal to the required delivery date, marking the task block with a second color;

[0038] When the actual delivery date is less than the required delivery date, determine the delivery date difference between the required delivery date and the actual delivery date, if the delivery date difference is less than or equal to the delivery date threshold, mark the task block with a second color, if the delivery date difference is greater than the delivery date threshold, mark the task block with a third color;

[0039] The first color represents overdue, the second color represents normal, and the third color represents ahead of time.

[0040] In a second aspect, an embodiment of the present application provides a graphical scheduling device, including:

[0041] An acquisition module, used to acquire production tasks, and determine a number of production processes and process relationships between the production processes according to the production tasks;

[0042] A scheduling module, used to schedule according to the production processes and the process relationships, and determine the planned start time and the planned end time of each production process in the corresponding production resources;

[0043] A graphics module, used for generating a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each of the production processes;

[0044] The adjustment module is used to monitor the production situation during the process of executing the production task using the scheduling Gantt chart, and dynamically adjust the schedule of the scheduling Gantt chart according to the production situation or user adjustment instructions to obtain a target scheduling Gantt chart.

[0045] In one embodiment, the graphics module is further used for:

[0046] When the actual delivery date is greater than the required delivery date, marking the overdue task block whose planned end time exceeds the required delivery date with a first color;

[0047] When the actual delivery date is equal to the required delivery date, marking the task block with a second color;

[0048] When the actual delivery date is less than the required delivery date, determine the delivery date difference between the required delivery date and the actual delivery date, if the delivery date difference is less than or equal to the delivery date threshold, mark the task block with a second color, if the delivery date difference is greater than the delivery date threshold, mark the task block with a third color;

[0049] The first color represents overdue, the second color represents normal, and the third color represents ahead of time.

[0050] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.

[0051] The beneficial effects of the above technical solution include at least:

[0052] By obtaining production tasks, and determining several production processes and the process relationships between the production processes based on the production tasks, the production processes and process relationships are automatically analyzed, and scheduling is performed to determine the planned start time and planned end time of each production process in the corresponding production resources. According to the planned start time and planned end time of the production resources corresponding to each production process, a scheduling Gantt chart is generated, which is conducive to improving efficiency and scheduling accuracy; in the process of using the scheduling Gantt chart to execute production tasks, the production situation is monitored, and the scheduling of the scheduling Gantt chart is dynamically adjusted according to the production situation or user adjustment instructions to obtain the target scheduling Gantt chart, which is faster and can ensure real-time performance.

[0053] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0055] Figure 1 This is a schematic diagram of the steps of a graphical scheduling method according to an embodiment of the present application;

[0056] Figure 2 A schematic diagram of a scheduling Gantt chart according to an embodiment of the present application;

[0057] Figure 3 A schematic diagram of an early warning according to an embodiment of the present application;

[0058] Figure 4 This is a schematic diagram of different color marking progress according to an embodiment of the present application;

[0059] Figure 5 A structural block diagram of a graphical scheduling device according to an embodiment of the present application;

[0060] Figure 6 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0061] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0062] Reference Figure 1 , a flowchart of a graphical scheduling method according to an embodiment of the present application is shown, and the graphical scheduling method may at least include steps S100-S400:

[0063] S100, obtaining a production task, and determining a number of production processes and process relationships between the production processes based on the production task.

[0064] S200, scheduling is performed according to the production processes and process relationships, and the planned start time and the planned end time of each production process in the corresponding production resources are determined.

[0065] S300, generating a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each production process.

[0066] S400. In the process of executing the production task by using the scheduling Gantt chart, the production situation is monitored, and the schedule of the scheduling Gantt chart is dynamically adjusted according to the production situation or user adjustment instructions to obtain a target scheduling Gantt chart.

[0067] The graphical scheduling method of the embodiment of the present application can be executed by a computer, an industrial computer and other devices, or by a cloud server. For example, the system execution of an industrial computer device is used as an example for explanation.

[0068] The technical solution of the embodiment of the present application obtains production tasks, and determines a number of production processes and process relationships between the production processes based on the production tasks, automatically analyzes the production processes and process relationships, performs scheduling, determines the planned start time and planned end time of each production process in the corresponding production resources, and generates a scheduling Gantt chart based on the planned start time and planned end time of the production resources corresponding to each production process, which is beneficial to improving efficiency and scheduling accuracy; in the process of using the scheduling Gantt chart to execute production tasks, monitors the production situation, and dynamically adjusts the scheduling of the scheduling Gantt chart according to the production situation or user adjustment instructions to obtain a target scheduling Gantt chart, which is faster and can ensure real-time performance.

[0069] In one embodiment, before production, relevant information about production is usually input, such as required delivery date, parts to be produced, material codes, drawings, and production resources to be used, such as injection molding machines, etc., and then the corresponding production tasks are generated. Then, after the system determines the production task, it can determine the several production processes that need to be passed through to produce the parts and the process relationship between the production processes from the corresponding process route based on the material code, such as parallel process SS or serial process ES. Parallel process SS means that the subsequent process can start after the previous process starts, and serial process ES means that the subsequent process starts after the previous process ends. In some embodiments, the production task can also include its corresponding priority, and in subsequent scheduling, production tasks with high priority are scheduled first.

[0070] In one embodiment, step S200 includes steps S210-S230:

[0071] S210: When the process relationship between adjacent production processes is parallel process, a time constraint is established between the adjacent production processes such that the planned start time of the earlier production process is greater than or equal to the planned start time of the later production process.

[0072] Optionally, when the process relationship between adjacent production processes is process parallelism, the time constraint of the adjacent production processes is established such that the planned start time of the earlier production process is greater than or equal to the planned start time of the later production process. For example, when the process relationship between adjacent production processes A and B is process parallelism, the time constraint of the adjacent production processes is established such that the planned start time of the earlier production process A is greater than or equal to the planned start time of the later production process B.

[0073] S220. When the process relationship between adjacent production processes is process serial, a time constraint is established between the adjacent production processes such that the planned end time of the preceding production process is greater than or equal to the planned start time of the succeeding production process.

[0074] Optionally, when the process relationship between adjacent production processes is process parallel, the time constraint of the adjacent production processes is established that the planned start time of the earlier production process is greater than or equal to the planned start time of the later production process. For example, when the process relationship between adjacent production processes A and B is process serial, the time constraint of the adjacent production processes is established that the planned end time of the earlier production process A is greater than or equal to the planned start time of the later production process B.

[0075] S230. Determine the effective time of production resources and the conversion time of adjacent production processes, and schedule according to the conversion time, time constraints and effective time to determine the planned start time and planned end time of each production process in the corresponding production resources.

[0076] Optionally, determining the effective time of the production resource includes steps S2301-S2303:

[0077] S2301. Obtain the idle time of production resources.

[0078] Among them, idle time refers to the time occupied by schedules without other production tasks; since there can be multiple production tasks on the production line at the same time, that is, in addition to the current production task, there are other production tasks that need to occupy production resources (such as one or more injection molding machines), so first determine the time period occupied by schedules without any production tasks as the idle time of production resources.

[0079] S2302: Acquire calendar data and / or time setting information to determine rest time during free time.

[0080] Optionally, in an embodiment of the present application, calendar data may be introduced, and rest days such as weekends or statutory holidays may be determined in the calendar data. Alternatively, the user may set special time in advance and generate time setting information, such as setting which times are rest times (such as temporary production or quality abnormality downtime, etc.), and these rest times are marked as invalid rest times. Therefore, based on the above rules, rest time in idle time can be determined; rest time can be in hours or days; by introducing special time settings, frequent modifications of calendar data can be avoided, which is more user-friendly. It can be understood that if time setting information is suddenly added, each task block will be postponed normally.

[0081] S2303. Determine the effective time of production resources based on idle time and rest time.

[0082] Then, the time in the idle time, except for the rest time, is the effective time of the corresponding production resources.

[0083] It should be noted that the conversion time of adjacent production processes refers to the resource time occupied by changing models, molds, materials, etc. after production. For example, it takes 1 hour to change from production process A to production process B, and it takes 2 hours to change from production process B to production process C. Adjacent production processes have corresponding conversion times, which need to be taken into account when scheduling. The conversion time between production processes can be set in advance in the pre- and post-time setting table for the system to obtain.

[0084] In an embodiment of the present application, after determining the effective time of each production resource and the conversion time of adjacent production processes, scheduling is performed based on the conversion time, time constraints and effective time to ensure that each production process is allocated to the corresponding production resource while meeting the time constraints. The effective planned start time and effective planned end time of each production process in the corresponding production resource are determined.

[0085] In one implementation, step S300 includes steps S310-S330:

[0086] S310. Determine the first time length of each production process based on the planned start time and the planned end time of the production resources corresponding to each production process, and generate a task block corresponding to the first time length based on the first time length of each production process. Alternatively, determine the second time length based on the preset standard working hours and preset efficiency of the production resources corresponding to each production process, and generate a task block corresponding to the second time length.

[0087] In one embodiment, the first time length of each production process is determined based on the time difference between the planned end time and the planned start time of the production resources corresponding to each production process, and then a task block corresponding to the first time length is generated, and each task block is used to represent a corresponding production process. Alternatively, in another embodiment, the second time length is calculated based on the preset standard working hours and preset efficiency of the production resources corresponding to each production process, and then a task block corresponding to the second time length is generated, and similarly, each task block is used to represent a corresponding production process.

[0088] For example, suppose that the two production processes of a production task are produced on production resources R1 and R2, with a total of 1000 PCS. Suppose that when producing on R1, the preset standard working hours are 10S / unit, and the preset efficiency is 100%; when producing on R2, the preset standard working hours are 20S / unit, and the preset efficiency is 80%. The second time length of the task block corresponding to R1 is 1000×10÷100%=10000S, and the second time length of the task block corresponding to R2 is 1000×20÷80%=25000S.

[0089] S320, setting time information in a preset operation area, arranging each task block in order according to the time information, the planned start time and the planned end time, and displaying corresponding production resources in a preset resource area.

[0090] like Figure 2 As shown, optionally, in order to provide users (such as production personnel) with a more intuitive and detailed understanding of the production situation, an operation area 21 and a resource area 22 are preset in the page for constructing a scheduling Gantt chart, and time information is set in the operation area 21. The time information can be in days or hours, without specific limitation. Then, according to the time information, the planned start time and the planned end time, each task block 23 is arranged in sequence, and the length of the task block 23 corresponds to the span of the time information, and the corresponding production resources are displayed in the preset resource area.

[0091] S330: Generate a scheduling Gantt chart according to the operation area and the resource area.

[0092] Finally, based on the settings and displayed contents in the operation area and resource area, a scheduling Gantt chart is generated, such as Figure 2 As shown. It should be noted that the scheduling Gantt chart can reflect the relationship and sequence of task blocks based on lines and arrows, and the task block can indicate the status of the current task (for example: locked, issued, completed, etc.); the scheduling Gantt chart can also set a function menu area, which can display different production tasks. When a production task is clicked, the relevant task blocks will be found through the task ID of the production task, and then these task blocks will be displayed in a flashing manner for quick positioning.

[0093] In one embodiment, in step S400, after determining the scheduling Gantt chart, the scheduled production task is executed using the scheduling Gantt chart, and then the system communicates with each production resource to monitor the production situation during the execution of the production task. Then the system can dynamically adjust the schedule of the scheduling Gantt chart based on the production situation to obtain the target scheduling Gantt chart, adapt to the actual situation at any time, and ensure the smooth completion of the production task. At the same time, the production personnel can also input user adjustment instructions in the system based on the actual situation, such as encountering special situations such as changes in the required delivery date of the production task, or problems in a production process, or seeing the scheduling Gantt chart and wanting to make further adjustments, and drag the task block in the scheduling Gantt chart, so that the system can dynamically adjust the schedule of the scheduling Gantt chart according to the user adjustment instructions to obtain the final target scheduling Gantt chart.

[0094] In one embodiment, in step S400, the schedule of the scheduling Gantt chart is dynamically adjusted according to the user adjustment instruction to obtain the target scheduling Gantt chart, including steps S410-S430:

[0095] S410: Adjust the position of the target task block in the operation area according to the user adjustment instruction.

[0096] Optionally, users (such as production personnel) can adjust the task blocks corresponding to one or more production processes based on actual needs. Specifically, the user inputs an adjustment instruction, and the system adjusts the position of the target task block in the operation area in response to the user adjustment instruction.

[0097] S420. Determine the new plan start time and the new plan end time corresponding to the target task block according to the location and time information of the target task block.

[0098] Optionally, after the target task block is moved, the time information corresponding to its location may change, and the corresponding production resources may also change. At this time, based on the location and time information of the target task block, the new planned start time and the new planned end time corresponding to the target task block are re-determined. It is understandable that if the production resources change, the new production resources can be determined at the same time, and the subsequent target scheduling Gantt chart includes the changes in production resources.

[0099] S430: According to the new planned start time and the new planned end time, the corresponding positions of the remaining task blocks are automatically adjusted in the operation area to obtain a target scheduling Gantt chart.

[0100] Optionally include:

[0101] S4301. Automatically adjust the corresponding positions of the remaining task blocks in the operation area according to the new planned start time and the new planned end time.

[0102] Optionally, if the position of a target task block of a production process changes, the system will automatically adjust the corresponding positions of the remaining task blocks of the same production task in the operation area. For example, if production process A is adjusted forward, production processes B and C will follow suit and move forward or backward to find the effective time of the corresponding production resources to be arranged in.

[0103] S4302. After the positions of all task blocks are adjusted, the detection results of the process relationships between the task blocks are determined respectively according to the positions of the task blocks and the process relationships.

[0104] Optionally, after the positions of all task blocks are adjusted, the effective time may be intermittent, and there may be processes of other different production tasks in between, or the process relationship may be violated when the production personnel are adjusted. Therefore, after the positions of all task blocks are adjusted, if the user wants to save the scheduling Gantt chart, the system will determine the detection results of the process relationship between each task block according to the current position and process relationship of each task block to see whether the process relationship is satisfied.

[0105] S4303: When at least one detection result indicates an abnormality, an abnormal task block whose detection result indicates an abnormality is marked and an early warning is issued.

[0106] Optionally, when at least one test result indicates an abnormality, the abnormal task block whose test result indicates an abnormality is marked, that is, at least one abnormal task block violates the process relationship, that is, also violates the time constraint. At this time, an early warning will be issued for the abnormal task block, and an early warning symbol (such as "!") and abnormal information will be displayed, such as Figure 3 As shown, it is convenient to remind production personnel that readjustment is needed.

[0107] For example, the abnormality may be the following situations: when the process relationship is SS, if the planned start time of the current process is < the planned start time of the previous process, it is determined that the process relationship is abnormal; when the process relationship is ES, if the planned start time of the current process is < the planned end time of the previous process, it is determined that the process relationship is abnormal; when the process relationship is SS, if the planned start time of the current process is > the planned start time of the next process, it is determined that the process relationship is abnormal; when the process relationship is ES, if the planned end time of the current process is > the planned start time of the next process, it is determined that the process relationship is abnormal.

[0108] S4304. In response to the first adjustment instruction, the position of the abnormal task block is adjusted, or the position of the abnormal task block is automatically adjusted, and the step of respectively determining the detection results of the process relationship between each task block according to the position of each task block and the process relationship, until all the detection results are normal, and the target scheduling Gantt chart is obtained.

[0109] Optionally, after discovering the early warning, the production personnel can find the abnormal task block based on the abnormal information of the early warning, and then input the first adjustment instruction to adjust the position of the abnormal task block, or the system automatically adjusts the position of the abnormal task block (for example, the normal scheduling Gantt chart of the previous version can be found first, and the position of the abnormal task block can be restored). It can be understood that at this time, the remaining task blocks will also move again with the movement of the position of the abnormal task block, and then return to the step of determining the detection results of the process relationship between each task block according to the position of each task block and the process relationship, until all the detection results are normal and the target scheduling Gantt chart is obtained.

[0110] In one embodiment, in step S400, the schedule of the scheduling Gantt chart is dynamically adjusted according to the production situation to obtain the target scheduling Gantt chart, including steps S440-S460:

[0111] S440. Determine the actual delivery date according to the planned end time of the last production process, and compare the actual delivery date with the required delivery date of the production task.

[0112] Optionally, in order to ensure that the production tasks can be completed on schedule, it is necessary to determine the planned end time of the last production process in each production task as the actual delivery date of the production task, and compare the actual delivery date with the required delivery date of the production task.

[0113] S450: When the actual delivery date is greater than the required delivery date, a mark is placed on the overdue task block whose planned end time exceeds the required delivery date and an early warning is issued.

[0114] Optionally, when the actual delivery date is greater than the required delivery date, indicating that the task cannot be completed on schedule, a mark and warning are issued on the overdue task block whose planned end time exceeds the required delivery date, and abnormal information of the warning can be displayed, such as overdue or delivery abnormality.

[0115] S460. In response to the second adjustment instruction, adjust the position of the overdue task block, or automatically determine the available production resources and adjust the position of the overdue task block according to the available production resources, return to the step of comparing the actual delivery date with the required delivery date of the production task, until the actual delivery date is less than or equal to the required delivery date, and obtain the target scheduling Gantt chart.

[0116] Optionally, when the user sees an overdue situation, he can enter a second adjustment instruction to adjust the position of the overdue task block, or the system automatically determines the available production resources and adjusts the position of the overdue task block based on the available production resources (such as the effective time of the production resources) (it can be understood that when the position of the overdue task block is adjusted, the remaining task blocks of the same production task will also automatically move based on the process relationship). Then, return to the step of comparing the actual delivery date with the required delivery date of the production task until the actual delivery date is less than or equal to the required delivery date, and obtain the target scheduling Gantt chart to ensure that the production task is completed on time.

[0117] It should be noted that in the embodiment of the present application, when adjusting the position of a task block, it is not limited to one production resource, and can be cut across production resources. For example, the overdue task block is further cut into several sub-task blocks. For example, the overdue task block has a total of 1000 PCS, and the overdue part may be 400 PCS, then it is cut into 600 PCS and 400 PCS, and then the position of the sub-task blocks of the overdue part is adjusted to achieve automatic cutting, thereby ensuring that the overall production task is not overdue.

[0118] like Figure 4 As shown, in one implementation, the graphical scheduling method of the embodiment of the present application may further include steps S510-S530:

[0119] S510: When the actual delivery date is greater than the required delivery date, the overdue task block whose planned end time exceeds the required delivery date is marked with a first color.

[0120] Optionally, when the actual delivery date is greater than the required delivery date, the overdue task block whose planned end time exceeds the required delivery date can be marked with the first color so that production personnel can quickly understand the overdue through the first color, such as task block 23A.

[0121] S520: When the actual delivery date is equal to the required delivery date, mark the task block with a second color.

[0122] Optionally, when the actual delivery date is equal to the required delivery date, a second color may be marked on the task block accordingly, so that production personnel can quickly understand the normal progress through the second color, such as task block 23B.

[0123] S530: When the actual delivery date is less than the required delivery date, determine the delivery date difference between the required delivery date and the actual delivery date. If the delivery date difference is less than or equal to the delivery date threshold, mark the task block with the second color. If the delivery date difference is greater than the delivery date threshold, mark the task block with the third color.

[0124] Optionally, when the actual delivery date is less than the required delivery date, the delivery date difference between the required delivery date and the actual delivery date is determined. If the delivery date difference is less than or equal to the delivery date threshold X, the second color is marked on the corresponding task block, so that the production personnel can quickly understand the normal progress through the second color; if the delivery date difference is greater than the delivery date threshold X, a third color is marked on the task block, such as task block 23C, so that the production personnel can quickly understand the advance (i.e., premature completion) through the third color. At this time, it is convenient for the production personnel to input the third adjustment instruction to adjust the task block after the advanced task block to advance the progress, thereby improving production efficiency.

[0125] The first color represents overdue, the second color represents normal, and the third color represents ahead of time. For example, the first color is red, the second color is green, and the third color is blue.

[0126] In an embodiment of the present application, in order to facilitate adjustments by production personnel, different background colors can be used to distinguish actual rest time (such as rest days on weekends or statutory holidays, etc., or set rest time) from the effective time of resources.

[0127] Generate a scheduling Gantt chart using the method of the embodiment of the present application:

[0128] 1. It can help enterprise planners plan and arrange production tasks, clearly understand the overall situation of the production plan, including the start, end time, duration, etc. of the task, optimize resource utilization, discover potential delays and conflicts in advance, and make reasonable adjustments and optimizations

[0129] 2. In view of the problem that the existing Gantt chart cannot directly reflect the availability and constraints of resources, the available effective time is directly displayed based on the background color, and the scheduling takes the constraints into consideration. When the constraints are violated, timely warnings are issued to avoid conflicts and delays between tasks and ensure the smooth progress of the production process;

[0130] 3. To address the problem that the existing Gantt chart cannot be updated in real time and needs to be adjusted manually, monitor the production situation. For example, some production processes may be delayed. At this time, the planned end time will change, and the planned start time and planned end time of the subsequent production processes will also change, which may not meet the required delivery date. At this time, the system will issue timely warnings based on the monitored production situation, or dynamically adjust the scheduling of the scheduling Gantt chart in a timely manner through local optimization and overall optimization functions to obtain the target scheduling Gantt chart, so that the production plan is more closely aligned with normal production needs.

[0131] 4. The scheduling Gantt chart can display resource allocation and time status, such as production resources and time information. By viewing the scheduling Gantt chart, relevant personnel can identify bottlenecks and optimization opportunities in resource utilization, and allocate resources reasonably to improve production efficiency and reduce resource waste.

[0132] 5. The scheduling Gantt chart can detect potential delays and conflicts in advance, and conduct risk assessment and management. By identifying critical paths and key tasks, relevant personnel can focus on tasks that have a significant impact on the entire production plan and take appropriate measures to reduce risks and ensure delivery time.

[0133] 6. The Gantt chart can be used as a communication tool among departments within the enterprise. Relevant personnel can use it to understand the task arrangement and progress, coordinate and cooperate; at the same time, it can provide transparency and communication convenience to ensure that all parties have a clear understanding and consensus on the production plan.

[0134] Reference Figure 5 , shows a structural block diagram of a graphical scheduling device according to an embodiment of the present application, the device may include:

[0135] An acquisition module is used to acquire production tasks and determine a number of production processes and process relationships between the production processes based on the production tasks;

[0136] The scheduling module is used to schedule according to the production processes and process relationships, and determine the planned start time and planned end time of each production process in the corresponding production resources;

[0137] A graphics module is used to generate a scheduling Gantt chart based on the planned start time and planned end time of the production resources corresponding to each production process;

[0138] The adjustment module is used to monitor the production situation in the process of executing the production task using the scheduling Gantt chart, and dynamically adjust the schedule of the scheduling Gantt chart according to the production situation or user adjustment instructions to obtain the target scheduling Gantt chart.

[0139] In one embodiment, the graphics module is further configured to:

[0140] When the actual delivery date is greater than the required delivery date, the overdue task block whose planned end time exceeds the required delivery date is marked with the first color;

[0141] When the actual delivery date is equal to the required delivery date, mark the task block with the second color;

[0142] When the actual delivery date is less than the required delivery date, determine the delivery date difference between the required delivery date and the actual delivery date. If the delivery date difference is less than or equal to the delivery date threshold, mark the task block with the second color. If the delivery date difference is greater than the delivery date threshold, mark the task block with the third color.

[0143] Among them, the first color represents overdue, the second color represents normal, and the third color represents ahead of time.

[0144] The functions of each module in the device of the embodiment of the present application can be found in the corresponding description in the above method, and will not be repeated here.

[0145] Reference Figure 6 , shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the graphical scheduling method in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.

[0146] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 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.

[0147] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0148] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the graphical scheduling method provided in the above embodiment.

[0149] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0150] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0151] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0152] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0153] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0154] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0155] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0156] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0157] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0158] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0159] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0160] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A graphical scheduling method, characterized in that: include: Obtaining a production task, and determining a number of production processes and process relationships between the production processes according to the production task; Scheduling according to the production processes and the process relationships to determine the planned start time and the planned end time of each production process in the corresponding production resources; Generate a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each of the production processes; In the process of executing the production task using the scheduling Gantt chart, the production situation is monitored, and the schedule of the scheduling Gantt chart is dynamically adjusted according to the production situation or user adjustment instructions to obtain a target scheduling Gantt chart.

2. The graphical scheduling method according to claim 1, characterized in that: The scheduling according to the production processes and the process relationships to determine the planned start time and the planned end time of each production process in the corresponding production resources includes: When the process relationship between adjacent production processes is process parallelism, a time constraint is established between adjacent production processes such that the planned start time of the preceding production process is greater than or equal to the planned start time of the succeeding production process; When the process relationship between adjacent production processes is process serial, a time constraint is established between adjacent production processes such that the planned end time of the preceding production process is greater than or equal to the planned start time of the following production process; Determine the effective time of production resources and the conversion time of adjacent production processes, and schedule according to the conversion time, the time constraint and the effective time to determine the planned start time and the planned end time of each production process in the corresponding production resources.

3. The graphical scheduling method according to claim 2, characterized in that: Determining the effective time of production resources includes: Obtaining the idle time of the production resource; the idle time refers to the time occupied by the schedule without other production tasks; Acquire calendar data and / or time setting information to determine rest time in the free time; The effective time of the production resources is determined according to the idle time and the rest time.

4. The graphical scheduling method according to any one of claims 1 to 3, characterized in that: Generating a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each production process includes: Determine the first time length of each production process according to the planned start time and the planned end time of the production resources corresponding to each production process, and generate a task block corresponding to the first time length according to the first time length of each production process, or determine the second time length according to the preset standard working hours and preset efficiency of the production resources corresponding to each production process, and generate a task block corresponding to the second time length; Setting time information in a preset operation area, arranging the task blocks in order according to the time information, the planned start time and the planned end time, and displaying corresponding production resources in a preset resource area; A scheduling Gantt chart is generated according to the operation area and the resource area.

5. The graphical scheduling method according to claim 4, characterized in that: According to the user adjustment instruction, the schedule of the scheduling Gantt chart is dynamically adjusted to obtain the target scheduling Gantt chart including: According to the user adjustment instruction, adjusting the position of the target task block in the operation area; Determine the new planned start time and the new planned end time corresponding to the target task block according to the location of the target task block and the time information; According to the new planned start time and the new planned end time, the corresponding positions of the remaining task blocks are automatically adjusted in the operation area to obtain a target scheduling Gantt chart.

6. The graphical scheduling method according to claim 5, characterized in that: The automatically adjusting corresponding positions of the remaining task blocks in the operation area according to the new planned start time and the new planned end time to obtain a target scheduling Gantt chart includes: According to the new planned start time and the new planned end time, automatically adjusting the corresponding positions of the remaining task blocks in the operation area; After the positions of all the task blocks are adjusted, the detection results of the process relationships between the task blocks are determined respectively according to the positions of the task blocks and the process relationships; When at least one detection result indicates an abnormality, the abnormal task block indicating the abnormality is marked and warned; In response to the first adjustment instruction, the position of the abnormal task block is adjusted, or the position of the abnormal task block is automatically adjusted, and the step of determining the detection results of the process relationship between each task block according to the position of each task block and the process relationship is returned to, until all the detection results are normal, and a target scheduling Gantt chart is obtained.

7. The graphical scheduling method according to claim 4, characterized in that: According to the production situation, dynamically adjusting the schedule of the scheduling Gantt chart to obtain the target scheduling Gantt chart includes: Determine the actual delivery date according to the planned end time of the last production process, and compare the actual delivery date with the required delivery date of the production task; When the actual delivery date is greater than the required delivery date, a mark and an early warning are issued on the overdue task block whose planned end time exceeds the required delivery date; In response to the second adjustment instruction, the position of the overdue task block is adjusted, or the available production resources are automatically determined and the position of the overdue task block is adjusted according to the available production resources, and the step of comparing the actual delivery date with the required delivery date of the production task is returned until the actual delivery date is less than or equal to the required delivery date, thereby obtaining a target scheduling Gantt chart.

8. The graphical scheduling method according to claim 7, characterized in that: The method further comprises: When the actual delivery date is greater than the required delivery date, marking the overdue task block whose planned end time exceeds the required delivery date with a first color; When the actual delivery date is equal to the required delivery date, marking the task block with a second color; When the actual delivery date is less than the required delivery date, determine the delivery date difference between the required delivery date and the actual delivery date, if the delivery date difference is less than or equal to the delivery date threshold, mark the task block with a second color, if the delivery date difference is greater than the delivery date threshold, mark the task block with a third color; The first color represents overdue, the second color represents normal, and the third color represents ahead of time.

9. A graphical scheduling device, characterized in that: include: An acquisition module, used to acquire production tasks, and determine a number of production processes and process relationships between the production processes according to the production tasks; A scheduling module, used to schedule according to the production processes and the process relationships, and determine the planned start time and the planned end time of each production process in the corresponding production resources; A graphics module, used for generating a scheduling Gantt chart according to the planned start time and the planned end time of the production resources corresponding to each of the production processes; The adjustment module is used to monitor the production situation during the process of executing the production task using the scheduling Gantt chart, and dynamically adjust the schedule of the scheduling Gantt chart according to the production situation or user adjustment instructions to obtain a target scheduling Gantt chart.

10. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Intelligent factory dynamic plan scheduling system

    CN113034051A

  • Station abnormal action analysis method, system and equipment and storage medium

    CN114625087A

  • Method and device for realizing automatic generation of planned Gantt chart based on RPA

    CN116932823A

  • Process scheduling method and device based on genetic algorithm, terminal and medium

    CN117094512A

  • Lightweight production scheduling management system

    CN118211806A

Cited By

  • Production work order scheduling method and device

    CN120911864A

  • Multi-process photomask production setting method and system and electronic equipment

    CN122175314A