JPS63163671A - Deciding and supporting system for assignment - Google Patents

Deciding and supporting system for assignment

Info

Publication number
JPS63163671A
JPS63163671A JP61308638A JP30863886A JPS63163671A JP S63163671 A JPS63163671 A JP S63163671A JP 61308638 A JP61308638 A JP 61308638A JP 30863886 A JP30863886 A JP 30863886A JP S63163671 A JPS63163671 A JP S63163671A
Authority
JP
Japan
Prior art keywords
allocation
job
jobs
resources
algorithm
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61308638A
Other languages
Japanese (ja)
Inventor
Tetsuya Abe
哲也 阿部
Akira Ishii
暁 石井
Etsuko Nomura
野村 悦子
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61308638A priority Critical patent/JPS63163671A/en
Publication of JPS63163671A publication Critical patent/JPS63163671A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

PURPOSE:To shorten an operation time by preparing plural algorithms for the procedure of an assignment decision, selecting the algorithm which decides the suitable assignment decision according to the conditions of the assignment decision, and reducing the frequency of standstill in the course of the assignment decision of the combination of plural jobs and plural resources. CONSTITUTION:When the assignment of the jobs and the resources is decided, the plural algorithms which decide the assignment are previously prepared, and among them, the algorithm which advances the assignment decision for the jobs and resources is selected by referring to the conditions in the course of the assignment decision and information on the jobs and the resources. Therefore, even when the conditions of the assignment decision is changed in the course of the procedure of the assignment decision, the procedure can be continued by using the algorithm which complies with the conditions. Thus the frequency of the standstill in the course of the assignment decision and the alteration of the assignment decision can be reduced.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は複数のジョブと複数のリソースとの間の組合せ
を効果的に割当て決定することのできる割当て決定支援
方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Object of the Invention] (Industrial Application Field) The present invention relates to an allocation decision support method that can effectively allocate combinations between a plurality of jobs and a plurality of resources.

(従来の技術) 従来より、複数のジョブと複数のリソースとの間の組合
せを、種々の制約条件の下で割当て決定することが良く
行われる。例えば種々の業務(ジョブ)に対する作業者
(リソース)の割当てを、労働条件や作業能力(制約条
件)に従ってそれぞれ割当て決定することが行われる。
(Prior Art) Conventionally, it has been common practice to allocate combinations of a plurality of jobs and a plurality of resources under various constraint conditions. For example, the allocation of workers (resources) to various tasks (jobs) is determined according to working conditions and working abilities (constraints).

このような割当て決定は、従来、専ら人手に頼って行わ
れているが、上記ジョブとリソースとがそれぞれ大愚に
なるに従って人手による割当て決定が困難化する。また
割当て決定を進める過程で、例えば成るジョブに割当て
得るリソースが既に他のジョブに割当て決定されている
結果、そのジョブに割当てるリソースが無くなる等の矛
盾が生じ易く、割当て決定処理の行詰まりが生じること
も多々ある。そしてこの場合には、その割当て決定手続
きをやり直す必要が生じる。この為、ジョブとリソース
との割当て決定に多大な時間を必要とすることが否めな
かった。
Conventionally, such allocation decisions have been made solely by humans, but as the jobs and resources become more complex, manual allocation decisions become more difficult. In addition, in the process of proceeding with the allocation decision, conflicts tend to occur, such as, for example, resources that can be allocated to a certain job have already been allocated to another job, resulting in no resources to be allocated to that job, resulting in a deadlock in the allocation decision process. There are many cases. In this case, it becomes necessary to repeat the allocation determination procedure. For this reason, it cannot be denied that a large amount of time is required to determine the allocation of jobs and resources.

そこで最近では、この種の割当て決定を計算機を用いて
処理することが考えられている。
Therefore, recently, it has been considered to process this type of allocation decision using a computer.

第7図は従来技術により計算機を用いて別当て決定を行
う一般的な処理手順の一例を示している。
FIG. 7 shows an example of a general processing procedure for determining separate allocation using a computer according to the prior art.

この処理は、例えば複数のジョブをその先頭に登録され
たジョブから順に取出しくステップbi)、取出された
ジョブに割当て可能なリソースを、複数のリソースの中
から順に取出されるリソースについて(ステップb2)
、その割当て制約条件等をチェックして求める(ステッ
プb3. b4)。このチェックは、具体的には割当て
の制約条件をチェックしたのち(ステップb3)、更に
その動的条件をチェックすることによって行われる (
ステップb4)。
This process includes, for example, sequentially extracting a plurality of jobs from the first registered job (step bi), and sequentially extracting resources that can be allocated to the extracted jobs from among the plurality of resources (step b2). )
, the allocation constraints, etc. are checked and determined (steps b3 and b4). Specifically, this check is performed by checking the allocation constraint conditions (step b3) and then further checking the dynamic conditions (
Step b4).

そして割当て制約条件等を満すリソースの中から、例え
ば最初に見出されたりンースを上記ジョブに割当て決定
しくステップb5)、その割当て状況を記憶する(ステ
ップb6)。
Then, it is decided to allocate, for example, the first resource found among the resources that satisfy the allocation constraints etc. to the job (step b5), and the allocation status is stored (step b6).

尚、ジョブに対して割当て決定し得るリソースが見出さ
れない場合には、適宜、その割当て変更が行われる。
Note that if a resource that can be allocated to a job is not found, the allocation is changed as appropriate.

このような処理手続きを、既に割当て決定されたジョブ
およびリソースを除去しながら全てのジョブに対して繰
返し実行して、その割当てが完了する。
Such a processing procedure is repeatedly executed for all jobs while removing jobs and resources for which allocation has already been determined, and the allocation is completed.

ところがこのような処理手続きにあっては、単純に先頭
のジョブから順にリソースの割当て決定を進めるので割
当て決定の処理制御が簡単である反面、その割当て決定
手続きの過程において行詰まりが生じ易く、度々割当て
変更が要求されると云う問題がある。
However, in such a processing procedure, resource allocation decisions are simply made sequentially starting from the first job, so it is easy to control the allocation decision process, but on the other hand, it is easy to get stuck in the process of the allocation decision procedure, and it is often difficult to do so. The problem is that an allocation change is required.

そこで最近では、例えば第8図にその処理手続きの流れ
を示すように、割当て制約条件の厳しいものから順に、
その割当て決定を進めることが考えられている。
Therefore, recently, for example, as shown in Figure 8, which shows the flow of the processing procedure, in descending order of allocation constraints,
The idea is to proceed with the allocation decision.

即ち、この処理手続きは、先ずジョブとリソースとの割
当てに対するilll条約を調査しておく(ステップc
i)。そしてこの調査結果に従ってその割当て制約条件
の最も厳しいジョブから順に取出しくステップC2)、
取出されたジョブに割当て可能なリソースを、複数のリ
ソースの中から順に取出されるリソースについて(ステ
ップC3)、その割当て制約条件等をチェックして求め
る(ステップc4. c5)。このチェックは、先の割
当て決定手続きと同様に割当ての制約条件をチェックし
たのち(ステップC4)、更にその動的条件をチェック
することによって行われる(ステップc5)。
That is, this processing procedure first investigates the ill convention for assignment of jobs and resources (step c).
i). Step C2), which sequentially extracts jobs with the strictest allocation constraints according to the results of this investigation;
Resources that can be allocated to the retrieved job are determined by checking the allocation constraints and the like for the resources that are sequentially retrieved from among the plurality of resources (step C3) (steps c4 and c5). This check is performed by checking the constraint conditions of the allocation (step C4) in the same way as in the previous allocation determination procedure, and then further checking the dynamic conditions (step c5).

そして割当て制約条件等を満すリソースの中から、その
制約条件が最も厳しいと考えられるリソースを上記ジョ
ブに割当て決定しくステップC6)、その割当て状況を
記憶しくステップC7)、以上の処理を全てのジョブに
対して繰返し実行することによって行われる。
Then, from among the resources that satisfy the allocation constraints, etc., the resource whose constraints are considered to be the most severe is allocated to the job (step C6), the allocation status is memorized (step C7), and all of the above processes are performed. This is done by repeatedly executing the job.

このような処理手続きによれば、先に例示した処理手続
きに比較して割当て決定手続きの行詰まりが生じること
も少なく、割当て決定の変更を行う頻度も低いと云う利
点がある。
This processing procedure has the advantage that, compared to the processing procedure exemplified above, the allocation determination procedure is less likely to stall, and the allocation determination is changed less frequently.

然し乍ら、このような処理手順にあっては、予め制約条
件の厳しさを調査しておく必要がある上、そのilll
条約の厳しさを判断しながらジョブの取出しを制御する
必要がある。これ故、計算機にとっての処理負荷が大き
くなることのみならず、その処理速度が低下することも
否めなかった。
However, in such a processing procedure, it is necessary to investigate the severity of the constraint conditions in advance, and
It is necessary to control job withdrawal while determining the severity of the treaty. Therefore, it is undeniable that not only the processing load on the computer increases, but also the processing speed decreases.

(発明が解決しようとする問題点) このように従来にあっては、複数のジョブと複数のリソ
ースとの割当てを決定するに際し、どのような方針に基
いて割当て決定手続きを行うかによって、その割当て決
定手続きに対するtdJ!ifが複雑化したり、また割
当て決定に対する変更手続きを多く必要としたり、更に
はその割当て決定手続きに多大な処理時間を要すると云
う問題があった。
(Problem to be Solved by the Invention) In this way, in the past, when determining the allocation between multiple jobs and multiple resources, the result depends on the policy based on the allocation determination procedure. tdJ for allocation decision procedure! There are problems in that the if is complicated, many procedures are required to change the allocation determination, and furthermore, the allocation determination procedure requires a large amount of processing time.

本発明はこのような事情を考慮してなされたもので、そ
の目的とするところは、複数のジョブと複数のリソース
との組合せの割当て決定に対する行詰まりの頻度を減ら
してその処理負担を軽減し、またその処理時間の短縮化
を図ることのできるv1当て決定支援方式を提供するこ
とにある。
The present invention has been made in consideration of these circumstances, and its purpose is to reduce the frequency of deadlocks in determining the allocation of combinations of multiple jobs and multiple resources, and to reduce the processing burden. Another object of the present invention is to provide a v1 guess determination support system that can shorten the processing time.

[発明の構成コ (問題点を解決するための手段) 本発明はジョブとリソースとの割当てを、上記ジョブと
リソースとに対する割当て制約条件に従ってそれぞれ決
定する際し、 複数の割当て決定アルゴリズムを準備しておき、υ1当
て決定の過程におけるを割当ての状況と前記ジョブおよ
びリソースの情報とを参照して上記割当て決定アルゴリ
ズムの中からどのアルゴリズムを用いて前記ジョブとリ
ソースとの割当て決定を進めるかを選択してなることを
特徴とするものである。
[Configuration of the Invention (Means for Solving Problems)] The present invention prepares a plurality of allocation determination algorithms when determining the allocation between jobs and resources according to the allocation constraint conditions for the jobs and resources. Then, in the process of determining the assignment of υ1, select which algorithm to proceed with determining the assignment of the job and the resource from among the aforementioned assignment determination algorithms by referring to the assignment status and the information of the job and the resource. It is characterized by:

つまり複数の割当て決定アルゴリズムの中から、その割
当て決定の過程における割当て決定の状況から、最も適
切であると考えられる割当て決定アルゴリズムを選択し
て、その割当て決定手続きを進めるようにしたものであ
る。
In other words, from among a plurality of allocation decision algorithms, an allocation decision algorithm considered to be the most appropriate is selected based on the allocation decision situation during the allocation decision process, and the allocation decision procedure is proceeded with.

(作用) 本発明によれば、複数のジョブとリソースとの間の割当
て決定の過程において、その割当て状況に応じて適切な
割当て決定アルゴリズムが選択され、その選択された割
当て決定アルゴリズムに従って割当て決定手続きが進め
られる。
(Operation) According to the present invention, in the process of determining the allocation between a plurality of jobs and resources, an appropriate allocation decision algorithm is selected according to the allocation situation, and the allocation decision procedure is performed according to the selected allocation decision algorithm. will proceed.

従って別当て決定手続きを進める過程において、その割
当て決定の状況が変化しても、その状況に応じたアルゴ
リズムを採用して割当て決定手続きを進めることが可能
となるので、割当て決定手続きの過程における行詰まり
の発生を少なくし、また割当て決定の変更を少なくする
ことができる。
Therefore, even if the status of the allocation decision changes during the process of proceeding with the allocation decision procedure, it is possible to proceed with the allocation decision procedure by adopting an algorithm that suits the situation. It is possible to reduce the occurrence of clogging and to reduce changes in allocation decisions.

また、例えば制約条件の厳しさに応じて割当て決定手続
きを進めるに際しても、そのときの状況に応じて制約条
件の厳しさを判断するだけで良いので、その処理が徒に
複雑化することがない。故に、割当て決定に対する処理
負担を大幅に軽減することができ、またその処理を効率
良く短時間に行うことが可能となる。
Furthermore, when proceeding with the allocation decision procedure depending on the severity of constraints, for example, it is only necessary to judge the severity of the constraints according to the situation at that time, so the process does not become unnecessarily complicated. . Therefore, the processing load for determining allocation can be significantly reduced, and the processing can be performed efficiently and in a short time.

(実施例) 以下、図面を参照して本発明の一実施例方式について説
明する。
(Embodiment) Hereinafter, one embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例方式を適用して構成される情
報処理システムの概略構成図である。割当て処理に供さ
れる複数のジョブ、およびこれに対する複数のリソース
情報はジョブ・データベース1、およびリソース・デー
タベース2にそれぞれ格納されている。
FIG. 1 is a schematic diagram of an information processing system constructed by applying an embodiment of the present invention. A plurality of jobs to be subjected to allocation processing and a plurality of resource information for the jobs are stored in a job database 1 and a resource database 2, respectively.

このジョブ・データベース1に登録される複数のジョブ
は、例えば第2図に示すようにjl・・・原付に乗務す
る必要のある業務j2・・・自動車に乗務する必要のあ
る業務j3・・・全く乗務の必要がない業務 j4・・・全く乗務の必要がない業務 j5・・・全く乗務の必要がない業務 j6・・・全く乗務の必要がない業務 等として与えられる。
The plurality of jobs registered in this job database 1 are, for example, as shown in FIG. Jobs that do not require any crew members j4... Jobs that do not require any crew members at all j5... Jobs that do not require any crew members at all j6... These are given as jobs that do not require any crew members at all.

これに対してリソース・データベース2に登録される複
数のリソース情報は、例えば第3図に示すように a・・・普通免許を保持している人 b・・・原付免許のみ保持している人 C・・・何も免許を保持していない人 d・・・何も免許を保持していない人 e・・・何も免許を保持していない人 f・・・何も免許を保持していない人 等として与えられる。
On the other hand, multiple pieces of resource information registered in the resource database 2 include, for example, as shown in Fig. 3, a...people who hold regular licenses, b...people who only hold moped licenses, etc. C... Person who holds no license d... Person who holds no license e... Person who holds no license f... Person who holds no license It is given as a person who is not.

これに対してジョブ制約条件調査部11に登録される制
約条件は、前記ジョブとリソースとが前述した第2図お
よび第3図に示す如く与えられる場合、例えば第4図に
示すように ■・・・ジョブj1に割当てる人は、普通免許もしくは
原付免許を保持していること。
On the other hand, when the job and resources are given as shown in FIGS. 2 and 3, the constraints registered in the job constraint condition investigation unit 11 are, for example, ...The person assigned to job j1 must hold a regular driver's license or a moped license.

■・・・ジョブj2に割当てる人は、普通免許を保持し
ていること。
■...The person assigned to job j2 must hold a regular driver's license.

等として与えられる。etc. given as

先頭ジョブ取出し部3は、後述する割当て状況判断・ア
ルゴリズム決定部10の制御を受けて上記ジョブ・デー
タベース1から、その先頭に登録されたジョブから順に
選択的に取出すものである。
The head job retrieval unit 3 selectively retrieves jobs from the job database 1 in order starting from the first registered job under the control of an allocation status judgment/algorithm determination unit 10 to be described later.

また最も制約条件のきついジョブの取出し部4は、前記
割当て状況判断・アルゴリズム決定部10の制御を受け
て上記ジョブ・データベース1から、その制約条件が最
もきついジョブから順に選択的に取出すものである。
The job retrieval unit 4 with the most restrictive conditions selectively retrieves jobs from the job database 1 under the control of the allocation status judgment/algorithm determination unit 10 in order from the job with the most restrictive conditions. .

これらのジョブ取出し部3.4は、どのジョブから順に
割当て決定を進めるかと云う割当て決定手続きのアルゴ
リズムに対応したものであり、割当て状況判断・アルゴ
リズム決定部10の制御を受けて選択的に駆動される。
These job retrieval units 3.4 correspond to the algorithm of the allocation determination procedure, which determines which job to proceed with allocation determination in order, and are selectively driven under the control of the allocation status judgment/algorithm determination unit 10. Ru.

しかしてリソース取出し部5は前記先頭ジョブ取出し部
J、または最も制約条件のきついジョブの取出し部4に
よって前記ジョブ・データベース1から成るジョブが取
出されたとき、このジョブに割当てるべきリソースを前
記リソース・データベース2から選択的に取出すもので
ある。そしてこのジョブの情報とリソースの情報とを割
当て決定用制約条件・動的条件−査部6に与え、それら
のジョブとリソースとの間の組合せが可能であるか否か
を、前述した如き制約条件等に従って調査している。そ
してその調査結果に従って、該ジョブに割当て可能なリ
ソースの候補を求め、これを割当て候補リソース記憶部
7に格納している。
Therefore, when a job consisting of the job database 1 is retrieved by the first job retrieval section J or the job retrieval section 4 with the most restrictive conditions, the resource retrieval section 5 selects the resources to be allocated to this job. This is selectively retrieved from the database 2. Then, this job information and resource information are given to the allocation decision constraint/dynamic condition inspection unit 6, and it is determined whether or not the combination of these jobs and resources is possible using the constraints as described above. The investigation is being conducted in accordance with the conditions, etc. Then, according to the investigation results, resource candidates that can be allocated to the job are determined and stored in the allocation candidate resource storage section 7.

割当て決定部8は、このようにして割当て候補リソース
記憶部7に格納されたリソース候補の中から、該ジョブ
に割当てるリソースを、その割当て決定方針に従って選
択決定するものである。この割当て決定部8にて別当て
決定された情報が、割当て状況記憶部9に、例えば第5
図に示すようにして順に格納される。
The allocation determining unit 8 selects and determines the resource to be allocated to the job from among the resource candidates stored in the allocation candidate resource storage unit 7 in accordance with the allocation determination policy. The information decided to be allocated separately by the allocation determining unit 8 is stored in the allocation status storage unit 9, for example, in the fifth
They are stored in order as shown in the figure.

前述した割当て状況判断・アルゴリズム決定部10は、
このようにして割当て状況記憶部9に格納された情報、
即ち既に割当て決定されたジョブとリソースとの組合せ
の情報に従い、また前記ジョブ・データベース1に残さ
れているジョブ(割当て未決定のジョブ)、および前記
リソース・データベース2に残されているリソース(割
当て未決定のリソース)を参照する等して、今後の割当
て決定手続きに適した割当て決定のアルゴリズムを選択
するものである。
The aforementioned allocation status judgment/algorithm determination unit 10
The information stored in the allocation status storage unit 9 in this way,
That is, according to the information on the combinations of jobs and resources for which allocation has already been determined, jobs remaining in the job database 1 (jobs for which allocation has not been determined) and resources remaining in the resource database 2 (jobs for which allocation has not been determined) are The allocation determination algorithm suitable for the future allocation determination procedure is selected by referring to the undetermined resources (undetermined resources).

またジョブ制約条件調査8Ii11は、この割当て状況
判断・アルゴリズム決定部10の制御を受けて起動され
、そのときに前記ジョブ・データベース1に残されてい
るジョブに対する割当て制約条件のきつさく厳しさ)を
調査し、その調査結果を該割当て状況判断・アルゴリズ
ム決定部10に応答するものとなっている。
Further, the job constraint condition investigation 8Ii11 is activated under the control of the allocation status judgment/algorithm determination unit 10, and at that time, the job constraint investigation 8Ii11 is started to check the severity of the allocation constraint conditions for the jobs remaining in the job database 1. The allocation status judgment/algorithm determination unit 10 is configured to carry out an investigation and respond with the investigation results to the allocation status judgment/algorithm determination unit 10.

しかして割当て状況判断・アルゴリズム決定部10はこ
のような調査結果に従って採用すべき割当て決定アルゴ
リズムを決定している。ここでは前述したように先頭の
ジョブから順に割当て決定手続きを進めると云うアルゴ
リズムと、最も制約条件のきついジョブから順に割当て
決定手続きを進めると云うアルゴリズムとが準備されて
いることから、その判断結果に従って前記先頭ジョブ取
出し部3、または最も制約条件のきついジョブの取出し
部4が選択的に起動されることになる。
The allocation status judgment/algorithm determination unit 10 determines the allocation determination algorithm to be adopted in accordance with such investigation results. As mentioned above, there are two algorithms in place: one that proceeds with the allocation decision procedure starting from the first job, and another that proceeds with the assignment decision procedure in order starting from the job with the most restrictive conditions. The first job retrieval unit 3 or the retrieval unit 4 for the job with the most restrictive conditions is selectively activated.

さて第6図はこのように構成された情報処理システムに
おける、ジョブとリソースとの割当て決定手続きの一例
を示ツ図である。
Now, FIG. 6 is a diagram showing an example of a procedure for determining assignment of jobs and resources in the information processing system configured as described above.

この処理手続きは、基本的にはt1当て決定丁続ぎの過
程において、その割当ての状況から制約条件が付加され
たジョブが存在する場合には、前述した第8図に示1割
当て決定アルゴリズムに従って処理手続きを進め、制約
条件が(4加されたジョブが存在しない場合には、前述
した第7図に示ず割当て決定アルゴリズムに従って処理
手続きを進めるようにしたものである。
This processing procedure is basically a continuation of the t1 assignment determination process, and if there is a job to which constraints have been added due to the assignment situation, processing is performed according to the 1 assignment determination algorithm shown in Figure 8 above. If the procedure is advanced and there is no job with the constraint condition (4 added), the processing procedure is proceeded according to the allocation determination algorithm not shown in FIG. 7 described above.

即ち、ここでは先ずジョブ・データベース1に格納され
【いるジョブの中で(割当て決定されていないジョブの
中で)、制約条件が1」加された乙のが存在するか否か
が調べられる(ステップal)。
That is, here, first, it is checked whether or not there is a job (jobs whose allocation has not been decided) that is stored in the job database 1 (jobs whose allocation has not been determined). Step al).

そしてその存在が不明な場合には、11η記ジョブ制約
条件調査部11を起動して、先ず上記各ジョブについて
制約条件が付加されているか否かそれぞれを調べる(ス
テップa2)。このような調査を経て、再度、ジョブ・
データベース1に格納されているジョブの中で、制約条
件が付加されたものが存在するか否かを調べる(ステッ
プa1)。
If the existence thereof is unknown, the job constraint condition investigation section 11 described in 11.eta. is activated to first investigate whether or not a constraint condition is added to each of the above jobs (step a2). After such an investigation, we decided to re-evaluate the job
It is checked whether or not there are any jobs to which constraint conditions have been added among the jobs stored in the database 1 (step a1).

しかして制約条件が付加されているジョブが存在する場
合には、前記最も制約条件のきついジョブの取出し部4
を起動し、前記ジョブ・データベース1から最も制約条
件の厳しいジョブを取出す(ステップa3)。
If there is a job to which a constraint condition is added, the extraction unit 4 for the job with the most severe constraint condition
is activated, and the job with the strictest constraint conditions is retrieved from the job database 1 (step a3).

そしてジョブ・データベース1から取出されたジョブに
対して舶配リソース・データベース2からリソースを順
に取出す(又テップa5)。このリソース・データベー
ス2からのリソースの取出しは、1つのジョブが与えら
れる都度、そのジョブに対してリソース・データベース
2に登録された複数のリソースをその先頭に登録された
ものから順に取出すことによって行われる。
Then, resources are sequentially extracted from the ship allocation resource database 2 for the job extracted from the job database 1 (also at step a5). This retrieval of resources from the resource database 2 is performed by retrieving multiple resources registered in the resource database 2 for that job in order, starting from the one registered at the beginning, each time one job is given. be exposed.

そして前記各データベース1.2からそれぞれ選択的に
取出されるジョブとリソースに対して、前記割当て決定
用制約条件・動的条件検査部6にてその組合せの$す約
条件と動的条件とをチェックしている(ステップa6)
。そしてその組合せが上記制約条件と動的条件とをそれ
ぞれ満している場合にはその、その情報を該ジョブに対
する割当て可能なリソースの候補として、第1図に示す
割当て候補リソース記憶部7に順に記憶している(ステ
ップa7)。
Then, for the jobs and resources selectively retrieved from each of the databases 1.2, the allocation determination constraint/dynamic condition checking unit 6 checks the combination of $ reduction conditions and dynamic conditions. Checked (step a6)
. If the combination satisfies the above-mentioned constraint conditions and dynamic conditions, the information is sequentially stored in the allocation candidate resource storage unit 7 shown in FIG. It is stored (step a7).

そして該ジョブに対して複数のリソースの全てについて
制約条件・動的条件の調査が終了すると、前記割当て候
補リソース記憶部7に格納された複数のリソース候補の
中から該ジョブに対して割当てるべきリソースが決定さ
れる(ステップa8)。
When the investigation of constraint conditions and dynamic conditions for all of the plurality of resources for the job is completed, the resources to be allocated to the job from among the plurality of resource candidates stored in the allocation candidate resource storage section 7 are is determined (step a8).

このリソースの決定は、その別当て方針に従って行えば
良いものである。
This resource can be determined according to the allocation policy.

しかる後、この割当て決定したリソースの情報を該ジョ
ブに対応させて前記割当て状況記憶部9に格納し、前記
各データベース1.2から割当て決定したジョブとリソ
ースとを除いて、次のジョブに対する割当て決定手続き
くステップa1からステップa9に至る処理手続き)を
同様に進める。
Thereafter, the information on the resource for which the allocation has been decided is stored in the allocation status storage unit 9 in correspondence with the job, and the information about the resource for which the allocation has been decided is removed from each database 1.2, and the allocation for the next job is made. The determination procedure (processing procedure from step a1 to step a9) is proceeded in the same manner.

しかしてこのようにして処理手続ぎが進められると、成
る時点でジョブ・データベース1に残されている未決定
ジョブがi!J約条件の付されていないものだけとなる
。但し、制約条件が付加されていないジョブも全く存在
しなくなることも有り得る。
However, as the processing procedure proceeds in this manner, the pending jobs remaining in the job database 1 at the time i! Only those that do not have J conditions attached. However, it is also possible that jobs to which no constraint conditions are attached do not exist at all.

しかしてこの場合には、前記先頭ジョブ取出し81I3
が起動され、ジョブ・データベース1に残されている未
決定ジョブ中の先頭のジョブが取出される(ステップa
4)。そしてこの先頭のジョブに対して前述したリソー
ス候補の抽出処理と、そのリソースの決定の連理(ステ
ップa5からステップa9に至る処理)が同様にして実
行される。
However, in this case, the first job extraction 81I3
is started, and the first job among the undetermined jobs remaining in job database 1 is retrieved (step a).
4). Then, the above-described resource candidate extraction process and the resource determination process (processing from step a5 to step a9) are similarly executed for this first job.

以上のようにしてジョブとリソースとに対する割当て決
定手続きが進められる本方式によれば、割当て決定が進
められる過程における割当て状況に応じてその割当て決
定のアルゴリズムが1!数のアルゴリズムの中から選択
的に用いられることになる。この実施例に示す例では、
制約条件を持つジョブから順にリソースの割当て決定手
続きが進められ、その後、制約条件のないジョブについ
てリソースの割当て決定手続きが進められることになる
。この結果、制約条件の厳しいジョブを優先してリソー
スの割当てを行うので、その割当て手続きの行詰まりが
生じる確率が非常に低くなる。
According to this method, in which the allocation decision procedure for jobs and resources is proceeded as described above, the algorithm for the allocation decision is 1! It will be used selectively from a number of algorithms. In the example shown in this example,
The resource allocation determination procedure is proceeded in the order of jobs having constraint conditions, and then the resource allocation determination procedure is proceeded for jobs without constraint conditions. As a result, resources are allocated with priority given to jobs with stricter constraints, so the probability that the allocation procedure stalls is extremely low.

そして割当て変更を行う必要も非常に少なくなる。Also, the need to change the allocation is greatly reduced.

故に割当て決定処理に要する処理時間の短縮化を図るこ
とが可能となる。
Therefore, it is possible to reduce the processing time required for the allocation determination process.

また−1約条件が付されたジョブがなくなった場合には
、単純にその先頭のジョブから順に割当て決定を行うの
で、ジョブの全てを制約条件を判定しながら割当て決定
処理する場合に比較して、その処理手続きを簡略化する
ことができ、その処理負担を軽減することが可能となる
In addition, if there are no more jobs with -1 constraints attached, the allocation is simply determined in order starting from the first job, so compared to the case where the allocation is determined while determining the constraint conditions for all jobs. , the processing procedure can be simplified and the processing burden can be reduced.

即ち、従来にあっては成る割当て決定の問題に対して、
予めどのような処理アルゴリズムを採用するかを指定す
る必要があった。しかし本方式によれば予め採用すべき
アルゴリズムを格別に指定しなくても、割当て決定に供
されるジョブの性質等に従って複数のアルゴリズムの中
から、最も適切であると判定されるアルゴリズムが選択
されてその割当て決定処理が進められることになる。ま
たその割当ての状況が判定されているので、割当て決定
を進めている過程において、そのときに用いているアル
ゴリズムが不適当になれば、その時の状況に応じてアル
ゴリズムの変更が自動的に行われることになる。
In other words, for the conventional allocation decision problem,
It was necessary to specify in advance what kind of processing algorithm to use. However, according to this method, the algorithm that is determined to be the most appropriate is selected from among multiple algorithms according to the nature of the job to be used for allocation determination, without specifying the algorithm to be adopted in advance. Then, the allocation determination process will proceed. In addition, since the status of the allocation is determined, if the algorithm being used at that time becomes inappropriate during the process of determining the allocation, the algorithm will be automatically changed according to the situation at that time. It turns out.

従って割当て決定すべきジョブの性質に応じて適切な割
当てアルゴリズムを採用しながら、その割当て決定処理
を効率良く進めることが可能となる。またこのようにし
て割当て決定のアルゴリズムを、その状況に応じて選択
するので、割当て決定の行詰まりの発生を抑え、その処
理効率の大幅な向上を図り得る等の効果が奏せられる。
Therefore, it is possible to efficiently proceed with the assignment determination process while employing an appropriate assignment algorithm according to the nature of the job to which the assignment is to be determined. In addition, since the algorithm for allocation determination is selected in accordance with the situation in this manner, the occurrence of deadlocks in allocation determination can be suppressed, and the processing efficiency can be significantly improved.

尚、本発明は上述した実施例に限定されるものではない
、rP4えばシステムに準備しておく割当て決定のアル
ゴリズムの種類とその数は、割当て決定システムの仕様
に応じて定めれば良いものである。またここではジョブ
に対するリソースの割当てを例に説明したが、その割当
て決定のアルゴリズムとして、特定されたリソースに対
するジョブを割当て決定することも勿論可能である。更
にこのジョブを基準とした割当て決定とリソースを基準
とした割当て決定とを、その割当で状況に応じて切替え
制即することも勿論可能である。
Note that the present invention is not limited to the above-described embodiments; for example, the types and number of allocation determination algorithms prepared in the rP4 system may be determined according to the specifications of the allocation determination system. be. Further, although the explanation has been given here using an example of resource allocation to jobs, it is of course possible to allocate and determine jobs to specified resources as an algorithm for determining the allocation. Furthermore, it is of course possible to switch between the job-based allocation decision and the resource-based allocation decision depending on the situation.

また更には割当て決定のアルゴリズムの選択基準もその
割当ての方針等に応じて種々変形可能である。更には最
初の時点では任意のアルゴリズムに従って割当て決定手
続きを進め、成る程度の手続きが進められた時点でその
割当て状況を見直して、そのアルゴリズムの変更を行う
ようにしても良い。以上要するに本発明はその要旨を逸
脱しない範囲で種々変形して実施することができる。
Furthermore, the selection criteria for the allocation determination algorithm can be modified in various ways depending on the allocation policy. Furthermore, the allocation determination procedure may be carried out according to an arbitrary algorithm at the beginning, and when the procedure has been completed to a certain extent, the allocation status may be reviewed and the algorithm may be changed. In summary, the present invention can be implemented with various modifications without departing from the gist thereof.

[発明の効果コ 以上説明したように本発明によれば、割当て決定手続き
用の複数のアルゴリズムが準備されており、その割当て
決定の状況に応じて適切な割当て決定のアルゴリズムが
選択されて割当て決定手続きが進められるので、大量の
ジョブとリソースとに対しても非常に効率良く、また割
当て手続きの行詰まりを殆んど招来することなしに、つ
まり割当て決定の変更を殆んど行うことなしにその割当
て決定を行うことが可能となる等の実用上多大なる効果
を奏する。
[Effects of the Invention] As explained above, according to the present invention, a plurality of algorithms for the allocation decision procedure are prepared, and an appropriate allocation decision algorithm is selected according to the situation of the allocation decision, and the allocation is determined. The process is very efficient, even for large numbers of jobs and resources, and with little to no gridlock in the allocation process, i.e., few changes to allocation decisions. This has great practical effects, such as making it possible to determine the allocation.

第1図は本発明の一実施例方式を適用して構成される情
報処理システムの概略構成図、第2図はジョブの一例を
示す図、第3図はリソースの一例を示す図、第4図は制
約条件の一例を示す図、第5図はジョブに対するリソー
スの割当て結果の一例を示す図、第6図は実施例方式に
おける割当て決定処理手続きを示す図、第7図および第
8図はそれぞれ従来の一般的な割当て決定処理手続きを
示す図である。
FIG. 1 is a schematic configuration diagram of an information processing system configured by applying an embodiment of the present invention, FIG. 2 is a diagram showing an example of a job, FIG. 3 is a diagram showing an example of resources, and FIG. 4 is a diagram showing an example of a resource. The figure shows an example of constraint conditions, Figure 5 shows an example of the result of resource allocation to a job, Figure 6 shows the allocation decision processing procedure in the embodiment method, and Figures 7 and 8 FIG. 3 is a diagram showing a conventional general allocation determination processing procedure.

1・・・ジョブ・データベース、2・・・リソース・デ
ータベース、3・・・先頭ジョブ取出し部、4・・・最
も制約条件のきついジョブの取出し部、5・・・リソー
ス取出し部、6・・・割当て決定用制約条件・動的条件
検査部、7・・・割当て候補リソース記憶部、8・・・
割当て決定部、9・・・割当て状況記憶部、10・・・
割当て状況判断・アルゴリズム決定部、11・・・ジョ
ブ制約条件調査部。
DESCRIPTION OF SYMBOLS 1...Job database, 2...Resource database, 3...First job retrieval section, 4...Job retrieval section with the most restrictive conditions, 5...Resource retrieval section, 6..・Allocation determination constraint/dynamic condition inspection unit, 7... Allocation candidate resource storage unit, 8...
Allocation determination unit, 9... Allocation status storage unit, 10...
Allocation status judgment/algorithm determination unit, 11...Job constraint condition investigation unit.

出願人代理人 弁理士 鈴江武彦 第1図Applicant's agent: Patent attorney Takehiko Suzue Figure 1

Claims (3)

【特許請求の範囲】[Claims] (1)ジョブとリソースとの割当てを、上記ジョブとリ
ソースとに対する割当て制約条件に従ってそれぞれ決定
する際し、 割当て決定の過程におけるを割当ての状況と前記ジョブ
およびリソースの情報とを参照し、複数の割当て決定ア
ルゴリズムの中から前記ジョブとリソースとの割当て決
定に用いる割当て決定アルゴリズムを選択してなること
を特徴とする割当て決定支援方式。
(1) When determining the allocation of jobs and resources according to the allocation constraint conditions for the jobs and resources described above, refer to the allocation status and the information on the jobs and resources in the process of allocation determination, and An allocation decision support system characterized in that an allocation decision algorithm to be used for deciding the assignment between the job and the resource is selected from among assignment decision algorithms.
(2)割当て決定アルゴリズムは、割当て決定の過程に
おいてその都度選択されるものである特許請求の範囲第
1項記載の割当て決定支援方式。
(2) The allocation determination support system according to claim 1, wherein the allocation determination algorithm is selected each time in the allocation determination process.
(3)割当て決定アルゴリズムは、割当て決定の過程に
おけるを割当ての状況とジョブおよびリソースの情報の
全部、または一部を参照して選択決定されるものである
特許請求の範囲第1項記載の割当て決定支援方式。
(3) The allocation determination algorithm is one that is selectively determined by referring to all or part of the allocation status and job and resource information in the allocation determination process. Decision support method.
JP61308638A 1986-12-26 1986-12-26 Deciding and supporting system for assignment Pending JPS63163671A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61308638A JPS63163671A (en) 1986-12-26 1986-12-26 Deciding and supporting system for assignment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61308638A JPS63163671A (en) 1986-12-26 1986-12-26 Deciding and supporting system for assignment

Publications (1)

Publication Number Publication Date
JPS63163671A true JPS63163671A (en) 1988-07-07

Family

ID=17983462

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61308638A Pending JPS63163671A (en) 1986-12-26 1986-12-26 Deciding and supporting system for assignment

Country Status (1)

Country Link
JP (1) JPS63163671A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348684A (en) * 1993-06-08 1994-12-22 Matsushita Electric Ind Co Ltd Combination optimizing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06348684A (en) * 1993-06-08 1994-12-22 Matsushita Electric Ind Co Ltd Combination optimizing device

Similar Documents

Publication Publication Date Title
JPH0644235B2 (en) How to operate a computer system
CN110471774A (en) A kind of data processing method and device based on unified task schedule
JPS63163671A (en) Deciding and supporting system for assignment
US9864771B2 (en) Method and server for synchronizing a plurality of clients accessing a database
JPS63163667A (en) Deciding and supporting system for assignment
JPS63163668A (en) Deciding and supporting system for assignment
CN107193650B (en) Method and device for scheduling display card resources in distributed cluster
JPH08314751A (en) Fault countermeasure supporting method
JPS63214874A (en) System for assignment decision aid
JP2005182685A (en) Production planning method and program
JPS63163669A (en) Deciding system for assignment
JP2957711B2 (en) Scheduling method
EP1072993A2 (en) Method of processing the preceding work for workflow system
JPH0581288A (en) Schedule forming system
JPH03116334A (en) Task dispatch system
CN110795218B (en) Task scheduling system and method based on unitization
JP2731079B2 (en) Schedule creation device
JPH06243011A (en) Automatic maintenance system for data base
JPH05113979A (en) Allocating device
JPH01263835A (en) Display device for allocation state
JPS63228262A (en) Allocation decision support system
JP2901786B2 (en) Schedule creation device
JPH03235130A (en) Exclusive priority control system
JPS63163959A (en) Resource assigning system
Thevenin et al. Tabu search for a preemptive scheduling problem with job incompatibilities