JPH08278945A - Distributed resource access system - Google Patents

Distributed resource access system

Info

Publication number
JPH08278945A
JPH08278945A JP10690695A JP10690695A JPH08278945A JP H08278945 A JPH08278945 A JP H08278945A JP 10690695 A JP10690695 A JP 10690695A JP 10690695 A JP10690695 A JP 10690695A JP H08278945 A JPH08278945 A JP H08278945A
Authority
JP
Japan
Prior art keywords
information
resource
shared
management
computer
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
JP10690695A
Other languages
Japanese (ja)
Inventor
Rumiko Kakehi
るみ子 筧
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP10690695A priority Critical patent/JPH08278945A/en
Publication of JPH08278945A publication Critical patent/JPH08278945A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To obtain a managing function for necessary shared resources even if management information on the shared resources that individual managing devices have is incomplete over the whole system. CONSTITUTION: In this distributed resource access system where information processors A, B, and C which access resources, the shared resources 3a, 3b, and 3c which are accessed in common by the information processors, and management devices A, B, and C which manage a group of some of the shared resources are arranged on a network 2, each management device is equipped with a communication means 13 which sends and receives messages through the network, a common resource list 15 containing information on the common resource that the device manages and information on other management devices managing other common resources, and a means 14 which generates a message including the information on other corresponding management device on the basis of the shared resource list at a request to access the shared resources managed by other management devices from an information processor; and this message is used to inform the information processor at the request source of the information on the desired shared resource.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はネットワーク上において
種々な情報処理装置によって共有して利用される共有資
源のアクセス方式に関し、特に、共有資源が複数存在
し、これら共有資源を管理する管理装置が複数備えられ
て分散配置されている分散資源アクセスシステムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of accessing a shared resource shared by various information processing devices on a network, and more particularly to a management device for managing a plurality of shared resources. The present invention relates to a distributed resource access system in which a plurality of distributed resource access systems are provided.

【0002】[0002]

【従来の技術】パーソナルコンピュータやワークステー
ション等の複数の情報処理装置がネットワークを介して
相互に接続されている分散システムにおいては、ネット
ワーク上に存在するプリンタやファイル装置等といった
資源が共有されている。このような共有資源を情報処理
装置が効率的に利用するためには、各共有資源を的確に
管理する必要がある。従来より、共有資源の管理方式に
は大きく分けて2通りあり、管理を一箇所の装置で集中
して行う集中管理方式と、管理を複数の装置で分散して
行う分散管理方式とがある。
2. Description of the Related Art In a distributed system in which a plurality of information processing devices such as personal computers and workstations are connected to each other via a network, resources such as printers and file devices existing on the network are shared. . In order for the information processing apparatus to efficiently use such shared resources, it is necessary to manage each shared resource appropriately. Conventionally, there are roughly two types of management methods for shared resources, and there are a centralized management method in which management is centralized by a single device and a distributed management method in which management is distributed among a plurality of devices.

【0003】集中管理方式では、ネットワーク上に設け
たホストコンピュータで全ての共有資源を集中して管理
しており、共有資源を利用しようとする情報処理装置は
必要とする共有資源が何れの装置により管理されている
か等といった情報をホストコンピュータに問い合わせ、
当該情報に基づいて所望の共有資源を利用するようにな
っていた。また、分散管理方式では、それぞれの情報処
理装置に自己が管理する共有資源と他の情報処理装置が
管理する共有資源とに関する管理情報をもたせ、或る情
報処理装置が他の情報処理装置の管理下にある共有資源
を利用しようとする場合には、自己の管理情報に基づい
て当該他の情報処理装置へ共有資源の利用を要求するよ
うになっていた。
In the centralized management system, all shared resources are centrally managed by a host computer provided on the network, and an information processing device that intends to use the shared resources determines which shared resource is required by which device. Ask the host computer for information such as whether it is managed,
The desired shared resource has been used based on the information. Further, in the distributed management method, each information processing device is provided with management information regarding a shared resource managed by itself and a shared resource managed by another information processing device, and one information processing device manages another information processing device. When attempting to use the underlying shared resource, the other information processing apparatus is requested to use the shared resource based on its own management information.

【0004】上記の集中管理方式にあっては管理に関す
る負荷がホストコンピュータに集中して管理処理が遅延
化するという欠点があり、この点からすれば、管理に関
する負荷を各情報処理装置で分担する分散管理方式が優
れている。なお、共有資源の分散管理方式に関しては従
来より種々な発明がなされており、次のようなものが知
られている。特開平6−214683号公報には、共有
資源の安定した利用を可能ならしめるために、或る端末
装置に他の端末装置から自己が管理する資源に対するア
クセス要求があった場合に、当該或る端末装置は要求さ
れた資源が利用可能な状態にあるかを調べ、電源がオフ
となっているような場合には電源をオンさせて他の端末
装置が利用可能な状態にする情報処理システムが記載さ
れている。また、特開平6−96031号公報には、共
有資源の効率的な管理を実現するために、共有資源に対
するアクセス頻度やアクセス特性に基づいて管理方式を
動的に変更し、これによって、共有資源に対するサーバ
が行う処理を変更させる共有資源管理法式が記載されて
いる。
The above-mentioned centralized management system has a drawback that the management load is concentrated on the host computer and the management process is delayed. From this point of view, each information processing device shares the management load. The distributed management method is excellent. Various inventions have been made in the past regarding the distributed management system of shared resources, and the following are known. Japanese Unexamined Patent Publication No. 6-214683 discloses that, in order to enable stable use of a shared resource, a certain terminal device is requested to access a resource managed by itself from another terminal device. The terminal device checks whether the requested resource is available, and if the power is off, the information processing system turns the power on to make it available to other terminal devices. Has been described. Further, in Japanese Patent Application Laid-Open No. 6-96031, in order to realize efficient management of shared resources, the management method is dynamically changed based on the access frequency and access characteristics of the shared resources. The shared resource management formula for changing the processing performed by the server for is described.

【0005】[0005]

【発明が解決しようとする課題】ここで、上記のような
共有資源を分散配置したシステムでは、共有資源の新
設、撤去、管理する情報処理装置の変更等を行った場
合、これら共有資源に関する管理情報を変更する必要が
ある。すなわち、共有資源を新設した場合には当該共有
資源を何れの情報処理装置が管理しているかの管理情報
を追加して新設された共有資源の利用を可能とし、撤去
した場合には当該共有資源が存在しないことを管理情報
に反映させて共有資源の利用における混乱を防止し、管
理装置を変更した場合には当該変更を管理情報に反映さ
せて共有資源の円滑な利用を維持する必要がある。
In the system in which the shared resources are distributed and arranged as described above, when the shared resources are newly installed, removed, or the information processing device to be managed is changed, the management of the shared resources is performed. Information needs to be changed. That is, when a shared resource is newly installed, management information indicating which information processing device is managing the shared resource is added to enable use of the newly created shared resource, and when the shared resource is removed, the shared resource is deleted. It is necessary to prevent the confusion in the use of the shared resource by reflecting the absence of the shared resource in the management information, and when the management device is changed, reflect the change in the management information to maintain the smooth use of the shared resource. .

【0006】このような管理情報の変更は、全ての共有
資源に関する管理情報をホストコンピュータが集中して
保持する集中管理方式では、一箇所の管理情報に変更を
加えるだけであるので比較的容易に行うことができる。
しかしながら、各情報処理装置は他の情報処理装置が管
理する共有資源に関する管理情報も全て保有する分散管
理方式にあっては、管理情報の変更は全ての情報処理装
置に対して行わなければならず、作業が煩雑であるばか
りか、変更のための作業に長時間を要してシステムの稼
働が阻害されてしまうという問題があった。特に、シス
テム構成を柔軟にして上記のような共有資源に関する変
更が頻繁に生ずるような場合には、これら変更に対応す
ることは極めて困難であった。
In the centralized management method in which the host computer centrally holds the management information about all the shared resources, such a change of the management information is relatively easy because the management information is changed only at one place. It can be carried out.
However, in the distributed management method in which each information processing device also holds all management information about shared resources managed by other information processing devices, the management information must be changed for all information processing devices. However, there is a problem that not only the work is complicated but also the work for the change takes a long time and the operation of the system is hindered. In particular, when the system configuration is made flexible and the above-mentioned changes regarding shared resources frequently occur, it is extremely difficult to deal with these changes.

【0007】本発明は上記従来の事情に鑑みなされたも
ので、共有資源に対する分散管理方式の利点を維持しつ
つ、共有資源に関する変更に容易に対処し得る分散資源
アクセスシステムを提供することを目的とする。すなわ
ち、請求項1に記載した発明は、共有資源を管理する各
管理装置の間でメッセージ交換を行うことにより、シス
テム全体にわたっては不完全な管理情報であっても必要
とされる共有資源の管理機能を達成する分散資源アクセ
スシステムを提供することを目的とする。また、請求項
2に記載した発明は、共有資源に関する変更を管理情報
に反映させる分散資源アクセスシステムを提供すること
を目的とする。
The present invention has been made in view of the above conventional circumstances, and an object of the present invention is to provide a distributed resource access system capable of easily coping with changes related to shared resources while maintaining the advantages of the distributed management system for shared resources. And That is, according to the invention described in claim 1, by exchanging messages between the management devices that manage the shared resources, the management of the shared resources required even if the management information is incomplete throughout the system is managed. It is an object to provide a distributed resource access system that achieves a function. It is another object of the present invention to provide a distributed resource access system that reflects changes related to shared resources in management information.

【0008】[0008]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1に記載した分散資源アクセスシステム
は、資源に対するアクセスを行う情報処理装置と、複数
の情報処理装置により共通してアクセスされる複数の共
有資源と、これら共有資源の内の一部のグループを管理
する複数の管理装置と、をネットワーク上に配設した分
散資源アクセスシステムにおいて、前記各管理装置は、
情報処理装置及び他の管理装置との間でネットワークを
介してメッセージの授受を行う通信手段と、自己が管理
しているグループの共有資源の情報と当該グループに含
まれない共有資源を管理する他の管理装置の情報とを格
納した共有資源リストと、情報処理装置からの他の管理
装置が管理する共有資源へのアクセス要求に対して、共
有資源リストに基づいて該当する他の管理装置に関する
情報を含んだメッセージを作成する手段と、を備え、当
該メッセージにより要求元の情報処理装置に所望の共有
資源に関する情報を連絡することを特徴とする。
In order to achieve the above object, a distributed resource access system according to a first aspect of the present invention has an information processing apparatus for accessing a resource and a common access by a plurality of information processing apparatuses. In the distributed resource access system in which a plurality of shared resources and a plurality of management devices that manage some groups of these shared resources are arranged on the network, each management device is
Communication means for exchanging messages with the information processing apparatus and other management apparatus via a network, information on shared resources of a group managed by itself, and shared resources not included in the group A shared resource list storing information on the management device and information about another management device corresponding to the access request from the information processing device to the shared resource managed by the other management device based on the shared resource list. And a means for creating a message containing the message, and informs the information processing apparatus of the request source of information regarding the desired shared resource by the message.

【0009】また、請求項2に記載した分散資源アクセ
スシステムは、請求項1に記載した分散資源アクセスシ
ステムにおいて、各管理装置は、自己が管理する共有資
源に変更が生じた場合に、共有資源リストを当該変更に
対応して書き換える手段を有することを特徴とする。な
お、本発明は、情報処理装置と管理装置と別個な装置と
して構成したシステムばかりではなく、これらを一体化
した装置として構成し、例えばワークステーションのよ
うな計算機が共有資源の利用と管理とをともに行うシス
テムをも包含している。
According to a second aspect of the distributed resource access system of the present invention, in the distributed resource access system of the first aspect, when each management device changes a shared resource managed by itself, the shared resource access system changes. It is characterized in that it has means for rewriting the list corresponding to the change. It should be noted that the present invention is not limited to a system configured as a separate device of an information processing device and a management device, but is configured as a device in which these are integrated, and a computer such as a workstation manages and uses shared resources. It also includes a system that works together.

【0010】[0010]

【作用】請求項1の分散資源アクセスシステムによる
と、ネットワーク上に設けられているプリンタ等の複数
の共有資源は複数の管理装置によって分散して管理され
ている。各管理装置は共有資源リストに自己が管理して
いる共有資源の情報と、自己の管理下にない共有資源に
ついての当該共有資源を管理している(或いは、管理し
ているはずの)他の管理装置の情報を有している。
According to the distributed resource access system of the first aspect, a plurality of shared resources such as printers provided on the network are distributed and managed by a plurality of management devices. Each management device manages (or is supposed to manage) the information about the shared resources that it manages in the shared resource list and the shared resources that are not under its control. It has the information of the management device.

【0011】そして、各管理装置は、情報処理装置から
のアクセス要求に対して、自己の管理下の共有資源につ
いては当該アクセス制御を行うが、自己の管理下にない
共有資源については他の管理手段についての情報を含ん
だメッセージを通信手段を介して返信し、要求元の情報
処理装置に要求対象の共有資源の管理先を連絡する。し
たがって、システム全体での共有資源について各管理装
置が完全な管理情報を有しておらずとも、情報処理装置
はメッセージ交換によって必要な共有資源へアクセスす
ることができる。
In response to an access request from the information processing device, each management device performs the access control for the shared resource under its own control, but other management for the shared resource under its own control. A message including information about the means is returned via the communication means, and the request source information processing apparatus is informed of the management destination of the requested shared resource. Therefore, even if each management device does not have complete management information about the shared resource in the entire system, the information processing device can access the required shared resource by exchanging messages.

【0012】また、請求項2の分散資源アクセスシステ
ムによると、各管理装置は、自己が管理する共有資源が
新設、撤去、他の管理装置への変更が生じた場合に、共
有資源リストを当該変更に対応して書き換える。すなわ
ち、共有資源管理リストはシステム全体にわたって書き
換えずとも一部の管理装置についてのみ行えばよく、シ
ステム全体での共有資源の利用は上記のメッセージ交換
によって維持され、また、各管理装置の共有資源リスト
もメッセージ交換に基づいて正しい内容に書き換えられ
る。
Further, according to the distributed resource access system of claim 2, when the shared resources managed by itself are newly installed, removed, or changed to other managed devices, each management device applies the shared resource list. Rewrite according to changes. That is, the shared resource management list need not be rewritten over the entire system, but only for a part of the management devices, and the shared resource usage in the entire system is maintained by the above message exchange. Is also rewritten to the correct content based on message exchange.

【0013】[0013]

【実施例】以下、本発明の一実施例に係る分散資源アク
セスシステムを図面を参照して説明する。なお、本実施
例のシステムは情報処理装置と管理装置とを計算機とし
て一体化して構成したものであり、計算機が共有資源の
利用と管理とをともに行う。図1に示すように、本実施
例の分散資源アクセスシステムは、例えばワークステー
ションのような複数の計算機A、B、Cとホストコンピ
ュータ1とをネットワーク2を介して相互に接続して構
成されており、各計算機A、B、Cにはプリンタやファ
イル装置等といった共有資源3a、3b、3cが設けら
れている。なお、各計算機A、B、Cには自己のみが利
用する私有資源も設けられるが、説明を簡単化するため
図示を省略してある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A distributed resource access system according to an embodiment of the present invention will be described below with reference to the drawings. The system of this embodiment is configured by integrating an information processing device and a management device as a computer, and the computer both uses and manages shared resources. As shown in FIG. 1, the distributed resource access system of this embodiment is configured by connecting a plurality of computers A, B and C such as workstations and a host computer 1 to each other via a network 2. The computers A, B and C are provided with shared resources 3a, 3b and 3c such as printers and file devices. Note that each computer A, B, C is also provided with a private resource that is used only by itself, but it is omitted in the figure for simplification of explanation.

【0014】本実施例のホストコンピュータ1は主にネ
ットワーク2上での通信を制御するものであり、従来の
集中管理方式のように共有資源の管理を行う役割はもた
されていない。各計算機A、B、Cは本発明でいう情報
処理装置と管理装置とを兼ねたものであり、共有資源の
利用と管理とをともに行う。各計算機A、B、Cは同様
な構成を有しており、その内の計算機Aを代表して説明
すると次のような構成となっている。
The host computer 1 of this embodiment mainly controls communication on the network 2, and does not have a role of managing shared resources as in the conventional centralized management system. Each of the computers A, B, and C serves as both the information processing device and the management device according to the present invention, and both uses and manages the shared resource. Each of the computers A, B, and C has the same configuration, and the computer A of the computers will be described as a representative.

【0015】計算機Aは情報処理装置としての機能部分
と資源の管理装置としての機能部分とを有している。情
報処理装置の機能部分としては、情報処理アプリケーシ
ョン11と、アプリケーション11に基づいて所定の情
報処理を行う制御手段12とを有しており、情報処理ア
プリケーション11に基づいて、例えば文書を作成し、
この文書を印刷出力やファイル保存等するために共有資
源や私有資源を利用する処理を行う。
The computer A has a functional part as an information processing device and a functional part as a resource management device. As a functional part of the information processing device, an information processing application 11 and a control means 12 that performs predetermined information processing based on the application 11 are provided, and for example, a document is created based on the information processing application 11.
This document uses shared resources and private resources to print out and save files.

【0016】また、計算機Aの資源管理装置の機能部分
としては、他の計算機B及びCとネットワーク2を介し
てメッセージの授受を行う通信手段13と、通信手段1
3を介して送信するメッセージを作成するメッセージ作
成手段14と、共有資源に関する管理情報を格納した共
有資源リスト15と、共有リスト15に格納された情報
の書換処理を行う書換手段16と、他の計算機B、Cか
ら受信したアクセス要求を記録する要求記録手段17
と、自己が管理する共有資源3aを制御するサーバ手段
18と、上記各手段を統括して制御する制御手段12と
を有している。
As the functional part of the resource management device of the computer A, the communication means 13 for exchanging messages with other computers B and C via the network 2, and the communication means 1
3, a message creating unit 14 for creating a message to be transmitted via 3, a shared resource list 15 storing management information about shared resources, a rewriting unit 16 for rewriting the information stored in the shared list 15, and other Request recording means 17 for recording the access request received from the computers B and C
And a server means 18 for controlling the shared resource 3a managed by itself, and a control means 12 for integrally controlling the above respective means.

【0017】図2に示すように、共有資源リスト15に
は、複数ある共有資源3a、3b、3cの内の自己が管
理しているグループの共有資源3a及び私有資源の識別
子(ID)と、他の計算機B、Cが管理している共有資
源3b、3c及び私有資源の識別子(ID)とを格納し
ている。すなわち、共有資源リスト15には、計算機A
以外の計算機が管理している資源については、何れの計
算機が管理しているかの情報が格納されている。
As shown in FIG. 2, in the shared resource list 15, the identifiers (IDs) of the shared resources 3a and private resources of the group managed by the self among the plurality of shared resources 3a, 3b, 3c, The shared resources 3b and 3c managed by the other computers B and C and the identifier (ID) of the private resource are stored. That is, in the shared resource list 15, the computer A
For resources managed by other computers, information about which computer is managing is stored.

【0018】メッセージ作成手段14は他の計算機B、
Cへ送信するアクセス要求メッセージ(図3の(a))
及び返信メッセージ(図3の(b))を作成する。これ
らメッセージは宛先情報や発信元情報を含むヘッダ部を
有しており、アクセス要求メッセージのデータ部には利
用を要求する資源のIDについての情報が格納され、返
信メッセージのデータ部にはメッセージの種別を示す種
別フラグ及びアクセス要求に対する許可又は不許可を示
す不可フラグが格納される。また、返信メッセージが資
源の管理先を通知する返信である場合には、そのデータ
部にはアクセス要求に対応する他の計算機示すID情報
が格納される。
The message creating means 14 is another computer B,
Access request message sent to C ((a) in FIG. 3)
And a reply message ((b) in FIG. 3) are created. These messages have a header part containing destination information and sender information, the data part of the access request message stores information about the ID of the resource requested to be used, and the data part of the reply message contains the message A type flag indicating the type and an impossibility flag indicating permission or disapproval for the access request are stored. When the reply message is a reply notifying the resource management destination, the ID information indicating another computer corresponding to the access request is stored in the data part.

【0019】書換手段16は共有資源リスト15に格納
された情報の書き換えを行い、自己の計算機Aが管理し
ている共有資源或いは私有資源に新設等の変更があった
場合や、アクセス要求メッセージに対する返信メッセー
ジにより他の計算機B、Cが管理している資源について
の変更が判明した場合に、共有資源リスト15に格納し
た情報を変更に対応して書き換える。
The rewriting means 16 rewrites the information stored in the shared resource list 15, and when a shared resource or a private resource managed by the computer A of its own is changed such as newly installed or an access request message is received. When the reply message reveals a change in the resources managed by the other computers B and C, the information stored in the shared resource list 15 is rewritten corresponding to the change.

【0020】要求記録手段17には計算機Aが受信した
アクセス要求メッセージが時系列に格納され、この結
果、要求記録手段17は自己の計算機Aに対して他の計
算機B、Cの内の何れの計算機がどのような資源につい
て何時アクセス要求をしてきたかの情報を格納してい
る。サーバ手段18は共有資源3a及び私有資源に所定
の処理を行わせ、計算機Aからの要求或いは他の計算機
B、Cからの許可された要求に基づいて、計算機Aが作
成した文書データ等やネットワーク2を介して他の計算
機B、Cから送られてきた文書データ等を、資源として
のプリンタやファイル装置等に印刷処理や保存処理等を
行わせる。
The access request message received by the computer A is stored in the request recording means 17 in time series, and as a result, the request recording means 17 instructs the computer A of its own to select one of the other computers B and C. It stores information about what kind of resources the computer requested for access and when. The server means 18 causes the shared resources 3a and the private resources to perform a predetermined process, and based on the request from the computer A or the permitted request from the other computers B and C, the document data created by the computer A and the network. The document data and the like sent from the other computers B and C via 2 are made to perform a printing process, a saving process, etc. by a printer or a file device as a resource.

【0021】上記構成の分散資源アクセスシステムによ
る資源利用に関する処理をフローチャートを参照して説
明する。なお、以下の説明においても、計算機Aが他の
計算機へアクセス要求メッセージを送信する場合の処理
と、計算機Aが他の計算機からアクセス要求メッセージ
を受信した場合の処理とを代表して説明し、他の計算機
B、Cについてのこれらの処理は計算機Aの場合と同様
であるので説明を省略する。
A process relating to resource utilization by the distributed resource access system having the above configuration will be described with reference to a flowchart. In the following description, the processing when the computer A sends an access request message to another computer and the processing when the computer A receives an access request message from another computer will be described as a representative. Since these processes for the other computers B and C are the same as those for the computer A, their explanations are omitted.

【0022】図4に示す計算機Aが他の計算機へアクセ
ス要求メッセージを送信する処理では、共有資源リスト
15に格納された他の計算機の1つ1つについて以下の
処理を順次繰り返して行う。この際、資源を探し始めて
から所定の時間を経過して余りにも時間がかかる場合に
は(ステップS1)、ユーザに対して必要な資源が見付
からない旨をディスプレイ表示等して処理を終了する
(ステップS2)。まず、計算機Aが利用を必要とする
資源が自己の管理下にない場合には、制御手段12が共
有資源リスト15を検索してリストの最初にある他の計
算機(例えば、計算機B)が必要とする資源を管理して
いるかを判断する(ステップS3)。
In the process of transmitting the access request message to the other computer by the computer A shown in FIG. 4, the following processes are sequentially repeated for each of the other computers stored in the shared resource list 15. At this time, if it takes too much time after the predetermined time has passed since the search for the resource was started (step S1), a display indicating that the necessary resource cannot be found is displayed to the user, and the process ends ( Step S2). First, when the resource that the computer A needs to use is not under its own control, the control means 12 searches the shared resource list 15 and needs another computer (for example, computer B) at the beginning of the list. It is determined whether the resource to be managed is managed (step S3).

【0023】共有資源リスト15を検索した結果、該当
する他の計算機が特定された場合には、必要とする資源
のID情報を格納したアクセス要求メッセージをメッセ
ージ作成手段12が作成し、このアクセス要求メッセー
ジを通信手段13からネットワーク2を介して当該他の
計算機へ送信する(ステップS4)。一方、該当する他
の計算機が特定されない場合には、繰り返し処理により
共有資源リスト15に載っている他の計算機の全てにア
クセス要求メッセージを送信し終えているかを制御手段
12が判断し(ステップS5)、送信を終了していない
場合には上記ステップS1からの処理を繰り返し行い、
送信を終了している場合には、メッセージ作成手段12
が同様なアクセス要求メッセージを作成し、このアクセ
ス要求メッセージを通信手段13からネットワーク2を
介して任意の他の計算機へ送信する(ステップS6)。
As a result of searching the shared resource list 15, when another corresponding computer is specified, the message creating means 12 creates an access request message in which the ID information of the required resource is stored, and this access request is issued. The message is transmitted from the communication means 13 to the other computer via the network 2 (step S4). On the other hand, if another applicable computer is not specified, the control means 12 determines whether or not the access request message has been transmitted to all the other computers on the shared resource list 15 by the repeated processing (step S5). ), If the transmission is not completed, the process from step S1 is repeated,
When the transmission is completed, the message creating means 12
Creates a similar access request message and transmits this access request message from the communication means 13 to any other computer via the network 2 (step S6).

【0024】なお、任意の計算機へのメッセージの送信
は、他の計算機の共有資源リストに必要とする資源につ
いての情報が格納されていないかを検索するために行わ
れ、他の共有資源リストに該当する情報がある場合に
は、その情報を後述のように変更通知に関する返信メッ
セージによって計算機Aは得ることができる。この送信
処理に際して、制御手段12が要求記録17から同じ資
源について最も最近にアクセス要求メッセージを計算機
Aへ送信してきた計算機を判定し、当該計算機に対して
優先的にメッセージ送信を行う。これは、同じ資源を最
近既に利用したと考えられる計算機はその共有資源リス
トに当該資源を管理している計算機の情報が含まれてい
る可能性が最も高いからであり、この優先送信処理によ
って、必要とする資源を管理している計算機を迅速に割
り出すことができる。
The message is sent to an arbitrary computer in order to search whether the information about the required resource is stored in the shared resource list of another computer. If there is the corresponding information, the computer A can obtain the information by a reply message regarding the change notification as described later. At the time of this transmission processing, the control means 12 determines from the request record 17 the computer which has most recently transmitted the access request message to the computer A for the same resource, and preferentially transmits the message to the computer. This is because the computer that is considered to have already used the same resource most recently has the highest possibility that the shared resource list includes the information of the computer that manages the resource. The computer that manages the required resources can be quickly identified.

