JP2763323B2 - Data processing device - Google Patents

Data processing device

Info

Publication number
JP2763323B2
JP2763323B2 JP1065395A JP6539589A JP2763323B2 JP 2763323 B2 JP2763323 B2 JP 2763323B2 JP 1065395 A JP1065395 A JP 1065395A JP 6539589 A JP6539589 A JP 6539589A JP 2763323 B2 JP2763323 B2 JP 2763323B2
Authority
JP
Japan
Prior art keywords
resource
search
directory
search environment
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP1065395A
Other languages
Japanese (ja)
Other versions
JPH02244348A (en
Inventor
秀史 丸山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1065395A priority Critical patent/JP2763323B2/en
Publication of JPH02244348A publication Critical patent/JPH02244348A/en
Application granted granted Critical
Publication of JP2763323B2 publication Critical patent/JP2763323B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、資源を検索してデータ処理を実行するデー
タ処理装置に関し、特に、予め設定された資源検索環境
を公開できるようにしていくことで、個々のデータ処理
を実行するプログラム等がその資源検索環境を利用でき
るようにすることを可能にするデータ処理装置に関す
る。
Description: BACKGROUND OF THE INVENTION The present invention relates to a data processing apparatus that searches for resources and executes data processing, and more particularly, to enabling disclosure of a preset resource search environment. The present invention relates to a data processing apparatus that enables a program or the like that executes individual data processing to use the resource search environment.

データ処理の実行にあたっては、データ処理を実行す
る個々のプログラムが資源検索環境を設定・管理してい
く必要がある。また、プログラム開発を行っていく場合
にあっても、プログラム開発の個々の開発者が資源検索
環境を設定・管理していく必要がある。このような資源
検索環境の設定・管理処理は、個々のプログラムに負担
がかかるとともに、プログラムの開発者にかなりな負担
を強いることになるので、このような負荷が軽減できる
ような手段を講じていく必要がある。
In executing data processing, it is necessary for individual programs that execute data processing to set and manage a resource search environment. Also, even when developing a program, it is necessary for each developer of the program to set and manage a resource search environment. Such a process of setting and managing the resource search environment places a burden on individual programs and imposes a considerable burden on program developers. Therefore, measures should be taken to reduce such loads. We have to go.

〔従来の技術〕[Conventional technology]

次に、プログラム開発を例にしながら、従来のデータ
処理システムにおける資源検索環境の設定処理方式につ
いて説明する。
Next, a method for setting a resource search environment in a conventional data processing system will be described with reference to an example of program development.

プログラム開発を実行していくときには、一般ファイ
ル、実行形式ファイル及びコマンド等を検索する際のパ
スの優先順位を定めるサーチリストや、資源名の置き換
え情報等によって構成される資源検索環境を設定し管理
していく必要がある。従来では、この資源検索環境の設
定・管理を、プログラム開発の開発者が個々に実行して
いくようにしていた。すなわち、個々の開発者が、開発
するプログラムに適した資源検索環境をその場その場で
作成していくとか、あるいは、自分がよく使用する資源
検索環境を予め作成して保存しておいて、その中から選
択していくとかいうようにして、個人的に資源検索環境
の設定・管理を行うようにしていたのである。
When executing program development, set up and manage a search list that determines the priority of paths when searching for general files, executable files, commands, etc., and a resource search environment consisting of resource name replacement information, etc. There is a need to continue to. Conventionally, the developers of the program development individually set and manage the resource search environment. In other words, each developer creates a resource search environment suitable for the program to be developed on the spot, or creates and saves a resource search environment that is often used in advance, By selecting from among them, the user personally sets and manages the resource search environment.

〔発明が解決しようとする課題〕[Problems to be solved by the invention]

確かに、プログラム開発の対象となる業務が全く異な
る場合や、同一の業務に係るものであっても異なる資源
を使用する場合には、個々のプログラム開発の開発者が
資源検索環境を設定し保存していくしかない。しかしな
がら、プログラム開発の対象となる業務が同一のもので
あって、しかも使用する資源の範囲が固定されているよ
うな業務(以下、定型業務と称することがある)である
場合には、資源検索環境を共通化できるのにもかかわら
ず、従来では、一般のプログラム開発と同様に、資源検
索環境の設定・管理を個々の開発者に委ねていたのであ
る。これから、従来技術では、定型業務のプログラム開
発にあっては、プログラムの開発者の労力が重複してい
たという問題点があり、そして、個々の開発者の負荷が
大きくなっていたという問題点があった。
Indeed, if the tasks for program development are completely different, or if different resources are used for the same task, the developers of the individual program developers set up and save the resource search environment. I have to do it. However, in the case where the tasks for which the program is to be developed are the same, and the scope of the resources to be used is fixed (hereinafter, sometimes referred to as routine tasks), the resource search is performed. In spite of the fact that the environment can be shared, conventionally, the setting and management of the resource search environment has been left to individual developers as in the case of general program development. From now on, with the conventional technology, there is a problem that the program developer's labor is duplicated in the routine business program development, and that the load of each developer is increased. there were.

このような共通化できる資源検索環境の設定・管理を
個々に委ねていたという問題点は、プログラム開発に限
られずに、一般のデータ処理システムにあっても同様に
存在していたのである。
Such a problem that the setting and management of the resource search environment that can be shared is entrusted to each individual exists not only in program development but also in general data processing systems.

本発明はかかる事情に鑑みてなされたものであって、
予め設定された資源検索環境を公開できるようにして、
個々のデータ処理を実行するプログラム等がその資源検
索環境を利用できるようにしていくことで、従来技術が
有していたこのような問題点を解決する新たなデータ処
理装置の提供を目的とする。
The present invention has been made in view of such circumstances,
Make it possible to publish a preset resource search environment,
It is an object of the present invention to provide a new data processing device that solves such problems that the conventional technology has by making a program or the like that executes individual data processing use the resource search environment. .

〔課題を解決するための手段〕[Means for solving the problem]

第1図は本発明の原理構成図である。 FIG. 1 is a diagram illustrating the principle of the present invention.

図中、1は本発明を具備するデータ処理装置、2はデ
ータ処理装置1が備えるDASDであって、データ処理の資
源となるファイル等を管理するもの、3はデータ処理装
置1が備える装置であって、データ処理の資源となるも
の、10はディレクトリ管理部であって、木構造に従って
ディレクトリを管理するもの、11はディレクトリ記憶部
であって、DASD2上に格納されているディレクトリ20を
展開するもの、12はディレクトリの木構造を構成する業
務ディレクトリであって、特定の業務のデータ処理に係
るディレクトリとして設けられるもの、13は個々の業務
ディレクトリ12により管理される保存検索環境であっ
て、ディレクトリの木構造の中に保存管理される資源検
索環境であるもの、14は資源情報であって、個々の業務
ディレクトリ12により使用される資源を特定するもの、
15は資源検索環境設定処理部であって、ディレクトリ管
理部10に対して資源検索環境の設定処理を実行するも
の、16は応用処理部であって、資源の検索依頼を発行す
るもの、17は検索部であって、応用処理部16の発行する
資源検索依頼に応答して資源を検索するものである。
In the figure, 1 is a data processing device equipped with the present invention, 2 is a DASD provided in the data processing device 1, which manages files and the like which are resources for data processing, and 3 is a device provided in the data processing device 1. A resource management resource, 10 is a directory management unit that manages directories according to a tree structure, and 11 is a directory storage unit, which expands a directory 20 stored on DASD2. Reference numeral 12 denotes a business directory constituting a tree structure of a directory, which is provided as a directory related to data processing of a specific business, and 13 denotes a storage and retrieval environment managed by each business directory 12, 14 is a resource search environment stored and managed in a tree structure, and 14 is resource information used by each business directory 12. Those that identify resources,
Reference numeral 15 denotes a resource search environment setting processing unit that executes a resource search environment setting process for the directory management unit 10, 16 denotes an application processing unit that issues a resource search request, and 17 denotes a resource search request. The search unit searches for resources in response to a resource search request issued by the application processing unit 16.

この保存検索環境13は、必要に応じて、自らの上位に
位置する業務ディレクトリ12が管理する保存検索環境13
の検索の必要性の有無を表示するよう構成される。
This stored search environment 13 is, if necessary, a stored search environment 13 managed by the business directory 12 located at a higher level than the stored search environment 13.
Is configured to indicate whether or not the search is necessary.

〔作用〕[Action]

本発明では、資源検索環境設定処理部15が、例えばプ
ログラム開発の管理者からの要求に応じて、設定要求の
ある資源検索環境をディレクトリ管理部10に登録処理す
る。これにより、ディレクトリ記憶部11に展開されるこ
とになるその業務の業務ディレクトリ12に、その業務に
係る資源検索環境が保存検索環境13として保存されるこ
とになる。
In the present invention, the resource search environment setting processing unit 15 registers the resource search environment for which the setting request is made in the directory management unit 10 in response to a request from, for example, a program development manager. As a result, the resource search environment relating to the business is stored as the storage search environment 13 in the business directory 12 of the business to be developed in the directory storage unit 11.

応用処理部16は、このようにして登録された保存検索
環境13を使って資源を検索したいときには、検索部17に
対して、データ処理に係る業務の業務ディレクトリ12を
指定して資源の検索依頼を発行する。この検索要求を受
けて、検索部17は、この業務ディレクトリ12の指定があ
ると、その配下の保存検索環境13を応用処理部16が必要
としている資源検索環境として特定して、この特定され
た保存検索環境13に従って、応用処理部16から要求され
る資源がどの資源であるのかをサーチして設定するよう
処理する。
When the application processing unit 16 wants to search for a resource using the stored search environment 13 registered in this way, the application processing unit 16 requests the search unit 17 to specify the business directory 12 of the business related to the data processing and search for the resource. Issue In response to the search request, when the business directory 12 is specified, the search unit 17 specifies the stored search environment 13 under the business directory 12 as a resource search environment required by the application processing unit 16, and the specified According to the saved search environment 13, processing is performed to search and set which resource is requested by the application processing unit 16.

このように、本発明では、データ処理の業務単位で共
通化できる資源検索環境をディレクトリに資源として登
録するよう構成することで、その資源検索環境を公開し
て自由に使用できるようにしたことから、その資源検索
環境をそのまま利用できるプログラム開発の開発者やア
プリケーションプログラムは、いちいち資源検索環境を
自分で作成して設定していく必要がなくなるのである。
As described above, according to the present invention, the resource search environment that can be standardized for each business unit of data processing is configured to be registered as a resource in the directory, so that the resource search environment can be disclosed and used freely. Developers and application programs of program development who can directly use the resource search environment do not need to create and set the resource search environment by themselves.

更に、本発明では、検索部17は、上述のように特定し
た保存検索環境13では資源の検索が実現できないときに
あって、保存検索環境13に上位の保存検索環境13の検索
の必要性の表示があるときには、その上位の保存検索環
境13に従って、応用処理部16から要求される資源がどの
資源であるのかをサーチして設定するよう処理する。
Further, in the present invention, when the resource search cannot be realized in the storage search environment 13 specified as described above, the search unit 17 determines whether the storage search environment 13 needs to search the upper storage search environment 13. When there is a display, processing is performed to search and set which resource is requested by the application processing unit 16 in accordance with the higher-order stored search environment 13.

このように、本発明では、上位下位の関係にある保存
検索環境13に上位への検索継続の指定をできるようにし
たことから、ディレクトリに登録された資源検索環境を
利用するものは、システムに固有な一意の識別子に従っ
て資源名を特定する必要がなくなり、使用する保存検索
環境13で使用されている分かり易い論理名に従って、資
源名の記述を実行できるようになる。
As described above, according to the present invention, since it is possible to specify the continuation of the search in the higher order in the stored search environment 13 having the upper and lower relations, the system using the resource search environment registered in the directory can be used in the system. It is not necessary to specify the resource name according to the unique identifier, and the description of the resource name can be executed according to the easy-to-understand logical name used in the storage / search environment 13 to be used.

〔実施例〕〔Example〕

以下、プログラム開発システムに適用した実施例に従
って本発明を詳細に説明する。
Hereinafter, the present invention will be described in detail according to an embodiment applied to a program development system.

UNIXのようなOSでは、第6図に示すように、ファイル
システムのディレクトリ(管理簿)を木構造で管理する
という構成を採っている。ここで、第6図中の木構造の
末端部分にあたらない箱が個々のディレクトリを表して
おり、末端部分にあたる箱がプログラムやデータが実際
に入っているファイルである。また、木構造の根のとこ
ろに位置するディレクトリはルートのディレクトリと呼
ばれている。
In an OS such as UNIX, as shown in FIG. 6, a directory (management book) of a file system is managed in a tree structure. In FIG. 6, boxes not at the end of the tree structure represent individual directories, and boxes at the end are files in which programs and data are actually stored. The directory located at the root of the tree structure is called a root directory.

本発明では、このような木構造に従うディレクトリの
中に、プログラム開発にあたって必要となるサーチリス
ト(一般ファイル、実行形式ファイル及びコマンド等を
検索する際のパスの優先順位を定めるもの)や資源名の
置き換え情報等によって規定される資源検索環境を、プ
ログラム開発の対象たる定型業務単位に従って組み込ん
で管理していくよう構成することを提案するものであ
る。すなわち、資源検索環境の管理をファイルの管理系
により実現してこれを公開していくことで、同じ定型業
務のプログラムを開発する開発者がその資源検索環境を
共通的に使用できるようにして、個々に資源検索環境を
作成しなくても済むようにすることを提案するものであ
る。
In the present invention, a search list (which determines the priority of a path for searching for a general file, an executable file, a command, and the like) and a resource name required for program development are stored in a directory having such a tree structure. The present invention proposes a configuration in which a resource search environment defined by replacement information and the like is incorporated and managed in accordance with a routine business unit for which a program is to be developed. In other words, by realizing the management of the resource search environment by the file management system and publishing it, developers who develop the same routine business program can use the resource search environment in common, It proposes that it is not necessary to create a resource search environment individually.

ディレクトリの中で管理されることになる資源検索環
境の設定処理は、定型業務のプログラム開発の管理を担
当する業務管理者により実行されることになる。すなわ
ち、具体的なプログラム開発を行う開発者の上にいて定
型業務に係るプログラム開発全体を管理する業務管理者
が資源検索環境の設定を実行していくことで、個々のプ
ログラムの開発者により共通的に必要とされるような資
源検索環境を設定していくようにするのである。
The setting processing of the resource search environment to be managed in the directory is executed by the business manager who is in charge of managing the development of the routine business program. In other words, the task manager who manages the entire program development related to routine tasks on the developer who develops the specific program develops the resource search environment, and is shared by the developers of individual programs. The resource search environment is set as needed.

次に、プログラム開発の業務管理者が行う資源検索環
境の設定手順について説明する。この資源検索環境の設
定は、業務管理者が業務に対応するディレクトリの作成
の終了後、あるいは終了に続いて実行することになる。
Next, a procedure for setting a resource search environment performed by a business manager of program development will be described. The setting of the resource search environment is performed after the business manager has completed the creation of the directory corresponding to the business or after the completion.

プログラム開発の業務管理者は、先ず最初に、システ
ムに対して、資源検索環境を設定しようとしている業務
のディレクトリを通知する。ここで、このディレクトリ
のことをホームポジションと呼ぶ。この業務管理者から
の通知処理を受けると、システムは、これから設定され
ることになる資源検索環境の管理のための資源を獲得す
るよう処理する。具体的には、ホームポジションのディ
レクトリ配下に既に保存された資源検索環境、すなわ
ち、保存検索環境が存在するときには、その保存検索環
境にこれから設定されることになる資源検索環境を取り
込むよう処理し、一方、ホームポジションのディレクト
リ配下に未だ保存検索環境が存在しないときには、記憶
媒体上に新たな資源検索環境の管理のための資源を確保
するよう処理する。
First, the business manager of the program development notifies the system of the directory of the business whose resource search environment is to be set. Here, this directory is called a home position. Upon receiving the notification processing from the business administrator, the system performs processing to acquire resources for managing the resource search environment to be set. Specifically, a resource search environment that has already been saved under the home position directory, that is, when a saved search environment exists, processing is performed to incorporate the resource search environment to be set in the saved search environment from now on, On the other hand, if the saved search environment does not yet exist under the home position directory, processing is performed to secure resources for managing the new resource search environment on the storage medium.

次に、プログラム開発の業務管理者は、その業務のプ
ログラム開発に好ましい資源検索環境を作成して、シス
テムに対してその作成した資源検索環境の設定要求を行
う。このとき、業務管理者は、木構造の上位の定型業務
の保存検索環境により特定される資源を意識して資源検
索環境を設定するようにするのか否かという検索属性の
指定も行う。すなわち、1つの大きな定型業務は、複数
の小さな定型業務から構成されることがある。このよう
な大きな定型業務は、上位の定型業務として上位のディ
レクトリに対応し、小さな定型業務は、下位の定型業務
として下位のディレクトリに対応する訳であるが、下位
の定型業務の保存検索環境では資源を検索できなかった
ときに、上位の定型業務の保存検索環境を用いるのか否
かを指定できるようにするのである。この業務管理者か
らの設定要求処理を受けると、システムは、設定要求さ
れてくるサーチリストや資源名の置き換え情報や検索属
性を、資源検索環境として設定していくよう処理する。
Next, the business manager of the program development creates a resource search environment suitable for the program development of the business, and requests the system to set the created resource search environment. At this time, the business manager also specifies a search attribute indicating whether or not to set the resource search environment in consideration of the resources specified by the stored search environment of the routine work in the upper level of the tree structure. That is, one large routine task may be composed of a plurality of small routine tasks. Such a large fixed work corresponds to a higher directory as a higher fixed work, and a small fixed work corresponds to a lower directory as a lower fixed work. When a resource cannot be searched, it is possible to specify whether or not to use the storage search environment of a higher-level routine task. Upon receiving the setting request processing from the business manager, the system performs processing to set the search list, the resource name replacement information, and the search attribute requested to be set as a resource search environment.

続いて、プログラム開発の業務管理者は、設定した資
源検索環境をホームポジションのディレクトリ配下に保
存するよう要求する。この業務管理者からの保存要求を
受けると、システムは、ホームポジションのディレクト
リ配下に既に保存検索環境が存在するときには、その保
存検索環境に設定された資源検索環境の内容を書き出
す。一方、ホームポジションのディレクトリ配下に保存
検索環境が存在しないときには、新たに確保した資源に
設定された資源検索環境の内容を書き出すとともに、書
き込んだ資源を保存検索環境としてホームポジションの
ディレクトリ配下に登録するよう処理する。
Subsequently, the business manager of the program development requests that the set resource search environment be saved under the home position directory. When receiving the save request from the business manager, the system writes out the contents of the resource search environment set in the save search environment when the save search environment already exists under the home position directory. On the other hand, when the saved search environment does not exist under the home position directory, the contents of the resource search environment set for the newly secured resources are written out, and the written resources are registered as the saved search environment under the home position directory. Process.

第2図に、このようにして保存検索環境を取り込んだ
木構造をとるディレクトリの一例を示す。図中の12、1
3、14は、それぞれ第1図で説明した業務ディレクトリ
(△記号のもの)、保存検索環境(□記号のもの)、資
源情報(○記号のもの)である。この図に示すように、
木構造中の各業務ディレクトリ12は、プログラム開発の
業務管理者より設定要求のあった業務単位の資源検索環
境を保存検索環境13として管理するよう構成することに
なる。
FIG. 2 shows an example of a tree-structured directory that incorporates the saved search environment in this manner. 12, 1 in the figure
Reference numerals 3 and 14 denote a business directory (with a symbol), a storage and retrieval environment (with a symbol), and resource information (with a symbol) described with reference to FIG. As shown in this figure,
Each business directory 12 in the tree structure is configured to manage the resource search environment of the business unit requested to be set by the business manager of the program development as the saved search environment 13.

また、第3図に、上位と下位の関係にあるディレクト
リに取り込まれた保存検索環境13の一例を示す。図中の
「/」は階層関係を表現するものであり、「/X」の業務
ディレクトリ12−1は、「/X/Y」の業務ディレクトリ12
−2に対して上位のディレクトリにあり、この「/X/Y」
の業務ディレクトリ12−2は、「/X/Y/Z」の業務ディレ
クトリ12−3に対して上位のディレクトリにあることを
示している。これから、業務ディレクトリ12−3の配下
の保存検索環境13−3の検索属性に上位への継続検索の
指定があり、業務ディレクトリ12−2の配下の保存検索
環境13−2の検索属性に上位への継続検索の指定がある
場合を想定し、ホームポジションが業務ディレクトリ12
−3に設定される場合を想定するときにあって、保存検
索環境13−3では資源の検索ができないようなときに
は、保存検索環境13−2に従って資源の検索が実行され
ることになり、それでも資源の検索ができないときに
は、保存検索環境13−1に従って資源の検索が実行され
ることになる。
FIG. 3 shows an example of the stored search environment 13 loaded into a directory having a higher-order and a lower-order relationship. In the figure, “/” represents a hierarchical relationship, and the business directory 12-1 of “/ X” is the business directory 12 of “/ X / Y”.
-2 is in the upper directory, this "/ X / Y"
The business directory 12-2 of “/ X / Y / Z” is in a directory higher than the business directory 12-3 of “/ X / Y / Z”. From now on, the search attribute of the stored search environment 13-3 under the business directory 12-3 specifies the continuous search to be higher, and the search attribute of the stored search environment 13-2 under the business directory 12-2 is higher. Assuming that the continuous search is specified, the home position is
When it is assumed that the resource is set in the storage search environment 13-3, the resource search is executed in accordance with the storage search environment 13-2. If the resource cannot be searched, the resource is searched according to the stored search environment 13-1.

第4図に、業務ディレクトリ12の配下に組み込まれる
保存検索環境13の詳細な実施例構成を示す。この図で
は、ルートの業務ディレクトリ12の配下に、「E1」とい
う資源名の保存検索環境13が組み込まれ、ルートのディ
レクトリ12の下位に位置する「D1」という資源名の業務
ディレクトリ12の配下に、「E2」という資源名の保存検
索環境13が組み込まれる例を開示している。また、「D
1」の業務ディレクトリ12は、ディレクトリ本来の資源
管理として、「F1」という資源名の資源情報14であるフ
ァイルをポイントしている。
FIG. 4 shows a detailed embodiment configuration of the storage and retrieval environment 13 incorporated under the business directory 12. In this figure, a storage search environment 13 of a resource name “E1” is incorporated under the root business directory 12, and is located under the business directory 12 of a resource name “D1” located below the root directory 12. , An example in which the stored search environment 13 of the resource name “E2” is incorporated. Also, "D
The business directory 12 of "1" points to a file which is the resource information 14 with the resource name "F1" as the original resource management of the directory.

各業務ディレクトリ12の「資源名」は、資源の名前を
記述する。組み込まれることになる保存検索環境13の名
前は各業務ディレクトリ12毎に固定されている必要があ
る。また、保存検索環境13も他の資源と同等の扱いで管
理されることになることから、保存検索環境13の名前と
しては、業務ディレクトリ12の名前や資源情報14の名前
とならない名前を付ける必要がある。「資源属性」は、
ポイントする「資源名」の資源が業務ディレクトリ12で
あるのか、保存検索環境13であるのか、ファイルである
のか、装置であるのかを識別するための情報である。本
来であれば、ここには、保存検索環境13が入るものでは
ないのであるが、本発明では、保存検索環境13を記憶媒
体上の資源として扱って、その保存検索環境13の業務に
係る業務ディレクトリ12に登録するようにしたことか
ら、ここに入ることになるのである。「資源識別情報」
は、資源が存在する装置を識別する情報と、その装置内
で資源を一意に識別するための情報から構成される。す
なわち、その「資源名」の資源の存在位置をポイントす
る情報である。「検索情報」は、上述したように、現在
の保存検索環境13では資源を検索できなかったときに、
引き続き上位の業務ディレクトリ12の保存検索環境13で
資源の検索を行っていくのかを表示する情報である。
The “resource name” of each business directory 12 describes the name of a resource. The name of the saved search environment 13 to be incorporated needs to be fixed for each business directory 12. In addition, since the stored search environment 13 is managed in the same manner as other resources, the name of the stored search environment 13 must be a name that does not become the name of the business directory 12 or the name of the resource information 14. There is. "Resource attribute"
This is information for identifying whether the resource of the “resource name” to be pointed is the business directory 12, the storage and retrieval environment 13, the file, or the device. Originally, the stored search environment 13 does not enter here. However, in the present invention, the stored search environment 13 is treated as a resource on a storage medium, and the business related to the business of the stored search environment 13 is performed. Because you have registered in the directory 12, you will enter here. "Resource identification information"
Is composed of information for identifying the device in which the resource exists, and information for uniquely identifying the resource in the device. That is, the information points to the location of the resource of the “resource name”. “Search information” is, as described above, when a resource cannot be searched in the current stored search environment 13,
This is information indicating whether to continue searching for resources in the stored search environment 13 of the upper business directory 12.

保存検索環境13を構成する資源名の「置き換え情報」
には、資源名の「A」を「B」に置き換えるといった内
容が記述される。この置き換えを行うことで、プログラ
ム開発を行う開発者は資源の存在位置情報を固有的に記
述する「A」ではなくて、分かり易い名前の「B」とい
う資源名で資源を特定できることになる。また、「サー
チリスト」には、資源のサーチの順番が記述される。
"Replacement information" of the resource names that make up the saved search environment 13
Describes the content such as replacing "A" in the resource name with "B". By performing this replacement, the developer who develops the program can specify the resource by the resource name “B” which is easy to understand, instead of “A” that uniquely describes the location information of the resource. In the “search list”, the order of resource search is described.

次に、プログラム開発の業務管理者が登録したこのよ
うな保存検索環境13の使われ方について説明する。
Next, how to use such a stored search environment 13 registered by a program development business manager will be described.

具体的なプログラム開発を実行する開発者は、プログ
ラム開発の対象である定型業務の業務ディレクトリ12を
システムに通知するよう処理する。この通知を受ける
と、システムは、その指定のあった業務ディレクトリ12
の配下の保存検索環境13を資源検索環境として特定して
設定するよう処理する。すなわち、個々の開発者は、い
ちいち自分で資源検索環境を設定しなくても、プログラ
ムの業務管理者が登録した資源検索環境を用いることが
できるようになるのである。このようにして、保存検索
環境13を資源検索環境として設定すると、システムは、
この資源検索環境に従ってプログラム開発の開発者が要
求してくる資源の特定処理を実行する。
A developer who executes a specific program development performs processing so as to notify the system of the business directory 12 of the routine business to be developed. Upon receiving this notification, the system sets the specified business directory 12
Is processed so as to specify and set the saved search environment 13 under the subdirectory as the resource search environment. That is, each developer can use the resource search environment registered by the business administrator of the program without having to set the resource search environment by himself. When the saved search environment 13 is set as the resource search environment in this way, the system
According to this resource search environment, a resource specifying process requested by the developer of the program development is executed.

例えば、この保存検索環境13がX,Y,Zという3つのフ
ァイルのサーチの順番をサーチリストに従って、 「/X/Y/Z」 「/X/Y」 と規定するときにあって、ファイルの「A」の読み出し
要求がある場合には、先ず最初に、 「/X/Y/Z/A」 に従って、「X→Y→Z」の次の順番に「A」があるの
かを検索し、この検索で特定できればファイルの「A」
が読み出せるので処理を終了する。一方、この検索で特
定できないときには、次に、 「/X/Y/A」 に従って、「X→Y」の次の順番に「A」があるのかを
検索することで、ファイルの「A」の読み出しを実行し
ていくことになる。
For example, when the stored search environment 13 defines the search order of three files X, Y, and Z as “/ X / Y / Z” and “/ X / Y” according to the search list, When there is a read request for “A”, first, according to “/ X / Y / Z / A”, a search is made as to whether “A” is present next to “X → Y → Z”, If you can identify by this search "A" of the file
Can be read, and the process ends. On the other hand, if the file cannot be identified by this search, next, according to “/ X / Y / A”, the file is searched for “A” in the order next to “X → Y”, and the “A” of the file is searched. Reading will be performed.

そして、この保存検索環境13ではファイルの「A」を
特定できなかったときにあって、検索属性が上位の業務
ディレクトリ12の保存検索環境13での資源検索を指定し
ているときには、その保存検索環境13に従って資源の検
索を実行することになる。例えば、その保存検索環境13
が資源名に関して「A→B」という置き換えを規定し、
サーチの順番として「/X」と規定しているときにあって
は、ファイルの「A」を「B」に置き換えてから、 「/X/B」 に従って、「X」の次の順番に「B」があるのかを検索
することで、ファイルの「B」の読み出しを実行してい
くことになる。
If the file “A” cannot be specified in the stored search environment 13 and the search attribute specifies the resource search in the stored search environment 13 of the higher-level business directory 12, the stored search The resource search is executed according to the environment 13. For example, the saved search environment 13
Stipulates the substitution “A → B” for resource names,
When the search order is specified as “/ X”, replace “A” in the file with “B”, and then follow “/ X / B” in the order following “X”. By searching for “B”, the reading of “B” of the file is executed.

第5図に、業務ディレクトリ12の階層が2段である場
合の資源名の名前解決の手順を図式化して示す。第5図
(a)は説明の前提となる業務ディレクトリ12の構成を
示すもので、図中の「C1」は下位の業務ディレクトリ12
の保存検索環境13、「C2」は上位の業務ディレクトリ12
の保存検索環境13である。第5図(b)が、資源名の名
前解決の手順を図示したものである。第5図(b)中の
「ケース1.1」と「ケース1.2」は、「C1」の保存検索環
境13の検索属性で上位への検索の指定がない場合の処理
であり、「ケース1.1」ないし「ケース2.4」は、上位へ
の検索の指定がない場合の処理である。また、図中の
「×」は名前の置き換えの指定がない場合、「○」は名
前の置き換えの指定がある場合である。
FIG. 5 schematically shows a procedure for resolving resource names when the business directory 12 has two levels. FIG. 5 (a) shows the configuration of the business directory 12 on which the description is based, and “C1” in the figure indicates the lower business directory 12.
Save search environment 13, "C2" is the upper business directory 12
Is the saved search environment 13. FIG. 5 (b) illustrates a procedure for resolving the resource name. "Case 1.1" and "Case 1.2" in FIG. 5 (b) are processing when the search attribute of the stored search environment 13 of "C1" does not specify a higher search, and "Case 1.1" or "Case 1.1""Case2.4" is a process in a case where there is no designation of a higher search. In the figure, "x" indicates that there is no designation of name replacement, and "o" indicates that there is designation of name replacement.

〔発明の効果〕〔The invention's effect〕

このように、本発明では、データ処理の業務単位で共
通化できる資源検索環境をディレクトリに資源として登
録するよう構成することで、その資源検索環境を公開し
て自由に使用できるようにしたことから、その資源検索
環境をそのまま利用できるプログラム開発の開発者やア
プリケーションプログラムは、いちいち資源検索環境を
自分で作成して設定していく必要がなくなる。
As described above, according to the present invention, the resource search environment that can be standardized for each business unit of data processing is configured to be registered as a resource in the directory, so that the resource search environment can be disclosed and used freely. Developers and application programs who can directly use the resource search environment need not create and set up the resource search environment themselves.

そして、上位下位の関係にある保存された保存検索環
境に上位への検索継続の指定をできるようにしたことか
ら、ディレクトリに登録された資源検索環境を利用する
ものは、システムに固有な一意の識別子に従って資源名
を特定する必要がなくなり、分かり易い論理名に従っ
て、資源名の記述を実行できるようになる。
In addition, since it is possible to specify the continuation of the search in the higher order in the stored search environment stored in the upper and lower relations, those using the resource search environment registered in the directory are unique to the system. It is not necessary to specify the resource name according to the identifier, and the description of the resource name can be executed according to the easy-to-understand logical name.

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

第1図は本発明の原理構成図、 第2図及び第3図は保存検索環境を管理する本発明のデ
ィレクトリ構造の説明図、 第4図は保存検索環境を管理する本発明のディレクトリ
構造の詳細な実施例構成図、 第5図は資源名の名前解決手順の説明図、 第6図はUNIXのディレクトリ構造の説明図である。 図中、1はデータ処理装置、2はDASD、3は装置、10は
ディレクトリ管理部、11はディレクトリ記憶部、12は業
務ディレクトリ、13は保存検索環境、14は資源情報、15
は資源検索環境設定処理部、16は応用処理部である。
FIG. 1 is a diagram showing the principle of the present invention, FIGS. 2 and 3 are explanatory views of a directory structure of the present invention for managing a stored search environment, and FIG. 4 is a diagram of a directory structure of the present invention for managing a stored search environment. FIG. 5 is an explanatory diagram of a name resolution procedure of a resource name, and FIG. 6 is an explanatory diagram of a UNIX directory structure. In the figure, 1 is a data processing device, 2 is a DASD, 3 is a device, 10 is a directory management unit, 11 is a directory storage unit, 12 is a business directory, 13 is a storage and retrieval environment, 14 is resource information, 15
Denotes a resource search environment setting processing unit, and 16 denotes an application processing unit.

フロントページの続き (56)参考文献 特開 平1−41040(JP,A) 特開 平1−158548(JP,A) 特開 平2−66646(JP,A) 特開 昭63−178329(JP,A) bit 1982年6月号 (共立出版株 式会社)、P.64−69 インターフェース 1986年2月号 (CQ出版社)、P.312−319 インターフェース 1986年3月号 (CQ出版社)、P.318−329 日本ディジタルイクイップメント株式 会社教育部・編、「実践UNIX入 門」、共立出版株式会社 (1985年4 月)、P.87−91 (58)調査した分野(Int.Cl.6,DB名) G06F 12/00,15/00,12/14,17/30Continuation of the front page (56) References JP-A-1-41040 (JP, A) JP-A-1-158548 (JP, A) JP-A-2-66646 (JP, A) JP-A-63-178329 (JP) , A) bit June 1982 issue (Kyoritsu Shuppan Co., Ltd.), p. 64-69 Interface February 1986 Issue (CQ Publishing Co.), p. 312-319 Interface March 1986 issue (CQ Publishing Co.), p. 318-329 Nippon Digital Equipment Co., Ltd. Education Department, Ed., “Introduction to Practice UNIX”, Kyoritsu Shuppan Co., Ltd. (April 1985), p. 87-91 (58) Field surveyed (Int.Cl. 6 , DB name) G06F 12/00, 15/00, 12/14, 17/30

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】資源を検索してデータ処理を実行するデー
タ処理装置において、 木構造に従って業務のディレクトリを管理するととも
に、業務のディレクトリを単位として、該木構造の中
に、該業務のデータ処理の実行にあたって必要となり資
源検索環境を管理するととにもに、該資源検索環境に対
応付けて、該木構造の上位に位置するディレクトリの指
す資源検索環境の使用の要否情報を管理するディレクト
リ管理部と、 業務のディレクトリを指定して、資源検索環境の設定要
求が発行されるときに、上記ディレクトリ管理部に対し
て、該資源検索環境を設定するとともに、上記使用要否
情報を設定する設定部と、 業務のディレクトリを指定して、該業務のデータ処理に
必要となる資源の検索要求が発行されるときに、上記使
用要否情報を考慮しつつ、上記ディレクトリ管理部の管
理データに従って、資源検索環境を特定して、それを使
って、該資源を検索する検索部とを備えることを、 特徴とするデータ処理装置。
1. A data processing apparatus for searching resources and executing data processing, wherein a business directory is managed in accordance with a tree structure, and the business data processing is stored in the tree structure in units of business directories. , Which manages the resource search environment and manages information on the necessity of use of the resource search environment pointed to by the directory located at the upper level of the tree structure in association with the resource search environment. And a directory of a business, and when a request for setting a resource search environment is issued, a setting for setting the resource search environment and setting the use necessity information for the directory management unit. And a business directory, and when a search request for resources required for data processing of the business is issued, the use necessity information is Consideration and while, according to the management data of the directory management unit, to identify a resource search environment, with it, further comprising a search unit to search for said resource, the data processing apparatus according to claim.
JP1065395A 1989-03-17 1989-03-17 Data processing device Expired - Fee Related JP2763323B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1065395A JP2763323B2 (en) 1989-03-17 1989-03-17 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1065395A JP2763323B2 (en) 1989-03-17 1989-03-17 Data processing device

Publications (2)

Publication Number Publication Date
JPH02244348A JPH02244348A (en) 1990-09-28
JP2763323B2 true JP2763323B2 (en) 1998-06-11

Family

ID=13285780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1065395A Expired - Fee Related JP2763323B2 (en) 1989-03-17 1989-03-17 Data processing device

Country Status (1)

Country Link
JP (1) JP2763323B2 (en)

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
bit 1982年6月号 (共立出版株式会社)、P.64−69
インターフェース 1986年2月号 (CQ出版社)、P.312−319
インターフェース 1986年3月号 (CQ出版社)、P.318−329
日本ディジタルイクイップメント株式会社教育部・編、「実践UNIX入門」、共立出版株式会社 (1985年4月)、P.87−91

Also Published As

Publication number Publication date
JPH02244348A (en) 1990-09-28

Similar Documents

Publication Publication Date Title
US10540173B2 (en) Version control of applications
US6526441B2 (en) Input/output device information management system for multi-computer system
US6055363A (en) Managing multiple versions of multiple subsystems in a distributed computing environment
US5317728A (en) Storage management of a first file system using a second file system containing surrogate files and catalog management information
EP0272561B1 (en) Apparatus for distributing data processing across a plurality of loci of control
JP4592814B2 (en) Information processing device
JP2783109B2 (en) Database system evacuation device, database system restoration device, and database system migration device
EP0474395A2 (en) Data storage hierarchy with shared storage level
US8918783B2 (en) Managing virtual computers simultaneously with static and dynamic dependencies
JPH07105064A (en) File name detection system
US20020069280A1 (en) Method and system for scalable, high performance hierarchical storage management
KR20030086311A (en) Collecting and restoring user environment data using removable storage
US5956515A (en) Method for managing multiple versions of multiple subsystems in a distributed computing environment
JP2005512171A (en) Efficient management of large files
US11016855B2 (en) Fileset storage and management
US6192376B1 (en) Method and apparatus for shadowing a hierarchical file system index structure to enable error recovery
US11948005B2 (en) Managed integration of constituent services of multi-service applications
US11941413B2 (en) Managed control plane service
EP4172773A1 (en) Managed control plane service
EP1215590B1 (en) Method and system for scalable, high performance hierarchical storage management
CN112000971A (en) File permission recording method, system and related device
JP2763323B2 (en) Data processing device
JP2006106986A (en) Access management method and information processor
JP3769775B2 (en) Distributed link information maintenance method
Singh Hadoop 2. x Administration Cookbook

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees