JP4246540B2 - Image forming apparatus and program execution method - Google Patents

Image forming apparatus and program execution method Download PDF

Info

Publication number
JP4246540B2
JP4246540B2 JP2003127172A JP2003127172A JP4246540B2 JP 4246540 B2 JP4246540 B2 JP 4246540B2 JP 2003127172 A JP2003127172 A JP 2003127172A JP 2003127172 A JP2003127172 A JP 2003127172A JP 4246540 B2 JP4246540 B2 JP 4246540B2
Authority
JP
Japan
Prior art keywords
recording medium
program
slot
mount
card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003127172A
Other languages
Japanese (ja)
Other versions
JP2004046802A (en
Inventor
綾子 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2003127172A priority Critical patent/JP4246540B2/en
Priority to US10/429,865 priority patent/US20030231343A1/en
Priority to EP03021654A priority patent/EP1376346A3/en
Priority to EP03010296A priority patent/EP1369780A1/en
Priority to EP20030021655 priority patent/EP1385087A3/en
Priority to EP03021656A priority patent/EP1387264A3/en
Publication of JP2004046802A publication Critical patent/JP2004046802A/en
Priority to US11/836,198 priority patent/US7593121B2/en
Priority to US11/836,188 priority patent/US8213040B2/en
Application granted granted Critical
Publication of JP4246540B2 publication Critical patent/JP4246540B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Stored Programmes (AREA)
  • Facsimiles In General (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、画像形成装置およびプログラム実行方法に係り、特に記録媒体からプログラムを実行する画像形成装置およびプログラム実行方法に関する。
【0002】
【従来の技術】
近年、プリンタ,コピー,ファクシミリおよびスキャナなどの各装置の機能を1つの筐体内に収納した画像形成装置(以下、融合機という)が知られるようになった。この融合機は、1つの筐体内に表示部,印刷部および撮像部などを設けると共に、プリンタ,コピー,ファクシミリおよびスキャナにそれぞれ対応する4種類のソフトウェアを設け、そのソフトウェアを切り替えることより、プリンタ,コピー,ファクシミリおよびスキャナとして動作させるものである。特許文献1には、上記のような融合機の一例が記載されている。
【0003】
このような融合機は、電源投入後に、BIOS(Basic Input/Output System)およびブートローダ(Boot Loader)が起動する。ブートローダは、カーネル(Kernel)およびルートファイルシステムをRAM(Random Access Memory)上に展開してカーネルを起動する。そして、カーネルはルートファイルシステムをマウントする。ここでマウントとは、ファイルシステムや周辺機器などをアクセス可能な状態に起動することをいう。
【0004】
カーネルの起動後、アプリケーション(以下、アプリという)や各種サービスを起動するアプリ/サービス起動プログラムが起動される。アプリ/サービス起動プログラムは融合機で最初に起動されるプロセスであり、所定の設定ファイルに従ってファイルシステムをマウントし、融合機の動作に必要なサービス層およびアプリのプロセスを所定の設定ファイルに従って起動していた。
【0005】
このような従来の融合機では、起動するアプリのプログラムをハードディスク装置やROMなどに記録しておく必要があった。特許文献2には、起動するアプリのプログラムをハードディスク装置やROMなどに追加する画像処理装置の一例が記載されている。
【0006】
【特許文献1】
特開2002−84383号公報
【0007】
【特許文献2】
特開2001−76125号公報
【0008】
【発明が解決しようとする課題】
しかしながら、従来の融合機では、起動するアプリのプログラムだけでなく起動するアプリに応じた設定ファイルをハードディスク装置やROMなどに記録しておく必要があった。つまり、従来の融合機では、新たなアプリの追加を容易に行うことができないという問題があった。
【0009】
この結果、従来の融合機は機能拡張やアプリのバージョンアップを容易に行うことができないという問題があった。さらに、従来の融合機は電源を投入したままの状態でアプリを追加することができないという問題があった。
【0010】
本発明は、上記の点に鑑みなされたもので、プログラムの実行を動的かつ容易に行うことが可能な画像形成装置およびプログラム実行方法を提供することを目的とする。
【0011】
【課題を解決するための手段】
そこで、上記課題を解決するため、本発明は、画像形成に係る処理を行うCPU,メモリ,エンジン部を含むハードウェア資源と、前記ハードウェア資源を用いて画像形成に係る処理を行うための複数のプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置であって、前記CPUが前記プログラムに含まれる記録媒体状態監視プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに対する記録媒体の挿抜を監視する状態監視手段と、前記CPUが前記プログラムに含まれる記録媒体チェックプログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに挿入された記録媒体をマウント又はアンマウントする記録媒体チェック手段と、前記CPUが前記プログラムに含まれる起動プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記記録媒体チェック手段を起動する機能、及び前記マウントした記録媒体からプログラムを読み出し、そのプログラムを実行する機能を有するプログラム起動手段とを有し、前記状態監視手段は、前記スロットに対する記録媒体の挿抜情報を、前記記録媒体に対するアクセス制御を行う記録媒体アクセス手段から通知され、その挿抜情報を前記プログラム起動手段に通知し、前記プログラム起動手段は、前記状態監視手段からの挿抜情報により前記スロットへの前記記録媒体の挿入又は前記スロットからの前記記録媒体の抜き出しが通知されると、前記記録媒体チェック手段を起動し、前記記録媒体チェック手段は、前記スロットへの前記記録媒体の挿入が通知されると前記スロットに挿入された記録媒体をマウントして、前記記録媒体をマウントした旨を前記状態監視手段に通知する一方、前記スロットからの前記記録媒体の抜き出しが通知されると前記スロットから抜き出された記録媒体をアンマウントして、前記記録媒体をアンマウントした旨を前記状態監視手段に通知し、前記プログラム起動手段は、前記状態監視手段から前記記録媒体がマウントされた旨が通知されると、その記録媒体に記録されている、マウント及び実行対象のプログラムと前記マウント及び実行対象のプログラムのマウントポイントとを設定する設定情報に応じて前記記録媒体に記録されている前記マウント及び実行対象のプログラムをマウントして実行することを特徴とする。
【0012】
また、上記課題を解決するため、本発明は、画像形成に係る処理を行うCPU,メモリ,エンジン部を含むハードウェア資源と、前記ハードウェア資源を用いて画像形成に係る処理を行うための複数のプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置に、前記記録媒体に記録されているプログラムを実行させるプログラム実行方法であって、前記画像形成装置は、前記CPUが前記プログラムに含まれる記録媒体状態監視プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに対する記録媒体の挿抜を監視する状態監視手段と、前記CPUが前記プログラムに含まれる記録媒体チェックプログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに挿入された記録媒体をマウント又はアンマウントする記録媒体チェック手段と、前記CPUが前記プログラムに含まれる起動プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記記録媒体チェック手段を起動する機能、及び前記マウントした記録媒体からプログラムを読み出し、そのプログラムを実行する機能を有するプログラム起動手段とを有し、前記状態監視手段が、前記スロットに対する記録媒体の挿抜情報を、前記記録媒体に対するアクセス制御を行う記録媒体アクセス手段から通知され、その挿抜情報を前記プログラム起動手段に通知し、前記プログラム起動手段が、前記状態監視手段からの挿抜情報により前記スロットへの前記記録媒体の挿入又は前記スロットからの前記記録媒体の抜き出しが通知されると、前記記録媒体チェック手段を起動し、前記記録媒体チェック手段が、前記スロットへの前記記録媒体の挿入が通知されると前記スロットに挿入された記録媒体をマウントして、前記記録媒体をマウントした旨を前記状態監視手段に通知する一方、前記スロットからの前記記録媒体の抜き出しが通知されると前記スロットから抜き出された記録媒体をアンマウントして、前記記録媒体をアンマウントした旨を前記状態監視手段に通知し、前記プログラム起動手段が、前記状態監視手段から前記記録媒体がマウントされた旨が通知されると、その記録媒体に記録されている、マウント及び実行対象のプログラムと前記マウント及び実行対象のプログラムのマウントポイントとを設定する設定情報に応じて前記記録媒体に記録されている前記マウント及び実行対象のプログラムをマウントして実行することを特徴とする。
【0014】
本発明によれば、スロットに対する記録媒体の挿抜を監視し、スロットに挿入された記録媒体をアクセス可能な状態に起動し、アクセス可能な状態に起動した記録媒体からプログラムを読み出して起動することができるので、記録媒体に記録したプログラムを容易に画像形成装置へ追加することができる。また、記録媒体に記録したプログラムを用いて画像形成装置の機能拡張やプログラムのバージョンアップを容易に行うことができる。さらに、記録媒体が活線挿抜可能であれば、画像形成装置の電源を投入したままの状態でプログラムの追加を動的に行うことができる。
【0015】
【発明の実施の形態】
次に、本発明の実施の形態について図面に基づいて説明する。
【0016】
図1は、本発明による融合機の一実施例の構成図を示す。融合機1は、白黒レーザープリンタ(B&W LP)11と,カラーレーザープリンタ(ColorLP)12と,スキャナやファクシミリなどのハードウェアリソース13と,ソフトウェア群20と,融合機起動部50とを有する。また、ソフトウェア群20はアプリケーション30とプラットフォーム40とを有する。
【0017】
アプリケーション30は、プリンタ,コピー,ファクシミリおよびスキャナなどの画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うものである。
【0018】
アプリケーション30は、ページ記述言語(PDL,PCL)およびポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ31と,コピー用のアプリケーションであるコピーアプリ32と,ファクシミリ用アプリケーションであるファックスアプリ33と,スキャナ用アプリケーションであるスキャナアプリ34と,ネットワークファイル用アプリケーションであるネットファイルアプリ35と,工程検査用アプリケーションである工程検査アプリ36とを有している。
【0019】
また、プラットフォーム40は、アプリケーション30からの処理要求を解釈してハードウェア資源の獲得要求を発生するコントロールサービスと、1つ以上のハードウェア資源の管理を行ってコントロールサービスからの獲得要求を調停するシステムリソースマネージャ(以下、SRMという)43と、オペレーティングシステム(以下、OSという)41とを有するように構成されている。
【0020】
コントロールサービスは、システムコントロールサービス(以下、SCSという)42,エンジンコントロールサービス(以下、ECSという)44,メモリコントロールサービス(以下、MCSという)45,オペレーションパネルコントロールサービス(以下、OCSという)46,ファックスコントロールサービス(以下、FCSという)47,ネットワークコントロールサービス(以下、NCSという)48など、一つ以上のサービスモジュールを有するように構成されている。
【0021】
なお、プラットフォーム40は予め定義されている関数によりアプリケーション30からの処理要求を受信可能とするアプリケーションプログラムインターフェース(以下、APIという)を有するように構成されている。OS41は、ユニックス(UNIX(登録商標))等であって、プラットフォーム40およびアプリケーション30の各ソフトウェアをプロセスとして並列実行する。
【0022】
SRM43のプロセスは、SCS42と共にシステムの制御およびハードウェア資源の管理を行うものである。例えばSRM43のプロセスは、エンジン,メモリ,HDDファイル,ホストI/O(セントロI/F,ネットワークI/F,IEEE1394 I/F,RS232C I/Fなど)のハードウェア資源を利用する上位層からの要求に従って調停を行い、実行制御する。
【0023】
具体的に、SRM43は要求されたハードウェア資源が利用可能であるか(他の要求により利用されていないかどうか)を判定し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に通知する。また、SRM43は上位層からの要求に対してハードウェア資源を利用するためのスケジューリングを行い、要求内容(例えば、プリンタエンジンによる紙搬送と作像動作,メモリ確保,ファイル生成など)を直接実施している。
【0024】
SCS42のプロセスは、アプリケーション管理,操作部制御,システム画面表示,LED表示,ハードウェア資源管理,割り込みアプリケーション制御などの処理を行う。ECS44のプロセスは、白黒レーザープリンタ11,カラーレーザープリンタ12,ハードウェアリソース13などのエンジンの制御を行う。
【0025】
MCS45のプロセスは、画像メモリの取得および解放,HDDの利用,画像データの圧縮および伸張などのメモリ制御を行う。OCS46のプロセスは、オペレータと本体制御との間の情報伝達手段となるオペレーションパネルの制御を行う。
【0026】
FCS47のプロセスは、システムコントローラの各アプリケーション層からPSTNまたはISDN網を利用したファクシミリ送受信,バックアップ用のメモリで管理されている各種ファクシミリデータの登録/引用,ファクシミリ読み取り,ファクシミリ受信印刷,融合送受信を行うためのAPIを提供する。
【0027】
NCS48のプロセスは、ネットワークI/Oを必要とするアプリケーションに対して共通に利用できるサービスを提供するものであり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーションに振り分けたり、各アプリケーションからのデータをネットワーク側に送信する際の仲介を行う。
【0028】
例えばNCS48は、ネットワークを介して接続されるネットワーク機器とのデータ通信をhttpd(HyperText Transfer Protocol Daemon)により、HTTP(HyperText Transfer Protocol)で制御する。
【0029】
融合機1は、各アプリケーションで共通的に必要な処理をプラットフォーム40で一元的に処理することができる。次に、融合機1のハードウェア構成について説明する。
【0030】
図2は、本発明による融合機の一実施例のハードウェア構成図を示す。融合機1は、コントローラ60と,オペレーションパネル80と,FCU81と,エンジン部82とを含む。コントローラ60は、CPU61と,システムメモリ62と,ノースブリッジ(NB)63と,サウスブリッジ(SB)64と,ASIC66と,ローカルメモリ67と,HDD68と、ネットワークインターフェースカード(NIC)69と,SDカード用スロット70と,USBデバイス71と,IEEE1394デバイス72と,セントロニクス73とを含む。
【0031】
オペレーションパネル80は、コントローラ60のASIC66に接続されている。また、FCU81およびエンジン部82は、コントローラ60のASIC66にPCIバス83で接続されている。
【0032】
コントローラ60は、ASIC66にローカルメモリ67,HDD68などが接続されると共に、CPU61とASIC66とがCPUチップセットのNB63を介して接続されている。コントローラ60は、NB63を介してCPU61とASIC66とを接続することにより、CPU61のインターフェースが公開されていない場合に対応する。なお、ASIC66とNB63とはAGP(Accelerated Graphics Port )65を介して接続されている。
【0033】
このように、図1のアプリケーション30やプラットフォーム40を形成する一つ以上のプロセスを実行制御するため、ASIC66とNB63とを低速のPCIバスでなくAGP65を介して接続することで、パフォーマンスの低下を防いでいる。
【0034】
CPU61は、融合機1の全体制御を行うものである。CPU61は、OS41上にSCS42,SRM43,ECS44,MCS45,OCS46,FCS47およびNCS48をそれぞれプロセスとして起動して実行させると共に、アプリケーション30を形成するプリンタアプリ31,コピーアプリ32,ファックスアプリ33,スキャナアプリ34,ネットファイルアプリ35,工程検査アプリ36を起動して実行させる。
【0035】
NB63は、CPU61,システムメモリ62,SB64,ASIC66,NIC69,SDカード用スロット70,USBデバイス71,IEEE1394デバイス72およびセントロニクス73を接続するためのブリッジである。
【0036】
SB64,NIC69,SDカード用スロット70,USBデバイス71,IEEE1394デバイス72およびセントロニクス73は、PCIバス74を介してNB63に接続されている。なお、SB64は、PCIバス74とROMや周辺デバイス等とを接続するためのブリッジである。
【0037】
システムメモリ62は、融合機1の描画用メモリなどとして用いるメモリである。ローカルメモリ67はコピー用画像バッファ,符号バッファとして用いるメモリである。
【0038】
ASIC66は、画像処理用のハードウェア要素を有する画像処理用途向けのICである。HDD68は、画像データの蓄積,文書データの蓄積,プログラムの蓄積,フォントデータの蓄積,フォームの蓄積などを行うストレージ(補助記憶装置)の一例である。
【0039】
NIC69は、融合機1をネットワークに接続するインターフェース機器である。SDカード用スロット70はSDカードを挿抜可能なものであり、SDカードの挿入または抜き出しに応じた割り込みを後述するSDカードアクセスドライバに対して行う。USBデバイス71,IEEE1394デバイス72およびセントロニクス73は、夫々の規格に準じたインターフェースである。
【0040】
また、オペレーションパネル80は、オペレータからの入力操作を受け付けると共に、オペレータに向けた表示を行う操作部である。なお、FCU81はメモリを有している。FCU81が有するメモリは、例えば融合機1の電源がOFFのときに受信したファクシミリデータを一時的に格納するために利用される。
【0041】
図1の融合機起動部50は、融合機1の電源投入時に最初に実行され、プラットフォーム40やアプリケーション30を起動するものである。図3は、融合機起動部の一例の構成図を示す。融合機起動部50は、ROMモニタ51と,プログラム起動部52とを有する。
【0042】
BIOSおよびブートローダとしてのROMモニタ51は電源投入時に実行されるものであり、ハードウェアの初期化,コントローラ60の診断,ソフトウェアの初期化などを行う。ROMモニタ51は、カーネルおよびルートファイルシステムをシステムメモリ62上に展開してカーネルを起動する。そして、カーネルはルートファイルシステムをマウントする。
【0043】
アプリ/サービス起動プログラムとしてのプログラム起動部52は、カーネルから呼び出されるものであり、システムメモリ62及びローカルメモリ67上にメモリ領域を確保する。プログラム起動部52は、融合機1で最初に起動されるプロセスであって、所定の設定ファイルに従ってファイルシステムをマウントする。
【0044】
プログラム起動部52は、融合機1の動作に必要なアプリケーション30およびプラットフォーム40のプログラムを所定の設定ファイルに従ってROMなどから読み出し、読み出した各プログラムをシステムメモリ62及びローカルメモリ67上に確保したメモリ領域に展開してアプリケーション30およびプラットフォーム40のプロセスを起動するものである。
【0045】
更に、プログラム起動部52の処理について説明する。プログラム起動部52は、起動時に所定のマスタ設定ファイルを読み込み、読み込んだマスタ設定ファイルに従ってファイルシステムのマウントおよびプロセスの起動を行う。例えば図4のようなファイルツリーの場合、プログラム起動部52はマスタ設定ファイルとして「/etc/init.conf」を起動時に読み込む。図4は、ファイルツリーの一例の構成図を示す。
【0046】
プログラム起動部52は、読み込んだマスタ設定ファイルにマウントの記述が存在した場合、そのマウントの記述に従ってマウント処理を実行する。例えば図5のようなマスタ設定ファイルの場合、プログラム起動部52はマウントの記述に従ってSDカード0〜3の上のファイルシステムのマウント処理を行う。図5は、マスタ設定ファイルの一例の構成図を示す。
【0047】
また、プログラム起動部52はマウントしたファイルシステムのルートに所定の設定ファイルが存在する場合、又はマウントしたファイルシステムのルートに所定の拡張子のファイルを含む所定のディレクトリが存在する場合、所定の設定ファイル又は所定の拡張子のファイルを読み込んでファイルシステムのマウント処理を行う。
【0048】
例えばマウントしたSDカードファイルシステムのルートに図6のような設定ファイル「init.conf」又は「init.cnf」が存在する場合、プログラム起動部52は設定ファイルに存在するマウントの記述に従ってマウント処理を実行する。図6は、設定ファイルの一例の構成図を示す。
【0049】
マウントしたSDカードファイルシステムのルートに図7のようなディレクトリ「init.d」が存在し、そのディレクトリに拡張子「conf」,「cnf」のファイルが含まれる場合、プログラム起動部52はそのファイルに存在するマウントの記述に従ってマウント処理を実行する。図7は、SDカードのファイルツリーの一例の構成図を示す。
【0050】
なお、プログラム起動部52がマウントできるファイルシステムは、図5及び図6に記載されているような「gzromfs」などがある。このファイルシステム「gzromfs」は、gzip圧縮されたROMFS形式のファイルをRAM上に展開してマウントする。
【0051】
以下、融合機1の電源を投入したままの状態で、アプリケーションが記録されているSDカードから融合機1にアプリケーションを追加する例について説明していく。
【0052】
図8は、本発明によるプログラム追加方法の一実施例の説明図を示す。図8の説明図では、融合機1の構成のうち説明に必要な構成を表し、説明に必要のない構成を省略している。
【0053】
SDカード126は、ルートファイルシステム,サービス層,アプリケーション,フォントデータなどが、モジュール情報の格納されたヘッダとROMFS形式のデータから構成されるバイナリファイルとして記録されている。なお、SDカード126は融合機1の電源を投入したままの状態で、いわゆる活線挿抜が可能である。SDカード用スロット125は、SDカード126を挿抜可能なものであり、SDカード126の挿入または抜き出しに応じた割り込みをSDカードアクセスドライバ124に対して行う。
【0054】
SDカードアクセスドライバ124は、SDカード126に対するアクセス制御を行うものであり、SDカード用スロット125からの割り込みに応じてSDカード126の挿入または抜き出しをSDカードステータスモニタドライバ123に通知する。
【0055】
SDカードステータスモニタドライバ123は、SDカード126の挿入,抜き出し,マウント,アンマウントなど、SDカード126のステータス情報を管理するものであり、SDカード126のステータス情報をプログラム起動部52に通知する。
【0056】
プログラム起動部52は、SDカード126の挿入または抜き出しに応じてSDカードチェックプログラム121を起動する。また、プログラム起動部52はSDカードステータスモニタドライバ123からのSDカード126のステータス情報に応じてSDカード126内のプログラムを起動する。
【0057】
SDカードチェックプログラム121は、SDカード126についてパーティションが正しいか,ファイルシステムの状態が正しいかをチェックし、ファイルシステム122として使用可能な状態にするためのものである。SDカードチェックプログラム121は、例えばSDカード126のチェック機能,マウント機能,アンマウント機能,状態通知機能などを有している。
【0058】
次に、本発明によるプログラム追加方法の処理手順についてフローチャートを参照しつつ説明していく。プログラム起動部52は、融合機1のアプリケーション30およびプラットフォーム40のプロセスを起動したあと、イベント待ち状態となる。図9は、イベント待ち処理の一例のフローチャートを示す。
【0059】
図9中、ステップS1では、プログラム起動部52が、イベントの発生有無を判定する。イベントの発生が無いと判定すると(S1においてNO)、プログラム起動部52はステップS1の処理を繰り返す。イベントの発生が有ると判定すると(S1においてYES)、プログラム起動部52はステップS2に進む。
【0060】
例えばSDカード126がSDカード用スロット125に挿入されると、SDカードアクセスドライバ124はSDカード用スロット125からの割り込みに応じてSDカード126の挿入をSDカードステータスモニタドライバ123に通知する。そして、SDカードステータスモニタドライバ123は、SDカード126の挿入をプログラム起動部52に通知する。プログラム起動部52は、SDカードステータスモニタドライバ123からSDカード126の挿入が通知されたときにイベントの発生があると判定する。
【0061】
また、SDカード126がSDカード用スロット125から抜き出されると、SDカードアクセスドライバ124はSDカード用スロット125からの割り込みに応じてSDカード126の抜き出しをSDカードステータスモニタドライバ123に通知する。そして、SDカードステータスモニタドライバ123は、SDカード126の抜き出しをプログラム起動部52に通知する。プログラム起動部52は、SDカードステータスモニタドライバ123からSDカード126の抜き出しが通知されたときにイベントの発生があると判定する。
【0062】
ステップS2では、プログラム起動部52が、イベントの内容を判定する。イベントの内容がSDカード126の挿入検知である場合、プログラム起動部52はステップS3に進む。ステップS3では、後述するSDカード挿入検知処理が行われる。一方、イベントの内容がSDカード126の抜出検知である場合、プログラム起動部52はステップS4に進む。ステップS4では、後述するSDカード抜出検知処理が行われる。
【0063】
図10は、SDカード挿入検知処理の一例のフローチャートを示す。ステップS11では、プログラム起動部52が、SDカードチェックプログラム121を起動させる。ステップS11に続いてステップS12に進み、SDカードチェックプログラム121はSDカード126のマウントを行い、SDカード126のマウントを行った旨をSDカードステータスモニタドライバ123に通知して処理を停止する。
【0064】
ステップS12に続いてステップS13に進み、プログラム起動部52はSDカードステータスモニタドライバ123からSDカード126がマウントされた旨を通知されると、マウントされたSDカード126から図6のような設定ファイル又は図7中の設定ファイル(*.cnf)を読み出して解析する。
【0065】
ステップS13に続いてステップS14に進み、プログラム起動部52は図6のような設定ファイル又は図7中の設定ファイル(*.cnf)に存在するマウントの記述に従ってマウント処理を行う。そして、ステップS14に続いてステップS15に進み、プログラム起動部52はSDカード126に記録されているプログラムのプロセスを起動する。
【0066】
したがって、融合機1では電源を投入したままの状態でSDカード126を挿入したとしても、SDカード126に記録されているアプリケーションのプロセスを自動的に起動することができる。例えば図1の融合機1では、アプリケーション30の一つとしてSDカード126内のアプリが追加される。
【0067】
図10のSDカード挿入検知処理では、マウントされたSDカード126に記録されている図6のような設定ファイル又は図7のようなファイル,又はアプリケーション30やプラットフォーム40等のプログラムを全て読み出してマウントしていたが、SDカード126の不正コピーを防止するため電子認証チェックを行うようにしてもよい。
【0068】
図11は、電子認証チェック機能を有するSDカード挿入検知処理の一例のフローチャートを示す。ステップS21及びS22は、図10のフローチャートの処理と同様であり、説明を省略する。
【0069】
SDカードステータスモニタドライバ123からSDカード126がマウントされた旨を通知されると、プログラム起動部52はステップS23に進み、マウントされたSDカード126から設定ファイルを検索する。ステップS24に進み、プログラム起動部52はマウントされたSDカード126に設定ファイルが存在すれば(S24においてYES)、ステップS25に進む。なお、マウントされたSDカード126に設定ファイルが存在しなければ(S24においてNO)、プログラム起動部52はステップS30に進む。ステップS25では、プログラム起動部52が、電子認証チェック用ライブラリを用いて設定ファイルの認証チェックを行う。
【0070】
例えば設定ファイルの認証チェックは、図12に表したフローチャートのように行われる。図12は、設定ファイルの認証チェックの処理の一例のフローチャートである。
【0071】
ステップS31では、プログラム起動部52が、SDカード126に設定ファイルの認証チェックに利用する対象ファイルが存在するか否かを判定する。設定ファイルの認証チェックに利用する対象ファイルは、設定ファイルと、設定ファイルおよびSDカードのシリアルIDのメッセージダイジェスト(以下、MDという)から作成された電子署名ファイルとを含む。
【0072】
図13は、SDカードに記録された対象ファイルの一例のイメージ図である。図13の例では、「printer.cnf」が設定ファイルを表し、「printer.lic」が設定ファイルの認証チェックに利用する電子署名ファイルを表し、「printer.mod」がマウント対象のモジュールファイルを表し、「printer.mac」がマウント対象モジュールの認証チェックに利用する電子署名ファイルを表す。
【0073】
設定ファイルの認証チェックに利用する対象ファイルが存在すると判定すると(S31においてYES)、プログラム起動部52はSDカード126から設定ファイルおよび設定ファイルの認証チェックに利用する電子署名ファイルを取得してステップS32に進む。
【0074】
ステップS32では、プログラム起動部52が、SDカード126のシリアルIDをSDカード126から取得する。ステップS33に進み、プログラム起動部52はステップS31で取得した設定ファイルと、ステップS32で取得したSDカード126のシリアルIDとのMD1を作成する。ステップS33に続いてステップS34に進み、プログラム起動部52はステップS31で取得した電子署名ファイルを公開鍵で復号化してMD2を作成する。
【0075】
ステップS35に進み、プログラム起動部52はステップS33で作成したMD1とステップS34で作成したMD2とが等しいか否かを判定する。MD1とMD2とが等しいと判定すると(S35においてYES)、プログラム起動部52はステップS36に進み、設定ファイルの認証チェックがOKと判定する。
【0076】
一方、MD1とMD2とが等しくないと判定すると(S35においてNO)、プログラム起動部52はステップS37に進み、設定ファイルの認証チェックがNGと判定する。MD1とMD2とが等しくなければ、SDカード126に記録されているファイルは不正にコピーされた可能性が高いためである。
【0077】
なお、設定ファイルの認証チェックに利用する対象ファイルが存在しないと判定すると(S31においてNO)、プログラム起動部52はステップS37に進み、設定ファイルの認証チェックがNGと判定する。
【0078】
図11に戻り、プログラム起動部52は設定ファイルの認証チェックがOKであれば(S25においてYES)、ステップS26に進み、図14のような設定ファイルの解析を行う。なお、プログラム起動部52は設定ファイルの認証チェックがNGであれば(S25においてNO)、ステップS23に進む。
【0079】
図14は、設定ファイルの一例のイメージ図である。設定ファイルは、gzip圧縮されたROMFS形式のファイル「module/printer.mod」をマウントポイント「/mnt/printer」へマウントし、マウントしたモジュールファイルを実行する処理を表している。
【0080】
ステップS26に続いてステップS27に進み、EOF(End Of File)を検索したか否かを判定する。EOFを検索したと判定すると(S27においてYES)、プログラム起動部52はステップS23に戻る。一方、EOFを検索していないと判定すると(S27においてNO)、プログラム起動部52はステップS28に進む。
【0081】
ステップS28では、プログラム起動部52が、設定ファイルにマウントの記述があれば、電子認証チェック用ライブラリを用いてマウント対象のモジュールの認証チェックを行う。
【0082】
例えばマウント対象モジュールの認証チェックは、図15に表したフローチャートのように行われる。図15は、マウント対象モジュールの認証チェックの処理の一例のフローチャートである。
【0083】
ステップS41では、プログラム起動部52が、SDカード126にマウント対象モジュールの認証チェックに利用する対象ファイルが存在するか否かを判定する。マウント対象モジュールの認証チェックに利用する対象ファイルは、マウント対象のモジュールファイルと、モジュールファイルのMDから作成された電子署名ファイルとを含む。
【0084】
マウント対象モジュールの認証チェックに利用する対象ファイルが存在すると判定すると(S41においてYES)、プログラム起動部52はSDカード126からマウント対象のモジュールファイルおよびマウント対象のモジュールファイルの認証チェックに利用する電子署名ファイルを取得してステップS42に進む。
【0085】
ステップS43に進み、プログラム起動部52はステップS41で取得したモジュールファイルのMD1を作成する。ステップS44に進み、プログラム起動部52はステップS41で取得した電子署名ファイルを公開鍵で復号化してMD2を作成する。
【0086】
ステップS45に進み、プログラム起動部52はステップS43で作成したMD1とステップS44で作成したMD2とが等しいか否かを判定する。MD1とMD2とが等しいと判定すると(S45においてYES)、プログラム起動部52はステップS46に進み、マウント対象モジュールの認証チェックがOKと判定する。
【0087】
一方、MD1とMD2とが等しくないと判定すると(S45においてNO)、プログラム起動部52はステップS47に進み、マウント対象モジュールの認証チェックがNGと判定する。MD1とMD2とが等しくなければ、SDカード126に記録されているファイルはコピーや改竄などの不正を受けた可能性が高いためである。
【0088】
なお、マウント対象モジュールの認証チェックに利用する対象ファイルが存在しないと判定すると(S41においてNO)、プログラム起動部52はステップS47に進み、マウント対象モジュールの認証チェックがNGと判定する。
【0089】
図11に戻り、プログラム起動部52はマウント対象モジュールの認証チェックがOKであれば(S28においてYES)、ステップS29に進み、マウント対象モジュールをマウントしてステップS26に戻る。なお、プログラム起動部52はSDカード126に記録されている全ての設定ファイルの認証チェックを行うまで、ステップS23〜S29の処理を繰り返す。
【0090】
SDカード126に記録されている全ての設定ファイルの認証チェックを行ったあと、プログラム起動部52はマウントされたSDカード126に設定ファイルが存在しないと判定して(S24においてNO)、ステップS30に進む。ステップS30では、プログラム起動部52が、ステップS29でマウントしたモジュールを実行する。なお、マウント対象モジュールの認証チェックがNGであるモジュールは、ステップS29でマウントされないため、ステップS30で実行されない。
【0091】
なお、図10及び図11のSDカード挿入検知処理が全て終了した時点で、プログラム起動部52がアプリケーション30やプラットフォーム40のプロセスへ通知する機能を設けてもよい。なお、プログラム起動部52は例えば図4のようなファイルツリーにSDカード挿入検知処理が全て終了したことを表すファイル「/tmp/init.done」を作成しておくことで、SDカード挿入検知処理が全て終了した旨をアプリケーション30やプラットフォーム40のプロセスへ通知するようにしてもよい。
【0092】
SDカード挿入検知処理が全て終了した時点で、プログラム起動部52がアプリケーション30やプラットフォーム40のプロセスへ通知する機能は、例えばフォントデータを必要とするプリンタアプリ31がフォントデータのマウント終了を待つときに利用できる。
【0093】
なお、SDカード126が突然抜かれた場合、SDカード126をアンマウントする必要があるため、プログラム起動部52はSDカードチェックプログラム121を起動してSDカード126のアンマウント処理を行わせる。
【0094】
図16は、SDカード抜出検知処理の一例のフローチャートを示す。なお、SDカード抜出検知処理を行う前に、プログラム起動部52はステップS15で起動したプログラムを停止することも考えられる。SDカード126の抜き出しが検知されたときにSDカード126から読み出して起動したアプリケーションのプロセスを停止することにより、アプリケーションの不正使用を防止できる。
【0095】
ステップS51では、プログラム起動部52が、SDカードステータスモニタドライバ123にSDカード126のステータス情報を問い合わてSDカード126のマウント状態をチェックする。
【0096】
ステップS51に続いてステップS52に進み、プログラム起動部52はステップS51のマウント状態のチェック結果に応じてSDカード126がマウントされているか否かを判定する。マウント状態のチェック結果からSDカード126がマウントされていると判定すると(S52においてYES)、プログラム起動部52はステップS53に進み、SDカードチェックプログラム121を起動させる。なお、マウント状態のチェック結果からSDカード126がマウントされていないと判定すると(S52においてNO)、プログラム起動部52は処理を終了する。
【0097】
ステップS53に続いてステップS54に進み、SDカードチェックプログラム121はSDカード126のアンマウントを行い、SDカード126のマウントを行った旨をSDカードステータスモニタドライバ123に通知して処理を停止する。
【0098】
したがって、融合機1では電源を投入したままの状態でSDカード126を抜き出したとしても、SDカード126のアンマウント処理を自動的に行うことができる。
【0099】
以上、本発明によるプログラム追加方法を利用すれば、例えばSDカード126に個人用メニューのプログラムを記録しておき、そのSDカード126をSDカード用スロット125に挿入することで、オペレーションパネル80に個人用メニューを表示するプログラムのプロセスを自動的に起動できる。
【0100】
さらに、SDカード126にアプリケーションのダウンロード用プログラムを記録しておき、そのSDカード126をSDカード用スロット125に挿入することで、所定のアプリケーションをダウンロードするダウンロード用プログラムのプロセスを自動的に起動できる。
【0101】
【発明の効果】
上述の如く、本発明によれば、記録媒体に記録したプログラムを容易に画像形成装置へ追加することができる。また、記録媒体に記録したプログラムを用いて画像形成装置の機能拡張やプログラムのバージョンアップを容易に行うことができる。また、記録媒体が活線挿抜可能であれば、画像形成装置の電源を投入したままの状態でプログラムの追加を動的に行うことができる。
【0102】
【図面の簡単な説明】
【図1】本発明による融合機の一実施例の構成図である。
【図2】本発明による融合機の一実施例のハードウェア構成図である。
【図3】融合機起動部の一例の構成図である。
【図4】ファイルツリーの一例の構成図である。
【図5】マスタ設定ファイルの一例の構成図である。
【図6】設定ファイルの一例の構成図である。
【図7】SDカードのファイルツリーの一例の構成図である。
【図8】本発明によるプログラム追加方法の一実施例の説明図である。
【図9】イベント待ち処理の一例のフローチャートである。
【図10】SDカード挿入検知処理の一例のフローチャートである。
【図11】電子認証チェック機能を有するSDカード挿入検知処理の一例のフローチャートを示す。
【図12】設定ファイルの認証チェックの処理の一例のフローチャートである。
【図13】SDカードに記録された対象ファイルの一例のイメージ図である。
【図14】設定ファイルの一例のイメージ図である。
【図15】マウント対象モジュールの認証チェックの処理の一例のフローチャートである。
【図16】SDカード抜出検知処理の一例のフローチャートである。
【符号の説明】
1 融合機
11 白黒レーザープリンタ
12 カラーレーザープリンタ
13 ハードウェアリソース
20 ソフトウェア群
30 アプリケーション
31 プリンタアプリ
32 コピーアプリ
33 ファックスアプリ
34 スキャナアプリ
35 ネットファイルアプリ
36 工程検査アプリ
40 プラットフォーム
41 オペレーティングシステム(OS)
42 システムコントロールサービス(SCS)
43 システムリソースマネージャ(SRM)
44 エンジンコントロールサービス(ECS)
45 メモリコントロールサービス(MCS)
46 オペレーションパネルコントロールサービス(OCS)
47 ファックスコントロールサービス(FCS)
48 ネットワークコントロールサービス(NCS)
50 融合機起動部
51 ROMモニタ
52 プログラム起動部
62 システムメモリ
67 ローカルメモリ
68 ハードディスク装置(HDD)
70,125 SDカード用スロット
80 オペレーションパネル
82 エンジン部
121 SDカードチェックプログラム
122 ファイルシステム
123 SDカードステータスモニタドライバ
124 SDカードアクセスドライバ
126 SDカード
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an image forming apparatus and a program. Execution In particular, the program from the recording medium Execution Image forming apparatus and program Execution Regarding the method.
[0002]
[Prior art]
In recent years, there has been known an image forming apparatus (hereinafter referred to as a multifunction peripheral) in which the functions of each apparatus such as a printer, a copy, a facsimile, and a scanner are housed in one casing. This multi-function apparatus is provided with a display unit, a printing unit, an imaging unit, and the like in one casing, and four types of software corresponding to a printer, a copy, a facsimile, and a scanner, respectively. Operates as a copy, facsimile and scanner. Patent Document 1 describes an example of a fusion machine as described above.
[0003]
In such a multi-function apparatus, a basic input / output system (BIOS) and a boot loader are activated after the power is turned on. The boot loader starts the kernel by expanding the kernel and the root file system on a RAM (Random Access Memory). The kernel then mounts the root file system. Here, “mount” refers to starting up a file system or peripheral device in an accessible state.
[0004]
After the kernel is activated, an application / service activation program that activates an application (hereinafter referred to as an application) and various services is activated. The application / service activation program is the first process activated on the MFP, mounts the file system according to a predetermined setting file, and starts the service layer and application processes necessary for the operation of the MFP according to the predetermined setting file. It was.
[0005]
In such a conventional multi-function apparatus, it is necessary to record a program of an application to be activated in a hard disk device or a ROM. Patent Document 2 describes an example of an image processing apparatus that adds a program of an application to be started to a hard disk device or a ROM.
[0006]
[Patent Document 1]
JP 2002-84383 A
[0007]
[Patent Document 2]
JP 2001-76125 A
[0008]
[Problems to be solved by the invention]
However, in a conventional multi-function apparatus, it is necessary to record not only a program for an application to be activated but also a setting file corresponding to the application to be activated in a hard disk device or a ROM. In other words, the conventional fusion machine has a problem that a new application cannot be easily added.
[0009]
As a result, there has been a problem that conventional multifunction peripherals cannot easily perform function expansion and application version upgrade. Furthermore, the conventional fusion machine has a problem that an application cannot be added while the power is on.
[0010]
The present invention has been made in view of the above points. Execution Forming apparatus and program capable of dynamically and easily performing Execution It aims to provide a method.
[0011]
[Means for Solving the Problems]
Therefore, in order to solve the above problems, the present invention performs processing related to image formation. Including CPU, memory and engine Hardware resources and processing for image formation using the hardware resources plural An image forming apparatus having a program and a slot into which a recording medium can be inserted and removed, The CPU is realized by expanding and executing a recording medium state monitoring program included in the program in a memory area on the memory, State monitoring means for monitoring insertion and removal of the recording medium with respect to the slot; The CPU is realized by expanding and executing a recording medium check program included in the program in a memory area on the memory, A recording medium check means for mounting or unmounting the recording medium inserted in the slot; A function of starting the recording medium checking means, realized by the CPU expanding and executing a startup program included in the program in a memory area on the memory; and Read a program from the mounted recording medium and execute the program Have function Program starting means, and the state monitoring means displays information on the insertion / extraction of the recording medium in the slot. From a recording medium access means for controlling access to the recording medium The program activation unit is notified of the insertion / extraction information, and the program activation unit inserts the recording medium into the slot or removes the recording medium from the slot according to the insertion / extraction information from the state monitoring unit. When notified, the recording medium checking means is activated, and when the recording medium checking means is notified of insertion of the recording medium into the slot, the recording medium inserted into the slot is mounted and the recording medium is checked. While notifying the state monitoring means that the medium has been mounted, when the removal of the recording medium from the slot is notified, the recording medium extracted from the slot is unmounted, and the recording medium is unmounted. To the state monitoring unit, and the program starting unit receives a mouse from the state monitoring unit. When indicating that the bets is notified, and is recorded on the recording medium Set the mount and execution target program and the mount point of the mount and execution target program Recorded on the recording medium according to the setting information The mount and execution target Program Mount It is characterized by performing.
[0012]
In order to solve the above problems, the present invention performs processing related to image formation. Including CPU, memory and engine Hardware resources and processing for image formation using the hardware resources plural An image forming apparatus having a program and a slot into which the recording medium can be inserted / removed is loaded with the program recorded on the recording medium. Let it run Program Execution The image forming apparatus includes: The CPU is realized by expanding and executing a recording medium state monitoring program included in the program in a memory area on the memory, State monitoring means for monitoring insertion and removal of the recording medium with respect to the slot; The CPU is realized by expanding and executing a recording medium check program included in the program in a memory area on the memory, A recording medium check means for mounting or unmounting the recording medium inserted in the slot; A function of starting the recording medium checking means, realized by the CPU expanding and executing a startup program included in the program in a memory area on the memory; and Read a program from the mounted recording medium and execute the program Have function Program starting means, and the state monitoring means displays recording medium insertion / extraction information with respect to the slot. From a recording medium access means for controlling access to the recording medium The program starting unit is notified of the insertion / extraction information, and the program starting unit inserts the recording medium into or removes the recording medium from the slot based on the insertion / extraction information from the state monitoring unit. When notified, the recording medium checking means is activated, and when the recording medium checking means is notified of insertion of the recording medium into the slot, the recording medium inserted into the slot is mounted, and the recording medium is checked. While notifying the state monitoring means that the medium has been mounted, when the removal of the recording medium from the slot is notified, the recording medium extracted from the slot is unmounted, and the recording medium is unmounted. To the state monitoring unit, and the program starting unit sends the recording medium from the state monitoring unit to the mouse. When indicating that the bets is notified, and is recorded on the recording medium Set the mount and execution target program and the mount point of the mount and execution target program Recorded on the recording medium according to the setting information The mount and execution target Program Mount It is characterized by performing.
[0014]
According to the present invention, it is possible to monitor insertion / removal of a recording medium with respect to a slot, start the recording medium inserted into the slot in an accessible state, and read and start a program from the recording medium activated in the accessible state. Therefore, the program recorded on the recording medium can be easily added to the image forming apparatus. In addition, it is possible to easily expand the function of the image forming apparatus and upgrade the program using the program recorded on the recording medium. Further, if the recording medium can be hot-plugged, the program can be dynamically added while the image forming apparatus is powered on.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0016]
FIG. 1 shows a block diagram of an embodiment of a compound machine according to the present invention. The compound machine 1 includes a monochrome laser printer (B & W LP) 11, a color laser printer (ColorLP) 12, hardware resources 13 such as a scanner and a facsimile, a software group 20, and a compound machine starting unit 50. The software group 20 includes an application 30 and a platform 40.
[0017]
The application 30 performs processing unique to each user service related to image forming processing such as a printer, copy, facsimile, and scanner.
[0018]
The application 30 includes a printer application 31 that is a printer application having a page description language (PDL, PCL) and a postscript (PS), a copy application 32 that is a copy application, and a fax application 33 that is a facsimile application. A scanner application 34 that is a scanner application, a net file application 35 that is a network file application, and a process inspection application 36 that is a process inspection application.
[0019]
The platform 40 also interprets the processing request from the application 30 and generates a hardware resource acquisition request, and manages one or more hardware resources to arbitrate the acquisition request from the control service. A system resource manager (hereinafter referred to as SRM) 43 and an operating system (hereinafter referred to as OS) 41 are configured.
[0020]
The control service includes a system control service (hereinafter referred to as SCS) 42, an engine control service (hereinafter referred to as ECS) 44, a memory control service (hereinafter referred to as MCS) 45, an operation panel control service (hereinafter referred to as OCS) 46, and a fax. It is configured to have one or more service modules such as a control service (hereinafter referred to as FCS) 47 and a network control service (hereinafter referred to as NCS) 48.
[0021]
The platform 40 is configured to have an application program interface (hereinafter referred to as API) that can receive a processing request from the application 30 using a predefined function. The OS 41 is UNIX (registered trademark) or the like, and executes the software of the platform 40 and the application 30 in parallel as processes.
[0022]
The process of the SRM 43 performs system control and hardware resource management together with the SCS 42. For example, the process of the SRM43 is from an upper layer that uses the hardware resources of the engine, memory, HDD file, and host I / O (centro I / F, network I / F, IEEE 1394 I / F, RS232C I / F, etc.). Arbitrate and control execution according to request.
[0023]
Specifically, the SRM 43 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. Notify the higher layer. In addition, the SRM 43 performs scheduling for using hardware resources in response to a request from an upper layer, and directly executes the request contents (for example, paper conveyance and image forming operation by the printer engine, memory allocation, file generation, etc.). ing.
[0024]
The process of the SCS 42 performs processing such as application management, operation unit control, system screen display, LED display, hardware resource management, and interrupt application control. The ECS 44 process controls engines such as the monochrome laser printer 11, the color laser printer 12, and the hardware resource 13.
[0025]
The MCS 45 process performs memory control such as acquisition and release of image memory, use of HDD, compression and expansion of image data, and the like. The process of the OCS 46 controls an operation panel serving as information transmission means between the operator and the main body control.
[0026]
The FCS 47 process performs facsimile transmission / reception using the PSTN or ISDN network from each application layer of the system controller, registration / quotation of various facsimile data managed in the backup memory, facsimile reading, facsimile reception printing, and fusion transmission / reception. API is provided.
[0027]
The NCS 48 process provides a service that can be used in common for applications that require network I / O. Data received from each network according to each protocol is distributed to each application, and data from each application. Mediation when sending to the network side.
[0028]
For example, the NCS 48 controls data communication with network devices connected via a network by HTTP (HyperText Transfer Protocol Daemon) using HTTP (HyperText Transfer Protocol).
[0029]
The multi-function apparatus 1 can process the processing commonly required for each application by the platform 40 in a centralized manner. Next, a hardware configuration of the multifunction machine 1 will be described.
[0030]
FIG. 2 is a hardware configuration diagram of an embodiment of the compound machine according to the present invention. The multi-function apparatus 1 includes a controller 60, an operation panel 80, an FCU 81, and an engine unit 82. The controller 60 includes a CPU 61, a system memory 62, a north bridge (NB) 63, a south bridge (SB) 64, an ASIC 66, a local memory 67, an HDD 68, a network interface card (NIC) 69, and an SD card. Slot 70, USB device 71, IEEE 1394 device 72, and Centronics 73.
[0031]
The operation panel 80 is connected to the ASIC 66 of the controller 60. Further, the FCU 81 and the engine unit 82 are connected to the ASIC 66 of the controller 60 via the PCI bus 83.
[0032]
In the controller 60, the local memory 67, the HDD 68, and the like are connected to the ASIC 66, and the CPU 61 and the ASIC 66 are connected via the NB 63 of the CPU chip set. The controller 60 corresponds to the case where the interface of the CPU 61 is not disclosed by connecting the CPU 61 and the ASIC 66 via the NB 63. The ASIC 66 and the NB 63 are connected via an AGP (Accelerated Graphics Port) 65.
[0033]
In this way, in order to control the execution of one or more processes forming the application 30 and the platform 40 of FIG. 1, the ASIC 66 and the NB 63 are connected via the AGP 65 instead of the low-speed PCI bus. It is preventing.
[0034]
The CPU 61 performs overall control of the compound machine 1. The CPU 61 starts and executes the SCS 42, SRM 43, ECS 44, MCS 45, OCS 46, FCS 47, and NCS 48 on the OS 41 as processes, and at the same time, the printer application 31, the copy application 32, the fax application 33, and the scanner application 34 that form the application 30. The network file application 35 and the process inspection application 36 are activated and executed.
[0035]
The NB 63 is a bridge for connecting the CPU 61, system memory 62, SB 64, ASIC 66, NIC 69, SD card slot 70, USB device 71, IEEE 1394 device 72, and Centronics 73.
[0036]
The SB 64, NIC 69, SD card slot 70, USB device 71, IEEE 1394 device 72, and Centronics 73 are connected to the NB 63 via the PCI bus 74. The SB 64 is a bridge for connecting the PCI bus 74 to the ROM, peripheral devices, and the like.
[0037]
The system memory 62 is a memory used as a drawing memory or the like of the multifunction machine 1. The local memory 67 is a memory used as a copy image buffer and a code buffer.
[0038]
The ASIC 66 is an IC for use in image processing having hardware elements for image processing. The HDD 68 is an example of a storage (auxiliary storage device) that stores image data, document data, programs, font data, forms, and the like.
[0039]
The NIC 69 is an interface device that connects the MFP 1 to a network. The SD card slot 70 is a slot into which an SD card can be inserted and removed, and an interrupt corresponding to the insertion or removal of the SD card is made to an SD card access driver described later. The USB device 71, the IEEE 1394 device 72, and the Centronics 73 are interfaces conforming to the respective standards.
[0040]
The operation panel 80 is an operation unit that accepts an input operation from an operator and performs display for the operator. The FCU 81 has a memory. The memory of the FCU 81 is used for temporarily storing facsimile data received when the power of the multi-function apparatus 1 is OFF, for example.
[0041]
The compound machine starting unit 50 in FIG. 1 is executed first when the compound machine 1 is powered on, and activates the platform 40 and the application 30. FIG. 3 shows a configuration diagram of an example of the multifunction machine starting unit. The multi-function apparatus activation unit 50 includes a ROM monitor 51 and a program activation unit 52.
[0042]
The BIOS and the ROM monitor 51 as a boot loader are executed when the power is turned on, and perform hardware initialization, controller 60 diagnosis, software initialization, and the like. The ROM monitor 51 expands the kernel and the root file system on the system memory 62 and activates the kernel. The kernel then mounts the root file system.
[0043]
The program activation unit 52 as an application / service activation program is called from the kernel and secures a memory area on the system memory 62 and the local memory 67. The program activation unit 52 is a process activated first in the multi-function apparatus 1 and mounts a file system according to a predetermined setting file.
[0044]
The program activation unit 52 reads out the program of the application 30 and the platform 40 necessary for the operation of the multi-function apparatus 1 from a ROM or the like according to a predetermined setting file, and secures the read programs on the system memory 62 and the local memory 67. And the processes of the application 30 and the platform 40 are started.
[0045]
Furthermore, the process of the program starting part 52 is demonstrated. The program activation unit 52 reads a predetermined master setting file at the time of activation, and mounts a file system and activates a process according to the read master setting file. For example, in the case of a file tree as shown in FIG. 4, the program activation unit 52 reads “/etc/init.conf” as a master setting file at the time of activation. FIG. 4 shows a configuration diagram of an example of a file tree.
[0046]
When there is a mount description in the read master setting file, the program activation unit 52 executes a mount process according to the mount description. For example, in the case of a master setting file as shown in FIG. 5, the program activation unit 52 mounts the file system on the SD cards 0 to 3 according to the mount description. FIG. 5 shows a configuration diagram of an example of the master setting file.
[0047]
In addition, the program activation unit 52 performs a predetermined setting when a predetermined setting file exists in the root of the mounted file system, or when a predetermined directory including a file with a predetermined extension exists in the root of the mounted file system. A file or a file with a predetermined extension is read to mount the file system.
[0048]
For example, when the setting file “init.conf” or “init.cnf” as shown in FIG. 6 exists in the root of the mounted SD card file system, the program starting unit 52 performs the mounting process according to the mount description existing in the setting file. Execute. FIG. 6 shows a configuration diagram of an example of the setting file.
[0049]
When the directory “init.d” as shown in FIG. 7 exists in the root of the mounted SD card file system, and the files with extensions “conf” and “cnf” are included in the directory, the program starting unit 52 sets the file. The mount process is executed according to the mount description existing in. FIG. 7 shows a configuration diagram of an example of a file tree of an SD card.
[0050]
A file system that can be mounted by the program startup unit 52 includes “gzromfs” as described in FIGS. 5 and 6. The file system “gzromfs” expands and mounts a gzip compressed ROMFS format file on a RAM.
[0051]
Hereinafter, an example in which an application is added to the MFP 1 from an SD card in which the application is recorded while the MFP 1 is powered on will be described.
[0052]
FIG. 8 is an explanatory diagram of an embodiment of the program addition method according to the present invention. In the explanatory diagram of FIG. 8, a configuration necessary for the description of the configuration of the multi-function apparatus 1 is shown, and a configuration unnecessary for the description is omitted.
[0053]
In the SD card 126, a root file system, a service layer, an application, font data, and the like are recorded as a binary file composed of a header storing module information and data in ROMFS format. Note that the SD card 126 can be hot-plugged while the power of the multi-function apparatus 1 is turned on. The SD card slot 125 allows the SD card 126 to be inserted and removed, and interrupts the SD card access driver 124 in response to the insertion or removal of the SD card 126.
[0054]
The SD card access driver 124 controls access to the SD card 126 and notifies the SD card status monitor driver 123 of insertion or removal of the SD card 126 in response to an interrupt from the SD card slot 125.
[0055]
The SD card status monitor driver 123 manages status information of the SD card 126 such as insertion, removal, mounting, and unmounting of the SD card 126, and notifies the program activation unit 52 of status information of the SD card 126.
[0056]
The program activation unit 52 activates the SD card check program 121 in response to insertion or removal of the SD card 126. The program activation unit 52 activates a program in the SD card 126 according to the status information of the SD card 126 from the SD card status monitor driver 123.
[0057]
The SD card check program 121 is for checking whether the partition of the SD card 126 is correct and the state of the file system is correct, and making it usable as the file system 122. The SD card check program 121 has, for example, a check function, a mount function, an unmount function, and a status notification function for the SD card 126.
[0058]
Next, a processing procedure of the program addition method according to the present invention will be described with reference to a flowchart. The program activation unit 52 waits for an event after activating the application 30 and the platform 40 process of the MFP 1. FIG. 9 shows a flowchart of an example of event waiting processing.
[0059]
In FIG. 9, in step S1, the program activation unit 52 determines whether an event has occurred. If it is determined that no event has occurred (NO in S1), program starting unit 52 repeats the process of step S1. If it is determined that an event has occurred (YES in S1), program activation unit 52 proceeds to step S2.
[0060]
For example, when the SD card 126 is inserted into the SD card slot 125, the SD card access driver 124 notifies the SD card status monitor driver 123 of the insertion of the SD card 126 in response to an interrupt from the SD card slot 125. Then, the SD card status monitor driver 123 notifies the program activation unit 52 that the SD card 126 has been inserted. The program activation unit 52 determines that an event has occurred when the SD card status monitor driver 123 is notified of the insertion of the SD card 126.
[0061]
When the SD card 126 is extracted from the SD card slot 125, the SD card access driver 124 notifies the SD card status monitor driver 123 of the extraction of the SD card 126 in response to an interrupt from the SD card slot 125. Then, the SD card status monitor driver 123 notifies the program activation unit 52 of the removal of the SD card 126. The program activation unit 52 determines that an event has occurred when the SD card status monitor driver 123 is notified of the removal of the SD card 126.
[0062]
In step S2, the program activation unit 52 determines the contents of the event. When the content of the event is detection of insertion of the SD card 126, the program activation unit 52 proceeds to step S3. In step S3, an SD card insertion detection process described later is performed. On the other hand, if the content of the event is detection of removal of the SD card 126, the program activation unit 52 proceeds to step S4. In step S4, an SD card removal detection process to be described later is performed.
[0063]
FIG. 10 shows a flowchart of an example of the SD card insertion detection process. In step S11, the program activation unit 52 activates the SD card check program 121. Progressing to step S12 following step S11, the SD card check program 121 mounts the SD card 126, notifies the SD card status monitor driver 123 that the SD card 126 has been mounted, and stops the processing.
[0064]
Progressing to step S13 following step S12, when the program starting unit 52 is notified from the SD card status monitor driver 123 that the SD card 126 is mounted, the setting file as shown in FIG. Alternatively, the setting file (* .cnf) in FIG. 7 is read and analyzed.
[0065]
Progressing to step S14 following step S13, the program starting unit 52 performs a mount process according to the description of the mount existing in the setting file as shown in FIG. 6 or the setting file (* .cnf) in FIG. In step S15 following step S14, the program activation unit 52 activates the process of the program recorded on the SD card 126.
[0066]
Therefore, even if the SD card 126 is inserted while the power is on in the multi-function apparatus 1, the application process recorded on the SD card 126 can be automatically started. For example, in the MFP 1 of FIG. 1, an application in the SD card 126 is added as one of the applications 30.
[0067]
In the SD card insertion detection process of FIG. 10, all the setting files as shown in FIG. 6 or the files as shown in FIG. 7 or programs such as the application 30 and the platform 40 recorded on the mounted SD card 126 are read and mounted. However, an electronic authentication check may be performed to prevent unauthorized copying of the SD card 126.
[0068]
FIG. 11 shows a flowchart of an example of an SD card insertion detection process having an electronic authentication check function. Steps S21 and S22 are the same as the processing of the flowchart of FIG.
[0069]
When notified from the SD card status monitor driver 123 that the SD card 126 has been mounted, the program activation unit 52 proceeds to step S23 and searches for the setting file from the mounted SD card 126. Proceeding to step S24, if the setting file exists in the mounted SD card 126 (YES in S24), program starting unit 52 proceeds to step S25. If the setting file does not exist in the mounted SD card 126 (NO in S24), the program activation unit 52 proceeds to step S30. In step S25, the program activation unit 52 performs an authentication check of the setting file using the electronic authentication check library.
[0070]
For example, the authentication check of the setting file is performed as in the flowchart shown in FIG. FIG. 12 is a flowchart illustrating an example of a setting file authentication check process.
[0071]
In step S <b> 31, the program activation unit 52 determines whether or not a target file to be used for setting file authentication check exists in the SD card 126. The target file used for the authentication check of the setting file includes the setting file and an electronic signature file created from the setting file and a message digest (hereinafter referred to as MD) of the serial ID of the SD card.
[0072]
FIG. 13 is an image diagram of an example of a target file recorded on the SD card. In the example of FIG. 13, “printer.cnf” represents a setting file, “printer.lic” represents an electronic signature file used for authentication check of the setting file, and “printer.mod” represents a module file to be mounted. , “Printer.mac” represents an electronic signature file used for an authentication check of the mount target module.
[0073]
If it is determined that there is a target file to be used for the authentication check of the setting file (YES in S31), the program activation unit 52 acquires the setting file and the electronic signature file to be used for the authentication check of the setting file from the SD card 126, and step S32 Proceed to
[0074]
In step S <b> 32, the program activation unit 52 acquires the serial ID of the SD card 126 from the SD card 126. In step S33, the program activation unit 52 creates MD1 of the setting file acquired in step S31 and the serial ID of the SD card 126 acquired in step S32. Progressing to step S34 following step S33, the program activation unit 52 decrypts the electronic signature file acquired in step S31 with the public key to create MD2.
[0075]
In step S35, the program activation unit 52 determines whether the MD1 created in step S33 is equal to the MD2 created in step S34. If it is determined that MD1 and MD2 are equal (YES in S35), program activation unit 52 proceeds to step S36 and determines that the authentication check of the setting file is OK.
[0076]
On the other hand, if it is determined that MD1 and MD2 are not equal (NO in S35), program starting unit 52 proceeds to step S37 and determines that the setting file authentication check is NG. This is because if MD1 and MD2 are not equal, the file recorded on the SD card 126 is likely to be illegally copied.
[0077]
If it is determined that there is no target file to be used for the setting file authentication check (NO in S31), the program activation unit 52 proceeds to step S37 and determines that the setting file authentication check is NG.
[0078]
Returning to FIG. 11, if the authentication check of the setting file is OK (YES in S25), the program starting unit 52 proceeds to step S26, and analyzes the setting file as shown in FIG. If the authentication check of the setting file is NG (NO in S25), the program activation unit 52 proceeds to step S23.
[0079]
FIG. 14 is an image diagram of an example of a setting file. The setting file represents a process of mounting a gzip compressed ROMFS format file “module / printer.mod” at the mount point “/ mnt / printer” and executing the mounted module file.
[0080]
Progressing to step S27 following step S26, it is determined whether or not an EOF (End Of File) has been searched. If it is determined that the EOF has been searched (YES in S27), program starting unit 52 returns to step S23. On the other hand, if it is determined that the EOF has not been searched (NO in S27), program starting unit 52 proceeds to step S28.
[0081]
In step S28, if there is a mount description in the setting file, the program activation unit 52 performs an authentication check of the module to be mounted using the electronic authentication check library.
[0082]
For example, the authentication check of the mount target module is performed as shown in the flowchart of FIG. FIG. 15 is a flowchart of an example of the authentication check process for the mount target module.
[0083]
In step S <b> 41, the program activation unit 52 determines whether or not a target file to be used for the authentication check of the mount target module exists in the SD card 126. The target file used for the authentication check of the mount target module includes a mount target module file and an electronic signature file created from the MD of the module file.
[0084]
If it is determined that there is a target file to be used for the authentication check of the mount target module (YES in S41), the program activation unit 52 uses the digital signature to be used for the authentication check of the mount target module file and the mount target module file from the SD card 126. The file is acquired and the process proceeds to step S42.
[0085]
In step S43, the program activation unit 52 creates MD1 of the module file acquired in step S41. In step S44, the program activation unit 52 creates MD2 by decrypting the electronic signature file acquired in step S41 with the public key.
[0086]
In step S45, the program activation unit 52 determines whether the MD1 created in step S43 is equal to the MD2 created in step S44. If it is determined that MD1 and MD2 are equal (YES in S45), the program activation unit 52 proceeds to step S46 and determines that the authentication check of the mount target module is OK.
[0087]
On the other hand, if it is determined that MD1 and MD2 are not equal (NO in S45), the program activation unit 52 proceeds to step S47 and determines that the authentication check of the mount target module is NG. This is because, if MD1 and MD2 are not equal, the file recorded on the SD card 126 is likely to have been illegally copied or altered.
[0088]
If it is determined that the target file to be used for the authentication check of the mount target module does not exist (NO in S41), the program activation unit 52 proceeds to step S47 and determines that the authentication check of the mount target module is NG.
[0089]
Returning to FIG. 11, if the authentication check of the mount target module is OK (YES in S28), the program starting unit 52 proceeds to step S29, mounts the mount target module, and returns to step S26. Note that the program activation unit 52 repeats the processes of steps S23 to S29 until the authentication check of all setting files recorded on the SD card 126 is performed.
[0090]
After performing an authentication check of all setting files recorded on the SD card 126, the program activation unit 52 determines that there is no setting file on the mounted SD card 126 (NO in S24), and proceeds to step S30. move on. In step S30, the program activation unit 52 executes the module mounted in step S29. A module whose authentication check for the mount target module is NG is not mounted in step S29, and therefore is not executed in step S30.
[0091]
Note that a function may be provided in which the program activation unit 52 notifies the processes of the application 30 and the platform 40 when all of the SD card insertion detection processes in FIGS. 10 and 11 are completed. For example, the program activation unit 52 creates a file “/tmp/init.done” indicating that the SD card insertion detection process is completed in the file tree as shown in FIG. May be notified to the process of the application 30 or the platform 40.
[0092]
The function that the program activation unit 52 notifies the process of the application 30 or the platform 40 when all the SD card insertion detection processes are completed is, for example, when the printer application 31 that requires font data waits for the completion of the font data mounting. Available.
[0093]
When the SD card 126 is suddenly removed, the SD card 126 needs to be unmounted, so the program activation unit 52 activates the SD card check program 121 to cause the SD card 126 to be unmounted.
[0094]
FIG. 16 shows a flowchart of an example of SD card removal detection processing. In addition, before performing SD card extraction detection processing, the program starting part 52 can also stop the program started by step S15. By stopping the process of the application that is read from the SD card 126 and started when the removal of the SD card 126 is detected, unauthorized use of the application can be prevented.
[0095]
In step S <b> 51, the program activation unit 52 inquires the SD card status monitor driver 123 about the status information of the SD card 126 and checks the mounting state of the SD card 126.
[0096]
Progressing to step S52 following step S51, the program starting unit 52 determines whether or not the SD card 126 is mounted according to the check result of the mounting state of step S51. If it is determined from the check result of the mounted state that the SD card 126 is mounted (YES in S52), the program activation unit 52 proceeds to step S53 and activates the SD card check program 121. If it is determined that the SD card 126 is not mounted from the check result of the mounted state (NO in S52), the program starting unit 52 ends the process.
[0097]
Progressing to step S54 following step S53, the SD card check program 121 unmounts the SD card 126, notifies the SD card status monitor driver 123 that the SD card 126 has been mounted, and stops the processing.
[0098]
Therefore, even if the SD card 126 is removed while the power is turned on in the multi-function apparatus 1, the SD card 126 can be automatically unmounted.
[0099]
As described above, if the program addition method according to the present invention is used, a personal menu program is recorded on the SD card 126, for example, and the SD card 126 is inserted into the SD card slot 125. The process of the program that displays the menu can be started automatically.
[0100]
Furthermore, by recording an application download program on the SD card 126 and inserting the SD card 126 into the SD card slot 125, a download program process for downloading a predetermined application can be automatically started. .
[0101]
【The invention's effect】
As described above, according to the present invention, a program recorded on a recording medium can be easily added to the image forming apparatus. In addition, it is possible to easily expand the function of the image forming apparatus and upgrade the program using the program recorded on the recording medium. If the recording medium can be hot-plugged, the program can be dynamically added while the image forming apparatus is powered on.
[0102]
[Brief description of the drawings]
FIG. 1 is a configuration diagram of an embodiment of a compound machine according to the present invention.
FIG. 2 is a hardware configuration diagram of an embodiment of a compound machine according to the present invention.
FIG. 3 is a configuration diagram of an example of a multi-function apparatus starting unit.
FIG. 4 is a configuration diagram of an example of a file tree.
FIG. 5 is a configuration diagram of an example of a master setting file.
FIG. 6 is a configuration diagram of an example of a setting file.
FIG. 7 is a configuration diagram of an example of a file tree of an SD card.
FIG. 8 is an explanatory diagram of an embodiment of a program addition method according to the present invention.
FIG. 9 is a flowchart illustrating an example of an event waiting process.
FIG. 10 is a flowchart of an example of an SD card insertion detection process.
FIG. 11 shows a flowchart of an example of an SD card insertion detection process having an electronic authentication check function.
FIG. 12 is a flowchart illustrating an example of a setting file authentication check process;
FIG. 13 is an image diagram of an example of a target file recorded on an SD card.
FIG. 14 is an image diagram of an example of a setting file.
FIG. 15 is a flowchart of an example of authentication check processing for a mount target module;
FIG. 16 is a flowchart of an example of SD card removal detection processing;
[Explanation of symbols]
1 Fusion machine
11 Black and white laser printer
12 Color laser printer
13 Hardware resources
20 software groups
30 applications
31 Printer app
32 Copy application
33 Fax application
34 Scanner app
35 Net File Application
36 Process inspection application
40 platforms
41 Operating System (OS)
42 System Control Service (SCS)
43 System Resource Manager (SRM)
44 Engine Control Service (ECS)
45 Memory Control Service (MCS)
46 Operation Panel Control Service (OCS)
47 Fax Control Service (FCS)
48 Network Control Service (NCS)
50 Fusion machine starting part
51 ROM monitor
52 Program starter
62 System memory
67 Local memory
68 Hard Disk Drive (HDD)
70,125 SD card slot
80 Operation Panel
82 Engine part
121 SD card check program
122 File System
123 SD card status monitor driver
124 SD card access driver
126 SD card

Claims (8)

画像形成に係る処理を行うCPU,メモリ,エンジン部を含むハードウェア資源と、前記ハードウェア資源を用いて画像形成に係る処理を行うための複数のプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置であって、
前記CPUが前記プログラムに含まれる記録媒体状態監視プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに対する記録媒体の挿抜を監視する状態監視手段と、
前記CPUが前記プログラムに含まれる記録媒体チェックプログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに挿入された記録媒体をマウント又はアンマウントする記録媒体チェック手段と、
前記CPUが前記プログラムに含まれる起動プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記記録媒体チェック手段を起動する機能、及び前記マウントした記録媒体からプログラムを読み出し、そのプログラムを実行する機能を有するプログラム起動手段と
を有し、
前記状態監視手段は、前記スロットに対する記録媒体の挿抜情報を、前記記録媒体に対するアクセス制御を行う記録媒体アクセス手段から通知され、その挿抜情報を前記プログラム起動手段に通知し、
前記プログラム起動手段は、前記状態監視手段からの挿抜情報により前記スロットへの前記記録媒体の挿入又は前記スロットからの前記記録媒体の抜き出しが通知されると、前記記録媒体チェック手段を起動し、
前記記録媒体チェック手段は、前記スロットへの前記記録媒体の挿入が通知されると前記スロットに挿入された記録媒体をマウントして、前記記録媒体をマウントした旨を前記状態監視手段に通知する一方、前記スロットからの前記記録媒体の抜き出しが通知されると前記スロットから抜き出された記録媒体をアンマウントして、前記記録媒体をアンマウントした旨を前記状態監視手段に通知し、
前記プログラム起動手段は、前記状態監視手段から前記記録媒体がマウントされた旨が通知されると、その記録媒体に記録されている、マウント及び実行対象のプログラムと前記マウント及び実行対象のプログラムのマウントポイントとを設定する設定情報に応じて前記記録媒体に記録されている前記マウント及び実行対象のプログラムをマウントして実行する
ことを特徴とする画像形成装置。
Hardware resources including a CPU, a memory, and an engine unit that perform processing relating to image formation, a plurality of programs for performing processing relating to image formation using the hardware resources, and a slot into which a recording medium can be inserted and removed An image forming apparatus having
State monitoring means that is realized by the CPU expanding and executing a recording medium state monitoring program included in the program in a memory area on the memory, and monitoring insertion / extraction of the recording medium with respect to the slot;
A recording medium check means for mounting or unmounting the recording medium inserted in the slot, realized by the CPU expanding and executing a recording medium check program included in the program in a memory area on the memory ;
The CPU is realized by expanding and executing a start program included in the program in a memory area on the memory, and a function of starting the recording medium check means, and reading the program from the mounted recording medium, A program starting means having a function of executing the program,
The state monitoring means is notified of the insertion / extraction information of the recording medium with respect to the slot from the recording medium access means for controlling access to the recording medium , and notifies the program starting means of the insertion / extraction information,
The program activation means activates the recording medium check means when notified of insertion of the recording medium into the slot or removal of the recording medium from the slot by insertion / extraction information from the state monitoring means,
When the recording medium check means is notified of the insertion of the recording medium into the slot, the recording medium inserted in the slot is mounted, and the state monitoring means is notified that the recording medium is mounted. When the removal of the recording medium from the slot is notified, the recording medium extracted from the slot is unmounted, and the state monitoring means is notified that the recording medium has been unmounted,
When the state monitoring unit notifies that the recording medium has been mounted, the program starting unit mounts the mount and execution target program and the mount and execution target program recorded on the recording medium. image forming apparatus and executes mount the mounting and execution target program is recorded on the recording medium in accordance with the setting information for setting a point.
前記プログラム起動手段は、前記記録媒体に記録されている前記設定情報の認証チェックを行い、その認証チェックの結果が正常であるときに、前記設定情報に応じて前記記録媒体に記録されている前記マウント及び実行対象のプログラムをマウントして実行することを特徴とする請求項1記載の画像形成装置。The program activation unit performs an authentication check of the setting information recorded on the recording medium, when the result of the authentication check is successful, the recorded on the recording medium in accordance with the setting information The image forming apparatus according to claim 1, wherein the mount and execution target program are mounted and executed. 前記プログラム起動手段は、前記記録媒体に記録されている前記マウント及び実行対象のプログラムの認証チェックを行い、その認証チェックの結果が正常であるときに、前記マウント及び実行対象のプログラムをマウントし、マウントした前記プログラムを実行することを特徴とする請求項1又は2記載の画像形成装置。The program starting means performs an authentication check of the mount and execution target program recorded on the recording medium, and when the result of the authentication check is normal, mounts the mount and execution target program, The image forming apparatus according to claim 1, wherein the mounted program is executed. 前記記録媒体の活線挿抜が可能であることを特徴とする請求項1乃至3何れか一項記載の画像形成装置。  The image forming apparatus according to claim 1, wherein the recording medium can be hot-plugged. 画像形成に係る処理を行うCPU,メモリ,エンジン部を含むハードウェア資源と、前記ハードウェア資源を用いて画像形成に係る処理を行うための複数のプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置に、前記記録媒体に記録されているプログラムを実行させるプログラム実行方法であって、
前記画像形成装置は、
前記CPUが前記プログラムに含まれる記録媒体状態監視プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに対する記録媒体の挿抜を監視する状態監視手段と、
前記CPUが前記プログラムに含まれる記録媒体チェックプログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記スロットに挿入された記録媒体をマウント又はアンマウントする記録媒体チェック手段と、
前記CPUが前記プログラムに含まれる起動プログラムを前記メモリ上のメモリ領域に展開して実行することにより実現され、前記記録媒体チェック手段を起動する機能、及び前記マウントした記録媒体からプログラムを読み出し、そのプログラムを実行する機能を有するプログラム起動手段と
を有し、
前記状態監視手段が、前記スロットに対する記録媒体の挿抜情報を、前記記録媒体に対するアクセス制御を行う記録媒体アクセス手段から通知され、その挿抜情報を前記プログラム起動手段に通知し、
前記プログラム起動手段が、前記状態監視手段からの挿抜情報により前記スロットへの前記記録媒体の挿入又は前記スロットからの前記記録媒体の抜き出しが通知されると、前記記録媒体チェック手段を起動し、
前記記録媒体チェック手段が、前記スロットへの前記記録媒体の挿入が通知されると前記スロットに挿入された記録媒体をマウントして、前記記録媒体をマウントした旨を前記状態監視手段に通知する一方、前記スロットからの前記記録媒体の抜き出しが通知されると前記スロットから抜き出された記録媒体をアンマウントして、前記記録媒体をアンマウントした旨を前記状態監視手段に通知し、
前記プログラム起動手段が、前記状態監視手段から前記記録媒体がマウントされた旨が通知されると、その記録媒体に記録されている、マウント及び実行対象のプログラムと前記マウント及び実行対象のプログラムのマウントポイントとを設定する設定情報に応じて前記記録媒体に記録されている前記マウント及び実行対象のプログラムをマウントして実行する
ことを特徴とするプログラム実行方法。
Hardware resources including a CPU, a memory, and an engine unit that perform processing relating to image formation, a plurality of programs for performing processing relating to image formation using the hardware resources, and a slot into which a recording medium can be inserted and removed an image forming apparatus having, a program execution method Ru to execute the program recorded on the recording medium,
The image forming apparatus includes:
State monitoring means that is realized by the CPU expanding and executing a recording medium state monitoring program included in the program in a memory area on the memory, and monitoring insertion / extraction of the recording medium with respect to the slot;
A recording medium check means for mounting or unmounting the recording medium inserted in the slot, realized by the CPU expanding and executing a recording medium check program included in the program in a memory area on the memory ;
The CPU is realized by expanding and executing a start program included in the program in a memory area on the memory, and a function of starting the recording medium check means, and reading the program from the mounted recording medium, A program starting means having a function of executing the program,
The state monitoring means is notified of the insertion / extraction information of the recording medium with respect to the slot from the recording medium access means for controlling access to the recording medium , and notifies the program starting means of the insertion / extraction information,
When the program activation means is notified of insertion of the recording medium into the slot or removal of the recording medium from the slot by insertion / extraction information from the state monitoring means, the recording medium check means is activated,
When the recording medium check means is notified of the insertion of the recording medium into the slot, the recording medium inserted in the slot is mounted, and the state monitoring means is notified that the recording medium is mounted. When the removal of the recording medium from the slot is notified, the recording medium extracted from the slot is unmounted, and the state monitoring means is notified that the recording medium has been unmounted,
When the program starting unit is notified from the state monitoring unit that the recording medium is mounted , the mount and execution target program and the mount and execution target program recorded on the recording medium are recorded. program execution method, wherein said recording medium to said mount being recorded and to mount a program to be executed is executed according to the setting information for setting a point.
前記プログラム起動手段は、前記記録媒体に記録されている設定情報の認証チェックを行い、その認証チェックの結果が正常であるとき、前記設定情報に応じて前記記録媒体に記録されている前記マウント及び実行対象のプログラムをマウントして実行することを特徴とする請求項5記載のプログラム実行方法。The program activation unit, the performs authentication check of setting information recorded on the recording medium, then the authentication check result is normal, the mounting recorded on the recording medium in accordance with the setting information and program execution method according to claim 5, wherein the executing mount the programs to be executed. 前記プログラム起動手段は、前記記録媒体に記録されている前記マウント及び実行対象のプログラムの認証チェックを行い、その認証チェックの結果が正常であるときに、前記マウント及び実行対象のプログラムをマウントし、マウントした前記プログラムを実行することを特徴とする請求項5又は6記載のプログラム実行方法。The program starting means performs an authentication check of the mount and execution target program recorded on the recording medium, and when the result of the authentication check is normal, mounts the mount and execution target program, 7. The program execution method according to claim 5, wherein the mounted program is executed. 前記記録媒体の活線挿抜が可能であることを特徴とする請求項5乃至7何れか一項記載のプログラム実行方法。8. The program execution method according to claim 5, wherein the recording medium can be hot-swapped.
JP2003127172A 2002-05-08 2003-05-02 Image forming apparatus and program execution method Expired - Fee Related JP4246540B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2003127172A JP4246540B2 (en) 2002-05-08 2003-05-02 Image forming apparatus and program execution method
US10/429,865 US20030231343A1 (en) 2002-05-08 2003-05-06 Image forming apparatus, program adding method, and a recording medium
EP03010296A EP1369780A1 (en) 2002-05-08 2003-05-07 Image forming apparatus, program adding method, and a recording medium
EP20030021655 EP1385087A3 (en) 2002-05-08 2003-05-07 Image forming apparatus, a program adding method, and a recording medium
EP03021654A EP1376346A3 (en) 2002-05-08 2003-05-07 Image forming apparatus, a program adding method, and a recording medium
EP03021656A EP1387264A3 (en) 2002-05-08 2003-05-07 Image forming apparatus, a program adding method, and a recording medium
US11/836,198 US7593121B2 (en) 2002-05-08 2007-08-09 Image forming apparatus, program adding method, and a recording medium
US11/836,188 US8213040B2 (en) 2002-05-08 2007-08-09 Image forming apparatus, program adding method, and a recording medium

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002133063 2002-05-08
JP2002144984 2002-05-20
JP2003127172A JP4246540B2 (en) 2002-05-08 2003-05-02 Image forming apparatus and program execution method

Publications (2)

Publication Number Publication Date
JP2004046802A JP2004046802A (en) 2004-02-12
JP4246540B2 true JP4246540B2 (en) 2009-04-02

Family

ID=31721273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003127172A Expired - Fee Related JP4246540B2 (en) 2002-05-08 2003-05-02 Image forming apparatus and program execution method

Country Status (1)

Country Link
JP (1) JP4246540B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
BRPI0510463A (en) * 2004-05-28 2007-11-06 Thomson Licensing method for managing the insertion or removal of a memory card into or from a card reader and device for use in the method
JP4861765B2 (en) * 2005-08-04 2012-01-25 株式会社リコー Apparatus, information processing method, information processing program, and recording medium
US8370299B2 (en) 2006-11-29 2013-02-05 Sharp Laboratories Of America, Inc. Methods and systems for print job handling
JP5095325B2 (en) 2007-09-14 2012-12-12 株式会社リコー Image processing apparatus and image processing method
JP5029585B2 (en) * 2008-12-02 2012-09-19 ブラザー工業株式会社 Information processing system
US10616433B2 (en) 2015-01-27 2020-04-07 Brother Kogyo Kabushiki Kaisha Image processing device
JP6729168B2 (en) 2016-08-22 2020-07-22 ブラザー工業株式会社 Content processing device

Also Published As

Publication number Publication date
JP2004046802A (en) 2004-02-12

Similar Documents

Publication Publication Date Title
US8213040B2 (en) Image forming apparatus, program adding method, and a recording medium
JP4704233B2 (en) Information processing apparatus and control method thereof
JP4209789B2 (en) File creation method, server, recording medium, and program addition system
JP5095325B2 (en) Image processing apparatus and image processing method
US7302578B2 (en) Information processing apparatus, image forming apparatus, program-initiation error processing method, and recording medium
JP2004118237A (en) Image forming apparatus and application installing method
JP4246540B2 (en) Image forming apparatus and program execution method
JP4512565B2 (en) Image forming apparatus and application installation method
JP4209794B2 (en) Image forming apparatus and program start method
JP4037315B2 (en) Image forming apparatus and program stop method
JP4276885B2 (en) Image forming apparatus and path designation method
JP4246608B2 (en) Image forming apparatus and program start method
JP2004046804A (en) Image forming apparatus and data processing method
JP2004048696A (en) Image forming apparatus and data processing method
JP2003335028A (en) Imaging apparatus and method for managing state information
JP3993121B2 (en) Information processing apparatus and program addition method
JP2006271005A (en) Image forming apparatus and method for installing application
JP2004066809A (en) Image forming apparatus, and method of booting program
JP4237511B2 (en) Image forming apparatus and program updating method
JP4231313B2 (en) Information processing apparatus, image forming apparatus, and program addition method
JP3857654B2 (en) Image forming apparatus, user information management method, user information management program, and recording medium
JP2004287622A (en) Information processor, image forming apparatus, and program adding method
JP2006103290A (en) Image formation device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050822

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080204

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080520

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080718

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080902

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081031

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20081216

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090108

R150 Certificate of patent or registration of utility model

Ref document number: 4246540

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120116

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130116

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140116

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees