JPH04310134A - File server control method - Google Patents

File server control method

Info

Publication number
JPH04310134A
JPH04310134A JP3075475A JP7547591A JPH04310134A JP H04310134 A JPH04310134 A JP H04310134A JP 3075475 A JP3075475 A JP 3075475A JP 7547591 A JP7547591 A JP 7547591A JP H04310134 A JPH04310134 A JP H04310134A
Authority
JP
Japan
Prior art keywords
output
file input
file
input
signal
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.)
Granted
Application number
JP3075475A
Other languages
Japanese (ja)
Other versions
JP2912046B2 (en
Inventor
Satoshi Watanabe
敏 渡辺
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.)
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Original Assignee
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe 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 KOBE NIPPON DENKI SOFTWARE KK, NEC Software Kobe Ltd filed Critical KOBE NIPPON DENKI SOFTWARE KK
Priority to JP3075475A priority Critical patent/JP2912046B2/en
Publication of JPH04310134A publication Critical patent/JPH04310134A/en
Application granted granted Critical
Publication of JP2912046B2 publication Critical patent/JP2912046B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To carry out the input/output operations of files in parallel with each other to plural file input/output requests. CONSTITUTION:An event detection means 1 detects and identifies a file input/ output request and a signal showing the end of the file input/output processing via a multi-task operating system 7. Then an identification signal is outputted to a server context production/changeover means 2. If the identification signal is identical with a new file input/output request, the means 2 produces a corresponding context. Then the control is shifted to a file input/output start means 3 and the input/output operations of files are started via the system 7. If the identification signal shows the end of the file input/output processing, the context produced by the means 2 in response to the file input/output processing is canceled. Then a file input/output processing end signal output means 4 transmits a file input/output processing end signal to a terminal equipment.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はファイルサーバの制御方
法に関し、特に複数の端末装置についてそのファイルの
入出力を制御するファイルサーバの制御方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file server control method, and more particularly to a file server control method for controlling input and output of files for a plurality of terminal devices.

【0002】0002

【従来の技術】図2は従来のファイルサーバの制御方法
の一例の動作を示す説明図であり図3は従来のファイル
サーバの制御方法の別の一例の動作を示す説明図である
2 is an explanatory diagram showing the operation of one example of a conventional file server control method, and FIG. 3 is an explanatory diagram showing the operation of another example of the conventional file server control method.

【0003】従来のこの種のファイルサーバの制御方法
としては図2に示した制御方法かまたは図3に示した制
御方法の何れかが使用されている。
As a conventional control method for this type of file server, either the control method shown in FIG. 2 or the control method shown in FIG. 3 has been used.

【0004】図2において、複数の情報処理を同時に制
御するプログラムであるマルチタスクオペレーティング
システム7の管理下でファイル入出力要求検出手段11
とファイル入出力制御手段12とファイル入出力処理終
了信号出力手段13とで構成されたファイルサーバがあ
り、このファイルサーバは通信ネットワーク9を介して
第1の端末装置10aおよび第2の端末装置10bおよ
び記憶装置8とに接続されている。図2においては、端
末装置は2台だけであるが2台以上の端末装置を通信ネ
ットワーク9を介して接続することもできる。
In FIG. 2, a file input/output request detection means 11 is operated under the control of a multitasking operating system 7, which is a program that simultaneously controls multiple information processes.
There is a file server composed of a file input/output control means 12 and a file input/output processing completion signal output means 13, and this file server is connected to a first terminal device 10a and a second terminal device 10b via a communication network 9. and a storage device 8. In FIG. 2, there are only two terminal devices, but two or more terminal devices can be connected via the communication network 9.

【0005】たとえば、第1の端末装置10aから記憶
装置8に対してファイルとしてデータの入力要求または
記憶装置8に記憶されているファイルからのデータの出
力要求の何れか、すなわち、ファイル入出力要求が行わ
れると、このファイル入出力要求は通信ネットワーク9
を介してマルチタスクオペレーティングシステム7に入
力される。マルチタスクオペレーティングシステム7は
このファイル入出力要求をファイル入出力要求検出手段
11に出力する。ここで第1の端末装置10aは記憶装
置8へのデータの出力を要求しているとする。
For example, the first terminal device 10a requests the storage device 8 to input data as a file or requests the output of data from a file stored in the storage device 8, that is, a file input/output request. is performed, this file input/output request is sent to the communication network 9.
is input to the multitasking operating system 7 via. The multitasking operating system 7 outputs this file input/output request to the file input/output request detection means 11. Here, it is assumed that the first terminal device 10a requests output of data to the storage device 8.

【0006】ファイル入出力要求検出手段11は記憶装
置8が動作していないとき、すなわち、記憶装置8が入
力されたデータの書込み、または書き込まれているデー
タの読み出しを行っていないときには、このファイル入
出力要求を受け付けるとともにファイル入出力制御手段
12にファイル入出力要求を出力した第1の端末装置1
0aに対してこの第1の端末装置10aが要求している
記憶装置8内に端末装置10aから出力されるデータす
なわちファイル入力を書き込む命令を出力する、ファイ
ル入出力制御手段12はこの命令を受けると、端末装置
10aから通信ネットワーク9を通して送出されてくる
データをファイル入力としてマルチタスクオペレーティ
ングシステム7を介して記憶装置8に書き込む制御を行
う。もし、端末装置10aからのファイル入出力要求が
記憶装置8に記憶されているデータの出力の要求であれ
ば、ファイル入出力制御手段12は端末装置10aが要
求する記憶装置8内のデータを読み出す制御をマルチタ
スクオペレーティングシステム7を介して行い、この読
み出したデータをファイル出力としてマルチタスクオペ
レーティングシステム7を介して通信ネットワーク9に
よって第1の端末装置10aに送出する。
The file input/output request detection means 11 detects this file when the storage device 8 is not operating, that is, when the storage device 8 is not writing input data or reading data that has been written. A first terminal device 1 that receives an input/output request and outputs the file input/output request to the file input/output control means 12
The file input/output control means 12 receives this command and outputs a command to write the data output from the terminal device 10a, that is, the file input, into the storage device 8 requested by the first terminal device 10a. Then, data sent from the terminal device 10a through the communication network 9 is controlled to be written into the storage device 8 via the multitasking operating system 7 as a file input. If the file input/output request from the terminal device 10a is a request to output data stored in the storage device 8, the file input/output control means 12 reads the data in the storage device 8 requested by the terminal device 10a. Control is performed via the multitasking operating system 7, and the read data is sent as a file output via the multitasking operating system 7 to the communication network 9 to the first terminal device 10a.

【0007】これらファイル入力またはファイル出力が
終了すると、ファイル入出力制御手段12はファイル入
出力処理終了信号出力手段13にファイル入出力処理が
終了したことを示す信号を送出する。
When these file inputs or file outputs are completed, the file input/output control means 12 sends a signal indicating that the file input/output processing is completed to the file input/output processing end signal output means 13.

【0008】ファイル入出力処理終了信号出力手段13
は、この信号を受けるとファイル入出力要求検出手段1
1にファイル入出力処理が終了したことを示すファイル
入出力処理終了信号を出力する。ファイル入出力処理終
了信号出力手段13はこのファイル入出力処理終了信号
をマルチタスクオペレーティングシステム7を介し、さ
らに通信ネットワーク9を介して第1の端末装置10a
に送出する。
File input/output processing end signal output means 13
When receiving this signal, file input/output request detection means 1
1, outputs a file input/output processing end signal indicating that the file input/output processing has ended. The file input/output processing end signal output means 13 sends this file input/output processing end signal to the first terminal device 10a via the multitasking operating system 7 and further via the communication network 9.
Send to.

【0009】ここで、ファイル入出力要求検出手段11
はファイル入出力処理終了信号出力手段からのファイル
入出力処理終了信号が入力されていないときには、第1
の端末装置10aまたは第2の端末装置10bからファ
イル入出力要求が送出されても、この要求を受付ない。 すなわち、図2に制御方法を示した従来のこの種のファ
イルサーバにおいては、このファイルサーバに通信ネッ
トワーク9を介して接続されている複数の端末装置の内
の一つからの要求によってファイル8に対してファイル
の入力またはファイルの出力が行われているときには、
このファイルサーバに接続されている他の端末装置から
のファイル入出力の要求は受付けられない、すなわち、
同一時刻においては一つの端末装置の要求によるファイ
ルの入力または出力だけが行われることになる。
Here, file input/output request detection means 11
is the first signal when the file input/output processing end signal from the file input/output processing end signal output means is not input.
Even if a file input/output request is sent from the terminal device 10a or the second terminal device 10b, this request is not accepted. That is, in the conventional file server of this type whose control method is shown in FIG. When a file is being input or output to
File input/output requests from other terminal devices connected to this file server will not be accepted, i.e.
At the same time, only file input or output is performed according to a request from one terminal device.

【0010】図3に示した従来のファイルサーバの制御
方法においては、図2の制御方法で説明したと同様に第
1の端末装置10aおよび第2の端末装置10bは通信
ネットワーク9により複数のタスクを同時に処理するプ
ログラムであるマルチタスクオペレーティングシステム
7に接続されている。マルチタスクオペレーティングシ
ステム7は第1の端末装置10aからのファイル入出力
要求については第1のタスク5によって処理を行い、第
2の端末装置10bからのファイル入出力要求について
は、第2のタスク6によってその要求を処理する。たと
えば、第1の端末装置10aからのファイル入出力要求
(ファイル入力要求またはファイル出力要求)があると
第1のタスク5の中のファイル入出力検出手段14によ
ってその要求を検出する。ファイル入出力検出手段14
はファイル入出力要求を検出すると、ファイル入出力制
御手段15を起動させて記憶装置8aに対して第1の端
末装置10aから通信ネットワーク9を通りマルチタス
クオペレーティングシステム7に入力されるデータをフ
ァイル入力として記憶装置8aにマルチタスクオペレー
ティングシステム7を介して入力するか、または、記憶
装置8aに記憶されているデータをファイル出力として
マルチタスクオペレーティングシステム7を介して通信
ネットワーク9に出力し、第1の端末装置10aに送出
する。
In the conventional file server control method shown in FIG. It is connected to a multitasking operating system 7, which is a program that simultaneously processes the following. The multitasking operating system 7 processes file input/output requests from the first terminal device 10a using the first task 5, and processes file input/output requests from the second terminal device 10b using the second task 6. handles the request. For example, when there is a file input/output request (file input request or file output request) from the first terminal device 10a, the file input/output detection means 14 in the first task 5 detects the request. File input/output detection means 14
When detecting a file input/output request, it activates the file input/output control means 15 and inputs the data input from the first terminal device 10a to the multitasking operating system 7 through the communication network 9 to the storage device 8a as a file. or output the data stored in the storage device 8a as a file output to the communication network 9 via the multitasking operating system 7, and It is sent to the terminal device 10a.

【0011】ファイル入出力制御手段15はファイル8
aについてのファイルの入出力処理が終了すると、ファ
イル入出力処理が終了したことを示す信号をファイル入
出力処理終了信号出力手段16に加える。ファイル入出
力処理終了信号出力手段16は、この出号を受けるとフ
ァイル入出力処理終了信号をマルチタスクオペレーティ
ングシステム7を介して通信ネットワーク9に出力して
、この通信ネットワーク9から第1の端末装置10aに
出力する。
The file input/output control means 15 is a file 8
When the file input/output processing for a is completed, a signal indicating that the file input/output processing has been completed is applied to the file input/output processing end signal output means 16. Upon receiving this output signal, the file input/output processing end signal output means 16 outputs a file input/output processing end signal to the communication network 9 via the multitasking operating system 7, and from this communication network 9 to the first terminal device. Output to 10a.

【0012】このように第1の端末装置10aからのフ
ァイル入出力要求による処理が第1のタスク5によって
行われている途中で、第2の端末装置10bからファイ
ル入出力要求が出されると、第1のタスク5が第1の端
末装置からのファイル入出力要求に対して行ったと同様
な処理を、第2のタスク6が第2の端末装置10bから
のファイル入出力要求に対して行う。このとき、マルチ
タスクオペレーティングシステム7のコンテキストスイ
ッチング機能を利用して第1のタスク5と第2のタスク
6の間のタスク間通信を行うことが必要であった。
As described above, when a file input/output request is issued from the second terminal device 10b while the first task 5 is processing a file input/output request from the first terminal device 10a, The second task 6 performs the same processing on a file input/output request from the second terminal device 10b as the first task 5 performed on a file input/output request from the first terminal device. At this time, it was necessary to perform inter-task communication between the first task 5 and the second task 6 using the context switching function of the multitasking operating system 7.

【0013】[0013]

【発明が解決しようとする課題】上述した図2で説明し
た従来のファイルサーバの制御方法では、一つのファイ
ル入出力がマルチタスクオペレーティングシステムの管
理下で行われているときには、別の端末装置からファイ
ル入出力要求が出されても、すでに行われているファイ
ル入出力処理が終了してからでなければ上述した要求が
受けつけられないので、複数の端末装置からのファイル
入出力要求が出されたときすべての要求が実行されるの
に多大な時間が必要となる欠点を有している。
[Problems to be Solved by the Invention] In the conventional file server control method explained in FIG. Even if a file input/output request is issued, the above-mentioned request cannot be accepted until the file input/output processing that is already in progress is completed, so file input/output requests from multiple terminal devices are It has the disadvantage that it takes a lot of time for all requests to be executed.

