JP2014215739A - Electronic apparatus and log recording method - Google Patents

Electronic apparatus and log recording method Download PDF

Info

Publication number
JP2014215739A
JP2014215739A JP2013091146A JP2013091146A JP2014215739A JP 2014215739 A JP2014215739 A JP 2014215739A JP 2013091146 A JP2013091146 A JP 2013091146A JP 2013091146 A JP2013091146 A JP 2013091146A JP 2014215739 A JP2014215739 A JP 2014215739A
Authority
JP
Japan
Prior art keywords
log
recording
buffer
logs
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013091146A
Other languages
Japanese (ja)
Other versions
JP5875549B2 (en
Inventor
和久 荒川
Kazuhisa Arakawa
和久 荒川
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2013091146A priority Critical patent/JP5875549B2/en
Priority to US14/260,203 priority patent/US9396055B2/en
Publication of JP2014215739A publication Critical patent/JP2014215739A/en
Application granted granted Critical
Publication of JP5875549B2 publication Critical patent/JP5875549B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0733Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a data processing system embedded in an image processing device, e.g. printer, facsimile, scanner
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0766Error or fault reporting or storing

Abstract

PROBLEM TO BE SOLVED: To provide an electronic apparatus and a log recording method that are capable of individually securing an amount of accumulation of each of logs having different recording intervals.SOLUTION: A plurality of buffers 531-533 for recording a plurality of types of logs A-F are prepared in a RAM 53, and each of the logs A-F is recorded in a buffer allocated in accordance with recording intervals of the logs A-F among the plurality of buffers 531-533, thereby individually securing an amount of accumulation of each of the logs A-F having the different recording intervals.

Description

本発明は、ログを記録する電子機器及びログ記録方法に関する。   The present invention relates to an electronic device for recording a log and a log recording method.

一般に、プリンター、コピー機、及び複合機などの電子機器では、異常の原因究明などの目的で動作の履歴を示すログがRAM等の記憶手段に記録される。このとき、ログは、記憶手段に予め確保された所定サイズのバッファ内で古いログから順に上書きして記録される。   In general, in electronic devices such as printers, copiers, and multifunction devices, a log indicating an operation history is recorded in a storage unit such as a RAM for the purpose of investigating the cause of an abnormality. At this time, the log is overwritten and recorded in order from the oldest log in a buffer of a predetermined size secured in advance in the storage means.

ところで、電子機器で通常時に記録される複数種類のログは、そのログの内容又は重要性に応じて記録間隔が異なることがある。しかしながら、従来、複数種類のログは、その記録間隔に関係なく同じバッファ内で順次上書きして記録されている。そのため、バッファでは、記録間隔の短いログの蓄積量が多く、記録間隔の長いログの蓄積量が少なくなる。一方、ログの記録方法として、異常発生時に記録するログを限定して記録間隔を短縮することによりバッファの記憶容量を低減しつつ必要なログを記録する技術が知られている(例えば特許文献1参照)。   Incidentally, a plurality of types of logs that are normally recorded in an electronic device may have different recording intervals depending on the contents or importance of the logs. Conventionally, however, a plurality of types of logs are sequentially overwritten and recorded in the same buffer regardless of the recording interval. Therefore, in the buffer, the accumulation amount of logs with short recording intervals is large, and the accumulation amount of logs with long recording intervals is small. On the other hand, as a log recording method, a technique for recording a necessary log while reducing the storage capacity of a buffer by limiting the log to be recorded when an abnormality occurs and reducing the recording interval is known (for example, Patent Document 1). reference).

特開2010−223560号公報JP 2010-223560 A

しかしながら、前述のように異常発生時に記録するログが限定される場合でも、複数種類のログが一つのバッファに記憶されている場合には、記録間隔の長いログが上書きされて蓄積量が少なくなるという問題は依然として残る。   However, even when the logs to be recorded at the time of occurrence of an abnormality are limited as described above, when a plurality of types of logs are stored in one buffer, logs with long recording intervals are overwritten and the accumulation amount is reduced. The problem still remains.

本発明の目的は、記録間隔の異なるログ各々の蓄積量を個別に確保することが可能な電子機器及びログ記録方法を提供することにある。   An object of the present invention is to provide an electronic device and a log recording method capable of individually securing the accumulation amount of each log having different recording intervals.

本発明に係る電子機器は、複数のバッファ及びログ記録手段を備える。前記複数のバッファには複数種類のログが記録される。前記ログ記録手段は、前記ログ各々を複数の前記バッファのうち前記ログの記録間隔に応じて割り当てられた前記バッファに記録する。   The electronic device according to the present invention includes a plurality of buffers and log recording means. A plurality of types of logs are recorded in the plurality of buffers. The log recording means records each log in the buffer allocated according to the log recording interval among the plurality of buffers.

本発明に係るログ記録方法は、複数種類のログが記録される複数のバッファを用意するステップと、前記ログ各々を複数の前記バッファのうち前記ログの記録間隔に応じて割り当てられた前記バッファに記録するステップとを含む。   The log recording method according to the present invention includes a step of preparing a plurality of buffers in which a plurality of types of logs are recorded, and each of the logs is assigned to the buffer allocated according to the log recording interval among the plurality of buffers. Recording.

本発明によれば、記録間隔の異なるログ各々がその記録間隔に対応するバッファに振り分けて記録されるため、記録間隔の異なるログの蓄積量を個別に確保することが可能になる。   According to the present invention, each log having a different recording interval is distributed and recorded in a buffer corresponding to the recording interval, so that it is possible to individually secure an accumulation amount of a log having a different recording interval.

本発明の実施の形態に係る複合機の概略構成を示す模式図。1 is a schematic diagram illustrating a schematic configuration of a multifunction peripheral according to an embodiment of the present invention. 本発明の実施の形態に係る複合機のシステム構成を示すブロック図。1 is a block diagram showing a system configuration of a multifunction machine according to an embodiment of the present invention. 本発明の実施の形態に係る複合機で実行される記録先変更処理の手順の一例を説明するためのフローチャート。5 is a flowchart for explaining an example of a procedure of a recording destination change process executed by the multifunction machine according to the embodiment of the present invention. 本発明の実施の形態に係る複合機で使用されるログ対応情報の一例を説明するための図。The figure for demonstrating an example of the log corresponding | compatible information used with the multifunctional device which concerns on embodiment of this invention. 本発明の実施の形態に係る複合機でバッファ各々に記録されるログの一例を説明するための図。The figure for demonstrating an example of the log recorded on each buffer with the multifunctional device which concerns on embodiment of this invention. 本発明の実施の形態に係る複合機でバッファ各々に記録されるログの一例を説明するための図。The figure for demonstrating an example of the log recorded on each buffer with the multifunctional device which concerns on embodiment of this invention.

以下添付図面を参照しながら、本発明の実施の形態について説明し、本発明の理解に供する。なお、以下の実施の形態は、本発明を具体化した一例であって、本発明の技術的範囲を限定する性格のものではない。   Embodiments of the present invention will be described below with reference to the accompanying drawings for understanding of the present invention. In addition, the following embodiment is an example which actualized this invention, Comprising: The thing of the character which limits the technical scope of this invention is not.

[複合機10の概略構成]
まず、図1を参照しつつ、本発明の実施の形態に係る複合機10の概略構成について説明する。
[Schematic configuration of MFP 10]
First, a schematic configuration of a multifunction machine 10 according to an embodiment of the present invention will be described with reference to FIG.

図1に示すように、前記複合機10は、ADF1、画像読取部2、画像形成部3、給紙部4、制御部5、及び操作表示部6などを備える。なお、前記複合機10は、本発明の電子機器の一例に過ぎず、プリンター、コピー機、ファクシミリ装置、スマートフォン、タブレット端末、又はパーソナルコンピューターなども本発明に係る電子機器に該当する。   As shown in FIG. 1, the multifunction machine 10 includes an ADF 1, an image reading unit 2, an image forming unit 3, a paper feeding unit 4, a control unit 5, an operation display unit 6, and the like. The multifunction device 10 is merely an example of the electronic device of the present invention, and a printer, a copier, a facsimile machine, a smartphone, a tablet terminal, a personal computer, or the like also corresponds to the electronic device according to the present invention.

前記操作表示部6は、前記複合機10の外面に設けられている。前記操作表示部6は、前記制御部5からの制御指示に応じて各種の情報を表示する液晶ディスプレイなどの表示部を有する。また、前記操作表示部6は、ユーザー操作に応じて前記制御部5に各種の情報を入力するハードキー又はタッチパネルなどの操作部を有する。   The operation display unit 6 is provided on the outer surface of the multifunction machine 10. The operation display unit 6 includes a display unit such as a liquid crystal display that displays various types of information in accordance with control instructions from the control unit 5. The operation display unit 6 includes an operation unit such as a hard key or a touch panel for inputting various information to the control unit 5 in response to a user operation.

前記ADF1は、不図示のモーターで搬送ローラー12各々を駆動させることにより、原稿載置部11にセットされた原稿を前記画像読取部2による画像読取位置を通過させて排紙トレイ13まで搬送する自動原稿搬送装置である。   The ADF 1 drives each of the transport rollers 12 by a motor (not shown), and transports the document set on the document placement unit 11 to the paper discharge tray 13 through the image reading position by the image reading unit 2. An automatic document feeder.

前記画像読取部2は、原稿台21、光源ユニット22、ミラー23、24、光学レンズ25、及びCCD(Charge Coupled Device)26などを備える画像読取手段である。前記原稿台21は、前記画像読取部2の上面に設けられた原稿の載置部である。前記読取ユニット22は、LED光源221及びミラー222を備え、不図示のモーターによって副走査方向(図1における左右方向)に移動可能である。前記LED光源221は、主走査方向(図1における奥行き方向)に沿って配列された多数の白色LEDを備える。前記ミラー222は、前記LED光源221から照射されて前記原稿台21上の読取位置にある前記原稿の表面で反射した後の光を前記ミラー23に向けて反射させる。そして、前記ミラー222で反射した光は、前記ミラー23、24によって前記光学レンズ25に導かれる。前記光学レンズ25は、入射した光を集光して前記CCD26に入射させる。前記CCD26は、前記光学レンズ25から入射される光の受光量に応じた電気信号を前記原稿の画像データとして前記制御部5に入力する光電変換素子などを有する。   The image reading unit 2 is an image reading unit including a document table 21, a light source unit 22, mirrors 23 and 24, an optical lens 25, a CCD (Charge Coupled Device) 26, and the like. The document table 21 is a document placement unit provided on the upper surface of the image reading unit 2. The reading unit 22 includes an LED light source 221 and a mirror 222, and is movable in a sub-scanning direction (left and right direction in FIG. 1) by a motor (not shown). The LED light source 221 includes a number of white LEDs arranged along the main scanning direction (the depth direction in FIG. 1). The mirror 222 reflects the light emitted from the LED light source 221 and reflected by the surface of the document at the reading position on the document table 21 toward the mirror 23. The light reflected by the mirror 222 is guided to the optical lens 25 by the mirrors 23 and 24. The optical lens 25 collects incident light and makes it incident on the CCD 26. The CCD 26 includes a photoelectric conversion element that inputs an electrical signal corresponding to the amount of light incident from the optical lens 25 to the control unit 5 as image data of the document.

前記画像形成部3は、前記画像読取部2で読み取られた画像データ、又は外部のパーソナルコンピューター等の電子機器から入力された画像データに基づいて画像形成処理(印刷処理)を実行する電子写真方式の画像形成手段である。具体的に、前記画像形成部3は、搬送部30、感光体ドラム31、帯電装置32、露光装置(LSU)33、現像装置34、転写ローラー35、クリーニング装置36、定着ローラー37、加圧ローラー38、及び排紙トレイ39などを備える。   The image forming unit 3 performs an image forming process (printing process) based on image data read by the image reading unit 2 or image data input from an electronic device such as an external personal computer. Image forming means. Specifically, the image forming unit 3 includes a transport unit 30, a photosensitive drum 31, a charging device 32, an exposure device (LSU) 33, a developing device 34, a transfer roller 35, a cleaning device 36, a fixing roller 37, and a pressure roller. 38, a paper discharge tray 39, and the like.

一方、前記給紙部4は、前記複合機10に対して着脱可能な給紙カセット41に収容された紙などのシートを前記画像形成部3に供給する。そして、前記画像形成部3に供給されたシートは、前記搬送部30により前記感光体ドラム31及び前記転写ローラー35を経て前記定着ローラー37及び前記加圧ローラー38を通過した後、排紙トレイ39に排出される。このとき、前記画像形成部3では、前記給紙部4から供給されて前記搬送部30により搬送されるシートに画像を形成する画像形成処理が以下の手順で実行される。   On the other hand, the paper feed unit 4 supplies the image forming unit 3 with sheets such as paper stored in a paper feed cassette 41 that can be attached to and detached from the multifunction machine 10. The sheet supplied to the image forming unit 3 passes the fixing roller 37 and the pressure roller 38 through the photosensitive drum 31 and the transfer roller 35 by the conveying unit 30, and then is a discharge tray 39. To be discharged. At this time, in the image forming unit 3, an image forming process for forming an image on a sheet supplied from the paper feeding unit 4 and conveyed by the conveying unit 30 is executed according to the following procedure.

まず、前記帯電装置32によって前記感光体ドラム31が所定の電位に一様に帯電される。次に、前記露光装置33により前記感光体ドラム31の表面に画像データに基づく光が照射される。これにより、前記感光体ドラム31の表面に画像データに対応する静電潜像が形成される。そして、前記感光体ドラム31上の静電潜像は前記現像装置34によってトナーにより現像(可視像化)される。なお、前記現像装置34には、前記画像形成部3に着脱可能なトナーコンテナ34Aからトナーが補給される。続いて、前記感光体ドラム31に形成されたトナー像は前記転写ローラー35によってシートに転写される。その後、シートに転写されたトナー像は、そのシートが前記定着ローラー37及び前記加圧ローラー38の間を通過する際に前記定着ローラー37で加熱されて溶融定着する。なお、前記画像形成部3による前記画像形成処理後に前記感光体ドラム31の表面に残存する前記トナーは前記クリーニング装置36によって除去される。   First, the photosensitive drum 31 is uniformly charged to a predetermined potential by the charging device 32. Next, the exposure device 33 irradiates the surface of the photosensitive drum 31 with light based on image data. As a result, an electrostatic latent image corresponding to the image data is formed on the surface of the photosensitive drum 31. The electrostatic latent image on the photosensitive drum 31 is developed (visualized) with toner by the developing device 34. The developing device 34 is supplied with toner from a toner container 34 </ b> A that can be attached to and detached from the image forming unit 3. Subsequently, the toner image formed on the photosensitive drum 31 is transferred to a sheet by the transfer roller 35. Thereafter, the toner image transferred to the sheet is heated and fixed by the fixing roller 37 when the sheet passes between the fixing roller 37 and the pressure roller 38. The toner remaining on the surface of the photosensitive drum 31 after the image forming process by the image forming unit 3 is removed by the cleaning device 36.

次に、図2を参照しつつ、前記複合機10のシステム構成について説明する。   Next, the system configuration of the multifunction machine 10 will be described with reference to FIG.

前記制御部5は、CPU51、ROM52、及びRAM53などの制御機器を有するコンピューターである。前記CPU51は、各種の演算処理を実行するプロセッサーである。前記ROM52は、前記CPU51に各種の処理を実行させるための制御プログラムなどの情報が予め記憶された不揮発性の記憶手段である。前記RAM53は、各種の情報を記憶する揮発性の記憶手段であり、前記CPU51が実行する各種の処理の一時記憶メモリー(作業領域)として使用される。そして、前記CPU51は、前記ROM52に予め記憶された各種の制御プログラムを実行することにより前記複合機10を統括的に制御する。なお、前記制御部5は、集積回路(ASIC、DSP)などの電子回路で構成されたものであってもよく、前記複合機10を統括的に制御するメイン制御部と別に前記画像形成部3などに設けられたエンジン制御部であってもよい。   The control unit 5 is a computer having control devices such as a CPU 51, a ROM 52, and a RAM 53. The CPU 51 is a processor that executes various arithmetic processes. The ROM 52 is a nonvolatile storage unit in which information such as a control program for causing the CPU 51 to execute various processes is stored in advance. The RAM 53 is a volatile storage unit that stores various types of information, and is used as a temporary storage memory (working area) for various types of processing executed by the CPU 51. The CPU 51 comprehensively controls the multifunction machine 10 by executing various control programs stored in advance in the ROM 52. The control unit 5 may be an electronic circuit such as an integrated circuit (ASIC, DSP), and the image forming unit 3 is separate from the main control unit that controls the multifunction device 10 in an integrated manner. The engine control part provided in the above may be sufficient.

具体的に、前記CPU51は、前記ROM52に記憶された前記制御プログラムに従って、前記複合機10の動作の履歴を示すログを前記RAM53に記録する後述のログ記録処理(図4参照)を実行する。前記ログは、異常の原因究明などの目的で記録される情報であり、例えば前記複合機10内に設けられる用紙検知センサー及び温度センサー等の検知結果、前記CPU51によって実行される処理内容、並びに前記複合機10のステータス情報などの各種情報が含まれる。   Specifically, the CPU 51 executes a log recording process (see FIG. 4), which will be described later, for recording a log indicating the operation history of the multifunction machine 10 in the RAM 53 in accordance with the control program stored in the ROM 52. The log is information recorded for the purpose of investigating the cause of the abnormality, for example, detection results of a paper detection sensor and a temperature sensor provided in the multifunction machine 10, processing contents executed by the CPU 51, and the Various information such as status information of the multifunction machine 10 is included.

ここで、前記RAM53には、前記ログ記録処理において各種のログが記録される複数のバッファ531〜533が設けられている。なお、前記バッファ531〜533は予め設定された固定の記憶領域である。また、前記バッファ531〜533は、前記複合機10の起動時などに前記CPU51によって前記RAM53内に確保されてもよい。本実施の形態では、前記バッファ531〜533が、前記RAM53に確保された記録領域である場合を例に挙げて説明するが、前記バッファ531〜533各々が異なるRAM等の記憶手段に設けられたものであってもよい。   Here, the RAM 53 is provided with a plurality of buffers 531 to 533 in which various logs are recorded in the log recording process. The buffers 531 to 533 are fixed storage areas set in advance. The buffers 531 to 533 may be secured in the RAM 53 by the CPU 51 when the multifunction machine 10 is activated. In the present embodiment, the case where the buffers 531 to 533 are recording areas secured in the RAM 53 will be described as an example. However, the buffers 531 to 533 are provided in storage means such as different RAMs. It may be a thing.

また、前記バッファ531〜533は、記録されるログの内容に応じて記憶容量が異なる。具体的に、前記バッファ531の記憶容量が最も大きく、前記バッファ532の記憶容量は前記バッファ531よりも小さく前記バッファ533よりも大きい。そして、前記複合機10では、前記CPU51が、前記ROM52に予め記憶されたログ対応情報D1に基づいて、前記ログ各々を複数の前記バッファ531〜533のうち前記ログの記録間隔に応じて割り当てられたバッファに記録する。   Further, the buffers 531 to 533 have different storage capacities depending on the contents of logs to be recorded. Specifically, the storage capacity of the buffer 531 is the largest, and the storage capacity of the buffer 532 is smaller than the buffer 531 and larger than the buffer 533. In the multi-function device 10, the CPU 51 assigns each log according to the log recording interval among the plurality of buffers 531 to 533 based on the log correspondence information D 1 stored in advance in the ROM 52. Record in a separate buffer.

前記ログ対応情報D1は、前記バッファ53、532、及び533に記録するログのグループとして定められた第1グループ、第2グループ、及び第3グループと前記グループ各々に属するログの種類との対応関係を示す情報である。前記第1グループは、記録間隔が最も短いログのグループ、前記第2グループは、次に記録間隔が短いログのグループ、前記第3グループは、記録間隔が最も長いログのグループである。即ち、複数の前記バッファ531〜533のうち前記記録間隔が最も短いログの記録先である前記バッファ531は、前記記録間隔が長い前記ログの記録先である前記バッファ532及び前記バッファ533よりも記憶容量が大きい。また、前記バッファ532は前記バッファ533よりも記憶容量が大きい。   The log correspondence information D1 is a correspondence relationship between the first group, the second group, and the third group defined as a group of logs to be recorded in the buffers 53, 532, and 533 and the types of logs belonging to each of the groups. It is information which shows. The first group is a log group having the shortest recording interval, the second group is a log group having the next shortest recording interval, and the third group is a log group having the longest recording interval. That is, the buffer 531 that is the recording destination of the log having the shortest recording interval among the plurality of buffers 531 to 533 stores more than the buffer 532 and the buffer 533 that are the recording destination of the log having the long recording interval. Large capacity. The buffer 532 has a larger storage capacity than the buffer 533.

ここに、図3(A)は、前記ROM52に記憶された前記ログ対応情報D1の一例を示す図である。図3(A)に示すように、前記ログ対応情報D1では、前記第1グループにログA及びログBが対応付けられている。同じく、前記第2グループにログC及びログDが対応付けられ、前記第3グループにログE及びログFが対応付けられている。前記ログA及び前記ログBは、前記ログC、前記ログD、前記ログE、及び前記ログFに比べて記録間隔が短いログである。また、前記ログC及び前記ログBは、前記ログE及び前記ログFに比べて記録間隔が短いログである。なお、前記RAM53に確保されるバッファの数及び前記ログのグループ数は3つに限らず、少なくとも2つ以上であればよい。   FIG. 3A shows an example of the log correspondence information D1 stored in the ROM 52. As shown in FIG. 3A, in the log correspondence information D1, a log A and a log B are associated with the first group. Similarly, log C and log D are associated with the second group, and log E and log F are associated with the third group. The log A and the log B are logs having a shorter recording interval than the log C, the log D, the log E, and the log F. Further, the log C and the log B are logs having a shorter recording interval than the log E and the log F. The number of buffers secured in the RAM 53 and the number of log groups are not limited to three, and may be at least two.

なお、前記ログAは、例えば前記複合機10におけるエラーの発生の有無などに関するデバッグログであってその記録間隔は0.1秒である。前記ログBは、例えば前記複合機10においてシートを搬送する駆動系の動作に関する用紙搬送制御ログであってその記録間隔は0.2秒である。前記ログCは、例えば前記トナーコンテナ34Aから前記現像装置34へのトナー供給動作に関するトナー制御ログであってその記録間隔は0.25秒である。前記ログDは、例えば前記現像装置34の動作に関する現像制御ログであってその記録間隔は0.3秒である。前記ログEは、例えば前記制御部5などを含むシステムの暴走のような緊急事態の発生の有無などに関するエマージェンシーログシステムログであってその記録間隔は0.4秒である。前記ログFは、例えば前記制御部5などを含むシステムの動作状態に関するシステムログであってその記録間隔は0.5秒である。   Note that the log A is a debug log related to, for example, whether or not an error has occurred in the multifunction machine 10, and the recording interval is 0.1 seconds. The log B is, for example, a paper conveyance control log related to the operation of a drive system that conveys a sheet in the multifunction machine 10, and the recording interval is 0.2 seconds. The log C is, for example, a toner control log related to a toner supply operation from the toner container 34A to the developing device 34, and the recording interval is 0.25 seconds. The log D is, for example, a development control log relating to the operation of the developing device 34, and the recording interval is 0.3 seconds. The log E is an emergency log system log relating to the occurrence of an emergency such as a runaway of the system including the control unit 5 or the like, and the recording interval is 0.4 seconds. The log F is a system log related to the operating state of the system including the control unit 5 and the like, and the recording interval is 0.5 seconds.

そして、前記CPU51は、前記ROM52から前記ログ対応情報D1を読み出して前記RAM53に展開し、前記ログ対応情報D1に基づいて前記ログ各々を複数の前記バッファ531〜533に振り分けて記録するログ記録処理を実行する。ここに、前記ログ記録処理を実行するときの前記CPU51がログ記録手段の一例である。   Then, the CPU 51 reads the log correspondence information D1 from the ROM 52, expands it in the RAM 53, and distributes and records each of the logs to the plurality of buffers 531 to 533 based on the log correspondence information D1. Execute. Here, the CPU 51 when executing the log recording process is an example of a log recording unit.

[ログ記録処理]
ここで、図4を参照しつつ、前記複合機10において前記CPU51によって実行される前記ログ記録処理の手順の一例について説明する。ここに、S11、S12、・・・は前記CPU51によって実行される処理手順(ステップ)番号を表している。
[Log recording process]
Here, an example of the procedure of the log recording process executed by the CPU 51 in the multifunction machine 10 will be described with reference to FIG. Here, S11, S12,... Represent processing procedure (step) numbers executed by the CPU 51.

<ステップS11>
まず、ステップS11において、前記CPU51は、前記複合機10における各種のログのいずれかの記録タイミングを待ち受ける(S11のNo側)。具体的に、前記CPU21は、前記ログごとに予め設定された記録間隔に基づいて前記ログ各々の記録タイミングの到来を判断する。そして、前記ログの記録タイミングが到来したと判断すると(S11のYes側)、処理をステップS12に移行させる。
<Step S11>
First, in step S11, the CPU 51 waits for recording timing of any of various logs in the multifunction machine 10 (No side of S11). Specifically, the CPU 21 determines the arrival of the recording timing of each log based on a recording interval preset for each log. If it is determined that the log recording timing has come (Yes in S11), the process proceeds to step S12.

<ステップS12>
次に、ステップS12において、前記CPU51は、前記ステップS11で記録タイミングが到来したと判断された前記ログが前記第1グループに属するか否かを前記ログ対応情報D1に基づいて判断する。前記ログが前記第1グループに属する場合(S12のYes側)、前記CPU51は処理をステップS13に移行させ、前記ログが前記第1グループに属さないと判断した場合(S12のNo側)、前記CPU51は処理をステップS121に移行させる。
<Step S12>
Next, in step S12, the CPU 51 determines based on the log correspondence information D1 whether or not the log determined to have reached the recording timing in step S11 belongs to the first group. When the log belongs to the first group (Yes side of S12), the CPU 51 shifts the process to Step S13, and when it is determined that the log does not belong to the first group (No side of S12), The CPU 51 shifts the process to step S121.

<ステップS13>
ステップS13において、前記CPU51は、前記ステップS11で記録タイミングが到来したと判断された前記ログを前記第1グループに対応する前記バッファ531に記録する。例えば、前記CPU51は、前記ログA又は前記ログBの記録タイミングの到来に応じて、図3(B)に示すように前記ログA又は前記ログBを前記バッファ531に記憶させる。このとき、前記CPU51は、前記バッファ531において前記ログを古い情報から順に上書きして記録する。
<Step S13>
In step S13, the CPU 51 records, in the buffer 531 corresponding to the first group, the log determined that the recording timing has come in step S11. For example, the CPU 51 stores the log A or the log B in the buffer 531 as shown in FIG. 3B in response to the recording timing of the log A or the log B. At this time, the CPU 51 overwrites and records the log in the buffer 531 in order from the oldest information.

<ステップS121>
また、ステップS121において、前記CPU51は、前記ステップS11で記録タイミングが到来したと判断された前記ログが前記第2グループに属するか否かを前記ログ対応情報D1に基づいて判断する。前記ログが前記第2グループに属する場合(S121のYes側)、前記CPU51は処理をステップS122に移行させ、前記ログが前記第2グループに属さないと判断した場合(S121のNo側)、前記CPU51は処理をステップS123に移行させる。
<Step S121>
In step S121, the CPU 51 determines based on the log correspondence information D1 whether the log determined to have reached the recording timing in step S11 belongs to the second group. When the log belongs to the second group (Yes side of S121), the CPU 51 shifts the process to Step S122, and when it is determined that the log does not belong to the second group (No side of S121), The CPU 51 shifts the process to step S123.

<ステップS122>
そして、ステップS122において、前記CPU51は、前記ステップS11で記録タイミングが到来したと判断された前記ログを前記第2グループに対応する前記バッファ532に記録する。例えば、前記CPU51は、前記ログC又は前記ログDの記録タイミングの到来に応じて、図3(B)に示すように前記ログC又は前記ログDを前記バッファ532に記憶させる。このとき、前記CPU51は、前記バッファ532において前記ログを古い情報から順に上書きして記録する。
<Step S122>
In step S122, the CPU 51 records the log determined to have reached the recording timing in step S11 in the buffer 532 corresponding to the second group. For example, the CPU 51 stores the log C or the log D in the buffer 532 as shown in FIG. 3B in response to the recording timing of the log C or the log D. At this time, the CPU 51 overwrites and records the log in the buffer 532 in order from the oldest information.

<ステップS123>
一方、ステップS123において、前記CPU51は、前記ステップS11で記録タイミングが到来したと判断された銭ログを前記第3グループに対応する前記バッファ533に記録する。例えば、前記CPU51は、前記ログE又は前記ログFの記録タイミングの到来に応じて、図3(B)に示すように前記ログE又は前記ログFを前記バッファ533に記憶させる。このとき、前記CPU51は、前記バッファ533において前記ログを古い情報から順に上書きして記録する。
<Step S123>
On the other hand, in step S123, the CPU 51 records the money log determined to have reached the recording timing in step S11 in the buffer 533 corresponding to the third group. For example, the CPU 51 stores the log E or the log F in the buffer 533 as shown in FIG. 3B in response to the recording timing of the log E or the log F. At this time, the CPU 51 overwrites and records the log in the buffer 533 in order from the oldest information.

このように前記複合機10では、前記CPU51によって前記ログ記録処理が実行されることにより、前記ログ各々が複数の前記バッファ531〜533のうち前記ログの記録間隔に応じて割り当てられたバッファに記録される。具体的に、記録される周期が最も短い前記第1グループに属するログは前記バッファ531に記録される。同じく、次に周期が短い前記第2グループに属するログは前記バッファ532に記録され、記録される周期が最も長い前記第3グループに属するログは前記バッファ533に記録される。従って、前記複合機10では、複数種別のログがその記録間隔に応じて異なるバッファに記録されるため、記録間隔の異なるログ各々の蓄積量を個別に確保することが可能となり、記録間隔の長いログの蓄積量だけが極端に少なくなることが防止される。   In this way, in the multi-function device 10, the log recording process is executed by the CPU 51, whereby each log is recorded in a buffer allocated according to the log recording interval among the plurality of buffers 531 to 533. Is done. Specifically, logs belonging to the first group with the shortest recording period are recorded in the buffer 531. Similarly, the log belonging to the second group having the next shortest period is recorded in the buffer 532, and the log belonging to the third group having the longest recorded period is recorded in the buffer 533. Therefore, in the multi-function device 10, since a plurality of types of logs are recorded in different buffers according to the recording interval, it is possible to individually secure an accumulation amount of each log having a different recording interval, and a long recording interval. Only the amount of log accumulation is prevented from becoming extremely small.

なお、前記CPU51が、前記RAM53の前記バッファ531〜533に記録されたログを前記操作表示部6又は外部のパーソナルコンピューター等の表示装置に表示させる際に、前記バッファ531〜533ごとに異なる表示画面を出力することも考えられる。これにより、前記操作表示部6又は前記表示装置の表示画面各々において記録期間の異なる前記ログ各々の表示量が個別に確保される。同じく、前記CPU51が、前記RAM53の前記バッファ531〜533に記録されたログを前記複合機10に設けられるハードディスクなどの記憶装置(不図示)又は外部のパーソナルコンピューター等の記憶装置に出力する際に、前記バッファ531〜533ごとに異なる記憶装置に出力することも考えられる。これにより、前記記憶装置各々において記録期間の異なる前記ログ各々の記憶量が個別に確保される。   When the CPU 51 displays the logs recorded in the buffers 531 to 533 of the RAM 53 on the operation display unit 6 or a display device such as an external personal computer, a different display screen is used for each of the buffers 531 to 533. Can also be output. Thereby, the display amount of each of the logs having different recording periods is individually secured in each of the operation display unit 6 and the display screen of the display device. Similarly, when the CPU 51 outputs the logs recorded in the buffers 531 to 533 of the RAM 53 to a storage device (not shown) such as a hard disk provided in the multifunction machine 10 or a storage device such as an external personal computer. It is also conceivable to output to different storage devices for each of the buffers 531 to 533. Thereby, the storage amount of each of the logs having different recording periods is individually secured in each of the storage devices.

ところで、前記複合機10では、予め設定された異常などの特定事象が発生した場合に、通常時には記録間隔の長いログの記録間隔を短縮して詳細なログが記録される構成が考えられる。この場合、前記ログ対応情報D1に基づいて前記ログ各々の記録先を制御する構成では、例えば前記ログCの記録間隔を短縮することにより前記ログDの蓄積量が極端に少なくなる。そこで、前記複合機10では、前記CPU51により後述の記録先変更処理が実行されることにより、前記特定事象が発生した場合には前記ログ各々の記憶先が適宜変更される。   By the way, in the multifunction device 10, when a specific event such as a preset abnormality occurs, a configuration in which a detailed log is recorded by shortening a recording interval of a log having a long recording interval at normal times can be considered. In this case, in the configuration in which the recording destination of each log is controlled based on the log correspondence information D1, for example, by shortening the recording interval of the log C, the accumulation amount of the log D is extremely reduced. Therefore, in the multi-function device 10, the storage destination of each log is appropriately changed when the specific event occurs by executing a recording destination changing process described later by the CPU 51.

[記録先変更処理]
以下、図5を参照しつつ、前記複合機10において前記CPU51によって実行される記録先変更処理の手順の一例について説明する。ここに、S21、S22、・・・は前記CPU51によって実行される処理手順(ステップ)番号を表している。なお、前記CPU51は、図4に示す前記ログ記録処理と図5に示す前記記録先変更処理とを並列して実行する。また、前記ログ記録処理及び前記記録先変更処理が異なる処理主体によって実行されることも他の実施形態として考えられる。
[Recording destination change processing]
Hereinafter, an example of the procedure of the recording destination changing process executed by the CPU 51 in the multifunction machine 10 will be described with reference to FIG. Here, S21, S22,... Represent processing procedure (step) numbers executed by the CPU 51. The CPU 51 executes the log recording process shown in FIG. 4 and the recording destination change process shown in FIG. 5 in parallel. In another embodiment, the log recording process and the recording destination change process may be executed by different processing entities.

<ステップS21>
まず、ステップS21において、前記CPU51は、予め設定された前記特定事象が発生したか否かを判断する。前記特定事象は、例えば定着温度の異常、紙詰まり、トナー切れ、又は不正アクセスなどの発生である。ここで、前記CPU51は、前記特定事象が発生したと判断すると(S21のYes側)、処理をステップS22に移行させる。一方、前記特定事象の発生していなければ(S21のNo側)、前記CPU51は処理をステップS25に移行させる。
<Step S21>
First, in step S21, the CPU 51 determines whether or not the specific event set in advance has occurred. The specific event is, for example, occurrence of an abnormal fixing temperature, a paper jam, out of toner, or unauthorized access. If the CPU 51 determines that the specific event has occurred (Yes in S21), the process proceeds to step S22. On the other hand, if the specific event has not occurred (No in S21), the CPU 51 shifts the process to step S25.

<ステップS22>
ステップS22において、前記CPU51は、前記特定事象に関連するログとして予め設定された一又は複数のログ(以下、「関連ログ」と称する)の記録先を変更する。なお、前記特定事象と前記関連ログとの対応関係は予め設定されて前記ROM52などに記憶されている。例えば定着温度の異常の発生には、前記定着温度を測定する温度センサーの検知結果のログが前記関連ログとして設定されており、紙詰まりの発生には、用紙搬送用のモーターの駆動状態及び用紙検知センサーの検知結果などのログが前記関連ログとして設定されている。
<Step S22>
In step S22, the CPU 51 changes the recording destination of one or a plurality of logs (hereinafter referred to as “related logs”) set in advance as logs related to the specific event. The correspondence relationship between the specific event and the related log is preset and stored in the ROM 52 or the like. For example, when an abnormality occurs in the fixing temperature, a log of a detection result of a temperature sensor that measures the fixing temperature is set as the related log, and when a paper jam occurs, the driving state of the paper transport motor and the paper are Logs such as detection results of detection sensors are set as the related logs.

より具体的に、前記ステップS22において、前記CPU51は、発生した前記特定事象に関連する前記関連ログの記録先を前記関連ログの元の記録先であったバッファよりも記憶容量の多いバッファに変更する。例えば、前記関連ログが前記ログCである場合、前記CPU51は、図6(A)に示すように、前記ログ対応情報D1で設定された前記ログCが属するグループを前記第2グループから前記第1グループに変更する。これにより、前記ログCは、前記ログ記録処理において、前記第1グループに対応する前記バッファ531に記録されることになる(図6(B)参照)。また、前記関連ログが前記ログEである場合、前記CPU51は、前記ログ対応情報D1で設定された前記ログEが属するグループを前記第3グループから前記第1グループ又は前記第2グループに変更する。これにより、前記ログEは、前記ログ記録処理において、前記第1グループ又は前記第2グループに対応する前記バッファ531又は前記バッファ532に記録されることになる。   More specifically, in step S22, the CPU 51 changes the recording destination of the related log related to the specific event that has occurred to a buffer having a larger storage capacity than the buffer that was the original recording destination of the related log. To do. For example, when the related log is the log C, the CPU 51 changes the group to which the log C set by the log correspondence information D1 belongs from the second group to the second group as shown in FIG. Change to one group. Thus, the log C is recorded in the buffer 531 corresponding to the first group in the log recording process (see FIG. 6B). When the related log is the log E, the CPU 51 changes the group to which the log E set by the log correspondence information D1 belongs from the third group to the first group or the second group. . Accordingly, the log E is recorded in the buffer 531 or the buffer 532 corresponding to the first group or the second group in the log recording process.

<ステップS23>
次に、ステップS23において、前記CPU51は、前記関連ログの記録間隔を前記関連ログごとに予め設定された短縮間隔に短縮する。例えば、前記特定事象の発生前における前記ログAの記録間隔が0.1秒であり、前記ログCの記録間隔が0.25秒である場合に、前記ログCの記録間隔が前記ログAと同様の0.1秒に短縮される。これにより、前記ログCは、前記ログ記録処理において、前記第1グループに対応する前記バッファ531に短周期で記録されることになる。
<Step S23>
Next, in step S23, the CPU 51 shortens the recording interval of the related logs to a preset shortening interval for each related log. For example, when the recording interval of the log A is 0.1 seconds before the occurrence of the specific event and the recording interval of the log C is 0.25 seconds, the recording interval of the log C is the same as that of the log A It is shortened to the same 0.1 second. Accordingly, the log C is recorded in the buffer 531 corresponding to the first group in a short cycle in the log recording process.

<ステップS24>
さらに、ステップS24において、前記CPU51は、前記ステップS22における変更後に前記関連ログの記録先となるバッファに記録されるログのうち前記特定事象に関連しないログの記録先を他のバッファに変更する。例えば、前記ログBが前記特定事象に関連しないログである場合、前記CPU51は、図6(A)に示すように、前記ログ対応情報D1で設定された前記ログBが属するグループを前記第1グループから前記第2グループに変更する。
<Step S24>
Further, in step S24, the CPU 51 changes the log recording destination not related to the specific event to another buffer among the logs recorded in the buffer that becomes the recording destination of the related log after the change in step S22. For example, if the log B is a log that is not related to the specific event, the CPU 51 assigns the group to which the log B set in the log correspondence information D1 belongs, as shown in FIG. Change from the group to the second group.

これにより、前記ログBは、前記ログ記録処理において、前記第2グループに対応する前記バッファ532に記録される(図6(B)参照)。即ち、前記CPU51は、前記ステップS22及び前記ステップS24により前記ログBと前記ログCとの記録先のバッファを入れ替える。従って、前記バッファ531では、前記ログBが記録されない分だけ前記ログCの蓄積量を増加させることができる。   Accordingly, the log B is recorded in the buffer 532 corresponding to the second group in the log recording process (see FIG. 6B). That is, the CPU 51 replaces the recording destination buffers of the log B and the log C through the steps S22 and S24. Accordingly, the buffer 531 can increase the amount of the log C accumulated by the amount that the log B is not recorded.

さらに、前記CPU51は、前記ログBの記録先を前記バッファ532に変更すると共に、前記ログBの記録間隔を予め設定された延長時間に延長することが考えられる。これにより、前記バッファ532において前記ログBの記録により前記ログDの蓄積量が減少しない。なお、前記バッファ531の記憶容量が十分に確保されている構成では、前記CPU51が、前記ステップS24の処理を省略することが考えられる。即ち、この場合には、前記ログA、前記ログB、及び前記ログCが前記バッファ531に記憶される。   Further, the CPU 51 may change the recording destination of the log B to the buffer 532 and extend the recording interval of the log B to a preset extension time. Accordingly, the accumulated amount of the log D is not reduced by the recording of the log B in the buffer 532. Note that in a configuration in which the storage capacity of the buffer 531 is sufficiently ensured, the CPU 51 may omit the process of step S24. That is, in this case, the log A, the log B, and the log C are stored in the buffer 531.

また、前記バッファ531が記録先として設定された前記第1グループに属するログの種類ごとに、予め優先順位が設定されていることが考えられる。そして、前記ステップS24において、前記CPU51が、前記優先順位に応じて一又は複数のログを選択し、そのログ各々の記録先を他のバッファに変更することが考えられる。さらに、前記優先順位は、前記ステップS21で発生したと判断された前記特定事象の種類ごとに異なる値であってもよい。これにより、前記特定事象の内容に応じて優先して記録するログが変更される。また、前記特定事象に関連する前記関連ログが複数存在する場合には、前記CPU51は、前記ステップS22において、複数の前記関連ログの記録先をまとめて前記バッファ531に変更することが考えられる。   Further, it is conceivable that a priority order is set in advance for each type of log belonging to the first group in which the buffer 531 is set as a recording destination. In step S24, the CPU 51 may select one or a plurality of logs according to the priority order and change the recording destination of each log to another buffer. Further, the priority may be a value different for each type of the specific event determined to have occurred in step S21. As a result, the log to be preferentially recorded is changed according to the contents of the specific event. If there are a plurality of the related logs related to the specific event, the CPU 51 may change the recording destinations of the plurality of related logs to the buffer 531 in step S22.

<ステップS25>
その後、ステップS25において、前記CPU51は、前記RAM53に記録された前記ログの外部出力が実行されたか否かを判断する。ここで、前記CPU51は、前記事象ログの外部出力が完了していると判断すると(S26のYes側)、処理をステップS27に移行させる。一方、前記事象ログの外部出力が完了していないと判断すると(S26のNo側)、前記CPU51は処理を前記ステップS26に待機させる。
<Step S25>
Thereafter, in step S25, the CPU 51 determines whether or not an external output of the log recorded in the RAM 53 has been executed. If the CPU 51 determines that the external output of the event log has been completed (Yes in S26), the process proceeds to step S27. On the other hand, if it is determined that the external output of the event log is not completed (No side in S26), the CPU 51 causes the process to wait in step S26.

具体的に、前記CPU51は、前記複合機10にUSBメモリーが装着され、前記操作表示部6に対してユーザーによる出力要求操作が行われた場合に、前記RAM53の前記ログ各々の情報を前記USBメモリーに出力することが考えられる。また、前記CPU51は、LAN又はインターネット等のネットワークを介して前記複合機10に接続されたパーソナルコンピューターなどの情報処理装置から出力要求信号を受信した場合に、前記ログを前記情報処理装置に出力することも考えられる。   Specifically, when a USB memory is attached to the multifunction device 10 and an output request operation is performed by the user on the operation display unit 6, the CPU 51 stores information on each log in the RAM 53. It is possible to output to memory. The CPU 51 outputs the log to the information processing apparatus when receiving an output request signal from an information processing apparatus such as a personal computer connected to the multifunction peripheral 10 via a network such as a LAN or the Internet. It is also possible.

<ステップS26>
前記RAM53内のログが外部出力されると前記特定事象の原因究明などの目的で必要となる前記ログが既に出力されていると考えられる。そこで、続くステップS26において、前記CPU51は、前記記録先変更処理における前記ログ各々の記録先の変更を解除する。具体的に、前記CPU51は、前記ステップS22又は前記ステップS24で変更された後の前記ログ対応情報D1(図6(A)参照)を消去し、前記ROM52から初期状態の前記ログ対応情報D1(図3(A)参照)を読み出して前記RAM53に展開する。そして、前記CPU51は、前記ログ記録処理において、前記RAM53に展開された初期状態の前記ログ対応情報D1に応じて前記ログ各々の記録先を制御する。
<Step S26>
When the log in the RAM 53 is output to the outside, it is considered that the log necessary for the purpose of investigating the cause of the specific event has already been output. Therefore, in the subsequent step S26, the CPU 51 cancels the change of the recording destination of each of the logs in the recording destination changing process. Specifically, the CPU 51 deletes the log correspondence information D1 (see FIG. 6A) after being changed in the step S22 or the step S24, and stores the log correspondence information D1 (in the initial state) from the ROM 52. 3A) is read out and developed in the RAM 53. Then, in the log recording process, the CPU 51 controls the recording destination of each log according to the log correspondence information D1 in the initial state developed in the RAM 53.

以上説明したように、前記複合機10では、前記CPU51によって前記記録先変更処理が実行されることにより、前記特定事象が発生した場合に前記特定事象に関する前記関連ログの蓄積量を増加させることができる。また、前記特定事象が発生していない場合には、前記ログ各々が記録間隔ごとに対応する前記バッファ531〜533に振り分けて記録されるため、異なる記録間隔のログ各々の蓄積量が個別に確保される。   As described above, in the multi-function device 10, the recording destination changing process is executed by the CPU 51, so that when the specific event occurs, the accumulation amount of the related log related to the specific event may be increased. it can. In addition, when the specific event has not occurred, each log is distributed and recorded in the buffers 531 to 533 corresponding to each recording interval, so that the accumulated amount of each log at different recording intervals is individually secured. Is done.

1 :ADF
2 :画像読取部
3 :画像形成部
4 :給紙部
5 :制御部
51:CPU
52:ROM
53:RAM
531〜532:バッファ
6 :操作表示部
10:複合機
1: ADF
2: Image reading unit 3: Image forming unit 4: Paper feeding unit 5: Control unit 51: CPU
52: ROM
53: RAM
531 to 532: buffer 6: operation display unit 10: multifunction peripheral

Claims (7)

