JPH02239345A - System for searching bus table - Google Patents
System for searching bus tableInfo
- Publication number
- JPH02239345A JPH02239345A JP1061158A JP6115889A JPH02239345A JP H02239345 A JPH02239345 A JP H02239345A JP 1061158 A JP1061158 A JP 1061158A JP 6115889 A JP6115889 A JP 6115889A JP H02239345 A JPH02239345 A JP H02239345A
- Authority
- JP
- Japan
- Prior art keywords
- path
- bus
- identifier
- entry
- searching
- 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
Links
- 238000000034 method Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 4
- 238000007796 conventional method Methods 0.000 description 2
- 230000010365 information processing Effects 0.000 description 1
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は情報処理装置におけるパス番号管理機構で、パ
ス識別子が一致するパステーブルがサーチできなかった
場合のパステーブルサーチの効率を向上することができ
るパステーブルサーチ方式に関するものである。[Detailed Description of the Invention] [Industrial Application Field] The present invention is a path number management mechanism in an information processing device, and an object thereof is to improve the efficiency of a path table search when a path table with matching path identifiers cannot be searched. This relates to a path table search method that allows
従来の技術について、図面を用いて説明する。 A conventional technique will be explained using drawings.
第2図は、従来の技術の構成を表わす図である.従来、
1つのパステーブルをパス番号でサーチする場合と、パ
ス識別子でサーチする場合があるシステムでは、パステ
ーブルサーチの効率向上の為、パス番号管理テーブル4
とパス識別.子管理テーブル7とを用いてパステーブル
サーチを行なっていた。FIG. 2 is a diagram showing the configuration of the conventional technology. Conventionally,
In systems where one path table is searched by path number or path identifier, the path number management table 4 is used to improve the efficiency of path table searches.
and path identification. A path table search was performed using the child management table 7.
パス番号でサーチする場合、パス番号管理テーブル4の
1つのエントリとパステーブルとは、1対1に対応づけ
られている為、パス番号に対応するパス番号管理テーブ
ル4のエントリを求めてパステーブルをサーチしていた
.
パス識別子でサーチする場合、パス識別子に対応するパ
ス識別子管理テーブル4のエントリを求めてそのエント
リ内のパス番号に対応するパス番号管理テーブル7のエ
ントリからパステーブルをサーチしていた。しかし、パ
ス識別子の種類は、パスの誤接防止の為に、最大パス数
の数倍〜数百倍になるようにしているので、パス識別子
管理テーブル7のエントリ数を最大パス識別子にすると
、メモリの負荷が重くなる.従って、パス識別子管理テ
ーブル7のエンドリ数は、最大パス数としていた。この
為、第2図の様に、最大パス数を1000個とすると、
パス識別子管理テーブル7のエントリ数も1000個と
なる.この環境で、パス識別子の値が1000と200
0のパスが存在する場合、パス識別子管理テーブル7の
エントリは、パス識別子をパス識別子エントリ数で割っ
た余りとなるので、両方のパスが同じエントリになって
しまう.この様な場合は、後から設定されたパスのパス
番号を、パス識別子管理テーブル7の対応するエントリ
に設定していた。従って、パス識別子でパステーブルを
サーチする場合、パス識別子管理テーブル7とパス番号
管理テーブル4からサーチしたパステーブルのパス識別
子と一致するか否かのチェックを行ない、一致しない時
は、パス番号管理テーブル4の最初のエントリから順番
にパス識別子が一致するパステーブルをサーチしていた
。When searching by path number, since there is a one-to-one correspondence between an entry in the path number management table 4 and the path table, search for the entry in the path number management table 4 that corresponds to the path number I was searching for. When searching by path identifier, an entry in the path identifier management table 4 corresponding to the path identifier is found, and the path table is searched from the entry in the path number management table 7 corresponding to the path number in that entry. However, the types of path identifiers are set to be several to several hundred times the maximum number of paths in order to prevent incorrect connection of paths, so if the number of entries in the path identifier management table 7 is set to the maximum path identifier, Memory load becomes heavy. Therefore, the number of entries in the path identifier management table 7 is set to the maximum number of paths. For this reason, if the maximum number of paths is 1000 as shown in Figure 2,
The number of entries in the path identifier management table 7 is also 1000. In this environment, the path identifier values are 1000 and 200.
If there is a path with 0, the entry in the path identifier management table 7 will be the remainder of the path identifier divided by the number of path identifier entries, so both paths will have the same entry. In such a case, the path number of the path that was set later was set in the corresponding entry in the path identifier management table 7. Therefore, when searching a path table using a path identifier, the path identifier management table 7 and the path number management table 4 are checked to see if they match the path identifier of the searched path table. Path tables with matching path identifiers are searched in order from the first entry in Table 4.
上述した従来の技術は、パス識別子でパステーブルをサ
ーチする場合に、パス識別子管理テーブルとパス番号管
理テーブルからサーチしたパステーブルのパス識別子が
一致しない時に、パス番号管理テーブルの最初のエント
リから順番にパス識別子が一致するパステーブルをサー
チすることになる為、パステーブルサーチの効率が悪く
なるという欠点がある。In the conventional technology described above, when searching a path table using a path identifier, when the path identifiers in the searched path table do not match from the path identifier management table and the path number management table, the search is performed sequentially from the first entry in the path number management table. Since a path table with a matching path identifier is searched for, the efficiency of the path table search becomes poor.
本発明の構成は、パス番号からパステーブルをサーチす
るパス番号管理機構と、パス識別子からパス番号をサー
チするパス識別子管理機構と、前記パス番号管理機構で
パス識別子が一致するパステーブルをサーチできなかっ
た場合に、そのパス識別子が一致するパステーブルをサ
ーチするパス識別子サーチ機構とを含んで構成されるこ
とを特徴とする.
〔実施例〕
次に、本発明の実施例について図面を用いて説明する.
第1図は本発明の一実施例の構成を表わす図である.
パスの設定時に、パス番号管理機構1は、パステーブル
のパス番号に対応するパス番号管理テーブルのエントリ
にパステーブルのアドレスを設定する.パス識別子管理
機構3は、パステーブルのパス識別子に対応するパス識
別子管理テーブル7のエントリにパステーブルのパス番
号を設定する.この時点でパス識別子管理テーブル7の
対応エントリに、既に別のパス番号が設定されている場
合は、パス識別子管理テーブル7の対応エントリにパス
番号を設定せずに、既に設定されているパス番号のパス
テーブルのパス識別子管理テーブル同一エントリ次パス
テーブルアドレスに、新たに設定しようとしたパステー
ブルのアドレスを設定してパス識別子管理テーブル7の
同一エントリのパステーブルをチェインしていく。The configuration of the present invention includes a path number management mechanism that searches a path table based on a path number, a path identifier management mechanism that searches a path number based on a path identifier, and a path table that can search for a path table with a matching path identifier in the path number management mechanism. The present invention is characterized in that it includes a path identifier search mechanism that searches for a path table with a matching path identifier if the path identifier does not match. [Example] Next, an example of the present invention will be described using the drawings. FIG. 1 is a diagram showing the configuration of an embodiment of the present invention. When setting a path, the path number management mechanism 1 sets the address of the path table in the entry of the path number management table corresponding to the path number of the path table. The path identifier management mechanism 3 sets the path number of the path table in the entry of the path identifier management table 7 corresponding to the path identifier of the path table. At this point, if another path number has already been set in the corresponding entry in the path identifier management table 7, do not set the path number in the corresponding entry in the path identifier management table 7, and use the already set path number. The address of the path table to be newly set is set in the path table address of the same entry in the path identifier management table of the path table 7, and the path tables of the same entry in the path identifier management table 7 are chained.
パス番号でパステーブルをサーチする場合は、パス番号
管理機構1がパス番号に対応するパス番号管理テーブル
4のエントリを求めてパステーブルをサーチする.
パス識別子でパステーブルをサーチする場合は、パス識
別子管理機構3がパス識別子に対応するパス識別子管理
テーブル7のエントリを求めてパス番号を得る。次に、
パス番号管理機構1が、パス番号に対応するパス番号管
理テーブル4のエントリを求めてパステーブルをサーチ
する。When searching a path table using a pass number, the path number management mechanism 1 searches the path table for an entry in the path number management table 4 that corresponds to the pass number. When searching a path table using a path identifier, the path identifier management mechanism 3 searches for an entry in the path identifier management table 7 that corresponds to the path identifier to obtain a path number. next,
The path number management mechanism 1 searches the path number management table 4 for an entry corresponding to the path number.
更に、パス識別子サーチ機構2がサーチしたパステーブ
ルのパス識別子が一致するか否かのチェックを行ない、
一致しない時は、パステーブルのパス識別子管理テーブ
ル同一エントリ次パステーブルアドレスにチェインされ
ているパステーブルのパス識別子が一致するか否かのチ
ェックを行なっていき、パス識別子の一致するパステー
ブルをサーチする.
〔発明の効果〕
以上説明したように本発明は、パス識別子でパステーブ
ルをサーチする場合に、パス番号管理機構でサーチした
パステーブルのパス識別子が一致しないくパス識別子管
理テーブルの同一エントリに対応するパステーブルが2
個以上存在する》時でも、パス識別子管理テーブルの同
一エントリに対応するパステーブルだけをサーチするの
で、効率の良いパステーブルサーチが行なえる効果があ
る。Furthermore, it is checked whether the path identifiers in the path table searched by the path identifier search mechanism 2 match,
If they do not match, the same entry in the path identifier management table of the path table checks whether the path identifiers in the path table chained to the next path table address match, and then searches for a path table with a matching path identifier. do. [Effects of the Invention] As explained above, the present invention can handle identical entries in the path identifier management table if the path identifiers in the path tables searched by the path number management mechanism do not match when searching a path table using a path identifier. There are 2 path tables
Even when there are more than one entry in the path identifier management table, only the path tables corresponding to the same entry in the path identifier management table are searched, so an efficient path table search can be performed.
第1図は本発明の一実施例の構成を示すブロック図、第
2図は従来の技術の構成を示すブロック図である。
1・・・パス番号管理機構、2・・・パス識別子サーチ
機構、3・・・パス識別子管理機構、4・・・パス番号
管理テーブル、5.6・・・パステーブル、7・・・パ
ス識別子管理テーブル。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a block diagram showing the configuration of a conventional technique. 1...Path number management mechanism, 2...Path identifier search mechanism, 3...Path identifier management mechanism, 4...Pass number management table, 5.6...Pass table, 7...Pass Identifier management table.
Claims (1)
構と、パス識別子からパス番号をサーチするパス識別子
管理機構と、前記パス番号管理機構でパス識別子が一致
するパステーブルをサーチできなかった場合に、そのパ
ス識別子が一致するパステーブルをサーチするパス識別
子サーチ機構とを含むことを特徴とするパステーブルサ
ーチ方式。A path number management mechanism that searches a path table from a path number, a path identifier management mechanism that searches a path number from a path identifier, and a path number management mechanism that searches a path table with a matching path identifier when the path number management mechanism cannot search for a path table with a matching path identifier. A path table search method comprising: a path identifier search mechanism that searches for a path table with matching path identifiers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1061158A JPH02239345A (en) | 1989-03-13 | 1989-03-13 | System for searching bus table |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1061158A JPH02239345A (en) | 1989-03-13 | 1989-03-13 | System for searching bus table |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH02239345A true JPH02239345A (en) | 1990-09-21 |
Family
ID=13163054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1061158A Pending JPH02239345A (en) | 1989-03-13 | 1989-03-13 | System for searching bus table |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH02239345A (en) |
-
1989
- 1989-03-13 JP JP1061158A patent/JPH02239345A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH02239345A (en) | System for searching bus table | |
JPH05143647A (en) | Data base retrieval processing method | |
JPH03174653A (en) | Method and device for control of key word | |
JPH03230246A (en) | Path table search system | |
JPH0644309A (en) | Data base managing system | |
JP3421994B2 (en) | How to patch electronic exchanges | |
JPS63757A (en) | Retrieval processing system for terminal control table | |
JPS59116992A (en) | Associative memory | |
JPS63217446A (en) | Buffer control system | |
JPH0667968A (en) | Data management system in object direction | |
JPS6380325A (en) | Information retrieval method and index used therefor | |
JPH01112351A (en) | Terminal connection system for on-line transaction control system | |
JPH01211049A (en) | File fault retrieving system | |
JPH05313985A (en) | Distributed data base processing system | |
JPS63146130A (en) | Knowledge unit management system | |
JPH01120621A (en) | Retrieving/updating system for data base | |
JPH0628167A (en) | Data and information manipulating device | |
JPH04286072A (en) | High speed retrieval system for table | |
JPH0199131A (en) | System for registering and searching symbol table | |
JPS63178368A (en) | Resource management processing system | |
JP2000092056A (en) | Selective and automatic finding method in network monitoring | |
JPH0378341A (en) | Bridge device | |
JPH04172852A (en) | Data collation system | |
JPH03290730A (en) | System for sorting data classification | |
JPS63280328A (en) | Control system for data having plural names |