CN106648842A - Method and device for continuous running of batch jobs - Google Patents
Method and device for continuous running of batch jobs Download PDFInfo
- Publication number
- CN106648842A CN106648842A CN201611228556.1A CN201611228556A CN106648842A CN 106648842 A CN106648842 A CN 106648842A CN 201611228556 A CN201611228556 A CN 201611228556A CN 106648842 A CN106648842 A CN 106648842A
- Authority
- CN
- China
- Prior art keywords
- data
- tables
- state
- database
- job
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/461—Saving or restoring of program or task context
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a method and a device for continuous running of batch jobs. The method comprises the following steps of taking at least one pre-constructed state task table when a request for continuous running of the batch jobs is received, wherein a flag bit of a corresponding database and a job identifier of at least one data table in the database are stored in the state task table; for each state task table, parsing the stored flag bit and determining running status of the corresponding database; and for each database whose running status is to process each uncompleted data table, obtaining the job identifier of at least one data table, which is stored in the corresponding state task table, determining job state of each data table according to the job identifier and processing each data table whose running status is to process each uncompleted data table. According to the method disclosed by the invention, through breakpoint continuous running, the burden of a bank system is reduced, so that the execution efficiency is improved.
Description
Technical field
The present invention relates to technical field of software development, more particularly, it relates to a kind of batch jobs are continuous to run method and device.
Background technology
Banking system can carry out Business Processing with batch style unification in day terminal hour to online business in the daytime.Should in batch
With in program operation process, may be caused in application program due to failures such as system resource restriction or problem business datums
It is disconnected.
At present, when operation maintenance personnel has excluded failure retriggered batch application program, batch application program can be by
Business Processing is all removed and re-started to the data for generating before, and the data for often malfunctioning are fraction, thus can
Unnecessary burden is brought to banking system, so as to reduce execution efficiency.
The content of the invention
In view of this, the present invention provides that a kind of batch jobs are continuous to run method and device, to solve existing technical scheme in
Again operation causes the low problem of execution efficiency to batch application program.Technical scheme is as follows:
A kind of continuous race method of batch jobs, including:
When receiving that batch jobs are continuous to run request, at least one state task table of advance structure is transferred, wherein, it is described
State task table be stored with associated databases at least one of flag bit and database tables of data job identification,
The flag bit is used to characterize the running status of the database, and the running status includes that tables of data is all processed or tables of data
All do not process, the job identification is used for the job state of characterize data table, the job state include processing do not complete or
Process is completed;
For state task table each described, the flag bit for wherein storing is parsed, it is determined that the corresponding database
Running status;
It is each described database that tables of data is not all processed for running status, obtains the corresponding state and appoint
The job identification of tables of data, according to the job identification each tables of data is determined described at least one stored in business table
Job state, and be to process each unfinished described tables of data to process to job state.
Preferably, also include:
When being to process after each described tables of data for not completing processes success to job state, to process successfully each
The job identification of the tables of data is updated.
Preferably, also include:
For each described database that running status is not all processed for tables of data, the operation in the database
State is to process each the described tables of data not completed all to process after success, and the flag bit of the database is carried out more
Newly.
Preferably, the advance process for building at least one state task table, including:
Pending data is obtained from target data source;
Point storehouse point list processing is carried out to the pending data, at least one database is obtained, is included in the database
At least one tables of data;
Distribute a state task table for tables of data each described.
A kind of batch jobs device for vehicle running, including:State task table is transferred at module, running status determining module and data
Reason module, the state task table transfers module includes state task table construction unit;
The state task table construction unit, for building at least one state task table in advance;
The state task table transfers module, for when receiving that batch jobs are continuous to run request, transferring advance structure
At least one state task table, wherein, the state task table is stored with the flag bit and the database of associated databases
At least one of tables of data job identification, the flag bit is used to characterize the running status of the database, the operation
State includes that tables of data is all processed or tables of data is not all processed, and the job identification is used for the operation shape of characterize data table
State, the job state includes that processing unfinished or process completes;
The running status determining module, for for each described state task table, it is described that parsing is wherein stored
Flag bit, it is determined that the running status of the corresponding database;
The data processing module, for each the described data all not processed for tables of data for running status
Storehouse, obtains the job identification of tables of data described at least one stored in the corresponding state task table, according to the operation
Mark determines the job state of each tables of data, and is to process each unfinished described tables of data to carry out to job state
Process.
Preferably, also include:Job identification update module;
The job identification update module, is to process each unfinished described data list processing for working as to job state
After success, the job identification to processing successfully each tables of data is updated.
Preferably, flag bit update module;
The flag bit update module, for each the described data all not processed for tables of data for running status
Storehouse, job state is to process each the described tables of data not completed all to process after success, to institute in the database
The flag bit for stating database is updated.
Preferably, state task table construction unit includes:Pending data obtains subelement, point storehouse point table subelement and shape
State task list distributes subelement;
The pending data obtains subelement, for obtaining pending data from target data source;
Described point of storehouse point table subelement, for carrying out point storehouse point list processing to the pending data, obtains at least one
Database, includes at least one tables of data in the database;
The state task table distributes subelement, for distributing a state task table for tables of data each described.
Compared to prior art, what the present invention was realized has the beneficial effect that:
The continuous race method and device of a kind of batch jobs that the above present invention is provided, the method is in advance each database sharing one
Individual state task table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, leads to
Cross and inquire about the operation that each state task table can determine that all tables of data in the running status and each database of each database
State, so as to realize continuing with to untreated each tables of data for completing.It is continuous by breakpoint based on method disclosed by the invention
Race reduces the burden of banking system, so as to improve execution efficiency.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this
Inventive embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis
The accompanying drawing of offer obtains other accompanying drawings.
Fig. 1 is that a kind of batch jobs disclosed in the embodiment of the present invention one are continuous runs method flow diagram;
Fig. 2 is that a kind of batch jobs disclosed in the embodiment of the present invention two are continuous runs method flow diagram;
Fig. 3 is that another kind of batch jobs are continuous disclosed in the embodiment of the present invention two runs method flow diagram;
Fig. 4 is a kind of continuous race method partial process view of batch jobs disclosed in the embodiment of the present invention three;
Fig. 5 is a kind of batch jobs device for vehicle running structural representation disclosed in the embodiment of the present invention four;
Fig. 6 is a kind of batch jobs device for vehicle running structural representation disclosed in the embodiment of the present invention five;
Fig. 7 is another kind of batch jobs device for vehicle running structural representation disclosed in the embodiment of the present invention five;
Fig. 8 is a kind of batch jobs device for vehicle running part-structure schematic diagram disclosed in the embodiment of the present invention six.
Specific 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 is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
Batch processing, concentrate after referring to terminate using business carries out batch processing to same day business, is typically arranged at night
Carry out, including the clearing of Collection and Payment On Behalf, interest, batch are refunded, update the operation such as general ledger, backup, cleaning, are banking integralities
A necessary links.
Batch jobs, refer to combine the program unit for calling multiple batch processing services.
It is continuous to run, under referring to the scene that batch jobs run into abnormal conditions stopping, batch jobs are restarted after queueing problem,
From last time, the position of error continued with.
Divide storehouse point table, refer to the data source of the mass data that was stored with originally, according to certain rule, split into multiple little
The table of data volume, and be stored in multiple databases.
Embodiment one
The embodiment of the present invention one discloses a kind of continuous race method of batch jobs, and the method is applied to continuous race of batch jobs and fills
Put, method flow diagram is as shown in figure 1, comprise the steps:
S101, when receiving that batch jobs are continuous to run request, transfers at least one state task table of advance structure, its
In, state task table be stored with associated databases at least one of flag bit and database tables of data job identification,
Flag bit is used for the running status of characterization database, and running status includes that tables of data is all processed or tables of data is not all processed,
Job identification is used for the job state of characterize data table, and job state includes that processing unfinished or process completes;
During execution step S101, the data of target data source are processed according to preset rules in advance, obtained
To the database comprising at least one tables of data, database is one or more, and distributes a state times for each database
Business table, state task table is represented the running status of database in the way of flag bit, the data is represented in the way of job identification
The job state of each tables of data in storehouse;
For example, 1000 datas of data source are averagely stored in 100 tables of data, and this 100 tables of data is divided
It is fitted on 5 databases, that is to say, that be stored with 10 datas in each tables of data, be stored with 20 data in each database
Table;Distribute a corresponding state task table for above-mentioned each database, the state task table be for recording the database in
The job state of 20 tables of data, also, for each database, the flag bit of availability status task list is representing fortune
Row state, for example, flag bit 0 represents that tables of data is not all processed, and flag bit 1 represents that tables of data is all processed.
S102, for each state task table, parses the flag bit for wherein storing, and determines the operation shape of associated databases
State;
During execution step S102, for each state task table, wherein the flag bit for storing can table
Show the running status of correspondence database, for example, the flag bit of the corresponding state task tables of database A is 0, represents database A
In tables of data all do not process.
S103, is each database that tables of data is not all processed for running status, obtains corresponding state task
The job identification of at least one tables of data stored in table, according to job identification the job state of each tables of data is determined, and right
Job state is to process each unfinished tables of data to be processed;
During execution step S103, for example, 20 tables of data, the state task of database A are included in database A
The flag bit of table is that the tables of data in 0, i.e. database A is not all processed, then according to 20 in the state task table of database A
The job identification of individual tables of data, you can determine in 20 tables of data which is processed and complete, which be it is untreated complete, most
The untreated tables of data for completing is continued with afterwards, for example, job identification D represents that data list processing is not completed, job identification R marks
Know data list processing to complete.
The continuous race method of batch jobs disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with.Based on method disclosed by the invention, silver is reduced by the continuous race of breakpoint
The burden of row system, so as to improve execution efficiency.
Embodiment two
The continuous race method of the batch jobs with reference to disclosed in above-described embodiment one and accompanying drawing 1, the embodiment of the present invention two also provides one
The continuous race method of batch jobs is planted, method flow diagram is as shown in Fig. 2 comprise the steps:
S101, when receiving that batch jobs are continuous to run request, transfers at least one state task table of advance structure, its
In, state task table be stored with associated databases at least one of flag bit and database tables of data job identification,
Flag bit is used for the running status of characterization database, and running status includes that tables of data is all processed or tables of data is not all processed,
Job identification is used for the job state of characterize data table, and job state includes that processing unfinished or process completes;
S102, for each state task table, parses the flag bit for wherein storing, and determines the operation shape of associated databases
State;
S103, is each database that tables of data is not all processed for running status, obtains corresponding state task
The job identification of at least one tables of data stored in table, according to job identification the job state of each tables of data is determined, and right
Job state is to process each unfinished tables of data to be processed;
S104, after being each unfinished tables of data process success of process to job state, to processing successfully respectively
The job identification of individual tables of data is updated.
During execution step S104, for example, job identification D represents that data list processing is not completed, job identification R marks
Know data list processing to complete, after according to job identification D to corresponding data list processing success, count this in state task table
R is changed to by D according to the job identification of table.
It should be noted that the batch jobs that the embodiment of the present invention two is provided continue in race method, step S101~step
The concrete implementation procedure of S103 is consistent with step S101~step S103 that above-described embodiment one is open, will not be described here, please
Referring to part disclosed in the embodiment of the present invention one.
The continuous race method of batch jobs disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with, and the job identification to processing successful tables of data is updated.Base
In method disclosed by the invention, continued by breakpoint and run the burden for reducing banking system, so as to improve execution efficiency.
The continuous race method of the batch jobs with reference to disclosed in above-described embodiment one and accompanying drawing 1, the embodiment of the present invention two also provides one
The continuous race method of batch jobs is planted, method flow diagram is as shown in figure 3, comprise the steps:
S101, when receiving that batch jobs are continuous to run request, transfers at least one state task table of advance structure, its
In, state task table be stored with associated databases at least one of flag bit and database tables of data job identification,
Flag bit is used for the running status of characterization database, and running status includes that tables of data is all processed or tables of data is not all processed,
Job identification is used for the job state of characterize data table, and job state includes that processing unfinished or process completes;
S102, for each state task table, parses the flag bit for wherein storing, and determines the operation shape of associated databases
State;
S103, is each database that tables of data is not all processed for running status, obtains corresponding state task
The job identification of at least one tables of data stored in table, according to job identification the job state of each tables of data is determined, and right
Job state is to process each unfinished tables of data to be processed;
S105, for each database that running status is not all processed for tables of data, the operation shape in database
State is to process each tables of data not completed all to process after success, and the flag bit of database is updated;
During execution step S105, for example, flag bit 0 represents that tables of data is not all processed, and flag bit 1 represents number
All process according to table, when the job state in 0 pair of database of flag bit is to process each unfinished tables of data whole
After processing success, the flag bit of the tables of data is changed to into 1 by 0 in state task table.
It should be noted that the batch jobs that the embodiment of the present invention two is provided continue in race method, step S101~step
The concrete implementation procedure of S103 is consistent with step S101~step S103 that above-described embodiment one is open, will not be described here, please
Referring to part disclosed in the embodiment of the present invention one.
The continuous race method of batch jobs disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with, and the flag bit that tables of data all processes successful database is carried out
Update.Based on method disclosed by the invention, continued by breakpoint and run the burden for reducing banking system, so as to improve effect is performed
Rate.
Embodiment three
The continuous race method of the batch jobs with reference to disclosed in above-described embodiment one and embodiment two, the step for going out as shown in Figure 1 to Figure 3
In rapid S101, the concrete implementation procedure of at least one state task table is built in advance, as shown in figure 4, comprising the steps:
S201, pending data is obtained from target data source;
S202, point storehouse point list processing is carried out to pending data, obtains at least one database, comprising at least in database
One tables of data;
S203, is that each tables of data distributes a state task table.
The continuous race method of batch jobs disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with.Based on method disclosed by the invention, silver is reduced by the continuous race of breakpoint
The burden of row system, so as to improve execution efficiency.
Example IV
The continuous race method of batch jobs provided based on the various embodiments described above, embodiment of the present invention four fundamental rules correspondence is open to be performed
The device that batch jobs continue race method is stated, its structural representation is as shown in figure 5, batch jobs device for vehicle running 100 includes:State is appointed
Business table transfers module 101, running status determining module 102 and data processing module 103, and state task table is transferred in module 101
Including state task table construction unit 1011;
State task table construction unit 1011, for building at least one state task table in advance;
State task table transfers module 101, for when receiving that batch jobs are continuous to run request, transferring and build in advance extremely
A few state task table, wherein, state task table be stored with the flag bit and database of associated databases at least one
The job identification of individual tables of data, flag bit is used for the running status of characterization database, and running status includes that tables of data is all processed
Or tables of data is not all processed, job identification be used for characterize data table job state, job state include process do not complete or
Process is completed;
Running status determining module 102, for for each state task table, parsing the flag bit for wherein storing, really
Determine the running status of associated databases;
Data processing module 103, for each database all not processed for tables of data for running status, obtains
The job identification of at least one tables of data stored in corresponding state task table, according to job identification each tables of data is determined
Job state, and be to process each unfinished tables of data to process to job state.
Batch jobs device for vehicle running disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with.Based on device disclosed by the invention, silver is reduced by the continuous race of breakpoint
The burden of row system, so as to improve execution efficiency.
Embodiment five
Batch jobs device for vehicle running and Fig. 5 with reference to disclosed in above-described embodiment four, the embodiment of the present invention five also provides one kind
Batch jobs device for vehicle running, its structural representation is as shown in fig. 6, batch jobs device for vehicle running 100 also includes:Job identification updates
Module 104;
Job identification update module 104, is to process each unfinished tables of data to process successfully for working as to job state
Afterwards, the job identification to processing successfully each tables of data is updated.
Batch jobs device for vehicle running disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with, and the job identification to processing successful tables of data is updated.Base
In device disclosed by the invention, continued by breakpoint and run the burden for reducing banking system, so as to improve execution efficiency.
Batch jobs device for vehicle running and Fig. 5 with reference to disclosed in above-described embodiment four, the embodiment of the present invention five also provides one kind
Batch jobs device for vehicle running, its structural representation is as shown in fig. 7, batch jobs device for vehicle running 100 also includes:Flag bit updates mould
Block 105;
Flag bit update module 105, for being directed to each database that running status is that tables of data is not all processed, when
It is to process each tables of data not completed all to process after success to job state in database, the flag bit of database is entered
Row updates.
Batch jobs device for vehicle running disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with, and the flag bit that tables of data all processes successful database is carried out
Update.Based on device disclosed by the invention, continued by breakpoint and run the burden for reducing banking system, so as to improve effect is performed
Rate.
Embodiment six
The batch jobs device for vehicle running with reference to disclosed in above-described embodiment four and embodiment five, the shape for going out as shown in Figures 5 to 7
State task list construction unit 1011, its structural representation as shown in figure 8, including:Pending data obtains subelement 201, point storehouse point
Table subelement 202 and state task table distribution subelement 203;
Pending data obtains subelement 201, for obtaining pending data from target data source;
Divide storehouse point table subelement 202, for carrying out point storehouse point list processing to pending data, obtain at least one data
Storehouse, includes at least one tables of data in database;
State task table distributes subelement 203, for distributing a state task table for each tables of data.
Batch jobs device for vehicle running disclosed in the embodiment of the present invention, by being in advance one state task of each database sharing
Table carrys out the job state of all tables of data in database of record, when receiving that batch jobs are continuous to run request, by inquiring about each
State task table can determine that the job state of all tables of data in the running status of each database and each database, so as to reality
Now untreated each tables of data for completing is continued with.Based on device disclosed by the invention, silver is reduced by the continuous race of breakpoint
The burden of row system, so as to improve execution efficiency.
Above method and device of running continuous to a kind of batch jobs provided by the present invention is described in detail, and herein should
The principle and embodiment of the present invention are set forth with specific case, the explanation of above example is only intended to help and manages
The solution method of the present invention and its core concept;Simultaneously for one of ordinary skill in the art, according to the thought of the present invention,
Will change in specific embodiment and range of application, in sum, this specification content should not be construed as to this
Bright restriction.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight
Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For device disclosed in embodiment, because it is corresponded to the method disclosed in Example, so fairly simple, the phase of description
Part is closed referring to method part illustration.
Also, it should be noted that herein, such as first and second or the like relational terms are used merely to one
Entity or operation make a distinction with another entity or operation, and not necessarily require or imply between these entities or operation
There is any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to contain
Lid nonexcludability is included, so that a series of intrinsic key element of process, method, article or equipment including key elements,
Or also include the key element intrinsic for these processes, method, article or equipment.In the absence of more restrictions,
The key element limited by sentence "including a ...", it is not excluded that in the process including the key element, method, article or equipment
In also there is other identical element.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or using the present invention.
Various 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, the present 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 for causing.
Claims (8)
1. a kind of batch jobs continue race method, it is characterised in that include:
When receiving that batch jobs are continuous to run request, at least one state task table of advance structure is transferred, wherein, the state
Task list be stored with associated databases at least one of flag bit and database tables of data job identification, it is described
Flag bit is used to characterize the running status of the database, and the running status includes that tables of data is all processed or tables of data is not complete
Portion is processed, and the job identification is used for the job state of characterize data table, and the job state includes processing unfinished or processes
Complete;
For state task table each described, the flag bit for wherein storing is parsed, it is determined that the fortune of the corresponding database
Row state;
It is each described database that tables of data is not all processed for running status, obtains the corresponding state task table
The job identification of tables of data described at least one of middle storage, according to the job identification operation of each tables of data is determined
State, and be to process each unfinished described tables of data to process to job state.
2. method according to claim 1, it is characterised in that also include:
After being each unfinished described tables of data process success of process to job state, to described in process successfully each
The job identification of tables of data is updated.
3. method according to claim 1, it is characterised in that also include:
For each described database that running status is not all processed for tables of data, the job state in the database
All process after success to process each the described tables of data not completed, the flag bit of the database is updated.
4. method according to claim 1, it is characterised in that the advance mistake for building at least one state task table
Journey, including:
Pending data is obtained from target data source;
Point storehouse point list processing is carried out to the pending data, at least one database is obtained, comprising at least in the database
One tables of data;
Distribute a state task table for tables of data each described.
5. a kind of batch jobs device for vehicle running, it is characterised in that include:State task table transfers module, running status and determines mould
Block and data processing module, the state task table transfers module includes state task table construction unit;
The state task table construction unit, for building at least one state task table in advance;
The state task table transfers module, for when receiving that batch jobs are continuous to run request, transferring and build in advance at least
One state task table, wherein, the state task table is stored with the flag bit and the database of associated databases
The job identification of at least one tables of data, the flag bit is used to characterize the running status of the database, the running status
All process including tables of data or tables of data is not all processed, the job identification is used for the job state of characterize data table, institute
Stating job state includes that processing unfinished or process completes;
The running status determining module, for for each described state task table, parsing the mark for wherein storing
Position, it is determined that the running status of the corresponding database;
The data processing module, for each the described database all not processed for tables of data for running status, obtains
The job identification of tables of data described at least one stored in the corresponding state task table is taken, it is true according to the job identification
The job state of fixed each tables of data, and be to process each unfinished described tables of data to process to job state.
6. device according to claim 5, it is characterised in that also include:Job identification update module;
The job identification update module, is to process each unfinished described tables of data to process successfully for working as to job state
Afterwards, the job identification to processing successfully each tables of data is updated.
7. device according to claim 5, it is characterised in that also include:Flag bit update module;
The flag bit update module, for each the described database all not processed for tables of data for running status,
Job state is to process each the described tables of data not completed all to process after success, to the number in the database
It is updated according to the flag bit in storehouse.
8. device according to claim 5, it is characterised in that state task table construction unit includes:Pending data is obtained
Take subelement, point storehouse point table subelement and state task table distribution subelement;
The pending data obtains subelement, for obtaining pending data from target data source;
Described point of storehouse point table subelement, for carrying out point storehouse point list processing to the pending data, obtains at least one data
Storehouse, includes at least one tables of data in the database;
The state task table distributes subelement, for distributing a state task table for tables of data each described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611228556.1A CN106648842A (en) | 2016-12-27 | 2016-12-27 | Method and device for continuous running of batch jobs |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611228556.1A CN106648842A (en) | 2016-12-27 | 2016-12-27 | Method and device for continuous running of batch jobs |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106648842A true CN106648842A (en) | 2017-05-10 |
Family
ID=58832816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611228556.1A Pending CN106648842A (en) | 2016-12-27 | 2016-12-27 | Method and device for continuous running of batch jobs |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106648842A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107734202A (en) * | 2017-09-28 | 2018-02-23 | 平安科技(深圳)有限公司 | Breakpoint calling-out method, electronic installation and computer-readable recording medium |
CN110633914A (en) * | 2019-09-20 | 2019-12-31 | 中国银行股份有限公司 | Batch job scheduling processing method and device |
CN111882427A (en) * | 2020-07-27 | 2020-11-03 | 中国建设银行股份有限公司 | Loan system data processing method, loan system data processing device, loan system data processing equipment and loan system data processing storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038559A (en) * | 2006-09-11 | 2007-09-19 | 中国工商银行股份有限公司 | Batch task scheduling engine and dispatching method |
US20120197846A1 (en) * | 2011-02-01 | 2012-08-02 | Computer Associates Think, Inc. | Dynamic recovery of server applications |
CN103123652A (en) * | 2013-03-14 | 2013-05-29 | 曙光信息产业(北京)有限公司 | Data query method and cluster database system |
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 |
CN105487924A (en) * | 2015-11-30 | 2016-04-13 | 中国建设银行股份有限公司 | Batch processing controlling method and device |
-
2016
- 2016-12-27 CN CN201611228556.1A patent/CN106648842A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101038559A (en) * | 2006-09-11 | 2007-09-19 | 中国工商银行股份有限公司 | Batch task scheduling engine and dispatching method |
US20120197846A1 (en) * | 2011-02-01 | 2012-08-02 | Computer Associates Think, Inc. | Dynamic recovery of server applications |
CN103123652A (en) * | 2013-03-14 | 2013-05-29 | 曙光信息产业(北京)有限公司 | Data query method and cluster database system |
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 |
CN105487924A (en) * | 2015-11-30 | 2016-04-13 | 中国建设银行股份有限公司 | Batch processing controlling method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107734202A (en) * | 2017-09-28 | 2018-02-23 | 平安科技(深圳)有限公司 | Breakpoint calling-out method, electronic installation and computer-readable recording medium |
CN107734202B (en) * | 2017-09-28 | 2019-11-08 | 平安科技(深圳)有限公司 | Breakpoint calling-out method, electronic device and computer readable storage medium |
CN110633914A (en) * | 2019-09-20 | 2019-12-31 | 中国银行股份有限公司 | Batch job scheduling processing method and device |
CN111882427A (en) * | 2020-07-27 | 2020-11-03 | 中国建设银行股份有限公司 | Loan system data processing method, loan system data processing device, loan system data processing equipment and loan system data processing storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101589417B (en) | Map information managing system and map information distribution system | |
CN105933446A (en) | Service dual-active implementation method and system of big data platform | |
Erschler et al. | Finding some essential characteristics of the feasible solutions for a scheduling problem | |
US8849871B2 (en) | Efficient pushdown of joins in a heterogeneous database system involving a large-scale low-power cluster | |
CN105159783A (en) | System task distribution method | |
CN108829610A (en) | EMS memory management process and equipment during a kind of neural network forward calculation | |
CN106648842A (en) | Method and device for continuous running of batch jobs | |
CN106981024B (en) | Transaction limit calculation processing system and processing method thereof | |
CN103473636B (en) | A kind of system data element of collection, analysis and distribution network business information | |
CN105550274B (en) | The querying method and device of this parallel database of two-pack | |
CN103197634B (en) | Generating system and generating method of on-line prediction and on-line processing plan for automatic manufacturing and processing system | |
CN108984639A (en) | The data processing method and device of server cluster | |
CN112579586A (en) | Data processing method, device, equipment and storage medium | |
CN110019200A (en) | A kind of foundation of index, application method and device | |
CN106682017B (en) | Database updating method and device | |
CN109039710A (en) | Route data auditing method, device, server and storage medium | |
CN104756079A (en) | Rule distribution server, as well as event processing system, method, and program | |
CN106294611A (en) | Core banking system and the old and new's core system data exchange method | |
CN106156170A (en) | The analysis of public opinion method and device | |
CN110032154A (en) | A kind of production control method and system of be pilot | |
KR20160054281A (en) | Apparatus for designing processing modeling and method for designing processing modeling based on the binary bills of material structure | |
CN105210059A (en) | Data processing method and system | |
CN109472680A (en) | A kind of accounting processing method and system | |
CN102750610A (en) | Transaction control method in product lifecycle phase management-enterprise resource planning (PLM-ERP) integration process | |
Kooiman et al. | An empirical two market disequilibrium model for Dutch manufacturing |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |