JP5370905B2 - Fault diagnosis apparatus and program - Google Patents

Fault diagnosis apparatus and program Download PDF

Info

Publication number
JP5370905B2
JP5370905B2 JP2008063854A JP2008063854A JP5370905B2 JP 5370905 B2 JP5370905 B2 JP 5370905B2 JP 2008063854 A JP2008063854 A JP 2008063854A JP 2008063854 A JP2008063854 A JP 2008063854A JP 5370905 B2 JP5370905 B2 JP 5370905B2
Authority
JP
Japan
Prior art keywords
failure
unit
sub
causal network
software
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
JP2008063854A
Other languages
Japanese (ja)
Other versions
JP2009223362A (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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2008063854A priority Critical patent/JP5370905B2/en
Publication of JP2009223362A publication Critical patent/JP2009223362A/en
Application granted granted Critical
Publication of JP5370905B2 publication Critical patent/JP5370905B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To quickly and easily reflect a change in a diagnostic model when the change has occurred in a software environment. <P>SOLUTION: A fault diagnostic device records a processing process of software of an image forming apparatus (S300), acquires a log in response to the occurrence of a fault (S302, S304), and creates (S320) and holds a sub cause and effect network (S330). A management center collects the sub cause and effect network of each image forming apparatus periodically (S331-S336), classifies the collected sub cause and effect networks by model, embeds them into existing diagnostic models by model and optimizes the diagnostic model, and presents them to the relevant devices (S360, S361, S370). The image forming apparatus performs diagnosis by applying a received aptitude diagnostic model (S380). <P>COPYRIGHT: (C)2010,JPO&amp;INPIT

Description

本発明は、故障診断装置、並びに電子計算機(コンピュータ)を用いて故障診断を実現するためのプログラムに関する。   The present invention relates to a failure diagnosis apparatus and a program for realizing failure diagnosis using an electronic computer (computer).

近年、各種の機械、たとえば、複写機あるいはプリンタなどのオフィス機器においては、高い生産性が要求されるため故障による遅滞が許容されず、故障を速やかに検知して解決することが求められている。また、自動車や航空、ロボットや半導体設計装置など、他の産業機器においても動作制御などの手段として、信頼性が高く、高速・高精度での動作が可能な部材が数多く搭載されているため、一般的に故障発生の頻度が高い。特に使用環境が劣悪である場合には、通常の方法で使用していたとしても、検出が困難な様々な異常や故障が発生し、その修復には多大な労力を要することになる。これらの対処として、故障診断を自動的に行なう仕組みが考えられている(たとえば特許文献1〜3を参照)。たとえば、規則に基づくシステム(ルール型システム)を使用して、自動診断を行なう仕組みが考えられている。ルール型システムの一例としては、ベイジアンネットワーク(Bayesian Network)を利用した故障診断システムがある。   In recent years, various machines such as office machines such as copiers and printers require high productivity, so that delay due to failure is not allowed, and it is required to quickly detect and solve the failure. . In addition, because there are many components that can be operated at high speed and high accuracy as a means of operation control in other industrial equipment such as automobiles, aviation, robots and semiconductor design equipment, In general, the frequency of failure occurrence is high. In particular, when the usage environment is inferior, even if it is used by a normal method, various abnormalities and failures that are difficult to detect occur, and a great deal of labor is required for the repair. As a countermeasure against these problems, a mechanism for automatically performing a failure diagnosis has been considered (see, for example, Patent Documents 1 to 3). For example, a mechanism for performing automatic diagnosis using a rule-based system (rule type system) is considered. As an example of the rule type system, there is a failure diagnosis system using a Bayesian network.

特開2003−032253号公報JP 2003-032253 A 特開2001−075808号公報Japanese Patent Laid-Open No. 2001-075808 特表2005−527008号公報JP 2005-527008 A

たとえば、特許文献1に記載の仕組みでは、通信ネットワークで障害診断をする手法を採っている。具体的には、システムからのアラームに応答して因果ネットワークを構成して、障害につながった可能性がある1つまたは複数のモジュールの誤動作と障害を関連付け、誤動作のそれぞれの確率に障害の条件付確率を関連付けておき、アラームおよび因果ネットワークに基づいて、誤動作の少なくとも1つを更新する、アラームの診断を更新された確率に応答して提示する。   For example, the mechanism described in Patent Document 1 employs a technique for diagnosing faults in a communication network. Specifically, a causal network is configured in response to an alarm from the system, the malfunction of one or more modules that may have led to the fault is associated with the fault, and the fault condition is associated with each malfunction probability. A diagnosis of the alarm is presented in response to the updated probability, with the associated probability associated and updating at least one of the malfunctions based on the alarm and the causal network.

特許文献2に記載の仕組みでは、システムのトラブルシューティングを行なう自動トラブルシューティング機構として、ベイジアンネットワークを使用し、原因確率の評価やアクションおよび質問セットについての確率の評価を行ない、最も問題解決確率が高くコストの低いアクションを順次ユーザに提案するようにしている。   In the mechanism described in Patent Document 2, a Bayesian network is used as an automatic troubleshooting mechanism for system troubleshooting, and the probability of cause and the probability of actions and question sets are evaluated, and the problem solving probability is the highest. The low cost action is proposed to the user sequentially.

特許文献3に記載の仕組みでは、1つまたは複数の処理デバイス上で動作するコンポーネントベースソフトウェアシステムのランタイム監視を実現するために、コンポーネント開始時にスタブ開始ログを取得し、終了時にスタブ終了ログを取得することで、このログを元にタイミング待ち時間・共有資源使用量・因果関係などの監視を行なうようにしている。   In the mechanism described in Patent Document 3, a stub start log is acquired at the start of a component and a stub end log is acquired at the end in order to realize runtime monitoring of a component-based software system that operates on one or a plurality of processing devices. By doing so, timing waiting time, shared resource usage, causal relationship, etc. are monitored based on this log.

本発明は、ソフトウェア環境の変化が起きたときに、迅速あるいは容易に、その変化状況を診断モデルに反映することのできる仕組みを提供することを目的とする。   An object of the present invention is to provide a mechanism that can quickly or easily reflect a change state in a diagnosis model when a change in the software environment occurs.

請求項1に記載の発明は、電子機器を動作させるソフトウェアの処理履歴を記録する記録手段と、前記電子機器に前記ソフトウェア処理を起因とする障害が発生したときに、前記障害の発生以前における前記ソフトウェアの処理履歴を前記記録手段から取得する取得手段と、前記取得手段により取得された前記処理履歴に基づいて、前記ソフトウェア処理を起因とする障害の1つまたは複数の原因モジュールに分類する分類手段と、前記分類手段により分類された原因モジュールのそれぞれを確率で関連付けたサブ因果ネットワークを生成する生成手段と、前記生成手段により生成されたサブ因果ネットワークを、既存の診断モデルの因果ネットワークに組み込んで前記既存の診断モデルを更新する更新手段と有する故障診断装置である。 The invention according to claim 1, when the recording means for recording the process history of the software for operating the electronic device, the disorder caused by the software processing on the electronic device occurs, the in the previous occurrence of the fault acquisition means for acquiring the software for processing history from the recording means, based on the processing history acquired by the acquisition means, classifying means for classifying the one or more causes modules disorders caused the software processing When a generation means for generating a sub-causal network that associates a probability with each of the classified due module by said classifying means, a sub causal network generated by the generation means, incorporated in the causal network of existing diagnostic model A failure diagnosis apparatus having update means for updating the existing diagnosis model .

請求項2に記載の発明は、請求項1に記載の発明においてさらに、前記取得手段は、前記ソフトウェアの処理履歴として、前記障害の発生を通知したソフトウェアモジュールの関数の呼出しスタックを遡って出力したバックトレースログを取得し、前記取得手段が取得したバックトレースログから呼出し関数およびこの呼出し関数が含まれるソフトウェアモジュールを抽出し、呼出し関数およびソフトウェアモジュールの単位でグラフ化することで呼出し関数グラフを生成する呼出し関数グラフ生成部をさらに備え、前記生成手段は、前記関数グラフ生成部により生成された呼出し関数グラフのソフトウェアモジュールを前記サブ因果ネットワークのノードに割り当てるとともに、前記呼出し関数をそのノードのステートに割り当て、各ノードを呼出し関数の読出し順に基づいてリンクすることで前記サブ因果ネットワークを生成する。 According to a second aspect of the present invention, in the first aspect of the present invention, the acquisition unit further outputs , as the processing history of the software, a call stack of the function of the software module that has notified the occurrence of the failure. get the back trace log, generate a call function graph by the acquisition unit extracts the software module that contains the calling function and the call function from backtrace log acquired, graphed in units of call functions and software modules further comprising a calling function graph generator for the generation means may assign software module calls a function graph generated by the function graph generation unit to the nodes of the sub-causal network, the call function of the state of the node Assign each no The to generate the sub-causal network by linking based on the read order of the calling function.

請求項3に記載の発明は、請求項2に記載の発明においてさらに、前記更新手段は、前記サブ因果ネットワーク生成部が生成したサブ因果ネットワークを既存の診断モデルの因果ネットワークと組み合わせるに当たり、既存の診断モデルの因果ネットワークに対して、前記サブ因果ネットワーク生成部が生成したサブ因果ネットワークのノード名とリンクを検索し、前記サブ因果ネットワークのノードが既存の診断モデルに存在するときにはステートの追加や確率値の更新を行ない、前記サブ因果ネットワークのノードが既存の診断モデルに存在しないときには、ノード,リンク,確率テーブルを追加する。 According to a third aspect of the present invention, in the second aspect of the present invention, the updating unit is configured to combine a sub-causal network generated by the sub-causal network generation unit with a causal network of an existing diagnostic model. The causal network of the diagnostic model is searched for the node name and link of the sub causal network generated by the sub causal network generation unit, and when the node of the sub causal network exists in the existing diagnostic model, the addition of the state and the probability The value is updated, and when a node of the sub-causal network does not exist in the existing diagnostic model, a node, a link, and a probability table are added.

請求項4に記載の発明は、請求項1に記載の発明においてさらに、前記取得手段は、前記ソフトウェアの処理履歴として、ソフトウェア処理システムのプロセスログを取得し、前記生成手段は、前記取得手段により取得されたプロセスログ中のプロセスリストを原因とし、前記障害の発生を結果とすることで、前記サブ因果ネットワークを生成するAccording to a fourth aspect of the present invention, in the first aspect, the acquisition unit acquires a process log of a software processing system as the processing history of the software , and the generation unit uses the acquisition unit. The sub-causal network is generated by using the process list in the acquired process log as a cause and generating the failure as a result.

請求項4に記載の発明は、請求項1に記載の発明においてさらに、前記生成手段により生成されたサブ因果ネットワークを保存するサブ因果ネットワーク保持部と、複数の電子機器の各サブ因果ネットワーク保持部に保持されているサブ因果ネットワークを所定のタイミングで収集するサブ因果ネットワーク収集部とをさらに備え、前記更新手段は、前記サブ因果ネットワーク収集部が収集した各電子機器のサブ因果ネットワークを機種ごとに分類して、機種別に既存の診断モデルに組み込むAccording to a fourth aspect of the present invention, in the first aspect of the present invention, the sub-causal network holding unit that stores the sub-causal network generated by the generation unit, and the sub-causal network holding units of the plurality of electronic devices are further provided. A sub-causal network collection unit that collects the sub-causal network held in the network at a predetermined timing, and the updating unit includes the sub-causal network of each electronic device collected by the sub-causal network collection unit for each model. Classify and incorporate into existing diagnostic models by model.

請求項6に記載の発明は、故障診断用の診断モデルを、電子計算機を用いて用意するためのプログラムであって、前記電子計算機に、電子機器を動作させるソフトウェアの処理履歴を記録する記録手段と、前記電子機器に前記したソフトウェア処理を起因とする障害が発生したときに、前記障害の発生以前における前記ソフトウェアの処理履歴を前記記録手段から取得する取得手順と、前記取得手段により取得された前記処理履歴に基づいて、前記ソフトウェア処理を起因とする障害の1つまたは複数の原因モジュールに分類する分類手順と、前記分類手段により分類された原因モジュールのそれぞれを確率で関連付けたサブ因果ネットワークを生成する生成手順と、前記生成手段により生成されたサブ因果ネットワークを、既存の診断モデルの因果ネットワークに組み込んで前記既存の診断モデルを更新する更新手順とを実行させるプログラムである。 The invention according to claim 6 is a program for preparing a diagnostic model for failure diagnosis using an electronic computer, and recording means for recording a processing history of software for operating an electronic device in the electronic computer when the when a disorder caused by the aforementioned software processing in the electronic device occurs, an acquisition procedure for acquiring the processing history of the software in the previous occurrence of the failure from the recording means, obtained by the obtaining means based on the processing history, and classification procedure to classify the one or more causes modules disorders caused the software processing, the sub-causal network that associates a probability with each of the classified due module by said classifying means a generating step of generating, a sub causal network generated by the generation means, existing diagnostic model Is a program for executing an update procedure for incorporating the causal network update the existing diagnostic model.

請求項1に記載の発明によれば、ソフトウェア環境の変化が起きたときに、迅速あるいは容易に、その変化状況を診断モデルに反映することができる。その結果、ソフトウェア障害の故障診断の診断性能が向上する。   According to the first aspect of the present invention, when the software environment changes, the change state can be reflected in the diagnostic model quickly or easily. As a result, the diagnostic performance for fault diagnosis of software faults is improved.

請求項2に記載の発明によれば、バックトレースログを利用して、発生したソフトウェアの障害に帰結するソフトウェア内部の因果関係を、迅速あるいは容易に診断モデルに反映することができる。その結果、ソフトウェア障害の故障診断の診断性能が向上する。   According to the second aspect of the present invention, by using the backtrace log, the causal relationship inside the software resulting in the software failure that has occurred can be reflected quickly or easily in the diagnostic model. As a result, the diagnostic performance for fault diagnosis of software faults is improved.

請求項3に記載の発明によれば、既存のノードとの関係での障害発生に対する反映だけでなく、新規ノードの追加により障害発生に対する反映も可能となる。これにより、たとえば、実稼動中に開発者が想定していないランタイムエラーや、外部ベンダが作成し新規にインストールしたソフトウェアとの干渉によるエラーなどが生じた場合でも、迅速かつ容易に診断モデルに反映することが可能となる。   According to the third aspect of the present invention, not only the reflection of the failure occurrence in relation to the existing node but also the reflection of the failure occurrence can be achieved by adding a new node. As a result, for example, runtime errors not anticipated by developers during actual operation, or errors due to interference with newly installed software created by external vendors, can be reflected in the diagnostic model quickly and easily. It becomes possible to do.

請求項4に記載の発明によれば、プロセスログをソフトウェアの処理過程の記録として利用することで、特定のソフトウェアだけでなく同時に起動されている他の複数ソフトウェアとの因果関係を診断モデルに反映することができる。すなわち、プロセスログ中のプロセスリストを原因とし障害の発生を結果とすることでサブ因果ネットワークを生成できるので診断モデルの適正化が容易で迅速にできる。   According to the invention described in claim 4, by using the process log as a record of the processing process of the software, the causal relationship with not only the specific software but also other plural software activated simultaneously is reflected in the diagnostic model. can do. That is, since a sub-causal network can be generated by using a process list in the process log as a cause and generating a failure as a result, the diagnosis model can be easily and quickly optimized.

請求項5に記載の発明によれば、複数の電子機器のサブ因果ネットワークを収集して纏めて診断モデルに組み込むことができるので、各電子機器で個別に保持している障害情報を網羅した診断モデルを生成することが可能になり、診断精度がさらに向上する。   According to the fifth aspect of the present invention, sub-causal networks of a plurality of electronic devices can be collected and integrated into a diagnostic model, so that diagnosis covering fault information individually held by each electronic device is possible. A model can be generated, and diagnostic accuracy is further improved.

請求項6に記載の発明によれば、ソフトウェア環境の変化が起きたときに、迅速あるいは容易に、その変化状況を診断モデルに反映することで、ソフトウェア障害の故障診断の診断性能を向上させる仕組みを、電子計算機を用いて実現できる。   According to the sixth aspect of the present invention, when a change in the software environment occurs, a mechanism for improving the diagnosis performance of the fault diagnosis of the software fault by reflecting the change state in the diagnosis model quickly or easily. Can be realized using an electronic computer.

以下、図面を参照して本発明の実施形態について詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<<画像形成装置の構成例>>
図1は、故障診断装置の一実施形態を搭載した画像形成装置の構成例を示す図である。ここで、図1は、画像形成装置1の故障診断機能に着目した機能ブロック図である。
<< Configuration Example of Image Forming Apparatus >>
FIG. 1 is a diagram illustrating a configuration example of an image forming apparatus equipped with an embodiment of a failure diagnosis apparatus. Here, FIG. 1 is a functional block diagram focusing on the failure diagnosis function of the image forming apparatus 1.

画像形成装置1は、たとえば原稿の画像を読み取る画像読取部(スキャナ部)を備え、画像読取部で読み取った画像データに基づいて原稿画像に対応する画像を印刷する複写装置機能、パソコンなどから入力された印刷データ(画像を表すデータ)に基づいて印刷出力するプリンタ機能、およびファクシミリ画像を印刷出力可能なファクシミリ送受信機能を備えた複合機であって、デジタルプリント装置として構成されているものである。   The image forming apparatus 1 includes, for example, an image reading unit (scanner unit) that reads an image of a document, and inputs from a personal computer or the like, a copying apparatus function that prints an image corresponding to the document image based on image data read by the image reading unit. A multi-function machine having a printer function for printing out based on the printed data (data representing an image) and a facsimile transmission / reception function capable of printing out a facsimile image, and is configured as a digital printing apparatus. .

図1に示すように、本実施形態の画像形成装置1は、故障診断機能に関わる機能部として、当該画像形成装置1の故障(特にソフトウェア障害)を診断する故障診断装置3(故障診断部)と、用紙通過時間、駆動電流、装置内部温湿度などの装置を診断するために必要となる、装置が動作しているときの装置内部の状態情報(動作状態信号)を観測データとして自動的に取得するセンサ部4と、故障診断に必要な情報を入力するための故障診断入力部5を備える。また、画像形成装置1は、その基本機能をなす機能部として、画像を形成し出力する画像形成部6と、原稿画像を読み込む画像読取部7と、通信網406(ネットワーク)を介して各種の情報のやり取りを行なう通信部8を備える。故障診断装置3は、必要に応じて、管理センタ401に備えられる管理装置(たとえばホストコンピュータ)と連携した処理を行なうように構成してもよい。   As shown in FIG. 1, the image forming apparatus 1 according to the present embodiment has a failure diagnosis device 3 (failure diagnosis unit) that diagnoses a failure (particularly a software failure) of the image forming apparatus 1 as a function unit related to a failure diagnosis function. And the state information (operation state signal) inside the device when the device is in operation, which is necessary for diagnosing the device such as paper passing time, drive current, device internal temperature and humidity, etc. is automatically used as observation data A sensor unit 4 to be acquired and a failure diagnosis input unit 5 for inputting information necessary for failure diagnosis are provided. The image forming apparatus 1 has various functions via an image forming unit 6 that forms and outputs an image, an image reading unit 7 that reads a document image, and a communication network 406 (network). A communication unit 8 for exchanging information is provided. The failure diagnosis apparatus 3 may be configured to perform processing in cooperation with a management apparatus (for example, a host computer) provided in the management center 401 as necessary.

ソフトウェア障害の故障診断を行なうに当たって、センサ部4は、ソフトウェア障害を起因とする搬送系の異常(たとえばジャムの発生や搬送タイミングのずれなど)や画像系の異常(たとえば線・帯欠陥や白抜けや黒点色点などの発生)を検知して障害の発生の通知を出力する際の予備的手段として利用するようになっている。センサ部4を利用した障害の検知手法を採り、その障害(故障)が発生するまでのプログラムの進行状態のログを辿る仕組みと関連付けるようにする。   In diagnosing software faults, the sensor unit 4 detects abnormalities in the transport system (for example, the occurrence of a jam or a shift in transport timing) caused by the software fault or abnormalities in the image system (for example, line / band defects or white spots). Or the occurrence of a failure or the like, and is used as a preliminary means for outputting a notification of the occurrence of a failure. A failure detection method using the sensor unit 4 is adopted and associated with a mechanism for tracing a progress log of a program until the failure (failure) occurs.

ここで、センサ部4で検知した障害は画像形成装置1の動作に深刻な影響を及ぼすレベルをエラー、現段階では影響を及ぼさないがいずれ影響する警告レベルをワーニングとして定義する。エラーの例としては、たとえばディスクへの書き込みエラーが発生した際にその旨を出力する場合があり、ワーニングの例としては、たとえばトナーの残量が少ないことを検知した際にその旨を出力する場合がある。エラーやワーニングは、画像形成装置1上で動作しているスキャンやプリントなどのアプリケーションソフトウェアやOSから発せられるものであり、センサの検知状況に応じたメッセージ出力コードをアプリケーションソフトウェアに記述することで実現している。また、OSのカーネル内に予め記述されている障害検知報知機能で実現している。   Here, a failure detected by the sensor unit 4 is defined as an error, which is a level that seriously affects the operation of the image forming apparatus 1, and a warning level that is not affected at this stage but is affected at all. As an example of an error, for example, when a writing error to a disk occurs, a message to that effect is output. As an example of a warning, for example, when a low amount of toner is detected, that effect is output. There is a case. Errors and warnings are issued from the application software such as scan and print running on the image forming apparatus 1 and the OS, and are realized by writing message output codes according to the detection status of the sensor in the application software. doing. Further, it is realized by a failure detection notification function described in advance in the OS kernel.

画像形成部6は、画像読取部7で読み込んだ画像または通信部8を介して各種の情報機器からプリント指示された画像を所定の印刷用紙上に出力する。なお、通信部8は、通信部8が通信部8を介して管理センタ401に備えられる管理装置から最新の診断モデルを取得するためにも利用される。   The image forming unit 6 outputs an image read by the image reading unit 7 or an image instructed to print from various information devices via the communication unit 8 on a predetermined printing paper. The communication unit 8 is also used by the communication unit 8 to acquire the latest diagnostic model from a management device provided in the management center 401 via the communication unit 8.

故障診断装置3は、各取得情報に基づき、画像形成装置1に発生したソフトウェア障害の故障診断を行なうのに必要な情報を生成する診断情報生成部3Aと、診断情報生成部3Aより得られた情報に基づいて故障診断を行なう故障診断部3Bを有する。   The failure diagnosis device 3 is obtained from a diagnosis information generation unit 3A and a diagnosis information generation unit 3A that generate information necessary for performing a failure diagnosis of a software failure that has occurred in the image forming apparatus 1 based on each acquired information. A failure diagnosis unit 3B that performs failure diagnosis based on the information is provided.

<故障診断装置>
図2は、故障診断装置3の一実施形態を示すブロック図である。故障診断装置3は、ソフトウェア処理で各種の処理を行なうように構成されている診断対象装置(前例では画像形成装置1)にてソフトウェア障害を起因とするエラーやワーニングが起きたときに、ソフトウェア処理の履歴(ログ)を参照して故障診断を行なうように構成されている。
<Fault diagnosis device>
FIG. 2 is a block diagram illustrating an embodiment of the failure diagnosis apparatus 3. The failure diagnosis apparatus 3 performs software processing when an error or warning due to a software failure occurs in a diagnosis target apparatus (image forming apparatus 1 in the previous example) configured to perform various processes by software processing. The failure diagnosis is performed with reference to the history (log) of the system.

たとえば、故障診断装置3の診断情報生成部3Aは、センサ部4で取得された観測データやその他の故障診断に必要な各種情報を取得する動作状態情報取得部140と、発生した故障の状態を故障診断入力部5により提示された画面の指示に従ってユーザが入力することにより得られた故障情報を取得する故障情報取得部152と、ユーザ操作によって動作条件の異なる状態で故障情報を取得する追加操作情報取得部154と、診断情報収集部160(特徴量抽出部)を備えている。   For example, the diagnosis information generation unit 3A of the failure diagnosis apparatus 3 includes an operation state information acquisition unit 140 that acquires observation data acquired by the sensor unit 4 and various other information necessary for failure diagnosis, and a state of the failure that has occurred. A failure information acquisition unit 152 that acquires failure information obtained by user input according to the instructions on the screen presented by the failure diagnosis input unit 5, and an additional operation that acquires failure information in different operating conditions depending on the user operation An information acquisition unit 154 and a diagnostic information collection unit 160 (feature amount extraction unit) are provided.

動作状態情報取得部140は、センサ部4より取得された各部品の稼動状態を示す部品情報を観測データ情報として取得する部品状態情報取得部142と、画像形成装置1の使用状況を監視するとともに、監視結果を不揮発性の記憶媒体に登録・保持することで画像形成装置1の使用状況の監視結果を履歴情報として管理する履歴情報取得管理部143を有する。   The operation state information acquisition unit 140 monitors the usage status of the image forming apparatus 1 and the component state information acquisition unit 142 that acquires component information indicating the operation state of each component acquired from the sensor unit 4 as observation data information. The history information acquisition management unit 143 manages the monitoring result of the usage status of the image forming apparatus 1 as history information by registering and holding the monitoring result in a nonvolatile storage medium.

さらに動作状態情報取得部140は、センサ部4をなす稼働温度検出部84や稼働湿度検出部86にて検知される情報に基づき、温度や湿度などのコンポーネントの状態に影響を与える周囲環境条件を環境情報として取得する環境情報取得部144と、消耗材検知部(用紙情報収集部88や色剤残量検知部89など)にて検知される情報に基づき、印刷用紙の厚さや用紙種別、あるいは色剤の色種やタイプや残量など装置が使用する消耗材の情報を取得する消耗材情報取得部145と、画像形成装置1の仕様情報を取得する仕様情報取得部146を有する。   Furthermore, the operation state information acquisition unit 140 determines ambient environment conditions that affect the state of components such as temperature and humidity based on information detected by the operation temperature detection unit 84 and the operation humidity detection unit 86 constituting the sensor unit 4. Based on the information detected by the environmental information acquisition unit 144 acquired as environmental information and the consumable material detection unit (the paper information collection unit 88, the colorant remaining amount detection unit 89, etc.), It has a consumable material information acquisition unit 145 that acquires information on consumable materials used by the apparatus such as the color type, type, and remaining amount of the colorant, and a specification information acquisition unit 146 that acquires specification information of the image forming apparatus 1.

診断情報収集部160は、部品状態情報取得部142にて取得される搬送系の駆動部材が所定期間動作している間の動作状態を示す動作状態信号に基づいて、その動作状態信号の特徴量を求める。また、診断情報収集部160は、部品状態情報取得部142だけでなく、履歴情報取得管理部143、環境情報取得部144、消耗材情報取得部145、あるいは仕様情報取得部146からの情報も取得して、それら取得した情報の特徴量も求める。診断情報収集部160は、部品状態情報取得部142からの動作状態信号やその他の履歴情報取得管理部143などからの情報を受け取る動作状態信号受取部の機能を持つ。   The diagnostic information collecting unit 160 is based on the operation state signal indicating the operation state while the drive member of the transport system acquired by the component state information acquisition unit 142 is operating for a predetermined period, and the feature amount of the operation state signal Ask for. Further, the diagnostic information collection unit 160 acquires not only the component state information acquisition unit 142 but also information from the history information acquisition management unit 143, the environment information acquisition unit 144, the consumable material information acquisition unit 145, or the specification information acquisition unit 146. Then, the feature amount of the acquired information is also obtained. The diagnostic information collection unit 160 has a function of an operation state signal receiving unit that receives an operation state signal from the component state information acquisition unit 142 and other information from the history information acquisition management unit 143.

診断情報収集部160は、ソフトウェア障害を起因とする搬送系の異常(たとえばジャムの発生や搬送タイミングのずれなど)や画像系の異常(たとえば線・帯欠陥や白抜けや黒点色点などの発生)をセンサ部4により検出される観測データを監視し、それが所定の閾値に対して正常範囲外になったときエラーやワーニングを出力するようになっている。   The diagnostic information collection unit 160 generates an abnormality in the conveyance system (for example, occurrence of a jam or a deviation in conveyance timing) or an abnormality in the image system (for example, a line / band defect, white spot, black spot color point, etc.) due to a software failure. The observation data detected by the sensor unit 4 is monitored, and an error or warning is output when it is outside the normal range with respect to a predetermined threshold.

また、診断情報生成部3Aは、ソフトウェア障害を起因とする故障の診断を行なうための特徴的な機能要素として、ソフトウェア処理のログ(処理過程)を記録するレジスタなどのログ記録部168(処理過程記録部の一例)を有する。   Further, the diagnostic information generation unit 3A has a log recording unit 168 (processing process) such as a register for recording a log (processing process) of software processing as a characteristic functional element for diagnosing a fault caused by a software fault. An example of a recording unit).

