JPH06161588A - Resource reservation managing device - Google Patents

Resource reservation managing device

Info

Publication number
JPH06161588A
JPH06161588A JP4306767A JP30676792A JPH06161588A JP H06161588 A JPH06161588 A JP H06161588A JP 4306767 A JP4306767 A JP 4306767A JP 30676792 A JP30676792 A JP 30676792A JP H06161588 A JPH06161588 A JP H06161588A
Authority
JP
Japan
Prior art keywords
processing
time
resource
reservation
information
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.)
Granted
Application number
JP4306767A
Other languages
Japanese (ja)
Other versions
JP3401725B2 (en
Inventor
Osamu Mori
治 森
Yoshio Nose
純郎 野瀬
Shinji Nakamura
信二 中村
Chisato Hashimoto
千里 橋本
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP30676792A priority Critical patent/JP3401725B2/en
Publication of JPH06161588A publication Critical patent/JPH06161588A/en
Application granted granted Critical
Publication of JP3401725B2 publication Critical patent/JP3401725B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To conquer restriction for the preceding reserving condition and restric tion for specified time by imparting a function to reserve the resources inside a system for executing a series of single processing to perform processing of various requests within the specified period of time. CONSTITUTION:This system is composed of a resource reservation managing device 1 and a processor 2, and the resource reservation managing device 1 is composed of a reservation processing part 11, managing information storage part 12 and timer 13. When the processor 2 starts continuous processing in certain single processing inside the system, the reservation processing part 11 reserves the resources required for the following single processing while considering the specified time based on managing information stored in the managing information storage part 12. Further, the resources required for the preceding single processing are reserved as needed, and the starting time of continuous processing is informed of the processor 2. Then, difference between time to actually start the continuous processing and the reserved starting time is inspected and when there is any difference, the resources to be used for the following single processing are reserved again. Therefore, continuous information surely guaranteeing the specified time can be provided.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、規定時間の範囲で実施
することが要求される連続処理を取り扱うことのできる
システムにおいて、システムの運用中に様々な状況の変
化が生じても、それらに動的に即応し、連続処理を可能
とするシステムを実現するための資源予約管理装置に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system capable of handling continuous processing which is required to be executed within a specified time range, even if various situational changes occur during the operation of the system. The present invention relates to a resource reservation management device for realizing a system that dynamically responds and enables continuous processing.

【0002】[0002]

【従来の技術】従来のシステムでは、連続処理を取り扱
う場合に、後方の単一処理が使用する資源を固定的に予
約し、これらの予約によって、他の要求による処理を抑
止することにより、連続処理を実現することが可能であ
るが、システム構築にあたり、資源の効率的配置、資源
の競合使用の制御、単一処理部のモジュール化構成によ
る再利用の推進等が考慮されており、システム構築の多
様化と複雑化によって、資源の予約管理を困難にしてい
る。これらの状況に加えて、システム障害、障害復旧作
業、不定期な保守作業等の予期できない事象への配慮も
必要となり、システムの状況に応じた資源の予約および
予約の変更を、実時間的かつ動的に行い、連続処理に対
して常に処理保留時間を規定時間以内とする資源予約管
理機能の実現が要求されている。
2. Description of the Related Art In a conventional system, when a continuous process is handled, the resources used by a single process in the rear are fixedly reserved, and by these reservations, the process by other requests is suppressed, so that the continuous process can be performed continuously. Although it is possible to realize processing, in constructing the system, efficient allocation of resources, control of competitive use of resources, promotion of reuse by modularization of single processing part, etc. are considered, and system construction Resource diversification and complexity make resource reservation management difficult. In addition to these situations, it is necessary to consider unpredictable events such as system failures, failure recovery work, and irregular maintenance work. Resource reservations and reservation changes depending on the system status can be performed in real time. It is required to implement a resource reservation management function that is performed dynamically and that keeps the processing hold time within a specified time for continuous processing.

【0003】[0003]

【発明が解決しようとする課題】従来のシステムは、連
続処理を規定時間の範囲で実施するために、連続処理の
後方の単一処理が必要とする資源を固定的に予約する方
法が採り入れられているが、他の要求による先行予約が
存在する場合には、規定時間の制約を考慮した予約管理
を必要とするのみならず、システム障害、障害復旧作
業、不定期な保守作業等の予期できない状況に即応した
資源の予約変更を実時間的かつ動的に行う管理を必要と
した。
The conventional system adopts a method of fixedly reserving the resources required by a single process after the continuous process in order to perform the continuous process within a specified time range. However, if there is an advance reservation due to another request, not only reservation management that takes into account the restrictions on the specified time is required, but system failures, failure recovery work, irregular maintenance work, etc. cannot be predicted. It was necessary to manage the resource reservation changes in real time and dynamically according to the situation.

【0004】本発明は、上記に鑑みてなされたもので、
その目的とするところは、システムが連続処理を実行
し、連続処理の後方の単一処理が使用可能な資源の先行
予約状況および規定時間の制約を克服するために、必要
に応じて、前方の単一処理が使用する資源の使用開始時
刻を決定して予約し、前方の単一処理が使用する予約済
の資源を実際に使用する時点で、再度後方の単一処理が
使用する資源を再予約する機能を有する資源予約管理装
置を提供することにある。
The present invention has been made in view of the above,
The purpose is to allow the system to perform continuous processing, and a single processing after the continuous processing can be used as needed to overcome the pre-reservation situation of available resources and the time limit. The resource to be used by a single process is determined and reserved, and when the reserved resource used by the preceding single process is actually used, the resource used by the subsequent single process is re-used again. It is to provide a resource reservation management device having a reservation function.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するた
め、本発明の資源予約管理装置は、種々の要求を処理の
最小単位である単一処理に分割して処理することのでき
るシステムにおいて、規定時間の範囲内に当該要求を処
理する一連の単一処理を実行するためにシステム内の資
源を予約する機能を提供する資源予約管理装置であっ
て、現在時刻を通知するタイマと、資源予約処理に必要
な情報を記憶する管理情報記憶部と、当該要求を処理す
る単一処理の直前の単一処理が資源を確保して処理を開
始する時点で実際に資源を確保し、要求の処理を行う処
理装置から処理開始通知を受け、前記管理情報記憶部に
記憶されている情報から当該要求を処理する一連の単一
処理の1つかどうかを判定し、一連の単一処理でなけれ
ば処理を終了し、一連の単一処理であれば、前記管理情
報記憶部に記憶されている情報から資源の空きを待つ全
ての処理の中で当該処理より同等以上の優先順位が設定
されている処理の占有時間を求め、これらの総和を優先
順位による待ち時間とし、前記管理情報記憶部に記憶さ
れている情報から取得した直前の単一処理からの遷移時
間および他の要求による予約時間と重複しない予約可能
な時刻までの遅延時間をすべて加算し保留時間とし、前
記保留時間が前記規定時間より同等以下なら前記タイマ
より取得した現在時刻と直前の単一処理の資源占有時間
を更に加算して予約開始時刻を算出し、前記保留時間が
前記規定時間より大きいならば、前記保留時間と前記規
定時間との差分に現在時刻を加算した時刻に前記管理情
報記憶部に記憶されている情報から取得した直前の単一
処理の資源占有時間と他の要求による予約時間と重複し
ない予約可能な時刻までの遅延時間を加算した時刻を起
点として再度前記予約開始時刻の設定を行い、当該資源
予約情報を前記処理装置へ通知するとともに前記管理情
報記憶部に記憶し、直前の単一処理の処理が終了する時
点で前記処理装置から終了通知情報を受け取り、使用し
た資源が予約済みのものであれば、予約した資源の資源
予約情報を抹消し、当該単一処理が資源を確保し処理を
開始した時点で前記処理装置から処理開始通知を受け取
り、使用される資源の予約開始時刻が現在時刻より遅れ
た場合は遅れた時間を前記処理装置に通知して、処理を
終了し、当該単一処理が終了した時点で前記処理装置か
ら終了通知情報を受け取り、予約した資源の資源予約情
報を抹消し、単一処理の実行中に異常を検出した時点
で、該当する処理の資源予約情報を抹消する予約処理部
とを有することを要旨とする。
In order to achieve the above object, the resource reservation management device of the present invention, in a system capable of dividing various requests into a single process which is the minimum unit of processing, A resource reservation management device that provides a function for reserving a resource in a system to execute a series of single processes for processing a request within a specified time range, a timer for notifying the current time, and a resource reservation A management information storage unit that stores information necessary for processing and a single process immediately before the single process that processes the request secures the resource and when the process is started, the resource is actually secured and the request is processed. The processing start notification is received from the processing device that performs the processing, and it is determined from the information stored in the management information storage unit whether the processing is one of a series of single processing, and if the series is not a single processing, the processing is performed. Ends and a series If it is a single process, from the information stored in the management information storage unit, among all the processes waiting for the availability of resources, obtain the occupation time of the process having a priority equal to or higher than that of the process, The sum of these is used as the waiting time according to the priority order, and the transition time from the last single process acquired from the information stored in the management information storage unit and the reservable time that does not overlap with the reservation time due to other requests If all the delay times are set as the hold time, and if the hold time is equal to or less than the specified time, the reservation start time is calculated by further adding the current time acquired from the timer and the resource occupancy time of the immediately preceding single process, If the holding time is larger than the specified time, the time obtained by adding the current time to the difference between the holding time and the specified time is acquired from the information stored in the management information storage unit. The reservation start time is set again starting from the time obtained by adding the delay time until the reservable time that does not overlap with the resource occupancy time of the previous single processing and the reservation time due to other request, and the resource reservation information is set. When notifying the processing device and storing in the management information storage unit, receiving the end notification information from the processing device at the time when the processing of the immediately preceding single process is completed, and the used resource is reserved, The resource reservation information of the reserved resource is deleted, the processing start notification is received from the processing device at the time when the single process secures the resource and starts the processing, and the reservation start time of the used resource is delayed from the current time. In this case, the delayed time is notified to the processing device, the processing is ended, and when the single processing is ended, the end notification information is received from the processing device, and the resource reservation information of the reserved resource is received. The gist of the present invention is to have a reservation processing unit that deletes the resource reservation information of the corresponding process when the abnormality is detected during the execution of the single process.

【0006】[0006]

【作用】本発明の資源予約管理装置では、システムの中
のある単一処理において、連続処理を開始する時点で、
規定時間の制約を考慮し、後方の単一処理で必要な資源
を予約し、さらに、必要に応じて、前方の単一処理で必
要な資源を予約して連続処理の開始時刻を通知し、実際
に連続処理を開始できる時刻と予約開始時刻の差異を検
査し、再度後方の単一処理が使用する資源を再予約する
ことができるため、規定時間を確実に保証する連続情報
の実現が可能となる。
In the resource reservation management device of the present invention, when a continuous process is started in a single process in the system,
Considering the restriction of specified time, reserve the necessary resources in the backward single process, and further reserve the required resources in the forward single process to notify the start time of the continuous process, if necessary. The difference between the time when the continuous processing can actually start and the reservation start time can be checked, and the resources used by the subsequent single processing can be re-reserved, so continuous information that guarantees the specified time can be realized. Becomes

【0007】[0007]

【実施例】以下、図面を用いて本発明の実施例を説明す
る。
Embodiments of the present invention will be described below with reference to the drawings.

【0008】図1は、本発明の一実施例による資源予約
管理装置を適用したシステム全体の構成を示すブロック
図であり、システムは資源予約管理装置1と処理装置2
により構成されるものとする。
FIG. 1 is a block diagram showing the overall configuration of a system to which a resource reservation management device according to an embodiment of the present invention is applied. The system is a resource reservation management device 1 and a processing device 2.
Shall be composed of

【0009】資源予約管理装置1は、予約処理部11、
管理情報記憶部12およびタイマ13により構成され、
管理情報記憶部12は、要求種別情報域14、フロー情
報域15、単一処理情報域16、優先順位情報域19、
資源管理情報域17および資源監視情報域18により構
成される。
The resource reservation management device 1 includes a reservation processing unit 11,
Comprised of a management information storage unit 12 and a timer 13,
The management information storage unit 12 includes a request type information area 14, a flow information area 15, a single processing information area 16, a priority order information area 19,
It comprises a resource management information area 17 and a resource monitoring information area 18.

【0010】要求種別情報域14は、要求種別毎に複数
個の要求情報を定義する記憶領域である。
The request type information area 14 is a storage area for defining a plurality of request information for each request type.

【0011】フロー情報域15は、各要求種別に対応し
た一連の単一処理部の処理順序を定義する記憶領域であ
る。
The flow information area 15 is a storage area that defines the processing order of a series of single processing units corresponding to each request type.

【0012】単一処理情報域16は、単一処理種別毎に
複数の単一処理部の処理条件を定義する記憶領域であ
る。
The single processing information area 16 is a storage area for defining processing conditions of a plurality of single processing units for each single processing type.

【0013】優先順位情報域19は、各単一処理部の中
のバッファで処理を待つ様々な要求イベントに対して、
処理の分類に対応した優先度を定義する記憶領域であ
る。
The priority information area 19 is provided for various request events waiting for processing in the buffer in each single processing unit.
This is a storage area that defines the priority corresponding to the classification of processing.

【0014】資源管理情報域17は、各資源種別毎に使
用条件情報を定義する記憶領域である。
The resource management information area 17 is a storage area for defining use condition information for each resource type.

【0015】資源監視情報域18は、全資源毎に対応す
るバッファと各資源の予約状態を記録する記憶領域であ
る。
The resource monitoring information area 18 is a storage area for recording a buffer corresponding to each resource and a reservation state of each resource.

【0016】処理装置2は、処理実行部21と実資源部
22により構成される。
The processing device 2 is composed of a processing execution unit 21 and a real resource unit 22.

【0017】処理実行部21は、複数の単一処理部24
で構成され、種々の要求に関する一連の処理は、複数の
単一処理部24で分散して行われる。各単一処理部24
は一対のバッファ26と実行論理部27で構成される。
要求は、或る単一処理部24から次の単一処理部24へ
要求イベントとして遷移する。
The processing execution unit 21 includes a plurality of single processing units 24.
And a series of processes relating to various requests are distributed and performed by the plurality of single processing units 24. Each single processing unit 24
Is composed of a pair of buffers 26 and an execution logic unit 27.
The request transits from one single processing unit 24 to the next single processing unit 24 as a request event.

【0018】実資源部22は、システムが必要とする全
ての資源から構成され、各資源種別毎にそれぞれ1つ以
上の資源が設置されるものとする。
The real resource unit 22 is composed of all the resources required by the system, and one or more resources are installed for each resource type.

【0019】図2は、連続処理に関する資源の予約概念
を説明する図であり、連続処理に関する要求イベント
(連続処理イベント)が、連続する単一処理部24の間
を流れる状態を示したものである。
FIG. 2 is a diagram for explaining the concept of resource reservation related to continuous processing, and shows a state in which a request event (continuous processing event) related to continuous processing flows between continuous single processing units 24. is there.

【0020】tA とtB は、連続処理の前方の単一処理
部24と後方の単一処理部24のそれぞれの実行論理部
27において使用される資源(SA とSB )のそれぞれ
の占有時間であり、(TAE−TAS)および(TBE
BS)とそれぞれ同値であることを示す。また、前記占
有時間は実行論理部27の処理時間と同値とする。
T A and t B are respectively the resources (S A and S B ) used in the respective execution logic units 27 of the front single processing unit 24 and the back single processing unit 24 of the continuous processing. Occupied time, (T AE −T AS ), and (T BE
T BS ). The occupied time is the same as the processing time of the execution logic unit 27.

【0021】tT は、i−1番目からi番目の単一処理
部24の間の遷移時間である。
T T is a transition time between the i−1th to i-th single processing units 24.

【0022】tBAは、i−1番目の単一処理部24にお
いて、優先順位のみ考慮した連続処理イベントの待ち時
間であり、tBBは、i番目の単一処理部24において、
優先順位のみ考慮した連続処理イベントの待ち時間の予
測値である。
T BA is the waiting time of the continuous processing event in the i-1 th single processing section 24, considering only the priority order, and t BB is the i th single processing section 24,
It is a predicted value of the waiting time of the continuous processing event considering only the priority.

【0023】tD は、資源SB において、他の要求イベ
ントによる先行予約と重複しない予約可能な予約開始時
刻までの時間である。
T D is the time until the reservation start time at which the resource S B can be reserved and does not overlap with the advance reservation by another request event.

【0024】tW は、tT +tBA+tD と同値であり、
処理保留時間に相当する。
T W has the same value as t T + t BA + t D ,
It corresponds to the processing hold time.

【0025】図3は、資源予約管理装置1の詳細な構成
を示す図である。資源予約管理装置1は、予約処理部1
1、管理情報記憶部12およびタイマ13より構成され
る。
FIG. 3 is a diagram showing a detailed configuration of the resource reservation management device 1. The resource reservation management device 1 includes a reservation processing unit 1
1, a management information storage unit 12 and a timer 13.

【0026】次に管理情報記憶部12の構成を述べる。Next, the structure of the management information storage unit 12 will be described.

【0027】要求種別情報域14は、要求種別毎に定義
されるものとし、各要求種別情報域は、要求種別域、使
用するフロー種別域より構成される。
The request type information area 14 is defined for each request type, and each request type information area is composed of a request type area and a flow type area to be used.

【0028】フロー情報域15は、要求種別により決め
られたフロー種別が定義されるものとし、フロー種別域
と順序情報域により構成される。順序情報域は、処理順
序の決められた全単一処理順序番号域、単一処理種別
域、連続処理表示域および規定時間域を有する。i−1
およびi番目には、連続処理表示が立てられ、i−1番
目には規定時間(tL )が設定されている例を示す。
The flow information area 15 defines the flow type determined by the request type, and comprises a flow type area and an order information area. The sequence information area has an all single processing sequence number area, a single processing type area, a continuous processing display area, and a specified time area in which the processing order is determined. i-1
An example in which a continuous processing display is set up at and i-th and a specified time (t L ) is set up at i-1-th is shown.

【0029】単一処理情報域16は、単一処理種別毎に
定義されるものとし、単一処理種別域、資源種別域、処
理条件種別域、及び次単一処理への遷移時間域により構
成される。
The single processing information area 16 is defined for each single processing type, and is composed of a single processing type area, a resource type area, a processing condition type area, and a transition time area to the next single processing. To be done.

【0030】優先順位情報域19は、優先処理種別域と
優先順位域により構成される。
The priority information area 19 is composed of a priority processing type area and a priority area.

【0031】資源管理情報域17は、資源種別毎に定義
されるものとし、資源種別域、同種資源域、処理条件情
報より構成される。処理条件情報域は、処理条件種別域
および資源占有時間域を有する。
The resource management information area 17 is defined for each resource type, and includes a resource type area, a homogeneous resource area, and processing condition information. The processing condition information area has a processing condition type area and a resource occupation time area.

【0032】資源監視情報域18は、資源種別毎に資源
の個数分だけ定義されるものとし、各資源と予約に関す
る最新の状態が記録される領域である。資源監視情報域
18は、資源種別域、同種資源通番域、および状態情報
域により構成される。状態情報域は、各要求イベントの
イベント通番域、要求種別域、イベント識別番号域、単
一処理順序番号域、予約表示域、予約開始時刻域および
予約終了時刻域を有する。
The resource monitoring information area 18 is an area in which the number of resources is defined for each resource type, and the latest state of each resource and reservation is recorded. The resource monitoring information area 18 includes a resource type area, a same-type resource serial number area, and a status information area. The status information area has an event serial number area of each request event, a request type area, an event identification number area, a single processing sequence number area, a reservation display area, a reservation start time area, and a reservation end time area.

【0033】なお、処理装置2は、要求イベントが単一
処理部24に到着する時点で、資源監視情報域18の中
に状態情報を登録し、単一処理部24での処理が終了す
る時点で、登録情報を抹消することができるが、予約に
関する情報を更新することは不可能とする。
The processing device 2 registers the status information in the resource monitoring information area 18 at the time when the request event arrives at the single processing unit 24, and at the time when the processing in the single processing unit 24 ends. The registration information can be deleted, but it is impossible to update the reservation information.

【0034】以上のように構成される資源予約管理装置
の作用について次に説明する。
The operation of the resource reservation management device configured as described above will be described below.

【0035】連続処理に関して、処理装置2から資源予
約管理装置1に対して通知されるケースは、前方の単一
処理部24において、連続処理イベントの処理を開始ま
たは終了する時点、及び後方の単一処理部24におい
て、連続処理イベントの処理を開始または終了する時点
の4ケースであり、連続処理イベントの異常を検出する
時点のケースを合わせ、5ケースとする。すなわち、次
のようになる。
Regarding the continuous processing, the case where the processing device 2 notifies the resource reservation management device 1 is that the single processing unit 24 in the front starts or ends the processing of the continuous processing event and the single processing unit in the rear. In one processing unit 24, there are four cases at the time of starting or ending the processing of the continuous processing event, and the cases at the time of detecting the abnormality of the continuous processing event are combined into five cases. That is, it becomes as follows.

【0036】ケース1 前方の単一処理部24において、連続処理イベントの処
理を開始する時点 ケース2 前方の単一処理部24において、連続処理イベントの処
理を終了する時点 ケース3 後方の単一処理部24において、連続処理イベントの処
理を開始する時点 ケース4 後方の単一処理部24において、連続処理イベントの処
理を終了する時点 ケース5 連続処理イベントの異常を検出する時点 前記ケース1における資源予約管理装置の作用を次に説
明する。
Case 1 Start processing of continuous processing events in the front single processing section 24 Case 2 End processing of continuous processing events in the front single processing section 24 Case 3 Back single processing In the part 24, when the processing of the continuous processing event is started Case 4 When the processing of the continuous processing event is finished in the rear single processing section 24 Case 5 When the abnormality of the continuous processing event is detected Resource reservation in the case 1 The operation of the management device will be described below.

【0037】処理装置2の中の連続処理を開始する前方
の単一処理部24が、要求イベントを選択し、資源を確
保して処理を開始する時点で、資源予約管理装置は、処
理装置2から要求イベントの処理開始通知を受け取るも
のとする。通知情報は、要求種別、単一処理順序番号、
イベント識別番号および処理開始通知とする。
At the time when the single processing unit 24 in the front of the processing device 2 which starts the continuous processing selects the request event, secures the resource, and starts the processing, the resource reservation management device becomes the processing device 2 The processing start notification of the request event is received from. Notification information includes request type, single processing sequence number,
The event identification number and processing start notification are used.

【0038】予約処理部11は、通知内容から、要求種
別に該当するフロー種別を読出し、単一処理順序番号に
該当する連続処理表示域を読出し、要求イベントが連続
処理か否か判定する。連続処理イベント以外の開始通知
であれば、予約処理部11はそのまま処理を終了する。
要求イベントが連続処理イベントであれば、タイマ13
より現在時刻を読み、連続処理の後方の単一処理部24
の予約処理を開始する。
The reservation processing unit 11 reads the flow type corresponding to the request type from the notification content, reads the continuous processing display area corresponding to the single processing sequence number, and determines whether the request event is continuous processing. If it is the start notification other than the continuous processing event, the reservation processing unit 11 ends the processing as it is.
If the request event is a continuous processing event, the timer 13
More current time is read, and the single processing unit 24 behind the continuous processing
The reservation process of is started.

【0039】予約処理部11は、現在時刻(Tnow )を
起点(TORG )として、連続処理の後方の単一処理部2
4において使用可能な資源(SB )の予約時間を求める
処理を開始する。
The reservation processing section 11 uses the current time (T now ) as a starting point (T ORG ) and the single processing section 2 behind the continuous processing.
To start the process for obtaining the reservation time of the available resources (S B) in 4.

【0040】同種資源に関する全ての状態情報を検索
し、資源の空きを待つ全ての要求イベントの中から、優
先順位情報域19を使用して、優先順位が連続処理より
同等以上の要求イベントを探し出し、それぞれの占有時
間を、関連する単一処理情報域16と資源管理情報域1
7より求め、これらを加算して、待ち時間(tBB)を求
める。
All status information related to the same type of resource is searched, and the request information event having the priority equal to or higher than that of the continuous processing is searched by using the priority order information area 19 from all the request events waiting for the availability of the resource. , The occupation time of each is related to the single processing information area 16 and the resource management information area 1
7 and add them to obtain the waiting time (t BB ).

【0041】次に、関連する単一処理情報域16と資源
管理情報域17より、当該連続処理イベントの占有時間
(tB )を求める。次に、先行予約された他の要求イベ
ントに関する状態情報から、予約開始時刻および予約終
了時刻を検索し、予約の重複による予約待ち時間
(tD )を求める。次に、前方の単一処理部24に関す
る単一処理情報域16から遷移時間(tT )を読出す。
次に、tT ,tBBおよびtDを加算し、保留時間
(tW )を求める。なお、SB に代替え資源があれば、
Wが最小となる資源を選ぶ。
Next, the occupied time (t B ) of the continuous processing event is obtained from the related single processing information area 16 and the resource management information area 17. Next, the reservation start time and the reservation end time are searched from the state information related to the other pre-reserved request event, and the reservation waiting time (t D ) due to the duplication of reservations is obtained. Next, the transition time (t T ) is read from the single processing information area 16 regarding the single processing unit 24 in the front.
Next, t T , t BB, and t D are added to obtain the holding time (t W ). If S B has alternative resources,
Select the resource with the minimum t w .

【0042】起点(TORG )、資源(SA )の占有時間
(tA )、遷移時間(tT )、資源(SB )の待ち時間
(tBB)、予約待ち時間(tD )、処理保留時間
(tW )および規定時間(tL )を用いて次の判定を行
う。
Origin (T ORG ), resource (S A ) occupied time (t A ), transition time (t T ), resource (S B ) waiting time (t BB ), reservation waiting time (t D ), The following determination is performed using the processing hold time (t W ) and the specified time (t L ).

【0043】tL ≧tW の場合には、予約処理部11
は、SB に関する状態情報域に予約情報を登録する予約
登録処理を行い、処理装置2に対して予約処理終了を通
知する。前記予約情報は、予約表示、予約開始時刻(T
BS)および予約終了時刻(TBE)とする。予約開始時刻
は[1]式で求める。
When t L ≧ t W , the reservation processing section 11
Performs a reservation registration process for registering reservation information in the status information area regarding S B , and notifies the processing device 2 of the end of the reservation process. The reservation information includes a reservation display and a reservation start time (T
BS ) and reservation end time (T BE ). The reservation start time is calculated by the formula [1].

【0044】 TBS=TORG +tA +tW ・・・・・[1] ここで、tW =tT +tBB+tD である。T BS = T ORG + t A + t W (1) Here, t W = t T + t BB + t D.

【0045】tL <tW の場合には、予約処理部11
は、規定時間の制約により、前方の単一処理部24に対
して、TORG からtW −tL だけ遅延させた時刻から、
前方の単一処理部24が使用する資源(SA )の予約を
行う必要があるものと判断する。
When t L <t W , the reservation processing section 11
Is a time that is delayed from T ORG by t W −t L with respect to the forward single processing unit 24 due to the restriction of the specified time.
It is determined that it is necessary to reserve the resource (S A ) used by the single processing unit 24 in the front.

【0046】予約処理部11は、TORG からtW −tL
を加えた時刻以降より、関連する単一処理情報域16と
資源管理情報域17より当該連続処理イベントの占有時
間(tA )を求める。次に、SA に関する状態情報か
ら、先行予約された他の要求イベントに関する予約開始
時刻および予約終了時刻を検索し、予約が重複する予約
待ち時間を求め、SA の予約開始時刻(TAS)を求め
る。
The reservation processing section 11 changes from T ORG to t W -t L.
The time (t A ) occupied by the continuous processing event is obtained from the related single processing information area 16 and the resource management information area 17 from the time after the addition of. Next, the reservation start time and the reservation end time for the other pre-reserved request event are searched from the state information about S A , the reservation waiting time when the reservations overlap is obtained, and the reservation start time (T AS ) of S A Ask for.

【0047】次に、状態情報に当該連続処理イベントを
登録し、予約表示、予約開始時刻および予約終了時刻を
設定する。但し、当該連続処理イベントが登録済であれ
ば、予約開始時刻および予約終了時刻のみ再設定する。
Next, the continuous processing event is registered in the status information, and the reservation display, the reservation start time and the reservation end time are set. However, if the continuous processing event is already registered, only the reservation start time and the reservation end time are reset.

【0048】予約処理部11は、TASを起点(TORG
として設定し、後方の単一処理部24において使用可能
な資源(SB )の予約時間を再度求めるために、ケース
1の処理を繰り返す。
The reservation processing section 11 starts from T AS (T ORG ).
Set as, in order to determine the reserved time available resources (S B) again at the rear of a single processing unit 24 repeats the processing of the case 1.

【0049】予約処理部11は、SB またはSA とSB
の予約が終了した時点で、資源予約情報を、処理装置2
に通知して予約処理を終了する。資源予約情報は、要求
種別、予約対象の単一処理順序番号、資源種別、予約開
始時刻および同種資源通番とする。
The reservation processing unit 11 uses S B or S A and S B.
Resource reservation information at the end of the reservation of
And the reservation process ends. The resource reservation information includes a request type, a single processing sequence number of a reservation target, a resource type, a reservation start time, and a similar resource serial number.

【0050】前方の単一処理部24において、連続処理
開始時刻が予約開始時刻より遅れた場合には、予約した
資源(SA ,SB )の状態情報を一旦抹消し、ケース1
の予約処理を再度実施する。
In the front single processing section 24, when the continuous processing start time is delayed from the reservation start time, the status information of the reserved resources (S A , S B ) is once deleted, and the case 1
Re-execute the reservation process of.

【0051】前記ケース2における資源予約管理装置の
作用を次に説明する。
The operation of the resource reservation management device in case 2 will be described below.

【0052】資源予約管理装置は、前方の単一処理部2
4において、連続処理イベントの処理を終了する時点
で、処理装置2から終了通知情報を受け取るものとす
る。終了通知情報は、要求種別、使用資源種別、使用同
種資源通番、イベント識別番号、単一処理順序番号およ
び処理終了通知する。
The resource reservation management device comprises a single processing unit 2 at the front.
In 4, the end notification information is received from the processing device 2 when the processing of the continuous processing event is ended. The end notification information includes a request type, a used resource type, a used same type resource serial number, an event identification number, a single processing sequence number, and a processing end notification.

【0053】予約処理部11は、使用した資源が予約済
のものであれば、予約した資源の状態情報を抹消し、処
理を終了する。
If the used resource has already been reserved, the reservation processing section 11 deletes the status information of the reserved resource and ends the processing.

【0054】前記ケース3における資源予約管理装置の
作用を次に説明する。
The operation of the resource reservation management device in case 3 will be described below.

【0055】連続処理の後方の単一処理部24が、要求
イベントを選択し、資源を確保して処理を開始する時点
で、資源予約管理装置は、処理装置2から要求イベント
の処理開始通知を受け取るものとする。通知情報は、要
求種別、単一処理順序番号、イベント識別番号および処
理開始通知とする。
At the time when the single processing unit 24 behind the continuous processing selects the request event, secures the resource, and starts the processing, the resource reservation management apparatus notifies the processing start notification of the request event from the processing apparatus 2. I shall receive it. The notification information includes a request type, a single processing sequence number, an event identification number, and a processing start notification.

【0056】予約処理部11は、使用される資源の予約
開始時刻が現在時刻より遅れた場合は、遅れた時間を、
処理装置2に通知し、処理を終了する。
If the reservation start time of the resource to be used is behind the current time, the reservation processing unit 11 sets the delayed time to
The processing device 2 is notified, and the process ends.

【0057】前記ケース4における資源予約管理装置の
作用を次に説明する。
The operation of the resource reservation management device in case 4 will be described below.

【0058】資源予約管理装置は、後方の単一処理部2
4で、連続処理イベントの処理を終了する時点で、処理
装置2から終了通知情報を受け取るものとする。終了通
知情報は、要求種別、使用資源種別、使用同種資源通
番、イベント識別番号、単一処理順序番号および処理終
了通知とする。
The resource reservation management device comprises a single processing unit 2 at the rear.
In step 4, the end notification information is received from the processing device 2 when the processing of the continuous processing event is ended. The end notification information includes a request type, a used resource type, a used same type resource serial number, an event identification number, a single processing sequence number, and a processing end notification.

【0059】予約処理部11は、予約した資源の状態情
報を抹消し、処理を終了する。
The reservation processing section 11 deletes the status information of the reserved resource and ends the processing.

【0060】前記ケース5における資源予約管理装置の
作用を次に説明する。
The operation of the resource reservation management device in case 5 will be described below.

【0061】処理装置2は、異常となった要求種別、単
一処理順序番号およびイベント識別番号を資源管理装置
に通知する。予約処理部11は、関連する単一処理種別
域と資源管理情報域17より、資源種別に対応する資源
監視情報域18の中から、該当するイベント識別番号に
相当する状態情報を抹消する。
The processing device 2 notifies the resource management device of the abnormal request type, the single processing sequence number, and the event identification number. The reservation processing unit 11 deletes the status information corresponding to the corresponding event identification number from the resource monitoring information area 18 corresponding to the resource type from the related single processing type area and the resource management information area 17.

【0062】[0062]

【発明の効果】以上説明したように、本発明によれば、
連続処理イベントが、優先制御を可能とする処理装置に
より処理される場合に、本発明による資源管理装置を使
用することにより、システムのあらゆる状況に対応し
て、TATの増加を最小とし、規定時間を確実に保証で
きる連続処理の実現が可能となるため、複雑多様かつ高
い信頼性が要求される各種システムへの適用性が広い。
As described above, according to the present invention,
By using the resource management device according to the present invention, when the continuous processing event is processed by the processing device that enables the priority control, the increase of TAT is minimized and the specified time is satisfied according to any situation of the system. Since it is possible to realize continuous processing that can reliably guarantee the above, it has wide applicability to various systems that require various complexity and high reliability.

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

【図1】本発明の一実施例に係わる資源予約管理装置を
適用したシステムの全体構成を示すブロック図である。
FIG. 1 is a block diagram showing an overall configuration of a system to which a resource reservation management device according to an embodiment of the present invention is applied.

【図2】連続処理に関する資源の予約概念を説明する図
である。
FIG. 2 is a diagram illustrating a resource reservation concept related to continuous processing.

【図3】図1に示す資源予約管理装置の詳細な構成を示
す図である。
FIG. 3 is a diagram showing a detailed configuration of the resource reservation management device shown in FIG.

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

1 資源予約管理装置 2 処理装置 11 予約処理部 12 管理情報記憶部 13 タイマ 21 処理実行部 22 実資源部 24 単一処理部 1 Resource Reservation Management Device 2 Processing Device 11 Reservation Processing Unit 12 Management Information Storage Unit 13 Timer 21 Process Execution Unit 22 Real Resource Unit 24 Single Processing Unit

フロントページの続き (72)発明者 橋本 千里 東京都千代田区内幸町1丁目1番6号 日 本電信電話株式会社内Front Page Continuation (72) Inventor Chisato Hashimoto 1-16, Uchisaiwaicho, Chiyoda-ku, Tokyo Nihon Telegraph and Telephone Corporation

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 種々の要求を処理の最小単位である単一
処理に分割して処理することのできるシステムにおい
て、規定時間の範囲内に当該要求を処理する一連の単一
処理を実行するためにシステム内の資源を予約する機能
を提供する資源予約管理装置であって、 現在時刻を通知するタイマと、 資源予約処理に必要な情報を記憶する管理情報記憶部
と、 当該要求を処理する単一処理の直前の単一処理が資源を
確保して処理を開始する時点で実際に資源を確保し、要
求の処理を行う処理装置から処理開始通知を受け、前記
管理情報記憶部に記憶されている情報から当該要求を処
理する一連の単一処理の1つかどうかを判定し、一連の
単一処理でなければ処理を終了し、一連の単一処理であ
れば、前記管理情報記憶部に記憶されている情報から資
源の空きを待つ全ての処理の中で当該処理より同等以上
の優先順位が設定されている処理の占有時間を求め、こ
れらの総和を優先順位による待ち時間とし、前記管理情
報記憶部に記憶されている情報から取得した直前の単一
処理からの遷移時間および他の要求による予約時間と重
複しない予約可能な時刻までの遅延時間をすべて加算し
保留時間とし、前記保留時間が前記規定時間より同等以
下なら前記タイマより取得した現在時刻と直前の単一処
理の資源占有時間を更に加算して予約開始時刻を算出
し、前記保留時間が前記規定時間より大きいならば、前
記保留時間と前記規定時間との差分に現在時刻を加算し
た時刻に前記管理情報記憶部に記憶されている情報から
取得した直前の単一処理の資源占有時間と他の要求によ
る予約時間と重複しない予約可能な時刻までの遅延時間
を加算した時刻を起点として再度前記予約開始時刻の設
定を行い、当該資源予約情報を前記処理装置へ通知する
とともに前記管理情報記憶部記憶し、 直前の単一処理の処理が終了する時点で前記処理装置か
ら終了通知情報を受け取り、使用した資源が予約済みの
ものであれば、予約した資源の資源予約情報を抹消し、 当該単一処理が資源を確保し処理を開始した時点で前記
処理装置から処理開始通知を受け取り、使用される資源
の予約開始時刻が現在時刻より遅れた場合は遅れた時間
を前記処理装置に通知して、処理を終了し、 当該単一処理が終了した時点で前記処理装置から終了通
知情報を受け取り、予約した資源の資源予約情報を抹消
し、 単一処理の実行中に異常を検出した時点で、該当する処
理の資源予約情報を抹消する予約処理部とを有すること
を特徴とする資源予約管理装置。
1. A system capable of dividing various requests into a single process, which is the minimum unit of processing, and processing the same, in order to execute a series of single processes for processing the requests within a prescribed time range. A resource reservation management device that provides a function for reserving resources in the system, a timer that notifies the current time, a management information storage unit that stores information necessary for resource reservation processing, and a unit that processes the request. When a single process immediately before one process secures the resource and starts the process, the resource is actually secured, and a processing start notification is received from the processing device that processes the request, and is stored in the management information storage unit. It is determined from the stored information whether it is one of a series of single processes for processing the request. If it is not a series of single processes, the process is terminated, and if it is a series of single processes, it is stored in the management information storage unit. Resources from information Among all the processes waiting for the vacancy, the occupation time of the process having a priority equal to or higher than that of the process is calculated, and the sum of these is set as the waiting time according to the priority and stored in the management information storage unit. The transition time from the previous single processing acquired from the information that has been acquired and the delay time up to the reservable time that does not overlap with the reservation time due to other requests are all added as the hold time, and the hold time is equal to or less than the specified time Then, the reservation start time is calculated by further adding the current time acquired from the timer and the resource occupancy time of the immediately preceding single process. If the reservation time is longer than the specified time, the reservation time and the specified time are At the time when the current time is added to the difference of the above, the resource occupancy time of the previous single process acquired from the information stored in the management information storage unit and the reservation time due to another request do not overlap. The reservation start time is set again starting from the time obtained by adding the delay time up to the reservable time, and the resource reservation information is notified to the processing device and stored in the management information storage unit. When the processing ends, the end notification information is received from the processing device, and if the used resource is reserved, the resource reservation information of the reserved resource is deleted, and the single processing secures the resource and executes the processing. When the processing start notification is received from the processing device at the time of starting the processing, and when the reservation start time of the resource to be used is behind the current time, the processing device is notified of the delayed time, and the processing is terminated. When one process ends, the end notification information is received from the processing device, the resource reservation information of the reserved resource is deleted, and when an error is detected during the execution of a single process, the resource of the corresponding process is deleted. Resource reservation management apparatus characterized by having a reservation processing unit that deletes the reservation information.
JP30676792A 1992-11-17 1992-11-17 Resource reservation management device Expired - Fee Related JP3401725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30676792A JP3401725B2 (en) 1992-11-17 1992-11-17 Resource reservation management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30676792A JP3401725B2 (en) 1992-11-17 1992-11-17 Resource reservation management device

Publications (2)

Publication Number Publication Date
JPH06161588A true JPH06161588A (en) 1994-06-07
JP3401725B2 JP3401725B2 (en) 2003-04-28

Family

ID=17961046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30676792A Expired - Fee Related JP3401725B2 (en) 1992-11-17 1992-11-17 Resource reservation management device

Country Status (1)

Country Link
JP (1) JP3401725B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306534A (en) * 2000-04-24 2001-11-02 Ricoh Elemex Corp Apparatus and method for linking networks, and computer-readable recording medium recording program for computer to execute the same method
CN107888639A (en) * 2016-09-30 2018-04-06 电信科学技术研究院 Resource reservation cycle granularity P configuration, instruction and determination method, apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306534A (en) * 2000-04-24 2001-11-02 Ricoh Elemex Corp Apparatus and method for linking networks, and computer-readable recording medium recording program for computer to execute the same method
CN107888639A (en) * 2016-09-30 2018-04-06 电信科学技术研究院 Resource reservation cycle granularity P configuration, instruction and determination method, apparatus
CN107888639B (en) * 2016-09-30 2020-08-04 电信科学技术研究院 Method and device for configuring, indicating and determining resource reservation period granularity P

Also Published As

Publication number Publication date
JP3401725B2 (en) 2003-04-28

Similar Documents

Publication Publication Date Title
EP1538497B1 (en) Distributed real time operating system
US5377352A (en) Method of scheduling tasks with priority to interrupted task locking shared resource
US8892803B2 (en) Interrupt on/off management apparatus and method for multi-core processor
CN111949386A (en) Task scheduling method, system, computing device and readable storage medium
JPH07200323A (en) Method and system for control of ownership of released synchronous mechanism
CN112148480A (en) Task processing method, device and equipment based on multithreading and storage medium
CN112188015A (en) Method and device for processing customer service session request and electronic equipment
CN101189579A (en) Behavioral model based multi-threaded architecture
JPH06161588A (en) Resource reservation managing device
CN111831408A (en) Asynchronous task processing method and device, electronic equipment and medium
US20020010732A1 (en) Parallel processes run scheduling method and device and computer readable medium having a parallel processes run scheduling program recorded thereon
JPH10171667A (en) Task management method
JP3374925B2 (en) Resource reservation management device
CN112596915A (en) Distributed lock scheduling method, device, equipment and medium
US20060277548A1 (en) Task management system
JPH06282448A (en) Shared resource exclusive control system
CN118093214B (en) Handling task scheduling method and device, electronic equipment and storage medium
JPH05289892A (en) Computer system
CN116599911B (en) Data stream scheduling calculation method, device, equipment and readable storage medium
CN116909701A (en) Timing task execution method, device, equipment and medium
CN118519776A (en) CHI protocol-based request retry method and device, electronic equipment and storage medium
CN113641477A (en) Thread scheduling method and device based on Zookeeper
JPH05189390A (en) Transaction scheduling system
JPH11175357A (en) Task management method
US20210397488A1 (en) Time-division multiplexing method and circuit for concurrent access to a computer resource

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees