Batch job scheduling system, method, device and storage medium

By deploying the second scheduling device on each business system, taking over and continuing to execute batch operations, the problem of batch operations being unable to be executed when the centralized job scheduling system fails, ensuring the normal execution of daily batch tasks in the banking industry and reducing the fault Impact on the business.

CN112000451BActive Publication Date: 2024-11-22CHINA CONSTRUCTION BANK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010836712.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-19
Publication Date
2024-11-22
Estimated Expiration
2040-08-19

AI Technical Summary

Technical Problem

The failure of batch operations to be performed when the centralized operation scheduling system fails, affecting the execution of daily batch tasks in the banking industry, and may lead to delays in opening the bank branch or delays in the generation of regulatory reports.

Method used

The second scheduling device is deployed on each business system to obtain a batch job list from the first scheduling device and take over the batch job scheduling when the first scheduling device fails to ensure that the job execution program on the business system continues to execute the batch job until The first scheduling device is restored.

Benefits of technology

Through the two-layer job scheduling method, the impact of centralized job scheduling failures on batch jobs is reduced, ensuring the normal execution of daily batch tasks, and avoiding delays and potential business impacts caused by failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112000451B_ABST
    Figure CN112000451B_ABST
Patent Text Reader

Abstract

The embodiments of the present invention provide a batch job scheduling system, method, device and storage medium, which relate to the field of batch job scheduling. The system includes: a first scheduling device, which is used to schedule the job execution program on each business system to execute batch jobs according to the batch job list of each business system; multiple second scheduling devices, which are respectively deployed on each business system, and the second scheduling device is used to obtain the batch job list of the current business system from the first scheduling device, and when the first scheduling device fails, schedule the job execution program on the current business system to execute batch jobs according to the batch job list of the current business system, wherein the current business system is the business system where the second scheduling device is located. The batch job scheduling system provided by the embodiments of the present invention can solve the problem that batch job scheduling cannot be executed when a centralized job scheduling device fails, thereby reducing the impact of the failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of batch job scheduling, and in particular to a batch job scheduling system, method device and storage medium. Background Art

[0002] For banking business systems, at the end of each day, it is usually necessary to complete end-of-day batch processing tasks based on their business characteristics.

[0003] In the related art, batch processing of each business system is usually centrally scheduled and managed by a centralized job scheduling system. The centralized job scheduling system will centrally schedule the job execution programs of each business system to execute batch jobs according to the batch processing plan, so that each business system can complete the batch processing tasks at the end of the day.

[0004] However, this method of scheduling and executing batch jobs relies on a centralized job scheduling device. When a centralized job scheduling device fails, or when problems occur in the computer room environment, hardware, network, etc., the centralized job scheduling device cannot complete the batch scheduling, thereby affecting the execution of the end-of-day batch tasks of the business system. Moreover, even if the centralized job scheduling device repairs the fault, if the repair is not timely, the end-of-day batch of the business system will be delayed, which may affect the normal opening of bank branches or delay the generation of bank regulatory reports. Summary of the invention

[0005] The embodiments of the present invention provide a batch job scheduling system, method, device and storage medium to solve the problem that batch jobs cannot be executed when a centralized job scheduling system fails.

[0006] In one aspect, an embodiment of the present invention provides a batch job scheduling system, the system comprising:

[0007] The first scheduling device is used to schedule the job execution program on each business system to execute the batch job according to the batch job list of each business system;

[0008] Multiple second scheduling devices are deployed on each business system respectively. The second scheduling device is used to obtain the batch job list of the current business system from the first scheduling device, and when the first scheduling device fails, schedule the job execution program on the current business system to execute batch jobs according to the batch job list of the current business system, wherein the current business system is the business system where the second scheduling device is located.

[0009] In an implementation of this embodiment, the second scheduling device includes:

[0010] A first detection unit, used to detect whether the connection between the current service system and the first scheduling device is disconnected for a set time length;

[0011] A switch unit, configured to disconnect the current service system from the first scheduling device after detecting that the connection between the current service system and the first scheduling device is disconnected for a set time length;

[0012] The takeover unit is used to schedule the job execution program on the current business system to execute batch jobs according to the batch job list of the current business system after the connection between the current business system and the first scheduling device is disconnected.

[0013] In an implementation of this embodiment, the second scheduling device further includes:

[0014] The recording unit is used to record the execution results and execution status of the batch jobs scheduled and executed by the takeover unit.

[0015] In an implementation of this embodiment, the second scheduling device further includes: a second detection unit, configured to detect whether the fault of the first scheduling device is repaired;

[0016] The takeover unit is further used to stop scheduling the job execution program on the current business system to execute batch jobs after detecting that the fault of the first scheduling device is repaired;

[0017] The switch unit is also used to restore the connection between the current service system and the first scheduling device.

[0018] In an implementation of this embodiment, the second scheduling device further includes:

[0019] The batch result returning unit is used to return the recorded execution results and execution status of the batch jobs to the first scheduling device after the connection between the current business system and the first scheduling device is restored.

[0020] On the other hand, an embodiment of the present invention provides a batch job scheduling method, which is applied to a second scheduling device deployed in a current business system, and the method includes:

[0021] Obtaining a batch job list of the current business system from the first scheduling device;

[0022] When the first scheduling device fails, the job execution program on the current business system is scheduled to execute the batch jobs according to the batch job list of the current business system.

[0023] In an implementation of this embodiment, when the first scheduling device fails, scheduling the job execution program on the current business system to execute the batch job according to the batch job list of the current business system includes:

[0024] Detecting whether the connection between the current business system and the first scheduling device is disconnected for a set time length;

[0025] When detecting that the connection between the current business system and the first scheduling device is disconnected for a set time length, disconnecting the connection between the current business system and the first scheduling device;

[0026] After the connection between the current business system and the first scheduling device is disconnected, the job execution program on the current business system is scheduled to execute the batch job according to the batch job list of the current business system.

[0027] In an implementation of this embodiment, the method further includes:

[0028] Record the execution results and status of batch jobs.

[0029] In an implementation of this embodiment, the method further includes:

[0030] Detecting whether the fault of the first dispatching device is repaired;

[0031] After detecting that the fault of the first scheduling device is repaired, the connection between the current business system and the second scheduling device is disconnected, and the connection between the current business system and the first scheduling device is restored.

[0032] In an implementation of this embodiment, the method further includes:

[0033] After the connection between the current business system and the first scheduling device is restored, the recorded execution results and execution status of the batch job are returned to the first scheduling device.

[0034] On the other hand, an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, wherein the computer instructions, when executed by a processor, implement the method described in any one of the implementation modes in the above embodiments.

[0035] In another aspect, an embodiment of the present invention provides a computer device, the device comprising:

[0036] Memory for storing computer programs;

[0037] A processor is used to execute the computer program to implement the method described in any one of the above embodiments.

[0038] Compared with the prior art, the batch job scheduling system, method, device and storage medium provided by the embodiments of the present invention have the following technical effects:

[0039] By deploying the second scheduling device on each business system, the second scheduling device obtains the batch job list of the business system from the first scheduling device. When the centralized job scheduling device fails, the second scheduling device can take over the batch job scheduling of the business system from the centralized job scheduling device, and continue to schedule the job execution program on the business system to execute the batch jobs. By adopting a two-layer job scheduling method combining a centralized scheduling device (first scheduling device) and a local scheduling device (second scheduling device), this embodiment can allow the local job scheduling device to continue to schedule and execute the end-of-day batch jobs when the centralized job scheduling device fails, thereby reducing the impact of the failure on the batch jobs. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only drawings of some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 A schematic diagram of the structure of a batch job scheduling system according to an embodiment of the present invention is shown;

[0042] Figure 2 A schematic diagram showing the structure of a second scheduling device in a batch job scheduling system according to an embodiment of the present invention is shown;

[0043] Figure 3 A flow chart of a batch scheduling method applied to a second scheduling device according to an embodiment of the present invention is shown;

[0044] Figure 4 A workflow diagram of a batch job scheduling system according to an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0045] In order to better understand the above technical solution, the above solution will be described in detail below in conjunction with the accompanying drawings and specific implementation plans.

[0046] Embodiment 1

[0047] This embodiment provides a batch job scheduling system including two-layer scheduling devices to reduce the impact of a centralized batch job scheduling system failure on batch jobs. Figure 1 FIG. 1 shows a schematic diagram of the system structure of a batch scheduling system according to Embodiment 1 of the present invention. Figure 1 As shown, the batch scheduling system described in this embodiment includes a first scheduling device 100 and a second scheduling device 200.

[0048] The first scheduling device 100 is used to schedule the job execution program on each business system 300 to execute the batch job according to the batch job list of each business system 300.

[0049] Multiple second scheduling devices 200 are deployed on each business system 300 respectively. The second scheduling device is used to obtain the batch job list of the current business system from the first scheduling device 100, and when the first scheduling device 100 fails, schedule the job execution program on the current business system to execute batch jobs according to the batch job list of the current business system, wherein the current business system is the business system where the second scheduling device is located.

[0050] Specifically, the first scheduling device 100 may be a centralized job scheduling device, which may be deployed on a cloud control system that is communicatively connected to each business system, and communicate with each business system through a communication interface on each business system.

[0051] The batch job list is an execution plan file for the batch job, which can be configured with batch processing tasks that need to be completed. The batch job list of each business system can be saved in the first scheduling device 100 and maintained by the first scheduling device 100. When there is no failure, the first scheduling device 100 can schedule the job execution programs on each business system to execute the batch job according to the batch job list of each business system. After the job execution program on each business system executes the batch job, it can return the execution result and execution status of the batch job to the first scheduling device. Afterwards, the first scheduling device can mark the execution result and execution status of the batch job in the batch job list. For example, the execution status of the batch job is marked as completed, and the execution result is marked as OK. In this way, the first scheduling device 100 can continuously maintain and update the execution result and execution status of each batch job in the batch job list.

[0052] In an implementation of this embodiment, the first scheduling device 100 may also provide a configuration interface so that operation and maintenance personnel can configure and maintain the batch job list of each business system.

[0053] The second scheduling device 200 is a job scheduling device local to the business system, which can be deployed on the business system 300. A business system may include multiple managed servers, and the job execution programs on each managed server can be uniformly scheduled and executed by the second scheduling device deployed on the business system. In a scenario with multiple business systems, a second scheduling device can be deployed on a business system, and each second scheduling device can be respectively connected to the first scheduling device for communication, and obtain and synchronously update the batch job list of its current business system (i.e., the business system where the first scheduling device is located) from the first scheduling device.

[0054] When the first scheduling device 100 fails, the second scheduling device 200 can schedule the job execution program on the business system where it is located to execute the batch job according to the batch job list. For example, the job execution program is called to execute the batch job in the batch job list whose execution status is not executed.

[0055] This embodiment deploys a local job scheduling device (second scheduling device) on each business system, and enables the local business scheduling device to obtain the batch job list of each business system from the centralized job scheduling device (first scheduling device). When the centralized job scheduling device fails, the local job scheduling device on the business system can take over the batch job scheduling of the business system from the centralized job scheduling device, and continue to schedule the job execution program on the business system to execute batch jobs according to the obtained batch job list. By adopting a two-layer job scheduling device, this embodiment can allow the local job scheduling device of the business system to continue to schedule and execute batch jobs when the centralized job scheduling device fails, thereby avoiding affecting the execution of batch jobs at the end of the day.

[0056] Embodiment 2

[0057] Figure 2 FIG. 2 shows a schematic diagram of the structure of a second scheduling device according to Embodiment 2 of the present invention. The second scheduling device may be a lightweight job scheduling program, which may be an automated script written in a programming tool such as Python. Figure 2 As shown, the second scheduling device 200 in the batch scheduling system described in this embodiment specifically includes: a first detection unit 201, a switch unit 202 and a takeover unit 203.

[0058] The first detection unit 201 is used to detect whether the connection between the current service system and the first scheduling device is disconnected for a set time length.

[0059] The switch unit 202 is used to disconnect the current service system from the first scheduling device when it is detected that the connection between the current service system and the first scheduling device is disconnected for a set time length.

[0060] The takeover unit 203 is used to schedule the job execution program on the current business system to execute batch jobs according to the batch job list of the current business system after the connection between the current business system and the first scheduling device is disconnected.

[0061] When the centralized job scheduling device fails, the second job scheduling device provided in this embodiment can automatically perform batch job scheduling according to the obtained batch job list, thereby completing the batch task. Compared with manually logging into the managed servers of each business system one by one according to the batch job list to execute batch tasks, this embodiment deploys the second job scheduling device, which automatically takes over and controls the scheduling of batch jobs, thereby improving the execution efficiency of batch jobs and avoiding the operational risks brought by manual control of batch tasks that need to be executed in parallel and have dependencies.

[0062] Specifically, the first detection unit 201 can detect whether the connection between its current business system 300 and the first scheduling device 100 (i.e., the communication connection between the first detection unit and the current business system) is disconnected for a set time length. If the connection is disconnected for a set time length, for example, the connection is disconnected for 5 minutes, it is considered that the first scheduling device 100 has a fault. At this time, the takeover unit 203 can take over the batch job scheduling of the current business system from the first scheduling device 100, and schedule the job execution program on the current business system to execute the batch job according to the batch job list of the current business system.

[0063] Furthermore, in order to avoid mistaking the first scheduling device 100 for a failure, so that the second scheduling device 200 and the first scheduling device 100 perform job scheduling at the same time and cause a conflict, the second scheduling device 200 described in this embodiment may further include a switch unit 202. The switch unit 202 may consider that the first scheduling device has a failure after the first detection unit 201 detects that the connection between the current business system 300 and the first scheduling device 100 is disconnected for a set time length, and then disconnect the connection between the current business system 300 and the first scheduling device 100. For example, the connection agent program between the current business system and the first scheduling device is closed. After the connection between the current business system 300 and the first scheduling device 100 is disconnected, the takeover unit 203 may start to schedule the job execution program on the current business system according to the batch job list of the current business system to execute the batch job, thereby taking over the job scheduling of the current business system from the first scheduling device 100.

[0064] For example, if the current business system 300 is disconnected from the first scheduling device 100 for 5 minutes, at this time, if the second scheduling device 200 believes that the first scheduling device 100 has a fault and starts to schedule the job, but in fact the first scheduling device 100 has not failed, the first scheduling device 100 starts to schedule the job again after 5 minutes. At this time, the job scheduling of the first scheduling device and the second scheduling device will conflict. To avoid such a situation, this embodiment completely shuts down the connection between the current business system and the first scheduling device after detecting that the connection between the current business system and the first scheduling device is disconnected for a set time length, and then the second scheduling device takes over the job scheduling of the current business system. In this way, this embodiment can further improve the reliability of job takeover and avoid conflicts.

[0065] Among them, after the second scheduling device takes over the job scheduling of the current business system, it can generate a job list that needs to be executed on the same day based on the execution cycle, execution time, and execution status of each batch job in the batch job list of the current business system. After the execution time arrives, the corresponding job execution program is scheduled according to the job list that needs to be executed on the same day to execute the batch job.

[0066] In an implementation of this embodiment, the second scheduling device 200 may further include: a recording unit 202. The recording unit 202 is used to record the execution results and execution status of the batch jobs scheduled by the second scheduling device 200. For example, the recording unit may mark the execution results and execution status of the batch jobs in the batch job list.

[0067] In an implementation of this embodiment, the execution result and execution status of the batch job may be acquired by the monitoring and alarm system so that the monitoring and alarm system can perform monitoring and alarm.

[0068] In an implementation of this embodiment, the second scheduling device 200 may also actively send the execution result and execution status of the batch job to the monitoring and alarm system so that the monitoring and alarm system performs monitoring and alarm.

[0069] By sending the execution results and execution status of the batch jobs to the monitoring and alarm system, and having the monitoring and alarm system perform unified monitoring and alarming, the second scheduling device provided in this embodiment can be further lightweight to reduce the performance impact on the business system.

[0070] In an implementation of this embodiment, for abnormally executed jobs, the second scheduling device 200 may further output an error log so that operation and maintenance personnel can troubleshoot the cause of the failure.

[0071] In one implementation of this embodiment, the second scheduling device 200 further includes a second detection unit 204 for detecting whether the fault of the first scheduling device is repaired. The second detection unit 204 can be started after the second scheduling device takes over the job scheduling, and continuously detects whether the fault of the first scheduling device is repaired. After the second detection unit 204 detects that the fault of the first scheduling device is repaired, the takeover unit 203 can stop scheduling the job execution program on the current business system to execute batch jobs, and then the switch unit 202 can restore the connection between the current business system and the first scheduling device. For example, the connection agent between the current business system and the first scheduling device can be opened to enable the current business system to resume searching for the first scheduling device to restore the connection with the first scheduling device.

[0072] After detecting that the fault of the first scheduling device is repaired, this embodiment stops the second scheduling device from scheduling the job of the current business system and then restores the connection between the current business system and the first scheduling device, so that the first scheduling device takes over the job scheduling of the current business system. In this way, this embodiment can further improve the reliability of job takeover and avoid conflicts.

[0073] In one implementation of this embodiment, the second scheduling device 200 also includes: a batch result returning unit 205, which is used to return the recorded execution results and execution status of the batch job to the first scheduling device after the connection between the current business system and the first scheduling device is restored, so that the first scheduling device can continue to execute batch job scheduling according to the execution results and execution status of the batch job.

[0074] In one implementation of this embodiment, after the connection between the first scheduling device 100 and the current business system is restored, the second scheduling device 200 can send the execution results and execution status of the batch job to the first scheduling device 100, so that the first scheduling can continue to perform job scheduling based on the execution results and execution status of the batch job.

[0075] In an implementation of this embodiment, the second scheduling device 200 may also dynamically adjust the concurrency of scheduling and executing batch jobs according to the resources of each managed server in the current business system, so as to reasonably utilize the server resources.

[0076] In one implementation of this embodiment, the second scheduling device 200 may also provide a manual configuration interface so that the operation and maintenance personnel can manually configure and arrange the batch job list, or modify the batch job list obtained from the first scheduling device. By providing a manual configuration interface, this embodiment can provide a more flexible job management method.

[0077] Embodiment 3

[0078] This embodiment provides a batch job scheduling method, which can be applied to the second scheduling device in the above-mentioned embodiment 1 or embodiment 2. Figure 3 As shown, the batch job scheduling method described in this embodiment includes the following processing:

[0079] S101: Acquire a batch job list of the current business system from a first scheduling device.

[0080] The current business system is the business system where the second scheduling device is located. The second scheduling device can obtain and synchronously update the batch job list of the current business system from the first scheduling device. The first scheduling device can be a centralized job scheduling device, which can save and maintain a batch job list, and when there is no failure, the first scheduling device can schedule the job execution program on the current business system to execute the batch job according to the batch job list of the current business system, and obtain the execution result and execution status of the batch job, and update the execution result and execution status of the batch job in the batch job list according to the execution result and execution status of the batch job.

[0081] S102: When the first scheduling device fails, scheduling the job execution program on the current business system to execute the batch jobs according to the batch job list of the current business system.

[0082] Wherein, when the first scheduling device fails, scheduling the job execution program on the current business system to execute the batch job according to the batch job list of the current business system may specifically include the following steps:

[0083] Detect whether the connection between the current business system and the first scheduling device has been disconnected for a set time length; when it is detected that the connection between the current business system and the first scheduling device has been disconnected for a set time length, for example, the connection between the current business system and the first scheduling device has been disconnected for 5 minutes, it is considered that the first scheduling device has failed, and at this time, the connection between the current business system and the first scheduling device can be shut down. Specifically, the connection between the current business system and the first scheduling device can be shut down by closing the connection agent between the current business system and the first scheduling device. After the connection between the current business system and the first scheduling device is shut down, the job execution program on the current business system can be scheduled to execute batch jobs according to the batch job list of the current business system.

[0084] Furthermore, the method also includes: recording the execution results and execution devices of the batch jobs.

[0085] Furthermore, the method further comprises:

[0086] Detect whether the fault of the first scheduling device is repaired; after detecting that the fault of the first scheduling device is repaired, the connection between the current business system and the first scheduling device can be cut off, and the connection between the current business system and the first scheduling device can be restored.

[0087] Furthermore, the method also includes: after the faults of the current business system and the first scheduling device are corrected, returning the recorded execution results and execution status of the batch job to the first scheduling device, so that the first scheduling device continues to execute the batch job according to the execution results and execution status of the batch job.

[0088] The batch job scheduling method provided in this embodiment obtains and synchronizes the batch job list of the current business system from the first scheduling device, takes over the batch job scheduling of the current business system from the first scheduling device when a failure occurs in the first scheduling device, and continues to schedule the job execution program on the business system to execute batch jobs, which can solve the problem that batch jobs cannot be executed when a failure occurs in the first scheduling device.

[0089] Embodiment 4

[0090] In order to better understand the technical solution of the present invention, this embodiment will further illustrate the present invention in conjunction with the workflow of the batch scheduling system. Figure 4 : is a workflow diagram of a batch scheduling system according to Embodiment 4 of the present invention. Figure 4 As shown, the workflow of the batch scheduling system described in this embodiment may include:

[0091] S201: The first scheduling device schedules the job execution program on each business system to execute the batch job according to the batch job list of the current business system, and obtains the execution result and execution status of the batch job, and continuously updates the execution status and execution result of the batch job in the batch job list according to the execution result and execution status of the batch job.

[0092] S202: The second scheduling device obtains and synchronizes a batch job list including the current execution status and execution results of the batch jobs of the current business system from the first scheduling device.

[0093] S203: The second scheduling device detects whether the connection between the current service system and the first scheduling device has been disconnected for a set time length.

[0094] It is understandable that steps S201 to S203 can be performed simultaneously.

[0095] S204: After detecting that the connection between the current business system and the first scheduling device is disconnected for a set time period, the second scheduling device disconnects the connection between the current business system and the first scheduling device.

[0096] S205: The second scheduling device schedules the job execution program on the current business system to continue executing the batch job according to the current batch job list of the current business system, and obtains the execution result and execution status of the batch job, and continuously updates the execution result and execution status of the batch job in the batch job list according to the execution result and execution status of the batch job.

[0097] S206: The second dispatching device detects whether the fault of the first dispatching device is repaired.

[0098] S207: After detecting that the fault of the first scheduling device is repaired, the second scheduling device stops scheduling the job execution program on the current business system to execute the batch job.

[0099] S208: The second scheduling device restores the connection between the current service system and the first scheduling device.

[0100] S209: The second scheduling device sends the batch job list including the current execution results and execution status of the batch jobs of the current business system to the first scheduling device.

[0101] S210: The first scheduling device continues to execute batch job scheduling according to the batch job list.

[0102] Through the description of the above embodiments, those skilled in the art can clearly understand that the present invention can be implemented by combining software with a hardware platform. Based on such an understanding, all or part of the contribution of the technical solution of the present invention to the background technology can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in certain parts of the various embodiments or implementation methods of the present invention.

[0103] Embodiment 5

[0104] This embodiment provides a computer storage medium, such as a hard disk, an optical disk, a flash memory, a floppy disk, a magnetic tape, etc., on which computer-readable instructions are stored. The computer-readable instructions can be executed by a processor to implement the batch job scheduling method described in the above embodiment.

[0105] Embodiment 6

[0106] This embodiment provides a computer device, including:

[0107] a memory having a computer program stored thereon,

[0108] A processor can execute the computer program to implement the batch job scheduling method described in the above embodiment.

[0109] The terms and expressions used in this specification are for illustration only and are not intended to be limiting. It should be understood by those skilled in the art that various changes may be made to the details of the above embodiments without departing from the basic principles of the disclosed embodiments. Therefore, the scope of protection of the present invention is determined solely by the claims, and in the claims, unless otherwise specified, all terms should be understood in the broadest reasonable sense.

Claims

1. A batch job scheduling system, characterized in that: The system comprises: The first scheduling device is used to schedule the job execution program on each business system to execute the batch job according to the batch job list of each business system; A plurality of second scheduling devices, respectively deployed on each business system, the second scheduling device is used to obtain a batch job list of the current business system from the first scheduling device, and when the first scheduling device fails, schedules the job execution program on the current business system to execute the batch job according to the batch job list of the current business system, wherein the current business system is the business system where the second scheduling device is located; Wherein, the second scheduling device comprises: A first detection unit, used to detect whether the connection between the current service system and the first scheduling device is disconnected for a set time length; A switch unit, configured to disconnect the current service system from the first scheduling device after detecting that the connection between the current service system and the first scheduling device is disconnected for a set time length; The takeover unit is used to schedule the job execution program on the current business system to execute batch jobs according to the batch job list of the current business system after the connection between the current business system and the first scheduling device is disconnected.

2. The batch job scheduling system according to claim 1, characterized in that: The second scheduling device also includes: The recording unit is used to record the execution results and execution status of the batch jobs scheduled and executed by the takeover unit.

3. The batch job scheduling system according to claim 2 is characterized in that: The second scheduling device also includes: A second detection unit, used to detect whether the fault of the first scheduling device is repaired; The takeover unit is further used to stop scheduling the job execution program on the current business system to execute batch jobs after detecting that the fault of the first scheduling device is repaired; The switch unit is also used to restore the connection between the current service system and the first scheduling device.

4. The batch job scheduling system according to claim 3, characterized in that: The second scheduling device also includes: The batch result returning unit is used to return the recorded execution results and execution status of the batch jobs to the first scheduling device after the connection between the current business system and the first scheduling device is restored.

5. A batch job scheduling method, characterized in that: The method is applied to a second scheduling device deployed in the current business system, and includes: Obtaining a batch job list of the current business system from the first scheduling device; When the first scheduling device fails, scheduling the job execution program on the current business system to execute the batch job according to the batch job list of the current business system; Wherein, when the first scheduling device fails, scheduling the job execution program on the current business system to execute the batch job according to the batch job list of the current business system includes: Detecting whether the connection between the current business system and the first scheduling device is disconnected for a set time length; When detecting that the connection between the current business system and the first scheduling device is disconnected for a set time length, disconnecting the connection between the current business system and the first scheduling device; After the connection between the current business system and the first scheduling device is disconnected, the job execution program on the current business system is scheduled to execute the batch job according to the batch job list of the current business system.

6. The batch job scheduling method according to claim 5, characterized in that: The method further comprises: Record the execution results and status of batch jobs.

7. The batch job scheduling method according to claim 6, wherein the method further comprises: Detecting whether the fault of the first dispatching device is repaired; After detecting that the fault of the first scheduling device is repaired, the connection between the current business system and the second scheduling device is disconnected, and the connection between the current business system and the first scheduling device is restored.

8. The batch job scheduling method according to claim 7, characterized in that: The method further comprises: After the connection between the current business system and the first scheduling device is restored, the recorded execution results and execution status of the batch job are returned to the first scheduling device.

9. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the computer instructions are executed by a processor, the method described in any one of claims 5 to 8 is implemented.

10. A computer device, characterized in that: The device comprises: Memory for storing computer programs; A processor, configured to execute the computer program to implement the method described in any one of claims 5 to 8.