JP3183398B2 - Resource configuration information management method - Google Patents

Resource configuration information management method

Info

Publication number
JP3183398B2
JP3183398B2 JP04878598A JP4878598A JP3183398B2 JP 3183398 B2 JP3183398 B2 JP 3183398B2 JP 04878598 A JP04878598 A JP 04878598A JP 4878598 A JP4878598 A JP 4878598A JP 3183398 B2 JP3183398 B2 JP 3183398B2
Authority
JP
Japan
Prior art keywords
resource
configuration information
information
resource configuration
hardware
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.)
Expired - Fee Related
Application number
JP04878598A
Other languages
Japanese (ja)
Other versions
JPH11232141A (en
Inventor
俊一 北村
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 JP04878598A priority Critical patent/JP3183398B2/en
Publication of JPH11232141A publication Critical patent/JPH11232141A/en
Application granted granted Critical
Publication of JP3183398B2 publication Critical patent/JP3183398B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は資源構成情報管理方
式に関し、特にデータ処理装置に接続されているハード
ウェア資源(以下、単に資源と略記する)に設定された
情報(以下、資源設定情報という)に基づいて資源構成
情報を保存し、資源がシステム運用中に使用できるかど
うか(以下、可用性という)を試験して試験結果を資源
構成情報に残す資源構成情報管理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a resource configuration information management system, and more particularly to information (hereinafter referred to as resource setting information) set in hardware resources (hereinafter simply referred to as resources) connected to a data processing device. ), Based on which the resource configuration information is stored, a test is made as to whether the resource can be used during system operation (hereinafter referred to as availability), and a test result is stored in the resource configuration information.

【0002】[0002]

【従来の技術】従来の資源構成情報管理方式では、デー
タ処理装置に接続されている各資源の資源構成情報を保
存しており、この資源構成情報と資源から取得された資
源設定情報との一致を検出することにより資源の可用性
を判断していた。しかし、資源構成情報には資源間の依
存関係が保存されていなかったので、他の資源の可用性
が保証されて初めて正常に動作するような資源が存在し
た場合には、他の資源の可用性がないにもかかわらず、
該資源に対するアクセスを許容してしまっていた。例え
ば、データ処理装置にSCSI(Small Comp
uter Systems Interface)ボー
ドを介してSCSI周辺機器が接続されている場合、S
CSIボードの可用性が保証されていないときでも、S
CSI周辺機器へのアクセスを許容してしまっていた。
2. Description of the Related Art In a conventional resource configuration information management system, resource configuration information of each resource connected to a data processing device is stored, and the resource configuration information is matched with resource setting information obtained from the resource. The resource availability was determined by detecting the However, the resource configuration information did not preserve the dependencies between resources, so if there was a resource that would operate normally only after the availability of other resources was guaranteed, the availability of other resources would be reduced. Despite not
Access to the resource was allowed. For example, a SCSI (Small Comp)
If SCSI peripheral devices are connected via an external systems interface) board,
Even when the availability of the CSI board is not guaranteed,
Access to CSI peripherals was allowed.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の資源構
成情報管理方式では、他の資源の可用性が保証されて初
めて正常に動作するような資源が存在した場合でも、他
の資源の可用性がないにもかかわらず、該資源に対する
アクセスを許容してしまっていたので、資源構成情報中
にエラー情報は保存されるが、資源の可用性がない原因
が他の資源にあることは資源構成情報上からは判別でき
ないという問題点があった。
In the conventional resource configuration information management system described above, even if there is a resource that normally operates only when the availability of other resources is guaranteed, there is no availability of other resources. Nevertheless, since access to the resource has been permitted, the error information is stored in the resource configuration information. Cannot be determined.

【0004】本発明の目的は、試験の結果、可用性がな
いとされた資源の、可用性がない原因となっている他の
資源を特定することができるようにした資源構成情報管
理方式を提供することにある。
[0004] An object of the present invention is to provide a resource configuration information management system capable of specifying a resource which is determined to be unavailable as a result of a test and which is another resource causing the lack of availability. It is in.

【0005】なお、従来の資源管理方式としては、特開
平5−274164号公報に開示されるような方式があ
った。この資源管理方式は、関連情報を集めて関係索引
群として持ち、関係索引管理手段でその関連情報を一元
的に管理することにより、資源あるいは要素の削除時に
おける処理の簡略化ならびに保守性および運用性を高め
るようにしたものである。しかし、この資源管理方式
は、実質的には、資源としてソフトウェア資源を念頭に
おいてなされたものであり、ハードウェア資源にはその
まま適用することができないものであった。
As a conventional resource management system, there is a system disclosed in Japanese Patent Application Laid-Open No. 5-274164. In this resource management method, related information is collected and stored as a related index group, and the related information is centrally managed by the related index management means, thereby simplifying the processing when deleting resources or elements, and maintaining and maintaining. It is intended to enhance the character. However, this resource management system has been substantially made with software resources in mind, and cannot be directly applied to hardware resources.

【0006】[0006]

【課題を解決するための手段】本発明の資源構成情報管
理方式は、データ処理装置に接続されている資源から資
源設定情報を取得して資源構成情報として記憶するとと
もに、該資源の可用性を試験して試験結果を前記資源構
成情報中に記憶する資源構成情報管理方式において、前
記資源構成情報とリンクする依存関係情報を作成するこ
とにより、可用性がないとされた資源についてその原因
となった他の資源を特定できるようにしたことを特徴と
する。
According to the resource configuration information management method of the present invention, resource setting information is acquired from a resource connected to a data processing apparatus, stored as resource configuration information, and the availability of the resource is tested. In the resource configuration information management method for storing test results in the resource configuration information, by creating dependency relationship information linked to the resource configuration information, the Resources can be specified.

【0007】また、本発明の資源構成情報管理方式は、
全てが正常に立ち上がったときにシステムを構成する各
資源の資源構成情報と、各資源構成情報中に設けられ該
資源の可用性を表すエラー情報とを記憶する資源構成情
報記憶部と、この資源構成情報記憶部に資源構成情報が
記憶されている各資源の依存関係情報を記憶する依存関
係情報記憶部と、前記資源構成情報記憶部に記憶されて
いる全ての資源の資源構成情報中のエラー情報をリセッ
トする初期化手段と、データ処理装置に接続されている
資源から取得した資源設定情報と前記資源構成情報記憶
部に記憶されている該資源の資源構成情報とを比較して
該資源の可用性を試験する比較手段と、この比較手段に
よる試験の結果、資源に可用性がないとされた場合に該
資源の資源構成情報中のエラー情報をセットするととも
に、該資源の依存関係情報をたどって該資源に依存する
他の資源の資源構成情報中のエラー情報をもセットする
設定手段と、指定された資源の依存関係情報をたどって
該資源に依存する他の資源の資源構成情報を検索してエ
ラー情報がセットされているかどうかを確認し、これを
エラー情報がセットされていない資源構成情報が検索で
きるまで繰り返して、最後に検索されたエラー情報がセ
ットされている資源構成情報の資源が該資源の資源構成
情報中のエラー情報がセットされる原因となった他の資
源であると特定する検索手段とを有することを特徴とす
る。
[0007] The resource configuration information management system of the present invention comprises:
A resource configuration information storage unit for storing resource configuration information of each resource constituting the system when all of the resources are normally started up, and error information indicating the availability of the resource provided in each resource configuration information; A dependency information storage unit for storing dependency information of each resource whose resource configuration information is stored in the information storage unit, and error information in the resource configuration information of all resources stored in the resource configuration information storage unit Initialization means for resetting the resource setting information obtained from the resources connected to the data processing apparatus, and comparing the resource configuration information of the resources stored in the resource configuration information storage unit with the availability of the resources. And error information in the resource configuration information of the resource when the resource is determined to be unavailable as a result of the test by the comparing means. Setting means for following the link information to set error information in the resource configuration information of another resource dependent on the resource; and resources of another resource dependent on the resource by following the dependency information on the specified resource Search the configuration information to see if error information is set, repeat this until resource configuration information with no error information set can be searched, and search for the resource with the last searched error information. A search unit for specifying that the resource of the configuration information is another resource that caused the error information in the resource configuration information of the resource to be set.

【0008】さらに、本発明の資源構成情報管理方式
は、全てが正常に立ち上がったときにシステムを構成す
る各資源の資源構成情報と、各資源構成情報中に設けら
れ該資源の可用性を表すエラー情報とを記憶する資源構
成情報記憶部と、この資源構成情報記憶部に資源構成情
報が記憶されている各資源の依存関係情報を記憶する依
存関係情報記憶部と、各資源の資源構成情報を作成して
前記資源構成情報記憶部に記憶する資源構成情報作成手
段と、各資源の依存関係情報を作成して前記依存関係情
報記憶部に記憶する依存関係情報作成手段と、前記資源
構成情報記憶部に記憶されている全ての資源の資源構成
情報中のエラー情報をリセットする初期化手段と、デー
タ処理装置に接続されている資源から取得した資源設定
情報と前記資源構成情報記憶部に記憶されている該資源
の資源構成情報とを比較して該資源の可用性を試験する
比較手段と、この比較手段による試験の結果、資源に可
用性がないとされた場合に該資源の資源構成情報中のエ
ラー情報をセットするとともに、該資源の依存関係情報
をたどって該資源に依存する他の資源の資源構成情報中
のエラー情報をもセットする設定手段と、指定された資
源の依存関係情報をたどって該資源に依存する他の資源
の資源構成情報を検索してエラー情報がセットされてい
るかどうかを確認し、これをエラー情報がセットされて
いない資源構成情報が検索できるまで繰り返して、最後
に検索されたエラー情報がセットされている資源構成情
報の資源が該資源の資源構成情報中のエラー情報がセッ
トされる原因となった他の資源であると特定する検索手
段とを有することを特徴とする。
Further, according to the resource configuration information management method of the present invention, the resource configuration information of each resource constituting the system when everything starts up normally, and an error which is provided in each resource configuration information and indicates the availability of the resource. A resource configuration information storage unit for storing information and information, a dependency information storage unit for storing dependency information of each resource whose resource configuration information is stored in the resource configuration information storage unit, and a resource configuration information of each resource. A resource configuration information creating unit that creates and stores the resource configuration information in the resource configuration information storage unit; a dependency relationship information creation unit that creates dependency information of each resource and stores the resource relationship information in the dependency relationship information storage unit; Initialization means for resetting error information in the resource configuration information of all resources stored in the section, resource setting information obtained from resources connected to the data processing device, and the resource configuration Comparing means for comparing the resource configuration information of the resource stored in the information storage unit to test the availability of the resource; and as a result of the test by the comparing means, the resource Setting means for setting error information in the resource configuration information, and also setting error information in the resource configuration information of other resources dependent on the resource by following the dependency information of the resource; By searching the resource configuration information of another resource that depends on the resource by checking the dependency information, and confirming whether or not the error information is set. This can be searched for the resource configuration information with no error information set. The resource of the resource configuration information in which the last retrieved error information is set is another resource that caused the error information in the resource configuration information of the resource to be set. It characterized by having a search means for identifying.

【0009】さらにまた、本発明の資源構成情報管理方
式は、全てが正常に立ち上がったときにシステムを構成
する各資源の資源構成情報と、各資源構成情報中に設け
られ該資源の可用性を表すエラー情報とを記憶する資源
構成情報記憶部と、この資源構成情報記憶部に資源構成
情報が記憶されている各資源の依存関係情報を記憶する
依存関係情報記憶部と、全てが正常に立ち上がったとき
にシステムを構成する各資源から取得した資源設定情報
に基づいて各資源の資源構成情報を作成して前記資源構
成情報記憶部に記憶する資源構成情報作成手段と、この
資源構成情報作成手段により作成された各資源の資源構
成情報中のグループ情報に基づいて各資源の依存関係情
報を作成して前記依存関係情報記憶部に記憶する依存関
係情報作成手段と、システム立上げ時に自動的に起動さ
れるとともにシステム運用中に指示に基づいて起動され
前記資源構成情報記憶部に記憶されている全ての資源の
資源構成情報中のエラー情報をリセットする初期化手段
と、この初期化手段によるエラー情報のリセット後にデ
ータ処理装置に接続されている資源から取得した資源設
定情報と前記資源構成情報記憶部に記憶されている該資
源の資源構成情報とを比較して該資源の可用性を試験す
る比較手段と、この比較手段による試験の結果、資源に
可用性がないとされた場合に該資源の資源構成情報中の
エラー情報をセットするとともに、該資源の依存関係情
報をたどって該資源に依存する他の資源の資源構成情報
中のエラー情報をもセットする設定手段と、システム運
用中に指定された資源の依存関係情報をたどって該資源
に依存する他の資源の資源構成情報を検索してエラー情
報がセットされているかどうかを確認し、これをエラー
情報がセットされていない資源構成情報が検索できるま
で繰り返して、最後に検索されたエラー情報がセットさ
れている資源構成情報の資源が該資源の資源構成情報中
のエラー情報がセットされる原因となった他の資源であ
ると特定する検索手段とを有することを特徴とする。
Further, according to the resource configuration information management method of the present invention, the resource configuration information of each resource constituting the system when everything starts up normally and the availability of the resource provided in each resource configuration information are represented. The resource configuration information storage unit that stores the error information and the dependency information storage unit that stores the dependency information of each resource in which the resource configuration information is stored in the resource configuration information storage unit have all started up normally. A resource configuration information creating unit that creates resource configuration information of each resource based on resource setting information obtained from each resource configuring the system and stores the resource configuration information in the resource configuration information storage unit; Dependency information creating means for creating dependency information of each resource based on the group information in the created resource configuration information of each resource and storing the information in the dependency information storage unit; Initialization means which is automatically started at system startup and is reset based on an instruction during system operation and resets error information in the resource configuration information of all resources stored in the resource configuration information storage unit; Comparing the resource configuration information obtained from the resource connected to the data processing device after the reset of the error information by the initialization unit with the resource configuration information of the resource stored in the resource configuration information storage unit. Comparing means for testing the availability of the resource; and setting the error information in the resource configuration information of the resource when the result of the test by the comparing means indicates that the resource is not available, and changing the dependency information of the resource. Setting means for setting error information in the resource configuration information of another resource that depends on the resource, and information on the dependency of the resource specified during system operation To check whether or not error information has been set by searching for resource configuration information of another resource dependent on the resource, and repeat this until resource configuration information with no error information set can be searched. Having search means for specifying that the resource of the resource configuration information in which the last retrieved error information is set is another resource that caused the error information in the resource configuration information of the resource to be set It is characterized by.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0011】図1は、本発明の一実施の形態に係る資源
構成情報管理方式の構成を示すブロック図である。本実
施の形態に係る資源構成情報管理方式は、データ処理装
置1と、データ処理装置1に付設された不揮発性メモリ
でなる情報記憶部2と、データ処理装置1に接続された
複数(図示は4つ)の資源A,B,C,Dからなる構成
資源3とから、その主要部が構成されている。
FIG. 1 is a block diagram showing a configuration of a resource configuration information management system according to an embodiment of the present invention. The resource configuration information management method according to the present embodiment includes a data processing device 1, an information storage unit 2 that is a non-volatile memory attached to the data processing device 1, and a plurality of data processing devices 1 The main part is composed of four (4) resources A, B, C, and D, which are constituent resources.

【0012】データ処理装置1は、資源構成情報を作成
する資源構成情報作成手段11と、依存関係情報を作成
する依存関係情報作成手段12と、資源構成情報中のエ
ラー情報をエラーを示さないようにリセットする初期化
手段13と、資源の可用性を試験する比較手段14と、
比較手段14による試験の結果、資源に可用性がないと
された場合に資源構成情報中のエラー情報をセットする
設定手段15と、資源構成情報中のエラー情報を確認し
て可用性のない資源を特定する検索手段16とを含んで
構成されている。なお、資源構成情報作成手段11,依
存関係情報作成手段12,初期化手段13,比較手段1
4および設定手段15は、イニシャルテストファームウ
ェア(ITF)に含まれている。また、検索手段16
は、オペレーティングシステム(OS)に含まれてい
る。
The data processing apparatus 1 includes a resource configuration information creation unit 11 for creating resource configuration information, a dependency relationship creation unit 12 for creating dependency relationship information, and an error information in the resource configuration information that does not indicate an error. Initialization means 13 for resetting the resource, comparison means 14 for testing resource availability,
As a result of the test by the comparing means 14, when the resource is determined to be unavailable, the setting means 15 for setting error information in the resource configuration information, and confirming the error information in the resource configuration information to specify the resource with no availability And search means 16 for performing the search. Note that the resource configuration information creating unit 11, the dependency relationship creating unit 12, the initialization unit 13, and the comparing unit 1
4 and the setting means 15 are included in the initial test firmware (ITF). Search means 16
Is included in the operating system (OS).

【0013】情報記憶部2には、資源構成情報記憶部2
1と、依存関係情報記憶部22とが設けられている。
The information storage unit 2 includes a resource configuration information storage unit 2
1 and a dependency information storage unit 22 are provided.

【0014】図2を参照すると、資源構成情報記憶部2
1には、全てが正常に立ち上がったときに情報処理シス
テム(以下、単にシステムと略記する)を構成する資源
A,B,C,Dの資源構成情報A,B,C,D(以下、
資源と対応する資源構成情報とには同一符号を付して示
す)が記憶される。資源構成情報A,B,C,Dには、
各資源A,B,C,Dの可用性を表すエラー情報が含ま
れている。
Referring to FIG. 2, the resource configuration information storage unit 2
1 includes resource configuration information A, B, C, D (hereinafter, referred to as resource configuration information) of resources A, B, C, and D constituting an information processing system (hereinafter, simply abbreviated to a system) when everything has started up normally.
The resource and the resource configuration information corresponding to the resource are denoted by the same reference numerals). In the resource configuration information A, B, C, D,
Error information indicating the availability of each of the resources A, B, C, and D is included.

【0015】同じく、図2を参照すると、依存関係情報
記憶部22には、資源A,B,C,Dの依存関係情報
A,B,C,D(以下、資源と対応する依存関係情報と
には同一符号を付して示す)が双方向のポインタとして
記憶される。すなわち、依存関係情報記憶部22は、各
資源A,B,C,Dの依存関係情報A,B,C,Dとし
て、「依存する資源の資源構成情報へのポインタ」と、
「依存される資源の資源構成情報へのポインタ」とを記
憶している。
Similarly, referring to FIG. 2, the dependency information storage unit 22 stores dependency information A, B, C, and D of resources A, B, C, and D (hereinafter, dependency information corresponding to resources). Are denoted by the same reference numerals) are stored as bidirectional pointers. That is, the dependency information storage unit 22 stores, as the dependency information A, B, C, and D of the resources A, B, C, and D, a “pointer to the resource configuration information of the dependent resource”;
"Pointer to resource configuration information of the dependent resource".

【0016】図3を参照すると、資源構成情報記憶部2
1は、資源A,B,C,Dの数だけ資源構成情報A,
B,C,Dを格納するようになっており、各資源構成情
報A,B,C,Dは、種別コード,レビジョン,グルー
プコード,エラー情報,資源の依存関係情報へのポイン
タ,および資源固有情報から構成されている。種別コー
ドは、資源の種類を示すものであり、種別コードで資源
の属するカテゴリーが分かるようになっている(例え
ば、SCSIボード,PCI(PersonalCom
puter Interface)ボード,LAN(L
ocal Area Network)ボード,ブリッ
ジボード等)。レビジョンは、資源の改版番号を示す。
グループコードは、グループおよびグループ中での本資
源の役割を示す。例えば、グループコードが12345
6−1であれば、123456は資源が属するグループ
を一意に示し、−1は本資源に依存する同じグループコ
ード123456を持った別の資源があることを示す。
資源固有情報は、資源の種類に応じた必要な情報が格納
されている。例えば、ベンダーコード,クラスコード,
サブクラスコード,資源が必要とするメモリ量などであ
る。
Referring to FIG. 3, the resource configuration information storage unit 2
1 is resource configuration information A, as many as resources A, B, C, D
B, C, and D are stored. Each of the resource configuration information A, B, C, and D includes a type code, a revision, a group code, error information, a pointer to resource dependency information, and a resource specific information. It consists of information. The type code indicates the type of the resource. The type code indicates the category to which the resource belongs (for example, SCSI board, PCI (PersonalCom).
board (Interface) board, LAN (L
ocal Area Network) boards, bridge boards, etc.). The revision indicates the revision number of the resource.
The group code indicates the role of the resource in the group and the group. For example, if the group code is 12345
If it is 6-1, 123456 uniquely indicates the group to which the resource belongs, and -1 indicates that there is another resource having the same group code 123456 depending on this resource.
The resource-specific information stores necessary information according to the type of the resource. For example, vendor code, class code,
The subclass code, the amount of memory required by the resource, and the like.

【0017】図4を参照すると、資源構成情報中のエラ
ー情報は、不正コードと、ビット1と、ビット0とから
なる。不正コードは、" 00" のときに不正なし、" 0
1"のときに種別コードが一致しない、" 02" のとき
にレビジョンが一致しない、" 03" のときに資源の自
己診断にて不正が検出された、" 04" のときに資源が
存在しない、" 05" のときに上記以外の不正が発生し
たことをそれぞれ意味する。ビット1は、" 1" のとき
に比較手段14により本資源が依存する資源にて不正が
検出されたことを、" 0" のときに上記不正なしを意味
する。ビット0は、" 1" のときに比較手段14により
本資源自身が不正であったことを、" 0" のときに上記
不正なしを意味する。
Referring to FIG. 4, the error information in the resource configuration information includes an invalid code, bit 1 and bit 0. Unauthorized code is "00", no invalid, "0"
When "1", the type codes do not match, when "02", the revisions do not match, when "03", an illegality is detected by the resource self-diagnosis, and when "04", no resources exist. , "05", respectively, means that a fraud other than the above has occurred.Bit 1 indicates that, when "1", the comparing means 14 has detected fraud in a resource on which the present resource depends. Bit 0 indicates that the resource is not illegal by the comparing means 14 when it is "1", and bit 0 indicates that the resource is not illegal when "0". .

【0018】図5を参照すると、資源構成情報作成手段
11の処理は、資源設定情報取得・資源構成情報記憶ス
テップS101と、資源自己診断プログラム実行ステッ
プS102と、実行結果エラー判定ステップS103
と、不正コードセットステップS104と、次資源存在
判定ステップS105とからなる。
Referring to FIG. 5, the processing of the resource configuration information creating means 11 includes a resource setting information acquisition / resource configuration information storage step S101, a resource self-diagnosis program execution step S102, and an execution result error determination step S103.
And an unauthorized code setting step S104, and a next resource existence determining step S105.

【0019】図6を参照すると、依存関係情報作成手段
12の処理は、「資源の依存関係情報へのポインタ」記
憶ステップS201と、グループコード取得ステップS
202と、依存資源存在判定ステップS203と、「依
存される資源の資源構成情報へのポインタ」NULL設
定ステップS204と、資源構成情報検索ステップS2
05と、「依存される資源の資源構成情報へのポイン
タ」記憶ステップS206と、全資源処理終了判定ステ
ップS207と、依存関係情報部検索ステップS208
と、依存関係情報取得ステップS209と、「依存され
る資源の資源構成情報へのポインタ」NULL判定ステ
ップS210と、資源構成情報取得ステップS211
と、「資源の依存関係情報へのポインタ」取得ステップ
S212と、「依存する資源の資源構成情報へのポイン
タ」記憶ステップS213と、全資源処理終了判定ステ
ップS214とからなる。
Referring to FIG. 6, the processing of the dependency information creating means 12 includes a "pointer to resource dependency information" storage step S201 and a group code acquisition step S201.
202, dependent resource existence determination step S203, "pointer to resource configuration information of dependent resource" NULL setting step S204, and resource configuration information search step S2
05, a "pointer to resource configuration information of the dependent resource" storage step S206, an all resource processing end determination step S207, and a dependency information part search step S208.
, Dependency information acquisition step S209, “pointer to resource configuration information of dependent resource” NULL determination step S210, and resource configuration information acquisition step S211
, A "pointer to resource dependency information" acquisition step S212, a "pointer to resource configuration information of dependent resource" storage step S213, and an all resource processing end determination step S214.

【0020】図7を参照すると、初期化手段13,比較
手段14および設定手段15の処理は、エラー情報初期
化ステップS301と、資源構成情報取得ステップS3
02と、エラー情報セット判定ステップS303と、資
源設定情報取得ステップS304と、資源設定情報/資
源構成情報一致判定ステップS305と、「依存する資
源の資源構成情報へのポインタ」取得ステップS306
と、エラー情報セットステップS307と、「依存され
る資源の資源構成情報へのポインタ」ターミネート判定
ステップS308と、資源構成情報取得ステップS30
9と、全資源構成情報試験判定ステップS310と、次
資源構成情報取得ステップS311とからなる。
Referring to FIG. 7, the processing of the initialization means 13, the comparison means 14 and the setting means 15 includes an error information initialization step S301 and a resource configuration information acquisition step S3.
02, error information set determination step S303, resource setting information acquisition step S304, resource setting information / resource configuration information match determination step S305, and "pointer to resource configuration information of dependent resource" acquisition step S306.
, An error information setting step S307, a “pointer to resource configuration information of a dependent resource” termination determination step S308, and a resource configuration information acquisition step S30
9, an all resource configuration information test determination step S310, and a next resource configuration information acquisition step S311.

【0021】図8を参照すると、検索手段16の処理
は、依存関係情報取得ステップS401と、「依存する
資源の資源構成情報へのポインタ」ターミネート判定ス
テップS402と、資源構成情報検索ステップS403
と、エラー情報セット判定ステップS404と、「依存
する資源の資源構成情報へのポインタ」取得ステップS
405と、エラー原因資源特定ステップS406とから
なる。
Referring to FIG. 8, the processing of the search means 16 includes a dependency information acquisition step S401, a "pointer to resource configuration information of a dependent resource" termination determination step S402, and a resource configuration information search step S403.
Error information set determination step S404, and “pointer to resource configuration information of dependent resources” acquisition step S
405 and an error cause resource identification step S406.

【0022】次に、このように構成された本実施の形態
に係る資源構成情報管理方式の動作について説明する。
Next, the operation of the resource configuration information management system according to the present embodiment configured as described above will be described.

【0023】なお、ここでは、図1および図2に示すよ
うに、データ処理装置1に資源A,B,C,Dが接続さ
れていて、資源Aはデータ処理装置1に直接接続されて
いるが、資源Bは資源Aから拡張されたバス等によって
資源Aを経由してデータ処理装置1に接続されているも
のとする。すなわち、資源Bは資源Aに依存しており、
資源Bは資源Aの可用性が保証されなければ動作が保証
されないものであるものとする。資源Cと資源Dとの関
係も、資源Aと資源Bとの関係と同様であるものとす
る。
Here, as shown in FIGS. 1 and 2, resources A, B, C, and D are connected to the data processing device 1, and the resource A is directly connected to the data processing device 1. However, it is assumed that the resource B is connected to the data processing device 1 via the resource A by a bus or the like extended from the resource A. That is, resource B depends on resource A,
It is assumed that the operation of the resource B is not guaranteed unless the availability of the resource A is guaranteed. The relationship between the resources C and D is also the same as the relationship between the resources A and B.

【0024】システムの立ち上げ時に、ユーザは、資源
構成情報および依存関係情報を保存するか否かを選択し
てデータ処理装置1を立ち上げる。すると、データ処理
装置1では、ITFが起動され、資源構成情報および依
存関係情報を保存することが指定されていれば資源構成
情報作成手段11から起動し、資源構成情報および依存
関係情報を保存することが指定されていなければ初期化
手段13から起動する。
When starting up the system, the user selects whether or not to save the resource configuration information and the dependency relationship information, and starts up the data processing apparatus 1. Then, in the data processing device 1, the ITF is started, and if it is specified to save the resource configuration information and the dependency relationship information, the ITF is started from the resource configuration information creating unit 11 to store the resource configuration information and the dependency relationship information. If it is not specified, it is started from the initialization means 13.

【0025】資源構成情報作成手段11は、起動される
と、データ処理装置1に接続されている資源Aの内蔵R
OM,デイップスイッチ等に設定されている種別コー
ド,レビジョン,グループコードおよび資源固有情報を
順次読み込んで資源設定情報A(以下、資源と対応する
資源設定情報とには同一符号を付して示す)を取得し、
これを資源構成情報Aとして整形して資源構成情報記憶
部21に記憶する(ステップS101)。
When the resource configuration information creating means 11 is started, the built-in R of the resource A connected to the data processing apparatus 1
The type code, the revision, the group code, and the resource specific information set in the OM, the dip switch, and the like are sequentially read, and the resource setting information A (hereinafter, the resource setting information corresponding to the resources is denoted by the same reference numeral). And get
This is shaped as resource configuration information A and stored in the resource configuration information storage unit 21 (step S101).

【0026】次に、資源構成情報作成手段11は、資源
AのPOST(Power−OnSelf−Test)
等の自己診断プログラムを実行し(ステップS10
2)、自己診断プログラムの実行結果にエラーがあった
かどうかを判定する(ステップS103)。実行結果に
エラーがあった場合には、資源構成情報作成手段11
は、資源構成情報記憶部21の資源構成情報A中のエラ
ー情報に不正コード" 03" をセットし(ステップS1
04)、実行結果にエラーが無かった場合には、ステッ
プS104をスキップする。
Next, the resource configuration information creating means 11 sends a POST (Power-On Self-Test) of the resource A.
(Step S10)
2) It is determined whether there is an error in the execution result of the self-diagnosis program (step S103). If there is an error in the execution result, the resource configuration information creating means 11
Sets an invalid code "03" in the error information in the resource configuration information A in the resource configuration information storage unit 21 (step S1).
04) If there is no error in the execution result, step S104 is skipped.

【0027】続いて、資源構成情報作成手段11は、次
の資源Bが存在するかどうかを判定し(ステップS10
5)、次の資源BがあるのでステップS101に制御を
戻し、資源Bに対してステップS101〜S105を繰
り返して資源構成情報記憶部21に資源構成情報Bを記
憶する。
Subsequently, the resource configuration information creating means 11 determines whether the next resource B exists (step S10).
5) Since there is the next resource B, the control is returned to step S101, and steps S101 to S105 are repeated for resource B to store the resource configuration information B in the resource configuration information storage unit 21.

【0028】そして、資源CおよびDについても、同様
にして資源構成情報記憶部21に資源構成情報Cおよび
Dを記憶し、ステップS105で次の資源がなくなれ
ば、資源構成情報作成手段11は、処理を終了する。
For the resources C and D, the resource configuration information C and D are stored in the resource configuration information storage unit 21 in the same manner. When the next resource runs out in step S105, the resource configuration information creating means 11 The process ends.

【0029】資源構成情報作成手段11の処理終了後、
依存関係情報作成手段12は、資源Aの依存関係情報A
の先頭アドレスを、資源構成情報記憶部21の資源構成
情報中の「資源の依存関係情報へのポインタ」に記憶す
る(ステップS201)。
After the processing of the resource configuration information creating means 11 is completed,
The dependency relationship information creating means 12 determines the dependency relationship information A of the resource A.
Is stored in the “pointer to resource dependency information” in the resource configuration information of the resource configuration information storage unit 21 (step S201).

【0030】次に、依存関係情報作成手段12は、資源
構成情報Aから資源Aのグループコードを取得し(ステ
ップS202)、資源Aに依存する資源が他に存在する
かどうかを判定する(ステップS203)。資源Aに依
存する資源が他になければ、依存関係情報作成手段12
は、「依存される資源の資源構成情報へのポインタ」に
NULLを設定する(ステップS204)。いま、資源
Aに依存する資源Bが存在するので、依存関係情報作成
手段12は、同一のグループコードを持つ資源Bの資源
構成情報Bを資源構成情報記憶部21から検索し(ステ
ップS205)、検索の結果取得できた資源構成情報B
の先頭アドレスを、資源Aの依存関係情報A中に「依存
される資源の資源構成情報へのポインタ」として記憶す
る(ステップS206)。
Next, the dependency information creating means 12 acquires the group code of the resource A from the resource configuration information A (step S202), and determines whether or not another resource dependent on the resource A exists (step S202). S203). If there are no other resources dependent on the resource A, the dependency information creating means 12
Sets NULL in "pointer to resource configuration information of dependent resource" (step S204). Since there is a resource B that depends on the resource A, the dependency information creating unit 12 searches the resource configuration information storage unit 21 for the resource configuration information B of the resource B having the same group code (step S205). Resource configuration information B obtained as a result of search
Is stored in the dependency information A of the resource A as a “pointer to the resource configuration information of the dependent resource” (step S206).

【0031】続いて、依存関係情報作成手段12は、全
ての資源A,B,C,Dについて処理が行われたかどう
かを判定し(ステップS207)、全ての資源A,B,
C,Dについて処理が行われていないので、ステップS
201に制御を戻して、資源BについてステップS20
1〜S207を繰り返して、資源構成情報B中に「資源
の依存関係情報へのポインタ」を記憶するとともに、依
存関係情報B中の「依存される資源の資源構成情報への
ポインタ」にNULLを設定する。
Subsequently, the dependency information creating means 12 determines whether or not the processing has been performed for all resources A, B, C, and D (step S207).
Since no processing has been performed for C and D, step S
Control is returned to 201, and step S20 is performed for resource B.
1 to S207 are repeated to store the “pointer to the resource dependency information” in the resource configuration information B, and NULL is set to the “pointer to the resource configuration information of the dependent resource” in the dependency information B. Set.

【0032】資源CおよびDについても、資源Aおよび
Bの場合と同様にして、資源構成情報CおよびD中に
「資源の依存関係情報へのポインタ」を記憶するととも
に、依存関係情報CおよびD中に「依存される資源の資
源構成情報へのポインタ」(依存関係情報Dの場合はN
ULL)を記憶する。
For resources C and D, as in the case of resources A and B, "pointers to resource dependency information" are stored in resource configuration information C and D, and dependency information C and D are stored. "Pointer to resource configuration information of dependent resource" (in the case of dependency information D, N
(ULL).

【0033】そして、ステップS207で次の資源がな
くなれば、依存関係情報作成手段12は、ステップS2
08に制御を移す。
When the next resource is exhausted in step S207, the dependency information creating means 12 proceeds to step S2.
Transfer control to 08.

【0034】ステップS208では、依存関係情報作成
手段12は、依存関係情報記憶部22を検索し、まず、
資源Aの依存関係情報Aを取得する(ステップS20
9)。
In step S208, the dependency relationship information creation means 12 searches the dependency relationship information storage unit 22, and first,
Acquire dependency information A of resource A (step S20)
9).

【0035】次に、依存関係情報作成手段12は、依存
関係情報A中の「依存される資源の資源構成情報へのポ
インタ」がNULLかどうかを判定する(ステップS2
10)。「依存される資源の資源構成情報へのポイン
タ」がNULLでなければ、依存関係情報作成手段12
は、「依存される資源の資源構成情報へのポインタ」が
示す資源構成情報Bを取得し(ステップS211)、取
得した資源構成情報Bから「資源の依存関係情報へのポ
インタ」をさらに取得し(ステップS212)、「資源
の依存関係情報へのポインタ」が示す依存関係情報B中
の「依存する資源の資源構成情報へのポインタ」に資源
構成情報Aの先頭アドレスを記憶する(ステップS21
3)。ステップS210で「依存される資源の資源構成
情報へのポインタ」がNULLであれば、依存関係情報
作成手段12は、ステップS211〜S213をスキッ
プする。
Next, the dependency information creating means 12 determines whether the "pointer to the resource configuration information of the dependent resource" in the dependency information A is NULL (step S2).
10). If the “pointer to the resource configuration information of the dependent resource” is not NULL, the dependency information creation unit 12
Acquires the resource configuration information B indicated by the “pointer to the resource configuration information of the dependent resource” (step S211), and further acquires the “pointer to the resource dependency information” from the acquired resource configuration information B. (Step S212) The head address of the resource configuration information A is stored in the “pointer to the resource configuration information of the dependent resource” in the dependency information B indicated by the “pointer to the resource dependency information” (step S21).
3). If the “pointer to the resource configuration information of the dependent resource” is NULL in step S210, the dependency information creating unit 12 skips steps S211 to S213.

【0036】続いて、依存関係情報作成手段12は、全
ての資源A,B,C,Dについて処理が行われたかどう
かを判定し(ステップS214)、全ての資源A,B,
C,Dについて処理が行われていないので、ステップS
209に制御を戻して、次の資源BについてステップS
209〜S214を繰り返して、依存関係情報B中に
「依存する資源の資源構成情報へのポインタ」を記憶す
る。
Subsequently, the dependency information creating means 12 determines whether or not processing has been performed for all resources A, B, C, and D (step S214).
Since no processing has been performed for C and D, step S
209, and returns to step S for the next resource B.
By repeating the steps 209 to S214, the “pointer to the resource configuration information of the dependent resource” is stored in the dependency relationship information B.

【0037】資源CおよびDについても、同様にして依
存関係情報CおよびD中に「依存する資源の資源構成情
報へのポインタ」を記憶する。
For the resources C and D, a "pointer to the resource configuration information of the dependent resource" is similarly stored in the dependency information C and D.

【0038】そして、ステップS214で次の資源がな
くなれば、依存関係情報作成手段12は、処理を終了す
る。
Then, when the next resource runs out in step S214, the dependency information creating means 12 ends the processing.

【0039】初期化手段13の実行時期は、2通りあ
り、システム立上げ時にPOST等の診断(各資源の自
己診断プログラムを動作させるものを含む)に先立って
毎回実行される場合と、システム運用中にユーザの指示
により実行される場合とである。
The initialization means 13 has two execution timings. One is executed at the time of system startup prior to the diagnosis of POST or the like (including the operation of a self-diagnosis program for each resource). During execution by a user's instruction.

【0040】初期化手段13は、起動されると、資源構
成情報記憶部21にある各資源A,B,C,Dの資源構
成情報A,B,C,D中のエラー情報をリセットし、各
資源A,B,C,Dがエラーではないことを示すように
初期化する(ステップS301)。すなわち、不正コー
ド,ビット1およびビット0をオール0にリセットす
る。
When activated, the initialization means 13 resets the error information in the resource configuration information A, B, C, D of each of the resources A, B, C, D in the resource configuration information storage section 21, The resources A, B, C, and D are initialized to indicate that they are not errors (step S301). That is, the invalid code, bit 1 and bit 0 are all reset to zero.

【0041】比較手段14は、システム立上げ時のPO
ST実行後、毎回実行される。
The comparing means 14 outputs the PO at the time of starting the system.
It is executed every time after the execution of ST.

【0042】比較手段14は、起動されると、構成情報
記憶部21の資源構成情報Aを取得し(ステップS30
2)、POST等によって資源構成情報Aのエラー情報
がセットされているかどうかを判定する(ステップS3
03)。
When activated, the comparing means 14 acquires the resource configuration information A from the configuration information storage unit 21 (step S30).
2) It is determined whether error information of the resource configuration information A is set by POST or the like (step S3).
03).

【0043】エラー情報がセットされていなければ(ス
テップS303でノー)、比較手段14は、資源Aから
内蔵ROM,ディップスイッチ等に記憶されている種別
コード,レビジョン,資源固有情報等の資源設定情報A
を取得し(ステップS304)、資源設定情報Aと資源
構成情報Aとを比較して資源設定情報Aと資源構成情報
Aとの一致を確認することにより資源Aの可用性を試験
する(ステップS305)。
If the error information has not been set (No in step S303), the comparing means 14 determines the resource setting information such as the type code, the revision, and the resource specific information stored in the internal ROM, the DIP switch, etc. from the resource A. A
Is obtained (step S304), and the availability of the resource A is tested by comparing the resource setting information A with the resource configuration information A and confirming that the resource configuration information A matches the resource configuration information A (step S305). .

【0044】ステップS305での試験の結果、一致し
ない部分があった場合、設定手段15は、対応するエラ
ーコード" 00" 〜" 05" をエラー情報中の不正コー
ドに、ビット0に" 1" を書き込んで、本エラーが自資
源構成情報Aによるものであることを示すようにセット
し(ステップS307)、依存関係情報Aより「依存す
る資源の資源構成情報へのポインタ」を取得する(ステ
ップS306)。
As a result of the test in step S 305, if there is a part that does not match, the setting means 15 sets the corresponding error code “00” to “05” to the invalid code in the error information and “1” to bit 0. Is written to indicate that this error is due to the own resource configuration information A (step S307), and a “pointer to the resource configuration information of the dependent resource” is obtained from the dependency relationship information A (step S307). S306).

【0045】続いて、設定手段15は、依存関係情報A
の「依存される資源の資源構成情報へのポインタ」がタ
ーミネートされているかどうかを判定し(ステップS3
08)、ターミネイトされていなければ、「依存される
資源の資源構成情報へのポインタ」が示す資源構成情報
Bを取得してエラー情報中のビット1に" 1" を書き込
み(ステップS309)、ステップS306に制御を戻
して、ステップS306〜S309を繰り返すことによ
り、資源Aのエラーの影響で資源Aに依存する資源Bの
資源構成情報B中のエラー情報をもセットする。
Subsequently, the setting means 15 sets the dependency information A
Is determined whether the “pointer to the resource configuration information of the dependent resource” is terminated (step S3).
08) If not terminated, the resource configuration information B indicated by the “pointer to the resource configuration information of the dependent resource” is obtained, and “1” is written to bit 1 in the error information (step S309), and By returning the control to S306 and repeating steps S306 to S309, the error information in the resource configuration information B of the resource B that depends on the resource A due to the error of the resource A is also set.

【0046】ステップS308で依存関係情報Aの「依
存される資源の資源構成情報へのポインタ」がターミネ
イトされていなければ、設定手段15は、全ての資源構
成情報A,B,C,Dについて試験したかどうかを判定
し(ステップS310)、試験していないので、次の資
源構成情報Bを取得して(ステップS311)、ステッ
プS303に制御を戻して、ステップS303〜S31
1を繰り返し、資源Bの可用性の試験を行い、必要に応
じてその結果のエラー情報のセットを行う。
If the “pointer to the resource configuration information of the dependent resource” of the dependency relationship information A is not terminated in step S308, the setting unit 15 performs a test on all the resource configuration information A, B, C, and D. It is determined whether or not the process has been performed (step S310). Since the test has not been performed, the next resource configuration information B is obtained (step S311), and control is returned to step S303 to return to steps S303 to S31.
Step 1 is repeated to test the availability of the resource B, and if necessary, set the resulting error information.

【0047】一方、ステップS303で資源構成情報A
中のエラー情報がセットされていた場合は、比較手段1
4および設定手段15は、ステップS304〜S309
をスキップする。
On the other hand, in step S303, the resource configuration information A
If the error information is set, the comparison means 1
4 and the setting unit 15 perform steps S304 to S309.
To skip.

【0048】このように、比較手段14および設定手段
15は、原則として、全ての資源構成情報A,B,C,
Dについて実行されるが、エラー情報がすでにセットさ
れている資源構成情報については実行せずに、次の資源
構成情報の比較へと進む。比較手段14および設定手段
15が実行される前にすでにエラー情報がセットされて
いるということは、他の資源構成情報に対する両手段の
実行の結果が不一致となり、その資源構成情報が示す資
源に対して、依存する資源の資源構成情報であったため
にエラー情報がセットされたことになる。よって、比較
手段14および設定手段15を実行することは無意味で
あるためである。
As described above, the comparison means 14 and the setting means 15 basically provide all the resource configuration information A, B, C,
The process is performed for D, but the process proceeds to the comparison of the next resource configuration information without performing the resource configuration information for which error information has already been set. The fact that the error information has already been set before the execution of the comparing means 14 and the setting means 15 means that the results of the execution of the two means for the other resource configuration information do not match, and the resource indicated by the resource configuration information Therefore, the error information is set because the resource configuration information is for the dependent resource. Therefore, executing the comparing means 14 and the setting means 15 is meaningless.

【0049】資源CおよびDについても、同様にして可
用性の試験を行い、必要に応じてその結果のエラー情報
のセットを行う。
For resources C and D, an availability test is performed in the same manner, and the resulting error information is set if necessary.

【0050】以上の全ての処理が終わった後、OSが起
動される。OSは、資源構成情報記憶部21の各資源構
成情報A,B,C,Dを参照して、それぞれの資源がシ
ステム運用中に使用できるかどうかを判断する。
After all the above processes are completed, the OS is started. The OS refers to the resource configuration information A, B, C, and D in the resource configuration information storage unit 21 to determine whether each resource can be used during system operation.

【0051】検索手段16は、比較手段14および設定
手段15による試験の結果、ある資源についてエラー情
報がセットされた場合、そのエラー情報がセットされる
原因となった資源を特定するために、システム運用中に
ユーザの指示により起動される(システム運用中にエラ
ーが分かれば、ユーザは、当然に資源(例えば、PCI
ボード等)を交換するが、この交換の際にエラーの原因
となった資源を特定することが検索手段16の目的であ
る)。以下、資源Aのエラーの影響で資源Bの資源構成
情報B中のエラーがセットされているものとする。
When the error information is set for a certain resource as a result of the test by the comparing means 14 and the setting means 15, the search means 16 identifies the resource that caused the error information to be set. It is activated by a user's instruction during operation (if an error is found during operation of the system, the user naturally uses resources (for example, PCI
Board, etc.), the purpose of the search means 16 is to identify the resource that caused the error during the replacement.) Hereinafter, it is assumed that the error in the resource configuration information B of the resource B has been set due to the influence of the error of the resource A.

【0052】資源Bが指定されて起動されると、検索手
段16は、指定された資源Bの資源構成情報B中の「資
源の依存関係情報へのポインタ」をたどって依存関係情
報記憶部22の依存関係情報Bを取得し(ステップS4
01)、依存関係情報B中の「依存する資源の資源構成
情報へのポインタ」がターミネイトされているどうかを
判定する(ステップS402)。
When the resource B is designated and activated, the search means 16 follows the “pointer to resource dependency information” in the resource configuration information B of the designated resource B, and stores the dependency information storage unit 22. Is obtained (step S4).
01), it is determined whether the “pointer to the resource configuration information of the dependent resource” in the dependency information B is terminated (step S402).

【0053】「依存する資源の資源構成情報へのポイン
タ」がターミネイトされていなけらば、検索手段16
は、「依存する資源の資源構成情報へのポインタ」が示
す資源構成情報Aを資源構成情報記憶部21より検索し
(ステップS403)、資源構成情報A中のエラー情報
がセットされているかどうかを確認する(ステップS4
04)。
If the "pointer to the resource configuration information of the dependent resource" is not terminated, the search means 16
Retrieves the resource configuration information A indicated by the "pointer to the resource configuration information of the dependent resource" from the resource configuration information storage unit 21 (step S403), and determines whether the error information in the resource configuration information A is set. Confirm (Step S4
04).

【0054】エラー情報がセットされていた場合は(ス
テップS404でイエス)、検索手段16は、「依存す
る資源の資源構成情報へのポインタ」を取得し(ステッ
プS405)、同様の検索をエラー情報がセットされて
いない資源構成情報が検索できるまで繰り返す。
If the error information has been set (Yes in step S404), the search means 16 acquires a "pointer to the resource configuration information of the dependent resource" (step S405), and performs a similar search in the error information. Is repeated until resource configuration information for which is not set can be retrieved.

【0055】ステップS402で「依存する資源の資源
構成情報へのポインタ」がターミネイトされているか、
あるいはステップS404でエラー情報がセットされて
いなければ、検索手段16は、最後に取得したエラー情
報がセットされている資源構成情報Aの資源Aが資源B
のエラー原因であると特定する(ステップS406)。
Whether the "pointer to the resource configuration information of the dependent resource" is terminated in step S402,
Alternatively, if the error information is not set in step S404, the search unit 16 determines that the resource A of the resource configuration information A in which the last acquired error information is set is the resource B
(Step S406).

【0056】このように、検索手段16は、エラー情報
がセットされていない資源構成情報が検索できるまで検
索を繰り返し、最後に取得したエラー情報がセットされ
ている資源構成情報の資源が、検索を開始した資源構成
情報中のエラー情報がセットされる原因となった資源で
あると特定する。
As described above, the search means 16 repeats the search until the resource configuration information in which the error information is not set can be searched, and the resource of the resource configuration information in which the finally obtained error information is set is searched. The resource that has caused the error information in the started resource configuration information to be set is identified.

【0057】なお、上記実施の形態の動作の説明では、
資源がA,B,C,Dの4つである場合を例にとって説
明したが、資源の数が3つ以下でも5つ以上でも本発明
が同様に適用できることはいうまでもない。
In the description of the operation of the above embodiment,
The case where the resources are four of A, B, C, and D has been described as an example. However, it is needless to say that the present invention can be similarly applied to the case where the number of resources is three or less or five or more.

【0058】また、上記実施の形態では、依存関係情報
記憶部22に記憶されている、「依存する資源の資源構
成情報へのポインタ」および「依存される資源の資源構
成情報へのポインタ」は1つずつであるとしたが、とも
に任意の個数とれるものとする。複数個あった場合も、
設定手段15でエラーをセットするときは全ての「依存
する資源の資源構成情報へのポインタ」で示される資源
構成情報中のエラー情報をセットする。
In the above embodiment, the “pointer to the resource configuration information of the dependent resource” and the “pointer to the resource configuration information of the dependent resource” stored in the dependency information storage unit 22 are: Although the number is one each, it is assumed that both can be any number. Even if there is more than one,
When an error is set by the setting means 15, error information in the resource configuration information indicated by all "pointers to the resource configuration information of the dependent resources" is set.

【0059】[0059]

【発明の効果】第1の効果は、ある資源が正常に動作し
ないと動作が保証されない他の資源が存在した場合で
も、動作の保証されない資源へのアクセスを未然に防ぐ
ことができることである。その理由は、あらかじめ保存
された依存関係情報をたどって資源構成情報を参照する
ことにより、資源の依存関係を確認することができるか
らである。
The first effect is that even if there is another resource whose operation is not guaranteed if a certain resource does not operate normally, access to a resource whose operation is not guaranteed can be prevented beforehand. The reason is that by referring to the resource configuration information by following the dependency information stored in advance, the dependency of the resource can be confirmed.

【0060】また、第2の効果は、動作の保証されない
資源へのアクセスをしないことで、全ての資源構成情報
と資源設定情報との比較の時間を短くすることができる
ことである。
The second effect is that the time required to compare all the resource configuration information with the resource setting information can be shortened by not accessing resources whose operation is not guaranteed.

【0061】さらに、第3の効果は、依存関係情報およ
び資源構成情報を参照することによってエラーとなった
原因がどの資源にあったのかを特定することができるこ
とである。
A third effect is that it is possible to specify which resource caused the error by referring to the dependency information and the resource configuration information.

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

【図1】本発明の一実施の形態に係る資源構成情報管理
方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a resource configuration information management method according to an embodiment of the present invention.

【図2】図1中の資源構成情報記憶部と依存関係情報記
憶部との関係を示す図である。
FIG. 2 is a diagram showing a relationship between a resource configuration information storage unit and a dependency relationship information storage unit in FIG.

【図3】図1中の資源構成情報記憶部の内容を例示する
図である。
FIG. 3 is a diagram illustrating contents of a resource configuration information storage unit in FIG. 1;

【図4】図3中のエラー情報の内容を説明する図であ
る。
FIG. 4 is a diagram illustrating the contents of error information in FIG. 3;

【図5】図1中の資源構成情報作成手段の処理を示すフ
ローチャートである。
FIG. 5 is a flowchart showing a process of a resource configuration information creating unit in FIG. 1;

【図6】図1中の依存関係情報作成手段の処理を示すフ
ローチャートである。
FIG. 6 is a flowchart showing a process of a dependency information creation unit in FIG. 1;

【図7】図1中の初期化手段,比較手段および設定手段
の処理を示すフローチャートである。
FIG. 7 is a flowchart showing processing of an initialization unit, a comparison unit, and a setting unit in FIG. 1;

【図8】図1中の検索手段の処理を示すフローチャート
である。
FIG. 8 is a flowchart showing a process of a search unit in FIG. 1;

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

1 データ処理装置 2 情報記憶部 3 構成資源 11 資源構成情報作成手段 12 依存関係情報作成手段 13 初期化手段 14 比較手段 15 設定手段 16 検索手段 21 資源構成情報記憶部 22 依存関係情報記憶部 A,B,C,D 資源,資源構成情報,依存関係情報,
資源設定情報
REFERENCE SIGNS LIST 1 data processing device 2 information storage unit 3 configuration resource 11 resource configuration information creation unit 12 dependency relationship creation unit 13 initialization unit 14 comparison unit 15 setting unit 16 search unit 21 resource configuration information storage unit 22 dependency relationship information storage unit A, B, C, D resources, resource configuration information, dependency information,
Resource setting information

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/36 G06F 13/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 11/22-11/36 G06F 13/00

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データ処理装置に接続されているハード
ウェア資源から資源設定情報を取得して資源構成情報と
して記憶するとともに、該ハードウェア資源の可用性を
試験して試験結果を前記資源構成情報中に記憶する資源
構成情報管理方式において、 前記資源構成情報とリンクする依存関係情報を作成する
ことにより、可用性がないとされたハードウェア資源に
ついてその原因となった他のハードウェア資源を特定で
きるようにしたことを特徴とする資源構成情報管理方
式。
1. A hardware connected to a data processing device.
A resource configuration information management method for acquiring resource setting information from a hardware resource, storing the resource configuration information as resource configuration information, testing the availability of the hardware resource, and storing a test result in the resource configuration information; and by creating a dependency information to link resource structure information management method being characterized in that to be able to identify other hardware resources that caused the hardware resources which are that there is no availability.
【請求項2】 全てが正常に立ち上がったときにシステ
ムを構成する各ハードウェア資源の資源構成情報と、各
資源構成情報中に設けられ該ハードウェア資源の可用性
を表すエラー情報とを記憶する資源構成情報記憶部と、 この資源構成情報記憶部に資源構成情報が記憶されてい
る各ハードウェア資源の依存関係情報を記憶する依存関
係情報記憶部と、 前記資源構成情報記憶部に記憶されている全てのハード
ウェア資源の資源構成情報中のエラー情報をリセットす
る初期化手段と、 データ処理装置に接続されているハードウェア資源から
取得した資源設定情報と前記資源構成情報記憶部に記憶
されている該ハードウェア資源の資源構成情報とを比較
して該ハードウェア資源の可用性を試験する比較手段
と、 この比較手段による試験の結果、ハードウェア資源に可
用性がないとされた場合に該ハードウェア資源の資源構
成情報中のエラー情報をセットするとともに、該ハード
ウェア資源の依存関係情報をたどって該ハードウェア
源に依存する他のハードウェア資源の資源構成情報中の
エラー情報をもセットする設定手段と、 指定されたハードウェア資源の依存関係情報をたどって
ハードウェア資源に依存する他のハードウェア資源の
資源構成情報を検索してエラー情報がセットされている
かどうかを確認し、これをエラー情報がセットされてい
ない資源構成情報が検索できるまで繰り返して、最後に
検索されたエラー情報がセットされている資源構成情報
ハードウェア資源が該ハードウェア資源の資源構成情
報中のエラー情報がセットされる原因となった他のハー
ドウェア資源であると特定する検索手段とを有すること
を特徴とする資源構成情報管理方式。
2. A resource for storing resource configuration information of each hardware resource constituting the system when everything has started up normally, and error information provided in each resource configuration information and indicating the availability of the hardware resource. A configuration information storage unit; a dependency information storage unit that stores dependency information of each hardware resource whose resource configuration information is stored in the resource configuration information storage unit; and a dependency information storage unit that is stored in the resource configuration information storage unit. All hard
Initialization means for resetting error information in the resource configuration information of the hardware resource, resource setting information obtained from hardware resources connected to the data processing device, and the hardware stored in the resource configuration information storage unit comparison means for testing the availability of the hardware resources by comparing the resource configuration information of resources, the results of the test by the comparison means, resource configuration of the hardware resources in the event that determination is made that there is no availability in the hardware resource as well as set the error information in the information, the hard
Setting means for setting also the error information in the resource configuration information of other hardware resources that depend on the hardware capital <br/> source by following dependency information hardware resources, dependency of the specified hardware resources By tracing the relationship information and searching for resource configuration information of other hardware resources that depend on the hardware resource, it is checked whether error information is set. Repeat until the search, the last retrieved error information other hard that caused the hardware resources of the resource configuration information set error information in the resource configuration information of the hardware resource is set
A resource configuration information management method, comprising: a search unit that specifies a hardware resource.
【請求項3】 全てが正常に立ち上がったときにシステ
ムを構成する各ハードウェア資源の資源構成情報と、各
資源構成情報中に設けられ該ハードウェア資源の可用性
を表すエラー情報とを記憶する資源構成情報記憶部と、 この資源構成情報記憶部に資源構成情報が記憶されてい
る各ハードウェア資源の依存関係情報を記憶する依存関
係情報記憶部と、 各ハードウェア資源の資源構成情報を作成して前記資源
構成情報記憶部に記憶する資源構成情報作成手段と、 各ハードウェア資源の依存関係情報を作成して前記依存
関係情報記憶部に記憶する依存関係情報作成手段と、 前記資源構成情報記憶部に記憶されている全てのハード
ウェア資源の資源構成情報中のエラー情報をリセットす
る初期化手段と、 データ処理装置に接続されているハードウェア資源から
取得した資源設定情報と前記資源構成情報記憶部に記憶
されている該ハードウェア資源の資源構成情報とを比較
して該ハードウェア資源の可用性を試験する比較手段
と、 この比較手段による試験の結果、ハードウェア資源に可
用性がないとされた場合に該ハードウェア資源の資源構
成情報中のエラー情報をセットするとともに、該ハード
ウェア資源の依存関係情報をたどって該ハードウェア
源に依存する他のハードウェア資源の資源構成情報中の
エラー情報をもセットする設定手段と、 指定されたハードウェア資源の依存関係情報をたどって
ハードウェア資源に依存する他のハードウェア資源の
資源構成情報を検索してエラー情報がセットされている
かどうかを確認し、これをエラー情報がセットされてい
ない資源構成情報が検索できるまで繰り返して、最後に
検索されたエラー情報がセットされている資源構成情報
ハードウェア資源が該ハードウェア資源の資源構成情
報中のエラー情報がセットされる原因となった他のハー
ドウェア資源であると特定する検索手段とを有すること
を特徴とする資源構成情報管理方式。
3. A resource for storing resource configuration information of each hardware resource constituting the system when everything has started up normally, and error information provided in each resource configuration information and representing the availability of the hardware resource. A configuration information storage unit, a dependency information storage unit that stores dependency information of each hardware resource whose resource configuration information is stored in the resource configuration information storage unit, and a resource configuration information of each hardware resource. Resource configuration information creating means for storing in the resource configuration information storage unit, dependency information creating means for creating dependency information for each hardware resource, and storing the information in the dependency information storage unit; All hardware stored in the section
Initialization means for resetting error information in the resource configuration information of the hardware resource, resource setting information obtained from hardware resources connected to the data processing device, and the hardware stored in the resource configuration information storage unit comparison means for testing the availability of the hardware resources by comparing the resource configuration information of resources, the results of the test by the comparison means, resource configuration of the hardware resources in the event that determination is made that there is no availability in the hardware resource as well as set the error information in the information, the hard
Setting means for setting also the error information in the resource configuration information of other hardware resources that depend on the hardware capital <br/> source by following dependency information hardware resources, dependency of the specified hardware resources By tracing the relationship information and searching for resource configuration information of other hardware resources that depend on the hardware resource, it is checked whether error information is set. Repeat until the search, the last retrieved error information other hard that caused the hardware resources of the resource configuration information set error information in the resource configuration information of the hardware resource is set
A resource configuration information management method, comprising: a search unit that specifies a hardware resource.
【請求項4】 全てが正常に立ち上がったときにシステ
ムを構成する各ハードウェア資源の資源構成情報と、各
資源構成情報中に設けられ該ハードウェア資源の可用性
を表すエラー情報とを記憶する資源構成情報記憶部と、 この資源構成情報記憶部に資源構成情報が記憶されてい
る各ハードウェア資源の依存関係情報を記憶する依存関
係情報記憶部と、 全てが正常に立ち上がったときにシステムを構成する各
ハードウェア資源から取得した資源設定情報に基づいて
ハードウェア資源の資源構成情報を作成して前記資源
構成情報記憶部に記憶する資源構成情報作成手段と、 この資源構成情報作成手段により作成された各ハードウ
ェア資源の資源構成情報中のグループ情報に基づいて各
ハードウェア資源の依存関係情報を作成して前記依存関
係情報記憶部に記憶する依存関係情報作成手段と、 システム立上げ時に自動的に起動されるとともにシステ
ム運用中に指示に基づいて起動され前記資源構成情報記
憶部に記憶されている全てのハードウェア資源の資源構
成情報中のエラー情報をリセットする初期化手段と、 この初期化手段によるエラー情報のリセット後にデータ
処理装置に接続されているハードウェア資源から取得し
た資源設定情報と前記資源構成情報記憶部に記憶されて
いる該ハードウェア資源の資源構成情報とを比較して該
ハードウェア資源の可用性を試験する比較手段と、 この比較手段による試験の結果、ハードウェア資源に可
用性がないとされた場合に該ハードウェア資源の資源構
成情報中のエラー情報をセットするとともに、該ハード
ウェア資源の依存関係情報をたどって該ハードウェア
源に依存する他のハードウェア資源の資源構成情報中の
エラー情報をもセットする設定手段と、 システム運用中に指定されたハードウェア資源の依存関
係情報をたどって該ハードウェア資源に依存する他の
ードウェア資源の資源構成情報を検索してエラー情報が
セットされているかどうかを確認し、これをエラー情報
がセットされていない資源構成情報が検索できるまで繰
り返して、最後に検索されたエラー情報がセットされて
いる資源構成情報のハードウェア資源が該ハードウェア
資源の資源構成情報中のエラー情報がセットされる原因
となった他のハードウェア資源であると特定する検索手
段とを有することを特徴とする資源構成情報管理方式。
4. A resource for storing resource configuration information of each hardware resource constituting the system when everything has started up normally, and error information provided in each resource configuration information and representing the availability of the hardware resource. A configuration information storage unit; and a dependency information storage unit that stores dependency information of each hardware resource in which the resource configuration information is stored in the resource configuration information storage unit. Do each
And resource configuration information creating means for creates and stores resource configuration information for each hardware resource based on the acquired resource configuration information from the hardware resources to the resource configuration information storage unit, created by the resource configuration information creating means Each hardware
Each based on the group information in the resource configuration information of the E A resource
Dependency information creating means for creating dependency information of hardware resources and storing the information in the dependency information storage unit; automatically activated at system startup and activated based on instructions during system operation; and initializing means for resetting the error information in the resource configuration information of all hardware resources stored in the configuration information storage unit, hardware connected to the data processor after the reset of the error information by the initialization means The resource configuration information obtained from the resource is compared with the resource configuration information of the hardware resource stored in the resource configuration information storage unit, and the
Comparing means for testing the availability of the hardware resource; and as a result of the test by the comparing means, when the hardware resource is determined to have no availability, error information in the resource configuration information of the hardware resource is set, and hard
Setting means for setting also the error information in the resource configuration information of other hardware resources that depend on the hardware capital <br/> source by following dependency information hardware resources, hardware specified during system operation other Ha depends on the hardware resources by tracing the dependency information hardware resources
The resource configuration information of the hardware resource is searched to confirm whether the error information is set, and this is repeated until the resource configuration information without the error information can be searched, and the last searched error information is set. has been that the hardware resources of the resource configuration information and a search means for identifying as the other hardware resource error information has caused the set in the resource configuration information of the hardware <br/> resources A resource configuration information management method, characterized in that:
【請求項5】前記資源構成情報記憶部に記憶される各ハ
ードウェア資源の資源構成情報が、種別コード,レビジ
ョン,グループコード,エラー情報,ハードウェア資源
の依存関係情報へのポインタおよび資源固有情報でなる
請求項2,請求項3または請求項4記載の資源構成情報
管理方式。
5. The resource configuration information of each hardware resource stored in the resource configuration information storage unit includes a type code, a revision, a group code, error information, a pointer to hardware resource dependency information, and resource specific information. The resource configuration information management system according to claim 2 , 3, or 4, wherein:
【請求項6】前記依存関係情報記憶部に記憶される各ハ
ードウェア資源の依存関係情報が、依存するハードウェ
ア資源の資源構成情報へのポインタと、依存されるハー
ドウェア資源の資源構成情報へのポインタとからなる請
求項2,請求項3または請求項4記載の資源構成情報管
理方式。
6. The dependency information of each hardware resource stored in the dependency information storage unit includes a pointer to resource configuration information of a dependent hardware resource and a resource configuration information of a dependent hardware resource. 5. The resource configuration information management system according to claim 2 , wherein the pointers are:
JP04878598A 1998-02-13 1998-02-13 Resource configuration information management method Expired - Fee Related JP3183398B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04878598A JP3183398B2 (en) 1998-02-13 1998-02-13 Resource configuration information management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04878598A JP3183398B2 (en) 1998-02-13 1998-02-13 Resource configuration information management method

