JP4276885B2 - Image forming apparatus and path designation method - Google Patents

Image forming apparatus and path designation method Download PDF

Info

Publication number
JP4276885B2
JP4276885B2 JP2003127173A JP2003127173A JP4276885B2 JP 4276885 B2 JP4276885 B2 JP 4276885B2 JP 2003127173 A JP2003127173 A JP 2003127173A JP 2003127173 A JP2003127173 A JP 2003127173A JP 4276885 B2 JP4276885 B2 JP 4276885B2
Authority
JP
Japan
Prior art keywords
recording medium
mount
forming apparatus
image forming
program
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
JP2003127173A
Other languages
Japanese (ja)
Other versions
JP2004046803A (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 JP2003127173A priority Critical patent/JP4276885B2/en
Priority to US10/429,865 priority patent/US20030231343A1/en
Priority to EP03021654A priority patent/EP1376346A3/en
Priority to EP20030021655 priority patent/EP1385087A3/en
Priority to EP03021656A priority patent/EP1387264A3/en
Priority to EP03010296A priority patent/EP1369780A1/en
Publication of JP2004046803A publication Critical patent/JP2004046803A/en
Priority to US11/836,188 priority patent/US8213040B2/en
Priority to US11/836,198 priority patent/US7593121B2/en
Application granted granted Critical
Publication of JP4276885B2 publication Critical patent/JP4276885B2/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)
  • Facsimiles In General (AREA)
  • Image Processing (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】
また、アプリ/サービス起動プログラムは、例えば記録媒体の一例としてSDカードがスロットに挿入されると、そのSDカードに記録された設定ファイルに従ってファイルシステムをマウントし、SDカードに記録されたアプリのプロセスを所定の設定ファイルに従って起動していた。
【0007】
【特許文献1】
特開2002−84383号公報
【0008】
【特許文献2】
特開2001−76125号公報
【0009】
【発明が解決しようとする課題】
従来の融合機は、起動するアプリに応じた設定ファイルをハードディスク装置やROMなどに記録しておく必要があった。また、SDカードに記録されたアプリのプロセスを起動する場合、従来の融合機は起動するアプリに応じた設定ファイルをSDカードに記録しておく必要があった。
【0010】
ところで、設定ファイルはマウント対象のパス指定と、マウント先を表すマウントポイントのパス指定とを含んでいる。なお、マウント対象のパス指定およびマウントポイントのパス指定は、絶対パスにより行われていた。
【0011】
しかしながら、従来の融合機では同種の記録媒体用スロットが複数設けられている場合がある。例えばSDカード用スロットが複数設けられている場合、一つのSDカード用スロットに挿入されたSDカードのアプリと他のSDカード用スロットに挿入されたSDカードのアプリとは、パスが異なっている。
【0012】
したがって、従来の融合機では同種の記録媒体用スロットが複数設けられていても、その記録媒体を挿入する記録媒体用スロットを一つに決めておき、その記録媒体用スロットに応じた設定ファイルを作成して記録媒体に記録しておく必要があるという問題があった。
【0013】
また、従来の融合機では、マウントポイントのパス指定を絶対パスにより行っていたため、マウントポイントが固定されてしまうと共に、マウントポイントが画像形成装置のディレクトリに拘束されるという問題があった。
【0014】
本発明は、上記の点に鑑みなされたもので、記録媒体を挿入する記録媒体用スロットを予め決めておく必要がなく、マウントポイントを固定しておく必要がなく、マウントポイントが画像形成装置のディレクトリに拘束されることがない画像形成装置およびパス指定方法を提供することを目的とする。
【0015】
【課題を解決するための手段】
そこで、上記課題を解決するため、本発明は、画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置であって、前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする記録媒体起動手段と、前記第1マウントポイントを保存し、マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているマウント対象が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと前記第1マウントポイントとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象のマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得し、前記マウント対象の絶対パスを前記第2マウントポイントにマウントしたあと、前記記録媒体内のプログラムを起動するプログラム起動手段とを有することを特徴とする。
【0016】
また、上記課題を解決するため、本発明は、画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置であって、前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする記録媒体起動手段と、マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているディレクトリを作成し、その設定ファイルに記録されているマウント対象のマウント先が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと、作成した前記ディレクトリとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象のマウント先の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得し、前記マウント対象の絶対パスを前記第2マウントポイントにマウントしたあと、前記記録媒体内のプログラムを起動するプログラム起動手段とを有することを特徴とする。
【0017】
また、上記課題を解決するため、本発明は、画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置のパス指定方法であって、前記画像処理装置が、前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする第1マウント段階と、記第1マウントポイントを保存するマウントポイント保存段階と、マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているマウント対象が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと前記第1マウントポイントとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象のマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得する絶対パス取得段階と、前記マウント対象の絶対パスを前記第2マウントポイントにマウントする第2マウント段階と、前記記録媒体内のプログラムを起動するプログラム起動段階とを有することを特徴とする。
【0018】
また、上記課題を解決するため、本発明は、画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置のパス指定方法であって、前記画像処理装置が、前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする第1マウント段階と、マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているディレクトリを作成し、その設定ファイルに記録されているマウント対象のマウント先が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと、作成した前記ディレクトリとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象のマウント先の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得する絶対マウントポイント取得段階と、前記マウント対象の絶対パスを前記第2マウントポイントにマウントする第2マウント段階と、前記記録媒体内のプログラムを起動するプログラム起動段階とを有することを特徴とする。
【0019】
本発明によれば、スロットに挿入されている記録媒体をマウントした第1マウントポイントを保存しておき、記録媒体の設定ファイルに記録された相対パスおよび第1マウントポイントに応じて絶対パスを取得することができるので、マウント対象のパス指定を相対パスにより指定することが可能である。
【0020】
また、本発明によれば、スロットに挿入されている記録媒体の設定ファイルに記録されたディレクトリおよび相対マウントポイントに応じて絶対マウントポイントを取得することができるので、マウントポイントのパス指定を相対パスにより指定することが可能である。
【0021】
さらに、本発明によれば、スロットに挿入されている記録媒体から設定ファイルを読み出し、その設定ファイルに記録されたディレクトリを画像形成装置に作成し、作成したディレクトリおよび設定ファイルから読み出した相対マウントポイントに応じて絶対マウントポイントを取得することができるので、新たに作成したディレクトリおよび相対マウントポイントに応じてマウントポイントのパス指定が可能である。
【0022】
したがって、本発明によれば、記録媒体を挿入する記録媒体用スロットを予め決めておく必要がなく、マウントポイントを固定しておく必要がなく、マウントポイントが画像形成装置のディレクトリに拘束されることがない。
【0023】
【発明の実施の形態】
次に、本発明の実施の形態について図面に基づいて説明する。
【0024】
図1は、本発明による融合機の一実施例の構成図を示す。融合機1は、白黒レーザープリンタ(B&W LP)11と,カラーレーザープリンタ(ColorLP)12と,スキャナやファクシミリなどのハードウェアリソース13と,ソフトウェア群20と,融合機起動部50とを有する。また、ソフトウェア群20はアプリケーション30とプラットフォーム40とを有する。
【0025】
アプリケーション30は、プリンタ,コピー,ファクシミリおよびスキャナなどの画像形成処理にかかるユーザサービスにそれぞれ固有の処理を行うものである。
【0026】
アプリケーション30は、ページ記述言語(PDL,PCL)およびポストスクリプト(PS)を有するプリンタ用のアプリケーションであるプリンタアプリ31と,コピー用のアプリケーションであるコピーアプリ32と,ファクシミリ用アプリケーションであるファックスアプリ33と,スキャナ用アプリケーションであるスキャナアプリ34と,ネットワークファイル用アプリケーションであるネットファイルアプリ35と,工程検査用アプリケーションである工程検査アプリ36とを有している。
【0027】
また、プラットフォーム40は、アプリケーション30からの処理要求を解釈してハードウェア資源の獲得要求を発生するコントロールサービスと、1つ以上のハードウェア資源の管理を行ってコントロールサービスからの獲得要求を調停するシステムリソースマネージャ(以下、SRMという)43と、オペレーティングシステム(以下、OSという)41とを有するように構成されている。
【0028】
コントロールサービスは、システムコントロールサービス(以下、SCSという)42,エンジンコントロールサービス(以下、ECSという)44,メモリコントロールサービス(以下、MCSという)45,オペレーションパネルコントロールサービス(以下、OCSという)46,ファックスコントロールサービス(以下、FCSという)47,ネットワークコントロールサービス(以下、NCSという)48など、一つ以上のサービスモジュールを有するように構成されている。
【0029】
なお、プラットフォーム40は予め定義されている関数によりアプリケーション30からの処理要求を受信可能とするアプリケーションプログラムインターフェース(以下、APIという)を有するように構成されている。OS41は、ユニックス(UNIX(登録商標))等であって、プラットフォーム40およびアプリケーション30の各ソフトウェアをプロセスとして並列実行する。
【0030】
SRM43のプロセスは、SCS42と共にシステムの制御およびハードウェア資源の管理を行うものである。例えばSRM43のプロセスは、エンジン,メモリ,HDDファイル,ホストI/O(セントロI/F,ネットワークI/F,IEEE1394 I/F,RS232C I/Fなど)のハードウェア資源を利用する上位層からの要求に従って調停を行い、実行制御する。
【0031】
具体的に、SRM43は要求されたハードウェア資源が利用可能であるか(他の要求により利用されていないかどうか)を判定し、利用可能であれば要求されたハードウェア資源が利用可能である旨を上位層に通知する。また、SRM43は上位層からの要求に対してハードウェア資源を利用するためのスケジューリングを行い、要求内容(例えば、プリンタエンジンによる紙搬送と作像動作,メモリ確保,ファイル生成など)を直接実施している。
【0032】
SCS42のプロセスは、アプリケーション管理,操作部制御,システム画面表示,LED表示,ハードウェア資源管理,割り込みアプリケーション制御などの処理を行う。ECS44のプロセスは、白黒レーザープリンタ11,カラーレーザープリンタ12,ハードウェアリソース13などのエンジンの制御を行う。
【0033】
MCS45のプロセスは、画像メモリの取得および解放,HDDの利用,画像データの圧縮および伸張などのメモリ制御を行う。OCS46のプロセスは、オペレータと本体制御との間の情報伝達手段となるオペレーションパネルの制御を行う。
【0034】
FCS47のプロセスは、システムコントローラの各アプリケーション層からPSTNまたはISDN網を利用したファクシミリ送受信,バックアップ用のメモリで管理されている各種ファクシミリデータの登録/引用,ファクシミリ読み取り,ファクシミリ受信印刷,融合送受信を行うためのAPIを提供する。
【0035】
NCS48のプロセスは、ネットワークI/Oを必要とするアプリケーションに対して共通に利用できるサービスを提供するものであり、ネットワーク側から各プロトコルによって受信したデータを各アプリケーションに振り分けたり、各アプリケーションからのデータをネットワーク側に送信する際の仲介を行う。
【0036】
例えばNCS48は、ネットワークを介して接続されるネットワーク機器とのデータ通信をhttpd(HyperText Transfer Protocol Daemon)により、HTTP(HyperText Transfer Protocol)で制御する。
【0037】
融合機1は、各アプリケーションで共通的に必要な処理をプラットフォーム40で一元的に処理することができる。次に、融合機1のハードウェア構成について説明する。
【0038】
図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とを含む。
【0039】
オペレーションパネル80は、コントローラ60のASIC66に接続されている。また、FCU81およびエンジン部82は、コントローラ60のASIC66にPCIバス83で接続されている。
【0040】
コントローラ60は、ASIC66にローカルメモリ67,HDD68などが接続されると共に、CPU61とASIC66とがCPUチップセットのNB63を介して接続されている。コントローラ60は、NB63を介してCPU61とASIC66とを接続することにより、CPU61のインターフェースが公開されていない場合に対応する。なお、ASIC66とNB63とはAGP(Accelerated Graphics Port )65を介して接続されている。
【0041】
このように、図1のアプリケーション30やプラットフォーム40を形成する一つ以上のプロセスを実行制御するため、ASIC66とNB63とを低速のPCIバスでなくAGP65を介して接続することで、パフォーマンスの低下を防いでいる。
【0042】
CPU61は、融合機1の全体制御を行うものである。CPU61は、OS41上にSCS42,SRM43,ECS44,MCS45,OCS46,FCS47およびNCS48をそれぞれプロセスとして起動して実行させると共に、アプリケーション30を形成するプリンタアプリ31,コピーアプリ32,ファックスアプリ33,スキャナアプリ34,ネットファイルアプリ35,工程検査アプリ36を起動して実行させる。
【0043】
NB63は、CPU61,システムメモリ62,SB64,ASIC66,NIC69,SDカード用スロット70,USBデバイス71,IEEE1394デバイス72およびセントロニクス73を接続するためのブリッジである。
【0044】
SB64,NIC69,SDカード用スロット70,USBデバイス71,IEEE1394デバイス72およびセントロニクス73は、PCIバス74を介してNB63に接続されている。なお、SB64は、PCIバス74とROMや周辺デバイス等とを接続するためのブリッジである。
【0045】
システムメモリ62は、融合機1の描画用メモリなどとして用いるメモリである。ローカルメモリ67はコピー用画像バッファ,符号バッファとして用いるメモリである。
【0046】
ASIC66は、画像処理用のハードウェア要素を有する画像処理用途向けのICである。HDD68は、画像データの蓄積,文書データの蓄積,プログラムの蓄積,フォントデータの蓄積,フォームの蓄積などを行うストレージ(補助記憶装置)の一例である。
【0047】
NIC69は、融合機1をネットワークに接続するインターフェース機器である。SDカード用スロット70はSDカードを挿抜可能なものであり、SDカードの挿入または抜き出しに応じた割り込みを後述するSDカードアクセスドライバに対して行う。USBデバイス71,IEEE1394デバイス72およびセントロニクス73は、夫々の規格に準じたインターフェースである。
【0048】
また、オペレーションパネル80は、オペレータからの入力操作を受け付けると共に、オペレータに向けた表示を行う操作部である。なお、FCU81はメモリを有している。FCU81が有するメモリは、例えば融合機1の電源がOFFのときに受信したファクシミリデータを一時的に格納するために利用される。
【0049】
図1の融合機起動部50は、融合機1の電源投入時に最初に実行され、プラットフォーム40やアプリケーション30を起動するものである。図3は、融合機起動部の一例の構成図を示す。融合機起動部50は、ROMモニタ51と,プログラム起動部52とを有する。
【0050】
BIOSおよびブートローダとしてのROMモニタ51は電源投入時に実行されるものであり、ハードウェアの初期化,コントローラ60の診断,ソフトウェアの初期化などを行う。ROMモニタ51は、カーネルおよびルートファイルシステムをシステムメモリ62上に展開してカーネルを起動する。そして、カーネルはルートファイルシステムをマウントする。
【0051】
アプリ/サービス起動プログラムとしてのプログラム起動部52は、カーネルから呼び出されるものであり、システムメモリ62及びローカルメモリ67上にメモリ領域を確保する。プログラム起動部52は、融合機1で最初に起動されるプロセスであって、所定の設定ファイルに従ってファイルシステムをマウントする。
【0052】
プログラム起動部52は、融合機の動作に必要なアプリケーション30およびプラットフォーム40のプログラムを所定の設定ファイルに従ってROMなどから読み出し、読み出した各プログラムをシステムメモリ62及びローカルメモリ67上に確保したメモリ領域に展開してアプリケーション30およびプラットフォーム40のプロセスを起動するものである。
【0053】
更に、プログラム起動部52の処理について説明する。プログラム起動部52は、起動時に所定のマスタ設定ファイルを読み込み、読み込んだマスタ設定ファイルに従ってファイルシステムのマウントおよびプロセスの起動を行う。例えば図4のようなファイルツリーの場合、プログラム起動部52はマスタ設定ファイルとして「/etc/init.conf」を起動時に読み込む。図4は、ファイルツリーの一例の構成図を示す。
【0054】
プログラム起動部52は、読み込んだマスタ設定ファイルにマウントの記述が存在した場合、そのマウントの記述に従ってマウント処理を実行する。例えば図5のようなマスタ設定ファイルの場合、プログラム起動部52はマウントの記述に従ってSDカード0〜3の上のファイルシステムのマウント処理を行う。図5は、マスタ設定ファイルの一例の構成図を示す。
【0055】
また、プログラム起動部52はマウントしたファイルシステムのルートに所定の設定ファイルが存在する場合、又はマウントしたファイルシステムのルートに所定の拡張子のファイルを含む所定のディレクトリが存在する場合、所定の設定ファイル又は所定の拡張子のファイルを読み込んでファイルシステムのマウント処理を行う。
【0056】
例えばマウントしたSDカードのファイルシステムのルートに図6のような設定ファイル「init.conf」又は「init.cnf」が存在する場合、プログラム起動部52は設定ファイルに存在するマウントの記述に従ってマウント処理を実行する。図6は、設定ファイルの一例の構成図を示す。
【0057】
マウントしたSDカードファイルシステムのルートに図7のようなディレクトリ「init.d」が存在し、そのディレクトリに拡張子「conf」,「cnf」のファイルが含まれる場合、プログラム起動部52はそのファイルに存在するマウントの記述に従ってマウント処理を実行する。図7は、SDカードのファイルツリーの一例の構成図を示す。
【0058】
なお、プログラム起動部52がマウントできるファイルシステムは、図5及び図6に記載されているような「gzromfs」などがある。このファイルシステム「gzromfs」は、gzip圧縮されたROMFS形式のファイルをRAM上に展開してマウントする。
【0059】
以下、融合機1の電源を投入したままの状態で、アプリケーションが記録されているSDカードをSDカード用スロットに挿入し、またはSDカード用スロットから抜き出したときの処理について説明していく。
【0060】
図8は、本発明によるパス指定方法の一実施例の説明図を示す。図8の説明図では、融合機1の構成のうち説明に必要な構成を表し、説明に必要のない構成を省略している。
【0061】
SDカード126は、ルートファイルシステム,サービス層,アプリケーション,フォントデータなどが、モジュール情報の格納されたヘッダとROMFS形式のデータから構成されるバイナリファイルとして記録されている。なお、SDカード126は融合機1の電源を投入したままの状態で、いわゆる活線挿抜が可能である。SDカード用スロット125は、SDカード126を挿抜可能なものであり、SDカード126の挿入または抜き出しに応じた割り込みをSDカードアクセスドライバ124に対して行う。
【0062】
SDカードアクセスドライバ124は、SDカード126に対するアクセス制御を行うものであり、SDカード用スロット125からの割り込みに応じてSDカード126の挿入または抜き出しをSDカードステータスモニタドライバ123に通知する。
【0063】
SDカードステータスモニタドライバ123は、SDカード126の挿入,抜き出し,マウント,アンマウントなど、SDカード126のステータス情報を管理するものであり、SDカード126のステータス情報をプログラム起動部52に通知する。
【0064】
プログラム起動部52は、SDカード126の挿入または抜き出しに応じてSDカードチェックプログラム121を起動する。また、プログラム起動部52はSDカードステータスモニタドライバ123からのSDカード126のステータス情報に応じてSDカード126内のプログラムを起動する。
【0065】
SDカードチェックプログラム121は、SDカード126についてパーティションが正しいか,ファイルシステムの状態が正しいかをチェックし、ファイルシステム122として使用可能な状態にするためのものである。SDカードチェックプログラム121は、例えばSDカード126のチェック機能,マウント機能,アンマウント機能,状態通知機能などを有している。
【0066】
次に、本発明によるパス指定方法の処理手順についてフローチャートを参照しつつ説明していく。プログラム起動部52は、融合機1のアプリケーション30およびプラットフォーム40のプロセスを起動したあと、イベント待ち状態となる。図9は、イベント待ち処理の一例のフローチャートを示す。
【0067】
図9中、ステップS1では、プログラム起動部52が、イベントの発生有無を判定する。イベントの発生が無いと判定すると(S1においてNO)、プログラム起動部52はステップS1の処理を繰り返す。イベントの発生が有ると判定すると(S1においてYES)、プログラム起動部52はステップS2に進む。
【0068】
例えばSDカード126がSDカード用スロット125に挿入されると、SDカードアクセスドライバ124はSDカード用スロット125からの割り込みに応じてSDカード126の挿入をSDカードステータスモニタドライバ123に通知する。そして、SDカードステータスモニタドライバ123は、SDカード126の挿入をプログラム起動部52に通知する。プログラム起動部52は、SDカードステータスモニタドライバ123からSDカード126の挿入が通知されたときにイベントの発生があると判定する。
【0069】
また、SDカード126がSDカード用スロット125から抜き出されると、SDカードアクセスドライバ124はSDカード用スロット125からの割り込みに応じてSDカード126の抜き出しをSDカードステータスモニタドライバ123に通知する。そして、SDカードステータスモニタドライバ123は、SDカード126の抜き出しをプログラム起動部52に通知する。プログラム起動部52は、SDカードステータスモニタドライバ123からSDカード126の抜き出しが通知されたときにイベントの発生があると判定する。
【0070】
ステップS2では、プログラム起動部52が、イベントの内容を判定する。イベントの内容がSDカード126の挿入検知である場合、プログラム起動部52はステップS3に進む。ステップS3では、後述するSDカード挿入検知処理が行われる。一方、イベントの内容がSDカード126の抜出検知である場合、プログラム起動部52はステップS4に進む。ステップS4では、後述するSDカード抜出検知処理が行われる。
【0071】
図10は、SDカード挿入検知処理の一例のフローチャートを示す。ステップS11では、プログラム起動部52が、SDカードチェックプログラム121を起動させる。
【0072】
ステップS11に続いてステップS12に進み、SDカードチェックプログラム121はマスタ設定ファイルに従ったSDカード126のマウントを行い、SDカード126のマウントを行った旨をSDカードステータスモニタドライバ123に通知する。例えば図11のようなマスタ設定ファイルの場合、SDカードチェックプログラム121はマウント対象「/dev/sd1」をマウントポイント「/mnt/sd1」にマウントする。
【0073】
ステップS12に続いてステップS13に進み、プログラム起動部52はステップS12でSDカード126をマウントしたマウントポイントを保存する。例えば図11のマスタ設定ファイルの場合、プログラム起動部52はマウントポイント「/mnt/sd1」を保存する。図11は、マスタ設定ファイルの他の一例の構成図を示す。
【0074】
ステップS13に続いてステップS14に進み、プログラム起動部52はSDカードステータスモニタドライバ123からSDカード126がマウントされた旨を通知されると、マウントされたSDカード126から設定ファイルを読み出して解析する。例えばプログラム起動部52は図12のような設定ファイルを読み出す。図12は、マウント対象が相対パス指定されている設定ファイルの一例の構成図を示す。
【0075】
ステップS14に続いてステップS15に進み、プログラム起動部52はステップS14で行った設定ファイルの解析結果に基づき、マウント対象が相対パス指定されているか否かを判定する。マウント対象が相対パス指定されていると判定すると(S15においてYES)、プログラム起動部52はステップS16に進む。例えば図12の設定ファイルの場合、プログラム起動部52はマウント対象「gzromfs」のパス指定が相対パス指定「font1.gz」されていると判定する。
【0076】
一方、マウント対象が相対パス指定されていないと判定すると(S15においてNO)、プログラム起動部52はステップS17に進む。例えばプログラム起動部52はマウント対象「gzromfs」のパス指定が「/mnt/sd1/font1.gz」であれば絶対パス指定されていると判定する。
【0077】
ステップS16では、プログラム起動部52が、マウント対象の相対パス指定にステップS13で保存したマウントポイントを付加することでマウント対象の絶対パス指定を取得する。例えば図11のマスタ設定ファイルおよび図12の設定ファイルの場合、プログラム起動部52はマウント対象の絶対パス指定「/mnt/sd1/font1.gz」を取得してステップS17に進む。
【0078】
ステップS17では、プログラム起動部52が、設定ファイルおよび絶対パス指定に応じたマウントを行う。例えば図12の設定ファイルの場合、プログラム起動部52はマウント対象の絶対パス指定「/mnt/sd1/font1.gz 」をマウントポイント「/prt/font1」にマウントする。そして、ステップS17に続いてステップS18に進み、プログラム起動部52はSDカード126に記録されているプログラムのプロセスを起動する。
【0079】
図10のSDカード挿入検知処理では、マウントされたSDカード126に記録されている図6のような設定ファイル又は図7のようなファイル,又はアプリケーション30やプラットフォーム40等のプログラムを全て読み出してマウントしていたが、SDカード126の不正コピーを防止するため電子認証チェックを行うようにしてもよい。
【0080】
図13は、電子認証チェック機能を有するSDカード挿入検知処理の一例のフローチャート(1/2)である。図14は、電子認証チェック機能を有するSDカード挿入検知処理の一例のフローチャート(2/2)である。
【0081】
ステップS21〜S23は、図10のフローチャートの処理と同様であり、説明を省略する。SDカードステータスモニタドライバ123からSDカード126がマウントされた旨を通知されると、プログラム起動部52はステップS24に進み、マウントされたSDカード126から設定ファイルを検索する。ステップS25に進み、プログラム起動部52はマウントされたSDカード126に設定ファイルが存在すれば(S25においてYES)、ステップS26に進む。なお、マウントされたSDカード126に設定ファイルが存在しなければ(S25においてNO)、プログラム起動部52はステップS33に進む。ステップS26では、プログラム起動部52が、電子認証チェック用ライブラリを用いて設定ファイルの認証チェックを行う。
【0082】
例えば設定ファイルの認証チェックは、図15に表したフローチャートのように行われる。図15は、設定ファイルの認証チェックの処理の一例のフローチャートである。
【0083】
ステップS41では、プログラム起動部52が、SDカード126に設定ファイルの認証チェックに利用する対象ファイルが存在するか否かを判定する。設定ファイルの認証チェックに利用する対象ファイルは、設定ファイルと、設定ファイルおよびSDカードのシリアルIDのメッセージダイジェスト(以下、MDという)から作成された電子署名ファイルとを含む。
【0084】
図16は、SDカードに記録された対象ファイルの一例のイメージ図である。図16の例では、「printer.cnf」が設定ファイルを表し、「printer.lic」が設定ファイルの認証チェックに利用する電子署名ファイルを表し、「printer.mod」がマウント対象のモジュールファイルを表し、「printer.mac」がマウント対象モジュールの認証チェックに利用する電子署名ファイルを表す。
【0085】
設定ファイルの認証チェックに利用する対象ファイルが存在すると判定すると(S41においてYES)、プログラム起動部52はSDカード126から設定ファイルおよび設定ファイルの認証チェックに利用する電子署名ファイルを取得してステップS42に進む。
【0086】
ステップS42では、プログラム起動部52が、SDカード126のシリアルIDをSDカード126から取得する。ステップS43に進み、プログラム起動部52はステップS41で取得した設定ファイルと、ステップS42で取得したSDカード126のシリアルIDとのMD1を作成する。ステップS43に続いてステップS44に進み、プログラム起動部52はステップS41で取得した電子署名ファイルを公開鍵で復号化してMD2を作成する。
【0087】
ステップS45に進み、プログラム起動部52はステップS43で作成したMD1とステップS44で作成したMD2とが等しいか否かを判定する。MD1とMD2とが等しいと判定すると(S45においてYES)、プログラム起動部52はステップS46に進み、設定ファイルの認証チェックがOKと判定する。
【0088】
一方、MD1とMD2とが等しくないと判定すると(S45においてNO)、プログラム起動部52はステップS47に進み、設定ファイルの認証チェックがNGと判定する。MD1とMD2とが等しくなければ、SDカード126に記録されているファイルは不正にコピーされた可能性が高いためである。
【0089】
なお、設定ファイルの認証チェックに利用する対象ファイルが存在しないと判定すると(S41においてNO)、プログラム起動部52はステップS47に進み、設定ファイルの認証チェックがNGと判定する。
【0090】
図13に戻り、プログラム起動部52は設定ファイルの認証チェックがOKであれば(S26においてYES)、ステップS27に進み、図17のような設定ファイルの解析を行う。なお、プログラム起動部52は設定ファイルの認証チェックがNGであれば(S26においてNO)、ステップS24に進む。
【0091】
図17は、設定ファイルの一例のイメージ図である。設定ファイルは、相対パス指定「printer.mod」されているgzip圧縮されたROMFS形式のモジュールファイルをマウントポイント「/mnt/printer」へマウントし、マウントしたモジュールファイルを実行する処理を表している。
【0092】
ステップS27に続いてステップS28に進み、EOF(End Of File )を検索したか否かを判定する。EOFを検索したと判定すると(S28においてYES)、プログラム起動部52はステップS24に戻る。一方、EOFを検索していないと判定すると(S28においてNO)、プログラム起動部52はステップS29に進む。
【0093】
ステップS29では、プログラム起動部52が、設定ファイルにマウントの記述があれば、電子認証チェック用ライブラリを用いてマウント対象のモジュールの認証チェックを行う。
【0094】
例えばマウント対象モジュールの認証チェックは、図18に表したフローチャートのように行われる。図18は、マウント対象モジュールの認証チェックの処理の一例のフローチャートである。
【0095】
ステップS51では、プログラム起動部52が、SDカード126にマウント対象モジュールの認証チェックに利用する対象ファイルが存在するか否かを判定する。マウント対象モジュールの認証チェックに利用する対象ファイルは、マウント対象のモジュールファイルと、モジュールファイルのMDから作成された電子署名ファイルとを含む。
【0096】
マウント対象モジュールの認証チェックに利用する対象ファイルが存在すると判定すると(S51においてYES)、プログラム起動部52はSDカード126からマウント対象のモジュールファイルおよびマウント対象のモジュールファイルの認証チェックに利用する電子署名ファイルを取得してステップS52に進む。
【0097】
ステップS53に進み、プログラム起動部52はステップS51で取得したモジュールファイルのMD1を作成する。ステップS54に進み、プログラム起動部52はステップS51で取得した電子署名ファイルを公開鍵で復号化してMD2を作成する。
【0098】
ステップS55に進み、プログラム起動部52はステップS53で作成したMD1とステップS54で作成したMD2とが等しいか否かを判定する。MD1とMD2とが等しいと判定すると(S55においてYES)、プログラム起動部52はステップS56に進み、マウント対象モジュールの認証チェックがOKと判定する。
【0099】
一方、MD1とMD2とが等しくないと判定すると(S55においてNO)、プログラム起動部52はステップS57に進み、マウント対象モジュールの認証チェックがNGと判定する。MD1とMD2とが等しくなければ、SDカード126に記録されているファイルはコピーや改竄などの不正を受けた可能性が高いためである。
【0100】
なお、マウント対象モジュールの認証チェックに利用する対象ファイルが存在しないと判定すると(S51においてNO)、プログラム起動部52はステップS57に進み、マウント対象モジュールの認証チェックがNGと判定する。
【0101】
図14に戻り、プログラム起動部52はマウント対象モジュールの認証チェックがOKであれば(S29においてYES)、ステップS30に進み、マウント対象が相対パス指定されているか否かを判定する。マウント対象が相対パス指定されていると判定すると(S30においてYES)、プログラム起動部52はステップS31に進む。
【0102】
ステップS31では、プログラム起動部52が、マウント対象の相対パス指定にステップS23で保存したマウントポイントを付加することでマウント対象の絶対パス指定を取得してステップS32に進む。一方、マウント対象が相対パス指定されていないと判定すると(S30においてNO)、プログラム起動部52はステップS32に進む。
【0103】
ステップS32では、プログラム起動部52が、設定ファイルおよび絶対パス指定に応じたマウントを行ったあとステップS27に戻る。また、マウント対象モジュールの認証チェックがNGであれば(S29においてNO)、プログラム起動部52はステップS27に戻る。なお、プログラム起動部52はSDカード126に記録されている全ての設定ファイルの認証チェックを行うまで、ステップS24〜S32の処理を繰り返す。
【0104】
SDカード126に記録されている全ての設定ファイルの認証チェックを行ったあと、プログラム起動部52はマウントされたSDカード126に設定ファイルが存在しないと判定して(S25においてNO)、ステップS33に進む。ステップS33では、プログラム起動部52が、ステップS32でマウントしたモジュールを実行する。なお、マウント対象モジュールの認証チェックがNGであるモジュールは、ステップS32でマウントされないため、ステップS33で実行されない。
【0105】
なお、図10,図13及び図14のSDカード挿入検知処理が全て終了した時点で、プログラム起動部52がアプリケーション30やプラットフォーム40のプロセスへ通知する機能を設けてもよい。なお、プログラム起動部52は例えば図4のようなファイルツリーにSDカード挿入検知処理が全て終了したことを表すファイル「/tmp/init.done 」を作成しておくことで、SDカード挿入検知処理が全て終了した旨をアプリケーション30やプラットフォーム40のプロセスへ通知するようにしてもよい。
【0106】
SDカード挿入検知処理が全て終了した時点で、プログラム起動部52がアプリケーション30やプラットフォーム40のプロセスへ通知する機能は、例えばフォントデータを必要とするプリンタアプリ31がフォントデータのマウント終了を待つときに利用できる。
【0107】
なお、SDカード126が突然抜かれた場合、SDカード126をアンマウントする必要があるため、プログラム起動部52はSDカードチェックプログラム121を起動してSDカード126のアンマウント処理を行わせる。
【0108】
したがって、融合機1では設定ファイルにおけるマウント対象のパス指定を相対パス指定することができ、SDカード126に格納されているアプリによりSDカード126を挿入するSDカード用スロット125を予め決めておく必要がない。そして、SDカード126上のモジュールは、SDカード126を挿入するSDカード用スロット125によらずに同じマウントポイントにマウントされることとなる。
【0109】
なお、融合機1では電源を投入したままの状態でSDカード126を挿入したとしても、SDカード126に記録されているアプリケーションのプロセスを自動的に起動することができる。例えば図1の融合機1では、アプリケーション30の一つとしてSDカード126内のアプリが追加される。
【0110】
図19は、SDカード抜出検知処理の一例のフローチャートを示す。なお、SDカード抜出検知処理を行う前に、プログラム起動部52は、ステップS18またはS33で起動したプログラムを停止することも考えられる。SDカード126の抜き出しが検知されたときにSDカード126から読み出して起動したアプリケーションのプロセスを停止することにより、アプリケーションの不正使用を防止できる。
【0111】
ステップS61では、プログラム起動部52が、SDカードステータスモニタドライバ123にSDカード126のステータス情報を問い合わせてSDカード126のマウント状態をチェックする。
【0112】
ステップS61に続いてステップS62に進み、プログラム起動部52はステップS61のマウント状態のチェック結果に応じてSDカード126がマウントされているか否かを判定する。マウント状態のチェック結果からSDカード126がマウントされていると判定すると(S62においてYES)、プログラム起動部52はステップS63に進み、SDカードチェックプログラム121を起動させる。なお、マウント状態のチェック結果からSDカード126がマウントされていないと判定すると(S62においてNO)、プログラム起動部52は処理を終了する。
【0113】
ステップS63に続いてステップS64に進み、SDカードチェックプログラム121はSDカード126のアンマウントを行い、SDカード126のアンマウントを行った旨をSDカードステータスモニタドライバ123に通知して処理を停止する。
【0114】
したがって、融合機1では電源を投入したままの状態でSDカード126を抜き出したとしても、SDカード126のアンマウント処理を自動的に行うことができる。
【0115】
図20は、SDカード挿入検知処理の他の一例のフローチャートを示す。ステップS71では、プログラム起動部52が、SDカードチェックプログラム121を起動させる。
【0116】
ステップS71に続いてステップS72に進み、SDカードチェックプログラム121はマスタ設定ファイルに従ったSDカード126のマウントを行い、SDカード126のマウントを行った旨をSDカードステータスモニタドライバ123に通知する。例えば図11のようなマスタ設定ファイルの場合、SDカードチェックプログラム121はマウント対象「/dev/sd1」をマウントポイント「/mnt/sd1」にマウントする。
【0117】
ステップS72に続いてステップS73に進み、プログラム起動部52はSDカードステータスモニタドライバ123からSDカード126がマウントされた旨を通知されると、マウントされたSDカード126から設定ファイルを読み出して解析する。例えばプログラム起動部52は図21のような設定ファイルを読み出す。図21は、マウントポイントが相対パス指定されている設定ファイルの一例の構成図を示す。
【0118】
ステップS73に続いてステップS74に進み、プログラム起動部52は設定ファイルの記述に従いマウントポイントを環境変数ROOTとして設定する。例えば図21の設定ファイルの場合、プログラム起動部52はsetenvコマンドで指定されたディレクトリ「/printer」を環境変数ROOTにセットする。
【0119】
ステップS74に続いてステップS75に進み、プログラム起動部52は環境変数ROOTにセットしたディレクトリを新規に作成する。例えば図21の設定ファイルの場合、プログラム起動部52は環境変数ROOTにセットしたディレクトリ「/printer」を新規に作成する。
【0120】
ステップS75に続いてステップS76に進み、プログラム起動部52はステップS73で行った設定ファイルの解析結果に基づき、マウントポイントが相対パス指定されているか否かを判定する。マウントポイントが相対パス指定されていると判定すると(S76においてYES)、プログラム起動部52はステップS77に進む。例えば図21のマスタ設定ファイルの場合、プログラム起動部52はマウント対象「gzromfs」をマウントする先のマウントポイントのパス指定が相対パス指定「font1」されていると判定する。
【0121】
一方、マウントポイントが相対パス指定されていないと判定すると(S76においてNO)、プログラム起動部52はステップS78に進む。例えばプログラム起動部52はマウントポイントのパス指定が「/printer/font1」であれば絶対パス指定されていると判定する。
【0122】
ステップS77では、プログラム起動部52が、マウントポイントの相対パス指定にステップS74で設定した環境変数ROOTのディレクトリをマウントポイントに付加することでマウントポイントの絶対パス指定を取得する。例えば図21の設定ファイルの場合、プログラム起動部52はマウントポイントの絶対パス指定「/printer/font1」を取得してステップS78に進む。
【0123】
ステップS78では、プログラム起動部52が、設定ファイルおよびマウントポイントの絶対パス指定に応じたマウントを行う。例えば図21の設定ファイルの場合、プログラム起動部52はマウント対象「gzromfs」の絶対パス指定「/mnt/sd1/font1.gz」をマウントポイントの絶対パス指定「/printer/font1」にマウントする。ステップS78に続いてステップS79に進み、プログラム起動部52はSDカード126に記録されているプログラムのプロセスを起動する。
【0124】
なお、SDカード126が突然抜かれた場合、SDカード126をアンマウントする必要があるため、プログラム起動部52はSDカードチェックプログラム121を起動してSDカード126のアンマウント処理を行わせる。
【0125】
また、図20のSDカード挿入検知処理では、図13及び図14のSDカード挿入検知処理と同様に電子認証チェックを行うようにしてもよい。なお、電子認証チェックの処理は、図15及び図18と同様であるため説明を省略する。
【0126】
したがって、融合機1では設定ファイルにおけるマウント対象をマウントするマウント先のパス指定を相対パス指定することができ、マウントポイントを固定する必要がない。また、融合機1では設定ファイルの記述によりディレクトリが作成されるため、融合機1側のディレクトリ構造によらずにマウントポイントのパス指定が可能である。
【0127】
【発明の効果】
上述の如く、本発明によれば、記録媒体を挿入する記録媒体用スロットを予め決めておく必要がなく、マウントポイントを固定しておく必要がなく、マウントポイントが画像形成装置のディレクトリに拘束されることがない。
【0128】
【図面の簡単な説明】
【図1】本発明による融合機の一実施例の構成図である。
【図2】本発明による融合機の一実施例のハードウェア構成図である。
【図3】融合機起動部の一例の構成図である。
【図4】ファイルツリーの一例の構成図である。
【図5】マスタ設定ファイルの一例の構成図である。
【図6】設定ファイルの一例の構成図である。
【図7】SDカードのファイルツリーの一例の構成図である。
【図8】本発明によるパス指定方法の一実施例の説明図である。
【図9】イベント待ち処理の一例のフローチャートである。
【図10】SDカード挿入検知処理の一例のフローチャートである。
【図11】マスタ設定ファイルの他の一例の構成図である。
【図12】マウント対象が相対パス指定されている設定ファイルの一例の構成図である。
【図13】電子認証チェック機能を有するSDカード挿入検知処理の一例のフローチャート(1/2)である。
【図14】電子認証チェック機能を有するSDカード挿入検知処理の一例のフローチャート(2/2)である。
【図15】設定ファイルの認証チェックの処理の一例のフローチャートである。
【図16】SDカードに記録された対象ファイルの一例のイメージ図である。
【図17】設定ファイルの一例のイメージ図である。
【図18】マウント対象モジュールの認証チェックの処理の一例のフローチャートである。
【図19】SDカード抜出検知処理の一例のフローチャートである。
【図20】SDカード挿入検知処理の他の一例のフローチャートである。
【図21】マウントポイントが相対パス指定されている設定ファイルの一例の構成図である。
【符号の説明】
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 path designation method, and more particularly to an image forming apparatus and a path designation method for mounting a recording medium on a mount point in accordance with a path designation.
[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]
The application / service activation program, for example, when an SD card is inserted into a slot as an example of a recording medium, mounts a file system according to a setting file recorded on the SD card, and processes the application recorded on the SD card. Was started according to the predetermined configuration file.
[0007]
[Patent Document 1]
JP 2002-84383 A
[0008]
[Patent Document 2]
JP 2001-76125 A
[0009]
[Problems to be solved by the invention]
In the conventional multi-function apparatus, it is necessary to record a setting file corresponding to the application to be activated in a hard disk device or a ROM. Further, when starting the process of the application recorded on the SD card, the conventional multifunction peripheral needs to record the setting file corresponding to the application to be started on the SD card.
[0010]
By the way, the setting file includes a path specification of a mount target and a path specification of a mount point representing a mount destination. It should be noted that the mount target path specification and the mount point path specification were performed using absolute paths.
[0011]
However, a conventional multi-function machine may have a plurality of recording medium slots of the same type. For example, when a plurality of SD card slots are provided, the path differs between an SD card application inserted into one SD card slot and an SD card application inserted into another SD card slot. .
[0012]
Therefore, even if a conventional multi-function apparatus has a plurality of recording medium slots of the same type, a single recording medium slot is inserted into the recording medium, and a setting file corresponding to the recording medium slot is stored. There was a problem that it was necessary to create and record it on a recording medium.
[0013]
Further, in the conventional multi-function apparatus, the mount point path is specified by an absolute path, so that the mount point is fixed and the mount point is restricted by the directory of the image forming apparatus.
[0014]
The present invention has been made in view of the above points, and there is no need to predetermine a recording medium slot into which a recording medium is inserted, and there is no need to fix a mount point. An object of the present invention is to provide an image forming apparatus and a path specifying method that are not restricted by a directory.
[0015]
[Means for Solving the Problems]
In order to solve the above problems, the present invention provides: Image processing hardware and image processing hardware Perform processing related to image formation using for An image forming apparatus having a program and a slot into which a recording medium can be inserted and removed, Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus A file system of the recording medium with a first mount point represented by an absolute path A recording medium starting means for mounting the at a first mount point; The first mount point is saved, a setting file is read from the mounted file system of the recording medium, and the mount target recorded in the setting file is represented by a relative path that specifies a directory in the recording medium. The absolute path of the mount target from the file system in the image forming apparatus by combining the relative path and the first mount point, and the mount target recorded in the setting file After acquiring the second mount point representing the mount destination of the image by an absolute path designating the directory in the image forming apparatus and mounting the absolute path to be mounted on the second mount point, the program in the recording medium is obtained. Launch And a program starting means.
[0016]
In order to solve the above-mentioned problem, the present invention Image processing hardware and image processing hardware Perform processing related to image formation using for An image forming apparatus having a program and a slot into which a recording medium can be inserted and removed, Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus A file system of the recording medium with a first mount point represented by an absolute path A recording medium starting means for mounting the at a first mount point; Read the setting file from the file system of the mounted recording medium, create the directory recorded in the setting file, and specify the directory in the recording medium as the mount target to be mounted recorded in the setting file. The relative path and the created directory are combined to obtain the absolute path of the mount target of the mount target from the file system in the image forming apparatus, and After obtaining the second mount point representing the mount target recorded in the setting file by an absolute path designating a directory in the image forming apparatus, and mounting the absolute path of the mount target on the second mount point , Launch the program in the recording medium And a program starting means.
[0017]
In order to solve the above-mentioned problem, the present invention Image processing hardware and image processing hardware Perform processing related to image formation using for A path designation method for an image forming apparatus having a program and a slot into which a recording medium can be inserted and removed, The image processing apparatus records the file system of the recording medium inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus. A file system of the recording medium by a first mount point represented by an absolute path designating a directory in the apparatus; Mounting a first mount point on a first mount point; in front Mount point storage stage for storing the first mount point; When a setting file is read from the mounted file system of the recording medium, and the mount target recorded in the setting file is represented by a relative path that specifies a directory in the recording medium, the relative path and the In combination with the first mount point, the absolute path of the mount target from the file system in the image forming apparatus is acquired, and the mount destination of the mount target recorded in the setting file is set as the image forming apparatus. Second mount point represented by an absolute path that specifies a directory within An absolute path acquisition stage to acquire, Mount the absolute path to be mounted on the second mount point Second mount stage to A program starting stage for starting a program in the recording medium; It is characterized by having.
[0018]
In order to solve the above problems, the present invention provides an image processing hardware, a program for performing processing relating to image formation using the image processing hardware, and a slot into which a recording medium can be inserted and removed. A path designation method for a forming apparatus, The image processing apparatus is Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus A first mount stage that mounts the file system of the recording medium on the first mount point with a first mount point represented by an absolute path that reads the setting file from the mounted file system of the recording medium, and Create a recorded directory, and create the relative path when the mount target of the mount target recorded in the configuration file is represented by a relative path that specifies the directory in the recording medium. The image formation in combination with the directory A second absolute path that specifies the mount target recorded in the setting file by an absolute path that specifies a directory in the image forming apparatus. An absolute mount point acquiring step for acquiring a mount point; a second mount step for mounting the absolute path to be mounted on the second mount point; and a program starting step for starting a program in the recording medium. Features.
[0019]
According to the present invention, the first mount point on which the recording medium inserted in the slot is mounted is stored, and the absolute path is obtained according to the relative path and the first mount point recorded in the setting file of the recording medium. Therefore, it is possible to specify a mount target path by a relative path.
[0020]
In addition, according to the present invention, the absolute mount point can be acquired according to the directory and the relative mount point recorded in the setting file of the recording medium inserted in the slot. Can be specified.
[0021]
Further, according to the present invention, the setting file is read from the recording medium inserted in the slot, the directory recorded in the setting file is created in the image forming apparatus, and the relative mount point read from the created directory and the setting file is read. Since the absolute mount point can be acquired according to the path, the mount point path can be specified according to the newly created directory and the relative mount point.
[0022]
Therefore, according to the present invention, there is no need to predetermine a recording medium slot into which the recording medium is inserted, it is not necessary to fix the mount point, and the mount point is restrained by the directory of the image forming apparatus. There is no.
[0023]
DETAILED DESCRIPTION OF THE INVENTION
Next, embodiments of the present invention will be described with reference to the drawings.
[0024]
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.
[0025]
The application 30 performs processing unique to each user service related to image forming processing such as a printer, copy, facsimile, and scanner.
[0026]
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.
[0027]
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.
[0028]
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.
[0029]
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.
[0030]
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.
[0031]
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.
[0032]
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.
[0033]
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.
[0034]
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.
[0035]
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.
[0036]
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).
[0037]
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.
[0038]
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.
[0039]
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.
[0040]
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.
[0041]
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.
[0042]
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.
[0043]
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.
[0044]
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.
[0045]
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.
[0046]
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.
[0047]
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.
[0048]
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.
[0049]
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.
[0050]
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.
[0051]
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.
[0052]
The program starter 52 reads the application 30 and platform 40 programs necessary for the operation of the MFP from a ROM or the like according to a predetermined setting file, and stores the read programs in a memory area secured on the system memory 62 and the local memory 67. The processes of the application 30 and the platform 40 are started by expanding.
[0053]
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.
[0054]
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.
[0055]
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.
[0056]
For example, when the setting file “init.conf” or “init.cnf” as shown in FIG. 6 exists in the root of the file system of the mounted SD card, the program starting unit 52 performs the mount 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.
[0057]
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.
[0058]
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.
[0059]
Hereinafter, a process when the SD card in which the application is recorded is inserted into the SD card slot or removed from the SD card slot while the power of the multi-function apparatus 1 is turned on will be described.
[0060]
FIG. 8 is an explanatory diagram of an embodiment of the path specifying 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.
[0061]
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.
[0062]
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.
[0063]
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.
[0064]
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.
[0065]
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.
[0066]
Next, the processing procedure of the path designation 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.
[0067]
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.
[0068]
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.
[0069]
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.
[0070]
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.
[0071]
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.
[0072]
Progressing to step S12 following step S11, the SD card check program 121 mounts the SD card 126 according to the master setting file, and notifies the SD card status monitor driver 123 that the SD card 126 has been mounted. For example, in the case of a master setting file as shown in FIG. 11, the SD card check program 121 mounts the mount target “/ dev / sd1” on the mount point “/ mnt / sd1”.
[0073]
Progressing to step S13 following step S12, the program activation unit 52 stores the mount point where the SD card 126 is mounted in step S12. For example, in the case of the master setting file of FIG. 11, the program activation unit 52 stores the mount point “/ mnt / sd1”. FIG. 11 shows a configuration diagram of another example of the master setting file.
[0074]
Progressing to step S14 following step S13, when the program activation unit 52 is notified by the SD card status monitor driver 123 that the SD card 126 has been mounted, it reads the setting file from the mounted SD card 126 and analyzes it. . For example, the program starting unit 52 reads a setting file as shown in FIG. FIG. 12 shows a configuration diagram of an example of a setting file in which a mount target is designated with a relative path.
[0075]
Proceeding to step S15 following step S14, the program activation unit 52 determines whether or not a relative path is specified for the mount target based on the analysis result of the setting file performed in step S14. If it is determined that the relative path is specified for the mount target (YES in S15), the program activation unit 52 proceeds to step S16. For example, in the case of the setting file of FIG. 12, the program activation unit 52 determines that the path designation of the mount target “gzromfs” is the relative path designation “font1.gz”.
[0076]
On the other hand, if it is determined that the relative path is not specified for the mount target (NO in S15), the program activation unit 52 proceeds to step S17. For example, if the path designation of the mount target “gzromfs” is “/mnt/sd1/font1.gz”, the program activation unit 52 determines that the absolute path is designated.
[0077]
In step S16, the program activation unit 52 acquires the mount target absolute path designation by adding the mount point saved in step S13 to the mount target relative path designation. For example, in the case of the master setting file of FIG. 11 and the setting file of FIG. 12, the program activation unit 52 acquires the absolute path designation “/mnt/sd1/font1.gz” to be mounted, and proceeds to step S17.
[0078]
In step S17, the program activation unit 52 performs mounting according to the setting file and absolute path designation. For example, in the case of the setting file shown in FIG. 12, the program starting unit 52 mounts the absolute path designation “/mnt/sd1/font1.gz” to be mounted on the mount point “/ prt / font1”. In step S18 following step S17, the program activation unit 52 activates the process of the program recorded on the SD card 126.
[0079]
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.
[0080]
FIG. 13 is a flowchart (1/2) of an example of an SD card insertion detection process having an electronic authentication check function. FIG. 14 is a flowchart (2/2) of an example of an SD card insertion detection process having an electronic authentication check function.
[0081]
Steps S21 to S23 are the same as the processing of the flowchart of FIG. When notified from the SD card status monitor driver 123 that the SD card 126 has been mounted, the program starter 52 proceeds to step S24 and searches for the setting file from the mounted SD card 126. Proceeding to step S25, if the setting file exists in the mounted SD card 126 (YES in S25), program starting unit 52 proceeds to step S26. If the setting file does not exist in the mounted SD card 126 (NO in S25), the program activation unit 52 proceeds to step S33. In step S <b> 26, the program activation unit 52 performs an authentication check of the setting file using the electronic authentication check library.
[0082]
For example, the authentication check of the setting file is performed as in the flowchart shown in FIG. FIG. 15 is a flowchart illustrating an example of a setting file authentication check process.
[0083]
In step S <b> 41, 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.
[0084]
FIG. 16 is an image diagram of an example of a target file recorded on the SD card. In the example of FIG. 16, “printer.cnf” represents a configuration file, “printer.lic” represents an electronic signature file used for authentication check of the configuration 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.
[0085]
If it is determined that there is a target file to be used for the setting file authentication check (YES in S41), the program activation unit 52 obtains the setting file and the electronic signature file to be used for the setting file authentication check from the SD card 126, and step S42. Proceed to
[0086]
In step S <b> 42, the program activation unit 52 acquires the serial ID of the SD card 126 from the SD card 126. In step S43, the program activation unit 52 creates MD1 of the setting file acquired in step S41 and the serial ID of the SD card 126 acquired in step S42. Progressing to step S44 following step S43, the program starting unit 52 decrypts the electronic signature file acquired in step S41 with the public key to create MD2.
[0087]
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), program starting unit 52 proceeds to step S46, and determines that the authentication check of the setting file is OK.
[0088]
On the other hand, if it is determined that MD1 and MD2 are not equal (NO in S45), program starting unit 52 proceeds to step S47 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.
[0089]
If it is determined that the target file to be used for the setting file authentication check does not exist (NO in S41), the program activation unit 52 proceeds to step S47 and determines that the setting file authentication check is NG.
[0090]
Returning to FIG. 13, if the authentication check of the setting file is OK (YES in S26), the program starting unit 52 proceeds to step S27 and analyzes the setting file as shown in FIG. If the authentication check of the setting file is NG (NO in S26), the program activation unit 52 proceeds to step S24.
[0091]
FIG. 17 is an image diagram of an example of a setting file. The setting file represents a process of mounting a gzip compressed ROMFS format module file having a relative path designation “printer.mod” on the mount point “/ mnt / printer” and executing the mounted module file.
[0092]
Progressing to step S28 following step S27, it is determined whether EOF (End Of File) has been searched or not. If it is determined that the EOF has been searched (YES in S28), program starting unit 52 returns to step S24. On the other hand, if it is determined that the EOF has not been searched (NO in S28), program starting unit 52 proceeds to step S29.
[0093]
In step S29, if there is a description of mounting in the setting file, the program starting unit 52 performs an authentication check of the module to be mounted using the electronic authentication check library.
[0094]
For example, the authentication check of the mount target module is performed as in the flowchart shown in FIG. FIG. 18 is a flowchart of an example of the authentication check process for the mount target module.
[0095]
In step S51, 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.
[0096]
If it is determined that there is a target file to be used for the authentication check of the mount target module (YES in S51), the program starting 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 S52.
[0097]
In step S53, the program activation unit 52 creates MD1 of the module file acquired in step S51. In step S54, the program activation unit 52 creates MD2 by decrypting the electronic signature file acquired in step S51 with the public key.
[0098]
In step S55, the program activation unit 52 determines whether the MD1 created in step S53 is equal to the MD2 created in step S54. If it is determined that MD1 and MD2 are equal (YES in S55), program starting unit 52 proceeds to step S56 and determines that the authentication check of the mount target module is OK.
[0099]
On the other hand, if it is determined that MD1 and MD2 are not equal (NO in S55), the program activation unit 52 proceeds to step S57 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.
[0100]
If it is determined that the target file to be used for the mount target module authentication check does not exist (NO in S51), the program activation unit 52 proceeds to step S57, and determines that the mount target module authentication check is NG.
[0101]
Returning to FIG. 14, if the authentication check of the mount target module is OK (YES in S29), the program activation unit 52 proceeds to step S30 and determines whether or not the relative path is specified for the mount target. If it is determined that the relative path is specified for the mount target (YES in S30), the program activation unit 52 proceeds to step S31.
[0102]
In step S31, the program starting unit 52 acquires the absolute path designation of the mount target by adding the mount point saved in step S23 to the relative path designation of the mount target, and proceeds to step S32. On the other hand, if it is determined that the relative path is not designated for the mount target (NO in S30), the program activation unit 52 proceeds to step S32.
[0103]
In step S32, the program activation unit 52 performs mounting according to the setting file and the absolute path designation, and then returns to step S27. If the authentication check of the module to be mounted is NG (NO in S29), the program activation unit 52 returns to step S27. The program starting unit 52 repeats the processes in steps S24 to S32 until the authentication check of all setting files recorded on the SD card 126 is performed.
[0104]
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 S25), and proceeds to step S33. move on. In step S33, the program activation unit 52 executes the module mounted in step S32. A module whose authentication check for the mount target module is NG is not mounted in step S32, and therefore is not executed in step S33.
[0105]
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 the SD card insertion detection processes of FIGS. 10, 13 and 14 are completed. For example, the program starting unit 52 creates a file “/tmp/init.done” indicating that the SD card insertion detection process has been completed in the file tree as shown in FIG. May be notified to the process of the application 30 or the platform 40.
[0106]
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.
[0107]
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.
[0108]
Therefore, in the multifunction machine 1, it is possible to specify a relative path for the mount target path in the setting file, and it is necessary to determine in advance the SD card slot 125 into which the SD card 126 is inserted by the application stored in the SD card 126. There is no. The modules on the SD card 126 are mounted at the same mount point regardless of the SD card slot 125 into which the SD card 126 is inserted.
[0109]
Note that even if the SD card 126 is inserted while the power is on, the MFP 1 can automatically start the application process recorded on the SD card 126. For example, in the MFP 1 of FIG. 1, an application in the SD card 126 is added as one of the applications 30.
[0110]
FIG. 19 shows a flowchart of an example of the SD card removal detection process. In addition, before performing SD card extraction detection processing, the program starting part 52 may stop the program started by step S18 or S33. 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.
[0111]
In step S61, the program activation unit 52 inquires of 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.
[0112]
Proceeding to step S62 following step S61, the program activation unit 52 determines whether or not the SD card 126 is mounted in accordance with the check result of the mounting state of step S61. If it is determined from the check result of the mounted state that the SD card 126 is mounted (YES in S62), the program activation unit 52 proceeds to step S63 and activates the SD card check program 121. If it is determined from the mounted state check result that the SD card 126 is not mounted (NO in S62), the program activation unit 52 ends the process.
[0113]
Progressing to step S64 following step S63, 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 unmounted, and stops the processing.
[0114]
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.
[0115]
FIG. 20 shows a flowchart of another example of the SD card insertion detection process. In step S71, the program activation unit 52 activates the SD card check program 121.
[0116]
Progressing to step S72 following step S71, the SD card check program 121 mounts the SD card 126 according to the master setting file, and notifies the SD card status monitor driver 123 that the SD card 126 has been mounted. For example, in the case of a master setting file as shown in FIG. 11, the SD card check program 121 mounts the mount target “/ dev / sd1” on the mount point “/ mnt / sd1”.
[0117]
Proceeding to step S73 following step S72, when the program activation unit 52 is notified by the SD card status monitor driver 123 that the SD card 126 has been mounted, it reads and analyzes the setting file from the mounted SD card 126. . For example, the program starting unit 52 reads a setting file as shown in FIG. FIG. 21 shows a configuration diagram of an example of a setting file in which the relative path is specified for the mount point.
[0118]
Progressing to step S74 following step S73, the program starting unit 52 sets the mount point as the environment variable ROOT according to the description of the setting file. For example, in the case of the setting file shown in FIG. 21, the program starting unit 52 sets the directory “/ printer” designated by the setenv command to the environment variable ROOT.
[0119]
Proceeding to step S75 following step S74, the program starting unit 52 newly creates a directory set in the environment variable ROOT. For example, in the case of the setting file shown in FIG. 21, the program starting unit 52 newly creates a directory “/ printer” set in the environment variable ROOT.
[0120]
Proceeding to step S76 following step S75, the program activation unit 52 determines whether or not the mount point has a relative path specified based on the analysis result of the setting file performed at step S73. If it is determined that the mount point is designated as a relative path (YES in S76), program starting unit 52 proceeds to step S77. For example, in the case of the master setting file shown in FIG. 21, the program activation unit 52 determines that the relative path designation “font1” is specified as the path designation of the mount point to mount the mount target “gzromfs”.
[0121]
On the other hand, if it is determined that the relative path is not designated for the mount point (NO in S76), the program activation unit 52 proceeds to step S78. For example, if the path designation of the mount point is “/ printer / font1”, the program starting unit 52 determines that the absolute path is designated.
[0122]
In step S77, the program starting unit 52 acquires the absolute path specification of the mount point by adding the directory of the environment variable ROOT set in step S74 to the relative path specification of the mount point. For example, in the case of the setting file of FIG. 21, the program activation unit 52 acquires the absolute path designation “/ printer / font1” of the mount point, and proceeds to step S78.
[0123]
In step S78, the program activation unit 52 performs mounting according to the absolute path designation of the setting file and the mount point. For example, in the case of the setting file shown in FIG. 21, the program activation unit 52 mounts the absolute path specification “/mnt/sd1/font1.gz” of the mount target “gzromfs” on the absolute path specification “/ printer / font1” of the mount point. Proceeding to step S79 following step S78, the program activation unit 52 activates the process of the program recorded on the SD card 126.
[0124]
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.
[0125]
In the SD card insertion detection process of FIG. 20, an electronic authentication check may be performed in the same manner as the SD card insertion detection process of FIGS. The electronic authentication check process is the same as that in FIGS.
[0126]
Therefore, in the multi-function apparatus 1, it is possible to specify a relative path for the mount destination for mounting the mount target in the setting file, and it is not necessary to fix the mount point. Further, since the directory is created by the description of the setting file in the multifunction machine 1, the mount point path can be specified regardless of the directory structure on the multifunction machine 1 side.
[0127]
【The invention's effect】
As described above, according to the present invention, there is no need to predetermine a recording medium slot into which the recording medium is inserted, there is no need to fix the mount point, and the mount point is constrained by the directory of the image forming apparatus. There is nothing to do.
[0128]
[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 path designation 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 is a configuration diagram of another example of a master setting file.
FIG. 12 is a configuration diagram of an example of a setting file in which a relative path is specified for a mount target.
FIG. 13 is a flowchart (1/2) of an example of an SD card insertion detection process having an electronic authentication check function.
FIG. 14 is a flowchart (2/2) of an example of an SD card insertion detection process having an electronic authentication check function.
FIG. 15 is a flowchart illustrating an example of a setting file authentication check process;
FIG. 16 is an image diagram of an example of a target file recorded on an SD card.
FIG. 17 is an image diagram of an example of a setting file.
FIG. 18 is a flowchart illustrating an example of authentication check processing for a mount target module;
FIG. 19 is a flowchart of an example of SD card removal detection processing;
FIG. 20 is a flowchart of another example of the SD card insertion detection process.
FIG. 21 is a configuration diagram of an example of a setting file in which a relative path is specified for a mount point.
[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 (14)

画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置であって、
前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする記録媒体起動手段と、
前記第1マウントポイントを保存し、マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているマウント対象が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと前記第1マウントポイントとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象のマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得し、前記マウント対象の絶対パスを前記第2マウントポイントにマウントしたあと、前記記録媒体内のプログラムを起動するプログラム起動手段と
を有することを特徴とする画像形成装置。
An image forming apparatus having image processing hardware, a program for performing processing related to image formation using the image processing hardware, and a slot into which a recording medium can be inserted and removed,
Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus Recording medium starting means for mounting the file system of the recording medium on the first mount point with a first mount point represented by an absolute path
The first mount point is saved, a setting file is read from the mounted file system of the recording medium, and the mount target recorded in the setting file is represented by a relative path that specifies a directory in the recording medium. The absolute path of the mount target from the file system in the image forming apparatus by combining the relative path and the first mount point, and the mount target recorded in the setting file After acquiring the second mount point representing the mount destination of the image by an absolute path designating the directory in the image forming apparatus and mounting the absolute path to be mounted on the second mount point, the program in the recording medium is obtained. And a program starting means for starting An image forming apparatus.
前記プログラム起動手段は、前記スロットへの記録媒体の挿入が通知されると、前記記録媒体起動手段を起動することを特徴とする請求項1記載の画像形成装置。  The image forming apparatus according to claim 1, wherein the program activation unit activates the recording medium activation unit when notified of insertion of the recording medium into the slot. 前記プログラム起動手段は、前記記録媒体に記録されている設定情報の認証チェックを行い、その認証チェックの結果が正常であるときに設定情報を前記記録媒体から読み出すことを特徴とする請求項1記載の画像形成装置。  2. The program starting unit performs an authentication check of setting information recorded on the recording medium, and reads the setting information from the recording medium when a result of the authentication check is normal. Image forming apparatus. 前記プログラム起動手段は、前記相対パスで表されたマウント対象の認証チェックを行い、その認証チェックの結果が正常であるときに前記マウント対象をマウントすることを特徴とする請求項1記載の画像形成装置。  The image forming apparatus according to claim 1, wherein the program starting unit performs an authentication check of the mount target represented by the relative path, and mounts the mount target when a result of the authentication check is normal. apparatus. 前記プログラム起動手段は、前記スロットに挿入された記録媒体内のプログラムの起動が終了すると、画像形成装置上で起動されているプログラムに前記記録媒体内のプログラムの起動が終了した旨を通知することを特徴とする請求項1記載の画像形成装置。  The program activation means notifies the program activated on the image forming apparatus that the activation of the program in the recording medium is completed when the activation of the program in the recording medium inserted in the slot is completed. The image forming apparatus according to claim 1. 前記記録媒体の活線挿抜が可能であることを特徴とする請求項1乃至5何れか一項記載の画像形成装置。  The image forming apparatus according to claim 1, wherein the recording medium can be hot-plugged. 画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置であって、
前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする記録媒体起動手段と、
マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているディレクトリを作成し、その設定ファイルに記録されているマウント対象のマウント先が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと、作成した前記ディレクトリとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象のマウント先の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得し、前記マウント対象の絶対パスを前記第2マウントポイントにマウントしたあと、前記記録媒体内のプログラムを起動するプログラム起動手段と
を有することを特徴とする画像形成装置。
An image forming apparatus having image processing hardware, a program for performing processing related to image formation using the image processing hardware, and a slot into which a recording medium can be inserted and removed,
Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus Recording medium starting means for mounting the file system of the recording medium on the first mount point with a first mount point represented by an absolute path
Read the setting file from the file system of the mounted recording medium, create the directory recorded in the setting file, and specify the directory in the recording medium as the mount target to be mounted recorded in the setting file. The relative path and the created directory are combined to obtain the absolute path of the mount target of the mount target from the file system in the image forming apparatus, and After obtaining the second mount point representing the mount target recorded in the setting file by an absolute path designating a directory in the image forming apparatus, and mounting the absolute path of the mount target on the second mount point , A program that starts a program in the recording medium An image forming apparatus, comprising a ram starting means.
前記プログラム起動手段は、前記スロットへの記録媒体の挿入が通知されると、前記記録媒体起動手段を起動することを特徴とする請求項7記載の画像形成装置。  The image forming apparatus according to claim 7, wherein the program activation unit activates the recording medium activation unit when notified of insertion of the recording medium into the slot. 前記プログラム起動手段は、前記記録媒体に記録されている設定情報の認証チェックを行い、その認証チェックの結果が正常であるときに設定情報を前記記録媒体から読み出すことを特徴とする請求項7記載の画像形成装置。  The said program starting means performs the authentication check of the setting information currently recorded on the said recording medium, and when the result of the authentication check is normal, setting information is read from the said recording medium. Image forming apparatus. 前記プログラム起動手段は、前記絶対パスで表されたマウント対象の認証チェックを行い、その認証チェックの結果が正常であるときに前記マウント対象をマウントすることを特徴とする請求項7記載の画像形成装置。  8. The image forming apparatus according to claim 7, wherein the program starting unit performs an authentication check of the mount target represented by the absolute path, and mounts the mount target when a result of the authentication check is normal. apparatus. 前記プログラム起動手段は、前記スロットに挿入された記録媒体内のプログラムの起動が終了すると、画像形成装置上で起動されているプログラムに前記記録媒体内のプログラムの起動が終了した旨を通知することを特徴とする請求項7記載の画像形成装置。  The program activation means notifies the program activated on the image forming apparatus that the activation of the program in the recording medium is completed when the activation of the program in the recording medium inserted in the slot is completed. The image forming apparatus according to claim 7. 前記記録媒体の活線挿抜が可能であることを特徴とする請求項7乃至11何れか一項記載の画像形成装置。  The image forming apparatus according to claim 7, wherein the recording medium can be hot-swapped. 画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置のパス指定方法であって、
前記画像処理装置が、
前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする第1マウント段階と、
前記第1マウントポイントを保存するマウントポイント保存段階と、
マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているマウント対象が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと前記第1マウントポイントとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象のマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得する絶対パス取得段階と、
前記マウント対象の絶対パスを前記第2マウントポイントにマウントする第2マウント段階と、
前記記録媒体内のプログラムを起動するプログラム起動段階と
を有することを特徴とするパス指定方法。
A path designation method for an image forming apparatus, comprising: image processing hardware; a program for performing processing relating to image formation using the image processing hardware; and a slot into which a recording medium can be inserted and removed.
The image processing apparatus is
Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus A first mount stage for mounting the file system of the recording medium on the first mount point with a first mount point represented by an absolute path
A mount point storage step for storing the first mount point;
When a setting file is read from the mounted file system of the recording medium, and the mount target recorded in the setting file is represented by a relative path that specifies a directory in the recording medium, the relative path and the In combination with the first mount point, the absolute path of the mount target from the file system in the image forming apparatus is acquired, and the mount destination of the mount target recorded in the setting file is set as the image forming apparatus. An absolute path acquisition stage for acquiring a second mount point represented by an absolute path specifying a directory in
A second mount step of mounting the absolute path to be mounted on the second mount point;
A path specifying method comprising: a program starting stage for starting a program in the recording medium.
画像処理ハードウェアと、前記画像処理ハードウェアを用いて画像形成に係る処理を行うためのプログラムと、記録媒体を挿抜可能なスロットとを有する画像形成装置のパス指定方法であって、
前記画像処理装置が、
前記画像形成装置に格納されたマスタ設定ファイルに記録されている、前記スロットに挿入される記録媒体のファイルシステムと、前記記録媒体のファイルシステムのマウント先を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第1マウントポイントとにより、前記記録媒体のファイルシステムを第1マウントポイントにマウントする第1マウント段階と、
マウントした前記記録媒体のファイルシステムから設定ファイルを読み出し、その設定ファイルに記録されているディレクトリを作成し、その設定ファイルに記録されているマウント対象のマウント先が、前記記録媒体内のディレクトリを指定する相対パスにより表されているときに、前記相対パスと、作成した前記ディレクトリとを組み合わせて、前記画像形成装置内のファイルシステムからの前記マウント対象のマウント先の絶対パスを取得すると共に、前記設定ファイルに記録されている前記マウント対象を、前記画像形成装置内のディレクトリを指定する絶対パスにより表す第2マウントポイントを取得する絶対マウントポイント取得段階と、
前記マウント対象の絶対パスを前記第2マウントポイントにマウントする第2マウント段階と、
前記記録媒体内のプログラムを起動するプログラム起動段階と
を有することを特徴とするパス指定方法。
A path designation method for an image forming apparatus, comprising: image processing hardware; a program for performing processing relating to image formation using the image processing hardware; and a slot into which a recording medium can be inserted and removed.
The image processing apparatus is
Specify the file system of the recording medium to be inserted into the slot and the mount destination of the file system of the recording medium recorded in the master setting file stored in the image forming apparatus, and specify the directory in the image forming apparatus A first mount stage for mounting the file system of the recording medium on the first mount point with a first mount point represented by an absolute path
Read the setting file from the file system of the mounted recording medium, create the directory recorded in the setting file, and specify the directory in the recording medium as the mount target to be mounted recorded in the setting file. The relative path and the created directory are combined to obtain the absolute path of the mount target of the mount target from the file system in the image forming apparatus, and An absolute mount point acquisition step of acquiring a second mount point representing the mount target recorded in a setting file by an absolute path designating a directory in the image forming apparatus;
A second mount step of mounting the absolute path to be mounted on the second mount point;
A path specifying method comprising: a program starting stage for starting a program in the recording medium.
JP2003127173A 2002-05-08 2003-05-02 Image forming apparatus and path designation method Expired - Fee Related JP4276885B2 (en)

Priority Applications (8)

Application Number Priority Date Filing Date Title
JP2003127173A JP4276885B2 (en) 2002-05-08 2003-05-02 Image forming apparatus and path designation method
US10/429,865 US20030231343A1 (en) 2002-05-08 2003-05-06 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
EP03021656A EP1387264A3 (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
EP03010296A EP1369780A1 (en) 2002-05-08 2003-05-07 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
US11/836,198 US7593121B2 (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
JP2003127173A JP4276885B2 (en) 2002-05-08 2003-05-02 Image forming apparatus and path designation method

Publications (2)

Publication Number Publication Date
JP2004046803A JP2004046803A (en) 2004-02-12
JP4276885B2 true JP4276885B2 (en) 2009-06-10

Family

ID=31721274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003127173A Expired - Fee Related JP4276885B2 (en) 2002-05-08 2003-05-02 Image forming apparatus and path designation method

Country Status (1)

Country Link
JP (1) JP4276885B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5025101B2 (en) * 2005-06-28 2012-09-12 株式会社リコー Image forming apparatus, program, recording medium, control method for image forming apparatus, image forming system, and operation method for image forming system
JP4932324B2 (en) 2006-05-18 2012-05-16 株式会社リコー Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method
JP5095325B2 (en) * 2007-09-14 2012-12-12 株式会社リコー Image processing apparatus and image processing method
JP5042377B2 (en) * 2011-05-23 2012-10-03 株式会社リコー Operation request receiving apparatus, program, operation method of operation request receiving apparatus, and communication system

Also Published As

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

Similar Documents

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

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050822

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

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081125

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090113

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120313

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130313

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140313

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees