JPH0228842A - Error recover procedures announcement processing system - Google Patents

Error recover procedures announcement processing system

Info

Publication number
JPH0228842A
JPH0228842A JP63179992A JP17999288A JPH0228842A JP H0228842 A JPH0228842 A JP H0228842A JP 63179992 A JP63179992 A JP 63179992A JP 17999288 A JP17999288 A JP 17999288A JP H0228842 A JPH0228842 A JP H0228842A
Authority
JP
Japan
Prior art keywords
input
output device
sense
information
error
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63179992A
Other languages
Japanese (ja)
Other versions
JPH0833840B2 (en
Inventor
Taro Saito
斉藤 太郎
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63179992A priority Critical patent/JPH0833840B2/en
Publication of JPH0228842A publication Critical patent/JPH0228842A/en
Publication of JPH0833840B2 publication Critical patent/JPH0833840B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To determine processing without being conscious of the type of an input and output device for a host system by unifying the announcing method of recovery procedures in each input and output device. CONSTITUTION:For example, when the input and output device is a printer, a host system 1 issues a write command. When an input and output device 2 finishes the processing to correspond to the command, the input and output device 2 announces end information, which indicate normality/abnormality to the host system 1 with interruption. In the case of abnormal end, the host processor 1 issues a sense command 3 and the input and output device 2 announces sense information 4. The host processor 1 analyzes these sense information 4, however, information 5 to announce an error retry method are included into a sense byte 11 in the sense information.

Description

【発明の詳細な説明】 〔概要〕 ホスト・システムからのセンス処理に対応して入出力装
置がセンス情報を返送する入出力処理システムにおける
エラー回復手順通知処理方式に関し。
DETAILED DESCRIPTION OF THE INVENTION [Summary] This invention relates to an error recovery procedure notification processing method in an input/output processing system in which an input/output device returns sense information in response to sense processing from a host system.

エラー回復手順を入出力装置側からホスト・システム側
に通知できるようにすることを目的とし。
The purpose is to enable error recovery procedures to be notified from the input/output device side to the host system side.

入出力装置側がセンス情報中に上記エラー回復手順に関
する情報を含めるよう構成する。
The input/output device side is configured to include information regarding the error recovery procedure in the sense information.

〔産業上の利用分野〕[Industrial application field]

本発明は、ホスト・システムからのセンス処理に対応し
て入出力装置がセンス情報を返送する入出力処理システ
ムにおけるエラー回復手順通知処理方式に関する。
The present invention relates to an error recovery procedure notification processing method in an input/output processing system in which an input/output device returns sense information in response to sense processing from a host system.

入出力装置にエラーが生じた場合における回復手順を如
何に見出すかが問題となる。
The problem is how to find a recovery procedure when an error occurs in an input/output device.

〔従来の技術〕[Conventional technology]

従来から、入出力処理システムにおいては、ホスト・シ
ステムと入出力装置との間で次の如き処理が行われてい
る。即ち (11ボスト・システムが例えばライト・コマンドを発
したとすると (2)入出力装置側で当該コマンドを実行し、当該コマ
ンドに対応する処理が終了したことをホスト・システム
に通知する。このとき、当該終了が正常終了か異常終了
かが示される。
Conventionally, in an input/output processing system, the following processing has been performed between a host system and an input/output device. In other words, (11) If the host system issues, for example, a write command, (2) the input/output device executes the command and notifies the host system that the processing corresponding to the command has ended. , indicates whether the termination is normal or abnormal.

(3)異常終了の場合には、ホスト・システムはセンス
・コマンドを発し。
(3) In case of abnormal termination, the host system issues a sense command.

(4)入出力装置側では、先の異常発生に対応して。(4) On the input/output device side, in response to the previous abnormality occurrence.

例えば入出力装置がプリンタであった場合では「用紙ジ
ャムが発生した」などを示すエラー・コードを、センス
情報内に含めて、ポスト・システムに通知する。
For example, if the input/output device is a printer, an error code indicating ``a paper jam has occurred'' is included in the sense information and notified to the post system.

(5)  ホスト・システムにおいては、上記エラー・
コードを含むセンス情報を解析し2回復手順を見出゛す
(5) In the host system, the above error/
Analyze the sense information including the code and find the recovery procedure.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記解析に当たっては、ホスト・システムにおけるオペ
レーティング・システムが介在し、自動的にエラー回復
を試みるか、オペレータに対して如何なる介入操作を要
求するかを決定する。このために、ホスト・システムに
おいては、接続可能な入出力装置毎に、センス情報を解
析する解析処理プログラムが必要であった。また解析プ
ログラムを作成するためには、対象入出力装置の特性を
詳細に調べる手間がかかる上に、′通常は装置設計者と
は別の人が作成することになるために、インタフェース
・ミスなどが発生する余地が生じる。
In the above analysis, the operating system in the host system intervenes and decides whether to automatically attempt error recovery or what kind of intervention operation should be requested from the operator. For this reason, the host system requires an analysis processing program that analyzes sense information for each connectable input/output device. In addition, creating an analysis program requires time and effort to investigate the characteristics of the target input/output device in detail, and since it is usually created by a person other than the device designer, there is a risk of interface errors, etc. There is room for this to occur.

本発明は、エラー回復手順を入出力装置側からホスト・
システム側に通知できるようにすることを目的としてい
る。
The present invention performs error recovery procedures from the input/output device side to the host computer.
The purpose is to be able to notify the system side.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は本発明の原理構成図を示す。図中の符号1はホ
スト・システム、2は入出力装置、3はセンス・コマン
ド(またはセンス処理)、4はセンス情報、5はエラー
・リトライ方法を通知する情報を表している。
FIG. 1 shows a basic configuration diagram of the present invention. In the figure, reference numeral 1 represents a host system, 2 represents an input/output device, 3 represents a sense command (or sense processing), 4 represents sense information, and 5 represents information for notifying an error retry method.

センス情報4の中には、従来の通りに図示しないエラー
・コードがセンス・バイト9に記述されているが1本発
明の場合にはあわせてセンス・バイト11に図示の如き
情報5が記述されている。
In the sense information 4, an error code (not shown) is written in sense byte 9 as in the conventional case, but in the case of the present invention, information 5 as shown in the figure is also written in sense byte 11. ing.

即ち2例えばセンス・バイト11のビット位置3に論理
「1」が立っていると、ホスト・システム1は「エラー
の発生したコマンドから再発行すべきこと」を知らされ
る。
That is, for example, if logic "1" is set in bit position 3 of sense byte 11, host system 1 is informed that "the command in which the error occurred should be reissued."

(作用〕 金入出力装置が例えばプリンタであるとした場合におい
て、ホスト・システム1がライト・コマンドを発行した
とする。入出力装置2が当該コマンドに対応した処理を
終了すると、入出力装置2は、正常/異常を指示した終
了通知を割り込みによって、ホスト・システム1に通知
する。異常終了であった場合には、ホスト・プロセッサ
lはセンス・コマンド3を発行し、入出力装置2はセン
ス情報4を通知する。ホスト・プロセッサ1は当該セン
ス情報4を解析するが3本発明の場合にはセンス情報4
中の例えばセンス・バイト11において、エラー・リト
ライ方法を通知する情報5を含ませておくようにする。
(Operation) Suppose that the money input/output device is a printer, for example, and the host system 1 issues a write command.When the input/output device 2 finishes processing corresponding to the command, the input/output device 2 uses an interrupt to notify the host system 1 of a termination notification indicating normal/abnormal termination.If the termination is abnormal, the host processor 1 issues a sense command 3, and the input/output device 2 issues a sense command 3. Information 4 is notified.The host processor 1 analyzes the sense information 4, but in the case of the present invention, the host processor 1 analyzes the sense information 4.
For example, in the sense byte 11, information 5 notifying an error retry method is included.

このようにすることによって、即ち1回復手順の通知方
法を入出力装置ごとに統一することによって、ホスト・
システム1は入出力装置の種類を意識することなく処理
を決定することができる。
By doing this, in other words, by unifying the notification method of one recovery procedure for each input/output device, the host
The system 1 can determine processing without being aware of the type of input/output device.

またオペレーティング・システムが、再試行による回復
を行う場合にも、再試行の方法や回数などを装置側から
指定することができる。更にオペレータによる介入が必
要な場合でも、エラーの内容と回復の手順を適切に通知
できる。
Furthermore, when the operating system performs recovery by retrying, the method and number of retries can be specified from the device side. Furthermore, even if operator intervention is required, the details of the error and recovery procedures can be appropriately notified.

換言すれば、従来の場合には、入出力装置の状態を示す
だけのはずの情報を、ホスト・システムの処理の判断の
基準として使っていたのとくらべ処理方法そのものを通
知できる。
In other words, the processing method itself can be notified, compared to the conventional case where information that would only indicate the status of the input/output device was used as a criterion for determining the host system's processing.

こ冥流側〕 第2[メ1はセンス情報の内容を示すものでありハイド
11−が未発明において付加されたものである。他のハ
イドについては従来のものと変わりはない。
This undercurrent side] The second [Me1] indicates the content of the sense information, and was added before Hyde 11- was invented. Other hides are the same as conventional ones.

第3閏は今人事象発生時のエラー・コードを示すもので
あり、第2図図示の[ハイド9Jに関するものである。
The third jump indicates an error code when the current event occurs, and is related to [Hyde 9J shown in FIG. 2].

例えばコード、t OOJの場合には「電源が投入され
ていないヨごとを意味している。
For example, in the case of the code tOOJ, it means ``the power is not turned on''.

第4図は入出力装置における今人事象(i nterv
ention Required )センス作成フロー
を示している。
Figure 4 shows the current event (interv) in the input/output device.
(Required) Sense creation flow is shown.

センス作成に当たって (1)  メカ部分の電源が投入されているかチエツク
さ71.(処理■)、投入されていない場合には。
When creating a sense (1) Check that the power to the mechanical part is turned on71. (Processing■), if it has not been input.

センス・ハイド9をCo o4としかつセンス・ハイド
11で#5ビットをfliとする。即ち。
Set sense hide 9 to Co o4 and set #5 bit to fli in sense hide 11. That is.

第3図および第1図を参照すると判る如く「電源が投入
されてない。エラーの発生したファイルの先頭から再発
行する」旨が通知される。
As can be seen from FIG. 3 and FIG. 1, the message "The power is not turned on. The file in which the error occurred will be reissued from the beginning" is notified.

(2)処理■がYesであった場合には処理■に進む。(2) If the result of process (2) is Yes, proceed to process (2).

そしてYesの場合には、「ストップ・キーが押された
。エラーの発生したコマンドから再発行する」旨が通知
される。
If the answer is Yes, a notification is sent to the effect that "the stop key has been pressed. The command in which the error occurred will be reissued."

■ 処理■がNOであった場合には、処理■に進む。そ
してYesの場合には、−キャンセル・キーが押された
。プリンタのキャンセル・キーで印刷の中止が指示され
た、旨が通知される。
■ If the answer to process ■ is NO, proceed to process ■. In the case of Yes, the -cancel key was pressed. You will be notified that the printer's cancel key has been used to cancel printing.

(4)処理■がNoであった場合には、処理■に進む。(4) If the result of process (■) is No, proceed to process (2).

そしてNOの場合には処理■に進み、そこでYesの場
合には[用紙ジャムが発生した。エラーの発生したペー
ジの先頭から再発行する」旨が通知される。
If the answer is NO, the process proceeds to process (2), and if the answer is Yes, a paper jam has occurred. You will be notified that the page will be republished from the top of the page where the error occurred.

(5)処理■がYesの場合で処理■がYesの場合に
は÷−用紙がセットさ2″I7ていない。エラーの発生
したページの先頭から再発行するヨ旨が通知される。
(5) If the process (2) is Yes and the process (2) is Yes, ÷-paper is not set 2''I7.You will be notified to reissue from the top of the page where the error occurred.

(6)処理■がYesの場合で処理■がNoでかつ処理
■がNoの場合にも、上記第(5)項と同じ内容が通知
される。
(6) If the process (2) is Yes, the process (2) is No, and the process (2) is No, the same content as in the above item (5) is notified.

(7)処理■がYesの場合で処理■がNOでかつ処理
■がYesの場合には「用紙がセントされていない。エ
ラーの発生したコマンドから再発行する」旨が通知され
る。
(7) If the process (2) is Yes, the process (2) is NO, and the process (2) is Yes, a notification will be sent to the effect that ``The paper has not been sent.The command in which the error occurred will be reissued.''

第5図はエラーが発生したライト・コマンドを再実行す
る態様を示している。例えばプリンタの電源が最初から
投入されていないときなど、ライト・コマンドが実行さ
れる前にエラーが検出された場合に対応している。図の
左はソフトウェアの処理を表し、右はプリンタの処理を
表している。
FIG. 5 shows a mode in which a write command in which an error has occurred is re-executed. This corresponds to cases where an error is detected before the write command is executed, such as when the printer is not powered on from the beginning. The left side of the figure represents software processing, and the right side represents printer processing.

図示の場合には、電源オン割り込みがあったことに対応
してWRITEコマンドが再発行される。
In the illustrated case, the WRITE command is reissued in response to a power-on interrupt.

第6図はエラーが発生した部分から印刷を再開する態様
を示している。例えばプリンタが印刷処理を行っている
途中でストップさせた場合などでは、プリンタをスター
トしたときその位置から再開できることを通知する場合
に対応している。図示の場合には、プリンタ・スタート
割り込みに対応してRE S UMEコマンドが発行さ
れる。
FIG. 6 shows a mode in which printing is restarted from the part where an error has occurred. For example, if the printer is stopped while printing is in progress, it is possible to notify that the printer can be restarted from that position when the printer is started. In the illustrated case, a RE S UME command is issued in response to a printer start interrupt.

第7図はエラーが発生したページから印刷を再開する態
様を示している。例えば用紙ジャムが発生した場合など
では、ページの先頭から再開できることを通知する場合
に対応している。図示の場合には、スタート割り込みに
対応してRETRYコマンドが発行される。
FIG. 7 shows a mode in which printing is resumed from the page where an error has occurred. For example, in the event of a paper jam, it is possible to notify that the page can be restarted from the beginning. In the illustrated case, a RETRY command is issued in response to a start interrupt.

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

第り図は本発明の原理構成図、第2図はセンス情報の内
容、第3図は今人事象発生時のエラー・コード、第4図
は入出力装置に7おける今人事象センス作成フロー、第
5図ないし第7図は夫々エラーに対処する処理態様を示
している。 図中、■はホスト・システム、2は入出力装置。 3はセンス処理(センス・コマンド)、4はセンス情報
、5はエラー・リトライ方法を通知する情報を表す。
Figure 2 is a diagram of the principle configuration of the present invention, Figure 2 is the content of the sense information, Figure 3 is the error code when an event occurs, and Figure 4 is the flow of creating a sense of an event in the input/output device. , FIG. 5 to FIG. 7 each show processing modes for dealing with errors. In the figure, ■ is the host system, and 2 is the input/output device. 3 represents sense processing (sense command), 4 represents sense information, and 5 represents information notifying an error retry method.

Claims (1)

【特許請求の範囲】 ホスト・システム(1)と入出力装置(2)とをそなえ
、ホスト・システム(1)が発したコマンドに対応して
上記入出力装置(2)が終了通知を返送すると共に、当
該終了通知が異常終了であった場合に上記ホスト・シス
テム(1)がセンス処理(3)を行い、上記入出力装置
(2)がセンス情報(4)を返送する入出力処理システ
ムにおいて、 上記入出力装置(2)が、自己のエラーに対応して、エ
ラー・コードと共にエラー・リトライ方法を通知する情
報(5)を保持するよう構成されてなり、 上記センス処理(3)に対応して、上記入出力装置(2
)が上記センス情報(4)内に上記エラー・コードと共
に上記エラー・リトライ方法を通知する情報(5)を返
送するようにした ことを特徴とするエラー回復手順通知処理方式。
[Claims] A host system (1) and an input/output device (2) are provided, and the input/output device (2) returns a completion notification in response to a command issued by the host system (1). In addition, in the input/output processing system in which the host system (1) performs sense processing (3) and the input/output device (2) returns sense information (4) when the termination notification is abnormal termination. , the input/output device (2) is configured to hold information (5) notifying an error retry method along with an error code in response to its own error, and corresponds to the sense processing (3). and connect the above input/output device (2
) returns information (5) notifying the error retry method together with the error code in the sense information (4).
JP63179992A 1988-07-19 1988-07-19 Error recovery procedure notification system Expired - Fee Related JPH0833840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63179992A JPH0833840B2 (en) 1988-07-19 1988-07-19 Error recovery procedure notification system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63179992A JPH0833840B2 (en) 1988-07-19 1988-07-19 Error recovery procedure notification system

Publications (2)

Publication Number Publication Date
JPH0228842A true JPH0228842A (en) 1990-01-30
JPH0833840B2 JPH0833840B2 (en) 1996-03-29

Family

ID=16075568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63179992A Expired - Fee Related JPH0833840B2 (en) 1988-07-19 1988-07-19 Error recovery procedure notification system

Country Status (1)

Country Link
JP (1) JPH0833840B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05114061A (en) * 1991-10-23 1993-05-07 Toshiba Corp Paper sheets processor
US6356391B1 (en) 1999-10-08 2002-03-12 3M Innovative Properties Company Optical film with variable angle prisms
US6447135B1 (en) 1999-10-08 2002-09-10 3M Innovative Properties Company Lightguide having a directly secured reflector and method of making the same
US7133206B2 (en) * 2004-06-28 2006-11-07 Nissan Motor Co., Ltd. Reflecting surface material

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6069773A (en) * 1983-09-27 1985-04-20 Toshiba Corp Operation guide system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6069773A (en) * 1983-09-27 1985-04-20 Toshiba Corp Operation guide system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05114061A (en) * 1991-10-23 1993-05-07 Toshiba Corp Paper sheets processor
US6356391B1 (en) 1999-10-08 2002-03-12 3M Innovative Properties Company Optical film with variable angle prisms
US6447135B1 (en) 1999-10-08 2002-09-10 3M Innovative Properties Company Lightguide having a directly secured reflector and method of making the same
US6707611B2 (en) 1999-10-08 2004-03-16 3M Innovative Properties Company Optical film with variable angle prisms
US7133206B2 (en) * 2004-06-28 2006-11-07 Nissan Motor Co., Ltd. Reflecting surface material

Also Published As

Publication number Publication date
JPH0833840B2 (en) 1996-03-29

Similar Documents

Publication Publication Date Title
TWI362588B (en) Monitor apparatus, a monitoring method thereof and computer apparatus therewith
WO2020015709A1 (en) Virtual machine mirror image file processing method and device
KR100899582B1 (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
TW200428190A (en) Safe power-off system and method thereof
JPH0228842A (en) Error recover procedures announcement processing system
JP2018092571A (en) Electronic equipment, reactivation method, and program
JPH0287235A (en) Information processor
JP2679575B2 (en) I / O channel fault handling system
JP3491369B2 (en) Data processing device
JP4788516B2 (en) Dynamic replacement system, dynamic replacement method and program
JPH0395634A (en) Restart control system for computer system
JPS581249A (en) Error interrrupting system
JPS6228841A (en) Input/output processor
JP2849780B2 (en) Computer system
JPS62284440A (en) Software resource maintenance system for terminal equipment
JPH02271427A (en) Job input/output information controller
JPS63197258A (en) Input/output processor
JPH0355640A (en) Collection system for fault analysis information on peripheral controller
JPH0592855U (en) Information processing equipment
JPH02196341A (en) Fault restoring system for information processor
JPS5887636A (en) Program load system
JPS61290527A (en) Internal information outputting system for printer device
JPS6349857A (en) File controller
JPH05127937A (en) Multiprocessor system
JPS6299846A (en) Collecting system for sense data on input and output device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees