JP2000215134A - Abstract syntax data storage device and management information base - Google Patents

Abstract syntax data storage device and management information base

Info

Publication number
JP2000215134A
JP2000215134A JP11017636A JP1763699A JP2000215134A JP 2000215134 A JP2000215134 A JP 2000215134A JP 11017636 A JP11017636 A JP 11017636A JP 1763699 A JP1763699 A JP 1763699A JP 2000215134 A JP2000215134 A JP 2000215134A
Authority
JP
Japan
Prior art keywords
abstract syntax
data
instance
syntax data
stored
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
JP11017636A
Other languages
Japanese (ja)
Inventor
Hiroki Takato
裕樹 多賀戸
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 JP11017636A priority Critical patent/JP2000215134A/en
Priority to DE10002339A priority patent/DE10002339A1/en
Publication of JP2000215134A publication Critical patent/JP2000215134A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9014Indexing; Data structures therefor; Storage structures hash tables

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an abstract syntax data storage device which uses a memory area with high efficiency and processes values at high speed, and an MIB which is high in the use efficiency of the memory area. SOLUTION: An abstract syntax data conversion means 0102 receives transferring syntax data, discriminates whether the data are to be stored in the device or not, converts the data into the internal data to be used in the device if they need to be stored and further outputs an abstract syntax key which corresponds to the data. An abstract syntax data storage means 0103 stores transfer syntax data which are converted by the abstract syntax data conversion means 0102 into the internal data. An abstract syntax definition storing means 0104 stores a table which contains abstract syntax definitions and an integer values (index) corresponding to the definition as entries. An MO class definition storing means 0803 stores a zero ID given to each class definition for discriminating the MO class and a table which entries an integer values (index) corresponds to the ID and defines what attributes the MO instances which belong to respective MO classes have.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、抽象構文データ保
持装置に関し、特に国際標準化機構(International Org
anization for Standardization、以下ISO)により規定
されている、抽象構文記法1(Abstract Syntax Notation
One、以下ASN.1)により構造が定義される構文データを
保持する抽象構文データ保持装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for holding abstract syntax data, and more particularly to an international organization (International Organization).
abstract Syntax Notation 1 (Abstract Syntax Notation)
One, hereafter referred to as an abstract syntax data holding device that holds syntax data whose structure is defined by ASN.1).

【0002】また、本発明は、管理情報ベース(Managem
ent Information Base、以下MIB)に関し、特にISOによ
り規定されている、開放型システム間相互接続(Open Sy
stemsInterconnection、以下OSI)に従うネットワークの
管理を行なうために用いられるMIBに関する。
[0002] The present invention also relates to a management information base (Management Information Base).
ent Information Base (MIB), specifically the Open System Interconnection (Open Sy
It relates to MIB used for managing a network according to stemsInterconnection (hereinafter referred to as OSI).

【0003】[0003]

【従来の技術】従来、この種のMIBは、特開平9-54722号
公報に記載されているように、通信ネットワークの管理
を行なう場合に、物理的な個々の管理対象を、抽象化し
て論理的なモデルとして記憶領域上に実現するために用
いられている。すなわち、物理的な個々の管理対象は管
理オブジェクトクラス(Managed Object Class、以下MO
クラス)として抽象化され、各々の物理的管理対象に対
応した属性(Attribute)を付与される。
2. Description of the Related Art Conventionally, as described in Japanese Patent Application Laid-Open No. 9-54722, this type of MIB abstracts a physical management target into a logical form when managing a communication network. This is used to realize a general model on a storage area. That is, each physical object to be managed is a managed object class (hereinafter referred to as MO).
Class), and an attribute (Attribute) corresponding to each physical management target is added.

【0004】例えば、物理的な管理対象であるプリンタ
を抽象化して定義されるMOクラスの場合、属性はプリン
タのタイプ(インクジェット、レーザー等)、名前、起動
時間、印刷枚数等となる。
[0004] For example, in the case of an MO class defined by abstracting a printer which is a physical management target, attributes include a printer type (inkjet, laser, etc.), a name, a startup time, the number of prints, and the like.

【0005】このように定義されたMOクラスに対して、
各々の属性に具体的な値が割り当てられたものを管理オ
ブジェクトインスタンス(Managed Object Instance、以
下MOインスタンス)という。前記プリンタの例であれ
ば、MOインスタンスとしては、例えば「タイプがインク
ジェットで、名前がプリンタ1」や「タイプがレーザー
で、名前がプリンタ2」という属性を持つものがあげら
れる。
[0005] For the MO class defined in this way,
The one in which a specific value is assigned to each attribute is called a managed object instance (hereinafter, referred to as an MO instance). In the case of the above-described printer, examples of the MO instance include those having attributes such as “type is ink jet, name is printer 1” and “type is laser, name is printer 2”.

【0006】OSIに従うネットワーク管理(以下、OSI管
理)では、単一の物理的管理対象のみならず、複数の物
理的管理対象を管理することが可能である。複数の対象
を管理する場合、各々の物理的管理対象の間に包含関係
が生じてくる。ここでいう包含関係とは、「コンピュー
タがネットワークに接続されている」場合に、「コンピ
ュータはネットワークに包含される」という関係のこと
である。この包含関係を木構造として表現したものを包
含木という。
In network management according to OSI (hereinafter referred to as OSI management), not only a single physical management target but also a plurality of physical management targets can be managed. When a plurality of objects are managed, an inclusion relationship occurs between the respective physical management objects. Here, the inclusion relation is a relation that “computer is included in the network” when “the computer is connected to the network”. What expresses this containment relation as a tree structure is called a containment tree.

【0007】図19に簡単な包含木の例を示す。図19の例
では、「ネットワーク」というMOクラスに属するMOイン
スタンス5001が、「コンピュータ」というMOクラスに属
するMOインスタンス5002および5003を包含し、MOインス
タンス5002が「ネットワークカード」というMOクラスに
属するMOインスタンス5004を包含し、MOインスタンス50
03が「ネットワークカード」というMOクラスに属するMO
インスタンス5005および「プリンタ」というMOクラスに
属するMOインスタンス5006を包含していることを示す。
FIG. 19 shows an example of a simple containment tree. In the example of FIG. 19, the MO instance 5001 belonging to the MO class “network” includes the MO instances 5002 and 5003 belonging to the MO class “computer”, and the MO instance 5002 belongs to the MO class belonging to the MO class “network card”. Includes instance 5004, MO instance 50
03 is an MO belonging to the MO class called "Network Card"
Indicates that it includes the instance 5005 and the MO instance 5006 belonging to the MO class “printer”.

【0008】図19中において、実線の枠で囲まれた属性
は相対識別名(Relative Distinguished Name、以下RDN)
と呼ばれる属性であり、あるインスタンス"A"がインス
タンス"B"に包含されているならば、RDNの属性値を用い
ることにより、インスタンス"B"のもとでインスタンス"
A"を一意に識別することが可能である。図19の例では、
「ネットワークカード」というMOクラスに属するMOイン
スタンスにおいては、属性「インタフェース名」がRDN
となる。
[0008] In FIG. 19, attributes surrounded by a solid frame are Relative Distinguished Names (RDNs).
If the instance "A" is included in the instance "B", the instance "B" can be created under the instance "B" by using the attribute value of the RDN.
A "can be uniquely identified. In the example of FIG.
In the MO instance belonging to the MO class “Network card”, the attribute “Interface name” is RDN
Becomes

【0009】しかしながら、RDNのみでは包含木中にお
いて、あるインスタンスを特定するには不十分である。
なぜならば、図19の例において、"インタフェース名=Et
her0"というRDNはそれが包含されるMOインスタンス5002
のもとでは一意であるが、MOインスタンス5003にも"イ
ンタフェース名=Ether0"というRDNを持つMOインスタン
スが包含されているため、包含木全体では一意でなくな
ってしまうからである。
[0009] However, the RDN alone is not enough to specify a certain instance in the containing tree.
Because, in the example of FIG. 19, "interface name = Et
The RDN "her0" is the MO instance 5002 in which it is contained
However, since the MO instance 5003 also includes the MO instance having the RDN of “interface name = Ether0”, the MO instance 5003 is not unique in the entire containing tree.

