CN104536893B - A kind of batch holds the processing method and processing device that reports an error - Google Patents

A kind of batch holds the processing method and processing device that reports an error Download PDF

Info

Publication number
CN104536893B
CN104536893B CN201510004981.1A CN201510004981A CN104536893B CN 104536893 B CN104536893 B CN 104536893B CN 201510004981 A CN201510004981 A CN 201510004981A CN 104536893 B CN104536893 B CN 104536893B
Authority
CN
China
Prior art keywords
error
parameter
batch
reports
strong
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.)
Active
Application number
CN201510004981.1A
Other languages
Chinese (zh)
Other versions
CN104536893A (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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN201510004981.1A priority Critical patent/CN104536893B/en
Publication of CN104536893A publication Critical patent/CN104536893A/en
Application granted granted Critical
Publication of CN104536893B publication Critical patent/CN104536893B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present invention provides a kind of batch and holds the processing method and processing device that reports an error, and wherein method includes:When batch output is strong to report an error, the batch out of service;The strong corresponding processing strategy that reports an error is determined, is set and the tactful corresponding parameter of the processing;Bring up again the batch, when the batch is performed to the strong corresponding breakpoint that reports an error, according to set parameter, to performing processing strategy corresponding with the parameter at the strong corresponding breakpoint that reports an error, so that the batch continues executing with.Batch provided in an embodiment of the present invention holds the processing method that reports an error and improves the disposal ability that the appearance of batch reports an error.

Description

A kind of batch holds the processing method and processing device that reports an error
Technical field
The present invention relates to batch data processing technology field, holds more specifically to a kind of batch and reports an error Processing method and processing device.
Background technology
Banking system, will be unified to carry out batches of business to online business in the daytime in the form of batch in day terminal hour at present Processing, here it is the end day batch processing of bank, end day batch processing is mainly that the form for being processed in batches program is completed;Such as pin To client in the on-line transaction completed in the daytime, banking system is by daily day terminal hour, in the form of using batch, It is unified to carry out the business such as account settlement, third party's interaction, processing statistical report form.
Because batch is when carrying out business processing, there is that processing data amount is big, the ageing strong, processing of processing is patrolled Collect the characteristics of complicated;And the business processing step that complexity is high, the possibility for meeting with abnormal problem in commission are very big;And And the execution time of batch, " time of having a rest " being substantially after the routine work time, this period except A small amount of operations staff, substantial amounts of related personnel can not be always maintained at the state that scene is awaited orders;Therefore in design batch processing During program, hold the processing to report an error for program, just face flexibility, a complexity for both needing to take into account business, consider again The problem of reduction of O&M cost.
Two kinds are broadly divided at present for reporting an error for batch, reports an error by force (Strong Error) and weak reports an error (Weak Error);When strong report an error occurs, represent that batch runs into exception in the process of implementation, carried out forcing report Mistake, program interrupt are exited;When weak report an error occurs, represent that batch runs into exception in the process of implementation, now only step on Remember the content such as errors present and information, batch continues down to perform not exiting.
It is mainly according to program designer in terms of holding the processing to report an error for program at present when designing batch Personal analysis ability and judgement, the processing priority of abnormal problem is differentiated, provide the processing strategy of optimization;It is however, existing Flexibility, polytropy, complexity and probabilistic phenomenon be present in real service interaction processing, it is personal according to program designer Analysis ability and judgement, as a consequence it is hardly possible to allowed at the beginning of programming program hold the disposal ability that reports an error have compared with Good performance;This disposal ability for just needing to report an error to the appearance of batch makees further lifting, therefore how to be lifted The disposal ability that the appearance of batch reports an error, the problem of turning into a urgent need to resolve.
The content of the invention
In view of this, a kind of batch of offer of the embodiment of the present invention holds the processing method and processing device that reports an error, with lifting The disposal ability that the appearance of batch reports an error.
To achieve the above object, the embodiment of the present invention provides following technical scheme:
A kind of batch holds the processing method that reports an error, including:
When batch output is strong to report an error, the batch out of service;
The strong corresponding processing strategy that reports an error is determined, is set and the tactful corresponding parameter of the processing;
The batch is brought up again, when the batch is performed to the strong corresponding breakpoint that reports an error When, it is tactful to performing processing corresponding with the parameter at the strong corresponding breakpoint that reports an error according to set parameter, so that The batch continues executing with.
Wherein, the processing strategy includes:Ignore and described report an error by force;
Parameter corresponding with the processing strategy is set to include:
It is described it is strong report an error corresponding to the first parameter is set at breakpoint, first parameter is used to identifying described strong report an error pair It can be neglected at the breakpoint answered;
Parameter set by the basis, to performing processing corresponding with the parameter at the strong corresponding breakpoint that reports an error Strategy includes:
The first parameter set at the strong corresponding breakpoint that reports an error is transferred, to being held at the strong corresponding breakpoint that reports an error Row is corresponding with first parameter to ignore error handle.
Wherein, the processing strategy includes:Shield and described report an error by force;
Setting parameter corresponding with the processing strategy includes:
It is described it is strong report an error corresponding to the second parameter is set at breakpoint, second parameter is used to identifying described strong report an error pair Need to shield at the breakpoint answered;
Parameter set by the basis, to performing processing corresponding with the parameter at the strong corresponding breakpoint that reports an error Strategy includes:
The second parameter set at the strong corresponding breakpoint that reports an error is transferred, to being held at the strong corresponding breakpoint that reports an error Row shielding error handle corresponding with second parameter.
Wherein, it is described to shield error handle to execution is corresponding with second parameter at the strong corresponding breakpoint that reports an error Including:
The breakpoint for identifying second parameter is disposed in processed state.
Wherein, methods described also includes:
After the completion of the breakpoint for identifying second parameter performs, the second parameter is revised as sky parameter.
Wherein, methods described also includes:
When batch output reports an error by force, after the batch out of service, the 3rd parameter of input is described 3rd parameter is used for that identification shielding to be all reports an error by force;
After bringing up again the batch, to performing shielding error handle at all strong corresponding breakpoints that report an error.
The embodiment of the present invention also provides a kind of batch and holds the processing unit that reports an error, including:
Report an error module, for when batch output is strong report an error when, the batch out of service;
Strategy setting module, for determining the strong corresponding processing strategy that reports an error, set tactful corresponding with the processing Parameter;
Execution module is brought up again, for bringing up again the batch, when the batch is performed to described strong When corresponding to reporting an error at breakpoint, according to set parameter, to being performed and the parameter pair at the strong corresponding breakpoint that reports an error The processing strategy answered, so that the batch continues executing with.
Wherein, the processing strategy includes:Ignore and described report an error by force;
The strategy setting module includes:
First setting unit, for setting the first parameter at the strong corresponding breakpoint that reports an error, first parameter is used It is can be neglected in identifying at the strong corresponding breakpoint that reports an error;
The execution module of bringing up again includes:
First execution unit, for transferring the first parameter set at the strong corresponding breakpoint that reports an error, to described strong Execution is corresponding with first parameter at breakpoint corresponding to reporting an error ignores error handle.
Wherein, the processing strategy includes:Shield and described report an error by force;
The strategy setting module can include:
Second setting unit, for setting the second parameter at the strong corresponding breakpoint that reports an error, second parameter is used Need to shield at the strong corresponding breakpoint that reports an error in identifying;
The execution module of bringing up again can include:
Second execution unit, for transferring the second parameter set at the strong corresponding breakpoint that reports an error, to described strong Shielding error handle corresponding with second parameter is performed corresponding to reporting an error at breakpoint.
Wherein, described device also includes:
3rd parameter setting module, for being reported an error by force when batch output, the batch processing journey out of service After sequence, the 3rd parameter is inputted, the 3rd parameter is used for that identification shielding to be all reports an error by force;
Shroud module is brought up again, after bringing up again the batch, to being performed at all strong corresponding breakpoints that report an error Shield error handle.
Based on above-mentioned technical proposal, batch provided in an embodiment of the present invention holds the processing method that reports an error, and can criticize When amount processing routine output reports an error by force, it is determined that the strong corresponding processing strategy that reports an error, and setting and the tactful corresponding ginseng of the processing Number;, can basis if batch is performed to the strong corresponding breakpoint that reports an error when subsequently bringing up again batch Set parameter, to performing processing strategy corresponding with the parameter at the strong corresponding breakpoint that reports an error, so that described batch Amount processing routine continues executing with.As can be seen that the embodiment of the present invention by parameter setting by batch go complete shielding, Ignore the operation of mistake, the complexity of the O&M of batch and the probability of emergency operation error can be greatly reduced;Together When, the set-up mode of parametrization, the operations staff that can enable that details need not be understood in depth is convenient, safely and effectively regulates and controls The execution rhythm of batch;Thus, batch provided in an embodiment of the present invention holds the processing method lifting that reports an error The disposal ability that the appearance of batch reports an error.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this The embodiment of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is the flow chart that batch provided in an embodiment of the present invention holds the processing method that reports an error;
Fig. 2 is another flow chart that batch provided in an embodiment of the present invention holds the processing method that reports an error;
Fig. 3 is that batch provided in an embodiment of the present invention holds the processing schematic diagram that reports an error;
Fig. 4 is another flow chart that batch provided in an embodiment of the present invention holds the processing method that reports an error;
Fig. 5 is another schematic diagram that batch provided in an embodiment of the present invention holds the processing that reports an error;
Fig. 6 is the structured flowchart that batch provided in an embodiment of the present invention holds the processing unit that reports an error;
Fig. 7 is the structured flowchart of strategy setting module provided in an embodiment of the present invention;
Fig. 8 is the structured flowchart provided in an embodiment of the present invention for bringing up again execution module;
Fig. 9 is another structured flowchart of strategy setting module provided in an embodiment of the present invention;
Figure 10 is another structured flowchart provided in an embodiment of the present invention for bringing up again execution module;
Figure 11 is the structured flowchart of the second execution unit provided in an embodiment of the present invention;
Figure 12 is another structured flowchart that batch provided in an embodiment of the present invention holds the processing unit that reports an error;
Figure 13 is another structured flowchart that batch provided in an embodiment of the present invention holds the processing unit that reports an error.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Fig. 1 is the flow chart that batch provided in an embodiment of the present invention holds the processing method that reports an error, and this method can answer For being mounted with the bank server of batch, reference picture 1, this method can include:
Step S100, when batch output is strong to report an error, the batch out of service;
The embodiment of the present invention can be when bank server carries out end day batch processing, and operation batch is to business number According to execution batch processing;If batch runs into exception in the process of implementation, when having carried out forcing to report an error, by the strong report of output Wrong information, now, batch is out of service, waits the order of operations staff to indicate.
Step S110, the strong corresponding processing strategy that reports an error is determined, is set and the tactful corresponding parameter of the processing;
Optionally, the embodiment of the present invention can manually determine the corresponding processing strategy that reports an error by force, and processing strategy can be divided into suddenly Slightly mistake and shielding mistake etc.;Parameter corresponding to corresponding processing strategy can be the first parameter and the second parameter, the first parameter Corresponding with the processing strategy for ignoring mistake, the second parameter is corresponding with the processing strategy of shielding mistake;
Optionally, operations staff can first pass through the strong error information of output and judge whether to need to contact developer, if fortune Administrative staff judge to be reported an error by force because third party's data are wrong and caused, and operations staff can directly contact third party technology Personnel, after being linked up, if operations staff assert that the mistake can be ignored or lie over, the first parameter can be inputted, silver At the recordable strong corresponding breakpoint that reports an error of row server, and the first parameter is set;
Optionally, if operations staff assert that the mistake needs to shield, the second parameter can be inputted, bank server can record At the strong corresponding breakpoint that reports an error, and the second parameter is set.
Step S120, the batch is brought up again, when the batch is performed to the strong correspondence that reports an error Breakpoint at when, according to set parameter, to it is described it is strong report an error corresponding to perform handle corresponding with the parameter at breakpoint Strategy, so that the batch continues executing with.
After parameter corresponding with the processing strategy is set, bank server can bring up again batch, be criticized Amount processing routine re-executes;, can when batch is performed to step S100 outputs at the strong corresponding breakpoint that reports an error According to set parameter, to performing processing strategy corresponding with the parameter at the strong corresponding breakpoint that reports an error, such as to this Performed at the strong corresponding breakpoint that reports an error and ignore error handle or shielding error handle etc., so that the batch continues to hold OK.
Batch provided in an embodiment of the present invention holds the processing method that reports an error, and can export strong report in batch Stagger the time, it is determined that the strong corresponding processing strategy that reports an error, and set and the tactful corresponding parameter of the processing;Subsequently bring up again batch processing , can be according to set parameter, to described if batch is performed to the strong corresponding breakpoint that reports an error during program Processing strategy corresponding with the parameter is performed at the strong corresponding breakpoint that reports an error, so that the batch continues executing with. As can be seen that the embodiment of the present invention is gone to complete shielding, ignores the operation of mistake by parameter setting by batch, can be big The complexity of the big O&M for reducing batch and the probability of emergency operation error;Meanwhile the set-up mode of parametrization, It can enable that the operations staff that need not be understood in depth to details is convenient, safely and effectively regulates and controls the execution section of batch Play;Thus, batch provided in an embodiment of the present invention holds the appearance report that the processing method that reports an error improves batch Wrong disposal ability.
Illustrated below for the processing strategy scene that reports an error by force is ignored;Corresponding, Fig. 2 shows the embodiment of the present invention The batch of offer holds another flow chart for the processing method that reports an error, reference picture 2, and this method can include:
Step S200, when batch output is strong to report an error, the batch out of service;
Step S210, determine to ignore it is described report an error by force, it is described it is strong report an error corresponding to the first parameter of setting at breakpoint, it is described First parameter is used to identify can be neglected at the strong corresponding breakpoint that reports an error;
Optionally, it can determine the need for ignoring by the operations staff of batch and report an error by force;First parameter is optional For " Y ", it is clear that can also be other parameter values.
Step S220, the batch is brought up again, when the batch is performed to the strong correspondence that reports an error Breakpoint at when, transfer the first parameter set at the breakpoint, to it is described it is strong report an error corresponding to perform at breakpoint with it is described Ignore error handle corresponding to first parameter.
Optionally, the embodiment of the present invention can also be ignored to all strong report an error of batch, such as at batch Reason program output is strong when reporting an error, and sets to all strong parameters for being ignored of reporting an error, then after the batch is brought up again, When the batch is performed to corresponding to strong report an error at breakpoint, can be reported an error by force to all according to set parameter Ignored so that batch continues down to perform.
For ease of understanding, Fig. 3 shows that corresponding batch holds the processing schematic diagram that reports an error, reference picture 3, node 1 It is the data processing node in batch implementation procedure to node N;If batch in node i operation exception, Output report an error by force, and operations staff determine node i by force report an error and can ignore, then can input " Y " (the first parameter it is a kind of optional Form), bank server record node i is breakpoint, and sets " Y " parameter at breakpoint (node i) place;Afterwards, bank service Think highly of and carry batch, batch re-executes, and when performing to node i, can recognize that and is set at node i " Y " parameter, perform it is corresponding with " Y " parameter ignores error handle strategy, to node i ignore error handle, in batches at Reason program continues down to perform.
The processing strategy scene to be reported an error by force to shielding below illustrates;Corresponding, Fig. 4 shows that the embodiment of the present invention carries The batch of confession holds the another flow chart for the processing method that reports an error, reference picture 4, and this method can include:
Step S300, when batch output is strong to report an error, the batch out of service;
Step S310, determine that shielding is described to report an error by force, the second parameter is set at the strong corresponding breakpoint that reports an error, it is described Second parameter is used to identify to be needed to shield at the strong corresponding breakpoint that reports an error;
Optionally, shielding can be determined the need for by the operations staff of batch to report an error by force;Second parameter is optional For " A ", it is clear that can also be other parameter values;
Step S320, the batch is brought up again, when the batch is performed to the strong correspondence that reports an error Breakpoint at when, transfer the second parameter set at the breakpoint, to it is described it is strong report an error corresponding to perform at breakpoint with it is described Shielding error handle corresponding to second parameter.
Optionally, the mode for error handle being shielded to being performed at breakpoint corresponding to reporting an error by force can be will identify it is described The breakpoint of second parameter is disposed in processed state, so that batch is skipped at the breakpoint, continuation down performs.
Optionally, the embodiment of the present invention can be after the completion of the breakpoint for identifying second parameter performs, by the second parameter It is revised as sky parameter.
Optionally, the embodiment of the present invention also can be shielded only to first strong report an error, and such as be reported an error correspondingly first strong Breakpoint at set the second parameter.
For ease of understanding, Fig. 5 shows that corresponding batch holds the processing schematic diagram that reports an error, reference picture 5, node 1 It is the data processing node in batch implementation procedure to node N;If batch in node i operation exception, Output reports an error by force, and operations staff determines the reporting an error by force and need to shield of node i, then can input " A " (the first parameter it is a kind of optional Form), bank server record node i is breakpoint, and sets " A " parameter at breakpoint (node i) place;Afterwards, bank service Think highly of and carry batch, batch re-executes, and when performing to node i, can recognize that and is set at node i " A " parameter, perform it is corresponding with " A " parameter shields error handle strategy, node i is arranged to processed state, in batches at Reason program continues down to perform;, can be by breakpoint i's when such as going to node i+1 after batch has performed node i Parameter is revised as " sky ".
Optionally, the embodiment of the present invention can also shield to all strong report an error of batch, such as at batch Reason program output is strong when reporting an error, and sets to all strong parameters for being shielded of reporting an error, then after the batch is brought up again, When the batch is performed to corresponding to strong report an error at breakpoint, can be reported an error by force to all according to set parameter Shielded so that batch continues down to perform.
Specifically, the embodiment of the present invention can input the 3rd parameter by operations staff, the 3rd parameter can be used for identification shielding institute Have and report an error by force;If being reported an error by force in batch output, during the batch out of service, operations staff inputs the Three parameters, then after bank server brings up again the batch, all strong corresponding breakpoints that report an error can be performed both by shielding Error handle.
The application that batch provided in an embodiment of the present invention holds the processing method that reports an error is:
When initially without parameter input, batch normally performs, and is needed when batch runs into Forced interruption reports an error, and when stopping, first can judge whether to need to contact developer by error information by running operating personnel, if Obvious third party's data are wrong to report an error, and operations staff can directly contact third party technology personnel, after being linked up, if assert When the mistake can be ignored or lie over, then can input parameter " Y ", and bring up again batch again, then at batch Reason program perform again to this report an error at breakpoint when, batch can carry out the processing for ignoring mistake, with ensure batch at Reason program continues executing with;
In the case that operations staff can not clearly judge third party's error in data or be had no resolution with third party's communication, at this moment It can be contacted again with developer, there is provided information is to developer, so that developer analyzes;If finally finding out questions and prospect, open Hair personnel can instruct operations staff, by adjusting the execution for setting the parameters to carry out follow-up batch at breakpoint, Such as:Input " Y ", it is negligible to report an error by force;Input " A ", error (is set to " by maskable first error log to report an error by force Processing " state);The maskable all strong error logs etc. that report an error of input " B ".
The embodiment of the present invention can cause batch to have flexible, sane batch by the setting of above-mentioned parameter Measure the disposal ability of mistake.
Hold the processing unit that reports an error to batch provided in an embodiment of the present invention below to be introduced, it is described below Batch holds the processing unit that reports an error can hold the mutually corresponding ginseng of the processing method that reports an error with above-described batch According to.
Fig. 6 is the structured flowchart that batch provided in an embodiment of the present invention holds the processing unit that reports an error, and the device can Applied to being mounted with the bank server of batch, reference picture 6, batch appearance reports an error processing unit can With including:
The module that reports an error 100, for when batch output is strong report an error when, the batch out of service;
Strategy setting module 200, for determining the strong corresponding processing strategy that reports an error, set and the processing is tactful right The parameter answered;
Execution module 300 is brought up again, for bringing up again the batch, when the batch is performed to described When at the strong corresponding breakpoint that reports an error, according to set parameter, to being performed and the parameter at the strong corresponding breakpoint that reports an error Corresponding processing strategy, so that the batch continues executing with.
Optionally, can be to ignore described to report an error by force to the processing strategy of breakpoint corresponding to reporting an error by force;Corresponding, Fig. 7 shows A kind of alternative construction of strategy setting module 200, reference picture 7 are gone out, strategy setting module 200 can include:
First setting unit 210, for setting the first parameter, first parameter at the strong corresponding breakpoint that reports an error It is can be neglected for identifying at the strong corresponding breakpoint that reports an error.
Corresponding, Fig. 8 shows a kind of alternative construction for bringing up again execution module 300, reference picture 8, brings up again execution module 300 It can include:
First execution unit 310, for transferring the first parameter set at the strong corresponding breakpoint that reports an error, to described Execution is corresponding with first parameter at the strong corresponding breakpoint that reports an error ignores error handle.
Optionally, the processing strategy for the corresponding breakpoint that reports an error by force can be reported an error by force for shielding is described;Corresponding, Fig. 9 shows Another alternative construction of strategy setting module 200, reference picture 9 are gone out, strategy setting module 200 can include:
Second setting unit 220, for setting the second parameter, second parameter at the strong corresponding breakpoint that reports an error Need to shield at the strong corresponding breakpoint that reports an error for identifying.
Corresponding, Figure 10 shows another alternative construction for bringing up again execution module 300, reference picture 10, brings up again execution mould Block 300 can include:
Second execution unit 320, for transferring the second parameter set at the strong corresponding breakpoint that reports an error, to described Shielding error handle corresponding with second parameter is performed at the strong corresponding breakpoint that reports an error.
Optionally, Figure 11 shows a kind of alternative construction of the second execution unit 320, reference picture 11, the second execution unit 320 can include:
State sets subelement 321, for the breakpoint for identifying second parameter to be disposed in processed state.
On the basis of execution module, or the second execution unit shown in Figure 11 are brought up again shown in Figure 10, Figure 12 shows this hair The batch that bright embodiment provides holds another structure for the processing unit that reports an error, with reference to shown in Fig. 6 and Figure 12, at the batch Reason program is held the processing unit that reports an error and can also included:
Vacant module 400, after the completion of being performed in the breakpoint for identifying second parameter, the second parameter is revised as Empty parameter.
Optionally, Figure 13 shows that batch provided in an embodiment of the present invention holds the another knot for the processing unit that reports an error Structure, with reference to shown in Fig. 6 and Figure 13, the batch holds the processing unit that reports an error and can also included:
3rd parameter setting module 500, for being reported an error by force when batch output, the batch processing out of service After program, the 3rd parameter is inputted, the 3rd parameter is used for that identification shielding to be all reports an error by force;
Shroud module 600 is brought up again, after bringing up again the batch, to being held at all strong corresponding breakpoints that report an error Row shielding error handle.
Batch provided in an embodiment of the present invention holds the processing unit that reports an error, by parameter setting by batch processing journey Sequence goes to complete shielding, ignores the operation of mistake, can greatly reduce complexity and the emergency operation of the O&M of batch The probability of error;Meanwhile the set-up mode of parametrization, can enable the operations staff that need not be understood in depth to details it is convenient, Safely and effectively regulate and control the execution rhythm of batch;Thus, batch provided in an embodiment of the present invention holds report Wrong processing method improves the disposal ability that the appearance of batch reports an error.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment For, because it is corresponded to the method disclosed in Example, so description is fairly simple, related part is said referring to method part It is bright.
Professional further appreciates that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and The interchangeability of software, the composition and step of each example are generally described according to function in the above description.These Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Specialty Technical staff can realize described function using distinct methods to each specific application, but this realization should not Think beyond the scope of this invention.
Directly it can be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), internal memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, professional and technical personnel in the field are enable to realize or using the present invention. A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The most wide scope caused.

