Resource scheduling method and device, storage medium and electronic equipment

By acquiring and analyzing approval data from business process nodes and adjusting human resource numerical indicators using preset scheduling algorithms, the problem of inaccurate human resource allocation was solved, resulting in more efficient business approval and cost optimization.

CN114997687BActive Publication Date: 2026-02-10PING AN INT FINANCIAL LEASING CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210682459.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-16
Publication Date
2026-02-10
Estimated Expiration
2042-06-16

AI Technical Summary

Technical Problem

Existing technologies cannot accurately allocate human resources, resulting in low efficiency in business approvals and high costs associated with human resource allocation.

Method used

By acquiring approval data from business process nodes, regional approval data for each area is determined, including business approval data and human resources data. A preset scheduling algorithm is then used to adjust human resources numerical indicators to achieve preset values, thereby optimizing human resources allocation.

Benefits of technology

It reduced manpower allocation costs, improved overall business approval efficiency, and enhanced user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114997687B_ABST
    Figure CN114997687B_ABST
Patent Text Reader

Abstract

The application discloses a resource scheduling method and device, a storage medium and an electronic device. The method comprises the following steps: obtaining approval data of a business process node; determining regional approval data of each region in a current business system based on the approval data, wherein the regional approval data comprises business approval data and human resource data of a current geographic region; obtaining a human resource numerical index corresponding to each region according to the regional approval data, wherein the human resource numerical index is used to indicate the matching condition of the business data and the human resource of the current region; and adjusting the regional approval data based on a preset scheduling algorithm and the human resource numerical index corresponding to each region, so that the human resource numerical index corresponding to each region reaches a preset value. The application solves the technical problems of inaccurate human resource allocation and low business approval efficiency in the related art.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of business process data processing, in particular to a resource scheduling method and device, a storage medium and an electronic device. BACKGROUND

[0002] With the development of the Internet, offline business is gradually transferred to online, for companies relying on online business approval, with the continuous development of business, the amount of business to be approved and the personnel participating in the approval are increasing, and the area where the business single is distributed (such as different cities in a province) is also increasing, and there is often a certain area with rich manpower, and some areas lack manpower. In related technologies, the telephone or online communication mode is usually used for manpower scheduling, which increases the manpower deployment cost and the overall business approval efficiency is also low. SUMMARY

[0003] The embodiments of the present application provide a resource scheduling method, device, storage medium and electronic device to at least solve the technical problems of inaccurate manpower deployment and low business approval efficiency in related technologies.

[0004] According to an aspect of an embodiment of the present application, a resource scheduling method is provided, comprising: obtaining approval data of a business process node; determining regional approval data of each region in a current business system based on the approval data; wherein the regional approval data comprises business approval data and manpower resource data of a current geographic region; obtaining a manpower resource numerical index corresponding to each region according to the regional approval data; wherein the manpower resource numerical index is used to indicate the matching condition of the business data and the manpower resource of the current region; adjusting the regional approval data based on a preset scheduling algorithm and the manpower resource numerical index corresponding to each region, so that the manpower resource numerical index corresponding to each region reaches a preset value.

[0005] According to another aspect of an embodiment of the present application, a resource scheduling device is also provided, comprising: a first obtaining unit for obtaining approval data of a business process node; a determining unit for determining regional approval data of each region in a current business system based on the approval data; wherein the regional approval data comprises business approval data and manpower resource data of a current geographic region; a second obtaining unit for obtaining a manpower resource numerical index corresponding to each region according to the regional approval data; wherein the manpower resource numerical index is used to indicate the matching condition of the business data and the manpower resource of the current region; an adjusting unit for adjusting the regional approval data based on a preset scheduling algorithm and the manpower resource numerical index corresponding to each region, so that the manpower resource numerical index corresponding to each region reaches a preset value.

[0006] According to a further aspect of the embodiments of the present application, an electronic device is provided, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the resource scheduling method by using the computer program.

[0007] According to a further aspect of the embodiments of the present application, a computer readable storage medium is provided, wherein the computer readable storage medium stores a computer program, and the computer program is configured to execute the resource scheduling method when running.

[0008] In the embodiments of the present application, the approval data of the business process node is obtained, the regional approval data of each region in the current business system is determined based on the approval data, wherein the regional approval data comprises the business approval data and the human resource data of the current geographic region, the human resource numerical index corresponding to each region is obtained according to the regional approval data, wherein the human resource numerical index is used to indicate the matching condition of the business data and the human resource of the current region, and the regional approval data is adjusted based on the preset scheduling algorithm and the human resource numerical index corresponding to each region, so that the human resource numerical index corresponding to each region reaches the preset value. In the above method, since the regional approval data is adjusted based on the preset scheduling algorithm and the human resource numerical index corresponding to each region, so that the human resource numerical index corresponding to each region reaches the preset value, not only the human resource allocation cost can be reduced, the overall approval efficiency can be improved, but also the user experience can be improved, thereby solving the technical problems of inaccurate human resource allocation and low business approval efficiency in the related art. BRIEF DESCRIPTION OF DRAWINGS

[0009] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:

[0010] Figure 1 is a schematic diagram of an application environment of an optional resource scheduling method according to an embodiment of the present application;

[0011] Figure 2 is a schematic diagram of an application environment of another optional resource scheduling method according to an embodiment of the present application;

[0012] Figure 3 is a flowchart of an optional resource scheduling method according to an embodiment of the present application;

[0013] Figure 4 is a flowchart of another optional resource scheduling method according to an embodiment of the present application;

[0014] Figure 5 is a structural schematic diagram of an optional data processing device according to an embodiment of the present application;

[0015] Figure 6 is a structural schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0016] In order to make the personnel in the art better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative labor should fall within the protection scope of the present application.

[0017] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0018] According to an aspect of an embodiment of the present application, a resource scheduling method is provided. Optionally, as an optional implementation, the above-mentioned resource scheduling method can be applied in, but is not limited to, an application environment as shown in Figure 1 The application environment includes a terminal device 102 for human-computer interaction with a user, a network 104, and a server 106. The user 108 can perform human-computer interaction with the terminal device 102, and the terminal device 102 runs a resource scheduling application program. The terminal device 102 includes a human-computer interaction screen 1022, a processor 1024, and a memory 1026. The human-computer interaction screen 1022 is used to display business approval data and human resource data of a plurality of geographic regions; the processor 1024 is used to obtain approval data of a business process node. The memory 1026 is used to store the business approval data and the human resource data of the plurality of geographic regions.

[0019] Further, the server 106 comprises a database 1062 and a processing engine 1064, the database 1062 is configured to store the business approval data and the human resource data of the plurality of geographic regions. The processing engine 1064 is configured to obtain the approval data of the business process node and the electricity consumption, determine the regional approval data of each region in the current business system based on the approval data, wherein the regional approval data comprises the business approval data and the human resource data of the current geographic region, obtain the human resource numerical indicators corresponding to each region according to the regional approval data, wherein the human resource numerical indicators are used to indicate the matching condition of the business data and the human resource of the current region, and adjust the regional approval data based on the preset scheduling algorithm and the human resource numerical indicators corresponding to each region, so that the human resource numerical indicators corresponding to each region reach the preset value.

[0020] In one or more embodiments, the above-mentioned resource scheduling method can be applied to the application environment as shown. Figure 2 As shown in the application environment, the user 202 and the user equipment 204 can perform human-computer interaction. The user equipment 204 comprises a memory 206 and a processor 208. In the embodiment, the user equipment 204 can but not limited to refer to the operations performed by the terminal equipment 102 to adjust the regional approval data in the system. Figure 2

[0021] Optionally, the terminal equipment 102 and the user equipment 204 comprise but not limited to mobile phones, set-top boxes, televisions, tablet computers, notebook computers, PC machines, vehicle-mounted electronic devices, wearable devices and other terminals. The network 104 can comprise but not limited to wireless networks or wired networks. The wireless network comprises WIFI and other wireless communication networks. The wired network can comprise but not limited to wide area networks, metropolitan area networks and local area networks. The server 106 can comprise but not limited to any hardware device capable of computing. The server can be a single server, a server cluster composed of multiple servers, or a cloud server. The above is only an example, and the embodiment is not limited in this regard.

[0022] Human resource scheduling involves optimization combination problems, and is widely used in work allocation and production arrangement. However, due to different scheduling resources, business scenarios and scheduling strategies, it is difficult to find a general scheduling algorithm. However, in the face of online approval system scenarios, the goal of human resource scheduling optimization is to dynamically adjust the human resource allocation between different business regions according to the current processing volume. The strategy is to allocate as much human resource as possible to support the most lack, and to reduce the number of personnel allocation as much as possible, to reduce the allocation cost to the greatest extent and to improve the overall system approval efficiency.

[0023] ​Therefore, how to optimize the configuration, timely and effectively identify the tilt of human resources, and make the approval efficiency optimal under the premise of least consumption of enterprise resources, especially during the peak period of approval, timely detection, early warning and generation of corresponding optimization strategies to assist operation personnel in decision-making have become urgent problems to be solved.

[0024] To solve the above technical problems, as an optional implementation manner, as shown in the figure, Figure 3 The embodiment of the present application provides a resource scheduling method, which comprises the following steps:

[0025] S302, obtaining approval data of a business process node.

[0026] In the embodiment of the present application, each business process node in the business system corresponds to one or more approval documents, which are approved by one or more personnel.

[0027] S304, determining regional approval data of each region in the current business system based on the approval data; wherein the regional approval data comprises business approval data and human resource data of the current geographic region.

[0028] Specifically, the region here includes but is not limited to geographic region, for example, the business of A, B, C and D cities under XX province in the current business system, according to the associated organization structure, the business approval data and human resource data of A, B, C and D cities in the business system can be determined respectively; here, the human resource data includes the business personnel responsible for approving the business data.

[0029] S306, obtaining human resource numerical indicators corresponding to each region according to the regional approval data; wherein the human resource numerical indicators are used to indicate the matching condition of the business data and human resources in the current region.

[0030] Here, according to the human resources in the current region, for example, according to the number of current approval business, and the average approval time of each business document, and the number of pending approval business documents in the current region, the human resource numerical indicators of the current region can be determined, when the human resource numerical indicators are positive, it means that the human resources in this region are abundant, and can meet the approval work of the pending approval documents in the current region. When the human resource numerical indicators are negative, it means that the human resources in this region are insufficient, and cannot meet the approval work of the pending approval documents in the current region.

[0031] S308, adjusting the regional approval data based on the preset scheduling algorithm and the human resource numerical indicators corresponding to each region, so that the human resource numerical indicators corresponding to each region reach a preset value.

[0032] Specifically, according to the human resource data index corresponding to each region, for example, the pending approval documents of the region with the negative human resource value index can be adjusted to the region with the negative human resource value index. The human resources of the region with the positive human resource value index can also be temporarily adjusted to the region with the negative human resource value index, so as to further help the region with insufficient human resources to conduct business approval. The above is only an example, which is not limited herein.

[0033] In the embodiment of the present application, the approval data of the business process node is obtained; the regional approval data of each region in the current business system is determined based on the approval data; wherein the regional approval data includes the business approval data and the human resource data of the current geographic region; the human resource value index corresponding to each region is obtained according to the regional approval data; wherein the human resource value index is used to indicate the matching condition of the business data and the human resources of the current region; the regional approval data is adjusted based on the preset scheduling algorithm and the human resource value index corresponding to each region, so that the human resource value index corresponding to each region reaches the preset value. In the above method, since the regional approval data is adjusted based on the preset scheduling algorithm and the human resource value index corresponding to each region, so that the human resource value index corresponding to each region reaches the preset value, not only the human resource allocation cost can be reduced, the overall approval efficiency can be improved, but also the user experience can be improved, thereby solving the technical problems of inaccurate human resource allocation and low business approval efficiency in the related art.

[0034] In one or more embodiments, as Figure 4 The resource scheduling method comprises the following steps:

[0035] S402, obtaining the approval data of the business process node;

[0036] S404, determining the regional approval data of each region in the current business system based on the approval data; wherein the regional approval data includes the business approval data and the human resource data of the current geographic region;

[0037] S406, determining the product of the average approval time consumption and the pending approval amount corresponding to the current region, and taking the ratio of the product to the preset time interval as the first human resource value;

[0038] S408, determining the difference between the number of approval personnel of the current region and the first human resource value as the human resource value index corresponding to the current region; wherein the regional approval data includes the current approval personnel, the average approval time consumption and the pending approval amount.

[0039] S410, adjusting the regional examination data based on the preset scheduling algorithm and the human resource numerical indicator corresponding to each region, so that the human resource numerical indicator corresponding to each region reaches a preset value.

[0040] Specifically, according to the number of examination personnel h, the average examination time t, and the number of documents to be examined c, the time interval w (by default, one hour) is converted into the human resource numerical indicator p. The value of p is obtained by the following formula.

[0041]

[0042] Here, p is the current surplus human resource unit for processing c documents within w time, p>0 represents that the current human resources are surplus, and vice versa p<0 represents that the human resources are scarce. For example, the A region h=5, the average examination time is 30 minutes, the current number of documents to be examined is 6, and the time interval is 1 hour, then represents that the A region has 2 surplus human resource units at this time.

[0043] In one or more embodiments, the adjusting the regional examination data based on the preset scheduling algorithm and the human resource numerical indicator corresponding to each region comprises:

[0044] determining a first region set in which the human resource numerical indicator value is positive, and a second region set in which the human resource numerical indicator value is negative, respectively;

[0045] correspondingly adjusting and distributing the number of documents to be examined corresponding to each region in the second region set to the regions in the first region set.

[0046] Specifically, for example, the first region set in which the human resource numerical indicator value is positive is {A, B}, and the second region set in which the human resource numerical indicator value is negative is {C, D}. Here, the number of documents to be examined corresponding to the C region and the D region can be correspondingly adjusted and distributed to the region A; or the number of documents to be examined corresponding to the C region can be correspondingly adjusted and distributed to the region A, and the number of documents to be examined corresponding to the D region can be correspondingly adjusted and distributed to the region B. In this way, the efficiency of business examination in the system can be improved. The embodiments of the present application do not make any limitation on this.

[0047] In one or more embodiments, before the correspondingly adjusting and distributing the number of documents to be examined corresponding to each region in the second region set to the regions in the first region set, the method further comprises:

[0048] sorting the human resource numerical indicator values corresponding to the first region set, and storing the sorted human resource numerical indicator value set to a first array;

[0049] sorting the human resource numerical indicator values corresponding to the second region set, and storing the sorted human resource numerical indicator value set to a second array;

[0050] Specifically, for example, the first region set is {A, B, E}, the corresponding human resource numerical indicator values are sorted in ascending order and stored in the first array, the first array is [5, 3, 1], and the corresponding regions are {A, E, B}; the second region set is {C, D, F}, the corresponding human resource numerical indicator values are sorted in ascending order and stored in the second array, the second array is [-3, -2, -1], and the corresponding regions are {C, D, F}.

[0051] The method further comprises:

[0052] The method further comprises:

[0053] Specifically, the pending quantity corresponding to each element in the second array is allocated to the region corresponding to the element in the first array, for example, the pending quantity of the C and D regions is allocated to the A region, that is, the first element -3 and the second element -2 in the second array are added to the first element 5 in the first array, and the pending quantity of the F region is allocated to the B region. After such addition, the first array is [0, 3, 0] and the second array is [0, 0, 0]. In this way, the business documents in the business system can be optimized with the maximum human resources.

[0054] In one or more embodiments, the human resource numerical indicator values corresponding to the first region set are sorted, the human resource numerical indicator values corresponding to the second region set are sorted, and the sorted human resource numerical indicator value set is stored in an array according to size;

[0055] The first element and the last element in the array are added, the second element and the second last element are added, the Nth element and the Nth last element are added, and such a multi-round addition operation is performed until there are only positive value elements or only negative value elements in the array; wherein N is half of the number of elements in the array.

[0056] Specifically, for example, the first region set is {A, B, E}, the corresponding human resource numerical index values are sorted in ascending order, the corresponding regions are {A, E, B}, the second region set is {C, D, F}, the corresponding human resource numerical index values are sorted in ascending order, the corresponding regions are {C, D, F}, the sorted human resource numerical index value set is stored in an array according to size, and [5, 3, 1, -1, -2, -3] is obtained; 5 is added to -3, 3 is added to -2, and 1 is added to -1, and after the first round, the array is [2, 1, 0, 0, 0, 0], which achieves the purpose of human resource optimization.

[0057] In one or more embodiments, the sorting of the human resource numerical index values corresponding to the first region set and the storage of the sorted human resource numerical index value set into the first array comprises:

[0058] the ascending sorting of the human resource numerical index values corresponding to the first region set and the storage of the ascending sorted human resource numerical index value set into the first array;

[0059] the sorting of the human resource numerical index values corresponding to the second region set and the storage of the sorted human resource numerical index value set into the second array comprises:

[0060] the descending sorting of the human resource numerical index values corresponding to the second region set and the storage of the descending sorted human resource numerical index value set into the second array.

[0061] In one or more embodiments, the sorting of the human resource numerical index values corresponding to the first region set and the storage of the sorted human resource numerical index value set into the first array comprises:

[0062] the descending sorting of the human resource numerical index values corresponding to the first region set and the storage of the descending sorted human resource numerical index value set into the first array;

[0063] the sorting of the human resource numerical index values corresponding to the second region set and the storage of the sorted human resource numerical index value set into the second array comprises:

[0064] the ascending sorting of the human resource numerical index values corresponding to the second region set and the storage of the ascending sorted human resource numerical index value set into the second array.

[0065] In one or more embodiments, before the corresponding adjustment of the to-be-reviewed quantity corresponding to each region in the second region set is allocated to the regions in the first region set, it further comprises:

[0066] According to the human resource value corresponding to the first region set, a large top heap sequence is constructed;

[0067] According to the human resource value corresponding to the second region set, a small top heap sequence is constructed;

[0068] The corresponding adjustment of the to-be-reviewed quantity corresponding to each region in the second region set is distributed to the region in the first region set, so that the human resource value index corresponding to each region reaches a preset value, including:

[0069] The to-be-reviewed quantity dynamic adjustment corresponding to the small top heap sequence is distributed to the region corresponding to the node in the large top heap sequence until the value of each node in the large top heap sequence is zero or the value of the node in the small top heap sequence is zero.

[0070] In the embodiment of the application, the value of the parent node in the large top heap sequence is greater than the value of its child node, and the value of the parent node in the small top heap sequence is less than the value of its child node. It should be noted here that only the parent nodes in the large top heap sequence and the parent nodes in the small top heap sequence need to be added in sequence, that is, the reasonable allocation of human resources can be completed. After each round of addition operation, the large top heap sequence and the small top heap sequence will be automatically sorted. Here, the sorting can be performed only between the current parent node and the child node, without the need to reorder all nodes. Therefore, the calculation complexity of the system can be greatly reduced, and the calculation resources can be saved.

[0071] In one or more embodiments, the resource scheduling method further includes: sending confirmation adjustment information to the target region according to the to-be-coordinated approval document; and distributing the to-be-coordinated approval document to the target region after receiving the determination information of the confirmation adjustment information.

[0072] In one or more application embodiments, the resource scheduling method further includes the following steps:

[0073] S1, obtaining business process node approval data and associating organization architecture to process current approval personnel, average approval time consumption, to-be-reviewed quantity and other information of each region.

[0074] S2, converting the above information into specific human resource value indexes.

[0075] S3, generating a corresponding human resource scheduling strategy through a human resource scheduling algorithm, and pushing and informing through an internal communication software and recording a strategy operation log of the business.

[0076] The human resource scheduling algorithm in the step S3 includes the following steps:

[0077] 1: According to the approval personnel (h), the average approval time (t), the number of pending cases (c), the time interval (w, default is one hour) is converted into the number of human resources (p):

[0078]

[0079] Wherein, p is the number of cases handled by the current area in w time interval, the current surplus human resource unit, p>0 represents that the current human resource is surplus, otherwise it represents that the human resource is scarce. For example, the area A h=5, the average time consumption is 30 minutes, the current pending cases are 6, and the time interval is 1 hour, then At this time, the area A has 2 surplus human resource units.

[0080] 2: Loop detection:

[0081] Here, the resource scheduling is performed by constructing a heap. The heap, also known as a priority queue, is a tree structure, which is divided into a large top heap and a small top heap. The meaning of the large top heap is that the value of each node of the tree is greater than the left and right child nodes. The meaning of the small top heap is that the value of each node of the tree is less than the left and right child nodes. It is commonly used to take the maximum (minimum value), and the time complexity is O(1). The insertion and deletion are maintained in the heap structure with a complexity of O(log n). In the embodiment of the present application, the area with surplus human resources is constructed into a large top heap bq, and the area with scarce human resources is constructed into a small top heap sq. The greedy algorithm is used, that is, the most surplus area cooperates with the most scarce area to perform the document approval work. The implementation code of the algorithm is as follows:

[0082]

[0083]

[0084] Complexity analysis of the loop detection algorithm, let the maximum value of the surplus area and the scarce area queue be n (n is the length of the heap), and the complexity of each process is:

[0085] Building a heap: n*log(n); Loop detection: n*log(n); The final time complexity: O(n)=n*log(n). In the loop detection, the time complexity of the heap construction method is the smallest, so the calculation complexity of the system can be further reduced, and the calculation resources can be saved.

[0086] The embodiment of the application adopts automatic detection of the service pressure of each region, converts into specific human resource values, cyclically detects and compares the approval human resources of each region, and automatically generates a human resource allocation strategy. The algorithm design is closely combined with the actual business scene, can dynamically adjust the rules, and avoids strategy flooding. A strategy interaction page is provided, business feedback is collected every day, and the algorithm is further optimized according to the feedback data. In the face of complex and massive approval data, the operation personnel can not only see the performance data, approval human resources and approval pressure of each region in a timely manner, but also can help to allocate human resources between regions through the system prompt, and the overall system use experience is greatly improved.

[0087] It should be noted that, for each of the above method embodiments, in order to simply describe, it is expressed as a series of action combinations, but those skilled in the art should know that the application is not limited by the described action sequence, because according to the application, certain steps can be performed in other order or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily necessary for the application.

[0088] According to another aspect of the embodiment of the application, a resource scheduling device for implementing the above resource scheduling method is also provided. As shown in the figure, the device comprises: Figure 5

[0089] The first acquisition unit 502 acquires the approval data of the business process node;

[0090] The determination unit 504 is configured to determine the regional approval data of each region in the current business system based on the approval data, wherein the regional approval data comprises the business approval data and the human resource data of the current geographic region.

[0091] The second acquisition unit 506 is configured to acquire the human resource value index corresponding to each region according to the regional approval data, wherein the human resource value index is used to indicate the matching condition of the business data and the human resources of the current region.

[0092] The adjustment unit 508 is configured to adjust the regional approval data based on the preset scheduling algorithm and the human resource value index corresponding to each region, so that the human resource value index corresponding to each region reaches a preset value.

[0093] ​In the embodiment of the present application, the approval data of the business process node is obtained; the regional approval data of each region in the current business system is determined based on the approval data; wherein the regional approval data includes the business approval data and the human resource data of the current geographic region; the human resource numerical index corresponding to each region is obtained according to the regional approval data; wherein the human resource numerical index is used to indicate the matching condition of the business data and the human resource of the current region; the regional approval data is adjusted based on the preset scheduling algorithm and the human resource numerical index corresponding to each region, so that the human resource numerical index corresponding to each region reaches the preset value. In the above method, since the regional approval data is adjusted based on the preset scheduling algorithm and the human resource numerical index corresponding to each region, so that the human resource numerical index corresponding to each region reaches the preset value, not only the human resource allocation cost can be reduced, the overall approval efficiency can be improved, but also the user experience can be improved, thereby solving the technical problems of inaccurate human resource allocation and low business approval efficiency in the related art.

[0094] In one or more embodiments, the second obtaining unit 506 comprises:

[0095] The first determining module is configured to determine the product of the average approval time consumption corresponding to the current region and the to-be-approved amount, and take the ratio of the product to the preset time interval as the first human resource value;

[0096] The second determining module is configured to determine the difference between the number of approval personnel of the current region and the first human resource value as the human resource value index corresponding to the current region; wherein the regional approval data includes the current approval personnel, the average approval time consumption and the to-be-approved amount.

[0097] In one or more embodiments, the adjusting unit 508 comprises:

[0098] The third determining module is configured to respectively determine a first region set in which the human resource numerical index value is positive, and a second region set in which the human resource numerical index value is negative;

[0099] The first adjusting module is configured to adjust and distribute the to-be-approved amount corresponding to each region in the second region set to the regions in the first region set.

[0100] In one or more embodiments, the resource scheduling apparatus further comprises:

[0101] The first sorting unit is configured to sort the human resource numerical index values corresponding to the first region set, and store the sorted human resource numerical index value set to a first array;

[0102] a second sorting unit, configured to sort the human resource numerical indicator values corresponding to the second region set, and store the set of sorted human resource numerical indicator values into a second array;

[0103] The first adjusting module comprises:

[0104] A first adjusting sub-unit is configured to allocate the to-be-reviewed quantity dynamic adjustment corresponding to each original element in the second array to the region corresponding to the original element in the second array, until the value of each element in the first array is zero or the value of each element in the second array is zero.

[0105] In one or more embodiments, the first sorting unit comprises:

[0106] A first sorting module is configured to sort the human resource numerical indicator values corresponding to the first region set in ascending order, and store the set of sorted human resource numerical indicator values into a first array.

[0107] The second sorting unit comprises:

[0108] A second sorting module is configured to sort the human resource numerical indicator values corresponding to the second region set in descending order, and store the set of sorted human resource numerical indicator values into a second array.

[0109] In one or more embodiments, the first sorting unit comprises:

[0110] A third sorting module is configured to sort the human resource numerical indicator values corresponding to the first region set in descending order, and store the set of sorted human resource numerical indicator values into a first array.

[0111] The second sorting unit comprises:

[0112] A fourth sorting module is configured to sort the human resource numerical indicator values corresponding to the second region set in ascending order, and store the set of sorted human resource numerical indicator values into a second array.

[0113] In one or more embodiments, the resource scheduling apparatus further comprises:

[0114] A first construction unit is configured to construct a large top heap sequence according to the human resource numerical values corresponding to the first region set;

[0115] A second construction unit is configured to construct a small top heap sequence according to the human resource numerical values corresponding to the second region set;

[0116] The adjusting unit 508 comprises:

[0117] The second adjusting module is configured to allocate the to-be-adjusted quantity of the small top heap sequence to a region corresponding to a node in the large top heap sequence until a value of each node in the large top heap sequence is zero or a value of a node in the small top heap sequence is zero.

[0118] According to still another aspect of the embodiments of the present application, an electronic device for implementing the above-mentioned resource scheduling method is provided, which can be a terminal device or a server. Figure 1 As shown in FIG. 6, the electronic device includes a memory 602 and a processor 604, the memory 602 stores a computer program, and the processor 604 is configured to execute steps in any of the above-mentioned method embodiments through the computer program. Figure 6 As shown in FIG. 6, the electronic device includes a memory 602 and a processor 604, the memory 602 stores a computer program, and the processor 604 is configured to execute steps in any of the above-mentioned method embodiments through the computer program.

[0119] Optionally, in the embodiment, the above-mentioned electronic device can be located in at least one of a plurality of network devices in a computer network.

[0120] Optionally, in the embodiment, the above-mentioned processor can be configured to execute the following steps through the computer program:

[0121] S1, obtaining approval data of a business process node;

[0122] S2, determining regional approval data of each region in a current business system based on the approval data; wherein the regional approval data includes business approval data and human resource data of a current geographic region;

[0123] S3, obtaining a human resource numerical index corresponding to each region according to the regional approval data; wherein the human resource numerical index is used to indicate a matching condition of business data and human resources in the current region;

[0124] S4, adjusting the regional approval data based on a preset scheduling algorithm and the human resource numerical index corresponding to each region, so that the human resource numerical index corresponding to each region reaches a preset value.

[0125] Optionally, those skilled in the art can understand that Figure 6 As shown in FIG. 6, the electronic device includes a memory 602 and a processor 604, the memory 602 stores a computer program, and the processor 604 is configured to execute steps in any of the above-mentioned method embodiments through the computer program. Figure 6 It does not limit the structure of the above-mentioned electronic device. For example, the electronic device can include more or less components (such as a network interface) than those shown in FIG. 6, or have a structure different from that shown in FIG. 6. Figure 6 For example, the electronic device can include more or less components (such as a network interface) than those shown in FIG. 6, or have a structure different from that shown in FIG. 6.Figure 6 different configurations.

[0126] The memory 602 can be used to store software programs and modules, such as program instructions / modules corresponding to the resource scheduling method and device in the embodiments of the present application. The processor 604 executes various functions and data processing by running the software programs and modules stored in the memory 602, that is, implements the above-mentioned resource scheduling method. The memory 602 can include a high-speed random access memory, and can further include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some examples, the memory 602 can further include a memory remotely arranged with respect to the processor 604, which can be connected to the terminal through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. Specifically, the memory 602 can be used to store, but is not limited to, the regional approval data of each region in the current business system. As an example, as shown in FIG. 5, the memory 602 can include, but is not limited to, the first acquisition unit 502, the determination unit 504, the second acquisition unit 506, and the adjustment unit 508 in the above-mentioned data processing device. In addition, it can also include, but is not limited to, other module units in the above-mentioned data processing device, which will not be described in detail in this example. Figure 6

[0127] Optionally, the transmission device 606 is used to receive or send data via a network. Specific examples of the above-mentioned network can include wired networks and wireless networks. In one example, the transmission device 606 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through a network cable to communicate with the Internet or a local area network. In one example, the transmission device 606 is a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet in a wireless manner.

[0128] In addition, the above-mentioned electronic device further includes a display 608 for displaying the regional approval data of each region in the current business system, and a connection bus 610 for connecting various module components in the above-mentioned electronic device.

[0129] ​In other embodiments, the terminal device or the server described above can be a node in a distributed system, where the distributed system can be a blockchain system, which can be a distributed system formed by the plurality of nodes connected through network communication. The nodes can form a peer-to-peer (P2P) network, and any computing device, such as a server, a terminal, or an electronic device, can become a node in the blockchain system by joining the P2P network.

[0130] In one or more embodiments, the present application also provides a computer program product or a computer program including computer instructions stored in a computer readable storage medium. A processor of a computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the resource scheduling method described above. The computer program is configured to execute the steps in any of the method embodiments described above when executed.

[0131] Optionally, in the present embodiment, the computer readable storage medium described above can be configured to store a computer program for executing the following steps:

[0132] S1, obtaining approval data of a business process node;

[0133] S2, determining regional approval data of each region in a current business system based on the approval data, where the regional approval data includes business approval data and human resource data of a current geographic region;

[0134] S3, obtaining a human resource numerical indicator corresponding to each region according to the regional approval data, where the human resource numerical indicator is used to indicate a matching condition of the business data and the human resource of the current region;

[0135] S4, adjusting the regional approval data based on a preset scheduling algorithm and the human resource numerical indicator corresponding to each region, so that the human resource numerical indicator corresponding to each region reaches a preset value.

[0136] Optionally, in the present embodiment, a person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by a program instructing the hardware of the terminal device, and the program can be stored in a computer readable storage medium, which can include a flash disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0137] The above-mentioned embodiment numbers of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.

[0138] The integrated units in the above-mentioned embodiments, if realized in the form of software functional units and sold or used as independent products, can be stored in the above-mentioned computer-readable storage medium. Based on such understanding, the technical solutions of the present application or the whole or part of the technical solutions that essentially contribute to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a plurality of instructions for causing one or more computer devices (which can be personal computers, servers or network devices, etc.) to execute all or part of the steps of the methods of the various embodiments of the present application.

[0139] In the above-mentioned embodiments of the present application, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.

[0140] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented by other means. Among them, the above-mentioned device embodiments are only schematic, for example, the division of units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed mutual ones can be indirect coupling or communication connection through some interfaces, units or modules, and can be electrical or other forms.

[0141] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on multiple network units. Part or all of the units can be selected to achieve the purpose of the embodiment of the present application according to actual needs.

[0142] In addition, each functional unit in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be realized in the form of hardware or software functional unit.

[0143] The above is only the preferred embodiment of the present application, and it should be noted that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, and these improvements and refinements should be considered as the protection scope of the present application.

Claims

1. A resource scheduling method, characterized in that, Scenarios for online approval systems include: Obtain approval data for each node in the business process; Based on the approval data, the regional approval data for each region in the current business system is determined; wherein, the regional approval data includes business approval data and human resources data for the current geographical region; The human resources numerical indicators for each region are obtained based on the regional approval data; wherein, the human resources numerical indicators are used to indicate the matching status between the business data and human resources in the current region. Based on the preset scheduling algorithm and the human resources numerical indicators corresponding to each region, the approval data of the region is adjusted so that the human resources numerical indicators corresponding to each region reach the preset value. Specifically, a max-heap sequence is constructed based on the human resource values ​​corresponding to the first set of regions, where the first set of regions has positive human resource value indicators; a min-heap sequence is constructed based on the human resource values ​​corresponding to the second set of regions, where the second set of regions has negative human resource value indicators. The quantity to be reviewed corresponding to each region in the second region set is adjusted and allocated to the region in the first region set so that the human resource numerical index corresponding to each region reaches the preset value. This includes: dynamically adjusting and allocating the quantity to be reviewed corresponding to the small top-heap sequence to the region corresponding to the node in the large top-heap sequence until the value of each node in the large top-heap sequence is zero or the value of the node in the small top-heap sequence is zero. In the max-heap sequence, the value of each parent node is greater than the value of its child node, and in the min-heap sequence, the value of each parent node is less than the value of its child node. The parent nodes in the max-heap sequence and the min-heap sequence are added sequentially to complete the allocation of human resources. After each round of addition, the max-heap sequence and the min-heap sequence are internally sorted, and the sorting is performed between the parent nodes and the child nodes.

2. The method according to claim 1, characterized in that, The step of obtaining the human resources numerical indicators corresponding to each region based on the regional approval data includes: Determine the product of the average approval time and the number of pending approvals for the current region, and use the ratio of the product to a preset time interval as the first human resource value; The difference between the number of approval personnel in the current region and the first human resource value is determined as the human resource value index corresponding to the current region; wherein, the regional approval data includes the current number of approval personnel, the average approval time, and the number of pending approvals.

3. The method according to claim 1, characterized in that, The adjustment of the regional approval data based on the preset scheduling algorithm and the corresponding human resource numerical indicators for each region includes: Determine the first set of regions with positive human resource numerical indicators and the second set of regions with negative human resource numerical indicators. The quantities to be reviewed corresponding to each region in the second region set are adjusted and allocated to regions in the first region set.

4. The method according to claim 3, characterized in that, Before adjusting and allocating the pending quantities corresponding to each region in the second region set to regions in the first region set, the method further includes: Sort the human resources numerical index values ​​corresponding to the first region set, and store the sorted human resources numerical index value set into the first array; Sort the human resources numerical index values ​​corresponding to the second region set, and store the sorted human resources numerical index value set into the second array; The step of adjusting and allocating the quantity to be reviewed corresponding to each region in the second region set to the regions in the first region set, so that the human resource numerical indicators corresponding to each region reach the preset value, includes: The quantity to be reviewed corresponding to each element in the second array is dynamically adjusted and allocated to the region corresponding to the element in the second array until the value of each element in the first array is zero or the value of each element in the second array is zero.

5. The method according to claim 4, characterized in that, The step of sorting the human resource numerical indicator values ​​corresponding to the first region set and storing the sorted human resource numerical indicator value set into the first array includes: The human resources numerical indicator values ​​corresponding to the first region set are sorted in ascending order, and the sorted human resources numerical indicator value set is stored in the first array. The step of sorting the human resource numerical indicator values ​​corresponding to the second region set and storing the sorted human resource numerical indicator value set into the second array includes: The human resource numerical indicator values ​​corresponding to the second region set are sorted in descending order, and the sorted human resource numerical indicator value set is stored in the second array.

6. The method according to claim 4, characterized in that, The step of sorting the human resource numerical indicator values ​​corresponding to the first region set and storing the sorted human resource numerical indicator value set into the first array includes: The human resources numerical indicator values ​​corresponding to the first region set are sorted in descending order, and the sorted human resources numerical indicator value set is stored in the first array. The step of sorting the human resource numerical indicator values ​​corresponding to the second region set and storing the sorted human resource numerical indicator value set into the second array includes: The human resource numerical indicator values ​​corresponding to the second region set are sorted in ascending order, and the sorted human resource numerical indicator value set is stored in the second array.

7. A resource scheduling device, characterized in that, Scenarios for online approval systems include: The first acquisition unit acquires the approval data of the business process nodes; A determining unit is used to determine the regional approval data for each region in the current business system based on the approval data; wherein, the regional approval data includes business approval data and human resources data for the current geographical region; The second acquisition unit is used to acquire the human resources numerical indicators corresponding to each region based on the regional approval data; wherein, the human resources numerical indicators are used to indicate the matching status of the current region's business data and human resources. The adjustment unit is used to adjust the regional approval data based on a preset scheduling algorithm and the human resource numerical indicators corresponding to each region, so that the human resource numerical indicators corresponding to each region reach the preset value. The device is further configured to: construct a max-heap sequence based on the human resource values ​​corresponding to the first set of regions, wherein the first set of regions is a set of regions with positive human resource value indicators; construct a min-heap sequence based on the human resource values ​​corresponding to the second set of regions, wherein the second set of regions is a set of regions with negative human resource value indicators; and adjust and allocate the quantity to be reviewed corresponding to each region in the second set of regions to the regions in the first set of regions, so that the human resource value indicator corresponding to each region reaches a preset value. The device further includes: dynamically adjusting and allocating the pending quantity corresponding to the min-heap sequence to the region corresponding to the node in the max-heap sequence, until the value of each node in the max-heap sequence is zero or the value of the node in the min-heap sequence is zero. In the max-heap sequence, the value of each parent node is greater than the value of its child node, and in the min-heap sequence, the value of each parent node is less than the value of its child node. The parent nodes in the max-heap sequence and the min-heap sequence are added sequentially to complete the allocation of human resources. After each round of addition, the max-heap sequence and the min-heap sequence are internally sorted, and the sorting is performed between the parent nodes and the child nodes.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein the program, when executed, performs the method according to any one of claims 1 to 6.

9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 6 through the computer program.

Citation Information

Patent Citations

  • Task scheduling method and device

    CN110264036A

  • Task response timeliness evaluation method, scheduling method, equipment and storage medium

    CN110363410A

  • Business resource balanced allocation method and device, storage medium and electronic equipment

    CN113743774A