CN111752842A - Bank batch program fault processing method and device - Google Patents

Bank batch program fault processing method and device Download PDF

Info

Publication number
CN111752842A
CN111752842A CN202010599490.7A CN202010599490A CN111752842A CN 111752842 A CN111752842 A CN 111752842A CN 202010599490 A CN202010599490 A CN 202010599490A CN 111752842 A CN111752842 A CN 111752842A
Authority
CN
China
Prior art keywords
program
batch
key value
information
initial key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010599490.7A
Other languages
Chinese (zh)
Other versions
CN111752842B (en
Inventor
范啸风
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202010599490.7A priority Critical patent/CN111752842B/en
Publication of CN111752842A publication Critical patent/CN111752842A/en
Application granted granted Critical
Publication of CN111752842B publication Critical patent/CN111752842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software debugging
    • G06F11/3636Software debugging by tracing the execution of the program
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Retry When Errors Occur (AREA)

Abstract

The invention discloses a method and a device for processing batch program faults of a bank, wherein the method comprises the following steps: obtaining batch program information and corresponding sequencing rule information, wherein the batch program information comprises: continuously making a label; according to the sorting rule information, sorting the data in the batch program, and determining a sorted initial key value; processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount; when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value; and carrying out fault processing on the batch programs of the bank according to the updated initial key value. The invention can process the batch program faults of the bank, improve the processing efficiency, save manpower and material resources, simplify the operation, ensure the batch ending time and the next normal business and avoid the hidden danger to the system reliability.

Description

Bank batch program fault processing method and device
Technical Field
The invention relates to the technical field of bank program processing, in particular to a method and a device for processing batch program faults of a bank.
Background
The complexity of nighttime batch processing in banks is no less than the course of daytime transactions. Meanwhile, almost all application systems submit related batch jobs to process the data of the system. Therefore, an application system has many batch steps, a large amount of processing data and complex processing logic. Because of this, the possibility of batch processing errors is also greatly increased.
Most of the reasons for batch errors are caused by irregular data in records processed by batch programs, the abnormal data may be imported by enterprise texts, may be transmitted by messages of other persons, or may be entered by online transaction tellers, and the programs do not know how to handle the data, so that the batch programs can only be interrupted, and batch maintenance personnel and service personnel adjust and modify the abnormal data in an alarm manner and then perform subsequent processing.
In the prior art, after a batch program failure occurs, a developer manually judges whether a problem of transaction repetition is caused after the program is repeatedly submitted, and if the program cannot be repeatedly submitted, the data needs to be restored to a state before the program runs so as to resubmit the batch processing of the step. However, the manual troubleshooting and judgment of the program faults in each batch one by one consumes a large amount of manpower and material resources, the efficiency is very low, the operation is complex and long, the batch ending time is seriously influenced, even the next normal business is influenced, and the hidden danger is caused to the system reliability.
Disclosure of Invention
The embodiment of the invention provides a bank batch program fault processing method, which is used for processing bank batch program faults, improving the processing efficiency, saving manpower and material resources, simplifying the operation, ensuring the batch ending time and the next normal business and avoiding hidden danger to the system reliability, and comprises the following steps:
obtaining batch program information and corresponding sequencing rule information, wherein the batch program information comprises: continuously making a label;
according to the sorting rule information, sorting the data in the batch program, and determining a sorted initial key value;
processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount;
when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value;
and carrying out fault processing on the batch programs of the bank according to the updated initial key value.
The embodiment of the invention provides a bank batch program fault processing device, which is used for processing bank batch program faults, improving the processing efficiency, saving manpower and material resources, simplifying the operation, ensuring the batch ending time and the next normal business and avoiding hidden danger to the system reliability, and comprises:
an information obtaining module, configured to obtain batch program information and corresponding sort rule information, where the batch program information includes: continuously making a label;
the initial key value determining module is used for sequencing data in the batch program according to the sequencing rule information and determining the sequenced initial key value;
the first updating module is used for processing the data in the batch program in sequence from the initial key value and updating the vernier count value according to the processed data amount;
the second updating module is used for updating the initial key value according to the continuous making labels, the sequencing rule information, the initial key value and the vernier count value when the vernier count value exceeds a preset threshold value;
and the fault processing module is used for carrying out batch program fault processing on the bank according to the updated initial key value.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can be operated on the processor, wherein the fault processing method of the bank batch program is realized when the processor executes the computer program.
The embodiment of the invention also provides a computer readable storage medium, and the computer readable storage medium stores a computer program for executing the fault processing method of the bank batch program.
Compared with the scheme of manually checking the batch program faults each time in the prior art, the method and the device for checking the batch program faults obtain the batch program information and the corresponding sequencing rule information, wherein the batch program information comprises the following steps: continuously making a label; according to the sorting rule information, sorting the data in the batch program, and determining a sorted initial key value; processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount; when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value; and carrying out fault processing on the batch programs of the bank according to the updated initial key value. The embodiment of the invention does not need to manually check and judge the faults of the batch program one by one each time, determines whether the batch program needs to be continuously done or not by obtaining the continuous making labels in the batch program information, then processes the data in the batch program in sequence from the initial key value, updates the vernier count value according to the processed data amount, updates the initial key value for the batch program needing to be continuously done when the vernier count value exceeds the preset threshold value, and directly and automatically positions to the initial position for continuous doing without manual intervention, thereby improving the processing efficiency, saving manpower and material resources, simplifying the operation, ensuring the normal operation of the batch ending time and the next day and avoiding hidden danger on the reliability of the system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts. In the drawings:
FIG. 1 is a schematic diagram of a method for processing a fault of a batch program of a bank according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a bank bulk integrated situation carding according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a batch integrated situation carding of a bank according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a method for processing a fault of a batch program of a bank according to an embodiment of the present invention;
FIG. 5 is a diagram of a fault handling architecture for a bank batch process according to an embodiment of the present invention;
fig. 6 is a diagram illustrating a fault handling structure of a bank batch program according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention are further described in detail below with reference to the accompanying drawings. The exemplary embodiments and descriptions of the present invention are provided to explain the present invention, but not to limit the present invention.
First, terms referred to in the embodiments of the present application are described:
bank batch: after the bank stops working at a business place, the data and the financial affairs changed in the daytime of the bank are processed every day and night, and meanwhile, in order to fully utilize relatively idle hardware resources at night, a large amount of transactions and texts which do not need to be processed in time in the daytime are processed in a batch mode at night. The batch processing is divided into a plurality of operation steps, some of which can be executed in parallel, some of which are executed in sequence, and some of which are branched according to conditions, and the whole batch processing operation step is like a plurality of nodes of a network, so that the steps are multiple and the relation is complex. Due to the large amount of data involved in batch processing, the overall batch processing time is often as long as several hours, even tens of hours.
A batch scheduling tool: the batch process of the bank is long, the batch programs are multiple, and the execution conditions are complex. Batch programs are manually submitted step by step at night, and the method is low in efficiency and easy to miss. Thus, the bank may purchase a batch scheduling tool for automated submission of batch jobs. The batch program is automatically submitted for execution as long as the parameters, conditions, and flow are configured in the tool.
Commit: in the batch processing program, because the amount of data to be changed and modified is huge, the database is not written into a hard disk for permanent storage every time a record is modified in consideration of efficiency and performance. The modified data is placed in a database BUFFER (BUFFER) area, and after an application program reaches a certain condition or a certain modification amount, the database writes the modified data into a hard disk through a database Commit instruction, so as to carry out persistence processing. After the Commit instruction is executed, all data modified before the Commit is stored in the hard disk and cannot be revoked. Even if faults and interruptions occur, the data results are not affected. All data without Commit, because there is no access to write to the hard disk, the results of its modification will be lost in case of program failure.
In order to process a bank batch program fault, improve processing efficiency, save manpower and material resources, simplify operations, ensure batch end time and normal business next day, and avoid hidden danger to system reliability, an embodiment of the present invention provides a bank batch program fault processing method, as shown in fig. 1, the method may include:
step 101, obtaining batch program information and corresponding sequencing rule information, wherein the batch program information comprises: continuously making a label;
step 102, sorting the data in the batch program according to the sorting rule information, and determining a sorted initial key value;
103, processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount;
step 104, when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value;
and 105, carrying out fault processing on the batch programs of the bank according to the updated initial key value.
As shown in fig. 1, it can be known that, in the embodiment of the present invention, batch program information and corresponding sort rule information are obtained, where the batch program information includes: continuously making a label; according to the sorting rule information, sorting the data in the batch program, and determining a sorted initial key value; processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount; when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value; and carrying out fault processing on the batch programs of the bank according to the updated initial key value. The embodiment of the invention does not need to manually check and judge the faults of the batch program one by one each time, determines whether the batch program needs to be continuously done or not by obtaining the continuous making labels in the batch program information, then processes the data in the batch program in sequence from the initial key value, updates the vernier count value according to the processed data amount, updates the initial key value for the batch program needing to be continuously done when the vernier count value exceeds the preset threshold value, and directly and automatically positions to the initial position for continuous doing without manual intervention, thereby improving the processing efficiency, saving manpower and material resources, simplifying the operation, ensuring the normal operation of the batch ending time and the next day and avoiding hidden danger on the reliability of the system.
In specific implementation, batch program information and corresponding sequencing rule information are obtained, wherein the batch program information comprises: and (5) continuously making a label.
In the embodiment, the follow-up label is obtained as follows: obtaining a program repeat submission tag and batch program time information, wherein the batch program time information comprises: program end time lower limit information and average execution time length information; if the program repeated submission label can be repeatedly submitted, determining to continue to make the label according to the program end time lower limit information, the current time information, the average execution time length information and the reserved time information.
In this embodiment, the whole batch conditions of the bank are first sorted and modeled, and the batch programs can be divided into two types according to whether the transaction data is read-only or read-write. The two types can be subdivided into four types of report processing, data processing, accounting processing and information processing, and the batch programs can be respectively incorporated into the four types according to functions, as shown in fig. 2. The inventor finds that for batch programs such as report processing, supervision submission, account checking and the like, transaction data are only read without any modification, and can be safely and repeatedly submitted when error reporting is carried out. However, for some programs that take long processing time and require processing end time, repeated submissions are not permitted in time. For the batch program of the read-write type, the batch of the data processing and the batch of the information processing can be repeatedly submitted because the data change is not repeated or overlapped, but the time is allowed and the time is not allowed. The batch procedure can therefore be continued again for sorting, as shown in fig. 3. For batch programs that are not time-allowed and can not be repeatedly submitted, the identification, control and breakpoint continuous operation are needed.
In this embodiment, as shown in table 1, the program repeated submission tag and the program end time lower limit information may be manually or textually poured into the table, and the execution times, the average execution time length information, and the continued tag are accumulated to perform automatic maintenance. Each batch program of the batch processing is registered in the table, and the information of the corresponding field is maintained according to the mode.
TABLE 1
Figure BDA0002558666470000051
In this embodiment, when a batch program is executed, the batch scheduling tool triggers a batch program registration service process, and the service process finds a corresponding record from the registry according to the name of the batch program to be executed, and records the current system time as the "start execution time". And if the repeated submission label of the current program is not repeatable submission, setting the continuous-making label as required continuous-making. If the current program repeated submission label is capable of repeated submission and meets the following formula, the continuous making label is set to be required to be continuously made, otherwise, the continuous making label is set to be not required to be continuously made:
lower limit of program end time-current time-2 × average execution duration-reserved time <0 (1)
Wherein, the reserved time can be 30 minutes. Equation (1) is a pessimistic estimate if one can cope with the most pessimistic scenario, i.e.: from the current time to the latest end time (i.e., the lower limit of the end time of the program), the batch program makes an error when the execution is about to end, the problem is solved in 30 minutes, and the program is submitted again for execution, so that the batch is considered to be capable of being repeatedly submitted, otherwise, the batch needs to be continued. Batch programs that need to be continued, i.e., not time-allowed and not repeatedly submitted, are identified by the above steps and marked by "continued labeling" for subsequent processing.
And after the batch program is executed, counting and updating the accumulated execution times and the average execution duration information. The service process updates the average execution time length information as follows:
Figure BDA0002558666470000061
it should be noted that, both from the perspective of probability statistics and a priori experience, the daily execution duration of a batch program is mostly similar, and the average value thereof can mask extreme cases and more accurately measure the execution duration of the program. The number of executions +1 will be accumulated and saved.
In specific implementation, according to the sorting rule information, sorting the data in the batch program, and determining the sorted initial key value.
In an embodiment, after the batch program is started by the scheduling tool, the data sorting is first entered. And the data sorting node sorts the data to be processed according to the sorting rule information, initializes the corresponding record of the breakpoint memory control table and starts the program of the batch processing node. Wherein, the breakpoint memory control table contains the following information: batch program name, start key value, and vernier count value.
In specific implementation, the data in the batch program is processed in sequence from the start key value, and the cursor count value is updated according to the processed data amount.
In the embodiment, after the sorted starting key value is determined, the data in the batch program is processed in sequence from the starting key value, the part is the main logic of the batch program, the program firstly reads the starting key value, the data is processed in sequence from the data record corresponding to the key value one by one, the vernier count value is increased by 1 when one record is processed, if any fatal error occurs, the program execution is interrupted, otherwise, the program execution is continued until the end.
In specific implementation, when the vernier count value exceeds a preset threshold value, the initial key value is updated according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value.
In an embodiment, updating the start key value according to the continuation tag, the sort rule information, the start key value, and the cursor count value includes: and if the continuous making label needs continuous making, moving the cursor backwards from the initial key value by the cursor count value according to the sorting rule information to obtain an updated initial key value.
In this embodiment, the preset threshold may be set according to actual needs, for example, when the cursor count value reaches a certain number or a group of packet data processing is completed, the data is submitted to the Commit processing in the database, and the cursor count in the breakpoint memory table is updated. When the batch program prepares for data submission and sends a Commit instruction, a Commit interceptor is triggered, and the interceptor judges whether to carry out breakpoint memory processing according to the continuous tag. If the label is needed to be made continuously, the cursor moves the cursor back from the initial key value to the cursor count value according to the sorting rule information, and the key value of the record pointed by the cursor is the new initial key value, so that the updated initial key value is obtained. In this embodiment, the breakpoint memory node is a computing node, and is mainly a key value of the start record that is processed continuously after Commit is computed according to the sorting rule information, the start key value, and the vernier count value, and this key value is a starting point for resuming execution after the program is interrupted.
And during specific implementation, performing fault processing on the batch programs of the bank according to the updated initial key value.
In an embodiment, the method for processing the fault of the bank batch program further includes: and after the starting key value is updated, resetting the vernier count value.
The following provides a specific embodiment to explain a specific application of the fault handling method for the batch program of the bank. In this embodiment, as shown in fig. 4, when a certain batch of measurement sequences are interrupted due to a fault and the fault is resolved, the breakpoint can be automatically continued only by restarting the fault program "batch processing node". For example, the batched program BAPRT001, the program and execution time information are shown in FIG. 4. The logic of the service process is registered according to the batch program, and the continuous operation of the program is marked as 'yes', namely 'continuous operation is needed'. After the program is started, the program firstly enters a data sorting node, data to be processed is sorted according to the maintained sorting rule sort1, and the key value of the first sorted record is recorded in a breakpoint memory control table, namely key 1. Then entering the batch processing node, the program accesses the breakpoint memory control table to obtain the processing start record key1, and starts processing the records pointed by it one by one, and at the same time, accumulates the number of records processed in the Commit point this time, i.e. the vernier count value. When the data submitting conditions set by the program logic are found to be met, for example, processing of a certain mechanism is completed, processing of a certain type of data is completed, or a certain processing number is reached, a Commit command is sent to enable the database to submit and store the processed data. And triggering the Commit interceptor and storing the cursor count value into the breakpoint memory control table while sending the Commit command. The Commit interceptor starts a breakpoint memory node, and the breakpoint memory node calculates a new start record key value key2 according to the data sorting rule sort1, the start key value and the cursor count value, and stores the new start record key value key2 in the breakpoint memory control table, that is, obtains the updated start key value. And after the Commit is processed in batch, the subsequent records are continuously processed in a circulating way, namely the key value of the first record processed after the Commit point is the key2 calculated by the breakpoint memory node. If the batch program logic of the batch processing node is wrong and stops running, after a maintainer repairs data or program faults, the related logic of the batch processing node is only required to be submitted again, at this time, according to the logic of the previous batch processing node, the program can acquire the key2 from the breakpoint memory control table and continue processing from the record corresponding to the key2, and therefore automatic breakpoint continuation is achieved.
In the embodiment of the invention, the classification and the attribute setting of the batch program are carried out, a batch program registration mechanism is established, the execution condition of the batch program is statistically analyzed through a batch program registration service process and a set of algorithm, and whether the program needs to be continuously identified and identified before the batch program is executed is carried out. The batch program is designed into three logically independent processing nodes of data sequencing, batch processing and breakpoint memory, and automatic fault continuous operation of the batch program is realized through the logic design of a Commit interceptor and a breakpoint memory node. The embodiment of the invention automatically identifies the batch program of breakpoint continuous making, can automatically make the fault program continuous making from the breakpoint through a set of breakpoint continuous making device, does not need manual intervention in the whole process, improves the efficiency and the automation degree of batch maintenance work on one hand, and greatly reduces adverse effects caused by batch faults and risks to normal operation of banks through breakpoint continuous making on the other hand.
Based on the same inventive concept, the embodiment of the invention also provides a device for processing the fault of the bank batch program, which is described in the following embodiment. Because the principles of solving the problems are similar to the fault processing method of the bank batch program, the implementation of the device can refer to the implementation of the method, and repeated details are not repeated.
Fig. 5 is a structural diagram of a fault handling apparatus for a bank batch program according to an embodiment of the present invention, and as shown in fig. 5, the fault handling apparatus for a bank batch program includes:
an information obtaining module 501, configured to obtain batch program information and corresponding sort rule information, where the batch program information includes: continuously making a label;
a starting key value determining module 502, configured to sort the data in the batch program according to the sorting rule information, and determine a sorted starting key value;
a first updating module 503, configured to process data in the batch program in sequence from the start key value, and update a vernier count value according to a processed data amount;
a second updating module 504, configured to update the initial key value according to the continuation tag, the sorting rule information, the initial key value and the cursor count value when the cursor count value exceeds a preset threshold;
and a fault processing module 505, configured to perform fault processing on the batch program of the bank according to the updated start key value.
In one embodiment, the information obtaining module 501 is further configured to obtain the continuation tag according to the following method:
obtaining a program repeat submission tag and batch program time information, wherein the batch program time information comprises: program end time lower limit information and average execution time length information;
if the program repeated submission label can be repeatedly submitted, determining to continue to make the label according to the program end time lower limit information, the current time information, the average execution time length information and the reserved time information.
In one embodiment, the second update module 504 is further configured to:
and if the continuous making label needs continuous making, moving the cursor backwards from the initial key value by the cursor count value according to the sorting rule information to obtain an updated initial key value.
In one embodiment, as shown in fig. 6, the apparatus for processing fault of bank batch program in fig. 5 further includes:
a zero clearing module 506, configured to zero the cursor count value after the start key value is updated.
In summary, in the embodiments of the present invention, batch program information and corresponding sort rule information are obtained, where the batch program information includes: continuously making a label; according to the sorting rule information, sorting the data in the batch program, and determining a sorted initial key value; processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount; when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value; and carrying out fault processing on the batch programs of the bank according to the updated initial key value. The embodiment of the invention does not need to manually check and judge the faults of the batch program one by one each time, determines whether the batch program needs to be continuously done or not by obtaining the continuous making labels in the batch program information, then processes the data in the batch program in sequence from the initial key value, updates the vernier count value according to the processed data amount, updates the initial key value for the batch program needing to be continuously done when the vernier count value exceeds the preset threshold value, and directly and automatically positions to the initial position for continuous doing without manual intervention, thereby improving the processing efficiency, saving manpower and material resources, simplifying the operation, ensuring the normal operation of the batch ending time and the next day and avoiding hidden danger on the reliability of the system.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A bank batch program fault processing method is characterized by comprising the following steps:
obtaining batch program information and corresponding sequencing rule information, wherein the batch program information comprises: continuously making a label;
according to the sorting rule information, sorting the data in the batch program, and determining a sorted initial key value;
processing data in the batch program in sequence from the initial key value, and updating a cursor count value according to the processed data amount;
when the vernier count value exceeds a preset threshold value, updating the initial key value according to the continuous making label, the sequencing rule information, the initial key value and the vernier count value;
and carrying out fault processing on the batch programs of the bank according to the updated initial key value.
2. The method for processing the fault of the bank batch program according to claim 1, wherein the continuation label is obtained as follows:
obtaining a program repeat submission tag and batch program time information, wherein the batch program time information comprises: program end time lower limit information and average execution time length information;
if the program repeated submission label can be repeatedly submitted, determining to continue to make the label according to the program end time lower limit information, the current time information, the average execution time length information and the reserved time information.
3. The method for processing the fault of the bank batch program according to claim 1, wherein updating the initial key value according to the continuation label, the sequencing rule information, the initial key value and the vernier count value comprises:
and if the continuous making label needs continuous making, moving the cursor backwards from the initial key value by the cursor count value according to the sorting rule information to obtain an updated initial key value.
4. The method for processing fault of bank batch program of claim 1, further comprising: and after the starting key value is updated, resetting the vernier count value.
5. A bank batch program fault handling device is characterized by comprising:
an information obtaining module, configured to obtain batch program information and corresponding sort rule information, where the batch program information includes: continuously making a label;
the initial key value determining module is used for sequencing data in the batch program according to the sequencing rule information and determining the sequenced initial key value;
the first updating module is used for processing the data in the batch program in sequence from the initial key value and updating the vernier count value according to the processed data amount;
the second updating module is used for updating the initial key value according to the continuous making labels, the sequencing rule information, the initial key value and the vernier count value when the vernier count value exceeds a preset threshold value;
and the fault processing module is used for carrying out batch program fault processing on the bank according to the updated initial key value.
6. The device for processing the fault of the bank batch program according to claim 5, wherein the information obtaining module is further used for obtaining the continuation label according to the following method:
obtaining a program repeat submission tag and batch program time information, wherein the batch program time information comprises: program end time lower limit information and average execution time length information;
if the program repeated submission label can be repeatedly submitted, determining to continue to make the label according to the program end time lower limit information, the current time information, the average execution time length information and the reserved time information.
7. The bank batch program fault handling device of claim 5, wherein the second update module is further to:
and if the continuous making label needs continuous making, moving the cursor backwards from the initial key value by the cursor count value according to the sorting rule information to obtain an updated initial key value.
8. The apparatus for processing fault of bank batch program of claim 5, further comprising:
and the zero clearing module is used for clearing the vernier count value after the starting key value is updated.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program for executing the method of any one of claims 1 to 4.
CN202010599490.7A 2020-06-28 2020-06-28 Bank batch program fault processing method and device Active CN111752842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010599490.7A CN111752842B (en) 2020-06-28 2020-06-28 Bank batch program fault processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010599490.7A CN111752842B (en) 2020-06-28 2020-06-28 Bank batch program fault processing method and device

Publications (2)

Publication Number Publication Date
CN111752842A true CN111752842A (en) 2020-10-09
CN111752842B CN111752842B (en) 2024-02-27

Family

ID=72677679

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010599490.7A Active CN111752842B (en) 2020-06-28 2020-06-28 Bank batch program fault processing method and device

Country Status (1)

Country Link
CN (1) CN111752842B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021043A (en) * 2014-06-23 2014-09-03 中国银行股份有限公司 Interruption reentry method and system of batch applications
CN104317960A (en) * 2014-11-14 2015-01-28 中国建设银行股份有限公司 Method and device for processing batch job
CN107015864A (en) * 2017-01-16 2017-08-04 平安银行股份有限公司 Business method for controlling batch processing and device
CN110515718A (en) * 2019-08-30 2019-11-29 深圳前海微众银行股份有限公司 Batch tasks breakpoint is continuous to make method, apparatus, equipment and medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104021043A (en) * 2014-06-23 2014-09-03 中国银行股份有限公司 Interruption reentry method and system of batch applications
CN104317960A (en) * 2014-11-14 2015-01-28 中国建设银行股份有限公司 Method and device for processing batch job
CN107015864A (en) * 2017-01-16 2017-08-04 平安银行股份有限公司 Business method for controlling batch processing and device
CN110515718A (en) * 2019-08-30 2019-11-29 深圳前海微众银行股份有限公司 Batch tasks breakpoint is continuous to make method, apparatus, equipment and medium

Also Published As

Publication number Publication date
CN111752842B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
CN110287052B (en) Root cause task determination method and device for abnormal task
CN101876938B (en) Message queue-based application software response time measuring method
US10579459B2 (en) Log events for root cause error diagnosis
US8938421B2 (en) Method and a system for synchronizing data
CN106951369B (en) Management method and device for joint debugging test
CN112416724B (en) Alarm processing method, system, computer device and storage medium
CN113282461A (en) Alarm identification method and device for transmission network
CN111400011B (en) Real-time task scheduling method, system, equipment and readable storage medium
CN104021043A (en) Interruption reentry method and system of batch applications
US20210042216A1 (en) Detecting problematic code changes
CN113946499A (en) Micro-service link tracking and performance analysis method, system, equipment and application
CN114968727B (en) Database through infrastructure fault positioning method based on artificial intelligence operation and maintenance
CN110262975A (en) Test data management method, device, equipment and computer readable storage medium
US20190163603A1 (en) Methods and systems to tag tokens in log messages
US20100146334A1 (en) Fault tolerant update propagation to views
US11422880B1 (en) Methods and systems for determining crash similarity based on stack traces and user action sequence information
CN112506802A (en) Test data management method and system
CN111198920B (en) Method and device for determining comparison table snapshot based on database synchronization
EP0673529B1 (en) A method for relations recovery of a data base in case of errors
CN111752842A (en) Bank batch program fault processing method and device
CN113010278B (en) Batch processing method and system for financial insurance core system
CN114385188A (en) Code workload statistical method and device and electronic equipment
CN109685453B (en) Method for intelligently identifying effective paths of workflow
CN113052700A (en) Method and device for determining micro-service call chain
CN118445348B (en) Multi-source heterogeneous data synchronization method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant