JP2850361B2 - System definition information management device - Google Patents
System definition information management deviceInfo
- Publication number
- JP2850361B2 JP2850361B2 JP9247689A JP9247689A JP2850361B2 JP 2850361 B2 JP2850361 B2 JP 2850361B2 JP 9247689 A JP9247689 A JP 9247689A JP 9247689 A JP9247689 A JP 9247689A JP 2850361 B2 JP2850361 B2 JP 2850361B2
- Authority
- JP
- Japan
- Prior art keywords
- definition
- parameter
- program
- operand
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Landscapes
- Stored Programmes (AREA)
Description
【発明の詳細な説明】 〔概要〕 計算機システムの構成を定義する各種定義値であるシ
ステム定義パラメータの管理に関し、 パラメータのオペランド追加等の構成の変更に対し
て、プログラムの変更の必要を、最小限の範囲に局限し
て容易に対応できるシステム定義情報管理装置を目的と
し、 計算機において、システム定義の各パラメータごと
に、該パラメータから抽出するオペランドと、該オペラ
ンドの配列とを、所要のプログラムごとに定義する情報
を有する構造定義データを設け、該プログラムから該パ
ラメータを要求された場合には、指定の該パラメータの
該構造定義データから、該プログラムに関して設けた該
定義情報を検索し、該検索した定義内容に従って、該パ
ラメータから抽出する該オペランドを配列して、該プロ
グラムに渡すように構成する。DETAILED DESCRIPTION OF THE INVENTION [Summary] Regarding the management of system-defined parameters, which are various definition values that define the configuration of a computer system, the need for program changes is minimized for configuration changes such as the addition of parameter operands. The purpose of the present invention is to provide a system definition information management device capable of easily coping with a limited range of data, and in a computer, for each parameter of the system definition, an operand extracted from the parameter and an array of the operand are defined for each required program. When the parameter is requested from the program, the structure definition data of the designated parameter is searched for the definition information provided for the program, and the search is performed. According to the defined contents, the operands extracted from the parameters are arranged, and the Configure to pass.
〔産業上の利用分野〕 本発明は、計算機システムの構成を定義する各種定義
値であるシステム定義パラメータの管理、特にパラメー
タの変更に対処するためのシステム定義情報管理装置に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to management of system definition parameters, which are various definition values that define the configuration of a computer system, and more particularly to a system definition information management device for coping with parameter changes.
公知のように、計算機のオペレーティングシステム
は、計算機の構成を定義する情報や各種のシステム制御
上必要な定数等の各種パラメータを、システム定義とし
て保持し、要求により必要なプログラムに所要のパラメ
ータを渡す。As is known, an operating system of a computer holds various parameters such as information defining the configuration of the computer and constants necessary for various system controls as a system definition, and passes required parameters to a required program upon request. .
第4図は従来のシステム定義情報管理装置の構成例を
示すブロック図であり、システム定義の各種パラメータ
5i、5j……はシステム定義ファイル1に格納され、シス
テム定義管理部2が管理して、プログラム3a、3b……の
要求によって、それらのプログラムが指定するパラメー
タのオペランドをシステム定義ファイル1から読み出
し、所定の構成に配列して要求元のプログラム3a,3b等
に渡す。FIG. 4 is a block diagram showing an example of the configuration of a conventional system definition information management device.
.. Are stored in the system definition file 1 and are managed by the system definition management unit 2, and read out from the system definition file 1 the operands of the parameters specified by the programs 3a, 3b,. Are arranged in a predetermined configuration and passed to the requesting programs 3a, 3b and the like.
各パラメータは、第5図(a)のように、一般に複数
のオペランドからなり、各オペランドはそれぞれ名前、
アドレス、容量等を示す文字列や数値データ等である。Each parameter is generally composed of a plurality of operands, as shown in FIG.
It is a character string indicating address, capacity, and the like, and numerical data.
それらのパラメータを受け取る各プログラム3a、3b等
は、各パラメータ5i、5j等ごとに定められている一定の
データ構成形式でシステム定着管理部2から渡されるも
のとして、その構成に従ってそれらのパラメータの各オ
ペランドにアクセスするように作成されている。Each of the programs 3a, 3b, etc., receiving those parameters is assumed to be passed from the system fixing management unit 2 in a fixed data configuration format defined for each of the parameters 5i, 5j, etc. Created to access operands.
システム定義管理部2には各パラメータ5i、5j等を処
理するパラメータ対応部4i、4j等がパラメータごとに個
別に設けられていて、例えばプログラム3a、3b等から要
求されたパラメータ名によって、対応するパラメータ対
応部が呼び出されるようにし、それによって担当する各
パラメータごとの、各オペランドのデータ型、データ長
等と、所要のオペランド相互の配置等に基づいて、シス
テム定義ファイルから読み出し、所定の形式に構成する
処理をする。The system definition management unit 2 is provided with parameter correspondence units 4i, 4j, etc. for processing the parameters 5i, 5j, etc., individually for each parameter. For example, the parameter correspondence units 4i, 4j, etc. correspond according to parameter names requested from the programs 3a, 3b, etc. The parameter-corresponding part is called, and it is read from the system definition file based on the data type and data length of each operand for each parameter in charge and the required arrangement of the operands, and is converted into a predetermined format. Perform the configuration process.
前記のように構成されているので、例えば第4図のプ
ログラム3aの必要によって、第5図(a)のようなパラ
メータ、(b)に示すようにオペランドを追加する場
合には、システム定義ファイル1の当該パラメータのデ
ータ及びそれを使用するプログラム3aに変更を要するの
は当然であるが、それと共にシステム定義管理部2の当
該パラメータを処理するパラメータ対応部4i等もパラメ
ータ構成の変更に伴う修正が必要になる。With the above configuration, for example, when the program 3a shown in FIG. 4 is required and parameters are added as shown in FIG. 5A and operands are added as shown in FIG. Naturally, it is necessary to change the data of the parameter 1 and the program 3a that uses the parameter, and the parameter corresponding unit 4i of the system definition management unit 2 that processes the parameter also needs to be modified according to the change of the parameter configuration. Is required.
更にプログラム3a以外でも、このパラメータを参照す
ることのあるプログラム3b等の他のすべてのプログラム
について、例えばオペランドをスキップするように処
理の変更が必要になり、変更が広い範囲にわたり、且つ
そのために変更漏れ等の誤りも生じ易い等の問題があ
る。Furthermore, other than the program 3a, for all other programs such as the program 3b that may refer to this parameter, it is necessary to change the processing, for example, to skip the operand, and the change is wide-ranging and thus changed. There is a problem that errors such as leakage are likely to occur.
本発明は、パラメータのオペランド追加等の構成の変
更に対して、プログラムの変更の必要を、最小限の範囲
に局限して容易に対応できるシステム定義情報管理装置
を目的とする。SUMMARY OF THE INVENTION It is an object of the present invention to provide a system definition information management apparatus which can easily cope with a configuration change such as an addition of a parameter operand by limiting a program change to a minimum range.
第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.
図はシステム定義情報管理装置の構成を示し、計算機
において、システム定義ファイル13の各パラメータ5i、
5j等ごとに、パラメータから抽出するオペランドと、該
オペランドの配列とを、所要のプログラム3a、3b等ごと
に定義する情報を有する構造定義データ10i、10j……を
設け、構造定義データを格納する構造定義データを格納
する構造定義データ格納部とする。システム定義管理部
11が、プログラム3a等からパラメータを要求された場合
には、パラメータ処理部12が指定のパラメータの構造定
義データ10i、10j等から、当該プログラムに関して設け
た定義情報を検索し、該検索した定義内容に従って、該
パラメータから抽出する該オペランドを配列して、要求
元のプログラム3a、3b等に渡す。The figure shows the configuration of the system definition information management device. In the computer, each parameter 5i,
For each 5j, etc., structure definition data 10i, 10j,... Having information for defining an operand to be extracted from a parameter and an array of the operand for each required program 3a, 3b, etc., are provided, and the structure definition data is stored. A structure definition data storage unit for storing structure definition data. System definition management unit
11, when the parameter is requested from the program 3a or the like, the parameter processing unit 12 searches the definition information provided for the program from the structure definition data 10i, 10j or the like of the designated parameter, and the searched definition content According to the above, the operands extracted from the parameters are arrayed and passed to the requesting programs 3a, 3b and the like.
以上のシステム定義情報管理装置により、構造定義デ
ータによって、プログラムごとに必要なパラメータ構成
が定義されるので、システム定義のパラメータにおける
オペランドの増減等の変更の影響は、当該パラメータの
データと、そのパラメータ変更を必要とするプログラ
ム、及び構造定義データのそのプログラムに関する定義
情報等に局限される。With the above system definition information management device, the necessary parameter configuration is defined for each program by the structure definition data. Therefore, the effect of a change such as an increase or decrease of operands in the system definition parameter is affected by the data of the parameter and the parameter. The program is limited to the program that needs to be changed and the definition information of the program in the structure definition data.
第3図はシステム定義の1パラメータに対する構造定
義データの詳細な構成例を示す図である。図のように構
造定義データ10は、パラメータごとのルートとなるパラ
メータ定義ブロック20と、そこからポインタでリンクさ
れるプログラムごとのパラメータ制御ブロック21a、21b
……を持つ。FIG. 3 is a diagram showing a detailed configuration example of structure definition data for one parameter of system definition. As shown in the figure, the structure definition data 10 includes a parameter definition block 20 serving as a route for each parameter, and parameter control blocks 21a and 21b for each program linked by a pointer therefrom.
……have.
パラメータ定義ブロック20には、例えばパラメータ名
及びパラメータ全体に関するその他の制御情報の各項
と、前記のパラメータ制御ブロック21a、21b等の1つを
指すポインタと、オペランド定義ブロック22−1へのポ
インタの項からなる。The parameter definition block 20 includes, for example, parameter names and other control information items relating to the entire parameter, pointers to one of the parameter control blocks 21a and 21b, and pointers to the operand definition block 22-1. Terms.
オペランド定義ブロック22−1、22−2……の各々
は、このパラメータの各オペランドに対応し、例えばそ
のオペランドのデータ型、大きさ及びその他の属性の各
項と、パラメータ5の当該オペランドのデータを指示す
るポインタの項と、オペランド定義ブロックをリンクす
るポインタの項からなる。Each of the operand definition blocks 22-1, 22-2,... Corresponds to each operand of this parameter, for example, each item of the data type, size and other attributes of the operand, and the data of the operand of parameter 5 And a pointer term for linking the operand definition block.
又所要のプログラムごとに設けるパラメータ制御ブロ
ック21a、21b等は、例えば対応するプログラムを示すプ
ログラム名、パラメータ制御ブロックをリンクするポイ
ンタ、オペランド個数等の各項と、オペランド制御ブロ
ック23a、23b等へのポインタの項を有する。The parameter control blocks 21a, 21b, etc. provided for each required program include, for example, a program name indicating the corresponding program, a pointer for linking the parameter control block, the number of operands, etc., and operand control blocks 23a, 23b, etc. Has a pointer term.
各オペランド制御ブロック23a、23b等は、例えばリン
クのためのポインタと、オペランド定義ブロック22−
1、22−2等へのポインタの項を有し、図示のようにパ
ラメータ制御ブロック21a、21b等からオペランド制御ブ
ロック23a、23b等を1個以上リンクすることにより、必
要とするオペランドと、その配列順を当該プログラムご
とに定義することができる。Each of the operand control blocks 23a, 23b, etc. includes, for example, a pointer for a link and an operand definition block 22-.
1 and 22-2, and the like, and by linking one or more operand control blocks 23a, 23b, etc. from the parameter control blocks 21a, 21b, etc., as shown in FIG. The sequence order can be defined for each program.
第1図のプログラム3a、3b等のシステム定義の要求を
システム定義管理部11が受け取ると、パラメータ処理部
12が起動して、例えば第2図に示す処理の流れを実行す
る。即ち処理ステップ30でシステム定義ファイル13から
指定のパラメータ名のパラメータ定義ブロック20を検索
すると、処理ステップ31でそのポインタで指示するパラ
メータ制御ブロック21a、21b等を要求元プログラム名に
よって検索し、1つのパラメータ制御ブロックを決定す
る。When the system definition management unit 11 receives a request for system definitions such as the programs 3a and 3b shown in FIG.
12 starts and executes, for example, the processing flow shown in FIG. That is, when the parameter definition block 20 of the designated parameter name is searched from the system definition file 13 in the processing step 30, the parameter control blocks 21a, 21b, etc. indicated by the pointer are searched by the requesting program name in the processing step 31, and one Determine the parameter control block.
検索したパラメータ制御ブロック21a、21b等の情報に
基づいて、処理ステップ32でそのパラメータ制御ブロッ
クにリンクするオペランド制御ブロック23a又は23b等を
順次読み出して、そのポインタで指示されるオペランド
定義ブロック22−1、22−2等で定義されるオペランド
のデータをパラメータ5から取り出して配置する処理
を、処理ステップ33で所要のオペランド個数までに処理
したことを検出するまで繰り返して、要求されるパラメ
ータを組み立て、処理ステップ34でそのパラメータを要
求元プログラムに渡して処理を終わる。Based on the retrieved information on the parameter control blocks 21a, 21b, etc., in a processing step 32, the operand control blocks 23a, 23b, etc. linked to the parameter control blocks are sequentially read out, and the operand definition block 22-1 indicated by the pointer is read out. , 22-2, etc., are fetched from the parameter 5 and arranged until the processing step 33 detects that the required number of operands have been processed, thereby assembling the required parameters, In processing step 34, the parameters are passed to the requesting program, and the processing is terminated.
以上のように、システム定義管理部11はパラメータの
オペランドの属性、配置等に関する処理を構造定義デー
タ10を参照して行うので、パラメータの変更に対して
は、システム定義管理部11の変更は必要なく、構造定義
データ10の変更で対応でき、又構造定義データ10に要求
元プログラムごとに対応する定義情報を設けることによ
り、パラメータの変更に際し、その変更を要しないプロ
グラムには、変更前と同じパラメータを提供することに
よって、パラメータ変更の影響が無いようにすることが
できる。As described above, since the system definition management unit 11 performs processing related to the attributes and arrangement of operands of parameters with reference to the structure definition data 10, it is necessary to change the system definition management unit 11 for parameter changes. The change can be handled by changing the structure definition data 10, and by providing the structure definition data 10 with the corresponding definition information for each requesting program, the program that does not need to be changed when changing parameters is the same as before the change. By providing the parameters, it is possible to eliminate the influence of the parameter change.
以上の説明から明らかなように本発明によれば、計算
機におけるシステム定義パラメータの管理において、パ
ラメータのオペランド追加等の構成の変更に対して、プ
ログラムの変更の必要を、最小限の範囲に局限して容易
に対応できるので、計算機の利用性を改善するという著
しい工業的効果がある。As is apparent from the above description, according to the present invention, in the management of the system-defined parameters in the computer, the change of the program is limited to the minimum range for the configuration change such as the addition of the operand of the parameter. It has a remarkable industrial effect of improving the usability of the computer since it can be easily handled.
第1図は本発明の構成を示すブロック図、 第2図は本発明の処理の流れ図、 第3図は構造定義データの説明図、 第4図は従来の構成例を示すブロック図、 第5図はシステム定義パラメータの説明図である。 図において、 1、13はシステム定義ファイル、 2、11はシステム定義管理部、 3a、3bはプログラム、 4i、4jはパラメータ対応部、 5、5i、5jはパラメータ、 10、10i、10jは構造定義データ、 20はパラメータ定義ブロック、 21a、21bはパラメータ制御ブロック、 22−1〜22−5はオペランド定義ブロック、 23a、23bはオペランド制御ブロック、 30〜34は処理ステップを示す。 FIG. 1 is a block diagram showing a configuration of the present invention, FIG. 2 is a flowchart of a process of the present invention, FIG. 3 is an explanatory diagram of structure definition data, FIG. 4 is a block diagram showing a conventional configuration example, FIG. The figure is an explanatory diagram of system definition parameters. In the figure, 1 and 13 are system definition files, 2 and 11 are system definition management units, 3a and 3b are programs, 4i and 4j are parameter corresponding units, 5, 5i and 5j are parameters, and 10, 10i and 10j are structure definitions. Data, 20 is a parameter definition block, 21a and 21b are parameter control blocks, 22-1 to 22-5 are operand definition blocks, 23a and 23b are operand control blocks, and 30 to 34 are processing steps.
Claims (1)
値を管理するシステム定義管理装置であって、 前記計算機システム上で動作するプログラムに対応し
て、プログラムが必要とする定義値を定義する構造定義
データを格納する構造定義データ格納部と、 プログラムからの要求に応じて、前記構造定義データ格
納部から要求元のプログラムに対応する構造定義データ
を読み出し、該構造定義データに基づいて定義値を取り
まとめ、要求元のプログラムに通知するシステム定義管
理部 とからなるシステム定義情報管理装置。1. A system definition management device that manages various definition values that define the configuration of a computer system, wherein the structure defines a definition value required by the program corresponding to a program that operates on the computer system. A structure definition data storage unit for storing definition data; and, in response to a request from the program, reading out structure definition data corresponding to the requesting program from the structure definition data storage unit, and defining a definition value based on the structure definition data. A system definition information management device consisting of a system definition management unit that collects and notifies the requesting program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9247689A JP2850361B2 (en) | 1989-04-12 | 1989-04-12 | System definition information management device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP9247689A JP2850361B2 (en) | 1989-04-12 | 1989-04-12 | System definition information management device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02270022A JPH02270022A (en) | 1990-11-05 |
| JP2850361B2 true JP2850361B2 (en) | 1999-01-27 |
Family
ID=14055366
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP9247689A Expired - Lifetime JP2850361B2 (en) | 1989-04-12 | 1989-04-12 | System definition information management device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2850361B2 (en) |
-
1989
- 1989-04-12 JP JP9247689A patent/JP2850361B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH02270022A (en) | 1990-11-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Needham et al. | The Cambridge CAP computer and its protection system | |
| EP0148478B1 (en) | A data processor with control of the significant bit lenghts of general purpose registers | |
| EP0423723A2 (en) | Data retrieval system for relational database | |
| US4024504A (en) | Firmware loader for load time binding | |
| US5481692A (en) | Computing system for data processing apparatus | |
| JP2850361B2 (en) | System definition information management device | |
| JP2005267501A (en) | Storage management method and system | |
| JP3660390B2 (en) | Term dictionary management device | |
| JPH07121376A (en) | Down load information preparing device | |
| JP2611490B2 (en) | System operating environment setting device | |
| JP2624146B2 (en) | Related record batch reading method | |
| JPH04260141A (en) | Data shared processor | |
| JP2026046211A (en) | Document processing device and document processing method | |
| JPS6211746B2 (en) | ||
| JP3337717B2 (en) | Database processing device and database processing method | |
| JP2740572B2 (en) | Program loading method | |
| JP3887840B2 (en) | Data storage method and apparatus | |
| JP2537862B2 (en) | Display data reading control method | |
| JP2767665B2 (en) | Parts search processing device | |
| JPH0488419A (en) | Area control system for magnetooptic disk medium | |
| JPH05188119A (en) | Test data management device and test data management method | |
| JPH05210562A (en) | Network file system | |
| JPH103412A (en) | Magnetic disk file relocation system | |
| JPH0268624A (en) | Program correcting circuit | |
| JPH0498597A (en) | Pos system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081113 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081113 Year of fee payment: 10 |
|
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091113 Year of fee payment: 11 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091113 Year of fee payment: 11 |