【0014】また、図3で説明したファイルサーバの制
御方法においては、マルチタスクオペレーティングシス
テム7の中にタスク間通信のためのプログラムが必要と
なるが、このプログラム部分が複雑となるという欠点を
有している。
Furthermore, the file server control method described in FIG. 3 requires a program for inter-task communication in the multi-task operating system 7, but it has the disadvantage that this program part is complicated. are doing.

【0015】[0015]

【課題を解決するための手段】第1の発明のファイルサ
ーバの制御方法は、通信ネットワークに接続された複数
の端末装置からのファイル入出力の要求をマルチタスク
オペレーティングシステムを介して入力し前記マルチタ
スクオペレーティングシステムを介してファイルの入出
力の制御を行うファイルサーバにおいて、前記マルチタ
スクオペレーティングシステムを通して前記端末装置の
内の相異なる端末装置から任意の時刻に入力されるファ
イル入出力要求信号とこのファイル入出力要求信号に対
応してファイルを記憶する記憶装置への前記ファイルの
入力の終了または前記記憶装置からのファイルの出力の
終了信号をイベント検出手段により監視しこれらの信号
を個別に識別して出力させ、サーバコンテキスト作成切
替手段によってその識別結果を受信し、前記識別結果が
ファイル入出力の要求であればこのファイル入出力の要
求を受信するごとにコンテキスト作成切替手段により予
め作成されている複数種類あるファイル入出力用のプロ
グラム中から未使用のファイル入出力用のプログラムを
選択し前記ファイル入出力の要求に対応する初期値を前
記選択したプログラムに対して与えたコンテキストを作
成し、このコンテキストに従ってファイル入出力開始手
段を起動し、前記ファイル入出力開始手段によってマル
チタスクオペレーティングシステムを介して前記ファイ
ル入出力の要求に対応したファイルの入力または出力を
それぞれのファイル入出力の要求信号を送出した前記端
末装置別に開始するとともに前記イベント待ち手段に制
御を移し、前記ファイルの入力または出力の処理の終了
を前記マルチタスクオペレーティングシステムを介して
前記イベント検出手段によって監視させ、前記ファイル
の入力または出力の処理が終了すると前記処理が終了し
た旨の信号を前記サーバコンテキスト作成切替手段に前
記識別信号として出力させ、前記ファイル入出力の処理
が終了した端末装置からの前記ファイル入出力の要求信
号に対応して作成した前記コンテキストの使用を解除さ
せ、かつ前記イベント検出手段からの識別信号の一つで
あるファイル入出力処理が終了した旨の識別信号をファ
イル入出力処理終了信号出力手段に加えてこのファイル
入出力処理終了信号出力手段より前記ファイル入出力の
要求を送出した端末装置に対して前記マルチタスクオペ
レーティングシステムを介して前記ファイルの入力また
は出力の処理が終了したことを示す信号を出力させ、前
記複数の端末装置の内の1以上の端末装置からのファイ
ル入出力の処理が終了していなくとも前記複数の端末装
置の内の別の端末装置からのファイル入出力の要求に応
じてこれらファイル入出力の処理を平行して行うことを
特徴としている。
[Means for Solving the Problems] A method for controlling a file server according to a first aspect of the invention is to input file input/output requests from a plurality of terminal devices connected to a communication network through a multitasking operating system. In a file server that controls file input/output via a task operating system, a file input/output request signal input at any time from a different terminal device among the terminal devices through the multitasking operating system and this file. In response to the input/output request signal, an event detection means monitors a signal of completion of inputting the file to a storage device that stores the file or a signal of completion of outputting the file from the storage device, and individually identifies these signals. the server context creation switching means receives the identification result, and if the identification result is a file input/output request, each time this file input/output request is received, the server context creation switching means creates a plurality of files created in advance by the context creation switching means. Select an unused file input/output program from among various types of file input/output programs, create a context in which an initial value corresponding to the file input/output request is given to the selected program, and create a context for the selected program. and the file input/output starting means sends a file input/output request signal for each file input or output corresponding to the file input/output request via the multitasking operating system. At the same time, control is transferred to the event waiting means for each terminal device, and the completion of the input or output processing of the file is monitored by the event detection means via the multitasking operating system. When the processing is completed, the server context creation switching means outputs a signal indicating that the processing is completed as the identification signal, and responds to the file input/output request signal from the terminal device on which the file input/output processing has been completed. and cancels the use of the context created by the event detection means, and adds an identification signal to the file input/output processing end signal output means to the file input/output processing end signal output means, which is one of the identification signals from the event detection means, to this file. causing the input/output processing end signal output means to output a signal indicating that the input or output processing of the file has been completed to the terminal device that sent the file input/output request via the multitasking operating system; Even if file input/output processing from one or more of the plurality of terminal devices has not been completed, these file input/output operations may be performed in response to a file input/output request from another terminal device among the plurality of terminal devices. The feature is that output processing is performed in parallel.

【0016】[0016]

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

【0017】図1は本発明のファイルサーバの制御方法
の一実施例の動作を示す説明図である。
FIG. 1 is an explanatory diagram showing the operation of an embodiment of the file server control method of the present invention.

【0018】本実施例のファイルサーバの制御方法は、
図1に示すように、第1の端末装置10aと第2の端末
装置10bとが通信ネットワーク9を介してマルチタス
クオペレーティングシステム7に接続されている。マル
チタスクオペレーティングシステム7は端末装置10a
および10bからのファイル入出力に関する処理以外の
他の情報処理をも行うプログラムを持つシステムである
The file server control method of this embodiment is as follows:
As shown in FIG. 1, a first terminal device 10a and a second terminal device 10b are connected to a multitasking operating system 7 via a communication network 9. The multitasking operating system 7 is installed on the terminal device 10a.
This system also has programs that perform information processing other than processing related to file input/output from and 10b.

【0019】このマルチタクスオペレーティングシステ
ム7はイベント検出手段1とサーバコンテキスト作成切
替手段2とファイル入出力開始手段3とファイル入出力
処理終了信号出力手段4およびファイルを記憶する記憶
装置8から成るファイルサーバを管理している。マルチ
タスクオペレーティングシステム7に通信ネットワーク
9を介して、たとえば、第1の端末装置10aからファ
イルの入力または出力の要求を表わすファイル入出力の
要求信号が入力されると、イベント検出手段1にマルチ
タスクオペレーティングシステム7を介して、このファ
イル入出力の要求信号が加えられる。
This multitasking operating system 7 is a file server consisting of an event detection means 1, a server context creation switching means 2, a file input/output starting means 3, a file input/output processing end signal outputting means 4, and a storage device 8 for storing files. is managed. When a file input/output request signal representing a file input or output request is input to the multitasking operating system 7 via the communication network 9, for example, from the first terminal device 10a, the multitasking operating system 7 This file input/output request signal is applied via the operating system 7.

【0020】イベント検出手段1はファイル入出力の要
求信号および記憶装置8からマルチタスクオペレーティ
ングシステム7を介して後述するファイルの入力あるい
は出力の処理の終了を示すファイル入出力処理終了信号
を監視しており、上述したファイル入出力の要求信号あ
るいは前述したファイルの入出力処理終了信号とを識別
し、これらの信号別にまたファイル入出力の要求を送出
した端末装置を識別した異った信号をサーバコンテキス
ト作成切替手段2に加える。サーバコンテキスト作成切
替手段2はイベント検出手段2より出力される識別信号
がファイル入出力を要求する信号であれば、予めこのサ
ーバコンテキスト作成切替手段2が持つファイルの入出
力の処理を制御する複数のプログラムの内から現在使用
されていないプログラムを選択し、ファイル入出力の要
求信号を送出した端末装置を識別する情報と前記端末装
置10aがファイル入出力の要求信号によって要求して
いる内容、すなわち、この端末装置10aが出力するデ
ータをファイルとして記憶装置8内に記憶するのか、あ
るいは記憶装置8内にある特定のファイルを読み出して
この端末装置10aに出力するのかに応じて、前記選択
したプログラムに対して初期値を与えコンテキストを作
成してファイル入出力開始手段3に制御を移す。ファイ
ル入出力開始手段3は、この作成されたコンテキストに
従って、マルチタスクオペレーティングシステム7を介
して記憶装置8に端末装置10aから出力されるデータ
をファイルとして記憶させる処理、すなわち、ファイル
の入力、または、記憶装置8内に記憶されている端末装
置10aが指定したファイルを読み出しこのファイルに
記憶されているデータを端末装置10aに送出する処理
、すなわち、ファイルの出力の開始を行い制御をイベン
ト検出手段1に移す。
The event detection means 1 monitors a file input/output request signal and a file input/output processing end signal from the storage device 8 via the multitasking operating system 7 indicating the end of file input or output processing, which will be described later. It identifies the file input/output request signal described above or the file input/output processing end signal described above, and sends a different signal that identifies the terminal device that sent the file input/output request to the server context for each of these signals. Add to creation switching means 2. If the identification signal output from the event detection means 2 is a signal requesting file input/output, the server context creation switching means 2 sends a plurality of signals in advance to control the file input/output processing of the server context creation switching means 2. Select a program that is currently not in use from among the programs, and include information identifying the terminal device that sent the file input/output request signal and the content requested by the terminal device 10a by the file input/output request signal, that is, Depending on whether the data output by this terminal device 10a is stored as a file in the storage device 8, or whether a specific file in the storage device 8 is read and output to this terminal device 10a, the selected program An initial value is given to the file, a context is created, and control is transferred to the file input/output starting means 3. The file input/output starting means 3 performs a process of storing data output from the terminal device 10a as a file in the storage device 8 via the multitasking operating system 7, that is, inputting a file, according to the created context, or The event detection means 1 performs the process of reading out a file specified by the terminal device 10a stored in the storage device 8 and sending the data stored in this file to the terminal device 10a, that is, starting and controlling the output of the file. Move to.

【0021】このファイルの入力または出力は前述した
端末装置10aが要求するファイル入出力の要求の内容
がファイルの入力であるか出力であるかによる。マルチ
タスクオペレーティングシステム7は引続き上述したフ
ァイルの入力または出力の制御を行う、記憶装置8に対
するファイルの入力または出力が終了すると端末装置1
0aに関するファイル入出力の終了を示す信号が記憶装
置8よりマルチタククオペレーティングシステム7を介
してイベント検出手段1に出力される。イベント検出手
段1はこのファイル入出力の終了を示す信号を受信する
と、端末装置10aに関するファイル入出力処理が終了
したことを識別し、その識別信号をサーバコンテキスト
作成切替手段2に出力する。サーバコンテキスト作成切
替手段2はこの識別信号により端末装置10aに対して
作成したコンテキストを解除し、端末装置10aに関す
るファイル入出力処理が終了したことを示す信号をファ
イル入出力処理終了信号出力手段4に加える。ファイル
入出力処理終了信号出力手段4は、上述の信号が加えら
れると、マルチタスクオペレーティングシステム7を介
して端末装置10aが送出したファイル入出力の要求に
関する処理が終了したことを示すファイル入出力処理終
了信号をこの端末装置10aに対して送出する。
The input or output of this file depends on whether the content of the file input/output request requested by the aforementioned terminal device 10a is file input or output. The multitasking operating system 7 continues to control the above-mentioned file input or output, and when the file input or output to the storage device 8 is completed, the terminal device 1
A signal indicating the end of file input/output regarding 0a is output from the storage device 8 to the event detection means 1 via the multitask operating system 7. When the event detection means 1 receives this signal indicating the end of file input/output, it identifies that the file input/output processing regarding the terminal device 10a has ended, and outputs the identification signal to the server context creation switching means 2. The server context creation switching means 2 cancels the context created for the terminal device 10a based on this identification signal, and sends a signal indicating that the file input/output processing regarding the terminal device 10a has been completed to the file input/output processing end signal outputting means 4. Add. When the above-mentioned signal is applied, the file input/output processing completion signal output means 4 outputs a file input/output processing signal indicating that the processing related to the file input/output request sent by the terminal device 10a via the multitasking operating system 7 has been completed. A termination signal is sent to this terminal device 10a.

【0022】ここで、端末装置10aから送出されたフ
ァイル入出力の要求に対して前述したファイルサーバが
その処理を実行している間に、端末装置10bからファ
イル入出力の要求が送出された場合には、イベント検出
手段1がすでに説明したと同様に、このファイル入出力
の要求を検出し識別して識別信号をサーバコンテキスト
作成切替手段2に出力する。サーバコンテキスト作成切
替手段2は予じめ作成されている複数のファイル入出力
処理のためのプログラムの中から端末装置10aに対し
て作成したコンテキスト中のプログラムとは異ったプロ
グラムを選択してこのプログラムに対して必要な初期値
を与えたコンテキストを作成しファイル入出力開始手段
3に制御を移し、以後は端末装置10aからのファイル
入出力の要求に対して行ったと同様な処理が端末装置1
0bからのファイル入出力の要求に対しても行われる。
[0022] Here, if a file input/output request is sent from the terminal device 10b while the above-mentioned file server is processing the file input/output request sent from the terminal device 10a. In this case, the event detection means 1 detects and identifies this file input/output request and outputs an identification signal to the server context creation switching means 2 in the same manner as described above. The server context creation switching means 2 selects a program different from the program in the context created for the terminal device 10a from among a plurality of programs for file input/output processing created in advance. A context is created that gives the necessary initial values to the program, and control is transferred to the file input/output starting means 3. From then on, the same processing as performed in response to a file input/output request from the terminal device 10a is performed on the terminal device 10a.
This is also done in response to a file input/output request from 0b.

【0023】図1においては、端末装置は10aと10
bの2台であるが、サーバコンテキスト作成切替手段2
内に予め端末装置の台数に応じた数のファイル入出力処
理のためのプログラムを用意しておけば、端末装置の台
数は3台以上であっても、よいことは明らかである。
In FIG. 1, the terminal devices are 10a and 10
b, server context creation switching means 2
It is clear that the number of terminal devices may be three or more as long as programs for file input/output processing according to the number of terminal devices are prepared in advance.

【0024】[0024]

【発明の効果】以上説明したように、本発明のファイル
サーバの制御方法は、サーバコンテキスト作成切替手段
によって、ある端末装置からのファイル入出力の要求に
基づく処理が行われている途中であっても、他の端末装
置からのファイル入出力の要求に対する処理をタスク間
の通信を必要とせずに行うことができるという効果を有
している。
[Effects of the Invention] As explained above, in the file server control method of the present invention, when the server context creation switching means is in the middle of processing based on a file input/output request from a certain terminal device, This method also has the effect of being able to process file input/output requests from other terminal devices without requiring communication between tasks.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明のファイルサーバの制御方法の一実施例
の動作を示す説明図である。
FIG. 1 is an explanatory diagram showing the operation of an embodiment of the file server control method of the present invention.

【図2】従来のこの種のファイルサーバの制御方法の動
作を示す説明図である。
FIG. 2 is an explanatory diagram showing the operation of a conventional file server control method of this type.

【図3】図2とは別の従来のファイルサーバの制御方法
の動作を示す説明図である。
FIG. 3 is an explanatory diagram showing the operation of a conventional file server control method different from that shown in FIG. 2;

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

1    イベント検出手段 2    サーバコンテキスト作成切替手段3    
ファイル入出力開始手段
1 Event detection means 2 Server context creation switching means 3
File input/output start means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  通信ネットワークに接続された複数の
端末装置からのファイル入出力の要求をマルチタスクオ
ペレーティングシステムを介して入力し前記マルチタス
クオペレーティングシステムを介してファイルの入出力
の制御を行うファイルサーバにおいて、前記マルチタス
クオペレーティングシステムを通して前記端末装置の内
の相異なる端末装置から任意の時刻に入力されるファイ
ル入出力要求信号とこのファイル入出力要求信号に対応
してファイルを記憶する記憶装置への前記ファイルの入
力の終了または前記記憶装置からのファイルの出力の終
了信号をイベント検出手段により監視しこれらの信号を
個別に識別して出力させ、サーバコンテキスト作成切替
手段によってその識別結果を受信し、前記識別結果がフ
ァイル入出力の要求であればこのファイル入出力の要求
を受信するごとにコンテキスト作成切替手段により予め
作成されている複数種類あるファイル入出力用のプログ
ラム中から未使用のファイル入出力用のプログラムを選
択し前記ファイル入出力の要求に対応する初期値を前記
選択したプログラムに対して与えたコンテキストを作成
し、このコンテキストに従ってファイル入出力開始手段
を起動し、前記ファイル入出力開始手段によってマルチ
タスクオペレーティングシステムを介して前記ファイル
入出力の要求に対応したファイルの入力または出力をそ
れぞれのファイル入出力の要求信号を送出した前記端末
装置別に開始するとともに前記イベント待ち手段に制御
を移し、前記ファイルの入力または出力の処理の終了を
前記マルチタスクオペレーティングシステムを介して前
記イベント検出手段によって監視させ、前記ファイルの
入力または出力の処理が終了すると前記処理が終了した
旨の信号を前記サーバコンテキスト作成切替手段に前記
識別信号として出力させ、前記ファイル入出力の処理が
終了した端末装置からの前記ファイル入出力の要求信号
に対応して作成した前記コンテキストの使用を解除させ
、かつ前記イベント検出手段からの識別信号の一つであ
るファイル入出力処理が終了した旨の識別信号をファイ
ル入出力処理終了信号出力手段に加えてこのファイル入
出力処理終了信号出力手段より前記ファイル入出力の要
求を送出した端末装置に対して前記マルチタスクオペレ
ーティングシステムを介して前記ファイルの入力または
出力の処理が終了したことを示す信号を出力させ、前記
複数の端末装置の内の1以上の端末装置からのファイル
入出力の処理が終了していなくとも前記複数の端末装置
の内の別の端末装置からのファイル入出力の要求に応じ
てこれらファイル入出力の処理を平行して行うことを特
徴とするファイルサーバの制御方法。
1. A file server that receives file input/output requests from a plurality of terminal devices connected to a communication network via a multitasking operating system and controls file input/output via the multitasking operating system. In the method, a file input/output request signal is input at an arbitrary time from a different terminal device among the terminal devices through the multitasking operating system, and a file input/output request signal is inputted to a storage device that stores a file in response to the file input/output request signal. Monitoring an end signal of the input of the file or an end signal of the output of the file from the storage device by the event detection means, individually identifying and outputting these signals, and receiving the identification result by the server context creation switching means; If the identification result is a file input/output request, each time this file input/output request is received, an unused file input/output is selected from among multiple types of file input/output programs created in advance by the context creation switching means. A context is created in which an initial value corresponding to the file input/output request is given to the selected program, a file input/output start means is started according to this context, and the file input/output start means starts inputting or outputting files corresponding to the file input/output requests via a multitasking operating system for each of the terminal devices that sent the respective file input/output request signals, and transfers control to the event waiting means; The end of the input or output processing of the file is monitored by the event detection means via the multitasking operating system, and when the input or output processing of the file is completed, a signal indicating that the processing has ended is sent to the server context. causing the creation switching means to output the identification signal as the identification signal to cancel the use of the context created in response to the file input/output request signal from the terminal device that has completed the file input/output processing, and the event detection means The file input/output processing end signal output means sends out the file input/output request by adding an identification signal indicating that the file input/output processing has been completed, which is one of the identification signals from the file input/output processing end signal output means, to the file input/output processing end signal output means. A signal indicating that the file input or output processing has been completed is outputted to the terminal device through the multitasking operating system, and file input from one or more of the plurality of terminal devices is performed. A file server characterized in that file input/output processing is performed in parallel in response to a file input/output request from another terminal device among the plurality of terminal devices even if the output processing has not been completed. Control method.
JP3075475A 1991-04-09 1991-04-09 File server control method Expired - Lifetime JP2912046B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3075475A JP2912046B2 (en) 1991-04-09 1991-04-09 File server control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3075475A JP2912046B2 (en) 1991-04-09 1991-04-09 File server control method

Publications (2)

Publication Number Publication Date
JPH04310134A true JPH04310134A (en) 1992-11-02
JP2912046B2 JP2912046B2 (en) 1999-06-28

Family

ID=13577366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3075475A Expired - Lifetime JP2912046B2 (en) 1991-04-09 1991-04-09 File server control method

Country Status (1)

Country Link
JP (1) JP2912046B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02204849A (en) * 1989-02-03 1990-08-14 Hitachi Ltd Mutual control system for client/server process

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02204849A (en) * 1989-02-03 1990-08-14 Hitachi Ltd Mutual control system for client/server process

Also Published As

Publication number Publication date
JP2912046B2 (en) 1999-06-28

Similar Documents

Publication Publication Date Title
US5692198A (en) Method for executing a process defined by a script by a plurality of types of description languages and an apparatus therefor
JPH04310134A (en) File server control method
JPH05101109A (en) Data base arithmetic processing unit
JPH0713779A (en) Multi-task controller
JP2780601B2 (en) Message batch processing system
JPH03144705A (en) Operation state monitor for programmable controller
JP2527281Y2 (en) PROM programmer controller
JPH1165888A (en) Software testing device and storage medium
JPH06161519A (en) Monitoring device
JPH07200027A (en) Controller for automatic assembling device
JP2803270B2 (en) SCSI host adapter circuit
JPH0581336A (en) Data base arithmetic processor
JPH04336354A (en) Decentralized computer system
JPH0473900B2 (en)
JPH05143502A (en) Controller for distribution of terminal computer
JPS63123150A (en) Computer system
JPH0581334A (en) Data base arithmetic processor
JPH0757000A (en) Production of managing device
JPH0535643A (en) Fully duplex channel input/output control system
JPH04373060A (en) Batch job input number limiting system
JPH0546427A (en) Online system
JPS6371761A (en) System for defining system condition of online system
JPH09152981A (en) Tracing device and method
JPH0259951A (en) Batch job start control system based upon on-line
JPH05265953A (en) Activation system for distributed processing type program

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19990309

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080409

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090409

Year of fee payment: 10

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100409

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110409

Year of fee payment: 12

EXPY Cancellation because of completion of term