JPS62284440A - Software resource maintenance system for terminal equipment - Google Patents

Software resource maintenance system for terminal equipment

Info

Publication number
JPS62284440A
JPS62284440A JP61126785A JP12678586A JPS62284440A JP S62284440 A JPS62284440 A JP S62284440A JP 61126785 A JP61126785 A JP 61126785A JP 12678586 A JP12678586 A JP 12678586A JP S62284440 A JPS62284440 A JP S62284440A
Authority
JP
Japan
Prior art keywords
file
rewriting
maintenance
storage device
files
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
JP61126785A
Other languages
Japanese (ja)
Inventor
Nobuhiro Shibuya
展太 澁谷
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 JP61126785A priority Critical patent/JPS62284440A/en
Publication of JPS62284440A publication Critical patent/JPS62284440A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To prevent a terminal equipment from the reduction of reliability and to easily and rapidly execute recovery processing by forming maintenance files in an external storage device for the terminal equipment and ding rewriting state indicators to existing files. CONSTITUTION:When a corrected file is sent from a host computer through a line 9, the file is received by a line control part 8 and sent to a central processing unit (CPU) 1. The CPU 1 converts the rewriting state indicators F added to the maintenance files 12 in the external storage device 4 through a read/write control part 3 during rewriting and transfers the received corrected file to the files 12. At the time of normal completion of transfer of the corrected file to the files 12, the CPU 1 changes the indicators F of the files 12 to the rewriting end state. When a rerise command is inputted from a keyboard 7 or the like, the CPU 1 inputs a necessary program file from the device 4 through the control part 3 and develops the contents in a main starage device 2 to start terminal control operation.

Description

【発明の詳細な説明】 3、発明の詳細な説明 〔産業上の利用分野〕 本発明は端末装置のソフトウェア資源保守方式に関し、
特に端末装置の外部記憶装置に格納されたプログラムフ
ァイルやデータファイル等の既存ファイルを、ホストコ
ンピュータから送られてきた修正済ファイルで書換える
ことにより、オンラインでソフトウェア資源の保守を行
なう方式に関する。
[Detailed Description of the Invention] 3. Detailed Description of the Invention [Field of Industrial Application] The present invention relates to a software resource maintenance method for a terminal device,
In particular, the present invention relates to a method for online maintenance of software resources by rewriting existing files such as program files and data files stored in an external storage device of a terminal device with modified files sent from a host computer.

〔従来の技術〕[Conventional technology]

ホストコンピュータに多くの端末装置が接続されて構成
される大規模なオンラインシステムにおいては、端末装
置の動作を既定する外部記憶装置に格納された複数のプ
ログラムファイルやデータファイルの保守を容易にする
為に、保守員が端末装置まで出向いて端末毎に保守作業
をするのではなく、保守必要時にホストコンピュータか
ら回線を使用して修正済のプログラムファイルやプログ
ラムデータを全端末へ送出し、これを受けた端末自身が
該当する既存ファイルの内容をその受は取った修正済フ
ァイルの内容で書換えるといった方式(以下オンライン
保守方式という)が採用されている。
In a large-scale online system consisting of many terminal devices connected to a host computer, this service is used to facilitate the maintenance of multiple program files and data files stored in external storage devices that define the operation of the terminal devices. Instead of having maintenance personnel go to the terminal equipment and perform maintenance work on each terminal, when maintenance is required, the host computer uses a line to send modified program files and program data to all terminals and receive them. A method (hereinafter referred to as an online maintenance method) is adopted in which the terminal itself rewrites the contents of the corresponding existing file with the contents of the corrected file it received.

このような場合、従来は、ホストコンビ二一夕から修正
ファイルが送られてきた時点で、各端末は既存ファイル
の内容を受信した修正済ファイルの内容で直接に書換え
る方式が採用されていた。
In such cases, conventionally, when a modified file was sent from the host company, each terminal would directly rewrite the contents of the existing file with the contents of the received modified file. .

(発明が解決しようとする問題点〕 しかし、上述した従来の方式では、端末装置の外部記憶
装置に格納された既存ファイルを修正済ファイルで直接
に書換える為、その書換え途中に例えば電源断等の事故
が発生すると、既存ファイルが破壊されて異常な内容の
ファイルとなってしまい、既存ファイルの内容および修
正済ファイルの内容の何れも端末装置には正常な内容で
残らないという欠点があった。また、゛従来の方式では
、保守が正常に行なわれたか否か即ち既存ファイルの内
容が修正済ファイルによって正常に置換されたか否かを
検出する機構を有しない為、その後、端末装置を再立上
げすると、上記異常ファイルが主記憶装置等に展開され
て実行されることになり、プログラムの暴走、異常動作
等を招来し、端末装置の信頼性が著しく損なわれるとい
う問題があった。更に、上述したように既存ファイルお
よびこれに対応する修正済ファイルの何れもが正常な内
容で残存しないため、保守員はその端末自身の外部記憶
装置の内容のみを使用して復旧処理を行なうことができ
ず、復旧に長時間を要するという問題もあった。
(Problems to be Solved by the Invention) However, in the conventional method described above, since the existing file stored in the external storage device of the terminal device is directly rewritten with the modified file, there is a problem such as a power failure during the rewriting. When an accident occurs, the existing file is destroyed and becomes a file with abnormal contents, and neither the contents of the existing file nor the contents of the modified file remain in the terminal device as normal contents. In addition, 'conventional methods do not have a mechanism to detect whether maintenance has been performed normally or not, that is, whether or not the contents of an existing file have been successfully replaced with a modified file. When the terminal device is started up, the above-mentioned abnormal file is expanded to the main storage device and executed, causing the program to run out of control, abnormal operation, etc., and the reliability of the terminal device is significantly impaired. As mentioned above, since neither the existing file nor the corresponding modified file remains with normal contents, maintenance personnel can perform the recovery process using only the contents of the terminal's own external storage device. There was also the problem that it took a long time to recover.

なお、上述のような問題を解決する一方式として、外部
記憶装置に全てのファイルについて同一のファイルを2
セント格納するようにし、書換えを一方のファイルに対
して行なうことが考えられるが、通常、端末装置の外部
記憶装置は主記憶装置の容量と同程度の容量しか有しな
いものが多く、外部記憶装置の容量を2倍にすることは
経済的に大変不利である。
Note that one way to solve the above problem is to store two identical files for all files in an external storage device.
It is conceivable to rewrite one of the files by storing it in a central storage format, but normally, the external storage device of the terminal device has a capacity that is only about the same as the main storage device, and the external storage device It is economically disadvantageous to double the capacity of .

本発明はこのような従来の問題点を解決したものであり
、その目的は、経済的な構成により、オンライン保守中
の端末事故による端末装置の信幀性の低下を防止し、且
つ、その後の復旧処理も容易、迅速に行なうことができ
るようにすることにある。
The present invention has solved these conventional problems, and its purpose is to prevent the reliability of the terminal device from decreasing due to a terminal accident during online maintenance, and to prevent the reliability of the terminal device from decreasing due to a terminal accident during online maintenance. The purpose is to enable recovery processing to be performed easily and quickly.

C問題点を解決するための手段〕 本発明は上記目的を達成するために、端末装置の外部記
憶装置に格納された既存ファイルを、ホストコンピュー
タから回線を介して送られてきた修正済ファイルで書換
えることにより、オンラインでソフトウェア資源の保守
を行なう方式において、 前記外部記憶装置に保守用ファイルを設けると共に、前
記既存ファイルに書換え状態指示子を付加しておき、且
つ、 前記ホストコンピュータから修正済ファイルが送られて
きたとき、該修正済ファイルを一旦前記保守用ファイル
に書込み、 該書込みが正常に終了した後、該修正済ファイルで書換
える前記既存ファイルの書換え状態指示子を「書換え中
」に変更して該修正済ファイルの内容で前記既存ファイ
ルの書換えを行ない、該書換えが正常に終了したとき、
前記「書換え中」に変更した書換え指示子を「書換え終
了」に変更するようにし、且つ、 前記外部記憶装置からファイルの内容を読込む際には前
記書換え指示子の内容を判別し、「書換え中」である場
合には該ファイルを異常として検出するように構成する
Means for Solving Problem C] In order to achieve the above object, the present invention replaces an existing file stored in an external storage device of a terminal device with a modified file sent from a host computer via a line. In a method of online maintenance of software resources by rewriting, a maintenance file is provided in the external storage device, a rewrite status indicator is added to the existing file, and the modified file is sent to the host computer. When a file is sent, the modified file is temporarily written to the maintenance file, and after the writing is completed normally, the rewriting status indicator of the existing file to be rewritten with the modified file is set to "Rewriting". and rewrites the existing file with the contents of the modified file, and when the rewriting is completed normally,
The rewriting indicator that has been changed to "rewriting in progress" is changed to "rewriting completed," and when reading the contents of the file from the external storage device, the content of the rewriting indicator is determined and the rewriting indicator is changed to "rewriting completed." If the file is "medium", the file is configured to be detected as abnormal.

