JP2728480B2 - Information processing device - Google Patents

Information processing device

Info

Publication number
JP2728480B2
JP2728480B2 JP1009701A JP970189A JP2728480B2 JP 2728480 B2 JP2728480 B2 JP 2728480B2 JP 1009701 A JP1009701 A JP 1009701A JP 970189 A JP970189 A JP 970189A JP 2728480 B2 JP2728480 B2 JP 2728480B2
Authority
JP
Japan
Prior art keywords
information processing
processing apparatus
diagnosis
shock
cpu
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
Application number
JP1009701A
Other languages
Japanese (ja)
Other versions
JPH02190940A (en
Inventor
智久 小桧山
賢一 斉藤
義弘 藤上
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP1009701A priority Critical patent/JP2728480B2/en
Publication of JPH02190940A publication Critical patent/JPH02190940A/en
Application granted granted Critical
Publication of JP2728480B2 publication Critical patent/JP2728480B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は診断機能を有する情報処理装置に関する。Description: TECHNICAL FIELD The present invention relates to an information processing apparatus having a diagnostic function.

〔従来の技術〕[Conventional technology]

近年、半導体技術の進歩によって高性能のマイクロプ
ロセッサ(以下CPUと記す)や大容量のメモリ素子が低
価格で供給されるようになり、これら半導体素子の応用
製品である各種情報処理装置の機能・性能は年々向上し
ている。これに伴って、これら情報処理装置、例えばパ
ーソナルコンピュータ(以下パソコンと記す)、ワード
プロセッサ(以下ワープロと記す)、コピー装置、ファ
クシミリなどの構成により複雑になってきた。これに対
応するため、これら情報処理装置には自己診断を行う機
能をもつものが少くない。自己診断の機能とは、その情
報処理装置を制御するCPUが自己診断プログラムを実行
することによって装置の個々の機能をチェックすること
をいう。
In recent years, with the advancement of semiconductor technology, high-performance microprocessors (hereinafter referred to as CPUs) and large-capacity memory devices have been supplied at low prices. Performance is improving year by year. Along with this, the information processing apparatuses, for example, personal computers (hereinafter, referred to as personal computers), word processors (hereinafter, referred to as word processors), copying apparatuses, and facsimile machines have become more complicated. To cope with this, not many of these information processing apparatuses have a function of performing self-diagnosis. The function of the self-diagnosis means that the CPU controlling the information processing apparatus checks the individual functions of the apparatus by executing a self-diagnosis program.

このような自己診断機能は、ふつう該情報処理装置の
保守担当者(或いはごくまれに、装置の操作に精通した
ユーザ自身)によって起動される。起動の方法はそれぞ
れの情報処理装置によって異なる。例えば、通常の動作
時には触れない場所にあるスイッチを押したり、装置の
キーボードをある操作手順にしたがってキー入力するこ
とによって起動される。この他にも各種の自己診断の起
動方式があるが、どの方式にも共通するのは、操作者
(保守担当、ユーザの区別なく)が「自己診断を行う」
という明確な意識をもってスイッチを押したりキー入力
をする点である。
Such a self-diagnosis function is usually activated by a person in charge of maintenance of the information processing apparatus (or, in rare cases, a user himself familiar with the operation of the apparatus). The activation method differs depending on each information processing device. For example, it is activated by pressing a switch in a place that is not touched during normal operation, or by inputting a key on a keyboard of the apparatus in accordance with a certain operation procedure. In addition to the above, there are various self-diagnosis activation methods, but the common method is that an operator (maintenance person or user) performs “self-diagnosis”.
This is the point of pressing a switch or key input with a clear awareness of this.

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

一般に、パソコン等の情報処理機器では、応用プログ
ラムを起動したとき、システムの制御はシステムの管理
プログラムであるオペレーティングシステム(以下OSと
記す)から該応用プログラムに渡される。このため、ユ
ーザが応用プログラム実行中に動作の異常を感じ、機器
の自己診断を行いたい場合、応用プログラム自体に自己
診断の機能がサポートされていなければ、ユーザは一旦
応用プログラムを終了して制御をOSに戻し、しかる後に
自己診断プログラムを起動する必要があった。また、応
用プログラムに着目すると、応用プログラム自体はなる
べく機器のハードウェアに依存しないように作るのが一
般的である。したがって、応用プログラムの中で機器の
自己診断をサポートするものは殆んど無いに等しい。つ
まり、従来方式による自己診断起動上の問題点の第1
は、パソコン等で応用プログラムを実行している最中に
ユーザが機器の異常を感じたとき、その応用プログラム
を停止させてからでないと自己診断を行えないことであ
る。更に応用プログラムが途中から再実行できない場合
(多くの応用プログラムはこの条件に適合する)、自己
診断で異常がなかったとき、つまりユーザの勘違いで自
己診断を行ってしまったときには応用プログラムをもう
一度はじめから実行し直さなければならない。
In general, in an information processing device such as a personal computer, when an application program is started, control of the system is passed to the application program from an operating system (hereinafter, referred to as an OS) which is a system management program. For this reason, when the user feels an abnormality in operation during execution of the application program and wants to perform self-diagnosis of the device, if the application program itself does not support the self-diagnosis function, the user temporarily terminates the application program and performs control. It was necessary to return to the OS, and then start the self-diagnosis program. In addition, when focusing on application programs, it is general that the application programs themselves are created so as not to depend on the hardware of the device as much as possible. Therefore, almost no application programs support the self-diagnosis of the device. In other words, the first problem of the self-diagnosis startup by the conventional method is
In other words, when a user feels an abnormality in a device while the application program is being executed on a personal computer or the like, self-diagnosis cannot be performed without stopping the application program. Furthermore, if the application program cannot be re-executed from the middle (many application programs meet this condition), if there is no abnormality in the self-diagnosis, that is, if the self-diagnosis has been performed by mistake of the user, the application program is started again. Must be rerun from

以上はパソコン等で応用プログラムを実行するといっ
たある程度専門知識を持つユーザを対象とした問題であ
るが、一般に、現在の情報処理装置の多くは専門知識の
ない人にも簡単に操作できるように作る。このため、一
般のユーザには自己診断の概念も知らない人が多い。こ
のようなユーザの場合には、装置の動作が異常だと感じ
てもどうしたらよいか分らず、ただ困って見ているだけ
という状況になる。これが第2の問題点である。
The above is a problem for a user who has a certain degree of expertise such as executing an application program on a personal computer or the like. In general, most of current information processing devices are designed to be easily operated by a person having no special knowledge. . For this reason, many ordinary users do not even know the concept of self-diagnosis. In the case of such a user, there is no knowing what to do if the operation of the apparatus is abnormal, and the user is merely in trouble. This is the second problem.

本発明の目的は、装置の異常時に専門知識のない人で
も適切な処置が行える診断機能を有する情報処理装置を
提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide an information processing apparatus having a diagnostic function that allows a person without specialized knowledge to perform an appropriate treatment when an abnormality occurs in the apparatus.

本発明の他の目的は、パソコン等で自己診断をサポー
トしていない応用プログラムを実行中でもその応用プロ
グラムを停止せずに自己診断を行うことができる診断機
能を有する情報処理装置を提供することにある。
Another object of the present invention is to provide an information processing apparatus having a diagnostic function capable of performing a self-diagnosis without stopping the application program even when an application program that does not support the self-diagnosis is executed on a personal computer or the like. is there.

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

上記目的を達するため、まず一般に機械装置類の調子
が悪いときの人間の対応の仕方を分析する。すると、10
0人のうち9割以上の人はその装置をたたいていること
が分る。つまり機械装置類が調子悪いときにその装置を
たたいてみるという行為はごく一般的なことであり、誰
もが知っている常識と考えてよい。
In order to achieve the above object, first, a method of responding to a human being when the mechanical devices are in poor condition is analyzed. Then 10
It can be seen that 90% or more of the 0 people hit the device. In other words, the act of hitting a mechanical device when it is in a bad condition is very common, and it can be considered as common sense that everyone knows.

そこで、この「たたく」という行為を契機として自己
診断を行うようにしたのが本発明の骨子である。すなわ
ち、「たたく」ことを検出する衝撃検出器と、その衝撃
検出器の出力をCPUの割り込み入力端子に接続するイン
タフェース回路、そして割り込み入力によって起動され
る自己診断プログラムを備えることにより、上記目的を
達成することができる。
Therefore, the gist of the present invention is to perform a self-diagnosis triggered by the act of "slapping". In other words, by providing a shock detector for detecting "hitting", an interface circuit for connecting the output of the shock detector to the interrupt input terminal of the CPU, and a self-diagnosis program started by the interrupt input, the above object is achieved. Can be achieved.

〔作用〕[Action]

衝撃検出器はたたかれたことを検出する。その検出器
の出力は直接あるいは間接的にCPUの割込み入力に接続
され、CPUは装置がたたかれたことにより、割込みが発
生する。自己診断プログラムは割込みにより、直接ある
いは間接的に起動するようにしてあるので、たたくとい
う行為が最終的に自己診断を行うという装置の反応に還
元される。
The impact detector detects that the player has been hit. The output of the detector is directly or indirectly connected to the interrupt input of the CPU, and the CPU generates an interrupt when the device is hit. Since the self-diagnosis program is started directly or indirectly by interruption, the action of tapping is reduced to the reaction of the apparatus that finally performs self-diagnosis.

これにより、「装置を自己診断する」という概念を知
らない人でも結果的に適切な処置を取れるよう、装置を
反応させることができる。
This allows the device to react so that even a person who does not know the concept of “self-diagnosing the device” can take appropriate measures as a result.

また、パソコン等で応用プログラム実行中であって
も、割込みによってその応用プログラムを一時中断し、
自己診断を行い、もし異常がなければ応用プログラムを
中断した点から続けて実行することが可能である。
In addition, even if an application program is being executed on a personal computer, the application program is temporarily interrupted by an interrupt,
The self-diagnosis is performed, and if there is no abnormality, the application program can be continuously executed from the point of interruption.

〔実施例〕〔Example〕

以下、本発明の第一の実施例を説明する。第1図は本
発明を用いたパソコンシステムの一例である。1はパソ
コン本体、2はキーボード、3はディスプレイ、4はプ
リンタである。また、5,6,7,8は衝撃検出器を示す。第
2図は第1図の内部構成の一例である。11はCPU、12は
読み出し専用メモリ(ROM)、13は読み書き可能なメモ
リ(RAM)、14は周辺装置とのインタフェース(I/O)、
20,21はCPU11のデータバス、10は衝撃検出器5,6,7,8の
検出出力をCPU11の割込み入力に信号線22を介して接続
するためのインタフェースである。本実施例において
は、パソコン本体1、キーボード2、ディスプレイ3、
プリンタ4にそれぞれ衝撃検出器5,6,7,8を設け(第1
図)、各衝撃検出器5〜8の出力は信号線23,24,25,26
でインタフェース10に接続してある。このため、ユーザ
がどこをたたいたかによってどの機能を重点的に診断す
べきかを知ることができる特徴をもつ。以下動作を説明
する。まずシステムの立上げ時に、割込みが入ったとき
に自己診断プログラムが起動するようにプログラムをセ
ットアップする。自己診断プログラム自体は、ROM12、R
AM13、あるいは図示しない補助記憶装置のいずれに存在
してもよいが、割込み信号線22を介してCPU11に割込み
がかかったときに自己診断プログラムが起動するように
しておく。次にシステム稼動中、例えば応用プログラム
実行中にユーザが「動作がおかしい」と感じる動きをし
たとする。ユーザは無意識に装置をたたくが、例えばパ
ソコン本体1をたたいたとすると、衝撃検出器5が衝撃
を検出して信号線23を介し、インタフェース10にたたか
れたことを知らせる。インタフェース10では、この検出
出力を割込み信号に変換し、割込信号線22を介してPCU1
1に割込みをかける。
Hereinafter, a first embodiment of the present invention will be described. FIG. 1 is an example of a personal computer system using the present invention. 1 is a personal computer main body, 2 is a keyboard, 3 is a display, and 4 is a printer. Reference numerals 5, 6, 7, and 8 indicate shock detectors. FIG. 2 is an example of the internal configuration of FIG. 11 is a CPU, 12 is a read-only memory (ROM), 13 is a readable and writable memory (RAM), 14 is an interface with peripheral devices (I / O),
20 and 21 are data buses of the CPU 11, and 10 is an interface for connecting detection outputs of the shock detectors 5, 6, 7, and 8 to an interrupt input of the CPU 11 via a signal line 22. In this embodiment, a personal computer 1, a keyboard 2, a display 3,
The printer 4 is provided with shock detectors 5, 6, 7, and 8 respectively (first
The output of each of the shock detectors 5 to 8 is indicated by signal lines 23, 24, 25, and 26.
To the interface 10. For this reason, there is a feature that it is possible to know which function should be focused on depending on where the user hits. The operation will be described below. First, at the time of system startup, a program is set up so that a self-diagnosis program is started when an interrupt occurs. The self-diagnosis program itself is ROM12, R
Although it may exist in the AM 13 or an auxiliary storage device (not shown), a self-diagnosis program is started when an interrupt is issued to the CPU 11 via the interrupt signal line 22. Next, it is assumed that the user performs a motion that feels “the operation is strange” during operation of the system, for example, during execution of the application program. The user unconsciously hits the device, but if, for example, hits the personal computer 1, the shock detector 5 detects a shock and notifies the interface 10 via the signal line 23 that the user has hit the device. The interface 10 converts this detection output into an interrupt signal and sends it to the PCU1 via the interrupt signal line 22.
Interrupt 1

ここでインタフェース10の一例を第3図に示す。同図
において、101,102,103,104は衝撃検出器5,6,7,8からの
信号23,24,25,26をフリップフロップ(FF)105,106,10
7,108が駆動できる信号レベルに変換するレベル変換器
である。FF105,106,107,108はどの衝撃検出器がたたか
れたことを検出したかを記憶する。この例では、通常FF
105〜108のQ出力は論理レベル(レベル)“1"であり、
レベル変換器101〜104から信号入力があるとレベル“0"
となる。109はゲート回路で、FF105〜108のいずれか1
つ以上のQ出力がレベル“0"となったときに割込み信号
線22にレベル“1"を出力する。3ステートバスインバー
タ110,111,112,113はFF105〜108の内容35〜38をCPU11の
データバス21に出力するためのものである。読み出し信
号線30は図示しない回路で生成されるが、これは、CPU1
1がFF105〜108を読み出すときにレベル“0"となる信号
である。信号線30がレベル“0"になると、FF105〜108の
Q出力35〜38が3ステートバスインバータ110〜113を介
してデータバス21に出力され、CPU11はFF105〜108の内
容を読み取ることができる。CPU11が読み取りを終了す
ると、信号線30は再びレベル“1"に戻るが、このときFF
105〜108にはD入力に与えてあるレベル“1"がセットさ
れ、再び「たたかれたことを示す信号」を入力できる状
態となる。
Here, an example of the interface 10 is shown in FIG. In the figure, reference numerals 101, 102, 103, 104 denote signals 23, 24, 25, 26 from shock detectors 5, 6, 7, 8 as flip-flops (FF) 105, 106, 10
7, 108 are level converters for converting to a driveable signal level. The FFs 105, 106, 107, and 108 store which of the shock detectors has been detected as being hit. In this example, the normal FF
The Q outputs of 105 to 108 are at a logic level (level) "1",
When there is a signal input from the level converters 101 to 104, the level is "0"
Becomes 109 is a gate circuit, one of FF105 to 108
When one or more Q outputs become level "0", the level "1" is output to the interrupt signal line 22. The three-state bus inverters 110, 111, 112, and 113 are for outputting the contents 35 to 38 of the FFs 105 to 108 to the data bus 21 of the CPU 11. The read signal line 30 is generated by a circuit (not shown).
1 is a signal that becomes level “0” when the FFs 105 to 108 are read. When the level of the signal line 30 becomes "0", the Q outputs 35 to 38 of the FFs 105 to 108 are output to the data bus 21 via the three-state bus inverters 110 to 113, and the CPU 11 can read the contents of the FFs 105 to 108. . When the CPU 11 finishes reading, the signal line 30 returns to the level “1” again.
The level "1" given to the D input is set in 105 to 108, and the "signal indicating that the player has hit" can be input again.

さて、このようにしてCPU11に割込みがかかると、先
に述べたように自己診断プログラムが起動するが、この
ときの動作フロー図を第4図に示す。201,202,203,204,
205は応用プログラムの処理の流れを示す。(これは、
応用プログラム実行中にたたかれたことを想定して説明
しているため。もちろんシステムプログラム実行中と言
い換えてもよい。)いま指印200の時点でユーザにより
「たたかれた」場合、CPU11は割込み処理を開始する。2
10は要因分析処理であり、何が原因で割り込みが発生し
たかを判断する部分である。具体的には、例えばインタ
フェース10内のFF101〜104を読み取って分析するような
処理を行う。211は分析の結果、衝撃検出器が感応して
いたかどうかを判断する部分である。一般に割込みの要
因が他にもある場合、すなわち、「たたかれた」こと以
外にも割込み要因がある場合にはこのような判断が必要
である。212は実際の自己診断を行う処理である。自己
診断処理212の結果を判定するのが213である。そしても
し障害が検出されれば、障害処理214を実行し、そうで
なければ割込み処理を終了する。この割込み処理で障害
が検出されなかった場合は本来の処理203,204…へと復
帰して応用プログラムを続行する。
When the CPU 11 is interrupted in this way, the self-diagnosis program is started as described above. FIG. 4 shows an operation flowchart at this time. 201,202,203,204,
205 shows the flow of processing of the application program. (this is,
The explanation is based on the assumption that the application program was hit during execution. Of course, it may be said that the system program is being executed. If the user "hits" the finger 200 at the time of the finger mark 200, the CPU 11 starts interrupt processing. Two
Numeral 10 is a factor analysis process, which is a portion for determining what caused the interrupt. Specifically, for example, a process of reading and analyzing the FFs 101 to 104 in the interface 10 is performed. Reference numeral 211 denotes a part for determining whether or not the shock detector has responded as a result of the analysis. In general, when there is another interrupt cause, that is, when there is an interrupt cause other than "hit", such a determination is necessary. Reference numeral 212 denotes a process for performing an actual self-diagnosis. It is 213 that determines the result of the self-diagnosis processing 212. Then, if a fault is detected, the fault process 214 is executed; otherwise, the interrupt process is terminated. If no failure is detected in this interrupt processing, the processing returns to the original processing 203, 204,... And the application program is continued.

さて、このような自己診断処理を行うために、大きく
分けて2通りの方法が考えられる。1つは現在自己診断
を実行中であることをユーザに明示する方式、他の1つ
は障害が検出されたときに限ってユーザに知らしめる方
式である。前者は、システムが比較的大きく、診断箇所
が多い場合に適する。すなわち、自己診断をひととおり
終了させるのに時間がかかるので、ユーザに対してあら
かじめ自己診断することを宣言する、あるいは了解をと
る方式である。例えば、ユーザに対し、「何か不具合が
生じたかどうか」を問合せ、どこがどのようにおかしい
かを対話形式で聞き、可能性のある部分を集中的に診断
する方式では目標を絞った診断を行える効果がある。こ
のとき、第1図のように、衝撃検出器が複数の箇所に実
装されている場合には、はじめから問合せ項目を実情に
沿ったものにできる効果がある。すなわち、パソコン本
体1をたたいた場合には、応用プログラムが無限ループ
に陥っていないか、フロッピーディスクやハードディス
クに異常がないか等、本体に関連するものから診断、あ
るいは対話形式で質問し、キーボード2をたたいた場合
にはキーボード関連、ディスプレイ3をたたいた場合に
は表示関連、プリンタ4をたたいた場合にはプリンタ関
連を優先的に診断あるいは問合せるのである。
Now, in order to perform such a self-diagnosis process, roughly two methods can be considered. One is a method for clearly indicating to the user that the self-diagnosis is currently being performed, and the other is a method for notifying the user only when a failure is detected. The former is suitable when the system is relatively large and there are many diagnostic points. That is, since it takes time to complete the self-diagnosis, it is a method of declaring the self-diagnosis to the user in advance or obtaining an understanding. For example, the system asks the user "whether or not something went wrong", listens to the user in an interactive manner about what is wrong and how to concentrate on possible parts, and provides a targeted diagnosis. effective. At this time, as shown in FIG. 1, when the impact detector is mounted at a plurality of locations, there is an effect that the inquiry item can be made to match the actual situation from the beginning. That is, when the user hits the personal computer 1, the application program is diagnosed from an infinite loop, whether the floppy disk or the hard disk is abnormal, etc. Diagnosis or inquiry is given preferentially to keyboard-related when the keyboard 2 is hit, display-related when the display 3 is hit, and printer-related when the printer 4 is hit.

後者、すなわち障害が検出されたときに限ってユーザ
に知らしめる方式は、システムが比較的小規模か、自己
診断や速やかに終了する場合に適する。この場合、自己
診断に要する時間が短いため、ユーザ自身は、自己診断
が行われたことも気づかずに済むため、もし障害がなか
った場合に、ユーザに無用の心配、不安感を与えずに済
む効果がある。また、診断の結果、障害が無かった旨を
ユーザに明示する方式もある。この場合は明らかに自己
診断を行って異常なし、つまり心配ないことをユーザに
知らしめることでユーザに安心感を与える効果がある。
The latter, that is, the method of notifying the user only when a failure is detected, is suitable when the system is relatively small, or when the self-diagnosis or quick termination is performed. In this case, since the time required for the self-diagnosis is short, the user himself / herself does not need to be aware that the self-diagnosis has been performed. Therefore, if there is no obstacle, the user does not needlessly worry and feel uneasy. It has the effect of ending. There is also a method of clearly indicating to the user that there is no failure as a result of the diagnosis. In this case, there is an effect of giving the user a sense of security by clearly performing a self-diagnosis to inform the user that there is no abnormality, that is, there is no worry.

次に障害を検出した場合の処理、すなわち第4図にお
ける障害処理214を考える。まず第1に応用プログラム
が明らかに無限ループに陥っていると判断された場合に
は、システムプログラムに制御を戻すかどうかを問合せ
る方式がある。一般にパソコン等のような情報処理装置
では、応用プログラムは誰によっても作成し得る。この
ような応用プログラムの作成過程においてはそれらのプ
ログラムに不具合を含むことが少なくない。このとき、
本体の製造メーカは、応用プログラムの不具合を生じる
ユーザの被害を最小限にくい止めることを考慮しておく
必要がある。このため、応用プログラムがどのような状
態になっていても、処理に割込んでシステムプログラム
に制御権を返還する手段は、信頼性を上げる上で非常に
有効である。
Next, consider the processing when a failure is detected, that is, the failure processing 214 in FIG. First, there is a method of inquiring whether to return control to the system program when it is determined that the application program is clearly in an infinite loop. Generally, in an information processing device such as a personal computer, an application program can be created by anyone. In the process of creating such application programs, those programs often include defects. At this time,
It is necessary for the manufacturer of the main body to take measures to minimize the damage to the user that causes the failure of the application program. Therefore, no matter what the state of the application program is, the means of interrupting the processing and returning control to the system program is very effective in improving reliability.

第2に装置のハードウェアに障害を検出した場合に
は、その状況を保守業者に伝える必要がある。この方式
には次のようなものが考えられる。
Second, when a failure is detected in the hardware of the device, it is necessary to inform the maintenance company of the situation. The following are conceivable in this method.

まず、フロッピーディスク、メモリカード、磁気テー
プ、磁気カード等の可搬型記録媒体を扱える情報処理装
置において、それらの媒体制御部分に障害がない場合に
は、障害情報を上記可搬型記憶媒体に書き込む旨をユー
ザに通知し、障害情報を記録した後に保守業者に媒体を
渡すよう、メッセージする方式である。次は通信回線を
扱える情報処理装置において、通信回線を制御する部分
に障害がない場合に、その通信回線を利用して障害情報
を保守担当者あるいは保守業者に通知する方式である。
一般に公衆の回線等、課金される回線の場合にはユーザ
に許可を求めるようにする必要がある。この方式は最も
迅速に対策が行える効果がある。次はプリンタ等の印字
装置を扱える情報処理装置において、印字装置を制御す
る部分に障害がない場合に、障害情報を印字出力する方
式である。この方式は、印字された媒体が安価であり、
保守用の様式で印字された場合には、保守担当者あるい
は保守業者の報告書の作成の手間を低減できる効果かあ
る。次はCRTディスプレイ、液晶ディスプレイ、プラズ
マディスプレイ等の表示器をもつ情報処理装置におい
て、表示器を制御する部分に障害がない場合に、障害情
報を表示出力する方式である。この方式は、ユーザが保
守業者に連絡するときに、この表示内容を見ながら、あ
るいはその内容をメモすることにより、適確に障害内容
を伝達できる効果がある。
First, in an information processing apparatus capable of handling portable recording media such as a floppy disk, a memory card, a magnetic tape, and a magnetic card, if there is no failure in those medium control parts, the failure information is written to the portable storage medium. Is notified to the user, and after recording the failure information, a message is sent to give the medium to the maintenance company. Next, in an information processing apparatus that can handle a communication line, when there is no failure in a part that controls the communication line, a method of using the communication line to notify failure information to a maintenance person or a maintenance company.
Generally, in the case of a line to be charged, such as a public line, it is necessary to ask the user for permission. This method has the effect that the countermeasures can be taken most quickly. Next, in an information processing apparatus capable of handling a printing device such as a printer, a method of printing out failure information when there is no failure in a portion that controls the printing device. In this method, the printed medium is inexpensive,
When printed in a maintenance format, there is an effect that the trouble of preparing a report by a maintenance person or a maintenance company can be reduced. Next, in an information processing apparatus having a display such as a CRT display, a liquid crystal display, and a plasma display, a method for displaying and outputting failure information when there is no failure in a portion that controls the display. This method has an effect that when a user contacts a maintenance company, the user can view the displayed contents or write down the contents so that the contents of the failure can be accurately transmitted.

次は第5図に示すように不揮発メモリ15をもつ情報処
理装置の場合である。不揮発メモリ15とは、情報処理装
置の電源を切断しても書き込んだ内容が変化しない読み
書き可能なメモリのことで、もともと電源を切っても内
容が変化しない特性をもつメモリを使用するか、バック
アップ用のバッテリ16を用いて通常のメモリの電源を、
本体の装置の電源が切られた時点でバッテリ16から供給
するなど、各種の方法で実現できる。このような不揮発
メモリ15を備えている場合には、障害情報をその不揮発
メモリ15に保存しておく方式である。保守担当者はこの
不揮発メモリ15の内容から障害の状況を知ることができ
る。また、この方式では障害情報を適宜累積記録してお
けるので、装置の機能を損うに至らない軽微な(したが
ってユーザは知らなくても実害を生じないが、他の障害
の原因解析に役立つかも知れない)障害情報を保守担当
者に知らせることができる効果がある。
The following is a case of an information processing device having a nonvolatile memory 15 as shown in FIG. The non-volatile memory 15 is a readable and writable memory in which the written contents do not change even when the power of the information processing apparatus is turned off. Power of normal memory using battery 16 for
It can be realized by various methods, such as supplying power from the battery 16 when the power of the apparatus of the main body is turned off. When such a nonvolatile memory 15 is provided, the failure information is stored in the nonvolatile memory 15. The maintenance person can know the status of the failure from the contents of the nonvolatile memory 15. Further, in this method, since the fault information can be accumulated and recorded as appropriate, it is possible to cause minor damage that does not impair the function of the apparatus (thus causing no actual harm even if the user does not know it, but may be useful for analyzing the cause of other faults). There is an effect that fault information can be notified to a maintenance person.

以上、本発明の第1の実施例の説明にあたり、各種の
自己診断方式をあげたが、これらの方式が全てではな
い。本発明の本質は衝撃検出器が検出した衝撃によって
自己診断を行うものであるから、第1図に示したパソコ
ンの他にも、ワードプロセッサやファクシミリ、コピー
装置をはじめ、各種制御機器、すなわち、CPUを用いて
各種の制御を行う装置(エアコンや電子ジャーなども)
には全て適用が可能である。また、第2図に示したブロ
ック構成では、衝撃検出器5〜8は4組設けているが、
1組以上の衝撃検出器があれば本発明の本質を満たすこ
とができる。すなわち、衝撃検出器は何組設けていても
構わない。また、インタフェース10の出力をCPU11の割
込み入力端子に接続しているが、場合によっては割込み
入力に接続しなくてもよい。ハードウェアによるCPUの
割込みには、一般にマスク可能な割込み(IRQと記す)
とマスク不可能な割込み(NMTと記す)があるが、本発
明の目的に最も合致しているのは、NMIに接続すること
である。これは、装置の状態がどのようになっていても
自己診断を開始できるからに他ならないが、装置によっ
てはIRQに接続した方が良い場合もある。例えばある処
理が時間的に短時間で済ませねばならないとき、その処
理が終了するまで他の処理に時間をさけない場合などで
ある。また、割込みを使用しない場合は、一般にインタ
フェース10の状態を一定時間ごとに調べる(これをポー
リングと記す)が、これは時間管理のしっかりしたリア
ルタイムOSのもとで可能な方法である。いずれの場合に
も衝撃を検出したことを契機に自己診断を行うことがで
きる。
In the description of the first embodiment of the present invention, various self-diagnosis methods have been described, but these methods are not all. Since the essence of the present invention is to perform a self-diagnosis based on the shock detected by the shock detector, in addition to the personal computer shown in FIG. 1, various control devices including a word processor, a facsimile, a copying machine, that is, a CPU, A device that performs various types of control using an air conditioner (including air conditioners and electronic jars)
Are all applicable. In the block configuration shown in FIG. 2, four sets of impact detectors 5 to 8 are provided.
With one or more sets of shock detectors, the essence of the invention can be met. That is, any number of shock detectors may be provided. Although the output of the interface 10 is connected to the interrupt input terminal of the CPU 11, it may not be connected to the interrupt input in some cases. Generally, maskable interrupts (referred to as IRQs) are used for CPU interrupts caused by hardware.
There is a non-maskable interrupt (referred to as NMT), but the one that best meets the purpose of the present invention is to connect to the NMI. This is because the self-diagnosis can be started regardless of the state of the device, but it may be better to connect to the IRQ depending on the device. For example, there is a case where a certain process needs to be completed in a short time, and a case where the other process does not take time until the process is completed. When the interrupt is not used, generally, the state of the interface 10 is checked at regular intervals (this is referred to as polling). This is a method that can be performed under a real-time OS that has a firm time management. In either case, the self-diagnosis can be performed upon detection of the impact.

またインタフェース10の構成も第3図に示したものは
一例であって本発明の範囲を限定するものではない。当
業者であれば多種多様なインタフェースを構成すること
が可能である。これらの構成は使用する衝撃検出器によ
っても異る。例えば第6図は圧電素子を衝撃検出器5に
利用した場合のレベル変換部101の一例である。衝撃検
出器5は衝撃の大きさに比例したパルス電圧を発生す
る。コンデンサCはこのパルス成分を抵抗R1とR2で分圧
された電圧E1に重畳する。E1は電圧比較器300の+端子
に入力され、抵抗R3とR3で分圧された電圧E2と比較され
る。R1〜R4の値を計算して、目的のパルス電圧が重畳さ
れたときにE1>E2となるようにしておけば、電圧比較器
300の出力は正のパルスを生じ、ワンショットマルチ301
を駆動する。ワンショットマルチ301に再トリガ可能な
ものを用い、ワンショットの時定数を適当に選べばレベ
ル変換部101の出力31に目的のパルスを得ることができ
る。R1〜R4の抵抗値を選ぶことで衝撃検出器の感度を調
整できるので、ちょっとした振動では自己診断が起動さ
れないようにすることができる。
Also, the configuration of the interface 10 shown in FIG. 3 is an example, and does not limit the scope of the present invention. Those skilled in the art can configure various interfaces. These configurations also differ depending on the shock detector used. For example, FIG. 6 shows an example of the level converter 101 when a piezoelectric element is used for the shock detector 5. The shock detector 5 generates a pulse voltage proportional to the magnitude of the shock. Capacitor C is added to the voltage E 1 obtained by dividing the pulse component by the resistors R1 and R2. E1 is input to the + terminal of the voltage comparator 300, and is compared with the voltage E2 divided by the resistors R3 and R3. If the values of R1 to R4 are calculated and E1> E2 when the target pulse voltage is superimposed, the voltage comparator
The output of 300 produces a positive pulse and the one-shot multi 301
Drive. If a retriggerable one is used for the one-shot multi 301 and the time constant of the one-shot is appropriately selected, a desired pulse can be obtained at the output 31 of the level converter 101. Since the sensitivity of the shock detector can be adjusted by selecting the resistance values of R1 to R4, it is possible to prevent the self-diagnosis from being activated by a slight vibration.

逆にこの部分の感度を高くして装置周囲の振動を検出
し、情報処理装置内の振動に弱い部分を保護することも
可能である。例えばパソコン等の固定磁気ディスク装置
は振動に弱いため、衝撃検出器をディスク装置の近傍に
設置し、一定以上の振動を検出したら 1.ヘッドをリストア(記録面を傷つけない位置に移動)
する。
Conversely, it is also possible to increase the sensitivity of this portion to detect the vibration around the device and protect the portion of the information processing device that is vulnerable to vibration. For example, fixed magnetic disk devices such as personal computers are vulnerable to vibration, so set up an impact detector near the disk device and detect a certain level of vibration. 1. Restore the head (moving to a position that does not damage the recording surface)
I do.

2.ユーザに警告を発する。2. Warn the user.

3.ディスクの使用を禁止する。3. Prohibit use of the disc.

等の保護を行うことができる。これらの機能は自己診断
の結果の障害処理と同じ概念であるから本発明の本質か
ら何らはずれるものではない。
Etc. can be protected. Since these functions have the same concept as the fault handling based on the result of the self-diagnosis, they do not depart from the essence of the present invention.

第7図は「たたいた」ことを検出するためのレベル変
換部101と「振動」を検出するための感度の高いレベル
変換部101′を同時に設けた実施例である。1つの衝撃
検出器5に対して2つ以上の感度の異るインタフェース
を持つことにより、より広範囲な自己診断を行うことが
できる。これは本実施例特有の効果である。
FIG. 7 shows an embodiment in which a level converter 101 for detecting "hit" and a level converter 101 'having high sensitivity for detecting "vibration" are provided at the same time. By providing two or more interfaces with different sensitivities to one shock detector 5, a wider range of self-diagnosis can be performed. This is an effect unique to this embodiment.

また、本発明を他の面からみると、例えば第1図にお
いてキーボード2やプリンタ4はそれ自身独自のCPUを
もつ制御系であり、ディスプレイ3はCPUをもたない装
置であるが、第2図に示すように、衝撃検出器6,7,8は
パソコン本体1のCPUに接続してある。つまりパソコン
本体を1つの情報処理装置とみた場合、キーボード2、
ディスプレイ3、プリンタ4は他の装置とみることもで
きる。このように本発明においては衝撃検出器を備えた
情報処理装置が他の装置の診断を行うことも可能であ
る。逆にパソコン本体に診断を行うためのCPUシステム
を組み込むことも可能である。これらの変形はいずれも
本発明の本質からはずれるものではない。
From another aspect of the present invention, for example, in FIG. 1, the keyboard 2 and the printer 4 are control systems having their own CPUs, and the display 3 is a device having no CPU. As shown in the figure, the shock detectors 6, 7, 8 are connected to the CPU of the personal computer 1. That is, when the personal computer is regarded as one information processing device, the keyboard 2,
The display 3 and the printer 4 can be regarded as other devices. As described above, in the present invention, the information processing apparatus provided with the shock detector can diagnose another device. Conversely, it is also possible to incorporate a CPU system for performing diagnosis in the personal computer body. None of these variations depart from the essence of the invention.

〔発明の効果〕〔The invention's effect〕

本発明によれば、ユーザが装置の取扱いに精通してい
なくても、人間の習性である「調子が悪いときにはたた
く」という行為によって適切な処置がとれるので、より
ユーザに使い易い情報処理装置を提供できる効果があ
る。
According to the present invention, even if the user is not familiar with the handling of the device, an appropriate action can be taken by the action of "hitting when the condition is bad" which is a human habit. There are effects that can be provided.

また、装置を設置した周囲の振動などから振動に弱い
部分を保護することが可能なので、装置の信頼性を向上
できる効果がある。
In addition, since it is possible to protect a portion that is vulnerable to vibrations from vibrations around the device and the like, the reliability of the device can be improved.

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

第1図は本発明の実施例を示す図、第2図は第1図のブ
ロック図、第3図は第2図におけるインタフェース部の
一例を示す図、第4図は処理フローの一例を示す図、第
5図は本発明のブロック図の他の一例を示す図、第6図
はインタフェース部のレベル変換部の一例を示す図、第
7図はレベル変換部構成の他の一例を示す図である。 1……パソコン本体、2……キーボード、3……ディス
プレイ、4……プリンタ、5〜8……衝撃検出器、10…
…インタフェース、11……CPU、22……割込み信号線。
1 is a diagram showing an embodiment of the present invention, FIG. 2 is a block diagram of FIG. 1, FIG. 3 is a diagram showing an example of an interface unit in FIG. 2, and FIG. 4 is an example of a processing flow. FIG. 5, FIG. 5 is a diagram showing another example of the block diagram of the present invention, FIG. 6 is a diagram showing an example of a level converter of the interface unit, and FIG. 7 is a diagram showing another example of the configuration of the level converter. It is. 1 PC main unit 2 Keyboard 3 Display 4 Printer 5 to 8 Shock detector 10
... Interface, 11 ... CPU, 22 ... Interrupt signal lines.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 藤上 義弘 神奈川県横浜市戸塚区吉田町292番地 株式会社日立製作所マイクロエレクトロ ニクス機器開発研究所内 (56)参考文献 特開 昭63−313241(JP,A) 特開 昭58−180338(JP,A) 特開 昭60−142751(JP,A) ──────────────────────────────────────────────────続 き Continuation of the front page (72) Inventor Yoshihiro Fujigami 292 Yoshida-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Inside the Microelectronics Device Development Laboratory, Hitachi, Ltd. (56) References JP-A-63-313241 (JP, A) JP-A-58-180338 (JP, A) JP-A-60-147251 (JP, A)

Claims (15)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】CPUを用いた情報処理装置において、少な
くとも1つ以上の衝撃を検出する手段と前記情報処理装
置以外の装置の機能を診断する手段を備え、該機能を診
断する手段は前記衝撃を検出する手段が検出した衝撃情
報により診断を開始することを特徴とする情報処理装
置。
1. An information processing apparatus using a CPU, comprising: means for detecting at least one or more impacts; and means for diagnosing a function of a device other than the information processing apparatus. An information processing apparatus characterized in that the diagnosis is started based on the shock information detected by the means for detecting the information.
【請求項2】前記衝撃を検出する手段に与えられる衝撃
が人間の行為によって発生する衝撃であることを特徴と
する請求項1記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein the shock applied to said shock detecting means is a shock generated by a human action.
【請求項3】前記衝撃を検出する手段に与えられる衝撃
が前記衝撃を検出する手段を設置した周囲の環境から発
生する衝撃であることを特徴とする請求項1記載の情報
処理装置。
3. The information processing apparatus according to claim 1, wherein the shock applied to said shock detecting means is a shock generated from a surrounding environment in which said shock detecting means is installed.
【請求項4】前記衝撃を検出する手段が検出した衝撃情
報で前記CPUに割込みをかけ、前記診断する手段が前記C
PUの割込み処理で起動されることを特徴とする請求項1
記載の情報処理装置。
4. The CPU according to claim 1, wherein said CPU detects an interruption based on shock information detected by said shock detecting means,
2. The method according to claim 1, wherein the processing is started by an interrupt processing of the PU.
An information processing apparatus according to claim 1.
【請求項5】前記割込みが前記CPUのマスク不能な割込
みであることを特徴とする請求項4記載の情報処理装
置。
5. The information processing apparatus according to claim 4, wherein said interrupt is a non-maskable interrupt of said CPU.
【請求項6】前記割込みが前記CPUのマスク可能な割込
みであることを特徴とする請求項4記載の情報処理装
置。
6. The information processing apparatus according to claim 4, wherein said interrupt is an interrupt that can be masked by said CPU.
【請求項7】前記衝撃を検出する手段が検出した衝撃情
報を前記CPUがポーリングして認識し、前記診断する手
段を駆動することを特徴とする請求項1記載の情報処理
装置。
7. The information processing apparatus according to claim 1, wherein the CPU polls and recognizes shock information detected by the shock detecting means, and drives the diagnosis means.
【請求項8】前記診断する手段が診断を開始したことを
使用者に知らせることを特徴とする請求項1記載の情報
処理装置。
8. An information processing apparatus according to claim 1, wherein said diagnosis means notifies the user that the diagnosis has started.
【請求項9】前記診断する手段が診断を開始したことを
使用者に知らせないことを特徴とする請求項1記載の情
報処理装置。
9. An information processing apparatus according to claim 1, wherein said diagnosis means does not notify the user of the start of the diagnosis.
【請求項10】二つ以上の衝撃を検出する手段を備え、
衝撃が検出されたときに該衝撃を検出した部分に関係が
深い機能から診断をおこなうことを特徴とする請求項8
又は9の情報処理装置。
10. A system for detecting two or more impacts,
9. When a shock is detected, diagnosis is performed from a function deeply related to a part where the shock is detected.
Or the information processing device of 9.
【請求項11】診断の結果、障害を検出した場合に該障
害情報を記憶媒体に記憶することを特徴とする請求項1
記載の情報処理装置。
11. The method according to claim 1, wherein when a failure is detected as a result of the diagnosis, the failure information is stored in a storage medium.
An information processing apparatus according to claim 1.
【請求項12】診断の結果、障害を検出した場合に該障
害情報を通信回線に伝達することを特徴とする請求項1
記載の情報処理装置。
12. When a failure is detected as a result of the diagnosis, the failure information is transmitted to a communication line.
An information processing apparatus according to claim 1.
【請求項13】前記衝撃を検出する手段の感度が2段階
以上であることを特徴とする請求項1記載の情報処理装
置。
13. The information processing apparatus according to claim 1, wherein the sensitivity of the means for detecting the impact has two or more levels.
【請求項14】前記衝撃を検出する手段が衝撃を検出し
た場合に衝撃に弱い部分を保護する処理をおこなうこと
を特徴とする請求項1記載の情報処理装置。
14. The information processing apparatus according to claim 1, wherein when the impact detecting means detects the impact, a process for protecting a portion vulnerable to the impact is performed.
【請求項15】前記衝撃に弱い部分が固定磁気ディスク
装置であって前記保護する処理が(1)前記固定磁気デ
ィスク装置のヘッドを記憶面を傷つけない位置に移動す
る(2)使用者に警告を発する、(3)前記固定磁気デ
ィスク装置の使用を禁止する、の何れか1つあるいは2
つ以上含んでいることを特徴とする請求項14記載の情報
処理装置。
15. The fixed magnetic disk device is a portion which is vulnerable to the impact, and the processing for protecting includes: (1) moving the head of the fixed magnetic disk device to a position where the storage surface is not damaged; and (2) warning the user. (3) prohibit the use of the fixed magnetic disk device, or
15. The information processing apparatus according to claim 14, comprising at least one.
JP1009701A 1989-01-20 1989-01-20 Information processing device Expired - Fee Related JP2728480B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1009701A JP2728480B2 (en) 1989-01-20 1989-01-20 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1009701A JP2728480B2 (en) 1989-01-20 1989-01-20 Information processing device

Publications (2)

Publication Number Publication Date
JPH02190940A JPH02190940A (en) 1990-07-26
JP2728480B2 true JP2728480B2 (en) 1998-03-18

Family

ID=11727536

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1009701A Expired - Fee Related JP2728480B2 (en) 1989-01-20 1989-01-20 Information processing device

Country Status (1)

Country Link
JP (1) JP2728480B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4867239B2 (en) * 2005-09-05 2012-02-01 カシオ計算機株式会社 Information processing apparatus, self-diagnosis method and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58180338A (en) * 1982-04-16 1983-10-21 Omron Tateisi Electronics Co Detection device for car damage condition
JPS63313241A (en) * 1987-06-17 1988-12-21 Hitachi Ltd Method for starting circuit substrate testing program

Also Published As

Publication number Publication date
JPH02190940A (en) 1990-07-26

Similar Documents

Publication Publication Date Title
US5509120A (en) Method and system for detecting computer viruses during power on self test
US20020144193A1 (en) Method and system for fault isolation methodology for I/O unrecoverable, uncorrectable error
JPS5968004A (en) Fail-safe method of on-vehicle computer
JPH06162645A (en) Floppy-disk drive apparatus
JP2728480B2 (en) Information processing device
JP4658451B2 (en) Computer management system
JPH11161523A (en) Fault information gathering device
US20090070509A1 (en) Method of detecting and protecting falling portable computer hard disk through software monitoring driver
JP3060039B2 (en) Automatic Scheduling Method for Online Diagnosis of Disk Unit
JP2679575B2 (en) I / O channel fault handling system
CN112634977A (en) Chip with debugging memory interface and debugging method thereof
JP2844361B2 (en) Error recovery processing method
JP3620984B2 (en) Computer automatic schedule control system, recording medium therefor, and computer automatic schedule control method
JPH1097440A (en) Electronic computer diagnosing device
JP2912294B2 (en) Printer device
JPS58223860A (en) Magnetic disk controller
JPH07239802A (en) Fault information managing device
JPH08305502A (en) Access time measurement instrument for hard disk unit and method and instrument for diagnosing hard disk unit using the measurement device
JPS6155748A (en) Electronic computer system
JP3060376U (en) Memory device
JPH01142820A (en) Printing controller
JPH0325537A (en) Operator console
JPH0659941A (en) Information processor
JPS6074049A (en) Automatic test control system of trouble processing function
JPS61294555A (en) Detecting method for program runaway

Legal Events

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