JPH08235048A - Network file processing method and system - Google Patents

Network file processing method and system

Info

Publication number
JPH08235048A
JPH08235048A JP7033631A JP3363195A JPH08235048A JP H08235048 A JPH08235048 A JP H08235048A JP 7033631 A JP7033631 A JP 7033631A JP 3363195 A JP3363195 A JP 3363195A JP H08235048 A JPH08235048 A JP H08235048A
Authority
JP
Japan
Prior art keywords
file
logical
name
command
catalog
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
JP7033631A
Other languages
Japanese (ja)
Inventor
Yuji Kurita
裕二 栗田
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 Solution Innovators Ltd
Original Assignee
NEC Software Chubu 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 NEC Software Chubu Ltd filed Critical NEC Software Chubu Ltd
Priority to JP7033631A priority Critical patent/JPH08235048A/en
Publication of JPH08235048A publication Critical patent/JPH08235048A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To process the whole of plural network files by means of an applica tion program like in a case of a single network file. CONSTITUTION: Receiving a file access instruction, a network file processing part 2 retrieves a catalog file 4 based on the file name that is designated by the received instruction. If the designated file name is real one, the part 2 has an access to this file by an access instruction via a file server 12, etc., including the file. If the designated file name is the logical one, the part 2 starts a logical file processing part 3. The part 3 retrieves an extension catalog file 5 based on the file name designated by an instruction. Then the part 3 has accesses by an access instruction to plural existing files constructing a file of the relevant logical name via the corresponding file server 12, etc.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はネットワーク・ファイル
処理方法および同処理方式に関し、特にネットワークシ
ステム上に存在する複数のネットワークファイルを論理
的に一つのファイルとして処理を行う論理ファイルの機
能を持つネットワーク・ファイル処理方法および同処理
方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a network file processing method and a network file processing method, and more particularly to a network having a logical file function for logically processing a plurality of network files existing on a network system. A file processing method and the same processing method.

【0002】[0002]

【従来の技術】図6は従来のネットワーク・ファイル処
理方式の一例の構成図であり、ネットワークシステム上
に存在するA支店の売上ファイル6と、ネットワークシ
ステム上に存在するB支店の売上ファイル7と、ネット
ワークシステム上に存在するY支店のファイル8と、ネ
ットワークシステム上に存在するZ支店の売上ファイル
9と、応用プログラム11とA支店のファイルサーバ1
2と、B支店のファイルサーバ13と、Y支店のファイ
ルサーバ14と、Z支店のファイルサーバ15と、従来
のネットワーク・ファイル処理部16とカタログファイ
ル17とを示している。
2. Description of the Related Art FIG. 6 is a block diagram showing an example of a conventional network file processing method. A sales file 6 for branch A on the network system and a sales file 7 for branch B on the network system. , File 8 of Y branch existing on the network system, sales file 9 of Z branch existing on the network system, application program 11 and file server 1 of A branch.
2, the file server 13 of the B branch, the file server 14 of the Y branch, the file server 15 of the Z branch, the conventional network file processing unit 16 and the catalog file 17 are shown.

【0003】図7はカタログファイル17の構成例を示
す。このファイルは、ネットワークシステム内に存在す
る全ファイル名と、ネットワークシステムに接続されて
いるどのファイルサーバ上に存在するのかを示すファイ
ルサーバ番号も登録されている。
FIG. 7 shows an example of the structure of the catalog file 17. In this file, all file names existing in the network system and the file server number indicating which file server connected to the network system exists are also registered.

【0004】図8はネットワーク・ファイル処理部16
の動作を示すフローチャートである。
FIG. 8 shows a network file processing unit 16
3 is a flowchart showing the operation of FIG.

【0005】次に、この様に構成されたネットワークシ
ステムにおいて応用プログラム11がネットワークシス
テム上に存在するA支店の売上ファイル6を参照する場
合について、その動作を述べる。
Next, the operation will be described in the case where the application program 11 refers to the sales file 6 of the A branch existing on the network system in the network system configured as described above.

【0006】応用プログラム11は処理に先立ちA支店
の売上ファイル6をオープンしなければならない。ネッ
トワークファイル名”A支店売上ファイル”を指定して
オープン命令を発行する。発行されたオープン命令を受
けとったOSの1要素であるネットワーク・ファイル処
理部16は、図5に示すカタログファイル17を参照し
(図8のステップ81)、A支店売上ファイル6が存在
するファイルサーバ番号を知り、A支店売上ファイル6
をオープンして(ステップ82)命令の実行結果を応用
プログラム11へ通知する。
The application program 11 must open the sales file 6 of the A branch before processing. The open command is issued by specifying the network file name "A branch sales file". The network file processing unit 16, which is one element of the OS that has received the issued open command, refers to the catalog file 17 shown in FIG. 5 (step 81 in FIG. 8), and the file server in which the A branch sales file 6 exists. Know the number and sales file for branch A 6
Is opened (step 82) and the application execution result is notified to the application program 11.

【0007】応用プログラム11はオープン命令の完了
後、A支店売上ファイルの読み込み処理を開始する。応
用プログラム11が発行した読み込み命令を受け取った
ネットワーク・ファイル処理部16は、オープンされて
いるA支店売上ファイルからレコードを読み出し(ステ
ップ83)、その実行結果と共に読み出したレコードを
通知する。
After the completion of the open command, the application program 11 starts the reading processing of the sales file for branch A. Upon receiving the read command issued by the application program 11, the network file processing unit 16 reads a record from the opened A branch sales file (step 83) and notifies the read record together with the execution result.

【0008】応用プログラム11はA支店売上ファイル
6に対する読み出し命令がファイル終了エラーとなるま
で繰り返し実行することにより、ファイル内の全てのレ
コードを読み出すことができる。
The application program 11 can read all the records in the file by repeatedly executing the read command for the A branch sales file 6 until a file end error occurs.

【0009】また、全支店の売上情報を得る場合は、各
支店毎にネットワークファイルが分散している為に、応
用プログラム11はA支店売上ファイル6を処理した
後、B支店売上ファイル7を処理し、以下同様にZ支店
売上ファイル9まで処理を繰り返して、全支店の売上情
報を得ている。
Further, when the sales information of all the branches is obtained, the application program 11 processes the A branch sales file 6 and then the B branch sales file 7 because the network file is distributed for each branch. Then, similarly, the processing is repeated up to the Z branch sales file 9 to obtain the sales information of all the branches.

【0010】[0010]

【発明が解決しようとする課題】上述した従来のネット
ワーク・ファイル処理方式では、ネットワークに分散し
た複数のネットワークファイル全てに対して処理を行う
場合には、応用プログラムごとにネットワークに分散し
たネットワークファイル1つ1つに対して処理を行わな
ければならず、プログラムの設計工数が増加するととも
に処理効率が悪いという欠点があった。
In the above-mentioned conventional network file processing method, when processing is performed on all of a plurality of network files distributed on the network, the network file 1 distributed on the network for each application program is used. Processing has to be performed for each one, and there is a drawback that the design man-hour of the program increases and the processing efficiency is poor.

【0011】また、さらに、分散ネットワークファイル
が増加するたびにその応用プログラムを変更しなければ
ならないという問題点があった。
Further, there is a problem that the application program must be changed every time the number of distributed network files increases.

【0012】[0012]

【課題を解決するための手段】第1の発明は、ネットワ
ークシステム内に実在する全ファイルの実ファイル名お
よび該ファイルの存在するファイルサーバのファイルサ
ーバ番号と、前記実在する複数のファイルを論理的に合
併した論理ファイルの論理ファイル名が登録された第1
のカタログファイルと、前記論理ファイル名で示される
前記論理ファイルを構成する前記複数の実在するファイ
ルの前記実ファイル名およびこの実在するファイルの存
在するファイルサーバのファイルサーバ番号とを対応付
けて格納する第2のカタログファイルとを予め用意し、
前記ファイルへのアクセス命令を受けると該命令で指定
されたファイル名により前記第1のカタログファイルを
検索することにより該命令で指定されたファイル名が前
記実ファイル名の場合は該実ファイル名で示されるファ
イルに対して該ファイルの存在する前記ファイフサーバ
を介して前記アクセス命令によるアクセス処理を行い、
該命令で指定されたファイル名が前記論理ファイル名の
場合は該命令で指定されたファイル名により前記第2の
カタログファイルを検索することにより該論理ファイル
名で示されるファイルを構成する前記複数の実在するフ
ァイルに対して該ファイルの存在する前記ファイフサー
バを介して前記アクセス命令によるアクセス処理を行う
ことを特徴とする。
According to a first aspect of the present invention, the real file names of all the files that actually exist in the network system, the file server number of the file server in which the files exist, and the plurality of existing files are logically defined. First, the logical file name of the logical file merged with was registered
Of the catalog file, the real file names of the plurality of existing files forming the logical file indicated by the logical file name, and the file server number of the file server in which the existing file exists are stored in association with each other. Prepare the second catalog file in advance,
When the file access command to the file is received, the first catalog file is searched by the file name specified by the command, and if the file name specified by the command is the actual file name, the real file name is used. Access processing by the access command is performed on the indicated file via the file server in which the file exists,
When the file name specified by the command is the logical file name, the plurality of files forming the file indicated by the logical file name are searched by searching the second catalog file by the file name specified by the command. The present invention is characterized in that an access process according to the access command is performed on an existing file through the file server in which the file exists.