〔作用〕 ホストコンピュータから送られてきた修正済ファイルは
、一旦保守用ファイルに格納され、この修正済ファイル
で対応する既存ファイルを書換える際には、前もってそ
の既存ファイルに付加された書換え状態指示子が「書換
え中」に変更され、正常に書換えが終了すると、前記書
換え状態指示子は「書換え終了」に変更される。従って
、若し保守用ファイルへの修正済ファイルの転送中に端
末装置の電源断等が生じても、保守前の既存ファイルの
内容は破壊されないことになり、その内容を使用して端
末装置は一応動作を継続することができ、修正済ファイ
ルで既存ファイルを書換えている最中に電源断等が生じ
ても、既存ファイルの書換え状態指示子が「書換え中」
に保持されたままとなるので、その後の再立上げ時には
異常ファイルと検出され、端末装置のプログラム暴走等
を防止することができ、更に、修正済ファイルの内容が
保守用ファイルに残っていることから、保守員は端末装
置の外部記憶装置の内容のみを使用して復旧処理を行な
うことができる。
[Operation] The modified file sent from the host computer is temporarily stored in a maintenance file, and when the corresponding existing file is rewritten with this modified file, the rewrite status instruction added to the existing file is used in advance. When the child is changed to "rewriting in progress" and the rewriting is completed normally, the rewriting status indicator is changed to "rewriting completed". Therefore, even if the power of the terminal device is cut off while the modified file is being transferred to the maintenance file, the contents of the existing file before maintenance will not be destroyed, and the contents will be used to restore the terminal device. The operation can be continued for a while, and even if the power is cut off while the existing file is being rewritten with the corrected file, the rewriting status indicator of the existing file will be "Rewriting in progress".
Since the file remains retained in the maintenance file, it will be detected as an abnormal file upon subsequent restart, preventing programs from running out of control on the terminal device, and furthermore, the contents of the modified file will remain in the maintenance file. Therefore, maintenance personnel can perform recovery processing using only the contents of the external storage device of the terminal device.

〔実施例〕〔Example〕

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

第1図は本発明の一実施例を適用した端末装置のブ°ロ
ック図であり、中央演算装置1と、主記憶装置2と、異
常検出部13を含む読込み/書込み制御部3と、書換え
状態指示子Fが付加されたプログラムファイル群10.
データファイル群11およびプログラムファイル群10
とデータファイル群11中の最大容量のファイルと等し
いか或いはそれより大きな容量を有する1個の保守用フ
ァイル12を含む外部記憶装置4と、キーボード/ディ
スプレイの制御部5と、ディスプレイ6と、キーボード
7と、回線9を介して図示しないホストコンピュータに
接続された回線制御部8とから構成されている。
FIG. 1 is a block diagram of a terminal device to which an embodiment of the present invention is applied. Program file group 10 to which status indicator F has been added.
Data file group 11 and program file group 10
and an external storage device 4 containing one maintenance file 12 having a capacity equal to or larger than the largest capacity file in the data file group 11, a keyboard/display control unit 5, a display 6, and a keyboard. 7, and a line control section 8 connected to a host computer (not shown) via a line 9.

第2図は回線9を介して図示しないホストコンピュータ
から修正済ファイルが送られてきたときに中央演算装置
1が行なう保守処理の一例を示す流れ図、第3図は端末
装置の再立上げ時に読込み/書込み制御部3が行なう処
理の一例を示す流れ図であり、以下各図を参照して本実
施例の動作を説明する。
FIG. 2 is a flowchart showing an example of the maintenance processing performed by the central processing unit 1 when a modified file is sent from a host computer (not shown) via the line 9, and FIG. 1 is a flowchart showing an example of processing performed by the write control unit 3, and the operation of this embodiment will be described below with reference to each figure.

保守前においては、外部記憶装置4に格納されているプ
ログラムファイル群10およびデータファイル群11の
各ファイル並びに保守用ファイル12に付加された書換
え状態指示子Fは「書換え終了」となっている。
Before maintenance, the rewriting status indicator F added to each file of the program file group 10 and data file group 11 stored in the external storage device 4 and the maintenance file 12 is "rewriting completed."

図示しないホストコンピュータから回線9を介して修正
済ファイルが送られてくると、これは回線制御部8で受
信され、中央演真装Wlに送られる。中央演算装置1は
修正済ファイルを入力すると、保守処理を開始する。
When a modified file is sent from a host computer (not shown) via the line 9, it is received by the line control unit 8 and sent to the central computer Wl. When the central processing unit 1 receives the modified file, it starts maintenance processing.

中央演算装置1は、先ず第2図に示すように、読込み/
書込み制御部3を介して外部記憶袋W4中の保守用ファ
イル12に付加された書換え状態指示子Fを「書換え中
」に変更しくSl)、次に、この保守用ファイル12に
受信した修正済ファイルを転送する(S2)。
First, as shown in FIG. 2, the central processing unit 1 performs reading/
The rewrite status indicator F added to the maintenance file 12 in the external storage bag W4 is changed to "rewriting in progress" via the write control unit 3 (Sl), and then the received modified data is added to the maintenance file 12 in the external storage bag W4. Transfer the file (S2).

上記修正済ファイルの保守用ファイル12への転送が正
常に完了すると、中央演算装置1は、保守用ファイル1
2の書換え状態指示子Fを「書換え終了」に変更しく3
3)、次にこの修正済ファイルの書換え対象となる既存
ファイル(プログラムファイル群10.データファイル
群ll中の一つのファイル)の書換え状態指示子Fを「
書換え中」に変更しくS4)、この書換え対象となる既
存ファイルへ保守用ファイル12の内容を転送する(S
5)。
When the transfer of the modified file to the maintenance file 12 is successfully completed, the central processing unit 1 transfers the modified file to the maintenance file 12.
Change the rewriting status indicator F in 2 to "Rewriting completed" in 3.
3) Next, set the rewriting status indicator F of the existing file (one file in program file group 10. data file group ll) that is to be rewritten with this modified file as "
"Rewriting in progress" (S4), and transfers the contents of the maintenance file 12 to the existing file to be rewritten (S4).
5).

そして、保守用ファイル12による既存ファイルの書換
えが正常に終了すると、その既存ファイルの書換え状態
指示子Fを「書換え終了」に変更する(S6)。
Then, when the rewriting of the existing file by the maintenance file 12 is successfully completed, the rewriting status indicator F of the existing file is changed to "rewriting completed" (S6).

その後、端末操作者によって再立上げ指令がキーボード
7等から入力されると、中央演算装置1は必要なプログ
ラムファイル或いはデータファイルを読込み/書込み制
御部3を介して外部記憶装置4から読込み、その内容を
主記憶装置2上に展開し、端末制御動作を開゛始するこ
とになる。この際、読込み/書込み制御部3では、第3
図に示すように、中央演算装置lから読込みが指示され
ると、異常検出部13によってこの指示されたファイル
の付加された書換え状態指示子Fを読取り(S10)、
この書換え状態指示子Fが「書換え終了」となっている
か否かの判別が行なわれ(Sll)、「書換え終了」と
なっていれば指定されたファイルの内容を読み取って中
央演算装置1に転送するが(312) 、若し「書換え
終了」でなく「書換え中」になっていると、中央演算装
置lに対し書換えエラーを報告する(S13) 、これ
に応答して中央演算装置lは、展開処理を中止し、且つ
例えばディスプレイ6に異常が発生した旨の表示を行な
う。
Thereafter, when the terminal operator inputs a restart command from the keyboard 7 or the like, the central processing unit 1 reads the necessary program file or data file from the external storage device 4 via the read/write control section 3, and stores it. The contents are expanded onto the main storage device 2 and terminal control operations are started. At this time, the read/write control unit 3
As shown in the figure, when reading is instructed from the central processing unit l, the abnormality detection unit 13 reads the rewrite state indicator F added to the instructed file (S10),
It is determined whether this rewriting status indicator F indicates "Rewriting completed" (Sll), and if it indicates "Rewriting completed", the contents of the specified file are read and transferred to the central processing unit 1. However, if it is not "rewriting completed" but "rewriting in progress" (312), a rewriting error is reported to the central processing unit l (S13). In response, the central processing unit l: The expansion process is stopped, and a message indicating that an abnormality has occurred is displayed on the display 6, for example.

以上のような処理過程において、保守用ファイル12へ
の修正済ファイルの転送中に電源断等の障害が発生した
場合、修正済ファイルの内容全てが保守用ファイル12
へ書込まれないことなる。しかし、この場合、その修正
済ファイルが保守対象とする既存ファイルは破壊されず
、且つその書換え状態指示子Fは「書換え終了」となっ
ているので、その後の再立上げ時においては、保守前の
既存ファイルを使用して動作を一応継続することができ
る。
In the process described above, if a failure such as a power outage occurs while the modified file is being transferred to the maintenance file 12, the entire contents of the modified file will be transferred to the maintenance file 12.
will not be written to. However, in this case, the existing file targeted for maintenance by the modified file is not destroyed, and its rewrite status indicator F is set to "Rewrite completed," so when restarting, It is possible to continue operation using the existing file.

また、修正済ファイルの保守用ファイル12への転送は
完了したが、既存ファイルの書換え中に電源断等が生じ
た場合、既存ファイルの内容は破壊されたままとなる。
Further, although the transfer of the modified file to the maintenance file 12 has been completed, if a power outage or the like occurs while the existing file is being rewritten, the contents of the existing file will remain destroyed.

しかし、この場合、その既存ファイルの書換え状態指示
子Fが「書換え中」となっていることから、再立上げ時
には読込み/1込み制御部3のステップ511.313
の処理により、その既存ファイルは異常ファイルとして
検出され、展開処理が中止されるので、端末装置が異常
な振る舞いをすることが防止される。そして、修正済フ
ァイルの内容は保守用ファイル12に残されているので
、例えば保守員がその障害端末に駆けつけたとき、その
保守用ファイル12の内容を事故ファイルへ複写する作
業を行ない、且つ、事故ファイルの書換え状態指示子F
を「書換え終了」に変更することによって、端末装置の
外部記憶装置に保持されたファイル内容だけで復旧並び
に保守を行なうことができる。そして、その後再立上げ
を行なえば、前述のようにしてプログラムとデータが主
記憶装置2上に展開され、端末装置は保守後の状態で正
常に動作することになる。
However, in this case, since the rewrite status indicator F of the existing file is "rewriting in progress," the read/1 read control unit 3 performs steps 511 and 313 when restarting.
As a result of this process, the existing file is detected as an abnormal file and the expansion process is stopped, thereby preventing the terminal device from behaving abnormally. Since the contents of the modified file remain in the maintenance file 12, for example, when a maintenance person rushes to the faulty terminal, he or she can copy the contents of the maintenance file 12 to the accident file, and Accident file rewriting status indicator F
By changing "Rewriting completed" to "Complete rewriting", recovery and maintenance can be performed using only the file contents held in the external storage device of the terminal device. If the terminal device is then restarted, the program and data will be loaded onto the main storage device 2 as described above, and the terminal device will operate normally in the post-maintenance state.

第4図は、外部記憶装置4に格納されたプログラムファ
イル10aを、保守用ファイル12に書込んだ修正済フ
ァイルで書換えているJllヤに、電源断等でオンライ
ン保守処理が異常終了され、その後、再立上げが行なわ
れたときの状態を示す図である。
FIG. 4 shows a computer that is rewriting the program file 10a stored in the external storage device 4 with the corrected file written to the maintenance file 12, when the online maintenance process is abnormally terminated due to a power cut, etc. , is a diagram showing a state when restarting is performed.

この場合、プログラムファイル10aの書換え状態指示
子Fは「書換え中」に保持されていることから、主記憶
装置2へ展開される過程において、読込み/It込み制
御部3でそのことが検出され、プログラムファイル10
aのプログラム10a°の展開が中止される。
In this case, since the rewrite status indicator F of the program file 10a is held as "rewriting", this is detected by the read/It read control unit 3 in the process of being expanded to the main storage device 2. Program file 10
The expansion of the program 10a° of a is stopped.

第5図は第4図と同様な状況が従来方式で起こったとき
の説明図であり、14はプログラムファイル群16およ
びデータファイル群17を有する外部記憶装置、15は
主記憶装置である。従来方式では、プログラムファイル
群16およびデータファイル群17には本発明のような
書換え状態指示子Fは付加されていす、また保守用ファ
イル12も存在せず、更に読込み/書込み制御部3に異
常検出部13のような機構は設けられていない、従って
、例えばプログラムファイル16aの書損え中に障害が
発生すると、そのプログラムファイル16aは破壊され
ているにもかかわらず、その旨が積出されず、再立上げ
時においては、この破壊されたプログラムファイル16
aのプログラム16a°が主記憶装置2に展開されてし
まう、従って、前述したように、端末装置の正常な動作
を保証することができず、また自分自身の外部記憶装置
14の内容だけを使用した保守作業による復旧が不可能
となる。
FIG. 5 is an explanatory diagram when a situation similar to that in FIG. 4 occurs in the conventional system, where 14 is an external storage device having a program file group 16 and a data file group 17, and 15 is a main storage device. In the conventional method, the program file group 16 and the data file group 17 are appended with the rewrite status indicator F as in the present invention, the maintenance file 12 does not exist, and the read/write control unit 3 has an abnormality. A mechanism such as the detection unit 13 is not provided. Therefore, for example, if a failure occurs while writing a program file 16a, a message to that effect will not be sent even though the program file 16a has been destroyed. When restarting, this destroyed program file 16
The program 16a° of a is expanded to the main storage device 2. Therefore, as mentioned above, the normal operation of the terminal device cannot be guaranteed, and only the contents of the own external storage device 14 are used. Restoration through maintenance work will be impossible.

以上本発明の実施例について説明したが、本発明は以上
の実施例にのみ限定されず、その他各種の付加変更が可
能である0例えば、異常検出部13と同等の機能を中央
演算装置1側で行なうように構成しても良い、また、保
守用ファイル12にも書換え状態指示子Fを付加する構
成としたが、これを省略しても良い。
Although the embodiments of the present invention have been described above, the present invention is not limited only to the above embodiments, and various other additions and changes are possible. In addition, although the configuration is such that the rewriting status indicator F is also added to the maintenance file 12, this may be omitted.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明は、端末装置の外部記憶装
置に保守用ファイルを設けるとともに、既存ファイルに
書換え状態指示子を付加する構成とし、且つ、外部記憶
装置からファイルの内容を読込む際には前記書換え指示
子の内容を判別し、「書換え中」である場合にはそのフ
ァイルを異常として検出するようにしておき、ホストコ
ンピュータから送られてきた修正済ファイルを、一旦保
守用ファイルに格納し、この修正済ファイルで対応する
既存ファイルを書換えるようにし、更にその際には、前
もって対応する既存ファイルの書換え状態指示子を「書
換え中Jに変更し、正常に書換えが終了すると、「書換
え終了」に変更するようにしたものであり、以下のよう
な効果を得ることができる。
As explained above, the present invention has a configuration in which a maintenance file is provided in the external storage device of a terminal device, a rewrite status indicator is added to the existing file, and when reading the contents of the file from the external storage device, The contents of the rewriting directive are determined, and if the file is "being rewritten", the file is detected as abnormal, and the modified file sent from the host computer is temporarily saved as a maintenance file. This modified file is then used to rewrite the corresponding existing file, and at that time, the rewrite status indicator of the corresponding existing file is changed to "Rewriting in progress J", and when the rewriting is completed normally, This is changed to "end of rewriting", and the following effects can be obtained.

[11保守用ファイルへの修正済ファイルの書換え中に
端末装置のxi断等が生じた場合、保守前の既存ファイ
ルの内容は破壊されず、且つ、書換え状態指示子は「書
換え終了」となっているので、その内容を使用して端末
装置は一応動作を継続することができる。
[11 If the terminal device is disconnected while a modified file is being rewritten to a maintenance file, the contents of the existing file before maintenance will not be destroyed, and the rewriting status indicator will be set to "Rewriting completed." Therefore, the terminal device can temporarily continue operating using the contents.

(2)修正済ファイルで既存ファイルを書換えている最
中に電源断等が生じた場合、既存ファイルの書換え状態
指示子が「書換え中」に保持されたままとなるので、そ
の後の再立上げ時には異常ファイルと検出され、端末装
置のプログラム暴走等を防止することができる。
(2) If a power outage occurs while an existing file is being rewritten with a corrected file, the rewriting status indicator of the existing file will remain "rewriting", so subsequent restarts will be required. Sometimes it is detected as an abnormal file, and it is possible to prevent programs from running out of control on the terminal device.

(3)  上記(2)の場合、修正済ファイルの内容は
保守用ファイルに残っていることから、保守員は端末装
置の外部記憶装置の内容のみを使用して再保守すること
ができる。
(3) In the case of (2) above, since the contents of the modified file remain in the maintenance file, maintenance personnel can perform re-maintenance using only the contents of the external storage device of the terminal device.

(4)保守用ファイルの容量は、少なくとも既存ファイ
ル中の最大容量のファイル分だけあれば足りるので、全
てのファイルを2セツト用意する方式に比べ、経済的と
なる。
(4) Since the capacity of the maintenance file is sufficient to be at least as large as the maximum capacity of the existing files, this method is more economical than the method of preparing two sets of all files.

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

第1図は本発明を適用した端末装置の実施例のブロック
図、 第2図は回線9を介して図示しないホストコンピュータ
から修正済ファイルが送られてきたときに中央演算装置
1が行なう保守処理の一例を示す流れ図、 第3図は端末装置の再立上げ時に読込み/書込み制御部
3が行なう処理の一例を示す流れ図、第4図は外部記憶
装置4に格納されたプログラムファイル10aを保守用
ファイル12に書込んだ修正済ファイルで書換えている
最中に、[源断等で保守処理が異常終了され、その後、
再立上げが行なわれたときの状態を示す図および、 第5図は第4図と同様な状況が従来方式で起こったとき
の動作説明図である。 図において、1・・・中央演算装置、2・・・主記憶装
置、3・・・読込み/書込み制御部、4・・・外部記憶
装置、5・・・キーボード/ディスプレイの制御部、6
・・・ディスプレイ、7・・・キーボード、8・・・回
線制御部、9・・・図示しないホストコンピュータにつ
ながる回線、lO・・・プログラムファイル群、10a
・・・プログラムファイル、10a° ・・・主記憶装
置2に展開されようとしたプログラムファイル10aの
プログラム、11・・・データファイル群、12・・・
保守用ファイル、13・・・異常検出部、14・・・外
部記憶装置、15・・・主記憶装置、1G・・・プログ
ラムファイル群、16a・・・プログラムファイル、1
6a”・・・主記憶装置15に展開されたプログラムフ
ァイル16aのプログラム、17・・・データファイル
群。 中夫演電衰!のファイル言換え処理例の流れ図第2図
FIG. 1 is a block diagram of an embodiment of a terminal device to which the present invention is applied, and FIG. 2 is a maintenance process performed by the central processing unit 1 when a modified file is sent from a host computer (not shown) via a line 9. FIG. 3 is a flowchart showing an example of the processing performed by the read/write control unit 3 when restarting the terminal device, and FIG. 4 shows how the program file 10a stored in the external storage device 4 is used for maintenance. While rewriting with the corrected file written to file 12, [maintenance processing terminated abnormally due to power cut, etc.]
FIG. 5 is a diagram showing a state when restarting is performed, and an explanatory diagram of the operation when a situation similar to that in FIG. 4 occurs in the conventional system. In the figure, 1... central processing unit, 2... main memory, 3... read/write control section, 4... external storage device, 5... keyboard/display control section, 6
...Display, 7.Keyboard, 8.Line control unit, 9.Line connected to a host computer (not shown), IO.Program file group, 10a.
. . . Program file, 10a° . . . Program of the program file 10a that was about to be expanded to the main storage device 2, 11 . . . Data file group, 12 . . .
Maintenance file, 13... Abnormality detection section, 14... External storage device, 15... Main storage device, 1G... Program file group, 16a... Program file, 1
6a''...Program of the program file 16a developed in the main storage device 15, 17...Data file group. Flowchart of an example of file paraphrase processing of Nakao Endensuke! Fig. 2

Claims (1)

【特許請求の範囲】 端末装置の外部記憶装置に格納された既存ファイルを、
ホストコンピュータから回線を介して送られてきた修正
済ファイルで書換えることにより、オンラインでソフト
ウェア資源の保守を行なう方式において、 前記外部記憶装置に保守用ファイルを設けると共に、前
記既存ファイルに書換え状態指示子を付加しておき、且
つ、 前記ホストコンピュータから修正済ファイルが送られて
きたとき、該修正済ファイルを一旦前記保守用ファイル
に書込み、 該書込みが正常に終了した後、該修正済ファイルで書換
える前記既存ファイルの書換え状態指示子を「書換え中
」に変更して該修正済ファイルの内容で前記既存ファイ
ルの書換えを行ない、該書換えが正常に終了したとき、
前記「書換え中」に変更した書換え指示子を「書換え終
了」に変更するようにし、且つ、 前記外部記憶装置からファイルの内容を読込む際には前
記書換え指示子の内容を判別し、「書換え中」である場
合には該ファイルを異常として検出するようにしたこと
を特徴とする端末装置のソフトウェア資源保守方式。
[Claims] Existing files stored in the external storage device of the terminal device,
In a method of maintaining software resources online by rewriting with a modified file sent from a host computer via a line, a maintenance file is provided in the external storage device and a rewriting status instruction is sent to the existing file. When a child is added and a modified file is sent from the host computer, the modified file is temporarily written to the maintenance file, and after the writing is completed normally, the modified file is When the rewriting status indicator of the existing file to be rewritten is changed to "rewriting" and the existing file is rewritten with the contents of the modified file, and the rewriting is completed normally,
The rewriting indicator that has been changed to "rewriting in progress" is changed to "rewriting completed," and when reading the contents of the file from the external storage device, the content of the rewriting indicator is determined and the rewriting indicator is changed to "rewriting completed." 1. A software resource maintenance method for a terminal device, characterized in that if the file is "medium", the file is detected as abnormal.
JP61126785A 1986-05-31 1986-05-31 Software resource maintenance system for terminal equipment Pending JPS62284440A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61126785A JPS62284440A (en) 1986-05-31 1986-05-31 Software resource maintenance system for terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61126785A JPS62284440A (en) 1986-05-31 1986-05-31 Software resource maintenance system for terminal equipment

Publications (1)

Publication Number Publication Date
JPS62284440A true JPS62284440A (en) 1987-12-10

Family

ID=14943876

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61126785A Pending JPS62284440A (en) 1986-05-31 1986-05-31 Software resource maintenance system for terminal equipment

Country Status (1)

Country Link
JP (1) JPS62284440A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01213735A (en) * 1988-02-22 1989-08-28 Oki Electric Ind Co Ltd Terminal program transmission system
JPH0261750A (en) * 1988-08-26 1990-03-01 Nec Corp File remote maintaining method in on-line system
JPH06348917A (en) * 1993-06-01 1994-12-22 Nhk Spring Co Ltd Device and method for card management

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01213735A (en) * 1988-02-22 1989-08-28 Oki Electric Ind Co Ltd Terminal program transmission system
JPH0261750A (en) * 1988-08-26 1990-03-01 Nec Corp File remote maintaining method in on-line system
JPH06348917A (en) * 1993-06-01 1994-12-22 Nhk Spring Co Ltd Device and method for card management

Similar Documents

Publication Publication Date Title
JPH0950424A (en) Dump sampling device and dump sampling method
JPS62284440A (en) Software resource maintenance system for terminal equipment
JP3231561B2 (en) Backup memory control method
JP2006323494A (en) Failure recovery method and microcomputer
JP2005107819A (en) Fail/safe method for computer network system
JPH052499A (en) Job trouble re-processing system of information processor
JPH01133168A (en) Method for restoring failure of program in on-line terminal equipment
JPH0395634A (en) Restart control system for computer system
JP3054472B2 (en) Fault handling method in multitask system
JPS61101845A (en) Test system of information processor
JPH02196341A (en) Fault restoring system for information processor
JPS61183769A (en) System recovery controlling system
JPH01102658A (en) File write back-up system
JPH0721091A (en) Service interruption processing method for electronic computer
JPH05166070A (en) Pos system
JPH012150A (en) Dump execution control method
JPS6247722A (en) Starting method for terminal equipment
JPH0394352A (en) Data destruction area detecting processing system
JPH01147636A (en) Process retrial system for occurrence of fault
JPH01140344A (en) Information processor
JPS5927355A (en) Information processing system
JPS635779B2 (en)
JPS62133535A (en) Program check point processing system
JPH02280251A (en) System for loading initial program
JPH07295807A (en) Microprogram controller