CN103092692A - Job management machine achieving method and job management machine applicable to software batch processing jobs - Google Patents

Job management machine achieving method and job management machine applicable to software batch processing jobs Download PDF

Info

Publication number
CN103092692A
CN103092692A CN2013100306629A CN201310030662A CN103092692A CN 103092692 A CN103092692 A CN 103092692A CN 2013100306629 A CN2013100306629 A CN 2013100306629A CN 201310030662 A CN201310030662 A CN 201310030662A CN 103092692 A CN103092692 A CN 103092692A
Authority
CN
China
Prior art keywords
job
batch processing
applicable
queue
manager
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
Application number
CN2013100306629A
Other languages
Chinese (zh)
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.)
CHINA NATIONAL AVIATION SETTLEMENT Co Ltd
Original Assignee
CHINA NATIONAL AVIATION SETTLEMENT Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHINA NATIONAL AVIATION SETTLEMENT Co Ltd filed Critical CHINA NATIONAL AVIATION SETTLEMENT Co Ltd
Priority to CN2013100306629A priority Critical patent/CN103092692A/en
Publication of CN103092692A publication Critical patent/CN103092692A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a job management machine achieving method applicable to software batch processing jobs. Based on defined different job information, the method conducts job operation management and generates job reports. The job operation management comprises the steps of starting a job management machine, initializing a job queue, starting a job queue monitor, monitoring the job queue through the job queue monitor, updating the job queue at any time according to the latest job definition, sequentially submitting and running jobs according to order of the jobs in the job queue, conducting the jobs according to the order, reporting a rate of progress, wherein when the jobs are conducted, the multiple jobs are simultaneously operated based on an application process domain, and completing job operation.

Description

Be applicable to job manager implementation method and the job manager of software batch processing job
Technical field
The invention belongs to software processing method and technology field, be specifically related to a kind of job manager implementation method and job manager that is applicable to the software batch processing job.
Background technology
In history, batch processing job is widely used in mainframe computer.In contemporary information systems, due to the operation system processing requirements, such as need batch processing job in every day, carry out report data and calculate, print series documentation etc.For mass data processing, require to process simultaneously a plurality of operations in a large amount of open computational resources, and can complete fast processing procedure.
At present, the application on the development of batch processing victory far away giant brain originally also is usually used in unix environment now, arranges complicated working routine with CRON and at mechanism.Windows system of Microsoft provides the task scheduling instrument, the frequency that the user can self-defined job run, and can select the application program that will move.
The task manager of Windows although provide customization various temporal frequencies, can only be confined to application program at the executable operations task type of appointment, send Email and display message.The CRON of Unix and at mechanism can customize various temporal frequencies equally, and take application program as run unit.Above-mentioned technology can only start application program in the machine take process as unit, and during towards the little operation of numerous high-frequency batch, system resources consumption is high; Can not support nonusable routine, such as homework types such as assembly, database applications; Can not complete the integration of computational resource in distributed situation.
Summary of the invention
One object of the present invention is to provide a kind of job manager implementation method that is applicable to the software batch processing job, is supported in a plurality of operations of same in-process execution, and supports to comprise the several work type of application program, storing process and .Net assembly.
Another object of the present invention is to provide a kind of job manager that is applicable to the software batch processing job.
Technical scheme of the present invention is as follows:
A kind of job manager implementation method that is applicable to the software batch processing job, the method is carried out job run and is managed and generate workpaper based on each job information of definition, and the job run management comprises the following steps:
Step 1, initiating task manager;
Step 2, initialization job queue;
Step 3, initiating task queue monitor device by this job queue monitor monitoring task formation, and upgrade at any time job queue according to up-to-date operational definition, and submit successively operation to according to the sequence of each operation in operation is lined up;
Step 4, carry out operation and report progress according to the order of sequence, wherein, when carrying out operation, based on the application process territory moving simultaneously a plurality of operations;
Step 5, job run are complete.
Further, in step 1, when the initiating task manager, judge that at first whether successfully the job manager running status starts to check, finishes as starting.
Further, in step 2, with all pending job state initialization, and read in the job queue of internal memory, when having the parallel situation of job run, create a plurality of job queues.
Further, in step 3, this job queue monitor regularly carries out poll to defined operation by configurable poll frequency, when the operation of wait is arranged, generates corresponding job queue and processes.
Further, the definition of operation comprises the following steps:
The information element of each operation is provided, comprises: job title, operation source, homework type, input parameter and job procedure positional information, wherein, described homework type support application program, storing process and .Net assembly;
Customize as required multiple different running frequencies corresponding to each operation.
Further, also comprise the Job execution detailed configuration information of customization under each running frequency.
Further, detailed configuration information is included in the concrete Starting Executing Time of operation under each running frequency.
Further, workpaper comprises the detailed progress report of Global Operation operational report and each operation.
A kind of job manager that is applicable to the software batch processing job is characterized in that, described job manager comprises: start unit, initialization job queue unit, job queue monitor unit and carry out according to the order of sequence operation and report the progress unit.
Technique effect of the present invention is:
The present invention is applicable to the job manager implementation method of software batch processing job, move a plurality of operations in same in-process operation, again by isolating in different application processes territories, both saved the consumption of system resource, guaranteed again the independence of operation, very effective in a large amount of small-scale operation of reply.Simultaneously, support nonusable routine, such as homework types such as assembly, database applications, be not limited to application program.
Description of drawings
Fig. 1 is the process flow diagram that the present invention is applicable to the job manager implementation method of software batch processing job.
Embodiment
The present invention will be further described below in conjunction with accompanying drawing.
A kind of job manager implementation method that is applicable to the software batch processing job of the present invention based on each job information of definition, is carried out job run and is managed and generate workpaper.
The definition of operation comprises the following steps:
At first, provide the information element of each operation, comprising: job title, operation source, homework type, input parameter and job procedure positional information, wherein, homework type support application program, storing process and .Net assembly.Secondly, customize as required multiple different running frequencies corresponding to each operation, running frequency comprises: carry out immediately (immediately), Exactly-once (once), execution (Every Week) and execution (Every Month) per month weekly; Also comprise the Job execution detailed configuration information of customization under each running frequency, configuration information is included in the concrete Starting Executing Time of operation under each running frequency in detail, as arranging for not needing of carrying out immediately, when be arranged on certain sky for execution needs once carries out, it is a week " when " or " working day " or " weekend " and " every day " and concrete execution time for the needs setting of carrying out weekly, for the when execution in the needs setting of carrying out per month which sky per month.
As shown in Figure 1, the job run management comprises the following steps:
Step 1, initiating task manager.
Job manager can be deployed on the hardware server of distribution.When the initiating task manager, judge that at first whether successfully the job manager running status starts to check, finishes as starting.In system, the job manager running status is divided into following state: INITIAL (not starting), INITIALING (in startup), RUN (moving) and INITIAL ERROR (initialization mistake).In order conveniently to carry out thread synchronization, above-mentioned several states are represented with different integer correspondences: 0:INITIAL, 1:INITIALING, 2:RUN, 3:INITIAL ERROR, the method when carrying out the judgement of job manager state in employing atomic operation type.
Step 2, initialization job queue.
With all pending job state initialization, and read in the job queue of internal memory, when having the parallel situation of job run, create a plurality of job queues, and the state of All Jobs all is set to " pending ".
Step 3, initiating task queue monitor device, by this job queue monitor monitoring task formation, and upgrade at any time job queue according to up-to-date operational definition, and submit successively operation to according to the sequence of each operation in operation is lined up, when concrete, top job state is set to " in execution ", and submits operation to.If last operation executed is complete, namely state is " completing ", extracts next operation and submit operation to from formation.
This job queue monitor regularly carries out poll to defined operation by configurable poll frequency, when the operation of wait is arranged, generates corresponding job queue and processes.
Step 4, carry out operation and report progress according to the order of sequence, wherein, when carrying out operation, based on the application process territory moving simultaneously a plurality of operations.
(that is, from application program entry point, along any position of the sequence of object activation) set up on a kind of border of Application Domain (AppDomain), the object that it is created in the same application scope by CLR.Application Domain helps the isolation of the object that will create and the object that creates in other application programs in an application program, so that behavior can be predicted during operation.Can there be a plurality of Application Domains in an independent process.Like this, the operation of a plurality of operations can not cause application and the release of a plurality of processes, larger minimizing the consumption of system resource, ensured again simultaneously the independence between operation.
Step 5, job run are complete.Generate the job run daily record, and form workpaper.
Workpaper comprises the detailed progress report of Global Operation operational report and each operation.The Global Operation operational report comprises that job title, job run start time, job run concluding time, operation are actual consuming time etc.; In detail progress report comprises the current execution in step of operation, carries out consuming time and the present schedule of operation etc.

Claims (9)

1. a job manager implementation method that is applicable to the software batch processing job, is characterized in that, the method is carried out job run and managed and generate workpaper based on each job information of definition, and described job run management comprises the following steps:
Step 1, initiating task manager;
Step 2, initialization job queue;
Step 3, initiating task queue monitor device by this job queue monitor monitoring task formation, and upgrade at any time job queue according to up-to-date operational definition, and submit successively operation to according to the sequence of each operation in operation is lined up;
Step 4, carry out operation and report progress according to the order of sequence, wherein, when carrying out operation, based on the application process territory moving simultaneously a plurality of operations;
Step 5, job run are complete.
2. according to the described job manager implementation method that is applicable to the software batch processing job of claim 1, it is characterized in that, in step 1, when the initiating task manager, at first judge that whether successfully the job manager running status starts to check, finishes as starting.
3. according to the described job manager implementation method that is applicable to the software batch processing job of claim 1, it is characterized in that, in step 2, with all pending job state initialization, and read in the job queue of internal memory, when having the parallel situation of job run, create a plurality of job queues.
4. according to the described job manager implementation method that is applicable to the software batch processing job of claim 1, it is characterized in that, in step 3, this job queue monitor is by configurable poll frequency, regularly poll is carried out in defined operation, when the operation of wait is arranged, generate corresponding job queue and process.
5. according to the described job manager implementation method that is applicable to the software batch processing job of claim 1, it is characterized in that, the definition of described operation comprises the following steps:
The information element of each operation is provided, comprises: job title, operation source, homework type, input parameter and job procedure positional information, wherein, described homework type support application program, storing process and .Net assembly;
Customize as required multiple different running frequencies corresponding to each operation.
6. according to the described job manager implementation method that is applicable to the software batch processing job of claim 5, it is characterized in that, also comprise the Job execution detailed configuration information of customization under each running frequency.
7. according to the described job manager implementation method that is applicable to the software batch processing job of claim 6, it is characterized in that, described detailed configuration information is included in the concrete Starting Executing Time of operation under each running frequency.
8. according to the described job manager implementation method that is applicable to the software batch processing job of claim 1, it is characterized in that, described workpaper comprises the detailed progress report of Global Operation operational report and each operation.
9. a job manager that is applicable to the software batch processing job, is characterized in that, described job manager comprises: start unit, initialization job queue unit, job queue monitor unit and carry out according to the order of sequence operation and report the progress unit.
CN2013100306629A 2013-01-28 2013-01-28 Job management machine achieving method and job management machine applicable to software batch processing jobs Pending CN103092692A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100306629A CN103092692A (en) 2013-01-28 2013-01-28 Job management machine achieving method and job management machine applicable to software batch processing jobs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100306629A CN103092692A (en) 2013-01-28 2013-01-28 Job management machine achieving method and job management machine applicable to software batch processing jobs

Publications (1)

Publication Number Publication Date
CN103092692A true CN103092692A (en) 2013-05-08

Family

ID=48205302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100306629A Pending CN103092692A (en) 2013-01-28 2013-01-28 Job management machine achieving method and job management machine applicable to software batch processing jobs

Country Status (1)

Country Link
CN (1) CN103092692A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645687A (en) * 2013-11-22 2014-03-19 上海华力微电子有限公司 A method and a system for synchronously establishing processing working among devices
CN108008983A (en) * 2017-09-30 2018-05-08 浙江中控软件技术有限公司 Multi-interface data processing method based on one process
CN111045804A (en) * 2019-11-26 2020-04-21 泰康保险集团股份有限公司 Task allocation method, device, medium and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020078130A1 (en) * 2000-12-19 2002-06-20 Thornton James D. Method and system for executing batch jobs by delegating work to independent service providers
CN101753451A (en) * 2009-12-23 2010-06-23 卡斯柯信号有限公司 Network load balance track traffic signal equipment state collection method and device
US20120246651A1 (en) * 2011-03-25 2012-09-27 Oracle International Corporation System and method for supporting batch job management in a distributed transaction system
CN102880503A (en) * 2012-08-24 2013-01-16 新浪网技术(中国)有限公司 Data analysis system and data analysis method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020078130A1 (en) * 2000-12-19 2002-06-20 Thornton James D. Method and system for executing batch jobs by delegating work to independent service providers
CN101753451A (en) * 2009-12-23 2010-06-23 卡斯柯信号有限公司 Network load balance track traffic signal equipment state collection method and device
US20120246651A1 (en) * 2011-03-25 2012-09-27 Oracle International Corporation System and method for supporting batch job management in a distributed transaction system
CN102880503A (en) * 2012-08-24 2013-01-16 新浪网技术(中国)有限公司 Data analysis system and data analysis method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645687A (en) * 2013-11-22 2014-03-19 上海华力微电子有限公司 A method and a system for synchronously establishing processing working among devices
CN103645687B (en) * 2013-11-22 2016-08-24 上海华力微电子有限公司 Equipment room synchronizes establishment and processes the method and system of operation
CN108008983A (en) * 2017-09-30 2018-05-08 浙江中控软件技术有限公司 Multi-interface data processing method based on one process
CN108008983B (en) * 2017-09-30 2023-12-15 浙江中控软件技术有限公司 Multi-interface data processing method based on single process
CN111045804A (en) * 2019-11-26 2020-04-21 泰康保险集团股份有限公司 Task allocation method, device, medium and electronic equipment
CN111045804B (en) * 2019-11-26 2024-03-19 泰康保险集团股份有限公司 Task allocation method, device, medium and electronic equipment

Similar Documents

Publication Publication Date Title
US9990230B1 (en) Scheduling a notebook execution
US9740522B2 (en) Controlled interruption and resumption of batch job processing
CN113228020B (en) Scheduling robots for robot process automation
US10832224B2 (en) Calendar based management of information technology (IT) tasks
EP4046017A1 (en) Systems and methods for cross-platform scheduling and workload automation
CN102279766B (en) Method and system for concurrently simulating processors and scheduler
CN104156265A (en) Timed task processing method and processing device
US9760362B2 (en) Analytics based patch management and distribution
CN109117141A (en) Simplify method, apparatus, the electronic equipment, computer readable storage medium of programming
EP3230865B1 (en) Recovery execution system using programatic generation of actionable workflows
CN109905263A (en) A kind of automation O&M deployment system
US9886473B2 (en) Managing job status
CN103092692A (en) Job management machine achieving method and job management machine applicable to software batch processing jobs
CN114787836A (en) System and method for remotely executing one or more arbitrarily defined workflows
US20160259716A1 (en) Rebuilding an execution flow from an execution grid
JP5387083B2 (en) Job management system and method
EP2988469B1 (en) A method and apparatus for updating a user interface of one program unit in response to an interaction with a user interface of another program unit
JPWO2018174223A1 (en) Operation management server, development operation support system, their method and program
JP6677345B2 (en) Development operation support system, development management server, operation management server, their methods and programs
EP3362899B1 (en) Automatic system disaster recovery
EP3407191A1 (en) Managing job schedules
US12008488B2 (en) Systems and methods to manage sub-chart dependencies with directed acyclic graphs
US20230368055A1 (en) Systems and methods to manage sub-chart dependencies with directed acyclic graphs
Yarrow et al. Production-Level Distributed Parametric Study Capabilities for the Grid
JP2018128919A (en) Work plan creation system, work plan creation method and work plan creation program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130508