故障診断装置3の故障診断部3Bは、故障診断時の判定指標となる基準特徴量や故障診断条件(故障診断モデルなど)を所定の記憶媒体(好ましくは不揮発性の半導体メモリ)に格納する判定指標格納部230、各取得部(動作状態情報取得部140、故障情報取得部152、追加操作情報取得部154)より得られた情報に基づいて故障原因の確率を算出する故障確率推論部260(診断実行部)、あるいは故障判定結果や検査内容をカスタマに通知する通知部270などを内部に有する。故障確率推論部260は、故障候補抽出や故障判定や故障予測を行なう故障判定部262と、故障判定部262の故障判定や故障予測に際して使用される故障確率を推論する推論エンジン264を有する。 The failure diagnosing unit 3B of the failure diagnosing device 3 determines to store a reference feature amount and a failure diagnosis condition (such as a failure diagnosis model) serving as a determination index at the time of failure diagnosis in a predetermined storage medium (preferably a nonvolatile semiconductor memory). Index storage unit 230 , failure probability inference unit 260 (which calculates the probability of failure cause based on information obtained from each acquisition unit (operation state information acquisition unit 140, failure information acquisition unit 152, additional operation information acquisition unit 154) A diagnosis execution unit), or a notification unit 270 for notifying the customer of a failure determination result and inspection contents. The failure probability inference unit 260 includes a failure determination unit 262 that performs failure candidate extraction, failure determination, and failure prediction, and an inference engine 264 that infers failure probabilities used in failure determination and failure prediction of the failure determination unit 262.

また、故障診断部3Bは、ソフトウェア障害を起因とする故障の診断を行なうための特徴的な機能要素として、故障診断条件の適正化処理を行なう診断条件制御部460(更新制御部)を備えている。故障診断モデルなどの故障診断条件を画像形成装置1自身で生成して用意するか管理センタ401側で生成して画像形成装置1に送るかを問わず、診断条件制御部460は、ソフトウェア障害を起因とする故障が発生したとき、エラーやワーニングをトリガとしてソフトウェアログを取得し、このソフトウェアログに基づきサブ因果ネットワークを生成し、このサブ因果ネットワークを既存の診断モデルに組み込むことで診断モデルを更新することにより、ソフトウェア障害を起因とする故障の診断性能を向上させることが好ましい。診断条件制御部460を構成する各機能部については後で詳しく説明する。   Further, the failure diagnosis unit 3B includes a diagnosis condition control unit 460 (update control unit) that performs a failure diagnosis condition optimization process as a characteristic functional element for diagnosing a failure caused by a software failure. Yes. Regardless of whether a fault diagnosis condition such as a fault diagnosis model is generated and prepared by the image forming apparatus 1 itself or generated on the management center 401 side and sent to the image forming apparatus 1, the diagnostic condition control unit 460 generates a software fault. When a failure due to a failure occurs, a software log is acquired using an error or warning as a trigger, a sub-causal network is generated based on this software log, and the diagnostic model is updated by incorporating this sub-causal network into an existing diagnostic model. By doing so, it is preferable to improve the diagnostic performance of a failure caused by a software failure. Each functional unit constituting the diagnostic condition control unit 460 will be described in detail later.

なお図示しないが、判定指標格納部230には、記憶媒体の他に、記憶媒体に基準特徴量を書き込むための書込制御部や、記憶された基準特徴量を記憶媒体から読み出すための読出制御部が設けられる。記憶媒体は、画像形成装置1において診断情報収集部160によって取得される種々の動作状態信号の履歴情報を保持する履歴記憶部の機能を持つ。   Although not shown, in addition to the storage medium, the determination index storage unit 230 includes a writing control unit for writing the reference feature quantity in the storage medium, and a read control for reading the stored reference feature quantity from the storage medium. Parts are provided. The storage medium has a function of a history storage unit that holds history information of various operation state signals acquired by the diagnostic information collection unit 160 in the image forming apparatus 1.

基準特徴量としては、たとえば、駆動機構部を構成する機構部材(モータやソレノイドなどの駆動部材を含む)や機構部材を駆動する電気部材(駆動信号生成部150や駆動回路)が正常に動作している正常状態で、診断情報収集部160により取得された特徴量(たとえば分布状態を特定する情報など)を使用する。あるいは、診断情報収集部160で得られる特徴量に代えて、画像形成装置1におけるステッピングモータなどの動作電流や振動の定格値を利用してもよい。また、故障が検知された場合に、その故障箇所や故障状態を判定するための基準特徴量として、各構成部材が故障時に、診断情報収集部160により取得された特徴量(たとえば分布状態を特定する情報など)を使用する。記憶媒体に記憶される故障状態に関する基準特徴量は当該画像形成装置1の診断モデルとして利用されるもので、たとえば当該装置の各部材を強制的に故障状態にして診断情報収集部160により検知したものであってもよいし、管理センタ401などに集約されるメンテナンス情報に基づいて取得した情報を用いてもよい。   As the reference feature amount, for example, a mechanism member (including a drive member such as a motor or a solenoid) constituting the drive mechanism unit or an electric member (drive signal generation unit 150 or drive circuit) that drives the mechanism member operates normally. In the normal state, the feature amount (for example, information for specifying the distribution state) acquired by the diagnostic information collection unit 160 is used. Alternatively, instead of the feature amount obtained by the diagnostic information collection unit 160, an operating current or a rated value of vibration of the stepping motor or the like in the image forming apparatus 1 may be used. In addition, when a failure is detected, a feature amount (for example, a distribution state is specified) acquired by the diagnostic information collection unit 160 when each component member fails as a reference feature amount for determining the failure location or failure state. Information). The reference feature amount relating to the failure state stored in the storage medium is used as a diagnosis model of the image forming apparatus 1. For example, each member of the apparatus is forcibly set to the failure state and detected by the diagnosis information collecting unit 160. The information acquired based on the maintenance information collected in the management center 401 or the like may be used.

なお、故障診断装置3を構成する各部(診断情報生成部3Aや故障診断部3B)はそれらが1つの画像形成装置1に搭載された形態に限らず、それらを構成する機能部の一部あるいは全部が画像形成装置1とは別の装置に搭載された形態(いわゆるシステム構成)であってもよい。たとえば、診断情報収集部160を画像形成装置1側の故障診断装置3から取り外して管理センタ401側に診断情報取得部を配置し、センサ部4で取得される情報を管理センタ401側の診断情報収集部160に送り、管理センタ401側にて特徴量を特定して診断モデルを用意するようにしてもよい。この際には、当該装置だけでなく、同種装置の複数台の情報から共通の診断モデルを生成することを基本とし、必要に応じてさらに当該装置に固有の情報に基づき前記共通の診断モデルを修正して当該装置用の診断モデルとして使用するなどするのがよい。   Note that each unit (diagnosis information generation unit 3A and failure diagnosis unit 3B) constituting the failure diagnosis apparatus 3 is not limited to a form in which they are mounted on one image forming apparatus 1, but a part of functional units constituting them or The configuration (so-called system configuration) may be adopted in which the entirety is mounted on an apparatus different from the image forming apparatus 1. For example, the diagnostic information collection unit 160 is removed from the failure diagnosis device 3 on the image forming apparatus 1 side, a diagnostic information acquisition unit is arranged on the management center 401 side, and information acquired by the sensor unit 4 is used as diagnostic information on the management center 401 side. The diagnostic model may be prepared by sending it to the collection unit 160 and specifying the feature amount on the management center 401 side. In this case, it is based on generating a common diagnostic model not only from the device but also from a plurality of pieces of information of the same type of device, and if necessary, the common diagnostic model is further based on information unique to the device. It may be modified and used as a diagnostic model for the device.

故障判定部262は、記憶媒体に格納しておいた診断モデル(自装置で取得した基準特徴量を含む)と故障診断時に診断情報収集部160で得られる特徴量である実働特徴量とを比較することにより、診断対象ブロックに故障が発生しているか否かや、将来故障が生じる可能性など故障に関わる診断処理を行なう。   The failure determination unit 262 compares the diagnosis model (including the reference feature amount acquired by the own device) stored in the storage medium with the actual feature amount that is the feature amount obtained by the diagnosis information collection unit 160 at the time of failure diagnosis. As a result, a diagnosis process relating to the failure such as whether or not a failure has occurred in the block to be diagnosed and the possibility of a failure occurring in the future is performed.

たとえば故障確率推論部260は、各画像形成装置1についての故障情報の収集や診断モデルの更新などを行なう管理センタ401(データセンタとも称する)と接続され、管理センタ401に配置されたデータベースDBに故障情報や診断モデルを登録したり、データベースDBに登録されている各種の診断モデルの中から診断対象の画像形成装置1に適した診断モデルの選択・提供を受けたりして故障診断を行なう。 For example, the failure probability reasoning unit 260 is connected to a management center 401 (also referred to as a data center) that collects failure information and updates a diagnostic model for each image forming apparatus 1, and is stored in a database DB disposed in the management center 401. performed to register failure information and diagnostic model, the failure or accept the selection and provision of diagnostic model suitable for the image forming apparatus 1 of the diagnostic object diagnosing from various diagnostic models registered in the database DB .

たとえば、故障確率推論部260は、画像形成装置1を構成するコンポーネントの状態情報、装置の履歴情報、装置が設置されている周辺環境情報、およびユーザ操作によって得られる追試結果情報を用いて前記画質欠陥を引き起こす原因となる箇所の故障確率を推論エンジン264にて推論し、推論エンジン264にて算出した故障確率を元にして故障判定部262にて故障箇所の候補を抽出する。   For example, the failure probability reasoning unit 260 uses the image quality using the state information of the components constituting the image forming apparatus 1, the history information of the apparatus, the surrounding environment information where the apparatus is installed, and the follow-up test result information obtained by user operation. The inference engine 264 infers the failure probability of the location that causes the defect, and the failure determination unit 262 extracts failure location candidates based on the failure probability calculated by the inference engine 264.

故障判定部262は、推論エンジン264を利用して故障候補を絞り込む故障候補抽出部の機能を有しており、絞り込んだ故障候補、故障判定結果(故障の有無、故障箇所、故障内容)、故障予測結果(故障可能性の有無、故障箇所、故障内容)、あるいは検査内容や取得した動作状態信号などを通知部270に通知する。   The failure determination unit 262 has a function of a failure candidate extraction unit that narrows down failure candidates using the inference engine 264. The failure determination unit 262 narrows down failure candidates, failure determination results (the presence or absence of failure, failure location, failure content), failure The notification unit 270 is notified of the prediction result (presence / absence of possibility of failure, failure location, failure content), inspection content, acquired operation state signal, and the like.

ここで、自動判定処理を行なったときに、故障箇所候補を絞りきれないときには、ユーザ操作によって得られた動作条件の異なる状態で取得された追試結果情報の入力を待って、推論エンジン264にて故障確率を再計算し、それぞれの動作条件で取得される故障確率に基づいて、より適切な故障箇所を抽出する。   Here, when the automatic determination process is performed, if failure point candidates cannot be narrowed down, the inference engine 264 waits for input of the additional test result information obtained under different operating conditions obtained by the user operation. The failure probability is recalculated, and a more appropriate failure location is extracted based on the failure probability acquired under each operation condition.

通知部270は、たとえば、故障判定部262から受け取った故障判定結果などを、お客様(画像形成装置1の操作者や所有者)、画像形成装置1をメンテナンス(保守、維持、管理)するカスタマーエンジニア、あるいは画像形成装置1を管理している管理センタ401などのカスタマーエンジニアやカスタマーに通知する。   The notifying unit 270, for example, a customer (operator or owner of the image forming apparatus 1), a customer engineer who performs maintenance (maintenance, maintenance, management) of the image forming apparatus 1 based on the failure determination result received from the failure determining unit 262. Alternatively, a notification is sent to a customer engineer or customer such as the management center 401 that manages the image forming apparatus 1.

たとえば、お客様に直接知らせる場合は、画像形成装置1にアラームを知らせるような、たとえば表示パネルやスピーカなどで知らせる。お客様は、それを見てあるいは聞いて、故障箇所や故障内容をサービスセンタに知らせる。また、画像形成装置1をメンテナンスするカスタマーエンジニアに直接知らせる場合は、公衆電話回線や、PDA(Personal Digital Assistant)、携帯電話、PHS(Personal Handy-phone System )などの携帯端末を使って、故障発生などを連絡する。また、故障箇所や故障内容のデータをカスタマーエンジニアが所有する端末に送るようにしてもよい。   For example, when directly informing the customer, the image forming apparatus 1 is informed of an alarm such as a display panel or a speaker. The customer sees or listens to it and informs the service center of the failure location and the content of the failure. In addition, when directly informing the customer engineer who maintains the image forming apparatus 1, a failure occurs using a public telephone line, a PDA (Personal Digital Assistant), a mobile phone, or a mobile terminal such as a PHS (Personal Handy-phone System). Contact us. Further, the failure location and failure content data may be sent to a terminal owned by the customer engineer.

また、画像形成装置1を管理している管理センタ401などに知らせる場合は、カスタマーエンジニアに直接知らせる場合と同様に、公衆電話回線や携帯端末を使うようにしてもよい。また、インターネットを利用した連絡を行なうようにしてもよい。これらの場合も、故障箇所や故障内容のデータを管理センタ401の端末に送るようにしてもよい。   Further, when notifying the management center 401 or the like that manages the image forming apparatus 1, a public telephone line or a portable terminal may be used as in the case of directly informing a customer engineer. Moreover, you may make it contact using the internet. In these cases as well, failure location and failure content data may be sent to the terminal of the management center 401.

ところで、故障診断装置3は、前述の通り、たとえば自動的にメカ系(用紙搬送系)や画像欠陥系の故障箇所を特定する故障診断を行なうに際しては、その診断アーキテクチャとして、障害発生前に正常時データを取得しておき、稼働状態の装置状態や環境条件などの観測データ(纏めて実働データともいう)を取得し、これらの情報を活用して、推論エンジンにて算出される故障確率なども参照の上、診断を行なう。本実施形態でいう故障診断とは、故障の有無の判断だけでなく、将来の故障の発生を予測する予測診断も含んでいてもよい。   By the way, as described above, the failure diagnosis device 3 is normally used before a failure occurs as its diagnosis architecture when performing failure diagnosis that automatically identifies a failure portion of a mechanical system (paper transport system) or an image defect system. Time data is acquired, and observation data (collectively referred to as actual data) such as the operating device status and environmental conditions is acquired, and the failure probability calculated by the inference engine using these information Diagnose with reference to also. The failure diagnosis referred to in this embodiment may include not only determination of the presence / absence of a failure, but also prediction diagnosis for predicting the occurrence of a future failure.

推論エンジンや故障診断を行なう部分である故障確率推論部260や診断条件制御部460など故障診断に関わる機能部分は、画像形成装置1の本体に内蔵する構成に限らず、サーバ側、たとえば画像形成装置1とネットワーク接続された管理センタ401(データセンタとも称する)に設けてもよい。この場合、正常時データや実働データを、ネットワークを介して管理センタ401に送り、管理センタ401にて故障診断や確定処理や関連情報提示を行なう。   Functional parts related to failure diagnosis, such as the inference engine and failure probability inference unit 260 and diagnosis condition control unit 460 that perform failure diagnosis, are not limited to the configuration built in the main body of the image forming apparatus 1, but the server side, for example, image formation You may provide in the management center 401 (it is also called a data center) connected with the apparatus 1 by the network. In this case, normal data and actual data are sent to the management center 401 via the network, and the management center 401 performs failure diagnosis, confirmation processing, and related information presentation.

たとえば、画像形成装置1側で故障箇所や故障内容を特定せずに、故障確率推論部260にて行なった故障診断の検査内容とそこで使用した動作状態信号などのデータを管理センタ401に通知し、管理センタ401側で、故障候補の絞込みあるいは故障箇所や故障内容の特定などを行なうようにしてもよい。あるいは、推論エンジンのみを管理センタ401に置き、故障確率の算出を管理センタ401にて行なうようにしてもよい。   For example, without specifying the failure location and the failure content on the image forming apparatus 1 side, the management center 401 is notified of the content of the inspection of the failure diagnosis performed by the failure probability inference unit 260 and the operation state signal used there. On the management center 401 side, narrowing down of failure candidates or identification of failure locations and failure contents may be performed. Alternatively, only the inference engine may be placed in the management center 401, and the failure probability may be calculated in the management center 401.

診断結果に関しては、たとえばカスタマーエンジニア(CE;Customers Engineer)が管理センタ401で確認する形態を採ってもよいし、管理センタ401で診断を行なう形態では故障確率推論部260による診断結果を画像形成装置1に送ることで、画像形成装置1側にて、カスタマーエンジニアやカスタマー(顧客/ユーザ)が確認する形態を採ってもよい。   With respect to the diagnosis result, for example, a form that a customer engineer (CE; Customers Engineer) confirms at the management center 401 may be employed. In the form of diagnosis at the management center 401, the diagnosis result by the failure probability inference unit 260 is used as the image forming apparatus. 1, the image forming apparatus 1 side may take a form that is confirmed by a customer engineer or customer (customer / user).

ここで、本実施形態においては、故障確率の算出を行なう推論エンジンとしては、ベイジアン(Bayesian)ネットワークを利用する。ベイジアンネットワークを利用する故障診断は、ノード(変数)間の依存関係を確率的に捉え、グラフ構造(ベイジアンネットワークあるいは因果ネットワークと呼ばれる)を用いて、分布の推定を行なう最適化アプローチである。   Here, in this embodiment, a Bayesian network is used as an inference engine for calculating a failure probability. Fault diagnosis using a Bayesian network is an optimization approach that estimates the distribution using a graph structure (called a Bayesian network or a causal network) by probabilistically capturing the dependency between nodes (variables).

たとえば、この診断システムに基づいて画像形成装置1の故障診断を行なう場合、画像形成装置1の品種やオプション構成などに応じて、故障事例やノウハウを元に交換パーツ単位を故障原因ノードとして因果ネットワークをそれぞれ作り、市場でのトラブル情報などを元にして条件付確率表の確率値を設定した診断モデルを構築し、障害が発生したときにセンサ部4やソフトウェア処理のログを記録しているログ記録部168などの観測可能な証拠情報を収集し、該当する装置構成に応じた診断モデルを選択して、証拠情報を入力して各故障原因ノードの故障発生確率を推定することで故障診断を行なう。   For example, when a failure diagnosis of the image forming apparatus 1 is performed based on this diagnosis system, a causal network using a replacement part unit as a failure cause node based on failure cases and know-how according to the type and optional configuration of the image forming apparatus 1 That builds a diagnostic model that sets the probability value in the conditional probability table based on trouble information in the market, and records a log of the sensor unit 4 and software processing when a failure occurs Collect observable evidence information such as the recording unit 168, select a diagnosis model corresponding to the corresponding device configuration, input the evidence information, and estimate the failure occurrence probability of each failure cause node to perform failure diagnosis Do.

同様にソフトウェアの障害に対する故障診断も、予め開発者がコーディングしたエラーやワーニング、OS(Operating Systems )が出力するメッセージなどを証拠情報とし、ソフトウェアコンポーネントの構成や呼び出し関係から因果ネットワークを作り確率値を設定した診断モデルを構築して、ソフトウェア故障診断をする。   Similarly, for fault diagnosis for software faults, errors and warnings coded in advance by developers, messages output by OS (Operating Systems), etc. are used as evidence information, and causal networks are created from software component configurations and call relationships, and probability values are set. Build the set diagnostic model and perform software fault diagnosis.

<故障診断装置:計算機構成>
図3は、故障診断装置3の他の構成例を示すブロック図である。ここでは、パーソナルコンピュータなどの電子計算機を利用して、故障診断処理をソフトウェアを実行するマイクロプロセッサなどから構築されるより現実的なハードウェア構成を示している。
<Fault diagnosis device: computer configuration>
FIG. 3 is a block diagram illustrating another configuration example of the failure diagnosis apparatus 3. Here, a more realistic hardware configuration is shown that is constructed from a microprocessor or the like that executes software for fault diagnosis using an electronic computer such as a personal computer.

後述するベイジアンネットワーク手法を適用した故障診断処理を、電子計算機(コンピュータ)を用いてソフトウェアで実現するために好適なプログラムあるいはこのプログラムを格納したコンピュータ読取可能な記憶媒体が発明として抽出される。   A program suitable for realizing failure diagnosis processing to which a Bayesian network method described later is applied by software using an electronic computer (computer) or a computer-readable storage medium storing the program is extracted as an invention.

もちろん、このようなコンピュータを用いた構成に限らず、図2に示した各機能部の機能をなす専用のハードウェアの組合せにより故障診断装置3や故障確率推論部260が構成される。ソフトウェアにより処理を実行させる仕組みとすることで、ハードウェアの変更を伴うことなく、処理手順などが容易に変更され得る。   Needless to say, the failure diagnosis device 3 and the failure probability inference unit 260 are configured by a combination of dedicated hardware that functions as each function unit shown in FIG. By adopting a mechanism for executing processing by software, the processing procedure and the like can be easily changed without changing hardware.

電子計算機に一連のベイジアンネットワーク処理を利用した故障診断機能をソフトウェアにより実行させる場合には、電子計算機を利用した一般的な情報処理の場合と同様に、磁気ディスク(フレキシブルディスクFDを含む)、光ディスク(CD−ROM(Compact Disc-Read Only Memory )、DVD(Digital Versatile Disc)を含む)、光磁気ディスク(MD(Mini Disc )を含む)、または半導体メモリなどよりなるパッケージメディア(可搬型の記憶媒体)や、有線あるいは無線などの通信網を介して、そのソフトウェアを構成するプログラムが電子計算機にインストールされる。ソフトウェアは、一括のプログラムファイルとして提供されることに限らず、コンピュータで構成されるシステムのハードウェア構成に応じて、個別のソフトウェアモジュールとして提供されてもよい。たとえば、既存の複写装置制御ソフトやプリンタ制御ソフト(プリンタドライバ)に組み込まれるアドインソフトとして提供されてもよい。   When a computer performs a fault diagnosis function using a series of Bayesian network processing by software, as in the case of general information processing using an electronic computer, a magnetic disk (including a flexible disk FD), an optical disk (Including CD-ROM (compact disc-read only memory), DVD (digital versatile disc)), magneto-optical disc (including MD (mini disc)), semiconductor media, package media (portable storage media) ) Or a program constituting the software is installed in the electronic computer via a wired or wireless communication network. The software is not limited to being provided as a batch program file, but may be provided as an individual software module according to the hardware configuration of a system configured by a computer. For example, it may be provided as add-in software incorporated in existing copying apparatus control software or printer control software (printer driver).

故障診断装置3を複写機能を持つ画像形成装置1に組み込む形態の場合、図3に示す電子計算機には、たとえば、複写アプリケーションやプリンタアプリケーション、ファクシミリ(FAX)アプリケーション、あるいは他のアプリケーション用の処理プログラムなど、従来の画像形成装置(複合機)におけるものと同様のソフトウェアが組み込まれる。また、ネットワーク9を介して外部とのデータを送受信したりするための制御プログラムも組み込まれる。   In the case where the failure diagnosis apparatus 3 is incorporated in the image forming apparatus 1 having a copying function, the electronic computer shown in FIG. 3 includes, for example, a processing program for a copying application, a printer application, a facsimile (FAX) application, or other applications. For example, software similar to that in a conventional image forming apparatus (multifunction machine) is incorporated. A control program for transmitting and receiving data to and from the outside via the network 9 is also incorporated.

たとえば、故障診断装置3を構成するコンピュータシステム900は、コントローラー部901と、ハードディスク装置(HDD)、フレキシブルディスク(FD)ドライブ、あるいはCD−ROM(Compact Disk ROM)ドライブ、半導体メモリコントローラなどの、所定の記憶媒体からデータを読み出したり記録したりするための記録・読取制御部902とを有する。   For example, the computer system 900 constituting the failure diagnosis apparatus 3 includes a controller unit 901, a hard disk device (HDD), a flexible disk (FD) drive, a CD-ROM (Compact Disk ROM) drive, a semiconductor memory controller, and the like. And a recording / reading control unit 902 for reading and recording data from the storage medium.

コントローラー部901は、CPU(Central Processing Unit )912、読出専用の記憶部であるROM(Read Only Memory)913、随時書込みおよび読出しが可能であるとともに揮発性の記憶部の一例であるRAM(Random Access Memory)915、および不揮発性の記憶部の一例であるRAM(NVRAMと記述する)916を有している。NVRAM916には、たとえば、使用時間、頻度、コピー/プリント枚数などで重み付けした各パーツの故障確率の情報を格納する。   The controller unit 901 includes a CPU (Central Processing Unit) 912, a ROM (Read Only Memory) 913 which is a read-only storage unit, and a RAM (Random Access) which can be written and read at any time and is an example of a volatile storage unit. Memory) 915 and RAM (described as NVRAM) 916 which is an example of a nonvolatile storage unit. The NVRAM 916 stores failure probability information of each part weighted by, for example, usage time, frequency, number of copies / prints, and the like.

“揮発性の記憶部”とは、故障診断装置3の電源がオフされた場合には、記憶内容を消滅してしまう形態の記憶部を意味する。一方、“不揮発性の記憶部”とは、故障診断装置3のメイン電源がオフされた場合でも、記憶内容を保持し続ける形態の記憶部を意味する。記憶内容を保持し続け得るものであればよく、半導体製のメモリ素子自体が不揮発性を有するものに限らず、バックアップ電源を備えることで、揮発性のメモリ素子を“不揮発性”を呈するように構成するものであってもよい。また、半導体製のメモリ素子により構成することに限らず、磁気ディスクや光ディスクなどの媒体を利用して構成してもよい。   The “volatile storage unit” means a storage unit in a form in which the stored contents are lost when the power of the failure diagnosis apparatus 3 is turned off. On the other hand, the “non-volatile storage unit” means a storage unit in a form that keeps stored contents even when the main power supply of the failure diagnosis apparatus 3 is turned off. Any memory device can be used as long as it can keep the stored contents, and the semiconductor memory device itself is not limited to a nonvolatile memory device, but by providing a backup power source, the volatile memory device is made to be “nonvolatile”. It may be configured. Further, the present invention is not limited to a semiconductor memory element, and may be configured using a medium such as a magnetic disk or an optical disk.

また、コンピュータシステム900は、カスタマーインタフェースをなす機能部として、キーボードやマウスなどを有する指示入力部903と、操作時のガイダンス画面や処理結果などの所定の情報をカスタマーに提示する表示出力部904と、各機能部との間のインタフェース機能をなすインタフェース部909(IF部)とを有する。   The computer system 900 also includes an instruction input unit 903 having a keyboard, a mouse, and the like as a function unit that forms a customer interface, and a display output unit 904 that presents predetermined information such as a guidance screen and a processing result during operation to the customer. And an interface unit 909 (IF unit) that performs an interface function with each functional unit.

なお、故障診断装置3を複写機能やファクシミリ機能を持つ画像形成装置1(特に複合機と称する)に組み込んで一体化させる場合、処理対象の画像を読み取る画像読取部905(スキャナユニット)と、印刷出力用データを生成する画像処理部962および処理済みの画像を所定の出力媒体(たとえば印刷用紙)に出力するプリントエンジン964を具備した画像形成部906と、ファクシミリデータの処理を行なうFAX部907も設けられる。   When the failure diagnosis device 3 is incorporated in and integrated with the image forming apparatus 1 (particularly referred to as a multifunction device) having a copying function or a facsimile function, an image reading unit 905 (scanner unit) that reads an image to be processed, and printing An image processing unit 962 that generates output data, an image forming unit 906 that includes a print engine 964 that outputs processed images to a predetermined output medium (for example, printing paper), and a FAX unit 907 that processes facsimile data are also provided. Provided.

インタフェース部909としては、処理データ(画像データを含む)や制御データの転送経路であるシステムバス991の他、たとえば、画像読取部905とのインタフェース機能をなすスキャナIF部995、画像形成部906や他のプリンタとのインタフェース機能をなすプリンタIF部996、およびインターネットなどのネットワーク9との間の通信データの受け渡しを仲介する通信IF部999を有している。   Examples of the interface unit 909 include a system bus 991 that is a transfer path of processing data (including image data) and control data, a scanner IF unit 995 that functions as an interface with the image reading unit 905, an image forming unit 906, and the like. It has a printer IF unit 996 that functions as an interface with other printers, and a communication IF unit 999 that mediates transfer of communication data with the network 9 such as the Internet.

表示装置904は、たとえば、表示制御部942とCRT(Cathode Ray Tube;陰極線管)やLCD(Liquid Crystal Display;液晶)などでなるディスプレイ部944とを有する。たとえば、表示制御部942が、ディスプレイ部944上に、ガイダンス情報や画像読取部905が取り込んだ全体画像などを表示させる。また、故障判定結果や検査内容をカスタマーに通知する際の表示デバイスとしても利用される。表示面上にタッチパネル932を有するディスプレイ部944とすることで、指先やペンなどで所定の情報を入力する指示入力部903を構成してもよい。   The display device 904 includes, for example, a display control unit 942 and a display unit 944 made up of a CRT (Cathode Ray Tube) or LCD (Liquid Crystal Display). For example, the display control unit 942 displays guidance information, the entire image captured by the image reading unit 905, and the like on the display unit 944. It is also used as a display device for notifying customers of failure determination results and inspection details. By using the display unit 944 having the touch panel 932 on the display surface, the instruction input unit 903 for inputting predetermined information with a fingertip, a pen, or the like may be configured.

なお、故障診断装置3の各機能部分の全ての処理をソフトウェアで行なうのではなく、これら機能部分の一部を専用のハードウェアにて行なう処理回路908を設けてもよい。ソフトウェアで行なう仕組みは、並列処理や連続処理に柔軟に対処し得るものの、その処理が複雑になるに連れ、処理時間が長くなるため、処理速度の低下が問題となる。これに対して、ハードウェア処理回路で行なうことで、高速化を図ったアクセラレータシステムが構築される。アクセラレータシステムは、処理が複雑であっても、処理速度の低下が防止され、高いスループットが得られるようになる。   Instead of performing all processing of each functional part of the failure diagnosis apparatus 3 by software, a processing circuit 908 that performs part of these functional parts by dedicated hardware may be provided. Although the mechanism performed by software can flexibly cope with parallel processing and continuous processing, the processing time becomes longer as the processing becomes complicated, so that a reduction in processing speed becomes a problem. On the other hand, an accelerator system that achieves high speed is constructed by performing the processing using a hardware processing circuit. In the accelerator system, even if the processing is complicated, a reduction in processing speed is prevented, and high throughput can be obtained.

画像形成装置1に適用した本実施形態の故障診断装置3の場合であれば、処理回路908としては、用紙通過時間、駆動電流、振動、作動音、あるいは光量などの観測データ情報、あるいは温度や湿度などの環境情報を取得するためのセンサ系統のデータ取得機能部908a(図2の動作状態情報取得部140に対応)や、ソフトウェア処理のログを記録するレジスタなどのソフトウェアデータ取得機能部908b(図2のログ記録部168に対応)が該当する。なお、ソフトウェアデータ取得機能部908bは、RAM915で実現されるように構成してもよい。なお、図示しないが、診断条件制御部460を構成する機能部の一部または全部をハードウェア構成にしてもよいのは言うまでもない。   In the case of the failure diagnosis apparatus 3 of the present embodiment applied to the image forming apparatus 1, the processing circuit 908 includes observation data information such as paper passage time, drive current, vibration, operation sound, or light quantity, temperature, Data acquisition function unit 908a of the sensor system for acquiring environmental information such as humidity (corresponding to the operation state information acquisition unit 140 in FIG. 2), and a software data acquisition function unit 908b such as a register for recording a log of software processing ( This corresponds to the log recording unit 168 in FIG. The software data acquisition function unit 908b may be configured to be realized by the RAM 915. Although not shown, it goes without saying that some or all of the functional units constituting the diagnostic condition control unit 460 may be configured in hardware.

<故障診断処理:ソフトウェア欠陥診断モデル>
図4は、故障確率推論部260においてソフトウェア障害の故障診断時に利用するベイジアンネットワークの構成例を示すベイジアンネットワークモデル図である。ここで、図4はベイジアンネットワークのより具体的な構成例であり、ソフトウェア欠陥系の故障箇所を特定する故障診断を行なう場合のベイジアンネットワーク診断モデルの構成例を示している。
<Failure diagnosis processing: Software defect diagnosis model>
FIG. 4 is a Bayesian network model diagram illustrating a configuration example of a Bayesian network used in the failure diagnosis of the software failure in the failure probability inference unit 260. Here, FIG. 4 is a more specific configuration example of the Bayesian network, and shows a configuration example of a Bayesian network diagnosis model in the case of performing a failure diagnosis that identifies a fault location of a software defect system.

本実施形態の故障診断方法としては、診断対象装置がそれぞれ異なる動作条件の元で動作している間の動作状態を示す動作状態信号をそれぞれ取得し、この取得したそれぞれの動作状態信号を、装置の故障を引き起こす原因をモデル化して解析することで、診断対象装置を構成する個々の構成部材について故障診断を行なう。「装置の故障を引き起こす原因をモデル化して解析する」とは、確率を利用して装置の故障を引き起こす原因をモデル化することで、故障の発生箇所や故障内容などの故障原因を解析することを意味する。モデル化の手法としては、確率を利用したものであればよく、一例としては、装置から取得される当該装置の状態を示す実測定値、あるいはこの実測定値から抽出される特徴量(纏めて変数ともいう)の間の依存関係を確率的に捉えてモデル化する手法がある。その具体例としては、ベイジアンネットワークモデルがある。   As the failure diagnosis method of the present embodiment, each of the diagnosis target devices acquires an operation state signal indicating an operation state while operating under different operation conditions, and each of the acquired operation state signals is used as a device. The cause of the failure is modeled and analyzed, and the failure diagnosis is performed for each component member constituting the diagnosis target device. "Modeling and analyzing causes that cause device failures" means analyzing causes of failures such as the location of failure and details of failures by modeling the causes that cause device failures using probability. Means. Any modeling method may be used as long as it uses a probability. For example, an actual measurement value indicating the state of the device acquired from the device, or a feature amount extracted from the actual measurement value (collectively, both variables) There is a technique to model the dependency relationship between the two. A specific example is a Bayesian network model.

ベイジアンネットワークは、変数間の因果関係を表す有向非巡回グラフであり、親が与えられると、条件つき確率分布を変数に関連づけるものである。ベイジアンネットワークは、確率理論を使用して問題領域をモデル化する。各ノード(変数)は、相互に排他的な状態のセットを持つ。各ノードには、原因から結果が発生する確率(条件付き確率表)を予め設定しておく。そして、ベイジアンネットワークの大きな特徴は、直接観測できない状態(たとえば、故障の有無など)を直接観測(または入手)できる情報から確率推論し、直接観測できない状態の(故障か否かの)確率算出できることにある。   A Bayesian network is a directed acyclic graph that represents a causal relationship between variables. When a parent is given, a conditional probability distribution is associated with the variable. Bayesian networks model problem areas using probability theory. Each node (variable) has a set of mutually exclusive states. In each node, a probability (conditional probability table) that a result is generated from a cause is set in advance. A major feature of Bayesian networks is that it is possible to infer probabilities from information that can be directly observed (or obtained), such as the presence or absence of a failure, and to calculate the probability of failure (whether it is a failure) or not. It is in.

ソフトウェア障害に対する故障診断の場合も同様の考え方を適用すればよく、エラー・ワーニングなどを証拠情報とし、ソフトウェアコンポーネントの構成や呼び出し関係から因果ネットワークを作り確率値を設定した診断モデルを構築する。   In the case of fault diagnosis for software faults, the same concept should be applied. A diagnostic model in which a causal network is created from software component configurations and call relationships and a probability value is set is constructed using error warnings and the like as evidence information.

たとえば、図中、Nn(N1,N2,…)は故障原因ノード、Ee(E1,E2,…)はエラー証拠情報ノード、Ww(W1,W2,…)はワーニング証拠情報ノードを示す。矢印は各ノードの因果関係を表し、矢印の元が原因、矢印の先が結果になる。つまり、各ノードは、“原因”→“結果”の関係になるように結線される。   For example, in the figure, Nn (N1, N2,...) Indicates a failure cause node, Ee (E1, E2,...) Indicates an error evidence information node, and Ww (W1, W2,...) Indicates a warning evidence information node. Arrows indicate the causal relationship of each node, where the source of the arrow is the cause and the tip of the arrow is the result. That is, the nodes are connected so as to have a relationship of “cause” → “result”.

たとえば、故障原因ノードN2とエラー証拠情報ノードE1の関係は“原因N2”が元で“エラー状態(モジュール2の欠陥など)”が表れるという関係になる。故障原因ノードN3,N6とワーニング証拠情報ノードW1の関係は“原因N3”や“原因N6”が元で“ワーニング状態(モジュール1にエラーが起こり得る状など)”が表れるという関係になる。故障原因ノードN3と故障原因ノードN1の関係は“原因N3”が元で“原因N1”(モジュール1の欠陥など)が発生するという関係が成り立つ。   For example, the relationship between the failure cause node N2 and the error evidence information node E1 is a relationship in which an “error state (such as a defect in the module 2)” appears based on the “cause N2”. The relationship between the failure cause nodes N3 and N6 and the warning evidence information node W1 is such that a “warning state (a state in which an error may occur in the module 1)” appears based on “cause N3” or “cause N6”. The relationship between the failure cause node N3 and the failure cause node N1 is such that “cause N3” (such as a defect in the module 1) occurs based on “cause N3”.

各ノードには、予め条件付確率表中の中から該当する確率値(確率データ)を設定しておく。確率値は、たとえば、故障を起したときの各種の条件とその条件での故障が起こる確率を纏めた条件付確率表をノードごとに用意しておき、その条件付確率表中から対応する条件の確率値を読み出す形で設定する。確率値自体は、経験値によるものもあれば、実測によるデータも使ってもよい。故障の可能性が最も高い箇所(ノード:本例ではソフトウェアモジュール)を推測すると言う意味では、絶対値自体よりむしろ大小関係の方が重要となる。   In each node, a corresponding probability value (probability data) is set in advance from the conditional probability table. For example, a probability value is prepared for each node by preparing a conditional probability table that summarizes various conditions when a failure occurs and the probability that a failure will occur under that condition. Set in the form of reading the probability value of. The probability value itself may be an empirical value or may be measured data. The magnitude relationship is more important than the absolute value itself in the sense that the location (node: software module in this example) with the highest possibility of failure is estimated.

各ノードの確率値の初期値は、たとえば過去のデータ(経験値や実測データ)を元に決定する。一例としては、製品出荷時に設計情報を元に診断モデルを構築しておく。基本的には、診断モデルがスタティックなため、その後、市場トラブル情報が推移した際には手動で確率更新をする。また、実稼動中に開発者が想定していないランタイムエラーや、外部ベンダが作成しインストールしたソフトウェアとの干渉によるエラーなどが生じる可能性があるため、ソフトウェア障害発生時には開発者が原因解析して対策を講じたソフトウェアの更新とともに診断モデルへの反映作業を行なう。たとえば、故障事例やハードウェア/ソフトウェアの設計情報を元に因果ネットワーク(診断モデル)を構築し、障害が発生したときに観測可能な証拠情報を収集して因果ネットワークに適用し、障害原因の推定を行なう。   The initial value of the probability value of each node is determined based on, for example, past data (experience values or actually measured data). As an example, a diagnostic model is constructed based on design information at the time of product shipment. Basically, since the diagnostic model is static, the probability is updated manually when the market trouble information changes thereafter. In addition, runtime errors that the developer does not expect during actual operation and errors due to interference with software created and installed by external vendors may occur. Update the software with countermeasures and reflect it in the diagnostic model. For example, a causal network (diagnostic model) is constructed based on failure cases and hardware / software design information. Evidence information that can be observed when a failure occurs is collected and applied to the causal network to estimate the cause of the failure. To do.

つまり、電子機器の障害や故障などをベイジアンネットワークなどの診断モデルで診断を行なう場合、電子機器の品種やオプション構成などに応じて、故障事例やノウハウを元に、たとえば交換パーツ単位を故障原因ノードとして因果ネットワークをそれぞれ作り、市場でのトラブル情報などを元にして条件付確率の値を設定した診断モデルを構築し、障害が発生したときにセンサやレジスタなど観測可能な証拠情報を収集し、該当する機器構成に応じた診断モデルを選択して、証拠情報を入力して各故障原因ノードの故障発生確率を推定することで故障診断を行なう。   In other words, when diagnosing failure or failure of an electronic device using a diagnostic model such as a Bayesian network, for example, replacement part units are determined as failure cause nodes based on failure cases and know-how according to the type and configuration of the electronic device. As a cause-and-effect network, a diagnostic model that sets conditional probability values based on trouble information in the market is constructed, and observable evidence information such as sensors and registers is collected when a failure occurs. A failure diagnosis is performed by selecting a diagnosis model corresponding to the corresponding device configuration, inputting evidence information, and estimating the failure occurrence probability of each failure cause node.

同様に、ソフトウェアの障害に対する故障診断も、予め開発者がコーディングしたエラーやワーニング、オペレーティングシステムが出力するメッセージなどを証拠情報とし、ソフトウェアコンポーネントの構成や呼び出し関係から因果ネットワークを作り確率値を設定した診断モデルを構築して、ソフトウェア故障診断をする。   Similarly, for fault diagnosis for software faults, errors and warnings coded in advance by developers, messages output by the operating system, etc. are used as evidence information, and causal networks are created from software component configurations and call relationships, and probability values are set. Build a diagnostic model and perform software fault diagnosis.

このような状況下では、ソフトウェア環境の変化が起きたときには、その環境変化に対応した診断モデルの適用の有無で診断性能に影響を及ぼす。そのため、ソフトウェア環境の変化に対応し更新された診断モデルを市場の機器に展開する手順を踏むことになる。ただし、このような作業は、場合によっては多大な時間が掛るため、診断モデルが更新されるまでは古い診断モデルで故障診断することになり、診断性能の低下や誤診断が発生することが懸念される。 Under such circumstances, when the software environment changes, the diagnostic performance is affected by whether or not a diagnostic model corresponding to the environmental change is applied. Therefore, the diagnosis model that has been updated in response to changes in the software environment will be stepping on the procedure to be deployed to the equipment of the market. However, since such work takes a lot of time in some cases, failure diagnosis is performed with the old diagnosis model until the diagnosis model is updated, and there is a concern that deterioration of diagnosis performance or misdiagnosis may occur. Is done.

たとえば、ソフトウェアの更新や新規アプリケーションの追加などでソフトウェアの変更があった場合、変更箇所に対応したソフトウェア診断モデル部分を開発者が修正する必要があり、また、新たにソフトウェア不具合事例が発生した場合にも開発者が解析して診断モデルへ適用することが必要になる。開発者はソフトウェア更新部分をトレースして診断モデルに適用する作業や、市場で発生した新たな不具合情報を収集して原因を解析した後診断モデルに適用する作業などを行なって、更新された診断モデルを市場の機器に展開する手順を踏むため、ユーザが最新の診断モデルで診断を行なうまで時間が掛り、それまでは古い診断モデルを利用せざるを得ず、診断性能の低下や誤診断が生じてしまう。   For example, if there is a software change due to software update or addition of a new application, the developer needs to correct the software diagnostic model part corresponding to the changed part, and a new software defect case occurs In addition, developers need to analyze and apply them to diagnostic models. Developers trace the software update part and apply it to the diagnostic model, or collect new defect information that occurred in the market, analyze the cause, and then apply it to the diagnostic model. It takes time until the user diagnoses with the latest diagnostic model because the procedure for deploying the model to the equipment on the market takes place. Until then, the old diagnostic model has to be used, and the diagnostic performance deteriorates and misdiagnosis occurs. It will occur.

その対策として、本実施形態の診断条件制御部460は、ソフトウェアの更新や新たな不具合に対して迅速かつ容易に診断モデルに反映するべく、ソフトウェア処理の処理履歴(処理過程の記録)を利用した以下のような仕組みを講じる。すなわち、ユーザが画像形成装置1を使用中にエラーやワーニングが発生したとき、そのエラーやワーニングのトリガの発生プロセスの処理履歴(たとえばバックトレースログやプロセスログ)を取得し、各ログを元に関数呼び出しグラフを作成し、因果ネットワークに変換する。発生したエラーやワーニングの情報は証拠情報としてバックトレースログおよびプロセスログと関連付け、因果ネットワークを診断モデルに組み込んでいく。処理履歴の取得は、ソフトウェア開発工程で使用されるいわゆるデバッキングの手法と同様の仕組みを使用すればよい。   As a countermeasure, the diagnosis condition control unit 460 according to the present embodiment uses the processing history of the software processing (recording of the processing process) in order to quickly and easily reflect the software update or new defect in the diagnosis model. The following mechanism is taken. That is, when an error or warning occurs while the user is using the image forming apparatus 1, the process history (for example, backtrace log or process log) of the process causing the error or warning trigger is acquired, and each log is used as a basis. Create a function call graph and convert it to a causal network. The information on errors and warnings that occur is associated with backtrace logs and process logs as evidence information, and causal networks are incorporated into the diagnostic model. The processing history may be acquired using a mechanism similar to a so-called debugging technique used in the software development process.

<故障診断システム:第1実施形態>
図5および図5Aは、複数台の画像形成装置1と通信回線を介して管理センタ401が接続されている故障診断システム400の第1実施形態を示す図である。前述のように、故障確率推論部260あるいは診断条件制御部460など故障診断に関わる機能部分を画像形成装置1側に配するかサーバ側(たとえば管理センタ401)側に配するかは自由である。ここでは、画像形成装置1側に故障確率推論部260を配置して画像形成装置1側で故障診断を行なう場合での管理センタ401の構成例を示す。
<Fault diagnosis system: first embodiment>
5 and 5A are diagrams showing a first embodiment of a failure diagnosis system 400 in which a management center 401 is connected to a plurality of image forming apparatuses 1 via communication lines. As described above, it is free to place functional parts related to failure diagnosis such as the failure probability inference unit 260 or the diagnosis condition control unit 460 on the image forming apparatus 1 side or on the server side (for example, the management center 401) side. . Here, a configuration example of the management center 401 when the failure probability reasoning unit 260 is arranged on the image forming apparatus 1 side and failure diagnosis is performed on the image forming apparatus 1 side is shown.

故障診断システム400は、診断モデルの生成・更新や適正化を行なう診断サーバ部401Aを備える。図示する故障診断システム400においては、センサ部4の観測データを、CPU912、RAM915あるいはNVRAM916などのメモリを利用してソフトウェア処理にて処理するように構成された複数の画像形成装置1(A,B,…:Zは除く)が、インターネットなどの通信網406を介して管理センタ401と接続されている。通信網406には、画像形成装置1や管理センタ401の他、通信網406と接続されていない画像形成装置1Zについての故障発生情報を管理センタ401に通知するために利用されるパーソナルコンピュータPCが接続可能となっている。   The failure diagnosis system 400 includes a diagnosis server unit 401A that generates, updates, and optimizes a diagnosis model. In the illustrated fault diagnosis system 400, a plurality of image forming apparatuses 1 (A, B) configured to process observation data of the sensor unit 4 by software processing using a memory such as a CPU 912, a RAM 915, or an NVRAM 916. ,... (Excluding Z) are connected to the management center 401 via a communication network 406 such as the Internet. In addition to the image forming apparatus 1 and the management center 401, the communication network 406 includes a personal computer PC used for notifying the management center 401 of failure occurrence information about the image forming apparatus 1Z not connected to the communication network 406. Connection is possible.

図3に示したように、各画像形成装置1(A,B,…,Z)には、ソフトウェア処理のログを記録するレジスタなどのソフトウェアデータ取得機能部908bが設けられている。通信網406と接続されている画像形成装置1(A,B,…:Zは除く)の場合、測定データを、通信IF999を介して外部に通知可能に構成されている。管理センタ401には、ホストコンピュータが設けられており、通信網406を介して、画像形成装置1(A,B,…:Zは除く)との間で、通信処理が可能になっている。   As shown in FIG. 3, each image forming apparatus 1 (A, B,..., Z) is provided with a software data acquisition function unit 908b such as a register for recording a log of software processing. In the case of the image forming apparatus 1 (excluding A, B,...: Z) connected to the communication network 406, the measurement data can be notified to the outside via the communication IF 999. The management center 401 is provided with a host computer, and can perform communication processing with the image forming apparatus 1 (excluding A, B,...: Z) via the communication network 406.

通信網406に接続された複数の画像形成装置1(A,B,…:Zは除く)は、たとえばサービスエンジニアSE(Service Engineer)が故障発生情報を、操作パネルなどを通して入力することにより、管理センタ401に故障情報を送信するように構成されている。故障発生情報の操作パネルからの入力は、たとえば階層的にメニューが表示され、選択するよう構成されている。また、通信網406に接続されていない画像形成装置1Zに関しては、故障発生情報を画像形成装置1Zにより印字出力し、サービス拠点でOCR(Optical Character Reader)入力する構成をとってもよい。   A plurality of image forming apparatuses 1 (excluding A, B,...: Z) connected to the communication network 406 are managed by, for example, a service engineer SE (Service Engineer) inputting failure occurrence information through an operation panel or the like. It is configured to transmit failure information to the center 401. For the input of failure occurrence information from the operation panel, for example, a menu is hierarchically displayed and selected. Further, regarding the image forming apparatus 1Z not connected to the communication network 406, the failure occurrence information may be printed out by the image forming apparatus 1Z and input to an OCR (Optical Character Reader) at the service base.

因みに、管理センタ401側で診断モデルを用意する場合、管理センタ401は、複数の画像形成装置1の情報に基づき診断モデルを構築する。この仕組みを採るため、管理センタ401は、市場品質情報データベース402aに蓄積された各装置の故障内容に関する故障情報(市場品質情報とも称する)を用いて診断モデルを生成し、また、適宜更新する。そして、因果ネットワークを構成する各ノードに条件付確率表を備えた因果ネットワークで構成される診断モデルに基づいて診断対象装置に生じる故障を診断するようにする。市場品質情報データベース402aは、各装置の故障内容に関する故障情報を格納する故障情報格納部の一例である。   Incidentally, when preparing a diagnostic model on the management center 401 side, the management center 401 constructs a diagnostic model based on information of a plurality of image forming apparatuses 1. In order to adopt this mechanism, the management center 401 generates a diagnosis model using failure information (also referred to as market quality information) regarding the failure content of each device stored in the market quality information database 402a, and updates it appropriately. Then, a failure occurring in the diagnosis target device is diagnosed based on a diagnosis model constituted by a causal network having a conditional probability table at each node constituting the causal network. The market quality information database 402a is an example of a failure information storage unit that stores failure information regarding the failure content of each device.

診断サーバ部401Aは、診断モデルの生成・更新や適正化を管理するため、データベース部402と、診断モデルを生成・更新する診断モデル生成・更新部410と、図2に示した故障診断装置3における診断条件制御部460の部分を備える。また、管理センタ401は、市場で発生した品質情報(トラブルの故障内容、以下市場品質情報と称する)を故障箇所(故障した部位やソフトウェアモジュール)ごとに収集する市場品質情報収集部422と、各種情報の送受信を行なう通信部424を備える。   The diagnosis server unit 401A manages the generation / update and optimization of the diagnosis model, the database unit 402, the diagnosis model generation / update unit 410 that generates / updates the diagnosis model, and the failure diagnosis apparatus 3 shown in FIG. The diagnostic condition control unit 460 in FIG. In addition, the management center 401 collects quality information generated in the market (trouble content of trouble, hereinafter referred to as market quality information) for each failure location (failed location or software module), various quality information collection units 422, A communication unit 424 that transmits and receives information is provided.

本例では、管理センタ401にて故障診断を行なう形態を採らずに、各画像形成装置1が故障診断装置3の故障確率推論部260を搭載し、画像形成装置1側にて故障診断を行なう形態で示すが、管理センタ401にて故障診断を行なう形態とする場合には、ホストコンピュータには、画像形成装置1側の故障診断装置3を構成するデータ取得機能部908aを除く、故障診断に関わる特徴量取得機能部分や、故障判定機能部分および推論エンジン機能部分や、診断モデルを適正化する機能部分(診断条件制御部460に対応)などのデータ処理機能部分をソフトウェア処理にて実現するためのアプリケーションプログラムがインストールされる。   In this example, each image forming apparatus 1 is equipped with the failure probability inference unit 260 of the failure diagnosis apparatus 3 and performs the failure diagnosis on the image forming apparatus 1 side without taking the form of performing failure diagnosis at the management center 401. As shown in the form, when the trouble diagnosis is performed in the management center 401, the host computer is used for trouble diagnosis except for the data acquisition function unit 908a constituting the trouble diagnosis apparatus 3 on the image forming apparatus 1 side. In order to realize data processing function parts such as a feature quantity acquisition function part, a failure determination function part and an inference engine function part, and a function part (corresponding to the diagnosis condition control unit 460) for optimizing a diagnosis model by software processing The application program is installed.

この場合、基本的には、たとえば、データ受取機能部としての特徴量取得機能部分は診断情報収集部160である。また、データ処理機能部分としては、たとえば、故障判定部262、推論エンジン264(当然に診断条件制御部460も)などである。このような構成により、故障診断システム400は、インターネットなどの通信回線を利用して、装置外部の管理センタ401に、故障判定部262や推論エンジン264などを備える故障診断部を設けたシステムとなり、管理センタ401のホストコンピュータにて、画像形成装置1について故障診断を行なうように構成される。管理センタ401においては、測定データやソフトウェアログや、この測定データやソフトウェアログから抽出される特徴量に基づいて、ホストコンピュータが自動的に、ベイジアンネットワークを利用して部品やソフトウェアモジュールの故障確率を決定し故障箇所を特定する。   In this case, basically, for example, the feature quantity acquisition function part as the data reception function part is the diagnosis information collection part 160. The data processing function part includes, for example, a failure determination unit 262, an inference engine 264 (of course, a diagnosis condition control unit 460), and the like. With this configuration, the failure diagnosis system 400 is a system in which a failure diagnosis unit including the failure determination unit 262 and the inference engine 264 is provided in the management center 401 outside the apparatus using a communication line such as the Internet. The host computer of the management center 401 is configured to perform failure diagnosis on the image forming apparatus 1. In the management center 401, the host computer automatically uses a Bayesian network to determine failure probabilities of parts and software modules based on measurement data, software logs, and feature quantities extracted from the measurement data and software logs. Determine and identify the fault location.

機能的に示すと、診断サーバ部401Aで故障診断を行なう構成を採る場合には、点線で示すように、診断対象装置から当該装置の診断に必要な情報(診断情報)を取得する診断情報取得部420と、診断情報取得部420が取得した診断情報を元に故障診断を行なう故障確率推論部430(図2の故障確率推論部260に対応)を備えることになる。故障確率推論部430は、故障診断の結果、故障確率が予め定められた閾値以上の上位の故障原因候補を抽出して、画像形成装置1側に通知する。   Functionally, in the case of adopting a configuration in which the diagnosis server unit 401A performs failure diagnosis, as shown by a dotted line, diagnosis information acquisition for acquiring information (diagnosis information) necessary for diagnosis of the device from the diagnosis target device 420 and a failure probability inference unit 430 (corresponding to the failure probability inference unit 260 in FIG. 2) that performs failure diagnosis based on the diagnosis information acquired by the diagnosis information acquisition unit 420. As a result of the failure diagnosis, the failure probability inference unit 430 extracts a higher failure cause candidate whose failure probability is equal to or higher than a predetermined threshold and notifies the image forming apparatus 1 of the failure cause.

以下、本実施形態の管理センタ401が備える診断モデル適正化処理機能に関わる部分について詳しく説明する。本実施形態の「診断モデル適正化処理機能」は、ソフトウェア障害の故障診断条件として利用される診断モデルが、ソフトウェア更新や新たな不具合が診断モデルへ迅速に反映されたものとなるように制御する診断条件制御部460が備える機能である。   Hereinafter, parts related to the diagnostic model optimization processing function provided in the management center 401 of this embodiment will be described in detail. The “diagnostic model optimization processing function” of the present embodiment controls the diagnostic model used as a fault diagnosis condition for software faults so that software updates and new defects are quickly reflected in the diagnostic model. This is a function provided in the diagnostic condition control unit 460.

因みに、管理センタ401側で診断モデルを用意する場合、管理センタ401は、複数の画像形成装置1の情報に基づき診断モデルを構築する。この仕組みを採るため、管理センタ401は、市場品質情報データベース402aに蓄積された各装置の故障内容に関する故障情報(市場品質情報とも称する)を用いて診断モデルを生成し、また、適宜更新する。そして、因果ネットワークを構成する各ノードに条件付確率表を備えた因果ネットワークで構成される診断モデルに基づいて診断対象装置に生じる故障を診断するようにする。市場品質情報データベース402aは、各装置の故障内容に関する故障情報を格納する故障情報格納部の一例である。   Incidentally, when preparing a diagnostic model on the management center 401 side, the management center 401 constructs a diagnostic model based on information of a plurality of image forming apparatuses 1. In order to adopt this mechanism, the management center 401 generates a diagnosis model using failure information (also referred to as market quality information) regarding the failure content of each device stored in the market quality information database 402a, and updates it appropriately. Then, a failure occurring in the diagnosis target device is diagnosed based on a diagnosis model constituted by a causal network having a conditional probability table at each node constituting the causal network. The market quality information database 402a is an example of a failure information storage unit that stores failure information regarding the failure content of each device.

「故障情報」としては、たとえば、市場でのトラブル対応事例ごとに、故障内容、その故障に対する処置を行なった作業者、機械No.、処置対象部品、処置内容(処置コード)、作業に要した時間(作業時間)、その他作業内容情報が記録されている。   As the “failure information”, for example, for each trouble response case in the market, the content of the failure, the worker who performed the measure for the failure, the machine No. , Treatment target parts, treatment content (treatment code), time required for work (work time), and other work content information are recorded.

市場品質情報データベース402aの故障情報は、リスト形式で構成され、たとえば、日時、機械番号、サービスエリアコード、地域エリアコード、お客様コード、故障箇所情報コード、故障現象情報コード、処置情報コードで構成されている。なお、故障現象コードに対応する故障現象は、故障診断モデルごとに設定される。市場品質情報データベース402aには、市場品質情報収集部422が各画像形成装置1から故障情報を収集する形態に限らず、たとえば、市場品質情報収集部422がサービスエンジニアの訪問履歴情報から上記内容を抽出して格納してもよい。   The failure information in the market quality information database 402a is configured in a list format, and includes, for example, date / time, machine number, service area code, area area code, customer code, failure location information code, failure phenomenon information code, and treatment information code. ing. The failure phenomenon corresponding to the failure phenomenon code is set for each failure diagnosis model. The market quality information database 402 a is not limited to the form in which the market quality information collection unit 422 collects failure information from each image forming apparatus 1. For example, the market quality information collection unit 422 stores the above contents from the visit history information of service engineers. It may be extracted and stored.

なお、図示しないが、第1構成例の市場品質情報データベース402aと市場品質情報収集部422とを管理センタ401(の診断サーバ部401A)から取り外して、専用のサーバ装置(市場品質管理サーバ)を設けて通信網406に接続し、市場品質管理サーバ内に市場品質情報データベース402aと市場品質情報収集部422を設ける構成を採ってもよい。   Although not shown, the market quality information database 402a and the market quality information collection unit 422 of the first configuration example are removed from the management center 401 (diagnostic server unit 401A), and a dedicated server device (market quality management server) is installed. A configuration may be employed in which the market quality information database 402a and the market quality information collection unit 422 are provided in the market quality management server by providing the connection to the communication network 406.

診断モデル生成・更新部410は、画像形成装置1側の診断情報収集部160やログ記録部168との協業により市場品質情報収集部422により収集し市場品質情報データベース402aに蓄積した市場品質情報に基づき、故障現象ごとや所定期間ごとに、故障部位ごとの、モデル化した故障原因の発生頻度を算出する故障発生頻度算出部412と、一定期間ごとに市場品質情報データベース402aから故障発生状況を取得して診断モデルの条件付確率表を更新する確率表更新部419を診断モデル更新部として備える。因みに、診断モデル(詳しくは条件付確率表)の更新は、条件付確率表の確率値の更新やノードの追加(この際にはその追加ノードに確率値が設定される)で実現される。故障発生頻度算出部412は、算出した故障原因の発生頻度を元に構成部品の故障原因を診断するための診断条件としての診断モデルを診断モデルデータベース402bに登録する。   The diagnostic model generation / update unit 410 converts the market quality information collected by the market quality information collection unit 422 and accumulated in the market quality information database 402a in cooperation with the diagnostic information collection unit 160 and the log recording unit 168 on the image forming apparatus 1 side. Based on the failure occurrence frequency calculation unit 412 that calculates the occurrence frequency of the modeled failure cause for each failure part for each failure phenomenon or for each predetermined period, and the failure occurrence status is acquired from the market quality information database 402a at regular intervals. Then, a probability table update unit 419 that updates the conditional probability table of the diagnosis model is provided as a diagnosis model update unit. Incidentally, the update of the diagnostic model (specifically, the conditional probability table) is realized by updating the probability value of the conditional probability table or adding a node (in this case, a probability value is set for the additional node). The failure occurrence frequency calculation unit 412 registers a diagnosis model as a diagnosis condition for diagnosing the cause of failure of the component in the diagnosis model database 402b based on the calculated failure cause occurrence frequency.

また、第1実施形態の診断サーバ部401Aは、ソフトウェアの更新や新たな不具合に対して迅速かつ容易に診断モデルに反映するための診断条件制御部460は、次のような機能部を備える。   In addition, the diagnostic server unit 401A of the first embodiment includes the following functional units as a diagnostic condition control unit 460 for quickly and easily reflecting software updates and new defects in a diagnostic model.

診断サーバ部401Aの診断条件制御部460は、ソフトウェア障害の故障診断を行なうための本実施形態に特徴的な構成要素として、エラーやワーニングを検出するエラー/ワーニング検出部462と、エラー/ワーニング検出部462により検出されたエラーやワーニングをトリガにしてソフトウェア処理の履歴(ログ)を取得するログ取得部464を有する。   The diagnosis condition control unit 460 of the diagnosis server unit 401A includes an error / warning detection unit 462 that detects an error and a warning, and an error / warning detection as characteristic components of the present embodiment for performing a fault diagnosis of a software fault. The log acquisition unit 464 acquires a software processing history (log) triggered by an error or warning detected by the unit 462.

また、診断条件制御部460は、バックトレースログ取得部464Aが取得したバックトレースログに基づき呼出し関数グラフを生成する呼出し関数グラフ生成部472と、呼出し関数グラフ生成部472が生成した呼出し関数グラフに基づいてソフトウェア処理を起因とする障害に関するサブ因果ネットワークを生成するサブ因果ネットワーク生成部474を有する。ソフトウェア処理を起因とする障害に関するサブ因果ネットワークとは、ソフトウェア処理を起因とする障害の1つまたは複数の原因となるソフトウェアモジュールと各ソフトウェアモジュールが原因となる確率を関連付けたものである。   Further, the diagnostic condition control unit 460 generates a call function graph generation unit 472 that generates a call function graph based on the backtrace log acquired by the backtrace log acquisition unit 464A, and a call function graph generated by the call function graph generation unit 472. A sub-causal network generation unit 474 that generates a sub-causal network related to a failure caused by software processing based on the base station. The sub-causal network related to a failure caused by software processing associates a software module that causes one or a plurality of failures caused by software processing with the probability that each software module causes.

サブ因果ネットワーク生成部474は、ソフトウェア処理を起因とする障害を障害発生の契機となった可能性がある1つまたは複数のソフトウェアモジュール(ライブラリモジュール)での誤動作に関連付け、障害の条件付き確率を障害(誤動作)のそれぞれの確率に関係付けるサブ因果ネットワークを生成する。たとえば、サブ因果ネットワーク生成部474は、呼出し関数グラフ生成部472が生成した呼出し関数グラフに基づき、ソフトウェアモジュール単位で纏めてそのモジュールをノードに変換し、呼出し関数をノードのステートに変換することでサブ因果ネットワークを生成するようにする。   The sub-causal network generation unit 474 associates a failure caused by software processing with a malfunction in one or more software modules (library modules) that may have triggered the failure, and determines the conditional probability of the failure. A sub-causal network relating to each probability of failure (malfunction) is generated. For example, the sub-causal network generation unit 474 converts the modules into nodes collectively in units of software modules based on the call function graph generated by the call function graph generation unit 472, and converts the call function into a node state. Create a sub-causal network.

さらに、診断条件制御部460は、サブ因果ネットワーク生成部474が生成したサブ因果ネットワークを既存の診断モデルに組み込むことで、診断モデルを診断対象装置に適合したものとなるようにする(好ましくは診断対象装置に合わせて最適化する)診断モデル適正化部476を有する。   Further, the diagnosis condition control unit 460 incorporates the sub-causal network generated by the sub-causal network generation unit 474 into the existing diagnosis model so that the diagnosis model is adapted to the diagnosis target device (preferably diagnosis). A diagnostic model optimization unit 476 (optimized according to the target device).

ここで、ログ取得部464は、サブ因果ネットワークの生成に資するソフトウェア処理時の処理履歴を取得するものであればよく、ソフトウェア処理時の処理履歴としては、たとえば、バックトレースログやプロセスログ、あるいは、メモリリークのログやシステムログなどを適用し得る。また、サブ因果ネットワーク生成部474は、各ログを組み合わせてサブ因果ネットワークを生成してもよい。第1実施形態は、ソフトウェア処理時の処理履歴としてバックトレースログを適用する事例であり、第1実施形態のログ取得部464は、バックトレースログを取得するバックトレースログ取得部464Aを具備する点に特徴を有する。   Here, the log acquisition unit 464 only needs to acquire a processing history at the time of software processing that contributes to generation of the sub-causal network. Examples of the processing history at the time of software processing include a backtrace log, a process log, or Memory leak log, system log, etc. can be applied. Further, the sub-causal network generation unit 474 may generate a sub-causal network by combining the logs. The first embodiment is an example in which a backtrace log is applied as a processing history at the time of software processing, and the log acquisition unit 464 of the first embodiment includes a backtrace log acquisition unit 464A that acquires a backtrace log. It has the characteristics.

一方、図5Aに示す第2構成例では、第1構成例の診断条件制御部460を診断サーバ部401Aから取り外して、故障確率推論部260だけでなく診断条件制御部460も画像形成装置1側に搭載した構成例を示している。   On the other hand, in the second configuration example shown in FIG. 5A, the diagnosis condition control unit 460 of the first configuration example is removed from the diagnosis server unit 401A, and not only the failure probability inference unit 260 but also the diagnosis condition control unit 460 is on the image forming apparatus 1 side. The example of a structure mounted in is shown.

このような第1実施形態の仕組みを採ることで、製品出荷後のソフトウェア更新や新たな不具合に対して、診断モデルへの反映を迅速にかつ容易に行なうようにし、ソフトウェア診断性能を向上させる。   By adopting such a mechanism of the first embodiment, it is possible to quickly and easily reflect the software update after product shipment or a new defect to the diagnosis model, thereby improving the software diagnosis performance.

<動作例:第1実施形態の概要>
図6は、第1実施形態の故障診断システム400における診断条件適正化処理((故障診断モデル適正化処理)を説明する図である。ここで、図6は第1実施形態の故障診断モデル適正化処理の手順を示すフローチャートである。ここでは、診断条件制御部460が画像形成装置1側に搭載されている第2構成例の場合で説明する。
<Operation Example: Overview of First Embodiment>
6 is a diagram for explaining diagnosis condition optimization processing ((failure diagnosis model optimization processing) in the failure diagnosis system 400 of the first embodiment, where FIG. This is a flowchart showing the procedure of the image forming process, which will be described in the case of the second configuration example in which the diagnosis condition control unit 460 is mounted on the image forming apparatus 1 side.

たとえば、第1実施形態のシステム構成においては、ログ取得部464はバックトレースログ取得部464Aを具備しており、エラー/ワーニング検出部462によりエラーやワーニングが検出されるとバックトレースログ取得部464Aでバックトレースログを取得し、このバックトレースログに基づき呼出し関数グラフ生成部472で呼出し関数グラフを生成する。この呼出し関数グラフの生成時には、バックトレースログから関数/モジュール記述リストを抽出し、この関数/モジュール記述リストを使用して呼出し関数グラフを生成する(その詳細は後述する)。   For example, in the system configuration of the first embodiment, the log acquisition unit 464 includes a backtrace log acquisition unit 464A, and when an error / warning detection unit 462 detects an error or warning, the backtrace log acquisition unit 464A. The back trace log is acquired at, and the call function graph generation unit 472 generates a call function graph based on the back trace log. When this call function graph is generated, a function / module description list is extracted from the backtrace log, and a call function graph is generated using this function / module description list (details will be described later).

たとえば、ログ記録部168は、ソフトウェアによって動作する画像形成装置1のソフトウェアの処理過程を記録しておく(S100)。本例では、特に障害発生時にバックトレースログBLを取得できるようにしておく。そして、エラー/ワーニング検出部462は、エラーやワーニングがソフトウェアあるいはOSから出力されたことを検出すると(S102−YES)、ログ取得部464に、バックトレースログの取得を指示する(S104)。ただし、ワーニングの場合には予めソフトウェアにワーニング出力と同時にプログラムを一時停止してバックトレース取得プログラムを動作させ、終了したらソフトウェアを再開する記述を記載しておく。   For example, the log recording unit 168 records the software process of the image forming apparatus 1 operated by software (S100). In this example, the backtrace log BL can be acquired particularly when a failure occurs. When the error / warning detection unit 462 detects that an error or warning is output from the software or the OS (S102-YES), the error / warning detection unit 462 instructs the log acquisition unit 464 to acquire the backtrace log (S104). However, in the case of a warning, a description is given in advance that the program is temporarily stopped at the same time as the warning is output to the software, the backtrace acquisition program is operated, and the software is resumed when it is finished.

この指示を受けたログ取得部464は、バックトレースログ取得部464AによりバックトレースログBLを取得し、取得したバックトレースログBLを呼出し関数グラフ生成部472に渡す(S106)。   Upon receiving this instruction, the log acquisition unit 464 acquires the backtrace log BL by the backtrace log acquisition unit 464A, and passes the acquired backtrace log BL to the call function graph generation unit 472 (S106).

呼出し関数グラフ生成部472は、ログ取得部464から受け取ったバックトレースログBLに基づいて、呼出し関数グラフを生成する(S110)。呼出し関数グラフの生成時には、先ず、バックトレースログBLの記述から、呼出し関数と、この呼出し関数が含まれるライブラリモジュールを抽出し、ログ順(呼出し順)に羅列することで関数/モジュール記述リストを生成し、エラーやワーニングが発生したときの呼出しパスを取得する(S112)。そして、関数/モジュールの単位を纏めてグラフ化することで呼出し関数グラフを作成し、作成した呼出し関数グラフをサブ因果ネットワーク生成部474に渡す(S114)。バックトレースログBLに基づく関数/モジュール記述リストの生成手法と、関数/モジュール記述リストに基づく呼出し関数グラフの生成手法の具体的事例については後述する。   The call function graph generation unit 472 generates a call function graph based on the backtrace log BL received from the log acquisition unit 464 (S110). When the call function graph is generated, first, the function / module description list is obtained by extracting the call function and the library module including the call function from the description of the backtrace log BL and arranging them in the log order (call order). Generate a call path when an error or warning occurs (S112). Then, the function / module unit is graphed together to create a call function graph, and the created call function graph is passed to the sub-causal network generation unit 474 (S114). Specific examples of the function / module description list generation method based on the backtrace log BL and the call function graph generation method based on the function / module description list will be described later.

サブ因果ネットワーク生成部474は、呼出し関数グラフ生成部472で生成された呼出し関数グラフに基づいて、サブ因果ネットワークのノードやステート並びにリンクへ変換することでサブ因果ネットワークを生成する(S120)。なお、呼出し関数グラフからノード/ステートへの変換は、その詳細は後述するが、たとえば、サブ因果ネットワーク生成部474は、呼出し関数グラフをライブラリモジュール単位で纏め(S122)、ライブラリモジュールをノード、関数をそのノードのステートとして割り付ける(S124)。あるいは、変換テーブルを保持し、テーブルの参照によって変換してもよい。そして、サブ因果ネットワーク生成部474は、各ノードを呼出し関数グラフの矢印の向きに基づきリンクを生成することで、サブ因果ネットワークを完成させる(S126)。   The sub-causal network generation unit 474 generates a sub-causal network by converting the nodes, states, and links of the sub-causal network based on the call function graph generated by the call function graph generation unit 472 (S120). The details of the conversion from the call function graph to the node / state will be described later. For example, the sub-causal network generation unit 474 summarizes the call function graph in units of library modules (S122), the library modules as nodes, and functions. Is assigned as the state of the node (S124). Alternatively, a conversion table may be held and converted by referring to the table. Then, the sub-causal network generation unit 474 completes the sub-causal network by generating a link based on the direction of the arrow of the call function graph for each node (S126).

次に、診断モデル適正化部476は、サブ因果ネットワーク生成部474が生成したサブ因果ネットワークを既存の診断モデルに組み込むことで、診断モデルを診断対象装置に適合したものとなるようにする(S160)。このとき、診断モデル適正化部476は、既存の診断モデル(既存モデルと称する)に対して、サブ因果ネットワークのノード名とリンクを検索し(S162)、既存モデルに存在するノードであればステートの追加や確率値の更新を行ない(S164−YES,S166)、既存モデルに存在しない新規ノードであればノード,リンク,条件付き確率表に確率テーブルを追加する(S164−NO,S168)。   Next, the diagnostic model optimization unit 476 incorporates the sub-causal network generated by the sub-causal network generation unit 474 into the existing diagnostic model so that the diagnostic model is adapted to the diagnosis target device (S160). ). At this time, the diagnostic model optimization unit 476 searches the node name and link of the sub-causal network with respect to the existing diagnostic model (referred to as an existing model) (S162), and if the node exists in the existing model, the state And the probability value are updated (S164-YES, S166), and if it is a new node that does not exist in the existing model, a probability table is added to the node, link, conditional conditional table (S164-NO, S168).

診断モデル適正化部476は、サブ因果ネットワーク生成部474で生成されたサブ因果ネットワークを既存の診断モデルに組み込むことで適正化した適性診断モデルを所定の記憶媒体(たとえば判定指標格納部230)に記憶する(S180)。なお、診断モデル適正化部476は、適性診断モデルを既存の診断モデルと置き換えてもよいし、適正化した適性診断モデルを記憶しつつ、既存の診断モデルをそのまま残して置くようにしてもよい。   The diagnostic model optimization unit 476 stores the appropriate diagnostic model optimized by incorporating the sub-causal network generated by the sub-causal network generation unit 474 into an existing diagnostic model in a predetermined storage medium (for example, the determination index storage unit 230). Store (S180). The diagnostic model optimization unit 476 may replace the appropriate diagnostic model with an existing diagnostic model, or store the optimized diagnostic model and leave the existing diagnostic model as it is. .

診断モデル適正化部476によって適正化された適性診断モデルは、出荷後のソフトウェア更新や新たな不具合への対応など、その時点での最新のソフトウェア環境が反映されたもので、以降の故障診断時に利用され得る状態となる。   The aptitude diagnosis model optimized by the diagnosis model optimizing unit 476 reflects the latest software environment at that time, such as software update after shipment and response to new defects. It can be used.

<バックトレースログ>
図7は、第1実施形態において適用されるエラー証拠情報ノードEe(eはノード番号)に関するバックトレースログの一例を示す図である。バックトレースログBLは、ソフトウェア(プログラム)が現在いる箇所にどのようにして到達したかを示す要約情報であり、エラーで停止した際やプログラムが一時停止した際にモジュール/関数の呼出しスタックを遡って出力したログであり、#で示す行番号ごとに、順に呼出し元まで辿る。ログの最初の行の記述はバックトレースログBLを一意に特定する記述である。各行は、基本的には、アドレス(#*とinの間の記述)、呼出し関数(inとfromの間の記述)、呼出し関数が含まれるライブラリモジュール(from以降の記述)の順に表示されている。ライブラリモジュールの記述のある行が、呼出し関数グラフの生成に関わる記述である。たとえば、#2は“/usr/lib/libgnomeui−2.so.0”という共有ライブラリモジュールに含まれる“gnome_gtk_module_info_get()”という呼出し関数からの呼び出しがあったことを示す。
<Backtrace log>
FIG. 7 is a diagram illustrating an example of a backtrace log related to the error evidence information node Ee (e is a node number) applied in the first embodiment. The backtrace log BL is summary information that shows how the software (program) has reached the current location, and goes back up the module / function call stack when it stops due to an error or when the program pauses. The log is output to the caller in order for each line number indicated by #. The description in the first line of the log is a description that uniquely identifies the backtrace log BL. Each line is basically displayed in the order of address (description between ** and in), call function (description between in and from), and library module containing the call function (description after from). Yes. A line with a description of a library module is a description related to generation of a call function graph. For example, # 2 indicates that there is a call from a call function “gnome_gtk_module_info_get ()” included in the shared library module “/usr/lib/libgnomeui-2.so.0”.

なお、ライブラリモジュールの記述の無い#0行は、OSに関わる呼出し関数の記述である。アドレス、呼出し関数、ライブラリモジュールの何れも記述されていない#3行は、あるイベントが発生したことを示している。   The # 0 line without the description of the library module is a description of the calling function related to the OS. Line # 3 in which none of the address, calling function, and library module is described indicates that an event has occurred.

このようにして、ログ取得部464は、エラーで停止した場合の呼出しパスを取得することになる。また、ワーニングの場合はソフトウェア(プログラム)にワーニングメッセージ出力時に一時停止してバックトレースを動作させ、終了時にソフトウェアを再開するので、同様にログ取得部464はワーニング発生時の呼出パスを取得することになる。   In this way, the log acquisition unit 464 acquires a call path when stopped due to an error. In the case of a warning, the software (program) pauses when a warning message is output, operates the backtrace, and resumes the software when it is finished. Similarly, the log acquisition unit 464 acquires the call path when the warning occurs. become.

<呼出し関数グラフの生成方法>
図8および図9は、呼出し関数グラフ生成部472による呼出し関数グラフの生成方法の具体例を説明する図である。ここで、図8は、エラー証拠情報ノードEeに関するバックトレースログBLから抽出した関数/モジュール記述リストの一例を示す。図9は、エラー証拠情報ノードEeに関する呼出し関数グラフの一例を示す図である。
<Generation method of call function graph>
8 and 9 are diagrams for explaining a specific example of a method for generating a call function graph by the call function graph generation unit 472. FIG. FIG. 8 shows an example of a function / module description list extracted from the backtrace log BL related to the error evidence information node Ee. FIG. 9 is a diagram illustrating an example of a call function graph regarding the error evidence information node Ee.

呼出し関数グラフの生成時には、先ず、図7に示したバックトレースログBLにおける“in”から“from”の間の記述を呼出し関数として抽出し、“from”に続く記述をその呼出し関数が含まれるライブラリモジュールとして抽出し、行番号(#番号)の順に羅列することで、図8に示すような関数/モジュール記述リストを作成する(S112)。   When generating the call function graph, first, a description between “in” and “from” in the backtrace log BL shown in FIG. 7 is extracted as a call function, and the description following “from” is included in the call function. A function / module description list as shown in FIG. 8 is created by extracting as library modules and listing them in the order of line numbers (# numbers) (S112).

この後、呼出し関数グラフ生成部472は、関数の単位を“Fm/Mm”としてグラフ化することで、図9に示すような呼出し関数グラフを作成する(S114)。ここで、Fmは呼出し関数、Mmはその呼出し関数が含まれるライブラリモジュールであり、“Fm/Mm”のmは、図7、図8の行番号(#番号))と対応する。たとえば、図9において、F2は、#2行目における呼出し関数“gnome_gtk_module_info_get()”であり、M2は、#2行目における共有ライブラリモジュール“/usr/lib/libgnomeui−2.so.0”である。因みに、図7、図8に示す例では、ライブラリモジュールの記述のある#,#,#〜#12の各行が呼出し関数グラフの生成に関わる記述であり、イベントの発生を示す#3行目が除かれている。 Thereafter, the call function graph generation unit 472 creates a call function graph as shown in FIG. 9 by graphing the unit of the function as “Fm / Mm” (S114). Here, Fm is a call function, Mm is a library module including the call function, and m in “Fm / Mm” corresponds to the row number (# number) in FIGS. For example, in FIG. 9, F2 is a call function “gnome_gtk_module_info_get ()” on the # 2 line, and M2 is a shared library module “/usr/lib/libgnomeui-2.so.0” on the # 2 line. is there. Incidentally, in the example shown in FIGS. 7 and 8, each line of # 1 , # 2 , # 4 to # 12 in which the description of the library module is described is a description related to generation of the call function graph, and # 3 indicating the occurrence of the event. The line is removed.

<サブ因果ネットワークの生成方法:第1実施形態>
図10は、第1実施形態のサブ因果ネットワーク生成部474によるサブ因果ネットワークの生成方法の具体例を説明する図である。
<Sub-Causal Network Generation Method: First Embodiment>
FIG. 10 is a diagram illustrating a specific example of a sub-causal network generation method by the sub-causal network generation unit 474 according to the first embodiment.

ライブラリモジュールは複数の呼出し関数を含む場合が多いので、サブ因果ネットワーク生成部474は先ず、呼出し関数グラフをライブラリモジュール単位で纏める(S122)。また、ライブラリモジュールをノード、呼出し関数をそのノードのステートとして割り付ける(S124)。   Since the library module often includes a plurality of calling functions, the sub-causal network generation unit 474 first collects the calling function graph in units of library modules (S122). Further, the library module is assigned as a node and the calling function is assigned as the state of the node (S124).

たとえば、図7、図8の例では、ライブラリモジュール“/usr/lib/libgdk-x11-2.0.so.0”は、#5行目の呼出し関数“gdk_region_rectangle()”を含むため、下記のように、#5行目の呼出し関数にステート番号を設定する。
ノードN4:/usr/lib/libgdk-x11-2.0.so.0
ステート1:gdk_region_rectangle() :(#5)
For example, in the example of FIG. 7 and FIG. 8, the library module “/usr/lib/libgdk-x11-2.0.so.0” includes the calling function “gdk_region_rectangle ()” on the # 5 line. In addition, a state number is set in the calling function on the # 5 line.
Node N4: /usr/lib/libgdk-x11-2.0.so.0
State 1: gdk_region_rectangle (): (# 5)

また、ライブラリモジュール“/usr/lib/libgtk-x11-2.0.so.0”は、#6,#7および#8,#9,#10および#11,#12行目の各呼出し関数を含むので、下記のように、#6,#7および#8,#9,#10および#11,#12行目の呼出し関数にそれぞれ別のステート番号を設定する。
ノードN5:/usr/lib/libgtk-x11-2.0.so.0
ステート1:gtk_widget_region_intersect () :(#6)
ステート2:gtk_container_propagate_expose ():(#7,#8)
ステート3:gtk_box_pack_start_defaults () :(#9)
ステート4:gtk_container_forall() :(#10,#11)
ステート5:gtk_marshal_BOOLEAN__VOID () :(#12)
The library module “/usr/lib/libgtk-x11-2.0.so.0” includes the calling functions on the # 6, # 7 and # 8, # 9, # 10 and # 11, # 12 lines. Therefore, as shown below, different state numbers are set for the calling functions in the # 6, # 7 and # 8, # 9, # 10 and # 11, # 12 lines, respectively.
Node N5: /usr/lib/libgtk-x11-2.0.so.0
State 1: gtk_widget_region_intersect (): (# 6)
State 2: gtk_container_propagate_expose (): (# 7, # 8)
State 3: gtk_box_pack_start_defaults (): (# 9)
State 4: gtk_container_forall (): (# 10, # 11)
State 5: gtk_marshal_BOOLEAN__VOID (): (# 12)

ここで、ノードNnにおけるnはノード番号を示し、サブ因果ネットワーク生成時には暫定的に1からの通し番号を割り当てる。   Here, n in the node Nn indicates a node number, and a serial number from 1 is tentatively assigned when the sub-causal network is generated.

サブ因果ネットワーク生成部474は、ライブラリモジュールに割り付けたノードをサブ因果ネットワークのノードに設定し、呼出し関数グラフの矢印の向きに基づいてリンクを生成することで、図10に示すようなサブ因果ネットワークを生成する。ここで、複数の呼出し関数を含むライブラリモジュールに割り付けられたノードの配置順は、図7、図8における行番号(#番号)の小さい方からノード番号に割り当てていくようにする。   The sub-causal network generation unit 474 sets a node assigned to the library module as a node of the sub-causal network, and generates a link based on the direction of the arrow of the call function graph, thereby generating a sub-causal network as shown in FIG. Is generated. Here, the arrangement order of the nodes assigned to the library module including a plurality of calling functions is assigned to the node numbers starting from the smallest row number (# number) in FIGS.

たとえば、エラー証拠情報ノードEeに関する図9(元は図7、図8)に示す例では、呼出し関数グラフの生成に関わる(つまりライブラリモジュールの記述のある)#1,#2,#4〜#12の各行において、#6〜#12の各行の呼出し関数が同一のライブラリモジュールに含まれるので、サブ因果ネットワーク生成部474は、図10に示すように、#1行目に関するノードN1、#2行目に関するノードN2、#4行目に関するノードN3、#5行目に関するノードN4、#6〜#12行目に関するノードN5の順で各ノードNnを順に配置する。そして、サブ因果ネットワーク生成部474は、ノードN5から順番にノードN1の方向に向かって(呼出し関数グラフの矢印の向きとは逆向きで)リンクを生成するとともに、ノードN5からエラー証拠情報ノードEeに向かってリンクを生成することで、サブ因果ネットワークを完成させる(S126)。各ノードNnにはノード名としてライブラリモジュールMmが与えられ、ステートとして呼出し関数Fmが付加されている。   For example, in the example shown in FIG. 9 relating to the error evidence information node Ee (originally FIGS. 7 and 8), # 1, # 2, # 4 to ## related to generation of a call function graph (that is, description of a library module) In each of the 12 rows, the calling function of each row of # 6 to # 12 is included in the same library module, so that the sub-causal network generation unit 474 has the nodes N1 and # 2 related to the # 1 row as shown in FIG. The nodes Nn are arranged in order of the node N2 related to the row, the node N3 related to the # 4th row, the node N4 related to the # 5th row, and the node N5 related to the # 6 to # 12th rows. Then, the sub-causal network generation unit 474 generates a link in the order from the node N5 toward the node N1 (in the direction opposite to the direction of the arrow in the call function graph), and from the node N5 to the error evidence information node Ee. A sub-causal network is completed by generating a link toward (S126). Each node Nn is given a library module Mm as a node name, and a call function Fm is added as a state.

<診断モデル適正化処理:第1実施形態>
図11は、第1実施形態の診断モデル適正化部476における診断条件適正化処理(診断モデル適正化処理:事実上の診断モデル更新処理)の詳細を説明する図である。診断モデル適正化部476は、サブ因果ネットワーク生成部474が生成したサブ因果ネットワークを既存の診断モデルに組み込むのであるが、第1実施形態の場合には、図4に示したような更新前(既存)の診断モデルに対して、サブ因果ネットワークのノード名とリンクを検索し、更新前の診断モデルに存在するノードなら、ノード番号は変更せずステートの追加・確率の更新を行ない、更新前の診断モデルに存在しない新規ノードなら更新前の診断モデル内のノード番号と重複せずかつ番号の小さいものに再割り当てを行ない、ノード・リンク・確率テーブルを追加する。
<Diagnostic model optimization processing: first embodiment>
FIG. 11 is a diagram for explaining the details of the diagnostic condition optimization process (diagnostic model optimization process: de facto diagnostic model update process) in the diagnostic model optimization unit 476 of the first embodiment. The diagnostic model optimization unit 476 incorporates the sub-causal network generated by the sub-causal network generation unit 474 into the existing diagnostic model. In the case of the first embodiment, the update before the update ( The node name and link of the sub-causal network are searched for the existing diagnostic model, and if the node exists in the diagnostic model before the update, the node number is not changed and the state is added and the probability is updated before the update. If a new node does not exist in the diagnostic model, the node number is not duplicated with the node number in the diagnostic model before the update and is reassigned to a smaller number, and a node / link / probability table is added.

たとえば、図4に示した更新前の診断モデルに関して、新たなエラーが発生したとき(エラー証拠情報ノードE4)、サブ因果ネットワーク生成部474により生成されたサブ因果ネットワークが、図11(1)に示すように、サブ因果ネットワーク生成部474によりノードはN1,N2,N3の3つが存在し、ノードN3→ノードN2→ノードN1に向かってリンクが生成され、また、ノードN3からエラー証拠情報ノードE4に向かってリンクが生成されているものとする。またN1,N2は更新前の診断モデルに存在する既存ノードで、N3は存在しない新規ノードとする。   For example, when a new error occurs (error evidence information node E4) for the diagnostic model before update shown in FIG. 4, the sub-causal network generated by the sub-causal network generation unit 474 is shown in FIG. As shown, the sub-causal network generation unit 474 has three nodes N1, N2, and N3, and links are generated from the node N3 → the node N2 → the node N1, and the error evidence information node E4 from the node N3. It is assumed that a link is generated toward N1 and N2 are existing nodes existing in the diagnostic model before update, and N3 is a new node that does not exist.

この場合、サブ因果ネットワーク生成部474により生成されたサブ因果ネットワークのノードN2とノードN1は、更新前の診断モデルに存在する既存ノードであるので、図11(2)に示すように、診断モデル適正化部476は、これらノードN2とノードN1に関しては、その既存ノードをそのまま使うとともに、ステートの追加や確率値の更新を行なう。一方、ノードN3は更新前の診断モデルに存在しない新規ノードであるので、診断モデル適正化部476は、図11(2)に示すように、ノードN3を更新前診断モデルのノードと重複せずかつ番号の小さいものとしてN11というノード番号を再割り当てして追加するとともにそのノードに確率値を設定(追加)する。また、追加したノードN11からノードN2およびエラー証拠情報ノードE4に向かってリンクを作成する。図11(2)において、ハッチングしたノードN1,N2,N11,E4と、それらのリンクが、サブ因果ネットワーク生成部474により作成されたサブ因果ネットワークを組み込んだ部分となる。   In this case, since the node N2 and the node N1 of the sub-causal network generated by the sub-causal network generation unit 474 are existing nodes existing in the diagnostic model before the update, as illustrated in FIG. The optimization unit 476 uses the existing node as it is for the node N2 and the node N1, and adds a state and updates a probability value. On the other hand, since the node N3 is a new node that does not exist in the diagnostic model before update, the diagnostic model optimization unit 476 does not overlap the node N3 with the node of the diagnostic model before update as shown in FIG. In addition, the node number N11 is reassigned and added as a small number, and a probability value is set (added) to the node. Further, a link is created from the added node N11 toward the node N2 and the error evidence information node E4. In FIG. 11 (2), the hatched nodes N1, N2, N11, and E4 and their links are portions into which the sub-causal network created by the sub-causal network generation unit 474 is incorporated.

このような第1実施形態の仕組みによれば、エラーやワーニングをトリガとして取得したバックトレースログBLに基づき生成されたサブ因果ネットワークが即座に既存(更新前)の診断モデルに組み込まれることになる。   According to the mechanism of the first embodiment, the sub-causal network generated based on the backtrace log BL acquired using an error or warning as a trigger is immediately incorporated into the existing (before update) diagnostic model. .

特許文献1〜3に記載の仕組みでは、ソフトウェア診断モデルの更新に関する記載はなく、ソフトウェア更新や新たな不具合に対して診断モデルへの反映が迅速に行なわれないので、ソフトウェア診断精度の低下や誤診断を招く虞れがある。   In the mechanisms described in Patent Documents 1 to 3, there is no description about updating the software diagnostic model, and software updates and new defects are not quickly reflected in the diagnostic model. There is a risk of causing a diagnosis.

これに対して、第1実施形態の仕組みでは、エラーやワーニングをトリガとしてソフトウェア処理の処理履歴(処理過程の記録)の一例であるバックトレースログBLを取得し、このバックトレースログBLに基づいてサブ因果ネットワークを生成し、このサブ因果ネットワークを更新前の診断モデルに組み込むようにした。このため、たとえば、実稼動中に開発者が想定していないランタイムエラーや、外部ベンダが作成しインストールしたソフトウェアとの干渉によるエラーなどが生じた場合でも、それらソフトウェア処理における故障状況が、迅速かつ容易に診断モデルに反映されることになり、ソフトウェア診断の診断性能が向上する。製品出荷後のソフトウェア更新や新たな不具合に対して、診断モデルへの反映が迅速にかつ容易に行なわれることで、ソフトウェア診断性能が向上するようになる。   On the other hand, in the mechanism of the first embodiment, a back trace log BL, which is an example of a software processing history (record of processing steps), is acquired using an error or warning as a trigger, and based on the back trace log BL. A sub-causal network was generated, and this sub-causal network was incorporated into the diagnostic model before update. For this reason, for example, even if a runtime error that the developer does not expect during actual operation or an error due to interference with software installed and installed by an external vendor occurs, the failure status in the software processing is quick and This is easily reflected in the diagnostic model, and the diagnostic performance of software diagnosis is improved. Software diagnosis performance is improved by quickly and easily reflecting software updates and new defects after product shipment into the diagnostic model.

なお、相互リンクされた複数のモジュールから構成されたシステムの故障診断を行なうに当たり、障害発生を契機としてサブ因果ネットワークを生成し、このサブ因果ネットワークを既存の診断モデルの因果ネットワークに組み込むという点では、特許文献1に記載の仕組みと似通っていると指摘されるかも知れない。しかしながら、本実施形態は複数のソフトウェアモジュールから構成されたソフトウェア処理システムの故障診断を行なうものであり、ソフトウェア処理履歴を利用してサブ因果ネットワークを生成するという構成上の相違があり、この構成上の相違から、特許文献1に記載の仕組みでは得られない次のような特有の作用が得られる。   In performing failure diagnosis of a system composed of multiple modules linked together, a sub-causal network is generated when a failure occurs, and this sub-causal network is incorporated into the causal network of the existing diagnosis model. It may be pointed out that it is similar to the mechanism described in Patent Document 1. However, the present embodiment performs failure diagnosis of a software processing system composed of a plurality of software modules, and there is a structural difference that a sub-causal network is generated using a software processing history. From these differences, the following specific action that cannot be obtained by the mechanism described in Patent Document 1 can be obtained.

すなわち、特許文献1では障害モデルとして予め想定される障害の因果関係を複数登録しておき、発生した障害に応じて該当するモデルを照会して再帰的に因果ネットワークに組み込むため、事前に知識ベースの障害モデルを構築しておく必要があることと、障害モデルが非常に大きくなってしまうのを抑制するために障害モデルのサイズの制限手段が必要になることから処理の負荷が大きくなる。これに対して、本実施形態の仕組みでは、知識ベースの障害モデルデータベースを予め構築しておく必要がなく、さらに発生した障害のみをリアルタイムで障害モデルに組み込むために、診断モデルのサイズが大きくなることを抑制するとともに、診断モデルのサイズの制限手段が不要で処理負荷が軽い、という特有の作用が得られる。   That is, in Patent Document 1, a plurality of causal relationships of failures that are assumed in advance as failure models are registered, and the corresponding model is inquired according to the failure that occurred and recursively incorporated into the causal network. Therefore, it is necessary to construct a failure model, and a means for restricting the size of the failure model is required to prevent the failure model from becoming very large, which increases the processing load. On the other hand, in the structure of this embodiment, it is not necessary to construct a knowledge-based failure model database in advance, and the size of the diagnostic model increases because only the failures that have occurred are incorporated in the failure model in real time. In addition to suppressing this, it is possible to obtain a specific action that a means for limiting the size of the diagnostic model is unnecessary and the processing load is light.

<故障診断システム:第2実施形態>
図12は、複数台の画像形成装置1と通信回線を介して管理センタ401が接続されている故障診断システム400の第2実施形態(第2構成例)を示す図である。ここでは、図5Aに示した第2構成例に対する変形例で示すが、図5に示した第1構成例に対しても同様の変形を加え得る。
<Fault diagnosis system: second embodiment>
FIG. 12 is a diagram illustrating a second embodiment (second configuration example) of a failure diagnosis system 400 in which a management center 401 is connected to a plurality of image forming apparatuses 1 via communication lines. Here, although it shows with the modification with respect to the 2nd structural example shown to FIG. 5A, the same deformation | transformation can be added also to the 1st structural example shown in FIG.

第2実施形態は、ソフトウェア処理時の処理履歴としてプロセスログPLを適用する事例であり、第2実施形態のログ取得部464は、バックトレースログ取得部464Aに加えて、プロセスログPLを取得するプロセスログ取得部464Bを具備する点に特徴を有する。これに対応して、第2実施形態のサブ因果ネットワーク生成部474は、プロセスログ取得部464Bが取得したプロセスログPL中のプロセスリストを原因とし障害の発生(エラーやワーニング)が結果とすることでサブ因果ネットワークを生成する。プロセスログPLから原因と結果がリンクされたサブ因果ネットワークが生成されるので、診断モデル適正化部476は特段の対処をしなくとも、プロセスログ取得部464BがプロセスログPLに基づき生成したサブ因果ネットワークをそのまま既存の診断モデルに組み込めばよい。その他の点は、第1実施形態と同様である。   The second embodiment is an example in which the process log PL is applied as a processing history at the time of software processing, and the log acquisition unit 464 of the second embodiment acquires the process log PL in addition to the backtrace log acquisition unit 464A. It is characterized in that a process log acquisition unit 464B is provided. In response to this, the sub-causal network generation unit 474 of the second embodiment causes a failure (error or warning) as a result due to the process list in the process log PL acquired by the process log acquisition unit 464B. To generate a sub-causal network. Since the sub-causal network in which the cause and the result are linked is generated from the process log PL, the sub-causal generated by the process log acquisition unit 464B based on the process log PL without any special measures being taken by the diagnostic model optimization unit 476 The network can be incorporated directly into an existing diagnostic model. Other points are the same as in the first embodiment.

因みに、バックトレースログ取得部464Aを取り外して、プロセスログ取得部464Bを備える構成にしてもよい。この場合、第2実施形態の診断条件制御部460は、呼出し関数グラフ生成部472を備えない。   Incidentally, the back trace log acquisition unit 464A may be removed and a process log acquisition unit 464B may be provided. In this case, the diagnostic condition control unit 460 of the second embodiment does not include the call function graph generation unit 472.

<動作例:第2実施形態の概要>
図13は、第2実施形態の故障診断システム400における診断条件適正化処理(故障診断モデル適正化処理)を説明する図である。ここで、図13は第2実施形態の故障診断モデル適正化処理の手順を示すフローチャートである。ステップ番号を200番台で示すとともに、第1実施形態と同様の処理ステップには同一の10番台および1番台の番号を付して示す。ここでは、診断条件制御部460が画像形成装置1側に搭載されている第2構成例の場合で説明する。
<Operation Example: Overview of Second Embodiment>
FIG. 13 is a diagram for explaining diagnosis condition optimization processing (failure diagnosis model optimization processing) in the failure diagnosis system 400 of the second embodiment. Here, FIG. 13 is a flowchart showing the procedure of the failure diagnosis model optimization process of the second embodiment. The step numbers are shown in the 200s, and the same processing steps as in the first embodiment are shown with the same numbers in the 10s and 1s. Here, the case of the second configuration example in which the diagnosis condition control unit 460 is mounted on the image forming apparatus 1 side will be described.

たとえば、第2実施形態のシステム構成においては、ログ取得部464はプロセスログ取得部464Bを具備しており、エラー/ワーニング検出部462によりエラーやワーニングが検出されるとプロセスログ取得部464BでプロセスログPLを取得し、このプロセスログPLに基づき、サブ因果ネットワーク生成部474は、プロセスログPL中のプロセスリストを原因としエラーやワーニングが結果となるサブ因果ネットワークを生成する(その詳細は後述する)。   For example, in the system configuration of the second embodiment, the log acquisition unit 464 includes a process log acquisition unit 464B. When an error / warning detection unit 462 detects an error or warning, the process log acquisition unit 464B The log PL is acquired, and based on the process log PL, the sub-causal network generation unit 474 generates a sub-causal network in which an error or warning results from the process list in the process log PL (details will be described later). ).

たとえば、ログ記録部168は、ソフトウェアによって動作する画像形成装置1のソフトウェアの処理過程を記録しておく(S200)。本例では、特に障害発生時にプロセスログPLを取得できるようにしておく。そして、エラー/ワーニング検出部462は、エラーやワーニングがソフトウェアあるいはOSから出力されたことを検出すると(S202−YES)、ログ取得部464に、バックトレースログの取得を指示をする(S205)。この指示を受けたログ取得部464は、プロセスログ取得部464BによりプロセスログPLを取得し、取得したプロセスログPLをサブ因果ネットワーク生成部474に渡す(S207)。つまり、エラー/ワーニング検出部462でエラーやワーニングを検出したとき、ログ取得部464はプロセスログ取得部464Bによりその時点でのプロセスログを取得する。すなわち、エラーやワーニング発生時点に起動していたプロセスを抽出する。   For example, the log recording unit 168 records the software process of the image forming apparatus 1 operated by software (S200). In this example, the process log PL can be acquired particularly when a failure occurs. When the error / warning detection unit 462 detects that an error or warning is output from the software or the OS (YES in S202), the error / warning detection unit 462 instructs the log acquisition unit 464 to acquire the backtrace log (S205). Upon receiving this instruction, the log acquisition unit 464 acquires the process log PL by the process log acquisition unit 464B, and passes the acquired process log PL to the sub-causal network generation unit 474 (S207). That is, when the error / warning detection unit 462 detects an error or warning, the log acquisition unit 464 acquires the process log at that time by the process log acquisition unit 464B. That is, the process that was started when the error or warning occurred is extracted.

サブ因果ネットワーク生成部474は、プロセスログ取得部464Bから渡されたプロセスログPLに基づいて、サブ因果ネットワークのノードやステート並びにリンクへ変換することでサブ因果ネットワークを生成する(S220)。なお、サブ因果ネットワーク生成部474におけるプロセスログPLからサブ因果ネットワークへの変換は、たとえば、プロセスログPL中のプロセスリストを原因ノードに割り当て、エラーやワーニングを結果ノードに割り当てることで、サブ因果ネットワークを生成する(S223)。これは、初期段階では、エラーやワーニングの発生時点に起動していたプロセスが、発生したエラーやワーニングの原因となると考えてよいからである。   The sub-causal network generation unit 474 generates a sub-causal network by converting the node, state, and link of the sub-causal network based on the process log PL passed from the process log acquisition unit 464B (S220). The conversion from the process log PL to the sub-causal network in the sub-causal network generation unit 474 is performed, for example, by assigning a process list in the process log PL to the cause node and assigning an error or warning to the result node. Is generated (S223). This is because, in the initial stage, it may be considered that a process started at the time of occurrence of an error or warning causes the error or warning that has occurred.

診断モデル適正化部476は、サブ因果ネットワーク生成部474で生成されたサブ因果ネットワークを既存の診断モデルに組み込むことで診断モデルを適正化し(S260)、この適正化した適性診断モデルを所定の記憶媒体(たとえば判定指標格納部230)に記憶する(S280)。   The diagnostic model optimization unit 476 optimizes the diagnostic model by incorporating the sub-causal network generated by the sub-causal network generation unit 474 into the existing diagnostic model (S260), and stores the optimized aptitude diagnostic model in a predetermined storage. It memorize | stores in a medium (for example, determination parameter | index storage part 230) (S280).

診断モデル適正化部476によって適正化された適性診断モデルは、出荷後のソフトウェア更新や新たな不具合への対応など、その時点での最新のソフトウェア環境が反映されたもので、以降の故障診断時に利用され得る状態となる。   The aptitude diagnosis model optimized by the diagnosis model optimizing unit 476 reflects the latest software environment at that time, such as software update after shipment and response to new defects. It can be used.

<プロセスログ>
図14は、第2実施形態において適用されるエラー証拠情報ノードEeやワーニング証拠情報ノードWw(wはノード番号)に関するプロセスログPLの一例を示す図である。プロセスログPLは、ソフトウェア処理における処理プロセスの履歴を示したものである。一例として、プロセスログPLには、プロセス名・プロセスID・親プロセスID・起動日時・プロセス時間などが含まれる。
<Process log>
FIG. 14 is a diagram illustrating an example of the process log PL regarding the error evidence information node Ee and the warning evidence information node Ww (w is a node number) applied in the second embodiment. The process log PL shows a history of processing processes in software processing. As an example, the process log PL includes a process name, a process ID, a parent process ID, an activation date / time, a process time, and the like.

たとえば、図14において、“UID”はプロセスを起動したユーザを一意に特定する識別子(ID)、“PID”はプロセスを一意に特定する識別子(ID)、“PPID”は起動したプロセスの親プロセスを一意に特定する識別子(ID)、“C”はCPUの使用率(%)、“STIME”はプロセスの起動日時、“TTY”はプロセスを起動したものがターミナル・コンソール・自動の何れかの切分け(?は自動であったことを示す)、“TIME”はプロセスの累積CPU時間、“CMD”はコマンド、をそれぞれ示す。   For example, in FIG. 14, “UID” is an identifier (ID) that uniquely identifies the user who started the process, “PID” is an identifier (ID) that uniquely identifies the process, and “PPID” is the parent process of the started process. “C” is the CPU usage rate (%), “STIME” is the process start date and time, and “TTY” is either the terminal, console, or auto that started the process Carving out (? Indicates automatic), “TIME” indicates the accumulated CPU time of the process, and “CMD” indicates the command.

<診断モデル適正化処理:第2実施形態>
図15は、第2実施形態の診断モデル適正化部476における診断モデル適正化処理(事実上の診断モデル更新処理)の詳細を説明する図である。診断モデル適正化部476は、サブ因果ネットワーク生成部474が生成したサブ因果ネットワークを既存の診断モデルに組み込むのであるが、第2実施形態の場合には、更新前(既存)の診断モデルに対して、初期段階では、プロセスが、発生したエラーやワーニングの原因となると考えて、更新前(既存)の診断モデルにおいて、プロセスPpをエラー証拠情報ノードEeやワーニング証拠情報ノードWwに直接リンクさせる。その後、更新を重ねるごとに発生回数から確率値を自動調整し、場合によってはリンクを追加することで、より現実の障害発生状況に応じた診断モデルへと更新していく。
<Diagnostic model optimization processing: second embodiment>
FIG. 15 is a diagram for explaining the details of the diagnostic model optimization processing (actual diagnostic model update processing) in the diagnostic model optimization unit 476 of the second embodiment. The diagnostic model optimization unit 476 incorporates the sub-causal network generated by the sub-causal network generation unit 474 into the existing diagnostic model. In the case of the second embodiment, the diagnostic model optimization unit 476 applies the pre-update (existing) diagnostic model. In the initial stage, the process is considered to cause an error or a warning, and the process Pp is directly linked to the error evidence information node Ee or the warning evidence information node Ww in the diagnostic model before update (existing). After that, the probability value is automatically adjusted based on the number of occurrences each time the update is repeated, and in some cases, a link is added to update the diagnosis model according to the actual failure occurrence situation.

たとえば、図15は、図11に対しての適用事例を示している。エラー証拠情報ノードE4に関して、サブ因果ネットワーク生成部474により生成されたサブ因果ネットワークは、図15に示すように、プロセスP1,P2からエラー証拠情報ノードE4に向かってリンクが生成されているものとする。この場合、診断モデル適正化部476は、プロセスP1,P2が、発生したエラー(エラー証拠情報ノードE4)の原因となると考えて、プロセスP1,P2をエラー証拠情報ノードE4に直接リンクさせる。 For example, FIG. 15 shows an application example for FIG. Regarding the error evidence information node E4, the sub causal network generated by the sub causal network generation unit 474 has links generated from the processes P1 and P2 toward the error evidence information node E4 as shown in FIG. To do. In this case, the diagnosis model optimization unit 476 directly links the processes P1 and P2 to the error evidence information node E4 on the assumption that the processes P1 and P2 cause the error that has occurred (error evidence information node E4).

このような第2実施形態の仕組みによれば、エラーやワーニングをトリガとして取得したプロセスログPL中のプロセスリストを原因としエラーやワーニングが結果となるサブ因果ネットワークが即座に既存(更新前)の診断モデルに組み込まれることになる。第1実施形態との比較では、バックトレースログBLとプロセスログPLの相違があるが、サブ因果ネットワーク生成部474で生成したサブ因果ネットワークを更新前の診断モデルに組み込むと言う点では大差がなく、第1実施形態と同様に製品出荷後のソフトウェア更新や新たな不具合に対して、診断モデルへの反映が迅速にかつ容易に行なわれることで、ソフトウェア診断性能が向上するようになる。
According to the mechanism of the second embodiment as described above, a sub-causal network in which an error or warning is the result is immediately existing (before update) due to the process list in the process log PL acquired using an error or warning as a trigger. It will be incorporated into the diagnostic model. In comparison with the first embodiment, there is a difference between the backtrace log BL and the process log PL, but there is no big difference in that the sub-causal network generated by the sub-causal network generation unit 474 is incorporated in the diagnostic model before update. As in the first embodiment, software update performance after product shipment and new defects are quickly and easily reflected in the diagnosis model, thereby improving software diagnosis performance.

<故障診断システム:第3実施形態>
図16は、複数台の画像形成装置1と通信回線を介して管理センタ401が接続されている故障診断システム400の第3実施形態を示す図である。第3実施形態は、各画像形成装置1側でサブ因果ネットワークを生成・保持し、これを管理センタ401の診断サーバ部401Aに送り、診断サーバ部401Aにてサブ因果ネットワークに基づき診断モデルを適正化(更新)してから各画像形成装置1に送る仕組みとした点に特徴を有する。
<Failure diagnosis system: Third embodiment>
FIG. 16 is a diagram illustrating a third embodiment of a failure diagnosis system 400 in which a management center 401 is connected to a plurality of image forming apparatuses 1 via a communication line. In the third embodiment, each image forming apparatus 1 generates and holds a sub-causal network, sends this to the diagnosis server unit 401A of the management center 401, and the diagnosis server unit 401A appropriately sets the diagnosis model based on the sub-causal network. It is characterized in that it is configured to send it to each image forming apparatus 1 after being converted (updated).

構成的には、第1実施形態あるいは第2実施形態の診断条件制御部460を構成する機能部を、画像形成装置1側と管理センタ401(診断サーバ部401A)側とに分けて配した態様となる。具体的には、エラー/ワーニング検出部462、ログ取得部464、呼出し関数グラフ生成部472(第2実施形態を基本とするときは不要)、および、サブ因果ネットワーク生成部474が画像形成装置1側に配置され、診断モデル適正化部476が管理センタ401(診断サーバ部401A)側に配置される。   In terms of configuration, the functional units constituting the diagnostic condition control unit 460 of the first embodiment or the second embodiment are separately arranged on the image forming apparatus 1 side and the management center 401 (diagnosis server unit 401A) side. It becomes. Specifically, the error / warning detection unit 462, the log acquisition unit 464, the call function graph generation unit 472 (not necessary when the second embodiment is used as a basis), and the sub-causal network generation unit 474 are included in the image forming apparatus 1. The diagnosis model optimization unit 476 is arranged on the management center 401 (diagnosis server unit 401A) side.

また、各画像形成装置1は、第1・第2実施形態の診断モデル適正化部476を除く機能部の他に、新たに、サブ因果ネットワーク生成部474が生成したサブ因果ネットワークを保持するサブ因果ネットワーク保持部482と、サブ因果ネットワーク保持部482に保持されているサブ因果ネットワークを所定のタイミングで(具体的には診断サーバ部401Aからの要求があったときに)診断サーバ部401Aに出力するサブ因果ネットワーク出力部484と、サブ因果ネットワークに基づいて適正化(更新)された適性診断モデルを診断サーバ部401Aから受け取り、自装置の診断モデルとして適用する(つまり既存の診断モデルを更新する)適性診断モデル適用部486を備える。   Each image forming apparatus 1 newly stores a sub-causal network generated by the sub-causal network generation unit 474 in addition to the functional units excluding the diagnostic model optimization unit 476 of the first and second embodiments. The causal network holding unit 482 and the sub causal network held in the sub causal network holding unit 482 are output to the diagnosis server unit 401A at a predetermined timing (specifically, when there is a request from the diagnosis server unit 401A). The sub-causal network output unit 484 and the aptitude diagnosis model optimized (updated) based on the sub-causal network are received from the diagnosis server unit 401A and applied as the diagnosis model of the own apparatus (that is, the existing diagnosis model is updated). ) An aptitude diagnosis model application unit 486 is provided.

また、診断サーバ部401Aは、新たに、各画像形成装置1のサブ因果ネットワーク生成部474からサブ因果ネットワークを収集するサブ因果ネットワーク収集部492と、診断モデル適正化部476が適正化(更新)した適正診断モデルを各画像形成装置1に提示する診断モデル提示部494を備える。サブ因果ネットワーク収集部492は、各画像形成装置1から収集したサブ因果ネットワークを、たとえばハードディスク装置のようなストレージ部(たとえば診断モデルデータベース402b)に保存する。   In addition, the diagnosis server unit 401A is newly optimized (updated) by a sub-causal network collection unit 492 that collects sub-causal networks from the sub-causal network generation unit 474 of each image forming apparatus 1 and a diagnosis model optimization unit 476. The diagnostic model presenting unit 494 that presents the appropriate diagnostic model to each image forming apparatus 1 is provided. The sub-causal network collection unit 492 stores the sub-causal network collected from each image forming apparatus 1 in a storage unit (for example, a diagnostic model database 402b) such as a hard disk device.

<動作例:第3実施形態の概要>
図17は、第3実施形態の故障診断システム400における診断条件適正化処理(故障診断モデル適正化処理)を説明する図である。ここで、図17は第3実施形態の故障診断モデル適正化処理の手順を示すフローチャートである。ステップ番号を300番台で示すとともに、第1・第2実施形態と同様の処理ステップには同一の10番台および1番台の番号を付して示す。
<Operation Example: Overview of Third Embodiment>
FIG. 17 is a diagram for explaining diagnosis condition optimization processing (failure diagnosis model optimization processing) in the failure diagnosis system 400 of the third embodiment. Here, FIG. 17 is a flowchart showing the procedure of the failure diagnosis model optimization process of the third embodiment. The step numbers are shown in the 300s, and the same processing steps as those in the first and second embodiments are shown with the same numbers in the 10s and 1s.

各画像形成装置1においては、第1・第2実施形態と同様にして、ソフトウェアによって動作する画像形成装置1のソフトウェアの処理過程をログ記録部168で記録しておき(S300)、エラーやワーニングの発生を契機としてログ取得部464によりバックトレースログBLやプロセスログPLを取得し(S302,S304)、これらログに基づいてサブ因果ネットワーク生成部474によりサブ因果ネットワークを生成する(S320)。サブ因果ネットワーク生成部474は、生成したサブ因果ネットワークをサブ因果ネットワーク保持部482に保持する(S330)。   In each image forming apparatus 1, as in the first and second embodiments, the software recording process of the image forming apparatus 1 operated by software is recorded by the log recording unit 168 (S 300), and errors and warnings are recorded. As a trigger, the log acquisition unit 464 acquires the backtrace log BL and the process log PL (S302, S304), and the subcausal network generation unit 474 generates a subcausal network based on these logs (S320). The sub-causal network generation unit 474 holds the generated sub-causal network in the sub-causal network holding unit 482 (S330).

診断サーバ部401A(診断サーバ部401A)のサブ因果ネットワーク収集部492は、定期的に通信網406を介して各画像形成装置1のサブ因果ネットワークを収集するべく、先ず、出力指示タイミングになると(S331−YES)、各画像形成装置1にサブ因果ネットワークの出力を指示する(S332)。この指示を受けた各画像形成装置1のサブ因果ネットワーク出力部484は、サブ因果ネットワーク保持部482に保持されているサブ因果ネットワークを読み出して通信網406を介して診断サーバ部401Aに出力する(S334)。サブ因果ネットワーク収集部492は、各画像形成装置1から受け取った(収集した)サブ因果ネットワークを、ストレージ部に保持する(S336)。   The sub-causal network collection unit 492 of the diagnostic server unit 401A (diagnostic server unit 401A) first collects the sub-causal network of each image forming apparatus 1 via the communication network 406 at the output instruction timing first ( (S331-YES), each image forming apparatus 1 is instructed to output a sub-causal network (S332). Upon receiving this instruction, the sub-causal network output unit 484 of each image forming apparatus 1 reads out the sub-causal network held in the sub-causal network holding unit 482 and outputs it to the diagnosis server unit 401A via the communication network 406 ( S334). The sub-causal network collection unit 492 holds the sub-causal network received (collected) from each image forming apparatus 1 in the storage unit (S336).

診断モデル適正化部476は、サブ因果ネットワーク収集部492が各画像形成装置1から収集しストレージ部493に保持したサブ因果ネットワークを、第1・第2実施形態で説明した診断モデルの適正化処理と同様にして、既存(更新前)の診断モデルに組み込むことで診断モデルを診断対象装置に適合したものとなるようにする(S360)。このとき、診断モデル適正化部476は、第3実施形態に特有の処理として、サブ因果ネットワーク収集部492が収集した各サブ因果ネットワークを機種ごとに分類し(S361)、機種別に既存の診断モデルに組み込む。   The diagnostic model optimization unit 476 performs the diagnostic model optimization processing described in the first and second embodiments on the sub-causal network collected by the sub-causal network collection unit 492 from each image forming apparatus 1 and held in the storage unit 493. In the same manner as described above, the diagnostic model is adapted to the diagnosis target apparatus by being incorporated into the existing (pre-update) diagnostic model (S360). At this time, the diagnostic model optimization unit 476 classifies each sub-causal network collected by the sub-causal network collection unit 492 for each model as processing unique to the third embodiment (S361), and the existing diagnostic model for each model. Incorporate into.

診断モデル提示部494は、診断モデル適正化部476が適正化した(更新された)適正診断モデルを該当装置に提示する(S370)。診断サーバ部401Aから適正化された適正診断モデルを受け取った画像形成装置1の適性診断モデル適用部486は、受け取った適性診断モデルを所定の記憶媒体(たとえば判定指標格納部230)に記憶することで、既存の診断モデルを更新し、受け取った適性診断モデルを適用した診断を行なう(S380)。   The diagnostic model presentation unit 494 presents the appropriate diagnostic model that has been optimized (updated) by the diagnostic model optimization unit 476 to the corresponding device (S370). The aptitude diagnosis model application unit 486 of the image forming apparatus 1 that has received the appropriate diagnosis model from the diagnosis server unit 401A stores the received aptitude diagnosis model in a predetermined storage medium (for example, the determination index storage unit 230). Then, the existing diagnosis model is updated, and the diagnosis using the received aptitude diagnosis model is performed (S380).

このような第3実施形態の仕組みによれば、エラーやワーニングをトリガとして取得したバックトレースログBLやプロセスログPLに基づいて各画像形成装置1で個別に生成したサブ因果ネットワークを、診断サーバ部401Aの診断モデル適正化部476が纏めて既存の診断モデルに組み込むようになるため、ソフトウェア診断精度がさらに向上するようになる。各画像形成装置1で個別に保持しているソフトウェア障害情報を全て網羅した診断モデルを生成することになり、診断精度がさらに向上することになる。   According to such a mechanism of the third embodiment, the diagnostic server unit generates the sub-causal network generated individually by each image forming apparatus 1 based on the backtrace log BL and the process log PL acquired using an error or warning as a trigger. Since the diagnostic model optimization unit 476 of 401A is integrated into an existing diagnostic model, the software diagnostic accuracy is further improved. A diagnostic model that covers all the software fault information individually held in each image forming apparatus 1 is generated, and the diagnostic accuracy is further improved.

以上、本発明について実施形態を用いて説明したが、本発明の技術的範囲は前記実施形態に記載の範囲には限定されない。発明の要旨を逸脱しない範囲で前記実施形態に多様な変更または改良を加えることができ、そのような変更または改良を加えた形態も本発明の技術的範囲に含まれる。   As mentioned above, although this invention was demonstrated using embodiment, the technical scope of this invention is not limited to the range as described in the said embodiment. Various changes or improvements can be added to the above-described embodiment without departing from the gist of the invention, and embodiments to which such changes or improvements are added are also included in the technical scope of the present invention.

また、前記の実施形態は、クレーム(請求項)にかかる発明を限定するものではなく、また実施形態の中で説明されている特徴の組合せの全てが発明の解決手段に必須であるとは限らない。前述した実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜の組合せにより種々の発明を抽出できる。実施形態に示される全構成要件から幾つかの構成要件が削除されても、効果が得られる限りにおいて、この幾つかの構成要件が削除された構成が発明として抽出され得る。   Further, the above embodiments do not limit the invention according to the claims (claims), and all combinations of features described in the embodiments are not necessarily essential to the solution means of the invention. Absent. The embodiments described above include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. Even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, as long as an effect is obtained, a configuration from which these some constituent requirements are deleted can be extracted as an invention.

たとえば、上記実施形態では、複写機能、プリンタ機能、ファクシミリ機能、あるいはそれらの機能を組み合わせて有する複合機などの画像形成装置に、ソフトウェア障害の故障診断を行なう故障診断装置を適用した事例で示したが、ソフトウェア障害の故障診断を行なう故障診断装置が適用される装置は、画像形成装置に限らず、家電品や自動車などその他の任意の機器に適用してもよい。   For example, in the above-described embodiment, an example in which a failure diagnosis device that performs a failure diagnosis of a software failure is applied to an image forming apparatus such as a copying machine, a printer function, a facsimile function, or a multifunction machine having a combination of these functions is shown. However, a device to which a failure diagnosis device that performs software failure failure diagnosis is applied is not limited to an image forming device, and may be applied to other arbitrary devices such as home appliances and automobiles.

故障診断装置の一実施形態を搭載した画像形成装置の構成例を示す図である。It is a figure showing an example of composition of an image forming device carrying one embodiment of a failure diagnosis device. 故障診断装置の一実施形態を示すブロック図である。It is a block diagram showing one embodiment of a failure diagnosis device. 電子計算機を利用して故障診断装置をソフトウェア的に実現する場合のハードウェア構成の一例を示すブロック図である。It is a block diagram which shows an example of a hardware configuration in the case of implement | achieving a failure diagnosis apparatus like software using an electronic computer. 故障確率推論部においてソフトウェア障害の故障診断時に利用するベイジアンネットワークの構成例を示すベイジアンネットワークモデル図である。It is a Bayesian network model figure which shows the structural example of the Bayesian network utilized at the time of fault diagnosis of a software failure in a failure probability reasoning part. 故障診断システムの第1実施形態(第1構成例)を示す図である。It is a figure which shows 1st Embodiment (1st structural example) of a failure diagnosis system. 故障診断システムの第1実施形態(第2構成例)を示す図である。It is a figure which shows 1st Embodiment (2nd structural example) of a failure diagnosis system. 第1実施形態の故障診断システムにおける故障診断モデル適正化処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the failure diagnosis model optimization process in the failure diagnosis system of 1st Embodiment. 第1実施形態において適用されるエラー証拠情報ノードに関するバックトレースログの一例を示す図である。It is a figure which shows an example of the backtrace log regarding the error evidence information node applied in 1st Embodiment. エラー証拠情報ノードに関するバックトレースログから抽出した関数/モジュール記述リストの一例を示す図である。It is a figure which shows an example of the function / module description list extracted from the backtrace log regarding an error evidence information node. エラー証拠情報ノードに関する呼出し関数グラフの一例を示す図である。It is a figure which shows an example of the call function graph regarding an error evidence information node. 第1実施形態のサブ因果ネットワーク生成部によるサブ因果ネットワークの生成方法の具体例を説明する図である。It is a figure explaining the specific example of the production method of the subcausal network by the subcausal network production | generation part of 1st Embodiment. 第1実施形態の診断モデル適正化部における診断モデル適正化処理の詳細を説明する図である。It is a figure explaining the detail of the diagnostic model optimization process in the diagnostic model optimization part of 1st Embodiment. 故障診断システムの第2実施形態(第2構成例)を示す図である。It is a figure which shows 2nd Embodiment (2nd structural example) of a failure diagnosis system. 第2実施形態の故障診断システムにおける故障診断モデル適正化処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the failure diagnosis model optimization process in the failure diagnosis system of 2nd Embodiment. 第2実施形態において適用されるエラー証拠情報ノードやワーニング証拠情報ノードに関するプロセスログの一例を示す図である。It is a figure which shows an example of the process log regarding the error proof information node and warning proof information node applied in 2nd Embodiment. 第2実施形態の診断モデル適正化部における診断モデル適正化処理の詳細を説明する図である。It is a figure explaining the detail of the diagnostic model optimization process in the diagnostic model optimization part of 2nd Embodiment. 故障診断システムの第3実施形態を示す図である。It is a figure which shows 3rd Embodiment of a failure diagnosis system. 第3実施形態の故障診断システムにおける故障診断モデル適正化処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the failure diagnosis model optimization process in the failure diagnosis system of 3rd Embodiment.

符号の説明Explanation of symbols

1…画像形成装置、140…動作状態情報取得部、152…故障情報取得部、160…診断情報収集部、168…ログ記録部、230…判定指標格納部、260…故障確率推論部、262…故障判定部、264…推論エンジン、3…故障診断装置、3A…診断情報生成部、3B…故障診断部、4…センサ部、400…故障診断システム、401…管理センタ、401A…診断サーバ部、402…データベース部、402a…市場品質情報データベース、402b…診断モデルデータベース、406…通信網、410…診断モデル生成・更新部、412…故障発生頻度算出部、419…確率表更新部、420…診断情報取得部、422…市場品質情報収集部、424…通信部、430…故障確率推論部、460…診断条件制御部、462…エラー/ワーニング検出部、464…ログ取得部、464A…バックトレースログ取得部、464B…プロセスログ取得部、472…呼出し関数グラフ生成部、474…サブ因果ネットワーク生成部、476…診断モデル適正化部、482…サブ因果ネットワーク保持部、484…サブ因果ネットワーク出力部、486…適性診断モデル適用部、492…サブ因果ネットワーク収集部、494…診断モデル提示部   DESCRIPTION OF SYMBOLS 1 ... Image forming apparatus 140 ... Operation | movement state information acquisition part, 152 ... Failure information acquisition part, 160 ... Diagnostic information collection part, 168 ... Log recording part, 230 ... Determination index storage part, 260 ... Failure probability reasoning part, 262 ... Failure determination unit, 264 ... inference engine, 3 ... failure diagnosis device, 3A ... diagnosis information generation unit, 3B ... failure diagnosis unit, 4 ... sensor unit, 400 ... failure diagnosis system, 401 ... management center, 401A ... diagnosis server unit, 402 ... Database unit, 402a ... Market quality information database, 402b ... Diagnostic model database, 406 ... Communication network, 410 ... Diagnostic model generation / update unit, 412 ... Failure occurrence frequency calculation unit, 419 ... Probability table update unit, 420 ... Diagnosis Information acquisition unit, 422 ... market quality information collection unit, 424 ... communication unit, 430 ... failure probability reasoning unit, 460 ... diagnostic condition control unit, 462 ... error / Warning detection unit, 464 ... log acquisition unit, 464A ... backtrace log acquisition unit, 464B ... process log acquisition unit, 472 ... call function graph generation unit, 474 ... sub-causal network generation unit, 476 ... diagnostic model optimization unit, 482 ... sub-causal network holding unit, 484 ... sub-causal network output unit, 486 ... aptitude diagnosis model application unit, 492 ... sub-causal network collection unit, 494 ... diagnosis model presentation unit

Claims (6)

電子機器を動作させるソフトウェアの処理履歴を記録する記録手段と、
前記電子機器に前記ソフトウェア処理を起因とする障害が発生したときに、前記障害の発生以前における前記ソフトウェアの処理履歴を前記記録手段から取得する取得手段と、
前記取得手段により取得された前記処理履歴に基づいて、前記ソフトウェア処理を起因とする障害の1つまたは複数の原因モジュールに分類する分類手段と、
前記分類手段により分類された原因モジュールのそれぞれを確率で関連付けたサブ因果ネットワークを生成する生成手段と、
前記生成手段により生成されたサブ因果ネットワークを、既存の診断モデルの因果ネットワークに組み込んで前記既存の診断モデルを更新する更新手段と
を有する故障診断装置。
A recording means for recording a processing history of software for operating the electronic device;
An acquisition means for acquiring a processing history of the software before the occurrence of the failure from the recording means when a failure due to the software processing occurs in the electronic device;
Classification means for classifying the software processing into one or a plurality of cause modules based on the processing history acquired by the acquisition means;
Generating means for generating a sub-causal network in which each of the cause modules classified by the classification means is associated with probability;
A fault diagnosis apparatus comprising: an updating unit that updates the existing diagnostic model by incorporating the sub-causal network generated by the generating unit into a causal network of an existing diagnostic model.
前記取得手段は、前記ソフトウェアの処理履歴として、前記障害の発生を通知したソフトウェアモジュールの関数の呼出しスタックを遡って出力したバックトレースログを取得し、
前記取得手段が取得したバックトレースログから呼出し関数およびこの呼出し関数が含まれるソフトウェアモジュールを抽出し、呼出し関数およびソフトウェアモジュールの単位でグラフ化することで呼出し関数グラフを生成する呼出し関数グラフ生成部を
さらに備え、
前記生成手段は、前記関数グラフ生成部により生成された呼出し関数グラフのソフトウェアモジュールを前記サブ因果ネットワークのノードに割り当てるとともに、前記呼出し関数をそのノードのステートに割り当て、各ノードを呼出し関数の読出し順に基づいてリンクすることで前記サブ因果ネットワークを生成する
請求項1に記載の故障診断装置。
The acquisition unit acquires a backtrace log output retroactively from a call stack of a function of a software module that has notified the occurrence of the failure, as the processing history of the software,
A call function graph generation unit that extracts a call function and a software module including the call function from the backtrace log acquired by the acquisition unit, and generates a call function graph by graphing in units of the call function and the software module; In addition,
The generation means assigns a software module of the call function graph generated by the function graph generation unit to a node of the sub-causal network, assigns the call function to a state of the node, and assigns each node in the reading order of the call function. The failure diagnosis apparatus according to claim 1, wherein the sub-causal network is generated by linking based on the link.
前記更新手段は、前記サブ因果ネットワーク生成部が生成したサブ因果ネットワークを既存の診断モデルの因果ネットワークと組み合わせるに当たり、
既存の診断モデルの因果ネットワークに対して、前記サブ因果ネットワーク生成部が生成したサブ因果ネットワークのノード名とリンクを検索し、
前記サブ因果ネットワークのノードが既存の診断モデルに存在するときにはステートの追加や確率値の更新を行ない、
前記サブ因果ネットワークのノードが既存の診断モデルに存在しないときには、ノード,リンク,確率テーブルを追加する
請求項2に記載の故障診断装置。
The updating means, in combining the sub-causal network generated by the sub-causal network generation unit with the causal network of the existing diagnostic model,
For the causal network of the existing diagnostic model, search the node name and link of the sub-causal network generated by the sub-causal network generation unit,
When the node of the sub-causal network exists in the existing diagnostic model, the state is added and the probability value is updated,
The failure diagnosis apparatus according to claim 2, wherein a node, a link, and a probability table are added when a node of the sub-causal network does not exist in an existing diagnosis model.
前記取得手段は、前記ソフトウェアの処理履歴として、ソフトウェア処理システムのプロセスログを取得し、
前記生成手段は、前記取得手段により取得されたプロセスログ中のプロセスリストを原因とし、前記障害の発生を結果とすることで、前記サブ因果ネットワークを生成する
請求項1に記載の故障診断装置。
The acquisition means acquires a process log of the software processing system as the processing history of the software,
The failure diagnosis apparatus according to claim 1, wherein the generation unit generates the sub-causal network by using the process list in the process log acquired by the acquisition unit as a cause and generating the failure as a result.
前記生成手段により生成されたサブ因果ネットワークを保存するサブ因果ネットワーク保持部と、
複数の電子機器の各サブ因果ネットワーク保持部に保持されているサブ因果ネットワークを所定のタイミングで収集するサブ因果ネットワーク収集部と
をさらに備え、
前記更新手段は、前記サブ因果ネットワーク収集部が収集した各電子機器のサブ因果ネットワークを機種ごとに分類して、機種別に既存の診断モデルに組み込む
請求項1に記載の故障診断装置。
A sub-causal network holding unit that stores the sub-causal network generated by the generating unit;
A sub-causal network collection unit that collects the sub-causal network held in each sub-causal network holding unit of the plurality of electronic devices at a predetermined timing; and
The failure diagnosis apparatus according to claim 1, wherein the updating unit classifies the sub-causal network of each electronic device collected by the sub-causal network collection unit for each model and incorporates the sub-causal network into an existing diagnosis model for each model.
コンピュータを、
電子機器を動作させるソフトウェアの処理履歴を記録する記録手段、
前記電子機器に前記ソフトウェア処理を起因とする障害が発生したときに、前記障害の発生以前における前記ソフトウェアの処理履歴を前記記録手段から取得する取得手段、
前記取得手段により取得された前記処理履歴に基づいて、前記ソフトウェア処理を起因とする障害の1つまたは複数の原因モジュールに分類する分類手段、
前記分類手段により分類された原因モジュールのそれぞれを確率で関連付けたサブ因果ネットワークを生成する生成手段、
前記生成手段により生成されたサブ因果ネットワークを、既存の診断モデルの因果ネットワークに組み込んで前記既存の診断モデルを更新する更新手段、
として機能させるためのプログラム。
Computer
Recording means for recording a processing history of software for operating an electronic device ;
An acquisition unit configured to acquire , from the recording unit, a processing history of the software before the occurrence of the failure when a failure caused by the software processing occurs in the electronic device ;
Classification means for classifying into one or a plurality of cause modules of a failure caused by the software processing based on the processing history acquired by the acquisition means;
Generating means for generating a sub-causal network in which each of the cause modules classified by the classification means is associated with probability ;
Update means for updating the existing diagnostic model by incorporating the sub-causal network generated by the generating means into the causal network of the existing diagnostic model ;
Program to function as .
JP2008063854A 2008-03-13 2008-03-13 Fault diagnosis apparatus and program Expired - Fee Related JP5370905B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008063854A JP5370905B2 (en) 2008-03-13 2008-03-13 Fault diagnosis apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008063854A JP5370905B2 (en) 2008-03-13 2008-03-13 Fault diagnosis apparatus and program

Publications (2)

Publication Number Publication Date
JP2009223362A JP2009223362A (en) 2009-10-01
JP5370905B2 true JP5370905B2 (en) 2013-12-18

Family

ID=41240114

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008063854A Expired - Fee Related JP5370905B2 (en) 2008-03-13 2008-03-13 Fault diagnosis apparatus and program

Country Status (1)

Country Link
JP (1) JP5370905B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11295222B2 (en) * 2019-09-24 2022-04-05 We Jump Intelligent Perception Co., Ltd. Machine failure analyzing system and wearable electronic device having machine failure analyzing function

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9413893B2 (en) 2012-04-05 2016-08-09 Assurant, Inc. System, method, apparatus, and computer program product for providing mobile device support services
US9483344B2 (en) * 2012-04-05 2016-11-01 Assurant, Inc. System, method, apparatus, and computer program product for providing mobile device support services
JP2018116545A (en) 2017-01-19 2018-07-26 オムロン株式会社 Prediction model creating device, production facility monitoring system, and production facility monitoring method
JP7102300B2 (en) * 2018-09-07 2022-07-19 株式会社日立製作所 Failure mode estimation system
JP7379977B2 (en) * 2019-09-17 2023-11-15 コニカミノルタ株式会社 Image forming device and image forming device diagnostic system
CN112631370A (en) * 2019-09-24 2021-04-09 旺捷智能感知股份有限公司 Machine focus analysis system and wearable device with machine focus analysis function
US20230101899A1 (en) * 2020-03-27 2023-03-30 Nec Corporation Optical communication system, failure analysis apparatus, and failure analysis methodof optical communication system
CN113747480B (en) * 2020-05-28 2024-05-07 中国移动通信集团浙江有限公司 Processing method and device for 5G slice faults and computing equipment
CN113961475B (en) * 2021-12-22 2022-04-15 清华大学 Protocol-oriented error processing defect detection method and system
JP7393034B2 (en) 2022-03-16 2023-12-06 Necプラットフォームズ株式会社 Information provision system, information provision method and program
CN114676860A (en) * 2022-03-29 2022-06-28 东风汽车集团股份有限公司 Engine fault analysis method and device and storage medium
CN116643908B (en) * 2023-07-19 2024-03-15 深圳市同泰怡信息技术有限公司 Automatic fault alarm method based on Feiteng multipath server
CN117434925A (en) * 2023-11-24 2024-01-23 镁佳(北京)科技有限公司 Diagnostic sequence processing method, computer equipment and medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11242614A (en) * 1998-02-25 1999-09-07 Mitsubishi Electric Corp Device and method for real-time verification for parallel programs
US6535865B1 (en) * 1999-07-14 2003-03-18 Hewlett Packard Company Automated diagnosis of printer systems using Bayesian networks
JP3579834B2 (en) * 2001-06-29 2004-10-20 インターナショナル・ビジネス・マシーンズ・コーポレーション Proactive online diagnostics in manageable networks
US8473922B2 (en) * 2001-09-19 2013-06-25 Hewlett-Packard Development Company, L.P. Runtime monitoring in component-based systems
JP4784225B2 (en) * 2005-09-20 2011-10-05 富士ゼロックス株式会社 Failure diagnosis apparatus, image forming apparatus, and failure diagnosis method
JP2007087112A (en) * 2005-09-22 2007-04-05 Fuji Xerox Co Ltd Failure diagnostic device
JP4600237B2 (en) * 2005-10-04 2010-12-15 富士ゼロックス株式会社 Failure diagnosis system, image forming apparatus, and failure diagnosis method
JP4609368B2 (en) * 2006-04-17 2011-01-12 富士ゼロックス株式会社 Fault diagnosis model generation apparatus, fault diagnosis system, and fault diagnosis model generation program
JP4711077B2 (en) * 2006-06-09 2011-06-29 富士ゼロックス株式会社 Fault diagnosis system, image forming apparatus, and fault diagnosis program
JP4582062B2 (en) * 2006-07-07 2010-11-17 富士ゼロックス株式会社 Image forming apparatus, failure diagnosis system, failure diagnosis method, and failure diagnosis program
JP2008052376A (en) * 2006-08-22 2008-03-06 Fuji Xerox Co Ltd Image forming apparatus, failure diagnostic system and fault diagnostic program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11295222B2 (en) * 2019-09-24 2022-04-05 We Jump Intelligent Perception Co., Ltd. Machine failure analyzing system and wearable electronic device having machine failure analyzing function

Also Published As

Publication number Publication date
JP2009223362A (en) 2009-10-01

Similar Documents

Publication Publication Date Title
JP5370905B2 (en) Fault diagnosis apparatus and program
JP4711077B2 (en) Fault diagnosis system, image forming apparatus, and fault diagnosis program
JP5321784B2 (en) Fault diagnosis apparatus and program
US7254747B2 (en) Complex system diagnostic service model selection method and apparatus
US7249284B2 (en) Complex system serviceability design evaluation method and apparatus
JP4730433B2 (en) Fault diagnosis system, information update device and program
US8249830B2 (en) Method and system for automatically diagnosing faults in rendering devices
US20080059120A1 (en) Using fault history to predict replacement parts
JP2007286924A (en) Failure diagnosis model creating device, failure diagnosis model creating method, failure diagnosis system, and failure diagnosis method
JP2001075808A (en) Bayesian network
US20160379144A1 (en) Information processing system and failure prediction model adoption determining method
JP2008256981A (en) Fault diagnostic system
JP2007074290A (en) Fault diagnosis system, image forming apparatus and method for diagnosing fault
JP2007087112A (en) Failure diagnostic device
JP2009003561A (en) Fault prediction diagnostic system and fault prediction diagnostic system using the same
JP4582062B2 (en) Image forming apparatus, failure diagnosis system, failure diagnosis method, and failure diagnosis program
US20040205397A1 (en) Complex system diagnostic analysis model correction method and apparatus
JP2007062288A (en) Failure diagnosis system, imaging device and failure diagnostic method
JP2008052376A (en) Image forming apparatus, failure diagnostic system and fault diagnostic program
JP3822800B2 (en) Image output device
JP2007088648A (en) Fault diagnostic system, device for forming image and method for diagnosing fault
US20040193938A1 (en) Complex system serviceability method and apparatus
JP5181479B2 (en) Fault diagnosis system and fault diagnosis program
JP2006040297A (en) Image output device
JP2007280135A (en) Fault diagnosis system and method

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20091009

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110223

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130402

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130614

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130801

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130826

R150 Certificate of patent or registration of utility model

Ref document number: 5370905

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130908

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees