Scheduling method, equipment, device and storage medium

By obtaining and calculating the scheduling information items in multi-person and multi-tasking scenarios, the scheduling results are generated, which solves the problem of low scheduling efficiency in the existing technology and achieves more efficient scheduling processing.

CN113570178BActive Publication Date: 2024-09-03ALIBABA GROUP HOLDING LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010350904.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-28
Publication Date
2024-09-03
Estimated Expiration
2040-04-28

AI Technical Summary

Technical Problem

The existing technology has low efficiency in scheduling in multi-person and multi-tasking scenarios, resulting in high computational complexity and workload, making it difficult to effectively solve complex scheduling problems.

Method used

By obtaining the information of personnel to be scheduled and tasks to be assigned, target information items are selected, the contents of the scheduling information items are calculated, and the scheduling results are generated. Group solving and mathematical solving models are used to reduce computational complexity and workload.

Benefits of technology

It improves the efficiency of scheduling and data processing, simplifies the calculation process, and achieves more efficient generation of scheduling results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113570178B
    Figure CN113570178B
Patent Text Reader

Abstract

The embodiments of the present application provide a scheduling method, equipment, device and storage medium. In the embodiments of the present application, in a multi-person multi-task scenario, target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to multiple scheduling information items are selected; and the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and scheduling results are generated according to the contents of the multiple scheduling information items. Among them, the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, thereby realizing the grouping solution of the multiple scheduling information items, which can reduce the complexity and workload of the calculation, help improve the data processing efficiency, and thus help improve the scheduling efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a scheduling method, equipment, device and storage medium. Background Art

[0002] In order to better provide users with all-round services and improve user experience, most service industries have a variety of positions, and staff members perform their duties to ensure the normal and orderly operation of the industry. In some industries, various tasks require employees to have corresponding qualifications and skills, while at the same time, various humane and fair scheduling quality requirements must be taken into account, making scheduling a complex technical issue.

[0003] In order to solve complex scheduling problems, it is often necessary to build complex models to solve them. However, due to the large workload of solving the model, the scheduling efficiency is low, or even the scheduling results cannot be obtained. Summary of the invention

[0004] Multiple aspects of the present application provide a scheduling method, device, apparatus and storage medium to reduce scheduling workload and improve scheduling efficiency.

[0005] The present application embodiment provides a scheduling method, including:

[0006] Obtain information about personnel to be scheduled and tasks to be assigned in multi-person and multi-task scenarios;

[0007] From the information of the personnel to be scheduled and the information of the tasks to be assigned, select target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items respectively;

[0008] Calculating the contents of the multiple scheduling information items respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items;

[0009] A scheduling result is generated according to the contents of the plurality of scheduling information items.

[0010] The present application also provides a scheduling method, including:

[0011] Obtain information about tasks to be assigned in a multi-task scenario;

[0012] Selecting target information of the tasks to be assigned corresponding to the plurality of shift information items from the information of the tasks to be assigned;

[0013] Calculating the contents of the multiple scheduling information items respectively according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items;

[0014] A scheduling result is generated according to the contents of the plurality of scheduling information items.

[0015] The embodiment of the present application further provides a computer device, comprising: a memory and a processor; wherein the memory is used to store a computer program;

[0016] The processor is coupled to the memory and configured to execute the computer program to perform the steps in the above methods.

[0017] The present application also provides a scheduling device, including: an acquisition module, a selection module, a calculation module and a generation module; wherein:

[0018] The acquisition module is used to acquire information about personnel to be scheduled and tasks to be assigned in a multi-person and multi-task scenario;

[0019] The selection module is used to select target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items from the information of the personnel to be scheduled and the information of the tasks to be assigned;

[0020] The calculation module is used to calculate the contents of the multiple scheduling information items respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items;

[0021] The generating module is used to generate a scheduling result according to the contents of the multiple scheduling information items.

[0022] The present application also provides a scheduling device, including: an acquisition module, a selection module, a calculation module and a generation module; wherein:

[0023] The acquisition module is used to acquire information of tasks to be assigned in a multi-task scenario;

[0024] The selection module is used to select target information of the tasks to be assigned corresponding to the plurality of shift information items from the information of the tasks to be assigned;

[0025] The calculation module is used to calculate the contents of the multiple scheduling information items respectively according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items;

[0026] The generating module is used to generate a scheduling result according to the contents of the multiple scheduling information items.

[0027] An embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above methods.

[0028] In an embodiment of the present application, in a multi-person multi-task scenario, target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to multiple scheduling information items are selected from the information of the personnel to be scheduled and the information of the tasks to be assigned; and the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and scheduling results are generated according to the contents of the multiple scheduling information items. Among them, the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, so as to realize the grouping solution of the multiple scheduling information items, reduce the complexity and workload of the calculation, help improve the data processing efficiency, and then help improve the scheduling efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0030] Figure 1a and Figure 1b A flowchart of a scheduling method provided in an embodiment of the present application;

[0031] Figure 2 A flowchart of another scheduling method provided in an embodiment of the present application;

[0032] Figure 3 and Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application;

[0033] Figure 5 and Figure 6 A schematic diagram of the structure of the scheduling device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0035] In order to solve the technical problem that the scheduling workload in existing multi-task scenarios is large and leads to low scheduling efficiency, in some embodiments of the present application, in a multi-person multi-task scenario, target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to multiple scheduling information items are selected; and the contents of multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and scheduling results are generated according to the contents of multiple scheduling information items. Among them, the contents of multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, so as to realize the grouping solution of multiple scheduling information items, reduce the complexity and workload of calculation, help improve data processing efficiency, and further help improve scheduling efficiency.

[0036] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.

[0037] It should be noted that the same reference numerals denote the same objects in the following drawings and embodiments, and therefore, once an object is defined in one drawing or embodiment, it does not need to be further discussed in the subsequent drawings and embodiments.

[0038] Figure 1a A flowchart of a scheduling method provided in an embodiment of the present application is shown below. Figure 1a As shown, the method includes:

[0039] 101. Obtain information about personnel to be scheduled and tasks to be assigned in a multi-person and multi-task scenario.

[0040] 102. Select, from the information of the personnel to be scheduled and the information of the tasks to be assigned, target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items.

[0041] 103. Calculate the contents of the multiple scheduling information items respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items.

[0042] 104. Generate a scheduling result according to the contents of the multiple scheduling information items.

[0043] In this embodiment, multi-person multi-task means that there are multiple people to be scheduled and there are multiple types of tasks to be assigned. Among them, multi-person refers to 2 or more people, and multiple refers to 2 or more types. The scheduling method provided in this embodiment is applicable to various application scenarios of multi-person multi-task, especially for application scenarios with a large number of staff and a large number of work tasks. For example, staff scheduling in application scenarios such as airports, railway stations, passenger stations, ports, docks, parking lots, warehouses, factories, agriculture, and shopping malls.

[0044] Among them, in the scenario of airport staff scheduling, the airport personnel include: flight crew and ground crew. Among them, flight crew refers to the personnel serving on the aircraft, mainly composed of flight crew and crew. The flight crew is mainly composed of pilots (captains), flight mechanics and flight communicators, and the crew is mainly composed of flight attendants, security officers (or part-time flight attendants) and police officers. Ground crew refers to personnel serving on the ground at the airport, mainly composed of personnel from the airport and the airline. For example, staff in check-in, security, customer service, deployment, ticketing, boarding and other positions, as well as personnel in departments such as finance, but not limited to this. Of course, the scheduling method provided in the embodiment of the present application can also schedule flight crew and ground crew separately.

[0045] In this embodiment, there are multiple people to be scheduled, and the information of the people to be scheduled includes: one or more of the following: user identification, skill information, work and rest rules, and personally recommended shifts of the people to be scheduled. Among them, the user identification of the people to be scheduled refers to the information that uniquely identifies the people to be scheduled, which can be the work number of the people to be scheduled, etc. The skill information of the people to be scheduled includes: the position of the people to be scheduled, the skills of the people to be scheduled, the skill proficiency, qualifications and other skill information. The work and rest rules of the people to be scheduled include: the working hours required by the people to be scheduled, the weekly hours, the daily hours, the hours already worked, the work and rest mode, vacation information, etc. The work and rest mode refers to the mode of working five days and resting two days, working six days and resting one day, whether night shifts are possible, etc. Personally recommended shifts refer to: the work shifts that the people to be scheduled personally prefer.

[0046] The information of the tasks to be assigned includes one or more of: time distribution information of the tasks to be assigned, skill requirement information, and work and rest patterns required by the tasks to be assigned, but is not limited thereto.

[0047] There are a large number of people to be scheduled, and their information is complex; there are also various tasks to be assigned, and the information about the tasks is also numerous. In addition, various humanized and fair scheduling quality requirements must be taken into account, making the scheduling problem a complex technical problem. In order to solve the complex scheduling problem, reduce the scheduling workload, and improve the scheduling efficiency, the target information of the people to be scheduled and the target information of the tasks to be assigned corresponding to multiple scheduling information items can be selected from the information of the people to be scheduled and the information of the tasks to be assigned; and the contents of multiple scheduling information items are calculated respectively according to the target information of the people to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items. In this way, the scheduling task can be split into multiple subtasks for processing, which reduces the computational complexity and amount, helps to improve data processing efficiency, and thus helps to improve scheduling efficiency.

[0048] The scheduling information items calculated for each subtask may overlap partially or be different. The scheduling information items refer to the information items included in the scheduling results, which may include: the work and rest time of the personnel to be scheduled, the type of task assigned, the location of the task, etc., but are not limited thereto.

[0049] Furthermore, after calculating the plurality of shift scheduling information items, a shift scheduling result may be generated according to the contents of the plurality of shift scheduling information items. Furthermore, the shift scheduling result may be output.

[0050] In this embodiment, the output method of the scheduling results is not limited. For example, the scheduling results can be provided to a display device, and the display device displays the scheduling results. In this way, the user can view the scheduling results. Among them, the display device can be a display screen of a computer device that performs scheduling, or it can be an independent physical machine. Optionally, the display device can be a client device on the user side. For example, a computer, smart phone or wearable device on the user side. For another example, the scheduling method provided in this embodiment can be used as a SaaS service, and the server-side device that carries the service can send the scheduling results to the client device on the user side, and the client device can display the scheduling results, etc., but it is not limited to this.

[0051] Optionally, the computer device may provide the scheduling result to the display device in the form of a document or a table, or may provide the display device with a link to a web page where the scheduling result is located, and so on.

[0052] In this embodiment, in a multi-person multi-task scenario, target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to multiple scheduling information items are selected from the information of the personnel to be scheduled and the information of the tasks to be assigned; and the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and the scheduling results are generated according to the contents of the multiple scheduling information items. Among them, the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, so as to realize the grouping solution of the multiple scheduling information items, reduce the complexity and workload of the calculation, help improve the data processing efficiency, and then help improve the scheduling efficiency.

[0053] In the embodiments of the present application, the specific implementation method of respectively calculating the contents of multiple scheduling information items according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to each of the multiple scheduling information items is not limited. In some embodiments, multiple mathematical solution models can be established according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to each of the multiple scheduling information items. Among them, multiple mathematical solution models can determine the above-mentioned multiple scheduling information items. Each mathematical solution model determines some of the multiple scheduling information items. The scheduling information items determined by each mathematical solution model may partially overlap or may be different.

[0054] Optionally, the mathematical solution model may be a mathematical model consisting of constraints and an objective function, or may be a mathematical model consisting of only constraints or only objective functions. Among them, the mathematical model with only constraints may also be called a constrained optimization model. Optionally, the plurality of mathematical solution models may be integer programming models. Among them, the integer programming model may be an integer linear programming model, an integer constrained optimization model, etc.

[0055] In the embodiment of the present application, the scheduling information items determined by the mathematical solution model are different, and the corresponding target information of the personnel to be scheduled and the tasks to be assigned are different, so the constraints and objective functions of the mathematical solution model are also different.

[0056] For example, in some embodiments, the scheduling information item determined by the mathematical solution model is the work and rest time of the personnel to be scheduled, and the work and rest time of the personnel to be scheduled may include the dates and shifts of the personnel to be scheduled to work and rest. Accordingly, the target information of the personnel to be scheduled may be the work and rest rules of the personnel to be scheduled; the target information of the tasks to be assigned may be the time distribution information of the tasks to be assigned. Further, constraints may be constructed based on the time distribution information of the tasks to be assigned and the work and rest rules of the personnel to be scheduled. Optionally, the work and rest time of the personnel to be scheduled to be decided may be set as an independent variable, and constraints may be constructed in combination with the work and rest rules of the personnel to be scheduled and the time distribution information of the tasks to be assigned. For example, the daily working hours of a staff member in a certain position shall not exceed N hours, etc., but is not limited to this.