Publications (2)

Publication Number Publication Date
JPH11232141A JPH11232141A (en) 1999-08-27
JP3183398B2 true JP3183398B2 (en) 2001-07-09

Family

ID=12812905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04878598A Expired - Fee Related JP3183398B2 (en) 1998-02-13 1998-02-13 Resource configuration information management method

Country Status (1)

Country Link
JP (1) JP3183398B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4516306B2 (en) * 2003-11-28 2010-08-04 株式会社日立製作所 How to collect storage network performance information
KR20180057036A (en) 2016-11-21 2018-05-30 삼성전자주식회사 Electronic Apparatus for Effective Resource Management and Method thereof

Also Published As

Publication number Publication date
JPH11232141A (en) 1999-08-27

Similar Documents

Publication Publication Date Title
US5854905A (en) Extensible bios for boot support of devices on multiple hierarchical buses
US6678883B1 (en) Apparatus and method for creating a trace file for a trace of a computer program based on loaded module information
US6725178B2 (en) Use of hidden partitions in a storage device for storing BIOS extension files
US5748980A (en) System for configuring a computer system
US7702894B2 (en) System and method for loading programs from HDD independent of operating system
US6988263B1 (en) Apparatus and method for cataloging symbolic data for use in performance analysis of computer programs
US6658416B1 (en) Apparatus and method for creating an indexed database of symbolic data for use with trace data of a computer program
US6681391B1 (en) Method and system for installing software on a computer system
US6766511B1 (en) Apparatus and method for performing symbolic resolution of modules using static representations of a trace
US9395968B1 (en) Uniquely identifying and validating computer system firmware
US20070061818A1 (en) Detection of devices during operating system setup
US7536678B2 (en) System and method for determining the possibility of adverse effect arising from a code change in a computer program
US20100049961A1 (en) Update method for basic input/output system and update system thereof
KR20210057176A (en) Function jump implementation method, device, and computer storage medium
CN110851154B (en) Computer-implemented method, system, and medium for updating read-only memory code
US20220197746A1 (en) Combination bios with a/b recovery
CN112346668A (en) Optical disc information acquisition method, computing equipment and readable storage medium
US20010054177A1 (en) Information processing apparatus
CN115033267A (en) Method for verifying equipment tree mirror image version and terminal equipment
JP3183398B2 (en) Resource configuration information management method
CN112711427A (en) Method and device for acquiring mirror image file
US9058184B2 (en) Run time generation and functionality validation of device drivers
JP7050587B2 (en) Violation dependency detector and violation dependency detector
US9384118B2 (en) Overlay identification of data processing target structure
CN112181853A (en) Program debugging method, device and system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080427

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090427

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100427

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110427

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120427

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130427

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees