Method for determining real-time dispatching line and related device
By generating and adjusting real-time dispatch lines, it solves the problems of high dispatch costs and low employee utilization in the traditional dispatch model, and achieves resource optimization and cost reduction under changes in flight times.
Patent Information
- Application Number
- CN202410866430.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-10-01
AI Technical Summary
In the traditional ground support dispatching model, tasks are highly variable when flights are delayed, and dispatchers cannot accurately identify and predict resource usage status, resulting in high dispatch costs, unreasonable number of employees, and low utilization.
By obtaining the set of tasks to be updated within the target check time period, real-time dispatch lines are generated, instructing employees to perform tasks in sequence according to the updated time sequence, calculating dispatch costs and omission costs, and adjusting the number of dispatch lines to minimize the objective function. Reduce costs.
It is possible to optimize the number of dispatch lines at the lowest possible cost, improve employee utilization, quickly respond to task changes, and reduce dispatch costs.
Smart Images

Figure CN118735199A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of civil aviation information technology, and in particular to a method for determining a real-time dispatching line and a related device. Background Art
[0002] With the rapid development of aviation business and the continuous increase in the number of flights, the shortcomings of the traditional ground support command and dispatch model have gradually emerged. Among them, ground support refers to the services provided to the flight between the landing of the flight and the next take-off of the flight, such as cleaning services, maintenance services, etc.
[0003] In the related technology, dispatchers usually manually arrange tasks (each task corresponds to a service) and transmit information through handheld devices, walkie-talkies, employees' personal mobile phones, etc. However, due to flight delays and other reasons, the tasks are highly variable, and dispatchers cannot accurately identify and predict the use status of existing resources, resulting in an unreasonable number of employees for each production task, which leads to high dispatch costs. Summary of the invention
[0004] In response to the above problems, the present application provides a method for determining a real-time dispatch line and related devices for reducing dispatch costs.
[0005] Based on this, the embodiments of the present application disclose the following technical solutions:
[0006] On the one hand, an embodiment of the present application provides a method for determining a real-time dispatch line, the method comprising:
[0007] Acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution times have changed;
[0008] According to the set of tasks to be updated, a real-time dispatch line set including a plurality of real-time dispatch lines is generated, wherein the real-time dispatch lines are used to instruct employees to sequentially perform the tasks to be performed according to the updated time sequence;
[0009] Obtaining the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line;
[0010] Determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed;
[0011] Determine the total dispatch cost corresponding to the real-time dispatch line set according to the dispatch cost and the initial dispatch line quantity, and determine the total omission cost corresponding to the real-time dispatch line set according to the task omission cost;
[0012] Obtaining an objective function according to the sum of the dispatching costs and the sum of the omission costs;
[0013] Based on the adjustment direction of minimizing the objective function, the initial number of dispatch lines of each of the real-time dispatch lines is adjusted to obtain the number of dispatch lines of each of the real-time dispatch lines.
[0014] On the other hand, the present application provides a device for determining a real-time dispatch line, the device comprising: an acquisition unit, a generation unit, a determination unit, and an adjustment unit;
[0015] The acquisition unit is used to acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution times have changed;
[0016] The generating unit is used to generate a real-time dispatch line set including a plurality of real-time dispatch lines according to the set of tasks to be updated, wherein the real-time dispatch lines are used to instruct employees to perform the tasks to be performed in sequence according to the updated time sequence;
[0017] The acquisition unit is further used to acquire the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line;
[0018] The determining unit is used to determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed;
[0019] The determining unit is further configured to determine the total dispatch costs corresponding to the real-time dispatch line set according to the dispatch costs and the initial number of dispatch lines, and determine the total omission costs corresponding to the real-time dispatch line set according to the task omission costs;
[0020] The determining unit is further configured to obtain an objective function according to the total of the dispatching costs and the total of the omission costs;
[0021] The adjustment unit is used to adjust the initial number of dispatch lines of each of the real-time dispatch lines based on the adjustment direction of minimizing the objective function, so as to obtain the number of dispatch lines of each of the real-time dispatch lines.
[0022] In another aspect, the present application provides a computer device, the device comprising a processor and a memory:
[0023] The memory is used to store a computer program and transmit the computer program to the processor;
[0024] The processor is configured to execute the method described in the above aspects according to the instructions in the computer program.
[0025] On the other hand, the present application provides a computer-readable medium, wherein the computer-readable medium is used to store a computer program, and the computer program is used to execute the method described in the above aspects.
[0026] On the other hand, an embodiment of the present application provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable medium. A processor of a computer device reads the computer instruction from the computer-readable medium, and the processor executes the computer instruction, so that the computer device executes the method described in the above aspects.
[0027] The advantages of the above technical solution of this application are:
[0028] Acquire multiple pending tasks with changed execution times within the target inspection time period to obtain a set of tasks to be updated. Generate a set of real-time dispatch lines including multiple real-time dispatch lines based on the multiple pending tasks with changed execution times included in the set of tasks to be updated, so as to instruct employees to execute the pending tasks in sequence according to the updated time sequence based on the real-time dispatch lines. Obtain the dispatch cost of each real-time dispatch line, that is, to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line. Determine the initial dispatch line quantity and task omission cost of each real-time dispatch line, determine the sum of dispatch costs corresponding to the real-time dispatch line set based on the dispatch cost and the initial dispatch line quantity, determine the sum of omission costs corresponding to the real-time dispatch line set based on the task omission cost, and obtain the objective function based on the sum of dispatch costs and the sum of omission costs. The objective function can describe the sum of costs of each real-time dispatch line. In order to reduce the cost, the initial dispatch line quantity of each real-time dispatch line can be adjusted based on the adjustment direction of minimizing the objective function to obtain the dispatch line quantity of each real-time dispatch line. Therefore, when the cost of the real-time dispatching line is minimized as much as possible, the number of dispatching lines for each real-time dispatching line can make the dispatching cost smaller, thereby reducing the dispatching cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.
[0030] Figure 1 A flowchart of a method for determining a real-time dispatch line provided in an embodiment of the present application;
[0031] Figure 2 A schematic diagram of a device for determining a real-time dispatch line provided in an embodiment of the present application;
[0032] Figure 3 A structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0033] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0034] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0035] It should be noted that the concepts such as "first" and "second" (if included) mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0036] It should be noted that the modifications of "one" and "multiple" (if included) mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0037] In the related technology, dispatchers are generally required to manually arrange production tasks corresponding to each service, and information is transmitted through handheld devices, walkie-talkies, employees' personal mobile phones and other tools. However, this scheduling method relies more on the dispatcher's personal experience, and the start time of tasks included in ground support may change due to external abnormal reasons, such as air carrier delays, extreme weather delays, security delays, and flight delays. After the start time is changed, the employees who were originally scheduled to perform the task may be unable to perform the task, and the task needs to be reassigned. In other words, the original task may undergo major changes due to flight delays and other reasons, which will cause the following problems:
[0038] (1) The dispatching method that relies on human brain and intercom command has a long overall dispatching time and a large workload for manual allocation. In addition, it is impossible to make quick adjustments and respond to large-scale flight delays. The accuracy is low, resulting in an unreasonable number of employees for each production task, which leads to high dispatching costs.
[0039] (2) An employee will generally complete multiple tasks during normal working hours. When dispatching work manually, the dispatcher cannot accurately identify and predict the use status of existing human resources. In addition, the task issuance density is high and the volume is large, which ensures that the current task and subsequent tasks cannot be completed on time.
[0040] (3) The dispatch results often fail to meet the needs of employees to perform adjacent tasks nearby, resulting in employees often having to spend a lot of time moving around the apron, resulting in low utilization of employee working hours. Due to limitations such as physical location and system defects, there is a lack of real-time monitoring of resources and feedback interaction of dynamic information, which leads to low controllability of resource allocation and low utilization efficiency.
[0041] Based on this, an embodiment of the present application provides a method for determining a real-time dispatch line and a related device, which obtains multiple tasks to be executed with changed execution times within a target inspection time period, and obtains a set of tasks to be updated. According to the multiple tasks to be executed with changed execution times included in the set of tasks to be updated, a set of real-time dispatch lines including multiple real-time dispatch lines is generated, so as to instruct employees to execute the tasks to be executed in sequence according to the updated time sequence relationship based on the real-time dispatch lines. The dispatch cost of each real-time dispatch line is obtained, that is, it is used to describe the cost corresponding to completing all the tasks to be executed included in the corresponding real-time dispatch line. Determine the initial number of dispatch lines and the task omission cost of each real-time dispatch line, determine the sum of dispatch costs corresponding to the real-time dispatch line set based on the dispatch cost and the initial number of dispatch lines, determine the sum of omission costs corresponding to the real-time dispatch line set based on the task omission cost, and obtain the objective function based on the sum of dispatch costs and the sum of omission costs. The objective function can describe the total cost of each real-time dispatch line. In order to reduce the cost, the initial dispatch line quantity of each real-time dispatch line can be adjusted based on the adjustment direction of the minimized objective function to obtain the dispatch line quantity of each real-time dispatch line. Thus, when minimizing the cost of the real-time dispatch line as much as possible, the dispatch line quantity of each real-time dispatch line can reduce the dispatch cost, thereby reducing the dispatch cost.
[0042] The method for determining the real-time dispatch line provided in the present application can be applied to computer devices that have the ability to determine the real-time dispatch line, such as terminal devices and servers. Specifically, the terminal device can be a desktop computer, a laptop computer, a mobile phone, and a tablet computer; the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. The terminal device and the server can be directly or indirectly connected via wired or wireless communication, and the present application does not limit this.
[0043] Combine the following Figure 1 , a method for determining a real-time dispatch line provided in an embodiment of the present application is introduced. Figure 1 , this figure is a flowchart of a method for determining a real-time dispatch line provided in an embodiment of the present application, and the method may include S101-S107.
[0044] S101: Obtain a set of tasks to be updated within a target inspection time period.
[0045] The target inspection time period may be a time period during which you want to check whether the execution time of the task to be executed has changed, such as 10:00-11:00, 3:00-4:00, etc. The target inspection time period may be a single time period set by the user, or a cyclic time period set by the user, such as dividing a day into 24 inspection time periods, and using each inspection time period as a target inspection time period, etc. This application does not make specific limitations on this.
[0046] The following takes multiple inspection time periods as target inspection time periods as an example to illustrate how to automatically and real-time update the set of tasks to be updated in each inspection time period. For details, see S1011-S1015.
[0047] S1011: Acquire the real-time dispatch start time, the real-time dispatch time range, the real-time dispatch time interval and the original dispatch line set.
[0048] The real-time dispatch start time is the time to determine the start of the real-time dispatch line operation, which can be expressed as t d The real-time dispatch time range is the duration of the real-time dispatch line operation, which can be expressed as t p The real-time dispatching time interval is the time interval between each real-time dispatching line operation, which can be expressed as t r The original dispatch line set includes at least one original dispatch line, and the original dispatch line is used to instruct the employees to perform multiple tasks to be performed in sequence according to the original time sequence relationship.
[0049] The purpose of data collection is to identify the tasks and employees that are active in a certain time period. Two tasks are considered in this problem, namely, determining the time period [td ,t d +t p ] and the last confirmed real-time dispatch line operation time period, the last t r The pending tasks that are completed within the time, that is, the completion time of the pending tasks belongs to [t d -t r ,t d The reason for calculating the pending tasks that occurred before the current time period is to take into account t d The first task to be executed after t d The association between the last pending task and the previous one.
[0050] S1012: Determine multiple inspection time periods according to the real-time dispatch start time, the real-time dispatch time range, and the real-time dispatch time interval.
[0051] According to the real-time dispatch start time, the real-time dispatch time range and the real-time dispatch time interval, multiple inspection time periods can be determined. For example, from the real-time dispatch start time, after a real-time dispatch time range has passed, the first inspection time period is obtained. Based on the first inspection time period and the real-time dispatch time interval, the start time of the second inspection time period is determined, and after another real-time dispatch time range has passed, the second inspection time period is obtained, and so on, multiple inspection time periods are obtained.
[0052] S1013: Obtain the changed tasks within the target inspection time period among the multiple inspection time periods.
[0053] Each of the multiple inspection time periods can be used as a target inspection time period, or one inspection time period can be selected from the multiple inspection time periods as a target inspection time period, which is not specifically limited in this application. In this embodiment, each of the multiple inspection time periods is used as a target inspection time period.
[0054] A variable task is a pending task whose actual execution time is different from the originally scheduled execution time, or in other words, a variable task is a pending task whose execution time has changed.
[0055] S1014: taking each original work dispatch line in the original work dispatch line set as a target work dispatch line, and determining conflicting tasks according to the changed tasks included in the target work dispatch line.
[0056] Conflicting tasks are unreasonable changing tasks in the original dispatching line. Unreasonable means that the execution time of conflicting tasks exceeds the working time of the corresponding employees in the target dispatching line, that is, in [t d -t r ,t d +t p] will exceed the employee's shift range. Or, the execution time of the conflicting task overlaps with the execution time of the unexecuted tasks included in the target dispatch line, that is, in [t d -t r ,t d +t p ] The continued execution of the changed task between will affect the execution of the next task to be executed.
[0057] For example, due to flight delays and other factors, the start time of a pending task may be later than scheduled, beyond the end time of the employee's shift, or it may not be connected to the originally planned follow-up task. Therefore, each pending task will check whether it starts after the end of the employee's shift, and the pending task will be determined as a conflicting task. Similarly, every two adjacent pending tasks will be checked to see if they can be connected or overlapped. If so, the pending task will be determined as a conflicting task.
[0058] S1015: Obtain a set of tasks to be updated based on the conflicting tasks and the unexecuted tasks after the conflicting tasks in the target dispatch line.
[0059] Since conflicting tasks will not only affect themselves but also the subsequent tasks to be executed, the conflicting tasks in the target dispatch line and the unexecuted tasks after the conflicting tasks can be taken as tasks to be updated, so as to obtain a set of tasks to be updated based on the tasks to be updated.
[0060] In addition, in the related art, employees will perform pending tasks based on the original dispatch line, wherein the original dispatch line indicates which employee goes to which location to perform which pending task during the time period. An original dispatch line is used to indicate which employee goes to which location to perform which task during the working hours. Thus, through the number of each original dispatch line, it is determined that each employee has a specific schedule indicating which tasks to be completed, with time and location information, etc.
[0061] However, the original dispatch line is generally generated in advance. In actual applications, the execution time of the tasks to be executed may change, such as delays by air carriers, extreme weather delays, safety delays, and aircraft delays. Therefore, it is necessary to adjust the original dispatch line so that the adjusted real-time dispatch line is more in line with the actual situation, thereby reducing the dispatch cost. The adjustment process is described in detail below.
[0062] S102: Generate a real-time dispatch line set including a plurality of real-time dispatch lines according to the set of tasks to be updated.
[0063] The real-time dispatch line is obtained by adjusting the original dispatch line according to the changes in the execution time of the tasks to be executed. Compared with the original dispatch line, the real-time dispatch line is more in line with the needs of the actual situation. That is, the real-time dispatch line is used to instruct employees to execute the tasks to be executed in sequence according to the updated time sequence.
[0064] The present application embodiment does not specifically limit the method for generating the real-time dispatch line, and those skilled in the art can set it according to actual needs. For example, since the real-time dispatch line is obtained by adjusting the original dispatch line, only the adjusted part needs to be calculated, that is, the number of real-time dispatch lines is much smaller than the number of original dispatch lines, so the real-time dispatch line can be determined by enumeration. See S1021-S1023 for details.
[0065] S1021: For a target employee among multiple employees, clear conflicting tasks and unexecuted tasks after the conflicting tasks in the original work dispatch line corresponding to the target employee to obtain a first pending work dispatch line.
[0066] Since each employee corresponds to an original dispatch line, the original dispatch line corresponding to each employee can be traversed to obtain the real-time dispatch line. The following takes the target employee among multiple employees as an example to adjust the original dispatch line of the target employee to obtain the real-time dispatch line for explanation.
[0067] It is understandable that there are conflicting tasks among the multiple tasks to be executed included in the original work dispatch line corresponding to the target employee. If there are no conflicting tasks in the original work dispatch line corresponding to the employee, the original work dispatch line may not be adjusted.
[0068] From the above, it can be seen that since the conflicting tasks will not only affect oneself but also the subsequent tasks to be executed, the conflicting tasks and the unexecuted tasks after the conflicting tasks in the original dispatch line corresponding to the target employee can be cleared from the original dispatch line to obtain the first pending dispatch line, so as to add tasks to be executed on the basis of the first pending dispatch line, thereby realizing the adjustment of the original dispatch line.
[0069] S1022: Add each to-be-executed task and the combination of each to-be-executed task included in the to-be-updated task set to the first to-be-determined work dispatch line to obtain a second to-be-determined work dispatch line.
[0070] S1023: If the second pending work dispatch line meets the employee attendance rule of the target employee, the second pending work dispatch line is determined as the real-time work dispatch line.
[0071] Therefore, each employee will check one by one whether the reassigned pending tasks can be arranged into his first pending dispatch line. If the pending tasks can be arranged, a new dispatch line will be generated, namely the real-time dispatch line, and the real-time dispatch line will be added to the real-time dispatch line set. Since this process is completed by checking the pending tasks one by one and the combination of each pending task, all feasible second pending dispatch lines can be listed in the end, thus obtaining the real-time dispatch line set.
[0072] S103: Obtain the dispatch cost of each real-time dispatch line.
[0073] Since each real-time dispatch line is used to indicate multiple pending tasks that an employee is waiting to perform, different real-time dispatch lines include different pending tasks, and their corresponding dispatch costs may be different due to factors such as the number of personnel required for the pending tasks and the qualifications of the personnel. Among them, the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line, which can be determined by the number, qualifications, and wages of the executing employees.
[0074] S104: Determine the initial number of dispatch lines and the task omission cost of each real-time dispatch line.
[0075] The number of initial dispatch lines is used to describe the number of corresponding real-time dispatch lines. Since the real-time dispatch line set may not completely cover all pending tasks included in the task set to be updated, it is also necessary to obtain the costs corresponding to the pending tasks in the task set to be updated that are not arranged in the real-time dispatch line, that is, the task omission cost.
[0076] S105: Determine the total dispatch cost corresponding to the real-time dispatch line set according to the dispatch cost and the initial dispatch line quantity, and determine the total omission cost corresponding to the real-time dispatch line set according to the task omission cost.
[0077] The product of the dispatch cost of a real-time dispatch line and the initial number of dispatch lines of the real-time dispatch line is the sum of the dispatch costs of the real-time dispatch line, thereby obtaining the sum of the dispatch costs of each real-time dispatch line, and obtaining the sum of the dispatch costs corresponding to all real-time dispatch lines included in the real-time dispatch line set.
[0078] According to the sum of the task omission costs of each to-be-executed task that is not arranged in the real-time dispatch line, the sum of the omission costs corresponding to all the to-be-executed tasks included in the real-time dispatch line set is obtained.
[0079] S106: Obtain an objective function according to the total dispatch cost and the total omission cost.
[0080] The objective function can be expressed as formula (1):
[0081]
[0082] Where f is the objective function, Ω ′ is the real-time dispatch line set, h ′ k is the kth real-time dispatch line in the real-time dispatch line set, c k is the dispatch cost of the kth real-time dispatch line, x k is the initial number of dispatch lines for the kth real-time dispatch line, Γ ′ is the set of tasks to be updated, r is the rth task to be executed, u r is the omitted task cost of the rth task to be executed.
[0083] As a possible implementation method, according to the extent to which the airline company is missing the total cost of the task, the corresponding coefficient can be set, so that the objective function is closer to the actual demand, which can be expressed as formula (2):
[0084]
[0085] Among them, c u is the coefficient.
[0086] S107: Based on the adjustment direction of minimizing the objective function, the initial number of dispatch lines of each real-time dispatch line is adjusted to obtain the number of dispatch lines of each real-time dispatch line.
[0087] The adjustment direction can be expressed as formula (3):
[0088] Z=minf(3)
[0089] Among them, Z is the sum of the total dispatch cost and the total omission cost.
[0090] Thus, by minimizing the sum of the total dispatch cost and the total omission cost, while avoiding violations of labor regulations and task time limits, that is, by constantly adjusting x k , so that Z is minimized, so as to obtain the initial number of dispatch lines corresponding to each real-time dispatch line when the sum of the dispatch cost and the sum of the omission cost is minimized, and then use it as the number of dispatch lines for each real-time dispatch line. In this way, while improving employee utilization and reducing costs, it can quickly respond to changes in pending tasks, making the real-time dispatch line more in line with the actual situation.
[0091] It can be seen from the above technical solution that multiple tasks to be executed with changed execution times within the target inspection time period are obtained to obtain a set of tasks to be updated. According to the multiple tasks to be executed with changed execution times included in the set of tasks to be updated, a set of real-time dispatch lines including multiple real-time dispatch lines is generated, so as to instruct employees to execute the tasks to be executed in sequence according to the updated time sequence relationship based on the real-time dispatch lines. The dispatch cost of each real-time dispatch line is obtained, that is, it is used to describe the cost corresponding to completing all the tasks to be executed included in the corresponding real-time dispatch line. The initial number of dispatch lines and the task omission cost of each real-time dispatch line are determined, and the total dispatch cost corresponding to the real-time dispatch line set is determined according to the dispatch cost and the initial number of dispatch lines. According to the task omission cost, the total omission cost corresponding to the real-time dispatch line set is determined, and the objective function is obtained according to the total dispatch cost and the total omission cost. The objective function can describe the total cost of each real-time dispatch line. In order to reduce the cost, the initial number of dispatch lines of each real-time dispatch line can be adjusted based on the adjustment direction of minimizing the objective function to obtain the number of dispatch lines of each real-time dispatch line. Therefore, when the cost of the real-time dispatching line is minimized as much as possible, the number of dispatching lines for each real-time dispatching line can make the dispatching cost smaller, thereby reducing the dispatching cost.
[0092] As a possible implementation method, the initial number of dispatch lines of each real-time dispatch line can be adjusted based on the adjustment direction of the minimization objective function and satisfying the first constraint to obtain the number of dispatch lines of each real-time dispatch line. The determination method of the first constraint is described below through S201-S205.
[0093] S201: For a target task among a plurality of tasks to be executed included in a set of tasks to be updated, a total task cost required to execute the target task is obtained.
[0094] The target task is one of multiple tasks to be executed. Different tasks have different total task costs depending on factors such as the number of employees required to execute different tasks and employee qualifications.
[0095] S202: Acquire a real-time work dispatch line including a target task and an initial work dispatch quantity of the real-time work dispatch line including the target task from each real-time work dispatch line included in the real-time work dispatch line set.
[0096] S203: Determine the total dispatch cost corresponding to the real-time dispatch line including the target task according to the real-time dispatch line including the target task and the initial dispatch quantity of the real-time dispatch line including the target task.
[0097] S204: taking the multiple tasks to be executed included in the set of tasks to be updated as target tasks respectively, and obtaining the sum of the dispatching costs corresponding to the real-time dispatching lines including the various tasks to be executed respectively.
[0098] S205: Determine a first constraint according to the sum of the dispatch costs corresponding to the real-time dispatch lines of each task to be executed, the total task cost required to execute each task to be executed, and the task omission cost corresponding to each task to be executed.
[0099] Among them, in the first constraint, the sum of the dispatch costs of the real-time dispatch line including the target task and the sum of the task omission costs including the target task is equal to the total task cost required to include the target task, which can be expressed as formula (4):
[0100]
[0101] Among them, D r is the total cost of tasks including the rth task to be executed, Ω ′ is the real-time dispatch line set, h ′ k is the kth real-time dispatch line in the real-time dispatch line set, a rk Whether the kth real-time dispatch line includes the rth task to be executed, a rk = 1 means the kth real-time dispatch line includes the rth task to be executed, a rk = 0 means the kth real-time dispatch line does not include the rth task to be executed, x k is the initial number of dispatch lines for the kth real-time dispatch line, u r is the missing task cost of the rth task to be executed, Γ ′ is the set of tasks to be updated, and r is the rth task to be executed in the set of tasks to be updated.
[0102] As a possible implementation method, the original dispatch line is a collection of tasks to be executed. There is no time conflict between two tasks to be executed in the same original dispatch line. The moving time between two tasks to be executed must be less than the difference between the start time of the subsequent task to be executed and the end time of the previous task to be executed.
[0103] The original dispatch line set can be implemented in an exhaustive manner, and this application does not make specific limitations on this. As a possible implementation method, multiple original dispatch lines can be generated based on the task-related factors of each task to be performed and the employee-related information, so as to generate multiple original dispatch lines that cover all tasks to be performed included in the task set as much as possible according to time and place. Among them, task-related factors include task start time, task end time, task execution time and task execution location. The task start time is the time when the task can be started, the task end time is the time when the task needs to end, the task execution time is the time required to execute the task, and the task execution location is the location where the task is executed. Employee-related information includes employee ID, name, employee qualifications, employee shift start time and shift end time, etc.
[0104] For example, in actual applications, after the user specifies the type and time range of the task, the tasks and available employees in the corresponding time range are obtained, and the tasks are assigned to the employees according to the task scheduling rules.
[0105] Furthermore, you can also obtain the work preparation time, that is, how much time employees need to prepare before they can perform tasks after work. Work preparation time is generally used to change clothes, pick up equipment, etc., so you can further combine the work preparation time to generate a more reasonable set of dispatch lines.
[0106] As a possible implementation method, in the related art, the dispatch results often cannot meet the needs of employees to perform adjacent tasks nearby, resulting in employees often needing to spend a lot of time moving on the apron, resulting in low utilization of employee working hours. Based on this, the embodiment of the present application can also obtain the moving time between two tasks to be performed, so as to comprehensively consider the employee's task execution time and the moving time between two tasks to be performed when assigning tasks, so that the employee's moving time between tasks is minimized, work efficiency is improved, and the number of assigned tasks is balanced.
[0107] For example, the moving time between two pending tasks can be determined based on the aircraft stand, boarding gate, facility distance, etc. Among them, the aircraft stand is the area where the aircraft is parked on the apron, and the aircraft stand includes attributes such as the aircraft stand number, the aircraft stand partition, and the distance and proximity of the aircraft stand. The boarding gate is the exit for passengers to leave the airport, and the boarding gate generally corresponds to several aircraft stands. The boarding gate includes attributes such as the boarding gate number, the area to which it belongs, and the associated aircraft stand. The facility distance is the distance between two different facilities, and the data includes attributes such as the starting point facility, the end point facility, and the moving distance time.
[0108] As a possible implementation method, an original dispatch line set including multiple original dispatch lines can also be generated according to the task comprehensive factors of each task to be executed. Among them, the task comprehensive factors include task priority or employee priority. To ensure that the task priority is set, when dispatching, appropriate employees are given priority to perform high-level tasks. When setting the priority of employees, when dispatching, tasks are given priority to high-level employees, so as to ensure the completion quality of the task.
[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0111] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0112] Computer programs for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The computer program may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0113] In addition to the method for determining the real-time dispatch line provided in the embodiment of the present application, a device for determining the real-time dispatch line is also provided, such as Figure 2 As shown, it includes: an acquisition unit 201, a generation unit 202, a determination unit 203 and an adjustment unit 204;
[0114] The acquisition unit 201 is used to acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution time has changed;
[0115] The generating unit 202 is used to generate a real-time dispatch line set including a plurality of real-time dispatch lines according to the set of tasks to be updated, wherein the real-time dispatch lines are used to instruct employees to perform the tasks to be performed in sequence according to the updated time sequence;
[0116] The acquisition unit 201 is further used to acquire the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line;
[0117] The determining unit 203 is used to determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed;
[0118] The determining unit 203 is further configured to determine the total dispatch costs corresponding to the real-time dispatch line set according to the dispatch costs and the initial number of dispatch lines, and determine the total omission costs corresponding to the real-time dispatch line set according to the task omission costs;
[0119] The determining unit 203 is further configured to obtain an objective function according to the total of the dispatching costs and the total of the omission costs;
[0120] The adjusting unit 204 is used to adjust the initial number of dispatch lines of each of the real-time dispatch lines based on the adjustment direction of minimizing the objective function, so as to obtain the number of dispatch lines of each of the real-time dispatch lines.
[0121] It can be seen from the above technical solution that multiple tasks to be executed with changed execution times within the target inspection time period are obtained to obtain a set of tasks to be updated. According to the multiple tasks to be executed with changed execution times included in the set of tasks to be updated, a set of real-time dispatch lines including multiple real-time dispatch lines is generated, so as to instruct employees to execute the tasks to be executed in sequence according to the updated time sequence relationship based on the real-time dispatch lines. The dispatch cost of each real-time dispatch line is obtained, that is, it is used to describe the cost corresponding to completing all the tasks to be executed included in the corresponding real-time dispatch line. The initial number of dispatch lines and the task omission cost of each real-time dispatch line are determined, and the total dispatch cost corresponding to the real-time dispatch line set is determined according to the dispatch cost and the initial number of dispatch lines. According to the task omission cost, the total omission cost corresponding to the real-time dispatch line set is determined, and the objective function is obtained according to the total dispatch cost and the total omission cost. The objective function can describe the total cost of each real-time dispatch line. In order to reduce the cost, the initial number of dispatch lines of each real-time dispatch line can be adjusted based on the adjustment direction of minimizing the objective function to obtain the number of dispatch lines of each real-time dispatch line. Therefore, when the cost of the real-time dispatching line is minimized as much as possible, the number of dispatching lines for each real-time dispatching line can make the dispatching cost smaller, thereby reducing the dispatching cost.
[0122] As a possible implementation manner, the acquisition unit 201 is specifically configured to:
[0123] Acquire a real-time dispatch start time, a real-time dispatch time range, a real-time dispatch time interval, and an original dispatch line set, wherein the original dispatch line set includes an original dispatch line for instructing the employee to sequentially perform multiple tasks to be performed according to the original time sequence relationship;
[0124] Determining the multiple inspection time periods according to the real-time dispatch start time, the real-time dispatch time range, and the real-time dispatch time interval;
[0125] Acquire a changed task within the target inspection time period among the multiple inspection time periods, wherein the changed task is a task to be executed whose actual execution time is different from the originally scheduled execution time;
[0126] Each original dispatch line in the original dispatch line set is used as a target dispatch line, and conflicting tasks are determined according to the changed tasks included in the target dispatch line, where the execution time of the conflicting task exceeds the working time of the employee corresponding to the target dispatch line or the execution time of the conflicting task overlaps with the execution time of the unexecuted task included in the target dispatch line;
[0127] A set of tasks to be updated is obtained according to the conflicting tasks and unexecuted tasks after the conflicting tasks in the target dispatch line.
[0128] As a possible implementation manner, the generating unit 202 is specifically configured to:
[0129] For a target employee among multiple employees, clear conflicting tasks in an original work dispatch line corresponding to the target employee and unexecuted tasks after the conflicting tasks to obtain a first pending work dispatch line;
[0130] Adding each to-be-executed task included in the to-be-updated task set and the combination of each to-be-executed task to the first to-be-determined work dispatch line to obtain a second to-be-determined work dispatch line;
[0131] If the second pending work dispatch line meets the employee attendance rule of the target employee, the second pending work dispatch line is determined as the real-time work dispatch line.
[0132] As a possible implementation manner, the adjusting unit 204 is specifically configured to:
[0133] Based on minimizing the adjustment direction of the objective function and satisfying the first constraint, adjusting the initial number of dispatch lines of each of the real-time dispatch lines to obtain the number of dispatch lines of each of the real-time dispatch lines;
[0134] The determining unit 203 is further configured to:
[0135] For a target task among the multiple tasks to be executed included in the set of tasks to be updated, obtaining a total task cost required to execute the target task;
[0136] Acquire, from each of the real-time dispatch lines included in the real-time dispatch line set, a real-time dispatch line including the target task and an initial dispatch quantity of the real-time dispatch line including the target task;
[0137] Determine the total dispatch cost corresponding to the real-time dispatch line including the target task according to the real-time dispatch line including the target task and the initial dispatch quantity of the real-time dispatch line including the target task;
[0138] Taking the multiple tasks to be executed included in the set of tasks to be updated as the target tasks, respectively, and obtaining the sum of the dispatching costs corresponding to the real-time dispatching lines including each of the tasks to be executed;
[0139] The first constraint is determined based on the sum of the dispatch costs corresponding to the real-time dispatch lines of each of the tasks to be executed, the total task cost required to execute each of the tasks to be executed, and the task omission cost corresponding to each of the tasks to be executed. In the first constraint, the sum of the dispatch costs of the real-time dispatch lines including the target task and the task omission cost including the target task is equal to the total task cost required to include the target task.
[0140] As a possible implementation, the acquisition unit 201 is further used to acquire task-related factors and employee-related information corresponding to the plurality of tasks to be performed, wherein the task-related factors include task start time, task end time, task execution time and task execution location;
[0141] The generating unit 202 is further configured to generate an original dispatch line set including a plurality of original dispatch lines according to the task-related factors, employee-related information and the plurality of tasks to be performed.
[0142] As a possible implementation, the acquisition unit 201 is further used to acquire task comprehensive factors corresponding to the plurality of tasks to be executed, wherein the task comprehensive factors include task priority or employee priority;
[0143] The generating unit 202 is further configured to generate an original dispatch line set including a plurality of original dispatch lines according to the task comprehensive factor and the plurality of tasks to be executed.
[0144] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0145] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0146] Reference below Figure 3 , which shows a schematic diagram of the structure of a computer device 600 suitable for implementing the embodiment of the present disclosure. The computer device may be a terminal device or a server, and the terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The computer device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0147] like Figure 3As shown, the computer device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage device 608 into a random access memory (RAM) 603. Various computer programs and data required for the operation of the computer device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0148] Typically, the following devices may be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication devices 609 may allow the computer device 600 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The computer device 600 is shown with various devices, but it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have instead.
[0149] The computer-readable medium carries one or more computer programs. When the one or more computer programs are executed by the computer device, the computer device: obtains a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes multiple tasks to be executed whose execution times have changed; generates a set of real-time dispatch lines including multiple real-time dispatch lines based on the set of tasks to be updated, wherein the real-time dispatch lines are used to instruct employees to execute the tasks to be executed in sequence according to the updated time sequence; obtains the dispatch cost of each of the real-time dispatch lines, wherein the dispatch cost is used to describe the cost corresponding to completing all the tasks to be executed included in the corresponding real-time dispatch line; determines the cost of each of the real-time dispatch lines. The initial number of dispatch lines and the task omission cost of the line, the initial number of dispatch lines is used to describe the number of corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed; according to the dispatch cost and the initial number of dispatch lines, the total dispatch cost corresponding to the real-time dispatch line set is determined, and according to the task omission cost, the total omission cost corresponding to the real-time dispatch line set is determined; according to the total dispatch cost and the total omission cost, an objective function is obtained; based on the adjustment direction of minimizing the objective function, the initial number of dispatch lines of each real-time dispatch line is adjusted to obtain the number of dispatch lines of each real-time dispatch line.
[0150] In the context of the present disclosure, a computer readable medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a computer readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0151] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or including a computer program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a computer program for use by or in combination with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0152] The computer-readable medium may be included in the computer device, or may exist independently without being incorporated into the computer device.
[0153] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0154] According to one or more embodiments of the present disclosure, [Example 1] provides a method for determining a real-time dispatch line, including:
[0155] Acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution times have changed;
[0156] According to the set of tasks to be updated, a real-time dispatch line set including a plurality of real-time dispatch lines is generated, wherein the real-time dispatch lines are used to instruct employees to sequentially perform the tasks to be performed according to the updated time sequence;
[0157] Obtaining the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line;
[0158] Determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed;
[0159] Determine the total dispatch cost corresponding to the real-time dispatch line set according to the dispatch cost and the initial dispatch line quantity, and determine the total omission cost corresponding to the real-time dispatch line set according to the task omission cost;
[0160] Obtaining an objective function according to the sum of the dispatching costs and the sum of the omission costs;
[0161] Based on the adjustment direction of minimizing the objective function, the initial number of dispatch lines of each of the real-time dispatch lines is adjusted to obtain the number of dispatch lines of each of the real-time dispatch lines.
[0162] According to one or more embodiments of the present disclosure, [Example 2] provides a method for determining a real-time dispatch line, wherein obtaining a set of tasks to be updated within a target inspection time period includes:
[0163] Acquire a real-time dispatch start time, a real-time dispatch time range, a real-time dispatch time interval, and an original dispatch line set, wherein the original dispatch line set includes an original dispatch line for instructing the employee to sequentially perform multiple tasks to be performed according to the original time sequence relationship;
[0164] Determining the multiple inspection time periods according to the real-time dispatch start time, the real-time dispatch time range, and the real-time dispatch time interval;
[0165] Acquire a changed task within the target inspection time period among the multiple inspection time periods, wherein the changed task is a task to be executed whose actual execution time is different from the originally scheduled execution time;
[0166] Each original dispatch line in the original dispatch line set is used as a target dispatch line, and conflicting tasks are determined according to the changed tasks included in the target dispatch line, where the execution time of the conflicting task exceeds the working time of the employee corresponding to the target dispatch line or the execution time of the conflicting task overlaps with the execution time of the unexecuted task included in the target dispatch line;
[0167] A set of tasks to be updated is obtained according to the conflicting tasks and unexecuted tasks after the conflicting tasks in the target dispatch line.
[0168] According to one or more embodiments of the present disclosure, [Example 3] provides a method for determining a real-time dispatch line, wherein generating a real-time dispatch line set including multiple real-time dispatch lines according to the set of tasks to be updated includes:
[0169] For a target employee among multiple employees, clear conflicting tasks in an original work dispatch line corresponding to the target employee and unexecuted tasks after the conflicting tasks to obtain a first pending work dispatch line;
[0170] Adding each to-be-executed task included in the to-be-updated task set and the combination of each to-be-executed task to the first to-be-determined work dispatch line to obtain a second to-be-determined work dispatch line;
[0171] If the second pending work dispatch line meets the employee attendance rule of the target employee, the second pending work dispatch line is determined as the real-time work dispatch line.
[0172] According to one or more embodiments of the present disclosure, [Example 4] provides a method for determining a real-time dispatch line, wherein the initial number of dispatch lines of each real-time dispatch line is adjusted based on the adjustment direction of minimizing the objective function to obtain the number of dispatch lines of each real-time dispatch line, including:
[0173] Based on minimizing the adjustment direction of the objective function and satisfying the first constraint, adjusting the initial number of dispatch lines of each of the real-time dispatch lines to obtain the number of dispatch lines of each of the real-time dispatch lines;
[0174] The first constraint is determined as follows:
[0175] For a target task among the multiple tasks to be executed included in the set of tasks to be updated, obtaining a total task cost required to execute the target task;
[0176] Acquire, from each of the real-time dispatch lines included in the real-time dispatch line set, a real-time dispatch line including the target task and an initial dispatch quantity of the real-time dispatch line including the target task;
[0177] Determine the total dispatch cost corresponding to the real-time dispatch line including the target task according to the real-time dispatch line including the target task and the initial dispatch quantity of the real-time dispatch line including the target task;
[0178] Taking the multiple tasks to be executed included in the set of tasks to be updated as the target tasks, respectively, and obtaining the sum of the dispatching costs corresponding to the real-time dispatching lines including each of the tasks to be executed;
[0179] The first constraint is determined based on the sum of the dispatch costs corresponding to the real-time dispatch lines of each of the tasks to be executed, the total task cost required to execute each of the tasks to be executed, and the task omission cost corresponding to each of the tasks to be executed. In the first constraint, the sum of the dispatch costs of the real-time dispatch lines including the target task and the task omission cost including the target task is equal to the total task cost required to include the target task.
[0180] According to one or more embodiments of the present disclosure, [Example 5] provides a method for determining a real-time dispatch line, the method further comprising:
[0181] Acquire task-related factors and employee-related information corresponding to a plurality of tasks to be performed, wherein the task-related factors include task start time, task end time, task execution time, and task execution location;
[0182] An original dispatch line set including a plurality of original dispatch lines is generated according to the task-related factors, the employee-related information and the plurality of tasks to be performed.
[0183] According to one or more embodiments of the present disclosure, [Example 6] provides a method for determining a real-time dispatch line, the method further comprising:
[0184] Obtaining task comprehensive factors corresponding to a plurality of tasks to be performed, wherein the task comprehensive factors include task priority or employee priority;
[0185] An original dispatch line set including a plurality of original dispatch lines is generated according to the task comprehensive factors and the plurality of tasks to be performed.
[0186] According to one or more embodiments of the present disclosure, [Example 7] provides a device for determining a real-time dispatch line, the device comprising: an acquisition unit, a generation unit, a determination unit, and an adjustment unit;
[0187] The acquisition unit is used to acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution times have changed;
[0188] The generating unit is used to generate a real-time dispatch line set including a plurality of real-time dispatch lines according to the set of tasks to be updated, wherein the real-time dispatch lines are used to instruct employees to perform the tasks to be performed in sequence according to the updated time sequence;
[0189] The acquisition unit is further used to acquire the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line;
[0190] The determining unit is used to determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed;
[0191] The determining unit is further configured to determine the total dispatch costs corresponding to the real-time dispatch line set according to the dispatch costs and the initial number of dispatch lines, and determine the total omission costs corresponding to the real-time dispatch line set according to the task omission costs;
[0192] The determining unit is further configured to obtain an objective function according to the total of the dispatching costs and the total of the omission costs;
[0193] The adjustment unit is used to adjust the initial number of dispatch lines of each of the real-time dispatch lines based on the adjustment direction of minimizing the objective function, so as to obtain the number of dispatch lines of each of the real-time dispatch lines.
[0194] According to one or more embodiments of the present disclosure, [Example 8] provides a device for determining a real-time dispatch line, wherein the acquisition unit is specifically configured to:
[0195] Acquire a real-time dispatch start time, a real-time dispatch time range, a real-time dispatch time interval, and an original dispatch line set, wherein the original dispatch line set includes an original dispatch line for instructing the employee to sequentially perform multiple tasks to be performed according to the original time sequence relationship;
[0196] Determining the multiple inspection time periods according to the real-time dispatch start time, the real-time dispatch time range, and the real-time dispatch time interval;
[0197] Acquire a changed task within the target inspection time period among the multiple inspection time periods, wherein the changed task is a task to be executed whose actual execution time is different from the originally scheduled execution time;
[0198] Each original dispatch line in the original dispatch line set is used as a target dispatch line, and conflicting tasks are determined according to the changed tasks included in the target dispatch line, where the execution time of the conflicting task exceeds the working time of the employee corresponding to the target dispatch line or the execution time of the conflicting task overlaps with the execution time of the unexecuted task included in the target dispatch line;
[0199] A set of tasks to be updated is obtained according to the conflicting tasks and unexecuted tasks after the conflicting tasks in the target dispatch line.
[0200] According to one or more embodiments of the present disclosure, [Example 9] provides a device for determining a real-time dispatch line, wherein the generating unit is specifically configured to:
[0201] For a target employee among multiple employees, clear conflicting tasks in an original work dispatch line corresponding to the target employee and unexecuted tasks after the conflicting tasks to obtain a first pending work dispatch line;
[0202] Adding each to-be-executed task included in the to-be-updated task set and the combination of each to-be-executed task to the first to-be-determined work dispatch line to obtain a second to-be-determined work dispatch line;
[0203] If the second pending work dispatch line meets the employee attendance rule of the target employee, the second pending work dispatch line is determined as the real-time work dispatch line.
[0204] According to one or more embodiments of the present disclosure, [Example 10] provides a device for determining a real-time dispatch line, wherein the adjustment unit is specifically configured to:
[0205] Based on minimizing the adjustment direction of the objective function and satisfying the first constraint, adjusting the initial number of dispatch lines of each of the real-time dispatch lines to obtain the number of dispatch lines of each of the real-time dispatch lines;
[0206] The determining unit is further configured to:
[0207] For a target task among the multiple tasks to be executed included in the set of tasks to be updated, obtaining a total task cost required to execute the target task;
[0208] Acquire, from each of the real-time dispatch lines included in the real-time dispatch line set, a real-time dispatch line including the target task and an initial dispatch quantity of the real-time dispatch line including the target task;
[0209] Determine the total dispatch cost corresponding to the real-time dispatch line including the target task according to the real-time dispatch line including the target task and the initial dispatch quantity of the real-time dispatch line including the target task;
[0210] Taking the multiple tasks to be executed included in the set of tasks to be updated as the target tasks, respectively, and obtaining the sum of the dispatching costs corresponding to the real-time dispatching lines including each of the tasks to be executed;
[0211] The first constraint is determined based on the sum of the dispatch costs corresponding to the real-time dispatch lines of each of the tasks to be executed, the total task cost required to execute each of the tasks to be executed, and the task omission cost corresponding to each of the tasks to be executed. In the first constraint, the sum of the dispatch costs of the real-time dispatch lines including the target task and the task omission cost including the target task is equal to the total task cost required to include the target task.
[0212] According to one or more embodiments of the present disclosure, [Example 11] provides a device for determining a real-time dispatch line, wherein the acquisition unit is further used to acquire task-related factors and employee-related information corresponding to a plurality of tasks to be executed, wherein the task-related factors include task start time, task end time, task execution time, and task execution location;
[0213] The generating unit is further configured to generate an original dispatch line set including a plurality of original dispatch lines according to the task-related factors, employee-related information and the plurality of tasks to be performed.
[0214] According to one or more embodiments of the present disclosure, [Example 12] provides a device for determining a real-time dispatch line, wherein the acquisition unit is further used to acquire task comprehensive factors corresponding to a plurality of tasks to be executed, wherein the task comprehensive factors include task priority or employee priority;
[0215] The generating unit is further configured to generate an original dispatch line set including a plurality of original dispatch lines according to the task comprehensive factor and the plurality of tasks to be executed.
[0216] According to one or more embodiments of the present disclosure, [Example 13] provides a computer device, wherein the computer device includes a processor and a memory:
[0217] The memory is used to store a computer program and transmit the computer program to the processor;
[0218] The processor is used to execute the method described in any one of [Example 1] to [Example 7] according to the computer program.
[0219] According to one or more embodiments of the present disclosure, [Example 14] provides a computer-readable medium, wherein the computer-readable medium is used to store a computer program, and the computer program is used to execute the method described in any one of [Example 1] to [Example 7].
[0220] According to one or more embodiments of the present disclosure, [Example 15] provides a computer program product, including a computer program or instructions; when the computer program or instructions are executed by a processor, the method described in any one of [Example 1] to [Example 7] is executed.
[0221] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
[0222] Although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination.
[0223] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.
Claims
1. A method for determining a real-time dispatch line, characterized in that: The method comprises: Acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution times have changed; According to the set of tasks to be updated, a real-time dispatch line set including a plurality of real-time dispatch lines is generated, wherein the real-time dispatch lines are used to instruct employees to sequentially perform the tasks to be performed according to the updated time sequence; Obtaining the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line; Determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed; Determine the total dispatch cost corresponding to the real-time dispatch line set according to the dispatch cost and the initial dispatch line quantity, and determine the total omission cost corresponding to the real-time dispatch line set according to the task omission cost; Obtaining an objective function according to the sum of the dispatching costs and the sum of the omission costs; Based on the adjustment direction of minimizing the objective function, the initial number of dispatch lines of each of the real-time dispatch lines is adjusted to obtain the number of dispatch lines of each of the real-time dispatch lines.
2. The method according to claim 1, characterized in that The step of obtaining a set of tasks to be updated within a target inspection time period includes: Acquire a real-time dispatch start time, a real-time dispatch time range, a real-time dispatch time interval, and an original dispatch line set, wherein the original dispatch line set includes an original dispatch line for instructing the employee to sequentially perform multiple tasks to be performed according to the original time sequence relationship; Determining the multiple inspection time periods according to the real-time dispatch start time, the real-time dispatch time range, and the real-time dispatch time interval; Acquire a changed task within the target inspection time period among the multiple inspection time periods, wherein the changed task is a task to be executed whose actual execution time is different from the originally scheduled execution time; Each original dispatch line in the original dispatch line set is used as a target dispatch line, and conflicting tasks are determined according to the changed tasks included in the target dispatch line, where the execution time of the conflicting task exceeds the working time of the employee corresponding to the target dispatch line or the execution time of the conflicting task overlaps with the execution time of the unexecuted task included in the target dispatch line; A set of tasks to be updated is obtained according to the conflicting tasks and unexecuted tasks after the conflicting tasks in the target dispatch line.
3. The method according to claim 2, characterized in that The step of generating a real-time dispatch line set including a plurality of real-time dispatch lines according to the set of tasks to be updated comprises: For a target employee among multiple employees, clear conflicting tasks in an original work dispatch line corresponding to the target employee and unexecuted tasks after the conflicting tasks to obtain a first pending work dispatch line; Adding each to-be-executed task included in the to-be-updated task set and the combination of each to-be-executed task to the first to-be-determined work dispatch line to obtain a second to-be-determined work dispatch line; If the second pending work dispatch line meets the employee attendance rule of the target employee, the second pending work dispatch line is determined as the real-time work dispatch line.
4. The method according to claim 1, characterized in that: The adjusting direction based on minimizing the objective function, adjusting the initial number of dispatch lines of each of the real-time dispatch lines to obtain the number of dispatch lines of each of the real-time dispatch lines, includes: Based on minimizing the adjustment direction of the objective function and satisfying the first constraint, adjusting the initial number of dispatch lines of each of the real-time dispatch lines to obtain the number of dispatch lines of each of the real-time dispatch lines; The first constraint is determined as follows: For a target task among the multiple tasks to be executed included in the set of tasks to be updated, obtaining a total task cost required to execute the target task; Acquire, from each of the real-time dispatch lines included in the real-time dispatch line set, a real-time dispatch line including the target task and an initial dispatch quantity of the real-time dispatch line including the target task; Determine the total dispatch cost corresponding to the real-time dispatch line including the target task according to the real-time dispatch line including the target task and the initial dispatch quantity of the real-time dispatch line including the target task; Taking the multiple tasks to be executed included in the set of tasks to be updated as the target tasks, respectively, and obtaining the sum of the dispatching costs corresponding to the real-time dispatching lines including each of the tasks to be executed; The first constraint is determined based on the sum of the dispatch costs corresponding to the real-time dispatch lines of each of the tasks to be executed, the total task cost required to execute each of the tasks to be executed, and the task omission cost corresponding to each of the tasks to be executed. In the first constraint, the sum of the dispatch costs of the real-time dispatch lines including the target task and the task omission cost including the target task is equal to the total task cost required to include the target task.
5. The method according to claim 1, characterized in that The method further comprises: Acquire task-related factors and employee-related information corresponding to a plurality of tasks to be performed, wherein the task-related factors include task start time, task end time, task execution time and task execution location; An original dispatch line set including a plurality of original dispatch lines is generated according to the task-related factors, the employee-related information and the plurality of tasks to be performed.
6. The method according to claim 1, characterized in that The method further comprises: Obtaining task comprehensive factors corresponding to a plurality of tasks to be performed, wherein the task comprehensive factors include task priority or employee priority; An original dispatch line set including a plurality of original dispatch lines is generated according to the task comprehensive factors and the plurality of tasks to be performed.
7. A device for determining a real-time dispatching line, characterized in that: The device comprises: an acquisition unit, a generation unit, a determination unit and an adjustment unit; The acquisition unit is used to acquire a set of tasks to be updated within a target inspection time period, wherein the set of tasks to be updated includes a plurality of tasks to be executed whose execution times have changed; The generating unit is used to generate a real-time dispatch line set including a plurality of real-time dispatch lines according to the set of tasks to be updated, wherein the real-time dispatch lines are used to instruct employees to perform the tasks to be performed in sequence according to the updated time sequence; The acquisition unit is further used to acquire the dispatch cost of each of the real-time dispatch lines, where the dispatch cost is used to describe the cost corresponding to completing all pending tasks included in the corresponding real-time dispatch line; The determining unit is used to determine the initial dispatch line quantity and task omission cost of each of the real-time dispatch lines, wherein the initial dispatch line quantity is used to describe the quantity of the corresponding real-time dispatch lines, and the task omission cost is used to describe the cost corresponding to the unexecuted tasks among the multiple tasks to be executed; The determining unit is further configured to determine the total dispatch costs corresponding to the real-time dispatch line set according to the dispatch costs and the initial number of dispatch lines, and determine the total omission costs corresponding to the real-time dispatch line set according to the task omission costs; The determining unit is further configured to obtain an objective function according to the total of the dispatching costs and the total of the omission costs; The adjustment unit is used to adjust the initial number of dispatch lines of each of the real-time dispatch lines based on the adjustment direction of minimizing the objective function, so as to obtain the number of dispatch lines of each of the real-time dispatch lines.
8. A computer device, characterized in that: The computer device comprises a processor and a memory: The memory is used to store a computer program and transmit the computer program to the processor; The processor is configured to execute the method according to any one of claims 1 to 6 according to the computer program.
9. A computer-readable medium, characterized in that The computer-readable medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises a computer program or an instruction; when the computer program or the instruction is executed by a processor, the method according to any one of claims 1 to 6 is executed.