【0025】上記のアクセス要求メッセージに対しては
後述するように他の計算機が返信メッセージを返信し、
計算機Aでは返信されてきた返信メッセージを通信手段
13から受信して、その種別フラグ及び不可フラグから
制御手段12が返信メッセージの種別を判断する(ステ
ップS7)。この結果、アクセスを許可する返信メッセ
ージである場合には、アクセスを要求した資源を返信し
てきた他の計算機が管理しているという情報を書換手段
16が共有資源リストに書き込んで(ステップS8)、
当該資源に対して計算機Aがネットワーク2を介してア
クセスする(ステップS9)。
In response to the above access request message, another computer returns a reply message as described later,
The computer A receives the reply message sent back from the communication means 13, and the control means 12 judges the type of the reply message from the type flag and the impossibility flag (step S7). As a result, in the case of a reply message permitting access, the rewriting unit 16 writes information that the resource requesting access is managed by another computer that has returned a reply in the shared resource list (step S8),
The computer A accesses the resource via the network 2 (step S9).

【0026】また、上記の判断の結果、アクセスを許可
しない返信メッセージである場合には、自己の共有資源
リスト15の格納情報が間違っている可能性があるの
で、これを調べ(ステップS10)、リスト上には対象
としている資源を管理する計算機として載っているにも
拘わらず許可されない場合には、共有資源リスト15の
情報が間違っているので削除訂正して(ステップS1
1)、上記ステップS1から次の計算機についての処理
を繰り返し行う。また、上記の判断の結果、返信メッセ
ージの種別が資源の変更に関する通知である場合には、
メッセージのデータ部に含まれたID情報に基づいて、
該当する計算機へアクセス要求メッセージを送信し(ス
テップS12)、上記ステップS7からの処理を繰り返
し行う。
Further, as a result of the above judgment, if the reply message is a message that does not permit access, the stored information in the shared resource list 15 of its own may be incorrect, and this is checked (step S10). If it is not permitted even though it is listed as a computer for managing the target resource on the list, the information in the shared resource list 15 is incorrect, so the deletion is corrected (step S1).
1) From step S1, the process for the next computer is repeated. Further, as a result of the above judgment, when the type of the reply message is the notification regarding the change of the resource,
Based on the ID information included in the data part of the message,
The access request message is transmitted to the corresponding computer (step S12), and the processing from step S7 is repeated.

【0027】すなわち、計算機Aが自己が管理していな
い共有資源に対してアクセスを要求する場合、共有資源
リスト15に該当する他の計算機の情報があるときに
は、その計算機へアクセス要求メッセージを送信する。
また、共有資源リスト15に該当する他の計算機の情報
がないときには、計算機Aは任意の計算機(本実施例で
は可能性の高い計算機)へアクセス要求メッセージを送
信し、その返信メッセージによって必要とする共有資源
の管理先を知ることができる。したがって、計算機Aの
共有管理リスト15がシステム全体の共有資源の管理先
について完全な情報を含んでいなくとも、他の計算機と
のメッセージ交換によって必要とする共有資源へアクセ
スすることができる。
That is, when the computer A requests access to a shared resource that is not managed by itself, when there is information on another computer corresponding to the shared resource list 15, an access request message is sent to that computer. .
When there is no other computer information corresponding to the shared resource list 15, the computer A sends an access request message to an arbitrary computer (a computer that has a high possibility in this embodiment), and the reply message is required. You can know the management destination of shared resources. Therefore, even if the shared management list 15 of the computer A does not include complete information about the management destination of the shared resources of the entire system, it is possible to access the required shared resources by exchanging messages with other computers.

【0028】次に、図5に示す計算機Aが他の計算機か
らアクセス要求メッセージを受信した場合の処理では、
制御手段12がアクセス要求メッセージのデータ部に格
納されている資源IDに基づいて共有資源リスト15を
調べ、当該資源を自己が管理しているかを判断する(ス
テップS21)。この結果、管理下にあり且つ許可可能
な場合には、不可フラグでアクセス許可を示す返信メッ
セージをメッセージ作成手段14が作成して発信元の計
算機へ通信手段13から送信する(ステップS22)。
Next, in the processing when the computer A shown in FIG. 5 receives an access request message from another computer,
The control means 12 checks the shared resource list 15 based on the resource ID stored in the data part of the access request message, and determines whether or not the resource is managed by itself (step S21). As a result, if the message is under management and can be permitted, the message creating means 14 creates a reply message indicating access permission with an unusable flag, and sends it from the communication means 13 to the sender computer (step S22).

【0029】一方、要求された資源が管理下にない場合
には、制御手段12が要求されている資源IDに基づい
て共有資源リスト15を調べ、共有リスト15の他の計
算機に関する情報中に当該資源を管理している計算機が
あるかを調べる(ステップS23)。この結果、該当す
る他の計算機の情報がある場合には、メッセージ作成手
段14が当該計算機のIDを含んだ通知種別の返信メッ
セージを作成し、通信手段13から発信元の計算機へ送
信する(ステップS24)。この返信メッセージを受信
した発信元の計算機は、上記のように必要とする資源の
管理先を知ることができ、該当する計算機へ再度アクセ
ス要求メッセージを送信して必要とする資源へのアクセ
スを行う。
On the other hand, if the requested resource is not under control, the control means 12 checks the shared resource list 15 based on the requested resource ID, and the shared resource list 15 contains the relevant information in the information about other computers. It is checked whether there is a computer that manages the resources (step S23). As a result, if there is information on another applicable computer, the message creating means 14 creates a reply message of the notification type including the ID of the computer, and sends it from the communication means 13 to the originating computer (step). S24). The source computer that receives this reply message can know the management destination of the required resource as described above, and sends the access request message to the relevant computer again to access the required resource. .

【0030】また、上記の判断の結果、該当する他の計
算機の情報がない場合には、メッセージ作成手段14が
不可フラグでアクセス不許可を示す返信メッセージを作
成し、通信手段13から発信元の計算機へ送信する(ス
テップS25)。この返信メッセージを受信した発信元
の計算機は、上記のように必要とする資源の管理先を知
るために任意の計算機へ再度アクセス要求メッセージを
送信し、幾度かのメッセージ交換によって該当する管理
先を知って必要とする資源へのアクセスを行う。
Further, as a result of the above judgment, if there is no information on the other computer concerned, the message creating means 14 creates a reply message indicating the access is not permitted by the disable flag, and the communication means 13 sends the reply message. It is transmitted to the computer (step S25). The source computer that received this reply message sends an access request message again to any computer in order to know the management destination of the required resource as described above, and the corresponding management destination is exchanged several times. Access the resources you need to know.

【0031】なお、上記の実施例では、計算機に情報処
理装置の機能と資源管理装置の機能とを合わせ持たせた
が、これらの機能をそれぞれ別個の情報管理装置と管理
装置とで構成してネットワークに接続し、情報管理装置
と管理装置との間でメッセージ交換を行うようにしても
よい。また、上記の実施例では、共有資源リストにおい
て資源を資源IDで識別したが、資源の形式等について
融通性がある場合等では、共有資源リストには資源をプ
リンタ、ファイル装置等といった種類で示し、必要とす
る主対の資源を管理している管理先をメッセージ交換に
よって探し出すようにしてもよい。
In the above embodiment, the computer has both the function of the information processing device and the function of the resource management device, but these functions are configured by separate information management devices and management devices. You may make it connect to a network and exchange messages between an information management apparatus and a management apparatus. Further, in the above embodiment, the resource is identified by the resource ID in the shared resource list. However, when the resource format is flexible, the shared resource list indicates the resource by a type such as a printer or a file device. Alternatively, a management destination that manages the required main pair of resources may be searched for by message exchange.

【0032】また、上記実施例では、計算機が1対1で
メッセージ交換を行ったが、幾つかの計算機をまとめて
グループ化し、これらグループ間でメッセージ交換をす
るようにしてネットワークにかかる負荷を軽減するよう
にしてもよい。また、上記の実施例では、交換されるメ
ッセージには必要とされる最低限の情報を含めるように
したが、アクセス要求メッセージや返信メッセージに自
己の共有資源リストを添付して送信して、計算機間での
共有資源リストの内容をより整合化させるようにしても
よい。
In the above embodiment, the computers exchange messages one-to-one, but some computers are grouped together and messages are exchanged between these groups to reduce the load on the network. You may do it. Further, in the above-described embodiment, the exchanged message is configured to include the minimum necessary information, but the shared resource list of the user is attached to the access request message and the reply message to be transmitted to the computer. The contents of the shared resource list between the two may be made more consistent.

【0033】[0033]

【発明の効果】以上説明したように、請求項1の分散資
源アクセスシステムによると、メッセージ交換により要
求元の情報処理装置に所望の共有資源に関する情報を連
絡するようにしたため、共有資源の変更等によって各管
理装置が把握している資源に関する情報がシステム全体
にわたっては不完全な管理情報となっても、必要とされ
る共有資源の管理機能を確実に達成することができ、共
有資源に対する分散管理方式の利点を維持しつつ、共有
資源に関する変更に容易に対処できる分散資源アクセス
システムが実現される。また、請求項2に記載した分散
資源アクセスシステムによると、共有資源リストの内容
を書換可能としたため、上記の効果に加えて、共有資源
に関する情報変更が生じた場合に、システム全体で当該
変更に迅速に対応した処理を実現することができる。
As described above, according to the distributed resource access system of claim 1, since the information processing apparatus of the request source is notified of the information regarding the desired shared resource by message exchange, the shared resource is changed. Even if the information about the resources grasped by each management device becomes incomplete management information over the entire system, the required shared resource management function can be reliably achieved, and distributed management of shared resources is possible. A distributed resource access system is realized which can easily cope with changes regarding shared resources while maintaining the advantages of the scheme. Further, according to the distributed resource access system described in claim 2, since the contents of the shared resource list can be rewritten, in addition to the above effect, when the information about the shared resource is changed, the change is made to the entire system. It is possible to quickly realize the corresponding processing.

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

【図1】 本発明の一実施例に係る分散資源アクセスシ
ステムの構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a distributed resource access system according to an exemplary embodiment of the present invention.

【図2】 本発明の一実施例に係る共有資源リストの構
成を示す概念図である。
FIG. 2 is a conceptual diagram showing a configuration of a shared resource list according to an embodiment of the present invention.

【図3】 本発明の一実施例に係るメッセージに構造を
示す概念図であり、(a)はアクセス要求メッセージ、
(b)は返信メッセージである。
FIG. 3 is a conceptual diagram showing a structure of a message according to an embodiment of the present invention, in which (a) is an access request message,
(B) is a reply message.

【図4】 アクセス要求メッセージの送信側の処理に係
るフローチャートである。
FIG. 4 is a flowchart relating to processing on the transmission side of an access request message.

【図5】 アクセス要求メッセージの受信側の処理に係
るフローチャートである。
FIG. 5 is a flowchart of processing on the reception side of an access request message.

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

2・・・ネットワーク、 3a、3b、3c・・・共有
資源、13・・・通信手段、 14・・・メッセージ作
成手段、15・・・共有資源リスト、 16・・・書換
手段、A、B、C・・・計算機(情報処理装置、管理装
置)、
2 ... Network, 3a, 3b, 3c ... Shared resources, 13 ... Communication means, 14 ... Message creating means, 15 ... Shared resource list, 16 ... Rewriting means, A, B , C ... Computer (information processing device, management device),

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 資源に対するアクセスを行う情報処理装
置と、複数の情報処理装置により共通してアクセスされ
る複数の共有資源と、これら共有資源の内の一部のグル
ープを管理する複数の管理装置と、をネットワーク上に
配設した分散資源アクセスシステムにおいて、前記各管
理装置は、 情報処理装置及び他の管理装置との間でネットワークを
介してメッセージの授受を行う通信手段と、 自己が管理しているグループの共有資源の情報と当該グ
ループに含まれない共有資源を管理する他の管理装置の
情報とを格納した共有資源リストと、 情報処理装置からの他の管理装置が管理する共有資源へ
のアクセス要求に対して、共有資源リストに基づいて該
当する他の管理装置に関する情報を含んだメッセージを
作成する手段と、を備え、 当該メッセージにより要求元の情報処理装置に所望の共
有資源に関する情報を連絡することを特徴とする分散資
源アクセスシステム。
1. An information processing apparatus for accessing a resource, a plurality of shared resources commonly accessed by a plurality of information processing apparatuses, and a plurality of management apparatuses for managing some groups of these shared resources. In the distributed resource access system arranged on the network, each management device has a communication means for exchanging messages with the information processing device and another management device via the network, and A shared resource list that stores information on shared resources of a group and information on other management devices that manage shared resources not included in the group, and from the information processing device to a shared resource managed by another management device. And a means for creating a message containing information about other corresponding management apparatus based on the shared resource list, in response to the access request of Distributed resource access system characterized by communicating information regarding the desired shared resource to the requesting information processing apparatus by sage.
【請求項2】 請求項1に記載の分散資源アクセスシス
テムにおいて、 各管理装置は、自己が管理する共有資源に変更が生じた
場合に、共有資源リストを当該変更に対応して書き換え
る手段を有することを特徴とする分散資源アクセスシス
テム。
2. The distributed resource access system according to claim 1, wherein each management device has means for rewriting the shared resource list in response to the change when the shared resource managed by itself changes. A distributed resource access system characterized by the following.
JP10690695A 1995-04-06 1995-04-06 Distributed resource access system Pending JPH08278945A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10690695A JPH08278945A (en) 1995-04-06 1995-04-06 Distributed resource access system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10690695A JPH08278945A (en) 1995-04-06 1995-04-06 Distributed resource access system

Publications (1)

Publication Number Publication Date
JPH08278945A true JPH08278945A (en) 1996-10-22

Family

ID=14445502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10690695A Pending JPH08278945A (en) 1995-04-06 1995-04-06 Distributed resource access system

Country Status (1)

Country Link
JP (1) JPH08278945A (en)

Similar Documents

Publication Publication Date Title
US5862404A (en) Network device discovery and status information distribution using independent information distribution processes
US7404201B2 (en) Data distribution server
JP2002063008A (en) Printer user limiting system
JP2002103743A (en) Printing system
US20080252925A1 (en) Communication apparatus, network system, communication method and program
JPH09248951A (en) Printing controlling apparatus and printing system
JPH0934660A (en) Information processor
JPH08278945A (en) Distributed resource access system
JPS63289657A (en) Common file access system
KR100325816B1 (en) Method for printing in network printer
JPH10116165A (en) Network print system
JP4136265B2 (en) Printing apparatus and printing control method in printing apparatus
JPH09153012A (en) Multimedia communication system
JP2000250726A (en) Printing system, printing server therefor and database server
JP2752696B2 (en) Printer control method under network environment
JP2006338624A (en) Server access control system, server access control method and server access control program
JPH07262205A (en) Data base access substitution device
JPH10275063A (en) Low-load communication printer
JPH09167129A (en) Network system
JP2002055795A (en) Print managing apparatus and method for controlling the same and storage medium
JP2000003259A (en) Lan system and digital copying machine management server
JPH10177510A (en) Client server system
JP2000172462A (en) Schedule data base linked print system
JP2005215903A (en) Information processing system
JP2002251312A (en) Communication proxy device