JPH05120232A - Computer device - Google Patents

Computer device

Info

Publication number
JPH05120232A
JPH05120232A JP3285174A JP28517491A JPH05120232A JP H05120232 A JPH05120232 A JP H05120232A JP 3285174 A JP3285174 A JP 3285174A JP 28517491 A JP28517491 A JP 28517491A JP H05120232 A JPH05120232 A JP H05120232A
Authority
JP
Japan
Prior art keywords
file
session
storage area
temporary file
catalog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP3285174A
Other languages
Japanese (ja)
Inventor
Takeshi Morishige
森茂雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3285174A priority Critical patent/JPH05120232A/en
Publication of JPH05120232A publication Critical patent/JPH05120232A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To automatically remedy and reuse a temporary file in case of a session fault by providing a storage area where the temporary file is registered and specifying the remedy of the temporary file. CONSTITUTION:A storage device 20 is provided with a session control table 3 which holds information secured, session by session, by a time sharing system in session connection mode, a temporary file catalog storage area 4, and a remedy file catalog storage area 5 wherein a remedy catalog is stored. If the session fault occurs, the temporary file remedying means 1 of a central processing unit 10 refers to the session control table 3 to register the temporary file in the remedy catalog storage area 5. Then when a session is reconnected, a remedy file list output means 2 outputs the registered temporary file on a display device 6.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、タイムシェアリング・
システムにおけるセッション障害時の一時ファイル救済
に利用する。本発明は、セッション障害発生時に一時フ
ァイルを自動的に救済することができるコンピュータ装
置に関する。
The present invention relates to time sharing
It is used to rescue temporary files in case of session failure in the system. The present invention relates to a computer device that can automatically rescue a temporary file when a session failure occurs.

【0002】[0002]

【従来の技術】従来、セッション障害時には、それまで
ユーザが使用していた一時ファイルは全て消去されるの
が一般的であった。
2. Description of the Related Art Conventionally, in the event of a session failure, it has been customary to erase all temporary files used by the user.

【0003】[0003]

【発明が解決しようとする課題】上述したように、セッ
ション障害時に一時ファイルを消去する方式では、長時
間処理で作成した一時ファイルが消去されることによ
り、多くのファイル復旧時間を必要とする場合問題があ
った。
As described above, in the method of erasing a temporary file in the event of a session failure, when a temporary file created by a long-time process is erased, which requires a lot of file recovery time. There was a problem.

【0004】本発明はこのような問題を解決するもの
で、セッション障害発生時に一時ファイルを自動的に救
済し、再使用することができる装置を提供することを目
的とする。
The present invention solves such a problem, and an object of the present invention is to provide a device capable of automatically relieving a temporary file and reusing it when a session failure occurs.

【0005】[0005]

【課題を解決するための手段】本発明は、中央処理装置
と、ユーザが使用するプログラムを一時保持する一時フ
ァイルが格納された記憶装置と、ディスプレイ装置を有
する端末とを備えたコンピュータ装置において、前記記
憶装置に、セッション接続時に、タイムシェアリング・
システムによりセッションごとに確保、設定される情報
を保持するセッション管理テーブル、および一時ファイ
ルカタログ格納領域と、タイムシェアリング・システム
生成時に生成される救済ファイルカタログを格納する救
済ファイル格納領域とを設け、前記中央処理装置に、セ
ッション障害が発生したとき、前記セッション管理テー
ブルを参照してあらかじめ指定されたセッションの前記
一時ファイルを前記救済ファイルカタログ格納領域に登
録する一時ファイル救済手段と、セッションが再接続さ
れたとき、そのセッションに関して前記救済ファイルカ
タログ格納領域に登録された一時ファイル一覧を前記デ
ィスプレイ装置に出力する救済ファイル一覧出力手段と
を含むことを特徴とする。
According to the present invention, there is provided a computer device comprising a central processing unit, a storage device in which a temporary file for temporarily holding a program used by a user is stored, and a terminal having a display device, When a session is connected to the storage device, time sharing /
A session management table that retains information set and set for each session by the system, a temporary file catalog storage area, and a relief file storage area that stores a relief file catalog generated at the time sharing system generation are provided. When a session failure occurs in the central processing unit, a temporary file rescue means for registering the temporary file of a session designated in advance in the rescue file catalog storage area with reference to the session management table, and a session reconnection And a relief file list output means for outputting the temporary file list registered in the relief file catalog storage area for the session to the display device.

【0006】前記セッション管理テーブルには、救済要
否表示および前記一時ファイルカタログ格納領域のエン
トリ欄を含み、前記一時ファイルカタログ格納領域に
は、ファイル名およびファイル情報を含み、前記救済フ
ァイルカタログ格納領域には、セッション名、ファイル
名、およびファイル情報を含むことが望ましい。
The session management table includes a repair necessity indication and an entry column of the temporary file catalog storage area, and the temporary file catalog storage area includes a file name and file information. Preferably contains the session name, file name, and file information.

【0007】[0007]

【作用】セッション障害発生時に、あらかじめ指定され
たセッションの一時ファイルを救済ファイルカタログに
登録して救済指定を行い、セッションが再接続されたと
きに、そのセッションに関して救済ファイルカタログに
登録された一時ファイルの一覧をディスプレイ装置に出
力する。
[Function] When a session failure occurs, a temporary file of a session designated in advance is registered in the relief file catalog to specify the relief, and when the session is reconnected, the temporary file registered in the relief file catalog for that session The list of is output to the display device.

【0008】これにより、端末や通信回線の障害により
セッションが切断されたときに、その時点でセッション
から起動されたプログラムが使用していたすべての一時
ファイルを救済することができ、セッション回復時にフ
ァイルを再使用することができる。
Thus, when the session is disconnected due to a failure of the terminal or the communication line, all the temporary files used by the program started from the session at that time can be relieved, and the file can be restored at the time of session recovery. Can be reused.

【0009】[0009]

【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図であ
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0010】本発明実施例装置は、中央処理装置10
と、ユーザが使用するプログラムを一時保持する一時フ
ァイルが格納された記憶装置20と、ディスプレイ装置
6を有する端末30とを備え、記憶装置20に、セッシ
ョン接続時に、タイムシェアリング・システムによりセ
ッションごとに確保、設定される情報を保持するセッシ
ョン管理テーブル3、および一時ファイルカタログ格納
領域4と、タイムシェアリング・システム生成時に生成
される救済ファイルカタログを格納する救済ファイル格
納領域5とを設け、中央処理装置10に、セッション障
害が発生したとき、セッション管理テーブル3を参照し
てあらかじめ指定されたセッションの前記一時ファイル
を救済ファイルカタログ格納領域5に登録する一時ファ
イル救済手段1と、セッションが再接続されたとき、そ
のセッションに関して救済ファイルカタログ格納領域5
に登録された一時ファイル一覧をディスプレイ装置6に
出力する救済ファイル一覧出力手段2とを含み、セッシ
ョン管理テーブル3には、救済要否表示および一時ファ
イルカタログ格納領域4のエントリ欄を含み、一時ファ
イルカタログ格納領域4には、ファイル名およびファイ
ル情報を含み、救済ファイルカタログ格納領域5には、
セッション名、ファイル名、およびファイル情報を含
む。
The apparatus according to the embodiment of the present invention is a central processing unit 10.
And a storage device 20 in which a temporary file for temporarily holding a program used by a user is stored, and a terminal 30 having a display device 6, and when a session is connected to the storage device 20, each session is performed by a time sharing system. A session management table 3 for holding information to be secured and set, a temporary file catalog storage area 4, and a relief file storage area 5 for storing a relief file catalog generated at the time sharing system generation are provided in the center. When a session failure occurs in the processing apparatus 10, the session is reconnected to the temporary file rescue means 1 that refers to the session management table 3 to register the temporary file of the session designated in advance in the rescue file catalog storage area 5. The session, Relief file catalog storage area 5 Te
And a relief file list output means 2 for outputting the temporary file list registered in the display device 6 to the display device 6, and the session management table 3 includes a relief necessity display and an entry column of the temporary file catalog storage area 4, and a temporary file. The catalog storage area 4 contains a file name and file information, and the rescue file catalog storage area 5 contains
Includes session name, file name, and file information.

【0011】セッション管理テーブル3、および一時フ
ァイルカタログ格納領域4には、セッション接続時にタ
イムシェアリング・システムによってセッションごとに
情報が確保、設定される。また、救済ファイルカタログ
格納領域5には、タイムシェアリング・システム生成時
にカタログがシステムに1個生成される。
Information is secured and set in the session management table 3 and the temporary file catalog storage area 4 for each session by the time sharing system when the session is connected. Further, in the rescue file catalog storage area 5, one catalog is generated in the system when the time sharing system is generated.

【0012】次に、本発明実施例の動作について説明す
る。
Next, the operation of the embodiment of the present invention will be described.

【0013】図2は本発明実施例の全体動作の流れを示
す流れ図、図3は本発明実施例における一時ファイル救
済手段の動作の流れを示す流れ図である。一時ファイル
救済手段1は、セッション障害発生時にタイムシェアリ
ング・システムから起動され、障害の発生したセッショ
ンのセッション管理テーブル3の救済要否表示を参照し
救済の要否を判断する(ステップ21)。救済不要であ
れば何もせず処理を終了する。この救済要否表示は、セ
ッション接続時にLOGON処理で設定することができ
るものとする。
FIG. 2 is a flow chart showing the flow of the entire operation of the embodiment of the present invention, and FIG. 3 is a flow chart showing the flow of the operation of the temporary file saving means in the embodiment of the present invention. The temporary file rescue means 1 is started from the time sharing system when a session failure occurs, and refers to the rescue necessity display of the session management table 3 of the session in which the failure has occurred to judge the necessity of the rescue (step 21). If the repair is not necessary, the processing is ended without doing anything. It is assumed that this relief necessity display can be set by the LOGON process when the session is connected.

【0014】救済要否表示が必要であればセッション管
理テーブル3からそのセッションで使用されている一時
ファイルを管理する一時ファイルカタログを一時ファイ
ルカタログ格納領域4から取得する。このカタログの各
エントリは一時ファイルの名称とそのファイルに関する
種々の属性(ファイルが存在する媒体名、ファイルのサ
イズなど)からなり、一時ファイルカタログ4の全てに
そのエントリについて各エントリごとにその内容を読み
取り、システムにひとつ用意された救済ファイルカタロ
グにエントリを確保し、読み取った一時ファイルの情報
を登録する(ステップ22)。
If it is necessary to display the necessity of relief, a temporary file catalog for managing the temporary files used in the session is acquired from the session management table 3 from the temporary file catalog storage area 4. Each entry of this catalog is made up of the name of the temporary file and various attributes related to the file (the name of the medium in which the file exists, the size of the file, etc.). The information is read, the entry is secured in the relief file catalog prepared in the system, and the information of the read temporary file is registered (step 22).

【0015】救済ファイルカタログはシステムにひとつ
であるため、各エントリに登録された一時ファイル情報
には、その一時ファイルが使用されていたセッションの
名称が付与される。なお、救済ファイルカタログ格納領
域5に登録された一時ファイルは、セッションが切断さ
れてもそのファイル実態は消去されることはない。
Since there is only one rescue file catalog in the system, the temporary file information registered in each entry is given the name of the session in which the temporary file was used. Note that the temporary file registered in the relief file catalog storage area 5 is not erased even if the session is disconnected.

【0016】図4は本発明実施例における救済ファイル
一覧出力手段の動作の流れを示す流れ図である。救済フ
ァイル一覧出力手段2は、セッション接続時にタイムシ
ェアリング・システムより起動され、救済ファイルカタ
ログ格納領域5の各エントリを参照し、自分のセッショ
ン名を持つエントリがあるか否か検索し、ある場合にそ
のエントリに登録された一時ファイルに関する情報を読
み出し(ステップ31)、読み出した一時ファイル情報
をファイルごとに見易い形式に編集して、セッションを
接続しているタイムシェアリングのディスプレイ装置6
に出力する(ステップ32)。
FIG. 4 is a flow chart showing the operation flow of the relief file list output means in the embodiment of the present invention. The rescue file list output means 2 is started by the time sharing system at the time of session connection, refers to each entry of the rescue file catalog storage area 5, searches for an entry having its own session name, and if there is, The information about the temporary file registered in the entry is read (step 31), the read temporary file information is edited for each file in a format easy to see, and the time-sharing display device 6 that connects the session is read.
(Step 32).

【0017】このようにして、セッション利用者は端末
のディスプレイ装置6上で、そのセッションに関して直
前のセッション障害発生以前に使用していた一時ファイ
ルのファイル名、媒体情報などの情報を参照することが
でき、タイムシェアリング・システムで提供されている
ファイル操作系のコマンドを使用するなどして、救済さ
れていたファイルを再度使用することができる。
In this manner, the session user can refer to the information such as the file name and the medium information of the temporary file used before the occurrence of the last session failure for the session on the display device 6 of the terminal. It is possible to reuse the rescued file by using a file operation type command provided by the time sharing system.

【0018】[0018]

【発明の効果】以上説明したように本発明によれば、一
時的なファイルであってもセッション障害時に不意に消
去されては困るファイルがある場合に、LOGON時に
一時ファイルの救済指定を行っておくことにより、セッ
ション障害発生時に一時ファイルが自動的に救済され、
セッション回復時に救済されたファイルを再使用するこ
とができる効果がある。
As described above, according to the present invention, even if there is a temporary file which is troubled to be erased unexpectedly at the time of session failure, the temporary file relief designation is performed at the time of LOGON. By doing so, temporary files are automatically saved when a session failure occurs,
There is an effect that the file rescued at the time of session recovery can be reused.

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

【図1】本発明実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明実施例の全体動作の流れを示す流れ図。FIG. 2 is a flowchart showing the flow of the entire operation of the embodiment of the present invention.

【図3】本発明実施例における一時ファイル救済手段の
動作の流れを示す流れ図。
FIG. 3 is a flowchart showing an operation flow of a temporary file saving means in the embodiment of the present invention.

【図4】本発明実施例における救済ファイル一覧出力手
段の動作の流れを示す流れ図。
FIG. 4 is a flowchart showing an operation flow of a relief file list output means in the embodiment of the present invention.

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

1 一時ファイル救済手段 2 救済ファイル一覧出力手段 3 セッション管理テーブル 4 一時ファイルカタログ格納領域 5 救済ファイルカタログ格納領域 6 ディスプレイ装置 1 Temporary File Rescue Means 2 Relief File List Output Means 3 Session Management Table 4 Temporary File Catalog Storage Area 5 Relief File Catalog Storage Area 6 Display Device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と、 ユーザが使用するプログラムを一時保持する一時ファイ
ルが格納された記憶装置と、 ディスプレイ装置を有する端末とを備えたコンピュータ
装置において、 前記記憶装置に、 セッション接続時に、タイムシェアリング・システムに
よりセッションごとに確保、設定される情報を保持する
セッション管理テーブル、および一時ファイルカタログ
格納領域と、 タイムシェアリング・システム生成時に生成される救済
ファイルカタログを格納する救済ファイル格納領域とを
設け、 前記中央処理装置に、 セッション障害が発生したとき、前記セッション管理テ
ーブルを参照してあらかじめ指定されたセッションの前
記一時ファイルを前記救済ファイルカタログ格納領域に
登録する一時ファイル救済手段と、 セッションが再接続されたとき、そのセッションに関し
て前記救済ファイルカタログ格納領域に登録された一時
ファイル一覧を前記ディスプレイ装置に出力する救済フ
ァイル一覧出力手段とを含むことを特徴とするコンピュ
ータ装置。
1. A computer device comprising a central processing unit, a storage device in which a temporary file for temporarily holding a program used by a user is stored, and a terminal having a display device, wherein a session is connected to the storage device. , A session management table that holds information set and set for each session by the time sharing system, a temporary file catalog storage area, and a rescue file storage that stores a rescue file catalog generated when the time sharing system is created And a temporary file rescue means for registering the temporary file of a session designated in advance in the rescue file catalog storage area with reference to the session management table when a session failure occurs in the central processing unit. , Session When down is reconnected, the computer apparatus comprising a relief file list output means for outputting a temporary file list registered in the relief file catalog storage area to the display device for that session.
【請求項2】 前記セッション管理テーブルには、救済
要否表示および前記一時ファイルカタログ格納領域のエ
ントリ欄を含み、 前記一時ファイルカタログ格納領域には、ファイル名お
よびファイル情報を含み、 前記救済ファイルカタログ格納領域には、セッション
名、ファイル名、およびファイル情報を含む請求項1記
載のコンピュータ装置。
2. The session management table includes a rescue necessity display and an entry field of the temporary file catalog storage area, the temporary file catalog storage area includes a file name and file information, and the rescue file catalog The computer device according to claim 1, wherein the storage area includes a session name, a file name, and file information.
JP3285174A 1991-10-30 1991-10-30 Computer device Pending JPH05120232A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3285174A JPH05120232A (en) 1991-10-30 1991-10-30 Computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3285174A JPH05120232A (en) 1991-10-30 1991-10-30 Computer device

Publications (1)

Publication Number Publication Date
JPH05120232A true JPH05120232A (en) 1993-05-18

Family

ID=17688059

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3285174A Pending JPH05120232A (en) 1991-10-30 1991-10-30 Computer device

Country Status (1)

Country Link
JP (1) JPH05120232A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004109518A1 (en) * 2003-06-09 2004-12-16 Fujitsu Limited File switching system and switching method
US7454613B2 (en) 2003-08-18 2008-11-18 Ricoh Company, Ltd. Information processing apparatus, session recovery method, recording medium for storing session recovery program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004109518A1 (en) * 2003-06-09 2004-12-16 Fujitsu Limited File switching system and switching method
US7454613B2 (en) 2003-08-18 2008-11-18 Ricoh Company, Ltd. Information processing apparatus, session recovery method, recording medium for storing session recovery program
US7949763B2 (en) 2003-08-18 2011-05-24 Ricoh Company, Ltd. Information processing apparatus, session recovery method, recording medium for storing session recovery program

Similar Documents

Publication Publication Date Title
US7228544B2 (en) Job processing method, job processing unit, and storage managing system
JP2004227572A (en) Remote data control method
US7281157B2 (en) Method and apparatus for enabling consistent ancillary disk array storage device operations with respect to a main application
JPH11110275A (en) Database system, control method thereof, and information processing apparatus
CN111984731A (en) Data synchronization method, device and storage medium between data warehouses of big data platform
JPH03171310A (en) Personal computer
JP2005209065A (en) Computer system and automatic backup method for the data
JPH05120232A (en) Computer device
JPH1124961A (en) Computer maintenance system
JPH07104991A (en) Software correcting device
JPS6312300B2 (en)
JPH04284558A (en) Log store system for network system
JPH04235655A (en) Peripheral device control method
JPS59125404A (en) Automatic computer programming device
JPH01305442A (en) data processing equipment
JPH0713832A (en) Backup management device
JP3145689B2 (en) Data change history management method
JP3037137B2 (en) Automatic recognition controller for peripheral devices
JPH05313956A (en) Fault restoring system for interactive information processing
JPH07319818A (en) Reprocessing method for on-line application system
JPS6389944A (en) Managing system for file updating history
CN101572618A (en) Configuration system and method of combined network interface
JPH0395642A (en) Logging system
JPH0244441A (en) File saving check system
JPH02308348A (en) Temporary file relieving system