JP2009043078A - Simulation program and recording medium - Google Patents
Simulation program and recording medium Download PDFInfo
- Publication number
- JP2009043078A JP2009043078A JP2007208135A JP2007208135A JP2009043078A JP 2009043078 A JP2009043078 A JP 2009043078A JP 2007208135 A JP2007208135 A JP 2007208135A JP 2007208135 A JP2007208135 A JP 2007208135A JP 2009043078 A JP2009043078 A JP 2009043078A
- Authority
- JP
- Japan
- Prior art keywords
- simulator
- engine
- controller
- request
- operation panel
- 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
Links
Images
Abstract
Description
本発明は、シミュレータプログラム及び記録媒体に係り、特にエンジン及び操作パネルを制御するコントローラの動作確認を行うシミュレータプログラム、そのシミュレータプログラムを記録したコンピュータ読み取り可能な記録媒体に関する。 The present invention relates to a simulator program and a recording medium, and more particularly to a simulator program for confirming the operation of a controller that controls an engine and an operation panel, and a computer-readable recording medium on which the simulator program is recorded.
例えば複合機(MFP)等のソフトウェア及びハードウェアにより構築される機器のソフトウェアの開発は、オブジェクト単位など、細分化されることが一般的である。このようなソフトウェアの開発では、オブジェクトの動作確認を試作機等の実機により行う必要があった(例えば特許文献1参照)。
例えば複合機では、エンジン,操作パネル等のハードウェアを制御するコントローラの動作確認を行う場合、コントローラに含まれるオブジェクトの動作確認を実機により行う必要があった。したがって、複合機におけるソフトウェアの開発では、多くの実機を準備しなければならなかった。 For example, in a multi-function device, when performing operation confirmation of a controller that controls hardware such as an engine and an operation panel, it is necessary to confirm operation of an object included in the controller using an actual device. Therefore, many software developments had to be prepared for the development of software in multifunction devices.
なお、複合機におけるソフトウェアの開発では、オブジェクトの動作確認を行う実機を共有することで準備する実機を少なくすることもできる。しかし、ソフトウェアの開発はオブジェクト単位等で細分化して異なる場所や異なる会社(サードパーティ)で行う場合もある。このような場合は、オブジェクトの動作確認を行う実機を共有することが難しいため、多くの実機を準備しなければオブジェクトの効率的な動作確認ができないという問題があった。このように、ソフトウェアの開発を行う現場では、多くの実機を準備する為の経費が多く掛かっていた。したがって、ソフトウェアの開発を行う現場では、実機を用いることなくオブジェクトの動作確認ができることを望んでいた。 In the development of software in a multifunction machine, it is possible to reduce the number of actual machines that are prepared by sharing the actual machine that performs object operation confirmation. However, software development may be performed in different places or different companies (third parties) by subdividing in object units. In such a case, since it is difficult to share the actual machine for checking the operation of the object, there is a problem that the efficient operation check of the object cannot be performed unless a large number of actual machines are prepared. As described above, in the field of software development, a lot of expenses were required to prepare many actual machines. Therefore, in the field of software development, it was hoped that the operation of the object could be confirmed without using an actual machine.
本発明は、上記の点に鑑みなされたもので、実機を用いることなくエンジン及び操作パネルを制御するコントローラの動作確認を行うシミュレータプログラム及び記録媒体を提供することを目的とする。 The present invention has been made in view of the above points, and an object of the present invention is to provide a simulator program and a recording medium for confirming the operation of a controller that controls an engine and an operation panel without using an actual machine.
上記課題を解決するため、本発明は、エンジン及び操作パネルを制御するコントローラの動作確認を行う、記憶装置及び演算処理装置を含むコンピュータを、前記コントローラを構築するコントローラシミュレータ手段と、前記操作パネルを構築する操作パネルシミュレータ手段と、前記エンジンを仮想的に構築し、前記コントローラシミュレータ手段からのリクエストを受け付け、前記コントローラシミュレータ手段へ前記リクエストに応じた応答を行うエンジンシミュレータ手段として機能させるためのシミュレータプログラムであることを特徴とする。 In order to solve the above-described problems, the present invention provides a computer including a storage device and an arithmetic processing unit for confirming operation of a controller that controls an engine and an operation panel, a controller simulator means for constructing the controller, and the operation panel An operation panel simulator means to be constructed, and a simulator program for virtually constructing the engine, receiving a request from the controller simulator means, and causing the controller simulator means to function as an engine simulator means for responding to the request It is characterized by being.
なお、本発明の構成要素、表現または構成要素の任意の組合せを、方法、装置、システム、コンピュータプログラム、記録媒体、データ構造などに適用したものも本発明の態様として有効である。 In addition, what applied the component, expression, or arbitrary combination of the component of this invention to a method, an apparatus, a system, a computer program, a recording medium, a data structure, etc. is also effective as an aspect of this invention.
本発明によれば実機を用いることなくエンジン及び操作パネルを制御するコントローラの動作確認を行うシミュレータプログラム及び記録媒体を提供可能である。 According to the present invention, it is possible to provide a simulator program and a recording medium for confirming the operation of a controller that controls an engine and an operation panel without using an actual machine.
次に、本発明を実施するための最良の形態を、以下の実施例に基づき図面を参照しつつ説明していく。なお、本実施例ではエンジン及び操作パネルを制御するコントローラの一例として複合機に搭載されるものを説明するが、他の機器に搭載されるものであっても構わない。 Next, the best mode for carrying out the present invention will be described based on the following embodiments with reference to the drawings. In this embodiment, an example of a controller that controls an engine and an operation panel is described as being mounted on a multifunction peripheral. However, the controller may be mounted on another device.
図1はエンジン及び操作パネルを制御するコントローラが搭載された複合機の一例の構成図である。図1の複合機は、エンジン10,コントローラ11及び操作パネル12を有する構成である。エンジン10及びコントローラ11は、PCIバス13を介して通信を行う。また、コントローラ11及び操作パネル12は、シリアルポート14を介して通信を行う。
FIG. 1 is a configuration diagram of an example of a multifunction machine equipped with a controller for controlling an engine and an operation panel. 1 is configured to include an
本発明では、図1のような複合機のシミュレーション環境を仮想的にソフトウェアで構築することでコントローラ11に含まれるオブジェクトの動作確認を、実機を用いることなく行うことができる。
In the present invention, it is possible to confirm the operation of an object included in the
図2は、複合機のシミュレーション環境を仮想的にソフトウェアで構築する統合コントローラシミュレータ(シミュレータ)の一例の構成図である。図2の統合コントローラシミュレータは、エンジンシミュレータ20,コントローラシミュレータ21及び操作パネルシミュレータ22を有する構成である。
FIG. 2 is a configuration diagram of an example of an integrated controller simulator (simulator) that virtually constructs a simulation environment of a multifunction machine with software. The integrated controller simulator shown in FIG. 2 has an
エンジンシミュレータ20及びコントローラシミュレータ21はソケット23を介して通信を行う。コントローラシミュレータ21及び操作パネルシミュレータ22もソケット23を介して通信を行う。なお、ソケット23は、各シミュレータが通信を行う仮想的なインターフェースである。
The
各シミュレータは、同一のパーソナルコンピュータ(PC)上に搭載されている必要は無く、例えば図3に示すように、通信可能なネットワーク上に存在していればよい。図3は複合機のシミュレーション環境を仮想的にソフトウェアで構築する統合コントローラシミュレータの他の例の構成図である。 Each simulator does not need to be mounted on the same personal computer (PC), and may exist on a communicable network as shown in FIG. 3, for example. FIG. 3 is a configuration diagram of another example of an integrated controller simulator that virtually constructs a simulation environment of a multifunction machine by software.
図3の統合コントローラシミュレータは、PC30に搭載されたエンジンシミュレータ20,PC31に搭載されたコントローラシミュレータ21及びPC32に搭載された操作パネルシミュレータ22が、ネットワーク33を介して通信可能に接続されている。各シミュレータが通信可能なネットワーク上に存在している場合、実機を用いることなく実機のシミュレーション環境を仮想的にソフトウェアで構築できる。
In the integrated controller simulator of FIG. 3, the
なお、統合コントローラシミュレータを実現するプログラムは、例えば記録媒体の配布やネットワークからのダウンロードなどによって提供される。プログラムを記録した記録媒体はCD−ROM、フレキシブルディスク、光磁気ディスク等の様に情報を光学的,電気的或いは磁気的に記録する記録媒体、ROM、フラッシュメモリ等の様に情報を電気的に記録する半導体メモリ等、様々なタイプの記録媒体を用いることができる。 The program for realizing the integrated controller simulator is provided by, for example, distribution of a recording medium or downloading from a network. The recording medium on which the program is recorded is a recording medium such as a CD-ROM, a flexible disk, a magneto-optical disk, etc., which records information optically, electrically, or magnetically, such as a ROM, flash memory, etc. Various types of recording media such as a semiconductor memory for recording can be used.
図4は複合機の一例の構成図である。図4の複合機100は、白黒ラインプリンタ(B&W LP)101,カラーラインプリンタ(Color LP)102,スキャナ103,ファクシミリ104,ハードディスク105,ネットワークインタフェース106及び操作パネル210などのハードウェアリソースを有するとともに、プラットホーム120とアプリケーション130とから構成されるソフトウェア群110とを備えている。
FIG. 4 is a configuration diagram of an example of a multifunction peripheral. 4 has hardware resources such as a monochrome line printer (B & W LP) 101, a color line printer (Color LP) 102, a
プラットホーム120は、アプリケーションからの処理要求を解釈してハードウェア資源の獲得要求を発生させるコントロールサービスと、一または複数のハードウェア資源の管理を行い、コントロールサービスからの獲得要求を調停するSRM(システムリソースマネージャ)123と、汎用OS121とを有する。
The
コントロールサービスは複数のサービスモジュールから形成され、SCS(システムコントロールサービス)122と、ECS(エンジンコントロールサービス)124と、MCS(メモリコントロールサービス)125と、FCS(ファックスコントロールサービス)127と、NCS(ネットワークコントロールサービス)128とを有するように構成される。なお、このプラットホーム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. The
汎用OS121は、UNIX(登録商標)などの汎用OSであり、プラットホーム120並びにアプリケーション130の各ソフトウェアを、それぞれプロセスとして並列実行する。
The general-purpose OS 121 is a general-purpose OS such as UNIX (registered trademark), and executes the software of the
SRM123のプロセスは、SCS122とともにシステムの制御およびリソースの管理を行うものである。SRM123のプロセスは、白黒ラインプリンタ101,カラーラインプリンタ102,スキャナ103などのエンジン、メモリ、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
具体的に、この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 can be used. Tell the upper layer to the effect. 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のプロセスは、アプリケーション130管理、操作パネル210の制御、システム画面の表示、LEDの表示、リソースの管理、割り込みアプリケーションの制御などを行う。また、SCS122のプロセスは、操作パネル210からのキー操作をキーイベントとして取得して、各アプリケーション130に送信する。
The process of the SCS 122 performs
ECS124のプロセスは、白黒ラインプリンタ101、カラーラインプリンタ102及びスキャナ103等からなるハードウェアリソースのエンジンの制御を行う。また、MCS125のプロセスは、画像メモリの取得および解放、ハードディスク(HD)105の利用、画像データの圧縮および伸張などを行う。
The process of the ECS 124 controls an engine of hardware resources including the
FCS127のプロセスは、コントローラの各アプリ層からPSTN/ISDN網を利用したファクシミリ送受信、BKM(バックアップSRAM)で管理される各種ファクシミリデータの登録/引用、ファクシミリ読みとり、ファクシミリ受信印刷等を行うためのAPIを提供する。 The FCS 127 process is an API for performing facsimile transmission / reception using PSTN / ISDN network from each application layer of the controller, registration / quotation of various facsimile data managed by BKM (backup SRAM), facsimile reading, facsimile reception printing, and the like. I will provide a.
NCS128は、ネットワークI/Oを必要とするアプリケーション130に対して共通に利用できるサービスを提供するためのプロセスであり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーション130に振り分け、アプリケーション130側から受信したデータをネットワーク側に送信する際の仲介を行う。
The NCS 128 is a process for providing a service that can be commonly used for the
アプリケーション130は、ページ記述言語(PDL),PCL,ポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ111と、コピー用のアプリケーションであるコピーアプリ112と、ファクシミリ用のアプリケーションであるファックスアプリ113と、スキャナ用のアプリケーションであるスキャナアプリ114と、ネットワークファイル用のアプリケーションであるネットファイルアプリ115とを有している。
The
プリンタアプリ111,コピーアプリ112,ファックスアプリ113及びスキャナアプリ114は、その内部にOCSライブラリ126を備えている。すなわち、これらの各アプリのプログラムは、OCSライブラリ126とリンク(結合)した実行可能ファイルとなっている。ここで、OCSライブラリ126は、オペレータ(ユーザ)と本体制御間の情報伝達手段となる操作パネル210の制御を行う各種関数を登録したものであり、各アプリがOCSライブラリ126に登録されている描画関数を実行することによって、操作パネル210の表示部にウィンドウ、ボタン、その他文字、図形などの描画情報を表示するようになっている。
The
図5は、複合機のハードウェア構成図である。図5に示すように、複合機100はCPU202、SDRAM203、フラッシュメモリ204、HD205、SRAM208をASIC201に接続したコントローラ200と、操作パネル210と、ファックスコントロールユニット(FCU)220と、USB I/F230と、IEEE1394 I/F240と、エンジン250とから構成されている。
FIG. 5 is a hardware configuration diagram of the multifunction machine. As illustrated in FIG. 5, the multifunction peripheral 100 includes a controller 200 in which a
操作パネル210はASIC201に直接接続される。FCU220,USB I/F230,IEEE1394 I/F240,エンジン250は、PCIバスを介してASIC201に接続されている。フラッシュメモリ204には、上述の各アプリ、プラットホーム120を構成する各コントロールサービスやSRM123の各プログラムが格納されている。
The
操作パネル210は、ユーザが複合機100に対して機能選択などの指示を与える為のものである。操作パネル210は、タッチパネルなどの表示部を備えており、この表示部にプリンタアプリ111、コピーアプリ112、ファックスアプリ113及びスキャナアプリ114から各機能の選択指示、倍率指定、ソート、ステイプル等の機能選択指示、OK、キャンセルなどの選択指示のボタンや、ウィンドウ、その他、文字、図形などの描画データがOCSライブラリ126経由で表示される。
The
また、操作パネル210の表示部(タッチパネル等)に表示されたボタンなどのキーをユーザが押下する(触れる)ことによって、ユーザが押下したキー操作がSCS122においてキーイベントとして通知される。
In addition, when the user presses (touches) a key such as a button displayed on the display unit (touch panel or the like) of the
(操作パネルシミュレータ)
図6は操作パネルシミュレータの一例の説明図である。図6の操作パネルシミュレータ310は、汎用OS316によりプロセスとして実行される。操作パネルシミュレータ310は、PC画面描画・マウス処理部312,itron互換処理部314を有する構成である。
(Operation panel simulator)
FIG. 6 is an explanatory diagram of an example of the operation panel simulator. The
PC画面描画・マウス処理部312は、搭載されたPCのディスプレイ等の表示装置に画像を描画したり、マウス等の入力装置からの入力信号を受け付け、キーイベントとしてコントローラシミュレータ21のSCS304に通知したりする。また、itron互換処理部314は、組み込みシステム用リアルタイムOS仕様であるitron互換処理を行う。
The PC screen drawing / mouse processing unit 312 draws an image on a display device such as a display of a mounted PC, receives an input signal from an input device such as a mouse, and notifies the
図6中、アプリケーション300,SCS304及びキー/パネルシミュレータ306及びカーネル308は、仮想PCの環境でプロセスとして実行される。アプリケーション300はOCSライブラリ302を備えている。アプリケーション300はOCSライブラリ302に登録されている描画関数を実行することによって、PC画面描画・マウス処理部312に、操作パネルシミュレータ310が搭載されたPCのディスプレイ等の表示装置に画像を描画させる。
In FIG. 6, an
操作パネルシミュレータ310のPC画面描画・マウス処理部312は、操作パネルシミュレータ310が搭載されたPCのマウス等の入力装置への操作(カーソルの移動やクリックなど)を受け付け、その操作に基づくキーイベントをコントローラシミュレータ20のキー/パネルシミュレータ306に通知する。
The PC screen drawing / mouse processing unit 312 of the
キー/パネルシミュレータ306は、操作パネルシミュレータ310が搭載されたPCのマウス等の入力装置への操作に基づくキーイベントを、操作パネル210の表示部に表示されたボタンなどのタッチキーや操作パネル210に設けられたハードキーが押下されたキーイベントに置き換えて、SCS304に通知できる。
The key /
(コントローラシミュレータ)
図7はコントローラシミュレータの一例の説明図である。図7に示したコントローラシミュレータは、SRM330が、汎用OS121のエンジンI/Fドライバ334が提供するRapiコマンドを介してエンジンシミュレータ338と接続されている。エンジンシミュレータ338はソケット23を介してエンジン制御アプリケーション340と通信を行う。
(Controller simulator)
FIG. 7 is an explanatory diagram of an example of a controller simulator. In the controller simulator shown in FIG. 7, the
また、コントローラシミュレータは、SRM330が、汎用OS121のパネルI/Fドライバ336が提供するRapiコマンドを介してキー/パネルシミュレータ306と接続されている。キー/パネルミュレータ306は、ソケット23を介して操作パネルシミュレータ310と通信を行う。
The controller simulator is connected to the key /
図7では、エンジンシミュレータ338,キー/パネルシミュレータ306,エンジン制御アプリケーション340及び操作パネルシミュレータ310が、シミュレート部分となる。また、図7では、アプリケーション300,ECS320,MCS322,FCS324,OCS326,SCS328,SRM330,汎用OS332が、コントローラシミュレータを構成する。このコントローラシミュレータは実機と同等である。
In FIG. 7, the
コントローラシミュレータを構成する各モジュールの開発(設計)者は、自分の開発したオブジェクトを、コントローラシミュレータを構成する各モジュールのうち該当するモジュールと置き換えることにより、図1のような複合機100のシミュレーション環境を仮想的にソフトウェアで構築することでコントローラ11に含まれるオブジェクトの動作確認を、実機を用いることなく行うことができる。
A developer (designer) of each module constituting the controller simulator replaces an object developed by the module with a corresponding module among the modules constituting the controller simulator, so that the simulation environment of the MFP 100 as shown in FIG. As a result, the operation of the object included in the
(エンジンシミュレータ)
図8はエンジンシミュレータの一例の説明図である。図8のエンジンシミュレータ338は仮想PC342の環境でプロセスとして実行される。エンジン制御アプリケーション340はエンジン10の振る舞い(Rapi)を制御するシナリオを振る舞いファイル346として管理している。また、エンジン制御アプリケーション340はエンジン10の状態が設定されている設定ファイル344を管理している。
(Engine simulator)
FIG. 8 is an explanatory diagram of an example of an engine simulator. The
エンジン制御アプリケーション340が管理している設定ファイル344及び振る舞いファイル346はソケット通信により仮想PC342のHDD348に転送される。仮想PC342のHDD348には、設定ファイル344,振る舞いファイル346及び画像ファイル347が記録されている。画像ファイル347は、ディスプレイ等の表示装置に描画する画像が記録されている。
The
エンジンシミュレータ338は、仮想PC342のHDD348に記録されている設定ファイル344,振る舞いファイル346及び画像ファイル347を用いて、エンジン10を仮想的に構築する。例えばエンジンシミュレータ338は、仮想PC342のHDD348に記録されている設定ファイル344,振る舞いファイル346及び画像ファイル347を用いることにより、複合機100のジャム等の異常を表す振る舞いを簡単に発生させることができる。
The
つまり、エンジンシミュレータ338はコントローラシミュレータからのコマンド(リクエスト)を受け付け、仮想PC342のHDD348に記録されている設定ファイル344,振る舞いファイル346及び画像ファイル347を用いることにより、コマンドに応じた応答(レスポンス)を行うことができる。
That is, the
(シーケンス)
図9は、総合コントローラシミュレータの起動時の処理手順を表したシーケンス図である。ステップS1では、エンジン制御アプリケーション340が起動される。ステップS2では、操作パネルシミュレータ310が起動される。
(sequence)
FIG. 9 is a sequence diagram showing a processing procedure when starting up the general controller simulator. In step S1, the
ステップS3〜S5では仮想PCの環境で、コンソール(画面)354からの指示によりコントローラシミュレータを構成する各モジュールが起動される。図9のシーケンス図では各モジュールのうち、コピーアプリ356,OCS326及びエンジンシミュレータ338を表している。
In steps S3 to S5, each module constituting the controller simulator is activated by an instruction from the console (screen) 354 in the environment of the virtual PC. In the sequence diagram of FIG. 9, the
ステップS6に進み、エンジン制御アプリケーション340が管理している設定ファイル344及び振る舞いファイル346はソケット通信によりエンジンシミュレータ338に転送される。ステップS7〜S9に進み、エンジンシミュレータ338,OCS326及びコピーアプリ356は初期処理を行う。
In step S6, the
ステップS10に進み、コピーアプリ356はOCS326に画像描画指示を行う。ステップS11に進み、OCS326は、操作パネルシミュレータ310に描画情報を指示する。ステップS12に進み、操作パネルシミュレータ310は搭載されたPCのディスプレイ等の表示装置に例えば「コピーできます」というメッセージを含んだ画像を描画させる。
In step S10, the
図10はエンジンシミュレータの振る舞いファイルに含まれる項目を表した一例の説明図である。図10は、項目「Kind」,「Command」,「Payload」,「SortNumber」,「HexPayload」,「Result」を表している。 FIG. 10 is an explanatory diagram showing an example of items included in the behavior file of the engine simulator. FIG. 10 shows items “Kind”, “Command”, “Payload”, “SortNumber”, “HexPayload”, and “Result”.
項目「Kind」は、送信,受信の種類を表している。項目「Command」はコマンド名を表している。項目「Payload」はコマンドの内容(データ)である文字列を表している。項目「SortNumber」はソート番号を表している。項目「HexPayload」はコマンドの内容(データ)であるバイナリを表している。項目「Result」は結果を表している。 The item “Kind” represents the type of transmission or reception. The item “Command” represents a command name. The item “Payload” represents a character string that is the content (data) of the command. The item “SortNumber” represents a sort number. The item “HexPayload” represents a binary that is the content (data) of the command. The item “Result” represents the result.
図11はエンジンシミュレータの振る舞いファイルを表した一例の説明図である。図11の振る舞いファイルは、図10の項目を含んだ例である。このように、エンジン制御アプリケーション340はエンジン10の振る舞い(Rapi)を制御するシナリオを振る舞いファイル346として管理できる。
FIG. 11 is an explanatory diagram showing an example of a behavior file of the engine simulator. The behavior file of FIG. 11 is an example including the items of FIG. As described above, the
図12は、総合コントローラシミュレータの印刷時の処理手順を表したシーケンス図である。図12に示した送信スレッド350,応答振り分け処理部351,メッセージイベント受け付け部352,シナリオ応答処理部353,受信スレッド354は、エンジンシミュレータ338に含まれる。なお、応答振り分け処理部351はコマンド解析スレッドとして動作する。
FIG. 12 is a sequence diagram showing a processing procedure during printing of the general controller simulator. The
ステップS21では、汎用OS121のエンジンI/Fドライバ334が、印刷のコマンドをエンジンシミュレータ338の受信スレッド354へ送信する。ステップS22に進み、受信スレッド354は印刷のコマンドを受信した旨を、メッセージ受け付けとしてメッセージイベント受け付け部352に通知する。
In
ステップS23に進み、メッセージイベント受け付け部352は受信した印刷コマンドの応答先を応答振り分け処理部351に問い合わせる。ステップS24に進み、応答振り分け処理部351は設定ファイル344に記録されている情報(例えばエンジン10の状態など)と、振る舞いファイル346に記録されている情報から応答先及び応答するコマンドを判断する。
In step S23, the message
ステップS25に進み、応答振り分け処理部351は、応答先及び応答するコマンドをメッセージイベント受付部352に返答する。ステップS26に進み、メッセージイベント受付部352は応答先及び応答するコマンドを指定して、受信した印刷のコマンドに対する応答要求をシナリオ応答処理部353に対して行う。
In step S25, the response
ステップS27に進み、シナリオ応答処理部353は応答先及び応答するコマンドを指定して、送信スレッド350にコマンド送信要求を行う。ステップS28に進み、送信スレッド350は応答先を送信先に指定して、応答するコマンドを汎用OS121のエンジンI/Fドライバ334に送信する。
In step S27, the scenario
このように、エンジンシミュレータ338は、振る舞いファイル346として管理しているエンジン10の振る舞い(Rapi)を制御するシナリオに基づき、コントローラシミュレータ21側に応答できる。
As described above, the
本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。 The present invention is not limited to the specifically disclosed embodiments, and various modifications and changes can be made without departing from the scope of the claims.
10 エンジン
11 コントローラ
12 操作パネル
13 PCIバス
14 シリアルポート
20,338 エンジンシミュレータ
21 コントローラシミュレータ
22,310 操作パネルシミュレータ
23 ソケット
30〜32 PC
33 ネットワーク
100 複合機
300 アプリケーション
302 OCSライブラリ
304 SCS(システムコントロールサービス)
306 キー/パネルシミュレータ
308 カーネル
310 操作パネルシミュレータ
312 PC画面描画・マウス処理部
314 itron互換処理部
316,332 汎用OS
318 イーサネット(登録商標)
330 SRM(システムリソースマネージャ)
334 エンジンI/Fドライバ
336 パネルI/Fドライバ
340 エンジン制御アプリケーション
344 設定ファイル
346 振る舞いファイル
347 画像ファイル
350 送信スレッド
351 応答振り分け処理部
352 メッセージイベント受け付け部
353 シナリオ応答処理部
354 受信スレッド
354 コンソール
356 コピーアプリ
DESCRIPTION OF
33 Network 100
306 Key /
318 Ethernet (registered trademark)
330 SRM (System Resource Manager)
334 Engine I /
Claims (9)
前記コントローラを構築するコントローラシミュレータ手段と、
前記操作パネルを構築する操作パネルシミュレータ手段と、
前記エンジンを仮想的に構築し、前記コントローラシミュレータ手段からのリクエストを受け付け、前記コントローラシミュレータ手段へ前記リクエストに応じた応答を行うエンジンシミュレータ手段と
して機能させるためのシミュレータプログラム。 A computer including a storage device and an arithmetic processing unit for confirming the operation of a controller that controls the engine and the operation panel,
Controller simulator means for constructing the controller;
Operation panel simulator means for constructing the operation panel;
A simulator program for virtually constructing the engine, receiving a request from the controller simulator means, and causing the controller simulator means to respond as an engine simulator means in response to the request.
前記リクエストを解析して、その解析結果に基づいた応答要求を行うリクエスト解析手段と、
前記応答要求に基づき、前記コントローラシミュレータ手段への応答を送信する送信手段と
を有することを特徴とする請求項3記載のシミュレータプログラム。 The engine simulator means, receiving means for receiving a request from the controller simulator means;
Request analysis means for analyzing the request and making a response request based on the analysis result;
4. The simulator program according to claim 3, further comprising a transmission unit that transmits a response to the controller simulator unit based on the response request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007208135A JP2009043078A (en) | 2007-08-09 | 2007-08-09 | Simulation program and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007208135A JP2009043078A (en) | 2007-08-09 | 2007-08-09 | Simulation program and recording medium |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009043078A true JP2009043078A (en) | 2009-02-26 |
Family
ID=40443756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007208135A Pending JP2009043078A (en) | 2007-08-09 | 2007-08-09 | Simulation program and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009043078A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011022637A (en) * | 2009-07-13 | 2011-02-03 | Kyocera Mita Corp | Application operation confirmation system, program for terminal and program for server |
JP2015056113A (en) * | 2013-09-13 | 2015-03-23 | 株式会社リコー | Information processing device, information processing system, information processing method, and information processing program |
-
2007
- 2007-08-09 JP JP2007208135A patent/JP2009043078A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2011022637A (en) * | 2009-07-13 | 2011-02-03 | Kyocera Mita Corp | Application operation confirmation system, program for terminal and program for server |
JP2015056113A (en) * | 2013-09-13 | 2015-03-23 | 株式会社リコー | Information processing device, information processing system, information processing method, and information processing program |
US9959130B2 (en) | 2013-09-13 | 2018-05-01 | Ricoh Company, Ltd. | Process simulation for information processing system, information processing method, and information processing program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8595720B2 (en) | Program management system, program management method, client, and computer program product | |
US7209249B2 (en) | Method of and apparatus for image formation, and computer product | |
JP6489880B2 (en) | Image forming apparatus, image forming apparatus control method, and program | |
KR101782998B1 (en) | Method and apparatus for developing application of image forming apparatus | |
US20110010642A1 (en) | Image processing apparatus, display control method, and computer-readable recording medium | |
JP2011170464A (en) | License management system, license management method and program | |
JP4344203B2 (en) | Image forming apparatus and information display method | |
JP2010191596A (en) | Operation-definition file creating apparatus, system, image forming apparatus, operation-definition file creating method and program | |
JP4512565B2 (en) | Image forming apparatus and application installation method | |
JP2009064420A (en) | Image forming apparatus and information display method | |
US9081530B2 (en) | Control system for forming and outputting image, control apparatus for forming and outputting image, and recording medium storing a control program for forming and outputting image | |
JP2009043078A (en) | Simulation program and recording medium | |
JP3710789B2 (en) | Image forming apparatus having a plurality of communication protocols | |
JP2009223577A (en) | User interface emulation device and user interface emulation program | |
JP4133085B2 (en) | Image forming apparatus and customized program test method | |
JP5440226B2 (en) | Simulator device and simulator program | |
US20150178420A1 (en) | Information processing apparatus, information processing system, method of processing information, and program | |
JP2009054153A (en) | System and method for customizing driver of document processing device | |
KR101405920B1 (en) | Job control apparatus and multi-function product, and operating method thereof | |
JP2008004105A (en) | Image information processor and customization program generation method | |
JP2010218469A (en) | Information processor, information processing method, program and recording medium | |
JP4405132B2 (en) | Terminal emulator for image information processing apparatus and terminal application for image information processing apparatus | |
JP6341016B2 (en) | Image forming system, image forming apparatus, and program | |
JP4500326B2 (en) | Inter-process communication program and image information processing apparatus | |
JP3977039B2 (en) | Communication program generating method for image information processing apparatus and communication program generating apparatus for image information processing apparatus |