JP2009043078A - Simulation program and recording medium - Google Patents

Simulation program and recording medium Download PDF

Info

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
Application number
JP2007208135A
Other languages
Japanese (ja)
Inventor
Takehiko Shishido
毅彦 宍戸
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 JP2007208135A priority Critical patent/JP2009043078A/en
Publication of JP2009043078A publication Critical patent/JP2009043078A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a simulator program and a recording medium by which the operations of a controller for controlling an engine and a control panel are confirmed without using a real device. <P>SOLUTION: The subject is solved by making a computer including a storage device and an operation processor for checking operation of the controller for controlling the engine and operation panel function as: a controller simulator means 21 for building up the controller; a control panel simulator means 22 for building up the control panel; and an engine simulator means 20 for virtually building up an engine, receiving a request from the controller simulator means 21, and responding to the controller simulator means 21 in accordance with the request. <P>COPYRIGHT: (C)2009,JPO&INPIT

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参照)。
特開2003−216310号公報
For example, development of software of a device constructed by software and hardware such as a multifunction peripheral (MFP) is generally subdivided in units of objects. In the development of such software, it is necessary to check the operation of the object using a real machine such as a prototype (see, for example, Patent Document 1).
JP 2003-216310 A

例えば複合機では、エンジン,操作パネル等のハードウェアを制御するコントローラの動作確認を行う場合、コントローラに含まれるオブジェクトの動作確認を実機により行う必要があった。したがって、複合機におけるソフトウェアの開発では、多くの実機を準備しなければならなかった。   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 engine 10, a controller 11, and an operation panel 12. The engine 10 and the controller 11 communicate via the PCI bus 13. Further, the controller 11 and the operation panel 12 communicate via the serial port 14.

本発明では、図1のような複合機のシミュレーション環境を仮想的にソフトウェアで構築することでコントローラ11に含まれるオブジェクトの動作確認を、実機を用いることなく行うことができる。   In the present invention, it is possible to confirm the operation of an object included in the controller 11 without using an actual machine by virtually constructing a simulation environment of the multifunction machine as shown in FIG. 1 with software.

図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 engine simulator 20, a controller simulator 21, and an operation panel simulator 22.

エンジンシミュレータ20及びコントローラシミュレータ21はソケット23を介して通信を行う。コントローラシミュレータ21及び操作パネルシミュレータ22もソケット23を介して通信を行う。なお、ソケット23は、各シミュレータが通信を行う仮想的なインターフェースである。   The engine simulator 20 and the controller simulator 21 communicate via the socket 23. The controller simulator 21 and the operation panel simulator 22 also communicate via the socket 23. The socket 23 is a virtual interface through which each simulator communicates.

各シミュレータは、同一のパーソナルコンピュータ(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 engine simulator 20 mounted on the PC 30, the controller simulator 21 mounted on the PC 31, and the operation panel simulator 22 mounted on the PC 32 are connected via a network 33 so as to communicate with each other. When each simulator exists on a communicable network, a simulation environment of the actual machine can be virtually constructed by software without using the actual machine.

なお、統合コントローラシミュレータを実現するプログラムは、例えば記録媒体の配布やネットワークからのダウンロードなどによって提供される。プログラムを記録した記録媒体は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 scanner 103, a facsimile 104, a hard disk 105, a network interface 106, and an operation panel 210. The software group 110 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 manages one or a plurality of hardware resources and arbitrates the acquisition request from the control service. Resource manager) 123 and a general-purpose OS 121.

コントロールサービスは複数のサービスモジュールから形成され、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 platform 120 has an API (Application Program Interface) that allows a processing request to be received from the application 130 using a predefined function.

汎用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 platform 120 and the application 130 in parallel as processes.

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 SCS 122. The process of the SRM 123 includes an engine such as a monochrome line printer 101, a color line printer 102, and a scanner 103, a memory, an HDD file, a host I / O (centronics I / F, network I / F, IEEE 1394 I / F, RS232C I / F Etc.) and perform execution control in accordance with requests from higher layers using hardware resources.

具体的に、この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 application 130 management, operation panel 210 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 and transmits it to each application 130.

ECS124のプロセスは、白黒ラインプリンタ101、カラーラインプリンタ102及びスキャナ103等からなるハードウェアリソースのエンジンの制御を行う。また、MCS125のプロセスは、画像メモリの取得および解放、ハードディスク(HD)105の利用、画像データの圧縮および伸張などを行う。   The process of the ECS 124 controls an engine of hardware resources including the monochrome line printer 101, the color line printer 102, the scanner 103, and the like. The MCS 125 process acquires and releases image memory, uses the hard disk (HD) 105, compresses and decompresses image data, and the like.

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 applications 130 that require network I / O. The NCS 128 distributes the data received from the network side according to each protocol to each application 130, and from the application 130 side. Mediates when the received data is sent to the network side.

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

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

図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 CPU 202, SDRAM 203, flash memory 204, HD 205, and SRAM 208 are connected to an ASIC 201, an operation panel 210, a fax control unit (FCU) 220, a USB I / F 230, and the like. , IEEE 1394 I / F 240 and engine 250.

操作パネル210はASIC201に直接接続される。FCU220,USB I/F230,IEEE1394 I/F240,エンジン250は、PCIバスを介してASIC201に接続されている。フラッシュメモリ204には、上述の各アプリ、プラットホーム120を構成する各コントロールサービスやSRM123の各プログラムが格納されている。   The operation panel 210 is directly connected to the ASIC 201. The FCU 220, USB I / F 230, IEEE 1394 I / F 240, and engine 250 are connected to the ASIC 201 via a PCI bus. The flash memory 204 stores the applications and the control services that make up the platform 120 and the programs of the SRM 123.

操作パネル210は、ユーザが複合機100に対して機能選択などの指示を与える為のものである。操作パネル210は、タッチパネルなどの表示部を備えており、この表示部にプリンタアプリ111、コピーアプリ112、ファックスアプリ113及びスキャナアプリ114から各機能の選択指示、倍率指定、ソート、ステイプル等の機能選択指示、OK、キャンセルなどの選択指示のボタンや、ウィンドウ、その他、文字、図形などの描画データがOCSライブラリ126経由で表示される。   The operation panel 210 is for the user to give 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, windows, and other drawing data such as characters and graphics are displayed via the OCS library 126.

また、操作パネル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 operation panel 210, the key operation pressed by the user is notified as a key event in the SCS 122.

(操作パネルシミュレータ)
図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 operation panel simulator 310 in FIG. 6 is executed as a process by the general-purpose OS 316. The operation panel simulator 310 includes a PC screen drawing / mouse processing unit 312 and an iron compatible processing unit 314.

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 SCS 304 of the controller simulator 21 as a key event. Or The iron compatible processing unit 314 performs an iron compatible process that is a real-time OS specification for embedded systems.

図6中、アプリケーション300,SCS304及びキー/パネルシミュレータ306及びカーネル308は、仮想PCの環境でプロセスとして実行される。アプリケーション300はOCSライブラリ302を備えている。アプリケーション300はOCSライブラリ302に登録されている描画関数を実行することによって、PC画面描画・マウス処理部312に、操作パネルシミュレータ310が搭載されたPCのディスプレイ等の表示装置に画像を描画させる。   In FIG. 6, an application 300, an SCS 304, a key / panel simulator 306, and a kernel 308 are executed as processes in a virtual PC environment. The application 300 includes an OCS library 302. By executing a drawing function registered in the OCS library 302, the application 300 causes the PC screen drawing / mouse processing unit 312 to draw an image on a display device such as a PC display on which the operation panel simulator 310 is mounted.

操作パネルシミュレータ310のPC画面描画・マウス処理部312は、操作パネルシミュレータ310が搭載されたPCのマウス等の入力装置への操作(カーソルの移動やクリックなど)を受け付け、その操作に基づくキーイベントをコントローラシミュレータ20のキー/パネルシミュレータ306に通知する。   The PC screen drawing / mouse processing unit 312 of the operation panel simulator 310 accepts an operation (movement of the cursor, click, etc.) to an input device such as a mouse of the PC on which the operation panel simulator 310 is mounted, and a key event based on the operation. Is notified to the key / panel simulator 306 of the controller simulator 20.

キー/パネルシミュレータ306は、操作パネルシミュレータ310が搭載されたPCのマウス等の入力装置への操作に基づくキーイベントを、操作パネル210の表示部に表示されたボタンなどのタッチキーや操作パネル210に設けられたハードキーが押下されたキーイベントに置き換えて、SCS304に通知できる。   The key / panel simulator 306 displays a key event based on an operation on an input device such as a mouse of a PC on which the operation panel simulator 310 is mounted, a touch key such as a button displayed on the display unit of the operation panel 210, or the operation panel 210. The SCS 304 can be notified by substituting the key event for pressing the hard key provided in.

(コントローラシミュレータ)
図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 SRM 330 is connected to the engine simulator 338 via a Rapi command provided by the engine I / F driver 334 of the general-purpose OS 121. The engine simulator 338 communicates with the engine control application 340 via the socket 23.

また、コントローラシミュレータは、SRM330が、汎用OS121のパネルI/Fドライバ336が提供するRapiコマンドを介してキー/パネルシミュレータ306と接続されている。キー/パネルミュレータ306は、ソケット23を介して操作パネルシミュレータ310と通信を行う。   The controller simulator is connected to the key / panel simulator 306 by the SRM 330 via a Rapi command provided by the panel I / F driver 336 of the general-purpose OS 121. The key / panel emulator 306 communicates with the operation panel simulator 310 via the socket 23.

図7では、エンジンシミュレータ338,キー/パネルシミュレータ306,エンジン制御アプリケーション340及び操作パネルシミュレータ310が、シミュレート部分となる。また、図7では、アプリケーション300,ECS320,MCS322,FCS324,OCS326,SCS328,SRM330,汎用OS332が、コントローラシミュレータを構成する。このコントローラシミュレータは実機と同等である。   In FIG. 7, the engine simulator 338, the key / panel simulator 306, the engine control application 340, and the operation panel simulator 310 are simulated portions. In FIG. 7, the application 300, the ECS 320, the MCS 322, the FCS 324, the OCS 326, the SCS 328, the SRM 330, and the general-purpose OS 332 constitute a controller simulator. This controller simulator is equivalent to a real machine.

コントローラシミュレータを構成する各モジュールの開発(設計)者は、自分の開発したオブジェクトを、コントローラシミュレータを構成する各モジュールのうち該当するモジュールと置き換えることにより、図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 controller 11 can be confirmed without using an actual machine.

(エンジンシミュレータ)
図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 engine simulator 338 of FIG. 8 is executed as a process in the environment of the virtual PC 342. The engine control application 340 manages a scenario for controlling the behavior (Rapi) of the engine 10 as a behavior file 346. The engine control application 340 manages a setting file 344 in which the state of the engine 10 is set.

エンジン制御アプリケーション340が管理している設定ファイル344及び振る舞いファイル346はソケット通信により仮想PC342のHDD348に転送される。仮想PC342のHDD348には、設定ファイル344,振る舞いファイル346及び画像ファイル347が記録されている。画像ファイル347は、ディスプレイ等の表示装置に描画する画像が記録されている。   The setting file 344 and the behavior file 346 managed by the engine control application 340 are transferred to the HDD 348 of the virtual PC 342 by socket communication. A setting file 344, a behavior file 346, and an image file 347 are recorded in the HDD 348 of the virtual PC 342. The image file 347 records an image to be drawn on a display device such as a display.

エンジンシミュレータ338は、仮想PC342のHDD348に記録されている設定ファイル344,振る舞いファイル346及び画像ファイル347を用いて、エンジン10を仮想的に構築する。例えばエンジンシミュレータ338は、仮想PC342のHDD348に記録されている設定ファイル344,振る舞いファイル346及び画像ファイル347を用いることにより、複合機100のジャム等の異常を表す振る舞いを簡単に発生させることができる。   The engine simulator 338 virtually constructs the engine 10 using the setting file 344, the behavior file 346, and the image file 347 recorded in the HDD 348 of the virtual PC 342. For example, the engine simulator 338 can easily generate a behavior indicating an abnormality such as a jam of the multifunction peripheral 100 by using the setting file 344, the behavior file 346, and the image file 347 recorded in the HDD 348 of the virtual PC 342. .

つまり、エンジンシミュレータ338はコントローラシミュレータからのコマンド(リクエスト)を受け付け、仮想PC342のHDD348に記録されている設定ファイル344,振る舞いファイル346及び画像ファイル347を用いることにより、コマンドに応じた応答(レスポンス)を行うことができる。   That is, the engine simulator 338 receives a command (request) from the controller simulator, and uses a setting file 344, a behavior file 346, and an image file 347 recorded in the HDD 348 of the virtual PC 342, and thereby a response (response) according to the command. It can be performed.

(シーケンス)
図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 engine control application 340 is activated. In step S2, operation panel simulator 310 is activated.

ステップ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 copy application 356, the OCS 326, and the engine simulator 338 are shown among the modules.

ステップS6に進み、エンジン制御アプリケーション340が管理している設定ファイル344及び振る舞いファイル346はソケット通信によりエンジンシミュレータ338に転送される。ステップS7〜S9に進み、エンジンシミュレータ338,OCS326及びコピーアプリ356は初期処理を行う。   In step S6, the setting file 344 and the behavior file 346 managed by the engine control application 340 are transferred to the engine simulator 338 by socket communication. Proceeding to steps S7 to S9, the engine simulator 338, OCS 326, and copy application 356 perform initial processing.

ステップS10に進み、コピーアプリ356はOCS326に画像描画指示を行う。ステップS11に進み、OCS326は、操作パネルシミュレータ310に描画情報を指示する。ステップS12に進み、操作パネルシミュレータ310は搭載されたPCのディスプレイ等の表示装置に例えば「コピーできます」というメッセージを含んだ画像を描画させる。   In step S10, the copy application 356 instructs the OCS 326 to draw an image. In step S11, the OCS 326 instructs the operation panel simulator 310 to draw information. In step S12, the operation panel simulator 310 draws an image including a message such as “Can be copied” on a display device such as a display of a mounted PC.

図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 engine control application 340 can manage the scenario for controlling the behavior (Rapi) of the engine 10 as the behavior file 346.

図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 transmission thread 350, the response distribution processing unit 351, the message event reception unit 352, the scenario response processing unit 353, and the reception thread 354 illustrated in FIG. The response distribution processing unit 351 operates as a command analysis thread.

ステップS21では、汎用OS121のエンジンI/Fドライバ334が、印刷のコマンドをエンジンシミュレータ338の受信スレッド354へ送信する。ステップS22に進み、受信スレッド354は印刷のコマンドを受信した旨を、メッセージ受け付けとしてメッセージイベント受け付け部352に通知する。   In step S 21, the engine I / F driver 334 of the general-purpose OS 121 transmits a print command to the reception thread 354 of the engine simulator 338. In step S22, the reception thread 354 notifies the message event reception unit 352 that the print command has been received as a message reception.

ステップS23に進み、メッセージイベント受け付け部352は受信した印刷コマンドの応答先を応答振り分け処理部351に問い合わせる。ステップS24に進み、応答振り分け処理部351は設定ファイル344に記録されている情報(例えばエンジン10の状態など)と、振る舞いファイル346に記録されている情報から応答先及び応答するコマンドを判断する。   In step S23, the message event reception unit 352 inquires of the response distribution processing unit 351 about the response destination of the received print command. In step S24, the response distribution processing unit 351 determines a response destination and a command to respond from the information recorded in the setting file 344 (for example, the state of the engine 10) and the information recorded in the behavior file 346.

ステップS25に進み、応答振り分け処理部351は、応答先及び応答するコマンドをメッセージイベント受付部352に返答する。ステップS26に進み、メッセージイベント受付部352は応答先及び応答するコマンドを指定して、受信した印刷のコマンドに対する応答要求をシナリオ応答処理部353に対して行う。   In step S25, the response distribution processing unit 351 returns a response destination and a responding command to the message event receiving unit 352. In step S26, the message event receiving unit 352 specifies a response destination and a command to respond, and sends a response request to the scenario response processing unit 353 for the received print command.

ステップS27に進み、シナリオ応答処理部353は応答先及び応答するコマンドを指定して、送信スレッド350にコマンド送信要求を行う。ステップS28に進み、送信スレッド350は応答先を送信先に指定して、応答するコマンドを汎用OS121のエンジンI/Fドライバ334に送信する。   In step S27, the scenario response processing unit 353 designates a response destination and a command to respond, and makes a command transmission request to the transmission thread 350. In step S 28, the transmission thread 350 specifies a response destination as a transmission destination, and transmits a response command to the engine I / F driver 334 of the general-purpose OS 121.

このように、エンジンシミュレータ338は、振る舞いファイル346として管理しているエンジン10の振る舞い(Rapi)を制御するシナリオに基づき、コントローラシミュレータ21側に応答できる。   As described above, the engine simulator 338 can respond to the controller simulator 21 based on the scenario for controlling the behavior (Rapi) of the engine 10 managed as the behavior file 346.

本発明は、具体的に開示された実施例に限定されるものではなく、特許請求の範囲から逸脱することなく、種々の変形や変更が可能である。   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.

エンジン及び操作パネルを制御するコントローラが搭載された複合機の一例の構成図である。It is a block diagram of an example of the multifunctional machine equipped with the controller which controls an engine and an operation panel. 複合機のシミュレーション環境を、仮想的にソフトウェアで構築する統合コントローラシミュレータ(シミュレータ)の一例の構成図である。FIG. 2 is a configuration diagram of an example of an integrated controller simulator (simulator) that virtually builds a simulation environment of a multifunction machine with software. 複合機のシミュレーション環境を、仮想的にソフトウェアで構築する統合コントローラシミュレータの他の例の構成図である。FIG. 10 is a configuration diagram of another example of an integrated controller simulator that virtually constructs a simulation environment of a multifunction machine by software. 複合機の一例の構成図である。1 is a configuration diagram of an example of a multifunction machine. 複合機のハードウェア構成図である。FIG. 2 is a hardware configuration diagram of a multifunction machine. 操作パネルシミュレータの一例の説明図である。It is explanatory drawing of an example of an operation panel simulator. コントローラシミュレータの一例の説明図である。It is explanatory drawing of an example of a controller simulator. エンジンシミュレータの一例の説明図である。It is explanatory drawing of an example of an engine simulator. 統合コントローラシミュレータの起動時の処理を表したシーケンス図である。It is a sequence diagram showing the process at the time of starting of an integrated controller simulator. 振る舞いファイルの項目の一例を表した説明図である。It is explanatory drawing showing an example of the item of the behavior file. 振る舞いファイルの内容の一例を表した説明図である。It is explanatory drawing showing an example of the content of the behavior file. 統合コントローラシミュレータのエンジンシミュレータにおける印刷時の処理を表したシーケンス図である。It is a sequence diagram showing the process at the time of printing in the engine simulator of an integrated controller simulator.

符号の説明Explanation of symbols

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 SYMBOLS 10 Engine 11 Controller 12 Operation panel 13 PCI bus 14 Serial port 20,338 Engine simulator 21 Controller simulator 22, 310 Operation panel simulator 23 Socket 30-32 PC
33 Network 100 MFP 300 Application 302 OCS Library 304 SCS (System Control Service)
306 Key / panel simulator 308 Kernel 310 Operation panel simulator 312 PC screen drawing / mouse processing unit 314 Itron compatible processing unit 316, 332 General-purpose OS
318 Ethernet (registered trademark)
330 SRM (System Resource Manager)
334 Engine I / F driver 336 Panel I / F driver 340 Engine control application 344 Setting file 346 Behavior file 347 Image file 350 Transmission thread 351 Response distribution processing unit 352 Message event reception unit 353 Scenario response processing unit 354 Reception thread 354 Console 356 Copy The app

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.
前記エンジンシミュレータ手段は、前記コントローラシミュレータ手段からのリクエストに応じた応答が記録された振る舞い記録手段を有し、前記コントローラシミュレータ手段からのリクエストを受け付け、前記リクエストに応じた応答を前記振る舞い記録手段から読み出して、前記コントローラシミュレータ手段へ前記リクエストに応じた応答を行うことを特徴とする請求項1記載のシミュレータプログラム。   The engine simulator means includes a behavior recording means in which a response according to a request from the controller simulator means is recorded, accepts a request from the controller simulator means, and sends a response according to the request from the behavior recording means. 2. The simulator program according to claim 1, wherein the simulator program is read out and responds to the controller simulator means in response to the request. 前記エンジンシミュレータ手段は、前記エンジンの状態が設定されている設定記録手段を更に有し、前記エンジンの状態を前記設定記録手段から読み出して、前記リクエストに応じた応答を、前記振る舞い記録手段から読み出した前記リクエストに応じた応答と前記設定記録手段から読み出した前記エンジンの状態とに応じて行うことを特徴とする請求項2記載のシミュレータプログラム。   The engine simulator means further includes setting recording means in which the engine state is set, reads the engine state from the setting recording means, and reads a response according to the request from the behavior recording means. 3. The simulator program according to claim 2, wherein the simulator program is executed in accordance with a response corresponding to the request and a state of the engine read from the setting recording means. 前記エンジンシミュレータ手段は、前記コントローラシミュレータ手段からリクエストを受信する受信手段と、
前記リクエストを解析して、その解析結果に基づいた応答要求を行うリクエスト解析手段と、
前記応答要求に基づき、前記コントローラシミュレータ手段への応答を送信する送信手段と
を有することを特徴とする請求項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.
前記コントローラシミュレータ手段は、前記操作パネルシミュレータ手段及びエンジンシミュレータ手段とのインターフェース手段を有し、前記インターフェース手段を利用して通信可能であることを特徴とする請求項1乃至4何れか一項記載のシミュレータプログラム。   The said controller simulator means has an interface means with the said operation panel simulator means and an engine simulator means, It can communicate using the said interface means, The one of Claim 1 thru | or 4 characterized by the above-mentioned. Simulator program. 前記操作パネルシミュレータ手段及びエンジンシミュレータ手段の少なくとも一方が他のコンピュータに搭載されていることを特徴とする請求項5記載のシミュレータプログラム。   6. The simulator program according to claim 5, wherein at least one of the operation panel simulator means and the engine simulator means is mounted on another computer. 前記コントローラシミュレータ手段は、前記エンジン及び操作パネルを制御する複数のオブジェクトを含むことを特徴とする請求項1乃至6何れか一項記載のシミュレータプログラム。   The simulator program according to claim 1, wherein the controller simulator means includes a plurality of objects for controlling the engine and an operation panel. 前記エンジンは、画像形成に掛かる処理を行うハードウェアであることを特徴とする請求項1乃至7何れか一項記載のシミュレータプログラム。   8. The simulator program according to claim 1, wherein the engine is hardware that performs processing related to image formation. 請求項1乃至8何れか一項記載のシミュレータプログラムを記録したコンピュータ読み取り可能な記録媒体。   A computer-readable recording medium on which the simulator program according to any one of claims 1 to 8 is recorded.
JP2007208135A 2007-08-09 2007-08-09 Simulation program and recording medium Pending JP2009043078A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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