複数種類のログが記録される複数のバッファと、
前記ログ各々を複数の前記バッファのうち前記ログの記録間隔に応じて割り当てられた前記バッファに記録するログ記録手段と、
を備える電子機器。
Multiple buffers for multiple types of logs,
Log recording means for recording each of the logs in the buffer allocated according to the log recording interval among the plurality of buffers;
Electronic equipment comprising.
複数の前記バッファのうち前記記録間隔が短い前記ログの記録先である前記バッファが、前記記録間隔が長い前記ログの記録先である前記バッファよりも記憶容量が大きい請求項1に記載の電子機器。   The electronic apparatus according to claim 1, wherein among the plurality of buffers, the buffer that is the recording destination of the log having a short recording interval has a storage capacity larger than the buffer that is the recording destination of the log having a long recording interval. . 前記ログ記録手段が、予め設定された特定事象が発生した場合に、前記ログのうち前記特定事象に関連する一又は複数の関連ログの記録先を複数の前記バッファのうち前記関連ログの記録先として割り当てられた前記バッファより記憶容量の大きい他の前記バッファに変更すると共に前記ログの記録間隔を短縮する請求項2に記載の電子機器。   When the log recording unit generates a preset specific event, the recording destination of one or a plurality of related logs related to the specific event among the logs is recorded as the recording destination of the related log among the plurality of buffers. The electronic device according to claim 2, wherein the log recording interval is shortened while changing to another buffer having a larger storage capacity than the buffer assigned as. 前記ログ記録手段が、変更後に前記関連ログの記録先となる前記バッファに記録される前記ログのうち前記特定事象に関連しない前記ログの記録先を他の前記バッファに変更する請求項3に記載の電子機器。   The log recording means changes the log recording destination not related to the specific event to the other buffer among the logs recorded in the buffer that becomes the recording destination of the related log after the change. Electronic equipment. 前記ログ記録手段が、変更後に前記関連ログの記録先となる前記バッファに記録される前記ログのうち予め設定された優先度に応じて選択した一又は複数の前記ログの記録先を他の前記バッファに変更する請求項3又は4に記載の電子機器。   The log recording unit selects one or a plurality of log recording destinations selected according to a preset priority from among the logs recorded in the buffer that is the recording destination of the related logs after the change. The electronic device according to claim 3, wherein the electronic device is changed to a buffer. 前記ログ記録手段が、前記関連ログが前記バッファから出力された場合に前記ログ各々の記録先の変更を解除する請求項3〜5のいずれかに記載の電子機器。   The electronic device according to claim 3, wherein the log recording unit cancels the change of the recording destination of each log when the related log is output from the buffer. 複数種類のログが記録される複数のバッファを用意するステップと、
前記ログ各々を複数の前記バッファのうち前記ログの記録間隔に応じて割り当てられた前記バッファに記録するステップと、
を含むログ記録方法。
Preparing a plurality of buffers in which a plurality of types of logs are recorded;
Recording each log in the buffer allocated according to the log recording interval among the plurality of buffers;
Log recording method.
JP2013091146A 2013-04-24 2013-04-24 Compound machine Expired - Fee Related JP5875549B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2013091146A JP5875549B2 (en) 2013-04-24 2013-04-24 Compound machine
US14/260,203 US9396055B2 (en) 2013-04-24 2014-04-23 Electronic device and log recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013091146A JP5875549B2 (en) 2013-04-24 2013-04-24 Compound machine

Publications (2)

Publication Number Publication Date
JP2014215739A true JP2014215739A (en) 2014-11-17
JP5875549B2 JP5875549B2 (en) 2016-03-02

Family

ID=51790372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013091146A Expired - Fee Related JP5875549B2 (en) 2013-04-24 2013-04-24 Compound machine

Country Status (2)

Country Link
US (1) US9396055B2 (en)
JP (1) JP5875549B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017054365A (en) * 2015-09-10 2017-03-16 富士通株式会社 Information processor, log recording method, and log recording program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03107724A (en) * 1989-09-21 1991-05-08 Toshiba Corp Storage display device for history data
JPH07330239A (en) * 1994-06-06 1995-12-19 Nippon Otis Elevator Co Maintenance tool of elevator controller
JPH08147194A (en) * 1994-11-16 1996-06-07 Fuji Facom Corp Data logging method
JP2004178118A (en) * 2002-11-26 2004-06-24 Hitachi Ltd Monitoring method and monitoring program of operating state of program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4400040B2 (en) * 2002-12-04 2010-01-20 セイコーエプソン株式会社 Device management device
CN101410784B (en) * 2006-04-10 2011-01-12 国际商业机器公司 Device, method for selecting data storage destination from a plurality of tape recording devices
JP5346626B2 (en) * 2009-03-09 2013-11-20 キヤノン株式会社 Management apparatus, management method, and program
JP2010223560A (en) 2009-03-25 2010-10-07 Daikin Ind Ltd Data collecting device
WO2013008281A1 (en) * 2011-07-08 2013-01-17 富士通株式会社 Information processing device, information processing method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03107724A (en) * 1989-09-21 1991-05-08 Toshiba Corp Storage display device for history data
JPH07330239A (en) * 1994-06-06 1995-12-19 Nippon Otis Elevator Co Maintenance tool of elevator controller
JPH08147194A (en) * 1994-11-16 1996-06-07 Fuji Facom Corp Data logging method
JP2004178118A (en) * 2002-11-26 2004-06-24 Hitachi Ltd Monitoring method and monitoring program of operating state of program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017054365A (en) * 2015-09-10 2017-03-16 富士通株式会社 Information processor, log recording method, and log recording program

Also Published As

Publication number Publication date
US9396055B2 (en) 2016-07-19
JP5875549B2 (en) 2016-03-02
US20140325293A1 (en) 2014-10-30

Similar Documents

Publication Publication Date Title
JP6184361B2 (en) Image processing system, image processing apparatus, information processing apparatus, and image processing method
US9262121B2 (en) Storage control device, electronic apparatus, storage medium, and storage control method
JP6017413B2 (en) Data setting system and data setting method
US20180095398A1 (en) Information processing apparatus, method of controlling the same and storage medium
JP2015076691A (en) Image processor and data transfer control program
JP2011158840A (en) Image formation apparatus and image formation system
JP6022432B2 (en) Image forming apparatus and paper type detection method
JP2014124851A (en) Image forming device, image forming program, and image forming method
JP5873832B2 (en) Electronics
JP5875549B2 (en) Compound machine
JP5638021B2 (en) Information processing apparatus and image forming apparatus
JP2011044106A (en) Firmware update program and image forming device
JP5863701B2 (en) Image forming apparatus and log recording method in image forming apparatus
JP5840173B2 (en) Information processing apparatus and input / output control unit restart method
JP2014144856A (en) Paper sheet conveying device, image forming apparatus, abnormality detection method
JP5717606B2 (en) Image forming apparatus
JP6165066B2 (en) Image forming apparatus and image forming method
JP5921503B2 (en) Information processing apparatus and image processing apparatus
JP2012111058A (en) Image forming system
JP5205348B2 (en) Firmware update program and image forming apparatus
JP2009053935A (en) Information processor and history information management program
JP2019195958A (en) Image formation apparatus
JP2021165007A (en) Image processing device and image processing method
JP5309231B2 (en) Image forming apparatus
JP2015225536A (en) Information processing device, and memory access arbitration method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150219

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20150528

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150616

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20150702

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150707

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150902

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: 20151222

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160119

R150 Certificate of patent or registration of utility model

Ref document number: 5875549

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees