JP3043881B2 - Data processing system using shared files - Google Patents
Data processing system using shared filesInfo
- Publication number
- JP3043881B2 JP3043881B2 JP4016568A JP1656892A JP3043881B2 JP 3043881 B2 JP3043881 B2 JP 3043881B2 JP 4016568 A JP4016568 A JP 4016568A JP 1656892 A JP1656892 A JP 1656892A JP 3043881 B2 JP3043881 B2 JP 3043881B2
- Authority
- JP
- Japan
- Prior art keywords
- flag
- shared file
- shared
- central processing
- contents
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
- Multi Processors (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、読み出し及び書き込み
可能な複数の共有ファイルを有するホスト装置に通信回
線を介して接続された少なくとも1つの端末装置とを備
えたデータ処理システムに関し、より具体的には大容量
の記憶手段を有するワードプロセッサ、パソコン等とそ
れほど大きな記憶容量を有しないワードプロセッサ、パ
ソコン等とをネットワークで接続して利用するデータ処
理システムに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system comprising at least one terminal connected to a host device having a plurality of readable and writable shared files via a communication line. The present invention relates to a data processing system in which a word processor having a large storage means, a personal computer, etc., and a word processor, a personal computer, etc. which do not have such a large storage capacity are connected to a network and used.
【0002】[0002]
【従来の技術】一般に、ワードプロセッサはそれ単体で
処理が完結できるように構成されており、文書等のデー
タ量が増加する場合はフロッピーディスク等の外部記憶
媒体にそれぞれ記憶させるようにして処理している。し
かしながら、個人で使用する場合は別として企業等で複
数の人が同じ文書を利用して新たな文書を作成しようと
した際、共有文書がこのようにフロッピーディスク等に
分散して格納されていると非常に不便である。2. Description of the Related Art In general, a word processor is configured so that processing can be completed by itself, and when the data amount of a document or the like increases, the word processor is processed by storing it in an external storage medium such as a floppy disk. I have. However, apart from personal use, when a plurality of people try to create a new document using the same document in a company or the like, the shared document is thus dispersedly stored on a floppy disk or the like. And very inconvenient.
【0003】このため、記憶容量の大きいワードプロセ
ッサ、パソコン等のホスト装置を用意してその周辺に単
数又は複数のさほど大きな記憶容量を有しない端末装置
を接続し、複数の人々が利用する共有文書はホスト装置
に記憶させることにより文書処理の効率を向上させる方
法が提案されている。For this reason, a host device such as a word processor or a personal computer having a large storage capacity is prepared, and one or more terminal devices having no such large storage capacity are connected around the host device. There has been proposed a method of improving the efficiency of document processing by storing it in a host device.
【0004】[0004]
【発明が解決しようとする課題】しかしながらこのよう
な構成によると、同一の共有文書を異なる端末装置から
それぞれ読み出した後、これらにそれぞれ異なる変更を
加えた上で同一の文書として順次再書き込みしようとし
た場合、先に再書き込みした文書の上に後に再書き込み
する文書がオーバーライトされるので前者が消去されて
しまうという不都合が生じる。その結果、先に再書き込
みした作業が無駄となってしまう上、その先の作業を行
った人がオーバーライトされたことに気付かないでいる
と大きな問題に発展する恐れがあり、また、システムを
利用する人々の信頼感が大幅に低減してしまう可能性が
ある。However, according to such a configuration, after reading the same shared document from different terminal devices, respectively, the same shared document is modified and then rewritten as the same document sequentially. In such a case, a document to be rewritten later is overwritten on a document to be rewritten earlier, so that there is a disadvantage that the former is erased. As a result, previously rewritten work will be wasted, and if the person who performed the previous work is unaware that it has been overwritten, this may lead to a serious problem. There is a possibility that the trust of the users will be greatly reduced.
【0005】従って本発明は、従来技術の上述の不都合
を解消するものであり、読み出し及び書き込み可能な複
数の共有ファイルを利用する場合に、信頼性の高いデー
タ処理を行うことができるシステムを提供するものであ
る。[0005] Accordingly, the present invention solves the above-mentioned disadvantages of the prior art, and provides a system capable of performing highly reliable data processing when a plurality of readable and writable shared files are used. Is what you do.
【0006】[0006]
【課題を解決するための手段】本発明は、複数の共有フ
ァイルを記憶する共有ファイル記憶手段を有するホスト
装置と、該ホスト装置に通信回線を介して接続された少
なくとも2つの端末装置とを備え、共有ファイル記憶手
段に記憶された共有ファイルへの再書き込みが可能な再
書き込み可能モードと、共有ファイル記憶手段に記憶さ
れた共有ファイルへの再書き込みが禁止される再書き込
み禁止モードとの二つのモードを有する共有ファイルを
利用するデータ処理システムであって、ホスト装置は、
第1の中央処理装置と、共有ファイル記憶手段と、該共
有ファイル記憶手段に記憶された共有ファイル毎に、読
み出し可能状態であるか読み出し禁止状態であるかを表
す第1フラグを記憶する第1の補助記憶手段とを備え、
端末装置は、第2の中央処理装置と、前記ホスト装置の
共有ファイル記憶手段から読み出した共有ファイルの内
容を記憶するファイル記憶手段と、該ファイル記憶手段
の内容を前記共有ファイル記憶手段に記憶された共有フ
ァイルに、再書き込み可能状態であるか再書き込み禁止
状態であるかを表す第2フラグを記憶する第2の補助記
憶手段と、共有ファイルへの再書き込み可能モードか再
書き込み禁止モードかを指定するためのモード指定手段
とを備えた共有ファイルを利用するデータ処理システム
であり、前記端末装置のモード指定手段により、共有フ
ァイルへの再書き込み可能モードが指定されたときに
は、前記ホスト装置の第1の中央処理装置は、第1フラ
グの内容を読み出し可能状態に初期的に設定し、また前
記端末装置の第2の中央処理装置は、第2フラグの内容
を再書き込み禁止状態に初期的に設定し、前記端末装置
から前記ホスト装置に共有ファイルの第1フラグの内容
の転送要求がされると、前記ホスト装置の第1の中央処
理装置は、前記第1フラグの内容の転送要求を行った端
末装置に対して、対応する前記第1フラグの内容を転送
し、その後、当該第1フラグの内容を読み出し禁止状態
に設定し、一方、前記第1フラグの内容が転送された端
末装置の第2の中央処理装置は、転送された前記第1フ
ラグの内容が読み出し可能状態を表す場合には、前記第
2フラグが再書き込み可能状態を表すように、また前記
第1フラグの内容が読み出し禁止状態を表す場合には、
前記第2フラグが再書き込み禁止状態を表すように、第
2フラグの内容を前記第2の補助記憶手段に設定し、前
記第2フラグに基づいて前記ホスト装置に共有ファイル
の転送要求を行うか否かを決定し、前記第1の中央処理
装置は、転送要求が行われた場合、その転送要求された
共有ファイルを前記端末装置に転送し、前記端末装置の
第2の中央処理装置は、転送された共有ファイルの内容
をファイル記憶手段に記憶し、さらに前記第2フラグに
基づいて前記共有ファイル記憶手段に記憶された共有フ
ァイルに再書き込みするか否かを決定する。The present invention comprises a host device having shared file storage means for storing a plurality of shared files, and at least two terminal devices connected to the host device via a communication line. A rewritable mode in which rewriting can be performed on a shared file stored in the shared file storage means, and a rewrite inhibition mode in which rewriting of a shared file stored in the shared file storage means is prohibited. A data processing system using a shared file having a mode, wherein the host device comprises:
A first central processing unit, a shared file storage unit, and a first flag that stores, for each shared file stored in the shared file storage unit, a first flag indicating whether the file is in a readable state or in a read prohibited state. Auxiliary storage means,
The terminal device includes a second central processing unit, a file storage unit that stores the content of the shared file read from the shared file storage unit of the host device, and the content of the file storage unit stored in the shared file storage unit. A second auxiliary storage unit for storing a second flag indicating whether the shared file is in a rewritable state or a non-rewritable state, and whether the shared file is in a rewritable mode or a rewritable mode. A data processing system using a shared file having a mode designating means for designating, and when a mode in which rewriting to a shared file is possible is designated by a mode designating means of the terminal device, a second processing of the host device is performed. 1 of the central processing unit, initially set to ready read the contents of the first flag, and the second of the terminal device Central processing unit, initially sets the contents <br/> the second flag to re-write protected, the transfer request of the content <br/> the first flag of the shared file to the host device from the terminal device Once, the first central processing unit of the host device, to the terminal device Tsu line a transfer request of the content of the first flag, and transfers the contents of the corresponding first flag, then the set prohibited state reads the contents of the first flag, whereas, the second central processing unit of the terminal device whose contents are transferred to the first flag, transferred content readable state of the first flag When representing,
2 flag indicates a re-writable state, and
When the content of the first flag indicates a read prohibited state,
The second flag indicates a rewrite-inhibited state.
The contents of the second flag is set to the second auxiliary storage means, wherein the transfer request of the shared file to the host device to determine line Ukaina based on the second flag, the first central processing unit, If a transfer request is made, and forwards the transfer request, shared file to the terminal device, the second central processing unit of the terminal device stores the contents of the transferred shared file in the file storage unit, further determining whether rewriting to the second flag in <br/> based Dzu have been the shared file storage means the stored shared file.
【0007】さらに本発明によれば、端末装置のモード
指定手段により、共有ファイルへの再書き込み禁止モー
ドが指定されたときには、前記端末装置の第2の中央処
理装置が、第2フラグを再書き込み禁止状態に初期的に
設定し、ホスト装置に共有ファイルの転送要求を行い、
ホスト装置の第1の中央処理装置は、転送要求された共
有ファイルを前記端末装置に転送し、前記第2の中央処
理装置は、転送された共有ファイルの内容をファイル記
憶手段に記憶し、前記第2フラグに基づき共有ファイル
に再書き込みするか否かを決定する。Further according to the present invention, a mode of a terminal device is provided.
When the rewriting prohibition mode for the shared file is designated by the designation means, the second central processing of the terminal device is performed.
Management device, initially setting the second flag to re-write protected, perform a transfer request of the shared file to the host device,
The first central processing unit of the host device transfers the shared file requested to be transferred to the terminal device, the second central processing device stores the content of the transferred shared file in file storage means, It is determined whether to rewrite the shared file based on the second flag.
【0008】また本願の第2の発明によれば、複数の共
有ファイルを記憶する共有ファイル記憶手段を有するホ
スト装置と、該ホスト装置に通信回線を介して接続され
た少なくとも2つの端末装置とを備えた共有ファイルを
利用するデータ処理システムであって、ホスト装置は、
第1の中央処理装置と、共有ファイル記憶手段と、該共
有ファイル記憶手段に記憶された共有ファイル毎に、読
み出し可能状態であるか読み出し禁止状態であるかを表
す第1フラグを記憶する第1の補助記憶手段とを備え、
端末装置は、第2の中央処理装置と、前記ホスト装置の
共有ファイル記憶手段から読み出した共有ファイルの内
容を記憶するファイル記憶手段と、該ファイル記憶手段
の内容を前記共有ファイル記憶手段に記憶された共有フ
ァイルに、再書き込み可能状態であるか再書き込み禁止
状態であるかを表す第2フラグを記憶する第2の補助記
憶手段とを備えた共有ファイルを利用するデータ処理シ
ステムであり、前記ホスト装置の第1の中央処理装置
は、第1フラグの内容を読み出し可能状態に初期的に設
定し、また前記端末装置の第2の中央処理装置は、第2
フラグの内容を再書き込み禁止状態に初期的に設定し、
前記端末装置から前記ホスト装置に前記第1フラグの内
容の転送要求がされると、前記ホスト装置の第1の中央
処理装置は、前記第1フラグの内容の転送要求を行った
端末装置に対して、対応する前記第1フラグの内容を転
送し、その後、当該第1フラグの内容を読み出し禁止状
態に設定し、一方、前記第1フラグの内容が転送された
端末装置の第2の中央処理装置は、転送された前記第1
フラグの内容が読み出し可能状態を表す場合には、前記
第2フラグが再書き込み可能状態を表すように、また前
記第1フラグの内容が読み出し禁止状態を表す場合に
は、前記第2フラグが再書き込み禁止状態を表すよう
に、第2フラグの内容を前記第2の補助記憶手段に設定
し、前記第2フラグに基づいて前記ホスト装置に共有フ
ァイルの転送要求を行うか否かを決定し、前記第1の中
央処理装置は、転送要求が行われた場合、その転送要求
された共有ファイルを前記端末装置に転送し、前記端末
装置の第2の中央処理装置は、転送された共有ファイル
の内容をファイル記憶手段に記憶し、さらに前記第2フ
ラグに基づいて前記共有ファイル記憶手段に記憶された
共有ファイルに再書き込みするか否かを決定する。According to the second aspect of the present invention, a host device having shared file storage means for storing a plurality of shared files and at least two terminal devices connected to the host device via a communication line are provided. A data processing system using a shared file provided, wherein the host device comprises:
A first central processing unit, a shared file storage unit, and a first flag that stores, for each shared file stored in the shared file storage unit, a first flag indicating whether the file is in a readable state or in a read prohibited state. Auxiliary storage means,
The terminal device includes a second central processing unit, a file storage unit that stores the content of the shared file read from the shared file storage unit of the host device, and the content of the file storage unit stored in the shared file storage unit. A second auxiliary storage means for storing, in the shared file, a second flag indicating whether the file is in a rewritable state or a non-rewritable state, the data processing system using a shared file, First central processing unit of the apparatus
Is initially set to ready read the contents of the first flag, and the second central processing unit of the terminal device, the second
Initially set the contents of the flag to rewrite prohibited state,
Among from the terminal device of the first flag to the host device
When the transfer request of the contents is, the first central processing unit of the host device transfers to the terminal apparatus Tsu line a transfer request of the content of the first flag, the contents of the corresponding first flag and, then, set to disable status reads the contents of the first flag, while the second central processing unit of the terminal apparatus the content of the first flag is transferred, the transferred first
If the content of the flag indicates a readable state,
The second flag indicates a re-writable state, and
When the content of the first flag indicates a read-inhibited state,
Is set so that the second flag indicates a rewrite prohibited state.
In, the contents of the second flag is set to the second auxiliary storage means, on the basis of the second flag to determine the line or Ukaina a transfer request of the shared file to the host device, the first central processing apparatus, if a transfer request is made, and forwards the transfer request, shared file to the terminal device, the second central processing unit of the terminal device, the content of the transferred shared file in the file storage unit stored, to determine whether rewriting to the further second flag shared files stored in the shared file storage means based on the.
【0009】[0009]
【作用】第1の発明においては、端末装置のモード指定
手段により、共有ファイルへの再書き込み可能モードが
指定されたときには、ホスト装置の第1の中央処理装置
は、第1フラグの内容を読み出し可能状態に初期的に設
定し、また端末装置の第2の中央処理装置は、第2フラ
グの内容を再書き込み禁止状態に初期的に設定し、端末
装置からホスト装置に共有ファイルの第1フラグの転送
要求がされると、ホスト装置の第1の中央処理装置は、
第1フラグの内容の転送要求を行った端末装置に対し
て、対応する第1フラグの内容を転送し、その後、当該
第1フラグの内容を読み出し禁止状態に設定し、一方、
第1フラグの内容が転送された端末装置の第2の中央処
理装置は、転送された第1フラグの内容が読み出し可能
状態を表す場合には、第2フラグが再書き込み可能状態
を表すように、また第1フラグの内容が読み出し禁止状
態を表す場合には、第2フラグが再書き込み禁止状態を
表すように、第2フラグの内容を第2の補助記憶手段に
設定し、第2フラグに基づいてホスト装置に共有ファイ
ルの転送要求を行うか否かを決定し、第1の中央処理装
置は、転送要求が行われた場合、その転送要求された共
有ファイルを端末装置に転送し、端末装置の第2の中央
処理装置は、転送された共有ファイルの内容をファイル
記憶手段に記憶し、さらに第2フラグに基づいて共有フ
ァイル記憶手段に記憶された共有ファイルに再書き込み
するか否かを決定する。また、端末装置のモード指定手
段により、共有ファイルへの再書き込み禁止モードが指
定されたときには、端末装置の第2の中央処理装置は、
第2フラグを再書き込み禁止状態に初期的に設定し、ホ
スト装置に共有ファイルの転送要求を行い、ホスト装置
の第1の中央処理装置は、転送要求された共有ファイル
を端末装置に転送し、第2の中央処理装置は、転送され
た共有ファイルの内容をファイル記憶手段に記憶し、第
2フラグに基づき共有ファイルに再書き込みするか否か
を決定する。In the first invention, when the mode in which rewriting to a shared file is possible is designated by the mode designation means of the terminal device, the first central processing unit of the host device reads the contents of the first flag. The terminal is initially set to the enabled state, and the second central processing unit of the terminal device initially sets the content of the second flag to the rewrite-inhibited state, and the first flag of the shared file is transmitted from the terminal device to the host device. When the transfer request is, the first central processing unit of the host device,
The transfer request of the content of the first flag to the terminal apparatus Tsu row, transfers the contents of the corresponding first flag, then set the disabled state reads the contents of the first flag, whereas,
The second central processing unit of the terminal apparatus the content of the first flag has been transferred, the contents of the first flag that is transferred can be read
When the status is indicated, the second flag is set to a re-writable state.
, And the content of the first flag is read-inhibited.
State, the second flag indicates the rewrite prohibition state.
As represented, the contents of the second flag is set to the second auxiliary storage means, based on the second flag to determine the line or Ukaina a transfer request of the shared file to the host device, a first central processing unit , if the transfer request is made, and forwards the transfer request, shared file to the terminal device, the second central processing unit of the terminal device stores the contents of the transferred shared file in the file storage means, further and based on the second flag to determine whether rewriting to the shared file stored in the shared file storage unit. Further, when the mode for prohibiting rewriting to the shared file is designated by the mode designating means of the terminal device, the second central processing unit of the terminal device:
Initially setting the second flag to the rewrite prohibition state, making a transfer request of the shared file to the host device, the first central processing unit of the host device transfers the requested shared file to the terminal device, The second central processing unit stores the content of the transferred shared file in the file storage unit, and determines whether to rewrite the shared file based on the second flag.
【0010】第2の発明においては、ホスト装置の第1
の中央処理装置は、第1フラグの内容を読み出し可能状
態に初期的に設定し、また端末装置の第2の中央処理装
置は、第2フラグの内容を再書き込み禁止状態に初期的
に設定し、端末装置からホスト装置に第1フラグの内容
の転送要求がされると、ホスト装置の第1の中央処理装
置は、第1フラグの内容の転送要求を行った端末装置に
対して、対応する第1フラグの内容を転送し、その後、
当該第1フラグの内容を読み出し禁止状態に設定し、一
方、第1フラグの内容が転送された端末装置の第2の中
央処理装置は、転送された第1フラグの内容が読み出し
可能状態を表す場合には、第2フラグが再書き込み可能
状態を表すように、また第1フラグの内容が読み出し禁
止状態を表す場合には、第2フラグが再書き込み禁止状
態を表すように、第2フラグの内容を第2の補助記憶手
段に設定し、第2のフラグに基づいてホスト装置に共有
ファイルの転送要求を行うか否かを決定し、第1の中央
処理装置は、転送要求が行われた場合、その転送要求さ
れた共有ファイルを端末装置に転送し、端末装置の第2
の中央処理装置は、転送された共有ファイルの内容をフ
ァイル記憶手段に記憶し、さらに第2フラグに基づいて
共有ファイル記憶手段に記憶された共有ファイルに再書
き込みするか否かを決定する。In the second invention, the first of the host devices
Central processing unit is initially set to ready read the contents of the first flag, and the second central processing unit of the terminal device, initially set to the contents of the second flag to re-write protected , when the first flag of the contents <br/> transfer request is from a terminal device to a host device, a first central processing unit of the host device, the terminal device Tsu line a transfer request of the content of the first flag In response, the contents of the corresponding first flag are transferred, and then
Set prohibited state reads the contents of the first flag, One
Write, second central processing unit of the terminal apparatus the content of the first flag is transferred, the contents of the first flag transferred read
When indicating the possible state, the second flag can be rewritten
In order to indicate the status, and the content of the first flag is read prohibited.
In the case of indicating the stop state, the second flag is
To represent the state, the contents of the second flag is set to the second auxiliary storage means, a transfer request of the shared file to the host device determines whether the row Ukaina based on the second flag, the first central When the transfer request is made , the processing device transfers the requested shared file to the terminal device, and the second file of the terminal device
The central processing unit, whether to store the contents of the transferred shared file in the file storage means, to rewrite further based have been <br/> shared file storage means stored shared file to a second flag To determine.
【0011】[0011]
【実施例】以下図面を用いて本発明の実施例を詳細に説
明する。Embodiments of the present invention will be described below in detail with reference to the drawings.
【0012】図2は本発明の一実施例としてホスト装置
と複数の端末装置とを備えたデータ処理システムの構成
を概略的に示すブロック図である。FIG. 2 is a block diagram schematically showing a configuration of a data processing system including a host device and a plurality of terminal devices as one embodiment of the present invention.
【0013】同図に示すように、記憶容量の大きいワー
ドプロセッサ、パソコン等のホスト装置10、さほど大
きな記憶容量を有しない第1の端末装置20、及び同じ
くさほど大きな記憶容量を有しない第2の端末装置30
が通信回線(又は他のデータ伝送手段)40によって相
互にデータ伝送できるように接続されている。なお、図
2の例では2つの端末装置が設けられているが、端末装
置数が2以外のいかなる数であってもよいことは明らか
である。As shown in FIG. 1, a word processor having a large storage capacity, a host device 10 such as a personal computer, a first terminal device 20 having no large storage capacity, and a second terminal having no large storage capacity. Device 30
Are connected so that data can be mutually transmitted by a communication line (or other data transmission means) 40. Although two terminal devices are provided in the example of FIG. 2, it is clear that the number of terminal devices may be any number other than two.
【0014】ホスト装置10は、CPU(中央処理装
置)11と、プログラムが格納されているROM(リー
ドオンリメモリ)12と、キーボード13と、LCD
(液晶表示装置)等によるディスプレイ14と、入出力
インタフェース15と、大量の共有文書F1 、F2 、F
3 、…、Fn 、…を記憶する読み出し及び書き込み可能
なメモリ(RAM)16と、メモリ16の各共有文書F
1 、F2 、F3 、…、Fn、…対応のフラグT1 、
T2 、T3 、…、Tn 、…を記憶する補助記憶部17
と、これらを相互に接続する内部バス18とを備えてい
る。これらフラグT1 、T2 、T3 、…、Tn 、…は、
対応する共有文書F1 、F2 、F3 、…、Fn 、…が、
読み出し可能状態であるか読み出し禁止状態であるかを
それぞれ表す本実施例では1ビットの信号である。補助
記憶部17は、メモリ16の一部として構成してもよい
し別個に設けたレジスタで構成してもよい。The host device 10 includes a CPU (Central Processing Unit) 11, a ROM (Read Only Memory) 12 storing a program, a keyboard 13, and an LCD.
A display 14 according to (liquid crystal display) or the like, and input-output interface 15, a large amount of shared document F 1, F 2, F
3, ..., F n, and read and writable memory (RAM) 16 stores ..., each shared document F of the memory 16
1, F 2, F 3, ..., F n, ... corresponding flag T 1,
Auxiliary storage unit 17 for storing T 2 , T 3 ,..., T n ,.
And an internal bus 18 interconnecting them. These flags T 1 , T 2 , T 3 ,..., T n ,.
The corresponding shared documents F 1 , F 2 , F 3 ,..., F n ,.
In the present embodiment, it is a 1-bit signal indicating whether the state is a readable state or a read-inhibited state. The auxiliary storage unit 17 may be configured as a part of the memory 16 or may be configured by a separately provided register.
【0015】第1の端末装置20及び第2の端末装置3
0は、CPU21及び31と、プログラムが格納されて
いるROM22及び32と、キーボード23及び33
と、LCD(液晶表示装置)等によるディスプレイ24
及び34と、入出力インタフェース25及び35と、ホ
スト装置10からの転送された文書を文書Ft1及びFt2
として記憶する読み出し及び書き込み可能なメモリ(R
AM)26及び36と、メモリ26及び36の文書Ft1
及びFt2のフラグTt1及びTt2を記憶する補助記憶部2
7及び37と、これらを相互に接続する内部バス28及
び38と、フロッピーディスク等の外部記憶装置29a
及び39aの制御部29及び39とをそれぞれ備えてい
る。これらフラグTt1及びTt2は、対応する文書Ft1及
びFt2が、ホスト装置10側へ再書き込み可能状態であ
るか再書き込み禁止状態であるかをそれぞれ表す本実施
例では1ビットの信号である。補助記憶部27及び37
は、それぞれメモリ26及び36の一部として構成して
もよいし別個に設けたレジスタで構成してもよい。First terminal device 20 and second terminal device 3
0 denotes CPUs 21 and 31, ROMs 22 and 32 storing programs, and keyboards 23 and 33.
And a display 24 such as an LCD (liquid crystal display).
, 34, the input / output interfaces 25 and 35, and the documents transferred from the host device 10 into the documents Ft1 and Ft2.
And writable memory (R
AM) 26 and 36 and the document F t1 in the memories 26 and 36
And storing the flag T t1 and T t2 of F t2 auxiliary storage unit 2
7 and 37, internal buses 28 and 38 interconnecting them, and an external storage device 29a such as a floppy disk.
, And 39a, respectively. These flags T t1 and T t2 are 1-bit signals in the present embodiment that indicate whether the corresponding documents F t1 and F t2 are in a rewrite enabled state or a rewrite prohibited state on the host device 10 side. is there. Auxiliary storage units 27 and 37
May be constituted as a part of the memories 26 and 36, respectively, or may be constituted by separately provided registers.
【0016】これら第1の端末装置20及び第2の端末
装置30は、ホスト装置10の共有文書F1 、F2 、F
3 、…、Fn 、…を通信回線40を介してアクセス可能
であり、読み出した共有文書を変更してメモリ17へ再
書き込みしたり又は新たな文書を作成してこれをメモリ
17へ書き込みすることができる。さらに、制御部29
及び39を介し、各装置に固有の外部記憶装置29a及
び39aとの間で文書の転送をそれぞれ行うことができ
る。The first terminal device 20 and the second terminal device 30 communicate with the shared documents F 1 , F 2 , F
3, ..., F n, accessible ... through the communication line 40, by changing the read shared document to write this by creating a re-write or or a new document to the memory 17 to the memory 17 be able to. Further, the control unit 29
And 39, the document can be transferred to and from the external storage devices 29a and 39a unique to each device.
【0017】複数の端末装置のうちの少なくとも1つは
ホスト装置10と同じ機器内に収容されていてもよい。
なお、本実施例では各端末装置が1つの補助記憶部を有
するように説明されているが、複数の文書をホスト装置
10から呼び出しする場合には、補助記憶部はその数に
応じて複数設けられる。At least one of the plurality of terminal devices may be housed in the same device as the host device 10.
In this embodiment, each terminal device is described as having one auxiliary storage unit. However, when a plurality of documents are called from the host device 10, a plurality of auxiliary storage units are provided according to the number. Can be
【0018】図1は第1の端末装置20とホスト装置1
0との間で共有文書の送受を行う場合のフローチャート
であり、以下この図を用いて本実施例の動作を説明す
る。FIG. 1 shows a first terminal device 20 and a host device 1.
FIG. 9 is a flowchart in the case of transmitting and receiving a shared document to and from 0, and the operation of this embodiment will be described below with reference to FIG.
【0019】本実施例では、共有ファイルへの再書き込
みを行うモード(再登録を前提とした動作モード)と、
共有ファイルへの再書き込みを行わないモード(再登録
を前提としない動作モード)という2種類の呼び出しモ
ードがあり、端末装置20のオペレータはどちらのモー
ドで共有ファイルの呼び出しを行うかを指示して実行す
る。In this embodiment, a mode for rewriting a shared file (an operation mode on the premise of re-registration)
There are two types of calling modes: a mode in which rewriting to a shared file is not performed (an operation mode that does not assume re-registration). The operator of the terminal device 20 instructs which mode to call a shared file in. Execute.
【0020】初期状態においては、ホスト装置10側の
補助記憶部17の全てのフラグT1、T2 、T3 、…、
Tn 、…は読み出し可能であることを表す「1」に設定
されており、端末装置20及び30側の全てのフラグT
t1及びTt2は再書き込み禁止であることを表す「0」に
設定されている。In the initial state, all the flags T 1 , T 2 , T 3 ,.
Tn ,... Are set to “1” indicating that reading is possible, and all the flags T on the terminal devices 20 and 30 are set.
t1 and Tt2 are set to "0" indicating that rewriting is prohibited.
【0021】まず、再書き込みを行うモードを指定し、
端末装置20側からホスト装置10の共有文書Fn を読
み出して修正した後、再書き込みを行う場合について説
明する。First, a mode for performing rewriting is specified.
After correcting reads the shared document F n of the host device 10 from the terminal device 20 side will be described when performing rewriting.
【0022】図1のステップS1において、端末装置2
0は、読み出すべき共有文書Fn に対応する補助記憶部
17の内容、即ちフラグTn の内容の転送をホスト装置
10へ要求する。これにより、ホスト装置10側では、
フラグTn の内容をフラグT0 へ複写し(Tn →
T0 )、さらにこのフラグTn を「0」に変化させる
(0→Tn 、ステップS2)。次いでステップS3にお
いて、このフラグT0 の内容を端末装置20へ転送す
る。In step S1 of FIG.
0 requests the host device 10 to transfer the contents of the auxiliary storage unit 17 corresponding to the shared document F n to be read, that is, the contents of the flag T n . Thereby, on the host device 10 side,
The contents of the flag T n are copied to the flag T 0 (T n →
T 0 ), and further changes the flag T n to “0” (0 → T n , step S2). Then, in step S3, it transfers the contents of the flag T 0 to the terminal device 20.
【0023】端末装置20側では、このフラグT0 の内
容を受け取り、フラグTt1として補助記憶部27へ格納
する(ステップS4)。次いでステップS5において、
このフラグTt1の内容が「0」であるかどうか判別す
る。Tt1=0の場合は、共有文書Fn が読み出し禁止で
あるから呼び出し不可としてこの処理を終了する。Tt1
=1の場合は、読み出し可能であるからステップS6へ
進み、共有文書Fn の転送をホスト装置10へ要求す
る。これにより、ホスト装置10側ではこの共有文書F
n を端末装置20へ転送する(ステップS7)。The terminal device 20 receives the contents of the flag T 0 and stores it in the auxiliary storage unit 27 as the flag T t1 (step S 4). Next, in step S5,
It is determined whether or not the content of the flag Tt1 is "0". When T t1 = 0, the shared document Fn is prohibited from being read, so that the calling is not permitted and the process ends. T t1
For = 1, proceeds from a readable to step S6, requests the transfer of the shared document F n to the host device 10. As a result, the shared document F is displayed on the host device 10 side.
n is transferred to the terminal device 20 (step S7).
【0024】端末装置20側では、この文書Fn を受け
取り、文書Ft1としてメモリ26へ格納する(ステップ
S8)。次いでステップS9において、この文書Ft1の
修正、変更、印刷等を行い、次のステップS10では、
端末装置20のオペレータがキーボード23を操作する
ことにより変更後の文書Ft1の再書き込み指示を行う。[0024] In the terminal device 20 side receives the document F n, and stores it as a document F t1 to the memory 26 (step S8). Next, in step S9, the document Ft1 is corrected, changed, printed, and the like. In the next step S10,
The operator of the terminal device 20 operates the keyboard 23 to give an instruction to rewrite the changed document Ft1 .
【0025】ステップS11では、フラグTt1の内容が
「0」であるかどうか判別する。T t1=0の場合は、文
書Ft1が再書き込み禁止であるから登録不可としてこの
処理を終了する。Tt1=1の場合は、再書き込み可能で
あるからステップS12へ進み、フラグTt1及び文書F
t1をホスト装置10へ転送することを要求する。ホスト
装置10側では、対応するフラグTn 及び共有文書Fn
の書き換えを準備する(ステップS13)。そして、端
末装置20はステップS14においてフラグTt1及び文
書Ft1をホスト装置10へ転送し、一方ホスト装置10
側では、送られてきたフラグTt1及び文書Ft1を受け取
りフラグTn 及び共有文書Fn としてメモリ16及び補
助記憶部17へそれぞれ格納する(ステップS15)。
以上でこの処理を終了する。In step S11, the flag Tt1Is
It is determined whether it is "0". T t1If = 0, the sentence
Book Ft1Is not allowed to be registered because rewriting is prohibited.
The process ends. Tt1If = 1, it is rewritable
If so, the process proceeds to step S12, where the flag Tt1And Document F
t1Is transferred to the host device 10. host
On the device 10 side, the corresponding flag TnAnd shared document Fn
Is prepared (step S13). And the end
The terminal device 20 sets the flag T in step S14.t1And sentence
Book Ft1To the host device 10, while the host device 10
On the side, the sent flag Tt1And Document Ft1Receive
Flag TnAnd shared document FnMemory 16 and
Each is stored in the auxiliary storage unit 17 (step S15).
This is the end of the process.
【0026】次に、再書き込みを行わないモードを指定
し、端末装置20側からホスト装置10の共有文書Fn
を読み出す場合について説明する。Next, a mode in which rewriting is not performed is specified, and the shared document F n of the host device 10 is sent from the terminal device 20 side.
Will be described.
【0027】この場合、まずステップS16において端
末装置20のフラグTt1を「0」に設定し、次いでステ
ップS6〜S10の処理を実行し、Tt1=0であること
からステップS11でこの処理を終了する。In this case, first, the flag T t1 of the terminal device 20 is set to “0” in step S16, and then the processing in steps S6 to S10 is executed. Since T t1 = 0, this processing is performed in step S11. finish.
【0028】このように本実施例によれば、再書き込み
を行うモードが指定された場合、ホスト装置10側の読
み出すべき共有文書Fn に対応するフラグTn の内容が
「1」であれば(初期状態では必ず「1」である)、こ
れを「1」から「0」に変え、また端末装置20のフラ
グTt1には読み出し動作を行う前のフラグTn の内容
「1」がそのまま移される。換言すれば、フラグT
t1(初期状態では必ず「0」である)が、「0」から
「1」に変えられる。ホスト装置10側における共有文
書Fn に対応するフラグTn の内容が「1」であれば読
み出しが許可され、「0」の場合は読み出しが許可され
ない。また、端末装置20側におけるフラグTt1の内容
が「1」であれば変更を加えた文書Ft1を文書Fn と同
じ名称でホスト装置10に再登録することが許可され、
「0」の場合は同一名称での再登録が許可されない。According to the present embodiment, if the mode for rewriting is specified, the contents of the flag T n corresponding to the shared document F n to be read with the host device 10 side is "1" (which is always "1" in the initial state), changing it from "1" to "0", and the content "1" in front of the flag T n is the flag T t1 for reading operation of the terminal device 20 as it is Moved. In other words, the flag T
t1 (which is always “0” in the initial state) is changed from “0” to “1”. The content of the flag T n corresponding to the shared document F n in the host device 10 side is allowed read is "1", reading in the case of "0" is not allowed. If the content of the flag T t1 on the terminal device 20 side is “1”, it is permitted to re-register the modified document F t1 with the same name as the document F n in the host device 10,
In the case of "0", re-registration with the same name is not permitted.
【0029】再書き込みを行わないモードが指定された
場合、ホスト装置10側の読み出すべき共有文書Fn に
対応するフラグTn の内容はそのままの状態を維持さ
れ、また端末装置20のフラグTt1は「0」に設定され
る。また、Tt1=0であるかどうか判別し、共有文書F
n が読み出し禁止である場合に呼び出し不可としてこの
処理を終了する処理、即ちステップS5の処理が行われ
ない。従って共有文書Fn に対応するフラグTn の内容
が読み出し禁止の「0」であっても、このモードではそ
の共有文書Fn を読み出すことが可能となる。[0029] If the mode is not performed rewriting is specified, the contents of the flag T n corresponding to the shared document F n to be read with the host device 10 side is maintained intact, also flag T t1 of the terminal device 20 Is set to “0”. Further, it is determined whether or not T t1 = 0, and the shared document F is determined.
If n is prohibited from being read, the process is terminated as a call refusal, that is, the process of step S5 is not performed. Thus even "0" the content of the flag T n is a read prohibited corresponding to shared document F n, in this mode it is possible to read out the shared document F n.
【0030】本実施例によれば、複数の端末装置から同
一の共有文書について再書き込みを行うモードで呼び出
しが行われた場合、最初に呼び出しを行った端末装置
(例えばこれが端末装置20であるとする)のフラグT
t1のみが「1」となり、他の端末装置、例えばこれが端
末装置30のフラグTt2は全て「0」となるので端末装
置20のみが呼び出し可能となる。このように共有文書
を呼び出す時点でその文書が変更できるか否かが明白と
なり無駄な作業が未然に防止される。According to the present embodiment, when a call is made from a plurality of terminal devices in a mode in which the same shared document is rewritten, the terminal device that first makes the call (for example, if this is the terminal device 20). Do) flag T
Only t1 becomes "1", and other terminals, for example, the flag Tt2 of the terminal 30 all become "0", so that only the terminal 20 can be called. In this way, it is clear whether or not the shared document can be changed at the time of calling the shared document, and unnecessary work is prevented.
【0031】図3は本発明の他の実施例における第1の
端末装置20とホスト装置10との間で共有文書の送受
を行う場合のフローチャートである。データ処理システ
ムの構成は、前述の実施例と全く同じである。FIG. 3 is a flow chart in the case of transmitting and receiving a shared document between the first terminal device 20 and the host device 10 according to another embodiment of the present invention. The configuration of the data processing system is exactly the same as in the above-described embodiment.
【0032】本実施例では、最初に呼び出しされた文書
のみが再登録できるように処理される。In the present embodiment, processing is performed so that only the first called document can be re-registered.
【0033】初期状態においては、ホスト装置10側の
補助記憶部17の全てのフラグT1、T2 、T3 、…、
Tn 、…は「1」に設定されており、端末装置20及び
30側の全てのフラグTt1及びTt2は再書き込み禁止で
あることを表す「0」に設定されている。In the initial state, all the flags T 1 , T 2 , T 3 ,.
T n, ... is set to "1" is set to represent that all of the flag T t1 and T t2 of the terminal device 20 and 30 side are re-write inhibit "0".
【0034】端末装置20側からホスト装置10の共有
文書Fn を読み出して修正した後、再書き込みを行う場
合について説明する。[0034] After correcting reads the shared document F n of the host device 10 from the terminal device 20 side will be described when performing rewriting.
【0035】図3のステップS21において、端末装置
20は、読み出すべき共有文書Fnに対応する補助記憶
部17の内容、即ちフラグTn の内容の転送をホスト装
置10へ要求する。これにより、ホスト装置10側で
は、フラグTn の内容をフラグT0 へ複写し(Tn →T
0 )、さらにこのフラグTn を「0」に変化させる(0
→Tn 、ステップS22)。次いでステップS23にお
いて、このフラグT0 の内容を端末装置20へ転送す
る。In step S21 of FIG. 3, the terminal device 20 requests the host device 10 to transfer the contents of the auxiliary storage unit 17 corresponding to the shared document F n to be read, that is, the contents of the flag T n . Thus, the host device 10 side, and copies the contents of the flag T n to the flag T 0 (T n → T
0 ), and further changes the flag Tn to “0” (0
→ T n , step S22). Then, in step S23, to transfer the contents of the flag T 0 to the terminal device 20.
【0036】端末装置20側では、このフラグT0 の内
容を受け取り、フラグTt1として補助記憶部27へ格納
する(ステップS24)。次いでステップS25におい
て、共有文書Fn の転送をホスト装置10へ要求する。
これにより、ホスト装置10側ではこの共有文書Fn を
端末装置20へ転送する(ステップS26)。[0036] In the terminal device 20 side receives the contents of this flag T 0, is stored as a flag T t1 to the auxiliary storage unit 27 (step S24). Then at step S25, it requests the transfer of the shared document F n to the host device 10.
Thus, the host device 10 transfers the shared document Fn to the terminal device 20 (Step S26).
【0037】端末装置20側では、この文書Fn を受け
取り、文書Ft1としてメモリ26へ格納する(ステップ
S27)。次いでステップS28において、この文書F
t1の修正、変更、印刷等を行い、次のステップS29で
は、端末装置20のオペレータがキーボード23を操作
することにより変更後の文書Ft1の再書き込み指示を行
う。[0037] In the terminal device 20 side receives the document F n, and stores it as a document F t1 to the memory 26 (step S27). Next, in step S28, this document F
t1 modifications, changes, performs printing, in the next step S29, the operator of the terminal apparatus 20 performs rewriting instruction document F t1 after change by operating the keyboard 23.
【0038】ステップS30では、フラグTt1の内容が
「0」であるかどうか判別する。Tt1=0の場合は、文
書Ft1が再書き込み禁止であるから登録不可としてこの
処理を終了する。Tt1=1の場合は、再書き込み可能で
あるからステップS31へ進み、フラグTt1及び文書F
t1をホスト装置10へ転送することを要求する。ホスト
装置10側では、対応するフラグTn 及び共有文書Fn
の書き換えを準備する(ステップS32)。そして、端
末装置20はステップS33においてフラグTt1及び文
書Ft1をホスト装置10へ転送し、一方ホスト装置10
側では、送られてきたフラグTt1及び文書Ft1を受け取
りフラグTn 及び共有文書Fn としてメモリ16及び補
助記憶部17へそれぞれ格納する(ステップS34)。
以上でこの処理を終了する。In step S30, it is determined whether the content of the flag Tt1 is "0". If T t1 = 0, the document F t1 is prohibited from being rewritten, so that registration is not possible and the process ends. If T t1 = 1, rewriting is possible, and the process proceeds to step S31, where the flag T t1 and the document F
Request that t1 be transferred to the host device 10. On the host device 10 side, the corresponding flag T n and the shared document F n
Is prepared (step S32). Then, the terminal device 20 transfers the flag Tt1 and the document Ft1 to the host device 10 in step S33, while the host device 10
On the side, respectively stored in the memory 16 and the auxiliary storage unit 17 the flag T t1 and documents F t1 sent as receive flag T n and shared document F n (step S34).
This is the end of the process.
【0039】このように本実施例によれば、ホスト装置
10側の読み出すべき共有文書Fnに対応するフラグT
n の内容が「1」であれば(初期状態では必ず「1」で
ある)、これを「1」から「0」に変え、また端末装置
20のフラグTt1には読み出し動作を行う前のフラグT
n の内容「1」がそのまま移される。換言すれば、フラ
グTt1(初期状態では必ず「0」である)が、「0」か
ら「1」に変えられる。また、読み出すべき共有文書F
n に対応するフラグTn の内容が「0」であれば、これ
を「0」のままとし、また端末装置20のフラグTt1に
はフラグTn の内容「0」がそのまま移される。換言す
れば、フラグTt1(初期状態では必ず「0」である)
が、「0」のままとなる。端末装置20側において、フ
ラグTt1の内容が「1」であれば変更を加えた文書Ft1
を文書Fn と同じ名称でホスト装置10に再登録するこ
とが許可され、「0」の場合は同一名称での再登録が許
可されない。[0039] According to this embodiment, the flag corresponding to the shared document F n to be read with the host device 10 side T
If the content of n is "1" (it is always "1" in the initial state), it is changed from "1" to "0", and the flag Tt1 of the terminal device 20 is set to the value before the read operation is performed. Flag T
The content “1” of n is moved as it is. In other words, the flag T t1 (which is always “0” in the initial state) is changed from “0” to “1”. Also, the shared document F to be read
If the content of the flag T n corresponding to the n is "0", which was kept at "0", and the content of the flag T n "0" it is directly transferred to the flag T t1 of the terminal device 20. In other words, the flag T t1 (always “0” in the initial state)
Remains at “0”. If the content of the flag T t1 is “1” on the terminal device 20 side, the modified document F t1 is added.
Is re-registered in the host device 10 with the same name as the document F n, and if “0”, re-registration with the same name is not permitted.
【0040】その結果、複数の端末装置から同一の共有
文書について呼び出しが行われた場合、最初に呼び出し
を行った端末装置(例えばこれが端末装置20であると
する)のフラグTt1のみが「1」となり、2回目以降の
呼び出しを行った他の端末装置のフラグ、例えば端末装
置30のフラグTt2、は全て「0」となるので端末装置
20のみが再登録可能となる。As a result, when a plurality of terminal devices make a call for the same shared document, only the flag Tt1 of the terminal device that first makes the call (for example, this is the terminal device 20) is set to "1". , And the flags of the other terminal devices that have made the second and subsequent calls, for example, the flag Tt2 of the terminal device 30, all become "0", so that only the terminal device 20 can be re-registered.
【0041】このように最初に呼び出しを行った端末装
置のみから再登録可能となるので信頼性の高いデータ処
理を行うことができる。As described above, re-registration can be performed only from the terminal device that first makes a call, so that highly reliable data processing can be performed.
【0042】[0042]
【発明の効果】以上詳細に説明したように本願の第1の
発明によれば、ホスト装置は、第1の中央処理装置と、
共有ファイル記憶手段と、該共有ファイル記憶手段に記
憶された共有ファイル毎に、読み出し可能状態であるか
読み出し禁止状態であるかを表す第1フラグを記憶する
第1の補助記憶手段とを備え、端末装置は、第2の中央
処理装置と、ホスト装置の共有ファイル記憶手段から読
み出した共有ファイルの内容を記憶するファイル記憶手
段と、該ファイル記憶手段の内容を共有ファイル記憶手
段に記憶された共有ファイルに、再書き込み可能状態で
あるか再書き込み禁止状態であるかを表す第2フラグを
記憶する第2の補助記憶手段と、共有ファイルへの再書
き込み可能モードか再書き込み禁止モードかを指定する
ためのモード指定手段とを備えた共有ファイルを利用す
るデータ処理システムであり、端末装置のモード指定手
段により、共有ファイルへの再書き込み可能モードが指
定されたときには、ホスト装置の第1の中央処理装置
は、第1フラグの内容を読み出し可能状態に初期的に設
定し、また端末装置の第2の中央処理装置は、第2フラ
グの内容を再書き込み禁止状態に初期的に設定し、端末
装置からホスト装置に共有ファイルの第1フラグの転送
要求がされると、ホスト装置の第1の中央処理装置は、
第1フラグの内容の転送要求を行った端末装置に対し
て、対応する第1フラグの内容を転送し、その後、当該
第1フラグの内容を読み出し禁止状態に設定し、一方、
第1フラグの内容が転送された端末装置の第2の中央処
理装置は、転送された第1フラグの内容が読み出し可能
状態を表す場合には、第2フラグが再書き込み可能状態
を表すように、また第1フラグの内容が読み出し禁止状
態を表す場合には、第2フラグが再書き込み禁止状態を
表すように、第2フラグの内容を第2の補助記憶手段に
設定し、第2フラグに基づいてホスト装置に共有ファイ
ルの転送要求を行うか否かを決定し、第1の中央処理装
置は、転送要求が行われた場合、その転送要求された共
有ファイルを端末装置に転送し、端末装置の第2の中央
処理装置は、転送された共有ファイルの内容をファイル
記憶手段に記憶し、さらに第2フラグに基づいて共有フ
ァイル記憶手段に記憶された共有ファイルに再書き込み
するか否かを決定する。As described in detail above, according to the first aspect of the present invention, the host device includes the first central processing unit,
A shared file storage unit, and a first auxiliary storage unit that stores, for each shared file stored in the shared file storage unit, a first flag that indicates whether the file is in a readable state or a read prohibited state, The terminal device includes a second central processing unit, a file storage unit that stores the content of the shared file read from the shared file storage unit of the host device, and a shared storage device that stores the content of the file storage unit in the shared file storage unit. A second auxiliary storage unit that stores a second flag indicating whether the file is in a rewritable state or a rewritable prohibited state, and designates a rewritable mode for the shared file or a rewritable mode. A data processing system that uses a shared file provided with a mode designating means for the terminal device. When rewritable mode to yl is designated, the first central processing unit of the host device, initially set to ready read the contents of the first flag, and the second central processing unit of the terminal device the contents of the second flag is initially set to re-write disable state, when the transfer request of the first flag of the shared file to the host device from the terminal device is the first central processing unit of the host device,
The transfer request of the content of the first flag to the terminal apparatus Tsu row, transfers the contents of the corresponding first flag, then set the disabled state reads the contents of the first flag, whereas,
The second central processing unit of the terminal apparatus the content of the first flag has been transferred, the contents of the first flag that is transferred can be read
When the status is indicated, the second flag is set to a re-writable state.
, And the content of the first flag is read-inhibited.
State, the second flag indicates the rewrite prohibition state.
As represented, the contents of the second flag is set to the second auxiliary storage means, based on the second flag to determine the line or Ukaina a transfer request of the shared file to the host device, a first central processing unit , if the transfer request is made, and forwards the transfer request, shared file to the terminal device, the second central processing unit of the terminal device stores the contents of the transferred shared file in the file storage means, further and based on the second flag to determine whether rewriting to the shared file stored in the shared file storage unit.
【0043】また本願の第2の発明によれば、ホスト装
置は、第1の中央処理装置と、共有ファイル記憶手段
と、該共有ファイル記憶手段に記憶された共有ファイル
毎に、読み出し可能状態であるか読み出し禁止状態であ
るかを表す第1フラグを記憶する第1の補助記憶手段と
を備え、端末装置は、第2の中央処理装置と、ホスト装
置の共有ファイル記憶手段から読み出した共有ファイル
の内容を記憶するファイル記憶手段と、該ファイル記憶
手段の内容を共有ファイル記憶手段に記憶された共有フ
ァイルに、再書き込み可能状態であるか再書き込み禁止
状態であるかを表す第2フラグを記憶する第2の補助記
憶手段とを備えた共有ファイルを利用するデータ処理シ
ステムであり、ホスト装置の第1の中央処理装置は、第
1フラグの内容を読み出し可能状態に初期的に設定し、
また端末装置の第2の中央処理装置は、第2フラグの内
容を再書き込み禁止状態に初期的に設定し、端末装置か
らホスト装置に第1フラグの内容の転送要求がされる
と、ホスト装置の第1の中央処理装置は、第1フラグの
内容の転送要求を行った端末装置に対して、対応する第
1フラグの内容を転送し、その後、当該第1フラグの内
容を読み出し禁止状態に設定し、一方、第1フラグの内
容が転送された端末装置の第2の中央処理装置は、転送
された第1フラグの内容が読み出し可能状態を表す場合
には、第2フラグが再書き込み可能状態を表すように、
また第1フラグの内容が読み出し禁止状態を表す場合に
は、第2フラグが再書き込み禁止状態を表すように、第
2フラグの内容を第2の補助記憶手段に設定し、第2の
フラグに基づいてホスト装置に共有ファイルの転送要求
を行うか否かを決定し、第1の中央処理装置は、転送要
求が行われた場合、その転送要求された共有ファイルを
端末装置に転送し、端末装置の第2の中央処理装置は、
転送された共有ファイルの内容をファイル記憶手段に記
憶し、さらに第2フラグに基づいて共有ファイル記憶手
段に記憶された共有ファイルに再書き込みするか否かを
決定する。Further, according to the second aspect of the present invention, the host device can read the first central processing unit, the shared file storage unit, and the shared file stored in the shared file storage unit in a readable state. A first central storage unit for storing a first flag indicating whether the terminal is in a read-inhibited state or not, and a terminal device comprising: a second central processing unit; and a shared file read from the shared file storage unit of the host device. And a second flag indicating whether the contents of the file storage means are in a rewritable state or a rewrite prohibited state in the shared file stored in the shared file storage means. to a second auxiliary storage means and the data processing system utilizing a shared file with a first central processing unit of the host device, read the contents of the first flag Initially set out possible state,
In addition, the second central processing unit of the terminal device includes the second flag in the second flag .
Description initially set to re-write inhibit state, from the terminal device when the transfer request of the content of the first flag to the host device is a first central processing unit of the host device, the first flag
The contents terminal device Tsu rows transfer request, transfers the contents of the corresponding first flag, then set the disabled state reads the contents of the first flag, whereas, in the first flag
The second central processing unit of the terminal device capacity is transferred, if the contents of the first flag transferred represents a readable state
In order for the second flag to indicate the re-writable state,
Also, when the content of the first flag indicates a read prohibited state,
Corresponds to the second flag so that the second flag indicates the rewrite prohibition state.
2 is set in the second auxiliary storage means,
Based on the flag to determine the line or Ukaina a transfer request of the shared file to the host device, a first central processing unit transfers needed
Request, the shared file requested to be transferred is transferred to the terminal device, and the second central processing unit of the terminal device
Storing the contents of the transferred shared file in the file storage means, for determining whether rewriting in further based have been shared file storage means stored shared file on the second flag.
【0044】従って、読み出し及び書き込み可能な複数
の共有ファイルを利用する場合に、信頼性の高いデータ
処理を行うことができる。Therefore, when using a plurality of readable and writable shared files, highly reliable data processing can be performed.
【図1】本発明の一実施例としてホスト装置と複数の端
末装置とを備えたデータ処理システムの動作を説明する
フローチャートである。FIG. 1 is a flowchart illustrating an operation of a data processing system including a host device and a plurality of terminal devices as one embodiment of the present invention.
【図2】図1のシステムにおける構成を概略的に示すブ
ロック図である。FIG. 2 is a block diagram schematically showing a configuration in the system of FIG. 1;
【図3】本発明の他の実施例としてホスト装置と複数の
端末装置とを備えたデータ処理システムの動作を説明す
るフローチャートである。FIG. 3 is a flowchart illustrating an operation of a data processing system including a host device and a plurality of terminal devices as another embodiment of the present invention.
10 ホスト装置 11、21、31 CPU 12、22、32 ROM 13、23、33 キーボード 14、24、34 ディスプレイ 15、25、35 インタフェース 16、26、36 メモリ 17、27、37 補助記憶部 18、28、38 内部バス 20、30 端末装置 29、39 外部記憶装置制御部 40 通信回線 10 Host device 11, 21, 31 CPU 12, 22, 32 ROM 13, 23, 33 Keyboard 14, 24, 34 Display 15, 25, 35 Interface 16, 26, 36 Memory 17, 27, 37 Auxiliary storage unit 18, 28 , 38 Internal bus 20, 30 Terminal device 29, 39 External storage device controller 40 Communication line
フロントページの続き (56)参考文献 特開 平3−185558(JP,A) 特開 平3−161858(JP,A) 特開 平3−129565(JP,A) 特開 平3−9443(JP,A) 特開 平3−6751(JP,A) 特開 平2−257250(JP,A) 特開 昭63−157250(JP,A) 特開 昭63−156257(JP,A) 特開 昭63−113644(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 15/16 - 15/177 G06F 17/21 - 17/24 G06F 12/00 G06F 13/00 G06F 15/00 Continuation of the front page (56) References JP-A-3-185558 (JP, A) JP-A-3-161858 (JP, A) JP-A-3-129565 (JP, A) JP-A-3-9443 (JP) JP-A-3-67551 (JP, A) JP-A-2-257250 (JP, A) JP-A-63-157250 (JP, A) JP-A-63-156257 (JP, A) JP-A-63-156257 63-113644 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 15/16-15/177 G06F 17/21-17/24 G06F 12/00 G06F 13/00 G06F 15 / 00
Claims (3)
イル記憶手段を有するホスト装置と、該ホスト装置に通
信回線を介して接続された少なくとも2つの端末装置と
を備え、共有ファイル記憶手段に記憶された共有ファイ
ルへの再書き込みが可能な再書き込み可能モードと、共
有ファイル記憶手段に記憶された共有ファイルへの再書
き込みが禁止される再書き込み禁止モードとの二つのモ
ードを有する共有ファイルを利用するデータ処理システ
ムであって、 ホスト装置は、第1の中央処理装置と、共有ファイル記
憶手段と、該共有ファイル記憶手段に記憶された共有フ
ァイル毎に、読み出し可能状態であるか読み出し禁止状
態であるかを表す第1フラグを記憶する第1の補助記憶
手段とを備え、 端末装置は、第2の中央処理装置と、前記ホスト装置の
共有ファイル記憶手段から読み出した共有ファイルの内
容を記憶するファイル記憶手段と、該ファイル記憶手段
の内容を前記共有ファイル記憶手段に記憶された共有フ
ァイルに、再書き込み可能状態であるか再書き込み禁止
状態であるかを表す第2フラグを記憶する第2の補助記
憶手段と、共有ファイルへの再書き込み可能モードか再
書き込み禁止モードかを指定するためのモード指定手段
とを備えた共有ファイルを利用するデータ処理システム
であり、 前記端末装置のモード指定手段により、共有ファイルへ
の再書き込み可能モードが指定されたときには、前記ホ
スト装置の第1の中央処理装置は、第1フラグの内容を
読み出し可能状態に初期的に設定し、また前記端末装置
の第2の中央処理装置は、第2フラグの内容を再書き込
み禁止状態に初期的に設定し、前記端末装置から前記ホ
スト装置に前記第1フラグの内容の転送要求がされる
と、 前記ホスト装置の第1の中央処理装置は、前記第1フラ
グの内容の転送要求を行った端末装置に対して、対応す
る前記第1フラグの内容を転送し、その後、当該第1フ
ラグの内容を読み出し禁止状態に設定し、一方、前記第
1フラグの内容が転送された端末装置の第2の中央処理
装置は、転送された前記第1フラグの内容が読み出し可
能状態を表す場合には、前記第2フラグが再書き込み可
能状態を表すように、また前記第1フラグの内容が読み
出し禁止状態を表す場合には、前記第2フラグが再書き
込み禁止状態を表すように、第2フラグの内容を前記第
2の補助記憶手段に設定し、前記第2フラグに基づいて
前記ホスト装置に共有ファイルの転送要求を行うか否か
を決定し、前記第1の中央処理装置は、転送要求が行わ
れた場合、その転送要求された共有ファイルを前記端末
装置に転送し、前記端末装置の第2の中央処理装置は、
転送された共有ファイルの内容をファイル記憶手段に記
憶し、さらに前記第2フラグに基づいて前記共有ファイ
ル記憶手段に記憶された共有ファイルに再書き込みする
か否かを決定することを特徴とする共有ファイルを利用
するデータ処理システム。1. A host device having shared file storage means for storing a plurality of shared files, and at least two terminal devices connected to the host device via a communication line, wherein the host device is provided with a shared file storage means. A shared file having two modes: a rewritable mode capable of rewriting a shared file that has been rewritten, and a rewrite prohibition mode in which rewriting of a shared file stored in a shared file storage unit is prohibited. In a data processing system, a host device is in a readable state or a read-inhibited state for each of a first central processing unit, a shared file storage unit, and a shared file stored in the shared file storage unit. First auxiliary storage means for storing a first flag indicating whether the first central processing unit has a second central processing unit; File storage means for storing the contents of the shared file read from the shared file storage means of the remote device, and whether or not the contents of the file storage means can be rewritten to the shared file stored in the shared file storage means. A shared file comprising: a second auxiliary storage unit for storing a second flag indicating whether the file is in a write-protected state; The first central processing unit of the host device changes the content of the first flag when a mode in which rewriting to a shared file is possible is designated by the mode designation means of the terminal device. initially set in the read enable state, and the second central processing unit of the terminal device, re-write the contents of the second flag Initially set to look inhibition state, the transfer request of the content of the first flag to the host device from the terminal device is the first central processing unit of the host device, the contents of the first flag respect of the transfer request terminal apparatus Tsu rows, transfer the contents of the corresponding first flag, then set the disabled state reads the contents of the first flag, while the contents of the first flag the second central processing unit of the transferred terminal device, transferred content Readable the first flag
The second flag can be rewritten
And the contents of the first flag are read
When the second flag is rewritten,
The content of the second flag is set in the second auxiliary storage means so as to indicate the loading prohibition state, and based on the second flag,
Line a transfer request of the shared file to the host device Ukainaka
And the first central processing unit determines that the transfer request has been made.
If it forwards the transfer request, shared file to the terminal device, the second central processing unit of the terminal device,
Storing the contents of the transferred shared file in the file storage means, and determining whether to re-write in the shared file storage means the stored shared files have further based on the second flag A data processing system that uses shared files.
ファイルへの再書き込み禁止モードが指定されたときに
は、前記端末装置の第2の中央処理装置が、第2フラグ
を再書き込み禁止状態に初期的に設定し、ホスト装置に
共有ファイルの転送要求を行い、ホスト装置の第1の中
央処理装置は、転送要求された共有ファイルを前記端末
装置に転送し、前記第2の中央処理装置は、転送された
共有ファイルの内容をファイル記憶手段に記憶し、前記
第2フラグに基づき共有ファイルに再書き込みするか否
かを決定することを特徴とする請求項1に記載の共有フ
ァイルを利用するデータ処理システム。2. When a mode for prohibiting rewriting to a shared file is specified by a mode specifying means of the terminal device, a second central processing unit of the terminal device sets a second flag to a rewriting prohibition state in an initial state. , The shared file transfer request is sent to the host device, the first central processing unit of the host device transfers the requested shared file to the terminal device, and the second central processing device transfers the shared file to the terminal device. The data processing using a shared file according to claim 1, wherein the content of the shared file is stored in a file storage unit, and whether to rewrite the shared file is determined based on the second flag. system.
イル記憶手段を有するホスト装置と、該ホスト装置に通
信回線を介して接続された少なくとも2つの端末装置と
を備えた共有ファイルを利用するデータ処理システムで
あって、 ホスト装置は、第1の中央処理装置と、共有ファイル記
憶手段と、該共有ファイル記憶手段に記憶された共有フ
ァイル毎に、読み出し可能状態であるか読み出し禁止状
態であるかを表す第1フラグを記憶する第1の補助記憶
手段とを備え、 端末装置は、第2の中央処理装置と、前記ホスト装置の
共有ファイル記憶手段から読み出した共有ファイルの内
容を記憶するファイル記憶手段と、該ファイル記憶手段
の内容を前記共有ファイル記憶手段に記憶された共有フ
ァイルに、再書き込み可能状態であるか再書き込み禁止
状態であるかを表す第2フラグを記憶する第2の補助記
憶手段とを備えた共有ファイルを利用するデータ処理シ
ステムであり、 前記ホスト装置の第1の中央処理装置は、第1フラグの
内容を読み出し可能状態に初期的に設定し、また前記端
末装置の第2の中央処理装置は、第2フラグの 内容を再
書き込み禁止状態に初期的に設定し、前記端末装置から
前記ホスト装置に前記第1フラグの内容の転送要求がさ
れると、 前記ホスト装置の第1の中央処理装置は、前記第1フラ
グの内容の転送要求を行った端末装置に対して、対応す
る前記第1フラグの内容を転送し、その後、当該第1フ
ラグの内容を読み出し禁止状態に設定し、一方、前記第
1フラグの内容が転送された端末装置の第2の中央処理
装置は、転送された前記第1フラグの内容が読み出し可
能状態を表す場合には、前記第2フラグが再書き込み可
能状態を表すように、また前記第1フラグの内容が読み
出し禁止状態を表す場合には、前記第2フラグが再書き
込み禁止状態を表すように、第2フラグの内容を前記第
2の補助記憶手段に設定し、前記第2フラグに基づいて
前記ホスト装置に共有ファイルの転送要求を行うか否か
を決定し、前記第1の中央処理装置は、転送要求が行わ
れた場合、その転送要求された共有ファイルを前記端末
装置に転送し、前記端末装置の第2の中央処理装置は、
転送された共有ファイルの内容をファイル記憶手段に記
憶し、さらに前記第2フラグに基づいて前記共有ファイ
ル記憶手段に記憶された共有ファイルに再書き込みする
か否かを決定することを特徴とする共有ファイルを利用
するデータ処理システム。3. Data processing using a shared file comprising a host device having shared file storage means for storing a plurality of shared files, and at least two terminal devices connected to the host device via a communication line. In the system, the host device determines whether each of the first central processing unit, the shared file storage unit, and the shared file stored in the shared file storage unit is in a readable state or a read prohibited state. A first central storage device for storing a first flag representing the first flag, and a file storage device for storing contents of the shared file read from the shared file storage device of the host device. Rewriting the contents of the file storage means to the shared file stored in the shared file storage means, A data processing system utilizing a shared file and a second auxiliary storage means for storing a second flag indicating whether a disabled state, the first central processing unit of the host device, the first flag
Initially set state reads the contents, and the second central processing unit of the terminal device, initially sets the contents of the second flag to re-write protected, from the terminal device
Wherein the host transfer request of the content of the first flag device is, the first central processing unit of the host device, to the terminal device Tsu line a transfer request of the content of the first flag, the corresponding Then, the content of the first flag is transferred, and then the content of the first flag is set to the reading prohibited state, while the second central processing unit of the terminal device to which the content of the first flag is transferred is : The contents of the transferred first flag can be read.
The second flag can be rewritten
And the contents of the first flag are read
When the second flag is rewritten,
The content of the second flag is set in the second auxiliary storage means so as to indicate the loading prohibition state, and based on the second flag,
Line a transfer request of the shared file to the host device Ukainaka
And the first central processing unit determines that the transfer request has been made.
If it forwards the transfer request, shared file to the terminal device, the second central processing unit of the terminal device,
Storing the contents of the transferred shared file in the file storage means, and determining whether to re-write in the shared file storage means the stored shared files have further based on the second flag A data processing system that uses shared files.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4016568A JP3043881B2 (en) | 1992-01-31 | 1992-01-31 | Data processing system using shared files |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4016568A JP3043881B2 (en) | 1992-01-31 | 1992-01-31 | Data processing system using shared files |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH05210642A JPH05210642A (en) | 1993-08-20 |
| JP3043881B2 true JP3043881B2 (en) | 2000-05-22 |
Family
ID=11919897
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4016568A Expired - Fee Related JP3043881B2 (en) | 1992-01-31 | 1992-01-31 | Data processing system using shared files |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3043881B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPWO2006038260A1 (en) * | 2004-09-30 | 2008-07-31 | 株式会社ルネサステクノロジ | USB storage system and USB storage device |
-
1992
- 1992-01-31 JP JP4016568A patent/JP3043881B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH05210642A (en) | 1993-08-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0464615B1 (en) | Microcomputer equipped with DMA controller | |
| JP3043881B2 (en) | Data processing system using shared files | |
| JPH04284548A (en) | Data base exclusive controlling system | |
| JP2746189B2 (en) | File access control system | |
| JP2002334048A (en) | Storage subsystem control method and storage subsystem | |
| JPS63311450A (en) | Exclusive control system for file access | |
| JPH08202659A (en) | Shared information processing system | |
| JP3228575B2 (en) | Data communication method | |
| JP3458384B2 (en) | Communication processing method | |
| JP2587468B2 (en) | Lock data setting device | |
| JP3049749B2 (en) | File access restriction processing device | |
| JPS63155243A (en) | File protection processing system | |
| JPH0635747A (en) | Debug support device | |
| JPH11237983A (en) | One-chip microcomputer and entry method for boot area access in this one-chip microcomputer | |
| JP3168845B2 (en) | Digital signal processor | |
| JP3652878B2 (en) | Transaction synchronous replacement method for secondary load modules | |
| JPH03100751A (en) | Input/output processor | |
| JPH0148574B2 (en) | ||
| JPS6054691B2 (en) | Memory protection method for information processing equipment | |
| JPS61105642A (en) | Microcomputer device | |
| JP2710475B2 (en) | Memory control circuit | |
| JPH08235070A (en) | Main memory management method and system | |
| JPS6012668B2 (en) | Direct memory access device interface circuit | |
| JPH0520243A (en) | Data processing system | |
| JPH03256145A (en) | Duplexed file system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |