JP2006260596A - Drawing information acquiring method, program for executing this method by computer, and image forming device - Google Patents

Drawing information acquiring method, program for executing this method by computer, and image forming device Download PDF

Info

Publication number
JP2006260596A
JP2006260596A JP2006129487A JP2006129487A JP2006260596A JP 2006260596 A JP2006260596 A JP 2006260596A JP 2006129487 A JP2006129487 A JP 2006129487A JP 2006129487 A JP2006129487 A JP 2006129487A JP 2006260596 A JP2006260596 A JP 2006260596A
Authority
JP
Japan
Prior art keywords
drawing information
key
data
information
image forming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006129487A
Other languages
Japanese (ja)
Inventor
Hiroyuki Tanaka
浩行 田中
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006129487A priority Critical patent/JP2006260596A/en
Publication of JP2006260596A publication Critical patent/JP2006260596A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a key operation monitoring method, a drawing information acquiring method, a key operation regeneration method, a program for executing the methods by a computer, and an image forming device, capable of making debugging work efficient. <P>SOLUTION: This drawing information acquiring method is a method of acquiring drawing information output to an operation panel, in the image forming device provided with the operation panel, and an application for executing processing concerned in image formation, and operated as an application process for outputting the drawing information to the operation panel, and a drawing information acquiring means in the image forming device includes a drawing information acquiring step for receiving the drawing information from the application process by interprocess communication. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

この発明は、プリンタ、コピーまたはファクシミリなどの画像形成処理にかかるユーザサービスを行う画像形成装置をデバッグする際に、オペレーションパネルからのユーザのキー操作を監視するキー操作監視方法、オペレーションパネルに対する描画情報を取得する描画情報取得方法、オペレーションパネルのキー操作を再現するキー操作再生方法、これらの方法をコンピュータに実行させるプログラムおよびそのようなキー操作監視方法、描画情報取得方法、キー操作再生方法を実行することができる画像形成装置に関する。   The present invention relates to a key operation monitoring method for monitoring a user's key operation from an operation panel when debugging an image forming apparatus that performs a user service related to image forming processing such as a printer, a copy, or a facsimile, and drawing information for the operation panel. A drawing information acquisition method for acquiring a key, a key operation reproduction method for reproducing a key operation of the operation panel, a program for causing a computer to execute these methods, a key operation monitoring method, a drawing information acquisition method, and a key operation reproduction method are executed. The present invention relates to an image forming apparatus capable of performing image processing.

近年、プリンタ、コピー、ファクシミリ、スキャナなどの各装置の機能を1つの筐体内に収納した画像形成装置(以下、「複合機」という。)が一般的に知られている。この複合機は、1つの筐体内に表示部、印刷部および撮像部などを設けるとともに、プリンタ、コピーおよびファクシミリ装置にそれぞれ対応する3種類のソフトウェアを設け、ソフトウェアの切り替えによって、当該装置をプリンタ、コピー、スキャナまたはファクシミリ装置として動作させるものである。   2. Description of the Related Art In recent years, an image forming apparatus (hereinafter, referred to as “multifunction machine”) in which functions of apparatuses such as a printer, a copy machine, a facsimile machine, and a scanner are housed in a single housing is generally known. This multifunction device is provided with a display unit, a printing unit, an imaging unit, and the like in one casing, and is provided with three types of software respectively corresponding to a printer, a copying machine, and a facsimile machine. It operates as a copy, scanner or facsimile machine.

このような複合機では、オペレーションパネルの表示部に描画データとして表示した各種キーをユーザが押下することにより、プリンタ、コピー、ファクシミリ、スキャナなどのユーザサービスをユーザのキー操作に応じて提供するようになっている。このため、複合機の開発段階において、ユーザのキー操作に応じた動作が正常に機能するか否かのデバッグ作業が重要な位置づけを帯びてくる。
特開2002−207399号公報
In such a multifunction device, the user presses various keys displayed as drawing data on the display unit of the operation panel so that user services such as a printer, a copy, a facsimile, and a scanner are provided according to the user's key operation. It has become. For this reason, in the development stage of the multifunction device, debugging work as to whether or not the operation according to the user's key operation functions normally takes an important position.
JP 2002-207399 A

しかしながら、従来の複合機では、ユーザのオペレーションパネルからのキー操作と、キー操作による動作とをデバッグするための機能は設けられていなかった。これは、従来の複合機は、その内部にプリンタ、コピー、スキャナおよびファクシミリ装置に対応する機能単位のソフトウェアをそれぞれ別個に設けた単純な構成となっているため、ユーザのキー操作を監視して各機能の動作確認を行わなくても、各機能単位のソフトウェアごとにデバッグ作業を行うことで、十分な品質を維持することができるためである。   However, the conventional multifunction peripheral is not provided with a function for debugging the key operation from the operation panel of the user and the operation by the key operation. This is because a conventional multifunction peripheral has a simple configuration in which functional unit software corresponding to a printer, a copy, a scanner, and a facsimile apparatus is separately provided. This is because sufficient quality can be maintained by performing a debugging operation for each software of each functional unit without checking the operation of each function.

ところで、このような従来の複合機では、プリンタ、コピー、スキャナおよびファクシミリ装置に対応するソフトウェアをそれぞれ別個に設けているため、各ソフトウェアの開発に多大の時間を要する。このため、出願人は、表示部、印刷部および撮像部などの画像形成処理で使用されるハードウェア資源を有し、プリンタ、コピーまたはファクシミリなどの各ユーザサービスにそれぞれ固有の処理を行うアプリケーションを複数搭載し、これらのアプリケーションとハードウェア資源との間に介在して、ユーザサービスを提供する際に、アプリケーションの少なくとも2つが共通的に必要とするハードウェア資源の管理、実行制御並びに画像形成処理を行う各種コントロールサービスからなるプラットホームを備えた画像形成装置(複合機)を発明した。この画像形成装置によれば、アプリケーションの少なくとも2つが共通的に必要とするハードウェア資源の管理、実行制御並びに画像形成処理を行うプラットホームを備えた構成とすることによって、ソフトウェア開発の効率化を図るとともに、装置全体としての生産性を向上させることが可能となる。   By the way, in such a conventional multi-function machine, software corresponding to a printer, a copy, a scanner, and a facsimile apparatus is provided separately, so that development of each software requires a lot of time. For this reason, the applicant has hardware resources used in image forming processing such as a display unit, a printing unit, and an imaging unit, and has an application that performs processing specific to each user service such as a printer, copy, or facsimile. When a user service is provided by interposing between these applications and hardware resources, hardware resource management, execution control, and image formation processing that are commonly required by at least two of the applications are provided. Invented an image forming apparatus (multifunction machine) equipped with a platform comprising various control services. According to this image forming apparatus, it is possible to improve the efficiency of software development by including a platform that performs management, execution control, and image forming processing of hardware resources commonly required by at least two applications. In addition, the productivity of the entire apparatus can be improved.

このような複合機では、アプリケーションの少なくとも2つが共通的に必要とするサービスを提供するコントロールサービスを有し、しかも多数のソフトウェアが複雑に絡み合って動作するという特徴的な構成となっているため、各ソフトウェアごとにデバッグ作業を行うだけでは、ユーザのキー操作に応じた動作が正常に実現されているか否かを判断することが困難となるという問題がある。特に、ユーザのキー操作による動作中に障害が発生した場合に、障害のあるソフトウェアの特定が困難となり、複合機のデバッグ作業に多大な労力を要するという問題がある。   Such a multifunction device has a control service that provides services that are commonly required by at least two of the applications, and has a characteristic configuration in which a large number of softwares operate in a complex manner. There is a problem that it is difficult to determine whether or not an operation corresponding to a user's key operation is normally realized only by performing a debugging operation for each software. In particular, when a failure occurs during an operation by a user's key operation, there is a problem that it is difficult to identify the software having the failure, and a great amount of labor is required for debugging the multifunction peripheral.

この発明は上記に鑑みてなされたもので、デバッグ作業の効率化を図ることができるキー操作監視方法、描画情報取得方法、キー操作再生方法、これらの方法をコンピュータで実行するためのプログラムおよび画像形成装置を得ることを目的とする。   The present invention has been made in view of the above. A key operation monitoring method, a drawing information acquisition method, a key operation reproduction method, a program for executing these methods on a computer, and an image capable of improving the efficiency of debugging work. The object is to obtain a forming device.

上記目的を達成するため、本発明は、オペレーションパネルと、画像形成にかかる処理を実行し、前記オペレーションパネルに対して描画情報を出力するためのアプリケーションプロセスとして動作するアプリケーションと、を備えた画像形成装置において、前記オペレーションパネルに出力される描画情報を取得する描画情報取得方法であって、前記画像形成装置における描画情報取得手段が、前記描画情報を、プロセス間通信によって前記アプリケーションプロセスから受信する描画情報取得ステップを含んだことを特徴とする。   In order to achieve the above object, the present invention provides an image forming apparatus comprising: an operation panel; and an application that executes processing relating to image formation and operates as an application process for outputting drawing information to the operation panel. A drawing information acquisition method for acquiring drawing information output to the operation panel in the apparatus, wherein the drawing information acquisition means in the image forming apparatus receives the drawing information from the application process by inter-process communication. An information acquisition step is included.

この発明によれば、前記描画情報を、プロセス間通信によって前記アプリケーションプロセスから受信する描画情報取得ステップを含んだことで、多数のソフトウェアが動作する画像形成装置において、オペレーションパネルへの表示内容(描画情報)を容易に取得することができる。このため、このような描画情報をデバッグ情報をとして利用することにより、障害発生時のオペレーションパネルへの描画情報を容易に再現することができ、画像形成装置のデバッグ作業を効率的に行うことができる。   According to the present invention, since the drawing information is received from the application process by inter-process communication, the display contents (drawing on the operation panel) in the image forming apparatus in which a large number of software operates are included. Information) can be easily obtained. Therefore, by using such drawing information as debugging information, drawing information on the operation panel at the time of failure can be easily reproduced, and debugging of the image forming apparatus can be efficiently performed. it can.

前記描画情報取得ステップにおいて、前記描画情報取得手段は、前記オペレーションパネルを管理する関数と対応した描画情報送信関数の呼び出しを前記アプリケーションプロセスから受けることにより、前記描画情報を受信する。   In the drawing information acquisition step, the drawing information acquisition means receives the drawing information by receiving a call of a drawing information transmission function corresponding to a function for managing the operation panel from the application process.

この発明によれば、描画情報取得ステップがオペレーションパネルを管理する関数と対応した描画情報送信関数の呼び出しをアプリケーションから受けることにより、描画情報を受信することで、関数呼び出しという簡易なプロセス間通信によって、デバッグ作業に有益な描画情報を容易に取得することができる。   According to the present invention, the drawing information acquisition step receives the drawing information transmission function corresponding to the function managing the operation panel from the application, and receives the drawing information. Drawing information useful for debugging work can be easily obtained.

また、この発明によれば、オペレーションパネルを管理する関数と対応した描画情報送信関数を用いて描画情報を受信できるので、アプリケーションの開発段階で、描画情報の通知を描画情報取得モジュールに行うことを意識する必要がなく、アプリケーション開発の効率化も図ることができる。   Further, according to the present invention, drawing information can be received using a drawing information transmission function corresponding to a function for managing the operation panel, so that the drawing information is notified to the drawing information acquisition module at the application development stage. There is no need to be aware of this, and application development can be made more efficient.

また、前記アプリケーションから受信した複数の描画情報を、描画履歴データとして記憶手段に格納する描画情報保存ステップをさらに含んでもよい。   The image processing apparatus may further include a drawing information storing step of storing a plurality of drawing information received from the application in a storage unit as drawing history data.

この発明によれば、アプリケーションから受信した複数の描画情報を描画履歴データとして記憶手段に格納する描画情報保存ステップを含んだことで、オペレーションパネルに表示する描画情報を経時的な履歴データとして残しておくことができ、障害発生時のオペレーションパネルへの一連の表示を再現することが容易となり、デバッグ作業の効率化をさらに向上することができる。   According to the present invention, by including a drawing information storing step for storing a plurality of drawing information received from the application as drawing history data in the storage means, the drawing information to be displayed on the operation panel is left as historical data. This makes it easy to reproduce a series of displays on the operation panel when a failure occurs, thereby further improving the efficiency of debugging work.

また、前記描画情報取得手段は、前記描画情報取得ステップにおいて、前記受信した描画情報に時刻情報を付加し、前記描画情報保存ステップにおいて、前記時刻情報が付加された描画情報を、前記描画履歴データとして前記記憶手段に格納するようにしてもよい。   Further, the drawing information acquisition means adds time information to the received drawing information in the drawing information acquisition step, and the drawing information to which the time information is added in the drawing information storage step is used as the drawing history data. May be stored in the storage means.

この発明によれば、描画情報取得ステップが受信した描画情報に時刻情報を付加する描画情報処理ステップをさらに含んでおり、描画情報保存ステップが時刻情報が付加された描画情報を描画履歴データとして記憶手段に格納することで、時刻情報に基づいて一連のオペレーションパネルへの表示のタイミングを認識することができ、実際のオペレーションパネルへの表示とソフトウェアの動作の同期をとってオペレーションパネルへの表示を再現することができ、デバッグ作業効率の向上をさらに図ることができる。   According to this invention, the drawing information acquisition step further includes a drawing information processing step for adding time information to the drawing information received, and the drawing information storage step stores the drawing information to which the time information is added as drawing history data. By storing it in the means, it is possible to recognize the timing of the display on the series of operation panels based on the time information, and to synchronize the actual operation panel display and software operation. This can be reproduced, and the debugging work efficiency can be further improved.

また、前記画像形成装置が、前記描画履歴データをネットワークに接続された端末に送信するステップをさらに有することとしてもよい。   The image forming apparatus may further include a step of transmitting the drawing history data to a terminal connected to a network.

この発明によれば、描画情報保存ステップが描画履歴データをネットワークに接続された端末に送信することで、オペレーションパネルの描画情報の履歴データをデバッグ作業を行うユーザなどが使用するリモート端末に直接残すことができ、画像形成装置と離れた場所でデバッグ作業を行う場合のユーザビリティを向上することができる。   According to the present invention, the drawing information storage step transmits the drawing history data to the terminal connected to the network, so that the history data of the drawing information of the operation panel is directly left on the remote terminal used by the user who performs the debugging work. It is possible to improve usability when debugging work is performed at a location away from the image forming apparatus.

また、本発明は、上記描画情報取得方法における各ステップを前記画像形成装置に実行させるプログラムとして構成することもできる。   The present invention can also be configured as a program that causes the image forming apparatus to execute each step in the drawing information acquisition method.

また、本発明は、オペレーションパネルと、画像形成にかかる処理を実行し、前記オペレーションパネルに対して描画情報を出力するためのアプリケーションプロセスとして動作するアプリケーションと、を備えた画像形成装置であって、前記アプリケーションプロセスが前記オペレーションパネルに出力する描画情報を、プロセス間通信によって前記アプリケーションから受信する描画情報取得手段を備えたことを特徴とする画像形成装置として構成することもできる。   The present invention also provides an image forming apparatus comprising: an operation panel; and an application that executes an image forming process and operates as an application process for outputting drawing information to the operation panel. The image forming apparatus may further include a drawing information acquisition unit that receives drawing information output from the application process to the operation panel from the application by inter-process communication.

この発明によれば、アプリケーションがオペレーションパネルに出力する描画情報をプロセス間通信によってアプリケーションから受信する描画情報取得手段を備えたことで、オペレーションパネルへの表示内容(描画情報)を容易に取得することができる。このため、このような描画情報をデバッグ情報をとして利用することにより、障害発生時のオペレーションパネルへの描画情報を容易に再現することができ、画像形成装置のデバッグ作業を効率的に行うことができる。   According to the present invention, the display information (drawing information) displayed on the operation panel can be easily acquired by providing the drawing information acquisition means for receiving the drawing information output from the application by the interprocess communication from the application. Can do. Therefore, by using such drawing information as debugging information, drawing information on the operation panel at the time of failure can be easily reproduced, and debugging of the image forming apparatus can be efficiently performed. it can.

また、前記描画情報取得手段は、前記アプリケーションプロセスをクライアントとしたサーバプロセスとして動作し、前記アプリケーションプロセスは、前記オペレーションパネルを制御する関数と対応した描画情報送信関数を定義したオペレーションパネルコントロールサービスライブラリにおける前記描画情報送信関数を実行することにより、前記描画情報を前記描画情報取得手段に送信する。   Further, the drawing information acquisition means operates as a server process using the application process as a client, and the application process is an operation panel control service library that defines a drawing information transmission function corresponding to a function for controlling the operation panel. By executing the drawing information transmission function, the drawing information is transmitted to the drawing information acquisition means.

この発明によれば、描画情報取得手段がアプリケーションをクライアントとしたサーバプロセスとして動作し、アプリケーションはオペレーションパネルを制御する関数と対応した描画情報送信関数を定義したオペパネコントロールサービスライブラリを備え、描画情報送信関数を実行することにより描画情報を描画情報取得手段に送信することで、関数呼び出しという簡易なプロセス間通信によって、デバッグ作業に有益な描画情報を容易に取得することができる。   According to this invention, the drawing information acquisition means operates as a server process using an application as a client, and the application includes an operation panel control service library that defines a drawing information transmission function corresponding to a function for controlling the operation panel, and the drawing information By transmitting the drawing information to the drawing information acquisition means by executing the transmission function, it is possible to easily acquire drawing information useful for debugging work by simple inter-process communication called function call.

また、前記アプリケーションから受信した複数の描画情報を、描画履歴データとして記憶手段に格納する描画情報保存手段をさらに備えることとしてもよい。   The image processing apparatus may further include a drawing information storage unit that stores a plurality of drawing information received from the application in a storage unit as drawing history data.

この発明によれば、アプリケーションから受信した複数の描画情報を描画履歴データとして記憶手段に格納する描画情報保存手段を備えたことで、オペレーションパネルに表示する描画情報を経時的な履歴データとして残しておくことができ、障害発生時のオペレーションパネルへの一連の表示を再現することが容易となり、デバッグ作業の効率化をさらに向上することができる。   According to the present invention, by providing the drawing information storage means for storing the plurality of drawing information received from the application as drawing history data in the storage means, the drawing information to be displayed on the operation panel is left as history data over time. This makes it easy to reproduce a series of displays on the operation panel when a failure occurs, thereby further improving the efficiency of debugging work.

また、前記描画情報取得手段は、前記受信した描画情報に時刻情報を付加する描画情報処理手段をさらに備え、前記描画情報保存手段は、さらに前記時刻情報が付加された描画情報を、前記描画履歴データとして前記記憶手段に格納することとしてもよい。   The drawing information acquisition unit further includes a drawing information processing unit that adds time information to the received drawing information, and the drawing information storage unit further displays the drawing information to which the time information is added as the drawing history. It is good also as storing in the said memory | storage means as data.

この発明によれば、描画情報取得手段が受信した描画情報に時刻情報を付加する描画情報処理手段をさらに備え、描画情報保存手段が時刻情報が付加された描画情報を描画履歴データとして記憶手段に格納することで、時刻情報に基づいて一連のオペレーションパネルへの表示のタイミングを認識することができ、実際のオペレーションパネルへの表示とソフトウェアの動作の同期をとってオペレーションパネルへの表示を再現することができ、デバッグ作業効率の向上をさらに図ることができる。   According to this invention, it further comprises a drawing information processing means for adding time information to the drawing information received by the drawing information acquisition means, and the drawing information storage means stores the drawing information to which the time information is added as drawing history data in the storage means. By storing, the timing of display on a series of operation panels can be recognized based on the time information, and the display on the operation panel is reproduced by synchronizing the actual operation panel display and software operation. Therefore, it is possible to further improve the debugging work efficiency.

また、前記描画情報保存手段は、さらに前記描画履歴データをネットワークに接続された端末に送信することとしてもよい。   The drawing information storage means may further transmit the drawing history data to a terminal connected to a network.

この発明によれば、描画情報保存手段が描画履歴データをネットワークに接続された端末に送信することで、オペレーションパネルの描画情報の描画履歴データをデバッグ作業を行うユーザなどが使用するリモート端末に直接残すことができ、画像形成装置と離れた場所でデバッグ作業を行う場合のユーザビリティを向上することができる。   According to the present invention, the drawing information storage means transmits the drawing history data to the terminal connected to the network, whereby the drawing history data of the drawing information of the operation panel is directly transmitted to the remote terminal used by the user who performs the debugging work. Therefore, it is possible to improve usability when performing debugging work at a location away from the image forming apparatus.

また、前記描画情報取得手段と前記描画情報保存手段は互いに異なるプロセスとして動作し、前記描画情報取得手段と前記描画情報保存手段のプロセス間通信によって、前記描画履歴データの送受信を行うこととしてもよい。   Further, the drawing information acquisition unit and the drawing information storage unit may operate as different processes, and the drawing history data may be transmitted and received through inter-process communication between the drawing information acquisition unit and the drawing information storage unit. .

この発明によれば、描画情報取得手段と描画情報保存手段は互いに異なるプロセスとして動作し、描画情報取得手段と描画情報保存手段のプロセス間通信によって描画履歴データの送受信を行うことで、画像情報保存手段を描画情報取得手段から独立して設けることができ、描画情報取得手段の構成の複雑化を防止することができる。   According to the present invention, the drawing information acquisition unit and the drawing information storage unit operate as different processes, and image information storage is performed by transmitting and receiving drawing history data through inter-process communication between the drawing information acquisition unit and the drawing information storage unit. The means can be provided independently of the drawing information acquisition means, and the configuration of the drawing information acquisition means can be prevented from becoming complicated.

また、前記描画情報処理手段は、前記描画情報取得手段のプロセス内部で生成されたスレッドであることとしてもよい。   Further, the drawing information processing means may be a thread generated within the process of the drawing information acquisition means.

この発明によれば、描画情報処理手段が描画情報取得手段のプロセス内部で生成されたスレッドであるので、短時間に、またはほぼ同時に描画情報のオペレーションパネルに対する出力と他のデータ処理が行われた場合でも、両方のデータ処理を並列に実行することができ、デバッグ作業を実際の動作と同じ状況で実現することができる。また、描画情報に時刻情報を付加する場合においても、実際の時刻とずれてしまうことがない。このため、デバッグ作業の正確性を担保することができる。   According to this invention, since the drawing information processing means is a thread generated within the process of the drawing information acquisition means, the drawing information is output to the operation panel and other data processing is performed in a short time or almost simultaneously. Even in this case, both data processes can be executed in parallel, and the debugging work can be realized in the same situation as the actual operation. Even when time information is added to the drawing information, there is no deviation from the actual time. For this reason, the accuracy of the debugging work can be ensured.

また、上記の課題を解決するために、本発明を次のように構成することも可能である。   In addition, in order to solve the above-described problems, the present invention can be configured as follows.

本発明は、オペレーションパネルを備えた画像形成装置において、前記オペレーションパネルからのキー操作を監視するキー操作監視方法であって、キー監視手段が前記キー操作をキーイベント情報として取得するキー監視ステップを有することを特徴とする。   The present invention relates to a key operation monitoring method for monitoring a key operation from the operation panel in an image forming apparatus having an operation panel, wherein the key monitoring unit acquires the key operation as key event information. It is characterized by having.

この発明によれば、キー操作をキーイベント情報として取得するので、障害発生時のキー操作を容易に再現することが可能となり、画像形成装置のデバッグ作業を効率的に行うことができる。   According to the present invention, since the key operation is acquired as the key event information, it is possible to easily reproduce the key operation at the time of occurrence of the failure, and the debugging operation of the image forming apparatus can be performed efficiently.

上記キー操作監視方法において、前記キー監視ステップは、前記オペレーションパネルの通信ドライバにより配信されたキーイベント情報を前記キー監視手段が受信するステップを有することとしてもよい。   In the key operation monitoring method, the key monitoring step may include a step in which the key monitoring unit receives key event information distributed by a communication driver of the operation panel.

この発明によれば、通信ドライバを用いてキーイベント情報を配信することができる。   According to the present invention, key event information can be distributed using a communication driver.

また、上記キー操作監視方法において、前記画像形成装置は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスに固有の処理を行うアプリケーションとを有し、更に前記アプリケーションと前記ハードウェア資源との間に前記オペレーションパネルの制御を行うシステムコントロールサービスを有し、前記キー監視ステップは、前記システムコントロールサービスによって、前記キー操作をキーイベント情報として取得するキーイベント取得ステップと、前記キーイベント取得ステップによって取得したキーイベント情報を、前記キー監視手段が前記システムコントロールサービスからプロセス間通信によって受信するステップとを含んだこととしてもよい。   In the key operation monitoring method, the image forming apparatus includes a hardware resource used in the image forming process, and an application that performs a process specific to the user service related to the image forming process. A system control service that controls the operation panel between the hardware resources, and the key monitoring step includes a key event acquisition step of acquiring the key operation as key event information by the system control service; The key event information acquired by the key event acquisition step may include receiving the key monitoring unit from the system control service by inter-process communication.

この発明によれば、システムコントロールサービスによってキー操作をキーイベント情報として取得するキーイベント取得ステップと、キーイベント取得ステップによって取得したキーイベント情報をシステムコントロールサービスとのプロセス間通信によって受信するキー監視ステップと、を含んだことによって、多数のソフトウェアが動作する画像形成装置においてキー操作によるキーイベント情報をプロセス間通信を利用して容易に取得することができ、デバッグ情報をとして利用することができる。このため、障害発生時のキー操作を容易に再現することができ、画像形成装置のデバッグ作業を効率的に行うことができる。   According to the present invention, a key event acquisition step of acquiring a key operation as key event information by the system control service, and a key monitoring step of receiving the key event information acquired by the key event acquisition step by inter-process communication with the system control service In the image forming apparatus in which a large number of software programs are included, key event information by key operation can be easily obtained using inter-process communication, and debug information can be used. For this reason, it is possible to easily reproduce the key operation at the time of occurrence of the failure, and it is possible to efficiently debug the image forming apparatus.

また、前記キー監視ステップは、前記受信した複数のキーイベント情報を、キー履歴データとして記憶手段に格納するキーイベント保存ステップをさらに含んでもよい。   The key monitoring step may further include a key event storage step of storing the received plurality of key event information as key history data in a storage unit.

この発明によれば、キー監視ステップが受信した複数のキーイベント情報を、キー履歴データとして記憶手段に格納するキーイベント保存ステップを含んだことで、一連のキー操作による経時的なキーイベント情報を履歴データとして残しておくことができ、障害発生時の動作を一連のキー操作で再現することが容易となり、デバッグ作業の効率化をさらに向上することができる。   According to the present invention, a key event storage step of storing a plurality of key event information received by the key monitoring step as key history data in the storage means is included, so that key event information over time by a series of key operations can be obtained. It can be left as history data, and it becomes easy to reproduce the operation at the time of failure by a series of key operations, and the efficiency of debugging work can be further improved.

また、前記キー監視ステップは、前記受信したキーイベント情報に時刻情報を付加するキーイベント処理ステップをさらに含み、前記キーイベント保存ステップは、前記時刻情報が付加されたキーイベント情報を前記キー履歴データとして前記記憶手段に格納することとしてもよい。   In addition, the key monitoring step further includes a key event processing step of adding time information to the received key event information, and the key event storage step includes the key event information to which the time information is added as the key history data. It is good also as storing in the said memory | storage means.

この発明によれば、キー監視ステップが受信したキーイベント情報に時刻情報を付加するキーイベント処理ステップをさらに含み、キーイベント保存ステップが時刻情報が付加されたキーイベント情報をキー履歴データとして記憶手段に格納することで、時刻情報に基づいて一連のキー操作のタイミングを認識することができ、実際のキー操作とソフトウェアの動作の同期をとってキー操作を再現することができ、デバッグ作業効率の向上をさらに図ることができる。   According to this invention, the key monitoring step further includes a key event processing step for adding time information to the key event information received by the key monitoring step, and the key event storage step stores the key event information to which the time information is added as key history data. By storing it in the memory, it is possible to recognize the timing of a series of key operations based on the time information, and to reproduce the key operations by synchronizing the actual key operations and software operations. Further improvement can be achieved.

また、前記キーイベント保存ステップは、さらに前記キー履歴データをネットワークに接続された端末に送信することとしてもよい。   The key event storage step may further transmit the key history data to a terminal connected to a network.

この発明によれば、キーイベント保存ステップがキー履歴データをネットワークに接続された端末に送信することで、キーイベント情報の履歴データをデバッグ作業を行うユーザなどが使用するリモート端末に直接残すことができ、画像形成装置と離れた場所でデバッグ作業を行う場合のユーザビリティを向上することができる。   According to the present invention, the key event storage step transmits the key history data to the terminal connected to the network, so that the history data of the key event information can be left directly on the remote terminal used by the user who performs the debugging operation. In addition, usability can be improved when debugging work is performed at a location remote from the image forming apparatus.

また、本発明は、画像形成処理にかかるユーザサービスのための処理を行うアプリケーションと、オペレーションパネルとを備えた画像形成装置において、前記オペレーションパネルからのキー操作を再生するキー操作再生方法であって、前記オペレーションパネルに対するキー操作の経時的な複数のキーイベント情報を含むキー履歴データを格納した記憶手段から、前記キー履歴データを取得する保存データ取得ステップと、前記保存データ取得ステップにより取得したキー履歴データに基づいて前記キーイベント情報を含む再生情報を生成し、前記再生情報を前記アプリケーションに送信してキー操作を再生する再生ステップとを含んだことを特徴とするキー操作再生方法として構成することもできる。   The present invention also provides a key operation reproduction method for reproducing a key operation from the operation panel in an image forming apparatus including an application for performing processing for user service related to image formation processing and an operation panel. A storage data acquisition step of acquiring the key history data from a storage means storing key history data including a plurality of key event information over time of key operations on the operation panel; and a key acquired by the storage data acquisition step A key operation reproduction method comprising: a reproduction step of generating reproduction information including the key event information based on history data, and transmitting the reproduction information to the application to reproduce a key operation. You can also

この発明によれば、オペレーションパネルに対するキー操作の経時的な複数のキーイベント情報を含むキー履歴データを格納した記憶手段からキー履歴データを取得する保存データ取得ステップと、保存データ取得ステップにより取得したキー履歴データに基づいてキーイベント情報を含む再生情報を生成し、再生情報を前記アプリケーションに送信してキー操作を再生する再生ステップとを含んだことで、特定のキー操作の再生を繰り返し実行して評価する際に、操作の再現性および自動化を容易に行うことができ、デバッグ作業効率および評価効率の向上を図ることができる。   According to this invention, the storage data acquisition step for acquiring the key history data from the storage means storing the key history data including a plurality of key event information over time of the key operation on the operation panel, and the storage data acquisition step A playback step of generating playback information including key event information based on the key history data, and transmitting the playback information to the application to playback the key operation, thereby repeatedly executing the playback of the specific key operation. Therefore, the reproducibility and automation of the operation can be easily performed, and the debugging work efficiency and the evaluation efficiency can be improved.

また、上記キー操作再生方法において、前記保存データ取得ステップは、時刻情報が付加されたキーイベント情報を含むキー履歴データを取得し、前記再生ステップは、前記時刻情報に基づいた間隔で、前記再生情報を前記アプリケーションに送信することこととしてもよい。   In the key operation reproduction method, the stored data acquisition step acquires key history data including key event information to which time information is added, and the reproduction step performs the reproduction at intervals based on the time information. Information may be transmitted to the application.

この発明によれば、保存データ取得ステップが時刻情報が付加されたキーイベント情報を含むキー履歴データを取得し、再生ステップが時刻情報に基づいた間隔で再生情報をアプリケーションに送信することで、一連のキー操作を実際にユーザが行ったキー操作の間隔で自動的に再生することができ、デバッグ作業効率および評価効率のさらなる向上を図ることができる。   According to the present invention, the stored data acquisition step acquires key history data including key event information to which time information is added, and the playback step transmits the playback information to the application at intervals based on the time information. The key operations can be automatically reproduced at intervals of the key operations actually performed by the user, and the debugging work efficiency and the evaluation efficiency can be further improved.

また、前記保存データ取得ステップは、前記オペレーションパネルに出力した複数の経時的な描画情報を含む描画履歴データを前記記憶手段から取得し、前記再生ステップは、再生されたキー操作により前記アプリケーションから送信された描画情報と前記保存データ取得ステップにより取得した描画履歴データの描画情報とを比較し、一致していない場合にはその旨をユーザに通知することとしてもよい。   The saved data acquisition step acquires drawing history data including a plurality of time-lapse drawing information output to the operation panel from the storage unit, and the playback step transmits from the application by a played key operation. The drawn drawing information may be compared with the drawing information of the drawing history data acquired in the stored data acquisition step, and if they do not match, the fact may be notified to the user.

この発明によれば、保存データ取得ステップがオペレーションパネルに出力した複数の経時的な描画情報を含む描画履歴データを記憶手段から取得し、再生ステップが再生されたキー操作によりアプリケーションから送信された描画情報と保存データ取得ステップにより取得した描画履歴データの描画情報とを比較し、一致していない場合にはその旨をユーザに通知することで、アプリケーションがオペレーションパネルに表示する描画情報が正常か否かを自動的に判断することができ、デバッグ効率および評価効率をさらに向上することができる。   According to the present invention, drawing history data including a plurality of time-lapse drawing information output to the operation panel by the saved data acquisition step is acquired from the storage means, and the drawing transmitted from the application by the key operation in which the playback step is played back. The information is compared with the drawing information of the drawing history data acquired in the saved data acquisition step. If they do not match, the user is notified that the drawing information displayed on the operation panel is normal. Can be automatically determined, and debugging efficiency and evaluation efficiency can be further improved.

また、上記キー操作再生方法において、前記再生ステップは、前記再生情報を、前記キーイベント情報を前記アプリケーションに送信するシステムコントロールサービスを介して送信することとしてもよい。   In the key operation reproduction method, the reproduction step may transmit the reproduction information via a system control service that transmits the key event information to the application.

この発明によれば、再生ステップが再生情報をキーイベント情報をアプリケーションに送信するシステムコントロールサービスを介して送信することで、実際のキー操作でシステムコントロールサービスがキーイベント情報をアプリケーションに送信する場合に、キー操作の再生をより実際の動作に適合させてデバッグ作業を行うことができる。   According to the present invention, when the reproduction step transmits the reproduction information via the system control service that transmits the key event information to the application, the system control service transmits the key event information to the application by an actual key operation. The debugging operation can be performed by adapting the reproduction of the key operation to the actual operation.

また、前記再生ステップは、キー操作の再生要求があったときに、前記システムコントロールサービスに対して、前記再生情報のみを受け付ける再生モードに切り替えるモード切替関数の呼び出しを行うこととしてもよい。   Further, the reproduction step may call a mode switching function for switching to a reproduction mode for accepting only the reproduction information, to the system control service when a reproduction request for key operation is made.

この発明によれば、再生ステップがキー操作の再生要求があったときに、システムコントロールサービスに対して再生情報のみを受け付ける再生モードに切り替えるモード切替関数の呼び出しを行うことで、関数呼び出しにより自動的に再生モードに移行するので、キー操作再生に不要なオペレーションパネルからのキーイベントの入力を阻止することができる。   According to the present invention, when the reproduction step is requested to reproduce the key operation, the system control service automatically calls the function by calling the mode switching function for switching to the reproduction mode that accepts only reproduction information. Since the mode is shifted to the playback mode, it is possible to prevent the key event from being input from the operation panel which is unnecessary for the key operation playback.

また、上記キー操作再生方法において、前記キー操作の再生要求を、前記オペレーションパネルから予め定めた複数のキーの入力があったときに発生させることとしてもよい。   In the key operation reproduction method, the key operation reproduction request may be generated when a plurality of predetermined keys are input from the operation panel.

この発明によれば、複数のキーを入力することにより、再生モードに移行することができる。   According to the present invention, it is possible to shift to the reproduction mode by inputting a plurality of keys.

また、キー操作の再生要求があったときに、前記システムコントロールサービスによって、前記再生ステップを実行するプロセスを起動させる起動関数を実行する起動ステップと、を含んだこととしてもよい。   The system control service may include an activation step for executing an activation function for activating a process for executing the reproduction step when a key operation reproduction request is made.

この発明によれば、キー操作の再生要求があったときにシステムコントロールサービスによって再生ステップを実行するプロセスを起動させる起動関数を実行する起動ステップを含んだことで、キー操作再生処理を行う際に画像形成装置を再起動させる必要がなくなり、デバッグ作業時のユーザビリティを向上させることができる。   According to the present invention, when the key operation reproduction process is performed, the activation step for executing the activation function for activating the process for executing the reproduction step by the system control service when the key operation reproduction request is made is included. It is not necessary to restart the image forming apparatus, and usability during debugging can be improved.

また、キー操作の再生処理が終了したときに、前記システムコントロールサービスに対し、停止要求通知を行う通知ステップと、前記システムコントロールサービスが前記停止要求通知を受信したときに、前記再生ステップを実行するプロセスを終了させる停止ステップと、をさらに含んだこととしてもよい。   Also, a notification step of notifying the system control service of a stop request when the key operation playback process is completed, and executing the playback step when the system control service receives the stop request notification And a stop step for terminating the process.

この発明によれば、キー操作の再生処理が終了したときにシステムコントロールサービスに対し、停止要求通知を行う通知ステップと、システムコントロールサービスが前記停止要求通知を受信したときに再生ステップを実行するプロセスを終了させる停止ステップとを含んだことで、キー操作再生処理終了時に、自動的にキー監視ステップを実行するプロセスを終了させることができ、デバッグ作業時のユーザビリティを向上させることができる。   According to the present invention, a notification step of notifying the system control service of a stop request when the key operation playback process is completed, and a process of executing the playback step when the system control service receives the stop request notification Including the stop step for ending the process, the process of automatically executing the key monitoring step can be ended at the end of the key operation reproduction process, and the usability during debugging can be improved.

また、本発明は、オペレーションパネルを備え、そのオペレーションパネルからのキー操作に基づいて画像形成処理にかかるユーザサービスを提供する画像形成装置であって、前記キー操作をキーイベント情報として取得するキー監視手段を備えたことを特徴とする画像形成装置として構成することもできる。   The present invention also provides an image forming apparatus that includes an operation panel and provides a user service related to image forming processing based on a key operation from the operation panel, and acquires the key operation as key event information. It can also be configured as an image forming apparatus characterized by comprising means.

この発明によれば、キー操作をキーイベント情報として取得するので、障害発生時のキー操作を容易に再現することが可能となり、画像形成装置のデバッグ作業を効率的に行うことができる。   According to the present invention, since the key operation is acquired as the key event information, it is possible to easily reproduce the key operation at the time of occurrence of the failure, and the debugging operation of the image forming apparatus can be performed efficiently.

前記キー監視手段は、前記オペレーションパネルの通信ドライバにより配信されたキーイベント情報を受信することとしてもよい。   The key monitoring means may receive key event information distributed by a communication driver of the operation panel.

この発明によれば、通信ドライバを用いてキーイベント情報を配信することができる。   According to the present invention, key event information can be distributed using a communication driver.

また、前記画像形成装置は、画像形成処理で使用されるハードウェア資源と、画像形成処理にかかるユーザサービスに固有の処理を行うアプリケーションとを有し、更に前記アプリケーションと前記ハードウェア資源との間に前記オペレーションパネルの制御を行うシステムコントロールサービスを有し、前記システムコントロールサービスは前記オペレーションパネルからのユーザのキー操作をキーイベント情報として取得し、前記キー監視手段は、前記システムコントロールサービスとのプロセス間通信によって、前記システムコントロールサービスから前記キーイベント情報を受信することとしてもよい。   The image forming apparatus includes a hardware resource used in the image forming process and an application for performing a process specific to the user service related to the image forming process, and further between the application and the hardware resource. A system control service for controlling the operation panel, the system control service acquires a user's key operation from the operation panel as key event information, and the key monitoring means is a process with the system control service. The key event information may be received from the system control service through intercommunication.

この発明によれば、コントロールサービスに含まれてオペレーションパネルからのユーザのキー操作をキーイベント情報として取得するシステムコントロールサービスと、システムコントロールサービスとのプロセス間通信によってシステムコントロールサービスからキーイベント情報を受信するキー監視手段とを備えたことで、多数のソフトウェアが動作する画像形成装置においてキー操作によるキーイベント情報をプロセス間通信を利用して容易に取得することができ、デバッグ情報として利用することができる。このため、障害発生時のキー操作を容易に再現することができ、画像形成装置のデバッグ作業を効率的に行うことができる。   According to the present invention, the key event information is received from the system control service through inter-process communication between the system control service and the system control service, which is included in the control service and acquires user key operations from the operation panel as key event information. The key event information by the key operation can be easily obtained by using the inter-process communication in the image forming apparatus in which a large number of software operates, and can be used as debug information. it can. For this reason, it is possible to easily reproduce the key operation at the time of occurrence of the failure, and it is possible to efficiently debug the image forming apparatus.

また、上記画像形成装置において、前記システムコントロールサービスから受信した複数のキーイベント情報を、キー履歴データとして記憶手段に格納するキーイベント保存手段をさらに備えたこととしてもよい。   The image forming apparatus may further include a key event storage unit that stores a plurality of key event information received from the system control service as key history data in a storage unit.

この発明によれば、システムコントロールサービスから受信した複数のキーイベント情報をキー履歴データとして記憶手段に格納するキーイベント保存手段をさらに備えたことで、一連のキー操作による経時的なキーイベント情報を履歴データとして残しておくことができ、障害発生時の動作を一連のキー操作で再現することが容易となり、デバッグ作業の効率化をさらに向上することができる。   According to the present invention, the key event storage means for storing the plurality of key event information received from the system control service in the storage means as key history data is further provided, so that the key event information over time by a series of key operations can be obtained. It can be left as history data, and it becomes easy to reproduce the operation at the time of failure by a series of key operations, and the efficiency of debugging work can be further improved.

また、前記キー監視手段は、前記受信したキーイベント情報に時刻情報を付加するキーイベント処理手段をさらに備え、前記キーイベント保存手段は、前記時刻情報が付加されたキーイベント情報を前記キー履歴データとして前記記憶手段に格納することとしてもよい。   The key monitoring means further includes key event processing means for adding time information to the received key event information, and the key event storage means displays the key event information with the time information added to the key history data. It is good also as storing in the said memory | storage means.

この発明によれば、キー監視手段が受信したキーイベント情報に時刻情報を付加するキーイベント処理手段をさらに備え、キーイベント保存手段は、時刻情報が付加されたキーイベント情報をキー履歴データとして記憶手段に格納することで、時刻情報に基づいて一連のキー操作のタイミングを認識することができ、実際のキー操作とソフトウェアの動作の同期をとってキー操作を再現することができ、デバッグ作業効率の向上をさらに図ることができる。   According to this invention, the key monitoring means further includes key event processing means for adding time information to the key event information received by the key monitoring means, and the key event storage means stores the key event information with the time information added as key history data. By storing it in the means, it is possible to recognize the timing of a series of key operations based on the time information, and to reproduce the key operations by synchronizing the actual key operations and software operations, making debugging work efficient Can be further improved.

また、前記キーイベント保存手段は、さらに前記キー履歴データをネットワークに接続された端末に送信することとしてもよい。   The key event storage means may further transmit the key history data to a terminal connected to a network.

この発明によれば、キーイベント保存手段がキー履歴データをネットワークに接続された端末に送信することで、キーイベント情報のキー履歴データをデバッグ作業を行うユーザなどが使用するリモート端末に直接残すことができ、画像形成装置と離れた場所でデバッグ作業を行う場合のユーザビリティを向上することができる。   According to the present invention, the key event storage means transmits the key history data to the terminal connected to the network, so that the key history data of the key event information is directly left on the remote terminal used by the user who performs the debugging work. It is possible to improve usability when performing debugging work at a location distant from the image forming apparatus.

また、前記キー監視手段と前記キーイベント保存手段は互いに異なるプロセスとして動作し、前記キー監視手段と前記キーイベント保存手段のプロセス間通信によって、前記キー履歴データの送受信を行うこととしてもよい。   The key monitoring unit and the key event storage unit may operate as different processes, and the key history data may be transmitted and received by inter-process communication between the key monitoring unit and the key event storage unit.

この発明は、キー監視手段とキーイベント保存手段は互いに異なるプロセスとして動作し、キー監視手段とキーイベント保存手段のプロセス間通信によってキー履歴データの送受信を行うことで、キーイベント保存手段をキー監視手段から独立して設けることができ、キー監視手段の構成の複雑化を防止することができる。   In the present invention, the key monitoring means and the key event storage means operate as different processes, and the key event storage means is monitored by transmitting and receiving key history data by inter-process communication between the key monitoring means and the key event storage means. It can be provided independently from the means, and the configuration of the key monitoring means can be prevented from becoming complicated.

また、前記キーイベント処理手段は、前記キー監視手段のプロセス内部で生成されたスレッドであることとしてもよい。   Further, the key event processing means may be a thread generated within the process of the key monitoring means.

この発明によれば、キーイベント処理手段がキー監視手段のプロセス内部で生成されたスレッドであるので、短時間に、またはほぼ同時にキー操作と他のデータ処理が行われた場合でも、両方のデータ処理を並列に実行することができ、デバッグ作業を実際の動作と同じ状況で実現することができる。また、キーイベント情報に時刻情報を付加する場合においても、実際の時刻とずれてしまうことがない。このため、デバッグ作業の正確性を担保することができる。   According to the present invention, since the key event processing means is a thread generated within the process of the key monitoring means, both the data is processed even when the key operation and other data processing are performed in a short time or almost simultaneously. Processing can be executed in parallel, and debugging work can be realized in the same situation as the actual operation. Even when time information is added to key event information, there is no deviation from the actual time. For this reason, the accuracy of the debugging work can be ensured.

また、本発明は、画像形成処理にかかるユーザサービスのための処理を行うアプリケーションと、オペレーションパネルとを備え、オペレーションパネルからのキー操作に基づいて前記ユーザサービスを提供する画像形成装置であって、前記キー操作に対応するキーイベント情報を、キー履歴データとして格納した記憶手段と、前記キー履歴データに基づいて前記キーイベント情報を含む再生情報を生成し、 前記再生情報を前記アプリケーションに送信してキー操作を再生する再生手段と、を備えたことを特徴とする画像形成装置として構成することもできる。   Further, the present invention is an image forming apparatus that includes an application for performing processing for user service related to image forming processing and an operation panel, and provides the user service based on a key operation from the operation panel, Storage means for storing key event information corresponding to the key operation as key history data, and generating reproduction information including the key event information based on the key history data, and transmitting the reproduction information to the application The image forming apparatus can also be configured to include a reproducing unit that reproduces key operations.

この発明によれば、キー操作に対応するキーイベント情報をキー履歴データとして格納した記憶手段と、キー履歴データに基づいてキーイベント情報を含む再生情報を生成し、再生情報を前記アプリケーションに送信してキー操作を再生する再生手段とを備えたことで、特定のキー操作の再生を繰り返し実行して評価する際に、操作の再現性および自動化を容易に行うことができ、デバッグ作業効率および評価効率の向上を図ることができる。   According to the present invention, the storage means that stores the key event information corresponding to the key operation as the key history data, the reproduction information including the key event information is generated based on the key history data, and the reproduction information is transmitted to the application. And replaying means for replaying key operations, it is possible to easily perform reproducibility and automation of operations when repeatedly replaying and evaluating a specific key operation, and debugging efficiency and evaluation Efficiency can be improved.

また、前記キー履歴データは、時刻情報が付加されたキーイベント情報を含むものであり、前記再生手段は、前記時刻情報に基づいた間隔で、前記再生情報を送信することとしてもよい。   The key history data may include key event information to which time information is added, and the reproduction means may transmit the reproduction information at intervals based on the time information.

この発明によれば、キー履歴データが時刻情報が付加されたキーイベント情報を含み、再生手段が時刻情報に基づいた間隔で再生情報を送信することで、一連のキー操作を実際にユーザが行ったキー操作の間隔で自動的に再生することができ、デバッグ作業効率および評価効率のさらなる向上を図ることができる。   According to the present invention, the key history data includes the key event information to which the time information is added, and the reproduction means transmits the reproduction information at intervals based on the time information, so that the user actually performs a series of key operations. Therefore, it is possible to automatically reproduce at intervals of the key operation, and further improve the debugging work efficiency and the evaluation efficiency.

また、前記記憶手段は、さらに前記オペレーションパネルに出力した描画情報を、描画履歴データとして格納したものであり、前記保存データ取得手段は、さらに前記記憶手段に格納された前記描画履歴データを取得し、前記再生手段は、再生されたキー操作により前記アプリケーションから送信された描画情報と前記描画履歴データの描画情報とを比較し、一致していない場合にはその旨をユーザに通知することとしてもよい。   Further, the storage means further stores drawing information output to the operation panel as drawing history data, and the saved data acquisition means further acquires the drawing history data stored in the storage means. The reproducing means may compare the drawing information transmitted from the application by the reproduced key operation with the drawing information of the drawing history data, and notify the user if it does not match. Good.

この発明によれば、記憶手段がさらにオペレーションパネルに出力した描画情報を描画履歴データとして格納したものであり、保存データ取得手段が記憶手段に格納された描画履歴データを取得し、再生手段が再生されたキー操作によりアプリケーションから送信された描画情報と描画履歴データの描画情報とを比較し、一致していない場合にはその旨をユーザに通知することで、キー操作再生処理によりアプリケーションがオペレーションパネルに表示する描画情報が正常か否かを自動的に判断することができ、デバッグ効率および評価効率をさらに向上することができる。   According to this invention, the storage means further stores the drawing information output to the operation panel as drawing history data, the saved data acquisition means acquires the drawing history data stored in the storage means, and the reproduction means reproduces it. The drawing information sent from the application by the operated key operation is compared with the drawing information of the drawing history data, and if they do not match, the fact is notified to the user, and the application is displayed on the operation panel by the key operation reproduction process. It is possible to automatically determine whether or not the drawing information displayed on the screen is normal, and the debugging efficiency and the evaluation efficiency can be further improved.

また、前記画像形成装置は、画像形成処理で使用されるハードウェア資源と前記アプリケーションとの間に介在するシステムコントロールサービスを備え、そのシステムコントロールサービスは前記キーイベント情報を前記アプリケーションに送信する手段を備え、前記再生手段は、前記再生情報を前記システムコントロールサービスを介して送信することとしてもよい。   The image forming apparatus includes a system control service interposed between hardware resources used in image forming processing and the application, and the system control service includes means for transmitting the key event information to the application. The playback means may transmit the playback information via the system control service.

この発明によれば、キーイベント情報をアプリケーションに送信するシステムコントロールサービスをさらに備え、再生手段が再生情報をシステムコントロールサービスを介して送信することで、実際のキー操作でシステムコントロールサービスがキーイベント情報をアプリケーションに送信する場合に、キー操作の再生をより実際の動作に適合させてデバッグ作業を行うことができる。   According to the present invention, the system control service for transmitting the key event information to the application is further provided, and the playback means transmits the playback information via the system control service, so that the system control service performs the key event information by the actual key operation Can be debugged by adapting the reproduction of key operations to the actual operation.

また、前記システムコントロールサービスは、前記再生手段から送信された再生情報のみを受け付ける再生モードに切り替えるモード切替関数を定義しており、前記再生手段は、キー操作の再生要求があったときに、前記システムコントロールサービスに対して、前記モード切替関数の呼び出しを行うこととしてもよい。   Further, the system control service defines a mode switching function for switching to a reproduction mode that accepts only reproduction information transmitted from the reproduction means, and the reproduction means is configured to receive the key operation reproduction request when The mode switching function may be called for the system control service.

この発明によれば、システムコントロールサービスが再生手段から送信された再生情報のみを受け付ける再生モードに切り替えるモード切替関数を定義しており、再生手段がキー操作の再生要求があったときに、システムコントロールサービスに対してモード切替関数の呼び出しを行うことで、関数呼び出しにより自動的に再生モードに移行するので、キー操作再生に不要なオペレーションパネルからのキーイベントの入力を阻止することができる。   According to the present invention, the system control service defines the mode switching function for switching to the playback mode that accepts only the playback information transmitted from the playback means, and when the playback means has made a key operation playback request, the system control service By calling the mode switching function for the service, the mode is automatically shifted to the playback mode by the function call, so that it is possible to prevent the key event from being input from the operation panel which is unnecessary for the key operation playback.

また、上記画像形成装置において、前記オペレーションパネルから予め定めた複数のキーの入力があったときに前記キー操作の再生要求を発生させる手段を有することとしてもよい。   Further, the image forming apparatus may include means for generating a reproduction request for the key operation when a plurality of predetermined keys are input from the operation panel.

この発明によれば、複数のキーを入力することにより、再生モードに移行することができる。   According to the present invention, it is possible to shift to the reproduction mode by inputting a plurality of keys.

また、前記システムコントロールサービスは、前記再生手段のプロセスを起動する起動関数を定義しており、キー操作の再生要求があったときに、前記起動関数を実行することとしてもよい。   The system control service may define an activation function that activates the process of the reproducing means, and may execute the activation function when a key operation reproduction request is made.

この発明によれば、システムコントロールサービスが再生手段のプロセスを起動する起動関数を定義しており、キー操作の再生要求があったときに起動関数を実行することで、キー操作再生処理を行う際に画像形成装置を再起動させる必要がなくなり、デバッグ作業時のユーザビリティを向上させることができる。   According to this invention, the system control service defines a start function for starting the process of the playback means, and when performing a key operation playback process by executing the start function when a key operation playback request is made. Therefore, it is not necessary to restart the image forming apparatus, and usability during debugging can be improved.

また、前記再生手段は、キー操作の再生処理が終了したときに、前記システムコントロールサービスに対し、停止要求通知を行い、前記システムコントロールサービスは、前記停止要求通知を受信したときに、前記再生手段のプロセスを終了させることとしてもよい。   In addition, when the reproduction process of the key operation is completed, the reproduction unit performs a stop request notification to the system control service, and when the system control service receives the stop request notification, the reproduction unit The process may be terminated.

この発明によれば、再生手段がキー操作の再生処理が終了したときに、システムコントロールサービスに対し停止要求通知を行い、システムコントロールサービスは記停止要求通知を受信したときに再生手段のプロセスを終了させることで、キー操作再生処理終了時に、自動的に再生手段のプロセスを終了させることができ、デバッグ作業時のユーザビリティを向上させることができる。   According to the present invention, when the reproduction means finishes the key operation reproduction process, the reproduction control unit issues a stop request notification to the system control service, and the system control service terminates the reproduction unit process when receiving the recording stop request notification. By doing so, the process of the playback means can be automatically ended at the end of the key operation playback process, and usability during debugging can be improved.

以上説明したように、本発明によれば、描画情報をデバッグ情報をとして利用することにより、障害発生時のオペレーションパネルへの描画情報を容易に再現することができ、画像形成装置のデバッグ作業を効率的に行うことができる。   As described above, according to the present invention, by using the drawing information as debug information, the drawing information on the operation panel at the time of failure can be easily reproduced, and the debugging operation of the image forming apparatus can be performed. Can be done efficiently.

以下に添付図面を参照して、この発明にかかるキー操作監視方法、描画情報取得方法、キー操作再生方法、これらの方法をコンピュータに実行させるプログラムおよび画像形成装置の好適な実施の形態を詳細に説明する。   Exemplary embodiments of a key operation monitoring method, a drawing information acquisition method, a key operation reproduction method, a program for causing a computer to execute these methods, and an image forming apparatus according to the present invention are described in detail below with reference to the accompanying drawings. explain.

(実施の形態1)
図1は、この発明の実施の形態1である画像形成装置(以下、「複合機」という)の構成を示すブロック図である。図1に示すように、複合機100は、白黒ラインプリンタ(B&W LP)101と、カラーラインプリンタ(Color LP)102と、スキャナ103と、ファクシミリ104と、ハードディスク105と、ネットワークインタフェース106などのハードウェアリソースを有するとともに、プラットホーム120とアプリケーション130とから構成されるソフトウェア群110とを備えている。
(Embodiment 1)
FIG. 1 is a block diagram showing a configuration of an image forming apparatus (hereinafter referred to as “multifunction machine”) according to Embodiment 1 of the present invention. As shown in FIG. 1, the multifunction peripheral 100 includes hardware such as a monochrome line printer (B & W LP) 101, a color line printer (Color LP) 102, a scanner 103, a facsimile 104, a hard disk 105, and a network interface 106. The software group 110 includes a hardware resource and includes a platform 120 and an application 130.

プラットホーム120は、アプリケーションからの処理要求を解釈してハードウェア資源の獲得要求を発生させるコントロールサービスと、一または複数のハードウェア資源の管理を行い、コントロールサービスからの獲得要求を調停するシステムリソースマネージャ(SRM)123と、汎用OS121とを有する。   The platform 120 interprets a processing request from an application and generates a hardware resource acquisition request, and a system resource manager that manages one or a plurality of hardware resources and arbitrates the acquisition request from the control service. (SRM) 123 and a general-purpose OS 121.

コントロールサービスは、複数のサービスモジュールから形成され、SCS(システムコントロールサービス)122と、ECS(エンジンコントロールサービス)124と、MCS(メモリコントロールサービス)125と、FCS(ファックスコントロールサービス)127と、NCS(ネットワークコントロールサービス)128とキーモニタ117とから構成される。なお、このプラットホーム120は、あらかじめ定義された関数により前記アプリケーション130から処理要求を受信可能とするアプリケーションプログラムインタフェース(API)を有する。   The control service is formed of a plurality of service modules, and includes an SCS (system control service) 122, an ECS (engine control service) 124, an MCS (memory control service) 125, an FCS (fax control service) 127, and an NCS ( Network control service) 128 and key monitor 117. The platform 120 has an application program interface (API) that can receive a processing request from the application 130 by a predefined function.

汎用OS121は、UNIX(登録商標)などの汎用オペレーティングシステムであり、プラットホーム120並びにアプリケーション130の各ソフトウェアをそれぞれプロセスとして並列実行する。   The general-purpose OS 121 is a general-purpose operating system such as UNIX (registered trademark), and executes the software of the platform 120 and the application 130 in parallel as processes.

キーモニタ117は、オペレーションパネル210からのユーザのキー操作をキーイベント情報としてSCS122から受信するとともに、各アプリがオペレーションパネル210に表示する描画情報を各アプリから受信する。そして、キーモニタ117は、受信したキーイベント情報および描画情報にタイムスタンプ(時刻情報)などを付加し、履歴データとしてハードディスク105に格納する。また、キーモニタ117は、この履歴データに基づいてキーイベントをSCS122に送信してキー操作の再生処理を行う。このキーモニタ117は本発明におけるキー監視手段、描画情報取得手段および再生手段を構成する。   The key monitor 117 receives a user's key operation from the operation panel 210 as key event information from the SCS 122 and receives drawing information displayed on the operation panel 210 by each application from each application. Then, the key monitor 117 adds a time stamp (time information) to the received key event information and drawing information, and stores them as history data in the hard disk 105. Further, the key monitor 117 transmits a key event to the SCS 122 based on the history data and performs a key operation reproduction process. The key monitor 117 constitutes key monitoring means, drawing information acquisition means, and reproduction means in the present invention.

SRM123のプロセスは、SCS122とともにシステムの制御およびリソースの管理を行うものである。SRM123のプロセスは、スキャナ部やプリンタ部などのエンジン、メモリ、HDDファイル、ホストI/O(セントロI/F、ネットワークI/F、IEEE1394 I/F、RS232C I/Fなど)のハードウェア資源を利用する上位層からの要求にしたがって調停を行い、実行制御する。   The process of the SRM 123 performs system control and resource management together with the SCS 122. The SRM123 process uses hardware resources such as engines such as a scanner unit and printer unit, memory, HDD file, and host I / O (Centro I / F, network I / F, IEEE 1394 I / F, RS232C I / F, etc.). Arbitration is performed according to the request from the upper layer to be used, and execution control is performed.

具体的には、このSRM123は、要求されたハードウェア資源が利用可能であるか(他の要求により利用されていないかどうか)を判断し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に伝える。また、SRM123は、上位層からの要求に対してハードウェア資源の利用スケジューリングを行い、要求内容(例えば、プリンタエンジンにより紙搬送と作像動作、メモリ確保、ファイル生成など)を直接実施している。   Specifically, the SRM 123 determines whether the requested hardware resource is available (whether it is not used by another request), and if it is available, the requested hardware resource is used. Tell the upper layer that it is possible. In addition, the SRM 123 performs use scheduling of hardware resources in response to a request from an upper layer, and directly executes request contents (for example, paper conveyance and image forming operation, memory allocation, file generation, etc. by a printer engine). .

SCS122のプロセスは、アプリ管理、操作部制御、システム画面表示、LED表示、リソース管理、割り込みアプリ制御などを行う。また、SCS122のプロセスは、オペレーションパネル210からのキー操作をキーイベントとして取得して、各アプリに送信するとともに、キーモニタ117に送信する。また、SCS122は、モード切替関数を実装している。このモード切替関数は、キーモニタ117からの関数呼び出しにより実行される。モード切替関数の実行により、SCSプロセス122は、オペレーションパネル210からのキーイベントを遮断して、キーモニタ117からのキーイベント情報のみを受け付ける再生モードに移行する。
ECS124のプロセスは、白黒ラインプリンタ(B&W LP)101、カラーラインプリンタ(Color LP)102、スキャナ104、ファクシミリ104などからなるハードウェアリソースのエンジンの制御を行う。
The process of the SCS 122 performs application management, operation unit control, system screen display, LED display, resource management, interrupt application control, and the like. Further, the process of the SCS 122 acquires a key operation from the operation panel 210 as a key event, transmits it to each application, and transmits it to the key monitor 117. The SCS 122 implements a mode switching function. This mode switching function is executed by a function call from the key monitor 117. By executing the mode switching function, the SCS process 122 cuts off the key event from the operation panel 210 and shifts to a playback mode in which only the key event information from the key monitor 117 is accepted.
The process of the ECS 124 controls an engine of hardware resources including a monochrome line printer (B & W LP) 101, a color line printer (Color LP) 102, a scanner 104, a facsimile 104, and the like.

MCS125のプロセスは、画像メモリの取得および解放、ハードディスク装置(HDD)の利用、画像データの圧縮および伸張などを行う。   The MCS 125 process acquires and releases an image memory, uses a hard disk device (HDD), compresses and decompresses image data, and the like.

FCS127のプロセスは、システムコントローラの各アプリ層からPSTN/ISDN網を利用したファクシミリ送受信、BKM(バックアップSRAM)で管理されている各種ファクシミリデータの登録/引用、ファクシミリ読みとり、ファクシミリ受信印刷、融合送受信を行うためのAPIを提供する。   The FCS 127 process includes facsimile transmission / reception using PSTN / ISDN network from each application layer of the system controller, registration / quotation of various facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile reception printing, and fusion transmission / reception. Provides an API to do.

NCS128は、ネットワークI/Oを必要とするアプリケーションに対して共通に利用できるサービスを提供するためのプロセスであり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーションに振り分けたり、アプリケーションからデータをネットワーク側に送信する際の仲介を行う。   The NCS 128 is a process for providing a service that can be used in common for applications that require network I / O. Data received from the network side according to each protocol is distributed to each application, and data from the application is networked. Intermediary when sending to the side.

アプリケーション130は、ページ記述言語(PDL)、PCLおよびポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ111と、コピー用アプリケーションであるコピーアプリ112と、ファクシミリ用アプリケーションであるファックスアプリ113と、スキャナ用アプリケーションであるスキャナアプリ114と、ネットワークファイル用アプリケーションであるネットファイルアプリ115とを有している。   The application 130 includes a printer application 111 that is a printer application having a page description language (PDL), PCL, and postscript (PS), a copy application 112 that is a copy application, and a fax application 113 that is a facsimile application. , A scanner application 114 as a scanner application and a net file application 115 as a network file application.

プリンタアプリ111と、コピーアプリ112と、ファックスアプリ113と、スキャナアプリ114は、その内部にOCSライブラリ126を備えている。すなわち、これらの各アプリのプログラムは、OCSライブラリ126とリンク(結合)した実行可能ファイルとなっている。ここで、OCSライブラリ126は、オペレータ(ユーザ)と本体制御間の情報伝達手段となるオペレーションパネル(操作パネル)の制御を行う各種関数を登録したものであり、各アプリがOCSライブラリ126に登録されている描画関数を実行することによって、オペレーションパネルの表示部にウィンドウ、ボタン、その他文字、図形などの描画情報を表示するようになっている。   The printer application 111, the copy application 112, the fax application 113, and the scanner application 114 each include an OCS library 126 therein. That is, the programs of these applications are executable files linked (coupled) with the OCS library 126. Here, the OCS library 126 registers various functions for controlling an operation panel (operation panel) serving as information transmission means between the operator (user) and the main body control. Each application is registered in the OCS library 126. By executing the drawing function, drawing information such as windows, buttons, other characters and figures is displayed on the display section of the operation panel.

図2は、図1に示した実施の形態1の複合機100のハードウェア構成図である。図2に示すように、この複合機100は、CPU202、SDRAM203、SRAM208、フラッシュメモリ204、およびHD205などをASIC201に接続したコントローラボード200と、オペレーションパネル210と、ファックスコントロールユニット(FCU)220と、USB230と、IEEE1394 240と、プリンタ250とから構成されている。オペレーションパネル210はASIC201に直接接続され、FCU220、USB230、IEEE1394 240およびプリンタ250はPCIバスを介してASIC201に接続されている。フラッシュメモリ204には、上述の各アプリ、プラットホーム120を構成する各コントロールサービスやSRM123の各プログラムが格納されている。   FIG. 2 is a hardware configuration diagram of the multifunction peripheral 100 according to the first embodiment shown in FIG. As shown in FIG. 2, the multifunction peripheral 100 includes a controller board 200 in which a CPU 202, SDRAM 203, SRAM 208, flash memory 204, HD 205, and the like are connected to the ASIC 201, an operation panel 210, a fax control unit (FCU) 220, It comprises a USB 230, an IEEE1394 240, and a printer 250. The operation panel 210 is directly connected to the ASIC 201, and the FCU 220, USB 230, IEEE1394 240, and printer 250 are connected to the ASIC 201 via the PCI bus. The flash memory 204 stores the above-described applications and control services that constitute the platform 120 and programs of the SRM 123.

オペレーションパネル210は、ユーザが複合機100に対して機能選択などの指示を与える操作パネルである。オペレーションパネル210は、タッチパネルなどの表示部を備えており、この表示部にプリンタアプリ111、コピーアプリ112、ファックスアプリ113およびスキャナアプリ114から各機能の選択指示、倍率指定、ソート、ステイプルなどの機能選択指示、OK、キャンセルなどの選択指示のボタンや、ウィンドウ、その他文字、図形などの描画データがOCSライブラリ126経由で表示される。   The operation panel 210 is an operation panel in which a user gives an instruction for selecting a function to the multifunction peripheral 100. The operation panel 210 includes a display unit such as a touch panel. Functions such as a selection instruction for each function, magnification specification, sorting, and stapling from the printer application 111, the copy application 112, the fax application 113, and the scanner application 114 are provided on the display unit. Selection instruction buttons such as selection instruction, OK, and cancel, and drawing data such as windows, other characters, and graphics are displayed via the OCS library 126.

また、オペレーションパネル210の表示部(タッチパネル)に表示されたボタンなどのキーをユーザが押下する(触れる)ことによって、ユーザが押下したキー操作がSCS122においてキーイベントとして通知される。   Further, when the user presses (touches) a key such as a button displayed on the display unit (touch panel) of the operation panel 210, the key operation pressed by the user is notified as a key event in the SCS 122.

図3は、実施の形態1にかかるキーモニタ117の構成を示すブロック図である。図3に示すようにキーモニタ117は、メッセージキュー311と、SCSデータ処理部301と、OCSデータ処理部302と、リモートデータ処理部303と、データ判定処理部304と、保存データ読み込み部305と、データ再生部306と、データ印刷部307と、データ保存部308とを備えた構成となっている。ここで、SCSデータ処理部301は本発明におけるキーイベント処理手段を、OCSデータ処理部302は本発明における描画情報処理手段を、保存データ読み込み部305は本発明における保存データ取得手段を、データ再生部306は本発明における再生手段を、データ保存部308は本発明におけるキーイベント保存手段および描画情報保存手段をそれぞれ構成する。   FIG. 3 is a block diagram of a configuration of the key monitor 117 according to the first embodiment. As shown in FIG. 3, the key monitor 117 includes a message queue 311, an SCS data processing unit 301, an OCS data processing unit 302, a remote data processing unit 303, a data determination processing unit 304, and a stored data reading unit 305. A data reproduction unit 306, a data printing unit 307, and a data storage unit 308 are provided. Here, the SCS data processing unit 301 is a key event processing unit in the present invention, the OCS data processing unit 302 is a drawing information processing unit in the present invention, and a stored data reading unit 305 is a stored data acquisition unit in the present invention. The unit 306 constitutes reproduction means in the present invention, and the data storage unit 308 constitutes key event storage means and drawing information storage means in the present invention.

メッセージキュー311は、SCSプロセス122、アプリケーション130(各アプリ111〜114)、NCS128から送信されてきたメッセージを蓄積しておくものである。このメッセージキュー311には、SCSプロセス122からはキーイベント情報が送信され、アプリ111〜114からは描画情報が送信されて格納される。また、LANなどのネットワーク330に接続されたリモートPC320から送信されたコマンドがNCSプロセス128を介してメッセージキュー311に格納される。   The message queue 311 stores messages transmitted from the SCS process 122, the application 130 (each application 111 to 114), and the NCS 128. In this message queue 311, key event information is transmitted from the SCS process 122, and drawing information is transmitted and stored from the applications 111 to 114. A command transmitted from a remote PC 320 connected to a network 330 such as a LAN is stored in the message queue 311 via the NCS process 128.

図4は、メッセージキュー311に送信されるメッセージのデータ構造図である。図4に示す通り、メッセージは、メッセージの発信元を示す発信元と、キーイベントや描画情報を生成、使用するアプリケーションを示すアプリIDと、メッセージの種類を示すデータ属性と、データの各フィールドとから構成される。   FIG. 4 is a data structure diagram of a message transmitted to the message queue 311. As shown in FIG. 4, the message includes a sender that indicates the sender of the message, an application ID that indicates an application that generates and uses key events and drawing information, a data attribute that indicates the type of message, and each field of data. Consists of

発信元フィールドには「SCS」、「OCS」、「内部」、「リモート」のコードが各発信元で格納されて送信される。ここで、メッセージがリモートPC320から送信されたコマンドである場合には、発信元に「リモート」が設定される。なお、発信元が「内部」の場合には、ハードディスク105に格納された履歴データであることを示すが、実施の形態1のキーモニタ117では、履歴データがメッセージキュー311には送信されることはない。   Codes of “SCS”, “OCS”, “internal”, and “remote” are stored in each source and transmitted in the source field. Here, when the message is a command transmitted from the remote PC 320, “remote” is set as the transmission source. Note that, when the transmission source is “internal”, this indicates that the history data is stored in the hard disk 105, but the history data is transmitted to the message queue 311 in the key monitor 117 of the first embodiment. There is no.

データ属性フィールドには、「キーイベント」、「描画」、「コマンド」の各コードが発信元で格納される。「キーイベント」の場合にはメッセージがキーイベント情報であることを、「描画」である場合にはメッセージが描画情報であることを、「コマンド」である場合にはメッセージがコマンドであることを示す。ここで、データ属性が描画情報である場合には、その発信元は「OCS」である場合と、「内部」である場合の2通りがある。「内部」である場合とは、ハードディスク105に格納された履歴データの中の描画情報のときが該当する。   In the data attribute field, codes of “key event”, “drawing”, and “command” are stored at the transmission source. In the case of “key event”, the message is key event information, in the case of “drawing”, the message is drawing information, and in the case of “command”, the message is a command. Show. Here, when the data attribute is drawing information, there are two types, that is, a case where the transmission source is “OCS” and a case where it is “internal”. The case of “internal” corresponds to the drawing information in the history data stored in the hard disk 105.

データフィールドは、キーイベント情報、描画情報、コマンドの各データ属性によって格納されるデータが異なっている。図5(a)は、メッセージキュー311に格納される(すなわち、SCSデータ処理部301による処理前の)キーイベント情報のデータ構造図である。図5(a)に示すように、キーイベント情報では、発信元フィールドに「SCS」が、データ属性フィールドに「キーイベント」が発信元のSCSで設定される。また、キーコードフィールドには、オペレーションパネル210で操作されたキーの識別コードであるキーコードが設定されており、キー押下状態フィールドではキーが押下されたか否かを、キー有効/無効フィールドではキーコードに対応するキーが有効であるか否かを示すコードが設定されている。   The data stored in the data field differs depending on the data attributes of key event information, drawing information, and command. FIG. 5A is a data structure diagram of key event information stored in the message queue 311 (that is, before processing by the SCS data processing unit 301). As shown in FIG. 5A, in the key event information, “SCS” is set in the transmission source field, and “key event” is set in the data attribute field in the SCS of the transmission source. In the key code field, a key code which is an identification code of the key operated on the operation panel 210 is set. In the key pressed state field, whether or not the key is pressed is set. In the key valid / invalid field, the key code is set. A code indicating whether or not the key corresponding to the code is valid is set.

図6(a)は、メッセージキュー311に格納される(すなわち、OCSデータ処理部302による処理前の)描画情報のデータ構造図である。図6(a)に示すように、描画情報では、発信元フィールドに「OCS」が、データ属性フィールドに「描画」が発信元のアプリ111〜114のOCSライブラリ126で設定される。描画データフィールドには、ウィンドウID、ボタンなどの網掛け表示などの属性を示すアイテムID、文字情報、図形情報などの描画データが発信元のアプリ111〜114のOCSライブラリ126で設定される。   FIG. 6A is a data structure diagram of drawing information stored in the message queue 311 (that is, before processing by the OCS data processing unit 302). As shown in FIG. 6A, in the drawing information, “OCS” is set in the transmission source field, and “drawing” is set in the data attribute field in the OCS library 126 of the application 111 to 114 of the transmission source. In the drawing data field, drawing data such as a window ID, an item ID indicating an attribute such as a shaded display such as a button, character information, and graphic information is set in the OCS library 126 of the transmission source application 111 to 114.

図7は、メッセージキュー311に格納されるコマンドのデータ構造図である。図7に示すように、コマンドの場合には発信元フィールドに「リモート」が、データ属性フィールドに「コマンド」が発信元のリモートPC320で設定される。また、コマンドデータフィールドには、記録コマンド、再生コマンドなどのコマンドごとの識別データが発信元のリモートPC320で設定される。   FIG. 7 is a data structure diagram of commands stored in the message queue 311. As shown in FIG. 7, in the case of a command, “remote” is set in the transmission source field, and “command” is set in the data attribute field on the remote PC 320 as the transmission source. In the command data field, identification data for each command such as a recording command and a reproduction command is set by the remote PC 320 that is the transmission source.

SCSデータ処理部301は、キーモニタ117のプロセス内で生成され動作するスレッドであり、メッセージキュー311からキーイベント情報を取得して、データ解析、タイムスタンプの付加を行う。
OCSデータ処理部302は、キーモニタ117のプロセス内で生成され動作するスレッドであり、メッセージキュー311から描画情報を取得して、データ解析、タイムスタンプの付加を行う。
The SCS data processing unit 301 is a thread that is generated and operates in the process of the key monitor 117, acquires key event information from the message queue 311, performs data analysis, and adds a time stamp.
The OCS data processing unit 302 is a thread that is generated and operates in the process of the key monitor 117, acquires drawing information from the message queue 311, performs data analysis, and adds a time stamp.

図9は、SCSデータ処理部301およびOCSデータ処理部302で行われるデータ処理の手順を示すフローチャートである。まず各データ処理部301、302では、一定間隔ごとにメッセージキュー311から処理すべきデータ(メッセージ)を検索して、処理すべきデータがある場合にはそのデータを読み出す(ステップS901)。   FIG. 9 is a flowchart illustrating a procedure of data processing performed by the SCS data processing unit 301 and the OCS data processing unit 302. First, the data processing units 301 and 302 retrieve data (messages) to be processed from the message queue 311 at regular intervals, and if there is data to be processed, read the data (step S901).

具体的には、SCSデータ処理部301では、メッセージキュー311から発信元「SCS」とデータ属性「キーイベント」であるデータを検索し、かかるデータがSCS122から送信されたキーイベント情報であると判断して読み出す。また、OCSデータ処理部302では、メッセージキュー311から発信元「OCS」とデータ属性「描画」であるデータを検索し、かかるデータがアプリ111〜114がOCSライブラリ126を利用して送信された描画情報であると判断して読み出す。   Specifically, the SCS data processing unit 301 searches the message queue 311 for data having the transmission source “SCS” and the data attribute “key event”, and determines that such data is the key event information transmitted from the SCS 122. And read. In addition, the OCS data processing unit 302 searches the message queue 311 for data having the transmission source “OCS” and the data attribute “drawing”, and the data is drawn by the applications 111 to 114 using the OCS library 126. It is determined to be information and is read.

つぎに、複合機100に設けられたタイマーなどからタイムスタンプとして現在時刻を取得する(ステップS902)。そして、ステップS901で読み出したデータが各データ処理部301、302で処理すべきデータの構造に適合しているか否かのデータ解析を行う(ステップS903)。   Next, the current time is acquired as a time stamp from a timer or the like provided in the multifunction device 100 (step S902). Then, data analysis is performed to determine whether or not the data read in step S901 is compatible with the data structure to be processed by the data processing units 301 and 302 (step S903).

具体的には、SCSデータ処理部301では読み出したデータが図5(a)に示すキーイベント情報のデータ構造となっているかを、OCSデータ処理部302では読み出したデータが図6(a)に示す描画情報のデータ構造となっているかを解析する。   Specifically, whether the data read by the SCS data processing unit 301 has the data structure of the key event information shown in FIG. 5A, the data read by the OCS data processing unit 302 is shown in FIG. Analyzes whether the data structure of the drawing information shown is obtained.

そして、データ解析により、読み出したデータが正しいものであるか否かを判断し(ステップS904)、正しくない場合にはその後の処理を行わずに終了する。   Then, by data analysis, it is determined whether or not the read data is correct (step S904). If the read data is not correct, the process is terminated without performing subsequent processing.

データが正しいものである場合には、ステップS902で取得した現在時刻をタイムスタンプとしてデータに付加し、さらにデータ長を付加した上で(ステップS905)、データ処理判定部304に受け渡す(ステップS906)。なお、データ判定処理部304での判定処理をより容易にするために、キーイベント情報に、データ再生、データ印刷またはデータ保存などの識別子をさらに付加する処理を行っても良い。   If the data is correct, the current time acquired in step S902 is added to the data as a time stamp, and further the data length is added (step S905), and then passed to the data processing determination unit 304 (step S906). ). In order to make the determination process in the data determination processing unit 304 easier, a process of adding an identifier such as data reproduction, data printing, or data storage to the key event information may be performed.

図5(b)は、SCSデータ処理部301による処理後のキーイベント情報のデータ構造図であり、図6(b)は、OCSデータ処理部302による処理後の描画情報のデータ構造図である。図5(b)、図6(b)に示すように、SCSデータ処理部301によるキーイベント情報の処理、OCSデータ処理部302による描画情報の処理の結果、データ長とタイムスタンプのデータが先頭に付加される。   FIG. 5B is a data structure diagram of key event information after processing by the SCS data processing unit 301, and FIG. 6B is a data structure diagram of drawing information after processing by the OCS data processing unit 302. . As shown in FIG. 5B and FIG. 6B, as a result of the processing of the key event information by the SCS data processing unit 301 and the processing of the drawing information by the OCS data processing unit 302, the data length and time stamp data are first. To be added.

リモートデータ処理部303は、リモートPC320からネットワーク経由で送信されてきたコマンドのデータ処理を行うものであり、キーモニタ117のプロセス内で生成され動作するスレッドである。ただし、SCSデータ処理部301やOCSデータ処理部302で行うタイムスタンプおよびデータ長の付加は行われない。リモートデータ処理部303では、メッセージキュー311から発信元「リモート」であるデータを検索し、かかるデータがリモートPC320から送信されたコマンドであると判断して読み出す。そして、読み出したデータの構造が図7に示すコマンドのデータ構造に適合しているか否かのデータ解析を行って、データが正しい場合には読み出したデータをデータ判定処理部304に受け渡す。   The remote data processing unit 303 performs data processing of commands transmitted from the remote PC 320 via the network, and is a thread that is generated and operates in the process of the key monitor 117. However, the time stamp and data length added by the SCS data processing unit 301 and the OCS data processing unit 302 are not added. The remote data processing unit 303 searches the message queue 311 for data that is the transmission source “remote”, and determines that such data is a command transmitted from the remote PC 320 and reads it. Then, data analysis is performed to determine whether the structure of the read data conforms to the data structure of the command shown in FIG. 7. If the data is correct, the read data is transferred to the data determination processing unit 304.

データ判定処理部304は、各データ処理部301、302、303から受け渡されたデータに対して、発信元フィールド、データ属性フィールドまたはデータフィールドをチェックして、データ再生部306、データ印刷部307、データ保存部308に受け渡すものである。具体的には、発信元が「内部」または「OCS」である場合、および発信元が「リモート」でかつデータ属性が「コマンド」でデータの内容が再生コマンドである場合には、データをデータ再生部306に受け渡す。従って、データ再生部306には、履歴データ、図6(b)に示す描画情報および図7の構造の再生コマンドが入力される。   The data determination processing unit 304 checks the source field, the data attribute field, or the data field for the data delivered from the data processing units 301, 302, and 303, and the data reproduction unit 306 and the data printing unit 307. To the data storage unit 308. Specifically, when the transmission source is “internal” or “OCS”, and when the transmission source is “remote”, the data attribute is “command”, and the data content is a reproduction command, the data is stored as data. Transfer to the playback unit 306. Accordingly, the history data, the drawing information shown in FIG. 6B, and the playback command having the structure shown in FIG. 7 are input to the data playback unit 306.

データ判定処理部304は、発信元が「SCS」または「OCS」である場合には、データをデータ印刷部307およびデータ保存部308に受け渡す。従って、データ印刷部307とデータ保存部308には、図5(b)および図6(b)に示すタイムスタンプが付加されたキーイベント情報および描画情報が入力される。   The data determination processing unit 304 passes the data to the data printing unit 307 and the data storage unit 308 when the transmission source is “SCS” or “OCS”. Accordingly, the key event information and the drawing information to which the time stamps shown in FIGS. 5B and 6B are added are input to the data printing unit 307 and the data storage unit 308.

データ保存部308は、このタイムスタンプが付加されたキーイベント情報および描画情報を履歴データとしてハードディスク(HD)105に格納する。この際、各データの発信元フィールドを「内部」に設定した上で格納する。図8(a)は、履歴データ(内部データ)の各レコードのデータ構造図である。図8(a)に示すように、履歴データの発信元フィールドには「内部」が設定され、データフィールドはキーイベント情報または描画情報と同様のデータとなっている。ここで、履歴データは、図8(a)に示すデータを1レコードとして、経時的に収集された複数レコードから構成されている。   The data storage unit 308 stores the key event information and the drawing information to which the time stamp is added in the hard disk (HD) 105 as history data. At this time, the source field of each data is set to “internal” and stored. FIG. 8A is a data structure diagram of each record of history data (internal data). As shown in FIG. 8A, “internal” is set in the transmission source field of the history data, and the data field is the same data as the key event information or the drawing information. Here, the history data is composed of a plurality of records collected over time with the data shown in FIG. 8A as one record.

データ印刷部307は、リモートPC320から印刷コマンドが送信されたときに、キーイベント情報や描画情報をプリンタ101、102で印刷するものである。   The data printing unit 307 prints key event information and drawing information by the printers 101 and 102 when a print command is transmitted from the remote PC 320.

保存データ読み込み部305は、後述する再生モードのときに、ハードディスク105から図8(a)に示す履歴データを読み出して、データ判定処理部304に受け渡すものである。   The saved data reading unit 305 reads out the history data shown in FIG. 8A from the hard disk 105 and transfers it to the data determination processing unit 304 in a playback mode described later.

データ再生部306は、再生モード時に、SCSプロセス122に対し再生モードへ切り替えるモード切替関数の呼び出しを行い、履歴データから再生情報を生成してSCSプロセス122に送信して、履歴データに基づいたキー操作の再生を行うものである。   In the playback mode, the data playback unit 306 calls a mode switching function for switching to the playback mode to the SCS process 122, generates playback information from the history data, transmits the playback information to the SCS process 122, and generates a key based on the history data. The operation is played back.

図10は、実施の形態1のキーモニタ117のデータ再生部306によるキー操作再生処理の手順を示すフローチャートである。図10に示すように、データ再生部306は、まずデータ判定処理部304から入力したデータのデータ属性をチェックする(ステップS1001)。そしてデータ属性が「コマンド」であり、データフィールドが再生コマンドである場合には、SCSプロセス122に対して、モード切替関数呼び出しを行う(ステップS1002)。これにより、SCSプロセス122ではモード切替関数が実行されて、オペレーションパネル210からのキーイベントを遮断して、キーモニタ117からの再生情報(キーイベント情報)だけを受け付ける再生モードに移行する。   FIG. 10 is a flowchart illustrating a procedure of key operation reproduction processing by the data reproduction unit 306 of the key monitor 117 according to the first embodiment. As shown in FIG. 10, the data reproducing unit 306 first checks the data attribute of the data input from the data determination processing unit 304 (step S1001). If the data attribute is “command” and the data field is a reproduction command, the mode switching function is called to the SCS process 122 (step S1002). As a result, the SCS process 122 executes the mode switching function, blocks the key event from the operation panel 210, and shifts to a playback mode that accepts only playback information (key event information) from the key monitor 117.

データ属性が「キーイベント」である場合には、データ判定処理部304から入力されたデータがキーイベント情報の履歴データであるため、履歴データからデータ長およびタイムスタンプを削除した再生情報を生成する(ステップS1003)。図8(b)は、生成された再生情報のデータ構造図である。この再生情報は、「内部」である点のみが図5(a)に示すキーイベント情報と発信元が異なっている。そして、生成した再生情報をSCSプロセス122に送信する(ステップS1004)。この処理は、履歴データに含まれるすべてのレコードのキーイベント情報について行われる。また、このような複数の再生情報の送信は、ステップS1003で削除したタイムスタンプと次の履歴データ中のレコードのタイムスタンプとの差の時間の間隔で行われる。従って、実際にユーザがオペレーションパネル210でキー操作した間隔と同一間隔でのキー操作が再生されることになり、より実際の操作に適合したデバッグ作業が行えることになる。   When the data attribute is “key event”, since the data input from the data determination processing unit 304 is the history data of the key event information, reproduction information in which the data length and the time stamp are deleted from the history data is generated. (Step S1003). FIG. 8B is a data structure diagram of the generated reproduction information. This reproduction information is different from the key event information shown in FIG. 5A only in that it is “internal”. Then, the generated reproduction information is transmitted to the SCS process 122 (step S1004). This process is performed for key event information of all records included in the history data. Further, such a plurality of pieces of reproduction information are transmitted at intervals of the difference between the time stamp deleted in step S1003 and the time stamp of the record in the next history data. Accordingly, the key operation at the same interval as the interval at which the user actually operated the key on the operation panel 210 is reproduced, and the debugging work more suitable for the actual operation can be performed.

一方、データ属性が「描画」である場合には、データ判定処理部304から入力されたデータが履歴データの中の描画情報とアプリ111〜114からOCSライブラリ126経由で受信した描画情報、すなわちキー操作の再生でアプリ111〜114が実行された結果生成された描画情報である。このため、両方の描画情報を比較して(ステップS1005)、一致するか否かを判断する(ステップS1006)。   On the other hand, when the data attribute is “drawing”, the data input from the data determination processing unit 304 is the drawing information in the history data and the drawing information received from the applications 111 to 114 via the OCS library 126, that is, the key. This is drawing information generated as a result of execution of the applications 111 to 114 in the reproduction of the operation. Therefore, both pieces of drawing information are compared (step S1005), and it is determined whether or not they match (step S1006).

比較の結果、一致している場合にはキー操作再生によるオペレーションパネル210への描画情報の表示が正常であると判断する。一方、一致していない場合には、キー操作再生によるオペレーションパネル210への描画情報の表示に異常があると判断し、オペレーションパネル210またはリモートPC320のユーザに対しエラー表示を行う(ステップS1007)。   If they match as a result of the comparison, it is determined that the display of the drawing information on the operation panel 210 by the key operation reproduction is normal. On the other hand, if they do not match, it is determined that there is an abnormality in the display of the drawing information on the operation panel 210 by the key operation reproduction, and an error is displayed to the user of the operation panel 210 or the remote PC 320 (step S1007).

次に、以上のように構成されたキーモニタ117を含む複合機100によりキー操作記録処理について説明する。図11は、キー操作記録処理におけるオペレーションパネル210、キーモニタ117、SCS122およびアプリ間のデータの流れを示す説明図である。図12は、キー操作記録処理の主としてキーモニタ117内部のデータの流れを示す説明図である。   Next, a key operation recording process by the multifunction peripheral 100 including the key monitor 117 configured as described above will be described. FIG. 11 is an explanatory diagram showing the flow of data among the operation panel 210, the key monitor 117, the SCS 122, and the application in the key operation recording process. FIG. 12 is an explanatory diagram showing a data flow mainly inside the key monitor 117 in the key operation recording process.

まず、リモートPC320から記録コマンドが送信されると(ステップS1201)、複合機100のNCSプロセス128はネットワーク経由で記録コマンドを受信して、キーモニタ117のメッセージキュー311に登録する(ステップS1202)。   First, when a recording command is transmitted from the remote PC 320 (step S1201), the NCS process 128 of the multifunction peripheral 100 receives the recording command via the network and registers it in the message queue 311 of the key monitor 117 (step S1202).

キーモニタ117のリモートデータ処理部303は、メッセージキュー311からこの記録コマンドを取得して(ステップS1203)、データ解析を行い、これによりキー操作記録処理が開始する。この記録コマンドはデータ判定処理部304に出力される(ステップS1204)。   The remote data processing unit 303 of the key monitor 117 acquires this recording command from the message queue 311 (step S1203), performs data analysis, and thereby starts key operation recording processing. This recording command is output to the data determination processing unit 304 (step S1204).

オペレーションパネル210でユーザのキー操作があった場合には、操作したキーのキーイベント情報がSCSプロセス122に通知される(ステップS1205)。SCSプロセス122は、通知されたキーイベント情報をそのアプリIDで指定されたアプリ111〜114に送信するとともに、メッセージ送信あるいは関数呼び出しなどのプロセス間通信によってキーモニタ117のメッセージキュー311に登録する(ステップS1206)。   When there is a user key operation on the operation panel 210, key event information of the operated key is notified to the SCS process 122 (step S1205). The SCS process 122 transmits the notified key event information to the applications 111 to 114 specified by the application ID, and registers it in the message queue 311 of the key monitor 117 by interprocess communication such as message transmission or function call ( Step S1206).

キーモニタ117のSCSデータ処理部301では、メッセージキュー311からキーイベント情報を取得して(ステップS1207)、前述したデータ解析およびタイムスタンプの付加を行って、キーイベント情報をデータ判定処理部304に受け渡す(ステップS1208)。   The SCS data processing unit 301 of the key monitor 117 acquires key event information from the message queue 311 (step S1207), performs the above-described data analysis and time stamp addition, and sends the key event information to the data determination processing unit 304. Deliver (step S1208).

データ判定処理部304では、キーイベント情報の発信元を判断して、キーイベント情報をデータ保存部308に出力する。そして、データ保存部308により、発信元を「内部」に設定した履歴データをハードディスク105に格納する。   The data determination processing unit 304 determines the transmission source of the key event information and outputs the key event information to the data storage unit 308. Then, the history data in which the transmission source is set to “internal” is stored in the hard disk 105 by the data storage unit 308.

以上のような、キーイベント情報の取得、履歴データの格納処理は、オペレーションパネル210におけるキー操作のたびに行われ、履歴データには複数のキーイベント情報が順次記録されていくことになる。   The acquisition process of key event information and the storage process of history data as described above are performed for each key operation on the operation panel 210, and a plurality of key event information is sequentially recorded in the history data.

一方、SCSプロセス122からキーイベント情報を受信したアプリ111〜114ではアプリ固有の処理を行うがこの際オペレーションパネル210に対して描画情報が出力される場合がある(ステップS1209)。このとき、アプリ111〜114は、OCSライブラリ126の描画情報送信関数を実行する。この描画情報送信関数は、アプリ111〜114が描画情報をオペレーションパネル210に出力するOCSライブラリ126の関数と一対となった関数であり、オペレーションパネル210に出力した描画情報と同一の描画情報をキーモニタ117のメッセージキュー311に送信するものである。このため、オペレーションパネル210に出力した描画情報はキーモニタ117のメッセージキュー311にも送信すされることになる(ステップS1210)。   On the other hand, the applications 111 to 114 that have received the key event information from the SCS process 122 perform application-specific processing, but at this time, drawing information may be output to the operation panel 210 (step S1209). At this time, the applications 111 to 114 execute the drawing information transmission function of the OCS library 126. This drawing information transmission function is a function that is paired with the function of the OCS library 126 that the applications 111 to 114 output the drawing information to the operation panel 210. The drawing information that is the same as the drawing information output to the operation panel 210 is the key. This is transmitted to the message queue 311 of the monitor 117. Therefore, the drawing information output to the operation panel 210 is also transmitted to the message queue 311 of the key monitor 117 (step S1210).

キーモニタ117のOCSデータ処理部302では、メッセージキュー311から描画情報を取得して(ステップS1211)、前述したデータ解析およびタイムスタンプの付加を行って、描画情報をデータ判定処理部304に受け渡す(ステップS1212)。   The OCS data processing unit 302 of the key monitor 117 acquires drawing information from the message queue 311 (step S1211), performs the above-described data analysis and time stamp addition, and passes the drawing information to the data determination processing unit 304. (Step S1212).

データ判定処理部304では、描画情報の発信元を判断して、キーイベント情報をデータ保存部308に出力する(ステップS1213)。そして、データ保存部308により、発信元を「内部」に設定した履歴データをハードディスク105に格納する(ステップS1214)。   The data determination processing unit 304 determines the source of the drawing information and outputs key event information to the data storage unit 308 (step S1213). Then, the history data in which the transmission source is set to “internal” is stored in the hard disk 105 by the data storage unit 308 (step S1214).

以上のような、描画情報の取得、履歴データの格納処理は、アプリ111〜114におけるオペレーションパネル210に対する描画情報の送信が実行されるたびに行われ、履歴データには複数の描画情報が順次記録されていくことになる。   The processing for obtaining drawing information and storing history data as described above is performed every time drawing information is transmitted to the operation panel 210 in the applications 111 to 114, and a plurality of drawing information is sequentially recorded in the history data. It will be done.

また、実施の形態1のキーモニタ117では、SCSデータ処理部301とOCSデータ処理部302がいずれもスレッドとして動作しているので、SCSデータ処理部301によるデータ処理とOCSデータ処理部302によるデータ処理が並列に実行される。従って、短時間の間、またはほぼ同時にキー操作と描画情報のオペレーションパネル210に対する出力が行われた場合でも、両データ処理を並列に実行することができ、さらにはタイムスタンプが実際の時刻とずれてしまうことがない。このようなキー操作記録処理によって、キーイベント情報および描画情報からなる履歴データがハードディスク105に格納されることになる。   In the key monitor 117 according to the first embodiment, since both the SCS data processing unit 301 and the OCS data processing unit 302 operate as threads, data processing by the SCS data processing unit 301 and data by the OCS data processing unit 302 are performed. Processing is performed in parallel. Therefore, even when key operation and output of drawing information to the operation panel 210 are performed for a short time or almost simultaneously, both data processing can be executed in parallel, and the time stamp is shifted from the actual time. There is no end. By such key operation recording processing, history data including key event information and drawing information is stored in the hard disk 105.

次に、実施の形態1にかかるキーモニタ117を含む複合機100によりキー操作再生処理について説明する。図13は、キー操作再生処理におけるオペレーションパネル210、キーモニタ117、SCS122およびアプリ間のデータの流れを示す説明図である。図14は、キー操作再生処理の主としてキーモニタ117内部のデータの流れを示す説明図である。   Next, key operation reproduction processing by the multifunction peripheral 100 including the key monitor 117 according to the first embodiment will be described. FIG. 13 is an explanatory diagram showing a data flow among the operation panel 210, the key monitor 117, the SCS 122, and the application in the key operation reproduction process. FIG. 14 is an explanatory diagram showing a data flow mainly inside the key monitor 117 in the key operation reproduction process.

まず、キー操作再生処理を行う場合には、複合機100を再起動させる。そして、すべてのプロセスとキーモニタ117が再起動したときに、リモートPC320から再生コマンドを送信する(ステップS1401)。複合機100のNCSプロセス128はネットワーク経由で再生コマンドを受信して、キーモニタ117のメッセージキュー311に登録する(ステップS1402)。   First, when performing key operation reproduction processing, the multifunction peripheral 100 is restarted. When all the processes and the key monitor 117 are restarted, a reproduction command is transmitted from the remote PC 320 (step S1401). The NCS process 128 of the multifunction device 100 receives the playback command via the network and registers it in the message queue 311 of the key monitor 117 (step S1402).

キーモニタ117のリモートデータ処理部303は、メッセージキュー311からこの再生コマンドを取得して(ステップS1403)、データ解析を行ってデータ判定処理部304に出力する(ステップS1404)。   The remote data processing unit 303 of the key monitor 117 acquires this reproduction command from the message queue 311 (step S1403), performs data analysis, and outputs it to the data determination processing unit 304 (step S1404).

データ判定処理部304では、入力されたデータの発信元が「リモート」であり、データ属性が「コマンド」で、かつコマンドデータが再生コマンドであることを認識して、再生コマンドをデータ再生部306に受け渡す(ステップS1405)。   The data determination processing unit 304 recognizes that the transmission source of the input data is “remote”, the data attribute is “command”, and the command data is a reproduction command, and the reproduction command is transmitted to the data reproduction unit 306. (Step S1405).

データ再生部306では、入力されたデータが再生コマンドであるために、SCSプロセス122に対してモード切替関数呼び出しを行い、SCS122に対して再生モードへの切替要求を行う(ステップS1406)。   Since the input data is a playback command, the data playback unit 306 calls a mode switching function to the SCS process 122 and requests the SCS 122 to switch to the playback mode (step S1406).

SCSプロセス122では、モード切替関数を実行して、再生モードに移行する。これにより、図13に示すように、SCSプロセス122は、キーモニタ117からの再生情報のみを入力して、オペレーションパネル210からのキー操作を遮断した再生モードの状態となる。   In the SCS process 122, a mode switching function is executed, and a transition is made to the playback mode. As a result, as shown in FIG. 13, the SCS process 122 enters the reproduction mode state in which only the reproduction information from the key monitor 117 is input and the key operation from the operation panel 210 is cut off.

次に、保存データ読み込み部305が、ハードディスク105に格納されている履歴データを読み込んで(ステップS1407)、データ判定処理部304へ受け渡す(ステップS1408)。履歴データは、発信元が「内部」となっているため、データ判定処理部304は履歴データをデータ再生部306へ受け渡す(ステップS1409)。   Next, the saved data reading unit 305 reads the history data stored in the hard disk 105 (step S1407), and transfers it to the data determination processing unit 304 (step S1408). Since the origin of the history data is “internal”, the data determination processing unit 304 transfers the history data to the data reproduction unit 306 (step S1409).

データ再生部306では、入力された履歴データの各レコードごとに、データ属性を判断し、データ属性が「キーイベント」である場合にはデータ長およびタイムスタンプを削除した再生情報を生成し、SCSプロセス122にメッセージ送信というプロセス間通信によって再生情報を送信する(ステップS1410)。   The data reproduction unit 306 determines the data attribute for each record of the input history data. If the data attribute is “key event”, the reproduction unit 306 generates reproduction information from which the data length and the time stamp have been deleted. The reproduction information is transmitted to the process 122 by inter-process communication called message transmission (step S1410).

SCSプロセス122では、受信した再生情報のキーコードをアプリ111〜114に送信し、これにより履歴データに基づいたキー操作再生処理が行われる。このような、データ再生部306によるSCSプロセス122に対する再生情報の送信は、履歴データを構成するレコードの中のデータ属性が「キーイベント」のすべてのレコードについて再生情報を生成して行う。このとき、再生情報の送信は、前の再生情報の生成処理で削除したタイムスタンプに示された時刻と、現在送信しようとする再生情報から削除されたタイムスタンプに示された時刻とにより算出される間隔をおいて行われる。すなわち、実際のユーザのキー操作の時間間隔をおいて、再生情報が送信され、キー操作が再生されることになる。   In the SCS process 122, the key code of the received reproduction information is transmitted to the applications 111 to 114, thereby performing key operation reproduction processing based on the history data. The transmission of reproduction information to the SCS process 122 by the data reproduction unit 306 is performed by generating reproduction information for all records having a data attribute “key event” in records constituting the history data. At this time, the transmission of the reproduction information is calculated based on the time indicated by the time stamp deleted in the previous reproduction information generation process and the time indicated by the time stamp deleted from the reproduction information to be currently transmitted. Performed at intervals. That is, the reproduction information is transmitted and the key operation is reproduced at a time interval of the actual user's key operation.

なお、データ再生部306はデータ属性が「キーイベント」の場合に再生情報を生成しているが、データ属性が「描画」で、かつ発信元が「内部」である場合には再生処理をせず、保持しておく。   Note that the data playback unit 306 generates playback information when the data attribute is “key event”. However, if the data attribute is “draw” and the source is “internal”, the data playback unit 306 performs playback processing. Keep it.

SCSプロセス122では、データ再生部306から受信した再生情報の中のキーイベントをアプリ111〜114に送信することにより、キー操作の再生を行うが、これによりアプリ111〜114がオペレーションパネル210に表示するボタンなどの描画情報を送信した場合(ステップS1411)、図12で説明したキー操作記録処理と同様に、描画情報をキーモニタ117で受信する(ステップS1412、S1413、S1414)。   In the SCS process 122, the key event in the reproduction information received from the data reproduction unit 306 is transmitted to the applications 111 to 114 to reproduce the key operation. As a result, the applications 111 to 114 are displayed on the operation panel 210. When drawing information such as a button to be transmitted is transmitted (step S1411), the drawing information is received by the key monitor 117 (steps S1412, S1413, and S1414) as in the key operation recording process described with reference to FIG.

アプリ111〜114から受信した描画情報は、発信元が「OCS」となっているため、データ判定処理部304によりデータ再生部306に送られる(ステップS1415)。この描画情報は、発信元が「OCS」で、かつデータ属性が「描画」であるため、データ再生部306では、この描画情報と履歴データの描画情報と比較して一致しているか否かを判断する。一致している場合は、キー操作によりアプリ111〜114でオペレーションパネル210に表示される描画情報は正常であると判断するが、不一致の場合には、アプリ111〜114などで異常が生じていると判断し、オペレーションパネル210またはリモートPC320にエラーの通知を行う。このように、キー操作の再生により、オペレーションパネル210に表示される描画情報が正常がどうかを判断することができるようになっている。   The drawing information received from the applications 111 to 114 is sent to the data reproduction unit 306 by the data determination processing unit 304 because the transmission source is “OCS” (step S1415). Since this drawing information has “OCS” as the transmission source and “drawing” as the data attribute, the data reproducing unit 306 determines whether or not the drawing information matches the drawing information of the history data. to decide. If they match, it is determined that the drawing information displayed on the operation panel 210 by the applications 111 to 114 by the key operation is normal. If they do not match, an abnormality has occurred in the applications 111 to 114 and the like. The error is notified to the operation panel 210 or the remote PC 320. As described above, it is possible to determine whether or not the drawing information displayed on the operation panel 210 is normal by reproducing the key operation.

このように、実施の形態1にかかる複合機100では、キーモニタ117がオペレーションパネル210からSCSプロセス122経由で、キーイベント情報をプロセス間通信によって取得し、またアプリ111〜114からオペレーションパネル210への描画情報をプロセス間通信によって取得し、タイムスタンプを付加してハードディスク105に経時的な履歴データとして格納しているので、タイムスタンプの間隔で一連のキー操作を容易に再現することができ、有益なデバッグ情報を得ることができる。   As described above, in the MFP 100 according to the first embodiment, the key monitor 117 acquires key event information from the operation panel 210 via the SCS process 122 by inter-process communication, and also from the applications 111 to 114 to the operation panel 210. Is obtained by inter-process communication, and a time stamp is added and stored as historical data over time in the hard disk 105. Therefore, a series of key operations can be easily reproduced at time stamp intervals. Useful debug information can be obtained.

また、実施の形態1の複合機100では、履歴データから再生情報を生成してSCSプロセス122に送信してキー操作の再生を行っているので、一連のキー操作の再生を繰り返し自動的に実行してすることができ、デバッグ作業効率および評価効率の向上を図ることができる。   In the MFP 100 according to the first embodiment, reproduction information is generated from the history data and transmitted to the SCS process 122 to perform key operation reproduction. Therefore, a series of key operation reproduction is repeatedly and automatically executed. It is possible to improve debugging efficiency and evaluation efficiency.

なお、上記の実施の形態にかかる複合機100では、キー操作再生処理を開始するに際し、再生コマンドをリモートPC320から複合機100に対して送信し、複合機100がその再生コマンドを受信することによりモード切替関数の呼び出しが行われるが、これ以外の方法により、複合機100において再生コマンドを生成し、モード切替関数の呼び出しを行うこともできる。   In the MFP 100 according to the above-described embodiment, when the key operation playback process is started, a playback command is transmitted from the remote PC 320 to the MFP 100, and the MFP 100 receives the playback command. Although the mode switching function is called, a reproduction command can be generated in the multi-function device 100 by another method, and the mode switching function can be called.

例えば、オペレーションパネルから特別な組み合わせのキー入力(例:“[クリア]”+“1”+“2”+“3”+“[クリア]”)があったときにモード切替関数の呼び出しをしたり、複合機100に専用キーを設け、その専用キーが押されたときにモード切替関数の呼び出しをする。
(実施の形態2)
実施の形態1にかかる複合機100は、キーイベント情報および描画情報の履歴データをハードディスク105に格納するものであったが、この実施の形態2にかかる複合機100は、さらに履歴データをリモートPC320に送信するものである。
For example, when a special combination of key inputs (eg “[Clear]” + “1” + “2” + “3” + “[Clear]”) is received from the operation panel, the mode switching function is called. Alternatively, a dedicated key is provided in the multifunction device 100, and the mode switching function is called when the dedicated key is pressed.
(Embodiment 2)
The MFP 100 according to the first embodiment stores the history data of the key event information and the drawing information in the hard disk 105. However, the MFP 100 according to the second embodiment further stores the history data on the remote PC 320. To send to.

実施の形態2にかかる複合機100の構成およびハードウェア構成は、図1および図2に示した実施の形態1の複合機100と同様であるため説明を省略する。   Since the configuration and hardware configuration of the multi-function device 100 according to the second embodiment are the same as those of the multi-function device 100 according to the first embodiment shown in FIG. 1 and FIG.

図15は、主としてキーモニタ117の構成およびキー操作記録時のデータの流れを示した説明図である。図15に示すように実施の形態2の複合機100では、共有メモリ107とログ生成部129とを備えている点が実施の形態1の複合機100と異なる。   FIG. 15 is an explanatory diagram mainly showing the configuration of the key monitor 117 and the data flow during key operation recording. As shown in FIG. 15, the MFP 100 according to the second embodiment is different from the MFP 100 according to the first embodiment in that a shared memory 107 and a log generation unit 129 are provided.

ログ生成部129は複合機100で動作するプロセスであり、後述する共有メモリ107からキーイベント情報および描画情報を取得して履歴データを生成し、生成された履歴データをNCSプロセス128を介してネットワークに接続されたリモートPC320に送信するとともに、ハードディスク105に格納する。また、ログ生成部129は、ハードディスク105に格納された履歴データを共有メモリ107に格納する。このログ生成部129は本発明におけるキーイベント保存手段および描画情報保存手段を構成する。なお、ログ生成部129を、リモートPC320から履歴データを受信して共有メモリ107に格納するように構成しても良い。   The log generation unit 129 is a process that operates on the multifunction peripheral 100, acquires key event information and drawing information from the shared memory 107 described later, generates history data, and generates the generated history data via the NCS process 128 via a network. Are transmitted to the remote PC 320 connected to the PC and stored in the hard disk 105. In addition, the log generation unit 129 stores the history data stored in the hard disk 105 in the shared memory 107. The log generation unit 129 constitutes a key event storage unit and a drawing information storage unit in the present invention. The log generation unit 129 may be configured to receive history data from the remote PC 320 and store it in the shared memory 107.

共有メモリ107は、SDRAM203に確保され、キーモニタ117のプロセスとログ生成部129のプロセスから共通にアクセス可能な領域である。   The shared memory 107 is an area secured in the SDRAM 203 and accessible in common from the process of the key monitor 117 and the process of the log generation unit 129.

つぎに、このように構成された実施の形態2にかかる複合機100におけるキー操作記録処理について説明する。リモートPC320からの記録コマンドの送信からキーイベント情報および描画情報のデータ保存部308への受け渡しまでの処理(ステップS1501〜S1513)については、実施の形態1の複合機100で説明した図12の処理と同様であるため説明を省略する。   Next, a key operation recording process in the MFP 100 according to the second embodiment configured as described above will be described. The processing (steps S1501 to S1513) from the transmission of the recording command from the remote PC 320 to the delivery of the key event information and drawing information to the data storage unit 308 (steps S1501 to S1513) in FIG. 12 described in the MFP 100 of the first embodiment. Since it is the same as that, description is abbreviate | omitted.

データ保存部308は、タイムスタンプが付加されたキーイベント情報(図5(b))および描画情報(図6(b))を共有メモリ107を利用したプロセス間通信によってログ生成部129に送信する。すなわち、データ保存部308は、タイムスタンプが付加されたキーイベント情報(図5(b))および描画情報(図6(b))を共有メモリ107に書き込む(ステップS1514)。一方、ログ生成部129のプロセスは、共有メモリ107にアクセスして共有メモリ107からキーイベント情報および描画情報を取得することにより(ステップS1515)、両者のプロセス間通信によるキーイベント情報および描画情報の受け渡しが行われる。   The data storage unit 308 transmits the key event information (FIG. 5B) and the drawing information (FIG. 6B) to which the time stamp is added to the log generation unit 129 by inter-process communication using the shared memory 107. . That is, the data storage unit 308 writes the key event information (FIG. 5B) and the drawing information (FIG. 6B) to which the time stamp is added to the shared memory 107 (step S1514). On the other hand, the process of the log generation unit 129 accesses the shared memory 107 and obtains key event information and drawing information from the shared memory 107 (step S1515), whereby the key event information and drawing information of both processes are communicated. Delivery takes place.

ログ生成部129は、共有メモリ107から読み込んだ複数のキーイベント情報および複数の描画情報をまとめて履歴データを生成する。そして、この履歴データをハードディスク105に格納するとともに(ステップS1516)、リモートPC320のネットワークアドレスを指定して、NCSプロセス128を介してネットワーク経由でリモートPC320に送信する(ステップS1517、S1518)。   The log generation unit 129 generates history data by combining a plurality of key event information and a plurality of drawing information read from the shared memory 107. The history data is stored in the hard disk 105 (step S1516), and the network address of the remote PC 320 is designated and transmitted to the remote PC 320 via the network via the NCS process 128 (steps S1517 and S1518).

一方、キー操作再生処理において、キーモニタ117が履歴データを読み出す場合には、まずログ生成部129がハードディスク105から履歴データを読み込んで(ステップS1519)、共有メモリ107に書き込む(ステップS1520)。そして、キーモニタ117の保存データ読み込み部305が共有メモリ107をアクセスして、共有メモリ107に記憶されている履歴データを読み出す(ステップS1521)、というログ生成部129のプロセスとキーモニタ117のプロセス間通信によって、履歴データが取得される。これ以降のキー操作再生処理の手順は、図14で説明した実施の形態1の複合機100の場合と同様であるので説明を省略する。   On the other hand, in the key operation reproduction process, when the key monitor 117 reads the history data, the log generation unit 129 first reads the history data from the hard disk 105 (step S1519) and writes it to the shared memory 107 (step S1520). Then, the log generation unit 129 process and the key monitor 117 process that the stored data reading unit 305 of the key monitor 117 accesses the shared memory 107 and reads the history data stored in the shared memory 107 (step S1521). History data is acquired by inter-communication. The subsequent key operation reproduction processing procedure is the same as that of the MFP 100 of the first embodiment described with reference to FIG.

このように実施の形態2にかかる複合機100では、履歴データをネットワークに接続されたリモートPC320に送信しているので、キーイベント情報や描画情報の履歴データをデバッグ作業を行うユーザが使用するリモートPC320に直接残すことができ、複合機100と離れた場所でデバッグ作業を行う場合にユーザにとって便宜なものとなる。
(実施の形態3)
実施の形態1および2にかかる複合機100は、キー操作再生処理の実行前に、複合機100を再起動して再生モードに移行する必要があったが、この実施の形態3にかかる複合機100は動的に再生モードに移行してキー操作再生処理を行うものである。
As described above, in the MFP 100 according to the second embodiment, since history data is transmitted to the remote PC 320 connected to the network, the history data of key event information and drawing information is used remotely by a user who performs debugging work. This can be left directly on the PC 320, which is convenient for the user when performing debugging work away from the multifunction peripheral 100.
(Embodiment 3)
The multifunction peripheral 100 according to the first and second embodiments needs to restart the multifunction peripheral 100 and shift to the reproduction mode before executing the key operation reproduction process. The multifunction peripheral according to the third embodiment Reference numeral 100 dynamically changes to the reproduction mode to perform key operation reproduction processing.

実施の形態3にかかる複合機100の構成およびハードウェア構成は、図1および図2に示した実施の形態1の複合機100と同様であるため説明を省略する。ただし、実施の形態3の複合機100において、SCS1622は、キーモニタ117を起動させる起動要求関数と、キーモニタ117のプロセスを終了する停止関数を実装している。   Since the configuration and hardware configuration of the multi-function device 100 according to the third embodiment are the same as those of the multi-function device 100 according to the first embodiment shown in FIG. 1 and FIG. However, in the MFP 100 of the third embodiment, the SCS 1622 has a start request function for starting the key monitor 117 and a stop function for ending the process of the key monitor 117.

図16は、実施の形態3の複合機100におけるキー操作再生処理の初期手順を示す説明図である。キーモニタ117によりキー操作再生処理を行う場合には、まずリモートPC320から再生コマンドを送信する(ステップS1601)。このとき、複合機100を再起動させる必要はない。   FIG. 16 is an explanatory diagram illustrating an initial procedure of key operation reproduction processing in the multifunction peripheral 100 according to the third embodiment. When the key operation reproduction process is performed by the key monitor 117, a reproduction command is first transmitted from the remote PC 320 (step S1601). At this time, it is not necessary to restart the multifunction device 100.

複合機100のNCSプロセス1628が再起動コマンドをネットワーク経由で受信すると(ステップS1602)、NCSプロセス1628はSCSプロセス1622に対し、キーモニタ起動要求関数呼び出しを行う(ステップS1603)。   When the NCS process 1628 of the MFP 100 receives the restart command via the network (step S1602), the NCS process 1628 calls the key monitor activation request function to the SCS process 1622 (step S1603).

要求を受けたSCSプロセス1622では、キーモニタ起動要求関数を実行し、これにより複合機100内でキーモニタ117のプロセスが生成され、起動される(ステップS1604)。   In response to the request, the SCS process 1622 executes the key monitor activation request function, whereby the process of the key monitor 117 is generated and activated in the multifunction peripheral 100 (step S1604).

一方、キー操作再生処理が終了した場合には、キーモニタ117のデータ再生部1666は、SCSプロセス1622に対して、終了通知イベントメッセージを送信する(ステップS1605)。この終了通知イベントメッセージを受信したSCSプロセス1622は、停止関数を実行し、これによりキーモニタ117のプロセスが消滅する(ステップS1606)。   On the other hand, when the key operation reproduction process is completed, the data reproduction unit 1666 of the key monitor 117 transmits an end notification event message to the SCS process 1622 (step S1605). The SCS process 1622 that has received this end notification event message executes a stop function, whereby the key monitor 117 process disappears (step S1606).

このように実施の形態3にかかる複合機100では、SCS1622がキーモニタ117を起動する起動関数を備えているので、キー操作再生処理を行う際に起動関数を実行することで、複合機100を再起動させる必要がなくなり、デバッグ作業時のユーザビリティを向上させることができる。   As described above, in the MFP 100 according to the third embodiment, since the SCS 1622 includes a start function for starting the key monitor 117, the start function is executed when performing the key operation reproduction process. This eliminates the need for restarting and improves usability during debugging.

また、実施の形態3にかかる複合機100では、キーモニタ117がキー操作の再生処理が終了したときにSCSプロセス1622に対し停止要求通知を行い、かかる要求を受けてSCSプロセス1622がキーモニタ117のプロセスを終了させているので、キー操作再生処理終了時に、自動的にキーモニタ117のプロセスを終了させることができ、デバッグ作業時のユーザビリティを向上させることができる。   In the MFP 100 according to the third embodiment, the key monitor 117 notifies the SCS process 1622 of a stop request when the reproduction process of the key operation is completed, and the SCS process 1622 receives the request and the key monitor 117 receives the request. Therefore, the process of the key monitor 117 can be automatically terminated at the end of the key operation reproduction process, and usability during debugging can be improved.

(実施の形態4)
実施の形態1〜3にかかる複合機100では、オペレーションパネル210から入力されたキーイベント情報は、SCS122を介してアプリケーション及びキーモニタ117に配信されるが、SCS122を介さずにオペレーションパネル210のドライバがキーイベント情報をアプリケーション及びキーモニタ177に配信する構成とすることも可能である。この構成について図17、図18を用いて説明する。
(Embodiment 4)
In the MFP 100 according to the first to third embodiments, the key event information input from the operation panel 210 is distributed to the application and the key monitor 117 via the SCS 122, but the driver of the operation panel 210 does not pass through the SCS 122. The key event information may be distributed to the application and the key monitor 177. This configuration will be described with reference to FIGS.

図17は、図1に示した複合機100と同じ複合機100を、エンジンI/Fの部分をより詳細にして示した図である。   FIG. 17 is a diagram showing the same multifunction device 100 as the multifunction device 100 shown in FIG. 1, with the engine I / F portion shown in more detail.

同図に示したように、各ハードウェアに対応してハードウェア側のドライバとOS側のドライバが備えられており、これらのドライバがエンジンI/Fを構成する。同図に示すように、実施の形態4では、OS側のOCSドライバ2102がハードウェア側のOCSドライバ2101からキーイベント情報を受信し、OS側のOCSドライバ2102がSCS122を介さずに各アプリケーション及びキーモニタ117に配信する。   As shown in the figure, a hardware-side driver and an OS-side driver are provided corresponding to each hardware, and these drivers constitute an engine I / F. As shown in the figure, in the fourth embodiment, the OS-side OCS driver 2102 receives the key event information from the hardware-side OCS driver 2101, and the OS-side OCS driver 2102 does not pass through the SCS 122. Delivered to the key monitor 117.

図18は、OCSドライバ2101、2102の構成を詳細に示した図である。同図に示すように、ハードウェア側のOCSドライバ2101では、キー操作機能部2103がオペレーションパネル210から入力されたキー操作を検出して、それをキーイベント情報として通信ドライバ2104に送信する。また、描画機能部2105が描画情報を通信ドライバ2104から受信して、オペレーションパネル210に描画データの表示を行う。また、通信ドライバ2104は、OS側のOCSドライバ2102における通信ドライバ2106にキーイベント情報を送信する。   FIG. 18 shows the configuration of the OCS drivers 2101 and 2102 in detail. As shown in the figure, in the OCS driver 2101 on the hardware side, the key operation function unit 2103 detects a key operation input from the operation panel 210 and transmits it to the communication driver 2104 as key event information. The drawing function unit 2105 receives drawing information from the communication driver 2104 and displays drawing data on the operation panel 210. Further, the communication driver 2104 transmits key event information to the communication driver 2106 in the OSC driver 2102 on the OS side.

OS側のOCSドライバ2102では、通信ドライバ2106がキーイベント情報を各アプリケーション及びキーモニタ117に配信する。また、アプリケーションからの描画情報は、ライブラリ関数2107を利用して、通信ドライバ2106からハードウェア側のOCSドライバ2101に送られる。   In the OSC driver 2102 on the OS side, the communication driver 2106 distributes key event information to each application and the key monitor 117. The drawing information from the application is sent from the communication driver 2106 to the hardware-side OCS driver 2101 using the library function 2107.

なお、同図の点線の丸で囲んだ部分は、実施の形態1〜3における構成である。この場合には、キーイベント情報がSCS122に渡され、そこから各アプリケーションに配信される。今回の実施の形態4では、キーイベント情報の配信に関しては点線の丸で囲んだ部分の機能は使用されない。   In addition, the part enclosed with the dotted-line circle of the same figure is the structure in Embodiment 1-3. In this case, the key event information is passed to the SCS 122 and distributed from there to each application. In the present fourth embodiment, the function enclosed by the dotted circle is not used for the distribution of the key event information.

上記のように、実施の形態4によれば、SCS122を介さなくても、キーイベント情報をアプリケーション及びキーモニタ117に配信することが可能となる。なお、キーイベント情報をSCS122を介さずにアプリケーション及びキーモニタ117に送る部分以外は、実施の形態1〜3と同じ構成をとることができる。   As described above, according to the fourth embodiment, key event information can be distributed to the application and the key monitor 117 without using the SCS 122. It should be noted that the same configuration as that of the first to third embodiments can be adopted except that the key event information is sent to the application and the key monitor 117 without passing through the SCS 122.

なお、実施の形態1〜3にかかる複合機100では、キーイベント情報や描画情報に付加されたタイムスタンプからキー操作の間隔を算出しているが、履歴データ作成時に、あらかじめタイムスタンプからキー操作の間隔を算出して、履歴データ中に格納するように構成することができる。   In the MFP 100 according to the first to third embodiments, the key operation interval is calculated from the time stamp added to the key event information or the drawing information. Can be calculated and stored in the history data.

実施の形態1〜3にかかる複合機100では、いずれもキーモニタ117をコントロールサービス層に設け、アプリケーションとのデータの送受信においてアプリケーションプログラムインタフェースを利用可能な構成となっているが、この他、アプリケーション層に例えばキーモニタアプリとして設けるように構成しても良い。   In the MFP 100 according to the first to third embodiments, the key monitor 117 is provided in the control service layer, and the application program interface can be used for data transmission / reception with the application. For example, the layer may be provided as a key monitor application.

実施の形態1にかかる複合機の構成を示すブロック図である。1 is a block diagram illustrating a configuration of a multifunction machine according to a first embodiment. 実施の形態1の複合機のハードウェア構成図である。2 is a hardware configuration diagram of the multifunction machine according to Embodiment 1. FIG. 実施の形態1にかかる複合機におけるキーモニタの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a key monitor in the multifunction machine according to the first embodiment. 実施の形態1にかかる複合機において、メッセージキューに送信されるメッセージのデータ構造図である。4 is a data structure diagram of a message transmitted to a message queue in the multi-function peripheral according to the first embodiment. FIG. 図5(a)は、実施の形態1にかかる複合機において、メッセージキューに格納されるキーイベント情報のデータ構造図である。図5(b)は、SCSデータ処理部による処理後のキーイベント情報のデータ構造図である。FIG. 5A is a data structure diagram of key event information stored in the message queue in the multi-function peripheral according to the first embodiment. FIG. 5B is a data structure diagram of key event information after processing by the SCS data processing unit. 図6(a)は、実施の形態1にかかる複合機において、メッセージキューに格納される描画情報のデータ構造図である。図6(b)は、OCSデータ処理部による処理後の描画情報のデータ構造図である。FIG. 6A is a data structure diagram of drawing information stored in the message queue in the multi-function peripheral according to the first embodiment. FIG. 6B is a data structure diagram of drawing information after processing by the OCS data processing unit. 実施の形態1にかかる複合機において、メッセージキューに格納されるコマンドのデータ構造図である。FIG. 3 is a data structure diagram of commands stored in a message queue in the multi-function peripheral according to the first embodiment. 図8(a)は、実施の形態1にかかる複合機において、履歴データの各レコードのデータ構造図である。図8(b)は、実施の形態1にかかる複合機において生成された再生情報のデータ構造図である。FIG. 8A is a data structure diagram of each record of history data in the MFP according to the first embodiment. FIG. 8B is a data structure diagram of reproduction information generated in the multifunction machine according to the first embodiment. 実施の形態1にかかる複合機におけるキーモニタ117のSCSデータ処理部およびOCSデータ処理部で行われるデータ処理の手順を示すフローチャートである。4 is a flowchart illustrating a procedure of data processing performed by an SCS data processing unit and an OCS data processing unit of the key monitor 117 in the multifunction peripheral according to the first embodiment. 実施の形態1にかかる複合機におけるキーモニタ117のデータ再生部306によるキー操作再生処理の手順を示すフローチャートである。6 is a flowchart showing a procedure of key operation reproduction processing by a data reproduction unit 306 of the key monitor 117 in the multifunction peripheral according to the first embodiment. 実施の形態1にかかる複合機において、キー操作記録処理におけるオペレーションパネル、キーモニタ、SCSおよびアプリ間のデータの流れを示す説明図である。FIG. 6 is an explanatory diagram illustrating a data flow between an operation panel, a key monitor, an SCS, and an application in a key operation recording process in the multifunction peripheral according to the first embodiment. 実施の形態1にかかる複合機において、キー操作記録処理の主としてキーモニタ内部のデータの流れを示す説明図である。FIG. 6 is an explanatory diagram mainly showing a data flow inside a key monitor in a key operation recording process in the multifunction machine according to the first embodiment; 実施の形態1にかかる複合機において、キー操作再生処理におけるオペレーションパネル、キーモニタ、SCSおよびアプリ間のデータの流れを示す説明図である。FIG. 6 is an explanatory diagram illustrating a data flow among an operation panel, a key monitor, an SCS, and an application in a key operation reproduction process in the multifunction peripheral according to the first embodiment. 実施の形態1にかかる複合機において、キー操作再生処理の主としてキーモニタ117内部のデータの流れを示す説明図である。FIG. 6 is an explanatory diagram mainly showing a data flow in a key monitor 117 in key operation reproduction processing in the multifunction machine according to the first embodiment; 実施の形態2にかかる複合機において、主としてキーモニタの構成およびキー操作記録時のデータの流れを示した説明図である。FIG. 9 is an explanatory diagram mainly showing the configuration of a key monitor and the flow of data during key operation recording in the multifunction machine according to the second embodiment. 実施の形態3にかかる複合機において、キー操作再生処理の初期手順を示す説明図である。FIG. 10 is an explanatory diagram illustrating an initial procedure of key operation reproduction processing in the multifunction machine according to the third embodiment; 実施の形態4において、図1に示した複合機を、エンジンI/Fの部分をより詳細にして示した図である。In Embodiment 4, it is the figure which showed the engine I / F part in detail about the multifunctional machine shown in FIG. 実施の形態4において、OCSドライバ2101、2102の構成を詳細に示した図である。In Embodiment 4, it is the figure which showed the structure of OCS driver 2101 and 2102 in detail.

符号の説明Explanation of symbols

100 複合機
101 白黒ラインプリンタ
102 カラーラインプリンタ
103 スキャナ
104 ファクシミリ
105 ハードディスク(HD)
106 ネットワークインタフェース
107 共有メモリ
110 ソフトウェア群
111 プリンタアプリ
112 コピーアプリ
113 ファックスアプリ
114 スキャナアプリ
115 ネットファイルアプリ
117 キーモニタ
120 プラットホーム
121 汎用OS
122 1622 SCS
123 SRM
124 ECS
125 MCS
126 OCSライブラリ
127 FCS
128,1628 NCS
129 ログ生成部
130 アプリケーション
200 コントローラボード
201 ASIC
202 CPU
203 SDRAM(RAM)
204 フラッシュメモリ(ROM)205 HD
208 SRAM
210 オペレーションパネル
230 USB
240 IEEE1394
250 プリンタ
301 SCSデータ処理部
302 OCSデータ処理部
303 リモートデータ処理部
304 データ判定処理部
305 保存データ読み込み部
306 データ再生部
307 データ印刷部
308 データ保存部
311 メッセージキュー
330 ネットワーク
2101、2102 OCSドライバ
2104、2106 通信ドライバ
100 MFP 101 Monochrome Line Printer 102 Color Line Printer 103 Scanner 104 Facsimile 105 Hard Disk (HD)
106 Network interface 107 Shared memory 110 Software group 111 Printer application 112 Copy application 113 Fax application 114 Scanner application 115 Net file application 117 Key monitor 120 Platform 121 General-purpose OS
122 1622 SCS
123 SRM
124 ECS
125 MCS
126 OCS Library 127 FCS
128, 1628 NCS
129 Log generation unit 130 Application 200 Controller board 201 ASIC
202 CPU
203 SDRAM (RAM)
204 Flash memory (ROM) 205 HD
208 SRAM
210 Operation panel 230 USB
240 IEEE 1394
250 Printer 301 SCS Data Processing Unit 302 OCS Data Processing Unit 303 Remote Data Processing Unit 304 Data Determination Processing Unit 305 Saved Data Reading Unit 306 Data Reproducing Unit 307 Data Printing Unit 308 Data Storage Unit 311 Message Queue 330 Network 2101, 2102 OCS Driver 2104 2106 Communication driver

Claims (13)

オペレーションパネルと、画像形成にかかる処理を実行し、前記オペレーションパネルに対して描画情報を出力するためのアプリケーションプロセスとして動作するアプリケーションと、を備えた画像形成装置において、前記オペレーションパネルに出力される描画情報を取得する描画情報取得方法であって、
前記画像形成装置における描画情報取得手段が、前記描画情報を、プロセス間通信によって前記アプリケーションプロセスから受信する描画情報取得ステップを含んだことを特徴とする描画情報取得方法。
A drawing output to the operation panel in an image forming apparatus comprising an operation panel and an application that executes processing relating to image formation and operates as an application process for outputting drawing information to the operation panel A drawing information acquisition method for acquiring information,
A drawing information acquisition method, wherein the drawing information acquisition means in the image forming apparatus includes a drawing information acquisition step of receiving the drawing information from the application process by inter-process communication.
前記描画情報取得ステップにおいて、前記描画情報取得手段は、前記オペレーションパネルを管理する関数と対応した描画情報送信関数の呼び出しを前記アプリケーションプロセスから受けることにより、前記描画情報を受信することを特徴とする請求項1に記載の描画情報取得方法。   In the drawing information acquisition step, the drawing information acquisition means receives the drawing information by receiving a call of a drawing information transmission function corresponding to a function for managing the operation panel from the application process. The drawing information acquisition method according to claim 1. 前記アプリケーションから受信した複数の描画情報を、描画履歴データとして記憶手段に格納する描画情報保存ステップをさらに含んだことを特徴とする請求項1または2に記載の描画情報取得方法。   The drawing information acquisition method according to claim 1, further comprising a drawing information storing step of storing a plurality of drawing information received from the application as drawing history data in a storage unit. 前記描画情報取得手段は、前記描画情報取得ステップにおいて、前記受信した描画情報に時刻情報を付加し、前記描画情報保存ステップにおいて、前記時刻情報が付加された描画情報を、前記描画履歴データとして前記記憶手段に格納することを特徴とする請求項3に記載の描画情報取得方法。   The drawing information acquisition means adds time information to the received drawing information in the drawing information acquisition step, and uses the drawing information to which the time information is added as the drawing history data in the drawing information storage step. The drawing information acquisition method according to claim 3, wherein the drawing information is stored in a storage unit. 前記画像形成装置が、前記描画履歴データをネットワークに接続された端末に送信するステップをさらに有することを特徴とする請求項3または4に記載の描画情報取得方法。   The drawing information acquiring method according to claim 3, further comprising a step of the image forming apparatus transmitting the drawing history data to a terminal connected to a network. 請求項1ないし5のうちいずれか1項に記載の描画情報取得方法における各ステップを前記画像形成装置に実行させるプログラム。   A program for causing the image forming apparatus to execute each step in the drawing information acquisition method according to claim 1. オペレーションパネルと、画像形成にかかる処理を実行し、前記オペレーションパネルに対して描画情報を出力するためのアプリケーションプロセスとして動作するアプリケーションと、を備えた画像形成装置であって、
前記アプリケーションプロセスが前記オペレーションパネルに出力する描画情報を、プロセス間通信によって前記アプリケーションから受信する描画情報取得手段を備えたことを特徴とする画像形成装置。
An image forming apparatus comprising: an operation panel; and an application that executes processing related to image formation and operates as an application process for outputting drawing information to the operation panel.
An image forming apparatus, comprising: a drawing information acquisition unit configured to receive drawing information output from the application process to the operation panel from the application by inter-process communication.
前記描画情報取得手段は、前記アプリケーションプロセスをクライアントとしたサーバプロセスとして動作し、
前記アプリケーションプロセスは、前記オペレーションパネルを制御する関数と対応した描画情報送信関数を定義したオペレーションパネルコントロールサービスライブラリにおける前記描画情報送信関数を実行することにより、前記描画情報を前記描画情報取得手段に送信することを特徴とする請求項7に記載の画像形成装置。
The drawing information acquisition unit operates as a server process using the application process as a client,
The application process transmits the drawing information to the drawing information acquisition unit by executing the drawing information transmission function in an operation panel control service library that defines a drawing information transmission function corresponding to a function for controlling the operation panel. The image forming apparatus according to claim 7.
前記アプリケーションプロセスから受信した複数の描画情報を、描画履歴データとして記憶手段に格納する描画情報保存手段をさらに備えたことを特徴とする請求項7または8に記載の画像形成装置。   The image forming apparatus according to claim 7, further comprising a drawing information storage unit that stores a plurality of drawing information received from the application process in a storage unit as drawing history data. 前記描画情報取得手段は、前記受信した描画情報に時刻情報を付加する描画情報処理手段をさらに備え、
前記描画情報保存手段は、さらに前記時刻情報が付加された描画情報を、前記描画履歴データとして前記記憶手段に格納することを特徴とする請求項9に記載の画像形成装置。
The drawing information acquisition means further comprises drawing information processing means for adding time information to the received drawing information,
The image forming apparatus according to claim 9, wherein the drawing information storage unit further stores the drawing information to which the time information is added in the storage unit as the drawing history data.
前記描画情報保存手段は、さらに前記描画履歴データをネットワークに接続された端末に送信することを特徴とする請求項9または10に記載の画像形成装置。   The image forming apparatus according to claim 9, wherein the drawing information storage unit further transmits the drawing history data to a terminal connected to a network. 前記描画情報取得手段と前記描画情報保存手段は互いに異なるプロセスとして動作し、前記描画情報取得手段と前記描画情報保存手段のプロセス間通信によって、前記描画履歴データの送受信を行うことを特徴とする請求項9ないし11のうちいずれか一つに記載の画像形成装置。   The drawing information acquisition unit and the drawing information storage unit operate as different processes, and transmit and receive the drawing history data by inter-process communication between the drawing information acquisition unit and the drawing information storage unit. Item 12. The image forming apparatus according to any one of Items 9 to 11. 前記描画情報処理手段は、前記描画情報取得手段のプロセス内部で生成されたスレッドであることを特徴とする請求項10に記載の画像形成装置。   The image forming apparatus according to claim 10, wherein the drawing information processing unit is a thread generated within a process of the drawing information acquisition unit.
JP2006129487A 2001-09-28 2006-05-08 Drawing information acquiring method, program for executing this method by computer, and image forming device Pending JP2006260596A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006129487A JP2006260596A (en) 2001-09-28 2006-05-08 Drawing information acquiring method, program for executing this method by computer, and image forming device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2001304660 2001-09-28
JP2006129487A JP2006260596A (en) 2001-09-28 2006-05-08 Drawing information acquiring method, program for executing this method by computer, and image forming device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002283753A Division JP2003216310A (en) 2001-09-28 2002-09-27 Key operation monitoring method, plotting information acquiring method, key operation reproducing method, program for making computer execute the same method and image forming device

Publications (1)

Publication Number Publication Date
JP2006260596A true JP2006260596A (en) 2006-09-28

Family

ID=37099674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006129487A Pending JP2006260596A (en) 2001-09-28 2006-05-08 Drawing information acquiring method, program for executing this method by computer, and image forming device

Country Status (1)

Country Link
JP (1) JP2006260596A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010114848A (en) * 2008-11-10 2010-05-20 Seiko Epson Corp Request-processing apparatus
US8749814B2 (en) 2008-05-28 2014-06-10 Ricoh Company, Ltd. Image forming device, log recording method, and computer-readable recording medium
JP2015026232A (en) * 2013-07-26 2015-02-05 株式会社リコー Service provision system, information collection method, and program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07248943A (en) * 1994-03-08 1995-09-26 Ricoh Co Ltd Log record management device
JPH11212820A (en) * 1998-01-30 1999-08-06 Toshiba Corp System and method for tracing program execution process
JP2000227864A (en) * 1999-02-05 2000-08-15 Ricoh Co Ltd Software system for image input/output device
JP2001051876A (en) * 1999-08-09 2001-02-23 Fuji Xerox Co Ltd Usability evaluating device
JP2001166968A (en) * 1999-12-07 2001-06-22 Ricoh Co Ltd Key logging system and copying machine to which the same system is applied

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07248943A (en) * 1994-03-08 1995-09-26 Ricoh Co Ltd Log record management device
JPH11212820A (en) * 1998-01-30 1999-08-06 Toshiba Corp System and method for tracing program execution process
JP2000227864A (en) * 1999-02-05 2000-08-15 Ricoh Co Ltd Software system for image input/output device
JP2001051876A (en) * 1999-08-09 2001-02-23 Fuji Xerox Co Ltd Usability evaluating device
JP2001166968A (en) * 1999-12-07 2001-06-22 Ricoh Co Ltd Key logging system and copying machine to which the same system is applied

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8749814B2 (en) 2008-05-28 2014-06-10 Ricoh Company, Ltd. Image forming device, log recording method, and computer-readable recording medium
US9047031B2 (en) 2008-05-28 2015-06-02 Ricoh Company, Ltd. Process-related record information recording device and method
JP2010114848A (en) * 2008-11-10 2010-05-20 Seiko Epson Corp Request-processing apparatus
JP2015026232A (en) * 2013-07-26 2015-02-05 株式会社リコー Service provision system, information collection method, and program

Similar Documents

Publication Publication Date Title
JP4420421B2 (en) Information processing apparatus and control method thereof
US7209249B2 (en) Method of and apparatus for image formation, and computer product
EP1416709B1 (en) Image forming apparatus, a scanned data process method, a computer program and a computer readable storage medium
EP1650953B1 (en) Image forming apparatus, a print process method, a computer program and a computer readable storage medium
JP4276909B2 (en) Image forming apparatus and application activation control method
JP5017143B2 (en) Image forming apparatus, data processing method, program, and storage medium
JP7305716B2 (en) IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD, AND PROGRAM
CN100361487C (en) Image forming apparatus and function key assignment method
JP5444870B2 (en) Image forming apparatus, processing method thereof, and program
JP2003216310A (en) Key operation monitoring method, plotting information acquiring method, key operation reproducing method, program for making computer execute the same method and image forming device
JP2011138396A (en) Information processing apparatus, method thereof, and program
JP2008181237A (en) Image processor and digital copying machine
JP6066006B2 (en) Image forming apparatus
JP2004030601A (en) Device and method of making application start judgment by resource information
JP2006260596A (en) Drawing information acquiring method, program for executing this method by computer, and image forming device
JP4435772B2 (en) Key operation monitoring method, program for causing computer to execute this method, and image forming apparatus
JP4268174B2 (en) Key operation reproducing method, program for causing computer to execute this method, and image forming apparatus
JP3920893B2 (en) Information processing apparatus, inter-process communication history display method, and program for causing computer to execute the method
JP3677474B2 (en) Image forming apparatus, interprocess communication history display method, and program causing computer to execute the method
JP4676977B2 (en) Image forming apparatus, application information acquisition method, and program
JP5267624B2 (en) Information processing apparatus, display control method, program, and recording medium
JP2005012829A (en) Scanner controller, scanner control system and control method
JP3798682B2 (en) Image information processing apparatus, image information processing system, interprocess communication information acquisition method, and program for causing computer to execute the method
JP3798710B2 (en) Image information processing apparatus, process information acquisition method, and program causing computer to execute the method
JP2004303205A (en) Image forming apparatus with stored document information editable by external device, and document service providing method

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090811

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100506

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101102