Scheduling strategy determination method and device, storage medium and electronic equipment

Through the scheduling strategy determination method based on processing capability information and load screening, the problem of low scheduling efficiency in the existing technology is solved, intelligent scheduling and information interoperability are realized, and scheduling management efficiency is improved.

CN119623978APending Publication Date: 2025-03-14CHINA TELECOM BESTPAY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411696661.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-25
Publication Date
2025-03-14

AI Technical Summary

Technical Problem

In the prior art, personnel scheduling relies on static schedules and isolated project management information, lacks real-time dynamic adjustment capabilities and information interoperability mechanisms, resulting in delayed update of duty information and unreasonable resource allocation, which in turn causes waste of personnel and project delays.

Method used

By determining the target items that need to be scheduled, the candidate objects are filtered based on the processing capability information of the initial object, and filtered according to the next project load of the candidate object, and the target objects that execute the target items are determined. This method combines processing capability information, historical processing information, skill scores and current project load, and dynamically adjusts the weighting strategy to match project requirements.

Benefits of technology

It realizes intelligent personnel scheduling, improves information interoperability, improves shift management efficiency, and solves the problem of unsatisfactory shift scheduling efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119623978A_ABST
    Figure CN119623978A_ABST
Patent Text Reader

Abstract

The invention discloses a scheduling strategy determination method and device, a storage medium and electronic equipment. The method comprises the following steps: determining a target item which needs to be scheduled; based on the processing capability information corresponding to the plurality of initial objects, screening is carried out in the plurality of initial objects, candidate objects are determined, and the processing capability information is associated with the target item; and screening the plurality of candidate objects according to next item loads corresponding to the plurality of candidate objects, and determining a target object for executing the target item, the next item loads being workloads required to be processed by the corresponding candidate objects in a next time period after the current moment. According to the invention, the technical problem that the scheduling efficiency is not ideal in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of information and communication technology, human-computer interaction technology and data management, and specifically to a method, device, storage medium and electronic device for determining a scheduling strategy. Background Art

[0002] At present, personnel scheduling mainly relies on static shift schedules and isolated project management information. This scheduling method lacks real-time dynamic adjustment capabilities and information exchange mechanisms. Therefore, in actual operations, the update of duty information is often delayed, resulting in the inability to reasonably allocate personnel resources, which in turn causes unnecessary waste of personnel or delays in project progress. Due to the existence of information islands, it is difficult for managers to fully and accurately obtain the work status and task progress of all relevant personnel when making personnel scheduling decisions, which reduces the efficiency and quality of scheduling. With the rapid expansion of enterprise scale and the increasing diversification of customer needs, the existing scheduling model can no longer meet the needs of efficient and flexible personnel scheduling, and there are technical problems in related technologies such as unsatisfactory scheduling efficiency.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present application provide a method, device, storage medium and electronic device for determining a shift scheduling strategy, so as to at least solve the technical problem of unsatisfactory shift scheduling efficiency existing in the related art.

[0005] According to one aspect of an embodiment of the present application, a method for determining a scheduling strategy is provided, including: determining a target project that needs to be scheduled; screening the multiple initial objects based on processing capacity information corresponding to each of the multiple initial objects to determine a candidate object, wherein the processing capacity information is associated with the target project; screening the multiple candidate objects according to the next project loads corresponding to each of the multiple candidate objects to determine a target object that executes the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

[0006] Optionally, the processing capability information respectively corresponding to the multiple initial objects is used to screen the multiple initial objects to determine the candidate objects, including: determining a target weight strategy according to the project type of the target project; determining processing capability scores respectively corresponding to the multiple initial objects according to the target weight strategy based on the processing capability information respectively corresponding to the multiple initial objects; and screening the multiple initial objects according to the processing capability scores respectively corresponding to the multiple initial objects to determine the candidate objects.

[0007] Optionally, the processing capability information includes historical processing information, skill scores, and current project load of the corresponding initial object, the target weight strategy includes a first weight corresponding to the historical processing information, a second weight corresponding to the skill score, and a third weight corresponding to the current project load, and the processing capability scores corresponding to the multiple initial objects are determined according to the target weight strategy based on the processing capability information corresponding to the multiple initial objects respectively, including: obtaining historical processing information corresponding to the multiple initial objects respectively, wherein the historical processing information is processing information of similar projects processed by the corresponding initial objects in a historical time period, and the similar projects are projects matching the project type; obtaining skill scores and current project loads corresponding to the multiple initial objects respectively, wherein the current project load is the workload that the corresponding candidate object needs to process in the current time period where the current moment is located; based on the historical processing information, skill scores, and current project loads corresponding to the multiple initial objects respectively, according to the first weight, the second weight, and the third weight, determining the processing capability scores corresponding to the multiple initial objects respectively.

[0008] Optionally, determining the target weight strategy according to the project type of the target project includes: obtaining the processing time, processing capacity requirements, and associated projects required by the target project; determining multiple candidate weight strategies corresponding to the project type; determining a first weight strategy from the multiple candidate weight strategies based on the processing time and the processing capacity requirements; and modifying the first weight strategy according to the associated information of the associated projects to obtain the target weight strategy.

[0009] Optionally, the method of screening the multiple candidate objects according to the next project loads respectively corresponding to the multiple candidate objects to determine the target object for executing the target project includes: determining the time resources respectively corresponding to the multiple candidate objects according to the next project loads respectively corresponding to the multiple candidate objects; screening the multiple candidate objects according to the time resources respectively corresponding to the multiple candidate objects to determine the target object for executing the target project.

[0010] Optionally, the method further includes: generating a scheduling notification based on the project information of the target project, and sending the scheduling notification to the processing terminal of the target object; receiving a scheduling confirmation result fed back by the processing terminal; when the scheduling confirmation result indicates that the target object has not responded to the scheduling, removing the target object from the multiple initial objects to obtain updated multiple initial objects; and rescheduling based on the updated multiple initial objects.

[0011] Optionally, generating the shift notification based on the project information of the target project includes: determining the access rights of the target object; desensitizing the project information according to the access rights to obtain desensitized information; and generating the shift notification based on the desensitized information.

[0012] According to another aspect of an embodiment of the present application, a scheduling strategy determination device is provided, including: a target project determination module, used to determine a target project that needs to be scheduled; a candidate object determination module, used to screen a plurality of initial objects based on processing capacity information corresponding to the plurality of initial objects, and determine candidate objects, wherein the processing capacity information is associated with the target project; a target object determination module, used to screen the plurality of candidate objects according to the next project loads corresponding to the plurality of candidate objects, and determine a target object that executes the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

[0013] According to another aspect of an embodiment of the present application, a non-volatile storage medium is provided, wherein the non-volatile storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing any one of the scheduling strategy determination methods.

[0014] According to another aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the scheduling strategy determination methods.

[0015] In the embodiment of the present application, the target project that needs to be scheduled is determined; based on the processing capacity information corresponding to the multiple initial objects, the multiple initial objects are screened to determine the candidate objects, wherein the processing capacity information is associated with the target project; according to the next project load corresponding to the multiple candidate objects, the multiple candidate objects are screened to determine the target object that executes the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment. The purpose of intelligent personnel scheduling is achieved, information exchange is realized, and the technical effect of improving the efficiency of scheduling management is achieved, thereby solving the technical problem of unsatisfactory scheduling efficiency existing in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] 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:

[0017] Figure 1 is a flowchart of an optional scheduling strategy determination method provided according to an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of an optional scheduling strategy determination method provided according to an embodiment of the present application;

[0019] Figure 3 It is a schematic diagram of an optional scheduling strategy determination device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. 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 creative work should fall within the scope of protection of the present application.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0023] The heapq library is a module in the Python standard library that is specifically used to provide an implementation of the heap queue algorithm. A heap queue is a special tree data structure in which the value of a parent node is always less than or equal to or greater than or equal to the value of its child node. The heapq library implements the function of a minimum heap, that is, the top element of the heap is always the smallest element in the heap.

[0024] The requests library is a HTTP (Hypertext Transfer Protocol) client library in Python. Through the requests library, developers can construct and send HTTP requests and process response data without having to understand the details of the HTTP protocol. The requests library can handle common HTTP problems such as network errors and server errors, thereby improving the robustness and readability of the code.

[0025] According to an embodiment of the present application, an embodiment of a method for determining a scheduling strategy is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0026] Figure 1 is a flowchart of an optional method for determining a scheduling strategy according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0027] Step S102, determining the target project that needs to be scheduled;

[0028] It can be understood that by determining the target projects that need to be scheduled, by clarifying the target projects, focusing on specific business needs, and effectively identifying the input of on-duty personnel, blind allocation of resources can be avoided.

[0029] Step S104, screening the multiple initial objects based on the processing capability information respectively corresponding to the multiple initial objects to determine candidate objects, wherein the processing capability information is associated with the target project;

[0030] It can be understood that based on the processing capacity information corresponding to the multiple initial objects, the multiple initial objects are screened to determine the initial object that is most suitable as a candidate object. The processing capacity information is related to the needs of the target project. By analyzing the processing capacity information of the initial object and combining the project characteristics, the processing capacity of the initial object for the target project is comprehensively evaluated. Ensure that the candidate object has the professional skills and time resources to handle the problems of the target project, avoid excessive load on personnel, and improve the rationality and efficiency of scheduling.

[0031] In an optional embodiment, based on the processing capability information respectively corresponding to the multiple initial objects, screening is performed among the multiple initial objects to determine candidate objects, including: determining a target weight strategy according to the project type of the target project; based on the processing capability information respectively corresponding to the multiple initial objects, determining the processing capability scores respectively corresponding to the multiple initial objects according to the target weight strategy; screening is performed among the multiple initial objects according to the processing capability scores respectively corresponding to the multiple initial objects to determine candidate objects.

[0032] It can be understood that, first, the target weight strategy is determined according to the project type of the target project, and then the processing capacity information of multiple initial objects is evaluated based on the weight strategy to generate a processing capacity score for each object. Finally, the most suitable candidate is selected based on the processing capacity score. Dynamically adjust the evaluation weight and quantitatively evaluate the matching degree of different personnel to the target project, ensuring that the scheduling decision is more accurate and efficient, avoiding the subjectivity and uncertainty of manual judgment.

[0033] In an optional embodiment, the processing capability information includes historical processing information, skill scores, and current project load corresponding to the initial object, and the target weight strategy includes a first weight corresponding to the historical processing information, a second weight corresponding to the skill score, and a third weight corresponding to the current project load. Based on the processing capability information corresponding to the multiple initial objects, the processing capability scores corresponding to the multiple initial objects are determined according to the target weight strategy, including: obtaining historical processing information corresponding to the multiple initial objects, wherein the historical processing information is processing information of similar projects processed by the corresponding initial object in the historical time period, and the similar projects are projects matching the project type; obtaining skill scores and current project loads corresponding to the multiple initial objects, wherein the current project load is the workload that the corresponding candidate object needs to process in the current time period at the current moment; based on the historical processing information, skill scores, and current project loads corresponding to the multiple initial objects, the processing capability scores corresponding to the multiple initial objects are determined according to the first weight, the second weight, and the third weight.

[0034] It can be understood that the evaluation of processing capacity information is refined into a comprehensive consideration of historical processing information, skill scores, and current project load. The target weight strategy includes a first weight corresponding to historical processing information, a second weight corresponding to skill scores, and a third weight corresponding to current project load. Historical processing information is the processing information of the corresponding initial object in the historical time period for processing similar projects. Similar projects are projects that match the project type. The current project load is the workload that the corresponding candidate object needs to process in the current time period at the current moment. The performance information of the initial object in processing similar projects is retrieved from the historical database to ensure the pertinence and effectiveness of the evaluation. The skill score and the current project load undertaken by each initial object are obtained in real time. The skill score reflects the individual's professional ability, and the project load reflects the current allocation of time and energy. The processing capacity score of each initial object is calculated by combining the first weight, the second weight, and the third weight. By comprehensively considering historical performance, professional skills, and current workload, an accurate evaluation of personnel processing capacity is achieved, which helps to ensure that the project matches the most suitable on-duty personnel. More reasonable scheduling judgments are made based on historical processing information, which improves the scientificity and accuracy of decision-making.

[0035] In an optional embodiment, a target weight strategy is determined according to the project type of the target project, including: obtaining the processing time, processing capacity requirements, and related projects required by the target project; determining multiple candidate weight strategies corresponding to the project type; determining a first weight strategy from multiple candidate weight strategies based on the processing time and processing capacity requirements; and modifying the first weight strategy according to the associated information of the associated projects to obtain the target weight strategy.

[0036] It can be understood that the demand information of the target project is obtained, including the processing time of the target project requirements, the required processing capacity requirements, and the associated information of the related projects. Based on the project type, multiple candidate weight strategies are preset, and the candidate weight strategies are dynamically adjusted according to the processing time and processing capacity requirements of the target project to determine the first weight strategy for the current project requirements. By analyzing the associated information of the associated projects, the first weight strategy is corrected to obtain the target weight strategy, ensuring that the scheduling decision can fully consider the impact of the business environment, and finally obtain an accurate target weight strategy. By dynamically adjusting the weight strategy, deep matching and personalized response to project requirements are achieved.

[0037] Optionally, the above method for determining the candidate object can be multiple, for example, using a priority queue algorithm to achieve intelligent sorting and scheduling of personnel, and combining the heapq library to implement a heap data structure to ensure that the individual with the highest priority among the current personnel can always be accessed.

[0038] Initialize the heap. Create an empty minimum heap shift_heap. Define a function push to add a new shifter to the heap, that is, add the initial object, and maintain the properties of the heap. Define a function pop to remove and return the top element of the heap, that is, the initial object with the highest current priority.

[0039] Calculate the priority score, that is, the processing capacity information. The evaluation of the processing capacity information is refined into a comprehensive consideration of historical processing information, skill scores, and current project load. For each on-duty personnel, a comprehensive priority score is calculated based on their skill score, workload, and historical performance score. Among them, the skill score is the skill score, the workload is the current project load, and the historical performance score is the historical processing information. Priority score calculation formula: priority_score = (skill score * weight 1 + workload * weight 2 + historical performance score * weight 3), where weight 1, weight 2, and weight 3 are preset weights based on actual business needs. The combination of multiple weights can be regarded as a target weight strategy.

[0040] Add on-duty personnel to the heap. When a new on-duty personnel needs to be scheduled, use the push function to add it to the minimum heap shift_heap. The push function first adds the new person and its priority score to the heap as a tuple (person, priority_score). After adding, use the heapify method of the heapq library to ensure that the properties of the heap are maintained.

[0041] Determine the on-duty personnel pool, call the pop function to remove and return several high-priority on-duty personnel from the minimum heap shift_heap, and pass the on-duty personnel pool to the scheduling communication module for final screening.

[0042] Step S106, screening multiple candidate objects according to the next project loads corresponding to the multiple candidate objects respectively, and determining the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

[0043] It can be understood that the workload that each candidate object is expected to handle in the next time period after the current moment is considered, that is, the next project load. By comparing and analyzing the next project loads of various candidate objects, the candidate objects that are relatively idle in the next time period or whose workload will not conflict with the target project are identified, thereby ensuring that the target project can be processed in a timely and focused manner, avoiding resource conflicts and waste. By analyzing future workloads, dynamic and intelligent scheduling of personnel is achieved.

[0044] In an optional embodiment, multiple candidate objects are screened according to the next project loads respectively corresponding to the multiple candidate objects to determine the target object for executing the target project, including: determining the time resources respectively corresponding to the multiple candidate objects according to the next project loads respectively corresponding to the multiple candidate objects; screening the multiple candidate objects according to the time resources respectively corresponding to the multiple candidate objects to determine the target object for executing the target project.

[0045] It can be understood that the remaining time resources of each candidate are calculated based on the workload of each candidate in the next time period, that is, the next project load, that is, the time that can be invested in new projects after completing the established tasks. Then, based on the time resource data, the candidates are screened, and those who have sufficient time resources to handle the target project are preferentially selected as the target objects. By accurately evaluating the time resources of the candidates, more refined personnel scheduling is achieved. The quantitative analysis of time resources avoids time conflicts in work arrangements and ensures the smooth execution of the target project.

[0046] In an optional embodiment, the method further includes: generating a scheduling notification based on the project information of the target project, and sending the scheduling notification to the processing terminal of the target object; receiving the scheduling confirmation result fed back by the processing terminal; when the scheduling confirmation result indicates that the target object has not responded to the scheduling, eliminating the target object from multiple initial objects to obtain updated multiple initial objects; and rescheduling based on the updated multiple initial objects.

[0047] It can be understood that after determining the target object of the target project, a scheduling notification is automatically generated according to the project information, and the notification is sent to the processing terminal of the target object through a communication tool. Subsequently, the scheduling confirmation result fed back by the target object through its terminal is received, ensuring two-way communication of the scheduling decision, so that the target object can confirm acceptance or feedback that it cannot respond. If the feedback result indicates that the target object has not responded to the scheduling, the system will automatically remove the object from the consideration scope, that is, remove it from the multiple initial objects to form multiple updated initial objects. Based on the updated object list, the scheduling process is re-performed to find a new target object. The feedback mechanism ensures the flexibility and effectiveness of scheduling decisions and avoids scheduling failures or project delays due to the unavailability of the target object.

[0048] Optionally, the above-mentioned shift confirmation process can be multiple, for example, using communication tools and requests library to achieve real-time communication and reminders with on-duty personnel, ensuring the rapid transmission of information and improving the response speed of the team. By calling the API interfaces of different communication platforms, the requests library can realize cross-platform information transmission, so that the shift notification can not only be sent to the target object in real time, but also after receiving feedback from the target object, the shift status in the system can be updated in time, realizing two-way communication and dynamic adjustment.

[0049] In an optional embodiment, a shift notification is generated based on project information of a target project, including: determining access rights of a target object; desensitizing the project information according to the access rights to obtain desensitized information; and generating a shift notification based on the desensitized information.

[0050] It can be understood that the access rights of the target object are determined to ensure that only authorized personnel can receive the scheduling information related to a specific project. According to the access rights level of the target object, the project information of the target project is desensitized in a targeted manner, sensitive data is removed or replaced, and desensitized information is generated to protect the security of the project and data and avoid potential risks caused by information leakage. The generation of scheduling notifications based on desensitized information ensures the appropriateness and security of the notification content, and maintains the privacy of employees and the data security of the enterprise.

[0051] Through the above step S102, the target project that needs to be scheduled is determined; step S104, based on the processing capacity information corresponding to the multiple initial objects, multiple initial objects are screened to determine the candidate objects, wherein the processing capacity information is associated with the target project; step S106, multiple candidate objects are screened according to the next project load corresponding to the multiple candidate objects, and the target object for executing the target project is determined, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment. The purpose of intelligent personnel scheduling can be achieved, information exchange is realized, and the technical effect of improving the efficiency of scheduling management is achieved, thereby solving the technical problem of unsatisfactory scheduling efficiency existing in related technologies.

[0052] Based on the above embodiments and optional embodiments, the present application proposes an optional implementation mode, which has five modules: a data processing module, a scheduling algorithm module, a scheduling communication module and a permission management module.

[0053] Step S1, in the shift scheduling group, after the customer service staff finds a user problem, the customer service staff enters the problem into the duty information table.

[0054] This process involves the data processing module, which is responsible for managing and processing the duty personnel information and duty requirements. The duty requirements are entered into the duty information table, and the data includes information such as processing time, specific requirements, and related projects. The duty personnel are not filled in yet, and need to be calculated by the scheduling algorithm module and the typesetting communication module.

[0055] Step S2, the scheduling algorithm provides a pool of suitable on-duty personnel to the scheduling communication system, and selects the most suitable on-duty personnel according to the current project situation, time nodes and future project situation.

[0056] The scheduling algorithm module realizes the intelligent sorting and scheduling of on-duty personnel. It uses the priority queue algorithm and combines the heapq library to implement the heap data structure to ensure that the highest priority individual among the currently available personnel can always be accessed. Figure 2 is a schematic diagram of an optional method for determining a shift scheduling strategy provided in an embodiment of the present application, such as Figure 2 shown.

[0057] Initialize the heap. Create an empty minimum heap shift_heap. Define a function push to add a new shifter to the heap, that is, add the initial object, and maintain the properties of the heap. Define a function pop to remove and return the top element of the heap, that is, the initial object with the highest current priority.

[0058] Calculate the priority score, that is, the processing capacity information. The evaluation of the processing capacity information is refined into a comprehensive consideration of historical processing information, skill scores, and current project load. For each on-duty personnel, a comprehensive priority score is calculated based on their skill score, workload, and historical performance score. Among them, the skill score is the skill score, the workload is the current project load, and the historical performance score is the historical processing information. Priority score calculation formula: priority_score = (skill score * weight 1 + workload * weight 2 + historical performance score * weight 3), where weight 1, weight 2, and weight 3 are preset weights based on actual business needs.

[0059] The target weight strategy includes a first weight corresponding to historical processing information, a second weight corresponding to the skill score, and a third weight corresponding to the current project load. The historical processing information is the processing information of the corresponding initial object in the historical time period for processing similar projects. Similar projects are projects that match the project type. The current project load is the workload that the corresponding candidate object needs to process in the current time period at the current moment. The performance information of the initial object in processing similar projects is retrieved from the historical database to ensure the pertinence and effectiveness of the evaluation. The skill score and the current project load undertaken by each initial object are obtained in real time. The skill score reflects the individual's professional ability, and the project load reflects the current allocation of time and energy. The processing ability score of each initial object is calculated by combining the first weight, the second weight and the third weight. By comprehensively considering historical performance, professional skills and current workload, an accurate assessment of personnel processing capabilities is achieved, which helps to ensure that the project matches the most suitable on-duty personnel. More reasonable scheduling judgments are made based on historical processing information, which improves the scientificity and accuracy of decision-making.

[0060] Adding on-duty personnel to the heap, when there is a new on-duty personnel to be scheduled, use the push function to add it to the shift_heap. The push function first adds the new person and its priority score as a tuple (person, priority_score) to the heap. After adding, use the heapify method of the heapq library to ensure that the properties of the heap are maintained.

[0061] Determine the on-duty personnel pool, call the pop function to remove and return several high-priority on-duty personnel from the shift_heap, and pass the on-duty personnel pool to the scheduling communication module for final screening.

[0062] Step S3, synchronize the current duty status of the duty personnel to the project management module to achieve two-way synchronization. The duty personnel are notified in real time through the communication tool to handle the problem specifically. The duty personnel can write the duty status as a message to reply to the communication tool, so that the administrator can know the duty status in real time.

[0063] The scheduling communication module includes a project management module, which records the time occupied by personnel in the project and the occupation of future projects, that is, the current project load and the next project load. Combined with the data recorded in the previous project in the platform, that is, the historical processing information, the on-duty personnel who do not affect the execution of existing projects and future projects are screened out. That is, the current time is the farthest from the existing project time and the future project time. After screening out the most suitable on-duty personnel, call the new project interface of the project management module, and automatically write the on-duty personnel into the project management module to achieve two-way synchronization of data. After screening out the on-duty personnel, real-time communication and reminders with the on-duty personnel are realized through communication tools. The difference from the communication interface is that specific improvements have been made in this application. Improvements include customized message formats and notification strategies. Develop message templates in the scheduling communication module to allow administrators to customize message content according to different scheduling situations and employee preferences. You can customize information such as duty duration, project, working hours, etc. After communication, the on-duty person is supported to reply to the communication tool, and the message replied by the on-duty person is recorded in the message template system. Let the administrator know the current situation of the on-duty person.

[0064] Receiving the scheduling confirmation results fed back by the target object through its terminal ensures two-way communication of scheduling decisions, allowing the target object to confirm acceptance or feedback that it cannot respond. If the feedback result indicates that the target object has not responded to the scheduling, the system will automatically remove the object from the consideration range, that is, remove it from the multiple initial objects to form multiple updated initial objects. Based on the updated object list, re-schedule the process and find new target objects. The feedback mechanism ensures the flexibility and effectiveness of scheduling decisions, and avoids scheduling failures or project delays caused by the unavailability of the target object.

[0065] Using communication tools and the requests library to achieve real-time communication and reminders with on-duty personnel ensures rapid information delivery and improves the team's response speed. By calling the API interfaces of different communication platforms, the requests library can achieve cross-platform information delivery, so that the shift notification can not only be sent to the target object in real time, but also update the shift status in the system in a timely manner after receiving feedback from the target object, realizing two-way communication and dynamic adjustment.

[0066] Determine the access rights of the target object to ensure that only authorized personnel can receive the scheduling information related to a specific project. According to the access rights level of the target object, perform targeted desensitization on the project information of the target project, remove or replace sensitive data, generate desensitized information, protect the security of the project and data, and avoid potential risks caused by information leakage. Generate scheduling notifications based on desensitized information to ensure the appropriateness and security of the notification content, and maintain the privacy of employees and the data security of the enterprise.

[0067] After selecting the on-duty personnel, the scheduling communication module will synchronize the on-duty data to the project management module of the platform. This allows projects and on-duty events to be closely integrated, data intercommunication is achieved, and data support is provided for future on-duty events, further improving the manpower occupancy of on-duty personnel. Because of data synchronization, managers do not need to switch back and forth between the project information and the on-duty information table to view the overall personnel work arrangements, allowing managers to more effectively and reasonably allocate subsequent work tasks.

[0068] Step S4, the authority management module is responsible for managing the authority of the on-duty personnel, including the role of the on-duty personnel, authority settings, etc.

[0069] The above optional implementation methods achieve at least the following effects: According to the scheduling situation and problem events, based on the calculation results of historical data, and using communication tools, real-time communication and reminders with the on-duty personnel, as well as data intercommunication and information synchronization are achieved, ensuring the rapid transmission of information and improving the team's response speed. By responding to employee needs and feedback in a timely manner, employee satisfaction with scheduling results is improved. Employees are allowed to reply to scheduling results in answering robot messages to better meet employee and business needs. In terms of algorithms, the data structure of the priority queue is adopted, and the heap data structure is implemented through the heapq library to achieve intelligent sorting and scheduling of on-duty personnel and improve the efficiency and accuracy of duty management.

[0070] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0071] In this embodiment, a scheduling strategy determination device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated hereafter. As used below, the terms "module" and "device" may be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0072] According to an embodiment of the present application, there is also provided an embodiment of a device for implementing a method for determining a shift scheduling strategy. Figure 3 is a schematic diagram of an optional scheduling strategy determination device provided according to an embodiment of the present application, such as Figure 3 As shown, the above-mentioned scheduling strategy determination device includes a target project determination module 302, a candidate object determination module 304, and a target object determination module 306. The device is described below.

[0073] The target project module 302 is used to determine the target project that needs to be scheduled;

[0074] A candidate object determination module 304, connected to the target project module 302, is used to screen the multiple initial objects based on the processing capability information respectively corresponding to the multiple initial objects to determine the candidate objects, wherein the processing capability information is associated with the target project;

[0075] The target object determination module 306 is connected to the candidate object determination module 304, and is used to screen multiple candidate objects according to the next project loads corresponding to the multiple candidate objects, and determine the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

[0076] In a scheduling strategy determination device provided in an embodiment of the present application, a target project module 302 is set to determine a target project that needs to be scheduled;

[0077] The candidate object determination module 304 is connected to the target project module 302 and is used to screen multiple initial objects based on the processing capacity information corresponding to the multiple initial objects to determine the candidate objects, wherein the processing capacity information is associated with the target project; the target object determination module 306 is connected to the candidate object determination module 304 and is used to screen multiple candidate objects according to the next project load corresponding to the multiple candidate objects to determine the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment. The purpose of intelligent personnel scheduling is achieved, information exchange is realized, and the technical effect of improving the efficiency of scheduling management is achieved, thereby solving the technical problem of unsatisfactory scheduling efficiency existing in related technologies.

[0078] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.

[0079] It should be noted that the above-mentioned target project determination module 302, candidate object determination module 304, and target object determination module 306 correspond to steps S102 to S106 in the embodiment, and the examples and application scenarios implemented by the above-mentioned modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment. It should be noted that the above-mentioned modules can be run in a computer terminal as part of the device.

[0080] It should be noted that the optional or preferred implementation of this embodiment can refer to the relevant description in the embodiment, which will not be repeated here.

[0081] The above-mentioned scheduling strategy determination device may also include a processor and a memory. The target project determination module 302, the candidate object determination module 304, the target object determination module 306, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize the corresponding functions.

[0082] The processor includes a kernel, which retrieves the corresponding program unit from the memory. There can be one or more kernels. The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0083] An embodiment of the present application provides a non-volatile storage medium on which a program is stored. When the program is executed by a processor, a method for determining a shift scheduling strategy is implemented.

[0084] The embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: determining a target project that needs to be scheduled; screening multiple initial objects based on processing capacity information corresponding to multiple initial objects to determine candidate objects, wherein the processing capacity information is associated with the target project; screening multiple candidate objects according to the next project load corresponding to the multiple candidate objects to determine the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment. The device in this article can be a server, a PC, etc.

[0085] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having the following method steps: determining a target project that needs to be scheduled; screening multiple initial objects based on processing capacity information corresponding to each of the multiple initial objects to determine candidate objects, wherein the processing capacity information is associated with the target project; screening multiple candidate objects according to the next project loads corresponding to each of the multiple candidate objects to determine the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

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

[0087] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0088] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0089] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

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

[0091] The memory may include non-permanent memory 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.

[0092] 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 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.

[0093] 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.

[0094] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt 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.) that contain computer-usable program code.

[0095] The above are only embodiments of the present application and are 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 within the scope of the claims of the present application.

Claims

1. A method for determining a shift scheduling strategy, characterized in that: include: Determine the target projects that need to be scheduled; Based on the processing capability information respectively corresponding to the multiple initial objects, screening is performed among the multiple initial objects to determine the candidate objects, wherein the processing capability information is associated with the target project; According to the next project loads corresponding to the multiple candidate objects, the multiple candidate objects are screened to determine the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

2. The method according to claim 1, characterized in that The step of screening the multiple initial objects based on the processing capability information respectively corresponding to the multiple initial objects to determine the candidate objects includes: Determine the target weight strategy according to the project type of the target project; Based on the processing capability information respectively corresponding to the multiple initial objects, and in accordance with the target weight strategy, determining the processing capability scores respectively corresponding to the multiple initial objects; The candidate objects are determined by screening the multiple initial objects according to the processing capability scores respectively corresponding to the multiple initial objects.

3. The method according to claim 2, characterized in that The processing capability information includes historical processing information of the corresponding initial object, a skill score, and a current project load, the target weight strategy includes a first weight corresponding to the historical processing information, a second weight corresponding to the skill score, and a third weight corresponding to the current project load, and the processing capability scores corresponding to the multiple initial objects are determined based on the processing capability information corresponding to the multiple initial objects respectively and according to the target weight strategy, including: Acquire historical processing information corresponding to the multiple initial objects respectively, wherein the historical processing information is processing information of the corresponding initial objects processing similar projects in a historical time period, and the similar projects are projects matching the project type; Obtaining skill scores and current project loads corresponding to the multiple initial objects respectively, wherein the current project load is the workload that the corresponding candidate object needs to handle in the current time period at the current moment; Based on the historical processing information, skill scores, and current project loads respectively corresponding to the multiple initial objects, the processing capability scores respectively corresponding to the multiple initial objects are determined according to the first weight, the second weight, and the third weight.

4. The method according to claim 2, characterized in that: Determining the target weight strategy according to the project type of the target project includes: Obtain the processing time, processing capacity requirements, and related projects required by the target project; Determining a plurality of candidate weight strategies corresponding to the project type; Based on the processing time and the processing capacity requirement, determining a first weight strategy from among the multiple candidate weight strategies; The first weight strategy is modified according to the association information of the associated items to obtain the target weight strategy.

5. The method according to claim 1, characterized in that The step of screening the plurality of candidate objects according to the next project loads respectively corresponding to the plurality of candidate objects to determine the target object for executing the target project includes: Determining the time resources corresponding to the multiple candidate objects respectively according to the next project loads corresponding to the multiple candidate objects respectively; The multiple candidate objects are screened according to the time resources respectively corresponding to the multiple candidate objects to determine the target object for executing the target project.

6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Generate a shift notification based on the project information of the target project, and send the shift notification to a processing terminal of the target object; Receiving the scheduling confirmation result fed back by the processing terminal; When the scheduling confirmation result indicates that the target object has not responded to the scheduling, the target object is removed from the multiple initial objects to obtain updated multiple initial objects; Rescheduling is performed based on the updated multiple initial objects.

7. The method according to claim 6, characterized in that The generating a shift schedule notification based on the project information of the target project includes: Determining access rights of the target object; Desensitizing the project information according to the access rights to obtain desensitized information; The shift notification is generated based on the desensitized information.

8. A shift scheduling strategy determination device, characterized in that: include: Determine the target project module, which is used to determine the target projects that need to be scheduled; A candidate object determination module, configured to screen a plurality of initial objects based on processing capability information respectively corresponding to the plurality of initial objects to determine candidate objects, wherein the processing capability information is associated with the target project; The target object determination module is used to screen multiple candidate objects according to the next project loads corresponding to the multiple candidate objects, and determine the target object for executing the target project, wherein the next project load is the workload that the corresponding candidate object needs to process in the next time period after the current moment.

9. A non-volatile storage medium, characterized in that: The non-volatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the method for determining a shift scheduling strategy as described in any one of claims 1 to 7.

10. An electronic device, characterized in that: include: One or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the scheduling strategy determination method described in any one of claims 1 to 7.