A park operation and maintenance work order automatic allocation method based on minimum load threshold traversal

By using an automatic work order allocation method based on minimum load threshold traversal, the problem of unbalanced work order allocation in existing technologies is solved, achieving balanced workload for maintenance personnel and improving system efficiency, while avoiding overload.

CN123159796APending Publication Date: 2026-11-24SHANGHAI HAN XIAOSHAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611381737.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-08
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing automatic work order allocation strategies, such as round-robin and random allocation, fail to effectively consider the real-time workload of operations and maintenance personnel, leading to load imbalance, causing some operations and maintenance personnel to be overloaded while others are idle, affecting system efficiency and user experience.

Method used

The method adopts a minimum load threshold traversal approach. By querying the real-time load of operation and maintenance personnel, an insurmountable load limit is set. The operation and maintenance personnel with the lightest load are given priority in allocation, and the allocation is actively rejected when the operation and maintenance personnel are overloaded, forming an "overload rejection" mechanism to avoid further increasing the load.

Benefits of technology

It achieves a balanced distribution of workload for operations and maintenance personnel, avoids the Matthew effect caused by load imbalance, improves the overall throughput and response efficiency of the system, and protects operations and maintenance personnel from being overburdened.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159796A_ABST
    Figure CN123159796A_ABST
Patent Text Reader

Abstract

This invention discloses an automatic allocation method for park operation and maintenance work orders based on minimum load threshold traversal, belonging to the field of park operation and maintenance scheduling and resource allocation technology. This method introduces a load threshold parameter on the scheduling device side. After receiving work orders to be allocated, it identifies a set of candidate operation and maintenance personnel based on processing grouping and type identifier. A single aggregate query retrieves the number of work orders in the pending and processing states for each candidate personnel in a single database interaction, representing the real-time load. The method traverses in ascending load order, allocating work orders to the first personnel whose real-time load is below the load threshold (default threshold is 10, but can be configured differently according to task type). If all candidate personnel reach the threshold, the allocation is rejected, and the work order is retained in the unallocated pool awaiting the next scheduling cycle, with an overload rejection log recorded. This method embodies the scheduling philosophy that delayed allocation is superior to overload allocation, improving the balance of work order allocation and the overall system throughput.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of park operation and maintenance scheduling and resource allocation technology, specifically to an automatic allocation method for park operation and maintenance work orders based on minimum load threshold traversal. Background Technology

[0002] In the intelligent management and operation and maintenance scheduling system of the park, when a new work order is generated, the system needs to assign it to the appropriate operation and maintenance personnel for processing. The quality of the work order allocation strategy directly affects the system's response speed, the degree of workload balance of operation and maintenance personnel, and the overall processing efficiency. Currently, there are two main strategies for automatically assigning work orders: round-robin and random assignment. Round-robin assignment dispatches work orders to various operations and maintenance (O&M) personnel in a fixed cyclical order, regardless of how many tasks an O&M personnel currently have pending. Random assignment, on the other hand, randomly selects one O&M personnel from a pool of candidates as the assignment target. Both strategies are extremely simple to implement, but they share a common drawback—they completely ignore the real-time workload of each O&M personnel. This flaw can cause significant efficiency problems in real-world scenarios. Suppose there are three maintenance personnel, A, B, and C, in the system. When the polling strategy assigns five work orders to A, A may already have fifteen unprocessed work orders, while C may only have two. However, because the polling pointer sequentially points to A, the system continues to push new work orders onto the already overloaded A. As a result, A's processing latency continues to increase, while C remains idle with an underutilized workload. Worse still, if A's backlog of work orders continues to grow and processing times increase, this vicious cycle will intensify further—the system will fail to recognize that A is "overwhelmed" and will continue to relentlessly push new work orders onto them. Ultimately, the lack of a "refusal to allocate overloaded work orders" protection mechanism is the fundamental flaw of existing automatic allocation strategies. A good allocation strategy should not only "allocate work orders," but also be willing to make the decision to "temporarily withhold allocation" when necessary—delaying allocation and waiting for capable maintenance personnel to free up their time, which is far wiser than adding insult to injury to already overloaded maintenance personnel. Therefore, there is an urgent need for an automatic work order allocation method that can sense the real-time load of each maintenance personnel and actively refuse to allocate work orders when maintenance personnel are overloaded. Summary of the Invention

[0003] This invention addresses the shortcomings of existing polling and random allocation strategies, which ignore the real-time load of maintenance personnel and exacerbate load imbalance. It provides an automatic allocation method for campus maintenance work orders based on a minimum load threshold traversal. The core idea of ​​this method is to set an insurmountable load limit for each maintenance personnel while pursuing load balancing. When all maintenance personnel have reached the threshold, allocation is proactively rejected instead of being forcibly assigned, thus achieving a reasonable balance between work efficiency and personnel protection. The present invention provides the following technical solution. An automatic allocation method for park operation and maintenance work orders based on minimum load threshold traversal includes the following steps. The first step is for the task scheduling device to receive the work orders to be assigned and, based on the type of the work order, its processing group, and the roles and permissions of each maintenance personnel, to define the set of candidate maintenance personnel for this assignment. For example, the candidate maintenance personnel for equipment maintenance work orders are members of the maintenance team, and the candidate maintenance personnel for inspection work orders are members of the inspection team, with no overlap between different groups. The second step is to query the real-time load of each operations and maintenance (O&M) personnel in the candidate O&M personnel set. Real-time load is defined as the total number of work orders currently under that O&M personnel that are either pending or in progress. These two states represent the active phase of a work order's lifecycle that has not yet been completed; archived, approved, or completed work orders are not included in the load calculation. This query is completed in a single database interaction using an aggregate query statement, grouping by O&M personnel identifier and using the aforementioned two active states as filtering conditions to summarize the counts and obtain the load data for all candidate O&M personnel in one go. The third step is to sort the candidate maintenance personnel in ascending order of their real-time load values, forming an ordered list of maintenance personnel. The maintenance personnel at the front of the list have the lightest load, and those at the back have the heaviest load. This sorting naturally gives subsequent iterations a "minimum load priority" allocation bias. The fourth step is to introduce a preset load threshold parameter. This parameter is a configurable positive integer value that defines the maximum number of active work orders a single operations and maintenance (O&M) personnel is allowed to handle. By default, this parameter is set to 10, meaning that when the sum of a O&M personnel's pending work orders and processing work orders reaches or exceeds 10, the system will consider that the O&M personnel to be overloaded and should not continue to accept new work orders. Starting from the first member of the ordered list of operations and maintenance (O&M) personnel, i.e., the one with the lightest load, the process iterates through each candidate O&M personnel in turn. For the currently visited O&M personnel, their real-time load value is compared with a load threshold parameter. If the O&M personnel's real-time load value is less than the load threshold parameter, they are immediately identified as the target O&M personnel for assignment, and the iteration ends; otherwise, the process continues to check the next O&M personnel. The fifth step is to make an allocation decision based on the traversal results. If the target maintenance personnel are found during the traversal, the task scheduling device assigns the task to that personnel and writes an allocation log entry. The allocation log records the task identification, the target maintenance personnel identification, the load snapshot of each candidate maintenance personnel at the time of allocation, the allocation result type as "successful allocation," and the allocation timestamp accurate to milliseconds. If, after traversing the entire ordered list, the real-time load values ​​of all candidate maintenance personnel are greater than or equal to the load threshold parameter, the allocation is rejected, the task remains unallocated and in the unallocated task pool, waiting for the next scheduling cycle to re-trigger the allocation process; at the same time, the allocation log will still be recorded, and the allocation result type will be marked as "overload rejection." This "overload rejection" mechanism is the core difference between this invention and traditional allocation strategies. It embodies a pragmatic scheduling philosophy—deferred allocation is superior to overload allocation. When all maintenance personnel are operating at full capacity, forcibly assigning new work orders to anyone will only further lengthen the overall processing cycle and degrade the user experience. It is better to let the work orders wait in the unallocated pool. Once a maintenance personnel completes their current work and the load drops below the threshold, the work orders will naturally be allocated in the next scheduling cycle. This brief wait allows each maintenance personnel to work efficiently within a reasonable load range, thus significantly improving the overall throughput of the system. Furthermore, the load threshold parameter supports differentiated configuration. Different thresholds can be set for different types of tasks or different roles of operations personnel. For example, for more complex work order types, operations personnel take longer to process a single work order, so their load threshold can be appropriately lowered; for work order types that emphasize rapid response, the threshold can be appropriately increased to ensure that the work order can be taken over by operations personnel as soon as possible. This differentiated configuration allows the load management strategy to flexibly adapt to diverse business scenarios. The core beneficial effects of the method provided by this invention can be summarized in three aspects. First, it effectively avoids the Matthew effect of "the strong getting busier and the weak getting idler" caused by uneven workload distribution, making the workload of each maintenance personnel more evenly distributed. Second, the introduction of the load threshold parameter builds a hard protective barrier for maintenance personnel, completely eliminating the unreasonable behavior of continuing to assign work orders to maintenance personnel who are already overburdened. Third, the combined mechanism of "overload rejection" and delayed retry significantly reduces the risk of work order backlog and response latency deterioration in high-load scenarios, and the robustness of the entire scheduling system is significantly enhanced. Attached Figure Description Figure 1 This is a flowchart of the main steps of the method of the present invention.

[0004] Figure 2 This diagram illustrates the process of sorting candidate maintenance personnel by load in ascending order and iterating through thresholds.

[0005] Figure 3 A schematic diagram of decision branches for allocating successful paths and overload rejection paths. The meanings of the markings in the diagram are as follows: Figure 1 101 - Receive work orders and determine the candidate set of maintenance personnel; 102 - Query the real-time load value of each candidate maintenance personnel; 103 - Sort the list in ascending order of real-time load value; 104 - Traverse from the first position to find the load below the threshold; 105 - Check if the target maintenance personnel have been found; 106 - Assign work orders and record the assignment log; 107 - Reject assignment and keep the unassigned personnel in the pool for waiting.

[0006] Figure 2 301 - Sort by load value in ascending order; 302 - Traverse from the first to the last; 303 - Load is below the threshold; 304 - The first person's load is below the threshold.

[0007] Figure 3 401 - After traversal, determine the hit result; 402 - Has the target maintenance personnel been found?; 403 - Assign the work order to the target maintenance personnel; 404 - Record the successful assignment log; 405 - Reject this assignment; 406 - Record the overload rejection log; 407 - Keep the work order in the unassigned pool for later use. Detailed Implementation The specific embodiments of the present invention will now be described in detail with reference to the accompanying drawings. Figure 1 The core steps of the method of this invention are illustrated. This method is executed by a task scheduling device, which can be a background scheduling component integrated into the application service layer, and allocates newly generated unassigned work orders using either periodic polling or event-driven methods. like Figure 1 As shown in mark 101, step S1: Receive the work orders to be assigned and select the candidate maintenance personnel set. When a new work order appears in the unassigned task pool, the task scheduling device obtains the work order's metadata information, including the processing group identifier to which the work order belongs, the work order type identifier, and a list of maintenance personnel with processing permissions within that group. The candidate maintenance personnel set is obtained by jointly filtering based on the processing group and type identifier dimensions. Suppose a work order for equipment maintenance belongs to the processing group GroupOperation, and this group has four members: maintenance personnel A, B, C, and D. The set of candidate maintenance personnel is {A, B, C, D}. like Figure 1 As shown in mark 102, step S2: query the real-time load of each candidate maintenance personnel. The task scheduling device initiates an aggregate query statement to the work order table. This statement uses the maintenance personnel identifier as a grouping field and the work order status (pending or processing) as a filtering condition to group and count the work order table. Specifically, the query statement uses the maintenance personnel identifier as the grouping dimension, and counts and summarizes work order records whose status is pending or processing and whose current handler identifier belongs to the candidate maintenance personnel set, based on the handler. This query completes the aggregation of load data for all candidate maintenance personnel in a single database interaction, avoiding multiple network round trips caused by querying each individual. Suppose the query results are as follows: Maintenance personnel A has a load of 3 units, maintenance personnel B has a load of 8 units, maintenance personnel C has a load of 12 units, and maintenance personnel D has a load of 5 units. It should be noted that maintenance personnel B's load is close to but has not yet reached the default threshold, while maintenance personnel C's load has clearly exceeded the threshold. like Figure 1 Mark 103 and Figure 2 As shown, step S3: Sort by load in ascending order. The candidate maintenance personnel are sorted in ascending order of real-time load value, resulting in an ordered list of maintenance personnel: A load 3, D load 5, B load 8, C load 12. The reason for using ascending order is that this method follows the "least load priority" principle—provided that the threshold condition is met, each allocation should be given to the "least available" maintenance personnel. This principle helps to continuously balance the load distribution during system operation. like Figure 1 Mark 104 and Figure 2 As shown, step S4: traverse the load threshold to find the target maintenance personnel. The task scheduling device reads the preset load threshold parameters from the configuration system. In this embodiment, the default configuration value of 10 is used. Iterate through the ordered list starting from the first element. First, check if the operations and maintenance personnel (A) is selected: A's real-time load (3) is less than the threshold (10), so they are immediately matched. The process terminates, and operations and maintenance personnel A is determined as the target personnel for assignment. The entire process only checks the first candidate operations and maintenance personnel to complete the matching. To more fully illustrate the traversal logic, another hypothetical scenario is presented here for comparison. Suppose that at a certain scheduling moment, the loads of the four candidate maintenance personnel are A (load 15), D (load 11), B (load 14), and C (load 12), meaning all candidate maintenance personnel have exceeded the threshold of 10. The list, sorted in ascending order, is: D (load 11), C (load 12), B (load 14), A (load 15). Starting with D, the traversal checks that D's load (11) is not less than the threshold of 10; then C is checked, and C's load (12) is not less than 10; B is checked, and B's load (14) is not less than 10; finally, A's load (15) is not less than 10. The traversal ends, and no maintenance personnel meeting the criteria are found. like Figure 1 Marked 105, 106 and 107 Figure 3 (As shown in labels 401 to 407), step S5: allocation decision and log recording. In the first scenario mentioned above, when maintenance personnel A is selected, the task scheduling device assigns the work order to A and records the allocation log. The allocation log includes: work order identifier, target maintenance personnel identifier A, load snapshot "A:3,D:5,B:8,C:12", allocation result type "successful allocation", and allocation timestamp. Figure 3 As indicated by markers 403 to 404, this represents the successful branch path. In the second scenario of overall overload, the traversal fails, and the task scheduler rejects the assignment. The work order remains unassigned and waits in the unassigned task pool for the next scheduling cycle. Simultaneously, the assignment log is still recorded, containing: work order identifier, target maintenance personnel identifier (empty), load snapshot "D:11, C:12, B:14, A:15", assignment result type "overload rejected", and assignment timestamp. Figure 3 As shown in marks 405 to 407, this is the overload rejection branch path. Figure 2 This demonstrates the complete process of ascending sorting and threshold traversal described above. For example... Figure 2 As shown by marker 301, the load values ​​of each candidate maintenance personnel are sorted in ascending order, and then iterated from the first to the last as shown by marker 302. Marker 303 indicates whether the load of each maintenance personnel is below the threshold. Marker 304 indicates that the first person (A with load 3) is below the threshold, thus hitting the target. The left side shows the candidate maintenance personnel and their load values, the middle arrow indicates the ascending order sorting operation, and the right side shows a comparison between the ordered list and the threshold line 10. The area below the threshold line, i.e., the maintenance personnel with load values ​​less than 10, is the "allocable area," and the area above the threshold line is the "overload protection area." Figure 3 The branching logic for assigning successful paths and rejecting overloaded paths is presented in the form of a decision tree. For example... Figure 3 As shown by marker 401, after traversal, the process starts from the judgment node marked 402. If there are candidate maintenance personnel with load values ​​below the threshold, the process proceeds to marker 403 to assign a work order to the target maintenance personnel, and marker 404 records a successful assignment log. If all candidate maintenance personnel exceed the threshold, the assignment is rejected by marker 405, and an overload rejection log is recorded by marker 406. Finally, the work order is retained in the unassigned pool by marker 407. When there are candidate maintenance personnel with load values ​​below the threshold, the process proceeds to the left-hand successful assignment branch; when all candidate maintenance personnel exceed the threshold, the process proceeds to the right-hand overload rejection branch, and the work order is returned to the unassigned pool. Regarding the design of retaining work orders in the unassigned task pool in step S5, it is necessary to further explain the operational mechanism of its scheduling cycle. The task scheduling device can be configured to scan the unassigned task pool at regular intervals, such as every 30 seconds, and resubmit the unassigned work orders in the pool into the assignment process. This interval should not be too short to avoid unnecessary database query burden, nor should it be too long to avoid work orders staying in the pool for too long. In actual deployment, the interval can be flexibly adjusted according to the frequency of work order generation and the average processing speed of maintenance personnel. Furthermore, the calculation and value of the load threshold parameter deserve further discussion. The default value of 10 is an empirical value, and its rationality comes from a rough estimate of the manual task processing capacity in typical campus operation and maintenance scenarios. However, in different application environments, this value obviously needs to be adjusted according to local conditions. In the design of this invention, the load threshold parameter is treated as a configurable item independent of the allocation logic code. System administrators can directly modify it through the configuration management interface or configuration file without modifying the core allocation code. In summary, this invention achieves an effective trade-off between efficiency and balance in automatic work order allocation through a three-layer allocation mechanism of "load awareness + threshold protection + minimum priority". The method has clear logic and low implementation cost, and is particularly suitable for park operation and maintenance management scenarios with a large number of operation and maintenance personnel and large fluctuations in the frequency of work order generation. The above description is merely a preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto. Any equivalent substitutions or modifications made by those skilled in the art within the scope of the technology disclosed in the present invention, based on the technical solution and inventive concept of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A method for automatic allocation of park maintenance work orders based on minimum load threshold traversal, characterized in that... The following steps are executed by the task scheduling device: The system receives work orders to be assigned and determines the set of candidate maintenance personnel corresponding to each work order. It then queries the number of work orders currently pending or in progress for each candidate maintenance personnel in the set, using this number as the real-time load value for each candidate maintenance personnel. The system sorts the candidate maintenance personnel set in ascending order of their real-time load values ​​to obtain an ordered maintenance personnel list. A preset load threshold parameter is obtained, and starting from the first maintenance personnel in the ordered maintenance personnel list, the system iterates through all candidate maintenance personnel, finding the first candidate maintenance personnel whose real-time load value is less than the load threshold parameter, and designates this as the target maintenance personnel for assignment. If a target maintenance personnel is found during the iteration, the work order is assigned to that personnel, and the assignment log is recorded. If no suitable candidate maintenance personnel is found after the iteration, the assignment is rejected, and the work order is retained in the unassigned task pool, awaiting re-triggering of the assignment process in the next scheduling cycle. The scheduling cycle duration is dynamically adjusted based on the work order generation frequency and the average processing speed of maintenance personnel.

2. The method according to claim 1, characterized in that... The pending and processing states refer to the active states of a work order that have not yet been completed in its lifecycle. Work orders that are in the archived, approved, or completed states are not included in the real-time load value.

3. The method according to claim 1, characterized in that... The ascending order ensures that the candidate maintenance personnel with the lowest real-time load value are placed at the top of the list, guaranteeing that the maintenance personnel with the lightest current load are given priority in each allocation.

4. The method according to claim 1, characterized in that... The load threshold parameter is a configurable positive integer value. This parameter defines the upper limit of the number of active work orders that a single operations and maintenance personnel is allowed to undertake. The default configuration of the load threshold parameter is 10.

5. The method according to claim 4, characterized in that... The load threshold parameter is configured with different threshold values ​​according to different task types or different operation and maintenance personnel roles to achieve differentiated load management strategies.

6. The method according to claim 1, characterized in that... The allocation log shall record at least the following fields: task work order identifier, target allocation maintenance personnel identifier, real-time load snapshot of each candidate maintenance personnel at the time of allocation, allocation result type, and allocation timestamp.

7. The method according to claim 1, characterized in that... If the task is rejected, the task order will be kept in the unassigned task pool and will wait for the next scheduling cycle to trigger the reassignment process.

8. The method according to claim 1, characterized in that... The criteria for determining the candidate set of maintenance personnel include: the processing group to which the task work order belongs, the type identifier of the task work order, and the role permissions of each maintenance personnel.

9. The method according to any one of claims 1 to 8, characterized in that... The operation of querying the real-time load value of each candidate maintenance personnel is completed in a single database interaction through an aggregate query statement. The aggregate query statement counts and statistics by using the candidate maintenance personnel identifier as the grouping field and the pending status and the processing status as filtering conditions.

10. The method according to claim 9, characterized in that... The aggregate query statement is executed on the work order table, and the filtering conditions include the work order status being pending or in process, and the current handler of the work order being identified as belonging to the candidate maintenance personnel set.