JPS63211439A - Resources managing system - Google Patents

Resources managing system

Info

Publication number
JPS63211439A
JPS63211439A JP4589487A JP4589487A JPS63211439A JP S63211439 A JPS63211439 A JP S63211439A JP 4589487 A JP4589487 A JP 4589487A JP 4589487 A JP4589487 A JP 4589487A JP S63211439 A JPS63211439 A JP S63211439A
Authority
JP
Japan
Prior art keywords
resources
resource
holding memory
type
arithmetic circuit
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
JP4589487A
Other languages
Japanese (ja)
Inventor
Yoshimi Hiwatari
樋渡 義見
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4589487A priority Critical patent/JPS63211439A/en
Publication of JPS63211439A publication Critical patent/JPS63211439A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/503Resource availability

Abstract

PURPOSE:To evade a useless consumption of the time to be used for a central processor by deciding beforehand whether all kinds of resources required can be caught or not, before starting a catch processing of resources, when a processing request for necessitating plural kinds of resources is generated. CONSTITUTION:A readable/writable resources state holding memory 1 of an exclusive device for taking charge of a resources management holds an idle or occupied state of resources, an arithmetic circuit 2 calculates whether one piece or more of idle resources exist or not at every kind of resources, based on the contents held by the resources state holding memory 1, and a readable/ writable calculation result holding memory 3 holds the result of calculation by the arithmetic circuit 2 at every kind of resources. In such a state, when a processing request for necessitating plural kinds of resources is generated, a catch processing of resources, which goes to ineffective is evaded by deciding beforehand whether all resources required can be caught or not. In such a way, a useless consumption of the time to be used a central processor of an information processor 4 can be prevented.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は資源管理方式に関し、特に複数の資源を有し任
意の処理要求が発生したときに同じ種類の資源を高々1
個使用しかつ異なる複数種類の資源を同時に使用するこ
とのある情報処理システムにおける資源管理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a resource management system, and in particular, when a plurality of resources are present and an arbitrary processing request occurs, the present invention deals with a resource management system that uses at most one resource of the same type when a given processing request occurs.
The present invention relates to a resource management method in an information processing system in which a plurality of different types of resources are used simultaneously.

〔従来の技術〕[Conventional technology]

従来、この種の資源管理方式では、情報処理装置内のメ
モリの一部を使用して資源の空きまたは塞りの表示を行
い、プログラム論理で資源の空きまたは塞りの判断と資
源の捕捉または解放処理とを行っていた。
Conventionally, in this type of resource management method, a part of the memory in the information processing device is used to display whether the resource is free or occupied, and program logic is used to determine whether the resource is free or occupied and to acquire or capture the resource. The release process was being carried out.

第2図は、従来の資源管理方式によりメモリ上で資源の
状態を表示する方法の一例を示す図である。第2図にお
いて、列番号は資源の種類を表し、行番号は資源の種類
内での一連番号を表す。列番号と行番号とが交差する点
の値が“0”であれば資源が使用中であることを示し、
“1”であれば資源が空いていることを示す。
FIG. 2 is a diagram illustrating an example of a method for displaying resource status on memory using a conventional resource management method. In FIG. 2, the column number represents the type of resource, and the row number represents the serial number within the type of resource. If the value at the intersection of the column number and row number is "0", it indicates that the resource is in use,
If it is “1”, it indicates that the resource is free.

また、第3図は、従来の資源管理方式により資源の捕捉
処理を行うプログラム論理の一例を示す流れ図である。
Further, FIG. 3 is a flowchart showing an example of program logic for performing a resource capture process using a conventional resource management method.

例えば、第2図に示す資源の状態において資源の種類1
,2.4およびnを必要とする処理要求が発生したとき
の資源の捕捉手順は、資源の種R1,2および4につい
ては空きの資源があるので捕捉はそれぞれ成功する(ス
テップA。
For example, in the resource state shown in Figure 2, resource type 1
, 2.4, and n occur, the resource acquisition procedure is successful for resource types R1, 2, and 4 because there are free resources (step A).

BおよびC)0次に、資源の種類nについては全ての資
源が使用中であるので捕捉は失敗する(ステップD)、
したがって、さらに一旦捕捉された種類4.2および1
の資源の解放がそれぞれ行われる(ステップE、 Fお
よびG)。
B and C) 0 Then, for resource type n, acquisition fails because all resources are in use (step D);
Therefore, in addition, once captured types 4.2 and 1
(steps E, F and G).

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の資源管理方式は、資源の種類ごとに捕捉
処理を順次行うようになっており、いくつかの種類の資
源の捕捉に成功した後に次に捕捉すべき種類の資源の捕
捉に失敗したときにはそれまでに捕捉した資源を解放す
ることが必要となるので、1種類でも全く空きがない種
類の資源があると先行して行われた資源の捕捉処理が全
て無効になるとともに、一旦捕捉した資源の解放処理も
行わなければならず、情報処理装置の中央処理装置使用
時間を無駄に消費してしまうという欠点がある。
In the conventional resource management method described above, capture processing is performed sequentially for each type of resource, and after successfully capturing several types of resources, it may fail to capture the next type of resource. Sometimes it is necessary to release the resources that have been captured up to that point, so if there is even one type of resource that has no free space, all previous resource capture processing will be invalidated, and the resource that was once captured will be invalidated. Resource release processing must also be performed, which has the drawback of wasting the use time of the central processing unit of the information processing device.

本発明の目的は、上述の点に鑑み、複数種類の資源を必
要とする処理要求が発生したときに資源の捕捉処理を開
始する前に必要とされる全ての種類の資源を捕捉可能か
否かを事前に判断することにより、情報処理装置の中央
処理装置使用時間の無駄な消費を未然に回避することが
できるようにした資源管理方式を提供することにある。
In view of the above-mentioned points, it is an object of the present invention to check whether all required types of resources can be acquired before starting resource acquisition processing when a processing request requiring multiple types of resources occurs. An object of the present invention is to provide a resource management method that can prevent wasteful consumption of the central processing unit usage time of an information processing device by determining in advance whether or not the central processing unit of an information processing device is used.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の資源管理方式は、複数の資源を有し任意の処理
要求が発生したときに同じ種類の資源を高々1個使用し
かつ異なる複数種類の資源を使用することのある情報処
理システムにおいて、資源管理を司る専用の装置が設け
られ、この装置が、資源の空きまたは塞りの状態を保持
する読み書き可能な資源状態保持メモリと、この資源状
態保持メモリに保持された内容に基づいて資源の種類ご
とに資源の空きが1個以上あるか否かを演算する演算回
路と、この演算回路による演算結果を資源の種類ごとに
保持する読み書き可能な演算結果保持メモリとを有する
The resource management method of the present invention is applicable to an information processing system that has a plurality of resources and may use at most one resource of the same type and multiple different types of resources when a given processing request occurs. A dedicated device for resource management is provided, and this device has a read/write resource status memory that maintains the free or occupied status of the resource, and a resource status memory based on the contents held in this resource status memory. It has an arithmetic circuit that calculates whether there is one or more available resources for each type, and a read/write arithmetic result holding memory that holds the arithmetic results of the arithmetic circuit for each resource type.

〔作用〕[Effect]

本発明の資源管理方式では、資源管理を司る専用の装置
の読み書き可能な資源状態保持メモリが資源の空きまた
は塞りの状態を保持し、演算回路が資源状態保持メモリ
に保持された内容に基づいて資源の種類ごとに資源の空
きが1個以上あるか否かを演算し、読み書き可能な演算
結果保持メモリが演算回路による演算結果を資源の種類
ごとに保持する。
In the resource management method of the present invention, a read/write resource state holding memory of a dedicated device for resource management maintains the status of resources as free or occupied, and an arithmetic circuit is based on the contents held in the resource state holding memory. It is calculated whether there is one or more free resources for each resource type, and the read/write operation result holding memory holds the calculation results by the arithmetic circuit for each resource type.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例の資源管理方式が適用され
た情報処理システムを示すブロック図である。この情報
処理システムでは、情報処理装置4とは別に資源管理を
司る専用の装置(以下、資源管理装置と称する)5が設
けられており、この資源管理装置5は、列番号が資源の
種類に対応し行番号が資源の種類内の一連番号に対応す
る資源状態保持メモ°す1と、資源状態保持メモリ1の
全ての列番号に対して行番号方向に論理和の演算を行う
演算回路2と、演算回路2による演算結果を列番号ごと
に保持する演算結果保持メモリ3とを含んで構成されて
いる。
FIG. 1 is a block diagram showing an information processing system to which a resource management method according to an embodiment of the present invention is applied. In this information processing system, apart from the information processing device 4, a dedicated device (hereinafter referred to as a resource management device) 5 for managing resources is provided. A resource state holding memory 1 whose corresponding row number corresponds to the serial number within the resource type, and an arithmetic circuit 2 that performs an OR operation in the row number direction for all column numbers of the resource state holding memory 1. and an arithmetic result holding memory 3 that holds the arithmetic results of the arithmetic circuit 2 for each column number.

次に、このように構成された本実施例の資源管理方式の
動作について説明する。
Next, the operation of the resource management system of this embodiment configured as described above will be explained.

第1図の状態において種類1,2.3.’4およびnの
資源に着目すると、資源管理装置5の演算結果保持メモ
リ3には、演算回路2により資源状態保持メモリ1の全
ての列番号に対して行番号方向に論理和の演算を行った
結果が列番号ごとに保持されている。例えば、演算結果
保持メモリ3には、種fil、  2. 3および4に
ついては1個以上の空き資源があり、種1inについて
は空き資源がないことが表示されている。
In the state shown in FIG. 1, type 1, 2.3. Focusing on resources '4 and n, the arithmetic circuit 2 performs a logical OR operation on all column numbers of the resource status memory 1 in the row number direction in the arithmetic result holding memory 3 of the resource management device 5. The results are stored for each column number. For example, the calculation result holding memory 3 includes seeds fil, 2. It is displayed that there is one or more free resource for seeds 3 and 4, and that there is no free resource for seed 1 inch.

この状態から情報処理装置4内で資源の種類1゜2.4
およびnを必要とする処理要求が発生すると、情報処理
装置4は資源管理装置5の演算結果保持メモリ3の内容
を読み込み、種類nの資源に空きがないことを事前に判
断して資源の捕捉処理を行わない、これにより、無効と
なる資源の捕捉処理が未然に回避され、情報処理装置4
において中央処理装置が無駄に使用されない。
From this state, in the information processing device 4, the resource type 1゜2.4
When a processing request that requires n and n is generated, the information processing device 4 reads the contents of the calculation result holding memory 3 of the resource management device 5, determines in advance that there is no free space for resources of type n, and acquires the resource. No processing is performed. This prevents the capture processing of invalid resources, and the information processing device 4
The central processing unit is not used unnecessarily.

次に、情報処理装置4内で資源の種[1および4を必要
とする処理要求が発生すると、情報処理装置4は演算結
果保持メモリ3の内容を読み込み、いずれの資源1およ
び4にも空きがあることを判断し、資源状態保持メモリ
1の列番号1を行番号方向に走査し、最初に値“l”を
持つ行番号の位置を知り、該当位置の値を“0”とする
ことにより種類1の資源の捕捉を行う。また同様に、資
源状態保持メモリ10列番号4を行番号方向に走査し、
最初に“1”の値を持つ行番号の位置を知り、該当位置
の値を“O”とすることにより種類4の資源の捕捉を行
う。
Next, when a processing request that requires the resource types [1 and 4 occurs in the information processing device 4, the information processing device 4 reads the contents of the calculation result holding memory 3, and all resources 1 and 4 have free space. 1, scan column number 1 of the resource status holding memory 1 in the row number direction, find out the position of the row number that has the value "l" first, and set the value of the corresponding position to "0". Captures type 1 resources. Similarly, the resource status holding memory 10 column number 4 is scanned in the row number direction,
First, the position of the line number having the value "1" is known, and the value of the corresponding position is set to "O", thereby capturing the resource of type 4.

情報処理装置4内で資源が不要となったときには、情報
処理装置4は、資源の捕捉時に記憶しておいた該当資源
の列番号および行番号に基づいて資源状態保持メモリ1
の該当位置の値“1゛とすることにより該当資源の解放
を行う。
When a resource is no longer needed within the information processing device 4, the information processing device 4 stores the resource status holding memory 1 based on the column number and row number of the relevant resource stored at the time of acquiring the resource.
The corresponding resource is released by setting the value of the corresponding position to "1".

なお、演算回路2は、資源状態保持メモリ1の内容が書
き換えられた時点で演算を行い、演算結果保持メモリ3
の内容を最新の状態を示すように更新する。
Note that the arithmetic circuit 2 performs an operation when the contents of the resource state holding memory 1 are rewritten, and stores the operation result holding memory 3.
Update the contents to show the latest status.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、資源の空きまたは塞りの
状態を保持する続み書き可能な資源状態保持メモリと、
資源状態保持メモリに保持された内容に基づいて資源の
種類ごとに資源の空きが1個以上あるか否かを演算する
演算回路と、演算回路による演算結果を資源の種類ごと
に保持する読み書き可能な演算結果保持メモリとを含む
資源管理装置を情報処理装置とは別に設けることにより
、複数種類の資源を必要とする処理要求が発生したとき
に必要とする全ての資源の捕捉が可能か否かを事前に判
断して無効となる資源の捕捉処理を未然に回避すること
ができ、情報処理装置の中央処理装置使用時間の無駄な
消費を防止することができるという効果がある。
As explained above, the present invention provides a resource status holding memory that can continue writing and holds the status of resources as free or occupied;
A calculation circuit that calculates whether there is one or more free resources for each type of resource based on the contents held in the resource status storage memory, and a read/write function that stores the calculation results of the calculation circuit for each type of resource. Is it possible to acquire all the necessary resources when a processing request that requires multiple types of resources occurs by providing a resource management device that includes a memory for holding calculation results separately from the information processing device? This has the advantage that it is possible to avoid the process of acquiring invalid resources by determining this in advance, and it is possible to prevent unnecessary consumption of the central processing unit usage time of the information processing apparatus.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロック図、第2図は
従来の資源管理方式により情報処理装置内のメモリ上で
資源状態の表示を行う一例を示す図、 第3図は従来の資源管理方式により資源を捕捉するプロ
グラム論理の一例を示す流れ図である。 図において、 1・・・資源状態保持メモリ、・ 2・・・演算回路、 3・・・演算結果保持メモリ、 4・・・情報処理装置、 5・・・資源管理装置である。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing an example of displaying resource status on the memory in an information processing device using a conventional resource management method, and FIG. 2 is a flow diagram illustrating an example of program logic for capturing resources according to a resource management scheme. In the figure, 1... resource state holding memory, 2... arithmetic circuit, 3... arithmetic result holding memory, 4... information processing device, 5... resource management device.

Claims (1)

【特許請求の範囲】 複数の資源を有し任意の処理要求が発生したときに同じ
種類の資源を高々1個使用しかつ異なる複数種類の資源
を同時に使用することのある情報処理システムにおいて
、 資源管理を司る専用の装置が設けられ、この装置が、 資源の空きまたは塞りの状態を保持する読み書き可能な
資源状態保持メモリと、 この資源状態保持メモリに保持された内容に基づいて資
源の種類ごとに資源の空きが1個以上あるか否かを演算
する演算回路と、 この演算回路による演算結果を資源の種類ごとに保持す
る読み書き可能な演算結果保持メモリと、を有すること
を特徴とする資源管理方式。
[Claims] In an information processing system that has a plurality of resources and may use at most one resource of the same type and simultaneously use multiple different types of resources when an arbitrary processing request occurs, A dedicated device for management is provided, and this device has a read/write resource status memory that maintains the status of resources as free or occupied, and determines the type of resource based on the contents held in this resource status memory. The invention is characterized by having an arithmetic circuit that calculates whether there is one or more free resources for each resource, and a read/write arithmetic result holding memory that holds the arithmetic results of the arithmetic circuit for each type of resource. Resource management method.
JP4589487A 1987-02-27 1987-02-27 Resources managing system Pending JPS63211439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4589487A JPS63211439A (en) 1987-02-27 1987-02-27 Resources managing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4589487A JPS63211439A (en) 1987-02-27 1987-02-27 Resources managing system

Publications (1)

Publication Number Publication Date
JPS63211439A true JPS63211439A (en) 1988-09-02

Family

ID=12731948

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4589487A Pending JPS63211439A (en) 1987-02-27 1987-02-27 Resources managing system

Country Status (1)

Country Link
JP (1) JPS63211439A (en)

Similar Documents

Publication Publication Date Title
US20070028240A1 (en) Information processing method and information processing apparatus for processing a plurality of threads
WO2019085598A1 (en) Method and apparatus for calculating above-the-fold rendering duration of page, and electronic device
EP0365728B1 (en) Resource access for a multiprocessing computer system
JP2001311692A (en) Apparatus and method for visual inspection
JP3724001B2 (en) Information processing device
JP3358759B2 (en) Data trace method for programmable controller
CN112328602A (en) Method, device and equipment for writing data into Kafka
JPS63211439A (en) Resources managing system
CN111796571A (en) Equipment fault detection method and device, computer equipment and storage medium
JPH0656583B2 (en) Resource management method
JPS626295A (en) Crt screen cyclic display system
JP2002074336A (en) Device and method for inspecting picture processing
CN110633147B (en) Method and device for managing process of operating system
CN112699124B (en) Circulating storage method and system based on distributed multi-storage service
JP2798364B2 (en) Application evaluation method and system
CN109241066B (en) Request processing method and device
JPH09259062A (en) Network management method
JPH0581049A (en) Time management system for memory
JPS62237558A (en) Initialization control system for shared memory
JPH07175641A (en) Distributed program development integration update managing system
CN114496142A (en) Picture marking distribution method, device and system and storage medium
JPH0527862A (en) Date take-out system
JP2907665B2 (en) Acquisition storage area management method
CN117170697A (en) Display interface updating method and device, storage medium and electronic equipment
CN116991525A (en) Data display method, device, computer equipment and storage medium