【0013】また、第2の発明は、ネットワークシステ
ム内に実在する全ファイルの実ファイル名および該ファ
イルの存在するファイルサーバのファイルサーバ番号
と、前記実在する複数のファイルを論理的に合併した論
理ファイルの論理ファイル名が登録された第1のカタロ
グファイルと、前記論理ファイル名で示される前記論理
ファイルを構成する前記複数の実在するファイルの前記
実ファイル名およびこの実在するファイルの存在するフ
ァイルサーバのファイルサーバ番号とを対応付けて格納
する第2のカタログファイルとを予め備え、前記ファイ
ルへのアクセス命令を受けると該命令で指定されたファ
イル名により前記第1のカタログファイルを検索するこ
とにより該命令で指定されたファイル名が前記実ファイ
ル名の場合は該実ファイル名で示されるファイルに対し
て該ファイルの存在する前記ファイフサーバを介して前
記アクセス命令によるアクセス処理を行い該命令で指定
されたファイル名が前記論理ファイル名の場合は論理フ
ァイルアクセス指示を出力するネットワーク・ファイル
処理部と、前記論理ファイルアクセス指示を受けて前記
命令で指定されたファイル名により前記第2のカタログ
ファイルを検索することにより該論理ファイル名で示さ
れるファイルを構成する前記複数の実在するファイルに
対して該ファイルの存在する前記ファイフサーバを介し
て前記アクセス命令によるアクセス処理を行う論理ファ
イル処理部とを備えたことを特徴とする。
The second aspect of the present invention is that the actual file names of all the files that actually exist in the network system, the file server number of the file server in which the files exist, and a logic that logically merges the plurality of existing files. A first catalog file in which a logical file name of a file is registered, the real file names of the plurality of existing files that form the logical file indicated by the logical file name, and the file server in which the existing files exist A second catalog file that stores the file server number of the first catalog file in association with each other, and when an access command to the file is received, the first catalog file is searched by the file name designated by the command. When the file name specified by the command is the actual file name, the actual file name is The file indicated by the file name is accessed by the access command through the file server in which the file exists, and a logical file access instruction is output if the file name specified by the command is the logical file name. And a plurality of network file processing units configured to form a file indicated by the logical file name by searching the second catalog file with the file name designated by the command in response to the logical file access instruction. A logical file processing unit that performs access processing according to the access command via the file server in which the file exists is provided.

【0014】[0014]

【実施例】次に、本発明について図面を参照して説明す
る。
Next, the present invention will be described with reference to the drawings.

【0015】図1は本発明の一実施例のネットワーク・
ファイル処理方式の構成図であり、応用プログラム1
と、OSの1要素であるネットワーク・ファイル処理部
2と、ネットワーク・ファイル処理部2の1機能である
論理ファイル処理部3と、カタログファイル4と、拡張
カタログファイル5と、ネットワークシステム上に存在
するA支店の売上ファイル6と、ネットワークシステム
上に存在するB支店の売上ファイル7と、ネットワーク
システム上に存在するY支店の売上ファイル8と、ネッ
トワークシステム上に存在するZ支店の売上ファイル9
と、A支店からZ支店までの売上ファイルを論理的に合
併して作成される論理ファイル10と、A支店のファイ
ルサーバ12と、B支店のファイルサーバ13と、Y支
店のファイルサーバ14と、Z支店のファイルサーバ1
5を示している。
FIG. 1 shows a network according to an embodiment of the present invention.
It is a block diagram of a file processing system, application program 1
Exists on the network system, a network file processing unit 2 which is one element of the OS, a logical file processing unit 3 which is one function of the network file processing unit 2, a catalog file 4, and an extended catalog file 5. Sales file 6 for branch A, sales file 7 for branch B on the network system, sales file 8 for branch Y on the network system, and sales file 9 for branch Z on the network system.
, A logical file 10 created by logically merging sales files from A branch to Z branch, a file server 12 of A branch, a file server 13 of B branch, a file server 14 of Y branch, File server 1 of Z branch
5 is shown.

