JPH0535701A - Processing system - Google Patents

Processing system

Info

Publication number
JPH0535701A
JPH0535701A JP18755891A JP18755891A JPH0535701A JP H0535701 A JPH0535701 A JP H0535701A JP 18755891 A JP18755891 A JP 18755891A JP 18755891 A JP18755891 A JP 18755891A JP H0535701 A JPH0535701 A JP H0535701A
Authority
JP
Japan
Prior art keywords
processing
request
waiting time
scheduled
devices
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
JP18755891A
Other languages
Japanese (ja)
Inventor
Hiromi Ishizuka
博巳 石塚
Shuichi Sato
修一 佐藤
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 JP18755891A priority Critical patent/JPH0535701A/en
Publication of JPH0535701A publication Critical patent/JPH0535701A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Control By Computers (AREA)

Abstract

PURPOSE:To attain the effective use of a processor by comparing the processing waiting time with the scheduled processing waiting time of the processors of its own system and another system respectively and then selecting and controlling a system of the shortest waiting time. CONSTITUTION:The processing request RQ of a processing request device 11 is given to three controllers 21-25 respectively, and the idle one of these controllers that has the highest priority receives the request RQ. If the controller 21, for example, receives the request RQ, the controller 21 checks the scheduled processing waiting time of a processor 41. If this waiting time longer than the allowable processing waiting time of the request RQ, the controller 21 checks the scheduled processing waiting time of other controllers 42 and 43 respectively to search the shortest waiting time. If the processor 43, for example, has the shortest waiting time, the controller 21 stores temporarily the request RQ in a processing request storing device 33. When the present processing is complete, the processor 43 reads the request RQ out of its own corresponding device 33 and processes the request RQ.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は複数の処理要求装置と、
これらの処理要求装置から逐次送出される処理要求に従
い、処理を行う複数の処理装置とからなる処理システム
において、処理要求装置から送出される処理要求を効率
的に処理できるよう割り当て制御の改善を図った処理シ
ステムに関する。
BACKGROUND OF THE INVENTION The present invention includes a plurality of processing requesting devices,
In a processing system including a plurality of processing devices that perform processing according to the processing requests sequentially output from these processing requesting devices, the allocation control is improved so that the processing requests output from the processing requesting device can be efficiently processed. Related processing system.

【0002】[0002]

【従来の技術】処理要求を発生する1台乃至複数台の処
理要求装置と、これらの処理要求装置からの処理要求に
対して必要な処理を実施する1台の処理装置よりなるシ
ステムを考えてみる。
2. Description of the Related Art Consider a system comprising one or a plurality of processing requesting apparatuses that generate processing requests and one processing apparatus that performs necessary processing in response to processing requests from these processing requesting apparatuses. View.

【0003】このようなシステムにおいて、処理要求装
置が複数ある場合、ある処理要求装置の発生した処理要
求に対しての処理を処理装置が実施しているときに、他
の処理要求装置が処理要求を発生したとすると、処理装
置に受け付けられないので、処理装置が受け付けてくれ
るまで処理要求を発生し続ける必要が生じる。そして、
処理要求が受け付けられるまで、その処理要求を発生し
た処理要求装置は次の処理要求を発生できなくなる。そ
こで、処理装置および処理要求装置の使用効率向上のた
め、処理要求情報を一時的に蓄える処理要求蓄積装置が
使用されている。
In such a system, when there are a plurality of processing requesting devices, when a processing device is executing a process for a processing request generated by a certain processing requesting device, another processing requesting device requests processing. Occurs, it cannot be accepted by the processing device, so it is necessary to continue to issue processing requests until the processing device accepts. And
Until the processing request is accepted, the processing request device that has generated the processing request cannot generate the next processing request. Therefore, in order to improve the use efficiency of the processing device and the processing request device, a processing request storage device that temporarily stores the processing request information is used.

【0004】すなわち、処理要求情報は処理要求蓄積装
置に蓄積してゆき、処理装置はこの処理要求蓄積装置か
ら処理要求情報を順に取り出して処理を実施すること
で、処理要求装置からはいつでも処理要求を発生できる
ようにすると云うものである。
That is, the processing request information is accumulated in the processing request accumulating apparatus, and the processing apparatus takes out the processing request information from the processing request accumulating apparatus in order and executes the processing. Is to be generated.

【0005】ここで1台乃至複数台の処理要求装置1‐
1〜1‐6と、これらの処理要求装置1‐1〜1‐6か
らの処理要求に対して必要な処理を実施する1台の処理
装置よりなるシステムを考えてみる。
Here, one or a plurality of processing requesting devices 1-
Consider a system including 1-1 to 1-6 and one processing device that performs necessary processing in response to processing requests from these processing requesting devices 1-1 to 1-6.

【0006】このような処理システムとしては図3の
(a)〜(c)のように、複数台の処理要求装置1‐
1,〜1‐6をグループ分けし、それぞれのグループに
それぞれ1台ずつ、処理要求蓄積装置3‐1〜3‐3と
処理装置4‐1〜4‐3を設けるものを考えてみる。
As such a processing system, as shown in FIGS. 3A to 3C, a plurality of processing requesting devices 1-
Consider a case where 1 to 1-6 are divided into groups, and one processing request storage device 3-1 to 3-3 and one processing device 4-1 to 4-3 are provided in each group.

【0007】これらのうち、(b)のケースは処理要求
装置1‐4が1台のみであるので、この系統に対応する
処理要求蓄積装置3‐2には処理要求装置1‐4が発生
する処理要求を順に蓄積させてゆけば良い。
Of these, in the case of (b), since there is only one processing request device 1-4, the processing request storage device 3-2 corresponding to this system has the processing request device 1-4. It suffices to accumulate processing requests in order.

【0008】しかし、(a)および(c)のようなケー
スは複数台の処理要求装置1‐1,〜1‐3,1‐5,
1‐6に対してそれぞれ1台ずつ処理要求蓄積装置3‐
1,3‐3を使用している。この場合も、複数台の処理
要求装置からの発生処理要求は自系統の処理要求蓄積装
置に順次蓄積すれば良い。
However, in cases such as (a) and (c), a plurality of processing requesting devices 1-1 to 1-3, 1-5 and 1-5 are provided.
Processing request storage device 1 for each of 1-6
I am using 1,3-3. Also in this case, the generated processing requests from the plurality of processing request devices may be sequentially stored in the processing request storage device of the own system.

【0009】一方、図4のように複数台の処理要求装置
1‐1,〜1‐6に対して、複数の処理装置4‐1,〜
4‐4があり、且つ、処理装置の数が処理要求装置の数
より少ない構成としてあり、処理要求装置から送出され
る処理要求を処理できる処理装置を処理要求装置が探
し、見付かったならばその処理装置の系統の処理蓄積装
置に割り当てて処理させる方式もある。
On the other hand, as shown in FIG. 4, a plurality of processing requesting apparatuses 1-1, 1-6, and a plurality of processing apparatuses 4-1.
4-4, and the number of processing devices is smaller than the number of processing requesting devices, the processing requesting device searches for a processing device capable of processing the processing request sent from the processing requesting device, and if found, finds it. There is also a method of allocating to a processing storage device of the processing system and processing.

【0010】[0010]

【発明が解決しようとする課題】複数の処理要求装置と
複数の処理装置があり、且つ、処理装置の数が処理要求
装置の数より少ない場合、複数の処理要求に対する処理
装置の処理制御方式として、従来図3の方式と図4の方
式がある。
When there are a plurality of processing requesting devices and a plurality of processing devices, and the number of processing devices is less than the number of processing requesting devices, a processing control method of the processing devices for a plurality of processing requests is provided. Conventionally, there are the method of FIG. 3 and the method of FIG.

【0011】上述の図3の方式は「各処理装置が複数の
処理要求装置を持ち、それらの処理要求装置から送出さ
れる処理要求は決められた処理装置が処理する方式」で
あり、図4の方式は「処理要求装置から送出される処理
要求を処理できる処理装置を処理要求装置が探し、見付
かったならばその処理装置が処理する方式」である。こ
れらのうち、図3の方式では、幾つかの処理要求装置と
処理装置が1つのグループをなして独立したシステムと
なっている。
The above-described system of FIG. 3 is a "system in which each processing device has a plurality of processing requesting devices, and processing requests sent from these processing requesting devices are processed by a predetermined processing device". Is a method in which the processing requesting apparatus searches for a processing apparatus capable of processing the processing request sent from the processing requesting apparatus, and if found, the processing apparatus processes it. Among these, in the method of FIG. 3, several processing request devices and processing devices form one group and are independent systems.

【0012】そのため、これらの各グループではそれぞ
れ処理要求装置が出す処理要求量が時間によって違い、
各処理装置によって処理待ち時間に差が生まれる。この
ことはある処理装置には多くの処理要求が溜まり、スル
ープットが低下し、ある処理装置は処理要求が散発的に
しか生ぜず、処理に余裕があることになり、システムの
稼働率が不均一で効率をみると無駄が多い。
Therefore, in each of these groups, the processing request amount issued by the processing requesting device differs depending on time,
There is a difference in processing waiting time depending on each processing device. This means that a large number of processing requests are accumulated in a certain processing device, throughput is reduced, and in a certain processing device, processing requests are sporadically generated, and there is room for processing, resulting in uneven system operation rates. There is a lot of waste in terms of efficiency.

【0013】このように、図3の方式は処理装置に対し
て、均等に処理が分配されないため、処理装置の効率的
な利用が妨げられ、装置全体のスループットを十分に上
げることができない。
As described above, in the method of FIG. 3, since the processing is not evenly distributed to the processing devices, the efficient use of the processing devices is hindered and the throughput of the entire device cannot be sufficiently increased.

【0014】また、図4の方式では処理要求装置から送
出される処理要求を処理できる処理装置を処理要求装置
が探し、見付かったならばその処理装置が処理すると云
ったことを行わねばならないから、このようなシステム
の実現のためには、処理要求できる処理装置を検索しな
ければならず、処理の分配のために時間がかかる。
Further, in the system of FIG. 4, the processing requesting apparatus must search for a processing apparatus capable of processing the processing request sent from the processing requesting apparatus, and if found, the processing apparatus must perform the processing. In order to realize such a system, it is necessary to search for a processing device that can request processing, and it takes time to distribute processing.

【0015】そして、検索量の無駄を省くためには、処
理する条件を設定し、条件を満たす処理装置が見付かれ
ば検索を打ち切ることによって検索量を減らせるように
なるが、処理要求装置が多い場合や複数の処理要求が同
時発生した場合、処理要求装置と処理時間の通信量が多
くなり、通信のための待ち時間が発生し、処理に時間が
かかる。このように従来の方式では、処理装置の効率的
利用が成されないと云う問題があった。そこで、この発
明の目的とするところは、処理装置の効率的利用が図れ
るようにした処理システムを提供することにある。
In order to reduce the waste of the search amount, it is possible to reduce the search amount by setting a processing condition and aborting the search if a processing device satisfying the condition is found. When there is a large number of requests or when a plurality of processing requests occur at the same time, the amount of communication between the processing requesting device and the processing time increases, waiting time for communication occurs, and processing takes time. As described above, the conventional method has a problem that the processing device cannot be efficiently used. Therefore, it is an object of the present invention to provide a processing system capable of efficiently using the processing device.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するた
め、本発明は次のように構成する。すなわち、処理要求
を処理待ち許容時間の情報と共に発生する複数の処理要
求装置と、処理要求を受けて処理を実施する複数の処理
装置と、これら各処理装置毎にそれぞれ対応して設けら
れ、入力される処理要求を順に蓄積して自己の対応する
処理装置にこの蓄積した処理要求を与えるための蓄積装
置と、各蓄積装置毎にそれぞれ対応して設けられ、処理
要求装置からの処理要求を受けると、自己の系統の処理
装置での予定処理待ち時間を自己対応の蓄積装置での蓄
積情報から得、この予定処理待ち時間と前記受けた処理
要求に付加された処理待ち許容時間とを比較して、予定
処理待ち時間が処理待ち許容時間より短い時は自系統の
蓄積装置にこの処理要求を蓄積させ、長いときは他の系
統の処理装置での予定処理待ち時間をそれぞれの蓄積装
置での蓄積情報から得、各系統での予定処理待ち時間を
比較して最も短くなる系統を選択してその系統の蓄積装
置にこの処理要求を蓄積させるべく制御する制御装置と
より構成する。
In order to achieve the above object, the present invention is configured as follows. That is, a plurality of processing request devices that generate a processing request together with information on the allowable processing waiting time, a plurality of processing devices that perform processing in response to a processing request, and a plurality of processing devices that are provided corresponding to each of the processing devices Storage requests for sequentially accumulating the processing requests and providing the accumulated processing requests to the corresponding processing devices, and the processing requests are provided from the processing requesting device. Then, the scheduled processing wait time in the processing device of its own system is obtained from the accumulated information in the self-supporting storage device, and this scheduled processing wait time is compared with the allowable processing wait time added to the received processing request. When the scheduled processing wait time is shorter than the allowable processing wait time, this processing request is stored in the storage device of the own system, and when it is long, the scheduled processing wait time of the processing device of another system is stored. Obtained from the accumulation information in location, more configuration and control device for controlling so as to accumulate the processing request to the storage device of the system by selecting the shortest line by comparing the scheduled processing waiting time at each line.

