CN102004666A - Large-scale computer operation scheduling equipment and system - Google Patents

Large-scale computer operation scheduling equipment and system Download PDF

Info

Publication number
CN102004666A
CN102004666A CN 201010559828 CN201010559828A CN102004666A CN 102004666 A CN102004666 A CN 102004666A CN 201010559828 CN201010559828 CN 201010559828 CN 201010559828 A CN201010559828 A CN 201010559828A CN 102004666 A CN102004666 A CN 102004666A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
job
script
information
relationship
operation
Prior art date
Application number
CN 201010559828
Other languages
Chinese (zh)
Inventor
李朋乐
林昉
闫寒
黄文宇
Original Assignee
中国工商银行股份有限公司
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

Links

Abstract

The invention provides a large-scale computer operation scheduling equipment and a large-scale computer operation scheduling system. The equipment comprises: an operation relationship interface device, an operation relationship conversion device, a script file generation device and an operation schedule importing device, wherein the operation relationship interface device is used for displaying operation relationship information containing operation names, operation return codes and mark parameters, and generating operation relationship description information needed by a user according to an operation relationship information schedule; the operation relationship conversion device is used for converting the operation relationship description information needed by the user into operation front and back item relationship description information; the script file generation device is used for generating a script file containing an operation set defining script, an operation defining script and an operation trigger defining script; and the operation schedule importing device is used for adding the script file into the programming interface of the large-scale computer dynamically.

Description

一种大型计算机作业排程设备及系统 A large, the job scheduling apparatus and computer systems

技术领域 FIELD

[0001] 本发明关于计算机系统作业排程技术,具体地讲是一种大型计算机作业排程设备及系统。 [0001] The present invention relates to a computer system job scheduling technique, in particular a large-scale computer system and job scheduling apparatus.

背景技术 Background technique

[0002] 随着大型计算机应用规模的不断扩大,计算机系统的维护工作也渐趋复杂,往往需要运行大量的作业来完成。 [0002] With the continuous expansion of large-scale application of computer, computer system maintenance work has become increasingly complex, often you need to run a lot of work to complete. 而运行大量的作业不仅流程复杂、步骤繁多,而且各种作业之间存在复杂的前后项关系。 And run a large number of jobs is not only complex process, many steps, and there is a complex relationship between the various items before and after the operation. 同时,大量作业的运行还具有随应用环境和应用场景的变化而变化、生命周期短、使用频率低以及无法完全复制等特点。 At the same time, running a large number of jobs has also vary with the application environment and application scenarios, short life cycle, as well as the use of low-frequency characteristics can not be fully replicated.

[0003] 作业是大型机系统用于完成特定功能的一个或者一组操作。 [0003] a system for operating a mainframe or a set of operations to accomplish a specific function. 作业的执行是以返回码为条件来判断该作业是否正确结束的。 Execution of the job is the return code for the condition to determine whether the job properly terminated. 比如,一个作业设定的返回码为4,则当且仅当作业的返回码小于等于4的时候,这个作业才能被判断为正确执行。 For example, job setting a return code is 4, and only if the return code when the job is less than or equal to 4, it is determined that the job can be properly executed. 作业排程中的一个重要的方面就是编排作业之间的关系。 It is the relationship between choreography operation is an important aspect of the job scheduling. 作业的关系包括串行关系、并行关系和前后项关系等描述方式,而串行关系和并行关系又都可以转化为前后项关系来描述。 Relationship job includes a serial relationship, and the relationship between the front and rear parallel relationship items described manner, while the serial and parallel relations in turn can be converted into the relationship between the front and rear relationship item described.

[0004] 在现有技术中,大型机系统上广泛应用的作业排程工具需要由专业人员进行操作。 [0004] In the prior art, widely used on mainframe systems work tool need scheduling performed by professional. 这种作业排程工具操作复杂、耗时长、不直观。 This job scheduling tools complicated operation, time consuming and non-intuitive.

发明内容 SUMMARY

[0005] 本发明实施例提供了一种大型计算机作业排程设备及系统,以解决大型机系统上的作业排程问题。 Example embodiments provide a large computer system job scheduling apparatus and [0005] the present invention, to solve the problem of scheduling jobs on mainframe systems.

[0006] 本发明的目的之一是,提供一种大型计算机作业排程设备,该设备包括:作业关系界面装置,用于显示包含作业名称、作业返回码和标志参数在内的作业关系信息,并根据作业关系信息编排生成用户需要的作业关系描述信息;作业关系转换装置,用于将用户需要的作业关系描述信息转换为作业的前后项关系描述信息;脚本文件生成装置,用于根据作业的前后项关系描述信息生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件;作业排程导入装置,用于将脚本文件动态添加到大型计算机的编程接口。 One object of the [0006] present invention is to provide a large computer job scheduling apparatus, the apparatus comprising: a job relational interface means for displaying comprises a job name, job code and a returning work relationship information including a flag parameter, arrangement job description and relationship information between the user needs to generate a job based on the information; conversion means working relationship, between the user for the job description information is converted to desired longitudinal relationship job description information item; script file generating means according to the job item description longitudinal relationship comprising information generating job set definition script, script files and jobs job definition script trigger definition script; introducing job scheduling means for dynamically programming interface to add a script file of mainframe computers.

[0007] 本发明的目的之一是,提供一种大型计算机作业排程系统,该系统包括:作业排程设备和大型计算机设备,作业排程设备与大型计算机设备相连接;作业排程设备包括:作业关系界面装置,用于显示包含作业名称、作业返回码和标志参数在内的作业关系信息,并根据作业关系信息编排生成用户需要的作业关系描述信息;作业关系转换装置,用于将用户需要的作业关系描述信息转换为作业的前后项关系描述信息;脚本文件生成装置,用于根据作业的前后项关系描述信息生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件;作业排程导入装置,用于将脚本文件动态添加到大型计算机设备的编程接口;大型计算机设备运行所述的脚本文件,生成作业的排程。 One object of the present invention [0007] to provide a large-scale computer job scheduling system, the system comprising: a job scheduling apparatus, and a large computer equipment, the job scheduling apparatus is connected with a large computer equipment; job scheduling apparatus comprising : job relational interface means for displaying comprises a job name, job return code flags and parameters, including relationship information of the job, the job description information and the relationship information between the user needs to generate a job scheduling based; working relationship conversion means, for the user relationship requires job description information is converted into the relationship before and after the job description information item; script file generating means according to the relationship before and after the job description information item comprises generating job set definition script, script files and jobs job definition script definition script triggers ; introducing job scheduling means for dynamically programming interface to add a script file large computer equipment; large-scale operation of the computer device script file to generate a job schedule.

[0008] 本发明的有益效果在于:可以快速、灵活的进行大型机系统作业排程,提高了对大型机系统作业进行排程的效率和自动化程度。 [0008] Advantageous effects of the present invention is that: the system can be the mainframe job scheduling fast, flexible, improve the efficiency and automation system mainframe job scheduling. 本发明实施例提供了更为直观、简洁的图形化排程界面,方便用户进行排程的编辑和检查,同时,排程的生成和导入都是通过自动化的方式来实现,而不是用户逐条编辑和定义。 Embodiment of the present invention provides a more intuitive, simple graphical interface scheduling, scheduling for user inspection and editing, while generating and importing schedule are achieved by an automated fashion, rather than one by one user to edit and definitions.

附图说明 BRIEF DESCRIPTION

[0009] 为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。 [0009] In order to more clearly illustrate the technical solutions in the embodiments or the prior art embodiment of the present invention, briefly introduced hereinafter, embodiments are described below in the accompanying drawings or described in the prior art needed to be used in describing the embodiments the drawings are only some embodiments of the present invention, in terms of ordinary skill in the art, without any creative effort, and can obtain other drawings based on these drawings.

[0010] 图1为本发明实施例的大型计算机作业排程设备结构框图; [0010] FIG. 1 a block diagram of a mainframe computer job scheduling apparatus of the present embodiment of the invention;

[0011] 图2为本发明实施例的大型计算机作业排程设备工作流程图; [0011] The flow chart of FIG. 2 mainframe computers job scheduling apparatus embodiment of the present invention;

[0012] 图3为本发明实施例的脚本文件生成装置结构框图; [0012] Fig 3 block diagram of the script file generating apparatus according to an embodiment of the present invention;

[0013] 图4为本发明实施例的大型计算机作业排程系统连接关系示意图; Large computer job scheduling system [0013] FIG. 4 is an embodiment of the present invention, a schematic connection relationship;

[0014] 图5为本发明实施例的脚本文件导入流程图。 [0014] Import a flowchart of FIG. 5 script file according to an embodiment of the present invention.

具体实施方式 detailed description

[0015] 下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。 [0015] below in conjunction with the present invention in the accompanying drawings, technical solutions of embodiments of the present invention are clearly and completely described, obviously, the described embodiments are merely part of embodiments of the present invention, but not all embodiments example. 基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。 Based on the embodiments of the present invention, all other embodiments of ordinary skill in the art without any creative effort shall fall within the scope of the present invention.

[0016] 实施例1 [0016] Example 1

[0017] 如图1所示,本实施例的大型计算机作业排程设备包括:作业关系界面装置101, 用于显示包含作业名称、作业返回码和标志参数在内的作业关系信息,并根据作业关系信息编排生成用户需要的作业关系描述信息;作业关系转换装置102,用于将用户需要的作业关系描述信息转换为作业的前后项关系描述信息;脚本文件生成装置103,用于根据作业的前后项关系描述信息生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件;作业排程导入装置104,用于将脚本文件动态添加到大型计算机的编程接口。 [0017] 1, mainframe computers, and the job scheduling apparatus according to the present embodiment includes: operation means relational interface 101 for displaying comprises a job name, job code and a returning work relationship parameters including mark information, according to the job and arrangement relation information between the user needs to generate a job description; job relationship conversion means 102, for the job description information between the user needs to convert items back and forth relationship job description information; script file generating means 103, according to the job before and after description information comprises item relationships generated job set definition script, script files and jobs job definition script trigger definition script; introducing job scheduling apparatus 104, a script file is added for the dynamic programming interface to the mainframe computer.

[0018] 如图3所示,大型计算机作业排程设备的脚本文件生成装置103包括:作业分组模块311,用于根据作业的前后项关系描述信息中作业的出现顺序对作业进行分组处理,生成多个作业集。 [0018] 3, mainframe computers, and the script file job scheduling apparatus 103 generating apparatus comprising: a job packet module 311, an appearance order of the job information in a job packet processing for describing the relationship between items before and after the operation, generating set multiple jobs. 信息填充模块312,用于根据作业的前后项关系描述信息和作业集填充生成包含作业名、所述作业集、返回码、作业触发器和前项作业名在内的作业流程信息。 Filling module 312 processes information, for describing the relationship between items before and after the job information and generating job set comprises filling job name, the job set, return code, and triggers the job the job information including the former items. 脚本资源模块313,用于根据作业流程信息生成包含作业信息文件、作业集信息文件和作业触发器信息文件在内的脚本资源文件。 Script resource module 313, for information based on work flow generates a script file resource file job information, job set file information and file information, including job trigger. 脚本生成模块314,用于根据脚本资源文件生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件。 Script generation module 314, according to the resource script file containing the set of job definition script, script files and jobs job definition script trigger definition script.

[0019] 具体地,作业关系界面装置101,包含一张用户进行作业关系编排的二维表格。 [0019] In particular, the interface device 101 working relationship, comprising an arrangement relationship between the user operation of the two-dimensional table. 二维表格提供用户进行作业排程的界面。 Two-dimensional table provides job scheduling user interface.

[0020] 作业关系转换装置102,包含作业关系文件。 [0020] Relationship job converting means 102, comprising job file relationship. 作业关系文件是二维表格中作业关系经过排程需求解析装置解析之后的结果,也是排程转化装置的输入。 File is the result of working relationship after the relationship through the job scheduling needs analysis device to resolve the two-dimensional form, the conversion process is also ranked the input device.

[0021] 脚本文件生成装置103,包含作业分组模块311、信息填充模块312、脚本资源模块313和脚本生成模块314。 [0021] script file generating means 103, grouping module 311 comprises job information filling module 312, a script resource script generating module 313 and module 314. 其中,作业分组模块311与作业关系转换装置102连接,脚本生成模块314与排程导入装置104连接。 Wherein the operation module 311 is connected to the packet switching means 102 relation job script generation module 314 is connected to the introduction apparatus 104 schedules. 脚本文件生成装置103中包含三个信息文件和一个脚本文件,三个信息文件分别是作业信息文件、作业集信息文件和作业触发器信息文件。 Script file generation device 103 includes three information file and a script file, three information files are files job information, the job and the job set information file trigger information file. 这三个信息文件是作业关系文件经过作业分组模块311、信息填充模块312和脚本资源模块313后的结果。 These three information file is a result of the job via the job packet file the relationship module 311, filling module 312 information module 313 and a script resource. 脚本文件是上述四个信息文件经过脚本生成模块314后生成的大型机系统可以识别的结果文件。 Script file through the above-mentioned four information file generated after a mainframe system script generation module 314 may identify the result files.

[0022] 如图2所示,本实施例的大型机系统作业排程的流程包括: [0022] 2, the mainframe system job scheduling flow of the present embodiment includes:

[0023] 步骤201、在作业关系界面装置101中实现。 [0023] Step 201, implemented in the interface device 101 working relationship. 用户在步骤201中进行作业排程编辑,同时提供作业名、作业返回码等作业信息。 User editing job scheduling in step 201, while providing a job name, job the job information and the like return code. 本实施例提供了一种通过二维表格来直观表示作业关系的方法。 This embodiment provides a visual representation of a method of operation for the relationship between a two-dimensional table. 如表1所示: As shown in Table 1:

[0024] 表1 [0024] TABLE 1

[0025] [0025]

Figure CN102004666AD00061

[0026] 表1的最小单位是一个“单元格”,表格是横向、纵向多个单元格组成的二维表。 Minimum unit [0026] Table 1 is a "cell", form transverse, longitudinal dimensional table composed of a plurality of cells. 每个单元格中最多只能放一个作业信息,且在整张二维表格中这个作业唯一。 Each cell can only put a job information, and the entire two-dimensional table this job unique. 作业信息包括作业名和作业返回码,以“作业名+逗号+返回码”的格式填充。 The job information includes a job name and job format filling return code to "job name + + comma return code" a. 如表1单元格中的“DPBBR001,4”、“DPBYD004,0”等,都表示的是要进行排程的作业信息,“DPBYD003,4”,表示的是作业DPBYD003,它的返回码为4。 As shown in Table 1 in a cell "DPBBR001,4", "DPBYD004,0" etc., are to be represented by the job scheduling information, "DPBYD003,4", indicates that the job DPBYD003, its return code 4 . 单元格可以进行横向和纵向的合并,即可以将跨行的若干个单元格合并成一个,也可以将跨列的单元格合并为一个,但是单元格不能既跨行又跨列的合并。 Cells can be combined horizontal and vertical, i.e., a plurality of multi-line can be combined into one cell, the cells may be combined into a cross-column, but the cell can not cross both interbank combined and columns. 特别的,表格的第一行为列标志位。 In particular, the behavior of the first column of the table flag. 除首列无需“标志参数”外,其他非空的各列都需要填充“标志参数”。 In addition to the first column do not need to "flag parameter", the other non-empty columns need to fill the "flag parameter." 标志参数为“紧邻”和“非紧邻”,表示本列作业和前一列作业的关系。 Flag parameter is "close" and "non-close" column shows the relationship between this work and the previous one job. 所谓非紧邻,说明本列作业的前项为前一列所有的作业;而紧邻,则说明这个作业的前项仅为和它占据同样行宽位置的前一列的作业,特别地,如果前一列相同行的位置是合并的单元格,其前项就是该合并单元格里的作业。 The so-called non-adjacent to, description of all the jobs in the preceding paragraph for the first one of this row operation; and in close proximity, then the preceding paragraph is only the job and it occupies the job before a same line width position, in particular, the same if the previous column position of the line is merged cell, which is the preceding paragraph Gerry combining unit operations.

[0027] 配合标志参数的使用,并通过使用跨行的合并单元格,可以实现作业一对多或者多对一的关系的表示;而使用跨列的合并单元格,实现长作业的关系表示,跨列的合并单元格只受左起第一格所在列参数限制。 [0027] with the use of flags parameter, and by using a multi-line merged cell, indicates that the job may be implemented or many-to-many relationship; merged cell are used across columns, to achieve long working relationship, said cross merge cells from the left column only by the first column of the grid where the parameter limits.

[0028] 按照上述的约定,在表1的实施例中,从B列到G列,排程编辑者所要表示的关系是: [0028] According to the above conventions, in the embodiment of Table 1, columns from column B to G, the relationship between the schedule editor to be represented is:

[0029] 1)B列所有的作业(含BPBYD008)并行,且拥有共同的前项DPBYD003,且长作业BPBYD008前项仅为DPBYD003,而只有G列作业DPBYD006的前项才有DPBYD008 ;[0030] 2) C 列作业,只有DPBYD004 和DPBYD005,前项都是DPBBR001——DPBBR007 七个作业; [0029] 1) B column for all operations (including BPBYD008) in parallel, and have a common antecedent DPBYD003, and the long term just prior to the job BPBYD008 DPBYD003, column G and only the front working items have DPBYD006 DPBYD008; [0030] 2) C column operation, only DPBYD004 and DPBYD005, before items are DPBBR001 - DPBBR007 seven operations;

[0031] 3)D 列作业DPBCNPI2 前项为DPBYD004,DPBCNPI1 前项为DPBYD005 ; [0031] 3) D before the entry for column operation DPBCNPI2 DPBYD004, DPBCNPI1 preceding paragraph is DPBYD005;

[0032] 4)E列作业DPBRX201—DPBRX204四个作业的前项都是DPBCNPI2, DPBRX101——DPBRX103三个作业的前项都是DPBCNPI1 ; Before the items are DPBCNPI2, DPBRX101 [0032] 4) E four columns job DPBRX201-DPBRX204 job - DPBRX103 three items before the job is DPBCNPI1;

[0033] 5)F 列,DPBRBND2 的前项为DPBRX201—DPBRX204 四个作业,DPBRBND1 的前项为DPBRX101——DPBRX103 三个作业。 [0033] 5) F columns, DPBRBND2 antecedent is DPBRX201-DPBRX204 four operations, the former term is DPBRX101 DPBRBND1 - DPBRX103 three jobs.

[0034] 6) G 列作业DPBYD006 的前项为DPBRBND2、DPBRBND1 和BPBYD008。 [0034] 6) G column entry for the job before the DPBRBND2 DPBYD006, DPBRBND1 and BPBYD008.

[0035] 综上,本实施例能实现的排程编辑可以满足所有的作业关系。 [0035] In summary, the present embodiment can be realized by editing the schedule of jobs to meet all relationships.

[0036] 步骤202在作业关系转换装置102中实现。 [0036] Step 202 implements the job relationship conversion device 102. 步骤202要做的是将表1中用户编辑的作业关系,转化为作业的前后项关系。 Step 202 is to do the job in a table edited by the user, the front and rear entry into the job relationship. 如表1的B列,所有的作业(含DPBYD008)并行, 且拥有共同的前项作业DPBYD003。 Column B in Table 1, all operations (including DPBYD008) in parallel, and have a common operating DPBYD003 preceding paragraph. 在经过作业关系转换装置102解析后得到的结果如表2 所示: Results After analysis device 102 converts the job relationship obtained are shown in Table 2:

[0037]表 2 [0037] TABLE 2

[0038] [0038]

Figure CN102004666AD00071

[0039] 步骤203在脚本文件生成装置103中实现。 [0039] Step 203 implement the script file generating means 103. 步骤203的主要任务是将经过作业关系转换装置102得到的结果处理成可以直接导入大型机系统的流程脚本。 Step 203 is the main task of the job via relationship 102 means conversion results obtained can be processed into a process script directly into mainframe systems. 转换过程具体为如下几步: Specific conversion process into the following steps:

[0040] 1)步骤301 [0040] 1) Step 301

[0041] 步骤301的主要工作是进行作业分组。 The main [0041] Step 301 is a job packet. 步骤301在作业分组模块311中实现。 Step 301 implemented in the job packet module 311. 大型机系统的作业流程中每个作业都需要归属于一个作业集,大型机系统限制每个作业集最多能包含255个作业。 Mainframe system processes each job requires assigned to a job set, mainframe systems limit each job set job can contain up to 255. 为保证空间充分冗余,将源数据按照作业的出现顺序,每200个作业为一组,分为若干组,每一组分配一个作业集,定义若干个作业集。 In order to ensure sufficient spatial redundancy, will define several job sets of source data in order of appearance jobs, each job is a set of 200, divided into several groups, each group is assigned a job set.

[0042] 2)步骤302[0043] 步骤302进行信息的填充。 [0042] 2) Step 302 [0043] Step 302 fill information. 步骤302在信息填充模块312中实现。 Step 302 fill in an information module 312. 要生成大型机系统可识别的作业流程,需要作业名、所属作业集、返回码、作业触发器、前项名这五个必要参数。 To generate the mainframe system may identify the processes required job name, job sets belong, return code, the flip-flop operation, before the item name of the five required parameters. 其中,作业名、返回码、前项名通过流程解析装置获得,所属作业集使用上步分组结果填写该作业所属作业集名称。 Wherein, job name, return code, item name before flow analysis obtained by the apparatus using the packet belongs job sets result at step job name of the job set fill belongs. 第一个作业触发器为整体流程开关,一次流程只需一个开关,定义在首作业,它的名称为流程第一个作业集名称+ “START”得到。 The first operation switch trigger for the overall process, a process only one switch, as defined in the first job, it is a name for the process of job set name + "START" obtained. 比如,流程的第一个作业集名为DSSPAUT0000001E,则这个作业触发器名称为DSSPAUT0000001ESTART。 For example, the first job set process called DSSPAUT0000001E, then trigger the job name DSSPAUT0000001ESTART. 其它的作业触发器名称可以通过作业集名称后加“ADD”的简单转换获得,如作业集名为DSSPAUT0000001E,则对应的作业触发器名为DSSPAUT000000IEADD。 Other triggers job name can be obtained by simply adding the conversion job set name "ADD", as job set named DSSPAUT0000001E, triggers the corresponding job name DSSPAUT000000IEADD.

[0044] 3)步骤303 [0044] 3) 303 Step

[0045] 步骤303生成大型机系统作业排程资源。 [0045] Step 303 generates mainframe job scheduling system resources. 步骤303在脚本资源模块313中实现。 Step 303 achieved in the script resource module 313. 一个完整的流程需要3种资源:作业集(即为一组作业的集合);作业;作业触发器,用于触发流程和添加作业集用的开关。 A complete process requires three kinds of resources: job set (a collection of jobs that is set); job; job trigger for triggering the switching process and added with a job set. 利用步骤302信息填充的结果,生成作业信息文件,作业集信息文件,作业触发器信息文件,分别装载作业集、作业、作业触发器三种资源。 Using the result of step 302 is filled with information, generates job information file, the job set information file, the job file trigger information, respectively, set the loading operation, job, job triggers three resources.

[0046] 表3为作业信息文件,其中作业名、作业所属作业集名称、作业返回码、前项作业名为必需的字段。 [0046] Table 3 shows job information file, wherein the job name, job name belongs to set job, the job return code, before entry job is called a required field.

[0047]表 3 [0047] TABLE 3

[0048] [0048]

Figure CN102004666AD00081

[0049] 表4为作业集信息文件,作业集名称为必需的字段。 [0049] Table 4 set information file for the job, job name set as a required field.

[0050] 表4 [0050] TABLE 4

[0051] [0051]

Figure CN102004666AD00091

[0052] 表5为作业触发器信息,作业触发器名称为必需的字段。 [0052] Table 5 shows the trigger job information, the job name is a required field trigger.

[0053] 表5 [0053] TABLE 5

[0054] [0054]

Figure CN102004666AD00092

[0055] 4)步骤304 [0055] 4) Step 304

[0056] 步骤304用于生成脚本。 [0056] Step 304 for generating the script. 步骤304在脚本生成模块314中实现。 Step 304 implement the script generation module 314. 将步骤303生成的4个文件中的资源按照大型机可识别的脚本规则进行填充,转化为大型机系统排程组件的脚本文件。 The step 303 generates four resource files and fills the mainframe rule recognizable script, the script file into a mainframe system scheduling component. 脚本文件包含有三类要素:分别是作业集定义脚本,包含作业集名称;作业定义脚本,包含作业名、返回码、前项、前项所在作业集信息;作业触发器定义脚本,包含作业触发器名称。 The script file contains three types of elements: namely, job set-defined script that contains the name of job sets; job definition script contains the job name, return code, the preceding paragraph, the first item where the operation set information; job trigger definition script contains the job triggers name.

[0057] 步骤204在排程导入装置104中实现。 [0057] Step 204 may be implemented in the scheduling device 104 introduced. 步骤204利用大型机系统的作业排程组件提供的编程接口运行步骤203得出的结果,从而在其中自动生成作业排程。 Utilizing the results of step 204, step programming interface running mainframe systems provide job scheduling component 203 obtained, which thereby automatically generating job scheduling. 本实施例的设备使用了流程动态添加的方式,这种方式一方面保证了整体流程的即时添加即时可用,另一方面也能实现多个不同流程的并行。 The present embodiment uses a dynamic way to add a process, in this way on the one hand to ensure the overall process of the instant added immediately available, on the other hand can be achieved in parallel a plurality of different processes.

[0058] 本实施例的设备可以快速、灵活的进行大型机系统作业排程,提高了对大型机系统作业进行排程的效率和自动化程度。 [0058] The apparatus of the present embodiment may be a mainframe system job scheduling fast, flexible, improve the efficiency and automation system mainframe job scheduling. 与现有排程相比,本发明提供了更为直观、简洁的图形化排程界面,方便用户进行排程的编辑和检查,同时,排程的生成和导入都是通过自动化的方式来实现,而不是用户逐条编辑和定义。 Compared with the prior scheduling, the present invention provides a more intuitive, simple graphical interface scheduling, scheduling for user inspection and editing, while generating and importing schedule are achieved by automated means rather than one by one user to edit and definitions. 以表1的作业排程为例,使用本实用新型需要3分钟的时间,且无需专业人员操作,但如果使用现有方法排程,则需要由专业人员进行,且耗时至少在20分钟以上。 In Table 1 an example of a job schedule, the use of the present invention takes 3 minutes, and no professionals to operate, but if the existing scheduling method, the need for a professional, and take at least 20 minutes or more . 对于作业量更多的排程,本发明的优势则更为突出,根据专业经验,50个作业以上的排程,在10分钟之内就能完成。 For more amount of work schedule, the advantages of the present invention is more prominent, based on professional experience, 50 or more scheduling jobs can be completed within 10 minutes.

[0059] 实施例2 [0059] Example 2

[0060] 如图4所示,为本实施例的大型计算机作业排程系统,该系统包括:作业排程设备401和大型计算机设备403,作业排程设备401可通过银行内部网络402与大型计算机设备403相连接。 [0060] As shown in FIG 4, mainframe computers, and the present job scheduling system embodiment, the system comprising: 403, the job scheduling apparatus 401 can be a mainframe computer 402 and the job scheduling apparatus 401 and the computer device through a bank of large internal network device 403 is connected.

[0061] 作业排程设备401包括:作业关系界面装置,用于显示包含作业名称、作业返回码和标志参数在内的作业关系信息,并根据作业关系信息编排生成用户需要的作业关系描述信息;作业关系转换装置,用于将用户需要的作业关系描述信息转换为作业的前后项关系描述信息;脚本文件生成装置,用于根据作业的前后项关系描述信息生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件;作业排程导入装置,用于将脚本文件动态添加到大型计算机设备403的编程接口;大型计算机设备403运行脚本文件,生成作业的排程。 [0061] The job scheduling apparatus 401 comprises: the job relational interface means for displaying comprises a job name, job return code flags and parameters, including relationship information of the job, the job description information and the relationship information between the user needs to generate a job schedule according to; relationship job converting means for jobs between the user needs to convert the description of the relationship before and after the job description information item; script file generating means according to the relationship before and after the job description information item comprises generating job set definition script, job definition script and job scripts trigger definition script file; introducing job scheduling means for dynamically add the script file to large computer device programming interface 403; 403 large computer equipment running script file to generate a job schedule.

[0062] 脚本文件生成装置包括:作业分组模块,用于根据作业的前后项关系描述信息中作业的出现顺序对作业进行分组处理,生成多个作业集;信息填充模块,用于根据作业的前后项关系描述信息和作业集填充生成包含作业名、所述作业集、返回码、作业触发器和前项作业名在内的作业流程信息;脚本资源模块,用于根据作业流程信息生成包含作业信息文件、作业集信息文件和作业触发器信息文件在内的脚本资源文件;脚本生成模块,用于根据脚本资源文件生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件。 [0062] The script file generating apparatus comprises: a grouping module operation, for describing the relationship between items before and after the order they appear in the job the job information of a job packet processing, generates a plurality of job sets; filling module information, before and after the job according to relations to workflow description information and generates a filling job set job name, the job set, return code, and triggers the job the job information including the former items; script resource module containing job information for generating information based on workflow document, job, and job set information file including script files trigger information resource file; script generation module, according to the resource script file containing the set of job definition script, script files and jobs job definition script trigger definition script.

[0063] 如图5所示,在如图2所示的步骤204中,步骤204在排程导入装置104中实现。 [0063] As shown in FIG 5, as shown in step 204 in FIG. 2, step 204 introduced into the apparatus 104 implemented in scheduling. 步骤204利用大型机系统的作业排程组件提供的编程接口运行步骤203得出的结果,从而在其中自动生成作业排程。 Utilizing the results of step 204, step programming interface running mainframe systems provide job scheduling component 203 obtained, which thereby automatically generating job scheduling. 本实施例的系统使用了流程动态添加的方式,这种方式一方面保证了整体流程的即时添加即时可用,另一方面也能实现多个不同流程的并行。 The system according to the present embodiment uses a dynamic flow of the added embodiment, in this way on the one hand to ensure the overall process of the instant added immediately available, on the other hand can be achieved in parallel a plurality of different processes.

[0064] 在图5中,步骤301的主要工作是进行作业分组。 [0064] In FIG. 5, step 301 of the main work is work group. 步骤301在作业分组模块311 中实现。 Step 301 implemented in the job packet module 311. 将源数据按照作业的出现顺序,将作业为三个组,每一组分配一个作业集,定义三个作业集。 The source data in order of appearance in the job, the job into three groups, each group is assigned a job set, define three job set.

[0065] 步骤302进行信息的填充。 [0065] Step 302 fill information. 步骤302在信息填充模块312中实现。 Step 302 fill in an information module 312. 要生成大型机系统可识别的作业流程,需要作业名、所属作业集、返回码、作业触发器、前项名这五个必要参数。 To generate the mainframe system may identify the processes required job name, job sets belong, return code, the flip-flop operation, before the item name of the five required parameters. 其中,作业名、返回码、前项名通过流程解析装置获得,所属作业集使用上步分组结果填写该作业所属作业集名称。 Wherein, job name, return code, item name before flow analysis obtained by the apparatus using the packet belongs job sets result at step job name of the job set fill belongs. 第一个作业触发器为整体流程开关,一次流程只需一个开关, 定义在首作业,它的名称为流程第一个作业集名称+ “START”得到。 The first operation switch trigger for the overall process, a process only one switch, as defined in the first job, it is a name for the process of job set name + "START" obtained. 比如,流程的第一个作业集名为DSSPAUT0000001E (见表4),则这个作业触发器名称为DSSPAUT0000001ESTART。 For example, a first set of the job flow name DSSPAUT0000001E (see Table 4), the name of the job trigger DSSPAUT0000001ESTART. 其它的作业触发器名称可以通过作业集名称后加“ADD”的简单转换获得,如作业集名为DSSPAUT0000001E,则对应的作业触发器名为DSSPAUT000000IEADD (见表5)。 Other triggers job name can be obtained by simply adding the conversion job set name "ADD", as job set named DSSPAUT0000001E, triggers the corresponding job name DSSPAUT000000IEADD (see Table 5).

[0066] 步骤303生成大型机系统作业排程资源。 [0066] Step 303 generates mainframe job scheduling system resources. 步骤303在脚本资源模块313中实现。 Step 303 achieved in the script resource module 313. 一个完整的流程需要三种资源:作业集(作业集名1,2,3);作业;作业触发器(作业触发器名1,2,3),用于触发流程和添加作业集用的开关。 A complete process requires three resources: job set (job set name 1,2,3); job; trigger job (job name flop 1,2,3), and a switch for triggering the process of adding a set of jobs . 利用步骤302信息填充的结果,生成作业信息文件,作业集信息文件,作业触发器信息文件,分别装载作业集、作业、作业触发器三种资源。 Using the result of step 302 is filled with information, generates job information file, the job set information file, the job file trigger information, respectively, set the loading operation, job, job triggers three resources.

[0067] 表3为作业信息文件,其中作业名、作业所属作业集名称、作业返回码、前项作业名为必需的字段。 [0067] Table 3 shows job information file, wherein the job name, job name belongs to set job, the job return code, before entry job is called a required field. 表4为作业集信息文件,作业集名称为必需的字段。 Table 4 set information file for the job, job name set as a required field. 表5为作业触发器信息,作业触发器名称为必需的字段。 Table 5 triggers the job information, the job name is a required field trigger.

[0068] 步骤304用于生成脚本。 [0068] Step 304 for generating the script. 步骤304在脚本生成模块314中实现。 Step 304 implement the script generation module 314. 将步骤303生成的4个文件中的资源按照大型机可识别的脚本规则进行填充,转化为大型机系统排程组件的脚本文件。 The step 303 generates four resource files and fills the mainframe rule recognizable script, the script file into a mainframe system scheduling component. 脚本文件包含有三类要素:分别是作业集定义脚本,包含作业集名称;作业定义脚本,包含作业名、返回码、前项、前项所在作业集信息;作业触发器定义脚本,包含作业触发器名称。 The script file contains three types of elements: namely, job set-defined script that contains the name of job sets; job definition script contains the job name, return code, the preceding paragraph, the first item where the operation set information; job trigger definition script contains the job triggers name.

[0069] 本实施例的系统可以快速、灵活的进行大型机系统作业排程,提高了对大型机系统作业进行排程的效率和自动化程度。 [0069] The system according to the present embodiment may be a mainframe system job scheduling fast, flexible, improve the efficiency and automation system mainframe job scheduling. 与现有排程相比,本发明提供了更为直观、简洁的图形化排程界面,方便用户进行排程的编辑和检查,同时,排程的生成和导入都是通过自动化的方式来实现,而不是用户逐条编辑和定义。 Compared with the prior scheduling, the present invention provides a more intuitive, simple graphical interface scheduling, scheduling for user inspection and editing, while generating and importing schedule are achieved by automated means rather than one by one user to edit and definitions. 以表1的作业排程为例,使用本实用新型需要3分钟的时间,且无需专业人员操作,但如果使用现有方法排程,则需要由专业人员进行,且耗时至少在20分钟以上。 In Table 1 an example of a job schedule, the use of the present invention takes 3 minutes, and no professionals to operate, but if the existing scheduling method, the need for a professional, and take at least 20 minutes or more . 对于作业量更多的排程,本发明的优势则更为突出,根据专业经验,50个作业以上的排程,在10分钟之内就能完成。 For more amount of work schedule, the advantages of the present invention is more prominent, based on professional experience, 50 or more scheduling jobs can be completed within 10 minutes.

[0070] 本发明中应用了具体实施例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员, 依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。 [0070] Application of the present invention, specific embodiments of the principle and embodiments of the present invention have been described, the above embodiment is described only to help understanding the method and core ideas of the present invention; Meanwhile, those of ordinary skill in the art , according to the ideas of the present invention, there are modifications to the specific embodiments and application scope of the specification shall not be construed as limiting the present invention.

Claims (7)

  1. 1. 一种大型计算机作业排程设备,其特征是,所述的设备包括:作业关系界面装置,用于显示包含作业名称、作业返回码和标志参数在内的作业关系信息,并根据所述的作业关系信息编排生成用户需要的作业关系描述信息;作业关系转换装置,用于将所述的用户需要的作业关系描述信息转换为作业的前后项关系描述信息;脚本文件生成装置,用于根据所述的作业的前后项关系描述信息生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件;作业排程导入装置,用于将所述的脚本文件动态添加到大型计算机的编程接口。 A large computer job scheduling apparatus, wherein, said apparatus comprising: a job relational interface means for displaying comprises a job name, job code and a returning work relationship information including the flags parameter, and according to the the job arrangement relationship information between the user needs to generate a job description information; conversion means working relationship, the relationship between the operation required by the user for item description information is converted into the relationship before and after the job description information; script file generating means for the relationship between the items before and after the job description information comprises generating job set definition script, script files and jobs job definition script trigger definition script; introducing job scheduling means for dynamically adding the script file to the mainframe computer programming interface.
  2. 2.根据权利要求1所述的大型计算机作业排程设备,其特征是,所述的脚本文件生成装置包括:作业分组模块,用于根据所述的作业的前后项关系描述信息中作业的出现顺序对作业进行分组处理,生成多个作业集。 The mainframe computer job scheduling apparatus according to claim 1, wherein said script file generating apparatus comprising: a grouping module job, job information appears in the front for describing the relationship between the job item packet processing order of jobs, generate a plurality of job sets.
  3. 3.根据权利要求2所述的大型计算机作业排程设备,其特征是,所述的脚本文件生成装置包括:信息填充模块,用于根据所述的作业的前后项关系描述信息和作业集填充生成包含作业名、所述作业集、返回码、作业触发器和前项作业名在内的作业流程信息。 The mainframe computer job scheduling apparatus according to claim 2, wherein said script file generating apparatus comprising: a filling module information, information describing the filling and job set according to the relationship of the front and rear of the job item generates a job flow name of the job, the job set, return code, and triggers the job the job information including the former items.
  4. 4.根据权利要求3所述的大型计算机作业排程设备,其特征是,所述的脚本文件生成装置包括:脚本资源模块,用于根据所述的作业流程信息生成包含作业信息文件、作业集信息文件和作业触发器信息文件在内的脚本资源文件。 4. The mainframe computer job scheduling apparatus according to claim 3, wherein said script file generating apparatus comprises: a script resource module, the job information comprises information for generating files, the job is set according to the workflow file information resource script file and file information, including job trigger.
  5. 5.根据权利要求4所述的大型计算机作业排程设备,其特征是,所述的脚本文件生成装置包括:脚本生成模块,用于根据所述的脚本资源文件生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件。 The mainframe computer job scheduling apparatus according to claim 4, wherein said script file generating apparatus comprising: a script generation module for generating a job sets comprising definition script file according to the script resource, work custom scripts and script files job script trigger definition.
  6. 6. 一种大型计算机作业排程系统,其特征是,所述的系统包括:作业排程设备和大型计算机设备,所述的作业排程设备与所述的大型计算机设备相连接;所述的作业排程设备包括:作业关系界面装置,用于显示包含作业名称、作业返回码和标志参数在内的作业关系信息,并根据所述的作业关系信息编排生成用户需要的作业关系描述信息;作业关系转换装置,用于将所述的用户需要的作业关系描述信息转换为作业的前后项关系描述信息;脚本文件生成装置,用于根据所述的作业的前后项关系描述信息生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件;作业排程导入装置,用于将所述的脚本文件动态添加到大型计算机设备的编程接口;所述的大型计算机设备运行所述的脚本文件,生成所述作业的排程。 A large computer job scheduling system, characterized in that, said system comprising: a job scheduling apparatus and mainframes apparatus, the job scheduling apparatus is connected to said mainframe computer apparatus; said job scheduling apparatus comprising: a job relational interface means for displaying comprises a job name, job return code flags and parameters, including relationship information of the job, the job description information and relationship information between the user needs to generate a job arrangement according; job conversion relation means the relation for the job description information required by the user is converted into the relationship before and after the job description information item; script file generating means for the front and rear relationship of the items of the job description job set definition information generation comprising script script file, the job and the job definition script trigger definition script; script running large computer apparatus according to the; job scheduling introducing means for dynamically adding the script file to the mainframe computer equipment programming interface file, generating the job scheduling.
  7. 7.根据权利要求6所述的大型计算机作业排程系统,其特征是,所述的脚本文件生成装置包括:作业分组模块,用于根据所述的作业的前后项关系描述信息中作业的出现顺序对作业进行分组处理,生成多个作业集;信息填充模块,用于根据所述的作业的前后项关系描述信息和作业集填充生成包含作业名、所述作业集、返回码、作业触发器和前项作业名在内的作业流程信息;脚本资源模块,用于根据所述的作业流程信息生成包含作业信息文件、作业集信息文件和作业触发器信息文件在内的脚本资源文件;脚本生成模块,用于根据所述的脚本资源文件生成包含作业集定义脚本、作业定义脚本和作业触发器定义脚本的脚本文件。 The large job scheduling computer system according to claim 6, wherein said script file generating apparatus comprising: a grouping module job, job information appears in the front for describing the relationship between the job item packet processing order of the job, the job generates a plurality of sets; information filling module, according to the front and rear relationship of the items of the job description information and generates a filling job set job name, the job set, return code, the flip-flop operation job name in the preceding paragraph and including the workflow information; script resource module containing job information for generating information file according to the job flow, the job and the job set information file including script files trigger information resource file; script generation module for generating a job sets comprising definition script file according to the script resource, job definition script and script file triggers job definition script.