【0016】図2はカタログ・ファイル4の構成例を示
す。このファイルは、ネットワークシステム内に存在す
る全ネットワークファイル名と、複数のネットワークフ
ァイルを論理的に合併した論理ファイルのファイル名が
すべて登録されている。そして、各ファイル名には、実
在するネットワークファイルであるのか、仮想的に作成
された論理ファイルであるのかの論理ファイルIDがあ
り、OFFは実ファイルであることを示し、ONは論理
ファイルであることを示している。また、実ファイルの
場合には、ネットワークシステムに接続されているどの
ファイルサーバに存在するのかを示すファイルサーバ番
号も登録されている。
FIG. 2 shows an example of the structure of the catalog file 4. In this file, all network file names existing in the network system and logical file names obtained by logically merging a plurality of network files are all registered. Each file name has a logical file ID indicating whether it is an existing network file or a virtually created logical file, OFF indicates a real file, and ON indicates a logical file. It is shown that. Further, in the case of a real file, a file server number indicating which file server connected to the network system exists is also registered.

【0017】図3は拡張カタログ・ファイル5の構成例
を示す。このファイルは、カタログ・ファイルに登録さ
れている論理ファイル名を管理するファイルである、そ
の論理ファイルを構成する複数の実在するネットワーク
ファイル名、および、どのファイルサーバに存在するの
かを示すファイルサーバ番号とを対応付けて登録してい
る。
FIG. 3 shows an example of the structure of the extended catalog file 5. This file is a file that manages the logical file names registered in the catalog file. The multiple existing network file names that make up the logical file and the file server number that indicates which file server exists. And are associated and registered.

【0018】図4はネットワーク・ファイル処理部2の
動作を示すフローチャートであり、図5は論理ファイル
処理部3の動作を示すフローチャートである。
FIG. 4 is a flow chart showing the operation of the network file processing unit 2, and FIG. 5 is a flow chart showing the operation of the logical file processing unit 3.

【0019】次に、この様に構成されたシステムにおい
て、分散した1つのネットワークファイルを参照する場
合と、分散した複数のネットワークファイルを論理ファ
イルとして参照する場合に分けて、本実施例の動作を述
べる。
Next, in the system configured as described above, the operation of this embodiment is divided into a case where one distributed network file is referred to and a case where a plurality of distributed network files are referred to as a logical file. Describe.

【0020】ネットワークシステムに実在するA支社売
上ファイル6を参照する場合、応用プログラム1は処理
に先立ちA支社売上ファイル6をオープンする為、実フ
ァイルである”A支社売上ファイル”でオープン命令を
発行する。オープン命令を受け取ったOSの1要素であ
るネットワーク・ファイル処理部2は、図2に示すカタ
ログ・ファイル4を参照し(図4のステップ61)、”
A支社売上ファイル”の論理ファイルIDがOFFであ
ることより(ステップ62)、”A支社売上ファイル”
がネットワークシステム内に実在し、また存在するファ
イルサーバを知り、A支社売上ファイル6をオープンし
て(ステップ63)命令の実行結果を応用プログラム1
へ通知する。オープン後の応用プログラム1からA支社
売上ファイル6に対する処理命令は、すべてネットワー
ク・ファイル処理部2により処理される。
When referring to the A branch sales file 6 that actually exists in the network system, the application program 1 opens the A branch sales file 6 before processing, so an open command is issued with the actual file "A branch sales file". To do. The network file processing unit 2, which is one element of the OS that has received the open command, refers to the catalog file 4 shown in FIG. 2 (step 61 in FIG. 4),
Since the logical file ID of "A branch sales file" is OFF (step 62), "A branch sales file"
Knows the file server that actually exists in the network system, and opens the A branch sales file 6 (step 63) and displays the command execution result as the application program 1.
Notify to All the processing instructions for the A branch sales file 6 from the opened application program 1 are processed by the network file processing unit 2.

【0021】一方、全支店の売上データを各支店毎に分
散して格納している場合であっても本発明によると、応
用プログラム1は、ネットワークシステム内に存在する
A支店売上ファイル6のような単一のネットワークファ
イルを参照する場合と同じ記述で、A支店売上ファイル
6からZ支店売上ファイル9までの26個のネットワー
クファイルにすることが可能である。すなわち、応用プ
ログラム1から、A支店売上ファイル6からZ支店売上
ファイル9までの26支店分の26個のファイルを合併
した論理的なファイルである全支店売上ファイル10に
対してオープン命令が発行されると、ネットワーク・フ
ァイル処理部2はカタログ・ファイル4を参照する(ス
テップ61)。
On the other hand, even if the sales data of all the branches are distributed and stored for each branch, according to the present invention, the application program 1 is similar to the A branch sales file 6 existing in the network system. It is possible to make 26 network files from the A branch sales file 6 to the Z branch sales file 9 with the same description as when referring to a single network file. That is, the application program 1 issues an open command to the all-branch sales file 10 which is a logical file obtained by merging 26 files for 26 branches from the A-branch sales file 6 to the Z-branch sales file 9. Then, the network file processing unit 2 refers to the catalog file 4 (step 61).

【0022】カタログ・ファイル4には、図2に示すよ
うに、あらかじめ論理ファイル名”全支店売上ファイ
ル”と論理ファイルIDが設定されている。
In the catalog file 4, as shown in FIG. 2, a logical file name "all branch sales file" and a logical file ID are set in advance.

【0023】ネットワーク・ファイル処理部2では、論
理ファイルIDがONと設定されているので、そのオー
プン命令をそのままネットワーク・ファイル処理部2内
の論理ファイル処理部3に引き渡す(ステップ64)。
In the network file processing unit 2, since the logical file ID is set to ON, the open command is delivered as it is to the logical file processing unit 3 in the network file processing unit 2 (step 64).

【0024】論理ファイル処理部3は、図3に示す拡張
カタログ・ファイル5を参照して(図5のステップ7
1)、”全支店売上ファイル”がファイルサーバ番号0
00に存在するA支店売上ファイル6、ファイルサーバ
番号001に存在するB支店売上ファイル7、・・・・
ファイルサーバ番号024に存在するY支店売上ファイ
ル8、および、ファイルサーバ番号025に存在するZ
支店売上ファイル9の26個のネットワークファイルか
ら構成されていることを知り、各26個のネットワーク
ファイルに対してオープン命令を実行し(ステップ7
2)、その実行結果を応用プログラム1へ通知する。
The logical file processing unit 3 refers to the extended catalog file 5 shown in FIG. 3 (step 7 in FIG. 5).
1), "all branch sales file" is file server number 0
A branch sales file 6 existing in 00, B branch sales file 7 existing in the file server number 001, ...
Y branch sales file 8 existing in the file server number 024, and Z existing in the file server number 025
Knowing that the branch sales file 9 consists of 26 network files, an open command is executed for each of the 26 network files (step 7).
2) Notify the application program 1 of the execution result.

【0025】その後、応用プログラム1は、全支店売上
ファイルという単一のファイルに対して処理を行えばよ
い。応用プログラム1から発行されたレコードの読み出
し命令は、すべてネットワーク・ファイル処理部2内の
論理ファイル処理部3により実行され、ネットワークシ
ステムに実在する複数の支店別の売上ファイルをあたか
も1つのファイルかの様に処理を行う。その為、論理フ
ァイル処理部3は以下の様な処理を行う。
After that, the application program 1 may perform processing on a single file called the sales file for all branches. All the read commands for the records issued from the application program 1 are executed by the logical file processing unit 3 in the network file processing unit 2, and whether the sales file for each of a plurality of branch offices actually existing in the network system is one file. Process. Therefore, the logical file processing unit 3 performs the following processing.

【0026】応用プログラム1から発行された最初のレ
コードの読み出し命令は、拡張カタログ・ファイル5に
登録されている最初の実ファイルであるA支店売上ファ
イル6に対して実行を行う(ステップ73)。その後、
応用プログラム1から発行されるレコードの読み出し命
令は、すべてA支店売上ファイル6に対して実行する。
しかし、A支店売上ファイル6内のレコードをすべて読
み出してしまい、次に読み出すべきレコードがなくなっ
た場合、論理ファイル処理機能は拡張カタログ・ファイ
ル5の次に登録されている実ファイルであるB支店売上
ファイル7に対して実行を行う(ステップ74)。その
後の応用プログラム1から発行されるレコードの読み出
し命令は、すべてB支店売上ファイル7に対して実行を
行う。
The read instruction of the first record issued from the application program 1 is executed for the A branch sales file 6 which is the first actual file registered in the extended catalog file 5 (step 73). afterwards,
All record read commands issued from the application program 1 are executed for the A branch sales file 6.
However, if all the records in the A branch sales file 6 are read and there are no more records to be read next, the logical file processing function is the actual file registered next to the extended catalog file 5, and the B branch sales file. The file 7 is executed (step 74). All subsequent read commands for records issued from the application program 1 are executed on the B branch sales file 7.

【0027】以下同様に、レコードの読み出し中のネッ
トワークファイルに読み出すべきレコードが存在するう
ちはそのファイルに対して命令を実行し、読み出すべき
レコードがなくなった場合に、拡張カタログ・ファイル
5に登録されている次の実ファイルに対してレコードの
読み出し処理を行う様にする。ただし、拡張カタログ・
ファイルに登録されている最後の実ファイル(この実施
例の場合、Z支店売上ファイル9)において読み出すべ
きレコードがなくなったという実行結果を通知する。
Similarly, while there are records to be read in the network file from which the records are being read, an instruction is executed for that file, and when there are no more records to be read, they are registered in the extended catalog file 5. Read the record from the next actual file. However, the extended catalog
The execution result indicating that there are no more records to be read in the last real file registered in the file (Z branch sales file 9 in this embodiment) is notified.

【0028】以上述べたように、本実施例である、論理
ファイル処理機能を持つネットワーク・ファイル処理方
式では、ネットワークシステム上に実在するネットワー
クファイルを処理する場合も、実在する複数のネットワ
ークファイルを論理的に合併したファイルを処理する場
合も、命令はOSの1機能であるネットワークファイル
処理部に対して発行し、応用プログラムでは、オープン
したファイルが単一のネットワークファイルであるの
か、複数のネットワークファイルであるかを一切意識す
る必要がなくなるという効果がある。
As described above, in the network file processing method having the logical file processing function according to the present embodiment, even when processing an existing network file on the network system, a plurality of existing network files are logically processed. When processing files that have been merged dynamically, a command is issued to the network file processing unit, which is a function of the OS, and in the application program, whether the opened file is a single network file or multiple network files. This has the effect of eliminating the need to be aware of whether or not it is.

【0029】[0029]

【発明の効果】以上説明したように本発明によれば、複
数のネットワークファイルにデータ保全の為に大量のデ
ータを分散して格納している場合において、応用プログ
ラムがその複数のネットワークファイル全体を処理対象
とする場合であっても、あたかも単一のネットワークフ
ァイルであるかのように処理することができるので、実
在する単一のネットワークファイルに対する応用プログ
ラムと何ら変わることなく作成することができ、プログ
ラムの設計工数および処理効率が改善される効果があ
る。
As described above, according to the present invention, when a large amount of data is distributed and stored in a plurality of network files for data preservation, the application program stores the entire plurality of network files. Even if it is a processing target, it can be processed as if it is a single network file, so it can be created without any change from an application program for a single existing network file. This has the effect of improving the design man-hours and processing efficiency of the program.

【0030】さらに、分散するネットワークファイルが
増大しても応用プログラムは一切修正することなく業務
が継続できるという効果がある。
Further, even if the number of distributed network files increases, there is an effect that the application can be continued without any modification.

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

【図1】本発明の一実施例を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】図1中のカタログ・ファイル4の構成図であ
る。
FIG. 2 is a configuration diagram of a catalog file 4 in FIG.

【図3】図1中の拡張カタログ・ファイル5の構成図で
ある。
FIG. 3 is a configuration diagram of an extended catalog file 5 in FIG.

【図4】図1のネットワーク・ファイル処理部2の動作
を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of the network file processing unit 2 of FIG.

【図5】図1の論理ファイル処理部3の動作を示すフロ
ーチャートである。
5 is a flowchart showing the operation of the logical file processing unit 3 of FIG.

【図6】従来技術の一実施例を示す構成図である。FIG. 6 is a configuration diagram showing an example of a conventional technique.

【図7】図6のカタログファイル17の構成例を示す図
である。
7 is a diagram showing a configuration example of a catalog file 17 of FIG.

【図8】図6中のネットワーク・ファイル処理部16の
動作を示すフローチャートである。
FIG. 8 is a flowchart showing an operation of the network file processing unit 16 in FIG.

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

1,11 応用プログラム 2,16 ネットワーク・ファイル処理部 3 論理ファイル処理部 4,17 カタログ・ファイル 5 拡張カタログ・ファイル 6 A支店売上ファイル 7 B支店売上ファイル 8 Y支店売上ファイル 9 Z支店売上フィイル 10 全支店売上ファイル 12 A支店ファイルサーバ 13 B支店ファイルサーバ 14 Y支店ファイルサーバ 15 Z支店ファイルサーバ 1, 11 Application program 2, 16 Network file processing unit 3 Logical file processing unit 4, 17 Catalog file 5 Extended catalog file 6 A branch sales file 7 B branch sales file 8 Y branch sales file 9 Z branch sales file 10 All branch sales file 12 A branch file server 13 B branch file server 14 Y branch file server 15 Z branch file server

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークシステム内に実在する全フ
ァイルの実ファイル名および該ファイルの存在するファ
イルサーバのファイルサーバ番号と、前記実在する複数
のファイルを論理的に合併した論理ファイルの論理ファ
イル名が登録された第1のカタログファイルと、前記論
理ファイル名で示される前記論理ファイルを構成する前
記複数の実在するファイルの前記実ファイル名およびこ
の実在するファイルの存在するファイルサーバのファイ
ルサーバ番号とを対応付けて格納する第2のカタログフ
ァイルとを予め用意し、前記ファイルへのアクセス命令
を受けると該命令で指定されたファイル名により前記第
1のカタログファイルを検索することにより該命令で指
定されたファイル名が前記実ファイル名の場合は該実フ
ァイル名で示されるファイルに対して該ファイルの存在
する前記ファイフサーバを介して前記アクセス命令によ
るアクセス処理を行い、該命令で指定されたファイル名
が前記論理ファイル名の場合は該命令で指定されたファ
イル名により前記第2のカタログファイルを検索するこ
とにより該論理ファイル名で示されるファイルを構成す
る前記複数の実在するファイルに対して該ファイルの存
在する前記ファイフサーバを介して前記アクセス命令に
よるアクセス処理を行うことを特徴とするネットワーク
・ファイル処理方法。
1. A real file name of all files actually existing in the network system, a file server number of a file server in which the file exists, and a logical file name of a logical file obtained by logically merging the plurality of existing files. A registered first catalog file, the real file names of the plurality of existing files that form the logical file indicated by the logical file name, and the file server number of the file server in which the existing files exist. A second catalog file to be stored in association with is prepared in advance, and when an access command to the file is received, the command is specified by searching the first catalog file with the file name specified by the command. If the file name is the actual file name, it is indicated by the actual file name. The file is accessed by the access command through the file server in which the file exists, and when the file name specified by the command is the logical file name, the file name specified by the command is used. Performing an access process by the access command via the Fife server in which the files exist, to the plurality of existing files forming the file indicated by the logical file name by searching the second catalog file. Network file processing method characterized by:
【請求項2】 ネットワークシステム内に実在する全フ
ァイルの実ファイル名および該ファイルの存在するファ
イルサーバのファイルサーバ番号と、前記実在する複数
のファイルを論理的に合併した論理ファイルの論理ファ
イル名が登録された第1のカタログファイルと、前記論
理ファイル名で示される前記論理ファイルを構成する前
記複数の実在するファイルの前記実ファイル名およびこ
の実在するファイルの存在するファイルサーバのファイ
ルサーバ番号とを対応付けて格納する第2のカタログフ
ァイルとを予め備え、前記ファイルへのアクセス命令を
受けると該命令で指定されたファイル名により前記第1
のカタログファイルを検索することにより該命令で指定
されたファイル名が前記実ファイル名の場合は該実ファ
イル名で示されるファイルに対して該ファイルの存在す
る前記ファイフサーバを介して前記アクセス命令による
アクセス処理を行い該命令で指定されたファイル名が前
記論理ファイル名の場合は論理ファイルアクセス指示を
出力するネットワーク・ファイル処理部と、前記論理フ
ァイルアクセス指示を受けて前記命令で指定されたファ
イル名により前記第2のカタログファイルを検索するこ
とにより該論理ファイル名で示されるファイルを構成す
る前記複数の実在するファイルに対して該ファイルの存
在する前記ファイフサーバを介して前記アクセス命令に
よるアクセス処理を行う論理ファイル処理部とを備えた
ことを特徴とするネットワーク・ファイル処理方式。
2. The actual file names of all files actually existing in the network system, the file server number of the file server in which the files exist, and the logical file name of the logical file obtained by logically merging the plurality of existing files. A registered first catalog file, the real file names of the plurality of existing files that form the logical file indicated by the logical file name, and the file server number of the file server in which the existing files exist. A second catalog file to be stored in association with the first catalog file is provided in advance, and when an access command to the file is received, the first catalog file is named by the file name designated by the command.
If the file name specified by the command is the actual file name by searching the catalog file of the above, the access command is issued to the file indicated by the actual file name via the file server in which the file exists. A network file processing unit that performs access processing and outputs a logical file access instruction when the file name specified by the command is the logical file name, and a file name specified by the command upon receiving the logical file access command The access processing by the access command is performed on the plurality of existing files forming the file indicated by the logical file name by searching the second catalog file via the Fife server in which the file exists. And a logical file processing unit for performing Ttowaku file processing system.
JP7033631A 1995-02-22 1995-02-22 Network file processing method and system Pending JPH08235048A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7033631A JPH08235048A (en) 1995-02-22 1995-02-22 Network file processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7033631A JPH08235048A (en) 1995-02-22 1995-02-22 Network file processing method and system