【0017】[0017]

【作用】上記の構成において、複数の処理要求装置は逐
次、処理要求を処理待ち許容時間の情報と共に発生する
が、制御装置は処理要求装置からの処理要求を受ける
と、自己の系統の処理装置での予定処理待ち時間を自己
対応の蓄積装置での蓄積情報から得、この予定処理待ち
時間と前記受けた処理要求に付加された処理待ち許容時
間とを比較して、予定処理待ち時間が処理待ち許容時間
より短い時は自系統の蓄積装置にこの処理要求を蓄積さ
せ、長いときは他の系統の処理装置での予定処理待ち時
間をそれぞれの蓄積装置での蓄積情報から得、各系統で
の予定処理待ち時間を比較して最も短くなる系統を選択
してその系統の蓄積装置にこの処理要求を蓄積させるべ
く制御する。そして、これにより、発生処理要求は複数
系統ある処理装置のうち、負荷の状況から見て適正とな
る系統の蓄積装置に蓄積され、その系統の処理装置によ
り処理される。
In the above structure, the plurality of processing requesting devices sequentially generate processing requests together with the information of the allowable processing waiting time, but when the processing device receives a processing request from the processing requesting device, the processing device of its own system. The scheduled processing wait time is obtained from the stored information in the self-supporting storage device, and this scheduled processing wait time is compared with the allowable processing wait time added to the received processing request, and the scheduled processing wait time is processed. If it is shorter than the allowable waiting time, this processing request is stored in the storage device of its own system, and if it is long, the scheduled processing wait time in the processing device of the other system is obtained from the storage information in each storage device, and it is obtained in each system. The scheduled processing waiting time is compared to select the shortest system, and control is performed to store the processing request in the storage device of the system. As a result, the generated processing request is accumulated in the accumulating device of the system that is appropriate from the viewpoint of the load among the processing devices having a plurality of systems, and is processed by the processing device of that system.

【0018】このように複数の処理要求装置とこれら各
処理要求装置から送出される処理要求に従い、処理を行
う複数の処理装置および各処理要求装置から送出される
処理要求を一時的に蓄える各処理装置毎に設けた処理要
求蓄積装置とによって構成されると共に、処理装置の数
が処理要求装置の数より少ない構成の処理システムにお
いて、各処理要求に処理待ち許容時間等の処理条件を付
加し、各処理装置毎に発生処理要求の割り当てをする制
御装置を設け、処理要求を受け付けた制御装置が各処理
装置の負荷状況を問い合わせ、受け付けた処理要求の処
理条件と負荷状況を比較し、処理条件を満たす処理装置
があったなら、その処理装置に処理要求を処理させ、無
い場合は最も負荷の軽い処理装置に処理させるように割
り当てるようにしたものであるから、発生した処理要求
をその処理要求の求める処理条件に最も近い条件となる
処理装置に割り当てて処理させることができることか
ら、処理装置の効率的利用を図ることができる等、この
発明によれば、処理装置の効率的利用が図れるようにし
た処理システムを提供することができる。
In this way, according to the plurality of processing requesting devices and the processing requests sent from the respective processing requesting devices, the plurality of processing devices that perform the processing and the respective processes that temporarily store the processing requests sent from the respective processing requesting devices. In a processing system having a processing request accumulating device provided for each device and having a number of processing devices less than the number of processing requesting devices, processing conditions such as an allowable processing waiting time are added to each processing request, A control device that allocates the generated processing request to each processing device is provided, and the control device that receives the processing request inquires about the load status of each processing device, compares the processing condition of the received processing request with the load status, and processes the processing condition. If there is a processing device that satisfies the above conditions, assign that processing device to process the processing request, and if not, allocate it to the processing device with the lightest load. Therefore, since the generated processing request can be assigned to the processing device having the condition closest to the processing condition required by the processing request for processing, it is possible to efficiently use the processing device. According to this, it is possible to provide a processing system in which the processing device can be efficiently used.

【0019】[0019]

【実施例】以下、本発明の一実施例について、図面を参
照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings.

【0020】図1は本発明の一実施例を示すブロック図
である。図1において、RQは処理要求であり、処理要
求装置から送出される。また、11〜16はそれぞれ処
理要求RQを発生する処理要求装置であり、それぞれ発
生する処理要求RQに対し、その処理要求RQの許容し
得る処理の待ち時間を示す情報である処理待ち許容時間
Taの情報を付加して送出する機能を有する。21〜2
3はそれぞれ制御装置であり、31〜33はそれぞれ処
理要求蓄積装置であり、また、41〜43はそれぞれ処
理装置である。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, RQ is a processing request, which is sent from the processing request device. Further, 11 to 16 are process request devices that generate process requests RQ, respectively, and for each process request RQ that is generated, a process wait permissible time Ta that is information indicating the waiting time of the process that the process request RQ can tolerate. It has a function of adding and sending the information of. 21-2
Reference numeral 3 is a control device, 31-33 are processing request storage devices, and 41-43 are processing devices.

