JP2005038332A - Job schedule device - Google Patents

Job schedule device Download PDF

Info

Publication number
JP2005038332A
JP2005038332A JP2003276858A JP2003276858A JP2005038332A JP 2005038332 A JP2005038332 A JP 2005038332A JP 2003276858 A JP2003276858 A JP 2003276858A JP 2003276858 A JP2003276858 A JP 2003276858A JP 2005038332 A JP2005038332 A JP 2005038332A
Authority
JP
Japan
Prior art keywords
job
access
schedule information
condition
job schedule
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.)
Withdrawn
Application number
JP2003276858A
Other languages
Japanese (ja)
Inventor
Toshiaki Fujino
敏明 藤野
Takaaki Sawada
崇彰 澤田
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2003276858A priority Critical patent/JP2005038332A/en
Publication of JP2005038332A publication Critical patent/JP2005038332A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a job schedule device capable of properly scheduling jobs. <P>SOLUTION: The job schedule device comprises a first storage part 15 for storing first job schedule information having a condition for the execution schedule of jobs, a second storage part 16 for storing second job schedule information having a condition for the execution schedule of jobs, a determination part 18 for determining, for a predetermined job, whether it satisfies the condition of the first job schedule information and the condition of the second job schedule information, and a job execution part 19 for executing the job that is determined to satisfy the conditions of the first and second job schedule information. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ジョブの実行をスケジューリングするジョブスケジュール装置等に関する。   The present invention relates to a job schedule apparatus that schedules execution of a job.

ジョブの実行に関して、あらかじめ実行するジョブのスケジュールを作成しておき、そのスケジュールに基づいてジョブを自動的に実行させるシステムが知られている(例えば、特許文献1参照)。
特開平9−288525号公報(第3頁、第1図等)
With regard to job execution, a system is known in which a schedule for a job to be executed in advance is created and the job is automatically executed based on the schedule (see, for example, Patent Document 1).
Japanese Patent Laid-Open No. 9-288525 (page 3, FIG. 1, etc.)

しかしながら、複数のジョブに関するスケジュールを作成する場合に、他のジョブとの関係を考慮しないでスケジュールを作成すると、多くのジョブの実行が一時期に偏り、ジョブを実行するシステム等の負荷が過大となる可能性がある。特に、サーバ・クライアント型のシステムにおいて、スケジュールによるジョブの実行が集中しているときに、クライアントからの個別の処理依頼をサーバが受け取ると、サーバの負荷が過大になってしまう。また、そのようなことが起こらないようにスケジュールを作成するには、スケジュール作成作業が煩雑になり、スケジュール作成者の負担が過大になる。   However, when creating a schedule for multiple jobs, if the schedule is created without considering the relationship with other jobs, the execution of many jobs is biased at one time, and the load on the system that executes the jobs becomes excessive. there is a possibility. In particular, in a server / client system, when the execution of jobs according to a schedule is concentrated, if the server receives individual processing requests from the client, the load on the server becomes excessive. Moreover, in order to create a schedule so that such a thing does not occur, the schedule creation work becomes complicated, and the burden on the schedule creator becomes excessive.

本発明は、上記問題点を解決するためになされたものであり、ジョブのスケジューリングを適切に行うことができるジョブスケジュール装置等を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object thereof is to provide a job schedule apparatus and the like that can appropriately perform job scheduling.

上記目的を達成するため、本発明によるジョブスケジュール装置は、ジョブの実行スケジュールに関する条件をそれぞれ有する、第1から第N(Nは2以上の整数)のジョブスケジュール情報において、所定のジョブに関する各ジョブスケジュール情報の条件が充たされる場合に、当該ジョブを実行するものである。   In order to achieve the above object, a job scheduling apparatus according to the present invention provides each job related to a predetermined job in the 1st to Nth (N is an integer of 2 or more) job schedule information each having a condition related to a job execution schedule. The job is executed when the condition of the schedule information is satisfied.

このように構成された本発明によれば、第1から第Nのジョブスケジュール情報の条件が充たされるとジョブが実行されることとなり、ジョブを適切に実行することができる。   According to the present invention configured as described above, the job is executed when the conditions of the first to Nth job schedule information are satisfied, and the job can be appropriately executed.

また、本発明によるジョブスケジュール装置は、ジョブの実行スケジュールに関する条件を有する第1のジョブスケジュール情報が格納される第1の格納部と、ジョブの実行スケジュールに関する条件を有する第2のジョブスケジュール情報が格納される第2の格納部と、所定のジョブに関し、前記第1のジョブスケジュール情報の条件、及び前記第2のジョブスケジュール情報の条件を充たすかどうか判断する判断部と、前記判断部により前記第1及び第2のジョブスケジュール情報の条件を充たすと判断されたジョブを実行するジョブ実行部とを備えたものである。   The job schedule apparatus according to the present invention includes a first storage unit that stores first job schedule information having a condition related to a job execution schedule, and second job schedule information having a condition related to a job execution schedule. A second storage unit to be stored; a determination unit that determines whether the condition of the first job schedule information and the condition of the second job schedule information are satisfied with respect to a predetermined job; and A job execution unit that executes a job determined to satisfy the conditions of the first and second job schedule information.

このように構成された本発明によれば、第1及び第2のジョブスケジュール情報の条件により、ジョブを適切に実行することができる。   According to the present invention configured as described above, a job can be appropriately executed according to the conditions of the first and second job schedule information.

また、本発明によるジョブスケジュール装置では、前記第1及び第2のジョブスケジュール情報へのアクセス要求を受け付けるアクセス受付部と、前記アクセス受付部で受け付けられたアクセス要求に応じたジョブスケジュール情報へのアクセスを行うアクセス部と、をさらに備えてもよい。   In the job schedule apparatus according to the present invention, an access receiving unit that receives an access request to the first and second job schedule information, and access to the job schedule information according to the access request received by the access receiving unit. And an access unit that performs the following.

このように構成された本発明によれば、アクセス要求に応じたジョブスケジュール情報
にアクセスすることができる。例えば、第1のジョブスケジュール情報へのアクセスを希望するユーザは、第1のジョブスケジュール情報へのアクセス要求をアクセス受付部に送ることで、第1のジョブスケジュール情報へのアクセスを行うことができる。その結果、ユーザに必要な範囲でのジョブスケジュール情報へのアクセスを行うことができる。
According to the present invention configured as described above, it is possible to access job schedule information corresponding to an access request. For example, a user who desires access to the first job schedule information can access the first job schedule information by sending an access request to the first job schedule information to the access reception unit. . As a result, it is possible to access job schedule information within a range necessary for the user.

また、本発明によるジョブスケジュール装置では、前記アクセス受付部で受け付けられたアクセス要求について、アクセスの可否を判断するアクセス判断部をさらに備え、前記アクセス部が、前記アクセス判断部によりアクセスが可能であると判断された場合に、前記アクセス要求に応じたアクセスを行ってもよい。   The job scheduling apparatus according to the present invention further includes an access determination unit that determines whether or not the access request received by the access reception unit is accessible, and the access unit can be accessed by the access determination unit. If it is determined, access according to the access request may be performed.

このように構成された本発明によれば、ジョブスケジュール情報に関するセキュリティーを向上させることができる。   According to the present invention configured as described above, security regarding job schedule information can be improved.

また、本発明によるジョブスケジュール装置では、前記アクセス判断部が、アクセス要求に所定の識別子が含まれる場合にのみ前記第1のジョブスケジュール情報へのアクセスが可能であると判断してもよい。   In the job schedule apparatus according to the present invention, the access determination unit may determine that the first job schedule information can be accessed only when a predetermined identifier is included in the access request.

また、本発明によるジョブスケジュール装置では、所定のジョブに関する、前記第1のジョブスケジュール情報の有する条件と、前記第2のジョブスケジュール情報の有する条件とが、異なる条件項目に関するものであってもよい。   In the job schedule apparatus according to the present invention, the condition of the first job schedule information and the condition of the second job schedule information related to a predetermined job may be related to different condition items. .

このように構成された本発明によれば、その異なる条件項目に関しては、実行不可能なジョブの発生を回避することができる。そのため、各ジョブスケジュール情報において、それぞれが有する条件項目の範囲内では、実行不可能なジョブの発生に留意することなく、任意に条件を設定することができ、ジョブスケジュール情報に条件を書き込むユーザの利便性を向上させることができる。   According to the present invention configured as described above, it is possible to avoid the generation of an unexecutable job for the different condition items. Therefore, in each job schedule information, it is possible to arbitrarily set a condition within the range of the condition items that each has, without paying attention to the occurrence of a job that cannot be executed. Convenience can be improved.

また、本発明によるジョブスケジュール装置では、前記第1のジョブスケジュール情報が、ジョブを実行する時期に関する条件を有し、前記第2のジョブスケジュール情報が、ジョブを実行する時間に関する条件を有してもよい。   In the job schedule apparatus according to the present invention, the first job schedule information includes a condition regarding a time for executing the job, and the second job schedule information includes a condition regarding a time for executing the job. Also good.

このように構成された本発明によれば、例えば、リアルタイムでの依頼によるジョブの実行(インタラクティブなジョブの実行)が多いと考えられる時間帯については、第2のジョブスケジュール情報により、スケジュールによるジョブの実行を行わないようにすることで、リアルタイムでのジョブの実行と、スケジュールによるジョブの実行とを適切に振り分けることができ、快適なジョブの実行環境を提供することができる。また、スケジュールによるジョブの実行を依頼する場合には、時期に関する条件のみを指定すればよく、細かい設定や、他のジョブの実行スケジュールとの調整を行う必要がない。   According to the present invention configured as described above, for example, in a time zone in which execution of jobs by real-time requests (interactive job execution) is considered to be frequent, according to the second job schedule information, By not executing the above, it is possible to appropriately distribute the job execution in real time and the job execution according to the schedule, and to provide a comfortable job execution environment. Further, when requesting execution of a job according to a schedule, it is only necessary to specify a condition relating to time, and it is not necessary to make detailed settings or make adjustments with the execution schedule of other jobs.

また、本発明によるジョブスケジュール装置では、前記第2のジョブスケジュール情報が、時間帯ごとのジョブの実行数に関する条件を有してもよい。   In the job schedule apparatus according to the present invention, the second job schedule information may have a condition regarding the number of jobs executed for each time zone.

このように構成された本発明によれば、スケジュールによるジョブの実行数を時間帯ごとに制限できるため、例えば、リアルタイムでの依頼によるジョブの実行が多くなる時間帯は、スケジュールによるジョブの実行数が少なくなるようにジョブスケジュール情報の条件を設定することにより、快適なジョブの実行環境を提供することができる。   According to the present invention configured as described above, the number of job executions according to a schedule can be limited for each time period. For example, during a time period when job executions by real-time requests increase, By setting the conditions of the job schedule information so as to reduce the number of jobs, a comfortable job execution environment can be provided.

また、本発明によるジョブスケジュール装置では、前記第1及び第2のジョブスケジュール情報を検査し、実行不可能なジョブを検出する検出部と、前記検出部により検出された実行不可能なジョブを示す情報を出力する出力部とをさらに備えてもよい。   In the job schedule apparatus according to the present invention, the first and second job schedule information is inspected to detect a non-executable job, and the non-executable job detected by the detection unit is shown. You may further provide the output part which outputs information.

このように構成された本発明によれば、どのジョブが実行不可能であるかを知ることができる。また、その実行不可能であるジョブに関するジョブスケジュール情報を変更することで、ジョブを実行可能にすることもできる。   According to the present invention configured as described above, it is possible to know which job cannot be executed. In addition, the job can be executed by changing the job schedule information regarding the job that cannot be executed.

以上の説明から明らかなように、本発明によるジョブスケジュール装置等によれば、ジョブの実行を適切にスケジューリングすることができる。   As is clear from the above description, according to the job scheduling apparatus and the like according to the present invention, it is possible to appropriately schedule the execution of jobs.

(実施の形態1)
本発明の実施の形態1によるジョブスケジュール装置について、図面を参照しながら説明する。
(Embodiment 1)
A job schedule apparatus according to Embodiment 1 of the present invention will be described with reference to the drawings.

図1は、本実施の形態によるジョブスケジュール装置の構成を示すブロック図である。図1において、本実施の形態によるジョブスケジュール装置10は、通信部11と、アクセス受付部12と、アクセス判断部13と、アクセス部14と、第1の格納部15と、第2の格納部16と、暦・時計部17と、判断部18と、実行部19と、ジョブ格納部20とを備える。   FIG. 1 is a block diagram showing a configuration of a job schedule apparatus according to the present embodiment. In FIG. 1, a job schedule apparatus 10 according to the present embodiment includes a communication unit 11, an access reception unit 12, an access determination unit 13, an access unit 14, a first storage unit 15, and a second storage unit. 16, a calendar / clock unit 17, a determination unit 18, an execution unit 19, and a job storage unit 20.

通信部11は、通信回線30(例えば、インターネット)を介して情報処理装置41等との通信(情報の送信や受信)を行う。この通信は、有線であってもよく、無線であってもよい。   The communication unit 11 performs communication (information transmission and reception) with the information processing apparatus 41 and the like via the communication line 30 (for example, the Internet). This communication may be wired or wireless.

アクセス受付部12は、情報処理装置41等からの第1の格納部15及び/または第2の格納部16へのアクセス要求を、通信部11を介して受け付ける。ここで、アクセス要求とは、第1の格納部15等で格納されている情報の読み出し、あるいは変更(追加、削除、修正など)に関する要求である。   The access reception unit 12 receives an access request to the first storage unit 15 and / or the second storage unit 16 from the information processing apparatus 41 or the like via the communication unit 11. Here, the access request is a request related to reading or changing (addition, deletion, modification, etc.) of information stored in the first storage unit 15 or the like.

アクセス判断部13は、アクセス受付部12で受け付けられたアクセス要求について、アクセスの可否を判断する。そして、アクセス可能であると判断したアクセス要求をアクセス部14に渡し、アクセス不可であると判断した場合には、そのアクセスを拒否する。   The access determination unit 13 determines whether or not the access request received by the access reception unit 12 is accessible. Then, the access request that is determined to be accessible is passed to the access unit 14, and when it is determined that access is impossible, the access is denied.

アクセス部14は、アクセス判断部13でアクセス可能であると判断されたアクセス要求について、そのアクセス要求に応じた、第1の格納部15及び/または第2の格納部16で格納されている情報へのアクセスを行う。ここで、アクセスとは、情報の読み出し、あるいは変更(追加、削除、修正など)を行うことである。   The access unit 14 stores information stored in the first storage unit 15 and / or the second storage unit 16 in response to the access request that is determined to be accessible by the access determination unit 13. Access to. Here, “access” refers to reading or changing (addition, deletion, modification, etc.) of information.

第1の格納部15には、第1のジョブスケジュール情報が格納されている。ここで、ジョブスケジュール情報とは、ジョブの実行スケジュールに関する条件を有する情報であり、例えば、各レコードに、ジョブを特定する情報と、そのジョブの実行に関する条件項目(実行日時など)とが規定されている。第2の格納部16には、第2のジョブスケジュール情報が格納されている。この第1及び第2の格納部15,16は、例えば、半導体メモリや、磁気ディスクなどの記録媒体で構成される。ここで、「ジョブ」とは、プログラムにおける実行単位のことをいう。ジョブの一例としては、プログラムのコンパイル処理や、決算書などに関するバッチ処理、ソフトウェアのアップデート処理、データのバックアップ処理などがある。   The first storage unit 15 stores first job schedule information. Here, the job schedule information is information having a condition related to the execution schedule of the job. For example, information specifying a job and condition items (execution date and time) related to the execution of the job are defined in each record. ing. The second storage unit 16 stores second job schedule information. The first and second storage units 15 and 16 are constituted by a recording medium such as a semiconductor memory or a magnetic disk, for example. Here, “job” refers to an execution unit in a program. Examples of jobs include program compilation processing, batch processing related to financial statements, software update processing, data backup processing, and the like.

暦・時計部17は、現在の暦と、時刻とを示す。例えば、2003年6月20日18時45分23秒という現在の暦、及び時刻を判断部18に対して提供する。   The calendar / clock unit 17 indicates the current calendar and time. For example, the current calendar and time of June 20, 2003, 18:45:23 are provided to the determination unit 18.

判断部18は、第1の格納部15、及び第2の格納部16を参照し、また、暦・時計部17から提供される現在の暦及び/または時刻を用いて、実行可能なジョブがあるかどうかを判断し、実行可能なジョブがある場合には実行可能なジョブを特定するための情報を実行部19に伝える。   The determination unit 18 refers to the first storage unit 15 and the second storage unit 16 and uses the current calendar and / or time provided from the calendar / clock unit 17 to execute an executable job. If there is an executable job, information for specifying the executable job is transmitted to the execution unit 19.

実行部19は、実行可能なジョブを特定するための情報を判断部18から受け取ると、そのジョブをジョブ格納部20から読み出して実行する。また、通信部11等を介して情
報処理装置41等からジョブの実行依頼を受け取った場合には、そのジョブをジョブ格納部20から読み出して実行する。ジョブ格納部20では、実行部19により実行されるジョブ、すなわちジョブのプログラムがジョブ名に対応付けられて格納されている。このジョブ格納部20は、例えば、半導体メモリや、磁気ディスクなどの記録媒体によって構成される。
When the execution unit 19 receives information for specifying an executable job from the determination unit 18, the execution unit 19 reads the job from the job storage unit 20 and executes it. When a job execution request is received from the information processing apparatus 41 or the like via the communication unit 11 or the like, the job is read from the job storage unit 20 and executed. The job storage unit 20 stores a job executed by the execution unit 19, that is, a job program in association with the job name. The job storage unit 20 is configured by a recording medium such as a semiconductor memory or a magnetic disk, for example.

次に、本実施の形態によるジョブスケジュール装置の動作について説明する。まず、アクセス要求を受け付けたときの動作について、図2のフローチャートを用いて説明する。図2は、アクセス要求を受け付けたときのジョブスケジュール装置の動作を示すフローチャートである。   Next, the operation of the job schedule apparatus according to this embodiment will be described. First, the operation when an access request is accepted will be described with reference to the flowchart of FIG. FIG. 2 is a flowchart showing the operation of the job schedule apparatus when an access request is received.

(ステップS101)アクセス受付部12は、アクセス要求があるかどうかを判断する。そして、アクセス要求があった場合には、そのアクセス要求をアクセス判断部13に渡し、ステップS102に進む。一方、アクセス要求がない場合には、アクセス要求を受け付けるまで、ステップS101の処理を繰り返す。ここで、このアクセス要求には、アクセス対象を示す情報と、アクセス内容(例えば、情報の読み出しや、情報の追加など)と、アクセスを要求する情報処理装置41,42を識別するための装置IDとが含まれる。   (Step S101) The access receiving unit 12 determines whether there is an access request. If there is an access request, the access request is transferred to the access determination unit 13 and the process proceeds to step S102. On the other hand, if there is no access request, the process of step S101 is repeated until the access request is accepted. Here, the access request includes information indicating an access target, access contents (for example, reading of information, addition of information, etc.), and an apparatus ID for identifying the information processing apparatuses 41 and 42 that request access. And are included.

(ステップS102)アクセス判断部13は、アクセス受付部12から受け取ったアクセス要求について、アクセスの可否をアクセス判断情報に基づいて判断する。ここで、アクセス判断情報とは、アクセスの可否を決定するためにあらかじめ決められている、アクセス対象と、可能なアクセス内容と、装置IDとの関係を示す情報であり、例えば、図3のテーブルで示されるものである。アクセス判断部13は、アクセスが可能である場合にはアクセス要求をアクセス部14に渡し、ステップS103に進む。一方、アクセスが可能でない場合には、ステップS104に進む。   (Step S <b> 102) The access determination unit 13 determines whether access is possible for the access request received from the access reception unit 12 based on the access determination information. Here, the access determination information is information indicating a relationship between an access target, possible access contents, and a device ID, which is determined in advance in order to determine whether access is possible. For example, the table of FIG. It is shown by. If access is possible, the access determination unit 13 passes the access request to the access unit 14 and proceeds to step S103. On the other hand, if access is not possible, the process proceeds to step S104.

(ステップS103)アクセス部14は、アクセス判断部13から受け取ったアクセス要求に応じたアクセスを行う。例えば、アクセス要求に含まれるアクセス内容が"読み出し"であれば、所望の情報を読み出し、通信部11等を介して、アクセス要求を行った装置に対して送信する。なお、アクセス判断部13により一度アクセスが可能であると判断された場合には、そのときのアクセス対象、アクセス内容に関しては、アクセス要求を行った情報処理装置からアクセス判断部13を介さないアクセスが可能となる。   (Step S <b> 103) The access unit 14 performs access according to the access request received from the access determination unit 13. For example, if the access content included in the access request is “read”, desired information is read out and transmitted to the device that has made the access request via the communication unit 11 or the like. If it is determined by the access determination unit 13 that access can be made once, regarding the access target and the access contents at that time, there is an access from the information processing apparatus that has made the access request without passing through the access determination unit 13. It becomes possible.

(ステップS104)アクセス判断部13は、アクセスを拒否し、アクセス受付部12、及び通信部11等を介して、アクセス要求を行った装置に対してアクセスを拒否した旨を送信する。したがって、この場合には、アクセス要求を行った装置は、所望の情報へのアクセスを行うことができない。   (Step S <b> 104) The access determination unit 13 rejects the access, and transmits information indicating that the access has been rejected to the device that has made the access request via the access reception unit 12 and the communication unit 11. Therefore, in this case, the device that has made an access request cannot access desired information.

次に、判断部18の動作について説明する。まず、第1の格納部15で格納されている第1のジョブスケジュール情報と、第2の格納部16で格納されている第2のジョブスケジュール情報について説明する。   Next, the operation of the determination unit 18 will be described. First, the first job schedule information stored in the first storage unit 15 and the second job schedule information stored in the second storage unit 16 will be described.

第1のジョブスケジュール情報は、ジョブを実行する時期に関する条件を有するものである。ここで、「時期」とは、"日"以上の暦を示すものであり、例えば、年月日や、月初め、月末、曜日などを示す。図4は、第1のジョブスケジュール情報の一例を示す図である。図4で示される第1のジョブスケジュール情報において、各レコードは、レコードを識別するための情報(レコードID)と、ジョブの名称(ジョブ名)と、ジョブが実行中であるかどうかを示すフラグ(実行中フラグ)と、繰り返し実行するジョブであるかどうかを示すフラグ(繰り返しフラグ)と、ジョブの実行を希望する時期とから構成される。ここで、実行中フラグに"0"が代入されている場合には、ジョブが実行されていないことを示し、"1"が代入されている場合には、ジョブが実行されていることを示す。また、繰
り返しフラグに"0"が代入されている場合には、1回実行するだけのジョブであることを示し、"1"が代入されている場合には、繰り返し実行するジョブであることを示す。また、"年"、"月"、"日"等における"*"は、条件として任意であることを示しており、"日"における"end"は、月末であることを示している。したがって、"月締め処理"のジョブは、毎月1日に実行されるようにスケジューリングされており、"アップデート"のジョブは、月末ごとに実行されるようにスケジューリングされている。
The first job schedule information has conditions related to the timing of job execution. Here, the “time” indicates a calendar of “day” or more, and indicates, for example, year, month, beginning of month, end of month, day of the week, and the like. FIG. 4 is a diagram illustrating an example of the first job schedule information. In the first job schedule information shown in FIG. 4, each record includes information for identifying the record (record ID), a job name (job name), and a flag indicating whether the job is being executed. (In-execution flag), a flag indicating whether the job is repeatedly executed (repetition flag), and a time when the job is desired to be executed. Here, when “0” is assigned to the executing flag, it indicates that the job is not executed, and when “1” is assigned, it indicates that the job is being executed. . If “0” is assigned to the repeat flag, it indicates that the job is executed only once. If “1” is assigned, it indicates that the job is executed repeatedly. Show. In addition, “*” in “year”, “month”, “day”, etc. indicates that the condition is arbitrary, and “end” in “day” indicates the end of the month. Therefore, the “monthly closing process” job is scheduled to be executed on the first day of every month, and the “update” job is scheduled to be executed at the end of each month.

第2のジョブスケジュール情報は、ジョブを実行する時間に関する条件を有するものである。ここで、「時間」とは、一日における時刻、あるいは、ある時刻から他の時刻までの時間帯を示すものであり、例えば、午前10時10分10秒という時刻や、20時0分0秒から22時0分0秒までという時間帯を示す。図5は、第2のジョブスケジュール情報の一例を示す図である。図5で示される第2のジョブスケジュール情報において、各レコードは、ジョブの名称と、ジョブの実行時間とから構成される。ここで、ジョブの実行時間とは、その時間を過ぎるとジョブの実行を開始してよい時間のことである。なお、ジョブの実行時間を時間帯で指定し、その時間帯であればジョブの実行を開始することができるようにしてもよい。また、"ジョブ名"等における"*"は、条件として任意であることを示している。したがって、INDEX=1のレコードは、すべてのジョブに対する条件となる。ここで、図4,図5におけるINDEXは、レコードを識別する情報であり、表管理上の要請のために存在する。   The second job schedule information has conditions related to the time for executing the job. Here, “time” indicates a time in a day or a time zone from a certain time to another time, for example, a time of 10:10:10 am, 20:00:00 The time zone from the second to 22 hours 0 minutes 0 seconds is shown. FIG. 5 is a diagram illustrating an example of second job schedule information. In the second job schedule information shown in FIG. 5, each record includes a job name and a job execution time. Here, the job execution time is a time when job execution may be started after the time. The job execution time may be specified in a time zone, and the job execution may be started within that time zone. In addition, “*” in “job name” or the like indicates that the condition is arbitrary. Therefore, a record with INDEX = 1 is a condition for all jobs. Here, INDEX in FIGS. 4 and 5 is information for identifying a record, and exists for a request in table management.

このように、図4で示される第1のジョブスケジュール情報は、時期の条件に関するものであり、図5で示される第2のジョブスケジュール情報は、時間の条件に関するものであるため、第1及び第2のジョブスケジュール情報は、異なる条件項目に関するものとなっている。なお、図4、図5では、"時"、"分"等を"*"とすることなどによって、時期、あるいは時間の条件を規定するようにしているが、時期、時間以外の条件項目をジョブスケジュール情報が有しないようにしてもよい。例えば、図4では、"時"、"分"等の条件項目がなくてもよい。また、以下の説明において、図4で示される第1のジョブスケジュール情報を第1のテーブル、図5で示される第2のジョブスケジュール情報を第2のテーブルということもある。   As described above, the first job schedule information shown in FIG. 4 relates to the time condition, and the second job schedule information shown in FIG. 5 relates to the time condition. The second job schedule information is related to different condition items. In FIG. 4 and FIG. 5, conditions such as time or time are defined by setting “hour”, “minute”, etc. to “*”. The job schedule information may not be included. For example, in FIG. 4, there may be no condition items such as “hour” and “minute”. In the following description, the first job schedule information shown in FIG. 4 may be referred to as a first table, and the second job schedule information shown in FIG. 5 may be referred to as a second table.

図6は、判断部18の動作を示すフローチャートである。   FIG. 6 is a flowchart showing the operation of the determination unit 18.

(ステップS201)判断部18は、IとJをそれぞれ"1"に設定する。   (Step S201) The determination unit 18 sets I and J to “1”, respectively.

(ステップS202)判断部18は、第1の格納部15で格納されている第1のテーブル(第1のジョブスケジュール情報)にアクセスし、暦・時計部17から提供される暦、及び時間を参照して、第1のテーブルにおけるINDEX=Iのレコードの条件が充たされるかどうか判断する。そして、充たされる場合には、ステップS203に進み、充たされない場合には、ステップS209に進む。   (Step S202) The determination unit 18 accesses the first table (first job schedule information) stored in the first storage unit 15, and determines the calendar and time provided from the calendar / clock unit 17. With reference to this, it is determined whether or not the condition of the record of INDEX = I in the first table is satisfied. If it is satisfied, the process proceeds to step S203. If not satisfied, the process proceeds to step S209.

なお、条件が充たされるかどうかの判断において、時期についての判断は、現在の暦がその時期に該当するかどうかで判断される。また、時間についての判断では、条件が時刻で示される場合には、現在の時刻が条件の時刻となったかどうかで判断され、条件が時間帯で示される場合には、現在の時刻が条件の時間帯に含まれるかどうかで判断される。ここで、条件が時刻で示される場合に、現在の時刻が条件の時刻を過ぎた後であっても、条件の時刻の経過後にそのジョブを一度も実行していないときには、条件が充たされると判断してもよい。例えば、現在が17時30分3秒である場合に、条件の時刻が17時30分00秒であり、そのレコードのジョブが17時30分00秒の経過後一度も実行されていないときには、その条件が充たされると判断してもよい。   In determining whether or not the condition is satisfied, the determination regarding the time is determined based on whether or not the current calendar corresponds to the time. In addition, in the determination of time, when the condition is indicated by time, it is determined whether or not the current time is the time of the condition. When the condition is indicated by time, the current time is the condition. Judged by whether it is included in the time zone. Here, when the condition is indicated by time, even if the current time has passed the condition time, and the job has never been executed after the condition time has passed, the condition is satisfied. You may judge. For example, if the current time is 17: 30: 3, the time of the condition is 17:30:00, and the job of the record has not been executed even once after 17:30: It may be determined that the condition is satisfied.

(ステップS203)判断部18は、第2の格納部16で格納されている第2のテーブル(第2のジョブスケジュール情報)にアクセスし、第1のテーブルにおけるINDEX
=Iのレコードのジョブと、第2のテーブルにおけるINDEX=Jのレコードのジョブとが同じジョブであるかどうかを、ジョブ名が一致するかどうかで判断する。ジョブ名が一致する場合には同じジョブであると判断してステップS204に進み、ジョブ名が異なる場合には同じジョブでないと判断してステップS207に進む。
(Step S203) The determination unit 18 accesses the second table (second job schedule information) stored in the second storage unit 16, and the INDEX in the first table.
It is determined whether the job of the record with = I and the job of the record with INDEX = J in the second table are the same job based on whether the job names match. If the job names match, it is determined that they are the same job, and the process proceeds to step S204. If the job names are different, it is determined that they are not the same job, and the process proceeds to step S207.

(ステップS204)判断部18は、第1のテーブルにおけるINDEX=Iのレコードのジョブが実行中であるかどうかを、実行中フラグが"1"であるかどうかで判断する。すなわち、第1のテーブルにおけるINDEX=Iのレコードの実行中フラグが"1"の場合にはジョブが実行中であると判断してステップS207に進み、"0"の場合にはジョブが実行中でないと判断してステップS205に進む。   (Step S204) The determination unit 18 determines whether or not the job of the record with INDEX = I in the first table is being executed based on whether or not the execution flag is “1”. That is, if the in-execution flag of the INDEX = I record in the first table is “1”, it is determined that the job is being executed, and the process proceeds to step S207. If it is “0”, the job is being executed. Otherwise, the process proceeds to step S205.

(ステップS205)判断部18は、第2のテーブルにアクセスし、暦・時計部17から提供される暦、及び時間を参照して、第2のテーブルにおけるINDEX=Jのレコードの条件が充たされるかどうか判断する。そして、充たされる場合には、ステップS206に進み、充たされない場合には、ステップS207に進む。   (Step S205) The determination unit 18 accesses the second table, refers to the calendar and time provided from the calendar / clock unit 17, and satisfies the condition of the record of INDEX = J in the second table. Judge whether or not. If satisfied, the process proceeds to step S206. If not satisfied, the process proceeds to step S207.

(ステップS206)判断部18は、第1のテーブルにおけるINDEX=Iのレコードを識別するための情報(レコードID)と、そのジョブの実行を開始する旨の指示とを実行部19に渡す。   (Step S206) The determination unit 18 passes to the execution unit 19 information (record ID) for identifying a record with INDEX = I in the first table and an instruction to start execution of the job.

(ステップS207)判断部18は、第2のテーブルにおいて"J"が最後の値であるかどうか、すなわちINDEX=Jのレコードが最後であるかどうかを判断する。そして、"J"が最後の値である場合には、ステップS209に進み、最後の値でない場合には、ステップS208に進む。   (Step S207) The determination unit 18 determines whether “J” is the last value in the second table, that is, whether the record of INDEX = J is the last. If "J" is the last value, the process proceeds to step S209. If not, the process proceeds to step S208.

(ステップS208)判断部18は、"J"を1だけインクリメントしてステップS203に戻る。   (Step S208) The determination unit 18 increments “J” by 1, and returns to Step S203.

(ステップS209)判断部18は、第1のテーブルにおいて"I"が最後の値であるかどうか、すなわちINDEX=Iのレコードが最後であるかどうかを判断する。そして、"I"が最後の値である場合には、ステップS201に戻り、最後の値でない場合には、ステップS210に進む。   (Step S209) The determination unit 18 determines whether or not “I” is the last value in the first table, that is, whether or not the record of INDEX = I is the last. If “I” is the last value, the process returns to step S201. If not, the process proceeds to step S210.

(ステップS210)判断部18は、"I"を1だけインクリメントし、"J"を"1"に設定してステップS202に戻る。   (Step S210) The determination unit 18 increments “I” by 1, sets “J” to “1”, and returns to Step S202.

なお、この図6で示されるフローチャートでは、判断部18がまず第1のテーブルの条件に関する判断を行ってから第2のテーブルの条件に関する判断を行う場合について説明したが、判断の順序はその逆であってもよく、あるいは、その他の方法により第1及び第2のテーブルの条件を充たすかどうかを判断してもよい。また、図6のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart shown in FIG. 6, the case is described in which the determination unit 18 first makes a determination regarding the conditions of the first table and then makes a determination regarding the conditions of the second table. Alternatively, it may be determined whether or not the conditions of the first and second tables are satisfied by other methods. In the flowchart of FIG. 6, the process is ended by powering off or interruption for aborting the process.

次に、実行部19の動作について、図7を用いて説明する。図7は、実行部19の動作を示すフローチャートである。   Next, the operation of the execution unit 19 will be described with reference to FIG. FIG. 7 is a flowchart showing the operation of the execution unit 19.

(ステップS301)実行部19は、判断部18からのジョブの実行を開始する旨の指示を受け取ったかどうかを判断する。受け取った場合には、ステップS302に進み、受け取っていない場合には、ステップS304に進む。   (Step S <b> 301) The execution unit 19 determines whether an instruction to start job execution from the determination unit 18 has been received. If received, the process proceeds to step S302. If not received, the process proceeds to step S304.

(ステップS302)実行部19は、アクセス部14を介して、ステップS206において判断部18から受け取ったレコードIDによって特定される第1のテーブルにおけるレコードの実行フラグに"1"を代入する。こうすることで、第1のテーブルにおけるINDEX=Iのレコードのジョブは、実行中であることが示される。   (Step S302) The execution unit 19 assigns “1” to the execution flag of the record in the first table specified by the record ID received from the determination unit 18 in step S206 via the access unit 14. By doing so, it is indicated that the job of the record of INDEX = I in the first table is being executed.

(ステップS303)実行部19は、判断部18から受け取ったレコードIDに関するジョブを、ジョブ格納部20から読み出し、そのジョブの実行を開始する。ここで、実行部19は、複数のジョブを並列して実行することができるため、それまでに実行しているジョブがあれば、その実行中のジョブに追加してジョブ格納部20から読み出したジョブを実行する。   (Step S303) The execution unit 19 reads a job related to the record ID received from the determination unit 18 from the job storage unit 20, and starts executing the job. Here, since the execution unit 19 can execute a plurality of jobs in parallel, if there is a job that has been executed so far, it is added to the job being executed and read from the job storage unit 20. Run the job.

(ステップS304)実行部19は、実行を終了したジョブがあるかどうかを判断する。所定のジョブの実行を終了した場合には、ステップS305に進み、いずれのジョブもまだ実行が終了していない場合には、ステップS301に戻る。   (Step S304) The execution unit 19 determines whether there is a job that has been executed. When the execution of the predetermined job is completed, the process proceeds to step S305, and when the execution of any job has not been completed yet, the process returns to step S301.

(ステップS305)実行部19は、アクセス部14を介して、第1のテーブルにおける実行を終了したジョブに関するレコードを、レコードIDによって特定し、そのレコードの繰り返しフラグが"1"であるかどうかを判断する。"1"である場合には、ステップS306に進み、"0"である場合には、ステップS307に進む。   (Step S305) The execution unit 19 specifies a record related to the job that has been executed in the first table via the access unit 14 by using a record ID, and determines whether the repetition flag of the record is “1”. to decide. If “1”, the process proceeds to step S306, and if “0”, the process proceeds to step S307.

(ステップS306)実行部19は、アクセス部14を介して、実行を終了したジョブに関するレコードの実行フラグに"0"を代入する。   (Step S <b> 306) The execution unit 19 assigns “0” to the execution flag of the record relating to the job whose execution has ended via the access unit 14.

(ステップS307)実行部19は、アクセス部14を介して、実行を終了したジョブに関するレコードを第1のテーブルから削除する。なお、レコードを削除するとINDEXが不連続になるが、レコードを削除した後における、判断部18が図6のフローチャートにおいてS201に戻るタイミングで、判断部18、あるいは実行部19は、第1のテーブルのINDEXを更新し、連続する整数になるようにする。   (Step S <b> 307) The execution unit 19 deletes, from the first table, a record relating to the job whose execution has ended via the access unit 14. Note that when the record is deleted, the INDEX becomes discontinuous. However, at the timing when the determination unit 18 returns to S201 in the flowchart of FIG. 6 after the record is deleted, the determination unit 18 or the execution unit 19 sets the first table. INDEX is updated so that it becomes a continuous integer.

次に、本実施の形態によるジョブスケジュール装置の動作について、具体例を用いて説明する。この具体例において、ジョブスケジュール装置10がサーバであり、複数の情報処理端末41,42がクライアントのPC(Personal Computer)であるサーバ・クライアント型システムの場合について説明する。また、情報処理装置41の装置IDは"0x101"であり、情報処理装置41からは、第1のジョブスケジュール情報、及び第2のジョブスケジュール情報にすべてのアクセスを行うことができるものとする。   Next, the operation of the job schedule apparatus according to this embodiment will be described using a specific example. In this specific example, a case will be described in which the job schedule apparatus 10 is a server and a plurality of information processing terminals 41 and 42 is a server / client system in which a client PC (Personal Computer). Further, it is assumed that the device ID of the information processing device 41 is “0x101”, and the information processing device 41 can access all of the first job schedule information and the second job schedule information.

まず、ジョブスケジュール装置10、通信回線30、及び複数の情報処理装置41,42から構成されるサーバ・クライアント型システムの管理者が、情報処理装置41を操作することにより、第2のジョブスケジュール情報にアクセスする動作について説明する。情報処理装置41において、ジョブスケジュール情報の変更を目的としたアクセス要求を行うプログラムが実行されることにより、情報処理装置41のディスプレイに図8で示す表示が行われる。システムの管理者がマウスを用いて「スケジュール(時間)へのアクセス」をクリックすると、情報処理装置41は、第2の格納部16で格納されている第2のジョブスケジュール情報へのアクセス要求をジョブスケジュール装置10に対して送信する。そして、そのアクセス要求が通信部11を介してアクセス受付部12で受け付けられる(ステップS101)。ここで、このアクセス要求には、アクセス対象として第2のジョブスケジュール情報、装置IDとして"0x101"、アクセス内容として"変更"が含まれている。すると、アクセス判断部13は、その受け付けられたアクセス要求について、図3で示されるアクセス判断情報に基づいてアクセス可能であると判断する(ステップS102)。その結果、情報処理装置41は、通信部11、及びアクセス部14を介することにより、第2の格納部16で格納されている第2のジョブスケジュール情報へのアクセスを行うことができるようになり、情報処理装置41のディスプレイには、図9の表示が行われる。図9において、システムの管理者が「新規レコード」をマウスでクリックすると、図10で示される表示が行われる。図10において、ジョブ名やジョブ実行時間などに所望の情報を入力して「OK」ボタンをクリックすると、そのジョブ名などが通信回線30、通信部11を介してジョブスケジュール装置10のアクセス部14で受け取られる
。アクセス部14は、その受け取ったジョブ名などの情報を第2の格納部16で格納されている第2のジョブスケジュール情報に新規レコードとして追加する。このようにして、システムの管理者は、第2のジョブスケジュール情報に図5で示されるレコードを追加したとする。
First, an administrator of a server / client system composed of the job schedule device 10, the communication line 30, and the plurality of information processing devices 41 and 42 operates the information processing device 41 to obtain second job schedule information. The operation to access the will be described. In the information processing apparatus 41, a program for making an access request for changing the job schedule information is executed, so that the display shown in FIG. When the system administrator uses the mouse to click “access to schedule (time)”, the information processing apparatus 41 makes an access request to the second job schedule information stored in the second storage unit 16. It transmits to the job schedule apparatus 10. Then, the access request is received by the access receiving unit 12 via the communication unit 11 (step S101). Here, the access request includes the second job schedule information as the access target, “0x101” as the device ID, and “change” as the access content. Then, the access determination unit 13 determines that the accepted access request can be accessed based on the access determination information shown in FIG. 3 (step S102). As a result, the information processing apparatus 41 can access the second job schedule information stored in the second storage unit 16 via the communication unit 11 and the access unit 14. The display of FIG. 9 is performed on the display of the information processing apparatus 41. In FIG. 9, when the system administrator clicks “new record” with the mouse, the display shown in FIG. 10 is performed. In FIG. 10, when desired information is input for a job name, job execution time, and the like, and the “OK” button is clicked, the job name and the like are accessed via the communication line 30 and the communication unit 11 in the access unit 14 of the job schedule apparatus 10. Received at. The access unit 14 adds information such as the received job name as a new record to the second job schedule information stored in the second storage unit 16. In this way, it is assumed that the system administrator adds the record shown in FIG. 5 to the second job schedule information.

この図5で示される第2のジョブスケジュール情報は、情報処理装置41,42などによるジョブスケジュール装置10(サーバ)の使用と、ジョブスケジュールによるジョブの実行とが重ならないようにスケジュールされたものである。すなわち、このサーバ・クライアント型のネットワークが会社などで用いられている場合には、昼間には情報処理装置41,42によるサーバの使用が増えるが、夜間には情報処理装置41,42によるサーバの使用はほとんどないと考えられる。したがって、ジョブスケジューリングにより実行されるジョブの実行時間として、午前1時からが設定されている。   The second job schedule information shown in FIG. 5 is scheduled so that the use of the job schedule apparatus 10 (server) by the information processing apparatuses 41, 42 and the like and the job execution by the job schedule do not overlap. is there. That is, when this server-client type network is used in a company or the like, the use of the server by the information processing devices 41 and 42 increases during the daytime, but the server of the information processing devices 41 and 42 at nighttime. There seems to be little use. Therefore, from 1 am is set as the execution time of the job executed by job scheduling.

システムの一般ユーザが、情報処理装置42(装置ID=0x102とする)を操作して、図9で示される表示の「スケジュール(時期)へのアクセス」をクリックすると、第1のジョブスケジュール情報に対するアクセス要求がジョブスケジュール装置10に送信される。そして、そのアクセス要求は、通信部11を介してアクセス受付部12で受け付けられ(ステップS101)、アクセス判断部13は、アクセス判断情報に基づいてアクセス可能であると判断する(ステップS102)。その結果、情報処理装置42は、第1のジョブスケジュール情報を変更等することができる(ステップS103)。そのアクセスにおいて、ユーザが図9で示される表示の「新規レコード」をクリックし、追加するレコードのジョブ名などを入力したとする。図11は、情報処理装置42のディスプレイの表示の一例を示す図である。図11の表示において、ユーザが「OK」ボタンをクリックすると、第2のジョブスケジュール情報へのレコードの追加の場合と同様にして、第1のジョブスケジュール情報にレコードが追加される。   When a general user of the system operates the information processing apparatus 42 (apparatus ID = 0x102) and clicks “access to schedule (time)” in the display shown in FIG. 9, the first job schedule information is displayed. An access request is transmitted to the job schedule device 10. Then, the access request is received by the access receiving unit 12 via the communication unit 11 (step S101), and the access determining unit 13 determines that access is possible based on the access determination information (step S102). As a result, the information processing apparatus 42 can change the first job schedule information (step S103). In the access, it is assumed that the user clicks “new record” in the display shown in FIG. 9 and inputs the job name of the record to be added. FIG. 11 is a diagram illustrating an example of display on the display of the information processing apparatus 42. In the display of FIG. 11, when the user clicks the “OK” button, a record is added to the first job schedule information in the same manner as in the case of adding a record to the second job schedule information.

なお、システムの一般ユーザが情報処理装置42を操作することにより第2のジョブスケジュール情報を変更しようとしても(すなわち、図8の表示において、「スケジュール(時間)へのアクセス」をクリックしても)、アクセス判断部13によりアクセス可能でないと判断され(ステップS102)、その情報処理端末42のディスプレイに「アクセスが拒否されました」という表示がなされ、アクセスが拒否される(ステップS104)。このようにして、システムの管理者のみが第2のジョブスケジュール情報を変更できる。   Even if the general user of the system attempts to change the second job schedule information by operating the information processing apparatus 42 (that is, even if “access to schedule (time)” is clicked in the display of FIG. 8). The access determination unit 13 determines that the access is not possible (step S102), the display of the information processing terminal 42 displays “access denied”, and the access is denied (step S104). In this way, only the system administrator can change the second job schedule information.

次に、判断部18により第1及び第2のジョブスケジュール情報の条件を充たすと判断され、実行部19によりジョブが実行される動作について説明する。ここで、第1のジョブスケジュール情報は、図4で示される第1のテーブルであり、第2のジョブスケジュール情報は、図5で示される第2のテーブルであるとする。   Next, an operation in which the determination unit 18 determines that the conditions of the first and second job schedule information are satisfied and the job is executed by the execution unit 19 will be described. Here, it is assumed that the first job schedule information is the first table shown in FIG. 4, and the second job schedule information is the second table shown in FIG.

暦・時計部17が2003年6月15日午前0時30分を示すときには、第1のテーブルではI=2のバックアップのジョブが条件を充たすが、第2のテーブルでは、J=1の任意のジョブに関する実行条件が充たされないため、ジョブの実行は開始されない。   When the calendar / clock unit 17 indicates 0:30 am on June 15, 2003, the backup job of I = 2 satisfies the condition in the first table, but in the second table, any of J = 1 Since the execution condition related to this job is not satisfied, the job execution is not started.

その後、暦・時計部17の示す暦及び時刻が2003年6月15日の午前1時0分0秒を過ぎると、I=2,J=1のときに、第1及び第2のテーブルの条件が充たされ(ステップS202、S205)、その各レコードにおけるジョブが共通であると判断され(ステップS203)、ジョブが実行中でないと判断される(ステップS204)ことによってジョブ"バックアップ"を実行する旨の指示が判断部18から実行部19に渡される。実行部19は、その指示と共に受け取ったレコードID"0x002"に基づいて、ジョブ"バックアップ"のレコードの実行フラグに"1"を代入し(ステップS302)、バックア
ップ処理に関するプログラムをジョブ格納部20から読み出して実行する(ステップS303)。このようにして、ジョブ"バックアップ"に関する第1及び第2のジョブスケジュール情報における条件が充たされたときに、ジョブ"バックアップ"が実行される。
After that, when the calendar and time indicated by the calendar / clock unit 17 have passed 10:00 AM on June 15, 2003, when I = 2 and J = 1, the first and second tables When the condition is satisfied (steps S202 and S205), it is determined that the jobs in each record are common (step S203), and it is determined that the job is not being executed (step S204), so that the job “backup” is executed. An instruction to do so is passed from the determination unit 18 to the execution unit 19. The execution unit 19 assigns “1” to the execution flag of the record of the job “backup” based on the record ID “0x002” received together with the instruction (step S302), and a program related to the backup process is transferred from the job storage unit 20 Read and execute (step S303). In this way, the job “backup” is executed when the conditions in the first and second job schedule information regarding the job “backup” are satisfied.

なお、そのジョブ"バックアップ"が終了されたときには、実行部19がジョブを終了したと判断し(ステップS304)、繰り返しフラグが"1"であると判断して(ステップS305)、実行フラグに"0"を代入する。このようにして、ジョブ"バックアップ"の実行が終了される。   When the job “backup” is ended, the execution unit 19 determines that the job has ended (step S304), determines that the repetition flag is “1” (step S305), and sets the execution flag to “ Substitute 0 ". In this way, execution of the job “backup” is terminated.

以上のように、本実施の形態によるジョブスケジュール装置によれば、第1及び第2のジョブスケジュール情報によりジョブの実行をスケジュールすることで、ジョブを適切にスケジューリングすることができる。特に、上記説明のように、第1のジョブスケジュール情報によって時期に関する条件を定め、第2のジョブスケジュール情報によって時間に関する条件を定める場合には、サーバ・クライアント型のシステムにおけるクライアントからのリアルタイムでの依頼によるジョブの実行と、スケジュールによるジョブの実行とが重ならないように第2のジョブスケジュール情報の条件を定めることで、快適な作業環境をクライアント側のユーザに提供することができる。   As described above, according to the job scheduling apparatus according to the present embodiment, it is possible to schedule a job appropriately by scheduling the execution of the job based on the first and second job schedule information. In particular, as described above, when the condition regarding the time is determined by the first job schedule information and the condition regarding the time is determined by the second job schedule information, the real time from the client in the server / client type system By defining the conditions of the second job schedule information so that the job execution by the request and the job execution by the schedule do not overlap, a comfortable work environment can be provided to the user on the client side.

さらに、ジョブの実行をスケジュールするユーザは、所望の時期を登録するだけでよく、スケジュール作成時の労力が軽減される。特に、スケジュールにおいて、時間も決めなくてはならない場合には、他の重たいジョブの実行と重ならないように時間調整などを行う必要もあったが、そのような煩雑な作業を行わなくてもよいこととなる。   Furthermore, the user who schedules the execution of the job only needs to register a desired time, and the labor for creating the schedule is reduced. In particular, when it is necessary to determine the time in the schedule, it is necessary to adjust the time so that it does not overlap with the execution of other heavy jobs, but such a complicated work need not be performed. It will be.

例えば、システム全体を管理しているシステムの管理者は、システム全体を知っているため、システム全体でのジョブの実行が一時に集中しないようにジョブの実行時間を決定し、一方、経理の月締め処理などを担当する経理部のユーザは、その処理結果を受け取りたい時期を設定することにより、ジョブの実行が一時に集中することなく、快適な作業環境を提供することができ、さらに、各ユーザは、所望の処理結果を所望の時期に受け取ることができる。   For example, because the system administrator who manages the entire system knows the entire system, it determines the job execution time so that job execution in the entire system is not concentrated at one time, while the accounting month Users of the accounting department in charge of the closing process can provide a comfortable work environment without concentrating job execution at a time by setting the time when they want to receive the processing results. The user can receive a desired processing result at a desired time.

なお、本実施の形態における第2のジョブスケジュール情報は、図12で示されるように、時間帯ごとのジョブの実行数を条件として有してもよい。図12では、午前1時から5時までの時間帯は実行可能なジョブの数(ジョブ実行数)の制限はないが、午前5時から7時までは10個に制限され、午前7時から9時までは5個に制限されている。この場合には、実行部19は、実行中のジョブの個数に関する情報を判断部18に提供し、判断部18は、その情報を用いて図6のステップS205の判断を行う。そして、実行部19で実行されているジョブ数が第2のジョブスケジュール情報で規定されているジョブ実行数を超える場合には、ステップS207に進むこととなる。このように、ジョブスケジュール情報がジョブの実行数に関する条件を有することで、より細かいスケジューリングを行うことができる。   Note that the second job schedule information in the present embodiment may have, as a condition, the number of job executions for each time period as shown in FIG. In FIG. 12, the number of jobs that can be executed (number of job executions) is not limited in the time zone from 1 am to 5 am, but is limited to 10 from 5 am to 7 am, and from 7 am Until 9 o'clock, it is limited to 5. In this case, the execution unit 19 provides information regarding the number of jobs being executed to the determination unit 18, and the determination unit 18 uses the information to perform the determination in step S205 of FIG. Then, when the number of jobs executed by the execution unit 19 exceeds the number of jobs executed specified by the second job schedule information, the process proceeds to step S207. As described above, since the job schedule information has a condition regarding the number of executions of jobs, finer scheduling can be performed.

また、本実施の形態では、第2のジョブスケジュール情報において、所定のジョブが実行可能であるための条件について規定しているが、ジョブスケジュール情報では、実行不可能である条件(例えば、午後1時から2時まではジョブを実行できないなど)について規定してもよく、所定のフラグを用いて、実行可能条件を示しているのか、実行不可能条件を示しているのかを識別できるようにしてもよい。   In the present embodiment, the second job schedule information defines conditions for enabling a predetermined job to be executed, but the job schedule information does not execute the condition (for example, 1 pm For example, a job cannot be executed from 2 to 2 o'clock), and a predetermined flag is used to identify whether an executable condition or an inexecutable condition is indicated. Also good.

(実施の形態2)
本発明の実施の形態2によるジョブスケジュール装置について、図面を参照しながら説明する。本実施の形態によるジョブスケジュール装置は、実行不可能なジョブの検出を行
うものである。
(Embodiment 2)
A job schedule apparatus according to Embodiment 2 of the present invention will be described with reference to the drawings. The job schedule apparatus according to the present embodiment detects a job that cannot be executed.

図13は、本実施の形態によるジョブスケジュール装置の構成を示すブロック図である。図13において、本実施の形態によるジョブスケジュール装置50は、通信部11と、アクセス受付部12と、アクセス判断部13と、アクセス部14と、第1の格納部15と、第2の格納部16と、暦・時計部17と、判断部18と、実行部19と、ジョブ格納部20と、検出部21と、出力部22とを備える。なお、検出部21、及び出力部22以外の構成及び動作は、実施の形態1と同様であり、その説明を省略する。   FIG. 13 is a block diagram showing the configuration of the job schedule apparatus according to this embodiment. In FIG. 13, the job schedule apparatus 50 according to the present embodiment includes a communication unit 11, an access reception unit 12, an access determination unit 13, an access unit 14, a first storage unit 15, and a second storage unit. 16, a calendar / clock unit 17, a determination unit 18, an execution unit 19, a job storage unit 20, a detection unit 21, and an output unit 22. The configuration and operation other than the detection unit 21 and the output unit 22 are the same as those in the first embodiment, and a description thereof will be omitted.

検出部21は、第1の格納部15で格納されている第1のジョブスケジュール情報と、第2の格納部16で格納されている第2のジョブスケジュール情報とを検査し、実行不可能なジョブを検出する。そして、その実行不可能なジョブを示す情報を出力部22に伝える。   The detection unit 21 inspects the first job schedule information stored in the first storage unit 15 and the second job schedule information stored in the second storage unit 16, and cannot be executed. Detect jobs. Then, information indicating the job that cannot be executed is transmitted to the output unit 22.

出力部22は、検出部21で検出された実行不可能なジョブを示す情報を検出部21から受け取ると、その情報を出力する。この出力は、例えば、クライアントである情報処理端末41や他の外部装置等への通信(送信)でもよく、ディスプレイなどへの映像出力や、スピーカなどによる音声出力でもよく、所定の記録媒体への記録でもよく、あるいはプリントアウトなどでもよい。また、出力部22は、出力デバイス(例えば、ディスプレイやスピーカ、プリンタなど)を含んでいてもよく、あるいは出力デバイスを駆動するドライバのみであってもよい。   When the output unit 22 receives information indicating the inexecutable job detected by the detection unit 21 from the detection unit 21, the output unit 22 outputs the information. This output may be, for example, communication (transmission) to the information processing terminal 41, which is a client, or other external device, or may be video output to a display, audio output by a speaker, etc. It may be recorded or printed out. The output unit 22 may include an output device (for example, a display, a speaker, a printer, or the like), or may be only a driver that drives the output device.

次に、本実施の形態における検出部21及び出力部22の動作について説明する。検出部21は、所定のタイミングで第1及び第2のジョブスケジュール情報を検査し、実行不可能なジョブがあるかどうか、すなわち、第1のジョブスケジュール情報における条件と、第2のジョブスケジュール情報における条件とにおいて、いかなる組み合わせにおいても両立し得ないものがあるかどうかを判断する。ここで、検出部21が第1のジョブスケジュール情報等を検査するタイミングは、所定の期間ごと(例えば、毎日午前2時など)であってもよく、所定のイベント(例えば、第1あるいは第2のジョブスケジュール情報が変更されたことなど)をトリガーとするものであってもよく、その他のタイミングであってもよい。図14は、検出部21の動作を示すフローチャートである。   Next, operations of the detection unit 21 and the output unit 22 in the present embodiment will be described. The detection unit 21 checks the first and second job schedule information at a predetermined timing, and determines whether there is a job that cannot be executed, that is, the condition in the first job schedule information and the second job schedule information. It is determined whether or not there is an incompatible condition in any combination. Here, the timing at which the detection unit 21 inspects the first job schedule information or the like may be every predetermined period (for example, every day at 2:00 am, etc.), or a predetermined event (for example, the first or second). The job schedule information may be changed as a trigger, or other timing may be used. FIG. 14 is a flowchart showing the operation of the detection unit 21.

(ステップS401)検出部21は、IとJをそれぞれ"1"に設定する。   (Step S401) The detection unit 21 sets I and J to “1”, respectively.

(ステップS402)検出部21は、第1の格納部15で格納されている第1のテーブル(図4参照)におけるINDEX=Iのレコードの条件と、第2の格納部16で格納されている第2のテーブル(図5参照)におけるINDEX=Jのレコードの条件とが相反するかどうかを判断する。ここで、相反するとは、両者が決して両立しないことをいう。例えば、ジョブ名が異なっていたり、実行の日付が異なっている場合には、相反すると判断される。相反する場合にはステップS405に進み、相反しない場合にはステップS403に進む。   (Step S <b> 402) The detection unit 21 is stored in the second storage unit 16 and the condition of the record of INDEX = I in the first table (see FIG. 4) stored in the first storage unit 15. It is determined whether or not the condition of the record of INDEX = J in the second table (see FIG. 5) conflicts. Here, conflicting means that both are never compatible. For example, if the job names are different or the execution dates are different, it is determined that there is a conflict. If there is a conflict, the process proceeds to step S405, and if not, the process proceeds to step S403.

(ステップS403)検出部21は、第1のテーブルにおいて"I"が最後の値であるかどうか、すなわちINDEX=Iのレコードが最後であるかどうかを判断する。そして、"I"が最後の値である場合には終了となり、最後の値でない場合には、ステップS404に進む。   (Step S403) The detection unit 21 determines whether “I” is the last value in the first table, that is, whether the record of INDEX = I is the last. If “I” is the last value, the process ends. If not, the process proceeds to step S404.

(ステップS404)検出部21は、"I"を1だけインクリメントし、"J"を"1"に設定して、ステップS402に戻る。   (Step S404) The detection unit 21 increments “I” by 1, sets “J” to “1”, and returns to Step S402.

(ステップS405)検出部21は、第2のレコードにおいて、"J"が最後の値であるかどうか、すなわちINDEX=Jのレコードが最後であるかどうかを判断する。そして
、"J"が最後の値である場合には、ステップS406に進み、最後の値でない場合には、ステップS407に進む。
(Step S405) The detection unit 21 determines whether “J” is the last value in the second record, that is, whether the record of INDEX = J is the last. If “J” is the last value, the process proceeds to step S406. If not “J”, the process proceeds to step S407.

(ステップS406)検出部21は、第1のテーブルにおけるINDEX=Iのレコードのジョブが実行不可能であるとして、検出部21の有するメモリ(図示せず)に、そのジョブを特定するための情報(例えば、第1のテーブルにおけるINDEX=Iのレコードなど)を記憶させる。   (Step S406) The detection unit 21 determines that the job of the record with INDEX = I in the first table cannot be executed, and information for specifying the job in a memory (not shown) of the detection unit 21 (For example, a record of INDEX = I in the first table) is stored.

(ステップS407)検出部21は、"J"を1だけインクリメントしてステップS402に戻る。   (Step S407) The detector 21 increments “J” by 1, and returns to step S402.

ここで、図14で示される一連の処理を行った場合には、第1のテーブルに実行不可能なジョブが含まれていることを検出することはできるが、第2のテーブルに含まれている実行不可能なジョブを検出することはできない。したがって、第2のテーブルに含まれている実行不可能なジョブを検出する場合には、図14のフローチャートにおいて、第1のテーブルと第2のテーブルを入れ替えて同様に実行する必要がある。   Here, when the series of processing shown in FIG. 14 is performed, it is possible to detect that the first table includes a job that cannot be executed, but it is included in the second table. Cannot detect non-executable jobs. Therefore, in order to detect a non-executable job included in the second table, it is necessary to execute similarly by exchanging the first table and the second table in the flowchart of FIG.

検出部21は、図14のフローチャートで示される一連の処理が終了した後に、メモリに記憶させた実行不可能なジョブを特定するための情報を読み出し、出力部22に渡す。出力部22は、検出部21から受け取った情報を出力する。   After the series of processing shown in the flowchart of FIG. 14 is completed, the detection unit 21 reads information for specifying an inexecutable job stored in the memory and passes the information to the output unit 22. The output unit 22 outputs information received from the detection unit 21.

次に、検出部21及び出力部22の動作について、具体例を用いて説明する。ここで、第1のテーブルは図4で示されるものであり、第2のテーブルは図5で示されるものであるとする。   Next, operations of the detection unit 21 and the output unit 22 will be described using specific examples. Here, it is assumed that the first table is as shown in FIG. 4 and the second table is as shown in FIG.

第1のテーブルにおけるINDEX=1のレコードと、第2のテーブルにおけるINDEX=1のレコードとは、ジョブ"月締め処理"が任意の月における1日の午前1時に実行可能であるため、相反しないと判断される(ステップS401、S402)。そして、Iがインクリメントされて(ステップS403、S404)、次に第1のテーブルにおけるINDEX=2のレコードと、第2のテーブルにおけるINDEX=1のレコードとが相反するかどうか判断される(ステップS402)。このようにして、図4、図5で示されるジョブスケジュール情報の場合には、相反するものがないため、実行不可能なジョブはないことになる。また、第2のテーブルについても、実行不可能なジョブがあるかどうかを検査してもよい。   There is no conflict between the INDEX = 1 record in the first table and the INDEX = 1 record in the second table because the job “Month Closing” can be executed at 1 am on the first day of any month. (Steps S401 and S402). Then, I is incremented (steps S403 and S404), and then it is determined whether or not the INDEX = 2 record in the first table and the INDEX = 1 record in the second table conflict (step S402). ). In this way, in the case of the job schedule information shown in FIGS. 4 and 5, there is no conflict, so there is no unexecutable job. Further, the second table may be inspected to determine whether there is a job that cannot be executed.

なお、図4、図5は、異なる条件項目を有するジョブスケジュール情報であるため、条件項目に関しては相反するものは存在しないと考えられるが、例えば、第2のテーブルには存在しないジョブが第1のテーブルに存在する場合には、その第1のテーブルのジョブは実行不可能なジョブとして検出されることになる。   4 and 5 are job schedule information having different condition items, it is considered that there are no conflicting condition items. For example, a job that does not exist in the second table is the first. In the table, the job in the first table is detected as an unexecutable job.

一方、第1のテーブルが図15で示されるものであり、第2のテーブルが図5で示されるものである場合には、Iが4であり、Jが1,2のときに相反すると判断され(ステップS402)、第2のテーブルのレコードがINDEX=2までしかないとすると、ジョブ"○×予定作成"を特定するための情報、すなわち図15で示されるテーブルにおけるINDEX=4のレコードが検出部21の図示しないメモリで記憶される。そして、図14で示される一連の処理の終了後、検出部21から出力部22にその情報が渡され、出力部22は、そのレコードと、そのレコードのジョブが実行不可能である旨とをプリントアウトする。図16は、そのようにしてプリントアウトされた、ジョブ"○×予定作成"が実行不可能である旨を示す図である。情報処理装置41,42のユーザは、そのプリントアウトされた実行不可能なジョブに関する情報を見ることにより、実行不可能なジョブを知ることができ、そのジョブが実行されるように、ジョブスケジュール情報を修正することが
できる。
On the other hand, if the first table is the one shown in FIG. 15 and the second table is the one shown in FIG. 5, it is determined that the conflict occurs when I is 4 and J is 1 or 2. (Step S402), if there are only records in the second table up to INDEX = 2, information for specifying the job “X × schedule creation”, that is, a record of INDEX = 4 in the table shown in FIG. It is stored in a memory (not shown) of the detection unit 21. Then, after the series of processing shown in FIG. 14 is completed, the information is passed from the detection unit 21 to the output unit 22, and the output unit 22 indicates that the record and the job of the record cannot be executed. Print out. FIG. 16 is a diagram showing that the job “XX schedule creation” printed out in this way cannot be executed. The user of the information processing devices 41 and 42 can know the job that cannot be executed by looking at the information about the printed job that cannot be executed, and the job schedule information so that the job is executed. Can be corrected.

以上のように、本実施の形態によるジョブスケジュール装置によれば、ジョブスケジュール情報を検査して、実行不可能なジョブを検出する検出部21と、その検出結果を出力する出力部22とを備えたことで、第1及び第2のジョブスケジュール情報によるジョブの実行スケジュールにおいて、実行されることのないジョブを容易に検出することができ、その結果に基づいて、ユーザは、ジョブスケジュール情報を変更することができる。   As described above, the job schedule apparatus according to the present embodiment includes the detection unit 21 that checks job schedule information and detects a job that cannot be executed, and the output unit 22 that outputs the detection result. Therefore, in the job execution schedule based on the first and second job schedule information, it is possible to easily detect a job that is not executed, and based on the result, the user changes the job schedule information. can do.

なお、上記各実施の形態におけるハードウェア構成の一例は、図17で示されるようになる。すなわち、ジョブスケジュール装置が図17のサーバ(ホスト)に対応し、情報処理装置41,42が図17のクライアント端末に対応する。   An example of the hardware configuration in each of the above embodiments is as shown in FIG. That is, the job schedule device corresponds to the server (host) in FIG. 17, and the information processing devices 41 and 42 correspond to the client terminal in FIG.

また、上記各実施の形態にいて、第1及び第2のジョブスケジュール情報がテーブル形式(例えば、図4参照)で与えられる場合について説明したが、この第1及び第2のジョブスケジュール情報は、ジョブの実行スケジュールに関する条件を有するものであれば、テーブル形式でなくてもよい。   Further, in each of the embodiments described above, the case where the first and second job schedule information is given in a table format (for example, see FIG. 4) has been described. The first and second job schedule information is Any table having a condition related to the job execution schedule may be used.

また、上記各実施の形態では、第1のジョブスケジュール情報が時期に関する条件を有し、第2のジョブスケジュール情報が時間に関する条件を有する場合について説明したが、第1及び第2のジョブスケジュール情報の有する条件は、これらに限定されるものではなく、例えば、第2のジョブスケジュール情報において"曜日"を条件として新たに加え、土曜日と日曜日は終日、すべてのジョブを実行できるようにしてもよく、さらにその他の条件を有してもよい。   In each of the above-described embodiments, the case has been described where the first job schedule information has a condition related to time and the second job schedule information has a condition related to time. However, the first and second job schedule information Are not limited to these. For example, in the second job schedule information, “day of the week” may be newly added as a condition, and all jobs may be executed all day on Saturday and Sunday. In addition, other conditions may be included.

さらに、第1及び第2のジョブスケジュール情報は、異なる条件項目に関するものであってもよく、あるいは、同一の条件項目をそれぞれが有してもよい。   Furthermore, the first and second job schedule information may relate to different condition items, or may each have the same condition item.

また、上記各実施の形態では、ジョブスケジュール情報が2つである場合(すなわち、第1及び第2のジョブスケジュール情報の場合)について説明したが、第1から第N(Nは2以上の整数)のジョブスケジュール情報を有してもよく、その場合であっても、所定のジョブに関する各ジョブスケジュール情報の条件が充たされる場合に、ジョブの実行が行われる。   In each of the above embodiments, the case where there are two pieces of job schedule information (that is, the case of the first and second job schedule information) has been described. In this case, the job is executed when the conditions of the job schedule information relating to the predetermined job are satisfied.

また、上記各実施の形態において、第1及び第2のジョブスケジュール情報がそれぞれ2つの格納部、すなわち第1及び第2の格納部15,16で格納されている場合について説明したが、第1及び第2のジョブスケジュール情報は、同一の格納部で格納されていてもよい。なお、同一の格納部で格納されている場合には、第1のジョブスケジュール情報が格納されている領域が第1の格納部15となり、第2のジョブスケジュール情報が格納されている領域が第2の格納部16となる。   In each of the above embodiments, the first and second job schedule information is stored in two storage units, that is, the first and second storage units 15 and 16, respectively. The second job schedule information may be stored in the same storage unit. In the case where they are stored in the same storage unit, the area in which the first job schedule information is stored becomes the first storage unit 15, and the area in which the second job schedule information is stored is the first. 2 storage unit 16.

また、上記各実施の形態において、アクセスの可否を判断するアクセス判断部13を備えたジョブスケジュール装置について説明したが、ジョブスケジュール装置はアクセス判断部13を備えず、アクセス部14がアクセス受付部12で受け付けられたアクセス要求に応じたジョブスケジュール情報へのアクセスを行うようにしてもよい。この場合にも、アクセス要求には少なくともアクセス対象を示す情報が含まれている。   In each of the above-described embodiments, the job schedule device including the access determination unit 13 that determines whether access is possible has been described. However, the job schedule device does not include the access determination unit 13, and the access unit 14 includes the access reception unit 12. The job schedule information may be accessed in accordance with the access request received in step (b). Also in this case, the access request includes at least information indicating the access target.

また、上記各実施の形態において、アクセスの可否を判断するために、情報処理装置41,42を識別するための装置IDを用いた場合について説明したが、アクセスの可否は、アクセス要求に含まれる識別子に基づいて判断してもよい。その識別子は、装置IDのようにアクセス元の装置を識別する情報でもよく、パスワードなどの認証情報であってもよい。例えば、入力された認証情報(パスワードなど)によりアクセスの可否を判断する
場合には、その認証情報が識別子となり、正しい認証情報が入力されたときにはアクセスを可能とし、誤った認証情報が入力されたときにはアクセスが不可であるとしてもよい。
Further, in each of the above embodiments, the case where the device ID for identifying the information processing devices 41 and 42 is used to determine whether access is possible has been described. However, whether access is possible is included in the access request. You may judge based on an identifier. The identifier may be information for identifying an access source device such as a device ID, or authentication information such as a password. For example, when determining whether or not access is possible based on the input authentication information (password or the like), the authentication information becomes an identifier. When correct authentication information is input, access is possible, and incorrect authentication information is input. Sometimes access is not possible.

また、システムの管理者のみがアクセスできるルートディレクトリ(第2の格納部16に対応する)に第2のジョブスケジュール情報が格納されており、ルートディレクトリよりも下位の階層のサブディレクトリ(第1の格納部15に対応する)に第1のジョブスケジュール情報が格納されている場合に、システムの管理者としてのアクセス要求が行われた場合には、アクセス判断部13がルートディレクトリへのアクセスを許可することで、第2のジョブスケジュール情報、及びその下位の階層であるサブディレクトリの第1のジョブスケジュール情報にアクセスでき、一般のユーザとしてのアクセス要求が行われた場合には、アクセス判断部13がサブディレクトリへのアクセスを許可することで、第1のジョブスケジュール情報にはアクセスできるが、第2のジョブスケジュール情報を見ることができない(すなわち、アクセスできないばかりか、存在すらわからない)ようにしてもよい。   Further, the second job schedule information is stored in a root directory (corresponding to the second storage unit 16) that can be accessed only by the system administrator, and a subdirectory (first directory) lower than the root directory. When the first job schedule information is stored in the storage unit 15) and the access request as the system administrator is made, the access determination unit 13 permits the access to the root directory. As a result, the second job schedule information and the first job schedule information of the subdirectory that is a lower hierarchy can be accessed, and when an access request is made as a general user, the access determination unit 13 Grants access to the subdirectory, so the first job schedule information Can be Seth, can not see the second job schedule information (ie, not only can not be accessed, there do not know even) may be.

また、上記各実施の形態では、サーバ・クライアント型のシステムの場合について説明したが、上記各実施の形態におけるジョブスケジュールは、スタンドアロンの情報処理装置(ジョブスケジュール装置)において実行されてもよい。特に、スタンドアロンの情報処理装置を複数人でログインして使用する場合には有効である。   In each of the above embodiments, a server / client system has been described. However, the job schedule in each of the above embodiments may be executed by a stand-alone information processing apparatus (job scheduling apparatus). This is particularly effective when a stand-alone information processing apparatus is logged in and used by a plurality of people.

また、上記各実施の形態において、各構成要素は専用のハードウェアにより構成してもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラム制御によるソフトウェアにより構成してもよい。ソフトウェアにより構成した場合のコンピュータが実行するプログラムの一例は、所定のジョブに関し、ジョブの実行スケジュールに関する条件を有する第1のジョブスケジュール情報の条件、及びジョブの実行スケジュールに関する条件を有する第2のジョブスケジュール情報の条件を充たすかどうか判断する判断ステップをコンピュータに実行させるためのプログラムとなる。ここで、判断ステップでの判断結果に応じたジョブの実行は、その判断を行ったコンピュータが行ってもよく、あるいは、その判断結果をネットワーク等を介して受け取った情報処理装置が行ってもよい。   In each of the above embodiments, each component may be configured by dedicated hardware, or a component that can be realized by software may be configured by software under program control. An example of a program executed by a computer when configured by software is a second job having a condition regarding first job schedule information having a condition regarding a job execution schedule and a condition regarding a job execution schedule with respect to a predetermined job This is a program for causing a computer to execute a determination step for determining whether or not the condition of the schedule information is satisfied. Here, the execution of the job according to the determination result in the determination step may be performed by the computer that performed the determination, or may be performed by the information processing apparatus that has received the determination result via a network or the like. .

また、そのプログラムにおいて、前記判断ステップで前記第1及び第2のジョブスケジュール情報の条件を充たすと判断されたジョブを実行するジョブ実行ステップをさらにコンピュータに実行させてもよい。なお、このプログラムにおける「ジョブの実行」は、ジョブのプログラム自体の実行(例えば、バックアップのプログラム自体の実行)であってもよく、そのジョブの起動(コール)等であってもよい。   Further, in the program, the computer may further execute a job execution step for executing the job determined to satisfy the conditions of the first and second job schedule information in the determination step. The “job execution” in this program may be execution of the job program itself (for example, execution of the backup program itself), start of the job (call), or the like.

以上のように、本発明によるジョブスケジュール装置は、ジョブの実行をスケジューリングする、例えば情報処理装置等に有用である。   As described above, the job schedule device according to the present invention is useful for, for example, an information processing device that schedules job execution.

本発明の実施の形態1によるジョブスケジュール装置の構成を示すブロック図1 is a block diagram showing a configuration of a job schedule apparatus according to Embodiment 1 of the present invention. 同実施の形態によるジョブスケジュール装置の動作を示すフローチャートA flowchart showing the operation of the job schedule apparatus according to the embodiment 同実施の形態におけるアクセス判断情報の一例を示す図The figure which shows an example of the access judgment information in the embodiment 同実施の形態における第1のジョブスケジュール情報の一例を示す図The figure which shows an example of the 1st job schedule information in the embodiment 同実施の形態における第2のジョブスケジュール情報の一例を示す図The figure which shows an example of the 2nd job schedule information in the embodiment 同実施の形態によるジョブスケジュール装置の動作を示すフローチャートA flowchart showing the operation of the job schedule apparatus according to the embodiment 同実施の形態によるジョブスケジュール装置の動作を示すフローチャートA flowchart showing the operation of the job schedule apparatus according to the embodiment 同実施の形態における情報処理装置の表示画面の一例を示す図The figure which shows an example of the display screen of the information processing apparatus in the embodiment 同実施の形態における情報処理装置の表示画面の一例を示す図The figure which shows an example of the display screen of the information processing apparatus in the embodiment 同実施の形態における情報処理装置の表示画面の一例を示す図The figure which shows an example of the display screen of the information processing apparatus in the embodiment 同実施の形態における情報処理装置の表示画面の一例を示す図The figure which shows an example of the display screen of the information processing apparatus in the embodiment 同実施の形態における第2のジョブスケジュール情報の一例を示す図The figure which shows an example of the 2nd job schedule information in the embodiment 本発明の実施の形態2によるジョブスケジュール装置の構成を示すブロック図FIG. 3 is a block diagram showing the configuration of a job schedule apparatus according to Embodiment 2 of the present invention 同実施の形態によるジョブスケジュール装置の動作を示すフローチャートA flowchart showing the operation of the job schedule apparatus according to the embodiment 同実施の形態における第1のジョブスケジュール情報の一例を示す図The figure which shows an example of the 1st job schedule information in the embodiment 同実施の形態における実行不可能なジョブを示した出力結果の一例を示す図The figure which shows an example of the output result which showed the job which cannot be executed in the embodiment 本実施の形態1及び2におけるハードウェア構成の一例を示す図The figure which shows an example of the hardware constitutions in this Embodiment 1 and 2

符号の説明Explanation of symbols

10,50 ジョブスケジュール装置
11 通信部
12 アクセス受付部
13 アクセス判断部
14 アクセス部
15 第1の格納部
16 第2の格納部
17 暦・時計部
18 判断部
19 実行部
20 ジョブ格納部
21 検出部
22 出力部
30 通信回線
41,42 情報処理装置


DESCRIPTION OF SYMBOLS 10,50 Job schedule apparatus 11 Communication part 12 Access reception part 13 Access judgment part 14 Access part 15 1st storage part 16 2nd storage part 17 Calendar / clock part 18 Judgment part 19 Execution part 20 Job storage part 21 Detection part 22 Output unit 30 Communication line 41, 42 Information processing device


Claims (19)

ジョブの実行スケジュールに関する条件をそれぞれ有する、第1から第N(Nは2以上の整数)のジョブスケジュール情報において、所定のジョブに関する各ジョブスケジュール情報の条件が充たされる場合に、当該ジョブを実行するジョブスケジュール装置。 In the first to Nth (N is an integer of 2 or more) job schedule information each having a condition related to a job execution schedule, the job is executed when the condition of each job schedule information related to a predetermined job is satisfied Job schedule device. ジョブの実行スケジュールに関する条件を有する第1のジョブスケジュール情報が格納される第1の格納部と、
ジョブの実行スケジュールに関する条件を有する第2のジョブスケジュール情報が格納される第2の格納部と、
所定のジョブに関し、前記第1のジョブスケジュール情報の条件、及び前記第2のジョブスケジュール情報の条件を充たすかどうか判断する判断部と、
前記判断部により前記第1及び第2のジョブスケジュール情報の条件を充たすと判断されたジョブを実行するジョブ実行部と、を備えたジョブスケジュール装置。
A first storage unit that stores first job schedule information having a condition related to a job execution schedule;
A second storage unit for storing second job schedule information having conditions relating to a job execution schedule;
A determination unit that determines whether or not a condition of the first job schedule information and a condition of the second job schedule information are satisfied for a predetermined job;
A job schedule device comprising: a job execution unit that executes a job determined by the determination unit to satisfy the conditions of the first and second job schedule information.
前記第1及び第2のジョブスケジュール情報へのアクセス要求を受け付けるアクセス受付部と、
前記アクセス受付部で受け付けられたアクセス要求に応じたジョブスケジュール情報へのアクセスを行うアクセス部と、をさらに備えた、請求項2記載のジョブスケジュール装置。
An access receiving unit for receiving an access request to the first and second job schedule information;
The job schedule apparatus according to claim 2, further comprising: an access unit that accesses job schedule information according to an access request received by the access receiving unit.
前記アクセス受付部で受け付けられたアクセス要求について、アクセスの可否を判断するアクセス判断部をさらに備え、
前記アクセス部は、前記アクセス判断部によりアクセスが可能であると判断された場合に、前記アクセス要求に応じたアクセスを行う、請求項3記載のジョブスケジュール装置。
For the access request received by the access receiving unit, further comprises an access determining unit that determines whether access is possible,
The job scheduling apparatus according to claim 3, wherein the access unit performs access in response to the access request when the access determination unit determines that access is possible.
前記アクセス判断部は、アクセス要求に所定の識別子が含まれる場合にのみ前記第1のジョブスケジュール情報へのアクセスが可能であると判断する、請求項4記載のジョブスケジュール装置。 The job scheduling apparatus according to claim 4, wherein the access determination unit determines that access to the first job schedule information is possible only when a predetermined identifier is included in the access request. 所定のジョブに関する、前記第1のジョブスケジュール情報の有する条件と、前記第2のジョブスケジュール情報の有する条件とは、異なる条件項目に関するものである、請求項2から5のいずれか記載のジョブスケジュール装置。 The job schedule according to any one of claims 2 to 5, wherein a condition of the first job schedule information and a condition of the second job schedule information relating to a predetermined job are related to different condition items. apparatus. 前記第1のジョブスケジュール情報は、ジョブを実行する時期に関する条件を有し、
前記第2のジョブスケジュール情報は、ジョブを実行する時間に関する条件を有する、請求項6記載のジョブスケジュール装置。
The first job schedule information has a condition regarding a time to execute a job,
The job schedule apparatus according to claim 6, wherein the second job schedule information includes a condition related to a time for executing a job.
前記第2のジョブスケジュール情報は、時間帯ごとのジョブの実行数に関する条件を有する、請求項7記載のジョブスケジュール装置。 The job schedule apparatus according to claim 7, wherein the second job schedule information includes a condition regarding the number of jobs executed for each time period. 前記第1及び第2のジョブスケジュール情報を検査し、実行不可能なジョブを検出する検出部と、
前記検出部により検出された実行不可能なジョブを示す情報を出力する出力部と、をさらに備えた、請求項2から8のいずれか記載のジョブスケジュール装置。
A detector that inspects the first and second job schedule information and detects an inexecutable job;
The job schedule apparatus according to claim 2, further comprising: an output unit that outputs information indicating an inexecutable job detected by the detection unit.
コンピュータに、
ジョブの実行スケジュールに関する条件をそれぞれ有する、第1から第N(Nは2以上の整数)のジョブスケジュール情報において、所定のジョブに関する各ジョブスケジュール情報の条件が充たされるかどうかを判断するステップを実行させるためのプログラム。
On the computer,
Executes a step of determining whether or not the conditions of each job schedule information related to a predetermined job are satisfied in the first to Nth (N is an integer of 2 or more) job schedule information each having a condition related to a job execution schedule Program to let you.
コンピュータに、
所定のジョブに関し、ジョブの実行スケジュールに関する条件を有する第1のジョブスケジュール情報の条件、及びジョブの実行スケジュールに関する条件を有する第2のジョブスケジュール情報の条件を充たすかどうか判断する判断ステップを実行させるためのプログラム。
On the computer,
A determination step is executed for determining whether a condition of first job schedule information having a condition related to a job execution schedule and a condition of second job schedule information having a condition related to a job execution schedule is satisfied for a predetermined job. Program for.
前記判断ステップで前記第1及び第2のジョブスケジュール情報の条件を充たすと判断されたジョブを実行するジョブ実行ステップをさらにコンピュータに実行させるための、請求項11記載のプログラム。 The program according to claim 11, further causing a computer to execute a job execution step of executing a job determined to satisfy the conditions of the first and second job schedule information in the determination step. 前記第1及び第2のジョブスケジュール情報へのアクセス要求を受け付けるアクセス受付ステップと、
前記アクセス受付ステップで受け付けられたアクセス要求に応じたジョブスケジュール情報へのアクセスを行うアクセスステップと、をさらにコンピュータに実行させるための、請求項11または12記載のプログラム。
An access accepting step for accepting access requests to the first and second job schedule information;
The program according to claim 11 or 12, for causing a computer to further execute an access step of accessing job schedule information according to an access request received in the access receiving step.
前記アクセス受付ステップで受け付けられたアクセス要求について、アクセスの可否を判断するアクセス判断ステップをさらにコンピュータに実行させ、
前記アクセスステップでは、前記アクセス判断ステップでアクセスが可能であると判断された場合に、前記アクセス要求に応じたアクセスを行う、請求項13記載のプログラム。
For the access request accepted in the access acceptance step, the computer further executes an access judgment step for judging whether or not access is possible,
14. The program according to claim 13, wherein in the access step, access is made in response to the access request when it is determined that access is possible in the access determination step.
前記アクセス判断ステップでは、アクセス要求に所定の識別子が含まれる場合にのみ前記第1のジョブスケジュール情報へのアクセスが可能であると判断する、請求項14記載のプログラム。 The program according to claim 14, wherein in the access determination step, it is determined that access to the first job schedule information is possible only when a predetermined identifier is included in the access request. 所定のジョブに関する、前記第1のジョブスケジュール情報の有する条件と、前記第2のジョブスケジュール情報の有する条件とは、異なる条件項目に関するものである、請求項11から15のいずれか記載のプログラム。 The program according to any one of claims 11 to 15, wherein a condition included in the first job schedule information and a condition included in the second job schedule information relating to a predetermined job are related to different condition items. 前記第1のジョブスケジュール情報は、ジョブを実行する時期に関する条件を有し、
前記第2のジョブスケジュール情報は、ジョブを実行する時間に関する条件を有する、請求項16記載のプログラム。
The first job schedule information has a condition regarding a time to execute a job,
The program according to claim 16, wherein the second job schedule information has a condition regarding a time for executing a job.
前記第2のジョブスケジュール情報は、時間帯ごとのジョブの実行数に関する条件を有する、請求項17記載のプログラム。 The program according to claim 17, wherein the second job schedule information has a condition regarding the number of jobs executed for each time period. 前記第1及び第2のジョブスケジュール情報を検査し、実行不可能なジョブを検出する検出ステップと、
前記検出ステップで検出された実行不可能なジョブを示す情報を出力する出力ステップと、をさらにコンピュータに実行させるための、請求項11から18のいずれか記載のプログラム。


A detection step of inspecting the first and second job schedule information and detecting an inexecutable job;
The program according to any one of claims 11 to 18, further causing a computer to execute an output step of outputting information indicating an inexecutable job detected in the detection step.


JP2003276858A 2003-07-18 2003-07-18 Job schedule device Withdrawn JP2005038332A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003276858A JP2005038332A (en) 2003-07-18 2003-07-18 Job schedule device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003276858A JP2005038332A (en) 2003-07-18 2003-07-18 Job schedule device

Publications (1)

Publication Number Publication Date
JP2005038332A true JP2005038332A (en) 2005-02-10

Family

ID=34213046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003276858A Withdrawn JP2005038332A (en) 2003-07-18 2003-07-18 Job schedule device

Country Status (1)

Country Link
JP (1) JP2005038332A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010519621A (en) * 2007-02-15 2010-06-03 マイクロソフト コーポレーション Computer system event interface
JP2013200667A (en) * 2012-03-23 2013-10-03 Ntt Data Corp Schedule creating method, and system and program therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010519621A (en) * 2007-02-15 2010-06-03 マイクロソフト コーポレーション Computer system event interface
US8990391B2 (en) 2007-02-15 2015-03-24 Microsoft Technology Licensing, Llc Computer system events interface
JP2013200667A (en) * 2012-03-23 2013-10-03 Ntt Data Corp Schedule creating method, and system and program therefor

Similar Documents

Publication Publication Date Title
US9430637B2 (en) Service providing system and information gathering method
US6366915B1 (en) Method and system for efficiently retrieving information from multiple databases
US7092944B2 (en) Personal information management apparatus, personal information managing method, and storage medium and program therefor
US20070162322A1 (en) Social calendar
JPH07262072A (en) File controller
CN111507689B (en) Service processing method, device, equipment and computer readable storage medium
JP6225822B2 (en) Output system, terminal device, program, and output method
WO2023095439A1 (en) Schedule adjustment device, schedule adjustment method, and program
US20230121667A1 (en) Categorized time designation on calendars
JP2007148544A (en) Document management device
JP5141460B2 (en) Control program, information processing system, and information processing method
US7877750B2 (en) Scheduled job execution management
JP2013126212A (en) Image forming apparatus which can move to power saving state and controller for the same
JP2005038332A (en) Job schedule device
JP4866620B2 (en) Document processing apparatus and image forming apparatus
JP2012230584A (en) Schedule management system having print management function
JP2013105365A (en) Conference adjustment device and conference adjustment program
JP5202797B2 (en) Maintenance amount calculation device, maintenance amount calculation program
JP2008059349A (en) Information security management system, and processing method therefor
JP6626327B2 (en) Gantt chart generation program, Gantt chart generation device, and Gantt chart generation method
JPH11250127A (en) Method for automating process management of system development
JP6641450B2 (en) Image forming apparatus and power saving control method
JP7124567B2 (en) Document management device and document management program
US20070288709A1 (en) Systems and methods for scheduling a device
JP5412827B2 (en) Document management apparatus, document management program, and document management system

Legal Events

Date Code Title Description
A621 Written request for application examination

Effective date: 20060224

Free format text: JAPANESE INTERMEDIATE CODE: A621

RD01 Notification of change of attorney

Effective date: 20060314

Free format text: JAPANESE INTERMEDIATE CODE: A7421

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20070730