JP2000066916A - Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program - Google Patents

Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program

Info

Publication number
JP2000066916A
JP2000066916A JP10240669A JP24066998A JP2000066916A JP 2000066916 A JP2000066916 A JP 2000066916A JP 10240669 A JP10240669 A JP 10240669A JP 24066998 A JP24066998 A JP 24066998A JP 2000066916 A JP2000066916 A JP 2000066916A
Authority
JP
Japan
Prior art keywords
circuit configuration
self
diagnosis
change
configuration information
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
JP10240669A
Other languages
Japanese (ja)
Inventor
Yukihisa Miki
幸寿 三木
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.)
Minolta Co Ltd
Original Assignee
Minolta 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 Minolta Co Ltd filed Critical Minolta Co Ltd
Priority to JP10240669A priority Critical patent/JP2000066916A/en
Publication of JP2000066916A publication Critical patent/JP2000066916A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable a device to execute the self-diagnosis of an information processor only when a circuit board in the information processor is exchanged or the like. SOLUTION: When a power supply is turned on, whether a self-diagnostic request exists or not, is checked (S1) and when the self-diagnostic processing request exists (S2: YES), the self-diagnostic processing is executed (S7). On the other hand, when the self-diagnostic processing request does not exist (S2: NO), current circuit constitution information is acquired and compared with stored circuit constitution information (S3, S4). When both the circuit constitution information data coincide with each other and it is judged that there is no change in the circuit constitution (S5: NO) as the result of comparison, the processing is ended. On the other hand, when both the circuit constitution information data are mutually different and it is judged that there is a change in the circuit constitution (S5: YES), the stored circuit constitution information is rewritten to the newly acquired circuit constitution information (S6) and self-dagnostic processing is executed (S7).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、たとえばプリンタ
コントローラなどの情報処理装置の回路基板が交換など
された場合に、当該情報処理装置の自己診断をするよう
にした自己診断装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a self-diagnosis device which performs a self-diagnosis of an information processing device such as a printer controller when a circuit board of the information processing device is replaced.

【0002】[0002]

【従来の技術】従来から、プリンタコントローラの電源
投入時などには自動的に自己診断をし、たとえば、RO
MやRAMなどの記憶回路やI/O回路などの回路基板
の不具合を検知できるようにしている。
2. Description of the Related Art Conventionally, a self-diagnosis is performed automatically when the power of a printer controller is turned on, for example.
A failure of a circuit board such as a storage circuit such as M or RAM or an I / O circuit can be detected.

【0003】[0003]

【発明が解決しようとする課題】ところが、このような
従来のプリンタコントローラでは、電源投入時には必ず
自己診断が実行されるようになっているため、多くの回
路基板を有している場合(オプション機能が実装されて
いる場合)には、自己診断に時間がかかり、なかなかプ
リンタが使用可能状態(レディ)にならないという問題
が指摘されている。また、頻繁に電源投入が行なわれる
ときには、電源投入の度に不必要な自己診断が繰り返さ
れ、自己診断の頻度が多すぎるという問題も指摘されて
いる。
However, in such a conventional printer controller, a self-diagnosis is always performed when the power is turned on, so that the printer controller has many circuit boards (optional function). Has been pointed out, it takes a long time for self-diagnosis and the printer does not readily enter a usable state (ready). Further, when the power is frequently turned on, unnecessary self-diagnosis is repeated every time the power is turned on, and it is pointed out that the frequency of the self-diagnosis is too high.

【0004】このような問題を少しでも解消するため
に、同日に複数回電源が投入された場合であっても、そ
の日の最初に電源が投入された時にのみ自己診断をする
ようにした情報処理装置が特開平8−292897号公
報に開示されている。つまり、この情報処理装置では、
1日に1回だけ自己診断をするようにして、不必要な自
己診断が行なわれないようにしている。
[0004] In order to solve such a problem as much as possible, even if the power is turned on a plurality of times on the same day, a self-diagnosis is performed only when the power is turned on first on the day. The apparatus is disclosed in Japanese Patent Application Laid-Open No. 8-292897. That is, in this information processing device,
The self-diagnosis is performed only once a day so that unnecessary self-diagnosis is not performed.

【0005】一方、上記のように電源投入の頻度が多い
場合とは逆に、長時間通電したまま継続使用するような
場合には、従来のように電源投入時のみに自己診断を行
なうようにしたのでは、次の電源投入までは自己診断が
全く行なわれないことになり、上記の場合とは逆に自己
診断の頻度が極端に少なくなって、システム障害(ハー
ドウェア障害)を早期に発見し、適切な措置をとること
ができなくなるという問題がある。
On the other hand, in contrast to the case where the power is frequently turned on as described above, in the case where the power is continuously used with power being supplied for a long time, the self-diagnosis is performed only at the time of turning on the power as in the related art. Therefore, self-diagnosis is not performed at all until the next power-on, and the frequency of self-diagnosis becomes extremely low, contrary to the above case, and a system failure (hardware failure) is detected early. However, there is a problem that appropriate measures cannot be taken.

【0006】本発明は、上記のような従来の問題点に鑑
みてなされたものであり、たとえばプリンタコントロー
ラなどの情報処理装置の回路構成の変更が検出された場
合には、当該情報処理装置の自己診断をするようにした
自己診断装置及び方法並びに自己診断プログラムを記録
したコンピュータ読み取り可能な記録媒体の提供を目的
とする。
The present invention has been made in view of the above-mentioned conventional problems. For example, when a change in the circuit configuration of an information processing apparatus such as a printer controller is detected, the information processing apparatus is not provided with the information processing apparatus. It is an object of the present invention to provide a self-diagnosis apparatus and method for performing self-diagnosis, and a computer-readable recording medium on which a self-diagnosis program is recorded.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するため
の本発明は、各請求項毎に次のように構成される。
The present invention for achieving the above object is constituted as follows for each claim.

【0008】請求項1に記載の発明は、回路構成の変更
が可能な情報処理装置において、回路構成情報を記憶す
る記憶手段と、回路構成情報を取得する取得手段と、前
記記憶手段に記憶されている回路構成情報と前記取得手
段によって新たに取得された回路構成情報とを比較する
比較手段と、当該比較手段による比較結果に応じて前記
情報処理装置内の回路構成の変更を検出する検出手段
と、当該検出手段によって回路構成の変更が検出された
場合に前記情報処理装置を自己診断する制御手段とを有
することを特徴とする自己診断装置である。
According to a first aspect of the present invention, in an information processing apparatus capable of changing a circuit configuration, a storage unit that stores circuit configuration information, an obtaining unit that obtains circuit configuration information, and a storage unit that is stored in the storage unit. Comparing means for comparing the circuit configuration information obtained with the circuit configuration information newly obtained by the obtaining means, and detecting means for detecting a change in the circuit configuration in the information processing apparatus according to the comparison result by the comparing means And a control means for performing a self-diagnosis of the information processing apparatus when a change in circuit configuration is detected by the detection means.

【0009】請求項2に記載の発明は、請求項1に記載
の自己診断装置において、電源投入時点において、前記
記憶手段に記憶されている回路構成情報と前記取得手段
によって新たに取得された回路構成情報とを比較し、回
路構成の変更が検出された場合に前記情報処理装置を自
己診断することを特徴とする。
According to a second aspect of the present invention, in the self-diagnosis apparatus according to the first aspect, at the time of power-on, the circuit configuration information stored in the storage means and the circuit newly acquired by the acquisition means. The configuration information is compared with the configuration information, and when a change in the circuit configuration is detected, the information processing apparatus performs a self-diagnosis.

【0010】請求項3に記載の発明は、請求項1または
請求項2に記載の自己診断装置において、前記情報処理
装置は、プリンタまたはプリンタコントローラのいずれ
かであることを特徴とする。
According to a third aspect of the present invention, in the self-diagnosis apparatus according to the first or second aspect, the information processing device is one of a printer and a printer controller.

【0011】請求項4に記載の発明は、情報処理装置の
回路構成情報を取得する第1段階と、当該第1段階で取
得した回路構成情報と記憶されている回路構成情報とを
比較する第2段階と、当該第2段階での比較結果に応じ
て前記情報処理装置の回路構成の変更を検出する第3段
階と、当該第3段階で回路構成の変更が検出された場合
に前記情報処理装置を自己診断する第4段階とを有する
ことを特徴とする自己診断方法である。
According to a fourth aspect of the present invention, a first step of obtaining circuit configuration information of an information processing apparatus and a step of comparing the circuit configuration information obtained in the first step with the stored circuit configuration information. A second step, a third step of detecting a change in the circuit configuration of the information processing apparatus according to a comparison result in the second step, and the information processing when the change in the circuit configuration is detected in the third step. And a fourth stage of self-diagnosis of the device.

【0012】請求項5に記載の発明は、情報処理装置の
回路構成情報を取得し、取得した回路構成情報と記憶さ
れている回路構成情報とを比較し、比較結果に応じて前
記情報処理装置の回路構成の変更を検出し、回路構成の
変更が検出された場合に前記情報処理装置を自己診断さ
せることを特徴とする自己診断プログラムを記録したコ
ンピュータ読み取り可能な記録媒体である。
According to a fifth aspect of the present invention, the circuit configuration information of the information processing apparatus is obtained, the obtained circuit configuration information is compared with the stored circuit configuration information, and the information processing apparatus is determined according to the comparison result. A computer-readable recording medium that records a self-diagnosis program, wherein the self-diagnosis program is characterized by detecting a change in the circuit configuration of the information processing apparatus and causing the information processing apparatus to perform a self-diagnosis when the change in the circuit configuration is detected.

【0013】[0013]

【発明の実施の形態】本発明は、自己診断結果の履歴か
ら回路構成の変更の有無を検知し、変更があった場合に
自己診断を実行するものである。本発明を適用できる情
報処理装置としては、プリンタ装置、スキャナ装置、F
AX装置、その他これらの機能を複合的に有する多機能
周辺装置のコントローラなどがある。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention detects the presence or absence of a change in the circuit configuration from the history of self-diagnosis results, and executes self-diagnosis when a change is made. The information processing apparatus to which the present invention can be applied includes a printer device, a scanner device,
An AX device, a controller of a multifunctional peripheral device having these functions in combination, and the like are available.

