On-duty management method, device and system and electronic equipment
By obtaining and filtering the initial shift scheduling rules and generating target shift scheduling results, the problem of cumbersome temporary shift adjustment operations in the existing technology is solved, and the convenience and accuracy of duty management are achieved.
Patent Information
- Application Number
- CN202411967385.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-06-03
AI Technical Summary
When the existing duty management technology needs to perform temporary shift adjustments, the operation is cumbersome and needs to be manually restored after the shift adjustment, resulting in inefficiency.
By obtaining the initial scheduling rules under the target duty table and determining the effective scheduling rules based on the rule's entry time, the target scheduling results are generated to avoid manual recovery after temporary shift transfer.
Convenient duty management is realized, operating steps are reduced, timely update of duty schedules and accuracy of shift scheduling results are ensured, and wrong shift results are avoided.
Smart Images

Figure CN120087640A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular, to a duty management method, device, system, and electronic device. Background Art
[0002] At present, duty management has been widely applied. However, related technologies usually directly edit the duty schedule to implement duty management. Then, when a temporary shift adjustment is required, the original duty schedule needs to be modified, and after the temporary shift adjustment ends, the duty schedule needs to be manually restored, resulting in cumbersome operations. Based on this, there is currently no good solution for how to conveniently manage duties. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a duty management method, device, system, and electronic device to solve problems such as cumbersome operations in related technologies; that is, embodiments of the present invention can conveniently manage duties, that is, at least one effective scheduling rule can be determined through the rule effective time of each initial scheduling rule to effectively filter out ineffective scheduling rules, thereby conveniently generating a target scheduling result, without the need to manually restore after situations such as temporary shift adjustments end, and it can ensure that the target duty schedule can be updated in a timely manner, thereby ensuring the accuracy of the target scheduling result and effectively avoiding generating incorrect scheduling results.
[0004] According to one aspect of the embodiments of the present invention, a duty management method is provided. The method includes:
[0005] Obtain at least one initial scheduling rule under a target duty schedule. A scheduling rule includes the rule effective time of the corresponding scheduling rule and at least one duty object group, and a duty object group includes the object identifiers of at least one duty object;
[0006] Based on the rule effective time of each initial scheduling rule in the at least one initial scheduling rule, determine at least one effective scheduling rule under the target duty schedule from the at least one initial scheduling rule. The rule effective time of each effective scheduling rule in the at least one effective scheduling rule meets the target time range;
[0007] Use the at least one effective scheduling rule to generate a target scheduling result of the target duty schedule within the target time range. The target duty result includes the scheduling information of each duty time period in the target time range of the target duty schedule, and the scheduling information in a duty time period is used to indicate the duty object in the corresponding duty time period.
[0008] According to another aspect of the embodiments of the present invention, a duty management device is provided. The device includes:
[0009] An obtaining unit, configured to obtain at least one initial scheduling rule under a target duty schedule. A scheduling rule includes a rule effective time of the corresponding scheduling rule and at least one duty object group, and a duty object group includes object identifiers of at least one duty object;
[0010] A processing unit, configured to determine, based on the rule effective times of the respective initial scheduling rules in the at least one initial scheduling rule, at least one effective scheduling rule under the target duty schedule, where the rule effective times of the respective effective scheduling rules in the at least one effective scheduling rule all conform to a target time range;
[0011] The processing unit is further configured to generate a target scheduling result of the target duty schedule within the target time range by using the at least one effective scheduling rule. The target duty result includes scheduling information for each duty time period in the target time range of the target duty schedule, and the scheduling information for a duty time period is used to indicate the duty objects in the corresponding duty time period.
[0012] According to another aspect of the embodiments of the present invention, an electronic device is provided. The electronic device includes a processor and a memory storing a program. Wherein, the program includes instructions that, when executed by the processor, cause the processor to execute the method mentioned above.
[0013] According to another aspect of the embodiments of the present invention, a non-transitory computer-readable storage medium storing computer instructions is provided. The computer instructions are used to cause a computer to execute the method mentioned above.
[0014] According to another aspect of the embodiments of the present invention, a duty management system is provided. The duty management system includes a duty management service device and at least one duty object service device; wherein, the duty management service device is used to cause the duty management system to execute the method mentioned above.
[0015] Embodiments of the present invention can obtain at least one initial scheduling rule under a target duty schedule. A scheduling rule includes the rule effective time of the corresponding scheduling rule and at least one duty object group, and a duty object group includes the object identifiers of at least one duty object. Based on the rule effective time of each initial scheduling rule among the at least one initial scheduling rule, at least one effective scheduling rule under the target duty schedule is determined from the at least one initial scheduling rule, and the rule effective time of each effective scheduling rule among the at least one effective scheduling rule conforms to the target time range. Correspondingly, at least one effective scheduling rule can be used to generate a target scheduling result within the target time range of the target duty schedule. The target duty result includes the scheduling information for each duty time period within the target time range of the target duty schedule, and the scheduling information for one duty time period is used to indicate the duty objects within the corresponding duty time period. It can be seen that embodiments of the present invention can conveniently perform duty management, that is, at least one effective scheduling rule can be determined through the rule effective time of each initial scheduling rule to effectively filter out ineffective scheduling rules, thereby conveniently generating a target scheduling result without manually restoring after situations such as temporary shift changes, and it can ensure that the target duty schedule can be updated in a timely manner, thereby ensuring the accuracy of the target scheduling result and effectively avoiding generating incorrect scheduling results. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In the following description of exemplary embodiments with reference to the accompanying drawings, more details, features, and advantages of the present invention are disclosed. In the drawings:
[0017] Figure 1 A flowchart showing a duty management method according to an exemplary embodiment of the present invention is shown;
[0018] Figure 2 A schematic diagram showing a duty schedule management interface according to an exemplary embodiment of the present invention is shown;
[0019] Figure 3 A flowchart showing another duty management method according to an exemplary embodiment of the present invention is shown;
[0020] Figure 4 A schematic diagram showing a duty schedule setting interface according to an exemplary embodiment of the present invention is shown;
[0021] Figure 5 A flowchart showing yet another duty management method according to an exemplary embodiment of the present invention is shown;
[0022] Figure 6 A schematic diagram showing a duty schedule display interface according to an exemplary embodiment of the present invention is shown;
[0023] Figure 7Shows a schematic diagram of another duty schedule display interface according to an exemplary embodiment of the present invention;
[0024] Figure 8 Shows a schematic diagram of querying duty situations according to an exemplary embodiment of the present invention;
[0025] Figure 9 Shows a schematic flowchart of starting a timing task according to an exemplary embodiment of the present invention;
[0026] Figure 10 Shows a schematic diagram of a duty management system according to an exemplary embodiment of the present invention;
[0027] Figure 11 Shows a schematic block diagram of a duty management device according to an exemplary embodiment of the present invention;
[0028] Figure 12 Shows a structural block diagram of an exemplary electronic device that can be used to implement the embodiments of the present invention. Detailed implementation manners
[0029] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided to more thoroughly and completely understand the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not used to limit the protection scope of the present invention.
[0030] It should be understood that the various steps recited in the method embodiments of the present invention can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this regard.
[0031] As used herein, the term "including" and its variants are open-ended, that is, "including but not limited to". The term "based on" is "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description. It should be noted that the concepts such as "first" and "second" mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependent relationships.
[0032] It should be noted that the modifiers "a" and "multiple" mentioned in the present invention are illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".
[0033] The names of the messages or information exchanged between multiple devices in the embodiments of the present invention are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0034] It should be noted that the embodiments of the present invention may relate to a duty management system, which may include but is not limited to: a duty management service device and at least one duty object service device; wherein, the duty management service device may include at least one electronic device (i.e., may be composed of at least one electronic device), and a duty object service device may be an electronic device. Optionally, the duty management service device may be used to manage any duty schedule; correspondingly, a duty object service device may be used to support a duty object (i.e., a duty officer) to query the duty situation. Optionally, the duty management system may further include but is not limited to at least one of the following: at least one duty administrator operation device and at least one user service device, etc., and the embodiments of the present invention do not limit this; a user service device may be used to support a user (i.e., an ordinary user, such as a duty schedule query user other than the duty object) to query the duty situation, and a duty administrator operation device may be used to support a duty administrator (abbreviated as an administrator) to perform duty schedule management operations on one or more duty schedules, and a duty schedule management operation may be a duty schedule setting operation or a duty schedule deletion operation, and a duty schedule setting operation may be a duty schedule editing operation or a duty schedule creation operation. Optionally, the duty management service device and at least one duty administrator operation device may be the same device or different devices (i.e., the duty management service device and any duty administrator operation device may be the same device or different devices), and the embodiments of the present invention do not limit this; for the convenience of description, the following takes the duty management service device and at least one duty administrator operation device as different devices (such as the duty management service device and the following target duty administrator operation device as different devices) as an example for illustration.
[0035] Optionally, the execution subject of the duty management method provided by the embodiments of the present invention may be one or more electronic devices, such as one or more electronic devices constituting the duty management service device, that is, it may be the duty management service device in the duty management system; among them, the electronic device may be a terminal (i.e., a client) or a server, and when the duty management service device includes multiple electronic devices, and the electronic devices in the duty management service device include at least one terminal and at least one server, the duty management method provided by the embodiments of the present invention may be jointly executed by the terminal and the server, and the embodiments of the present invention do not limit this. Correspondingly, the terminals mentioned herein may include, but are not limited to: smart phones, tablet computers, laptop computers, desktop computers, smart watches, intelligent voice interaction devices, vehicle-mounted terminals, and so on. The server mentioned herein may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms, and so on.
[0036] Based on the above description, the embodiments of the present invention propose a duty management method, which can be executed by the above-mentioned duty management system, such as being executed by the duty management service device in the duty management system (i.e., being executed by one or more electronic devices constituting the duty management service device), and so on. For the convenience of description, hereinafter, it will be described by taking the duty management service device executing this duty management method as an example; as Figure 1 shown, this duty management method may include the following steps S101 - S103:
[0037] S101, obtain at least one initial scheduling rule under the target duty schedule, a scheduling rule includes the rule effective time of the corresponding scheduling rule and at least one duty object group, and a duty object group includes the object identifiers of at least one duty object.
[0038] Optionally, the target duty schedule can be any duty schedule, and the embodiments of the present invention do not limit this. Among them, the object identifier of the at least one duty object (i.e., the duty personnel) can be the object identifier of each duty object in the at least one duty object, and one object identifier can be used to indicate one duty object; optionally, the object identifier of one duty object can be the object name of the corresponding duty object, or the object number of the corresponding duty object, etc., and the embodiments of the present invention do not limit this. In the embodiments of the present invention, when the duty management service device detects a duty schedule update instruction for the target duty schedule, it can trigger the execution of the above-mentioned obtaining at least one initial scheduling rule under the target duty schedule.
[0039] In one implementation manner, when the duty management service device determines that the target time range is updated, it determines that it has detected a duty schedule update instruction for the target duty schedule. Optionally, the target time range can be any time range within a specified duration, and the embodiments of the present invention do not limit this; optionally, the specified duration can be set according to experience or according to actual requirements, and the embodiments of the present invention do not limit this. Exemplarily, assuming that the specified duration is one week, and assuming that the target time range is from June 10, 2024 to June 16, 2024, then when the current system time reaches June 17, 2024 (such as reaching 00:00 on June 17, 2024), it can be determined that the target time range is updated to from June 17, 2024 to June 23, 2024, that is, it can be determined that the target time range is updated, and thus it is determined that a duty schedule update instruction for the target duty schedule is detected.
[0040] Based on this, at least one initial scheduling rule under each duty schedule in the duty schedule set can be stored in the own storage space of the duty management service device, and the duty schedule set can include the target duty schedule. Then, the duty management service device can select at least one initial scheduling rule under the target duty schedule from at least one initial scheduling rule under each duty schedule to implement obtaining at least one initial scheduling rule under the target duty schedule.
[0041] In another implementation manner, when the duty management service device detects a scheduling rule setting instruction for the target duty schedule, it determines that it has detected a duty schedule update instruction for the target duty schedule, and so on.
[0042] Based on this, when the duty management service device detects a shift scheduling rule setting instruction, it can use the duty roster indicated by the shift scheduling rule setting instruction as the target duty roster; and based on the shift scheduling rules indicated by the shift scheduling rule setting instruction, obtain at least one initial shift scheduling rule under the target duty roster. Optionally, when the duty management service device receives a shift scheduling rule setting instruction sent by the target duty administrator operating device, it determines that the shift scheduling rule setting instruction has been detected; in other embodiments, the duty management service device can also determine that the shift scheduling rule setting instruction has been detected when it detects a shift scheduling rule setting operation. At this time, the target administrator can perform a shift scheduling rule setting operation on the duty management service device, that is to say, at this time, the duty management service device and the target duty administrator operating device can be the same device, etc.; the present invention does not limit this.
[0043] Optionally, the target duty administrator operating device can be any one of at least one duty administrator operating device, and the embodiments of the present invention do not limit this; correspondingly, the target administrator (which can be any one of at least one administrator) can perform a shift scheduling rule setting operation on the duty roster setting interface of the duty roster to be set in the target duty administrator operating device (here, it is the duty administrator operating device used by the target administrator). Then, the target duty administrator operating device can generate a shift scheduling rule setting instruction in response to this shift scheduling rule setting operation, and thus send the shift scheduling rule setting instruction to the duty management service device. Among them, the duty roster to be set can be the duty roster affected by the shift scheduling rule setting operation. Correspondingly, the duty roster indicated by the shift scheduling rule setting instruction can be the duty roster to be set, so that the duty roster to be set can be used as the target duty roster.
[0044] Optionally, the target administrator can perform a duty roster creation operation in the duty roster management interface to implement the duty roster setting operation. Then, the target duty administrator operating device can display the duty roster creation interface of the duty roster to be set in response to the duty roster creation operation performed by the target administrator. At this time, the target administrator can perform a shift scheduling rule setting operation in the duty roster creation interface of the duty roster to be set; or, the duty roster management interface can include at least one duty roster operation button for each duty roster in the duty roster set. At this time, the target administrator can perform a duty roster editing operation on the duty roster to be set (which can be any one of the duty rosters in the duty roster set at this time) in the duty roster management interface to implement the duty roster setting operation. Then, the target duty administrator operating device can display the duty roster editing interface of the duty roster to be set in response to the duty roster editing operation performed by the target administrator. At this time, the target administrator can perform a shift scheduling rule setting operation in the duty roster editing interface of the duty roster to be set. Optionally, the duty roster management interface can include a new duty roster button. Then, the target administrator can perform a click operation or a long-press operation on the new duty roster button, etc., to implement the above-mentioned duty roster creation operation, such asFigure 2 As shown; optionally, at least one duty schedule operation button may include, but is not limited to, an edit button and a delete button. Then, the target administrator can perform a click operation or a long-press operation (i.e., an operation with a pressing duration greater than a preset pressing duration threshold) on the edit button of the duty schedule to be set, etc., to implement the duty schedule editing operation, etc. Optionally, the preset pressing duration threshold can be set according to experience or according to actual requirements. The embodiments of the present invention do not limit this.
[0045] Optionally, the data carried by the duty schedule setting instruction may include, but is not limited to, at least one of the following: the duty schedule identifier of the duty schedule to be set, the duty schedule rule set by the duty schedule setting operation (i.e., the duty schedule rule set by the duty schedule setting operation can be used as the duty schedule rule indicated by the duty schedule setting instruction), the operation identifier of each duty schedule rule in the duty schedule rule set by the duty schedule setting operation, and the rule identifier of each duty schedule rule, etc.; the embodiments of the present invention do not limit this. Optionally, the duty schedule identifier of a duty schedule can be used to indicate the corresponding duty schedule. The duty schedule identifier of a duty schedule may include the duty schedule name and / or duty schedule number of the corresponding duty schedule, etc. The embodiments of the present invention do not limit this; optionally, a rule identifier can be used to indicate a duty schedule rule. The rule identifier of a duty schedule rule can be the duty schedule rule name or duty schedule rule number of the corresponding duty schedule rule, etc. The embodiments of the present invention do not limit this. It should be understood that the duty schedule rule indicated by a duty schedule setting instruction can be the duty schedule rule carried by the corresponding duty schedule setting instruction. Among them, the duty schedule indicated by the duty schedule setting instruction can be the duty schedule indicated by the duty schedule identifier carried by the duty schedule setting instruction. Optionally, when the target duty administrator operating the device detects a duty schedule creation operation, it can also generate a duty schedule creation instruction (which may carry the duty schedule identifier of the duty schedule to be set), and then send the duty schedule creation instruction to the duty management service device, so that the duty management service device adds the duty schedule indicated by the duty schedule creation instruction to the duty schedule set to implement the creation of a duty schedule; or, when the duty management service device receives a duty schedule setting instruction, if the duty schedule set does not include the duty schedule indicated by the duty schedule setting instruction, it can add the duty schedule indicated by the duty schedule setting instruction to the duty schedule set, etc. Optionally, the duty schedule set may include all duty schedules existing at the current time, that is, it may include all duty schedules included in the duty management system at the current time; then correspondingly, after the target duty schedule is created, it can be added to the duty schedule set, that is to say, the target duty schedule can be a duty schedule in the duty schedule set.
[0046] Optionally, the number of scheduling rules indicated by the scheduling rule setting instruction can be one or more. That is to say, the number of scheduling rule setting operations can be one or more. One scheduling rule setting operation can be used to set one scheduling rule. Optionally, one scheduling rule setting operation can be any of the following: a scheduling rule creation operation, a scheduling rule editing operation, a scheduling rule deletion operation, etc. Optionally, when the target duty administrator operation device detects that the target administrator has completed one scheduling rule setting operation each time, it can generate a scheduling rule setting instruction corresponding to the corresponding scheduling rule setting operation, and then send the scheduling rule setting instruction corresponding to each scheduling rule setting operation to the duty management service device respectively. At this time, the number of scheduling rules indicated by one scheduling rule setting instruction can be one, and one scheduling rule setting operation can correspond to one scheduling rule setting instruction (for example, one scheduling rule creation operation can correspond to one scheduling rule creation instruction, one scheduling rule editing operation can correspond to one scheduling rule editing instruction, and one scheduling rule deletion operation can correspond to one scheduling rule deletion instruction, etc.). That is to say, when the number of scheduling rule setting operations is P, the number of scheduling rule setting instructions can be P, and P is a positive integer. Or, after the target administrator has completed P scheduling rule setting operations on the target duty schedule, the target administrator can execute the operation of confirming the completion of rule setting. Then, the target duty administrator operation device can respond to the operation of confirming the completion of rule setting, so as to generate scheduling rule setting instructions corresponding to P scheduling rule setting operations. The scheduling rules indicated by the scheduling rule setting instructions can include the scheduling rules set by each scheduling rule setting operation in the P scheduling rule setting operations. At this time, the number of scheduling rules indicated by the scheduling rule setting instructions can be P, and so on. The embodiments of the present invention do not limit this. Optionally, a duty schedule setting interface can be a duty schedule creation interface or a duty schedule editing interface. The embodiments of the present invention do not limit this. Optionally, the duty schedule creation interface and the duty schedule editing interface of one duty schedule can be the same or different. The embodiments of the present invention do not limit this. Optionally, the duty schedule setting interface of any duty schedule can include a button for confirming the completion of rule setting (such as a confirmation creation button or a confirmation editing button, etc.). Then, the target administrator can perform a click operation or a long-press operation, etc. on the button for confirming the completion of rule setting in the duty schedule setting interface of any duty schedule to implement the operation of confirming the completion of rule setting, and so on. It can be seen that the administrator can conveniently create, adjust, delete, and view the duty schedule.
[0047] Optionally, a scheduling rule may further include, but is not limited to, at least one of the following: the duty cycle of the corresponding scheduling rule, the priority, etc., and the embodiments of the present invention do not limit this. Optionally, the operation identifier of a scheduling rule can be used to indicate the scheduling rule setting operation for the corresponding scheduling rule, and the operation identifier of a scheduling rule can be any one of the following: a new identifier (which can be used to indicate the scheduling rule new operation), an edit identifier (which can be used to indicate the scheduling rule edit operation), and a delete identifier (which can be used to indicate the scheduling rule delete operation). Exemplarily, the duty schedule setting interface for the to-be-set duty schedule may include a new scheduling rule button, then the target administrator can perform a click operation or a long-press operation, etc. on the new scheduling rule button to display the scheduling rule setting interface (which can be the scheduling rule new interface at this time), and at this time, the target administrator can perform the scheduling rule setting operation in the scheduling rule setting interface, and so on. Optionally, for any one of the scheduling rules indicated by the scheduling rule setting instruction, when performing the scheduling rule setting operation on any one of the scheduling rules, the target administrator can set the rule effective time (which can also be called the rule effective date) of any one of the scheduling rules; and / or set the duty cycle of any one of the scheduling rules; and / or add at least one duty object group of any one of the scheduling rules, and so on.
[0048] Optionally, the target administrator can also perform data setting operations on the to-be-set duty schedule to set the overall description data of the to-be-set duty schedule. The overall description data of a duty schedule can be applied to each initial scheduling rule under the corresponding duty schedule. Optionally, the overall description data of a duty schedule can include, but is not limited to, at least one of the following: the shift change time of the corresponding duty schedule, the duty reminder time (which can also be simply referred to as the reminder time), the reminder method, and the reminder template (which can also be called the notification template), etc. The embodiments of the present invention do not limit this. Optionally, when the overall description data of the to-be-set duty schedule is modified (such as the duty schedule setting operation is a duty schedule creation operation or an editing operation on the overall description data of the duty schedule), the data carried by the scheduling rule setting instruction can also include the overall description data of the to-be-set duty schedule. Optionally, the content included in the data carried by an instruction can also be referred to as the content included in the corresponding instruction. For example, the scheduling rule setting instruction can include scheduling rules, etc. Optionally, when a scheduling rule does not include a duty cycle, it can be defaulted to change shifts every day according to the shift change time of the corresponding duty schedule. For example, the duty cycle of the corresponding scheduling rule is defaulted to one day. When a scheduling rule includes a duty cycle, shifts can be changed according to the shift change time of the corresponding duty schedule and the duty cycle of the corresponding scheduling rule. That is, at this time, the duty cycle of a duty object group of a scheduling rule is the duty cycle of the corresponding scheduling rule. For example, if the duty cycle is two days and the shift change time is 19:01, if the duty time corresponding to the current duty object group (i.e., the current duty object) is from 19:01 on September 20, 2024 to 19:01 on September 22, 2024, then the duty time corresponding to the next duty object group (i.e., the next batch of duty objects) can be from 19:01 on September 22, 2024 to 19:01 on September 24, 2024, and so on. Optionally, the number of shift change times of a duty schedule can be one or more. The embodiments of the present invention do not limit this. For the convenience of description, subsequent descriptions will be made with one shift change time as an example.
[0049] Exemplarily, as Figure 3 shown, taking the duty schedule setting operation as a duty schedule creation operation, and the target duty administrator operating the device can respond to the confirmation of the completion of the rule setting operation to generate scheduling rule setting instructions corresponding to P scheduling rule setting operations (such as scheduling rule creation operations) as an example for description. The target administrator can perform a duty schedule creation operation to create a duty schedule (such as creating a to-be-set duty schedule). Based on this, the target administrator can perform scheduling rule setting operations (such as performing P scheduling rule creation operations to create P scheduling rules), and finally perform the confirmation of the completion of the rule setting operation to complete the scheduling rule setting for the to-be-set duty schedule, thereby completing the creation of the duty schedule.
[0050] Further, when obtaining at least one initial scheduling rule under the target duty schedule according to the scheduling rule set instruction, the scheduling rule indicated by the scheduling rule set instruction can be used to update at least one initial scheduling rule under the target duty rule, so as to obtain at least one initial scheduling rule under the target duty schedule. Based on this, the scheduling rule indicated by the scheduling rule set instruction can be used to create, edit, delete, etc. the initial scheduling rules under the target duty schedule, so as to update at least one initial scheduling rule under the target duty schedule. Exemplarily, any scheduling rule can be set based on the operation identifier of any scheduling rule. For example, when the operation identifier of any scheduling rule is the create identifier, any scheduling rule can be added as an initial scheduling rule under the target duty schedule. When the operation identifier of any scheduling rule is the delete identifier, any scheduling rule can be deleted from at least one initial scheduling rule under the target duty schedule. When the operation identifier of any scheduling rule is the edit identifier, any scheduling rule can be used to update the corresponding initial scheduling rule under the target duty schedule, thereby updating at least one initial scheduling rule under the target duty schedule, and so on.
[0051] Optionally, the target administrator can also perform the operation of setting duty object information. Then, the target duty administrator operating device can respond to the operation of setting duty object information performed by the target administrator to generate a duty object information setting instruction corresponding to the operation of setting duty object information, and thus send the duty object information setting instruction to the duty management service device, so that the duty management service device can set the duty object information according to the content indicated by the duty object information setting instruction, such as adding duty object information, modifying duty object information, or deleting duty object information, etc. The embodiments of the present invention do not limit this. Among them, a duty object information may include but is not limited to at least one of the following: the object identifier of the corresponding duty object, contact information, etc. The embodiments of the present invention do not limit this. Optionally, the content indicated by a duty object information setting instruction may include but is not limited to at least one of the following: the operation identifier of the corresponding duty object information (such as the add identifier, the modify identifier, or the delete identifier, etc.), the object identifier and contact information of the corresponding duty object, etc. The embodiments of the present invention do not limit this. Based on this, the target administrator can perform the scheduling rule setting operation through the created duty object information, that is, set at least one duty object group in any scheduling rule.
[0052] In summary, the embodiments of the present invention can set the target duty schedule based on multiple scheduling rules, so that the administrator can conveniently add, delete, modify, etc. the scheduling rules, and then conveniently set the duty schedule.
[0053] In other embodiments, the on-duty management service device and at least one on-duty administrator operation device may be located in the same electronic device, such as in the same electronic device, etc.; the present invention does not limit this.
[0054] S102. Based on the rule effective time of each initial scheduling rule among at least one initial scheduling rule, determine at least one effective scheduling rule for the target duty schedule from at least one initial scheduling rule, and the rule effective time of each effective scheduling rule among at least one effective scheduling rule conforms to the target time range.
[0055] In the embodiments of the present invention, at least one effective scheduling rule may include all scheduling rules among at least one initial scheduling rule whose rule effective time conforms to the target time range. Optionally, when the rule effective time of a scheduling rule includes at least one duty time period in the target time range, it may be determined that the rule effective time of the corresponding scheduling rule conforms to the target time range. Optionally, for any one of at least one initial scheduling rule, it may be determined whether the rule effective time of any one initial scheduling rule includes at least one duty time period within the target time range. If the rule effective time of any one initial scheduling rule includes at least one duty time period within the target time range, then the any one initial scheduling rule is used as an effective scheduling rule for the target duty schedule, so as to determine at least one effective scheduling rule for the target duty schedule.
[0056] Exemplarily, assume that at least one initial scheduling rule for the target duty schedule includes scheduling rule 1 (the rule effective time is permanent), scheduling rule 2 (the rule effective time is from 19:01 on April 10, 2024 to 19:01 on June 15, 2024), scheduling rule 3 (the rule effective time is from 19:01 on June 14, 2024 to 19:01 on June 16, 2024), and scheduling rule 4 (from 19:01 on May 2, 2024 to 19:01 on May 6, 2024), and the target time range is from June 10, 2024 to June 16, 2024. Then it can be determined that at least one effective scheduling rule includes scheduling rule 1, scheduling rule 2, and scheduling rule 3.
[0057] S103. Use at least one effective scheduling rule to generate a target scheduling result for the target duty schedule within the target time range. The target duty result includes scheduling information for each duty time period in the target time range of the target duty schedule, and the scheduling information within one duty time period is used to indicate the on-duty object within the corresponding duty time period.
[0058] Optionally, the on-duty management service device may also send the target scheduling result to the target on-duty administrator operation device, so that the target on-duty administrator operation device can display the target scheduling result (i.e., the final scheduling rule); exemplarily, such asFigure 4 As shown, the target scheduling result can be displayed in the duty table setting interface of the target duty table. Optionally, the target duty manager operating device can also display the scheduling information of each effective scheduling rule in at least one effective scheduling rule in each duty time period in the target time range in the duty table setting interface, etc. Optionally, the target duty manager operating device can also display the current system time through a timeline, etc.
[0059] In other embodiments, the target duty manager operating device may also execute steps S101-S103, that is, the duty management system may obtain at least one initial scheduling rule under the target duty schedule through the target duty manager operating device (such as when detecting the scheduling rule setting operation performed by the target administrator, triggering the execution of obtaining at least one initial scheduling rule under the target duty schedule), and determining at least one effective scheduling rule and a target scheduling result, so that after obtaining the target scheduling result, the target scheduling result and the scheduling information of each effective scheduling rule in each duty time period in the target time range are displayed, and so on.
[0060] It should be noted that Figure 4 The duty schedule setting interface is only shown by way of example, and the embodiments of the present invention do not limit this; for example, the duty schedule setting interface may also include an edit button or a delete button for each scheduling rule; for another example, the duty schedule setting interface may not include the scheduling information for each effective scheduling rule in each duty time period within the target time range, and so on.
[0061] An embodiment of the present invention can obtain at least one initial scheduling rule under a target duty schedule, wherein one scheduling rule includes a rule effective time of the corresponding scheduling rule and at least one duty object group, and one duty object group includes an object identifier of at least one duty object; and based on the rule effective time of each initial scheduling rule in the at least one initial scheduling rule, at least one effective scheduling rule under the target duty schedule is determined from the at least one initial scheduling rule, and the rule effective time of each effective scheduling rule in the at least one effective scheduling rule all conforms to the target time range; accordingly, at least one effective scheduling rule can be used to generate a target scheduling result for the target duty schedule within the target time range, and the target duty result includes scheduling information of the target duty schedule in each duty time period in the target time range, and the scheduling information in a duty time period is used to indicate the duty object in the corresponding duty time period. It can be seen that the embodiments of the present invention can conveniently perform duty management, that is, at least one effective scheduling rule can be determined by the effective time of each initial scheduling rule, so as to effectively filter out the ineffective scheduling rules, thereby conveniently generating the target scheduling result, without the need for manual recovery after the temporary shift adjustment and the like, and can ensure that the target duty table can be updated in time, thereby ensuring the accuracy of the target scheduling result, and effectively avoiding the generation of erroneous scheduling results.
[0062] Based on the above description, an embodiment of the present invention further provides a more specific duty management method. Correspondingly, this duty management method can be executed by the above-mentioned duty management system, such as being executed by the duty management service device in the duty management system (executed by one or more electronic devices constituting the duty management service device), etc. For the sake of convenience of description, hereinafter, it will be described by taking the duty management service device executing this duty management method as an example; please refer to Figure 5 , this duty management method may include the following steps S501 - S505:
[0063] S501, obtain at least one initial scheduling rule under the target duty schedule. A scheduling rule includes the rule effective time of the corresponding scheduling rule and at least one duty object group. A duty object group includes the object identifiers of at least one duty object.
[0064] S502, based on the rule effective time of each initial scheduling rule in at least one initial scheduling rule, determine at least one effective scheduling rule under the target duty schedule from at least one initial scheduling rule. The rule effective time of each effective scheduling rule in at least one effective scheduling rule conforms to the target time range.
[0065] Optionally, the duty management service device may divide the target time range into one or more duty time periods based on the shift change time of the target duty schedule. The start time of a duty time period may be the shift change time of the corresponding duty schedule or the start time of the target time range. That is to say, under the target duty schedule, the target time range may include one or more duty time periods, and at this time, the start time of each duty time period in the target time range may be the shift change time of the target duty schedule or the start time of the target time range; for example, assuming that the shift change time of the target duty schedule is 19:01 every day, then the start time of the first duty time period in the target time range may be the start time of the target time range, and the start time of the second duty time period in the target time range may be 19:01 within the first day, and so on. Correspondingly, the end time of a duty time period may be the shift change time of the corresponding duty schedule or the end time of the target time range; for example, assuming that the shift change time of the target duty schedule is 19:01 every day, then the end time of the last duty time period in the target time range may be the end time of the target time range, and the end time of the penultimate duty time period in the target time range may be 19:01 within the last day of the target time range, and so on.
[0066] S503. For any duty period within the target time range, determine the pending duty scheduling information for any duty period from at least one effective duty scheduling rule. The pending duty scheduling information includes the duty scheduling information of M effective duty scheduling rules among at least one effective duty scheduling rule for any duty period, where M is a non-negative integer.
[0067] Optionally, the duty management service device can traverse each effective duty scheduling rule among at least one effective duty scheduling rule, and regard the currently traversed effective duty scheduling rule as the current effective duty scheduling rule; if the rule effective time of the current effective duty scheduling rule includes any duty period, then regard the duty scheduling information of the current effective duty scheduling rule for any duty period as a pending duty scheduling information for any duty period; after traversing each effective duty scheduling rule among at least one effective duty scheduling rule, the pending duty scheduling information for any duty period can be obtained.
[0068] Optionally, the duty scheduling information for a duty period can include the object identifier of each duty object in the duty object group for the corresponding duty period (i.e., can include the object identifier of each duty object among at least one duty object), to be used to indicate the duty object group for the corresponding duty period, that is, to be used to indicate the duty objects for the corresponding duty period; or, the duty scheduling information for a duty period can be empty, which can be used to indicate that there are no duty objects for the corresponding duty period, that is, to be used to indicate that the duty objects for the corresponding duty period are empty, and so on. Among them, a duty object group can be arranged for duty as a whole.
[0069] Exemplarily, as Figure 4 shown, assume that the current effective duty scheduling rule is the temporary policy B (which can be the rule identifier of the current effective duty scheduling rule), and the rule effective time of the temporary policy B is from 19:01 on June 14, 2024 to 19:01 on June 16, 2024. Then when any duty period is from 19:01 on June 14, 2024 to 19:01 on June 15, 2024, the duty scheduling information of the current effective duty scheduling rule for any duty period can include the object identifiers of each duty object in the first duty object group among at least one duty object group included in the temporary policy B, that is, can include the object identifier of the duty object 4 (i.e., object 4). Among them, Figure 4 the object in
[0070] It should be understood that the number of pending duty scheduling information can be M, that is to say, M pending duty scheduling information for any duty period can be obtained.
[0071] S504. If the number of pending duty scheduling information is 1, then regard the pending duty scheduling information as the duty scheduling information of the target duty schedule for any duty period.
[0072] In other words, when the value of M is equal to 1, the scheduling information to be determined can be used as the scheduling information of the target duty schedule during any duty time period.
[0073] S505. If the number of the scheduling information to be determined is greater than 1, determine the priority of each piece of scheduling information to be determined among the M pieces of scheduling information to be determined, and use the piece of scheduling information to be determined with the highest priority among the M pieces of scheduling information to be determined as the scheduling information of the target duty schedule during any duty time period, so as to implement the use of at least one effective scheduling rule to generate the target scheduling result of the target duty schedule within the target time range.
[0074] Among them, the target duty result includes the scheduling information of the target duty schedule during each duty time period within the target time range, and the scheduling information during one duty time period is used to indicate the duty object during the corresponding duty time period. In other words, when the value of M is greater than 1, the piece of scheduling information to be determined with the highest priority among the M pieces of scheduling information to be determined can be used as the scheduling information of the target duty schedule during any duty time period. It should be understood that when the value of M is equal to 0, the scheduling information to be determined during any duty time period can be empty, that is, the scheduling information during any duty time period can be empty, which can indicate that there is no duty object on duty during any duty time period of the target duty schedule.
[0075] Optionally, the priority of each pending scheduling information may be determined based on the editing time of the scheduling rule corresponding to each pending scheduling information (such as the creation time or modification time, etc.). The later the editing time, the higher the priority. That is to say, for the first pending scheduling information and the second pending scheduling information among the M pending scheduling information, if the editing time of the scheduling rule corresponding to the first pending scheduling information is earlier than the editing time of the scheduling rule corresponding to the second pending scheduling information, it can be determined that the priority of the first pending scheduling information is less than (i.e., lower than) the priority of the second pending scheduling information. The first pending scheduling information may be any one of the M pending scheduling information, and the second pending scheduling information may be any one of the M pending scheduling information other than the first pending scheduling information; or, the priority of each pending scheduling information may be determined based on the position of the scheduling rule corresponding to each pending scheduling information. For example, the later the position, the higher the priority. That is to say, if the position of the scheduling rule corresponding to the first pending scheduling information is before the position of the scheduling rule corresponding to the second pending scheduling information, it can be determined that the priority of the first pending scheduling information is less than the priority of the second pending scheduling information; or, the earlier the position, the higher the priority, and so on; the embodiments of the present invention do not limit this. It should be understood that the priority of a pending scheduling rule may be the priority of the scheduling rule corresponding to the corresponding pending scheduling rule. That is to say, the priority of a scheduling rule may be determined based on the editing time or position of the corresponding scheduling rule, and so on. Optionally, if the priority of each pending scheduling information is determined based on the position of the scheduling rule corresponding to each pending scheduling information, then the target administrator can drag any scheduling rule to update the priority of any scheduling rule, and further update the priority of any pending scheduling information under any scheduling rule; if the priority of each pending scheduling information is determined based on the editing time of the scheduling rule corresponding to each pending scheduling information, then the target administrator can update the editing time of any scheduling rule to update the priority of any scheduling rule, and further update the priority of any pending scheduling information under any scheduling rule, and so on. Optionally, the scheduling rule corresponding to a pending scheduling information may be the scheduling rule that determines the corresponding pending scheduling information, and here it may be the effective scheduling rule that determines the corresponding pending scheduling information. Optionally, the position of each scheduling rule may also be determined based on the editing time of each scheduling rule. For example, the later the editing time, the more backward the position, and so on.
[0076] Exemplarily, taking the case where the priority of each pending scheduling information is determined based on the position of the scheduling rule corresponding to each pending scheduling information as an example for illustration, such as Figure 4As shown in the figure, assume that any duty shift period is from 19:01 on June 14, 2024 to 19:01 on June 15, 2024. Then the to-be-determined scheduling information within any duty shift period includes to-be-determined scheduling information 1 (i.e., the scheduling information of the scheduling rule "Duty Rule" within any duty shift period), to-be-determined scheduling information 2 (i.e., the scheduling information of the scheduling rule "Temporary Strategy A" within any duty shift period), and to-be-determined scheduling information 3 (i.e., the scheduling information of the scheduling rule "Temporary Strategy B" within any duty shift period). Since the position of the scheduling rule "Duty Rule" is before the position of the scheduling rule "Temporary Strategy A", and the position of the scheduling rule "Temporary Strategy A" is before the position of the scheduling rule "Temporary Strategy B", when the position is more backward, the priority is higher. Then the priority of to-be-determined scheduling information 1 is less than the priority of to-be-determined scheduling information 2, and the priority of to-be-determined scheduling information 2 is less than the priority of to-be-determined scheduling information 3. Then the to-be-determined scheduling information with the highest priority (i.e., to-be-determined scheduling information 3) can be used as the scheduling information of the target duty schedule within any duty shift period. That is to say, at this time, the scheduling information of the target duty schedule within any duty time range can include the object identifier of duty object 4. It can be seen that the scheduling rule with a higher priority can cover the scheduling rule with a lower priority.
[0077] In an embodiment of the present invention, the target duty schedule may be one of the duty schedules in the duty schedule set. Optionally, the duty management service device may receive a first duty schedule query instruction sent by the target duty object service device, and determine the scheduling results of each duty schedule in the duty schedule set within the first query time range indicated by the first duty schedule query instruction. The scheduling result of a duty schedule within the first query time range includes the scheduling information of the corresponding duty schedule in each duty period within the first query time range. Among them, the target duty object service device may be any one of at least one duty object service device, and the target duty object service device may be an electronic device used by the target duty object. The target duty object may be any duty object. Correspondingly, the target duty object may perform a duty schedule query operation. Then, the target duty object service device may respond to the duty schedule query operation and generate a first duty schedule query instruction, and thus send the first duty schedule query instruction to the duty management service device. Exemplarily, the duty schedule query interface in the target duty object service device may include a query button. Then, the target duty object may perform a click operation or a long-press operation on the query button, etc., to implement the duty schedule query operation; or, the target duty object may implement the duty schedule query operation when expanding (i.e., viewing) the duty schedule query interface or the duty schedule display interface of the target duty object described below, and so on. Optionally, the first duty schedule query instruction may include, but is not limited to, at least one of the following: the first query time range and the object identifier of the target duty object, etc. The embodiments of the present invention do not limit this; optionally, the first query time range may be set by the target duty object or may be the target time range, etc. The embodiments of the present invention do not limit this; optionally, when the first query time range is the target time range, the first duty schedule query instruction may not include the first query time range. At this time, the first query time range indicated by the first duty schedule query instruction may be defaulted to the target time range, and so on.
[0078] Further, the target duty object indicated by the first duty list query instruction can be determined (that is, the duty object indicated by the object identifier carried by the first duty list query instruction can be used as the target duty object), and based on the scheduling results of each duty list within the first query time range, N duty lists are screened out from the duty list set, and the N duty lists include all duty lists in the duty list set whose scheduling results within the first query time range include the object identifier of the target duty object, and N is a non-negative integer. Then, correspondingly, the scheduling result of each duty list in the N duty lists within the first query time range can be used as the duty list query result under the first duty list query instruction (that is, the duty list query result under the first duty list query instruction can include the scheduling result of each duty list in the N duty lists within the first query time range), and the duty list query result under the first duty list query instruction is returned to the target duty object service device, so that the target duty object service device displays the current display content of the duty list in the duty list display interface of the target duty object based on the duty list query result under the first duty list query instruction. Optionally, the duty list display interface of the target duty object can also be called the duty list display interface in the target duty object service device; Optionally, the duty list display interface can be the same interface as the duty list query interface, or it can be a different interface, and the embodiment of the present invention does not limit this. It can be seen that the embodiment of the present invention can aggregate the duty personnel in each duty list. When the duty personnel needs to view their current duty status, they can filter out the duty list (such as the N duty lists mentioned above) in which they are currently on duty from all the duty lists where the duty personnel are located. In other words, the embodiment of the present invention can be summarized according to the duty personnel dimension, which is convenient for the duty personnel to query their current duty status; when deleting the duty list, the duty status of all duty personnel under the duty list will be updated at the same time, so that the duty personnel can plan.
[0079] Optionally, when the target duty object service device displays the current display content of the duty table in the duty table display interface of the target duty object based on the duty table query result under the first duty table query instruction, the current display content of the duty table can be determined from the duty table query result under the first duty table query instruction to display the current display content of the duty table in the duty table display interface of the target duty object; for example, Figure 6As shown, the current display content of the duty roster can be the scheduling result of Duty Roster A within the first query time range. Optionally, a scheduling result of a randomly selected duty roster within the first query time range can be selected from the duty roster query results under the first duty roster query instruction, so as to use the scheduling result of the randomly selected duty roster within the first query time range as the current display content of the duty roster; or, based on the duty roster query results under the first duty roster query instruction, the number of duty times of the target duty object in each duty roster (i.e., each of the above N duty rosters) where the target duty object is located within the first query time range can be determined, and each duty roster where the target duty object is located can be sorted according to the number of duty times of the target duty object in each duty roster within the first query time range to obtain a duty roster sorting result, so as to use the scheduling result of the first duty roster in the sorting result within the first query time range as the current display content of the duty roster, and so on; the embodiments of the present invention do not limit this. Optionally, the sorting can be performed in ascending order or descending order of the number of duty times of the target duty object, and the embodiments of the present invention do not limit this. Exemplarily, as Figure 6 shown, assuming that the duty roster sorting result is Duty Roster A, Duty Roster B, and Duty Roster C in sequence, then the current display content of the duty roster can be the scheduling result of Duty Roster A within the first query time range.
[0080] Optionally, the service device of the target duty object can also display the number of duty times of the target duty object in each of the N duty rosters within the first query time range; or, the number of duty times of the target duty object in the current display content of the duty roster can be displayed, and so on; the embodiments of the present invention do not limit this; Exemplarily, as Figure 6 shown, assuming that the target duty object is Duty Object 2, and the current display content of the duty roster can be the scheduling result of Duty Roster A within the first query time range, the number of duty times of the target duty object in the current display content of the duty roster can be 1 at this time, that is, the number of duty times of the target duty object in the scheduling result of Duty Roster A within the first query time range can be 1.
[0081] It should be noted that Figure 6 only exemplarily represents the duty roster display interface, and the embodiments of the present invention do not limit this; for example, it may not include the number of duty times of the target duty object, that is, the number of duty times of the target duty object is not displayed; or, the duty roster query results under the first duty roster query instruction can be used as the current display content of the duty roster for display, and so on.
[0082] Optionally, the on-duty object service device may also receive a second duty schedule query instruction sent by the target user service device, and determine the duty list display content of each duty schedule in the duty schedule set. The duty list display content of a duty schedule includes the duty schedule identifier of the corresponding duty schedule and the current on-duty object indication information. Based on this, the duty list display content of each duty schedule can be returned to the target user service device so that the target user service device can display the duty list display content of each duty schedule. Optionally, the target user service device can be any one of at least one user service device, and the target user service device can be an electronic device used by the target user. Optionally, the target user can be any ordinary user, and an ordinary user can refer to a user other than the on-duty object and the administrator.
[0083] In the embodiment of the present invention, the target user can perform a duty schedule query operation (such as performing a duty schedule query operation in the duty schedule query interface in the target user service device). Then, the target user service device can generate a second duty schedule query instruction in response to the duty schedule query operation performed by the target user. Optionally, the duty schedule query interface in the target user service device and the duty schedule query interface in the target on-duty object service device can be the same or different, and the embodiment of the present invention does not limit this. Optionally, the duty list display content of a duty schedule may further include, but is not limited to, at least one of the following: the next batch of on-duty object indication information and shift change time of the corresponding duty schedule, as Figure 7 shown, and the embodiment of the present invention does not limit this. Optionally, the current on-duty object indication information of a duty schedule may include the scheduling information of the corresponding duty schedule during the current on-duty time period (that is, the on-duty time period where the current system time is located), that is, it may include the object identifier of each on-duty object of the corresponding duty schedule during the current on-duty time period. Correspondingly, the next batch of on-duty object indication information of a duty schedule may include the scheduling information of the corresponding duty schedule during the next on-duty time period after the current on-duty time period, that is, it may include the object identifier of each on-duty object of the corresponding duty schedule during the next on-duty time period. Among them, the on-duty objects during the next on-duty time period can also be referred to as the next batch of on-duty objects, that is, each on-duty object during the next on-duty time period can include each on-duty object in the next batch of on-duty objects. That is to say, the next batch of on-duty object indication information of a duty schedule can be used to indicate the next batch of on-duty objects of the corresponding duty schedule.
[0084] Optionally, the target user can also perform a specified duty schedule search operation on a specified duty schedule. Then, the target user service device can respond to the specified duty schedule search operation and display the duty list display content of the specified duty schedule, and so on. The embodiments of the present invention do not limit this. Optionally, the target user can also perform a third duty schedule query operation on any duty schedule and the second query time range. Then, the target user service device can generate a third duty schedule query instruction and send the third duty schedule query instruction to the duty management service device, so that the duty management service device returns the scheduling result of any duty schedule within the second query time range, and so on. Optionally, the third duty schedule query instruction can include, but is not limited to, at least one of the following: the duty schedule identifier of any duty schedule and the second query time range, etc. The embodiments of the present invention do not limit this.
[0085] In summary, as Figure 8 shown, for ordinary users and duty objects, any duty object can view their own duty situation within the first query time range (such as the current duty situation), that is, they can view the duty schedules in which they need to be on duty within the first query time range among all the duty schedules they are in, so as to view the duty schedules they are currently on duty, which can facilitate the reasonable arrangement of work content and improve work efficiency. And ordinary users query the duty situation of the duty schedule to seek duty assistance. Therefore, the embodiments of the present invention can support any ordinary user to view all duty schedules and perform fuzzy search to query the specified duty schedule, which can facilitate ordinary users to query the duty situation of a certain duty schedule and seek duty assistance.
[0086] Optionally, the duty management service device can also traverse each duty schedule in the duty schedule set and use the currently traversed duty schedule as the current duty schedule. Based on this, it can check whether the current duty object indication information and / or the next batch of duty object indication information of the current duty schedule has changed. When it is detected that the current duty object indication information and / or the next batch of duty object indication information of the current duty schedule has changed, update the duty list display content of the current duty schedule. After traversing each duty schedule in the duty schedule set, complete a shift change inspection task. Optionally, the duty management service device can also check whether the current duty schedule has reached the shift change time (that is, check whether the current system time has reached the shift change time of the current duty schedule). When it is detected that the current duty schedule has reached the shift change time, it can trigger the execution of the above check to determine whether the current duty object indication information and / or the next batch of duty object indication information of the current duty schedule has changed.
[0087] Optionally, the duty management service device may perform a shift change inspection task every preset shift change inspection duration; optionally, the preset shift change inspection duration may be set according to experience or according to actual requirements, and the embodiments of the present invention do not limit this; by way of example, the preset shift change inspection duration may be one minute, and at this time, the shift change inspection task may be performed every minute.
[0088] Optionally, for any duty schedule in the duty schedule set, the duty management service device may also check whether the current system time reaches the reminder time of any duty schedule; when it is checked that the current system time reaches the reminder time of any duty schedule, a duty reminder message for any duty schedule is generated, and the duty reminder message is sent to the next batch of duty objects of any duty schedule to complete the notification inspection task for any duty schedule; after completing the notification inspection tasks for each duty schedule in the duty schedule set, a notification inspection task is completed. Optionally, when checking whether the current system time reaches the reminder time of any duty schedule, the waiting duration for the current system time to reach the shift change time of any duty schedule may be determined. If the waiting duration is less than the preset waiting duration threshold, it may be determined that the current system time reaches the reminder time of any duty schedule; or, when the waiting duration for the current system time to reach the shift change time of any duty schedule is determined and the indication information of the next batch of duty objects of any duty schedule (which can be used to indicate the next batch of duty objects) is different from the indication information of the current duty object of any duty schedule, it may be determined that the current system time reaches the reminder time of any duty schedule; or, if the overall description data of any duty schedule includes the reminder time of any duty schedule, then it may be directly checked whether the current system time reaches the reminder time of any duty schedule, etc.; the embodiments of the present invention do not limit this. Optionally, the current system time reaching the reminder time of any duty schedule may also be referred to as any duty schedule reaching the reminder time. Based on this, the embodiments of the present invention can perform a reach reminder at a specified time before the shift change, so as to facilitate the duty personnel to timely know their duty status and reasonably arrange their work content; optionally, the embodiments of the present invention can also provide multiple reach channels such as phone calls, text messages, and applications to avoid the duty personnel missing messages, etc.
[0089] Optionally, a duty roster may correspond to a notification template. The notification template for a duty roster may be set according to experience or according to actual requirements. The embodiments of the present invention do not limit this; optionally, the notification templates for different duty rosters may be the same or different. The embodiments of the present invention do not limit this. Based on this, when generating the duty reminder information for any duty roster, the duty reminder information for any duty roster may be generated according to the notification template of any duty roster. It can be seen that the embodiments of the present invention can detect whether each duty roster has reached the reminder time. If the reminder time is reached, a duty reminder notification (i.e., duty reminder information) may be generated according to the configured notification template and sent to the corresponding duty personnel. Otherwise, the next duty roster will continue to be checked.
[0090] Optionally, the duty management service device may perform a notification check task every preset notification check duration; optionally, the preset notification check duration may be set according to experience or according to actual requirements. The embodiments of the present invention do not limit this; exemplarily, the preset notification check duration may be one minute. Optionally, the preset notification check duration and the preset shift change check duration may be the same or different. The embodiments of the present invention do not limit this.
[0091] In summary, as Figure 9 shown, there may be two timing tasks (i.e., shift change check task and notification check task) in the duty management system to update the duty situation in a timely manner and send duty reminders; among them, matching the duty roster may mean traversing the duty roster. Correspondingly, as Figure 10 shown, the duty management system proposed by the embodiments of the present invention may classify users into three categories (i.e., administrator, duty personnel, ordinary user). The administrator can operate and manage the duty roster by creating, modifying (i.e., editing), and deleting. The duty personnel can view their current duty situation, while ordinary users need to be able to query the duty situation of a certain duty roster, etc. Optionally, after any duty roster in the duty roster set is deleted, at least one original duty object associated with any duty roster may be removed from each duty roster where each original duty object is located.
[0092] Optionally, when the duty management service device detects an alarm event corresponding to any duty roster, it may also notify the alarm event to the current duty object of any duty roster. It can be seen that the embodiments of the present invention can provide multiple query interfaces and facilitate docking with the monitoring and alarm system, and can accurately notify the alarm event to the current duty personnel to avoid disturbing non-duty personnel. Based on this, the embodiments of the present invention can significantly improve the efficiency of arranging duty personnel in the company, etc.
[0093] An embodiment of the present invention can obtain at least one initial scheduling rule under a target duty roster. A scheduling rule includes the rule effective time of the corresponding scheduling rule and at least one duty object group, and a duty object group includes the object identifiers of at least one duty object. And based on the rule effective times of each initial scheduling rule among at least one initial scheduling rule, at least one effective scheduling rule under the target duty roster is determined from at least one initial scheduling rule, and the rule effective times of each effective scheduling rule among at least one effective scheduling rule all conform to the target time range. Correspondingly, for any duty period within the target time range, the pending scheduling information within any duty period can be determined from at least one effective scheduling rule. The pending scheduling information includes the scheduling information of M effective scheduling rules among at least one effective scheduling rule within any duty period, where M is a non-negative integer. If the number of pending scheduling information is 1, the pending scheduling information is used as the scheduling information of the target duty roster within any duty period. If the number of pending scheduling information is greater than 1, the priority of each pending scheduling information among M pending scheduling information is determined, and the pending scheduling information with the highest priority among M pending scheduling information is used as the scheduling information of the target duty roster within any duty period, so as to generate the target scheduling result of the target duty roster within the target time range by using at least one effective scheduling rule. It can be seen that in the embodiment of the present invention, when shift adjustment during holidays or temporary shift adjustment is required, only a new scheduling rule needs to be added, and the rule effective time of this scheduling rule is within the specified time period (that is, the rule effective time of this scheduling rule can be set by the administrator according to actual needs), and the original scheduling rule can be covered, and it only takes effect within the set rule effective time range and has no impact on other time periods. Based on this, the embodiment of the present invention can conveniently perform duty management without manually restoring after situations such as temporary shift adjustment end, and can ensure that the target duty roster can be updated in time, thereby ensuring the accuracy of the target scheduling result.
[0094] Based on the description of the related embodiments of the above duty management method, an embodiment of the present invention also proposes a duty management device, and this duty management device can be a computer program (including program code) running in an electronic device; as Figure 11 shown, this duty management device can include an acquisition unit 1101 and a processing unit 1102. This duty management device can execute Figure 1 or Figure 5 shown duty management method, that is, this duty management device can run the above units:
[0095] The acquisition unit 1101 is used to obtain at least one initial scheduling rule under the target duty roster. A scheduling rule includes the rule effective time of the corresponding scheduling rule and at least one duty object group, and a duty object group includes the object identifiers of at least one duty object.
[0096] A processing unit 1102, configured to determine, based on the rule effective time of each initial scheduling rule in the at least one initial scheduling rule, at least one effective scheduling rule for the target duty roster from the at least one initial scheduling rule, where the rule effective time of each effective scheduling rule in the at least one effective scheduling rule conforms to the target time range;
[0097] The processing unit 1102 is further configured to generate a target scheduling result for the target duty roster within the target time range by using the at least one effective scheduling rule, where the target duty result includes scheduling information for each duty time period within the target time range of the target duty roster, and the scheduling information for one duty time period is used to indicate the duty object within the corresponding duty time period.
[0098] In one implementation, when the processing unit 1102 generates a target scheduling result for the target duty roster within the target time range by using the at least one effective scheduling rule, it may specifically be configured to:
[0099] For any duty time period within the target time range, determine the pending scheduling information for the any duty time period from the at least one effective scheduling rule, where the pending scheduling information includes the scheduling information of M effective scheduling rules in the at least one effective scheduling rule for the any duty time period, and M is a non-negative integer;
[0100] If the number of the pending scheduling information is 1, use the pending scheduling information as the scheduling information for the any duty time period of the target duty roster;
[0101] If the number of the pending scheduling information is greater than 1, determine the priority of each pending scheduling information among the M pending scheduling information, and use the pending scheduling information with the highest priority among the M pending scheduling information as the scheduling information for the any duty time period of the target duty roster, so as to implement generating the target scheduling result for the target duty roster within the target time range by using the at least one effective scheduling rule.
[0102] In another implementation, when the obtaining unit 1101 obtains at least one initial scheduling rule for the target duty roster, it may specifically be configured to:
[0103] When detecting a scheduling rule setting instruction, use the duty roster indicated by the scheduling rule setting instruction as the target duty roster;
[0104] Based on the scheduling rule indicated by the scheduling rule setting instruction, obtain at least one initial scheduling rule for the target duty roster.
[0105] In another implementation, the target duty roster is one of the duty roster sets; the processing unit 1102 can also be used to:
[0106] Receive a first duty roster query instruction sent by the target duty object service device, and determine the scheduling results of each duty roster in the duty roster set within the first query time range indicated by the first duty roster query instruction. The scheduling result of a duty roster within the first query time range includes the scheduling information of the corresponding duty roster in each duty period within the first query time range;
[0107] Determine the target duty object indicated by the first duty roster query instruction, and based on the scheduling results of each duty roster within the first query time range, screen out N duty rosters from the duty roster set. The N duty rosters include all the duty rosters in the duty roster set whose scheduling results within the first query time range contain the object identifier of the target duty object, and N is a non-negative integer;
[0108] Use the scheduling results of each duty roster in the N duty rosters within the first query time range as the duty roster query result under the first duty roster query instruction, and return the duty roster query result under the first duty roster query instruction to the target duty object service device, so that the target duty object service device can display the current display content of the duty roster on the duty roster display interface of the target duty object based on the duty roster query result under the first duty roster query instruction.
[0109] In another implementation, the target duty roster is one of the duty roster sets; the processing unit 1102 can also be used to:
[0110] Receive a second duty roster query instruction sent by the target user service device, and determine the duty roster list display content of each duty roster in the duty roster set. The duty roster list display content of a duty roster includes the duty roster identifier and the current duty object indication information of the corresponding duty roster;
[0111] Return the duty roster list display content of each duty roster to the target user service device, so that the target user service device can display the duty roster list display content of each duty roster.
[0112] In another implementation, the processing unit 1102 can also be used to:
[0113] Traverse each duty roster in the duty roster set, and use the currently traversed duty roster as the current duty roster;
[0114] Check whether the current duty object indication information and / or the next batch of duty object indication information of the current duty roster has changed;
[0115] When it is detected that the indication information of the current duty object and / or the indication information of the next batch of duty objects in the current duty schedule changes, update the display content of the duty list in the current duty schedule;
[0116] After traversing each duty schedule in the duty schedule set, complete a shift inspection task.
[0117] In another embodiment, the processing unit 1102 can also be used for:
[0118] For any duty schedule in the duty schedule set, check whether the current system time reaches the reminder time of the any duty schedule;
[0119] When it is detected that the current system time reaches the reminder time of the any duty schedule, generate the duty reminder information of the any duty schedule, and send the duty reminder information to the next batch of duty objects of the any duty schedule, so as to complete the notification inspection task for the any duty schedule;
[0120] After completing the notification inspection tasks for each duty schedule in the duty schedule set, complete a notification inspection task.
[0121] According to an embodiment of the present invention, Figure 11 Each unit in the shown duty management device can be respectively or all combined into one or several other units to form, or a certain one (or some) of the units can be further split into multiple smaller units with functional division to form, which can achieve the same operation without affecting the realization of the technical effects of the embodiments of the present invention. The above units are divided based on logical functions. In practical applications, the function of one unit can also be realized by multiple units, or the functions of multiple units can be realized by one unit. In other embodiments of the present invention, any duty management device can also include other units. In practical applications, these functions can also be assisted by other units and can be realized by the cooperation of multiple units.
[0122] According to another embodiment of the present invention, it can be achieved by running a computer program (including program code) capable of executing the respective steps involved in the corresponding methods shown in Figure 1 or Figure 5 on a general-purpose electronic device such as a computer including processing elements and storage elements such as a central processing unit (CPU), a random access storage medium (RAM), and a read-only storage medium (ROM), to construct a duty management device as shown in Figure 11 and to implement the duty management method of the embodiments of the present invention. The computer program can be recorded on a computer storage medium, for example, and loaded into the above-mentioned electronic device through the computer storage medium and run therein.
[0123] Based on the descriptions of the above method embodiments and apparatus embodiments, an exemplary embodiment of the present invention further provides an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor. The memory stores a computer program that can be executed by the at least one processor, and when the computer program is executed by the at least one processor, it is used to cause the electronic device to execute the method according to the embodiments of the present invention.
[0124] An exemplary embodiment of the present invention further provides a duty management system, where the duty management system includes a duty management service device and at least one duty object service device; wherein, the duty management service device is used to cause the duty management system to execute the method according to the embodiments of the present invention.
[0125] An exemplary embodiment of the present invention further provides a non-transitory computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor of a computer, it is used to cause the computer to execute the method according to the embodiments of the present invention.
[0126] An exemplary embodiment of the present invention further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor of a computer, it is used to cause the computer to execute the method according to the embodiments of the present invention.
[0127] Reference Figure 12 , the block diagram of the electronic device 1200 that can be used as the server or client of the present invention will now be described. It is an example of a hardware device that can be applied to various aspects of the present invention. The electronic device is intended to represent various forms of digital electronic computer devices, such as, laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, personal digital processors, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present invention described and / or claimed herein.
[0128] As Figure 12As shown, the electronic device 1200 includes a computing unit 1201, which can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 1202 or the computer program loaded from the storage unit 1208 into the random access memory (RAM) 1203. In the RAM 1203, various programs and data required for the operation of the electronic device 1200 can also be stored. The computing unit 1201, the ROM 1202, and the RAM 1203 are connected to each other via a bus 1204. The input / output (I / O) interface 1205 is also connected to the bus 1204.
[0129] Multiple components in the electronic device 1200 are connected to the I / O interface 1205, including: an input unit 1206, an output unit 1207, a storage unit 1208, and a communication unit 1209. The input unit 1206 can be any type of device capable of inputting information into the electronic device 1200. The input unit 1206 can receive input digital or character information, and generate key signal inputs related to the user settings and / or function controls of the electronic device. The output unit 1207 can be any type of device capable of presenting information, and can include but is not limited to a display, a speaker, a video / audio output terminal, a vibrator, and / or a printer. The storage unit 1208 can include but is not limited to a magnetic disk, an optical disk. The communication unit 1209 allows the electronic device 1200 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks, and can include but is not limited to a modem, a network card, an infrared communication device, a wireless communication transceiver, and / or a chipset, such as a BluetoothTM device, a WiFi device, a WiMax device, a cellular communication device, and / or the like.
[0130] The computing unit 1201 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the computing unit 1201 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 1201 executes the various methods and processes described above. For example, in some embodiments, the duty management method can be implemented as a computer software program tangibly contained in a machine-readable medium, such as the storage unit 1208. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 1200 via the ROM 1202 and / or the communication unit 1209. In some embodiments, the computing unit 1201 can be configured to execute the duty management method in any other appropriate manner (e.g., by means of firmware).
[0131] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing devices, such that when the program codes are executed by the processor or controller, the functions / operations specified in the flowchart and / or block diagram are implemented. The program codes can be executed entirely on the machine, partially on the machine, executed partially on the machine as an independent software package and partially on a remote machine, or executed entirely on a remote machine or server.
[0132] In the context of the present invention, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0133] As used in the present invention, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, device, and / or apparatus (e.g., a disk, an optical disc, a memory, a programmable logic device (PLD)) for providing machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal for providing machine instructions and / or data to a programmable processor.
[0134] In order to provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or an LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which the user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0135] The systems and techniques described herein can be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected to each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), and the Internet.
[0136] A computer system can include a client and a server. The client and the server are generally far from each other and typically interact through a communication network. The client-server relationship is created by computer programs that run on the respective computers and have a client-server relationship with each other.
[0137] Also, it should be understood that the above-disclosed is only a preferred embodiment of the present invention, and of course it cannot be used to limit the scope of the rights of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope covered by the present invention.
Claims
1. A duty management method, characterized in that: include: Acquire at least one initial shift scheduling rule under the target shift schedule, wherein one shift scheduling rule includes a rule effective time of the corresponding shift scheduling rule and at least one shift object group, and one shift object group includes an object identifier of at least one shift object; Based on the rule effective time of each of the at least one initial scheduling rule, determining at least one effective scheduling rule under the target duty table from the at least one initial scheduling rule, wherein the rule effective time of each of the at least one effective scheduling rule meets the target time range; The at least one effective scheduling rule is adopted to generate a target scheduling result of the target duty table within the target time range, and the target duty result includes scheduling information of the target duty table in each duty time period in the target time range, and the scheduling information in a duty time period is used to indicate the duty object in the corresponding duty time period.
2. The method according to claim 1, characterized in that The step of adopting the at least one effective scheduling rule to generate a target scheduling result of the target duty table within the target time range includes: For any duty time period within the target time range, determine pending scheduling information within the any duty time period from the at least one effective scheduling rule, the pending scheduling information including scheduling information of M effective scheduling rules in the at least one effective scheduling rule within the any duty time period, where M is a non-negative integer; If the number of pending shift information is 1, the pending shift information is used as the shift information of the target duty table within any duty time period; If the number of pending scheduling information is greater than 1, the priority of each pending scheduling information among the M pending scheduling information is determined, and the pending scheduling information with the highest priority among the M pending scheduling information is used as the scheduling information of the target duty list within any duty time period, so as to realize the use of the at least one effective scheduling rule and generate the target scheduling result of the target duty list within the target time range.
3. The method according to claim 1 or 2, characterized in that: The obtaining of at least one initial scheduling rule under the target duty schedule includes: When a shift scheduling rule setting instruction is detected, the duty schedule indicated by the shift scheduling rule setting instruction is used as the target duty schedule; Based on the shift scheduling rule indicated by the shift scheduling rule setting instruction, at least one initial shift scheduling rule under the target duty table is acquired.
4. The method according to claim 1 or 2, characterized in that: The target duty schedule is a duty schedule in a duty schedule set; the method further includes: Receive a first duty table query instruction sent by a target duty object service device, and determine the scheduling results of each duty table in the duty table set within a first query time range indicated by the first duty table query instruction, wherein the scheduling result of a duty table within the first query time range includes the scheduling information of the corresponding duty table within each duty time period in the first query time range; Determine the target duty object indicated by the first duty table query instruction, and based on the scheduling results of the various duty tables within the first query time range, select N duty tables from the duty table set, wherein the N duty tables include all duty tables in the duty table set whose scheduling results within the first query time range include the object identifier of the target duty object, where N is a non-negative integer; The scheduling result of each of the N duty tables within the first query time range is used as the duty table query result under the first duty table query instruction, and the duty table query result under the first duty table query instruction is returned to the target duty object service device, so that the target duty object service device displays the current display content of the duty table in the duty table display interface of the target duty object based on the duty table query result under the first duty table query instruction.
5. The method according to claim 1 or 2, characterized in that: The target duty schedule is a duty schedule in a duty schedule set; the method further includes: Receive a second duty list query instruction sent by the target user service device, and determine the duty list display content of each duty list in the duty list set, the duty list display content of a duty list including the duty list identifier of the corresponding duty list and the indication information of the current duty object; The duty list display content of each duty table is returned to the target user service device, so that the target user service device displays the duty list display content of each duty table.
6. The method according to claim 1 or 2, characterized in that: The method further comprises: Traverse each duty list in the duty list set, and use the currently traversed duty list as the current duty list; Check whether the current duty object indication information and / or the next batch of duty object indication information of the current duty table have changed; When checking that the current duty object indication information and / or the next batch of duty object indication information of the current duty table have changed, updating the duty list display content of the current duty table; After traversing each duty table in the duty table set, a shift inspection task is completed.
7. The method according to claim 1 or 2, characterized in that: The method further comprises: For any duty table in the duty table set, check whether the current system time reaches the reminder time of any duty table; When it is checked that the current system time reaches the reminder time of any duty table, the duty reminder information of any duty table is generated, and the duty reminder information is sent to the next batch of duty objects of any duty table to complete the notification inspection task of any duty table; After completing the notification check task for each duty table in the duty table set, a notification check task is completed.
8. A duty management device, characterized in that: The device comprises: An acquisition unit, configured to acquire at least one initial shift scheduling rule under a target shift table, wherein one shift scheduling rule includes a rule effective time of the corresponding shift scheduling rule and at least one duty object group, and one duty object group includes an object identifier of at least one duty object; a processing unit, configured to determine at least one effective scheduling rule under the target duty table from the at least one initial scheduling rule based on the rule effective time of each initial scheduling rule in the at least one initial scheduling rule, wherein the rule effective time of each effective scheduling rule in the at least one effective scheduling rule all conforms to the target time range; The processing unit is further used to adopt the at least one effective scheduling rule to generate a target scheduling result of the target duty table within the target time range, wherein the target duty result includes scheduling information of the target duty table within each duty time period within the target time range, and the scheduling information within a duty time period is used to indicate the duty object within the corresponding duty time period.
9. An electronic device, characterized in that: include: processor; as well as Memory for storing programs, The program includes instructions, which, when executed by the processor, cause the processor to perform the method according to any one of claims 1 to 7.
10. A duty management system, characterized in that: The duty management system comprises a duty management service device and at least one duty object service device; wherein the duty management service device is used to enable the duty management system to execute the method according to any one of claims 1-7.