[0057] Furthermore, the goal can be to maximize the task coverage or to ensure that the task coverage is not less than the set coverage threshold, and a mathematical solution model can be established in combination with the above-constructed constraints. The mathematical solution model is used to decide the work and rest time of the personnel to be scheduled. Among them, the task coverage refers to the percentage of the assigned tasks to the total tasks.

[0058] For another example, the scheduling information item is the type of task assigned to the person to be assigned. Accordingly, the target information of the person to be scheduled includes: the skill information of the person to be scheduled; and the target information of the task to be assigned is: the skill requirement of the task to be assigned.

[0059] Furthermore, according to the skill requirements of the task to be assigned and the skill information of the personnel to be scheduled, the matching degree between the personnel to be scheduled and the task to be assigned is calculated; and a mathematical solution model is established with the goal of achieving the highest matching degree between the personnel to be scheduled and the task to be assigned or a matching degree not less than a matching degree threshold. The mathematical solution model is used to decide the type of task to be assigned to the personnel to be assigned.

[0060] The above only uses the scheduling information items as the work and rest time of the tasks to be assigned and the types of tasks assigned as examples for illustrative explanation. In some other embodiments, maximizing employee satisfaction, maximizing fairness, minimizing labor costs, etc. can also be used as the goals of the mathematical solution model, but are not limited to this. Among them, employee satisfaction can be measured by the percentage of employees' individual needs being met. Among them, employees' individual needs can be the need for leave, the need for rest during special time periods, etc. Fairness can be measured by the variance of the total task time assigned to each person. Human cost can be measured by the number of people invested.

[0061] In this embodiment, after multiple mathematical solution models are constructed, the multiple mathematical solution models can be solved in association to obtain the contents of multiple scheduling information items. When multiple mathematical solution models are solved in association, a heuristic algorithm can be used to solve each mathematical solution model in the solution process to obtain the contents of the scheduling information item determined by the mathematical solution model. The heuristic algorithm can be one or more of a particle swarm algorithm, an ant colony algorithm, a bee colony algorithm, a simulated annealing algorithm, and a genetic algorithm.

[0062] Optionally, for the first mathematical solution model to be solved among the multiple mathematical solution models, a heuristic algorithm may be used to solve it to obtain the content of the scheduling information item determined by the mathematical solution model.

[0063] For any target mathematical solution model that is solved after the first mathematical solution model that is solved, the content of the scheduling information item determined by the mathematical solution model that has been solved before the target mathematical solution model can be added to the constraint conditions of the target mathematical solution model to obtain new constraint conditions. In this way, for the target solution model, the new constraint conditions include not only the original constraint conditions, but also the content of the scheduling information item determined by the mathematical solution model that has been solved before the target mathematical solution model. Afterwards, for the target mathematical solution model, the target mathematical solution model can be solved according to the new constraint conditions to obtain the content of the target scheduling information item determined by the target mathematical solution model.

[0064] For example, for the above-mentioned mathematical solution model for deciding the work and rest time of the personnel to be scheduled and the type of task assigned to them, in order to facilitate description and distinction, the mathematical solution model for deciding the work and rest time of the personnel to be scheduled is defined as the first mathematical solution model; and the mathematical solution model for deciding the type of task assigned to the personnel to be scheduled is defined as the second mathematical solution model. Assuming that the first mathematical solution model is the first model to be solved, and the second mathematical solution model is the model to be solved after the first mathematical solution model, the work and rest time of the personnel to be scheduled determined by the first mathematical solution model can be used as the constraint condition of the second mathematical solution model. For the second mathematical solution model, its constraint condition is: the work and rest time of the personnel to be scheduled determined by the first mathematical solution model, the goal is that the matching degree between the personnel to be scheduled and the task to be assigned is the highest or the matching degree is not less than the matching degree threshold; then, the second mathematical solution model is solved to obtain the type of task assigned to the personnel to be assigned.

[0065] After solving multiple mathematical solution models and obtaining the contents of multiple scheduling information items, a scheduling result may be generated according to the contents of the multiple scheduling information items. Optionally, the contents of the multiple scheduling information items may be optimized to generate a scheduling result.

[0066] In the embodiments of the present application, the specific implementation method for optimizing the contents of multiple scheduling information items is not limited. In one embodiment, the contents of multiple scheduling information items can be optimized according to the task coverage. The specific implementation method is: according to the contents of multiple scheduling information items and the time distribution information of the tasks to be assigned, the task coverage within each set time period is calculated. Optionally, based on the contents of multiple scheduling information items, the amount of assigned tasks within each set time period is counted, and based on the time distribution information of the tasks to be assigned, the total amount of tasks to be assigned within each set time period is counted; then, the percentage of the amount of assigned tasks within each set time period to the total amount of tasks to be assigned within the time period is calculated as the task coverage within the time period.

[0067] Furthermore, a target time period whose task coverage is less than or equal to a set coverage threshold is selected from the task coverage in each time period; and the contents of multiple scheduling information items in the target time period are recalculated to obtain a scheduling result.

[0068] Optionally, the target tasks to be assigned within the target time period can be determined based on the time distribution information of the tasks to be assigned; and constraints can be constructed based on the information of the target tasks to be assigned and the information of the personnel to be scheduled; a global planning model can be established based on the objectives of the above-mentioned multiple mathematical solution models and the constructed constraints; the global planning model can be solved to regain the contents of the multiple scheduling information items within the target time period. Optionally, the global planning model can be an integer programming model.

[0069] Optionally, when the calculation time reaches a set time threshold, the optimization of the contents of multiple scheduling information items according to the task coverage may be stopped; or, when the number of recalculations reaches a set number threshold, the optimization of the contents of multiple scheduling information items according to the task coverage may be stopped; or, when the calculation time reaches a set time threshold and the number of recalculations reaches a set number threshold, the optimization of the contents of multiple scheduling information items according to the task coverage may be stopped.

[0070] Furthermore, the scheduling result can be generated based on the contents of the multiple scheduling information items in the target time period and the contents of the multiple scheduling information items in other time periods. For example, the shifts of the personnel to be scheduled can be connected to form a duty table for the corresponding time period.

[0071] In another embodiment, the contents of multiple scheduling information items can be randomly optimized. The specific implementation method is: randomly select a time period within the time period corresponding to the task to be assigned, and recalculate the contents of multiple scheduling information items within the randomly selected time period to obtain a scheduling result. Optionally, the target task to be assigned within the randomly selected time period is determined according to the time distribution information of the task to be assigned; and the constraint conditions are constructed according to the information of the target task to be assigned and the information of the personnel to be scheduled; a global planning model is established with the goals of multiple mathematical solution models as the goal and the constructed constraint conditions combined; the global planning model is solved to regain the contents of the multiple scheduling information items within the randomly selected time period. Further, the scheduling result is generated according to the contents of the multiple scheduling information items within the regained randomly selected time period and the contents of the multiple scheduling information items at other times. Optionally, the contents of the multiple scheduling information items within the regained randomly selected time period and the contents of the multiple scheduling information items at other times can be merged to generate a scheduling result.

[0072] Optionally, when the calculation time reaches a set time threshold, the random optimization of the contents of multiple scheduling information items may be stopped; or, when the number of recalculations reaches a set number threshold, the random optimization of the contents of multiple scheduling information items may be stopped; or, when the calculation time reaches a set time threshold and the number of recalculations reaches a set number threshold, the random optimization of the contents of multiple scheduling information items may be stopped.

[0073] In some other embodiments, the contents of multiple scheduling information items may be analyzed to determine whether the use of personnel can be reduced without changing the task coverage, thereby saving labor costs.

[0074] It is worth mentioning that the above-mentioned task coverage optimization and random optimization methods can also be combined to optimize the contents of multiple scheduling information items, which can not only make the task coverage rate continue to increase, but also avoid falling into traps. In this way, in the process of optimizing the contents of multiple scheduling information items, if you only focus on the task coverage rate, it is possible to fall into the time period with low coverage rate when solving the global planning model corresponding to the time period with low task coverage rate, but there is no better solution, so it will stagnate in this time period and fall into a trap.

[0075] In order to facilitate the understanding of the implementation method of the above-mentioned scheduling method, the following Figure 1b The specific embodiment shown is used for exemplary description. Figure 1b As shown, the main steps of the method include:

[0076] S1. Obtain information about all personnel to be scheduled and all tasks to be assigned in a multi-person and multi-task scenario.

[0077] S2. Selecting, from the information of the personnel to be scheduled and the information of the tasks to be scheduled, target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items.

[0078] S3. Establish multiple mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, wherein the multiple mathematical solution models can determine the multiple scheduling information items.

[0079] Among them, the specific implementation process of establishing the mathematical solution model and the constraints and goals of multiple mathematical solution models can be found in the relevant content of the above embodiment, which will not be repeated here.

[0080] S4. Use a heuristic algorithm to perform associated solutions to multiple mathematical solution models to obtain the contents of multiple scheduling information items.

[0081] S5. Analyze the contents of multiple scheduling information items and reduce the use of personnel without reducing task coverage.

[0082] S6. Randomly optimize the contents of the multiple scheduling information items to obtain first contents of the multiple scheduling information items.

[0083] S7. Optimize the task coverage of the first contents of the multiple scheduling information items to obtain the second contents of the multiple scheduling information items.

[0084] S8. Generate a scheduling result according to the second contents of the multiple scheduling information items.

[0085] S9. Output the scheduling results.

[0086] In this embodiment, steps S5, S6 and S7 can be executed in series or in parallel. When steps S5, S6 and S7 are executed in series, the execution order of steps S5, S6 and S7 is not limited. Figure 1b Steps S5, S6 and S7 are only executed in sequence, but the execution order of the three is not limited.

[0087] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned scheduling method.

[0088] The scheduling method provided in the embodiment of the present application is applicable not only to the application scenario of assigning the to-be-assigned tasks to the to-be-assigned personnel based on the known information of the to-be-assigned personnel, but also to the application scenario of configuring personnel for the to-be-assigned tasks, that is, configuring personnel who meet the requirements for the to-be-assigned tasks.

[0089] Figure 2 This is a schematic diagram of the results of another scheduling method provided in the embodiment of the present application. Figure 2 As shown, the method includes:

[0090] 201. Obtain information of tasks to be assigned in a multi-task scenario.

[0091] 202. Select target information of the tasks to be assigned corresponding to the plurality of shift scheduling information items from the information of the tasks to be assigned.

[0092] 203. Calculate the contents of the multiple scheduling information items respectively according to the target information of the to-be-assigned tasks corresponding to the multiple scheduling information items.

[0093] 204. Generate a scheduling result according to the contents of the multiple scheduling information items.

[0094] The scheduling method provided in this embodiment is applicable to multi-task scenarios, and can configure corresponding personnel for the tasks to be assigned. For example, the number of personnel required for each task to be assigned, personnel skill information, and work and rest patterns are calculated, but not limited to this. Accordingly, the multiple scheduling information items include: the number of personnel required for the tasks to be assigned, personnel skill information, and work and rest patterns.

[0095] In this embodiment, the target information of the tasks to be assigned corresponding to the multiple scheduling information items can be selected from the information of the tasks to be assigned; and the contents of the multiple scheduling information items can be calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items. In this way, the scheduling task can be split into multiple subtasks for processing, which reduces the computational complexity and amount, helps to improve data processing efficiency, and further helps to improve scheduling efficiency. Among them, the scheduling information items calculated by each subtask may have partial overlap or may be different.

[0096] In the embodiments of the present application, the specific implementation method of respectively calculating the contents of multiple scheduling information items according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to each of the multiple scheduling information items is not limited. In some embodiments, multiple mathematical solution models can be established according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items. Among them, multiple mathematical solution models can decide the above-mentioned multiple scheduling information items. Each mathematical solution model decides part of the scheduling information items of the multiple scheduling information items. The scheduling information items decided by each mathematical solution model may partially overlap or may be different. Among them, the implementation form of the mathematical solution model can refer to the relevant content of the above-mentioned embodiment, which will not be repeated here.

[0097] Further, after calculating the multiple shift information items, the shift scheduling result can be generated according to the contents of the multiple shift information items. For a specific implementation method of generating the shift scheduling result according to the contents of the multiple shift information items, please refer to the above Figure 1a The relevant contents in its optional implementation manner will not be repeated here.

[0098] Furthermore, the scheduling results can also be output. In this embodiment, the output method of the scheduling results is not limited. For example, the scheduling results can be provided to a display device, and the display device displays the scheduling results. In this way, the user can view the scheduling results. Among them, the display device can be a display screen of a computer device that performs scheduling, or it can be an independent physical machine. Optionally, the display device can be a client device on the user side. For example, a computer, smart phone or wearable device on the user side. For another example, the scheduling method provided in this embodiment can also be used as a SaaS service, and the server-side device that carries the service can send the scheduling results to the client device on the user side, and the client device can display the scheduling results, etc., but is not limited to this.

[0099] It is worth noting that, in some embodiments, the above Figure 1a and Figure 2 The scheduling method provided in the embodiment forms two scheduling modes, and provides the two scheduling modes to the user for the user to select independently according to the scheduling requirements. Optionally, an interactive interface can be displayed to the user. The interactive interface displays two scheduling mode selection controls, which are selected by the user.

[0100] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the above-mentioned scheduling method.

[0101] It should be noted that the execution subject of each step of the method provided in the above embodiment can be the same device, or the method can be executed by different devices. For example, the execution subject of steps 101 and 102 can be device A; for another example, the execution subject of step 101 can be device A, and the execution subject of step 102 can be device B; and so on.

[0102] In addition, in some of the processes described in the above embodiments and the accompanying drawings, multiple operations appearing in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this document or may be executed in parallel, and the sequence numbers of the operations, such as 201, 202, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel.

[0103] Figure 3 A result schematic diagram of a computer device provided in an embodiment of the present application. The computer device may be a terminal device such as a smart phone, a tablet computer, a personal computer, a wearable device, or a single server device, or a cloud server array, or a virtual machine (VM) running in a cloud server array. Figure 3 As shown, the computer device includes: a memory 30a and a processor 30b.

[0104] In this embodiment, the memory 30a is used to store computer programs.

[0105] The processor 30b is coupled to the memory 30a, and is used to execute a computer program for: obtaining information on persons to be scheduled and information on tasks to be assigned in a multi-person and multi-task scenario; selecting target information on persons to be scheduled and target information on tasks to be assigned corresponding to a plurality of scheduling information items from the information on persons to be scheduled and information on tasks to be assigned; calculating contents of a plurality of scheduling information items respectively according to the target information on persons to be scheduled and target information on tasks to be assigned corresponding to the plurality of scheduling information items; and generating scheduling results according to the contents of the plurality of scheduling information items.

[0106] Optionally, the processor 30b may also be used to: after generating the scheduling result, provide the scheduling result to a display device, so that the display device displays the scheduling result.

[0107] Optionally, the display device is a client device on the user side. The computer device may include: a communication component 30c. Accordingly, when the processor 30b provides the scheduling result to the display device, it is specifically used to: provide the scheduling result to the client device through the communication component 30c, so that the client device can display the scheduling result.

[0108] Optionally, the computer device includes: a display screen 30d. The display device is the display screen 30d of the computer device. Accordingly, when the processor 30b provides the scheduling result to the display device, it is specifically used to: output the scheduling result to the display screen 30d, so as to display the scheduling result on the display screen 30d.

[0109] In some embodiments, when calculating the contents of multiple scheduling information items, the processor 30b is specifically used to: establish multiple mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and perform correlation solutions on the multiple mathematical solution models to obtain the contents of the multiple scheduling information items.

[0110] Optionally, the multiple mathematical solution models may be integer programming models.

[0111] Furthermore, when the processor 30b performs an associated solution on multiple data solution models, it is specifically used to: for a target mathematical solution model, add the content of the scheduling information item determined by the mathematical solution model solved before the target mathematical solution model to the constraint conditions of the target mathematical solution model to obtain new constraint conditions; solve the target mathematical solution model according to the new constraint conditions to obtain the content of the target scheduling information item determined by the target mathematical solution model; wherein the target mathematical solution model is any mathematical solution model among the multiple mathematical solution models except the first solved mathematical solution model.

[0112] Optionally, when the processor 30b performs associative solving on multiple mathematical solution models, it is specifically used to: adopt a heuristic algorithm to perform associative solving on the multiple mathematical solution models to obtain contents of multiple scheduling information items.

[0113] In some embodiments, the scheduling information item is the work and rest time of the personnel to be scheduled, and the target information of the personnel to be scheduled includes: the work and rest rules of the personnel to be scheduled; the target information of the tasks to be assigned is: the time distribution information of the tasks to be assigned. Accordingly, when the processor 30b establishes multiple mathematical solution models, it is specifically used to: construct a first constraint condition according to the time distribution information of the tasks to be assigned and the work and rest rules of the personnel to be scheduled; and establish a first mathematical solution model in combination with the first constraint condition with the goal of maximizing the task coverage or the task coverage not being less than the coverage threshold; the first mathematical solution model is used to decide the work and rest time of the personnel to be scheduled.

[0114] In other embodiments, the scheduling information item is the type of task assigned to the person to be assigned, and the target information of the person to be assigned includes: the skill information of the person to be assigned; the target information of the task to be assigned is: the skill requirements of the task to be assigned. Accordingly, when the processor 30b establishes multiple mathematical solution models, it is specifically used to: calculate the matching degree between the person to be scheduled and the task to be assigned according to the skill requirements of the task to be assigned and the skill information of the person to be scheduled; and establish a second mathematical solution model for deciding the type of task assigned to the person to be assigned with the goal of achieving the highest matching degree between the person to be scheduled and the task to be assigned or a matching degree not less than a matching degree threshold.

[0115] Furthermore, when generating the scheduling result, the processor 30b is specifically used to: optimize the contents of the plurality of scheduling information items to generate the scheduling result.

[0116] Optionally, when optimizing the contents of multiple scheduling information items, the processor 30b is specifically used to: calculate the task coverage rate within each set time period based on the contents of the multiple scheduling information items and the time distribution information of the tasks to be assigned; select a target time period in which the task coverage rate is less than or equal to the set coverage rate threshold; recalculate the contents of multiple scheduling information items within the target time period to obtain a scheduling result; and / or randomly select a time period within the time period corresponding to the tasks to be assigned, and recalculate the contents of multiple scheduling information items within the randomly selected time period to obtain a scheduling result.

[0117] Furthermore, when the processor 30b recalculates the contents of multiple scheduling information items within the target time period, it is specifically used to: determine the target tasks to be assigned within the target time period based on the time distribution information of the tasks to be assigned; construct a second constraint condition based on the information of the target tasks to be assigned and the information of the personnel to be scheduled; establish a global planning model with the goals of multiple mathematical solution models as the goal and in combination with the second constraint condition; solve the global planning model to regain the contents of multiple scheduling information items within the target time period.

[0118] Optionally, the global programming model is an integer programming model.

[0119] In some optional embodiments, such as Figure 3 As shown, the computer device may further include: a power supply component 30e and other components. If the computer device can be a terminal device such as a computer or a smart phone, it may further include: an audio component 30f and other components. Figure 3 The components are shown only schematically, and do not mean that the computer equipment must include Figure 3 The components shown do not necessarily mean that the computer equipment can only include Figure 3 Components shown.

[0120] The computer device provided in this embodiment selects the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and calculates the contents of the multiple scheduling information items according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and generates the scheduling results according to the contents of the multiple scheduling information items. The contents of the multiple scheduling information items are calculated according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, thereby realizing the grouping solution of the multiple scheduling information items, reducing the calculation complexity and workload, and helping to improve the data processing efficiency, thereby helping to improve the scheduling efficiency.

[0121] Figure 4 This is a schematic diagram of the structure of another computer device provided in an embodiment of the present application. The implementation form of the computer device can refer to the relevant content of the above embodiment, which will not be repeated here. Figure 4 As shown, the computer device includes: a memory 40a and a processor 40b.

[0122] In this embodiment, the memory 40a is used to store computer programs.

[0123] The processor 40b is coupled to the memory 40a, and is used to execute a computer program for: obtaining information on tasks to be assigned in a multi-task scenario; selecting target information of the tasks to be assigned corresponding to multiple scheduling information items from the information on the tasks to be assigned; calculating the contents of multiple scheduling information items respectively according to the target information of the tasks to be assigned corresponding to each of the multiple scheduling information items; and generating a scheduling result according to the contents of the multiple scheduling information items.

[0124] Optionally, the processor 40b may also be used to: after generating the scheduling result, provide the scheduling result to a display device, so that the display device displays the scheduling result.

[0125] Optionally, the display device is a client device on the user side. The computer device may include: a communication component 40c. Accordingly, when the processor 40b provides the scheduling result to the display device, it is specifically used to: provide the scheduling result to the client device through the communication component 40c, so that the client device can display the scheduling result.

[0126] Optionally, the computer device includes: a display screen 40d. The display device is the display screen 40d of the computer device. Accordingly, when the processor 40b provides the scheduling result to the display device, it is specifically used to: output the scheduling result to the display screen 40d, so as to display the scheduling result on the display screen 40d.

[0127] Optionally, the multiple shift scheduling information items include: the number of personnel required for the tasks to be assigned, personnel skill information, and work and rest patterns.

[0128] For a specific implementation of how to group and calculate the contents of multiple shift information items, please refer to the above Figure 3 The relevant contents in will not be repeated here.

[0129] In some optional embodiments, such as Figure 4 As shown, the computer device may further include: a power supply component 40e and other components. If the computer device can be a terminal device such as a computer or a smart phone, it may further include: an audio component 40f and other components. Figure 4 The components are shown only schematically, and do not mean that the computer equipment must include Figure 4 The components shown do not necessarily mean that the computer equipment can only include Figure 4 Components shown.

[0130] The computer device provided in this embodiment can select the target information of the tasks to be assigned corresponding to the multiple scheduling information items from the information of the tasks to be assigned in a multi-task scenario; calculate the contents of the multiple scheduling information items according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and generate a scheduling result according to the contents of the multiple scheduling information items. Among them, according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items, the contents of the multiple scheduling information items are calculated respectively, and the scheduling task can be split into multiple subtasks for processing, which can reduce the complexity and workload of the calculation, help improve the data processing efficiency, and then help improve the scheduling efficiency.

[0131] In an embodiment of the present application, the memory is used to store a computer program and can be configured to store various other data to support operations on the device where it is located. Among them, the processor can execute the computer program stored in the memory to implement the corresponding control logic. The memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0132] In the embodiment of the present application, the processor can be any hardware processing device that can execute the logic of the above method. Optionally, the processor can be a central processing unit (CPU), a graphics processing unit (GPU) or a microcontroller unit (MCU); it can also be a field programmable gate array (FPGA), a programmable array logic device (PAL), a general array logic device (GAL), a complex programmable logic device (CPLD) and other programmable devices; or an advanced reduced instruction set (RISC) processor (Advanced RISC Machines, ARM) or a system on chip (System on Chip, SOC), etc., but not limited to this.

[0133] In an embodiment of the present application, the communication component is configured to facilitate wired or wireless communication between the device in which it is located and other devices. The device in which the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, 4G, 5G or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component can also be implemented based on near field communication (NFC) technology, radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology or other technologies.

[0134] In an embodiment of the present application, the display screen may include a liquid crystal display (LCD) and a touch panel (TP). If the display screen includes a touch panel, the display screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0135] In an embodiment of the present application, a power supply component is configured to provide power to various components of the device in which it is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device in which the power supply component is located.

[0136] In an embodiment of the present application, the audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal. For example, for a device with a language interaction function, voice interaction with a user can be achieved through an audio component.

[0137] Figure 5 This is a schematic diagram of the structure of a scheduling device provided in an embodiment of the present application. Figure 5 As shown, the scheduling device includes: an acquisition module 50a, a selection module 50b, a calculation module 50c and a generation module 50d.

[0138] In this embodiment, the acquisition module 50a is used to acquire information about personnel to be scheduled and information about tasks to be assigned in a multi-person multi-task scenario.

[0139] The selection module 50b is used to select target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items from the information of the personnel to be scheduled and the information of the tasks to be assigned.

[0140] The calculation module 50c is used to calculate the contents of the multiple scheduling information items respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items.

[0141] The generating module 50d is used to generate a scheduling result according to the contents of the plurality of scheduling information items.

[0142] In some embodiments, the scheduling device further includes: a providing module 50e. The providing module 50e is used to provide the scheduling result to the display device so that the display device can display the scheduling result.

[0143] In some embodiments, when calculating the contents of multiple scheduling information items, the calculation module 50c is specifically used to: establish multiple mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and perform correlation solutions on the multiple mathematical solution models to obtain the contents of the multiple scheduling information items.

[0144] Optionally, the multiple mathematical solution models may be integer programming models.

[0145] Furthermore, when the calculation module 50c performs an associated solution on multiple data solution models, it is specifically used to: for the target mathematical solution model, add the content of the scheduling information item determined by the mathematical solution model solved before the target mathematical solution model to the constraint conditions of the target mathematical solution model to obtain new constraint conditions; solve the target mathematical solution model according to the new constraint conditions to obtain the content of the target scheduling information item determined by the target mathematical solution model; wherein the target mathematical solution model is any mathematical solution model among the multiple mathematical solution models except the first solved mathematical solution model.

[0146] Optionally, when the calculation module 50c performs an associative solution on a plurality of mathematical solution models, it is specifically used to: adopt a heuristic algorithm to perform an associative solution on the plurality of mathematical solution models to obtain contents of a plurality of scheduling information items.

[0147] In some embodiments, the scheduling information item is the work and rest time of the personnel to be scheduled, and the target information of the personnel to be scheduled includes: the work and rest rules of the personnel to be scheduled; the target information of the tasks to be assigned is: the time distribution information of the tasks to be assigned. Accordingly, when establishing multiple mathematical solution models, the calculation module 50c is specifically used to: construct a first constraint condition according to the time distribution information of the tasks to be assigned and the work and rest rules of the personnel to be scheduled; and establish a first mathematical solution model in combination with the first constraint condition with the goal of maximizing the task coverage or the task coverage not being less than the coverage threshold; the first mathematical solution model is used to decide the work and rest time of the personnel to be scheduled.

[0148] In other embodiments, the scheduling information item is the type of task assigned to the person to be assigned, and the target information of the person to be assigned includes: the skill information of the person to be assigned; the target information of the task to be assigned is: the skill requirements of the task to be assigned. Accordingly, when establishing multiple mathematical solution models, the calculation module 50c is specifically used to: calculate the matching degree between the person to be scheduled and the task to be assigned according to the skill requirements of the task to be assigned and the skill information of the person to be scheduled; and establish a second mathematical solution model for deciding the type of task assigned to the person to be assigned with the goal of achieving the highest matching degree between the person to be scheduled and the task to be assigned or a matching degree not less than a matching degree threshold.

[0149] Furthermore, when generating the scheduling result, the generating module 50d is specifically used to: optimize the contents of the plurality of scheduling information items to generate the scheduling result.

[0150] Optionally, when optimizing the contents of multiple scheduling information items, the generation module 50d is specifically used to: calculate the task coverage rate within each set time period according to the contents of the multiple scheduling information items and the time distribution information of the tasks to be assigned; select a target time period in which the task coverage rate is less than or equal to the set coverage rate threshold; recalculate the contents of the multiple scheduling information items within the target time period to obtain a scheduling result; and / or randomly select a time period within the time period corresponding to the tasks to be assigned, and recalculate the contents of the multiple scheduling information items within the randomly selected time period to obtain a scheduling result.

[0151] Furthermore, when the generation module 50d recalculates the contents of multiple scheduling information items within the target time period, it is specifically used to: determine the target tasks to be assigned within the target time period based on the time distribution information of the tasks to be assigned; and construct a second constraint condition based on the information of the target tasks to be assigned and the information of the personnel to be scheduled; establish a global planning model with the goals of multiple mathematical solution models as the goal and in combination with the second constraint condition; solve the global planning model to regain the contents of multiple scheduling information items within the target time period.

[0152] Optionally, the global programming model is an integer programming model.

[0153] The scheduling device provided in this embodiment selects the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items in a multi-person and multi-task scenario; and calculates the contents of the multiple scheduling information items respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and generates scheduling results according to the contents of the multiple scheduling information items. Among them, the contents of the multiple scheduling information items are calculated respectively according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items, so as to realize the grouping solution of the multiple scheduling information items, reduce the complexity and workload of the calculation, help improve the data processing efficiency, and then help improve the scheduling efficiency.

[0154] Figure 6 This is a schematic diagram of the structure of another scheduling device provided in an embodiment of the present application. Figure 6 As shown, the scheduling device includes: an acquisition module 60a, a selection module 60b, a calculation module 60c and a generation module 60d.

[0155] The acquisition module 60a is used to acquire information of tasks to be assigned in a multi-task scenario.

[0156] The selection module 60b is used to select target information of the tasks to be assigned corresponding to the multiple shift scheduling information items from the information of the tasks to be assigned.

[0157] The calculation module 60c is used to select target information of the tasks to be assigned corresponding to the multiple shift scheduling information items from the information of the tasks to be assigned.

[0158] The generating module 60d is used to generate a scheduling result according to the contents of the plurality of scheduling information items.

[0159] In some embodiments, the scheduling device further includes: a providing module 60e. The providing module 60e is used to provide the scheduling result to the display device so that the display device can display the scheduling result.

[0160] Optionally, the multiple shift scheduling information items include: the number of personnel required for the tasks to be assigned, personnel skill information, and work and rest patterns.

[0161] For a specific implementation of how to group and calculate the contents of multiple shift information items, please refer to the above Figure 5 The relevant contents in will not be repeated here.

[0162] The scheduling device provided in this embodiment can select the target information of the tasks to be assigned corresponding to the multiple scheduling information items from the information of the tasks to be assigned in a multi-task scenario; calculate the contents of the multiple scheduling information items according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items; and generate a scheduling result according to the contents of the multiple scheduling information items. Among them, according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items, the contents of the multiple scheduling information items are calculated respectively, and the scheduling task can be split into multiple subtasks for processing, which can reduce the complexity and workload of the calculation, help improve the data processing efficiency, and then help improve the scheduling efficiency.

[0163] It should be noted that the descriptions such as “first” and “second” in this article are used to distinguish different messages, devices, modules, etc., and do not represent the order of precedence, nor do they limit “first” and “second” to different types.

[0164] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0165] The present invention is described with reference to the flowchart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the process and / or box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0166] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0167] These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0168] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0169] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0170] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0171] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0172] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A shift scheduling method, characterized in that: include: Obtain information about personnel to be scheduled and tasks to be assigned in multi-person and multi-task scenarios; From the information of the personnel to be scheduled and the information of the tasks to be assigned, select target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items respectively; the scheduling information items refer to information items included in the scheduling result; Establishing multiple mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; each mathematical solution model is used to decide the content of some of the multiple scheduling information items; Performing associated solutions on the multiple mathematical solution models to obtain contents of the multiple shift scheduling information items; A scheduling result is generated according to the contents of the plurality of scheduling information items.

2. The method according to claim 1, characterized in that The associating and solving the multiple data solving models to obtain the contents of the multiple scheduling information items includes: For the target mathematical solution model, adding the content of the scheduling information item determined by the mathematical solution model solved before the target mathematical solution model to the constraint condition of the target mathematical solution model to obtain a new constraint condition; Solving the target mathematical solution model according to the new constraint conditions to obtain the content of the target scheduling information item determined by the target mathematical solution model; The target mathematical solution model is any mathematical solution model among the multiple mathematical solution models except the first solved mathematical solution model.

3. The method according to claim 1, characterized in that The correlatively solving the multiple mathematical solution models to obtain the contents of the multiple scheduling information items includes: using a heuristic algorithm to correlatively solve the multiple mathematical solution models to obtain the contents of the multiple scheduling information items.

4. The method according to claim 1, characterized in that: If the shift information item is the work and rest time of the personnel to be scheduled, the target information of the personnel to be scheduled includes: the work and rest rules of the personnel to be scheduled; the target information of the task to be assigned is: the time distribution information of the task to be assigned; The establishing of the plurality of mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned respectively corresponding to the plurality of scheduling information items includes: Constructing a first constraint condition according to the time distribution information of the tasks to be assigned and the work and rest rules of the personnel to be scheduled; and With the goal of maximizing the task coverage or ensuring that the task coverage is not less than the coverage threshold, a first mathematical solution model is established in combination with the first constraint condition; the first mathematical solution model is used to decide the work and rest time of the personnel to be scheduled.

5. The method according to claim 1, characterized in that If the scheduling information item is the type of task to be assigned to the person to be assigned, the target information of the person to be assigned includes: the skill information of the person to be assigned; the target information of the task to be assigned includes: the skill requirement of the task to be assigned; The establishing of the plurality of mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned respectively corresponding to the plurality of scheduling information items includes: Calculating the matching degree between the to-be-assigned personnel and the to-be-assigned tasks according to the skill requirements of the to-be-assigned tasks and the skill information of the to-be-assigned personnel; With the goal of achieving the highest matching degree between the personnel to be scheduled and the tasks to be assigned or a matching degree not less than a matching degree threshold, a second mathematical solution model for deciding the type of task to be assigned to the personnel to be assigned is established.

6. The method according to any one of claims 1 to 5, characterized in that: The multiple mathematical solution models are integer programming models.

7. The method according to any one of claims 1 to 5, characterized in that: The generating a scheduling result according to the contents of the plurality of scheduling information items comprises: The contents of the plurality of shift scheduling information items are optimized to generate the shift scheduling result.

8. The method according to claim 7, characterized in that The optimizing the contents of the plurality of shift scheduling information items includes: Calculate the task coverage rate in each set time period according to the contents of the multiple scheduling information items and the time distribution information of the tasks to be assigned; select a target time period in which the task coverage rate is less than or equal to the set coverage rate threshold; recalculate the contents of the multiple scheduling information items in the target time period to obtain the scheduling result; and / or, A time period is randomly selected within the time period corresponding to the task to be assigned, and the contents of multiple scheduling information items within the randomly selected time period are recalculated to obtain the scheduling result.

9. The method according to claim 8, characterized in that The recalculating the contents of the plurality of scheduling information items within the target time period includes: Determining target tasks to be assigned within the target time period according to the time distribution information of the tasks to be assigned; Constructing a second constraint condition according to the information of the target task to be assigned and the information of the personnel to be scheduled; Taking the objectives of the multiple mathematical solution models as the goal and combining the second constraint condition, a global planning model is established; The global planning model is solved to retrieve the contents of the multiple scheduling information items within the target time period.

10. The method according to claim 9, characterized in that The global programming model is an integer programming model.

11. The method according to any one of claims 1 to 5, characterized in that: After generating the shift scheduling results, it also includes: The scheduling result is provided to a display device so that the display device displays the scheduling result.

12. A shift scheduling method, characterized in that: include: Obtain information about tasks to be assigned in a multi-task scenario; Selecting target information of the tasks to be assigned corresponding to the plurality of shift information items from the information of the tasks to be assigned; The scheduling information items refer to the information items included in the scheduling results; Establishing multiple mathematical solution models according to target information of the tasks to be assigned corresponding to the multiple scheduling information items; each mathematical solution model is used to decide the content of some of the multiple scheduling information items; Performing associated solutions on the multiple mathematical solution models to obtain contents of the multiple shift scheduling information items; A scheduling result is generated according to the contents of the plurality of scheduling information items.

13. The method according to claim 11, characterized in that The multiple shift scheduling information items include: the number of personnel required for the tasks to be assigned, personnel skill information, and work and rest patterns.

14. The method according to claim 12 or 13, characterized in that After generating the shift scheduling results, it also includes: The scheduling result is provided to a display device so that the display device displays the scheduling result.

15. A computer device, characterized in that: include: A memory and a processor; wherein the memory is used to store a computer program; The processor is coupled to the memory and is configured to execute the computer program to perform the steps of the method according to any one of claims 1 to 14.

16. A shift scheduling device, characterized in that: include: Acquisition module, selection module, calculation module and generation module; among them, The acquisition module is used to acquire information about personnel to be scheduled and tasks to be assigned in a multi-person and multi-task scenario; The selection module is used to select target information of the personnel to be scheduled and target information of the tasks to be assigned corresponding to a plurality of scheduling information items from the information of the personnel to be scheduled and the information of the tasks to be assigned; The calculation module is used to establish multiple mathematical solution models according to the target information of the personnel to be scheduled and the target information of the tasks to be assigned corresponding to the multiple scheduling information items; each data solution model is used to decide the content of some of the multiple scheduling information items; the multiple mathematical solution models are associated and solved to obtain the content of the multiple scheduling information items; The generating module is used to generate a scheduling result according to the contents of the multiple scheduling information items.

17. A shift scheduling device, characterized in that: include: Acquisition module, selection module, calculation module and generation module; among them, The acquisition module is used to acquire information of tasks to be assigned in a multi-task scenario; The selection module is used to select target information of the tasks to be assigned corresponding to the plurality of shift information items from the information of the tasks to be assigned; The calculation module is used to establish multiple mathematical solution models according to the target information of the tasks to be assigned corresponding to the multiple scheduling information items; each data solution model is used to decide the content of some of the multiple scheduling information items; the multiple mathematical solution models are associated and solved to obtain the content of the multiple scheduling information items; The generating module is used to generate a scheduling result according to the contents of the multiple scheduling information items.

18. A computer-readable storage medium storing computer instructions, characterized in that: When the computer instructions are executed by one or more processors, the one or more processors are caused to execute the steps in the method according to any one of claims 1 to 14.