【0014】本発明では、自己診断の対象となる情報処
理装置がどのような回路構成になっているのか、具体的
には、どの接続ポートにはどのような種類の回路基板
(またはオプション機器)が接続されているのかを示す
回路構成情報と、自己診断の実行履歴(時間を含む)と
を、不揮発性記憶装置に保存しておき、回路基板(オプ
ション装置)が交換されたり、回路基板が増加、減少さ
れたこと、すなわち回路構成が変更されたことを、その
前後の回路構成情報から検出し、変更があったときに、
はじめて自己診断を実行する。したがって、基本的に回
路構成に変更が生じた場合以外は自己診断は行なわれな
い。
According to the present invention, what kind of circuit configuration of the information processing apparatus to be self-diagnosed is, specifically, what kind of circuit board (or optional equipment) is connected to which connection port Is stored in a non-volatile storage device, and the circuit board (optional device) is replaced or the circuit board is replaced. Increase, decrease, that is, the change in the circuit configuration is detected from the circuit configuration information before and after that, when there is a change,
Perform self-diagnosis for the first time. Therefore, self-diagnosis is not basically performed except when a change occurs in the circuit configuration.

【0015】これによって、短時間に繰り返し電源投入
されてもその都度自己診断されなくなり、不必要な自己
診断が行なわれなくなる。また、長時間通電したまま継
続使用するような場合でも、通電しながら回路構成が変
更されたような場合には自己診断されるようになり、シ
ステム障害(ハードウェア障害)を早期に発見し、適切
な措置をとることができるようになる。
Thus, even if the power is repeatedly turned on in a short time, self-diagnosis is not performed each time, and unnecessary self-diagnosis is not performed. In addition, even if the circuit configuration is changed while the power is on even when the power supply is continuously used for a long time, self-diagnosis will be performed, and a system failure (hardware failure) will be detected at an early stage. Appropriate measures can be taken.

【0016】本発明の概略は上記の通りであるが、つぎ
に、本発明の1実施形態を図面に基づいて詳細に説明す
る。なお、この実施の形態では、情報処理装置の一例と
してプリンタを挙げて説明する。図1は、プリンタの制
御系を示すブロック図である。
The outline of the present invention is as described above. Next, an embodiment of the present invention will be described in detail with reference to the drawings. In this embodiment, a printer will be described as an example of the information processing apparatus. FIG. 1 is a block diagram showing a control system of the printer.

【0017】プリンタ10には、プリンタ10の機械的
構成部分を駆動するプリンタエンジン20が設けられ、
このプリンタエンジン20は、プリンタコントローラ3
0によって駆動される。
The printer 10 is provided with a printer engine 20 for driving mechanical components of the printer 10.
The printer engine 20 includes the printer controller 3
Driven by 0.

【0018】プリンタコントローラ30は、基本的に
は、CPU31、内蔵RAM32、内蔵ROM33、N
VRAM34、通信入出力I/F35、操作パネル3
6、プリンタエンジンI/F37によって構成されてい
る。また、必要に応じてハードディスク41、増設RA
M42、増設ROM43、フラッシュROM44のオプ
ションデバイスを装着できるようになっている。なお、
このプリンタ10では、通電中にオプションデバイスの
着脱が可能である。
The printer controller 30 basically includes a CPU 31, a built-in RAM 32, a built-in ROM 33,
VRAM 34, communication input / output I / F 35, operation panel 3
6. The printer engine I / F 37. If necessary, a hard disk 41 and an additional RA
Optional devices such as M42, additional ROM 43, and flash ROM 44 can be mounted. In addition,
In the printer 10, optional devices can be attached and detached while power is supplied.

【0019】内蔵システムRAM32aは、CPU31
が処理を実行するために必要なワーク領域等として使用
され、内蔵VRAM32bは、プリントデータに基づい
て形成された画像をプリント出力するためにプリンタエ
ンジン20に送る画像データ(ビットマップデータ)の
展開領域として使用される。オプションデバイスの増設
RAM42が装着されると、内蔵RAM32のメモリ領
域を拡張することができる。
The built-in system RAM 32a has a CPU 31
Is used as a work area or the like necessary for executing processing, and a built-in VRAM 32b is a development area for image data (bitmap data) to be sent to the printer engine 20 to print out an image formed based on the print data. Used as When the additional RAM 42 as an optional device is mounted, the memory area of the built-in RAM 32 can be expanded.

【0020】また、オプションデバイスの拡張プログラ
ムROM43aが装着されると、このROMには他のプ
リンタ制御言語プログラムが格納されているので、他の
種類のプリンタでもプリント出力できるようになる。
When an optional device expansion program ROM 43a is installed, other printer control language programs are stored in the ROM, so that other types of printers can print out.

【0021】プログラムROM33aには、CPU31
が実行するプリンタコントローラ30の制御プログラム
やプリンタ制御言語を解釈するプログラムが格納されて
いる。フォントROM33bには、印刷処理に必要なビ
ットマップデータを生成するために使用するフォント情
報とフォントデータが格納される。
The program ROM 33a contains the CPU 31
And a program for interpreting the printer control language of the printer controller 30 to be executed. The font ROM 33b stores font information and font data used to generate bitmap data required for printing processing.

【0022】フォントROM33bに格納されているフ
ォントデータとは異なるフォントデータを使いたい場合
には、拡張フォントROM43bをオプションデバイス
として装着する。電気的に書き変え可能なフラッシュR
OM44をオプションデバイスとして装着した場合に
は、内蔵RAM32のメモリ領域をさらに拡張すること
ができる。
When it is desired to use font data different from the font data stored in the font ROM 33b, the extended font ROM 43b is mounted as an optional device. Electronically rewritable flash R
When the OM 44 is mounted as an optional device, the memory area of the built-in RAM 32 can be further expanded.

【0023】通信入出力I/F35は、プリンタ10に
接続されるたとえばコンピュータなどの外部接続機器と
の情報を入出力するインターフェースである。操作パネ
ル36は、たとえば、プリントスタート、ストップの指
示やプリント枚数などの設定をするキーが配置されてい
るパネルである。
The communication input / output I / F 35 is an interface for inputting and outputting information with an externally connected device such as a computer connected to the printer 10. The operation panel 36 is, for example, a panel on which keys for setting a print start / stop instruction and the number of prints are arranged.

【0024】プリンタエンジンI/F37は、プリンタ
エンジン20と情報の授受をするインターフェースであ
る。ハードディスク41は、オプションデバイスとして
増設される記憶装置である。
The printer engine I / F 37 is an interface for exchanging information with the printer engine 20. The hard disk 41 is a storage device added as an optional device.

【0025】図2は、図1に示したプリンタの電源投入
時の動作を示すフローチャートである。CPU31は、
電源が投入されると、自己診断の要求が有るか無いかを
チェックし(S1)、自己診断の処理の要求が有れば
(S2:YES)、プリンタ10の自己診断処理を実行
する(S7)。
FIG. 2 is a flowchart showing the operation of the printer shown in FIG. 1 when the power is turned on. The CPU 31
When the power is turned on, it is checked whether or not a request for self-diagnosis is made (S1). If there is a request for self-diagnosis processing (S2: YES), the self-diagnosis processing of the printer 10 is executed (S7). ).

【0026】以上の処理は本発明とは直接関係はない
が、強制的な自己診断要求(たとえば、一定時間毎に出
される自己診断要求)があったときには自己診断処理が
実行されることを示している。
Although the above processing is not directly related to the present invention, it indicates that the self-diagnosis processing is executed when there is a compulsory self-diagnosis request (for example, a self-diagnosis request issued at regular intervals). ing.

【0027】一方、自己診断の処理の要求が無ければ
(S2:NO)、CPU31は、現在の回路構成情報を
取得して、これをNVRAM34に記憶されている回路
構成情報と比較する。なお、本実施の形態における回路
構成情報とは、ハードディスク41、増設RAM42、
増設ROM43、フラッシュROM44のオプションデ
バイスが交換されたり、その接続数が増減されたりした
ことを示す情報である。なお、これ以外でも、回路構成
情報には、たとえば通信入出力I/F35の着脱が可能
であれば、この交換や着脱の情報も含まれる(S3,S
4)。
On the other hand, if there is no request for the self-diagnosis processing (S2: NO), the CPU 31 acquires the current circuit configuration information and compares it with the circuit configuration information stored in the NVRAM 34. Note that the circuit configuration information in the present embodiment includes the hard disk 41, the additional RAM 42,
This information indicates that the optional devices of the additional ROM 43 and the flash ROM 44 have been replaced or the number of connected devices has been increased or decreased. In addition to this, if the communication input / output I / F 35 can be attached / detached, for example, the circuit configuration information also includes information on the exchange / attachment / removal (S3, S3).
4).

【0028】この比較の結果、回路構成情報が一致し、
回路構成に変更がないと判断された場合には(S5:N
O)、処理を終了し、一方、回路構成情報に相違があ
り、回路構成に変更があると判断された場合には(S
5:YES)、CPU31はNVRAM34に格納され
ている回路構成情報を今回新たに取得した回路構成情報
に書き替え(S6)、プリンタ10の自己診断処理を実
行する(S7)。
As a result of this comparison, the circuit configuration information matches,
If it is determined that there is no change in the circuit configuration (S5: N
O), the process is terminated, and if it is determined that there is a difference in the circuit configuration information and the circuit configuration is changed (S)
5: YES), the CPU 31 rewrites the circuit configuration information stored in the NVRAM 34 with the newly obtained circuit configuration information (S6), and executes a self-diagnosis process of the printer 10 (S7).

【0029】以上の処理では、電源投入時に自己診断要
求がある場合、または回路構成情報が相違している場合
にのみ、NVRAM34に格納されている回路構成情報
を更新し、自己診断処理を実行することになる。
In the above processing, the circuit configuration information stored in the NVRAM 34 is updated and the self-diagnosis processing is executed only when there is a self-diagnosis request at power-on or when the circuit configuration information is different. Will be.

【0030】図3は、プリンタコントローラ30の回路
構成の変更をハードウェアの割り込みにより検知する処
理を示すフローチャートである。CPU31は、回路構
成の変更を検知すると割り込み信号を発生させ、ポート
上の予め定義された領域に回路構成情報をセットする
(S11)。つぎに、CPU31は、セットした回路構
成情報を入力ポートから読み出して、NVRAM34に
記憶されている回路構成情報に代えて読み出した回路構
成情報を更新記憶させる(S12)。そして、CPU3
1は、プリンタ10の自己診断処理を要求する(S1
3)。
FIG. 3 is a flowchart showing a process for detecting a change in the circuit configuration of the printer controller 30 by a hardware interrupt. When detecting a change in the circuit configuration, the CPU 31 generates an interrupt signal and sets the circuit configuration information in a predefined area on the port (S11). Next, the CPU 31 reads the set circuit configuration information from the input port, and updates and stores the read circuit configuration information in place of the circuit configuration information stored in the NVRAM 34 (S12). And CPU3
1 requests self-diagnosis processing of the printer 10 (S1).
3).

【0031】このフローチャートの処理では、回路構成
の変更をハードウェアの割り込みによって検知した時に
割り込み信号を発生させて自己診断処理を実行させるよ
うにしている。
In the process of this flowchart, when a change in the circuit configuration is detected by a hardware interrupt, an interrupt signal is generated to execute the self-diagnosis process.

【0032】図4は、プリンタコントローラ30の回路
構成の変更をポート情報によって検知する処理を示すフ
ローチャートである。CPU31は、一定の周期で発生
するタイマ割り込みなどを利用して、回路構成を示す入
力ポートから回路構成情報を読み出し(S21)、この
読み出した回路構成情報を、NVRAM34に記憶され
ている回路構成情報と比較して、回路構成情報に変更が
なければ処理を終了する(S22:NO)。
FIG. 4 is a flowchart showing a process for detecting a change in the circuit configuration of the printer controller 30 based on port information. The CPU 31 reads out the circuit configuration information from the input port indicating the circuit configuration using a timer interrupt or the like generated at a fixed cycle (S21), and stores the read circuit configuration information in the circuit configuration information stored in the NVRAM 34. If there is no change in the circuit configuration information, the process ends (S22: NO).

【0033】一方、回路構成情報に変更があれば(S2
2:YES)、NVRAM34に記憶されている回路構
成情報に代えて読み出した回路構成情報を更新記憶させ
る(S23)。そして、CPU31は、プリンタ10の
自己診断処理を要求する(S24)。
On the other hand, if there is a change in the circuit configuration information (S2
2: YES), the read circuit configuration information is updated and stored in place of the circuit configuration information stored in the NVRAM 34 (S23). Then, the CPU 31 requests a self-diagnosis process of the printer 10 (S24).

【0034】このフローチャートの処理では、ハードウ
ェアの一定の周期の割り込みによって、入力ポートから
読み出した回路構成情報と記憶されている回路構成情報
とを比較して、回路構成に変更があったら自己診断処理
を実行させるようにしている。
In the processing of this flowchart, the circuit configuration information read from the input port and the stored circuit configuration information are compared by an interrupt of a fixed period of hardware, and if there is a change in the circuit configuration, self-diagnosis is performed. The process is executed.

【0035】ただし、上記のような割り込み処理をした
場合、たとえば、拡張プログラムROM43aの交換、
同一サイズの増設RAM42の交換などのように回路構
成の変更を伴わない基板などの着脱がされたときには、
回路構成に変更がないので、このことを検出することが
できない。そこで、図5に示すようなソフトウェアによ
るチェック処理をする必要がある。
However, when the above interrupt processing is performed, for example, replacement of the extension program ROM 43a,
When a board or the like without changing the circuit configuration is attached or detached, such as replacement of the additional RAM 42 of the same size,
Since there is no change in the circuit configuration, this cannot be detected. Therefore, it is necessary to perform a check process using software as shown in FIG.

【0036】図5は、プリンタコントローラ30が回路
構成の変更をハードウェアで検知することができない場
合に適した処理を示すフローチャートである。このよう
な場合には、図4のフローチャートと同様に、ソフトウ
ェアによるタイマ割り込みなどを利用してある一定の周
期で回路構成の変更を検知する必要がある。
FIG. 5 is a flowchart showing a process suitable for a case where the printer controller 30 cannot detect a change in the circuit configuration by hardware. In such a case, similarly to the flowchart of FIG. 4, it is necessary to detect a change in the circuit configuration at a fixed cycle using a timer interrupt or the like by software.

【0037】そこで、前提事項として、ソフトウェアに
よって回路構成の変更を検知できるようにするため、た
とえば、増設RAM42の場合には、図6に示すよう
に、RAMアドレス空間の各ブロック毎に任意の値を書
き込み、これを管理テーブルで管理するようにしてい
る。この管理テーブルに書き込まれている値(回路構成
情報)とNVRAM34に記憶されている回路構成情報
とを比較して回路構成の変更を検知する。また、拡張プ
ログラムROM43aの場合には、図7に示すように、
拡張プログラムROM43aの先頭部分の固定アドレス
領域に一意に定めた識別コード(または文字列)を予め
書き込んでおき、これを拡張オプションROM情報部管
理テーブルで管理するようにしている。この拡張オプシ
ョンROM情報部管理テーブルに書き込まれている識別
コード(回路構成情報)とNVRAM34に記憶されて
いる回路構成情報とを比較して回路構成の変更を検知す
る。
Therefore, as a prerequisite, in order to detect a change in the circuit configuration by software, for example, in the case of the additional RAM 42, as shown in FIG. Is written, and this is managed in the management table. The value (circuit configuration information) written in the management table is compared with the circuit configuration information stored in the NVRAM 34 to detect a change in the circuit configuration. In the case of the extended program ROM 43a, as shown in FIG.
An identification code (or character string) uniquely defined is previously written in a fixed address area at the head of the extension program ROM 43a, and is managed in the extension option ROM information section management table. The identification code (circuit configuration information) written in the extended option ROM information section management table is compared with the circuit configuration information stored in the NVRAM 34 to detect a change in the circuit configuration.

【0038】このように、オプションデバイスに任意の
値や識別コードを書き込んでおけば、拡張プログラムR
OM43aの交換、同一サイズの増設RAM42の交換
などのように回路構成の変更を伴わない基板などの着脱
がされたときでも、回路構成の変更があったときと同様
に自己診断処理を実行させることができる。
As described above, if an arbitrary value or an identification code is written in the optional device, the extension program R
Even when a board or the like that does not involve a change in circuit configuration is replaced, such as when the OM 43a is replaced or the extension RAM 42 of the same size is replaced, the self-diagnosis process is executed in the same manner as when the circuit configuration is changed. Can be.

【0039】以上の前提事項を踏まえて図5のフローチ
ャートの処理を説明する。まず、CPU31は、例示し
た管理テーブルの値(増設RAM42の回路構成情報)
や拡張オプションROM情報部管理テーブルに書き込ま
れている識別コード(拡張プログラムROM43aの回
路構成情報)を読み込んで、これらの回路構成情報をN
VRAM34に記憶されている回路構成情報と比較して
回路構成の変更を検知する(S31)。この比較の結
果、回路構成情報に変更がなければ処理を終了する(S
32:NO)。
The processing of the flowchart of FIG. 5 will be described based on the above premise. First, the CPU 31 calculates the values of the exemplified management table (circuit configuration information of the additional RAM 42).
And the identification code (circuit configuration information of the extension program ROM 43a) written in the extended option ROM information section management table, and reads the circuit configuration information into N
The change of the circuit configuration is detected by comparing with the circuit configuration information stored in the VRAM 34 (S31). As a result of this comparison, if there is no change in the circuit configuration information, the process is terminated (S
32: NO).

【0040】一方、回路構成情報に変更があれば(S3
2:YES)、NVRAM34に記憶されている回路構
成情報に代えて読み出した回路構成情報を更新記憶させ
る(S33)。そして、CPU31は、プリンタ10の
自己診断処理を要求する(S34)。
On the other hand, if there is a change in the circuit configuration information (S3
2: YES), the read circuit configuration information is updated and stored in place of the circuit configuration information stored in the NVRAM 34 (S33). Then, the CPU 31 requests a self-diagnosis process of the printer 10 (S34).

【0041】このフローチャートの処理では、ソフトウ
ェアによる一定の周期の割り込みによって、管理テーブ
ルに書き込まれている回路構成情報と記憶されている回
路構成情報とを比較して、回路構成に変更があったら自
己診断処理を実行させるようにしている。
In the process of this flowchart, the circuit configuration information written in the management table and the stored circuit configuration information are compared by interruption of a fixed period by software, and if there is a change in the circuit configuration, The diagnostic processing is executed.

【0042】以上のように、本実施の形態では、回路構
成情報、すなわち、どの接続ポートにはどのような種類
の回路基板(またはオプション機器)が接続されている
のかを示す回路構成情報と、自己診断の実行履歴(時間
を含む)とを、NVRAMに保存しておくことによっ
て、ハードウェアの割り込み処理またはソフトウェアの
割り込み処理によって、回路基板(オプション装置)が
交換されたり、回路基板が増加、減少されたこと、すな
わち回路構成が変更されたことを、その前後の回路構成
情報から検出し、変更があったときに、はじめてプリン
タの自己診断を実行するようにしている。
As described above, in the present embodiment, circuit configuration information, that is, circuit configuration information indicating which type of circuit board (or optional device) is connected to which connection port, By storing the self-diagnosis execution history (including time) in the NVRAM, a circuit board (optional device) is replaced or the number of circuit boards is increased by hardware interrupt processing or software interrupt processing. The reduction, that is, the change in the circuit configuration is detected from the circuit configuration information before and after the change, and the self-diagnosis of the printer is executed only when there is a change.

【0043】このため、早期にシステム障害(ハードウ
ェア故障)を発見することができ、適切かつ迅速に障害
復旧が可能になる。また、基本的に回路構成が変更され
たとき以外は自己診断が実行されないため、短時間に繰
り返し電源投入されてもその都度自己診断されなくな
り、不必要な自己診断が行なわれなくなる。したがっ
て、プリンタが使用可能状態(レディ)になるまでの時
間を短くでき、ユーザーはプリンタを電源投入直後から
速やかに使用することができるようになる。
As a result, a system failure (hardware failure) can be discovered at an early stage, and failure recovery can be performed appropriately and promptly. In addition, since the self-diagnosis is basically not performed except when the circuit configuration is changed, the self-diagnosis is not performed every time even if the power is repeatedly turned on in a short time, and unnecessary self-diagnosis is not performed. Therefore, the time until the printer becomes ready (ready) can be shortened, and the user can use the printer immediately after turning on the power.

【0044】なお、以上の実施の形態では、本発明の技
術的思想をプリンタに適用した場合について説明した
が、冒頭でも説明したように、スキャナ装置、FAX装
置、その他これらの機能を複合的に有する多機能周辺装
置のコントローラなどにも適用可能であるとは言うまで
もない。
In the above embodiment, the case where the technical concept of the present invention is applied to a printer has been described. However, as described at the beginning, a scanner device, a FAX device, and other functions are combined. Needless to say, the present invention can be applied to a controller of a multifunction peripheral device having the same.

【0045】[0045]

【発明の効果】以上の説明により明らかなように、本発
明は次のような効果を奏する。
As apparent from the above description, the present invention has the following effects.

【0046】請求項1乃至請求項5に記載の発明にあっ
ては、回路構成情報により回路構成の変更が検出された
場合に情報処理装置の自己診断が実行されるようにして
いるので、短時間に繰り返し電源投入されてもその都度
自己診断されなくなり、不必要な自己診断が行なわれな
くなる。また、長時間通電したまま継続使用するような
場合でも、通電しながら回路構成が変更されたような場
合には自己診断されるようになり、システム障害(ハー
ドウェア障害)を早期に発見し、適切な措置をとること
ができるようになる。
According to the first to fifth aspects of the present invention, the self-diagnosis of the information processing apparatus is performed when a change in the circuit configuration is detected based on the circuit configuration information. Even if the power is repeatedly turned on at the time, self-diagnosis is not performed each time, and unnecessary self-diagnosis is not performed. In addition, even if the circuit configuration is changed while the power is on even when the power supply is continuously used for a long time, self-diagnosis will be performed, and a system failure (hardware failure) will be detected at an early stage. Appropriate measures can be taken.

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

【図1】 プリンタの制御系を示すブロック図である。FIG. 1 is a block diagram illustrating a control system of a printer.

【図2】 図1に示したプリンタの電源投入時の動作を
示すフローチャートである。
FIG. 2 is a flowchart showing an operation of the printer shown in FIG. 1 when power is turned on.

【図3】 プリンタコントローラの回路構成の変更をハ
ードウェアの割り込みにより検知する処理を示すフロー
チャートである。
FIG. 3 is a flowchart illustrating a process of detecting a change in the circuit configuration of a printer controller by a hardware interrupt;

【図4】 プリンタコントローラの回路構成の変更をポ
ート情報によって検知する処理を示すフローチャートで
ある。
FIG. 4 is a flowchart illustrating a process of detecting a change in the circuit configuration of the printer controller based on port information.

【図5】 プリンタコントローラが回路構成の変更をハ
ードウェアで検知することができない場合に適した処理
を示すフローチャートである。
FIG. 5 is a flowchart illustrating a process suitable for a case where a printer controller cannot detect a change in circuit configuration by hardware.

【図6】 ソフトウェアによって回路構成の変更を検知
できるようにする手法の説明図である。
FIG. 6 is an explanatory diagram of a technique for enabling a software to detect a change in circuit configuration.

【図7】 ソフトウェアによって回路構成の変更を検知
できるようにする手法の説明図である。
FIG. 7 is an explanatory diagram of a technique for enabling a software to detect a change in circuit configuration.

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

10…プリンタ、 20…プリンタエンジン、 30…プリンタコントローラ、 31…CPU、 34…NVRAM、 42…増設RAM、 43…増設ROM、 43a…拡張プログラムROM。 DESCRIPTION OF SYMBOLS 10 ... Printer, 20 ... Printer engine, 30 ... Printer controller, 31 ... CPU, 34 ... NVRAM, 42 ... Additional RAM, 43 ... Additional ROM, 43a ... Extension program ROM.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 回路構成の変更が可能な情報処理装置に
おいて、 回路構成情報を記憶する記憶手段と、 回路構成情報を取得する取得手段と、 前記記憶手段に記憶されている回路構成情報と前記取得
手段によって新たに取得された回路構成情報とを比較す
る比較手段と、 当該比較手段による比較結果に応じて前記情報処理装置
内の回路構成の変更を検出する検出手段と、 当該検出手段によって回路構成の変更が検出された場合
に前記情報処理装置を自己診断する制御手段とを有する
ことを特徴とする自己診断装置。
1. An information processing apparatus capable of changing a circuit configuration, comprising: storage means for storing circuit configuration information; acquisition means for acquiring circuit configuration information; and circuit configuration information stored in the storage means. A comparing unit that compares the circuit configuration information newly acquired by the acquiring unit; a detecting unit that detects a change in a circuit configuration in the information processing apparatus according to a comparison result by the comparing unit; Control means for performing a self-diagnosis of the information processing apparatus when a change in configuration is detected.
【請求項2】 請求項1に記載の自己診断装置は、電源
投入時点において、前記記憶手段に記憶されている回路
構成情報と前記取得手段によって新たに取得された回路
構成情報とを比較し、回路構成の変更が検出された場合
に前記情報処理装置を自己診断することを特徴とする。
2. The self-diagnosis device according to claim 1, wherein at the time of power-on, the circuit configuration information stored in the storage unit is compared with the circuit configuration information newly acquired by the acquisition unit. When a change in the circuit configuration is detected, the information processing apparatus performs a self-diagnosis.
【請求項3】 前記情報処理装置は、プリンタまたはプ
リンタコントローラのいずれかであることを特徴とする
請求項1または請求項2に記載の自己診断装置。
3. The self-diagnosis device according to claim 1, wherein the information processing device is one of a printer and a printer controller.
【請求項4】 情報処理装置の回路構成情報を取得する
第1段階と、 当該第1段階で取得した回路構成情報と記憶されている
回路構成情報とを比較する第2段階と、 当該第2段階での比較結果に応じて前記情報処理装置の
回路構成の変更を検出する第3段階と、 当該第3段階で回路構成の変更が検出された場合に前記
情報処理装置を自己診断する第4段階とを有することを
特徴とする自己診断方法。
4. A first stage for acquiring circuit configuration information of the information processing apparatus, a second stage for comparing the circuit configuration information acquired in the first stage with stored circuit configuration information, A third step of detecting a change in the circuit configuration of the information processing apparatus according to the comparison result in the step, and a fourth step of performing a self-diagnosis of the information processing apparatus when a change in the circuit configuration is detected in the third step. And a self-diagnosis method.
【請求項5】 情報処理装置の回路構成情報を取得し、 取得した回路構成情報と記憶されている回路構成情報と
を比較し、 比較結果に応じて前記情報処理装置の回路構成の変更を
検出し、 回路構成の変更が検出された場合に前記情報処理装置を
自己診断させることを特徴とする自己診断プログラムを
記録したコンピュータ読み取り可能な記録媒体。
5. Acquiring circuit configuration information of an information processing device, comparing the acquired circuit configuration information with stored circuit configuration information, and detecting a change in the circuit configuration of the information processing device according to the comparison result. A computer-readable recording medium recording a self-diagnosis program, wherein the information processing apparatus performs a self-diagnosis when a change in circuit configuration is detected.
JP10240669A 1998-08-26 1998-08-26 Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program Pending JP2000066916A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10240669A JP2000066916A (en) 1998-08-26 1998-08-26 Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10240669A JP2000066916A (en) 1998-08-26 1998-08-26 Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program

Publications (1)

Publication Number Publication Date
JP2000066916A true JP2000066916A (en) 2000-03-03

Family

ID=17062950

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10240669A Pending JP2000066916A (en) 1998-08-26 1998-08-26 Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program

Country Status (1)

Country Link
JP (1) JP2000066916A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015015621A1 (en) * 2013-08-01 2015-02-05 富士通株式会社 Information processing device, diagnostic method, diagnostic program, and information processing system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015015621A1 (en) * 2013-08-01 2015-02-05 富士通株式会社 Information processing device, diagnostic method, diagnostic program, and information processing system
JP6032369B2 (en) * 2013-08-01 2016-11-24 富士通株式会社 Information processing apparatus, diagnostic method, diagnostic program, and information processing system
JPWO2015015621A1 (en) * 2013-08-01 2017-03-02 富士通株式会社 Information processing apparatus, diagnostic method, diagnostic program, and information processing system

Similar Documents

Publication Publication Date Title
JP2745669B2 (en) Printer
JPH0719192B2 (en) How to use memory in printer
JP2000066916A (en) Self-diagnostic device, its method and computer readable recording medium stored with self-diagnostic program
US8380892B2 (en) Apparatus, method and program
JPH06149550A (en) Image forming device
KR100350982B1 (en) Image forming apparatus and method of operating the same
JP2771677B2 (en) Printing equipment
JP5397667B2 (en) Data processing apparatus, information processing apparatus, image forming apparatus, and data processing program
JPH0858176A (en) Image output device
JPH05193236A (en) Printing apparatus
JP2006107388A (en) Information processor, and information processing method and program
EP0545396A2 (en) Apparatus and method for information processing
JPH09254485A (en) Image forming apparatus
JP3922065B2 (en) Printing control apparatus and image forming apparatus
JPH06219021A (en) Image forming device
JPH11282689A (en) Image forming device and program storing medium
JPH10320139A (en) Printing controller, printing control method and computer-readable recording medium recorded with printing control program
JP2001205897A (en) Printer
JP2571860Y2 (en) Printer device
JP2021009509A (en) Printer
JPH02283466A (en) Printer
JPH11227268A (en) Data processing system, data processing device and method, and information storage medium
JPH09231032A (en) Network interface card for printer
JP2008001076A (en) Imaging device, method for controlling imaging device, program and storage medium
JP2003335003A (en) Printing apparatus

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20040423