【0010】したがって、OSI管理では、包含木中のMO
インスタンスを一意に識別するために完全識別名(Full
Distinguished Name、以下FDN)が用いられる。FDNは、
包含木の根から当該MOインスタンスにたどりつくまでの
すべてのMOインスタンスのRDNを羅列したものであり、
図19中のMOインスタンス5004を識別するためのFDNは、"
{{ネットワーク名=Network1}, {コンピュータ名=Comput
er1}, {インタフェース名=Ether0}}"となる。
Therefore, in OSI management, the MO
Fully Distinguished Name (Full
Distinguished Name (FDN) is used. FDN is
It is a list of RDNs of all MO instances from the root of the containing tree to the MO instance,
The FDN for identifying the MO instance 5004 in FIG. 19 is "
{{Network name = Network1}, {Computer name = Comput
er1}, {interface name = Ether0}} ".

【0011】前述したように、OSI管理では、物理的管
理対象の構成を抽象化してMOクラスとして表現する。MI
B内には、MOクラスに具体的な値が割り当てられたもの
であるMOインスタンスが格納されている。物理的管理対
象の特性は、MOインスタンスに割り当てられた属性値と
して表現される。
As described above, in OSI management, the configuration of a physical management target is abstracted and expressed as an MO class. MI
In B, an MO instance in which a specific value is assigned to the MO class is stored. Physically managed properties are expressed as attribute values assigned to MO instances.

【0012】また、従来、この種の抽象構文データ保持
装置は、前述したMIB内において各々のMOインスタンス
に割り当てられた属性値を格納するために用いられてい
る。属性値の構造は、特開平8-106424号公報に記載され
ているように抽象構文で定義され、特にOSI管理の場合
においてはOSIで規定されているASN.1に従って定義され
る。また、属性値は抽象構文データ保持装置に格納され
るにあたり、基本符号化規則(Basic Encoding Rule、以
下BER)と呼ばれる規則に従って符号化され、符号化され
た状態で格納されている。
Conventionally, this kind of abstract syntax data holding device is used to store attribute values assigned to each MO instance in the above-mentioned MIB. The structure of the attribute value is defined by an abstract syntax as described in JP-A-8-106424, and particularly in the case of OSI management, is defined according to ASN.1 defined by OSI. In addition, when the attribute value is stored in the abstract syntax data holding device, it is encoded according to a rule called a basic encoding rule (hereinafter referred to as BER), and is stored in an encoded state.

【0013】抽象構文について簡単に説明する。図20に
抽象構文の例を示す。図20に示すように、抽象構文にお
いては属性値の構造を定義する抽象構文5101と、抽象構
文5101により構造が定義された属性に具体的な値を割り
当てたものである値記法5102と、値記法5102をBERに従
って符号化した結果である転送構文5103があり、抽象構
文データ保持装置内には転送構文が格納される。転送構
文5103に示されるように、BERに従う符号化では、値フ
ィールドに再びタグ、長さおよび値フィールドを含むと
いう入れ子構造をとることが可能である。
The abstract syntax will be briefly described. FIG. 20 shows an example of the abstract syntax. As shown in FIG. 20, in the abstract syntax, an abstract syntax 5101 that defines a structure of an attribute value, a value notation 5102 in which a concrete value is assigned to an attribute whose structure is defined by the abstract syntax 5101, and a value There is a transfer syntax 5103 which is a result of encoding the notation 5102 according to the BER, and the transfer syntax is stored in the abstract syntax data holding device. As shown in the transfer syntax 5103, in the coding according to BER, it is possible to adopt a nested structure in which the value field includes the tag, the length, and the value field again.

【0014】従来の抽象構文データ保持装置の一例を図
面を参照して説明する。
An example of a conventional abstract syntax data holding device will be described with reference to the drawings.

【0015】図21は従来の抽象構文データ保持装置の概
略構成を示すブロック図である。図21に示すように、従
来の抽象構文データ保持装置5201は、BERに従って転送
構文の形式に符号化された属性値5204を格納している。
各々の属性値は、抽象構文データ保持装置5201の外部に
存在するMOインスタンス5202の属性5203としてポインタ
5205で参照され、利用される。
FIG. 21 is a block diagram showing a schematic configuration of a conventional abstract syntax data holding device. As shown in FIG. 21, a conventional abstract syntax data holding device 5201 stores an attribute value 5204 encoded in a transfer syntax format according to BER.
Each attribute value is a pointer as an attribute 5203 of the MO instance 5202 existing outside the abstract syntax data holding device 5201.
Referenced and used at 5205.

【0016】しかしながら、図21に示す抽象構文データ
保持装置5201を用いた場合、MOインスタンスの各々の属
性値ごとに抽象構文データ保持装置5201内の記憶領域を
対応させる必要がある。すなわち、1つの属性値に対し
て必ず1つの記憶領域が必要であり、複数の属性が同一
の値を持つ場合であっても、抽象構文データ保持装置52
01内においては別々の記憶領域に格納される。したがっ
て、記憶領域の使用効率が低下する。
However, when the abstract syntax data holding device 5201 shown in FIG. 21 is used, it is necessary to make the storage area in the abstract syntax data holding device 5201 correspond to each attribute value of the MO instance. That is, one storage area is always required for one attribute value, and even if a plurality of attributes have the same value, the
01 is stored in a separate storage area. Therefore, the use efficiency of the storage area decreases.

【0017】そこで、特開平8-106424号公報に記載の方
法では、共通属性値を格納する領域を設け、あらかじめ
同一であることがわかっている属性値については、共通
属性値格納領域を参照するようにすることで記憶領域の
使用効率を改善している。
Therefore, in the method described in Japanese Patent Application Laid-Open No. 8-106424, an area for storing common attribute values is provided, and for attribute values that are known to be the same in advance, the common attribute value storage area is referred to. By doing so, the use efficiency of the storage area is improved.

【0018】次に、ネットワーク管理システム(Network
Management System、以下NMS)について簡単に説明す
る。図22にMIBを含むNMSの構成例を示す。図22に示すよ
うにNMSは、管理の主体であり管理操作を要求する機能
を持つ管理マネージャ5301と、管理マネージャ5301の代
理として管理対象装置1003に実際にアクセスし、これに
接続されるMIB5302に対して管理情報の取得および更新
を行なう機能を持つ管理エージェント1002と、管理対象
装置1003の特性を抽象化し論理的にモデル化した包含木
5303として格納し、入力されるMOクラス識別子(Identif
ier、以下ID)、FDN、属性IDおよびスコープ・フィルタ
指定などに従って包含木5303内を検索し所望のMOインス
タンス5304にアクセスして、属性の操作を行なう機能を
持つMIB5302と、管理の対象となる管理対象装置1003か
ら構成される。
Next, a network management system (Network
Management System (NMS) will be briefly described. FIG. 22 shows a configuration example of an NMS including a MIB. As shown in FIG. 22, the NMS includes a management manager 5301 that is a subject of management and has a function of requesting a management operation, and an NMS that actually accesses the managed device 1003 on behalf of the management manager 5301 and connects to the MIB 5302 connected thereto. A management agent 1002 that has the function of acquiring and updating management information, and a containment tree that abstracts and logically models the characteristics of the managed device 1003
MO class identifier (Identif
ier, hereafter referred to as ID), FDN, attribute ID, and scope / filter specification, etc., search the containment tree 5303, access the desired MO instance 5304, and operate the MIB 5302, which has the function of operating the attribute. It is composed of a managed device 1003.

【0019】次に、従来のMIBの一例を図面を参照して
説明する。図23は、従来のMIBの概略構成を示すブロッ
ク図である。図23に示すように、従来のMIB5401は、デ
ィレクトリ格納手段5402と、データ格納手段5403と、ク
ラス情報格納手段5404から構成されている。このように
構成されるMIB5401を介して、管理マネージャ5301から
の要求を受けた管理エージェント1002が管理対象装置10
03に対する管理操作を行なう。
Next, an example of a conventional MIB will be described with reference to the drawings. FIG. 23 is a block diagram showing a schematic configuration of a conventional MIB. As shown in FIG. 23, the conventional MIB 5401 includes a directory storage unit 5402, a data storage unit 5403, and a class information storage unit 5404. The management agent 1002, which has received a request from the management manager 5301, via the MIB 5401 thus configured,
Perform management operations on 03.

【0020】ディレクトリ格納手段5402は、FDNとMOイ
ンスタンスとの対応関係、およびFDNと属性情報表との
対応関係をあらかじめ記憶している。したがって、FDN
を与えることにより、前記FDNに対応するMOインスタン
スのデータ格納手段5403内におけるアドレスを得ること
ができ、さらに前記FDNに対応する属性情報表のクラス
情報格納手段5404内におけるアドレスを得ることができ
る。
The directory storage means 5402 stores in advance the correspondence between the FDN and the MO instance and the correspondence between the FDN and the attribute information table. Therefore, FDN
Thus, the address in the data storage unit 5403 of the MO instance corresponding to the FDN can be obtained, and the address in the class information storage unit 5404 of the attribute information table corresponding to the FDN can be obtained.

【0021】データ格納手段5403は、MIB5401が管理す
べきすべてのMOインスタンス5202と、抽象構文データ保
持装置5201を格納している。抽象構文データ保持装置52
01内には、MIBが管理すべきすべてのMOインスタンスの
すべての属性値5204が格納されている。属性5203は、い
ずれか1つのMOインスタンスの要素であり、MOインスタ
ンスは要素である属性値5204を指すポインタ5205を有す
る。
The data storage means 5403 stores all the MO instances 5202 to be managed by the MIB 5401 and the abstract syntax data holding device 5201. Abstract syntax data storage device 52
In 01, all attribute values 5204 of all MO instances to be managed by the MIB are stored. The attribute 5203 is an element of any one MO instance, and the MO instance has a pointer 5205 pointing to an attribute value 5204 that is an element.

【0022】クラス情報格納手段5404は、属性情報表54
09をはじめとする、MIBが管理すべきすべての属性情報
表を格納している。属性情報表は、MIBが管理するMOイ
ンスタンスが属するMOクラス毎に1つ存在する。
The class information storage means 5404 stores the attribute information table 54
Stores all attribute information tables that should be managed by MIB, including 09. One attribute information table exists for each MO class to which the MO instance managed by the MIB belongs.

【0023】次に、従来のMIBの動作の概要を説明す
る。図24は、従来のMIBの動作の概要を示す流れ図であ
る。管理エージェント1002がMIB5401により管理されて
いるMOインスタンスの属性にアクセスする際には、アク
セスしたいMOインスタンスおよび属性を指定するために
FDNと属性IDとを与える。
Next, an outline of the operation of the conventional MIB will be described. FIG. 24 is a flowchart showing an outline of the operation of the conventional MIB. When the management agent 1002 accesses the attributes of the MO instance managed by the MIB 5401, the management agent 1002 specifies the MO instance and the attribute to be accessed.
Give FDN and attribute ID.

【0024】はじめに、MIB5401が管理エージェント100
2からFDNと属性IDを入力される(ステップ5501)。MIB540
1は与えられたFDNをディレクトリ格納手段5402に入力
し、クラス情報格納手段5404に格納されている属性情報
表5409のアドレスを取得する(ステップ5502)。得られた
属性情報表5409のアドレスと、与えられた属性IDとをク
ラス情報格納手段5404に入力し、MOインスタンスの先頭
から属性を指すポインタまでのオフセット値を取得する
(ステップ5503)。
First, the MIB 5401 is managed by the management agent 100.
The FDN and attribute ID are input from 2 (step 5501). MIB540
1 inputs the given FDN to the directory storage unit 5402 and acquires the address of the attribute information table 5409 stored in the class information storage unit 5404 (step 5502). The obtained address of the attribute information table 5409 and the given attribute ID are input to the class information storage unit 5404, and the offset value from the head of the MO instance to the pointer indicating the attribute is obtained.
(Step 5503).

【0025】その後、与えられたFDNをディレクトリ格
納手段5402に入力することにより、対応するMOインスタ
ンス5202のデータ格納手段5403内におけるアドレスを取
得する(ステップ5504)。ステップ5503で得られたオフセ
ット値をステップ5504で得られたMOインスタンス5202の
アドレスに加え、この結果得られたアドレスで示される
場所に格納されている属性値5204を指すポインタ5205を
取得する(ステップ5505)。
Then, by inputting the given FDN to the directory storage means 5402, the address of the corresponding MO instance 5202 in the data storage means 5403 is obtained (step 5504). The offset value obtained in step 5503 is added to the address of the MO instance 5202 obtained in step 5504, and a pointer 5205 pointing to the attribute value 5204 stored at the location indicated by the obtained address is obtained (step 5505).

【0026】最終的に、ステップ5505で得られたポイン
タ5205を用いて、属性5204にアクセスする(ステップ550
6)。
Finally, the attribute 5204 is accessed using the pointer 5205 obtained in step 5505 (step 550).
6).

【0027】[0027]

【発明が解決しようとする課題】これまでに述べたよう
に、従来の抽象構文データ保持装置は、MOインスタンス
の各々の属性値を、BERに従って符号化した結果である
転送構文の形式で保持するものであり、以下に示すよう
な問題点がある。
As described above, the conventional abstract syntax data holding device holds each attribute value of the MO instance in the form of a transfer syntax which is a result of encoding according to BER. And has the following problems.

【0028】第一の問題点は、従来の抽象構文データ格
納装置を用いた場合、記憶領域の使用効率が低下するこ
とである。この理由は、属性値を格納する場合、1つの
属性値に対して必ず1つの記憶領域が必要であり、複数
の属性が同一の値を持つ場合であっても、別々の記憶領
域に格納されるためである。OSI管理では、各MOインス
タンスごとに値が異なる属性はまれであり、大多数の属
性はMOインスタンスが異なっても同一の属性値を持つこ
とが極めて多い。したがって、同一の属性値を別々の記
憶領域に格納した場合、冗長な領域が非常に多く発生
し、記憶領域の使用効率が極めて低下してしまう。
The first problem is that when a conventional abstract syntax data storage device is used, the use efficiency of the storage area is reduced. The reason is that when storing attribute values, one storage area is always required for one attribute value, and even if multiple attributes have the same value, they are stored in separate storage areas. That's because. In OSI management, attributes with different values for each MO instance are rare. Most attributes have the same attribute value even if the MO instance is different. Therefore, when the same attribute value is stored in different storage areas, a large number of redundant areas are generated, and the use efficiency of the storage area is extremely reduced.

【0029】この問題を解決するため、特開平8-106424
号公報に示される方法では、あらかじめ同一の値をとる
ことがわかっている属性の場合には、共通属性値格納領
域を参照するようにすることで、記憶領域の使用効率の
改善を計っているが、この方法はあくまでネットワーク
管理を開始する以前での対処方法であり、ネットワーク
管理を行なっている過程において、同一の属性値を持つ
MOインスタンスが多数生成されてしまった場合には、や
はり記憶領域の使用効率の低下を招いてしまう。
In order to solve this problem, Japanese Patent Application Laid-Open No. 8-106424
In the method disclosed in Japanese Patent Application Laid-Open Publication No. H10-207, in the case of an attribute that is known to have the same value in advance, the use efficiency of the storage area is improved by referring to the common attribute value storage area. However, this method is a countermeasure before starting network management, and has the same attribute value in the process of performing network management.
When a large number of MO instances are generated, the use efficiency of the storage area is also lowered.

【0030】第二の問題点は、属性値同士の値の比較を
高速に行なうことが困難なことである。この理由は、抽
象構文データ保持装置内において、属性値はASN.1のBER
に従って符号化された転送構文の形式で格納されている
ため、値の比較を行なう場合には、格納されている属性
値をいったん復号化し、値記法に戻した上で比較を行な
わなければならないためである。OSI管理では、包含木
中において特定の属性値を持つMOインスタンスのみにア
クセスを行なうといったスコープ・フィルタ処理が非常
に頻繁に行なわれるため、属性値の比較が高速に行なえ
ないと、NMS全体の性能の低下を招くおそれがある。
The second problem is that it is difficult to compare the values of attribute values at high speed. The reason for this is that in the abstract syntax data storage device, the attribute value is the ASN.1 BER
Is stored in the form of a transfer syntax coded according to, so when comparing values, the stored attribute values must be decoded once, returned to value notation, and then compared. It is. In OSI management, the scope filter processing, such as accessing only MO instances with specific attribute values in the containment tree, is performed very frequently. May be reduced.

【0031】また、従来のMIBにおいては以下に示すよ
うな問題点がある。従来のMIBを用いた場合、データ格
納手段における記憶領域の使用効率が不十分である。こ
の第一の理由は、前述した抽象構文データ保持装置にお
いて記憶領域の使用効率が低下していることである。第
二の理由は、データ格納手段においてMOインスタンスを
格納する場合、1つのMOインスタンスに対して必ず1つの
記憶領域が必要であり、複数のMOインスタンスが全く同
一の属性値を持っていたり、一部の属性値のみが異なり
他の属性値は同一である場合であっても、別々の記憶領
域に格納されるためである。OSI管理では、同一のMOク
ラスに属するMOインスタンスの場合、大部分の属性値は
すべてのMOインスタンスについて同一であり、MOインス
タンスごとに値が異なる属性はわずかであることが多い
ため、従来のMIBにおいては、記憶領域の使用効率が極
めて低下してしまう。
The conventional MIB has the following problems. When the conventional MIB is used, the use efficiency of the storage area in the data storage means is insufficient. The first reason is that the use efficiency of the storage area is reduced in the above-described abstract syntax data holding device. The second reason is that when storing an MO instance in the data storage means, one storage area is always required for one MO instance, and a plurality of MO instances have exactly the same attribute value, This is because, even when only the attribute values of a set are different and other attribute values are the same, they are stored in different storage areas. In the OSI management, in the case of MO instances belonging to the same MO class, most attribute values are the same for all MO instances, and there are many attributes that have different values for each MO instance. In this case, the use efficiency of the storage area is extremely reduced.

【0032】そこで、本発明の目的は、前記のような問
題点を解決し、記憶領域の使用効率が高く、属性値の処
理を高速に行なうことが可能な抽象構文データ保持装置
を提供し、また、記憶領域の使用効率が高いMIBを提供
することにある。
Therefore, an object of the present invention is to provide an abstract syntax data holding device which solves the above-mentioned problems, has a high use efficiency of a storage area, and can process attribute values at high speed. Another object of the present invention is to provide an MIB with a high storage area use efficiency.

【0033】[0033]

【課題を解決するための手段】本発明の抽象構文データ
保持装置は、符号化された転送構文データを入力として
受け取り、前記転送構文データが抽象構文データ保持装
置内に蓄積されるデータであるか否かを判別し、蓄積が
必要であると判別した場合、前記転送構文データを抽象
構文データ保持装置内で使用される内部データに変換
し、抽象構文データ蓄積手段内に前記内部データを格納
した後に、前記内部データの抽象構文データ蓄積手段内
におけるアドレスを、前記転送構文データに対応する抽
象構文キーとして出力する機能を有し、また蓄積が必要
でないと判別した場合、前記抽象構文データに対応する
抽象構文キーを出力する機能を有する抽象構文データ変
換手段と、前記抽象構文データ変換手段によって、蓄積
の必要があると判別され、内部データに変換された転送
構文データを格納する機能を有する抽象構文データ蓄積
手段と、抽象構文定義とこれに対応する整数値(インデ
ックス)をエントリとする表を格納する機能を有する抽
象構文定義格納手段とから構成する。
An abstract syntax data holding device according to the present invention receives encoded transfer syntax data as an input, and determines whether the transfer syntax data is data stored in the abstract syntax data holding device. Whether the transfer syntax data is determined to be necessary or not is converted to internal data used in the abstract syntax data holding device, and the internal data is stored in the abstract syntax data storage means. Later, it has a function of outputting an address of the internal data in the abstract syntax data storage means as an abstract syntax key corresponding to the transfer syntax data. Abstract syntax data conversion means having a function of outputting an abstract syntax key to be converted, and the abstract syntax data conversion means determines that storage is necessary. Abstract syntax data storage means having a function of storing transfer syntax data converted into internal data, and an abstract syntax having a function of storing a table having an abstract syntax definition and an integer value (index) corresponding thereto as an entry. And a definition storage means.

【0034】さらに、本発明の抽象構文データ保持装置
は前記三手段に加え、MOクラスを識別するために各々の
クラス定義に付与されているオブジェクト識別子(Objec
t Identifier、以下OID)と前記OIDに対する整数値(イン
デックス)をエントリとする表を格納し、各MOクラスに
属するMOインスタンスがどのような属性を持つかを定義
したMOクラス定義を格納する機能を有するMOクラス定義
格納手段を内部に含んでもよい。
Further, in addition to the three means, the abstract syntax data holding device of the present invention further comprises an object identifier (Objec) assigned to each class definition for identifying the MO class.
t Identifier, hereinafter referred to as OID) and a table with entries of integer values (indexes) for the OIDs as entries, and a function of storing an MO class definition that defines what attributes MO instances belonging to each MO class have. MO class definition storage means may be included therein.

【0035】また、本発明のMIBは、前記抽象構文デー
タ保持装置を用い、転送構文データを入力として受け取
り、入力データが内部に蓄積される必要があるかどうか
を判別し、蓄積が必要なデータであれば蓄積を行なった
後、入力された転送構文に対応する抽象構文キーを出力
する機能を有する抽象構文データ保持装置と、包含木を
構成する個々のMOインスタンスノードを格納する機能を
有するMOインスタンス格納手段から構成する。
Also, the MIB of the present invention uses the above-mentioned abstract syntax data holding device, receives transfer syntax data as input, determines whether or not the input data needs to be stored therein, Then, after storing, an abstract syntax data holding device having a function of outputting an abstract syntax key corresponding to an input transfer syntax, and a MO having a function of storing individual MO instance nodes constituting a containment tree It consists of instance storage means.

【0036】本発明の抽象構文データ保持装置は、抽象
構文データを装置内に蓄積する前段階において、前記抽
象構文データが蓄積される必要があるデータか否かを判
別し、蓄積される必要があるデータのみを蓄積すること
により、抽象構文データを保持するために必要な記憶領
域の削減が可能である。
The abstract syntax data holding device according to the present invention determines whether or not the abstract syntax data needs to be stored before storing the abstract syntax data in the device. By storing only certain data, it is possible to reduce the storage area necessary to hold the abstract syntax data.

【0037】さらに、蓄積の必要がある抽象構文データ
の場合については、これを内部データに変換し、外部か
ら前記抽象構文データを参照するためには抽象構文キー
を用いるようにする。抽象構文キーには、「同一の値を
持つ複数の抽象構文データが存在する場合、これら複数
の抽象構文データに対応する抽象構文キーはただ1つで
ある」という特徴がある。すなわち、抽象構文キーと抽
象構文データの値の間には、一対一の対応関係が成立す
る。したがって、同一の値を持つ複数の抽象構文データ
を保持する場合、装置内のただ一ヶ所にのみ内部データ
を蓄積し、外部からは抽象構文キーを用いて参照するよ
うにすることで、従来の抽象構文データ保持装置のよう
に同一の値を持つ複数の抽象構文データを別々の記憶領
域に格納する必要がなくなり、記憶領域の削減が可能で
ある。
Furthermore, in the case of abstract syntax data that needs to be stored, it is converted into internal data, and an abstract syntax key is used to refer to the abstract syntax data from outside. The abstract syntax key has a feature that "when there are a plurality of abstract syntax data having the same value, there is only one abstract syntax key corresponding to the plurality of abstract syntax data". That is, a one-to-one correspondence is established between the abstract syntax key and the value of the abstract syntax data. Therefore, when storing a plurality of abstract syntax data having the same value, the internal data is stored only in one place in the device, and the external syntax is referred to using the abstract syntax key. It is not necessary to store a plurality of abstract syntax data having the same value in separate storage areas as in the abstract syntax data holding device, and the storage area can be reduced.

【0038】これに加え、抽象構文キーの特徴を用いる
ことによって、複数の抽象構文データの値が同一である
かどうかの比較を非常に高速に行なうことが可能であ
る。
In addition, by using the feature of the abstract syntax key, it is possible to compare at a very high speed whether or not the values of a plurality of abstract syntax data are the same.

【0039】また、本発明のMIBは、前記抽象構文デー
タ保持装置を内部に含み、各々のMOクラスに属するMOイ
ンスタンスに対する標準の属性値を持つMOインスタンス
である参照MOインスタンスを生成しておき、当該MOクラ
スに属するMOインスタンスを格納する際には、参照MOイ
ンスタンス内に格納されている属性値を参照するように
する。
Further, the MIB of the present invention includes the above-mentioned abstract syntax data holding device therein, and generates a reference MO instance which is a MO instance having a standard attribute value for the MO instance belonging to each MO class, When storing the MO instance belonging to the MO class, the attribute value stored in the reference MO instance is referred to.

【0040】さらに、当該MOインスタンスが、参照MOイ
ンスタンス内に格納されている属性値と値の異なる属性
を持つ場合については、前記値の異なる属性値に対応す
る属性値のみを別領域に格納する。したがって、MOイン
スタンスを格納するために必要な記憶領域の削減が可能
である。
Further, when the MO instance has an attribute having a value different from the attribute value stored in the reference MO instance, only the attribute value corresponding to the attribute value having the different value is stored in another area. . Therefore, the storage area required for storing the MO instance can be reduced.

【0041】[0041]

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

【0042】図1は、本発明の実施の形態における、抽
象構文データ保持装置の概略構成を示すブロック図であ
る。図1に示すように、本実施の形態における抽象構文
データ保持装置0101は、抽象構文データ変換手段0102
と、抽象構文データ蓄積手段0103と、抽象構文定義格納
手段0104とから構成されている。
FIG. 1 is a block diagram showing a schematic configuration of an abstract syntax data holding device according to an embodiment of the present invention. As shown in FIG. 1, an abstract syntax data holding device 0101 according to the present embodiment
, An abstract syntax data storage means 0103, and an abstract syntax definition storage means 0104.

【0043】抽象構文データ変換手段0102は、ASN.1のB
ERに従って符号化された転送構文データを入力として受
け取り、入力された転送構文データが抽象構文データ蓄
積手段内0103に蓄積されるデータであるかどうかを判別
し、蓄積する必要のないデータであれば、転送構文デー
タを抽象構文キーに変換して出力する機能を有するとと
もに、転送構文データが蓄積する必要のあるデータであ
れば、抽象構文データハッシュ表0105内を検索し、転送
構文データに対応する内部データがすでに抽象構文デー
タ蓄積手段0103内に蓄積されていることを検知すると、
抽象構文データ蓄積手段0103内での当該内部データのア
ドレスを抽象構文キーとして出力する機能を有し、転送
構文データに対応する内部データが抽象構文データ蓄積
手段0103内に蓄積されていないことを検知すると、抽象
構文データ蓄積手段0103内の空き領域に転送構文データ
に対応する内部データを格納し、抽象構文データハッシ
ュ表0105を更新し、内部データを格納したアドレスを抽
象構文キーとして出力する機能を有する。
The abstract syntax data conversion means 0102 uses the ASN.1 B
Receives the transfer syntax data encoded according to the ER as input, determines whether the input transfer syntax data is data stored in 0103 in the abstract syntax data storage means, and if the data does not need to be stored, Has a function of converting the transfer syntax data into an abstract syntax key and outputting the data, and if the transfer syntax data needs to be accumulated, searches the abstract syntax data hash table 0105 to correspond to the transfer syntax data. Upon detecting that the internal data has already been stored in the abstract syntax data storage means 0103,
It has the function of outputting the address of the internal data in the abstract syntax data storage unit 0103 as an abstract syntax key, and detects that the internal data corresponding to the transfer syntax data is not stored in the abstract syntax data storage unit 0103 Then, a function of storing the internal data corresponding to the transfer syntax data in the free space in the abstract syntax data storage means 0103, updating the abstract syntax data hash table 0105, and outputting the address storing the internal data as an abstract syntax key is provided. Have.

【0044】上述の、蓄積の要否の判別において、抽象
構文データ蓄積手段0103内に蓄積される必要のあるデー
タとは、抽象構文キー内で表現できない大きなINTEGER
型のデータ、長い文字列型のデータ、OID型のデータ、
構造型のデータなどである。これら以外のデータは、抽
象構文データ蓄積手段0103内には格納されず、抽象構文
キーそのもので表現される。抽象構文データ蓄積手段01
03は、抽象構文データ変換手段0102によって蓄積が必要
であると判別された転送構文データに対応する内部デー
タを格納する機能を有する。
In the above-described determination of the necessity of storage, the data that needs to be stored in the abstract syntax data storage means 0103 is a large INTEGER that cannot be expressed in the abstract syntax key.
Type data, long string type data, OID type data,
Structured data. The other data is not stored in the abstract syntax data storage means 0103, but is represented by the abstract syntax key itself. Abstract syntax data storage means 01
03 has a function of storing internal data corresponding to transfer syntax data determined to be required to be stored by the abstract syntax data conversion means 0102.

【0045】図2は、本実施の形態において、抽象構文
データ保持装置0101に含まれる、抽象構文データ蓄積手
段0103の構成をさらに詳細に説明するためのブロック図
である。
FIG. 2 is a block diagram for describing in further detail the configuration of the abstract syntax data storage means 0103 included in the abstract syntax data holding device 0101 in the present embodiment.

【0046】図2に示すように、本実施の形態における
抽象構文データ蓄積手段0103は、内部データ蓄積表0201
を格納している。内部データ蓄積表0201は、抽象構文デ
ータ変換手段0102によって、蓄積が必要であると判別さ
れた転送構文データに対応する内部データ0202をエント
リとして持つ表である。
As shown in FIG. 2, the abstract syntax data storage means 0103 in the present embodiment has an internal data storage table 0201
Is stored. The internal data storage table 0201 is a table having, as an entry, the internal data 0202 corresponding to the transfer syntax data determined to be required to be stored by the abstract syntax data conversion means 0102.

【0047】抽象構文定義格納手段0104は、抽象構文定
義に番号付けを行なって管理するために、抽象構文定義
名とこれに対応する整数値(インデックス)をエントリと
して構成される表を格納するとともに、抽象構文定義そ
のものを格納する機能を有する。
The abstract syntax definition storage means 0104 stores a table composed of abstract syntax definition names and their corresponding integer values (indexes) as entries in order to number and manage the abstract syntax definitions. Has the function of storing the abstract syntax definition itself.

【0048】図3は、本実施の形態において、抽象構文
データ保持装置0101に含まれる、抽象構文定義格納手段
0104の構成をさらに詳細に説明するためのブロック図で
ある。図3に示すように、本実施の形態における抽象構
文定義格納手段0104は、抽象構文定義−インデックス対
応表0301と、抽象構文定義群0302を格納している。
FIG. 3 shows an abstract syntax definition storage means included in the abstract syntax data holding device 0101 in this embodiment.
FIG. 10 is a block diagram for explaining the configuration of 0104 in more detail. As shown in FIG. 3, the abstract syntax definition storage means 0104 in the present embodiment stores an abstract syntax definition-index correspondence table 0301 and an abstract syntax definition group 0302.

【0049】抽象構文定義−インデックス対応表0301
は、抽象構文データ保持装置が適用されるMIBにおいて
取り扱われるすべての抽象構文定義について、抽象構文
定義とこれに対するインデックスとの対応を保持するた
めの表であり、抽象構文定義名とこれに対応するインデ
ックスとの対をエントリとして持つ表である。図3中の
例において述べれば、抽象構文定義名"Attribute1"にイ
ンデックス"1"が対応し、抽象構文定義"Attribute2"に
インデックス"2"が対応するという具合である。
Abstract syntax definition-index correspondence table 0301
Is a table for holding the correspondence between the abstract syntax definitions and the indexes for all the abstract syntax definitions handled in the MIB to which the abstract syntax data holding device is applied. The abstract syntax definition name and the corresponding It is a table having a pair with an index as an entry. In the example of FIG. 3, the index “1” corresponds to the abstract syntax definition name “Attribute1”, and the index “2” corresponds to the abstract syntax definition “Attribute2”.

【0050】抽象構文定義群0302は、抽象構文定義名に
よって識別される抽象構文定義であり、抽象構文データ
保持装置が適用されるMIBにおいて取り扱われるすべて
の抽象構文に関する構文定義である。
The abstract syntax definition group 0302 is an abstract syntax definition identified by an abstract syntax definition name, and is a syntax definition relating to all abstract syntaxes handled in the MIB to which the abstract syntax data holding device is applied.

【0051】次に、抽象構文データ蓄積手段0103内に格
納される内部データ蓄積表0201の各エントリのフォーマ
ットについて説明する。
Next, the format of each entry of the internal data storage table 0201 stored in the abstract syntax data storage means 0103 will be described.

【0052】図4および図5は、本実施の形態において、
抽象構文データ保持装置0101に含まれる、抽象構文デー
タ蓄積手段0103内に格納される内部データ蓄積表0201の
各エントリのフォーマットを詳細に説明するためのブロ
ック図である。
FIGS. 4 and 5 show the present embodiment.
FIG. 4 is a block diagram for explaining in detail a format of each entry of an internal data storage table 0201 stored in an abstract syntax data storage unit 0103 included in the abstract syntax data holding device 0101.

【0053】図4および図5に示されるように、内部デー
タ蓄積表0201のエントリのフォーマットには、オクテッ
ト列型エントリ0401および構造型エントリ0501の2種類
が存在する。
As shown in FIGS. 4 and 5, there are two types of entries in the internal data storage table 0201: an octet column type entry 0401 and a structure type entry 0501.

【0054】オクテット列型エントリ0401は、抽象構文
インデックスフィールド0402と、オクテット長フィール
ド0403と、参照数フィールド0404と、転送構文データフ
ィールド0405の4種類のフィールドから構成される。オ
クテット列型エントリでは、抽象構文インデックスフィ
ールド0402は使用されないので、本フィールドは常に"
0"である。
The octet sequence type entry 0401 is composed of an abstract syntax index field 0402, an octet length field 0403, a reference count field 0404, and a transfer syntax data field 0405. For octet sequence entries, the abstract syntax index field 0402 is not used, so this field is always "
0 ".

【0055】オクテット長フィールド0403は、転送構文
データフィールド0405のオクテット長を示す。参照数フ
ィールド0404は、本エントリに対して、抽象構文データ
保持装置0101の外部から、もしくは抽象構文データ保持
装置0101内の抽象構文データ蓄積手段0103内に含まれる
内部データ蓄積表0201内の構造型エントリからの参照が
何個あるかを示す。
The octet length field 0403 indicates the octet length of the transfer syntax data field 0405. The reference number field 0404 indicates whether the entry has a structure type in the internal data storage table 0201 included in the abstract syntax data storage unit 0103 from outside the abstract syntax data storage device 0101 or in the abstract syntax data storage device 0101. Indicates how many references from the entry.

【0056】従来の抽象構文データ保持装置において
は、同一の値を持つ複数の転送構文データを別々の記憶
領域に格納していたのに対し、本実施の形態による抽象
構文データ保持装置では、参照数フィールドを設けるこ
とにより同一の値を持つ転送構文データが複数存在する
場合でも、これを唯一の記憶領域に格納し、外部もしく
は他のエントリからの参照回数を管理することにより必
要な記憶領域の削減が可能となる。
In the conventional abstract syntax data holding device, a plurality of transfer syntax data having the same value are stored in separate storage areas, whereas in the abstract syntax data holding device according to the present embodiment, the reference data is referred to. By providing a number field, even if there are a plurality of transfer syntax data having the same value, the transfer syntax data is stored in a single storage area, and by controlling the number of times of reference from an external or another entry, the required storage area can be stored. Reduction is possible.

【0057】転送構文データフィールド0405は、本エン
トリに対応する転送構文データを格納し、その長さはオ
クテット長フィールド0402に示される長さである。
The transfer syntax data field 0405 stores transfer syntax data corresponding to this entry, and its length is the length indicated in the octet length field 0402.

【0058】構造型エントリ0501にはさらに、SET型エ
ントリ0502と、CHOICE型エントリ0503の2種類が存在す
る。SET型エントリ0502は、抽象構文インデックスフィ
ールド0504と、要素数フィールド0505と、参照数フィー
ルド0506と、要素フィールド0507の4種類のフィールド
から構成される。抽象構文インデックスフィールド0504
は、抽象構文定義格納手段0104内において管理されてい
る、本エントリに対応する転送構文を定義する抽象構文
のインデックスを示す。要素数フィールド0505は、本エ
ントリに対応する抽象構文に何個の要素が含まれている
かを示す。参照数フィールド0506は、本エントリに対し
て、抽象構文データ保持装置0101の外部から、もしくは
抽象構文データ保持装置0101内の抽象構文データ蓄積手
段0103内に含まれる内部データ蓄積表0201内の構造型エ
ントリからの参照が何個あるかを示す。要素フィールド
0507は、要素数フィールド0505で示される個数分だけ存
在し、当該要素を示す抽象構文キーを格納している。
The structure type entry 0501 further has two types, a SET type entry 0502 and a CHOICE type entry 0503. The SET type entry 0502 includes four types of fields: an abstract syntax index field 0504, an element count field 0505, a reference count field 0506, and an element field 0507. Abstract syntax index field 0504
Indicates an index of an abstract syntax that is managed in the abstract syntax definition storage means 0104 and defines the transfer syntax corresponding to this entry. An element number field 0505 indicates how many elements are included in the abstract syntax corresponding to this entry. The reference number field 0506 indicates the structure type in the internal data storage table 0201 included in the abstract syntax data storage unit 0103 included in the abstract syntax data storage device 0101 from the outside of the abstract syntax data storage device 0101. Indicates how many references from the entry. Element field
The number 0507 is the same as the number indicated by the element number field 0505, and stores an abstract syntax key indicating the element.

【0059】SET型エントリとして格納される抽象構文
データには、SEQUENCE型、SET型、SEQUENCE OF型、SET
OF型のデータがある。
The abstract syntax data stored as a SET type entry includes a SEQUENCE type, a SET type, a SEQUENCE OF type, and a SET type.
There is OF type data.

【0060】CHOICE型エントリ0503は、抽象構文インデ
ックスフィールド0508と、要素位置フィールド0509と、
参照数フィールド0510と、要素フィールド0511の4種類
のフィールドから構成される。抽象構文インデックスフ
ィールド0508は、抽象構文定義格納手段0104内において
管理されている、本エントリに対応する転送構文を定義
する抽象構文のインデックスを示す。要素位置フィール
ド0509は、本エントリに対応する抽象構文の何番目の要
素が要素フィールド0511に格納されているかを示す。参
照数フィールド0510は、本エントリに対して、抽象構文
データ保持装置0101の外部から、もしくは抽象構文デー
タ保持装置0101内の抽象構文データ蓄積手段0103内に含
まれる内部データ蓄積表0201内の構造型エントリからの
参照が何個あるかを示す。要素フィールド0511は、ただ
1個存在し、抽象構文定義中において、要素位置フィー
ルド0509で示される要素を示す抽象構文キーを格納して
いる。
The CHOICE type entry 0503 includes an abstract syntax index field 0508, an element position field 0509,
It comprises four types of fields, a reference number field 0510 and an element field 0511. The abstract syntax index field 0508 indicates an index of an abstract syntax that is managed in the abstract syntax definition storage unit 0104 and defines the transfer syntax corresponding to this entry. The element position field 0509 indicates which element of the abstract syntax corresponding to this entry is stored in the element field 0511. The number-of-references field 0510 indicates the structure type in the internal data storage table 0201 included in the abstract syntax data storage unit 0103 included in the abstract syntax data storage device 0101 from the outside of the abstract syntax data storage device 0101. Indicates how many references from the entry. Element field 0511 is just
There is one, and an abstract syntax key indicating the element indicated by the element position field 0509 is stored in the abstract syntax definition.

【0061】CHOICE型エントリとして格納される抽象構
文データには、CHOICE型、ANY型のデータがある。ただ
し、ANY型のデータを格納する場合は、CHOICE型エント
リ0503における要素位置フィールド0509の内容は必ず"
1"となる。
The abstract syntax data stored as a CHOICE type entry includes CHOICE type and ANY type data. However, when storing ANY type data, the contents of element position field 0509 in CHOICE type entry 0503 must be "
1 ".

【0062】次に、本実施の形態において、抽象構文デ
ータ保持装置0101がどのように動作するかを説明する。
Next, how the abstract syntax data holding device 0101 operates in the present embodiment will be described.

【0063】はじめに、構造型データでない転送構文デ
ータを受信した場合の動作を説明する。図6は、本実施
の形態において、構造型データでない転送構文データを
受信した場合の抽象構文データ保持装置0101の動作を説
明するための流れ図である。図1および図6を使用して、
本実施の形態において、構造型データでない転送構文デ
ータを受信した場合の抽象構文データ保持装置0101の動
作の概要を説明する。
First, an operation when transfer syntax data that is not structured type data is received will be described. FIG. 6 is a flowchart for explaining the operation of abstract syntax data holding apparatus 0101 when transfer syntax data that is not structured data is received in the present embodiment. Using FIGS. 1 and 6,
In the present embodiment, an outline of the operation of the abstract syntax data holding device 0101 when transfer syntax data that is not structured data is received will be described.

【0064】まず、抽象構文データ保持装置0101は転送
構文データを入力される(ステップ0601)。 次に、抽象
構文データ変換手段0102は、入力された転送構文データ
を抽象構文データ蓄積手段0103内に蓄積する必要がある
か否かを判別する(ステップ0602)。判別の結果、蓄積す
る必要のないデータであれば、抽象構文データ変換手段
0102は、入力された転送構文データを抽象構文キーに変
換して出力する(ステップ0603)。
First, the transfer syntax data is input to the abstract syntax data holding device 0101 (step 0601). Next, the abstract syntax data conversion unit 0102 determines whether or not the input transfer syntax data needs to be stored in the abstract syntax data storage unit 0103 (step 0602). As a result of the determination, if the data does not need to be stored, the abstract syntax data conversion means
0102 converts the input transfer syntax data into an abstract syntax key and outputs it (step 0603).

【0065】一方、判別の結果、蓄積する必要のあるデ
ータであれば、抽象構文データ変換手段0102は、抽象構
文データハッシュ表0105を検索し、入力された転送構文
データに対応するエントリが抽象構文データ蓄積手段01
03内に存在するか否かを判別する(ステップ0604および
ステップ0605)。
On the other hand, if the result of the determination is that the data needs to be stored, the abstract syntax data conversion means 0102 searches the abstract syntax data hash table 0105 and finds that the entry corresponding to the input transfer syntax data is an abstract syntax data. Data storage means 01
It is determined whether or not it exists within 03 (step 0604 and step 0605).

【0066】判別の結果、入力された転送構文データに
対応するエントリが存在すれば、当該エントリの参照数
フィールドに"1"を加算する。この後、当該エントリの
抽象構文データ蓄積手段0103内におけるアドレスを抽象
構文キーとして出力する(ステップ0606およびステップ0
607)。
As a result of the determination, if there is an entry corresponding to the input transfer syntax data, "1" is added to the reference number field of the entry. Thereafter, the address of the entry in the abstract syntax data storage means 0103 is output as an abstract syntax key (step 0606 and step 0606).
607).

【0067】ステップ0605における判別の結果、入力さ
れた転送構文データに対応するエントリが存在しなけれ
ば、入力された転送構文データに対応するエントリを新
たに作成する。ここで、新たに作成されたエントリの参
照数フィールドの値は"1"である(ステップ0608)。
If the result of determination in step 0605 is that there is no entry corresponding to the input transfer syntax data, an entry corresponding to the input transfer syntax data is newly created. Here, the value of the reference count field of the newly created entry is “1” (step 0608).

【0068】次に、作成したエントリを抽象構文データ
蓄積手段0103内の空き領域に格納し(ステップ0609)、さ
らに、抽象構文データハッシュ表0105の内容を更新し
(ステップ0610)、最後に、ステップ0609において格納し
たエントリのアドレスを抽象構文キーとして出力する
(ステップ0611)。
Next, the created entry is stored in a free area in the abstract syntax data storage means 0103 (step 0609), and the contents of the abstract syntax data hash table 0105 are updated.
(Step 0610) Finally, the address of the entry stored in Step 0609 is output as an abstract syntax key
(Step 0611).

【0069】次に、構造型データである転送構文データ
を受信した場合の動作を説明する。図7は、本実施の形
態において、構造型データである転送構文データを受信
した場合の抽象構文データ保持装置0101の動作を説明す
るための流れ図である。図1および図7を使用して、本実
施の形態において、構造型データである転送構文データ
を受信した場合の抽象構文データ保持装置0101の動作の
概要を説明する。
Next, an operation when transfer syntax data which is structured type data is received will be described. FIG. 7 is a flowchart illustrating the operation of abstract syntax data holding device 0101 when transfer syntax data that is structured data is received in the present embodiment. With reference to FIG. 1 and FIG. 7, an outline of the operation of the abstract syntax data holding device 0101 when transfer syntax data that is structured data is received in the present embodiment will be described.

【0070】はじめに、抽象構文データ保持装置0101は
転送構文データを入力され(ステップ0701)、抽象構文変
換手段0102は、抽象構文データハッシュ表0105を検索
し、入力された転送構文データに対応するエントリが抽
象構文データ蓄積手段0103内に存在するか否かを判別す
る(ステップ0702およびステップ0703)。
First, the transfer syntax data is input to the abstract syntax data holding device 0101 (step 0701), and the abstract syntax conversion means 0102 searches the abstract syntax data hash table 0105 and finds an entry corresponding to the input transfer syntax data. Is determined in the abstract syntax data storage means 0103 (step 0702 and step 0703).

【0071】判別の結果、入力された転送構文データに
対応するエントリが存在すれば、当該エントリの参照数
フィールドに"1"を加算する。この後、当該エントリの
抽象構文データ蓄積手段0103内におけるアドレスを抽象
構文キーとして出力する(ステップ0704およびステップ0
705)。
As a result of the determination, if there is an entry corresponding to the input transfer syntax data, "1" is added to the reference number field of the entry. Thereafter, the address of the entry in the abstract syntax data storage unit 0103 is output as an abstract syntax key (step 0704 and step 0704).
705).

【0072】一方、判別の結果、入力された転送構文デ
ータに対応するエントリが存在しなければ、抽象構文変
換手段0102は、抽象構文定義格納手段0104を検索し、入
力された転送構文データに対応する抽象構文定義に付与
されたインデックスを取得する(ステップ0706)。
On the other hand, if the result of the determination is that there is no entry corresponding to the input transfer syntax data, the abstract syntax conversion means 0102 searches the abstract syntax definition storage means 0104 and finds an entry corresponding to the input transfer syntax data. An index assigned to the abstract syntax definition to be obtained is obtained (step 0706).

【0073】抽象構文変換手段0102は、入力された転送
構文データに対応するエントリを新たに作成し、抽象構
文インデックスフィールドにステップ0706で取得したイ
ンデックスを設定する。ここで新たに作成されたエント
リの参照数フィールドの値は"1"である(ステップ070
7)。
The abstract syntax conversion means 0102 newly creates an entry corresponding to the input transfer syntax data, and sets the index acquired in step 0706 in the abstract syntax index field. Here, the value of the reference count field of the newly created entry is "1" (step 070).
7).

【0074】次に、抽象構文変換手段0102は、抽象構文
インデックスフィールドに示されるインデックスに対応
する抽象構文のすべての要素の処理を終了したかどうか
を判別する(ステップ0708)。判別の結果、すべての要素
の処理を終了していれば、作成したエントリを抽象構文
データ蓄積手段0103に格納(ステップ0709)、抽象構文デ
ータハッシュ表0105の内容を更新する(ステップ0710)。
最後に、ステップ0709において格納したエントリのアド
レスを抽象構文キーとして出力する(ステップ0711)。
Next, the abstract syntax conversion means 0102 determines whether or not processing of all elements of the abstract syntax corresponding to the index indicated in the abstract syntax index field has been completed (step 0708). If all elements have been processed as a result of the determination, the created entry is stored in the abstract syntax data storage means 0103 (step 0709), and the contents of the abstract syntax data hash table 0105 are updated (step 0710).
Finally, the address of the entry stored in step 0709 is output as an abstract syntax key (step 0711).

【0075】一方、ステップ0708における判別の結果、
すべての要素の処理を終了していなければ、次に処理す
る要素が構造型の要素であるか否かを判別する(ステッ
プ0712)。判別の結果、次に処理すべき要素が構造型で
あれば、本フローを再帰的に実行する(ステップ0713)。
On the other hand, as a result of the determination in step 0708,
If the processing of all elements has not been completed, it is determined whether or not the element to be processed next is a structural element (step 0712). As a result of the determination, if the element to be processed next is the structural type, the flow is recursively executed (step 0713).

【0076】一方、判別の結果、次に処理すべき要素が
構造型でなければ、図6に示す構造型でない転送構文デ
ータの処理フローを実行する(ステップ0714)。
On the other hand, if the result of the determination is that the element to be processed next is not of the structured type, the processing flow of transfer syntax data not of the structured type shown in FIG.

【0077】ステップ0713もしくはステップ0714で出力
された抽象構文キーを処理中の要素に対応する要素フィ
ールドの内容として設定する(ステップ0715)。その後、
ステップ0708に戻り、処理を続行する。
The abstract syntax key output in step 0713 or 0714 is set as the content of the element field corresponding to the element being processed (step 0715). afterwards,
Returning to step 0708, the processing is continued.

【0078】次に、本発明の第二の実施の形態におけ
る、抽象構文データ保持装置について説明する。図8
は、本発明の第二の実施の形態における、抽象構文デー
タ保持装置の概略構成を示すブロック図である。図8に
示すように、本第二の実施の形態における抽象構文デー
タ保持装置0801は、抽象構文データ変換手段0802と、抽
象構文データ蓄積手段0103と、抽象構文定義格納手段01
04と、MOクラス定義格納手段0803から構成されている。
Next, an abstract syntax data holding device according to a second embodiment of the present invention will be described. Fig. 8
FIG. 7 is a block diagram illustrating a schematic configuration of an abstract syntax data holding device according to a second embodiment of the present invention. As shown in FIG. 8, the abstract syntax data holding device 0801 according to the second embodiment includes an abstract syntax data conversion unit 0802, an abstract syntax data storage unit 0103, and an abstract syntax definition storage unit 01.
04 and MO class definition storage means 0803.

【0079】抽象構文データ変換手段0802は、本発明の
第一の実施の形態における抽象構文データ変換手段0102
のように、ASN.1のBERに従って符号化された転送構文デ
ータを入力として受け取り、入力された転送構文データ
が抽象構文データ蓄積手段0103内に蓄積されるデータで
あるかどうかを判別し、蓄積する必要のないデータであ
れば、転送構文データを抽象構文キーに変換して出力す
る第1の機能を有する。また、転送構文データが蓄積す
る必要のあるデータであれば、抽象構文データハッシュ
表0105内を検索し、前記転送構文データに対応する内部
データがすでに抽象構文データ蓄積手段0103内に蓄積さ
れていることを検知すると、抽象構文データ蓄積手段01
03内での当該内部データのアドレスを抽象構文キーとし
て出力する第2の機能を有する。さらに、転送構文デー
タに対応する内部データが抽象構文データ蓄積手段0103
内に蓄積されていないことを検知すると、抽象構文デー
タ蓄積手段0103内の空き領域に転送構文データに対応す
る内部データを格納し、抽象構文データハッシュ表0105
を更新し、内部データを格納したアドレスを抽象構文キ
ーとして出力する第3の機能を有する。
The abstract syntax data conversion means 0802 according to the first embodiment of the present invention
As described above, transfer syntax data encoded according to the BER of ASN.1 is received as input, and it is determined whether or not the input transfer syntax data is data to be stored in the abstract syntax data storage unit 0103, and stored. If the data does not need to be transferred, it has a first function of converting the transfer syntax data into an abstract syntax key and outputting it. If the transfer syntax data needs to be stored, the abstract syntax data hash table 0105 is searched, and the internal data corresponding to the transfer syntax data is already stored in the abstract syntax data storage unit 0103. Is detected, the abstract syntax data storage means 01
It has a second function of outputting the address of the internal data in 03 as an abstract syntax key. Further, the internal data corresponding to the transfer syntax data is stored in the abstract syntax data storage means 0103.
When it is detected that the transfer syntax data is not stored in the abstract syntax data storage means 0103, the internal data corresponding to the transfer syntax data is stored in the free space, and the abstract syntax data hash table 0105 is stored.
And a third function of updating an address of the internal data as an abstract syntax key.

【0080】MOクラス定義格納手段0803は、MOクラスの
番号付けを行なって管理するために、MOクラスを識別す
るために各々のクラス定義に付与されているOIDとこれ
に対する整数値(インデックス)をエントリとして構成さ
れる表を格納するとともに、各MOクラスに属するMOイン
スタンスがどのような属性を持つかを定義したMOクラス
定義そのものを格納する機能を有する。
The MO class definition storage means 0803 stores an OID assigned to each class definition for identifying the MO class and an integer value (index) corresponding to the OID in order to perform management by numbering the MO class. It has a function of storing a table configured as an entry and storing an MO class definition itself that defines what attributes the MO instances belonging to each MO class have.

【0081】図9は、本第二の実施の形態において、抽
象構文データ保持装置0801に含まれる、MOクラス定義格
納手段0803の構成をさらに詳細に説明するためのブロッ
ク図である。図9に示すように、本第二の実施の形態に
おけるMOクラス定義格納手段0803は、OID−インデック
ス対応表0901と、MOクラス定義群0902を格納している。
FIG. 9 is a block diagram for explaining in further detail the configuration of the MO class definition storage means 0803 included in the abstract syntax data holding device 0801 in the second embodiment. As shown in FIG. 9, the MO class definition storage means 0803 in the second embodiment stores an OID-index correspondence table 0901 and an MO class definition group 0902.

【0082】OID−インデックス対応表0901は、抽象構
文データ保持装置が適用されるMIBにおいて取り扱われ
るすべてのMOクラス定義に付与されたOIDについて、OID
とこれに対するインデックスとの対応を保持するための
表であり、OIDとこれに対応するインデックスとの対を
エントリとして持つ表である。図9中の例において述べ
れば、OID "1.2.513.9.12"にインデックス"1"が対応
し、OID "1.2.513.9.13"にインデックス"2"が対応する
という具合である。
The OID-index correspondence table 0901 shows OIDs assigned to all MO class definitions handled in the MIB to which the abstract syntax data holding device is applied.
This is a table for holding the correspondence between the OID and the index corresponding thereto, and is a table having a pair of the OID and the corresponding index as an entry. In the example of FIG. 9, the index “1” corresponds to OID “1.2.513.9.12”, and the index “2” corresponds to OID “1.2.513.9.13”.

【0083】MOクラス定義群0902は、OIDによって識別
される各MOクラスが実際にどのような属性を持つクラス
として定義されているか示している。図9中の例におい
て述べれば、OID "1.2.513.9.12"を付与されたMOクラス
は、OID "1.2.120.1.22"、OID "1.2.120.2.33"、…で識
別される属性を持ち、それぞれの属性の構造が抽象構
文"Attribute1"、抽象構文"Attribute2"、…で定義され
ていることになる。
The MO class definition group 0902 indicates what attributes each MO class identified by the OID is actually defined as having. Referring to the example in FIG. 9, the MO class to which OID "1.2.513.9.12" is assigned has attributes identified by OID "1.2.120.1.22", OID "1.2.120.2.33",. And the structure of each attribute is defined by the abstract syntax "Attribute1", the abstract syntax "Attribute2", and so on.

【0084】第二の実施の形態における抽象構文データ
変換手段0802と、第一の実施の形態における抽象構文デ
ータ変換手段0102との差異は、OID型のデータの取り扱
いにある。第一の実施の形態における抽象構文データ変
換手段0102においては、OID型のデータはオクテット列
型のエントリに変換され、抽象構文データ蓄積手段0103
中に格納される。一方、第二の実施の形態における抽象
構文データ変換手段0802においては、OID型のデータ
は、MOクラス定義格納手段0803を検索し、入力されたOI
Dデータに対応するインデックスの値を抽象構文キーと
して用い、蓄積を必要としない。
The difference between the abstract syntax data conversion means 0802 in the second embodiment and the abstract syntax data conversion means 0102 in the first embodiment lies in the handling of OID type data. In the abstract syntax data conversion means 0102 in the first embodiment, the OID type data is converted into an octet string type entry, and the abstract syntax data storage means 0103
Stored inside. On the other hand, in the abstract syntax data conversion unit 0802 in the second embodiment, the OID type data is searched in the MO class definition storage unit 0803, and the input OI
The index value corresponding to the D data is used as an abstract syntax key, and no accumulation is required.

【0085】したがって、第一の実施の形態における抽
象構文データ保持装置0101と比較すると、第二の実施の
形態における抽象構文データ保持装置0801は、抽象構文
データ蓄積手段0103内で必要な記憶領域を削減すること
が可能である。ただし、前述のOIDデータに対応するイ
ンデックスが、MOクラス定義格納手段0803内に存在しな
ければ、オクテット列型のエントリに変換され、抽象構
文データ蓄積手段0103内に格納される。
Therefore, when compared with the abstract syntax data holding device 0101 in the first embodiment, the abstract syntax data holding device 0801 in the second embodiment saves a necessary storage area in the abstract syntax data storage means 0103. It is possible to reduce. However, if the index corresponding to the above-mentioned OID data does not exist in the MO class definition storage means 0803, it is converted into an octet string type entry and stored in the abstract syntax data storage means 0103.

【0086】次に、本発明の実施の形態におけるMIBに
ついて詳細に説明する。図10は、本発明の実施の形態に
おける、MIBの概略構成を示すブロック図である。
Next, the MIB according to the embodiment of the present invention will be described in detail. FIG. 10 is a block diagram showing a schematic configuration of the MIB according to the embodiment of the present invention.

【0087】図10に示すように、本実施の形態における
MIB1001は、抽象構文データ保持装置0101と、MOクラス
定義格納手段0803と、MOインスタンス格納手段1004から
構成されている。このような構成を備えたMIBを介し
て、管理エージェント1002が管理対象装置1003を、管理
マネージャ5301からの要求に従って管理する。
As shown in FIG. 10, in this embodiment,
The MIB 1001 includes an abstract syntax data storage device 0101, an MO class definition storage unit 0803, and an MO instance storage unit 1004. The management agent 1002 manages the managed device 1003 in accordance with a request from the management manager 5301 via the MIB having such a configuration.

【0088】また、本発明の実施の形態における、MIB1
001は図11に概略構成を示すブロック図のように構成し
てもよい。図11に示すMIB1001は、抽象構文データ保持
装置0801と、MOインスタンス格納手段1004から構成され
ている。
Further, in the embodiment of the present invention, MIB1
001 may be configured as shown in a block diagram showing a schematic configuration in FIG. The MIB 1001 shown in FIG. 11 includes an abstract syntax data holding device 0801 and MO instance storage means 1004.

【0089】図10に示すMIB1001と、図11に示すMIB1001
との相違は、抽象構文データ保持装置として、本発明の
第一の実施の形態によるもの、第二の実施の形態のよる
もののいずれを使用するかの相違である。すなわち、本
発明の第一の実施の形態における抽象構文データ保持装
置0101には、MOクラス定義格納手段0803が含まれないた
め、図10に示すMIB1001においては、抽象構文データ保
持装置0101の外部にMOクラス定義格納手段0803が含まれ
ている。
The MIB 1001 shown in FIG. 10 and the MIB 1001 shown in FIG.
The difference between the two is that the device according to the first embodiment of the present invention or the device according to the second embodiment is used as an abstract syntax data holding device. That is, since the abstract syntax data holding device 0101 in the first embodiment of the present invention does not include the MO class definition storage means 0803, the MIB 1001 shown in FIG. MO class definition storage means 0803 is included.

【0090】抽象構文データ保持装置0101および0801
は、これまでに述べたようにASN.1のBERに従って符号化
された転送構文データを入力として受け取り、前記転送
構文データを内部に蓄積する必要があるかどうかを判別
し、蓄積する必要のあるデータであれば蓄積を行なった
後、転送構文データに対応する抽象構文キーを出力する
機能を有する。
The abstract syntax data holding units 0101 and 0801
It is necessary to receive as input the transfer syntax data encoded according to the BER of ASN.1 as input, determine whether the transfer syntax data needs to be stored internally, and store it. If it is data, it has a function of outputting an abstract syntax key corresponding to transfer syntax data after storing it.

【0091】MOクラス定義格納手段0803は、これまでに
述べたように、MOクラスの番号付けを行なって、MOクラ
スを識別するために各々のクラス定義に付与されている
OIDとこれに対する整数値(インデックス)をエントリと
して構成される表を格納するとともに、各MOクラスに属
するMOインスタンスがどのような属性を持つかを定義し
たMOクラス定義を格納する機能を有する。
As described above, the MO class definition storage means 0803 assigns the MO class number, and is attached to each class definition to identify the MO class.
It has a function to store a table composed of an OID and an integer value (index) corresponding to the entry as an entry, and a MO class definition that defines what attributes the MO instances belonging to each MO class have.

【0092】MOインスタンス格納手段1004は、包含木を
構成している個々のMOインスタンスノードを格納する機
能を有する。個々のMOインスタンスノード内には、MOイ
ンスタンスの属性値が抽象構文キーの形式で格納されて
いる。
[0092] The MO instance storage means 1004 has a function of storing the individual MO instance nodes constituting the containment tree. In each MO instance node, the attribute value of the MO instance is stored in the form of an abstract syntax key.

【0093】図12は、本実施の形態において、MIB1001
に含まれる、MOインスタンス格納手段1004の構成をさら
に詳細に説明するためのブロック図である。図12に示す
ように、本実施の形態におけるMOインスタンス格納手段
1004は、FDNハッシュ表1201と、MOインスタンスノード
表1202と、MOインスタンス属性表1203を格納している。
FIG. 12 shows the MIB 1001 in this embodiment.
FIG. 4 is a block diagram for explaining in further detail the configuration of MO instance storage means 1004 included in. As shown in FIG. 12, MO instance storage means in the present embodiment
1004 stores an FDN hash table 1201, an MO instance node table 1202, and an MO instance attribute table 1203.

【0094】FDNハッシュ表1201は、FDNに対応する抽象
構文キーと、FDNに対応するMOインスタンスノードのMO
インスタンスノード表内でのアドレス(本アドレスをMO
インスタンスノードキーという)の対をエントリとする
表であり、FDNに対応するMOインスタンスノードがすで
にMOインスタンスノード表内に格納されているかどうか
を検査するために用いられる。
The FDN hash table 1201 stores the abstract syntax key corresponding to the FDN and the MO of the MO instance node corresponding to the FDN.
Address in the instance node table (this address is MO
This is a table in which a pair of (instance node key) is an entry, and is used to check whether the MO instance node corresponding to the FDN is already stored in the MO instance node table.

【0095】MOインスタンスノード表1202は、包含木を
構成する各々のMOインスタンスノードを格納する表であ
る。MOインスタンスノード表1202内のMOインスタンスノ
ード1204や1205は、包含木中のMOインスタンスノードと
一対一に対応している。すなわち、包含木中の1つのMO
インスタンスノードに対して、これに対応するMOインス
タンスノード表内のMOインスタンスノードが1つ存在す
る。
[0095] The MO instance node table 1202 is a table for storing each MO instance node constituting the containment tree. The MO instance nodes 1204 and 1205 in the MO instance node table 1202 correspond one-to-one with the MO instance nodes in the containment tree. That is, one MO in the containing tree
For an instance node, there is one corresponding MO instance node in the MO instance node table.

【0096】MOインスタンス属性表1203は、MOインスタ
ンスノード表1202内に格納されている各々のMOインスタ
ンスに対応する属性を格納する表である。MOインスタン
ス属性表1203中には、参照MOインスタンス1206および差
分属性1207という2種類のエントリが存在する。参照MO
インスタンス1206は、1個のMOクラスにつき1個のみ存在
し、当該MOクラスに属するMOインスタンスの属性の代表
値としての役割を持つため、当該MOクラスに属するMOイ
ンスタンスは、必ず参照MOインスタンス1206を参照する
(図12中の矢印付点線で示す)。差分属性1207は、参照MO
インスタンス1206で代表される属性値と異なる属性値を
持つMOインスタンスのみから参照され、参照MOインスタ
ンスで代表される属性値と異なる属性値のみを格納して
いる(図12中の矢印付実線で示す)。
[0096] The MO instance attribute table 1203 is a table for storing attributes corresponding to each MO instance stored in the MO instance node table 1202. In the MO instance attribute table 1203, there are two types of entries, a reference MO instance 1206 and a difference attribute 1207. Reference MO
Since there is only one instance 1206 per MO class and has a role as a representative value of the attribute of the MO instance belonging to the MO class, the MO instance belonging to the MO class always includes the reference MO instance 1206. refer
(Shown by a dotted line with an arrow in FIG. 12). The difference attribute 1207 is the reference MO
Only the attribute values different from the attribute values represented by the reference MO instance are stored, which are referred to only from the MO instances having attribute values different from the attribute values represented by the instance 1206 (shown by a solid line with an arrow in FIG. 12). ).

【0097】すなわち、あるMOクラスに属するMOインス
タンスノード1204が、当該MOクラスに属するMOインスタ
ンスを代表する属性値を格納する参照MOインスタンス12
06とは異なる属性値を持つ場合、MOインスタンスノード
1204は、参照MOインスタンス1206および差分属性1207を
参照する。
That is, the MO instance node 1204 belonging to a certain MO class is referred to as the reference MO instance 12 storing the attribute value representing the MO instance belonging to the MO class.
MO instance node if it has an attribute value different from 06
1204 refers to the reference MO instance 1206 and the difference attribute 1207.

【0098】一方、あるMOクラスに属するMOインスタン
スノード1205が、当該MOクラスに属するMOインスタンス
を代表する属性値を格納する参照MOインスタンス1206と
全く同一の属性値を持つ場合、MOインスタンスノード12
05は、参照MOインスタンス1206のみを参照する。
On the other hand, if the MO instance node 1205 belonging to a certain MO class has exactly the same attribute values as the reference MO instance 1206 storing the attribute values representing the MO instances belonging to the MO class, the MO instance node 1212
05 refers only to the reference MO instance 1206.

【0099】次に、MOインスタンスノード格納手段1004
内に格納されるMOインスタンスノード表1202およびMOイ
ンスタンス属性表1203の各エントリのフォーマットにつ
いて説明する。
Next, MO instance node storage means 1004
The format of each entry of the MO instance node table 1202 and the MO instance attribute table 1203 stored therein will be described.

【0100】図13は、本実施の形態において、MOインス
タンスノード格納手段1004内に格納されるMOインスタン
スノード表1202のエントリのフォーマットを詳細に説明
するためのブロック図である。
FIG. 13 is a block diagram for explaining in detail the format of an entry of the MO instance node table 1202 stored in the MO instance node storage means 1004 in the present embodiment.

【0101】図13に示すように、MOインスタンスノード
1204のエントリは、RDNとなる属性のOIDに対応する抽象
構文キーを格納するフィールド1301と、RDNとなる属性
の属性値に対応する抽象構文キーを格納するフィールド
1302と、MOクラスOIDに対応する抽象構文キーを格納す
るフィールド1303と、包含木内において当該MOインスタ
ンスノードの子ノードを示すMOインスタンスノードキー
を格納するフィールド1304と、包含木中において当該MO
インスタンスノードの同レベルノードを示すMOインスタ
ンスノードキーを格納するフィールド1305と、包含木中
において当該MOインスタンスノードの親ノードを示すMO
インスタンスノードキーを格納するフィールド1306と、
当該MOインスタンスの属するMOクラスに対応する参照MO
インスタンスに含まれる属性値と値が異なる属性の数
(この数を差分属性数という)を格納するフィールド1307
と、当該MOインスタンスノードに対応する差分属性フィ
ールドのMOインスタンス属性表内でのアドレスを格納す
るフィールド1308から構成されている。
As shown in FIG. 13, the MO instance node
The entry 1204 includes a field 1301 for storing an abstract syntax key corresponding to the OID of the attribute to be an RDN, and a field for storing an abstract syntax key corresponding to the attribute value of the attribute to be an RDN.
1302, a field 1303 for storing an abstract syntax key corresponding to the MO class OID, a field 1304 for storing a MO instance node key indicating a child node of the MO instance node in the containing tree,
A field 1305 storing an MO instance node key indicating the same level node of the instance node, and a MO indicating a parent node of the MO instance node in the containing tree
A field 1306 for storing an instance node key,
Reference MO corresponding to the MO class to which the MO instance belongs
Number of attributes whose values differ from the attribute values in the instance
Field 1307 for storing (this number is called the number of difference attributes)
And a field 1308 for storing the address in the MO instance attribute table of the difference attribute field corresponding to the MO instance node.

【0102】MOインスタンスノードが、参照MOインスタ
ンス1206と全く同一の属性値を持つMOインスタンスノー
ド1205である場合は、フィールド1307およびフィールド
1308の内容が"0"となる。
If the MO instance node is the MO instance node 1205 having exactly the same attribute values as the reference MO instance 1206, the fields 1307 and
The content of 1308 becomes "0".

【0103】図14は、本実施の形態において、MOインス
タンス格納手段1004内に格納されるMOインスタンス属性
表1203の参照MOインスタンス1206のフォーマットを詳細
に説明するためのブロック図である。図14に示すよう
に、参照MOインスタンス1206のエントリは、MOクラスOI
Dに対応する抽象構文キーを格納するフィールド1401
と、当該MOクラスに属するMOインスタンスが有する属性
の数を格納するフィールド1402と、フィールド1402で示
される個数分の属性値に対応する抽象構文キーを格納す
るフィールド1403から構成されている。
FIG. 14 is a block diagram for explaining in detail the format of the reference MO instance 1206 of the MO instance attribute table 1203 stored in the MO instance storage means 1004 in the present embodiment. As shown in FIG. 14, the entry of the reference MO instance 1206 has the MO class OI
Field 1401 for storing abstract syntax key corresponding to D
And a field 1402 for storing the number of attributes of the MO instance belonging to the MO class, and a field 1403 for storing abstract syntax keys corresponding to the attribute values of the number indicated by the field 1402.

【0104】図15は、本実施の形態において、MOインス
タンス格納手段1004内に格納されるMOインスタンス属性
表1203の差分属性1207のフォーマットを詳細に説明する
ための図である。図15に示すように、差分属性1207のエ
ントリは、参照MOインスタンスと値の異なる属性の位置
を格納するフィールド1501と、前記属性の各々に対する
属性値に対応する抽象構文キーを格納するフィールド15
02から構成されている。ここで、属性の位置とは、MOク
ラス定義格納手段0803内の、当該MOクラスを定義するMO
クラス定義内において、当該属性が何番目に定義されて
いるかということを示している。図9中の例において述
べれば、OID "1.2.513.9.12"という識別子を付与された
MOクラス定義中について、属性ID "1.2.120.2.33"で示
される属性"Attribute2"は2番目に定義されているとい
う具合である。
FIG. 15 is a diagram for explaining in detail the format of the difference attribute 1207 of the MO instance attribute table 1203 stored in the MO instance storage means 1004 in this embodiment. As shown in FIG. 15, the entry of the difference attribute 1207 includes a field 1501 for storing the position of an attribute having a different value from the reference MO instance, and a field 15 for storing an abstract syntax key corresponding to the attribute value for each of the attributes.
It consists of 02. Here, the position of the attribute is the MO in the MO class definition storage unit 0803 that defines the MO class.
Indicates the order of the attribute in the class definition. In the example of FIG. 9, the identifier OID "1.2.513.9.12" is assigned.
In the MO class definition, the attribute "Attribute2" indicated by the attribute ID "1.2.120.2.33" is defined second.

【0105】次に、本実施の形態において、MIB1001が
どのように動作するかを説明する。図16、図17および図
18は、本実施の形態におけるMIB1001の動作を説明する
ための流れ図である。図10および図11のMIBは、基本的
にいずれも同一の動作を行なうため、図11、図16、図17
および図18を使用して、本実施の形態におけるMIB1001
の動作の概要を説明する。
Next, how the MIB 1001 operates in the present embodiment will be described. Figure 16, Figure 17 and Figure
FIG. 18 is a flowchart for explaining the operation of the MIB 1001 in the present embodiment. Since the MIBs shown in FIGS. 10 and 11 basically perform the same operation, the MIBs shown in FIGS.
Using FIG. 18 and MIB 1001 in the present embodiment,
An outline of the operation will be described.

【0106】はじめに、MIB1001が管理エージェント100
2よりMOクラスID(アクセスしたいMOインスタンスの属性
等を定義するMOクラス定義に付与されたOID)、FDNおよ
び属性IDを入力される(ステップ1601)。MIB1001は、与
えられたMOクラスIDを抽象構文データ保持装置0801に入
力し、前記MOクラスIDに対応する抽象構文キーを取得す
る(ステップ1602)。
First, the MIB 1001 is the management agent 100
From step 2, the MO class ID (OID assigned to the MO class definition that defines the attributes of the MO instance to be accessed), FDN, and attribute ID are input (step 1601). The MIB 1001 inputs the given MO class ID to the abstract syntax data holding device 0801, and acquires the abstract syntax key corresponding to the MO class ID (step 1602).

【0107】次に、MIB1001は、与えられたFDNを抽象構
文データ保持装置0801に入力し、前記FDNに対応する抽
象構文キーを取得し(ステップ1603)、ステップ1603で得
られたFDNに対応する抽象構文キーを用いて、MOインス
タンス格納手段1004内に格納されているFDNハッシュ表1
201を検索し、前記FDNによって指定されるMOインスタン
スを示すMOインスタンスノードキーを取得する(ステッ
プ1604)。
Next, the MIB 1001 inputs the given FDN to the abstract syntax data holding device 0801, acquires an abstract syntax key corresponding to the FDN (step 1603), and corresponds to the FDN obtained in step 1603. Using the abstract syntax key, the FDN hash table 1 stored in the MO instance storage unit 1004
201 is retrieved, and an MO instance node key indicating the MO instance specified by the FDN is obtained (step 1604).

【0108】また、MIB1001は、与えられた属性IDを抽
象構文データ保持装置0801に入力し、前記属性IDに対応
する抽象構文キーを取得し(ステップ1605)、ステップ16
02で得られたMOクラスIDに対応する抽象構文キーと、ス
テップ1605で得られた属性IDに対応する抽象構文キーを
用いて、MOクラス定義格納手段0803内に格納されている
MOクラス定義群0902を検索し、前記属性IDが前記MOクラ
スIDによって識別されるMOクラス定義の何番目の属性と
して定義されているかを取得する(ステップ1606)。
Further, the MIB 1001 inputs the given attribute ID to the abstract syntax data holding device 0801 and acquires the abstract syntax key corresponding to the attribute ID (step 1605).
Stored in the MO class definition storage means 0803 using the abstract syntax key corresponding to the MO class ID obtained in 02 and the abstract syntax key corresponding to the attribute ID obtained in step 1605.
The MO class definition group 0902 is searched to obtain the number of the attribute of the MO class definition identified by the MO class ID (step 1606).

【0109】さらに、MIB1001は、ステップ1604で得ら
れたMOインスタンスノードキーを用いて、MOインスタン
ス格納手段1004内に格納されているMOインスタンスノー
ド表1202内の前記MOインスタンスノードキーに対応する
MOインスタンスノードを取得し(ステップ1607)、ステッ
プ1607で得られたMOインスタンスノード内の差分属性の
数を示すフィールド1307が"0"であるか否かを検査する
(ステップ1608)。検査の結果、差分属性の数が"0"であ
れば、MIB1001は、ステップ1602で得られたMOクラスID
に対応する抽象構文キーを用いて、MOインスタンス格納
手段1004内に格納されているMOインスタンス属性表1203
を検索し、当該MOクラスに対応する参照MOインスタンス
を取得する(ステップ1701)。
Further, the MIB 1001 uses the MO instance node key obtained in step 1604 to correspond to the MO instance node key in the MO instance node table 1202 stored in the MO instance storage means 1004.
An MO instance node is obtained (step 1607), and it is checked whether or not a field 1307 indicating the number of difference attributes in the MO instance node obtained in step 1607 is "0".
(Step 1608). If the result of the inspection indicates that the number of difference attributes is “0”, the MIB 1001 uses the MO class ID obtained in step 1602
The MO instance attribute table 1203 stored in the MO instance storage means 1004 using the abstract syntax key corresponding to
To obtain a reference MO instance corresponding to the MO class (step 1701).

【0110】次に、MIB1001は、ステップ1606で得られ
た、属性IDが何番目の属性であるかという情報を用い
て、参照MOインスタンスの当該属性にアクセスし、属性
値に対応する抽象構文キーを取得し(ステップ1702)、MI
B1001は、ステップ1702で得られた抽象構文キーを抽象
構文データ保持装置0801に入力し、アクセスしたい属性
値を取得する(ステップ1703)。
Next, the MIB 1001 accesses the attribute of the reference MO instance using the information of the attribute number of the attribute obtained in step 1606, and obtains the abstract syntax key corresponding to the attribute value. (Step 1702), and MI
B1001 inputs the abstract syntax key obtained in step 1702 to the abstract syntax data holding device 0801, and acquires an attribute value to be accessed (step 1703).

【0111】一方、ステップ1608における検査の結果、
差分属性の数が"0"でなければ、MIB1001は、ステップ16
07で得られたMOインスタンスノード内の差分属性のMOイ
ンスタンス属性表内でのアドレスを示すフィールド1308
の内容を用いて、MOインスタンス格納手段1004内に格納
されているMOインスタンス属性表1203内の差分属性を取
得する(ステップ1801)。
On the other hand, as a result of the inspection in step 1608,
If the number of difference attributes is not "0", the MIB 1001 proceeds to step 16
Field 1308 indicating the address in the MO instance attribute table of the difference attribute in the MO instance node obtained in 07
Using the contents of (1), a difference attribute in the MO instance attribute table 1203 stored in the MO instance storage means 1004 is obtained (step 1801).

【0112】次に、MIB1001は、ステップ1606で得られ
た、属性IDが何番目の属性であるかという情報を用い
て、差分属性内の参照MOインスタンスと異なる属性の位
置を示すフィールド1501を検索し、前記情報で示される
属性の番号が検索したフィールド内に存在するか否かを
検査する(ステップ1802)。検査の結果、属性番号が存在
するのであれば、MIB1001は、差分属性内の当該属性に
対応する抽象構文キーを格納しているフィールド1502に
アクセスし、前記抽象構文キーを取得し(ステップ180
3)、ステップ1803で得られた抽象構文キーを抽象構文デ
ータ保持装置0801に入力し、アクセスしたい属性値を取
得する(ステップ1804)。
Next, the MIB 1001 searches the field 1501 indicating the position of the attribute different from the reference MO instance in the difference attribute, using the information of the attribute number of the attribute obtained in step 1606. Then, it is checked whether or not the attribute number indicated by the information exists in the searched field (step 1802). As a result of the inspection, if the attribute number exists, the MIB 1001 accesses the field 1502 storing the abstract syntax key corresponding to the attribute in the difference attribute, and acquires the abstract syntax key (step 180).
3), the abstract syntax key obtained in step 1803 is input to the abstract syntax data holding device 0801, and the attribute value to be accessed is obtained (step 1804).

【0113】一方、ステップ1802における検査の結果、
属性番号が存在しないのであれば、MIB1001は、ステッ
プ1602で得られたMOクラスIDに対応する抽象構文キーを
用いて、MOインスタンス格納手段1004内に格納されてい
るMOインスタンス属性表1203を検索し、当該MOクラスに
対応する参照MOインスタンスを取得する(ステップ180
5)。
On the other hand, as a result of the inspection in step 1802,
If the attribute number does not exist, the MIB 1001 searches the MO instance attribute table 1203 stored in the MO instance storage means 1004 using the abstract syntax key corresponding to the MO class ID obtained in step 1602. To obtain a reference MO instance corresponding to the MO class (step 180
Five).

【0114】次に、MIB1001は、ステップ1606で得られ
た、属性IDが何番目の属性であるかという情報を用い
て、参照MOインスタンスの当該属性にアクセスし、属性
値に対応する抽象構文キーを取得し(ステップ1806)。最
後に、ステップ1806で得られた抽象構文キーを抽象構文
データ保持装置0801に入力し、アクセスしたい属性値を
取得する(ステップ1807)。
Next, the MIB 1001 accesses the attribute of the reference MO instance using the information on the attribute number of the attribute ID obtained in step 1606 and obtains the abstract syntax key corresponding to the attribute value. Is obtained (step 1806). Finally, the abstract syntax key obtained in step 1806 is input to the abstract syntax data holding device 0801, and the attribute value to be accessed is obtained (step 1807).

【0115】[0115]

【発明の効果】本発明の第一の効果は、抽象構文データ
を保持するために必要な記憶領域を削減することが可能
なことである。
The first effect of the present invention is that the storage area required to hold the abstract syntax data can be reduced.

【0116】この第一の理由は、転送構文データを抽象
構文キーとして表現し、小さなINTEGER型の値や短い文
字列型のデータ等は抽象構文キー自身内に値を埋め込ん
で表現することによって、抽象構文データ保持装置内へ
の蓄積を不要としたためである。また、第二の理由は、
抽象構文キー内に埋め込むことのできない大きな値を持
つデータについては、抽象構文データ蓄積手段内に内部
データとして格納し、格納位置のアドレスを抽象構文キ
ーとして用いており、同一の値を持つ複数のデータを格
納する場合、従来では同一の値であっても別々の領域に
格納されていたものを、本発明では同一の値のデータは
記憶領域上のただ一ヶ所を占めるようにし、抽象構文キ
ーを用いて参照するようにしたためである。
The first reason is that the transfer syntax data is represented as an abstract syntax key, and a small INTEGER type value or a short character string type data is represented by embedding a value in the abstract syntax key itself. This is because accumulation in the abstract syntax data holding device is unnecessary. The second reason is that
For data having a large value that cannot be embedded in the abstract syntax key, the data is stored as internal data in the abstract syntax data storage means, and the address of the storage location is used as the abstract syntax key. In the case of storing data, in the present invention, data having the same value is stored in a separate area even if the value is the same. This is because the reference is made by using.

【0117】第二の効果は、MOインスタンスの属性値同
士の比較を高速に行なうことが可能なことである。
The second effect is that comparison between attribute values of MO instances can be performed at high speed.

