JPS60181825A - Data processing system - Google Patents

Data processing system

Info

Publication number
JPS60181825A
JPS60181825A JP59037588A JP3758884A JPS60181825A JP S60181825 A JPS60181825 A JP S60181825A JP 59037588 A JP59037588 A JP 59037588A JP 3758884 A JP3758884 A JP 3758884A JP S60181825 A JPS60181825 A JP S60181825A
Authority
JP
Japan
Prior art keywords
disk
power supply
turned
power
reset
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
JP59037588A
Other languages
Japanese (ja)
Inventor
Nobuhito Aoshima
青嶋 信仁
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.)
Tokyo Sanyo Electric Co Ltd
Toshiba TEC Corp
Original Assignee
Tokyo Sanyo Electric Co Ltd
Tokyo Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tokyo Sanyo Electric Co Ltd, Tokyo Electric Co Ltd filed Critical Tokyo Sanyo Electric Co Ltd
Priority to JP59037588A priority Critical patent/JPS60181825A/en
Publication of JPS60181825A publication Critical patent/JPS60181825A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To attain a data processing system capable of reset with a simple operation where a power supply of the disk side is applied again even though an error is produced due to the break of a power supply at the side of a disk device during the system working. CONSTITUTION:If the power supply of a disk device 5 is turned off during the system working, an access permission flag is reset to display a disk breakdown error to a CRT display device 2. Under such conditions, the power supply of the device 5 is turned on. Then a CPU6 of a controller main body 1 reads a volume catalog and a file catalog out of a disk of the device 5 and sets an access permission flag and a catalog read decision flag respectively. In such a way, the data processing system is reset to a state obtained before the power supply of the device 5 is turned off. Therefore the data processed before the power supply is turned off are used as they are to process the subsequent data. In this respect, it is so far needed to start the system again and therefore the data processed before the power supply is turned off are cancelled and wasted. Thus the system can be simply reset just by applying the power supply again even though the power supply of the disk is turned off.

Description

【発明の詳細な説明】 [発明の技術分野] この発明はディスク装置を接続したデータ処理システム
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data processing system to which a disk device is connected.

「発明の技術的背景とその問題点」 従来、ディスク装置を接続したデータ処理システムにお
いては、システムの稼働中にディスク装置側の電源が切
れると制御装置本体側はエラー状態になって礪能が停止
するとともにこの状態でディスク装置側の電源を復活さ
せてもシステムが元に戻らず、システム全体を再スター
トしなければならない問題があった。
"Technical background of the invention and its problems" Conventionally, in a data processing system connected to a disk device, if the power to the disk device is cut off while the system is running, the control device enters an error state and becomes inoperable. There was a problem in that the system did not return to its original state even if the power to the disk device was restored in this state, and the entire system had to be restarted.

[発明の目的] この発明はこのような問題を解決するために為されたも
ので、システムの稼田j中にディスク装置側の電源が切
れてエラー状態となってもディスク側の電源を再投入す
るのみの簡単な操作でシステム復帰ができるデータ処理
システムを提供することを目的とする。
[Purpose of the Invention] This invention was made to solve such problems, and it is possible to restart the power to the disk even if the power to the disk device is cut off during system operation and an error state occurs. It is an object of the present invention to provide a data processing system that can restore the system with a simple operation of just inputting data.

[発明の概要] この発明は、制御装置本体にディスク装置を接続し、こ
のディスク装置のディスクから所定のデータを読取って
前記制御装置本体のプログラムを作動させ、所要のデー
タ処理を行うデータ処理システムにおいて、前記制御装
置本体に、前記ディスク装置の電源状態を検出する手段
と、この検出手段が電源のONからOFF状態への変化
を検出するとりセラ1〜され、かつ電源のOFFからO
N状態への変化を検出してさらにディスク装置のディス
クから前記所定のデータの読込みを行うとセラ1〜され
るアクヒス許可フラグと、前記検出手段が電源のONか
らOFF状態への変化を検出するとディスクダウンのエ
ラー処理を行う手段と、前記検出手段が電源のOFFか
らON状態への変化を検出すると前記ディスク装置、の
ディスクから前記所定のデータを読込む手段とを設けた
ものである。
[Summary of the Invention] The present invention provides a data processing system that connects a disk device to a control device main body, reads predetermined data from the disk of this disk device, runs a program in the control device main body, and performs required data processing. The control device main body includes means for detecting a power state of the disk device, and the detecting means detects a change in power from an ON to an OFF state.
When a change to the N state is detected and the predetermined data is further read from the disk of the disk device, an access permission flag is set to Sera 1, and when the detection means detects a change in the power from the ON state to the OFF state. The apparatus is provided with means for performing disk down error processing, and means for reading the predetermined data from the disk of the disk device when the detecting means detects a change in power from OFF to ON.

[発明の実施例] 以下、この発明の実施例を図面を参照して説明する。[Embodiments of the invention] Embodiments of the present invention will be described below with reference to the drawings.

第1図において1は制御装置本体で、この制御装置本体
1にCRT表示器2、キーボード3、ドツトプリンタ4
、ディスク装置5を接続している。
In FIG. 1, 1 is a control device main body, and this control device main body 1 includes a CRT display 2, a keyboard 3, and a dot printer 4.
, a disk device 5 is connected.

前記制御装置本体1はCPIJ(中央処理装置)6、R
OM(リード・オンリー・メモリ)7、RAM(ランダ
ム・アクセス・メモリ)8、CRI−インターフェース
9、キーボードインターフェース101プリンタインタ
ーフエース11、ディスクインターフェース12を設け
、前記CPU6と前記ROM 7、RA M 8、各イ
ンターフェース9.10111.12とをパスライン及
びコン1〜ロールラインを介して接続している。前記C
RTインターフェース9には前記CRT表示器2が接続
され、前記キーボードインターフェース10にはキーボ
ード3が接続され、前記プリンタインターフェース11
には前記ドツトプリンタ4が接続され、かつ前記ディス
クインターフェース12には前記ディスク装置5が接続
されている。前記RAM8には第2図に示すように前記
ディスク装置5のディスクから所定のデータを読込むと
セットされ、ディスクに対するアクレスを許可する判断
を行わせるためのアクセス許可フラグF1、前記ディス
ク装置5のディスクから所定のデータであるボリューム
カタログ及びファイルカタログが読込まれているか否か
を判[!7i するためのカタログ読込み判断フラグF
2、ディスクエラーの回数をカラン1−するディスクエ
ラー回数カウンタDEC、ディスクからの各ボリューム
のスタートレフター及びエンドセクターを格納するボリ
ュームセクターエリアVSA、各秒文字コードが格納さ
れているキャラクタジェネレータエリアCGA、前記C
RT表示器2への表示ア゛−タを格納するCRTエリア
CAなどか形成されている。
The control device main body 1 includes a CPIJ (central processing unit) 6, R
OM (read only memory) 7, RAM (random access memory) 8, CRI-interface 9, keyboard interface 101, printer interface 11, and disk interface 12 are provided, and the CPU 6, the ROM 7, the RAM 8, Each interface 9.10111.12 is connected via a pass line and control 1 to roll lines. Said C
The CRT display 2 is connected to the RT interface 9, the keyboard 3 is connected to the keyboard interface 10, and the printer interface 11
The dot printer 4 is connected to the dot printer 4, and the disk device 5 is connected to the disk interface 12. As shown in FIG. 2, the RAM 8 includes an access permission flag F1, which is set when predetermined data is read from the disk of the disk device 5, and is used to determine whether access to the disk is permitted; Determine whether the volume catalog and file catalog, which are predetermined data, have been read from [! Catalog reading judgment flag F for 7i
2. A disk error counter DEC that counts the number of disk errors; a volume sector area VSA that stores the start left and end sectors of each volume from the disk; and a character generator area CGA that stores each second character code. , the above C
A CRT area CA for storing display data on the RT display 2 is also formed.

前記CP U 6は前記ROM7のプログラムデータに
よって各部を処理するが1,4特に第3図及び第4図に
示すプログラム処理を行うようになっている。すなわち
、第3図はメイン処理ルーチンで、スター1−がかかる
と先ず、ディスク装置5の電源がONになっているか否
かをチェックする。このとき電源がONになっていれば
アクセス許可フラグF1をセットし、またOFFになっ
ていればアクセス許可フラグF2をリセッ1〜する。続
いてディスクエラー回数カウンタDECをピロクリアす
る。そしてシステム全体がOFFにならない限りディス
クチェックを周期的に行っている。このディスクチェッ
クは第4図に示すように先ず、ディスク装置5の電源が
ONになっているか否かをチェックし、ONになってい
れば続いてアクヒスC1可フラグF1がセットされてい
るか否かをチェックし、セットされていればルーチンを
ディスクエラー回数カウンタDECの内容チェックまで
パスさせる。また、リセッ1〜されていれば続いてカタ
ログ読込み判断フラグF2をチェックし、そのフラグF
2がセラ1−されていればアクセス許可フラグF1をセ
ットしてルーチンをディスクエラー回数カウンタDEC
の内容チェックまでパスさせる。
The CPU 6 processes each section according to the program data in the ROM 7, and in particular, the CPU 6 processes the programs shown in FIGS. 3 and 4. That is, FIG. 3 shows the main processing routine, and when the star 1- is applied, first it is checked whether the power of the disk device 5 is turned on. At this time, if the power is on, the access permission flag F1 is set, and if the power is off, the access permission flag F2 is reset to 1.about. Next, the disk error counter DEC is cleared. Disk checks are periodically performed unless the entire system is turned off. As shown in FIG. 4, this disk check first checks whether the power of the disk device 5 is turned on, and if it is turned on, then whether or not the access C1 enable flag F1 is set. is checked, and if it is set, the routine passes the check of the contents of the disk error counter DEC. In addition, if the reset 1~ has been performed, then the catalog read judgment flag F2 is checked and the flag F
If 2 is set to 1-, the access permission flag F1 is set and the routine is executed by the disk error counter DEC.
Pass the content check.

前記カタログ読込み判断フラグF2がリセットされてい
れば前記ディスク装置5のディスクから制御装置本体1
のプログラムを動かすための所定のデータであるボリュ
ームカタログとファイルカタログとを読込む。でして次
に各ボリュームのスター1〜t?クター及びエンドセク
ターをボリュームレフターエリアVSAに読込んだか否
かをチェックし、読込/υまいればアクセス許可フラグ
F1及びカタログ読込み判断フラグF2をそれぞれセラ
I・し、かつ読込んでな【ノれは前記ディスクエラー回
数カウンタDECを+1するとともにエラー表示をクリ
アする。そしてルーチンをディスクエラー回数カウンタ
DECの内容チェックに移行させる。
If the catalog read judgment flag F2 is reset, the control device main body 1 is read from the disk of the disk device 5.
A volume catalog and a file catalog, which are predetermined data for running the program, are read. So, next are the stars 1 to t for each volume? Check whether the sector and end sector have been read into the volume left area VSA, and if they are read/υ, set the access permission flag F1 and catalog read judgment flag F2, respectively, and read them. The disk error counter DEC is incremented by 1 and the error display is cleared. The routine then moves to checking the contents of the disk error counter DEC.

また、前記ディスク装置5の電源チェックにおいて電源
がOF 、Fのときは先ず、アクセス許可フラグF1か
セットされているか否かをチェックし、セラ]へされて
いればアクセス許可フラグF1をリセツ1〜す゛るとと
もにディスクダウンのエラー表示を行ってルーチンをデ
ィスクエラー回数カウンタDECの内容チェックに移行
させる。また、アクセス許可フラグF1がリセツ1−さ
れているときは直ちにルーチンをディスクエラー回数カ
ウンタDECの内容チェックに移行させる。
In addition, in the power check of the disk device 5, when the power is OFF or F, first it is checked whether the access permission flag F1 is set, and if it is set, the access permission flag F1 is reset. At the same time, an error message indicating that the disk is down is displayed, and the routine shifts to checking the contents of the disk error counter DEC. Further, when the access permission flag F1 is reset to 1-, the routine immediately shifts to checking the contents of the disk error counter DEC.

前記ディスクエラー回数カウンタDECの内容チェック
ではその内容が10を越えると自己のタスクを停止させ
ている。その後約100 m5ecの待ち時間を設()
、その間に他のタスクを動かすようにしている。
When checking the contents of the disk error counter DEC, if the contents exceed 10, the own task is stopped. After that, a waiting time of approximately 100 m5ec will be set ()
, I'm trying to run other tasks in the meantime.

このような構成であれば、例えばシステムの稼働中にデ
ィスク装置5の電源がOFFになるとアクセス許可フラ
グF1がリセットされてCR1表示器2にディスクダウ
ンエラー表示が行われる。
With such a configuration, for example, when the power of the disk device 5 is turned off while the system is operating, the access permission flag F1 is reset and a disk down error is displayed on the CR1 display 2.

またこのときブザーなどを動作さけてもよい。この状態
でディスク装置5の電源をONに復帰させると制御装置
本体1のCPU6はディスク装置5のディスクからボリ
ュームカタログとファイルノJ夕ログを読込んでアクセ
ス許可フラグF1及びカタログ読込み判断フラグF2を
セットする。こうしてシステムをディスク装置5の電源
OFF前の状態に復帰させる。従って、電源がOFFさ
れる前に処理されていたデータはそのまま生かされて以
降のデータ処理が行われる。この点従来はシステムを再
スタートさせなければならず電源のOFF前に処理され
たデータはキャンセルされて無駄となる。このようにデ
ィスクの電源がOFFになってもその電源を再投入する
のみの簡単な操作でシステムを復帰させることができる
Also, at this time, a buzzer or the like may be turned off. When the power of the disk device 5 is turned back on in this state, the CPU 6 of the control device main body 1 reads the volume catalog and file log from the disk of the disk device 5, and sets the access permission flag F1 and the catalog read judgment flag F2. do. In this way, the system is returned to the state before the power of the disk device 5 was turned off. Therefore, the data that was being processed before the power was turned off is used as is for subsequent data processing. In this regard, conventionally, the system had to be restarted, and data processed before the power was turned off would be canceled and wasted. In this way, even if the power to the disk is turned off, the system can be restored by simply turning the power back on.

またこの装置においてはディスク装置5からのボリュー
ムカタログの読出しがディスクチェックのルーチンを1
0回通っても行われない場合には異常ありとして自己の
タスクを停−止させることができる。
In addition, in this device, reading the volume catalog from the disk device 5 runs the disk check routine once.
If the task is not executed even after 0 passes, the task can be stopped as an error has occurred.

[発明の効果] 以上詳述したようにこの発明によれば、システムの稼動
中にディスク装置側の電源が切れてエラー状態となって
もディスク側の電源を再投入するのみの簡単な操作でシ
ステム復帰ができるデータ処理システムを提供できるも
のである。
[Effects of the Invention] As detailed above, according to the present invention, even if the power to the disk device side is turned off during system operation and an error state occurs, the system can be easily operated by simply turning on the power to the disk side again. A data processing system capable of system recovery can be provided.

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

図はこの発明の実施例を示すもので、第1図はブロック
図、第2図はRAMの主なメモリ構成を示す図、第3図
はC、P Llのメイン処理を示す流れ図、第4図はメ
イン処理におけるディスクチェック処理を示す流れ図で
ある。 1・・・制御装置本体、5・・・ディスク装置、6・・
・CPtJ(中央処理装@)、7・・・ROM(リード
・Aンリー・メモリ)、8・・・RAM (ランダム・
アクセス・メモリ)、Fl・・・アクセス許可フラグ、
F2・・・カタログ読込み判断フラグ。 出願人代理人 弁理士 鈴江武彦
The figures show an embodiment of the present invention; FIG. 1 is a block diagram, FIG. 2 is a diagram showing the main memory configuration of RAM, FIG. 3 is a flowchart showing the main processing of C and P Ll, and FIG. The figure is a flowchart showing disk check processing in the main processing. 1... Control device main body, 5... Disk device, 6...
・CPtJ (Central Processing Unit @), 7... ROM (Read Only Memory), 8... RAM (Random
access memory), Fl...access permission flag,
F2: Catalog reading judgment flag. Applicant's agent Patent attorney Takehiko Suzue

Claims (1)

【特許請求の範囲】[Claims] 制御装置本体にディスク装置を接続し、このディスク装
置のテ、rスフから所定のデータを読取って前記制御2
11装買本体のプログラムを作動させ、所要のデータ処
理を行うデータ処理システムにおいて、前記制17II
装置本体に、前記ディスク装置の電源状態を検出する手
段と、この検出手段が電源のONから0「「状態への変
化を検出するとリセッ1〜され、かつ電源のOFFから
ON状態への変化を検出してさらにディスク装置のディ
スクから前記所定のデータの読込みを行うとセットされ
るアクレス許可フラグと、前記検出手段が電源のONか
らOFF状態への変化を検出づるとディスクダウンのエ
ラー処理を行う手段と、前記検出手段が電源のOFFか
らON状態への変化を検出すると前記ディスク装置のデ
ィスクから前記所定のデータを読込む手段とを具備して
なることを特徴とするデータ処理システム。
A disk device is connected to the main body of the control device, and predetermined data is read from the T/R screen of this disk device to control the control unit 2.
11 In a data processing system that operates a program in the equipment itself and performs necessary data processing, the above system 17II is used.
The device body includes means for detecting the power state of the disk device, and this detecting means resets when detecting a change in the power state from 0 to 1, and detects a change from OFF to ON. An access permission flag is set when the predetermined data is read from the disk of the disk device after the detection, and when the detecting means detects a change in power from an ON state to an OFF state, a disk down error process is performed. and means for reading the predetermined data from a disk of the disk device when the detection means detects a change in power from OFF to ON.
JP59037588A 1984-02-29 1984-02-29 Data processing system Pending JPS60181825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59037588A JPS60181825A (en) 1984-02-29 1984-02-29 Data processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59037588A JPS60181825A (en) 1984-02-29 1984-02-29 Data processing system

Publications (1)

Publication Number Publication Date
JPS60181825A true JPS60181825A (en) 1985-09-17

Family

ID=12501693

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59037588A Pending JPS60181825A (en) 1984-02-29 1984-02-29 Data processing system

Country Status (1)

Country Link
JP (1) JPS60181825A (en)

Similar Documents

Publication Publication Date Title
JPS60181825A (en) Data processing system
JPH1091475A (en) Fault restoration device, fault restoration method and program medium for fault restoration
JP3317361B2 (en) Battery backup control method for memory
JPH05158804A (en) Ram checking method
JP2635777B2 (en) Programmable controller
JPS61141047A (en) Saving system of trouble information
KR910010317A (en) A reset control system and method for performing a resume processing while checking the operation mode of the CPU
JPS62284440A (en) Software resource maintenance system for terminal equipment
JPH09204205A (en) Program control system
JP3494524B2 (en) Rasterizer error check method and error handling method
JP2536386B2 (en) Online information processing device
JP2816232B2 (en) Document editing and printing device
JPH01162094A (en) Key telephone system
JPS63228232A (en) Abnormality of program detection system
JPS63109549A (en) For finding system memory destruction of data processing system
JPH05134888A (en) Information processor
JPH03102534A (en) Automatic fault recovering system
JPS6125250A (en) Fault recovery method of information processor
JPH06180643A (en) Version check system
JPS6156540B2 (en)
JPH035856A (en) Monitoring system for memory content holding function
JPS62100843A (en) Test method for information processor
JPH0217556A (en) Memory initializing system
JPH04195235A (en) Read-only memory circuit
JPS63109550A (en) Starting system for memory damp program of information processing unit