Task-driven duty management method and device, electronic equipment and medium

By introducing task generation and execution triggers into duty management, proactive response and standardized execution of workflows are achieved, solving the problem of passive response in existing technologies and improving the efficiency and quality of duty management.

CN121526548APending Publication Date: 2026-02-13CHINA LIFE INSURANCE CO LTD SHANGHAI DATA CENT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511694598.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-18
Publication Date
2026-02-13

AI Technical Summary

Technical Problem

The existing duty management method involves a passive response to workflows, resulting in inconsistent work quality and difficulty in motivating initiative. When faced with changes to duty procedures or work items, a significant amount of effort is required to explain them, leading to generally low efficiency.

Method used

By automatically assigning all workflows to on-duty personnel, establishing task generation triggers and task execution triggers, and providing standardized task operation guidelines and automated execution methods, a proactive response and standardized execution system for workflows is achieved.

Benefits of technology

It improves the quality and efficiency of on-duty work, and on-duty personnel do not need to spend much energy dealing with changes in their positions or tasks. Automated tasks are configurable, which improves management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121526548A_ABST
    Figure CN121526548A_ABST
Patent Text Reader

Abstract

The invention provides a task-driven on-duty management method and device, electronic equipment and a medium, and the method comprises the steps: configuring a scheduling rule of each post and the daily number of people of the post, obtaining scheduling information based on the scheduling rule and the daily number of people of the post, configuring the post information of the post, the method comprises the steps of generating an on-duty information data table based on scheduling information and post information, obtaining various automatic task execution configurations based on the on-duty information data table and task elements, configuring different execution modes for different task types, associating the execution modes with the automatic task execution configurations based on the task types, and generating tasks based on a task generation trigger. The method comprises the following steps: storing task elements generated by a task generation trigger based on a pre-established task information list library, determining a task under an operator on duty corresponding to a post based on the task information list library, and executing the task according to the task elements in the task information list library based on a task execution trigger, and feeding back a task result.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of enterprise management, in particular to a task-driven shift management method and device, electronic equipment and medium. BACKGROUND

[0002] Shift management is a management category that enterprises often encounter, especially for shift management scenarios with various shift posts, large flow of shift personnel, complex and variable shift work items, and the need for subjective handling of work tasks by shift personnel.

[0003] Currently, shift management is mainly carried out through pre-training, in-process reminders, and some paper records.

[0004] However, the existing shift management method passively responds to the work process, and the work quality is uneven, mainly focusing on recording, and it is difficult to solve the problem of initiative stimulation. In addition, in the face of shift management scenarios with high cost of shift process or work item changes, a lot of effort is often needed for propaganda, resulting in general efficiency of shift management. SUMMARY

[0005] Therefore, the purpose of the present application is to provide a task-driven shift management method, device, electronic equipment and medium, which distributes all work processes to shift personnel according to automatically generated tasks, so that shift personnel only need to focus on whether there are tasks under their name, realizes active response to the work process, solves the problem of initiative stimulation, and provides standardized task operation guidelines and automatic task execution methods, builds a standardized execution system, and improves the entire shift work quality and execution efficiency. In addition, the automatic task can be configured, and the shift personnel can operate according to the updated task guidelines without spending much effort to solve the problem, thereby improving the efficiency of shift management.

[0006] In a first aspect, the embodiments of the present application provide a task-driven shift management method, which comprises: configuring the shift scheduling rules of each post and the daily number of posts, obtaining shift scheduling information based on the shift scheduling rules and the daily number of posts, and configuring the post information of the post, defining the post information of the post, and generating a corresponding shift information data table based on the shift scheduling information and the post information; obtaining a plurality of automatic task execution configurations based on the shift information data table and task elements, configuring different execution methods for different task types, and associating the execution methods and the automatic task execution configurations based on the task types; The task generation trigger and the task execution trigger are built, a task is generated based on the task generation trigger, and a task element generated by the task generation trigger is stored based on a pre-established task information list library; A task corresponding to a duty officer of a post is determined based on the task information list library, the task is executed based on the task execution trigger according to a task element in the task information list library, and a task result is fed back.

[0007] In a possible implementation, the scheduling information is obtained based on the scheduling rule and the daily number of personnel of the post, including: Each post is set as a personnel queue in a post-queue form according to a full-quantity rule based on the scheduling rule and the daily number of personnel of the post; A scheduling queue matrix is constructed based on the post, the scheduling rule and the personnel queue, and scheduling logic calculation is performed based on the scheduling queue matrix to obtain the scheduling information. In a possible implementation, the scheduling information is obtained based on the scheduling queue matrix, including: Each post is polled, and a first personnel in a corresponding personnel queue is arranged into a corresponding date along with the date and according to a scheduling rule and a daily number of personnel of the post corresponding to the post; The arranged personnel is determined, and the arranged personnel is placed at a tail of the personnel queue, and when there is the same personnel as the arranged personnel in the remaining queue, the same personnel is moved to a tail corresponding to the same personnel.

[0008] In a possible implementation, the task element includes a task generation time, and the task generation time is a target expression; the method further includes: The task generation time is determined, and a corresponding target expression is determined based on the task generation time; The corresponding task is executed based on the target expression, the execution mode and the automatic task execution configuration.

[0009] In a possible implementation, the task is generated based on the task generation trigger, including: The target expression is polled based on the task generation trigger, and a corresponding task element is generated based on the automatic task configuration corresponding to the target expression conforming to a current time; The task element is distributed to a corresponding duty officer according to a corresponding relationship between the post and the duty officer, and the task element is added to the task information list library.

[0010] In a possible implementation, the task execution trigger includes an automatic task execution trigger and a manual task execution trigger; and the executing the task based on the task elements in the task information inventory according to the task execution trigger includes: based on the automatic task execution trigger, polling the target task of the automatic execution type in the task information inventory in real time according to the newly generated and unfinished task type; based on the task type of the target task, calling the corresponding automatic task execution configuration to execute the target task, obtaining the corresponding task result, and automatically writing the task result into the task information inventory for feedback. In a possible implementation, the method further includes: establishing a double-trigger mutual hosting mechanism between the task generation trigger and the task execution trigger to monitor the running state of each other; when one trigger fails, the other trigger replaces the failed trigger; wherein the task generation trigger and the task execution trigger both have all functions.

[0011] In a second aspect, the embodiments of the present application further provide a task-driven on-duty management device, which includes: a first generation module configured to configure the scheduling rules of each post and the daily number of posts, obtain scheduling information based on the scheduling rules and the daily number of posts, configure the post information of the post, define the post information of the post, generate a corresponding on-duty information data table based on the scheduling information and the post information; a configuration module configured to obtain a plurality of automatic task execution configurations based on the on-duty information data table and task elements, configure different execution modes for different task types, and associate the execution modes and the automatic task execution configurations based on the task types; a second generation module configured to build a task generation trigger and a task execution trigger, generate a task based on the task generation trigger, and store the task elements generated by the task generation trigger based on a pre-established task information inventory; an execution module configured to determine the tasks of the on-duty personnel under the corresponding post based on the task information inventory, execute the tasks based on the task elements in the task information inventory according to the task execution trigger, and feed back the task result.

[0012] In a possible implementation, the first generation module is specifically configured to: based on the scheduling rules and the daily number of posts, set the personnel queue of each post in the form of post-queue according to the full-quantity rules; A scheduling queue matrix is constructed based on the post, the scheduling rule and the personnel queue, and scheduling logic calculation is performed based on the scheduling queue matrix to obtain scheduling information. In a possible implementation, the first generating module is specifically configured to: The first personnel in the corresponding personnel queue is arranged in the corresponding date along with the date and according to the scheduling rule and the daily number of the post corresponding to the post; The arranged personnel is determined, and the arranged personnel is placed at the tail of the personnel queue, and when the same personnel of the arranged personnel exists in the remaining queue, the same personnel is moved to the tail corresponding to the same personnel.

[0013] In a possible implementation, the task element includes a task generation time, and the task generation time is a target expression; and the device includes: The third generating module is configured to determine the task generation time, and determine the corresponding target expression based on the task generation time; The second executing module is configured to execute the corresponding task based on the target expression, the execution mode and the automatic task execution configuration.

[0014] In a possible implementation, the second generating module is specifically configured to: The target expression is trained based on the task generation trigger to match the current time, and the corresponding task element is generated based on the automatic task configuration; The task element is distributed to the corresponding on-duty personnel according to the corresponding relationship between the post and the on-duty personnel, and the task element is added to the task information list library.

[0015] In a possible implementation, the task execution trigger includes an automatic task execution trigger and a manual task execution trigger; and the executing module is specifically configured to: The target task is trained in real time based on the automatic task execution trigger, and the target task is generated and not completed in the task information list library, and the target task is of an automatic execution type; The corresponding automatic task execution configuration is called based on the task type of the target task to execute the target task, a corresponding task result is obtained, and the task result is automatically written into the task information list library for feedback. In a possible implementation, the device further includes: The monitoring module is configured to establish a double-trigger mutual hosting mechanism between the task generation trigger and the task execution trigger to monitor the running state of the other party; The alternative module is configured to replace a failed trigger with another trigger when the failed trigger is triggered.

[0016] In a third aspect, an electronic device is provided, which includes a processor, a storage medium, and a bus. The storage medium stores machine readable instructions executable by the processor. When the electronic device is running, the processor communicates with the storage medium through the bus. The processor executes the machine readable instructions to perform the steps of the task-driven duty management method according to any one of the first aspect.

[0017] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program. When the computer program is run by a processor, the steps of the task-driven duty management method according to any one of the first aspect are performed.

[0018] The task-driven duty management method, device, electronic device, and medium provided by the embodiments of the present application configure the scheduling rules of each post and the daily number of posts, obtain scheduling information based on the scheduling rules and the daily number of posts, configure the post information of the post, define the post information of the post, generate a corresponding duty information data table based on the scheduling information and the post information, obtain a plurality of automatic task execution configurations based on the duty information data table and task elements, configure different execution modes for different task types, associate the execution modes and the automatic task execution configurations based on the task types, build a task generation trigger and a task execution trigger, generate a task based on the task generation trigger, store the task elements generated by the task generation trigger based on a pre-established task information inventory, determine the tasks of the duty personnel under the corresponding post based on the task information inventory, execute the tasks according to the task elements in the task information inventory based on the task execution trigger, and feed back the task results. The present application distributes all work processes to the duty personnel according to automatically generated tasks, so that the duty personnel only need to focus on whether there are tasks under their name. The present application realizes active response of the work process, solves the problem of active stimulation, provides standardized task operation instructions and automatic task execution modes, builds a standardized execution system, and improves the quality and efficiency of the entire duty work. In addition, the automatic task can be configured, and the duty personnel can operate according to the updated task instructions without spending much effort to solve the problem, thereby improving the efficiency of duty management.

[0019] In order to make the above objectives, characteristics and advantages of the present application more apparent and easy to understand, the following preferred embodiments are described in detail below, and the accompanying drawings are described as follows. BRIEF DESCRIPTION OF DRAWINGS

[0020] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be regarded as limiting the scope, and for those skilled in the art, other related drawings can also be obtained without creative labor.

[0021] Figure 1 is a flow chart of the task-driven shift management method provided by the embodiments of the present application; Figure 2 is a unit architecture schematic diagram of the task-driven shift management system; Figure 3 is a configuration page schematic diagram of the cron expression; Figure 4 is a structure schematic diagram of the task-driven shift management device provided by the embodiments of the present application; Figure 5 is a structure schematic diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. It should be understood that the drawings in the present application only play the purpose of illustration and description, and do not limit the protection scope of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportion. The flow chart shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow chart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flow chart or removed from the flow chart under the guidance of the content of the present application by those skilled in the art.

[0023] In addition, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0024] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features that follow, but not to exclude the presence of other features.

[0025] It is considered that shift management is a management category that enterprises often encounter, especially for shift management scenarios with various shift posts, large flow of shift personnel, complex and variable shift work items, and the need for subjective handling of work tasks by shift personnel.

[0026] Currently, shift management is mainly performed through pre-training, in-process reminders, and some paper records.

[0027] However, the existing shift management method has passive response to the work process, uneven work quality, and mainly focuses on recording, which is difficult to solve the problem of initiative stimulation. In addition, in the face of shift management scenarios with high cost of shift process or work item changes, a lot of effort is often needed for propaganda, resulting in general efficiency of shift management.

[0028] To solve this problem, the present application provides a task-driven shift management method, device, electronic equipment and medium, which distributes all work processes according to automatically generated tasks to shift personnel, so that shift personnel only need to focus on whether there are tasks under their name, realizes active response to the work process, solves the problem of initiative stimulation, and provides standardized task operation instructions and automatic task execution mode, builds a standardized execution system, and improves the whole shift work quality and execution efficiency. In addition, the automatic task can be configured, and the shift personnel can operate according to the updated task instructions without spending much effort to solve the problem, thereby improving the efficiency of shift management.

[0029] Figure 1 is a flowchart of the task-driven shift management method provided by the embodiments of the present application. As shown in Figure 1 The task-driven shift management method of the embodiments of the present application can specifically include: S101, configure the shift scheduling rules of each post and the daily number of posts, obtain the shift scheduling information based on the shift scheduling rules and the daily number of posts, and configure the post information of the post, define the post information of the post, and generate a corresponding shift information data table based on the shift scheduling information and the post information.

[0030] S102, based on the shift information data table and the task element, obtain a plurality of automatic task execution configurations, configure different execution modes for different task types, and associate the execution modes and the automatic task execution configurations based on the task types.

[0031] S103. Build task generation triggers and task execution triggers. Generate tasks based on task generation triggers and store task elements generated by task generation triggers based on a pre-established task information list library.

[0032] S104. Based on the task information list library, determine the tasks under the name of the on-duty personnel corresponding to the assigned position, execute the tasks according to the task elements in the task information list library based on the task execution trigger, and provide feedback on the task results.

[0033] In the aforementioned task-driven shift management method, all workflows are automatically assigned to shift personnel, who only need to monitor whether they have tasks. This enables proactive response to workflows, solves the problem of motivating initiative, and provides standardized task operation guidelines combined with automated task execution, building a standardized execution system that improves the overall quality and efficiency of shift work. Furthermore, automated tasks are configurable; shift personnel can operate by following the updated task guidelines without expending excessive effort, further enhancing the efficiency of shift management.

[0034] The exemplary steps described above in the embodiments of this application are illustrated below with specific examples: S101: Configure the scheduling rules and daily number of employees for each position. Based on the scheduling rules and daily number of employees, obtain the scheduling information and configure the position information. Define the position information and generate the corresponding duty information data table based on the scheduling information and position information.

[0035] In this embodiment, the scheduling rules include date order, weekdays only, weekends only, holidays only, mixed mode, and special date designation. Job information includes at least job name, job responsibilities, and working hours. The duty information data table is a duty information data table organized by date and job. The duty information data table stores daily job information and corresponding duty personnel information, including at least email, phone number, employee ID, job title, department, and name. The scheduling rules and daily number of employees for each job are configured. Scheduling information is obtained based on the scheduling rules and daily number of employees, and job information is configured and defined. A corresponding duty information data table is generated based on the scheduling information and job information for subsequent processing. For example, as... Figure 2 As shown.

[0036] It should be noted that different job positions can be set up and configured, defining job titles, job responsibilities, working hours, and other information to provide job information. Job positions and job information can be added, deleted, modified, and searched at any time.

[0037] In some implementations, when obtaining scheduling information based on scheduling rules and the daily number of employees per position, each position is set up as a position-queue type personnel queue according to the full-scale rules. A scheduling queue matrix is ​​constructed based on the positions, scheduling rules, and personnel queues, and scheduling logic calculations are performed based on the scheduling queue matrix to obtain the scheduling information. Here, the personnel queue is a one-to-many personnel queue in the position-queue format; the X-axis of the scheduling queue matrix represents the positions, the Y-axis represents the scheduling rules, and the Z-axis represents the personnel queues.

[0038] Specifically, each position sets up a one-to-many personnel queue in the form of a position-queue according to the full-scale rules. For example, position A - date-order queue: personnel A, personnel B, personnel C; position B - special designated queue: personnel D, personnel A. Based on this, a scheduling queue matrix is ​​constructed, which is an abstract basic data with the X-axis representing the position, the Y-axis representing the scheduling rules, and the Z-axis representing the personnel queue library. The scheduling logic is used to calculate (e.g., the fairness priority bubble algorithm) to obtain the scheduling information.

[0039] Optionally, when performing scheduling logic calculations based on the scheduling queue matrix to obtain scheduling information, a poll is performed for each position, and the head of the queue is extracted from the corresponding personnel queue along the date and according to the scheduling rules corresponding to the position and the number of people in the position each day, and the personnel are assigned to the corresponding date; the assigned personnel are determined and placed at the end of the personnel queue; at the same time, if there are identical personnel in other queues, the identical personnel are moved together to the end of the queue corresponding to the identical personnel.

[0040] Specifically, for each position, the system polls along the date and, according to the corresponding scheduling rules and number of people, selects the first person from the corresponding queue and assigns them to the corresponding date. The assigned personnel are then automatically moved to the end of the queue. At the same time, the system checks if there are any identical personnel in other queues and moves them to the end of the queue as well, ensuring fairness in personnel shifts.

[0041] S102, based on the duty information data table and task elements, obtains various automatic task execution configurations, configures different execution methods for different task types, and associates the execution methods with the automatic task execution configurations based on the task type.

[0042] In this embodiment, the task element includes at least a task name, task description, task instruction guide, and task type. The automatic task execution configuration is the configuration for executing the automatic task. Based on the duty information data table and task elements obtained in step S101, various automatic task execution configurations are obtained, and different execution methods are configured for different task types. The execution methods and automatic task execution configurations are then associated based on the task type for subsequent processing. Specifically, when the task type is an automatic task, the execution method and automatic task execution configuration are associated.

[0043] It should be noted that the execution methods include at least manual execution, automatic execution, and manual-automatic coupling. The automatic task execution configuration is configured through the following steps: in response to the execution method of the first task type being automatic execution, the automatic execution address and execution device of the first task type are configured based on the execution method; in response to the execution method of the second task type being manual-automatic coupling, the active trigger execution address and execution device of the second task type are configured based on the execution method, and the corresponding automatic execution configuration is selected first.

[0044] Specifically, configure the execution methods for different task types (which can be added, deleted, modified, and queried at any time). For example, Type A - manual execution method, Type B - automatic execution method, and configure the corresponding automatic execution address or execution device, Type C - manual and automatic coupled method, and configure the active trigger execution address, and select the priority automatic execution configuration.

[0045] In addition, for the first task type or the second task type, the corresponding execution interface / execution function / execution device and execution result analysis logic are configured; the execution result of the automatic task execution trigger is analyzed based on the execution result analysis logic.

[0046] Specifically, for tasks that are executed automatically or for tasks that are coupled with manual execution and are prioritized for automatic execution, the execution interface / function / device and the execution result analysis logic are configured so that the automatic task execution trigger can perform task processing and result analysis according to the configured content.

[0047] S103, build task generation triggers and task execution triggers, generate tasks based on task generation triggers, and store task elements generated by task generation triggers based on a pre-established task information list library.

[0048] In this embodiment of the application, the task generation trigger is the trigger that generates the task, and the task execution trigger is the trigger that executes the task. The task execution trigger includes automatic task execution triggers and manual task execution triggers. The task information list library is a pre-established list library that records detailed information about task elements and task execution methods, etc. Tasks are generated based on the task generation triggers, and the task elements generated by the task generation triggers are stored in the task information list library for subsequent processing.

[0049] It should be noted that the task information list library is used to store tasks generated by task generation triggers. It records detailed task element information and task execution methods. On-duty personnel corresponding to their positions can see the tasks under their names, complete the tasks manually or in combination with automatic methods according to the task prompts, and submit the task results.

[0050] Furthermore, the task elements include the task generation time, which is the target expression; determining the task generation time and determining the corresponding target expression based on the task generation time; and executing the corresponding task based on the target expression, execution method, and automatic task execution configuration.

[0051] Specifically, while configuring the detailed task information to be automatically generated, including basic elements such as the assigned duty position, description, and task type, you also configure the task generation time. This means the target expression can be a cron expression. Cron expressions have a visually appealing and easy-to-understand configuration page, such as... Figure 3 As shown, for example, the cron expression for 10:00 AM and 2:00 PM every weekday ("0 0 10,14 0 0 1-5") can also be described in natural language and automatically converted into a cron expression that the system recognizes through AI.

[0052] Optionally, when generating tasks based on task generation triggers, the automatic task execution configuration that matches the target expression at the current time is polled based on the task generation triggers, and corresponding task elements are generated based on the automatic task configuration; the task elements are then assigned to the corresponding on-duty personnel according to the correspondence between positions and on-duty personnel, and the task elements are added to the task information list library; wherein, the number of tasks generated by the task elements is generated quantitatively according to the target expression.

[0053] Specifically, it can poll cron expressions every second to match the automatic task execution configuration for the current time, generate tasks according to the task elements in the configuration, assign task elements to on-duty personnel according to the correspondence between job positions and on-duty personnel, and add task elements to the task information list library.

[0054] Alternatively, you can enter and select the specified task elements on the task generation page of the manual task execution trigger, and trigger the generation of the corresponding dispatch task.

[0055] S104: Based on the task information list library, determine the tasks under the name of the on-duty personnel corresponding to the assigned position, execute the tasks according to the task elements in the task information list library based on the task execution trigger, and provide feedback on the task results.

[0056] In this embodiment of the application, the on-duty personnel corresponding to their positions can determine the tasks under their names based on the task information list library in step S103, execute the tasks according to the task elements in the task information list library based on the task execution trigger, and provide feedback on the task results.

[0057] Optionally, when executing a task based on the task elements in the task information list library using the task execution trigger, the newly generated and incomplete task types in the task information list library are automatically executed target tasks based on the automatic task execution trigger in real time; the corresponding automatic task execution configuration is called based on the task type of the target task to execute the target task, obtain the corresponding task result, and the task result is automatically written into the task information list library for feedback. Specifically, the automatic task execution trigger continuously polls the newly generated and incomplete automatic tasks in the task information list library, calls the configured automatic task execution configuration to automatically execute the tasks, and automatically writes the task results into the task information list library.

[0058] The task-driven shift management method provided in this application configures the scheduling rules and daily staffing for each position. Based on the scheduling rules and daily staffing, it obtains scheduling information and configures the position information, defines the position information, generates a corresponding shift information data table based on the scheduling information and position information, obtains various automatic task execution configurations based on the shift information data table and task elements, configures different execution methods for different task types, and associates the execution methods and automatic task execution configurations based on the task type. It builds task generation triggers and task execution triggers, generates tasks based on the task generation triggers, stores the task elements generated by the task generation triggers based on a pre-established task information list library, determines the tasks under the names of the shift personnel corresponding to the position based on the task information list library, executes the tasks based on the task elements in the task information list library based on the task execution triggers, and provides feedback on the task results. This application's task-driven shift management method automatically assigns all workflows to shift workers, allowing them to focus solely on task availability. This proactive approach addresses the issue of motivation and provides standardized task operation guidelines coupled with automated execution, creating a standardized execution system that improves overall shift work quality and efficiency. Furthermore, the automated tasks are configurable; shift workers simply follow the updated task guidelines without requiring significant effort, further enhancing shift management efficiency.

[0059] Furthermore, a dual-trigger inter-management mechanism is established between the task generation trigger and the task execution trigger to monitor each other's running status; when one trigger fails, the other trigger takes over. Both the task generation trigger and the task execution trigger possess all the functions of the other.

[0060] Specifically, a task generation trigger and an automatic task execution trigger are set up to manage the automatic generation and automatic execution of tasks, respectively. A mutual supervision and mutual management mechanism between the two triggers is established, so that both triggers can have all the functions of the two and monitor each other's running status to prevent single trigger failure.

[0061] Therefore, after configuring the entire duty management process and work as described above, tasks are automatically or manually assigned to each position in a timed, targeted, and quantitative manner. Each position corresponds to a specific duty officer, who completes the task according to the task description and operation instructions and provides feedback. Automated tasks are completed automatically and feedback is provided automatically.

[0062] Furthermore, the results of all completed tasks are summarized and calculated to obtain the task execution and completion status; a unified evaluation is conducted based on the task execution and completion status to generate a corresponding duty report, which is used to assess duty efficiency.

[0063] Therefore, all completed tasks can be uniformly evaluated to generate a duty report.

[0064] Furthermore, every step of the entire duty management process is monitored and visualized.

[0065] Specifically, the monitoring of the entire duty management process can be visualized. Since the entire management process is implemented digitally, each digital node can be visualized, allowing for comprehensive control from specific points to the whole picture.

[0066] To better describe the task-driven shift management method of this application, the following description is based on a specific example: A new "System Monitoring" duty officer position needs to be added under a certain duty management system. This officer will be responsible for regularly inspecting the system status and summarizing and reporting the inspection results. The position requires two people per weekday and one person per weekend. Daily on-duty hours are 8:00 AM to 8:00 AM the following day. At 8:00 AM daily, the officer must check the environment in the computer room. At 9:00 AM daily, the officer will manually inspect System A. System B will be automatically inspected at 10:30 AM and 3:10 PM daily. System C will be automatically inspected and its results submitted every Monday and Friday at 5:45 PM. As this is a new duty position, with minimal or no prior notice, all rotating personnel need to understand and effectively perform their duties. The practicalities of using this management method are as follows: 1) Add a new position - "System Monitoring Position" in the duty post configuration unit, set the job responsibilities as "responsible for regular inspection of system status and summary and reporting of inspection results", and set the job time as "08:00-08:00 the next day"; 2) In the automatic scheduling unit, select "System Monitoring Post", set a mixed scheduling rule of 2 people in "Workday Only Mode" + 1 person in "Weekend Only Mode", and configure the personnel queue database for "System Monitoring Post - Workday Only Mode" as follows: "A, B, C, D, E" and the personnel queue database for "System Monitoring Post - Weekend Only Mode" as follows: "F, A, Xin"; (Each person has personnel information such as employee ID, email, phone number, and department); 3) Activate the automatic scheduling function, complete the scheduling according to logic, and automatically insert the duty information into the duty personnel information unit; 4) Automatic task execution configuration unit, adding ① configuration 1 - automatic execution interface / function and execution result analysis logic for system B; ② configuration 2 - automatic execution interface / function and execution result analysis logic for system C; 5) Task type configuration unit: Add configuration task types, type A - manual execution mode, type B - automatic execution mode, and associate with the newly added configuration 1 for automatic task execution configuration, type C - manual and automatic coupling mode, and associate with the newly added configuration 2 for automatic task execution configuration, and enable priority automatic execution configuration; 6) Automatic task generation configuration unit, add 4 configurations according to job content.

[0067] ① Position: "System Monitoring Post", Task Name: "Manual Inspection of System A", Task Description: "Manual inspection of System A at 9 AM daily", Task Instructions: "Attach operation instructions and pictures", Task Type: "Type A - Manual Execution", Enter "I want to generate a task at 9 AM daily" in the cron expression configuration box (AI will parse it into "0 0 9 * * * "); ② The assigned position is "System Monitoring Position", the task name is "System B 10:30 Automatic Inspection", the task description is "System B performs automatic inspection every day at 10:30", the task type is "Type B - Automatic Execution Method", and the cron expression ("30 10 * * *") is automatically generated after selecting it using the interactive function in the cron expression configuration box; ③ The assigned position is "System Monitoring Position", the task name is "System B 15:10 Automatic Inspection", the task description is "System B daily 15:10 automatic inspection", the task type is "Type B - Automatic Execution Method", and the cron expression ("10 15 * * *") is automatically generated after selecting it using the interactive function in the cron expression configuration box; ④ The assigned position is "System Monitoring Position", the task name is "System C Manual and Automatic Coupled Inspection", the task description is "System C checks the results of the automatic inspection every Monday and Friday at 17:45 and submits them after judgment", the task instructions are "Automatic inspection result judgment method", the task type is "Type C - Manual and Automatic Coupled Method", and in the cron expression configuration box, enter "I want to generate a task every Monday and Friday at 17:45" (which is converted into "45 17 * * 1,5" after AI parsing). 7) Completing the above configuration signifies that all digitized processes for the newly added position have been configured. Start the task generation trigger and the automatic task execution trigger. The task generation trigger polls the cron jobs in the four configuration entries configured in the automatic task generation configuration unit every minute. If a successful match is found at 9:00 AM daily ①, 10:30 AM daily ②, 3:10 PM daily ③, and 5:45 PM on Mondays and Fridays ④, task data is automatically generated according to the position, description, and instructions set in the configuration, and added to the task information list library. Task data is generated periodically (according to the meaning of the cron expression), distributed according to the position-on-duty personnel correspondence, and the number of tasks generated is entirely based on the cron expression (quantitative). 8) In the task information list database, on-duty personnel can see the tasks under their name and start working according to the detailed instructions. There is no need for prior instruction. The only thing that needs to be explained is the "task is work principle". 9) The automatic task execution trigger polls the task list library in real time for newly generated and incomplete automatic execution tasks (task type B and task type C). Upon detecting a task, it calls the corresponding configurations ① and ② in the automatic task execution configuration unit to start automatic task execution, and processes the logic or returns the result. For task type B, the task is completed automatically; for task type C, the execution result is returned, pending judgment by the on-duty personnel or triggering execution again. 10) The results aggregation unit automatically aggregates task results; 11) On-duty performance evaluation and feedback: Automatically generate reports to evaluate on-duty performance based on task execution and completion status; 12) The entire management process and task progress can be viewed in the global visual unit, enabling global supervision and control.

[0068] Therefore, all workflows in this application are automatically assigned to on-duty personnel, who only need to focus on whether there are tasks, which provides strong work guidance and improves the initiative of on-duty personnel. In summary, the technical effects of this application are as follows: 1. All workflows are automatically assigned to on-duty personnel, who only need to focus on whether there are tasks, which provides strong work guidance and improves the initiative of on-duty personnel. 2. The tasks include detailed operation instructions, eliminating the need for prior notification and significantly reducing notification costs. Furthermore, the automated tasks are configurable; updates or additions take effect immediately without further instruction. On-duty personnel can simply follow the updated task instructions, thus mitigating the intangible costs associated with job changes and work item modifications. 3. Standardized task operation guidelines combined with automated task execution methods lead to predictable results, improving the overall quality and efficiency of shift work. 4. The task assignment mechanism, which combines automation and manual processes, effectively improves the efficiency of duty management and the efficiency of scheduling duty personnel. 5. The establishment of a global visualization module allows for an overall overview, detection of execution and process issues during shifts, timely identification of problems and potential risks, and prompt correction and repair.

[0069] Figure 4 This is a schematic diagram of the structure of a task-driven duty management device according to an embodiment of this application; as shown below. Figure 4 As shown, the task-driven duty management device 400 of this application embodiment may specifically include: The first generation module 401 is used to configure the scheduling rules and the number of employees per day for each position. Based on the scheduling rules and the number of employees per day, it obtains the scheduling information, configures the position information, defines the position information, and generates the corresponding duty information data table based on the scheduling information and the position information. The configuration module 402 is used to obtain various automatic task execution configurations based on the duty information data table and task elements, configure different execution methods for different task types, and associate the execution methods with the automatic task execution configurations based on the task type; The second generation module 403 is used to build a task generation trigger and a task execution trigger, generate tasks based on the task generation trigger, and store the task elements generated by the task generation trigger based on a pre-established task information list library. The execution module 404 is used to determine the tasks under the name of the on-duty personnel corresponding to the assigned position based on the task information list library, execute the tasks based on the task elements in the task information list library according to the task execution trigger, and provide feedback on the task results.

[0070] In one possible implementation, the first generation module is specifically used for: Based on the scheduling rules and the daily number of employees for each position, each position is set up as a personnel queue in the form of a position-queue according to the full-quantity rule; A scheduling queue matrix is ​​constructed based on job positions, scheduling rules, and personnel queues. Scheduling logic calculations are then performed based on the scheduling queue matrix to obtain scheduling information. In one possible implementation, the first generation module is specifically used for: For each position, a poll is conducted, and the first person in each queue is selected from the corresponding personnel queue and assigned to the corresponding date, based on the corresponding scheduling rules and the daily number of personnel for each position. Identify the assigned personnel and place them at the end of the personnel queue. If there are identical personnel in other queues, move them to the end of their respective queues.

[0071] In one possible implementation, the task element includes a task generation time, which is a target expression; the apparatus includes: The third generation module is used to determine the task generation time and determine the corresponding target expression based on the task generation time; The second execution module is used to execute the corresponding task based on the target expression, execution method, and automatic task execution configuration.

[0072] In one possible implementation, the second generation module is specifically used for: Based on the task generation trigger, the target expression is polled to automatically execute the task configuration that matches the current time, and the corresponding task elements are generated based on the automatic task configuration. Task elements are assigned to the corresponding on-duty personnel according to the correspondence between job positions and on-duty personnel, and task elements are added to the task information list library.

[0073] In one possible implementation, the task execution trigger includes an automatic task execution trigger and a manual task execution trigger; the execution module is specifically used for: Based on the automatic task execution trigger, the newly generated and incomplete task types in the task information list library are automatically executed target tasks through real-time polling of the task information list library. Based on the task type of the target task, the corresponding automatic task execution configuration is invoked to execute the target task, obtain the corresponding task results, and automatically write the task results into the task information list library for feedback. In one possible implementation, the apparatus further includes: The monitoring module is used to establish a dual-trigger mutual management mechanism between the task generation trigger and the task execution trigger, so that they can monitor each other's running status. The replacement module is used to replace the faulty trigger with another trigger when one trigger fails; the task generation trigger and the task execution trigger both have all the functions of the other.

[0074] The task-driven shift management device provided in this application configures the scheduling rules and daily staffing for each position. Based on the scheduling rules and daily staffing, it obtains scheduling information and configures the position information, defining the position information. Based on the scheduling information and position information, it generates a corresponding shift information data table. Based on the shift information data table and task elements, it obtains various automatic task execution configurations and configures different execution methods for different task types. It also associates the execution methods and automatic task execution configurations based on the task type, establishes task generation triggers and task execution triggers, generates tasks based on the task generation triggers, and stores tasks based on a pre-established task information list. The task-driven duty management device of this application generates task elements through task generation triggers, determines the tasks under the names of duty personnel corresponding to their respective positions based on a task information list library, and executes the tasks according to the task elements in the task information list library based on task execution triggers, and provides feedback on the task results. By automatically assigning all work processes to duty personnel according to the generated tasks, duty personnel only need to pay attention to whether there are tasks under their names, realizing proactive response to work processes, solving the problem of initiative stimulation, and providing standardized task operation guidelines and automated task execution methods to build a standardized execution system, improving the overall quality and efficiency of duty work. In addition, automated tasks are configurable, and duty personnel can operate by following the updated task guidelines without spending too much effort to solve them, improving the efficiency of duty management.

[0075] like Figure 5 As shown in the embodiment of this application, an electronic device 500 includes a processor 501, a memory 502, and a bus. The memory 502 stores machine-readable instructions that can be executed by the processor 501. When the electronic device is running, the processor 501 communicates with the memory 502 via the bus, and the processor 501 executes the machine-readable instructions to perform the steps of the task-driven duty management method described above.

[0076] Specifically, the memory 502 and processor 501 mentioned above can be general-purpose memory and processor, without any specific limitations. When the processor 501 runs the computer program stored in the memory 502, it can execute the above-mentioned task-driven shift management method.

[0077] Corresponding to the above task-driven duty management method, this application embodiment also provides a computer-readable storage medium storing a computer program, which, when run by a processor, executes the steps of the above task-driven duty management method.

[0078] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems and devices described above can be referred to the corresponding processes in the method embodiments, and will not be repeated here. In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. Furthermore, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some communication interfaces; the indirect coupling or communication connection of devices or modules can be electrical, mechanical, or other forms.

[0079] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0080] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0081] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a processor-executable, non-volatile, computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the deployment methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0082] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A task-driven shift management method, characterized in that, The method includes: Configure the scheduling rules and daily number of employees for each position. Based on the scheduling rules and daily number of employees, obtain the scheduling information and configure the position information for each position. Define the position information for each position and generate the corresponding duty information data table based on the scheduling information and the position information. Based on the duty information data table and task elements, various automatic task execution configurations are obtained, and different execution methods are configured for different task types. The execution methods and automatic task execution configurations are associated based on the task type. Set up task generation triggers and task execution triggers, generate tasks based on the task generation triggers, and store the task elements generated by the task generation triggers based on a pre-established task information list library; Based on the task information list database, the tasks under the name of the on-duty personnel corresponding to the assigned position are determined. Based on the task execution trigger, the tasks are executed according to the task elements in the task information list database, and the task results are fed back.

2. The method according to claim 1, characterized in that, The process of obtaining scheduling information based on the scheduling rules and the daily number of employees for each position includes: Based on the scheduling rules and the daily number of employees for each position, each position is set up as a personnel queue in the form of a position-queue according to the full-quantity rule; A scheduling queue matrix is ​​constructed based on the job positions, the scheduling rules, and the personnel queues. Scheduling logic calculations are then performed based on the scheduling queue matrix to obtain scheduling information.

3. The method according to claim 2, characterized in that, The step of performing scheduling logic calculations based on the scheduling queue matrix to obtain scheduling information includes: For each position, a poll is conducted, and the first person in the corresponding queue is selected from the queue based on the date and the corresponding scheduling rules and the number of people in the position each day, and then assigned to the corresponding date. Once the assigned personnel are identified, they are placed at the end of the personnel queue. Simultaneously, if the same assigned personnel exist in other queues, [further action is taken]. Move all the same people together to the end of the queue corresponding to that person.

4. The method according to claim 3, characterized in that, The task element includes a task generation time, which is a target expression; the method further includes: Determine the task generation time, and determine the corresponding target expression based on the task generation time; The corresponding task is executed based on the target expression, the execution method, and the automatic task execution configuration.

5. The method according to claim 4, characterized in that, The task is generated based on the task generation trigger: Based on the task generation trigger, the target expression is polled to match the automatic task execution configuration of the current time, and the corresponding task element is generated based on the automatic task configuration; The task elements are assigned to the corresponding on-duty personnel according to the correspondence between positions and on-duty personnel, and the task elements are added to the task information list library.

6. The method according to claim 4, characterized in that, The task execution trigger includes automatic task execution triggers and manual task execution triggers; the execution of the task based on the task elements in the task information list library according to the task execution trigger includes: Based on the automatic task execution trigger, newly generated and incomplete tasks in the task information list library are automatically executed target tasks in real time. Based on the task type of the target task, the corresponding automatic task execution configuration is invoked to execute the target task, obtain the corresponding task result, and automatically write the task result into the task information list library for feedback.

7. The method according to claim 1, characterized in that, The method further includes: A dual-trigger inter-management mechanism is established between the task generation trigger and the task execution trigger to monitor each other's running status. When one trigger fails, the other trigger takes its place; wherein, both the task generation trigger and the task execution trigger have all the functions of the other.

8. A task-driven duty management device, characterized in that, The device includes: The first generation module is used to configure the scheduling rules and daily number of employees for each position, obtain scheduling information based on the scheduling rules and daily number of employees, configure the position information for each position, define the position information for each position, and generate a corresponding duty information data table based on the scheduling information and the position information. The configuration module is used to obtain various automatic task execution configurations based on the duty information data table and task elements, configure different execution methods for different task types, and associate the execution methods with the automatic task execution configurations based on the task type; The second generation module is used to build a task generation trigger and a task execution trigger, generate tasks based on the task generation trigger, and store the task elements generated by the task generation trigger based on a pre-established task information list library. The execution module is used to determine the tasks under the name of the on-duty personnel corresponding to the assigned position based on the task information list library, execute the tasks according to the task elements in the task information list library based on the task execution trigger, and provide feedback on the task results.

9. An electronic device, characterized in that, include: The device includes a processor, a memory, and a bus. The memory stores machine-readable instructions executable by the processor. When the electronic device is running, the processor communicates with the memory via the bus. When the machine-readable instructions are executed by the processor, the steps of the task-driven shift management method as described in any one of claims 1 to 7 are performed.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the task-driven duty management method as described in any one of claims 1 to 7.