【0118】この理由は、前記のように、属性値を格納
する場合、同一の値を持つデータは抽象構文蓄積手段内
においてただ一ヶ所を占めるように格納し、抽象構文キ
ーを用いてこれを参照するようにしているためである。
これにより、抽象構文キーには「同一の値を持つ複数の
抽象構文データが存在する場合、これら複数の抽象構文
データに対応する抽象構文キーはただ1つである」とい
う特徴が生じ、抽象構文キーと抽象構文データの値の間
に、一対一の対応関係が成立する。したがって、抽象構
文キーの比較を行なうのみで抽象構文データの値、すな
わち属性値の比較を行なうことが可能となり、従来のよ
うに転送構文の形式で格納されているデータをいちいち
復号化する必要がない。
The reason for this is that, as described above, when storing attribute values, data having the same value is stored so as to occupy only one place in the abstract syntax storage means, and is stored using an abstract syntax key. This is because they are referred to.
As a result, the abstract syntax key has a feature that "when there are a plurality of abstract syntax data having the same value, there is only one abstract syntax key corresponding to the plurality of abstract syntax data". A one-to-one correspondence is established between the key and the value of the abstract syntax data. Therefore, it is possible to compare the value of the abstract syntax data, that is, the attribute value only by comparing the abstract syntax key, and it is necessary to decrypt the data stored in the transfer syntax format as in the related art. Absent.

【0119】第三の効果は、MOインスタンスを保持する
ために必要な記憶領域を削減することが可能なことであ
る。
The third effect is that the storage area required to hold the MO instance can be reduced.

【0120】この理由は、各々のMOクラスに属するMOイ
ンスタンスに対する標準の属性値を持つMOインスタンス
である参照MOインスタンスを生成しておき、当該MOクラ
スに属するMOインスタンスを格納する際には、必ず参照
MOインスタンス内に格納されている属性値を参照するよ
うにしたためであり、さらに、当該MOインスタンスが、
参照MOインスタンス内に格納されている属性値と値の異
なる属性を持つ場合にのみ、前記値の異なる属性値に対
応する属性値のみを別領域に格納するようにしたためで
ある。
The reason for this is that a reference MO instance which is a MO instance having a standard attribute value for a MO instance belonging to each MO class is generated in advance, and when an MO instance belonging to the MO class is stored, the reference MO instance must be stored. reference
This is because the attribute value stored in the MO instance is referred to.
This is because only when the attribute value is different from the attribute value stored in the reference MO instance, only the attribute value corresponding to the attribute value having the different value is stored in another area.

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

【図1】 本発明の抽象構文データ保持装置の第一の実
施の形態を示すブロック図。
FIG. 1 is a block diagram showing a first embodiment of an abstract syntax data holding device of the present invention.

【図2】 本発明の抽象構文データ保持装置の第一の実
施の形態における抽象構文データ蓄積手段の構成を示す
ブロック図。
FIG. 2 is a block diagram showing a configuration of an abstract syntax data storage unit in the first embodiment of the abstract syntax data holding device of the present invention.

【図3】 本発明の抽象構文データ保持装置の第一の実
施の形態における抽象構文定義格納手段の構成を示すブ
ロック図。
FIG. 3 is a block diagram showing a configuration of an abstract syntax definition storage unit in the first embodiment of the abstract syntax data holding device of the present invention.

【図4】 本発明の抽象構文データ保持装置の第一の実
施の形態における抽象構文データ蓄積手段内に格納され
る内部データ蓄積表のオクテット列型エントリの構成を
示す図。
FIG. 4 is a diagram showing a configuration of an octet column type entry of an internal data storage table stored in an abstract syntax data storage unit in the first embodiment of the abstract syntax data holding device of the present invention.

【図5】 本発明の抽象構文データ保持装置の第一の実
施の形態における抽象構文データ蓄積手段内に格納され
る内部データ蓄積表の構造型エントリの構成を示す図。
FIG. 5 is a diagram showing a configuration of a structure type entry of an internal data storage table stored in an abstract syntax data storage unit in the first embodiment of the abstract syntax data holding device of the present invention.

【図6】 本発明の抽象構文データ保持装置の第一の実
施の形態において、構造型でないデータを受信した場合
の動作を示す流れ図。
FIG. 6 is a flowchart showing an operation when data having a non-structured type is received in the first embodiment of the abstract syntax data holding device of the present invention.

【図7】 本発明の抽象構文データ保持装置の第一の実
施の形態において、構造型であるデータを受信した場合
の動作を示す流れ図。
FIG. 7 is a flowchart showing an operation when data of a structured type is received in the first embodiment of the abstract syntax data holding device of the present invention.

【図8】 本発明の抽象構文データ保持装置の第二の実
施の形態を示すブロック図。
FIG. 8 is a block diagram showing a second embodiment of the abstract syntax data holding device of the present invention.

【図9】 本発明の抽象構文データ保持装置の第二の実
施の形態におけるMOクラス定義格納手段の構成を示すブ
ロック図。
FIG. 9 is a block diagram showing a configuration of an MO class definition storage unit in the second embodiment of the abstract syntax data holding device of the present invention.

【図10】 本発明のMIBの実施の形態を示すブロック
図。
FIG. 10 is a block diagram showing an embodiment of the MIB of the present invention.

【図11】 本発明のMIBの別の実施の形態を示すブロ
ック図。
FIG. 11 is a block diagram showing another embodiment of the MIB of the present invention.

【図12】 本発明のMIBの実施の形態におけるMOイン
スタンス格納手段の構成を示すブロック図。
FIG. 12 is a block diagram showing a configuration of MO instance storage means in the embodiment of the MIB of the present invention.

【図13】 本発明のMIBの実施の形態におけるMOイン
スタンス格納手段に格納されるMOインスタンスノード表
のエントリのフォーマットを示すブロック図。
FIG. 13 is a block diagram showing a format of an entry of a MO instance node table stored in the MO instance storage means in the embodiment of the MIB of the present invention.

【図14】 本発明のMIBの実施の形態におけるMOイン
スタンス格納手段に格納されるMOインスタンス属性表の
参照MOインスタンスエントリのフォーマットを示すブロ
ック図。
FIG. 14 is a block diagram showing a format of a reference MO instance entry of a MO instance attribute table stored in a MO instance storage means in the embodiment of the MIB of the present invention.

【図15】 本発明のMIBの実施の形態におけるMOイン
スタンス格納手段に格納されるMOインスタンス属性表の
差分属性エントリのフォーマットを示すブロック図。
FIG. 15 is a block diagram showing a format of a difference attribute entry of the MO instance attribute table stored in the MO instance storage means in the embodiment of the MIB of the present invention.

【図16】 本発明のMIBの実施の形態の動作の前半部
を示す流れ図。
FIG. 16 is a flowchart showing the first half of the operation of the MIB embodiment of the present invention.

【図17】 本発明のMIBの実施の形態において、差分
属性数が"0"である場合の動作の後半部を示す流れ図。
FIG. 17 is a flowchart showing the latter half of the operation when the number of difference attributes is “0” in the MIB embodiment of the present invention.

【図18】 本発明のMIBの実施の形態において、差分
属性数が"0"でない場合の動作の後半部を示す流れ図。
FIG. 18 is a flowchart showing the latter half of the operation when the number of difference attributes is not “0” in the MIB embodiment of the present invention.

【図19】 MOインスタンスを各ノードとして構成され
る包含木を示す図。
FIG. 19 is a diagram showing a containment tree configured with an MO instance as each node.

【図20】 抽象構文の例を示す図。FIG. 20 is a diagram showing an example of an abstract syntax.

【図21】 従来の抽象構文データ保持装置の構成の一
例を示すブロック図。
FIG. 21 is a block diagram showing an example of the configuration of a conventional abstract syntax data holding device.

【図22】 ネットワーク管理システムの構成を示すブ
ロック図。
FIG. 22 is a block diagram showing a configuration of a network management system.

【図23】 従来のMIBの構成の一例を示すブロック
図。
FIG. 23 is a block diagram showing an example of the configuration of a conventional MIB.

【図24】 従来のMIBの動作を示す流れ図。FIG. 24 is a flowchart showing the operation of a conventional MIB.

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

0101 抽象構文データ保持装置 0102 抽象構文データ変換手段 0103 抽象構文データ蓄積手段 0104 抽象構文定義格納手段 0105 抽象構文データハッシュ表 0201 内部データ蓄積表 0301 抽象構文定義−インデックス対応表 0302 抽象構文定義群 0401 オクテット列型エントリ 0501 構造型エントリ 0502 SET型エントリ 0503 CHOICE型エントリ 0801 抽象構文データ保持装置 0802 抽象構文データ変換手段 0803 MOクラス定義格納手段 0901 OID−インデックス対応表 0902 MOクラス定義群 1001 MIB 1002 管理エージェント 1003 管理対象装置 1004 MOインスタンス格納手段 1201 FDNハッシュ表 1202 MOインスタンスノード表 1203 MOインスタンス属性表 1204 MOインスタンスノード 1205 MOインスタンスノード 1206 参照MOインスタンス 1207 差分属性 5101 抽象構文 5102 値記法 5103 転送構文 5201 抽象構文データ保持装置 5301 管理マネージャ 5401 MIB 5402 ディレクトリ格納手段 5403 データ格納手段 5404 クラス情報格納手段 0101 Abstract syntax data storage device 0102 Abstract syntax data conversion means 0103 Abstract syntax data storage means 0104 Abstract syntax definition storage means 0105 Abstract syntax data hash table 0201 Internal data storage table 0301 Abstract syntax definition-index correspondence table 0302 Abstract syntax definition group 0401 octet Column type entry 0501 Structure type entry 0502 SET type entry 0503 CHOICE type entry 0801 Abstract syntax data storage device 0802 Abstract syntax data conversion device 0803 MO class definition storage device 0901 OID-index correspondence table 0902 MO class definition group 1001 MIB 1002 Management agent 1003 Managed device 1004 MO instance storage means 1201 FDN hash table 1202 MO instance node table 1203 MO instance attribute table 1204 MO instance node 1205 MO instance node 1206 Reference MO instance 1207 Difference attribute 5101 Abstract syntax 5102 Value notation 5103 Transfer syntax 5201 Abstract syntax data Security Apparatus 5301 manager 5401 MIB 5402 directory storing unit 5403 data storing unit 5404 class information storage unit

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】抽象構文によって構造が定義される抽象構
文データを格納する抽象構文データ保持装置において、
転送構文データを入力として受け取り、前記転送構文デ
ータが装置内に蓄積されるデータであるかどうかを判別
し、蓄積する必要のないデータであれば、前記転送構文
データを抽象構文キーに変換して出力する機能を有し、
また前記転送構文データが蓄積する必要のあるデータで
あれば、前記転送構文データを内部データに変換し、装
置内に格納した後、装置内において内部データを格納し
たアドレスを抽象構文キーとして出力する機能を有する
抽象構文データ変換手段と、 前記抽象構文データ変換手段によって蓄積が必要である
と判別された転送構文データに対応する内部データを格
納する機能を有する抽象構文データ蓄積手段と、 抽象構文定義に番号付けを行なって管理するために、抽
象構文定義名とこれに対応する整数値(インデックス)を
エントリとして構成される表を格納するとともに、抽象
構文定義そのものを格納する機能を有する抽象構文定義
格納手段とから構成されることを特徴とする抽象構文デ
ータ保持装置。
An abstract syntax data holding device for storing abstract syntax data whose structure is defined by an abstract syntax,
Receives the transfer syntax data as input, determines whether the transfer syntax data is data stored in the device, and converts the transfer syntax data into an abstract syntax key if the data does not need to be stored. Has a function to output,
If the transfer syntax data needs to be accumulated, the transfer syntax data is converted into internal data, stored in the device, and then the address where the internal data is stored in the device is output as an abstract syntax key. Abstract syntax data conversion means having a function; abstract syntax data storage means having a function of storing internal data corresponding to transfer syntax data determined to be required to be stored by the abstract syntax data conversion means; An abstract syntax definition that has a function to store a table composed of abstract syntax definition names and their corresponding integer values (indexes) as entries in order to manage them by numbering them. An abstract syntax data holding device comprising: a storage unit.
【請求項2】抽象構文によって構造が定義される抽象構
文データを格納する抽象構文データ保持装置において、 転送構文データを入力として受け取り、前記転送構文デ
ータが装置内に蓄積されるデータであるかどうかを判別
し、蓄積する必要のないデータであれば、前記転送構文
データを抽象構文キーに変換して出力する機能を有し、
また前記転送構文データが蓄積する必要のあるデータで
あれば、前記転送構文データを内部データに変換し、装
置内に格納した後、装置内において内部データを格納し
たアドレスを抽象構文キーとして出力する機能を有する
抽象構文データ変換手段と、 前記抽象構文データ変換手段によって蓄積が必要である
と判別された転送構文データに対応する内部データを格
納する機能を有する抽象構文データ蓄積手段と、 抽象構文定義に番号付けを行なって管理するために、抽
象構文定義名とこれに対応する整数値(インデックス)を
エントリとして構成される表を格納するとともに、抽象
構文定義そのものを格納する機能を有する抽象構文定義
格納手段と、 MOクラスの番号付けを行なって管理するために、MOクラ
スを識別するために各々のクラス定義に付与されている
OIDとこれに対する整数値(インデックス)をエントリと
して構成される表を格納するとともに、各MOクラスに属
するMOインスタンスがどのような属性を持つかを定義し
たMOクラス定義そのものを格納する機能を有するMOクラ
ス定義格納手段とから構成されることを特徴とする抽象
構文データ保持装置。
2. An abstract syntax data holding device for storing abstract syntax data whose structure is defined by an abstract syntax, wherein transfer syntax data is received as an input, and whether the transfer syntax data is data stored in the device. Has the function of converting the transfer syntax data into an abstract syntax key and outputting the data if the data does not need to be stored,
If the transfer syntax data needs to be accumulated, the transfer syntax data is converted into internal data, stored in the device, and then the address where the internal data is stored in the device is output as an abstract syntax key. Abstract syntax data conversion means having a function; abstract syntax data storage means having a function of storing internal data corresponding to transfer syntax data determined to be required to be stored by the abstract syntax data conversion means; An abstract syntax definition that has a function to store a table composed of abstract syntax definition names and their corresponding integer values (indexes) as entries in order to manage them by numbering them. Each class definition to identify the MO class, for storage means and MO class numbering and management It has been granted
MO that stores a table composed of OIDs and their integer values (indexes) as entries, and that stores the MO class definition itself that defines what attributes the MO instances belonging to each MO class have. An abstract syntax data holding device comprising: a class definition storage unit.
【請求項3】前記抽象構文データ変換手段が、転送構文
データとこれに対応する内部データをエントリとして構
成される抽象構文データハッシュ表を含み、入力された
転送構文データに対応する内部データがすでに抽象構文
データハッシュ表内に存在する場合には、前記内部デー
タが格納されているアドレスを抽象構文キーとして出力
する機能を有し、また前記転送構文データに対応する内
部データが抽象構文データハッシュ表内に存在しない場
合には、前記抽象構文データ蓄積手段内の空き領域に前
記転送構文データに対応する内部データを格納し、抽象
構文データハッシュ表を更新し、前記内部データを格納
したアドレスを抽象構文キーとして出力する機能を有す
ることを特徴とする請求項1または請求項2に記載の抽
象構文データ保持装置。
3. The abstract syntax data conversion means includes an abstract syntax data hash table composed of transfer syntax data and internal data corresponding thereto as an entry, and the internal data corresponding to the input transfer syntax data is already stored. If it exists in the abstract syntax data hash table, it has a function of outputting the address at which the internal data is stored as an abstract syntax key, and the internal data corresponding to the transfer syntax data is stored in the abstract syntax data hash table. If it does not exist, the internal data corresponding to the transfer syntax data is stored in a free space in the abstract syntax data storage means, the abstract syntax data hash table is updated, and the address at which the internal data is stored is abstracted. 3. The abstract syntax data storage according to claim 1, wherein the function has an output function as a syntax key. Location.
【請求項4】前記抽象構文データ蓄積手段が、蓄積が必
要であると判別された転送構文データに対応する内部デ
ータをエントリとして構成される内部データ蓄積表を含
み、内部データ蓄積表がとりうるエントリとして、 常に内容が"0"である抽象構文インデックスフィールド
と、転送構文フィールドのオクテット長を示すオクテッ
ト長フィールドと、外部もしくは他エントリからの参照
回数を示す参照数フィールドと、エントリに対応する転
送構文データを格納する転送構文フィールドから構成さ
れるオクテット列型エントリと、 本エントリに対応する転送構文を定義する抽象構文のイ
ンデックスを示す抽象構文インデックスフィールドと、
前記抽象構文の要素の数を示す要素数フィールドと、外
部もしくは他エントリからの参照回数を示す参照数フィ
ールドと、要素数分だけ存在し、当該要素を示す抽象構
文キーを格納する要素フィールドから構成されるSET型
エントリと、 本エントリに対応する転送構文を定義する抽象構文のイ
ンデックスを示す抽象構文インデックスフィールドと、
前記抽象構文の何番目の要素が要素フィールドに格納さ
れているかを示す要素位置フィールドと、外部もしくは
他エントリからの参照回数を示す参照数フィールドと、
要素位置フィールドで示される要素を示す抽象構文キー
を格納する要素フィールドから構成されるCHOICE型エン
トリとが存在することを特徴とする請求項1または請求
項2に記載の抽象構文データ保持装置。
4. The abstract syntax data storage means includes an internal data storage table configured as an entry with internal data corresponding to the transfer syntax data determined to need to be stored, and the internal data storage table can be taken. As an entry, an abstract syntax index field whose content is always "0", an octet length field indicating the octet length of the transfer syntax field, a reference count field indicating the number of times of reference from an external or other entry, and a transfer corresponding to the entry An octet sequence type entry composed of a transfer syntax field for storing syntax data, an abstract syntax index field indicating an index of an abstract syntax defining a transfer syntax corresponding to this entry,
Consisting of an element count field indicating the number of elements of the abstract syntax, a reference count field indicating the number of references from the outside or from another entry, and an element field which is present for the number of elements and stores an abstract syntax key indicating the element. An abstract syntax index field indicating an index of an abstract syntax defining a transfer syntax corresponding to this entry,
An element position field indicating which element of the abstract syntax is stored in the element field, a reference number field indicating the number of references from the outside or another entry,
3. The abstract syntax data holding device according to claim 1, wherein there is a CHOICE type entry including an element field storing an abstract syntax key indicating an element indicated by the element position field.
【請求項5】前記抽象構文定義格納手段が、抽象構文定
義とこれに対するインデックスとの対応を保持するため
に用いられる、抽象構文定義名とこれに対応するインデ
ックスとの対をエントリとして持つ抽象構文定義−イン
デックス対応表と、抽象構文の定義そのものである抽象
構文定義群を格納することを特徴とする請求項1または
請求項2に記載の抽象構文データ保持装置。
5. An abstract syntax having a pair of an abstract syntax definition name and an index corresponding thereto, as an entry, wherein said abstract syntax definition storage means is used to hold a correspondence between an abstract syntax definition and an index corresponding thereto. 3. The abstract syntax data holding device according to claim 1, wherein a definition-index correspondence table and an abstract syntax definition group that is the definition itself of the abstract syntax are stored.
【請求項6】前記MOクラス定義格納手段が、MOクラス定
義に付与されたOIDについて、OIDとこれに対するインデ
ックスとの対応を保持するために用いられる、各々のMO
クラス定義に付与されているOIDとこれに対応するイン
デックスとの対をエントリとして持つOID−インデック
ス対応表と、各MOクラスが実際にどのような属性を持つ
かを定義するMOクラス定義そのものであるMOクラス定義
群を格納することを特徴とする請求項2に記載の抽象構
文データ保持装置。
6. An MO class definition storing means for storing, for each OID assigned to an MO class definition, a correspondence between an OID and an index corresponding to the OID.
An OID-index correspondence table having, as entries, pairs of OIDs assigned to class definitions and corresponding indexes, and MO class definitions themselves that define what attributes each MO class actually has. 3. The abstract syntax data holding device according to claim 2, wherein the MO class definition group is stored.
【請求項7】抽象構文によって構造が定義される抽象構
文データを格納する抽象構文データ保持装置において、 抽象構文データを装置内に蓄積する前段階で、前記抽象
構文データを蓄積する必要があるかどうかを判別して、
蓄積する必要があるデータのみを蓄積し、前記抽象構文
データを内部に蓄積する必要がある場合に、これを内部
データに変換し、前記抽象構文データを外部から参照す
るために、抽象構文データと一対一の対応関係を持つ抽
象構文キーを出力するとともに、同一の値を持つ抽象構
文データを別々の記憶領域に蓄積しないようにしたこと
を特徴とする抽象構文データ保持装置。
7. An abstract syntax data holding device for storing abstract syntax data whose structure is defined by an abstract syntax, wherein it is necessary to store the abstract syntax data before storing the abstract syntax data in the device. Determine whether
When only the data that needs to be accumulated is accumulated, and when it is necessary to accumulate the abstract syntax data internally, the data is converted into internal data, and the abstract syntax data is referred to from the outside. An abstract syntax data holding device, which outputs an abstract syntax key having a one-to-one correspondence, and does not store abstract syntax data having the same value in separate storage areas.
【請求項8】ネットワーク管理システムにおける、物理
的な管理対象を抽象化して論理的なモデルとして実現す
るために用いられる管理情報ベースにおいて、 前記抽象構文データ保持装置と、包含木を構成する個々
のMOインスタンスノードを格納する機能を有するMOイン
スタンス格納手段から構成されることを特徴とする管理
情報ベース。
8. A management information base used in a network management system for abstracting a physical management target and realizing it as a logical model, comprising: an abstract syntax data holding device; A management information base comprising MO instance storage means having a function of storing MO instance nodes.
【請求項9】前記MOインスタンス格納手段が、 FDNに対応するMOインスタンスノードが、すでにMOイン
スタンスノード表内に格納されているかどうかを検査す
るために用いられる、FDNとこれに対応するMOインスタ
ンスノードキーの対をエントリとして構成されるFDNハ
ッシュ表と、 包含木を構成する各々のMOインスタンスノードを格納す
るために用いられる表であるMOインスタンスノード表
と、 MOインスタンスノード表内に格納されている各々のMOイ
ンスタンスに対応する属性を格納するために用いられる
表であるMOインスタンス属性表を格納することを特徴と
する請求項8に記載の管理情報ベース。
9. The MO instance node, wherein the MO instance storing means is used to check whether the MO instance node corresponding to the FDN is already stored in the MO instance node table. FDN hash table composed of key pairs as entries, MO instance node table used to store each MO instance node that constitutes the containment tree, and MO instance node table The management information base according to claim 8, wherein a MO instance attribute table, which is a table used to store an attribute corresponding to each MO instance, is stored.
【請求項10】前記MOインスタンス格納手段が、包含木
を構成する各々のMOインスタンスノードを格納するため
に用いられる表であるMOインスタンスノード表を含み、
該 MOインスタンスノード表のエントリが、 RDNとなる属性のOIDに対応する抽象構文キーを格納する
フィールドと、 RDNとなる属性の属性値に対応する抽象構文キーを格納
するフィールドと、 MOクラスOIDに対応する抽象構文キーを格納するフィー
ルドと、 包含木内において当該MOインスタンスノードの子ノード
を示すMOインスタンスノードキーを格納するフィールド
と、 包含木中において当該MOインスタンスノードの同レベル
ノードを示すMOインスタンスノードキーを格納するフィ
ールドと、 包含木中において当該MOインスタンスノードの親ノード
を示すMOインスタンスノードキーを格納するフィールド
と、 当該エントリに対応するMOインスタンスの差分属性数を
格納するフィールドと、 当該MOインスタンスノードに対応する差分属性フィール
ドのMOインスタンス属性表内でのアドレスを格納するフ
ィールドとから構成されることを特徴とする請求項9に
記載の管理情報ベース。
10. The MO instance storage means includes a MO instance node table, which is a table used to store each MO instance node constituting a containment tree,
An entry of the MO instance node table includes a field for storing an abstract syntax key corresponding to an OID of an attribute serving as an RDN, a field for storing an abstract syntax key corresponding to an attribute value of an attribute serving as an RDN, and an MO class OID. A field for storing a corresponding abstract syntax key, a field for storing a MO instance node key indicating a child node of the MO instance node in the containing tree, and a MO instance node indicating the same level node of the MO instance node in the containing tree A field for storing a key; a field for storing a MO instance node key indicating a parent node of the MO instance node in the containing tree; a field for storing the number of differential attributes of the MO instance corresponding to the entry; and the MO instance MO of the difference attribute field corresponding to the node 10. The management information base according to claim 9, comprising a field for storing an address in the instance attribute table.
【請求項11】前記MOインスタンス格納手段が、MOイン
スタンスノード表内に格納されている各々のMOインスタ
ンスに対応する属性を格納するために用いられる表であ
るMOインスタンス属性表を含み、MOインスタンス属性表
のとりうるエントリとして、参照MOインスタンスと、差
分属性が存在し、 参照MOインスタンスエントリが、MOクラスOIDに対応す
る抽象構文キーを格納するフィールドと、当該MOクラス
に属するMOインスタンスが有する属性の数を格納するフ
ィールドと、前記フィールドで示される個数分の属性値
に対応する抽象構文キーを格納するフィールドから構成
され、 差分属性エントリが、参照MOインスタンスと値の異なる
属性の位置を格納するフィールドと、前記属性の各々に
対する属性値に対応する抽象構文キーを格納するフィー
ルドから構成されることを特徴とする請求項9に記載の
管理情報ベース。
11. The MO instance storing means includes a MO instance attribute table which is a table used to store attributes corresponding to each MO instance stored in a MO instance node table. As a possible entry of the table, there is a reference MO instance and a difference attribute, and the reference MO instance entry is a field for storing an abstract syntax key corresponding to the MO class OID, and an attribute of the MO instance belonging to the MO class. A field for storing the number of abstract syntax keys corresponding to the attribute values of the number indicated by the field, wherein the difference attribute entry stores the position of the attribute having a different value from the reference MO instance And a field storing an abstract syntax key corresponding to an attribute value for each of said attributes. Management information base according to claim 9, characterized in that they are composed of.
【請求項12】ネットワーク管理システムにおける、物
理的な管理対象を抽象化して論理的なモデルとして実現
するために用いられる管理情報ベースにおいて、 各々のMOクラスに属するMOインスタンスに対する標準の
属性値を持つMOインスタンスである参照MOインスタンス
を生成しておき、 当該MOクラスに属するMOインスタンスを格納する際に
は、参照MOインスタンス内に格納されている属性値を参
照するようにし、 さらに、当該MOインスタンスが、参照MOインスタンス内
に格納されている属性値と値の異なる属性を持つ場合に
ついてのみ、前記値の異なる属性値に対応する属性値の
みを別領域に格納するようにしたことを特徴とする管理
情報ベース。
12. A management information base used in a network management system for abstracting a physical management target and realizing it as a logical model, having a standard attribute value for MO instances belonging to each MO class. A reference MO instance that is an MO instance is generated, and when an MO instance belonging to the MO class is stored, the attribute value stored in the reference MO instance is referred to. Only when there is an attribute having a different value from the attribute value stored in the reference MO instance, only the attribute value corresponding to the attribute value having a different value is stored in another area. Information base.
JP11017636A 1999-01-26 1999-01-26 Abstract syntax data storage device and management information base Pending JP2000215134A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP11017636A JP2000215134A (en) 1999-01-26 1999-01-26 Abstract syntax data storage device and management information base
DE10002339A DE10002339A1 (en) 1999-01-26 2000-01-20 Memory system for abstracted syntax data and management information data base, has converter for receiving syntax data for conversion into internal data format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11017636A JP2000215134A (en) 1999-01-26 1999-01-26 Abstract syntax data storage device and management information base

Publications (1)

Publication Number Publication Date
JP2000215134A true JP2000215134A (en) 2000-08-04

Family

ID=11949363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11017636A Pending JP2000215134A (en) 1999-01-26 1999-01-26 Abstract syntax data storage device and management information base

Country Status (2)

Country Link
JP (1) JP2000215134A (en)
DE (1) DE10002339A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012009041A (en) * 2005-08-08 2012-01-12 Qualcomm Inc Device interface architecture and protocol
JP2019503619A (en) * 2016-01-14 2019-02-07 華為技術有限公司Huawei Technologies Co.,Ltd. Method for managing resource objects and system for managing resource objects

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012009041A (en) * 2005-08-08 2012-01-12 Qualcomm Inc Device interface architecture and protocol
US8705550B2 (en) 2005-08-08 2014-04-22 Qualcomm Incorporated Device interface architecture and protocol
JP2019503619A (en) * 2016-01-14 2019-02-07 華為技術有限公司Huawei Technologies Co.,Ltd. Method for managing resource objects and system for managing resource objects

Also Published As

Publication number Publication date
DE10002339A1 (en) 2000-07-27

Similar Documents

Publication Publication Date Title
US7398265B2 (en) Efficient query processing of XML data using XML index
US7526769B2 (en) Message translation and parsing of data structures in a distributed component architecture
US6317748B1 (en) Management information to object mapping and correlator
US20020032684A1 (en) Directory information management apparatus, directory information management method, and computer readable recording medium having directory information management program stored therein
US20050015383A1 (en) Method and system for accessing database objects in polyarchical relationships using data path expressions
US20050165807A1 (en) Method and system for representing and accessing object-oriented data in a relational database system
US8782186B2 (en) Systems and methods for addressing managed elements
Case et al. Textual Conventions for Version 2 of the Simple Network Management Protocol (SNMPv2)
US8694510B2 (en) Indexing XML documents efficiently
CN112436964B (en) Equipment adaptation method and network management device
CN106664224A (en) System and method for metadata enhanced inventory management of a communications system
US20030090716A1 (en) Management information transmission apparatus, apparatus management apparatus, and apparatus management system
EP1704672A1 (en) Automatic update system and method for using a meta mib
US6484160B1 (en) Process for optimizing accesses to a database
US20040163016A1 (en) Method and apparatus for supporting error cause of SNMP
US7272836B1 (en) Method and apparatus for bridging service for standard object identifier based protocols
US6609155B1 (en) Method and apparatus for providing relationships in simple network management protocol management information base
US7024434B2 (en) Method and system for modifying schema definitions
JP2000215134A (en) Abstract syntax data storage device and management information base
JP2003316811A (en) Inquiry optimization processing device in different kind of database integration system, method and program making computer execute the method
KR20010055959A (en) Storing and recovering apparatus and method of sgml/xml entities for information reuse in document management system
KR20010041366A (en) Method and system for multi-entry and multi-template matching in a database
KR20010034516A (en) Method and system for typesafe attribute matching
Stewart Definitions of Managed Objects for RS-232-like Hardware Devices
JP5502021B2 (en) Directory information providing apparatus, information processing system, directory information providing method, and program

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030708