A bank automatic switching task scheduling system
Through the priority matching mechanism of obtaining task tags and analysis module through the marking module, the security and efficiency problems caused by random assignment of tasks are solved, and the efficient and safe processing of tasks in the bank automation system is realized.
Patent Information
- Application Number
- CN202410931990.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The random assignment of tasks in the existing technology affects the security and efficiency of task processing, affecting the overall performance of the bank automation system.
Use the marking module to obtain task tags, including creation date, priority and maximum allowed stay time. Through the analysis module and server group matching, the priority server processes the tasks to ensure that tasks are matched according to priority and time limit, improving the security and safety of task distribution. efficiency.
Through priority matching and time limit management, it ensures that tasks are processed according to priority, improves the efficiency and safety of task processing, avoids task stranding, and optimizes the resource utilization of the bank automation system.
Smart Images

Figure CN118467143B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of task scheduling, and in particular to a bank automatic switching task scheduling system. Background Art
[0002] Currently, all major commercial banks have carried out centralized operation and management reforms, and some of the work that was previously completed at the counter and front desk, such as customer identity information, remittance slips, deposit slips and other images, are uniformly transmitted to the back office and completed by the centralized operation center. After the centralized operation center receives the task, the dispatcher manually assigns the task to the corresponding server for automatic processing. After receiving the task, the server processes the task and submits the processed results to the system, which automatically feeds back the results to the designated location or system.
[0003] Chinese Patent Publication No.: CN104636878A discloses a scheduling device and method for automatic processing of bank tasks, including: a scheduling start module uses the same time configuration to trigger the scheduling of local application processing logic; the task processing module prepares task transaction processing data when the trigger scheduling is successful, executes the local automatic processing task application processing logic, or calls the bank online business processing service provided by the bank business processing server cluster; the database server registers the automatic task mutex and automatic task flow record information, and records the bank business data information; if the task processing module automatic task business logic processes abnormally, the relevant abnormal information is registered; if the task processing module automatic task business logic processes normally, the relevant normal information is registered; the scheduling end module updates the automatic task flow record information when the automatic task application logic is executed, and updates the automatic task mutex state, and the scheduling cycle ends; It can be seen that the above technical solution has the following problems: the prior art uses a random task allocation method to allocate tasks to be processed to each server for processing, which affects the security of task processing and thus affects the efficiency of task processing. Summary of the invention
[0004] To this end, the present invention provides a bank automatic switching task scheduling system to overcome the problem that the prior art uses a random task allocation method to allocate tasks to be processed to each server for processing, which affects the security of task processing and further affects the task processing efficiency.
[0005] To achieve the above object, the present invention provides a bank automatic switching task scheduling system, comprising:
[0006] A tagging module, which is used to obtain pending tasks and determine tags for the tasks based on the pending tasks, the tags including creation date, priority, processing time and maximum allowed retention time;
[0007] A server group, which includes several servers with different priorities;
[0008] An analysis module, which is connected to the marking module and the server group respectively, and is used to determine a corresponding matching server according to the label of the task to be processed;
[0009] A delivery module, which is used to deliver the tasks to be processed to the corresponding server;
[0010] The recording module is used to record the completion time of a single pending task from its creation to its completion when the task is completed.
[0011] Furthermore, the priority includes several levels, each level being a first priority, a second priority, a third priority and a fourth priority;
[0012] The analysis module is used to match the tasks to be processed with the servers of the same priority;
[0013] The analysis module is used to obtain servers with high priority levels that are only one level higher than the priority level of a single task, and match the single task with each server.
[0014] Furthermore, the analysis module matches the tasks to be processed with servers of the same priority based on the tags, including:
[0015] If there is a single server whose sorting time is less than the maximum retention time limit, the pending tasks will be sent to this server;
[0016] If there are multiple servers whose sorting time is less than the maximum retention time limit, the pending tasks will be sent to the server with the shortest sorting time;
[0017] If the sorting time of each server is greater than the maximum retention time limit, the analysis module traverses the task lists of each server with the same priority to re-match the pending tasks with each server with the same priority;
[0018] The sorting time for a single server is the sum of the time it takes for a single server to complete each predecessor task assigned by the analysis module.
[0019] Furthermore, the analysis module sequentially traverses the task lists of each server of the same priority, and for a single server, determines the last task obtained in the server as the coordination task. The analysis module matches the to-be-processed tasks with each server of the same priority according to the remaining duration of the coordination task, including:
[0020] If the remaining time is greater than or equal to the first-level priority time, and the time taken by a single server to process each predecessor task is less than the remaining time of the task to be processed, the task to be processed will be sent to the server and the processing of the task to be processed will be placed before the task to be processed;
[0021] If the remaining duration is greater than or equal to the first-level priority duration, and the duration required for a single server to process each predecessor task is greater than the remaining duration of the task to be processed, the analysis module determines whether to match the task to be processed with the server based on the task list of the single server obtained;
[0022] If the remaining time is greater than the first-level priority time, and the time required for the server to process the predecessor task is less than the remaining time of the task to be processed, the task to be processed is transmitted to the server and the last task in the server is determined as the task to be coordinated;
[0023] If the remaining time is less than the first-level priority time, and the time required for the server to process the predecessor task is greater than the remaining time of the pending task, the server cannot prioritize the pending task, and the analysis module traverses the task list of the next server to determine whether to transfer the pending task to the next server;
[0024] The remaining time is the difference between the maximum allowed retention time of a single task in the server and the cumulative time of establishing the task;
[0025] The cumulative duration is the duration from the creation date of a single task to the current time node;
[0026] The first-level priority sorting time is the sum of the processing time for a single server to complete each predecessor task and the processing time for a single server to complete the pending tasks.
[0027] Further, the analysis module traverses the task list of a single server under the condition that the remaining time is greater than or equal to the first-level priority sorting time, and the time required for a single server to process each predecessor task is greater than the remaining time of the task to be processed, and determines the second-to-last task as the coordination task. The analysis module determines whether to match the task to be processed with the server according to the remaining time of the coordination task, including:
[0028] If the remaining time is greater than the first-level priority time, and the time required for the server to process the predecessor task is less than the remaining time of the task to be processed, the task to be processed is transmitted to the server and the last task and the second to last task in the server are determined as tasks to be coordinated;
[0029] If the remaining time is still greater than or equal to the first-level priority time, and the time required for a single server to process each predecessor task is still greater than the remaining time of the task to be processed, the analysis module traverses the task list of the next server to determine whether to transfer the task to be processed to the next server.
[0030] Furthermore, the analysis module determines whether to change the server of the corresponding level based on the priority of the task to be scheduled, obtains each server with a high level and only one level higher than the priority of the task to be scheduled, and matches the task to be scheduled with each server;
[0031] If the sorting time of each server is greater than the maximum retention time limit of the task to be scheduled, the task to be scheduled will be matched with the servers of the same priority.
[0032] Furthermore, the analysis module obtains servers with high priority levels that are only one level higher than the single task priority level under the condition that the single task cannot match the server with the same priority level, and matches the single task with the servers.
[0033] Furthermore, under the condition that a single task cannot match a server with the same priority and the priority of the single task is the first priority, the analysis module issues an alarm message for increasing the number of servers with the first priority.
[0034] Furthermore, the analysis module determines whether to adjust the number of corresponding servers of a single level based on the average time taken by each server of a single level to complete each task, including:
[0035] If the average duration is less than or equal to the preset average duration, the number of servers at a single level is maintained;
[0036] If the average duration is greater than a preset average duration, the analysis module issues an alarm message for increasing the number of servers of a single level.
[0037] Furthermore, the analysis module compares the adjusted number with the preset maximum number after completing the redetermination of the number of servers at a single level, and determines whether to adjust the number of services at the previous level according to the comparison result, including:
[0038] If the adjusted quantity is greater than the preset maximum quantity, an alarm message is issued to adjust the quantity of the upper-level service.
[0039] Compared with the prior art, the beneficial effect of the present invention lies in that, based on the label, the level of the server that should process the task is preliminarily determined, and the server with the same priority level as the task is prioritized, the first priority is the highest, and the fourth priority is the lowest. The high-level server can process the low-level priority task. If there is a single server whose sorting time is less than the maximum retention time limit, the task is delivered to the server. If there are multiple servers whose sorting time is less than the maximum retention time limit, a server with the smallest sorting time is selected; if there is no server whose sorting time is less than the maximum retention time limit, the analysis module determines whether there is a server at this level that can process the task to be processed; the sorting time for a single server is how long it takes for the server to start processing the task to be processed; each task to be processed is processed by a server of the corresponding priority to ensure the security of the information; according to the actual processing of each task by each server of a single level, the tasks to be processed are allocated in a targeted manner, which effectively improves the efficiency of task processing.
[0040] Furthermore, the analysis module determines whether there is a server in a single level of servers that can process the pending task, retrieves each server in turn to obtain the task list of each server, and for a single server, obtains the remaining time of the last task in the server, the remaining time is the maximum allowable retention time of the task minus the cumulative establishment time, the cumulative establishment time is the time interval from the establishment date of the task to the current time node, if the remaining time of the task is greater than or equal to the first-level priority sorting time, and the time required for the server to process the predecessor task is less than the remaining time of the pending task, the pending task is ranked second to last for processing, and the first-level priority sorting time is the time required for the server to complete the processing of the predecessor task and the pending task; if the remaining time of the task is less than the first-level priority sorting time, and the time required for the server to process the predecessor task is less than the remaining time of the pending task, the pending task is queued as the last task for processing; further determine the specific allocation measures for the pending tasks, and reasonably allocate the tasks on the premise of ensuring that each task can be processed within the maximum allowable retention time, thereby effectively improving the efficiency of processing each task.
[0041] Furthermore, the analysis module matches the task to be scheduled with servers of a higher priority level based on the label. If the match with the servers of a higher priority level cannot be completed, it will be sent back to the server of the same level as the task to be scheduled for processing. This task could not be processed by the server of the same level before, resulting in it being transferred to a high-level server for processing. However, before it can be processed, it is squeezed out by other high-level tasks. At this time, the server of the same level will complete the processing of some tasks during this period and will be able to process the task to be scheduled, so it will be transferred back to the server of the original level for processing. Each task is scheduled so that each server can process each task in a timely manner, effectively improving the efficiency of task processing.
[0042] Furthermore, if there is no server at the same level that can handle the task to be processed, the server information at a higher level is collected to re-determine whether there is a server at the higher level that can handle the task. However, in order to ensure the security of the task information machine server, it can only be upgraded by one level, which further ensures the rationality of task allocation. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 This is a module block diagram of a bank automatic switching task scheduling system according to an embodiment of the present invention;
[0044] Figure 2 This is a logical decision diagram for matching the tasks to be processed with servers of the same priority based on tags according to an embodiment of the present invention. DETAILED DESCRIPTION
[0045] In order to make the objects and advantages of the present invention more clearly understood, the present invention is further described below in conjunction with embodiments; it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0046] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0047] It should be noted that, in the description of the present invention, terms such as "up", "down", "left", "right", "inside" and "outside" indicating directions or positional relationships are based on the directions or positional relationships shown in the drawings. This is merely for the convenience of description and does not indicate or imply that the device or element must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention.
[0048] In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0049] See also Figure 1 as well as Figure 2 As shown, they are respectively a module block diagram of the bank automatic switching task scheduling system according to an embodiment of the present invention, and a logic decision diagram for matching the tasks to be processed with the servers of the same priority based on the tags; the bank automatic switching task scheduling system according to the embodiment of the present invention comprises:
[0050] A tagging module, which is used to obtain pending tasks and determine tags for the tasks based on the pending tasks, the tags including creation date, priority, processing time and maximum allowed retention time;
[0051] A server group, which includes several servers with different priorities;
[0052] An analysis module, which is connected to the marking module and the server group respectively, and is used to determine a corresponding matching server according to the label of the task to be processed;
[0053] A delivery module, which is used to deliver the tasks to be processed to the corresponding server;
[0054] The recording module is used to record the completion time of a single pending task from its creation to its completion when the task is completed.
[0055] Specifically, the priority includes several levels, each level being a first priority, a second priority, a third priority and a fourth priority;
[0056] The analysis module is used to match the tasks to be processed with the servers of the same priority;
[0057] The analysis module is used to obtain servers with high priority levels that are only one level higher than the priority level of a single task, and match the single task with each server.
[0058] Specifically, the analysis module matches the tasks to be processed with servers of the same priority based on the tags, including:
[0059] If there is a single server whose sorting time is less than the maximum retention time limit, the pending tasks will be sent to this server;
[0060] If there are multiple servers whose sorting time is less than the maximum retention time limit, the pending tasks will be sent to the server with the shortest sorting time;
[0061] If the sorting time of each server is greater than the maximum retention time limit, the analysis module traverses the task lists of each server with the same priority to re-match the pending tasks with each server with the same priority;
[0062] The sorting time for a single server is the sum of the time it takes for a single server to complete each predecessor task assigned by the analysis module.
[0063] Based on the label, the level of the server that should process the task is preliminarily determined, and servers with the same priority level as the task are given priority. The first priority is the highest and the fourth priority is the lowest. High-level servers can process low-level priority tasks. If there is a single server whose sorting time is less than the maximum retention time limit, the task is sent to the server. If there are multiple servers whose sorting time is less than the maximum retention time limit, a server with the smallest sorting time is selected; if there is no server whose sorting time is less than the maximum retention time limit, the analysis module determines whether there is a server at this level that can process the pending task; the sorting time for a single server is how long it takes for the server to start processing the pending task; each pending task is processed by a server of the corresponding priority to ensure the security of the information; according to the actual processing of each task by each server of a single level, the pending tasks are allocated in a targeted manner, which effectively improves the efficiency of task processing.
[0064] Specifically, the analysis module sequentially traverses the task lists of each server of the same priority, and for a single server, determines the last task obtained in the server as the coordination task. The analysis module matches the to-be-processed tasks with each server of the same priority according to the remaining duration of the coordination task, including:
[0065] If the remaining time is greater than or equal to the first-level priority time, and the time taken by a single server to process each predecessor task is less than the remaining time of the task to be processed, the task to be processed will be sent to the server and the processing of the task to be processed will be placed before the task to be processed;
[0066] If the remaining duration is greater than or equal to the first-level priority duration, and the duration required for a single server to process each predecessor task is greater than the remaining duration of the task to be processed, the analysis module determines whether to match the task to be processed with the server based on the task list of the single server obtained;
[0067] If the remaining time is greater than the first-level priority time, and the time required for the server to process the predecessor task is less than the remaining time of the task to be processed, the task to be processed is transmitted to the server and the last task in the server is determined as the task to be coordinated;
[0068] If the remaining time is less than the first-level priority time, and the time required for the server to process the predecessor task is greater than the remaining time of the pending task, the server cannot prioritize the pending task, and the analysis module traverses the task list of the next server to determine whether to transfer the pending task to the next server;
[0069] The remaining time is the difference between the maximum allowed retention time of a single task in the server and the cumulative time of establishing the task;
[0070] The cumulative duration is the duration from the creation date of a single task to the current time node;
[0071] The first-level priority sorting time is the sum of the processing time for a single server to complete each predecessor task and the processing time for a single server to complete the pending tasks.
[0072] The analysis module determines whether there is a server in a single level of servers that can process the pending task, and retrieves each server in turn to obtain the task list of each server. For a single server, the remaining time of the last task in the server is obtained. The remaining time is the maximum allowable retention time of the task minus the cumulative establishment time. The cumulative establishment time is the time interval from the establishment date of the task to the current time node. If the remaining time of the task is greater than or equal to the first-level priority sorting time, and the time required for the server to process the predecessor task is less than the remaining time of the pending task, the pending task will be ranked second to last for processing. The first-level priority sorting time is the time required for the server to complete the processing of the predecessor task and the pending task; if the remaining time of the task is less than the first-level priority sorting time, and the time required for the server to process the predecessor task is less than the remaining time of the pending task, the pending task will be queued as the last task for processing; further determine the specific allocation measures for the pending tasks, and reasonably allocate each task on the premise of ensuring that each task can be completed within the maximum allowable retention time, effectively improving the efficiency of each task processing.
[0073] Specifically, the analysis module traverses the task list of a single server under the condition that the remaining time is greater than or equal to the first-level priority sorting time, and the time required for a single server to process each predecessor task is greater than the remaining time of the task to be processed, and determines the second-to-last task as a coordination task. The analysis module determines whether to match the task to be processed with the server according to the remaining time of the coordination task, including:
[0074] If the remaining time is greater than the first-level priority time, and the time required for the server to process the predecessor task is less than the remaining time of the task to be processed, the task to be processed is transmitted to the server and the last task and the second to last task in the server are determined as tasks to be coordinated;
[0075] If the remaining time is still greater than or equal to the first-level priority time, and the time required for a single server to process each predecessor task is still greater than the remaining time of the task to be processed, the analysis module traverses the task list of the next server to determine whether to transfer the task to be processed to the next server.
[0076] Specifically, the analysis module determines whether to change the server of the corresponding level based on the priority of the task to be scheduled, obtains each server with a high level and only one level higher than the priority of the task to be scheduled, and matches the task to be scheduled with each server;
[0077] If the sorting time of each server is greater than the maximum retention time limit of the task to be scheduled, the task to be scheduled will be matched with the servers of the same priority.
[0078] The analysis module matches the task to be scheduled with servers of a higher priority level based on the label. If the match cannot be completed with servers of a higher priority level, it will be sent back to the server of the same level as the task to be scheduled for processing. This task could not be processed by the server of the same level before, so it was transferred to a high-level server for processing. However, before it could be processed, it was squeezed out by other high-level tasks. At this time, the server of the same level will complete the processing of some tasks during this period and will be able to process the task to be scheduled, so it will be transferred back to the server of the original level for processing. Each task is scheduled so that each server can process each task in a timely manner, which effectively improves the efficiency of task processing.
[0079] Specifically, the analysis module obtains servers with high priority levels that are only one level higher than the single task priority level under the condition that the single task cannot match the server with the same priority level, and matches the single task with the servers.
[0080] If there is no server at the same level that can handle the task to be processed, the server information at a higher level will be collected to re-determine whether there is a server at the higher level that can handle the task. However, in order to ensure the security of the task information machine server, it can only be upgraded by one level, which further ensures the rationality of task allocation.
[0081] Specifically, under the condition that a single task cannot match a server with the same priority and the priority of the single task is the first priority, the analysis module issues an alarm message for increasing the number of servers with the first priority.
[0082] In this embodiment, preferably,
[0083] Obtaining the number of tasks to be processed at the first priority level at a number of time nodes and calculating the average value of each number, the analysis module compares the average value B with a first preset average comparison threshold value B1 and a second preset average comparison threshold value B2, including:
[0084] If B≤B1, the analysis module determines the increase number of servers of the first priority as the first increase number F1, and sets F1=0.1F0;
[0085] If B1<B≤B2, the analysis module determines the increase number of servers of the first priority as the second increase number F2, and sets F1=0.13F0;
[0086] If B>B2, the analysis module determines the increase number of servers of the first priority as the first increase number F3, and sets F3=0.22F0;
[0087] Among them, F0 is the initial number of servers with the first priority, B1=1.12B0, B2=1.35B0, B0 is a preset value, and the historical average value B0 of the number of tasks to be processed with the first priority at each time node in the historical data is obtained in advance.
[0088] Specifically, the status of pending tasks at each time node in the current short period of time is obtained to compare it with the number of pending tasks in historical data to determine the extent of task changes in the current short period of time.
[0089] Specifically, the analysis module determines whether to adjust the number of corresponding servers of a single level based on the average time for each server of a single level to complete each task, including:
[0090] If the average duration is less than or equal to the preset average duration, the number of servers at a single level is maintained;
[0091] If the average duration is greater than a preset average duration, the analysis module issues an alarm message for increasing the number of servers of a single level.
[0092] Specifically, the preset average duration T0 is selected within the interval [1.23L0, 1.35L0], and L0 is the average duration for servers of each level to complete each task in the acquired historical data.
[0093] In this embodiment, preferably,
[0094] The analysis module compares the average duration T with a first preset duration comparison threshold T1 and a second preset duration comparison threshold T2 to determine the number of servers of a single level, including:
[0095] If T≤T1, the analysis module determines the number of servers of a single level as the first number of devices N1, and sets N1=1.11N0;
[0096] If T1<T≤T2, the analysis module determines the number of servers of the first priority as the second number of devices N2, and sets N1=1.21N0;
[0097] If T>T2, the analysis module determines the number of servers of the first priority as the third number of devices N3, and sets N3=1.28N0;
[0098] Among them, N0 is the initial number of servers of a single level, T1=1.35T0, T2=1.56T0.
[0099] Specifically, the analysis module, after completing the redetermination of the number of servers at a single level, compares the adjusted number with the preset maximum number, and determines whether to adjust the number of the previous level service according to the comparison result, including:
[0100] If the adjusted quantity is greater than the preset maximum quantity, an alarm message is issued to adjust the quantity of the upper-level service.
[0101] Specifically, the preset maximum number Nm is selected in the interval [0.45Z, 0.57Z], where Z is the total number of servers at each level.
[0102] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A bank automatic switching task scheduling system, characterized in that: include: A tagging module, which is used to obtain pending tasks and determine tags for the tasks based on the pending tasks, the tags including creation date, priority, processing time and maximum allowed retention time; A server group, which includes several servers with different priorities; An analysis module, which is connected to the marking module and the server group respectively, and is used to determine a corresponding matching server according to the label of the task to be processed; A delivery module, which is used to deliver the tasks to be processed to the corresponding server; A recording module is used to record the completion time of a single pending task from its creation to its completion when the task is completed; The priority includes several levels, each level is a first priority, a second priority, a third priority and a fourth priority; The analysis module is used to match the tasks to be processed with the servers of the same priority; The analysis module is used to obtain servers with a high level and only one level higher than the priority of a single task, and match the single task with each server; The analysis module matches the tasks to be processed with servers of the same priority based on the tags, including: If there is a single server whose sorting time is less than the maximum retention time limit, the pending tasks will be sent to this server; If there are multiple servers whose sorting time is less than the maximum retention time limit, the pending tasks will be sent to the server with the shortest sorting time; If the sorting time of each server is greater than the maximum retention time limit, the analysis module traverses the task lists of each server with the same priority to re-match the pending tasks with each server with the same priority; The sorting time for a single server is the sum of the time it takes for a single server to complete each pre-task assigned by the analysis module; The analysis module sequentially traverses the task lists of each server of the same priority. For a single server, the last task obtained in the server is determined as the coordination task. The analysis module matches the pending tasks with each server of the same priority according to the remaining duration of the coordination task, including: If the remaining time is greater than or equal to the first-level priority time, and the time taken by a single server to process each predecessor task is less than the remaining time of the task to be processed, the task to be processed will be sent to the server and the processing of the task to be processed will be placed before the task to be processed; If the remaining duration is greater than or equal to the first-level priority duration, and the duration required for a single server to process each predecessor task is greater than the remaining duration of the task to be processed, the analysis module determines whether to match the task to be processed with the server based on the task list of the single server obtained; If the remaining time is greater than the first-level priority time, and the time required for the server to process the predecessor task is less than the remaining time of the task to be processed, the task to be processed is transmitted to the server and the last task in the server is determined as the task to be coordinated; If the remaining time is less than the first-level priority time, and the time required for the server to process the predecessor task is greater than the remaining time of the pending task, the server cannot prioritize the pending task, and the analysis module traverses the task list of the next server to determine whether to transfer the pending task to the next server; The remaining time is the difference between the maximum allowed retention time of a single task in the server and the cumulative time of establishing the task; The cumulative duration is the duration from the creation date of a single task to the current time node; The first-level priority sorting time is the sum of the processing time for a single server to complete each predecessor task and the processing time for a single server to complete the pending tasks.
2. The bank automatic switching task scheduling system according to claim 1 is characterized in that: The analysis module traverses the task list of a single server under the condition that the remaining time is greater than or equal to the first-level priority sorting time, and the time required for a single server to process each predecessor task is greater than the remaining time of the task to be processed, and determines the second-to-last task as a coordination task. The analysis module determines whether to match the task to be processed with the server according to the remaining time of the coordination task, including: If the remaining time is greater than the first-level priority time, and the time required for the server to process the predecessor task is less than the remaining time of the task to be processed, the task to be processed is transmitted to the server and the last task and the second to last task in the server are determined as tasks to be coordinated; If the remaining time is still greater than or equal to the first-level priority time, and the time required for a single server to process each predecessor task is still greater than the remaining time of the task to be processed, the analysis module traverses the task list of the next server to determine whether to transfer the task to be processed to the next server.
3. The bank automatic switching task scheduling system according to claim 2 is characterized in that: The analysis module determines whether to change the server of the corresponding level based on the priority of the task to be scheduled. The analysis module obtains servers with a high level and only one level higher than the priority of the task to be scheduled, and matches the task to be scheduled with each server; If the sorting time of each server is greater than the maximum retention time limit of the task to be scheduled, the task to be scheduled will be matched with the servers of the same priority.
4. The bank automatic switching task scheduling system according to claim 3 is characterized in that: The analysis module obtains servers with high priority levels and only one level higher than the single task priority level under the condition that the single task cannot match the server with the same priority level, and matches the single task with the servers.
5. The bank automatic switching task scheduling system according to claim 4 is characterized in that: The analysis module issues an alarm message for increasing the number of servers with the first priority when a single task cannot match a server with the same priority and the priority of the single task is the first priority.
6. The bank automatic switching task scheduling system according to claim 5 is characterized in that: The analysis module determines whether to adjust the number of corresponding servers of a single level based on the average time taken by each server of a single level to complete each task, including: If the average duration is less than or equal to the preset average duration, the number of servers at a single level is maintained; If the average duration is greater than a preset average duration, the analysis module issues an alarm message for increasing the number of servers of a single level.
7. The bank automatic switching task scheduling system according to claim 6 is characterized in that: The analysis module compares the adjusted number with the preset maximum number after completing the redetermination of the number of servers at a single level, and determines whether to adjust the number of services at the previous level according to the comparison result. include, If the adjusted quantity is greater than the preset maximum quantity, an alarm message is issued to adjust the quantity of the upper-level service.
Citation Information
Patent Citations
Dispatching method and device of bank automatic processing task
CN104636878A
Job scheduling method used for cloud computing system
CN104461722A
Job scheduling control method and device, equipment and storage medium
CN112613840A
Task allocation method and device, intelligent equipment and storage medium
CN116126501A
Edf implementation for real-time systems having static priorities
WO2009034063A2