【0021】制御装置21〜23は処理要求装置11〜
16から送出された処理要求RQを受け取り、また、3
1〜33のうち、自己の対応する系統の処理要求蓄積装
置に蓄積されている処理要求の数と内容から決まる予定
処理待ち時間Tbに関係する情報を受け、この情報に基
づく予定処理待ち時間Tbに対し、この受け取った処理
要求RQに付加された上記処理待ち許容時間Taの方が
大きいかを調べ、予定処理待ち時間Tbが小さい場合は
自己の対応する系統に処理を行わせるべく、自己の対応
する系統の処理要求蓄積装置にこの処理要求を蓄積さ
せ、また、前記調べた結果、予定処理待ち時間Tbの方
が大きい場合は、他の系統の処理要求蓄積装置に蓄積さ
れている処理要求の数と内容から決まる予定処理待ち時
間Tbに関係する情報を受け、この情報に基づく予定処
理待ち時間Tbを調べ、自己の系統を含め、すべての系
統の中で予定処理待ち時間Tbが最小となる処理装置を
探し、それに対応する処理要求蓄積装置に処理要求RQ
を送る機能を有する。
The control units 21 to 23 are processing requesting units 11 to 11.
16 receives the processing request RQ sent from
Among the items 1 to 33, information related to the scheduled processing waiting time Tb determined by the number and contents of the processing requests stored in the processing request storage device of the corresponding system is received, and the scheduled processing waiting time Tb based on this information is received. On the other hand, it is checked whether or not the above-described processing waiting permissible time Ta added to the received processing request RQ is longer, and if the scheduled processing waiting time Tb is short, the self-corresponding system is made to perform processing. This processing request is accumulated in the processing request accumulating device of the corresponding system, and, as a result of the examination, if the scheduled processing waiting time Tb is longer, the processing request accumulating device of another system is accumulated. Received the information related to the scheduled processing waiting time Tb determined by the number and contents of the scheduled processing waiting time Tb based on this information and checking the scheduled processing waiting time Tb in all the systems including the own system. Locate the processor time Tb is minimized, the processing request storing device processing request RQ corresponding thereto
Have the function of sending.

【0022】尚、各処理要求蓄積装置31〜33に蓄積
されている処理要求の数と内容はその処理要求蓄積装置
31〜33から読み出せばわかるものであり、処理要求
の内容により処理装置での処理時間はシステムによって
ほぼ一義的には決まるものであるから、処理要求の内容
と蓄積数から制御装置で演算してそれぞれの予定処理待
ち時間を算出すれば各系統の予定処理待ち時間Tbの情
報を得ることができる。上記処理要求蓄積装置31〜3
3は制御装置21〜23から送られて処理要求を順に一
時的に蓄えるものである。
The number and contents of the processing requests accumulated in the processing request accumulating devices 31 to 33 can be known by reading them from the processing request accumulating devices 31 to 33. Since the processing time of each is almost uniquely determined by the system, the scheduled processing waiting time Tb of each system can be calculated by calculating the scheduled processing waiting time of each system from the content of the processing request and the accumulated number by the control device. You can get information. The processing request storage devices 31 to 3
Reference numeral 3 indicates a temporary storage of processing requests sent from the control devices 21 to 23 in order.

【0023】また、上記処理装置41〜43はそれぞれ
各処理要求蓄積装置31〜33に対応して設けられてお
り、それぞれ自己対応の処理要求蓄積装置31〜33に
蓄積されている処理要求を順に取り出してその要求内容
に対応した処理を実施するものである。また、各処理要
求蓄積装置31〜33は蓄積された処理要求のうち、処
理装置によって要求が受け付けられた処理要求は消去す
る機能を有する。
Further, the processing devices 41 to 43 are provided corresponding to the respective processing request accumulating devices 31 to 33, and the processing requests accumulated in the self corresponding processing request accumulating devices 31 to 33 are sequentially arranged. It is taken out and the processing corresponding to the requested content is executed. Further, each of the processing request accumulating devices 31 to 33 has a function of erasing the processing request received by the processing device among the accumulated processing requests.

【0024】このような構成において、今、例えば、処
理要求装置11から処理要求RQが発生されたとする。
この処理要求RQは3台の制御装置21〜23にそれぞ
れ与えられることになるが、3台の制御装置21〜23
は優先順位が与えられており、優先度が高いものがこの
処理要求RQを受け取る。優先順位が高位の制御装置が
他の処理で塞がっていればその次の順位のものがこの処
理要求RQを受け取ると云ったかたちで、空いている制
御装置のうちの、高順位のものがこの処理要求RQを受
け取る。
In such a configuration, it is assumed that the processing request RQ is now issued from the processing request device 11, for example.
This processing request RQ is given to the three control devices 21 to 23, respectively, but the three control devices 21 to 23 are given.
Are given priorities, and the one with the higher priority receives this processing request RQ. If the control device with the higher priority is blocked by another process, the one with the next priority receives this processing request RQ. Receive the processing request RQ.

【0025】ここで空いている制御装置のうちの最も高
順位のものが制御装置21であったとすると、この処理
要求RQを受け取った制御装置21は処理要求蓄積装置
31から得られる処理装置41の予定処理待ち時間Tb
を調べ、この予定処理待ち時間Tbと処理要求RQの処
理待ち許容時間Taとを較べ、その結果、処理要求RQ
の処理待ち許容時間Taより処理装置41の予定処理待
ち時間Tbの方が小さければ、処理要求蓄積装置31に
この処理要求RQを一時蓄積する。
If the highest-ranking control device among the control devices available is the control device 21, the control device 21 that has received this processing request RQ is the processing device 41 obtained from the processing request storage device 31. Scheduled processing waiting time Tb
And compares the scheduled processing waiting time Tb with the processing waiting allowable time Ta of the processing request RQ. As a result, the processing request RQ is obtained.
If the scheduled processing waiting time Tb of the processing device 41 is shorter than the allowable processing waiting time Ta, the processing request storage device 31 temporarily stores the processing request RQ.

【0026】そして、処理装置41は現在処理中の処理
要求に対応する処理が終わったならば、次に自己対応の
処理要求蓄積装置31に蓄積された処理要求RQを読出
して処理する。
When the processing corresponding to the processing request currently being processed is completed, the processing device 41 then reads the processing request RQ stored in the self-supporting processing request storage device 31 and processes it.

【0027】先の比較の結果、もしも処理要求RQの処
理待ち許容時間Taより処理装置41の予定処理待ち時
間Tbの方が大きかった場合は、制御装置21は他の各
処理装置42,43の予定処理待ち時間Tbを問い合わ
せる。そして、処理装置41を含むそれら各処理装置の
各予定処理待ち時間Tbのうち、最も時間の少ないもの
を探す。
As a result of the above comparison, if the scheduled processing waiting time Tb of the processing device 41 is longer than the processing waiting allowable time Ta of the processing request RQ, the control device 21 controls the other processing devices 42 and 43. Inquire about the scheduled processing waiting time Tb. Then, the scheduled processing waiting time Tb of each of the processing devices including the processing device 41 is searched for for the shortest time.

【0028】その結果、最も予定処理待ち時間の少ない
ものが処理装置43であったとすると、制御装置21は
処理要求RQを処理要求蓄積装置33に一時蓄積する。
処理装置43は現在処理中の処理要求に対応する処理が
終わったならば、次に自己対応の処理要求蓄積装置33
に蓄積された処理要求RQを読出して処理する。このよ
うな制御を制御装置22および23も行う。このような
制御装置21〜23の制御動作を図2にフローチャート
で示す。
As a result, assuming that the one with the shortest scheduled processing waiting time is the processing device 43, the control device 21 temporarily stores the processing request RQ in the processing request storage device 33.
When the processing corresponding to the processing request currently being processed is completed, the processing unit 43 next self-processes the processing request storage unit 33.
The processing request RQ stored in is read and processed. The control devices 22 and 23 also perform such control. The control operation of such control devices 21 to 23 is shown in the flow chart of FIG.

【0029】このフローチャートを説明する。処理要求
RQの発生により、これを受け付けた各制御装置は自己
の優先度が上位であるかを調べ(他の処理を実施中で処
理要求受け付け待ちとなっていない制御装置では発生処
理要求RQは受け付けることができない)(S1)、自
己の優先度が上位であれば自系統の処理要求蓄積状況か
ら自系統の予定処理待ち時間Tbを求める(S2)。
This flowchart will be described. Due to the generation of the processing request RQ, each control device that has received the processing request RQ checks whether its own priority is higher (in the control device that is performing other processing and not waiting for processing request reception, the generated processing request RQ is It cannot be accepted) (S1). If the own priority is high, the scheduled processing waiting time Tb of the own system is obtained from the processing request accumulation status of the own system (S2).

【0030】そして、この予定処理待ち時間Tbと受け
付けた発生処理要求RQの処理待ち許容時間Taを比較
し、Tb<Taであるか否かを判断する(S3)。その
結果、Tb<Taであれば自系統の処理要求蓄積装置に
その受け付けた発生処理要求RQを蓄積する(S4)。
Then, this scheduled processing waiting time Tb is compared with the processing waiting allowable time Ta of the received generated processing request RQ, and it is determined whether Tb <Ta (S3). As a result, if Tb <Ta, the received processing request RQ is stored in the processing request storage device of the own system (S4).

【0031】一方、ステップS3における判断の結果、
Tb<Taでなければ他系統の予定処理待ち時間Tbを
調べ(S5)、全ての系統の各予定処理待ち時間Tbの
中から最短の予定処理待ち時間の系統を求める(S
6)。そして、その求めた最短の予定処理待ち時間の系
統は自系統であるか否かを調べ(S7)、自系統であれ
ば自系統の処理要求蓄積装置にその受け付けた発生処理
要求RQを蓄積する(S4)。しかし、他系統のもので
あればその該当系統の処理要求蓄積装置にその受け付け
た発生処理要求RQを蓄積する(S8)。このような制
御により、最適な系統に発生処理要求を割り当てること
ができる。
On the other hand, as a result of the judgment in step S3,
If Tb <Ta is not satisfied, the scheduled processing waiting time Tb of the other system is checked (S5), and the system having the shortest scheduled processing waiting time is obtained from the scheduled processing waiting times Tb of all the systems (S5).
6). Then, it is checked whether or not the system of the obtained shortest scheduled processing waiting time is the own system (S7), and if it is the own system, the received generation processing request RQ is stored in the processing request storage device of the own system. (S4). However, if it belongs to another system, the received generated processing request RQ is stored in the processing request storage device of the corresponding system (S8). By such control, the generation processing request can be assigned to the optimum system.

【0032】各処理装置41,〜43は自己の対応する
処理要求蓄積装置31,〜33に蓄積されている処理要
求RQを、古いものから蓄積順に処理するが、各処理装
置41,〜43とも、対応する処理要求蓄積装置31,
〜33に蓄積されている処理要求RQは自己の処理まで
に要する「予定処理待ち時間Tb」がその処理要求RQ
に設定した「処理待ち許容時間Ta」に最も近いものに
蓄積されることから、発生する処理要求に対して効率良
く処理でき、また、発生する処理要求を受けた制御装置
は自己の系統の処理装置での処理順番と処理実行時間と
の関係からどの位の待ち時間を要するかを知り、その時
間(「予定処理待ち時間Tb」)との比較により自系統
で処理するか否かを決め、自系統での処理を取り敢えず
見送りとしたきは、他の系統の処理装置での処理順番と
処理実行時間との関係からどの位の待ち時間を要するか
を知り(「予定処理待ち時間Tb」を知り)、それらの
中で「予定処理待ち時間Tb」が最も短い系統のものを
選択して、前記発生処理要求をその系統に蓄積して処理
させるようにしたので、発生した処理要求を処理させる
に適する処理装置の検索を、最小限の検索作業で見付け
ることができ、発生した処理要求の処理装置への割り付
けを最小限の時間で済ますことができて効率の良い割り
当て処理を行うことができる。また、装置全体が効率良
く機能できることから、装置のスループットを向上でき
る。
Each of the processing devices 41 to 43 processes the processing requests RQ stored in the corresponding processing request storage devices 31 to 33 in the order of accumulation from the oldest one. , Corresponding request storage device 31,
In the processing requests RQ accumulated in 33 to 33, the “planned processing waiting time Tb” required for the processing itself is the processing request RQ.
Since the data is accumulated in the time closest to the "process waiting time Ta" set in step 1, the process request generated can be processed efficiently, and the control device receiving the process request generated processes the process of its own system. Knowing how long the waiting time is required from the relationship between the processing order in the device and the processing execution time, and determining whether to perform processing in its own system by comparing it with the time ("scheduled processing waiting time Tb"), If you decide not to give up processing in your own system, you must know how long the waiting time will be based on the relationship between the processing order and processing execution time in the processing devices of other systems (see "Scheduled processing waiting time Tb"). Knowing that, of those, the system having the shortest “scheduled processing waiting time Tb” is selected, and the generated processing request is accumulated and processed in the system, so that the generated processing request is processed. Suitable processing equipment Search can be found with a minimum of search operations, it is possible to the assignment to a processor of the generated processing request to be able to dispense with minimal time do a good allocation processing efficiency. In addition, since the entire device can function efficiently, the throughput of the device can be improved.

【0033】このように本システムは、処理要求を処理
待ち許容時間の情報と共に発生する複数の処理要求装置
と、処理要求を受けて処理を実施する複数の処理装置
と、これら各処理装置毎にそれぞれ対応して設けられ、
入力される処理要求を順に蓄積して自己の対応する処理
装置にこの蓄積した処理要求を与えるための蓄積装置
と、各蓄積装置毎にそれぞれ対応して設けられ、処理要
求装置からの処理要求を受けると、自己の系統の処理装
置での予定処理待ち時間を自己対応の蓄積装置での蓄積
情報から得、この予定処理待ち時間と前記受けた処理要
求に付加された処理待ち許容時間とを比較して、予定処
理待ち時間が処理待ち許容時間より短い時は自系統の蓄
積装置にこの処理要求を蓄積させ、長いときは他の系統
の処理装置での予定処理待ち時間をそれぞれの蓄積装置
での蓄積情報から得、各系統での予定処理待ち時間を比
較して最も短くなる系統を選択してその系統の蓄積装置
にこの処理要求を蓄積させるべく制御する制御装置とよ
り構成したものである。
As described above, the present system includes a plurality of processing request devices that generate a processing request together with information on the allowable processing waiting time, a plurality of processing devices that perform processing in response to the processing request, and each of these processing devices. Corresponding to each,
A storage device for accumulating the input processing requests in order and giving the accumulated processing request to the corresponding processing device, and a processing request from the processing request device are provided corresponding to each storage device. When receiving, the scheduled processing wait time in the processing device of its own system is obtained from the accumulated information in the self-supporting storage device, and this scheduled processing wait time is compared with the allowable processing wait time added to the received processing request. Then, when the scheduled processing wait time is shorter than the allowable processing wait time, this processing request is stored in the storage device of its own system, and when it is long, the scheduled processing wait time of the processing device of another system is stored in each storage device. It is configured by a control device that obtains from the accumulated information of the system, compares the scheduled processing waiting time in each system, selects the system that is the shortest, and controls the storage device of that system to accumulate this processing request. .

【0034】そして、このような構成において複数の処
理要求装置は逐次、処理要求を処理待ち許容時間の情報
と共に発生するが、制御装置は処理要求装置からの処理
要求を受けると、自己の系統の処理装置での予定処理待
ち時間を自己対応の蓄積装置での蓄積情報から得、この
予定処理待ち時間と前記受けた処理要求に付加された処
理待ち許容時間とを比較して、予定処理待ち時間が処理
待ち許容時間より短い時は自系統の蓄積装置にこの処理
要求を蓄積させ、長いときは他の系統の処理装置での予
定処理待ち時間をそれぞれの蓄積装置での蓄積情報から
得、各系統での予定処理待ち時間を比較して最も短くな
る系統を選択してその系統の蓄積装置にこの処理要求を
蓄積させるべく制御することにより、発生処理要求は複
数系統ある処理装置のうち、負荷の状況から見て適正と
なる系統の蓄積装置に蓄積され、その系統の処理装置に
より処理されるようにすると云うものである。
In such a configuration, the plurality of processing requesting devices sequentially generate processing requests together with information on the allowable processing waiting time. When the control device receives a processing request from the processing requesting device, The scheduled processing wait time in the processing device is obtained from the accumulated information in the self-supporting storage device, and this scheduled processing wait time is compared with the allowable processing wait time added to the received processing request to calculate the scheduled processing wait time. Is shorter than the allowable processing waiting time, this processing request is stored in the storage device of the own system, and when it is longer, the scheduled processing waiting time in the processing device of the other system is obtained from the storage information in each storage device. By comparing the scheduled processing wait time in a system and selecting the system that has the shortest time and controlling the storage device of that system to store this processing request, the generated processing request can be processed in multiple systems. Of, stored in the storage device of the system to be appropriate when viewed from the load conditions are those referred to to be processed by the processing unit of the system.

【0035】このように複数の処理要求装置とこれら各
処理要求装置から送出される処理要求に従い、処理を行
う複数の処理装置および各処理要求装置から送出される
処理要求を一時的に蓄える各処理装置毎に設けた処理要
求蓄積装置とによって構成されると共に、処理装置の数
が処理要求装置の数より少ない構成の処理システムにお
いて、各処理要求に処理待ち許容時間等の処理条件を付
加し、各処理装置毎に発生処理要求の割り当てをする制
御装置を設け、処理要求を受け付けた制御装置が各処理
装置の負荷状況を問い合わせ、受け付けた処理要求の処
理条件と負荷状況を比較し、処理条件を満たす処理装置
があったなら、その処理装置に処理要求を処理させ、無
い場合は最も負荷の軽い処理装置に処理させるように割
り当てるようにしたものであるから、発生した処理要求
をその処理要求の求める処理条件に最も近い条件となる
処理装置に割り当てて処理させることができることか
ら、処理装置の効率的利用を図ることができるようにな
る。
As described above, according to the plurality of processing requesting devices and the processing requests sent from the respective processing requesting devices, the plurality of processing devices that perform the processing and the respective processes that temporarily store the processing requests sent from the respective processing requesting devices. In a processing system having a processing request accumulating device provided for each device and having a number of processing devices less than the number of processing requesting devices, processing conditions such as an allowable processing waiting time are added to each processing request, A control device that allocates the generated processing request to each processing device is provided, and the control device that receives the processing request inquires about the load status of each processing device, compares the processing condition of the received processing request with the load status, and processes the processing condition. If there is a processing device that satisfies the above conditions, assign that processing device to process the processing request, and if not, allocate it to the processing device with the lightest load. Those because it consists of can be processed by allocating the generated processing request to the processing device as the closest condition the processing conditions required by the the process request, to be able to achieve efficient use of processor.

【0036】特に、処理要求を受け付けた制御装置が自
系統処理装置の負荷状況を問い合わせ、受け付けた処理
要求の処理条件と負荷状況を比較し、処理条件を満たす
処理装置が無かった場合は最も負荷の小さい処理装置に
処理させるべく、各系統の予定処理待ち時間を検索する
が、最初に自系統処理装置の負荷状況を問い合わせ、そ
の負荷状況を判断して条件を満たさない場合に、他系統
処理装置の負荷状況を問い合わせるようにしているの
で、マクロ的に見て検索量も減らすことができる。そし
て、検索量が減らすことができることで装置全体の通信
量が減り、通信のための待ち時間を少なくできる。
In particular, the control device that has received the processing request inquires about the load status of its own system processing device, compares the processing condition of the received processing request with the load status, and if there is no processing device that satisfies the processing request, the load is the highest. In order to make the processing unit with a smaller number of units process the scheduled processing waiting time of each system, first inquire the load status of the own system processing unit, and if the load status is not judged and the condition is not satisfied, other system processing is performed. Since the inquiry about the load status of the device is made, it is possible to reduce the amount of searches in macro terms. Since the search amount can be reduced, the communication amount of the entire device is reduced and the waiting time for communication can be reduced.

【0037】従って、本発明によれば、処理装置の効率
的利用と処理要求を処理する処理装置の検索量の低減を
図ることができ、また、通信のための待ち時間の減少で
処理要求に対する装置全体のスループットを向上させる
ことができる。
Therefore, according to the present invention, it is possible to efficiently use the processing device and reduce the search amount of the processing device that processes the processing request, and to reduce the waiting time for communication to meet the processing request. The throughput of the entire device can be improved.

【0038】尚、本発明は上記し、且つ、図面に示す実
施例に限定することなく、その要旨を変更しない範囲内
で適宜変形して実施し得るものであり、例えば、制御装
置は優先順位に従い、空きのもののうちの上位のものが
発生処理要求の割り当てを制御するようにしたが、優先
順位を逐次変更する構成としても良く、また複数ある処
理要求装置をグループ分けして、そのグループ別に制御
装置を割り当て、グループ内の発生処理要求の割り当て
処理はグループ内の制御装置で行うようにし、グループ
内の制御装置が空いていないときは他のグループの空き
制御装置で行うようにしても良い。
The present invention is not limited to the embodiments described above and shown in the drawings, but can be modified and implemented without departing from the scope of the invention. For example, the control device can be prioritized. According to the above, the upper one of the empty ones controls the allocation of the generated processing requests, but the priority may be sequentially changed. Also, a plurality of processing requesting devices may be divided into groups, and each processing requesting device may be divided into groups. The control device may be assigned, and the allocation process of the generation process request in the group may be performed by the control device in the group, and may be performed by the idle control device of another group when the control device in the group is not available. ..

【0039】また、発生処理要求に対して、実施例では
処理待ち許容時間のみを処理条件として付加したが、そ
の処理要求の処理の優先順位等も付加して、処理要求の
割り当て後に、その割り当てられた系統では優先順位の
高いものを優先して処理するように構成することもで
き、この場合、緊急度の高い処理要求を最短の待ち時間
で処理させるようにできる。
Further, in the embodiment, only the processing waiting allowable time is added to the generated processing request as the processing condition, but the processing priority of the processing request is also added, and after the processing request is allocated, the allocation is performed. In the established system, the system having the higher priority can be configured to be processed with priority, and in this case, the processing request with high urgency can be processed with the shortest waiting time.

【0040】[0040]

【発明の効果】以上のように、本発明は各処理装置の予
定処理待ち時間を問い合わせ、発生した処理要求に付加
された処理待ち許容時間よりも小さいもの、または、最
小の予定処理待ち時間を持つ処理装置にこの発生処理要
求の処理を割り当てて処理させるようにしたことで、処
理装置の効率的な利用を図ることができ、検索量も減少
させることができる他、処理待ち許容時間よりも小さい
待ち時間の処理装置が見付からず、全処理装置に対して
検索をしなければならないと云う最悪条件の場合にの
み、各処理装置の予定処理待ち時間の検索をするように
したので、検索量を少なくでき、この検索量が少なくで
きることで装置全体の通信量が減少することから、通信
のための待ち時間も少なくできる。
As described above, according to the present invention, the scheduled processing waiting time of each processing device is inquired, and the one which is smaller than the allowable processing waiting time added to the generated processing request or the minimum scheduled processing waiting time is set. By assigning the processing of the generated processing request to the processing apparatus of the processing unit and processing the generated processing request, the processing apparatus can be used efficiently, the search amount can be reduced, and the processing waiting time is longer than the allowable processing waiting time. Only in the worst condition that a processing unit with a small waiting time cannot be found and a search must be performed for all processing units, the scheduled processing waiting time for each processing unit is searched. Since the search amount can be reduced and the communication amount of the entire device is reduced by reducing the search amount, the waiting time for communication can be reduced.

【0041】従って、本発明によれば、処理装置の効率
的利用と処理要求を処理する処理装置の検索量の低減を
図ることができ、また、通信のための待ち時間の減少を
含めて処理要求に対する装置全体のスループットを飛躍
的に向上させることができる等の特徴を有する処理シス
テムを提供できる。
Therefore, according to the present invention, it is possible to efficiently use the processing device and reduce the search amount of the processing device that processes the processing request, and also to reduce the waiting time for communication. It is possible to provide a processing system having characteristics such that the throughput of the entire apparatus with respect to a request can be dramatically improved.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の一実施例の全体構成を示すブロック
図。
FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention.

【図2】本発明の制御装置の動作例を示すフローチャー
ト。
FIG. 2 is a flowchart showing an operation example of the control device of the present invention.

【図3】従来例を示すブロック図。FIG. 3 is a block diagram showing a conventional example.

【図4】従来例を示すブロック図。FIG. 4 is a block diagram showing a conventional example.

【符号の説明】[Explanation of symbols]

11〜16…処理要求装置、21〜23…制御装置、3
1〜33…処理要求蓄積装置、41〜43…処理装置。
11-16 ... Process requesting device, 21-23 ... Control device, 3
1 to 33 ... Processing request storage device, 41 to 43 ... Processing device.

Claims (1)

【特許請求の範囲】 【請求項1】 処理要求を処理待ち許容時間の情報と共
に発生する複数の処理要求装置と、 処理要求を受けて処理を実施する複数の処理装置と、 これら各処理装置毎にそれぞれ対応して設けられ、入力
される処理要求を順に蓄積して自己の対応する処理装置
にこの蓄積した処理要求を与えるための蓄積装置と、 各蓄積装置毎にそれぞれ対応して設けられ、処理要求装
置からの処理要求を受けると、自己の系統の処理装置で
の予定処理待ち時間を自己対応の蓄積装置での蓄積情報
から得、この予定処理待ち時間と前記受けた処理要求に
付加された処理待ち許容時間とを比較して、予定処理待
ち時間が処理待ち許容時間より短い時は自系統の蓄積装
置にこの処理要求を蓄積させ、長いときは他の系統の処
理装置での予定処理待ち時間をそれぞれの蓄積装置での
蓄積情報から得、各系統での予定処理待ち時間を比較し
て最も短くなる系統を選択してその系統の蓄積装置にこ
の処理要求を蓄積させるべく制御する制御装置とを具備
して構成することを特徴とする処理システム。
Claim: What is claimed is: 1. A plurality of processing request devices that generate a processing request together with information on a processing waiting permissible time, a plurality of processing devices that perform a processing in response to a processing request, and each of these processing devices. A storage device that is provided corresponding to each of the storage devices and that sequentially stores the input processing requests and gives the stored processing requests to the corresponding processing device of its own, and that is provided corresponding to each storage device, When the processing request from the processing requesting device is received, the scheduled processing waiting time in the processing device of its own system is obtained from the accumulated information in the self-supporting accumulating device, and is added to the scheduled processing waiting time and the received processing request. When the scheduled processing wait time is shorter than the allowable processing wait time, this processing request is stored in the storage device of the own system, and when it is long, the scheduled processing in the processing device of another system is performed. The time is obtained from the accumulated information in each storage device, the scheduled processing waiting time in each system is compared, and the system with the shortest time is selected, and the storage device of that system is controlled to store this processing request. A processing system comprising: a device.
JP18755891A 1991-07-26 1991-07-26 Processing system Pending JPH0535701A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18755891A JPH0535701A (en) 1991-07-26 1991-07-26 Processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18755891A JPH0535701A (en) 1991-07-26 1991-07-26 Processing system

Publications (1)

Publication Number Publication Date
JPH0535701A true JPH0535701A (en) 1993-02-12

Family

ID=16208184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18755891A Pending JPH0535701A (en) 1991-07-26 1991-07-26 Processing system

Country Status (1)

Country Link
JP (1) JPH0535701A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795873B1 (en) * 2000-06-30 2004-09-21 Intel Corporation Method and apparatus for a scheduling driver to implement a protocol utilizing time estimates for use with a device that does not generate interrupts
JP2013012028A (en) * 2011-06-29 2013-01-17 Kddi Corp Request reception server and request reception program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6795873B1 (en) * 2000-06-30 2004-09-21 Intel Corporation Method and apparatus for a scheduling driver to implement a protocol utilizing time estimates for use with a device that does not generate interrupts
JP2013012028A (en) * 2011-06-29 2013-01-17 Kddi Corp Request reception server and request reception program

Similar Documents

Publication Publication Date Title
CN109117260B (en) Task scheduling method, device, equipment and medium
JP2589932B2 (en) Global optimization method and system for device allocation
KR100247722B1 (en) Dynamic queue priority ordering system for data processing system and device therefor
US7089381B2 (en) Multiple storage element command queues
US6473780B1 (en) Scheduling of direct memory access
JPH04232560A (en) Process and information processing network in information processing system
US11093291B2 (en) Resource assignment using CDA protocol in distributed processing environment based on task bid and resource cost
JPH0535701A (en) Processing system
JP3952058B2 (en) Transaction load distribution method and method based on estimated expansion rate, and computer-readable recording medium
JP2000259430A (en) Processing method for computer system
JP2829553B2 (en) Distributed processing controller
JPH1078942A (en) Multiprocessor system
JPH0612395A (en) Task allocating method in multiprocessor system
JPH11143838A (en) Distributed processing system
JPH08166888A (en) Memory controller
JP3082297B2 (en) Task control method
JPH11120149A (en) Distributed data processing system
JPS62175832A (en) Resources control system for electronic computer
JPH0855091A (en) Distributed processing system and load distributing method for this system
JPH05128077A (en) Method for distributed processing plural computer system
JP2013073570A (en) Image processing system, printing system, control device, image processing method and program
JPH1063607A (en) Dma controller
CN117762838A (en) Multi-interface access memory control method based on priority
JP3084812B2 (en) Program list output efficiency method
JPS6152761A (en) Arithmetic unit