CN 201010559828 2010-11-25 2010-11-25 Large-scale computer operation scheduling equipment and system CN102004666A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010559828 CN102004666A (en) 2010-11-25 2010-11-25 Large-scale computer operation scheduling equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010559828 CN102004666A (en) 2010-11-25 2010-11-25 Large-scale computer operation scheduling equipment and system

Publications (1)

Publication Number Publication Date
CN102004666A true true CN102004666A (en) 2011-04-06

Family

ID=43812045

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010559828 CN102004666A (en) 2010-11-25 2010-11-25 Large-scale computer operation scheduling equipment and system

Country Status (1)

Country Link
CN (1) CN102004666A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101038559A (en) * 2006-09-11 2007-09-19 中国工商银行股份有限公司 Batch task scheduling engine and dispatching method
CN101076783A (en) * 2004-03-08 2007-11-21 Ab开元软件公司 Controlling task execution
WO2009110525A1 (en) * 2008-03-07 2009-09-11 日本電気株式会社 Job network automatic generation device, method, and program recording medium
CN101567013A (en) * 2009-06-02 2009-10-28 阿里巴巴集团控股有限公司 Method and apparatus for implementing ETL scheduling
CN101821710A (en) * 2007-09-11 2010-09-01 西安姆贝拉有限公司 System, method and graphical user interface for workflow generation, deployment and/or execution

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101076783A (en) * 2004-03-08 2007-11-21 Ab开元软件公司 Controlling task execution
CN101038559A (en) * 2006-09-11 2007-09-19 中国工商银行股份有限公司 Batch task scheduling engine and dispatching method
CN101821710A (en) * 2007-09-11 2010-09-01 西安姆贝拉有限公司 System, method and graphical user interface for workflow generation, deployment and/or execution
WO2009110525A1 (en) * 2008-03-07 2009-09-11 日本電気株式会社 Job network automatic generation device, method, and program recording medium
CN101567013A (en) * 2009-06-02 2009-10-28 阿里巴巴集团控股有限公司 Method and apparatus for implementing ETL scheduling

Similar Documents

Publication Publication Date Title
Sauro 33 JARNAC: a system for interactive metabolic analysis
Bowers et al. Enabling scientificworkflow reuse through structured composition of dataflow and control-flow
US7509629B2 (en) Method for system and architecture design using unified modeling language (UML)
US5652874A (en) Computer-implemented method and an apparatus for inputting data structure characteristics
CN101339534A (en) Software test apparatus and test method
Li Automating dChip: toward reproducible sharing of microarray data analysis
CN102135990A (en) Java server page (JSP) template-based intelligent table system capable of being defined freely and generating method
US20050144596A1 (en) Method and apparatus for parallel action processing
CN103019684A (en) Dynamic template-based business page configuring method
CN102708088A (en) CPU/GPU (Central Processing Unit/ Graphic Processing Unit) cooperative processing method oriented to mass data high-performance computation
CN101464799A (en) MPI parallel programming system based on visual modeling and automatic skeleton code generation method
Ogasawara et al. Exploring many task computing in scientific workflows
JP2007004734A (en) Information processing system, information processing method and computer program
CN101216846A (en) Emulated data visualized and cooperated sharing method
CN102117367A (en) Visual simulation system for airplane assembly site
US20100242024A1 (en) User Interface System and Method for Controlling Conversion of a Source Job Control Language File into a Test Job Control Language File
CN1744092A (en) Method and system for automatic schedule logic simulation and code coverage rate analysis
CN101697120A (en) Relational database based generation method of J2EE code
CN102222105A (en) Method for generating real-time statistical report
CN101246424A (en) Menu automatic generation system and method for based on file
CN102081656A (en) Data acquisition and distribution system of cross-platform heterogeneous database
CN101266669A (en) Project process workflow based on plan template and its implementation method
CN101266570A (en) Software system test method and apparatus
CN103729460A (en) Graphical data model managing method and system based on metadata
CN102033743A (en) System and method for expanding model driving development capability by applying plug-in

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C12 Rejection of a patent application after its publication