Publications (1)

Publication Number Publication Date
JPH08235048A true JPH08235048A (en) 1996-09-13

Family

ID=12391807

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7033631A Pending JPH08235048A (en) 1995-02-22 1995-02-22 Network file processing method and system

Country Status (1)

Country Link
JP (1) JPH08235048A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05113914A (en) * 1991-10-24 1993-05-07 Chubu Nippon Denki Software Kk Data managing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05113914A (en) * 1991-10-24 1993-05-07 Chubu Nippon Denki Software Kk Data managing system

Similar Documents

Publication Publication Date Title
US7266807B2 (en) Method for integration edition of setting file and setting file integration base
US5995960A (en) Method and system for improving efficiency of programs utilizing databases by exeuting scenarios based on recalled processed information
US7856344B2 (en) Method for transforming overlapping paths in a logical model to their physical equivalent based on transformation rules and limited traceability
JP4390618B2 (en) Database reorganization program, database reorganization method, and database reorganization apparatus
JPH08235048A (en) Network file processing method and system
JPH0528088A (en) Method for automatically generating hardware constitution information
JPH02165353A (en) Conversation type data processing system
US8332455B2 (en) Simultaneous analysis of multiple data sources by sychronization
JPH0456344B2 (en)
JP2843748B2 (en) Exclusive control method
JPH05113914A (en) Data managing system
JP3120493B2 (en) Data processing device
JP3255121B2 (en) Database search device, database search method, information processing device, recording medium storing program for causing computer to execute database search method
JP3008483B2 (en) Link processing device
JPH08171611A (en) Character recognizing system
JP3328849B2 (en) Data writing processor
JPH07141395A (en) Batch job multiprocessing control system
JP3529325B2 (en) Dump edit processing method
JPH05143422A (en) Updated journal managing system
JPH04336341A (en) File access control system
JPH08235044A (en) Journal retrieval systm
JPH0245842A (en) Data file control system
JPH04213128A (en) Data processor
JPH08147151A (en) Software development method
JPH04140825A (en) Optical disk device access system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19970909