Claims (8)

1. a kind of batch holds the processing method that reports an error, it is characterised in that including:
When batch output is strong to report an error, the batch out of service;
The strong corresponding processing strategy that reports an error is determined, is set and the tactful corresponding parameter of the processing;The processing strategy bag Include and ignore mistake and shielding mistake, the parameter includes the first parameter and the second parameter, and first parameter ignores mistake with described Processing strategy corresponding by mistake, and second parameter is corresponding with the processing strategy of the shielding mistake;
The batch is brought up again, when the batch is performed to the strong corresponding breakpoint that reports an error, root According to set parameter, to performing processing strategy corresponding with the parameter at the strong corresponding breakpoint that reports an error, so that described Batch continues executing with;
Also include:
Reported an error by force when batch exports, after the batch out of service, the 3rd parameter of input, the described 3rd Parameter is used for that identification shielding to be all reports an error by force;
After bringing up again the batch, to performing shielding error handle at all strong corresponding breakpoints that report an error.
2. batch according to claim 1 holds the processing method that reports an error, it is characterised in that the processing strategy bag Include:Ignore and described report an error by force;
Parameter corresponding with the processing strategy is set to include:
It is described it is strong report an error corresponding to the first parameter is set at breakpoint, first parameter be used to identifying it is described it is strong report an error corresponding to It can be neglected at breakpoint;
Parameter set by the basis, to performing processing strategy corresponding with the parameter at the strong corresponding breakpoint that reports an error Including:
Transfer it is described it is strong report an error corresponding to the first parameter for being set at breakpoint, to it is described it is strong report an error corresponding to perform at breakpoint with Ignore error handle corresponding to first parameter.
3. batch according to claim 1 holds the processing method that reports an error, it is characterised in that the processing strategy bag Include:Shield and described report an error by force;
Setting parameter corresponding with the processing strategy includes:
It is described it is strong report an error corresponding to the second parameter is set at breakpoint, second parameter be used to identifying it is described it is strong report an error corresponding to Need to shield at breakpoint;
Parameter set by the basis, to performing processing strategy corresponding with the parameter at the strong corresponding breakpoint that reports an error Including:
Transfer it is described it is strong report an error corresponding to the second parameter for being set at breakpoint, to it is described it is strong report an error corresponding to perform at breakpoint with Shielding error handle corresponding to second parameter.
4. batch according to claim 3 holds the processing method that reports an error, it is characterised in that described to the strong report Performing shielding error handle corresponding with second parameter corresponding to mistake at breakpoint includes:
The breakpoint for identifying second parameter is disposed in processed state.
5. the batch according to claim 3 or 4 holds the processing method that reports an error, it is characterised in that also includes:
After the completion of the breakpoint for identifying second parameter performs, the second parameter is revised as sky parameter.
6. a kind of batch holds the processing unit that reports an error, it is characterised in that including:
Report an error module, for when batch output is strong report an error when, the batch out of service;
Strategy setting module, for determining the strong corresponding processing strategy that reports an error, set and the tactful corresponding ginseng of the processing Number;The processing strategy includes ignoring mistake and shielding mistake, and the parameter includes the first parameter and the second parameter, and described first Parameter is corresponding with the processing strategy for ignoring mistake, and second parameter is corresponding with the processing strategy of the shielding mistake;
Execution module is brought up again, for bringing up again the batch, is reported an error by force when the batch is performed to described It is corresponding with the parameter to being performed at the strong corresponding breakpoint that reports an error according to set parameter when at corresponding breakpoint Processing strategy, so that the batch continues executing with;
Also include:
3rd parameter setting module, for being reported an error by force when batch output, after the batch out of service, Input the 3rd parameter, the 3rd parameter is used for that identification shielding is all to report an error by force;
Shroud module is brought up again, after bringing up again the batch, to performing shielding at all strong corresponding breakpoints that report an error Error handle.
7. batch according to claim 6 holds the processing unit that reports an error, it is characterised in that the processing strategy bag Include:Ignore and described report an error by force;
The strategy setting module includes:
First setting unit, for setting the first parameter at the strong corresponding breakpoint that reports an error, first parameter is used to mark Know and can be neglected at the strong corresponding breakpoint that reports an error;
The execution module of bringing up again includes:
First execution unit, for transferring the first parameter set at the strong corresponding breakpoint that reports an error, reported an error by force to described Execution is corresponding with first parameter at corresponding breakpoint ignores error handle.
8. batch according to claim 6 holds the processing unit that reports an error, it is characterised in that the processing strategy bag Include:Shield and described report an error by force;
The strategy setting module can include:
Second setting unit, for setting the second parameter at the strong corresponding breakpoint that reports an error, second parameter is used to mark Know needs to shield at the strong corresponding breakpoint that reports an error;
The execution module of bringing up again can include:
Second execution unit, for transferring the second parameter set at the strong corresponding breakpoint that reports an error, reported an error by force to described Shielding error handle corresponding with second parameter is performed at corresponding breakpoint.
CN201510004981.1A 2015-01-05 2015-01-05 A kind of batch holds the processing method and processing device that reports an error Active CN104536893B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510004981.1A CN104536893B (en) 2015-01-05 2015-01-05 A kind of batch holds the processing method and processing device that reports an error

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510004981.1A CN104536893B (en) 2015-01-05 2015-01-05 A kind of batch holds the processing method and processing device that reports an error

Publications (2)

Publication Number Publication Date
CN104536893A CN104536893A (en) 2015-04-22
CN104536893B true CN104536893B (en) 2018-01-30

Family

ID=52852423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510004981.1A Active CN104536893B (en) 2015-01-05 2015-01-05 A kind of batch holds the processing method and processing device that reports an error

Country Status (1)

Country Link
CN (1) CN104536893B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947828A (en) * 2019-03-15 2019-06-28 优信拍(北京)信息科技有限公司 A kind of method and apparatus handling report data

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557402B (en) * 2016-10-31 2019-09-06 努比亚技术有限公司 Mobile terminal and exception information processing method
CN108241543B (en) * 2016-12-30 2020-07-07 深圳壹账通智能科技有限公司 Method, service server and system for executing service operation breakpoint
CN108009037A (en) * 2017-11-24 2018-05-08 中国银行股份有限公司 Batch processing job fault handling method, device, storage medium and equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8504752B2 (en) * 2008-06-24 2013-08-06 Panasonic Corporation Virtual machine control device, virtual machine control program, and virtual machine control circuit for managing interrupts of plural virtual machines
US8205113B2 (en) * 2009-07-14 2012-06-19 Ab Initio Technology Llc Fault tolerant batch processing
CN101996107A (en) * 2009-08-31 2011-03-30 中国工商银行股份有限公司 Operation interruption automatic recovering system and method
US9317460B2 (en) * 2012-06-15 2016-04-19 International Business Machines Corporation Program event recording within a transactional environment
CN104021043B (en) * 2014-06-23 2017-09-15 中国银行股份有限公司 The interruption re-access method and system of batch application program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109947828A (en) * 2019-03-15 2019-06-28 优信拍(北京)信息科技有限公司 A kind of method and apparatus handling report data

Also Published As

Publication number Publication date
CN104536893A (en) 2015-04-22

Similar Documents

Publication Publication Date Title
CN104536893B (en) A kind of batch holds the processing method and processing device that reports an error
CN108334614B (en) Data updating method, system and storage medium
Heidenberg et al. Metrics functions for kanban guards
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN112380255A (en) Service processing method, device, equipment and storage medium
CN107528912A (en) A kind of automatic method, system and relevant apparatus for realizing distributing real time system
CN110447206A (en) Automatic fault recovery system, control equipment, program creation equipment and computer readable storage medium
CN105528264B (en) Fool proof data reconstruction method and its system
CN106844043A (en) The treating method and apparatus of cluster task
CN107153646A (en) A kind of data processing method and equipment
CN111400167A (en) Redfish service compliance verification method, device, equipment and medium
CN106487883A (en) Network registration process method and module
CN109344074A (en) A kind of cross-platform automated testing method and system
CN115396352A (en) CMS server-side protocol testing method, system, equipment and storage medium
CN107678955A (en) A kind of computational methods, device, equipment and the storage medium of functional interface time delay
CN105389200A (en) Multi-group stimulation batch simulation method and system applied to super-large scale chip verification
CN103440460A (en) Application system change validation method and system
CN107703773A (en) A kind of method for testing software and device based on hardware-in-loop simulation system
CN114676029A (en) Software access capability evaluation method, device, system and medium
CN109446053A (en) Test method, computer readable storage medium and the terminal of application program
CN111666368A (en) Data processing method and device, storage medium and terminal
CN110336714A (en) A kind of test method of mobile phone app access network signaling mechanisms
CN110060163A (en) Method of commerce, system, medium and the device of podcast chain based on ether mill
CN109840848A (en) Transaction optimization method and system, storage medium and terminal based on ether mill
CN114840178B (en) Process file generation method, device and equipment based on digital simulation platform

Legal Events

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