JP2004299389A - Image formation device, program updating method, and storage medium for updating - Google Patents

Image formation device, program updating method, and storage medium for updating Download PDF

Info

Publication number
JP2004299389A
JP2004299389A JP2004057678A JP2004057678A JP2004299389A JP 2004299389 A JP2004299389 A JP 2004299389A JP 2004057678 A JP2004057678 A JP 2004057678A JP 2004057678 A JP2004057678 A JP 2004057678A JP 2004299389 A JP2004299389 A JP 2004299389A
Authority
JP
Japan
Prior art keywords
program
storage medium
updating
electronic signature
update
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.)
Granted
Application number
JP2004057678A
Other languages
Japanese (ja)
Other versions
JP4409992B2 (en
Inventor
Hisanori Kawaura
久典 川浦
Nobuto Inami
暢人 井波
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 JP2004057678A priority Critical patent/JP4409992B2/en
Priority to US10/801,684 priority patent/US7644288B2/en
Publication of JP2004299389A publication Critical patent/JP2004299389A/en
Application granted granted Critical
Publication of JP4409992B2 publication Critical patent/JP4409992B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an image formation device which can improve the reliability of a new program when updating a program which functions an image formation device to the new program, a program updating method, and a storage medium for updating. <P>SOLUTION: The image formation device is composed of the following: a storage medium where a program to function the image formation device is stored; and a recording medium set-up method for updating which sets up the storage medium for updating where a program to update the above-mentioned program which is stored in the above-mentioned recording medium. With a condition that the electronic signature related to the above-mentioned program obtained from the above-mentioned storage medium for updating is rightful, the above-mentioned program stored in the above-mentioned storage medium is updated to the above-mentioned program obtained from the above-mentioned storage medium for updating. A program updating method for this update is also included. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、コピー、プリンタ、スキャナ、ファクシミリ、複合機、融合機等の画像形成装置、プログラム更新方法、及び更新用記憶媒体に関する。   The present invention relates to an image forming apparatus such as a copier, a printer, a scanner, a facsimile, a multifunction peripheral, a multifunction peripheral, a program updating method, and a storage medium for updating.

近年、1台の機器でコピーとプリンタとスキャナとファクシミリとしての機能を実現した「複合機」や「融合機」が市販されるようになった。これらの複合機や融合機は、撮像部と印刷部と通信部等のハードウェアを備えると共に、コピーとプリンタとスキャナとファクシミリに対応する4種類のソフトウェアを備え、これらのソフトウェアが切り替わることにより、コピーやプリンタやスキャナやファクシミリとして機能する。コピーやプリンタとして機能する場合、画像を印刷用紙等に印刷することになり、スキャナやファクシミリとして機能する場合、画像をネットワーク等を介して他の機器に送信することになる。   2. Description of the Related Art In recent years, “multifunction machines” and “multifunction machines” that realize functions of copying, a printer, a scanner, and a facsimile with one device have become commercially available. These multifunction devices and multifunction devices are equipped with hardware such as an imaging unit, a printing unit, and a communication unit, and are provided with four types of software corresponding to a copy, a printer, a scanner, and a facsimile. Functions as a copy, printer, scanner, or facsimile. When functioning as a copy or a printer, an image is printed on printing paper or the like, and when functioning as a scanner or facsimile, the image is transmitted to another device via a network or the like.

複合機や融合機を機能させるためには、アプリケーションやプラットフォーム等の様々なプログラム(ファームウェアその他のソフトウェア)が必要となる。複合機や融合機を機能させるプログラムを新たなプログラムに更新する場合、その新たなプログラムの信頼性が問題となる。例えば、複合機や融合機を機能させるプログラムを新たなプログラムに更新するため、その新たなプログラムを汎用のメモリカードやネットワークを介して授受する場合、その新たなプログラムが途中で改変(改竄や文字化け等)される可能性があるからである。   Various programs (firmware and other software) such as applications and platforms are required to make the multifunction device or the multifunction device function. When a program for operating a multifunction peripheral or a multifunction peripheral is updated with a new program, the reliability of the new program becomes a problem. For example, if a new program is updated via a general-purpose memory card or network in order to update a program that causes a multifunction device or a multifunction device to function, the new program will be altered (falsification or text This is because there is a possibility of being garbled.

したがって、本発明は、画像形成装置を機能させるプログラムを新たなプログラムに更新する場合に関して、その新たなプログラムの信頼性を向上させることを課題とする。   Accordingly, an object of the present invention is to improve the reliability of a new program when updating a program that causes the image forming apparatus to function with a new program.

請求項1に記載の発明(画像形成装置)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置であって、前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新手段を備える。   The invention (image forming apparatus) according to claim 1 is a storage medium storing a program for causing the image forming apparatus to function, and an update storing a program for updating the program stored in the storage medium. An update storage medium setting means for setting a storage medium for use in the storage medium, provided that the electronic signature of the program obtained from the update storage medium is valid. There is provided a program updating means for updating the stored program to the program obtained from the update storage medium.

請求項2に記載の発明(画像形成装置)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置であって、前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新手段を備える。   According to a second aspect of the invention (an image forming apparatus), a storage medium setting means for setting a storage medium storing a program for causing the image forming apparatus to function, and updating the program stored in the storage medium And an update storage medium setting means for setting an update storage medium storing a program for performing the operation, the electronic signature of the electronic signature of the program acquired from the update storage medium. Program updating means for updating the program stored in the storage medium to the program acquired from the update storage medium, provided that the program is stored on the storage medium.

請求項3に記載の発明(画像形成装置)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置であって、前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新手段を備える。   The invention (image forming apparatus) according to claim 3, wherein a storage medium storing a program that causes the image forming apparatus to function, and a receiving unit that receives a program for updating the program stored in the storage medium An image forming apparatus comprising: a storage unit configured to store the program stored in the storage medium on condition that an electronic signature of the program received by the receiving unit is valid. Program updating means for updating the program.

請求項4に記載の発明(画像形成装置)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置であって、前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新手段を備える。   The invention (image forming apparatus) according to claim 4 is a storage medium setting means for setting a storage medium storing a program for causing the image forming apparatus to function, and updating the program stored in the storage medium. Receiving means for receiving a program for performing the program stored in the storage medium, on condition that the electronic signature of the program received by the receiving means is valid, A program update unit that updates the program received by the reception unit.

請求項5に記載の発明(画像形成装置)は、請求項1又は2に記載の発明(画像形成装置)に関して、前記プログラム更新手段は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記更新用記憶媒体から取得される前記プログラムと、そのプログラムに係る電子署名とに更新する。   The invention (image forming apparatus) according to a fifth aspect is the invention according to the first aspect (the image forming apparatus), wherein the program updating means includes the program stored in the storage medium and the program The electronic signature is updated to the program acquired from the update storage medium and the electronic signature related to the program.

請求項6に記載の発明(画像形成装置)は、請求項3又は4に記載の発明(画像形成装置)に関して、前記プログラム更新手段は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記受信手段により受信された前記プログラムと、そのプログラムに係る電子署名とに更新する。   The invention (image forming apparatus) according to a sixth aspect is the invention according to the third aspect (image forming apparatus), wherein the program updating unit includes the program stored in the storage medium and the program stored in the storage medium. The electronic signature is updated to the program received by the receiving unit and the electronic signature related to the program.

請求項7に記載の発明(画像形成装置)は、請求項1又は2に記載の発明(画像形成装置)に関して、前記プログラム更新手段は、前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を、当該プログラムから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断する。   According to a seventh aspect of the present invention, in the image forming apparatus according to the first or second aspect, the program updating unit may be configured to control an electronic device according to the program acquired from the storage medium for updating. The validity of the signature is determined by comparing the message digest created from the program with the message digest obtained by decrypting the electronic signature.

請求項8に記載の発明(画像形成装置)は、請求項3又は4に記載の発明(画像形成装置)に関して、前記プログラム更新手段は、前記受信手段により受信された前記プログラムに係る電子署名の正当性を、当該プログラムから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断する。   An invention (image forming apparatus) according to an eighth aspect is the invention according to the third or fourth aspect (image forming apparatus), wherein the program updating unit is configured to execute an electronic signature of the program received by the receiving unit. The validity is determined by comparing the message digest created from the program with the message digest obtained by decrypting the electronic signature.

請求項9に記載の発明(画像形成装置)は、請求項1乃至8のいずれか1項に記載の発明(画像形成装置)に関して、前記記憶媒体に記憶された前記プログラムを、当該プログラムに係る電子署名の正当性と、当該プログラムに係る設定ファイルの電子署名の正当性とを条件に、当該記憶媒体に記憶された当該設定ファイルに従って起動するプログラム起動手段を備える。   An invention (image forming apparatus) according to a ninth aspect relates to the invention (image forming apparatus) according to any one of the first to eighth aspects, wherein the program stored in the storage medium is related to the program. On the condition that the validity of the electronic signature and the validity of the electronic signature of the setting file relating to the program are provided, a program starting means is provided for starting according to the setting file stored in the storage medium.

請求項10に記載の発明(画像形成装置)は、請求項9に記載の発明(画像形成装置)に関して、前記プログラム起動手段は、前記記憶媒体に記憶された前記プログラムに係る電子署名の正当性を、当該プログラムから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断する。   According to a tenth aspect of the present invention, in the image forming apparatus according to the ninth aspect, the program activating unit determines whether the electronic signature of the program stored in the storage medium is valid. Is determined by comparing the message digest created from the program with the message digest obtained by decrypting the electronic signature.

請求項11に記載の発明(画像形成装置)は、請求項9に記載の発明(画像形成装置)に関して、前記プログラム起動手段は、前記記憶媒体に記憶された前記設定ファイルの電子署名の正当性を、当該設定ファイルから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断する。   According to an eleventh aspect of the present invention, in the image forming apparatus according to the ninth aspect, the program activating unit may determine whether the electronic signature of the setting file stored in the storage medium is valid. Is determined by comparing the message digest created from the setting file with the message digest obtained by decrypting the electronic signature.

請求項12に記載の発明(画像形成装置)は、請求項11に記載の発明(画像形成装置)に関して、前記記憶媒体に記憶された前記設定ファイルの電子署名は、当該設定ファイルと当該記憶媒体に固有なデータとから作成したメッセージダイジェストを暗号化したものである。   The invention (image forming apparatus) according to the twelfth aspect is the invention according to the invention (image forming apparatus) according to the eleventh aspect, wherein the electronic signature of the setting file stored in the storage medium includes the setting file and the storage medium. The message digest created from the data unique to the message is encrypted.

請求項13に記載の発明(画像形成装置)は、請求項12に記載の発明(画像形成装置)に関して、前記記憶媒体に固有な前記データは、前記記憶媒体のシリアルIDである。   According to a thirteenth aspect of the present invention, in the image forming apparatus according to the twelfth aspect, the data unique to the storage medium is a serial ID of the storage medium.

請求項14に記載の発明(プログラム更新方法)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置についてのプログラム更新方法であって、前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新段階を備える。   The invention (program updating method) according to claim 14 is a storage medium storing a program for causing the image forming apparatus to function, and an update storing a program for updating the program stored in the storage medium. Updating method for an image forming apparatus comprising: an update storage medium setting unit for setting an update storage medium, provided that a validity of an electronic signature of the program acquired from the update storage medium is a condition. And updating the program stored in the storage medium to the program obtained from the update storage medium.

請求項15に記載の発明(プログラム更新方法)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置についてのプログラム更新方法であって、前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新段階を備える。   The invention (program updating method) according to claim 15 is a storage medium setting means for setting a storage medium storing a program for causing the image forming apparatus to function, and updating the program stored in the storage medium. And an update storage medium setting means for setting an update storage medium storing a program for storing the program. A program update step of updating the program stored in the storage medium to the program obtained from the update storage medium on condition that the electronic signature is valid.

請求項16に記載の発明(プログラム更新方法)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置についてのプログラム更新方法であって、前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新段階を備える。   An invention (program updating method) according to claim 16, wherein a storage medium storing a program for causing the image forming apparatus to function, and a receiving unit receiving a program for updating the program stored in the storage medium A program update method for an image forming apparatus, comprising: receiving the program stored in the storage medium on the condition that the electronic signature of the program received by the receiving unit is valid. A program updating step of updating the received program.

請求項17に記載の発明(プログラム更新方法)は、当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置についてのプログラム更新方法であって、前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新段階を備える。   The invention (program updating method) according to claim 17 is a storage medium setting means for setting a storage medium storing a program for causing the image forming apparatus to function, and updating the program stored in the storage medium. And a receiving unit for receiving a program for receiving the program, the program updating method for an image forming apparatus, comprising: a storage unit that stores the electronic signature of the program received by the receiving unit on a condition that the electronic signature is valid. And updating the program to the program received by the receiving means.

請求項18に記載の発明(プログラム更新方法)は、請求項14又は15に記載の発明(プログラム更新方法)に関して、前記プログラム更新段階は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記更新用記憶媒体から取得される前記プログラムと、そのプログラムに係る電子署名とに更新する。   An invention (program updating method) according to claim 18 is the invention according to claim 14 or 15 (program updating method), wherein the program updating step includes executing the program stored in the storage medium, The electronic signature is updated to the program acquired from the update storage medium and the electronic signature related to the program.

請求項19に記載の発明(プログラム更新方法)は、請求項16又は17に記載の発明(プログラム更新方法)に関して、前記プログラム更新段階は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記受信手段により受信された前記プログラムと、そのプログラムに係る電子署名とに更新する。   An invention (program updating method) according to claim 19 is the invention according to claim 16 or 17 (program updating method), wherein the program updating step includes the step of storing the program stored in the storage medium and the program The electronic signature is updated to the program received by the receiving unit and the electronic signature related to the program.

請求項20に記載の発明(プログラム更新方法)は、請求項14乃至19のいずれか1項に記載の発明(プログラム更新方法)に関して、前記記憶媒体に記憶された前記プログラムを、当該プログラムに係る電子署名の正当性と、当該プログラムに係る設定ファイルの電子署名の正当性とを条件に、当該記憶媒体に記憶された当該設定ファイルに従って起動するプログラム起動段階を備える。   The invention (program updating method) according to claim 20 relates to the invention (program updating method) according to any one of claims 14 to 19, wherein the program stored in the storage medium is related to the program. Provided is a program starting step for starting in accordance with the setting file stored in the storage medium, on condition that the validity of the electronic signature and the validity of the electronic signature of the setting file relating to the program.

請求項21に記載の発明(更新用記憶媒体)は、請求項1又は2に記載の更新用記憶媒体であって、請求項1又は2に記載の記憶媒体に記憶された前記プログラムを更新するためのプログラムと、そのプログラムに係る電子署名とが記憶された更新用記憶媒体である。   The invention according to claim 21 (update storage medium) is the update storage medium according to claim 1 or 2, wherein the program stored in the storage medium according to claim 1 or 2 is updated. And an update storage medium storing a program for executing the program and an electronic signature related to the program.

請求項1又は2に記載の発明(画像形成装置)は、画像形成装置を機能させるプログラムを新たなプログラムに更新するため、その新たなプログラムを更新用記憶媒体を介して授受する場合に関して、その新たなプログラムの信頼性を向上させることを可能とする。
請求項3又は4に記載の発明(画像形成装置)は、画像形成装置を機能させるプログラムを新たなプログラムに更新するため、その新たなプログラムを通信により授受する場合に関して、その新たなプログラムの信頼性を向上させることを可能とする。
請求項14又は15に記載の発明(プログラム更新方法)は、画像形成装置を機能させるプログラムを新たなプログラムに更新するため、その新たなプログラムを更新用記憶媒体を介して授受する場合に関して、その新たなプログラムの信頼性を向上させることを可能とする。
請求項16又は17に記載の発明(プログラム更新方法)は、画像形成装置を機能させるプログラムを新たなプログラムに更新するため、その新たなプログラムを通信により授受する場合に関して、その新たなプログラムの信頼性を向上させることを可能とする。
請求項21に記載の発明(更新用記憶媒体)は、画像形成装置を機能させるプログラムを新たなプログラムに更新するため、その新たなプログラムを更新用記憶媒体を介して授受する場合に関して、その新たなプログラムの信頼性を向上させることを可能とする。
The invention (image forming apparatus) according to claim 1 or 2 updates a program that causes the image forming apparatus to function with a new program, so that the new program is transmitted and received via an update storage medium. It is possible to improve the reliability of a new program.
The invention (image forming apparatus) according to claim 3 or 4 updates a program that causes the image forming apparatus to function with a new program. Therefore, when the new program is transmitted and received by communication, the reliability of the new program is improved. It is possible to improve the performance.
The invention (program updating method) according to claim 14 or 15 updates the program that causes the image forming apparatus to function with a new program, so that the new program is transmitted and received via an update storage medium. It is possible to improve the reliability of a new program.
The invention (program updating method) according to claim 16 or 17 updates the program that causes the image forming apparatus to function with a new program, so that when the new program is transmitted and received by communication, the new program is trusted. It is possible to improve the performance.
According to a twenty-first aspect of the present invention, an updating storage medium is used for updating a program that causes an image forming apparatus to function with a new program. It is possible to improve the reliability of simple programs.

このように、本発明は、画像形成装置を機能させるプログラムを新たなプログラムに更新する場合に関して、その新たなプログラムの信頼性を向上させることを可能とする。   As described above, the present invention makes it possible to improve the reliability of a new program when updating a program that causes the image forming apparatus to function with a new program.

本発明の実施の形態について説明する。   An embodiment of the present invention will be described.

図1は、本発明の実施の形態の例である融合機101を表す。図1の融合機101は、種々のハードウェア111と、種々のソフトウェア112と、融合機起動部113により構成される。これらにより、図1の融合機101は、コピーやプリンタやスキャナやファクシミリとして機能する。   FIG. 1 shows a multifunction peripheral 101 according to an embodiment of the present invention. The multifunction peripheral 101 in FIG. 1 includes various hardware 111, various software 112, and a multifunction peripheral starting unit 113. Thus, the MFP 101 of FIG. 1 functions as a copier, printer, scanner, or facsimile.

ハードウェア111としては、撮像部121と、印刷部122と、その他のハードウェア123が存在する。   The hardware 111 includes an imaging unit 121, a printing unit 122, and other hardware 123.

撮像部121は、原稿から画像(画像データ)を取得するためのハードウェアであり、コピーやスキャナやファクシミリとして機能する際に使用される。撮像部121は、白黒画像用の物でもカラー画像用の物でもよい。撮影部121は、原稿に関する機構として、原稿セット部等を備える。   The imaging unit 121 is hardware for obtaining an image (image data) from a document, and is used when functioning as a copy, a scanner, or a facsimile. The imaging unit 121 may be a monochrome image or a color image. The photographing unit 121 includes a document setting unit and the like as a mechanism relating to a document.

印刷部122は、画像(画像データ)を印刷用紙等に印刷するためのハードウェアであり、コピーやプリンタやファクシミリとして機能する際に使用される。印刷部122は、白黒画像用の物でもカラー画像用の物でもよい。印刷部122は、ここでは電子写真方式を採用しており、感光体、帯電機、露光機、現像機、転写機、定着機等を備える。印刷部122は、印刷用紙等に関する機構として、給紙部、排紙部、印刷用紙搬送機構等を備える。   The printing unit 122 is hardware for printing an image (image data) on printing paper or the like, and is used when functioning as a copy, a printer, or a facsimile. The printing unit 122 may be for monochrome images or color images. The printing unit 122 employs an electrophotographic method here, and includes a photoconductor, a charging device, an exposure device, a developing device, a transfer device, a fixing device, and the like. The print unit 122 includes a paper feed unit, a paper discharge unit, a print paper transport mechanism, and the like as mechanisms related to print paper and the like.

その他のハードウェア123に関しては、図2において説明する。   The other hardware 123 will be described with reference to FIG.

ソフトウェア112としては、種々のアプリケーション131と、プラットフォーム132が存在する。これらは、UNIX(登録商標)等のOS(オペレーティングシステム)によりプロセス単位で並列的に実行される。   As the software 112, there are various applications 131 and a platform 132. These are executed in parallel in process units by an OS (operating system) such as UNIX (registered trademark).

アプリケーション131は、コピーやプリンタやスキャナやファクシミリ等の各機能に固有の情報処理を実行するためのソフトウェアである。アプリケーション131としては、コピー用のアプリケーションであるコピーアプリ141と、プリンタ用のアプリケーションであるプリンタアプリ142と、スキャナ用のアプリケーションであるスキャナアプリ143と、ファクシミリ用のアプリケーションであるファクシミリアプリ144と、ネットワークファイル用のアプリケーションであるネットワークファイルアプリ145が存在する。ネットワークファイルアプリ145は、HTML文書等を配信するためのWebサーバソフト、HTML文書等を閲覧するためのWebブラウザ等により構成される。   The application 131 is software for executing information processing unique to each function such as copying, a printer, a scanner, and a facsimile. The applications 131 include a copy application 141 that is a copy application, a printer application 142 that is a printer application, a scanner application 143 that is a scanner application, a facsimile application 144 that is a facsimile application, and a network. There is a network file application 145 that is a file application. The network file application 145 includes Web server software for delivering HTML documents and the like, a Web browser for browsing HTML documents and the like, and the like.

プラットフォーム132は、アプリケーション131からハードウェア111への処理要求に関する情報処理を実行するためのソフトウェアである。アプリケーション131からの処理要求の受信には、予め定義されている関数により処理要求を受信するアプリケーションインタフェース(API)133を利用して、ハードウェア111への処理要求の送信には、予め定義されている関数により処理要求を送信するエンジンインタフェース(ENI)134を利用する。プラットフォーム132は、種々のコントロールサービス151と、システムリソースマネージャ152と、種々のハンドラ153により構成される。   The platform 132 is software for executing information processing regarding a processing request from the application 131 to the hardware 111. The processing request from the application 131 is received by using an application interface (API) 133 that receives the processing request by a predefined function. The transmission of the processing request to the hardware 111 is performed by using a predefined function. An engine interface (ENI) 134 for transmitting a processing request by using a function is used. The platform 132 includes various control services 151, a system resource manager 152, and various handlers 153.

コントロールサービス151は、アプリケーション131からハードウェア111への処理要求を解釈して、解釈結果に応じてハードウェア111の獲得要求を発生する。コントロールサービス151としては、ネットワークコントロールサービス(NCS)161と、ファクシミリコントロールサービス(FCS)162と、デリバリコントロールサービス(DCS)163と、エンジンコントロールサービス(ECS)164と、メモリコントロールサービス(MCS)165と、オペレーションパネルコントロールサービス(OCS)166と、ユーザディレクトリコントロールサービス(UCS)167と、システムコントロールサービス(SCS)168と、オンデマンドアップデートサービス(OUS)169が存在する。   The control service 151 interprets a processing request from the application 131 to the hardware 111 and generates a request to acquire the hardware 111 according to the interpretation result. The control services 151 include a network control service (NCS) 161, a facsimile control service (FCS) 162, a delivery control service (DCS) 163, an engine control service (ECS) 164, and a memory control service (MCS) 165. , An operation panel control service (OCS) 166, a user directory control service (UCS) 167, a system control service (SCS) 168, and an on-demand update service (OUS) 169.

NCS161のプロセスは、ネットワーク等を介してデータ通信を行うためのAPIを提供する。FCS162のプロセスは、ファクシミリとして画像データ通信・画像データ取得・画像データ印刷等を行うためのAPIを提供する。DCS163のプロセスは、融合機101に蓄積されている文書データの配信に関する制御を行う。ECS164のプロセスは、撮像部121や印刷部122等のエンジン部に関する制御を行う。MCS165のプロセスは、画像データ記憶・画像データ処理等のメモリやハードディスクドライブに関する制御を行う。OCS166のプロセスは、オペレーションパネルに関する制御を行う。UCS167のプロセスは、ユーザ情報の管理に関する制御を行う。SCS168のプロセスは、システムの管理に関する制御を行う。OUS169のプロセスは、プログラムの更新に関する制御を行う。   The process of the NCS 161 provides an API for performing data communication via a network or the like. The process of the FCS 162 provides an API for performing image data communication, image data acquisition, image data printing, and the like as a facsimile. The process of the DCS 163 controls the distribution of the document data stored in the MFP 101. The process of the ECS 164 controls the engine units such as the imaging unit 121 and the printing unit 122. The process of the MCS 165 controls a memory and a hard disk drive such as image data storage and image data processing. The process of the OCS 166 controls the operation panel. The process of the UCS 167 controls the management of user information. The process of the SCS 168 controls the management of the system. The OUS 169 process controls the update of the program.

システムリソースマネージャ(SRM)152は、ハードウェア111の獲得要求を調停して、調停結果に応じてハードウェア111への処理要求を実現するための制御を行う。具体的に言うと、SRM152のプロセスは、獲得要求に係るハードウェア111が利用可能か否か(他の獲得要求と競合しないか否か)を判定して、利用可能である場合にはその旨をコントロールサービス151に通知する。さらには、獲得要求に係るハードウェア111の利用スケジュールを作成して、作成結果に応じてハードウェア111への処理要求を実現するための制御を行う。   The system resource manager (SRM) 152 arbitrates the acquisition request for the hardware 111 and performs control for realizing the processing request to the hardware 111 according to the arbitration result. Specifically, the process of the SRM 152 determines whether the hardware 111 related to the acquisition request is available (whether there is no conflict with another acquisition request), and if it is available, the fact is determined. To the control service 151. Further, a use schedule of the hardware 111 according to the acquisition request is created, and control for realizing a processing request to the hardware 111 is performed according to the creation result.

ハンドラ153は、上記の調停結果に応じてハードウェア111を管理する。ハンドラ153としては、ファクシミリコントロールユニットハンドラ(FCUH)171と、イメージメモリハンドラ(IMH)172が存在する。FCUH171は、ファクシミリコントロールユニットを管理する。IMH172は、メモリを各プロセスに割り振り、各プロセスが割り振られたメモリを管理する。   The handler 153 manages the hardware 111 according to the arbitration result. As the handler 153, a facsimile control unit handler (FCUH) 171 and an image memory handler (IMH) 172 exist. The FCUH 171 manages the facsimile control unit. The IMH 172 allocates memory to each process and manages the memory allocated to each process.

融合機起動部113は、融合機101の電源投入時に最初に実行される。これにより、UNIX(登録商標)等のOSが起動されて、アプリケーション131とプラットフォーム132が起動される。これらのプログラムは、メモリカード等に蓄積されており、メモリカード等から再生されて、メモリに起動されることになる。   The multifunction peripheral starting unit 113 is executed first when the multifunction peripheral 101 is powered on. As a result, an OS such as UNIX (registered trademark) is started, and the application 131 and the platform 132 are started. These programs are stored in a memory card or the like, reproduced from the memory card or the like, and activated in the memory.

図2は、図1の融合機101のハードウェア111を表す。ハードウェア111としては、コントローラ201と、オペレーションパネル202と、ファクシミリコントロールユニット(FCU)203と、撮像部121と、印刷部122が存在する。図2における撮像部121と印刷部122を除く構成要素が、図1における「その他のハードウェア123」に該当する。   FIG. 2 illustrates the hardware 111 of the MFP 101 of FIG. The hardware 111 includes a controller 201, an operation panel 202, a facsimile control unit (FCU) 203, an imaging unit 121, and a printing unit 122. Components other than the imaging unit 121 and the printing unit 122 in FIG. 2 correspond to the “other hardware 123” in FIG.

コントローラ201は、CPU211と、ASIC212と、NB(ノースブリッジ)221と、SB(サウスブリッジ)222と、MEM−P(システムメモリ)231と、MEM−C(ローカルメモリ)232と、HDD(ハードディスクドライブ)233と、NIC(ネットワークインタフェースコントローラ)241と、USBデバイス242と、IEEE1394デバイス243と、セントロニクスデバイス244と、メモリカード用スロット251と、更新用メモリカード用スロット252により構成される。   The controller 201 includes a CPU 211, an ASIC 212, an NB (north bridge) 221, an SB (south bridge) 222, a MEM-P (system memory) 231, a MEM-C (local memory) 232, and an HDD (hard disk drive). 233, a NIC (Network Interface Controller) 241, a USB device 242, an IEEE 1394 device 243, a Centronics device 244, a memory card slot 251 and an update memory card slot 252.

CPU211は、種々の情報処理を実行するためのハードウェアである。例えば、UNIX(登録商標)等のOSにより、アプリケーション131とプラットフォーム132をプロセス単位で並列的に実行する。ASIC212は、画像データ処理用のICである。NB221は、CPU211とASIC212を接続するためのブリッジである。SB222は、NB221と周辺機器等を接続するためのブリッジである。ASIC212とNB221は、AGP(Accelerated Graphics Port)を介して接続されている。   The CPU 211 is hardware for executing various information processing. For example, the application 131 and the platform 132 are executed in parallel on a process basis by an OS such as UNIX (registered trademark). The ASIC 212 is an image data processing IC. The NB 221 is a bridge for connecting the CPU 211 and the ASIC 212. The SB 222 is a bridge for connecting the NB 221 to peripheral devices and the like. The ASIC 212 and the NB 221 are connected via an AGP (Accelerated Graphics Port).

MEM−P231は、NB221に接続されて使用されるメモリである。MEM−C232は、ASIC212に接続されて使用されるメモリである。HDD233は、ASIC212に接続されて使用されるストレージであり、画像データ蓄積・文書データ蓄積・プログラム蓄積・フォントデータ蓄積・フォームデータ蓄積等を行うために使用される。   The MEM-P 231 is a memory connected to the NB 221 and used. The MEM-C 232 is a memory connected to the ASIC 212 and used. The HDD 233 is a storage connected to the ASIC 212 and used for storing image data, document data, programs, font data, form data, and the like.

NIC241は、ネットワーク等を介してMACアドレス等を使用したデータ通信を行うためのコントローラである。USBデバイス242は、USB規格に準拠したシリアルポートを提供するためのデバイスである。IEEE1394デバイス243は、IEEE1394規格に準拠したシリアルポートを提供するためのデバイスである。セントロニクスデバイス244は、セントロニクス仕様のパラレルポートを提供するためのデバイスである。NIC241と、USBデバイス242と、IEEE1394デバイス243と、セントロニクスデバイス244は、PCIバスによりNB221とSB222に接続されている。   The NIC 241 is a controller for performing data communication using a MAC address or the like via a network or the like. The USB device 242 is a device for providing a serial port conforming to the USB standard. The IEEE 1394 device 243 is a device for providing a serial port compliant with the IEEE 1394 standard. The Centronics device 244 is a device for providing a parallel port of the Centronics specification. The NIC 241, the USB device 242, the IEEE 1394 device 243, and the Centronics device 244 are connected to the NB 221 and the SB 222 by a PCI bus.

メモリカード用スロット251は、SB222に接続されて使用されるスロットであり、メモリカード261をセット(挿入)するためのスロットである。更新用メモリカード用スロット252は、SB222に接続されて使用されるスロットであり、更新用メモリカード262をセット(挿入)するためのスロットである。   The memory card slot 251 is a slot that is used by being connected to the SB 222, and is a slot for setting (inserting) the memory card 261. The update memory card slot 252 is a slot that is used by being connected to the SB 222, and is a slot for setting (inserting) the update memory card 262.

オペレーションパネル202は、オペレータが融合機101に入力を行うためのハードウェア(操作部)であると共に、融合機101がオペレータに出力を行うためのハードウェア(表示部)である。オペレーションパネル202は、ASIC212に接続されている。FCU203と、撮像部121と、印刷部122は、PCIバスによりASIC212に接続されている。   The operation panel 202 is hardware (operation unit) for the operator to input data to the multifunction peripheral 101 and hardware (display unit) for the multifunction peripheral 101 to output data to the operator. The operation panel 202 is connected to the ASIC 212. The FCU 203, the imaging unit 121, and the printing unit 122 are connected to the ASIC 212 via a PCI bus.

図3は、図1の融合機101の外観を表す。図3には、撮像部121の位置、印刷部122の位置、オペレーションパネル202の位置が図示されている。図3にはさらに、原稿をセットするための原稿セット部301、印刷用紙の給紙先となる給紙部302、印刷用紙の排紙先となる排紙部303が図示されている。原稿セット部301は、撮像部121の構成要素であり、給紙部302と排紙部303は、印刷部122の構成要素である。   FIG. 3 shows an appearance of the multifunction peripheral 101 of FIG. FIG. 3 illustrates the position of the imaging unit 121, the position of the printing unit 122, and the position of the operation panel 202. FIG. 3 further shows a document setting unit 301 for setting a document, a paper feeding unit 302 as a paper feeding destination, and a paper discharging unit 303 as a printing paper discharging destination. The document setting unit 301 is a component of the imaging unit 121, and the paper feeding unit 302 and the paper discharging unit 303 are components of the printing unit 122.

オペレーションパネル202は、図4のように、タッチパネル311と、数字ボタン312と、スタートボタン313により構成される。   The operation panel 202 includes a touch panel 311, numeric buttons 312, and a start button 313, as shown in FIG.

タッチパネル311は、オペレータが融合機101にタッチ操作で入力を行うためのハードウェア(タッチ操作部)であると共に、融合機101がオペレータに画面表示で出力を行うためのハードウェア(画面表示部)である。数字ボタン312は、オペレータが融合機101にボタン操作で数字入力を行うためのハードウェアである。スタートボタン313は、オペレータが融合機101にボタン操作でスタート入力を行うためのハードウェアである。   The touch panel 311 is hardware (touch operation unit) for the operator to perform an input to the multifunction peripheral 101 by a touch operation, and hardware (screen display unit) for the multifunction peripheral 101 to output to the operator by screen display. It is. The number buttons 312 are hardware for the operator to input numbers to the multifunction peripheral 101 by button operations. The start button 313 is hardware for an operator to input a start to the multifunction peripheral 101 by button operation.

融合機101は、原稿セット部301に原稿がセットされている場合、スタートボタン313が押されることで、撮像部121によりその原稿から画像を取得する。融合機101は、コピーとして機能する場合、印刷部122によりその画像を印刷用紙等に印刷することになり、スキャナやファクシミリとして機能する場合、NIC241等によりその画像をネットワーク等を介して他の機器に送信することになる。印刷用紙の給紙先は給紙部302であり、印刷用紙の排紙先は排紙部303である。   When a document is set in the document setting unit 301, the MFP 101 obtains an image from the document by the imaging unit 121 by pressing the start button 313. When functioning as a copy, the MFP 101 prints the image on a print sheet or the like by the printing unit 122, and when functioning as a scanner or facsimile, the image is transmitted to another device via a network or the like by the NIC 241 or the like. Will be sent to The paper feed destination of the print paper is the paper feed unit 302, and the paper discharge destination of the print paper is the paper discharge unit 303.

原稿セット部301は、ADF(自動原稿搬送装置)321と、フラットベッド322と、フラットベッドカバー323により構成される。   The document setting unit 301 includes an automatic document feeder (ADF) 321, a flatbed 322, and a flatbed cover 323.

ADF321は、フラットベッドカバー323の上面に設置されている。ADF321には複数枚の原稿を重ねてセットすることができる。融合機101は、ADF321に原稿がセットされている場合、スタートボタン313が押されることで、撮像部121によりその原稿から画像を取得する。具体的に言うと、スタートボタン313が押されると、ADF321が、図3の矢印のような経路で複数枚の原稿を1枚ずつ搬送して、撮像部121が、図3の矢印のような経路で1枚ずつ搬送される原稿から画像を取得する。   The ADF 321 is installed on the upper surface of the flatbed cover 323. A plurality of originals can be set on the ADF 321 in an overlapping manner. When a document is set on the ADF 321, when the start button 313 is pressed, the multifunction peripheral 101 obtains an image from the document by the imaging unit 121. Specifically, when the start button 313 is pressed, the ADF 321 conveys a plurality of documents one by one along a path as shown by an arrow in FIG. An image is acquired from a document conveyed one by one in a path.

フラットベッド322は、フラットベッドカバー323を開くと現れる。フラットベッド322は、ガラスやプラスチックのような透明部材により形成されている。フラットベッド322には原稿を下向きにセットする。融合機101は、フラットベッド322に原稿がセットされている場合、スタートボタン313が押されることで、撮像部121によりその原稿から画像を取得する。具体的に言うと、スタートボタン313が押されると、撮像部121が、フラットベッド322を介して対面する原稿から画像を取得する。   The flatbed 322 appears when the flatbed cover 323 is opened. The flat bed 322 is formed of a transparent member such as glass or plastic. The original is set downward on the flatbed 322. When a document is set on the flatbed 322, the MFP 101 obtains an image from the document by the imaging unit 121 by pressing the start button 313. Specifically, when the start button 313 is pressed, the imaging unit 121 acquires an image from a document facing the user via the flatbed 322.

給紙部302は、印刷用紙の給紙先となる4箇所の給紙トレイと1箇所の手差しトレイにより構成される。排紙部303は、印刷用紙の排紙先となる1箇所の排紙トレイにより構成される。   The paper supply unit 302 includes four paper supply trays serving as print paper supply destinations and one manual feed tray. The paper discharge unit 303 includes one paper discharge tray serving as a paper discharge destination of the printing paper.

(融合機起動部)
図1において登場した融合機起動部113について説明する。
(Fusion machine starter)
A description will be given of the MFP activation unit 113 appearing in FIG.

融合機起動部113は、図5のように、メモリモニタ部501と、プログラム起動部502により構成される。   As shown in FIG. 5, the multifunction peripheral starting unit 113 includes a memory monitoring unit 501 and a program starting unit 502.

図1の融合機101の電源が投入されると、メモリモニタ部501を構成するBIOSとブートローダが起動されて、これにより、UNIX(登録商標)等のOSが起動される。続いて、プログラム起動部502を構成する起動処理用プログラムが起動されて、これにより、アプリケーション131やプラットフォーム132が適宜起動される。なお、UNIX(登録商標)が起動される場合には、UNIX(登録商標)のカーネルが起動されて、ルートファイルシステムが展開されて、アプリケーション131やプラットフォーム132に係るファイルシステムがルートファイルシステムにマウントされることになる。   When the power of the multifunction peripheral 101 in FIG. 1 is turned on, the BIOS and the boot loader constituting the memory monitor unit 501 are activated, and thereby the OS such as UNIX (registered trademark) is activated. Subsequently, a start-up processing program included in the program start-up unit 502 is started, and accordingly, the application 131 and the platform 132 are started appropriately. When UNIX (registered trademark) is started, the kernel of UNIX (registered trademark) is started, the root file system is expanded, and the file system related to the application 131 or the platform 132 is mounted on the root file system. Will be done.

アプリケーション131やプラットフォーム132に係るマウント処理や起動処理の例を挙げておく。プログラム起動部502は、UNIX(登録商標)のルートディレクトリ内のetc内のマスタ設定ファイル「init.conf」を読み込んで、マスタ設定ファイル内に記述されたマウントコマンドに従ってマウントや起動を実行する。プログラム起動部502はさらに、マウントされたファイルシステム内に、1)設定ファイル「init.conf」や「init.cnf」が存在する場合、設定ファイルを読み込んで、設定ファイル内に記述されたマウントコマンドに従ってマウントや起動を実行して、2)設定ディレクトリ「init.d」が存在する場合、設定ディレクトリ内の設定ファイル「***.conf」や「***.cnf」を読み込んで、設定ファイル内に記述されたマウントコマンドに従ってマウントや起動を実行する。なお、設定ファイルの電子署名を書き込んだ認証ファイル「***.lic」を用意しておき、プログラム起動部502が、設定ファイル内に記述されたマウントコマンドに従ってマウントや起動を実行するのに先立ち、その設定ファイルの電子署名チェックを実行するようにしてもよい。   Examples of mount processing and activation processing related to the application 131 and the platform 132 will be described. The program starting unit 502 reads the master setting file “init.conf” in etc in the root directory of UNIX (registered trademark), and executes mounting and starting according to the mount command described in the master setting file. The program launching unit 502 further reads 1) the setting file “init.conf” or “init.cnf” in the mounted file system, and reads the setting file and writes the mount command described in the setting file. 2) If the setting directory “init.d” exists, read the setting file “****. Conf” or “***. Cnf” in the setting directory and execute the setting file. Mount and start according to the mount command described in. An authentication file “***. Lic” in which the digital signature of the setting file is written is prepared, and the program starting unit 502 executes mounting and starting according to the mount command described in the setting file. Alternatively, an electronic signature check of the setting file may be executed.

電子署名チェックについてメモリカード261を具体例にして説明する。   The electronic signature check will be described using the memory card 261 as a specific example.

メモリカード261には、図6の例のように、アプリケーション131やプラットフォーム132等のプログラムを、拡張子をmodとするmodファイル「***.mod」として記憶させておくと共に、modファイルの電子署名を、拡張子をmacとするmacファイル「***.mac」として記憶させておく。   As shown in the example of FIG. 6, programs such as the application 131 and the platform 132 are stored in the memory card 261 as a mod file “**. Mod” having an extension of “mod”, and the electronic file of the mod file is stored. The signature is stored as a mac file “***. Mac” having the extension “mac”.

メモリカード261にはさらに、図6の例のように、設定ファイル(融合機起動部の欄参照)を、拡張子をcnfとするcnfファイル「***.cnf」として記憶させておくと共に、設定ファイルの電子署名を書き込んだ認証ファイル(融合機起動部の欄参照)を、拡張子をlicとするlicファイル「***.lic」として記憶させておく。   As shown in the example of FIG. 6, the memory card 261 further stores a setting file (refer to the column of the multifunction peripheral starter) as a cnf file “***. Cnf” having an extension of cnf. The authentication file in which the digital signature of the setting file is written (see the column of the multifunction peripheral starting unit) is stored as a lic file “***. Lic” having an extension of lic.

各ファイルの電子署名はここでは、MD5やSHA1等のハッシュ関数により各ファイルから作成したメッセージダイジェストを、秘密鍵により暗号化したものである。例えば、modファイルやcnfファイルの電子署名は、modファイルやcnfファイルから作成したメッセージダイジェストを、秘密鍵により暗号化したものである。   Here, the electronic signature of each file is obtained by encrypting a message digest created from each file by a hash function such as MD5 or SHA1 using a secret key. For example, an electronic signature of a mod file or a cnf file is obtained by encrypting a message digest created from a mod file or a cnf file with a secret key.

各ファイルの電子署名チェックはここでは、各ファイルからMD5やSHA1等のハッシュ関数により作成したメッセージダイジェストと、各ファイルの電子署名を公開鍵により復号化したメッセージダイジェストとの照合をもって実行可能である。例えば、modファイルやcnfファイルの電子署名の正当性は、modファイルやcnfファイルから作成したメッセージダイジェストと、macファイルやlicファイルに書き込まれた電子署名を公開鍵により復号化したメッセージダイジェストとの照合をもって判断可能である。各ファイルの電子署名チェックは例えば、プログラム起動部502によるマウント処理や起動処理の一環として、プログラム起動部502が実行するようにする。   Here, the electronic signature check of each file can be executed by comparing a message digest created from each file by a hash function such as MD5 or SHA1 with a message digest obtained by decrypting the electronic signature of each file with a public key. For example, the validity of an electronic signature of a mod file or a cnf file is determined by comparing a message digest created from a mod file or a cnf file with a message digest obtained by decrypting an electronic signature written in a mac file or a lic file with a public key. It can be determined by The electronic signature check of each file is performed by, for example, the program activation unit 502 as part of the mounting process or the activation process by the program activation unit 502.

なお、メモリカード261としてSDメモリカードを採用する場合は、cnfファイルの電子署名は、cnfファイルとSDシリアルIDとから作成したメッセージダイジェストを、秘密鍵により暗号化したものであってもよい。SDメモリカードのSDシリアルIDは各SDメモリカードに固有なIDなので、各SDメモリカードに記憶させておくlicファイルが各SDメモリカードに固有なファイルになり、カードのコピー防止に役立つ。この場合、cnfファイルの電子署名の正当性は、cnfファイルとSDシリアルIDとから作成したメッセージダイジェストと、licファイルに書き込まれた電子署名を公開鍵により復号化したメッセージダイジェストとの照合をもって判断可能である。SDメモリカードのSDシリアルIDは各SDメモリカードに記憶されている。これを前提として、メモリカード261内のファイルを対象とするマウント処理と起動処理について説明する。   When an SD memory card is used as the memory card 261, the electronic signature of the cnf file may be a message digest created from the cnf file and the SD serial ID, which is encrypted with a secret key. Since the SD serial ID of the SD memory card is an ID unique to each SD memory card, the lic file stored in each SD memory card becomes a file unique to each SD memory card, which helps to prevent card copying. In this case, the validity of the electronic signature of the cnf file can be determined by comparing the message digest created from the cnf file and the SD serial ID with the message digest obtained by decrypting the electronic signature written in the lic file with the public key. It is. The SD serial ID of the SD memory card is stored in each SD memory card. Based on this, a description will be given of a mounting process and a starting process for files in the memory card 261.

図7は、メモリカード261内のファイルを対象とするマウント処理と起動処理に係るフローチャートである。   FIG. 7 is a flowchart relating to the mounting process and the starting process for files in the memory card 261.

プログラム起動部502は、メモリカード用スロット251に挿入されたメモリカード261がマウントされる(S31)と、メモリカード261内の各cnfファイルの電子署名チェックを実行(S32)すると共に、メモリカード261内の各modファイルの電子署名チェックを実行(S33)する。プログラム起動部502はそして、modファイル(アプリケーション131やプラットフォーム132等のプログラム)を、当該modファイルに係るcnfファイルの電子署名の正当性と、当該modファイルの電子署名の正当性とを条件に、当該cnfファイル内に記述された当該modファイルに係るマウントコマンドに従ってマウント(S34)して起動(S35)するのである。   When the memory card 261 inserted in the memory card slot 251 is mounted (S31), the program starting unit 502 executes a digital signature check of each cnf file in the memory card 261 (S32), and executes the memory card 261. Then, the electronic signature check of each mod file is executed (S33). The program activation unit 502 then converts the mod file (the program of the application 131 or the platform 132) into a condition that the electronic signature of the cnf file related to the mod file is valid and the validity of the electronic signature of the mod file. According to the mount command for the mod file described in the cnf file, the mount is performed (S34) and activated (S35).

具体的に再説明する。プログラム起動部502は先ず、メモリカード261内にcnfファイルが存在したら、そのcnfファイルの電子署名チェックを実行(S32)する。例えば、メモリカード261内にcopy.cnfが存在したらcopy.cnfの電子署名チェックを実行する、といった具合である。そのcnfファイルの電子署名の正当性を条件にS33に進む。プログラム起動部502は次に、そのcnfファイル内にmodファイルに係るマウントコマンドが存在したら、そのmodファイルの電子署名チェックを実行(S33)する。例えば、copy.cnf内にcopy.modに係るマウントコマンド「mount gzromfs copy.mod /arch/copy」が存在したらcopy.modの電子署名チェックを実行する、といった具合である。そのmodファイルの電子署名の正当性を条件にS34に進む。プログラム起動部502はそして、そのmodファイル(アプリケーション131やプラットフォーム132等のプログラム)を、cnfファイル内に記述されたそのmodファイルに係るマウントコマンドに従ってマウント(S34)して起動(S35)するのである。   This will be described again specifically. First, if a cnf file exists in the memory card 261, the program activation unit 502 executes a digital signature check of the cnf file (S32). For example, copy. If cnf exists, copy. For example, an electronic signature check of cnf is executed. The process proceeds to S33 on the condition that the electronic signature of the cnf file is valid. Next, if the mount command related to the mod file exists in the cnf file, the program starting unit 502 checks the electronic signature of the mod file (S33). For example, copy. copy. If there is a mount command “mount gzromfs copy.mod / arch / copy” related to mod. For example, an electronic signature check of the mod is performed. The process proceeds to S34 on condition that the electronic signature of the mod file is valid. Then, the program starting unit 502 mounts (S34) and starts (S35) the mod file (the program of the application 131 or the platform 132) according to the mount command related to the mod file described in the cnf file. .

このようにして、メモリカード261内のmodファイル(アプリケーション131やプラットフォーム132等のプログラム)が、メモリカード261内のcnfファイル内に記述されたマウントコマンドに従ってマウント(S34)されて起動(S35)されるのである。   In this way, the mod file (the program of the application 131 or the platform 132) in the memory card 261 is mounted (S34) and started (S35) according to the mount command described in the cnf file in the memory card 261. Because

図8は、メモリカード261内のcnfファイルの電子署名チェック(S32)に係るフローチャートである。プログラム起動部502は先ず、メモリカード261(SDメモリカード)から当該メモリカード261のシリアルID(SDシリアルID)を取得(S41)する。プログラム起動部502は次に、MDaを作成(S42)する。MDaは、cnfファイルと上記のシリアルIDとから作成したメッセージダイジェストである。プログラム起動部502は次に、MDbを作成(S43)する。MDbは、licファイルに書き込まれた電子署名(cnfファイルと上記のシリアルIDとから作成したメッセージダイジェストを、秘密鍵により暗号化したもの)を公開鍵により復号化したメッセージダイジェストである。プログラム起動部502はそして、cnfファイルの電子署名の正当性をMDaとMDbとの照合をもって判断(S44)する。MDaとMDbとが一致すればcnfファイルの電子署名は正当であると判断(S45)され、MDaとMDbとが一致しなければcnfファイルの電子署名は正当でないと判断(S46)される。   FIG. 8 is a flowchart relating to the electronic signature check of the cnf file in the memory card 261 (S32). First, the program activation unit 502 acquires the serial ID (SD serial ID) of the memory card 261 from the memory card 261 (SD memory card) (S41). Next, the program starting unit 502 creates MDa (S42). MDa is a message digest created from the cnf file and the serial ID. Next, the program activation unit 502 creates MDb (S43). MDb is a message digest obtained by decrypting a digital signature (a message digest created from a cnf file and the above serial ID with a secret key) written in a lic file using a public key. Then, the program activation unit 502 determines the validity of the electronic signature of the cnf file by comparing MDa and MDb (S44). If MDa and MDb match, the electronic signature of the cnf file is determined to be valid (S45), and if MDa and MDb do not match, it is determined that the electronic signature of the cnf file is not valid (S46).

図9は、メモリカード261内のmodファイルの電子署名チェック(S33)に係るフローチャートである。プログラム起動部502は先ず、MDaを作成(S51)する。MDaは、modファイルから作成したメッセージダイジェストである。プログラム起動部502は次に、MDbを作成(S52)する。MDbは、macファイルに書き込まれた電子署名(modファイルから作成したメッセージダイジェストを秘密鍵により暗号化したもの)を公開鍵により復号化したメッセージダイジェストである。プログラム起動部502はそして、modファイルの電子署名の正当性をMDaとMDbとの照合をもって判断(S53)する。MDaとMDbとが一致すればmodファイルの電子署名は正当であると判断(S54)され、MDaとMDbとが一致しなければmodファイルの電子署名は正当でないと判断(S55)される。   FIG. 9 is a flowchart relating to the electronic signature check of the mod file in the memory card 261 (S33). First, the program starting unit 502 creates MDa (S51). MDa is a message digest created from the mod file. Next, the program starting unit 502 creates MDb (S52). MDb is a message digest obtained by decrypting a digital signature (a message digest created from a mod file with a secret key) written in a mac file using a public key. Then, the program starting unit 502 determines the validity of the electronic signature of the mod file by comparing MDa and MDb (S53). If MDa and MDb match, the electronic signature of the mod file is determined to be valid (S54), and if MDa and MDb do not match, the electronic signature of the mod file is determined to be invalid (S55).

(メモリカードと更新用メモリカード)
図2において登場したメモリカード用スロット251、更新用メモリカード用スロット252、メモリカード261、更新用メモリカード262について説明する。
(Memory card and update memory card)
The memory card slot 251, the update memory card slot 252, the memory card 261, and the update memory card 262 appearing in FIG. 2 will be described.

メモリカード用スロット251は、アプリケーション131やプラットフォーム132等のプログラムが記憶されたメモリカード261をセット(挿入)するためのスロットである。図1の融合機101においては、アプリケーション131やプラットフォーム132は、メモリカード用スロット251にセットされたメモリカード261等に蓄積されており、メモリカード用スロット251にセットされたメモリカード261等から再生されて、MEM−P231やMEM−C232に起動される。   The memory card slot 251 is a slot for setting (inserting) a memory card 261 in which programs such as the application 131 and the platform 132 are stored. 1, the application 131 and the platform 132 are stored in the memory card 261 or the like set in the memory card slot 251 and reproduced from the memory card 261 or the like set in the memory card slot 251. Then, it is activated by the MEM-P 231 or the MEM-C 232.

更新用メモリカード用スロット252は、アプリケーション131やプラットフォーム132等のプログラムを更新するための新たなプログラムが記憶された更新用メモリカード262をセット(挿入)するためのスロットである。図1の融合機101においては、メモリカード用スロット251にセットされたメモリカード261に記憶されたプログラムを、更新用メモリカード用スロット252にセットされた更新用メモリカード262から取得されるプログラムに更新することができる。   The update memory card slot 252 is a slot for setting (inserting) an update memory card 262 in which a new program for updating a program such as the application 131 or the platform 132 is stored. In the multifunction peripheral 101 of FIG. 1, the program stored in the memory card 261 set in the memory card slot 251 is converted into a program acquired from the update memory card 262 set in the update memory card slot 252. Can be updated.

メモリカード261と更新用メモリカード262としては、フラッシュメモリカードの一種であるSD(Secure Digital)メモリカードを採用することにする。SDメモリカードを採用することで、例えば、大容量のメモリを安価で利用できるというメリットを享受できる。なお、メモリカード用スロット251と更新用メモリカード用スロット252としては、SDメモリカード用スロットが採用される。   As the memory card 261 and the update memory card 262, an SD (Secure Digital) memory card, which is a kind of flash memory card, is adopted. By adopting the SD memory card, for example, a merit that a large-capacity memory can be used at low cost can be enjoyed. As the memory card slot 251 and the update memory card slot 252, SD memory card slots are employed.

図1の融合機101には、図10のように、SDメモリカード用スロット601とSDメモリカード611に係るソフトウェアとして、SDメモリカードアクセスドライバ(SDaccess)621と、SDメモリカードステータスドライバ(SDstates)622と、起動処理用プログラム623と、SDメモリカードチェックプログラム(SDcheck)624が存在する。   As shown in FIG. 10, the MFP 101 of FIG. 1 includes an SD memory card access driver (SD access) 621 and an SD memory card status driver (SD states) as software related to the SD memory card slot 601 and the SD memory card 611. 622, a startup processing program 623, and an SD memory card check program (SDcheck) 624.

SDaccess621は、SDメモリカード611の挿入・抜出を検知する等、SDメモリカード611に対するアクセス制御を実行するドライバである。SDstates622は、SDメモリカード611の挿入・抜出・マウント・アンマウントに関する情報を管理するドライバである。起動処理用プログラム623は、図5のプログラム起動部502を構成するプログラムである。SDcheck624は、SDメモリカード611のマウント・アンマウントを実行するプログラムである。   The SD access 621 is a driver that executes access control to the SD memory card 611, such as detecting insertion / removal of the SD memory card 611. The SDstates 622 is a driver that manages information related to insertion, removal, mounting, and unmounting of the SD memory card 611. The activation processing program 623 is a program constituting the program activation unit 502 in FIG. The SDcheck 624 is a program that executes mounting and unmounting of the SD memory card 611.

SDメモリカード用スロット601にSDメモリカード611が挿入された場合、SDaccess621は、SDメモリカード611が挿入された事を検知(S1)すると共に、SDstates622にその事を通知(S2)する。これに応じて、SDstates622は、SDメモリカード611が挿入された旨の情報を管理することにすると共に、起動処理用プログラム623にその旨を通知(S3)する。これに応じて、起動処理用プログラム623は、SDメモリカード611のマウントを実行させるために、SDcheck624を起動(S4)させる。これに応じて、SDcheck624は、SDメモリカード611のマウントを実行(S5)すると共に、SDstates622にその事を通知(S6)する。これに応じて、SDstates622は、SDメモリカード611がマウントされた旨の情報を管理することにすると共に、起動処理用プログラム623等にその旨を通知(S7)する。   When the SD memory card 611 is inserted into the SD memory card slot 601, the SD access 621 detects that the SD memory card 611 has been inserted (S 1), and notifies the SD states 622 of the fact (S 2). In response, the SDstates 622 manages information indicating that the SD memory card 611 has been inserted, and notifies the activation processing program 623 of the management (S3). In response, the activation processing program 623 activates the SDcheck 624 (S4) in order to mount the SD memory card 611. In response, the SDcheck 624 executes the mounting of the SD memory card 611 (S5) and notifies the SDstates 622 of the fact (S6). In response to this, the SDstates 622 manages information indicating that the SD memory card 611 has been mounted, and notifies the start-up processing program 623 and the like (S7).

SDメモリカード用スロット601からSDメモリカード611が抜き出された場合、SDaccess621は、SDメモリカード611が抜き出された事を検知(S1)すると共に、SDstates622にその事を通知(S2)する。これに応じて、SDstates622は、SDメモリカード611が抜き出された旨の情報を管理することにすると共に、起動処理用プログラム623にその旨を通知(S3)する。これに応じて、起動処理用プログラム623は、SDメモリカード611のアンマウントを実行させるために、SDcheck624を起動(S4)させる。これに応じて、SDcheck624は、SDメモリカード611のアンマウントを実行(S5)すると共に、SDstates622にその事を通知(S6)する。これに応じて、SDstates622は、SDメモリカード611がアンマウントされた旨の情報を管理することにすると共に、起動処理用プログラム623等にその旨を通知(S7)する。   When the SD memory card 611 is removed from the SD memory card slot 601, the SD access 621 detects that the SD memory card 611 has been removed (S 1), and notifies the SD states 622 of the fact (S 2). In response, the SDstates 622 manages information indicating that the SD memory card 611 has been removed, and notifies the activation processing program 623 of the information (S3). In response, the activation processing program 623 activates the SDcheck 624 (S4) to execute the unmounting of the SD memory card 611. In response, the SDcheck 624 executes the unmounting of the SD memory card 611 (S5), and notifies the SDstates 622 of the fact (S6). In response, the SDstates 622 manages information indicating that the SD memory card 611 has been unmounted, and notifies the start-up processing program 623 and the like (S7).

なお、SDメモリカードを採用することで、いわゆる活線挿抜が可能になるというメリットを享受できる。すなわち、SDメモリカード用スロット601にSDメモリカード611を挿入する操作と、SDメモリカード用スロット601からSDメモリカード611を抜き出す操作が、融合機101の起動後に実行可能になる。   In addition, by adopting the SD memory card, it is possible to enjoy a merit that so-called hot-swapping becomes possible. That is, the operation of inserting the SD memory card 611 into the SD memory card slot 601 and the operation of removing the SD memory card 611 from the SD memory card slot 601 can be performed after the MFP 101 is started.

(第1実施例)
以上の説明を踏まえて、図11により、図1の融合機101に係る第1実施例について説明する。
(First embodiment)
Based on the above description, a first embodiment of the MFP 101 of FIG. 1 will be described with reference to FIG.

更新用メモリカード262には、図12のように、アプリケーション131やプラットフォーム132等のプログラムを更新するための新たなプログラムを、拡張子をfwuとするfwuファイル801として記憶させておく。   As shown in FIG. 12, the update memory card 262 stores a new program for updating programs such as the application 131 and the platform 132 as an fwu file 801 having an extension fwu.

fwuファイル801は、ヘッダ部分811と、データ部分812により構成される。ヘッダ部分811は、ヘッダA1、ヘッダA2、ヘッダB1、ヘッダB2等により構成されて、データ部分812は、データA1、データA2、データB1、データB2等により構成される。ヘッダA1、ヘッダA2、ヘッダB1、ヘッダB2等がそれぞれ、データA1、データA2、データB1、データB2等のヘッダに相当する。   The fwu file 801 includes a header portion 811 and a data portion 812. The header portion 811 includes a header A1, a header A2, a header B1, a header B2, and the like, and the data portion 812 includes data A1, data A2, data B1, data B2, and the like. The header A1, the header A2, the header B1, the header B2 and the like correspond to the headers of the data A1, the data A2, the data B1, and the data B2, respectively.

データA1やデータB1は、モジュールプログラムに相当するデータである。モジュールプログラムは、アプリケーション131やプラットフォーム132等におけるコピーアプリ141やNCS161等(モジュール)のプログラム(モジュールプログラム)を更新するための新たなプログラムである。すなわち、アプリケーション131やプラットフォーム132等のプログラムをモジュールごとに更新するための新たなプログラムである。なお、モジュールプログラムは、バイナリデータ化して記憶させておくものとする。   Data A1 and data B1 are data corresponding to a module program. The module program is a new program for updating a program (module program) of the copy application 141 or the NCS 161 (module) in the application 131 or the platform 132 or the like. That is, it is a new program for updating programs such as the application 131 and the platform 132 for each module. It is assumed that the module program is stored as binary data.

データA2やデータB2は、モジュールプログラムに係る電子署名に相当するデータである。電子署名はここでは、MD5やSHA1等のハッシュ関数によりモジュールプログラムから作成したメッセージダイジェストを、秘密鍵により暗号化したものである。データA2は、データA1に係る電子署名に相当して、データB2は、データB1に係る電子署名に相当する。   Data A2 and data B2 are data corresponding to an electronic signature according to the module program. Here, the electronic signature is obtained by encrypting a message digest created from a module program using a hash function such as MD5 or SHA1 using a secret key. Data A2 corresponds to an electronic signature related to data A1, and data B2 corresponds to an electronic signature related to data B1.

ヘッダA1やヘッダA2やヘッダB1やヘッダB2はそれぞれ、モジュールの種類を表すモジュールIDと、モジュールプログラムであるか電子署名であるかを表すフラグと、モジュールプログラムや電子署名を各機種のどのディレクトリにインストールするかを表す機種名とパス名により構成される。   The header A1, the header A2, the header B1, and the header B2 are respectively stored in a module ID indicating a type of a module, a flag indicating whether the module is a module program or an electronic signature, and a directory where the module program and the electronic signature are stored. It consists of a model name and a path name that indicate whether to install.

更新用メモリカード262内のファイル構成の例を図13に示した。図13の例では、更新用メモリカード262内に、fwuファイル「update_jan_2004.fwu」「update_feb_2004.fwu」「update_mar_2004.fwu」が記憶されている。   FIG. 13 shows an example of a file configuration in the update memory card 262. In the example of FIG. 13, the fwu files “update_jan_2004.fwu”, “update_feb_2004.fwu”, and “update_mar_2004.fwu” are stored in the update memory card 262.

メモリカード261には、図14のように、アプリケーション131やプラットフォーム132等のプログラムを、拡張子をmodとするmodファイル901として記憶させておくと共に、アプリケーション131やプラットフォーム132等のプログラムに係る電子署名を、拡張子をmacとするmacファイル902として記憶させておく。   As shown in FIG. 14, programs such as the application 131 and the platform 132 are stored in the memory card 261 as a mod file 901 having an extension “mod”, and an electronic signature related to the program such as the application 131 and the platform 132 is stored. Is stored as a mac file 902 having an extension of mac.

modファイル901は、データ911により構成される。データ911は、データA1やデータB1と同様に、モジュールプログラムに相当するデータである。   The mod file 901 includes data 911. The data 911 is data corresponding to a module program, like the data A1 and the data B1.

macファイル902は、データ912により構成される。データ912は、データA2やデータB2と同様に、モジュールプログラムに係る電子署名に相当するデータである。   The mac file 902 is composed of data 912. The data 912 is data corresponding to an electronic signature according to the module program, like the data A2 and the data B2.

メモリカード261内のファイル構成の例を図15に示した。図15の例では、メモリカード262内に、modファイル「copy.mod」「printer.mod」「network.mod」等と、macファイル「copy.mac」「printer.mac」「network.mac」等と、cnfファイル「copy.cnf」「printer.cnf」「network.cnf」等と、licファイル「copy.cnf」「printer.lic」「network.lic」等とが記憶されている。   FIG. 15 shows an example of a file configuration in the memory card 261. In the example of FIG. 15, the mod files “copy.mod”, “printer.mod”, “network.mod”, etc., and the mac files “copy.mac”, “printer.mac”, “network.mac” etc. are stored in the memory card 262. And cnf files “copy.cnf” “printer.cnf” “network.cnf” and the like, and lic files “copy.cnf” “printer.lic” “network.lic” and the like are stored.

融合機101の起動後に更新用メモリカード用スロット252に更新用メモリカード262が挿入された場合、SDaccess621とSDstates622と起動処理用プログラム623とSDcheck624によりS1からS7までの処理が実行されると共に、更新用メモリカード262が挿入されてマウントされた旨が、SDstates622からSCS168を構成するオンデマンドアップデートサービス(OUS)169に通知(S11)される。これに応じて、OUS169は、MCS165を介してメモリを取得(S12)すると共に、更新用メモリカード用スロット252に挿入された更新用メモリカード262からfwuファイル801を取得してメモリに展開(S13)する。   When the update memory card 262 is inserted into the update memory card slot 252 after the start of the multifunction peripheral 101, the processes from S1 to S7 are executed by the SD access 621, the SD states 622, the start processing program 623, and the SD check 624, and the update is performed. The SDstates 622 notifies the on-demand update service (OUS) 169 included in the SCS 168 that the memory card 262 has been inserted and mounted (S11). In response to this, the OUS 169 acquires the memory via the MCS 165 (S12), acquires the fwu file 801 from the updating memory card 262 inserted in the updating memory card slot 252, and expands it in the memory (S13). ).

OUS169はそして、fwuファイル801として取得された各モジュールプログラムに係る電子署名の正当性を条件に、modファイル901として記憶された各モジュールプログラムを、fwuファイル801として取得された各モジュールプログラムに更新(S14)する。あるモジュールプログラムに係る電子署名が正当であるか否かは、そのモジュールプログラムからMD5やSHA1等のハッシュ関数により作成したメッセージダイジェストと、そのモジュールプログラムに係る電子署名を公開鍵により復号化したメッセージダイジェストとが、一致するか否かにより判断する。そのモジュールプログラムが途中で改変(改竄や文字化け等)された場合、メッセージダイジェストが一致しないため、そのモジュールプログラムに係る電子署名が正当でないと判断されることになる。このようにして、fwuファイル801として取得される各モジュールプログラムの信頼性が向上されることになる。   The OUS 169 then updates each module program stored as the mod file 901 to each module program obtained as the fwu file 801 on condition that the electronic signature of each module program obtained as the fwu file 801 is valid ( S14). Whether a digital signature related to a certain module program is valid is determined by a message digest created from the module program using a hash function such as MD5 or SHA1, and a message digest obtained by decrypting the digital signature related to the module program using a public key. Is determined based on whether or not they match. If the module program is altered (falsified, garbled, etc.) in the middle, the message digests do not match, so that the electronic signature of the module program is determined to be invalid. In this way, the reliability of each module program acquired as the fwu file 801 is improved.

OUS169はさらに、modファイル901として記憶された各モジュールプログラムを、fwuファイル801として取得された各モジュールプログラムに更新すると共に、macファイル902として記憶された各モジュールプログラムに係る電子署名を、fwuファイル801として取得された各モジュールプログラムに係る電子署名に更新する。すなわち、モジュールプログラムを更新すると共に、そのモジュールプログラムに係る電子署名を更新するのである。これにより、各モジュールプログラムに係る電子署名が正当であるか否かを、更新後にも判断することが可能になり、各モジュールプログラムの信頼性がさらに向上されることになる。   The OUS 169 further updates each module program stored as the mod file 901 with each module program acquired as the fwu file 801, and furthermore, updates the electronic signature of each module program stored as the mac file 902 with the fwu file 801. Is updated to the electronic signature of each module program acquired as. That is, the module program is updated and the electronic signature related to the module program is updated. As a result, it is possible to determine whether the electronic signature of each module program is valid even after the update, and the reliability of each module program is further improved.

ところで、更新用メモリカード262としてSDメモリカードを採用したことで、更新用メモリカード用スロット252に更新用メモリカード262を挿入する操作は、融合機101の起動後に実行可能になっている。融合機101の起動後に更新用メモリカード用スロット252に更新用メモリカード262が挿入された場合、更新処理が自動的に開始されて、S1からS7までの処理とS11からS14までの処理が実行されるのである。すなわち、更新用メモリカード262としてSDメモリカードを採用したことで、オンデマンド更新が実現されている。   By the way, by adopting an SD memory card as the update memory card 262, the operation of inserting the update memory card 262 into the update memory card slot 252 can be executed after the MFP 101 is started. When the updating memory card 262 is inserted into the updating memory card slot 252 after the MFP 101 is started, the updating process is automatically started, and the processes from S1 to S7 and the processes from S11 to S14 are executed. It is done. That is, the on-demand update is realized by adopting the SD memory card as the update memory card 262.

なお、ここでは、更新用メモリカード262から取得されるプログラムに係る電子署名の正当性を条件に、メモリカード261に記憶されたプログラムを、更新用メモリカード262から取得されるプログラムに更新することにしたが、同様にして、更新用メモリカード262から取得されるプログラムに係る電子署名の正当性を条件に、HDD233に記憶されたプログラムを、更新用メモリカード262から取得されるプログラムに更新することにしてもよい。   Here, the program stored in the memory card 261 is updated to the program obtained from the update memory card 262, provided that the electronic signature of the program obtained from the update memory card 262 is valid. Similarly, the program stored in the HDD 233 is updated to a program acquired from the update memory card 262, provided that the electronic signature of the program acquired from the update memory card 262 is valid. It may be.

HDD233内のファイル構成の例を図16に示した。図16の例では、HDD233内に、modファイル「copy.mod」「printer.mod」「network.mod」等と、macファイル「copy.mac」「printer.mac」「network.mac」等と、cnfファイル「copy.cnf」「printer.cnf」「network.cnf」等とが記憶されている。   FIG. 16 shows an example of a file configuration in the HDD 233. In the example of FIG. 16, in the HDD 233, the mod files “copy.mod”, “printer.mod”, “network.mod”, etc., and the mac files “copy.mac”, “printer.mac”, “network.mac”, etc. cnf files “copy.cnf”, “printer.cnf”, “network.cnf”, and the like are stored.

ここで、図17により、OUS169により実行される処理の詳細について説明する。   Here, the processing executed by the OUS 169 will be described in detail with reference to FIG.

OUS169は、更新用メモリカード262が挿入されてマウントされた旨を通知(S11)されると、MCS165を介してメモリを取得(S12)すると共に、更新用メモリカード262に記憶されたfwuファイル801のヘッダ部分811を解析(S101)する。続いて、fwuファイル801として記憶された各モジュールプログラムに係る電子署名が正当であるか否かを判断(S102)する。正当でないと判断されたモジュールプログラムについては、OCS166を介してタッチパネル311にエラーモジュールとして表示(S103)して、正当であると判断されたモジュールプログラムについては、OCS166を介してタッチパネル311に更新対象モジュールとして表示(S104)する。   When the OUS 169 is notified that the update memory card 262 has been inserted and mounted (S11), the OUS 169 acquires the memory via the MCS 165 (S12) and, at the same time, obtains the fwu file 801 stored in the update memory card 262. Is analyzed (S101). Next, it is determined whether the electronic signature of each module program stored as the fwu file 801 is valid (S102). The module program determined to be invalid is displayed as an error module on the touch panel 311 via the OCS 166 (S103), and the module program determined to be valid is displayed on the touch panel 311 via the OCS 166 as an update target module. Is displayed (S104).

OUS169は、タッチパネル311のタッチ操作により更新対象モジュールが選択(S105)されると、更新用メモリカード262からfwuファイル801を取得してメモリに展開(S13)すると共に、更新用メモリカード262から取得されたfwuファイル801のヘッダ部分811を解析(S106)する。続いて、fwuファイル801として取得された各モジュールプログラムに係る電子署名が正当であるか否かを判断(S107)する。正当でないと判断されたモジュールプログラムについては、OCS166を介してタッチパネル311にエラーモジュールとして表示(S108)して、正当であると判断されたモジュールプログラムについては、modファイル901として記憶されたモジュールプログラムを、fwuファイル801として取得されたそのモジュールプログラムに更新(S14)する。   When the update target module is selected by a touch operation on the touch panel 311 (S105), the OUS 169 obtains the fwu file 801 from the update memory card 262, expands it in the memory (S13), and obtains the fwu file 801 from the update memory card 262. The header part 811 of the fwu file 801 thus analyzed is analyzed (S106). Next, it is determined whether the electronic signature of each module program acquired as the fwu file 801 is valid (S107). The module program determined to be invalid is displayed as an error module on the touch panel 311 via the OCS 166 (S108), and the module program stored as the mod file 901 is determined to be valid. , The module program acquired as the fwu file 801 (S14).

なお、図18のように、fwuファイル801として取得された各モジュールプログラムに係る電子署名が正当であるか否かを判断(S107)する前に、modファイル901として記憶された各モジュールプログラムのバックアップをとっておく(S111)ようにしてもよい。すなわち、modファイル901として記憶されたモジュールプログラムを、そのモジュールプログラムのバックアップをとってから、fwuファイル801として取得されたモジュールプログラムに更新(S14)することで、更新処理の失敗に備えるのである。   As shown in FIG. 18, before determining whether or not the electronic signature of each module program acquired as the fwu file 801 is valid (S107), a backup of each module program stored as the mod file 901 is made. (S111). In other words, the module program stored as the mod file 901 is updated to the module program acquired as the fwu file 801 after backing up the module program (S14) to prepare for the failure of the update process.

図19は、各モジュールプログラムの電子署名チェック(S102,S107)に係るフローチャートである。OUS169は先ず、MDaを作成(S61)する。MDaは、モジュールプログラムから作成したメッセージダイジェストである。OUS169は次に、MDbを作成(S62)する。MDbは、モジュールプログラムに係る電子署名(モジュールプログラムから作成したメッセージダイジェストを、秘密鍵により暗号化したもの)を公開鍵により復号化したメッセージダイジェストである。OUS169はそして、モジュールプログラムの電子署名の正当性を、MDaとMDbとの照合をもって判断(S63)する。MDaとMDbとが一致すればモジュールプログラムに係る電子署名は正当であると判断(S64)され、MDaとMDbとが一致しなければモジュールプログラムに係る電子署名は正当でないと判断(S65)される。   FIG. 19 is a flowchart related to the electronic signature check (S102, S107) of each module program. The OUS 169 first creates MDa (S61). MDa is a message digest created from the module program. Next, the OUS 169 creates the MDb (S62). MDb is a message digest obtained by decrypting a digital signature (a message digest created from the module program using a secret key) related to the module program with a public key. The OUS 169 then determines the validity of the electronic signature of the module program by comparing MDa and MDb (S63). If MDa and MDb match, the electronic signature of the module program is determined to be valid (S64), and if MDa and MDb do not match, the electronic signature of the module program is determined to be invalid (S65). .

(第2実施例)
以上の説明を踏まえて、図20により、図1の融合機101に係る第2実施例について説明する。第2実施例は、第1実施例の変形実施例である。
(Second embodiment)
Based on the above description, a second embodiment of the MFP 101 of FIG. 1 will be described with reference to FIG. The second embodiment is a modification of the first embodiment.

融合機101の起動後にNIC241等により図12のようなfwuファイル801がネットワーク等を介して他の機器(例えば、融合機101のドライバがインストールされたパソコン)から受信された場合、NCS161は、それがfwuファイル801である事を判別(S21)すると、SCS168を構成するオンデマンドアップデートサービス(OUS)169にそのfwuファイル801を提供(S22)する。これに応じて、OUS169は、MCS165を介してメモリを取得して、fwuファイル801をメモリに展開(S23)する。   If the fwu file 801 as shown in FIG. 12 is received from another device (for example, a personal computer in which the driver of the multifunction device 101 is installed) via the network or the like by the NIC 241 or the like after the start of the multifunction device 101, the NCS 161 Is determined to be an fwu file 801 (S21), the fwu file 801 is provided to an on-demand update service (OUS) 169 constituting the SCS 168 (S22). In response, the OUS 169 acquires the memory via the MCS 165, and expands the fwu file 801 in the memory (S23).

OUS169はそして、fwuファイル801として提供された各モジュールプログラムに係る電子署名の正当性を条件に、modファイル901として記憶された各モジュールプログラムを、fwuファイル801として提供された各モジュールプログラムに更新(S24)する。   The OUS 169 then updates each module program stored as the mod file 901 to each module program provided as the fwu file 801 on condition that the electronic signature of each module program provided as the fwu file 801 is valid ( S24).

OUS169はさらに、modファイル901として記憶された各モジュールプログラムを、fwuファイル801として提供された各モジュールプログラムに更新すると共に、macファイル902として記憶された各モジュールプログラムに係る電子署名を、fwuファイル801として提供された各モジュールプログラムに係る電子署名に更新する。   The OUS 169 further updates each module program stored as the mod file 901 to each module program provided as the fwu file 801, and also stores the electronic signature of each module program stored as the mac file 902 in the fwu file 801. Is updated to the electronic signature related to each module program provided as.

なお、ここでは、NIC241等により受信されたプログラムに係る電子署名の正当性を条件に、メモリカード261に記憶されたプログラムを、NIC241等により受信されたプログラムに更新することにしたが、同様にして、NIC241等により受信されたプログラムに係る電子署名の正当性を条件に、HDD233に記憶されたプログラムを、NIC241等により受信されたプログラムに更新することにしてもよい。   Here, the program stored in the memory card 261 is updated to the program received by the NIC 241 or the like on condition that the electronic signature of the program received by the NIC 241 or the like is valid. Then, the program stored in the HDD 233 may be updated to the program received by the NIC 241 or the like on condition that the electronic signature of the program received by the NIC 241 or the like is valid.

OUS169により実行される処理の詳細については、図17や図18や図19と同様である。ただし、S11やS12やS13やS14の処理は、S21やS22やS23やS24の処理に適宜置換される。   Details of the processing executed by the OUS 169 are the same as those in FIG. 17, FIG. 18, and FIG. However, the processing of S11, S12, S13, and S14 is appropriately replaced with the processing of S21, S22, S23, and S24.

(応用例)
図17や図18の応用例として、更新用メモリカード262内に複数のfwuファイル801が存在する場合のフローの例について説明する。
(Application example)
As an application example of FIGS. 17 and 18, an example of a flow when a plurality of fwu files 801 exist in the update memory card 262 will be described.

図21は、図17の応用例に相当するフローチャートである。   FIG. 21 is a flowchart corresponding to the application example of FIG.

OUS169は、更新用メモリカード262が挿入されてマウントされた旨を通知(S11)されると、MCS165を介してメモリを取得(S12)すると共に、更新用メモリカード262に記憶されたfwuファイル801から未処理のfwuファイル801を選択(S301)する。続いて、fwuファイル801のヘッダ部分811を解析(S101)する。続いて、fwuファイル801として記憶された各モジュールプログラムに係る電子署名が正当であるか否かを判断(S102)する。正当でないと判断されたモジュールプログラムが存在する場合には、OCS166を介してタッチパネル311にエラーモジュールが存在する旨を表示(S103)する。正当でないと判断されたモジュールプログラムが存在しない場合には、更新用メモリカード262内に未処理のfwuファイル801が存在すれば(S302)S301に戻り、更新用メモリカード262内に未処理のfwuファイル801が存在しなければ(S302)S104に進む。そのS104では、正当であると判断された各モジュールプログラムについて、OCS166を介してタッチパネル311に更新対象モジュールとして表示(S104)する。   When the OUS 169 is notified that the update memory card 262 has been inserted and mounted (S11), the OUS 169 acquires the memory via the MCS 165 (S12) and, at the same time, obtains the fwu file 801 stored in the update memory card 262. , An unprocessed fwu file 801 is selected (S301). Subsequently, the header part 811 of the fwu file 801 is analyzed (S101). Next, it is determined whether the electronic signature of each module program stored as the fwu file 801 is valid (S102). If there is a module program determined not to be valid, the fact that an error module exists is displayed on the touch panel 311 via the OCS 166 (S103). When there is no module program determined to be invalid, if there is an unprocessed fwu file 801 in the update memory card 262 (S302), the process returns to S301, and the unprocessed fwu file is stored in the update memory card 262. If the file 801 does not exist (S302), the process proceeds to S104. In S104, each module program determined to be valid is displayed as a module to be updated on the touch panel 311 via the OCS 166 (S104).

OUS169は、タッチパネル311のタッチ操作により更新対象モジュールが選択(S105)されると、更新対象のfwuファイル801から未処理のfwuファイル801を選択(S303)する。続いて、更新用メモリカード262からfwuファイル801を取得してメモリに展開(S13)する。続いて、fwuファイル801のヘッダ部分811を解析(S106)する。続いて、fwuファイル801として取得された各モジュールプログラムに係る電子署名が正当であるか否かを判断(S107)する。正当でないと判断されたモジュールプログラムが存在する場合には、OCS166を介してタッチパネル311にエラーモジュールが存在する旨を表示(S108)する。正当でないと判断されたモジュールプログラムが存在しない場合には、更新対象のfwuファイル801で未処理のfwuファイル801が存在すれば(S304)S303に戻り、更新対象のfwuファイル801で未処理のfwuファイル801が存在しなければ(S304)S14に進む。そのS14では、正当であると判断された各モジュールプログラムについて、modファイル901として記憶されたモジュールプログラムを、fwuファイル801として取得されたそのモジュールプログラムに更新(S14)する。   When a module to be updated is selected by a touch operation on the touch panel 311 (S105), the OUS 169 selects an unprocessed fwu file 801 from the fwu file 801 to be updated (S303). Subsequently, the fwu file 801 is obtained from the update memory card 262 and is developed in the memory (S13). Subsequently, the header part 811 of the fwu file 801 is analyzed (S106). Next, it is determined whether the electronic signature of each module program acquired as the fwu file 801 is valid (S107). If there is a module program that is determined to be invalid, the fact that an error module exists is displayed on the touch panel 311 via the OCS 166 (S108). When there is no module program determined to be invalid, if there is an unprocessed fwu file 801 in the fwu file 801 to be updated (S304), the process returns to S303, and the unprocessed fwu in the fwu file 801 to be updated. If the file 801 does not exist (S304), the process proceeds to S14. In S14, for each module program determined to be valid, the module program stored as the mod file 901 is updated to the module program acquired as the fwu file 801 (S14).

図21でも、図18のバックアップ処理(S111)を実行するようにしてもよい。   Also in FIG. 21, the backup process (S111) of FIG. 18 may be executed.

(フローチャートの詳細)
図17や図18やこれらの応用例のフローチャートの詳細について説明する。
(Details of flowchart)
Details of flowcharts of FIG. 17 and FIG. 18 and application examples thereof will be described.

図22は、モジュール更新(S14)に係るフローチャートである。   FIG. 22 is a flowchart related to module update (S14).

OUS169は先ず、ヘッダ解析(S106)で取得したパス名に基づいて、moduleディレクトリ(図15参照)内のmodファイル901を更新(S301)する。OUS169は次に、ヘッダ解析(S106)で取得したパス名に基づいて、moduleディレクトリ(図15参照)内のmacファイル902を更新(S302)する。OUS169はそして、S301とS302とを各ヘッダについて繰り返す(S303)。   The OUS 169 first updates the mod file 901 in the module directory (see FIG. 15) based on the path name obtained in the header analysis (S106) (S301). Next, the OUS 169 updates the mac file 902 in the module directory (see FIG. 15) based on the path name obtained in the header analysis (S106) (S302). The OUS 169 then repeats S301 and S302 for each header (S303).

図23は、バックアップ処理(S111)に係るフローチャートである。   FIG. 23 is a flowchart related to the backup process (S111).

OUS169は先ず、backupディレクトリ(図15参照)内のバックアップファイルを削除(S401)する。OUS169は次に、ヘッダ解析(S106)で取得したパス名に基づいて、moduleディレクトリ(図15参照)内のmodファイル901をbackupディレクトリ(図15参照)内にコピー(S402)する。OUS169は次に、ヘッダ解析(S106)で取得したパス名に基づいて、moduleディレクトリ(図15参照)内のmacファイル902をbackupディレクトリ(図15参照)内にコピー(S403)する。OUS169はそして、S402とS403とを各ヘッダについて繰り返す(S404)。   The OUS 169 first deletes the backup file in the backup directory (see FIG. 15) (S401). Next, the OUS 169 copies the mod file 901 in the module directory (see FIG. 15) into the backup directory (see FIG. 15) based on the path name obtained in the header analysis (S106) (S402). Next, the OUS 169 copies the mac file 902 in the module directory (see FIG. 15) into the backup directory (see FIG. 15) based on the path name obtained in the header analysis (S106) (S403). The OUS 169 then repeats S402 and S403 for each header (S404).

本発明の実施の形態の例である融合機を表す。1 shows a multifunction machine according to an embodiment of the present invention. 図1の融合機のハードウェアを表す。FIG. 2 shows hardware of the multifunction peripheral of FIG. 1. 図1の融合機の外観を表す。2 shows an appearance of the fusion machine of FIG. 1. オペレーションパネルを表す。Represents the operation panel. 融合機起動部を表す。Represents the MFP starter. メモリカード内のファイルツリーの例を表す。4 illustrates an example of a file tree in a memory card. マウント処理と起動処理に係るフローチャートである。9 is a flowchart related to a mounting process and a starting process. cnfファイルの電子署名チェックに係るフローチャートである。It is a flowchart concerning electronic signature check of a cnf file. modファイルの電子署名チェックに係るフローチャートである。9 is a flowchart relating to a digital signature check of a mod file. SDメモリカード用スロットとSDメモリカードに係るソフトウェアを表す。This represents software related to the SD memory card slot and the SD memory card. 第1実施例について説明するための図である。FIG. 4 is a diagram for describing a first embodiment. 更新用メモリカードに記憶されたデータのデータ構造を表す。The data structure of the data stored in the update memory card is shown. 更新用メモリカード内のファイル構成の例を表す。4 illustrates an example of a file configuration in an update memory card. メモリカードに記憶されたデータのデータ構造を表す。It shows the data structure of the data stored in the memory card. メモリカード内のファイル構成の例を表す。4 illustrates an example of a file configuration in a memory card. HDD内のファイル構成の例を表す。2 illustrates an example of a file configuration in an HDD. OUSにより実行される処理に係るフローチャートである。It is a flowchart concerning processing performed by OUS. OUSにより実行される処理に係るフローチャートである。It is a flowchart concerning processing performed by OUS. モジュールプログラムの電子署名チェックに係るフローチャートである。It is a flowchart concerning the electronic signature check of the module program. 第2実施例について説明するための図である。It is a figure for explaining a 2nd example. 図17の応用例に相当するフローチャートである。18 is a flowchart corresponding to an application example of FIG. 17. モジュール更新に係るフローチャートである。It is a flowchart concerning a module update. バックアップ処理に係るフローチャートである。It is a flowchart concerning a backup process.

符号の説明Explanation of reference numerals

101 融合機
111 ハードウェア
112 ソフトウェア
113 融合機起動部
121 撮像部
122 印刷部
123 その他のハードウェア
131 アプリケーション
132 プラットフォーム
133 アプリケーションインタフェース
134 エンジンインタフェース
141 コピーアプリ
142 プリンタアプリ
143 スキャナアプリ
144 ファクシミリアプリ
145 ネットワークファイルアプリ
151 コントロールサービス
152 システムリソースマネージャ
153 ハンドラ
161 ネットワークコントロールサービス
162 ファクシミリコントロールサービス
163 デリバリコントロールサービス
164 エンジンコントロールサービス
165 メモリコントロールサービス
166 オペレーションパネルコントロールサービス
167 ユーザディレクトリコントロールサービス
168 システムコントロールサービス
169 オンデマンドアップデートサービス
171 ファクシミリコントロールユニットハンドラ
172 イメージメモリハンドラ
201 コントローラ
202 オペレーションパネル
203 ファクシミリコントロールユニット
211 CPU
212 ASIC
221 NB
222 SB
231 MEM−P
232 MEM−C
233 HDD
241 NIC
242 USBデバイス
243 IEEE1394デバイス
244 セントロニクスデバイス
251 メモリカード用スロット
252 更新用メモリカード用スロット
261 メモリカード
262 更新用メモリカード
301 原稿セット部
302 給紙部
303 排紙部
311 タッチパネル
312 数字ボタン
313 スタートボタン
321 ADF
322 フラットベッド
323 フラットベッドカバー
501 メモリモニタ部
502 プログラム起動部
601 SDメモリカード用スロット
611 SDメモリカード
621 SDメモリカードアクセスドライバ
622 SDメモリカードステータスドライバ
623 起動処理用プログラム
624 SDメモリカードチェックプログラム
801 fwuファイル
811 ヘッダ部分
812 データ部分
901 modファイル
902 macファイル
911 データ
912 データ
101 multifunction machine 111 hardware 112 software 113 multifunction machine activation unit 121 imaging unit 122 printing unit 123 other hardware 131 application 132 platform 133 application interface 134 engine interface 141 copy application 142 printer application 143 scanner application 144 facsimile application 145 network file application 151 control service 152 system resource manager 153 handler 161 network control service 162 facsimile control service 163 delivery control service 164 engine control service 165 memory control service 166 operation panel control service 67 User Directory control service 168 system control service 169 on-demand update service 171 a facsimile control unit handler 172 image memory handler 201 controller 202 an operation panel 203 facsimile control unit 211 CPU
212 ASIC
221 NB
222 SB
231 MEM-P
232 MEM-C
233 HDD
241 NIC
242 USB device 243 IEEE 1394 device 244 Centronics device 251 Memory card slot 252 Update memory card slot 261 Memory card 262 Update memory card 301 Original set section 302 Paper feed section 303 Paper discharge section 311 Touch panel 312 Numeric buttons 313 Start button 321 ADF
322 flatbed 323 flatbed cover 501 memory monitor section 502 program start section 601 SD memory card slot 611 SD memory card 621 SD memory card access driver 622 SD memory card status driver 623 start processing program 624 SD memory card check program 801 fwu File 811 Header part 812 Data part 901 mod file 902 mac file 911 data 912 data

Claims (21)

当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置であって、
前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新手段を備えることを特徴とする画像形成装置。
A storage medium storing a program for causing the image forming apparatus to function, and an update storage medium setting unit for setting an update storage medium storing a program for updating the program stored in the storage medium An image forming apparatus comprising:
Program updating means for updating the program stored in the storage medium to the program obtained from the update storage medium, on condition that the electronic signature of the program obtained from the update storage medium is valid. An image forming apparatus comprising:
当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置であって、
前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新手段を備えることを特徴とする画像形成装置。
A storage medium setting means for setting a storage medium storing a program for causing the image forming apparatus to function, and an update storage medium storing a program for updating the program stored in the storage medium An update storage medium setting means for performing
Program updating means for updating the program stored in the storage medium to the program obtained from the update storage medium, on condition that the electronic signature of the program obtained from the update storage medium is valid. An image forming apparatus comprising:
当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置であって、
前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新手段を備えることを特徴とする画像形成装置。
An image forming apparatus, comprising: a storage medium storing a program that causes the image forming apparatus to function, and a receiving unit that receives a program for updating the program stored in the storage medium.
A program updating unit that updates the program stored in the storage medium to the program received by the receiving unit, on condition that the electronic signature of the program received by the receiving unit is valid. Characteristic image forming apparatus.
当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置であって、
前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新手段を備えることを特徴とする画像形成装置。
Image forming apparatus comprising: a storage medium setting unit for setting a storage medium storing a program for causing the image forming apparatus to function; and a receiving unit for receiving a program for updating the program stored in the storage medium. A device,
A program updating unit that updates the program stored in the storage medium to the program received by the receiving unit, on condition that the electronic signature of the program received by the receiving unit is valid. Characteristic image forming apparatus.
前記プログラム更新手段は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記更新用記憶媒体から取得される前記プログラムと、そのプログラムに係る電子署名とに更新することを特徴とする請求項1又は2に記載の画像形成装置。   The program updating means updates the program stored in the storage medium and an electronic signature associated with the program to the program acquired from the update storage medium and an electronic signature associated with the program. The image forming apparatus according to claim 1, wherein: 前記プログラム更新手段は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記受信手段により受信された前記プログラムと、そのプログラムに係る電子署名とに更新することを特徴とする請求項3又は4に記載の画像形成装置。   The program updating unit updates the program stored in the storage medium and an electronic signature related to the program with the program received by the receiving unit and an electronic signature related to the program. The image forming apparatus according to claim 3, wherein: 前記プログラム更新手段は、前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を、当該プログラムから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断することを特徴とする請求項1又は2に記載の画像形成装置。   The program updating unit may determine the validity of the electronic signature of the program obtained from the update storage medium by comparing a message digest created from the program with a message digest obtained by decrypting the electronic signature. The image forming apparatus according to claim 1, wherein: 前記プログラム更新手段は、前記受信手段により受信された前記プログラムに係る電子署名の正当性を、当該プログラムから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断することを特徴とする請求項3又は4に記載の画像形成装置。   The program updating unit determines the validity of the electronic signature of the program received by the receiving unit by comparing a message digest created from the program with a message digest obtained by decrypting the electronic signature. The image forming apparatus according to claim 3, wherein: 前記記憶媒体に記憶された前記プログラムを、当該プログラムに係る電子署名の正当性と、当該プログラムに係る設定ファイルの電子署名の正当性とを条件に、当該記憶媒体に記憶された当該設定ファイルに従って起動するプログラム起動手段を備えることを特徴とする請求項1乃至8のいずれか1項に記載の画像形成装置。   The program stored in the storage medium is read according to the setting file stored in the storage medium on condition that the validity of the electronic signature of the program and the validity of the electronic signature of the setting file of the program are satisfied. The image forming apparatus according to any one of claims 1 to 8, further comprising a program activating unit that activates the program. 前記プログラム起動手段は、前記記憶媒体に記憶された前記プログラムに係る電子署名の正当性を、当該プログラムから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断することを特徴とする請求項9に記載の画像形成装置。   The program starting means determines the validity of the electronic signature of the program stored in the storage medium by comparing a message digest created from the program with a message digest obtained by decrypting the electronic signature. The image forming apparatus according to claim 9. 前記プログラム起動手段は、前記記憶媒体に記憶された前記設定ファイルの電子署名の正当性を、当該設定ファイルから作成したメッセージダイジェストと当該電子署名を復号化したメッセージダイジェストとの照合をもって判断することを特徴とする請求項9に記載の画像形成装置。   The program activation unit determines that the validity of the electronic signature of the setting file stored in the storage medium is determined by comparing a message digest created from the setting file with a message digest obtained by decrypting the electronic signature. The image forming apparatus according to claim 9, wherein: 前記記憶媒体に記憶された前記設定ファイルの電子署名は、当該設定ファイルと当該記憶媒体に固有なデータとから作成したメッセージダイジェストを暗号化したものであることを特徴とする請求項11に記載の画像形成装置。   12. The digital signature of the setting file stored in the storage medium, wherein a message digest created from the setting file and data unique to the storage medium is encrypted. Image forming device. 前記記憶媒体に固有な前記データは、前記記憶媒体のシリアルIDであることを特徴とする請求項12に記載の画像形成装置。   13. The image forming apparatus according to claim 12, wherein the data unique to the storage medium is a serial ID of the storage medium. 当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置についてのプログラム更新方法であって、
前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新段階を備えることを特徴とするプログラム更新方法。
A storage medium storing a program for causing the image forming apparatus to function, and an update storage medium setting unit for setting an update storage medium storing a program for updating the program stored in the storage medium A program updating method for an image forming apparatus comprising:
A program update step of updating the program stored in the storage medium to the program obtained from the update storage medium, on condition that the electronic signature of the program obtained from the update storage medium is valid. A program updating method comprising:
当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムが記憶された更新用記憶媒体をセットするための更新用記憶媒体セット手段とを備える画像形成装置についてのプログラム更新方法であって、
前記更新用記憶媒体から取得される前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記更新用記憶媒体から取得される前記プログラムに更新するプログラム更新段階を備えることを特徴とするプログラム更新方法。
A storage medium setting means for setting a storage medium storing a program for causing the image forming apparatus to function, and an update storage medium storing a program for updating the program stored in the storage medium A program update method for an image forming apparatus including an update storage medium setting unit for performing
A program update step of updating the program stored in the storage medium to the program obtained from the update storage medium, on condition that the electronic signature of the program obtained from the update storage medium is valid. A program updating method comprising:
当該画像形成装置を機能させるプログラムが記憶された記憶媒体と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置についてのプログラム更新方法であって、
前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新段階を備えることを特徴とするプログラム更新方法。
A program updating method for an image forming apparatus, comprising: a storage medium storing a program for causing the image forming apparatus to function; and a receiving unit that receives a program for updating the program stored in the storage medium. ,
A program updating step of updating the program stored in the storage medium to the program received by the receiving unit, on condition that the electronic signature of the program received by the receiving unit is valid. Characteristic program update method.
当該画像形成装置を機能させるプログラムが記憶された記憶媒体をセットするための記憶媒体セット手段と、前記記憶媒体に記憶された前記プログラムを更新するためのプログラムを受信する受信手段とを備える画像形成装置についてのプログラム更新方法であって、
前記受信手段により受信された前記プログラムに係る電子署名の正当性を条件に、前記記憶媒体に記憶された前記プログラムを、前記受信手段により受信された前記プログラムに更新するプログラム更新段階を備えることを特徴とするプログラム更新方法。
Image forming apparatus comprising: a storage medium setting unit for setting a storage medium storing a program for causing the image forming apparatus to function; and a receiving unit for receiving a program for updating the program stored in the storage medium. A program update method for an apparatus,
A program updating step of updating the program stored in the storage medium to the program received by the receiving unit, on condition that the electronic signature of the program received by the receiving unit is valid. Characteristic program update method.
前記プログラム更新段階は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記更新用記憶媒体から取得される前記プログラムと、そのプログラムに係る電子署名とに更新することを特徴とする請求項14又は15に記載のプログラム更新方法。   In the program updating step, updating the program stored in the storage medium and the electronic signature of the program to the program obtained from the update storage medium and the electronic signature of the program 16. The program updating method according to claim 14, wherein: 前記プログラム更新段階は、前記記憶媒体に記憶された前記プログラムと、そのプログラムに係る電子署名とを、前記受信手段により受信された前記プログラムと、そのプログラムに係る電子署名とに更新することを特徴とする請求項16又は17に記載のプログラム更新方法。   In the program updating step, the program stored in the storage medium and an electronic signature of the program are updated to the program received by the receiving unit and an electronic signature of the program. The program updating method according to claim 16 or 17, wherein: 前記記憶媒体に記憶された前記プログラムを、当該プログラムに係る電子署名の正当性と、当該プログラムに係る設定ファイルの電子署名の正当性とを条件に、当該記憶媒体に記憶された当該設定ファイルに従って起動するプログラム起動段階を備えることを特徴とする請求項14乃至19のいずれか1項に記載のプログラム更新方法。   The program stored in the storage medium is read according to the setting file stored in the storage medium on condition that the validity of the electronic signature of the program and the validity of the electronic signature of the setting file of the program are satisfied. 20. The program updating method according to claim 14, further comprising a program starting step for starting. 請求項1又は2に記載の更新用記憶媒体であって、請求項1又は2に記載の記憶媒体に記憶された前記プログラムを更新するためのプログラムと、そのプログラムに係る電子署名とが記憶された更新用記憶媒体。   An update storage medium according to claim 1 or 2, wherein a program for updating the program stored in the storage medium according to claim 1 and an electronic signature related to the program are stored. Update storage medium.
JP2004057678A 2003-03-19 2004-03-02 Image forming apparatus, program update method, and update storage medium Expired - Fee Related JP4409992B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004057678A JP4409992B2 (en) 2003-03-19 2004-03-02 Image forming apparatus, program update method, and update storage medium
US10/801,684 US7644288B2 (en) 2003-03-19 2004-03-17 Image forming apparauts that checks authenticity of an update program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003076604 2003-03-19
JP2004057678A JP4409992B2 (en) 2003-03-19 2004-03-02 Image forming apparatus, program update method, and update storage medium

Publications (2)

Publication Number Publication Date
JP2004299389A true JP2004299389A (en) 2004-10-28
JP4409992B2 JP4409992B2 (en) 2010-02-03

Family

ID=33421891

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004057678A Expired - Fee Related JP4409992B2 (en) 2003-03-19 2004-03-02 Image forming apparatus, program update method, and update storage medium

Country Status (1)

Country Link
JP (1) JP4409992B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007213246A (en) * 2006-02-08 2007-08-23 Ricoh Co Ltd Application execution device, application execution method and application execution program
JP2007318731A (en) * 2006-04-26 2007-12-06 Ricoh Co Ltd Image forming apparatus capable of managing multiple module constitution information
JP2008171041A (en) * 2007-01-05 2008-07-24 Ricoh Co Ltd Image forming device, start up method of image forming device, control device, and start up method of extension unit
JP2010003233A (en) * 2008-06-23 2010-01-07 Murata Mach Ltd Information communication system and authentication program thereof
JP2010009268A (en) * 2008-06-26 2010-01-14 Murata Mach Ltd Information communication system and authentication program thereof
JP2010044509A (en) * 2008-08-11 2010-02-25 Murata Machinery Ltd Information communication system and authentication program thereof
JP2010044510A (en) * 2008-08-11 2010-02-25 Murata Machinery Ltd Information communication system and authentication program therefor
US8103878B2 (en) 2007-06-06 2012-01-24 Hitachi, Ltd. Control device, update method and control software

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007213246A (en) * 2006-02-08 2007-08-23 Ricoh Co Ltd Application execution device, application execution method and application execution program
JP2007318731A (en) * 2006-04-26 2007-12-06 Ricoh Co Ltd Image forming apparatus capable of managing multiple module constitution information
JP2008171041A (en) * 2007-01-05 2008-07-24 Ricoh Co Ltd Image forming device, start up method of image forming device, control device, and start up method of extension unit
US8103878B2 (en) 2007-06-06 2012-01-24 Hitachi, Ltd. Control device, update method and control software
JP2010003233A (en) * 2008-06-23 2010-01-07 Murata Mach Ltd Information communication system and authentication program thereof
JP2010009268A (en) * 2008-06-26 2010-01-14 Murata Mach Ltd Information communication system and authentication program thereof
JP2010044509A (en) * 2008-08-11 2010-02-25 Murata Machinery Ltd Information communication system and authentication program thereof
JP2010044510A (en) * 2008-08-11 2010-02-25 Murata Machinery Ltd Information communication system and authentication program therefor

Also Published As

Publication number Publication date
JP4409992B2 (en) 2010-02-03

Similar Documents

Publication Publication Date Title
US10148846B2 (en) Information processing system, method and recoding medium
US7644288B2 (en) Image forming apparauts that checks authenticity of an update program
US8082449B2 (en) Information processing apparatus, information processing method, information processing program and recording medium
US7634481B2 (en) File creation method, server, computer terminal, recording medium, information processing apparatus, and program addition system
US8209547B2 (en) Recording medium, storage unit, information processing apparatus, information processing method, information processing program and computer readable medium
JP4575860B2 (en) Image forming apparatus, installation method, installation program, and recording medium
JP5095325B2 (en) Image processing apparatus and image processing method
US20070030495A1 (en) Image forming apparatus, information processing method, information processing program and recording medium
JP4409992B2 (en) Image forming apparatus, program update method, and update storage medium
JP5776741B2 (en) Information processing apparatus, information processing system, information processing method, and information processing program
JP2004303209A (en) Image forming apparatus, program updating method, and storage medium for update
JP2008171041A (en) Image forming device, start up method of image forming device, control device, and start up method of extension unit
JP2006079211A (en) Image formation apparatus, information processing method, information processing program and recording medium
JP2004303222A (en) Information processor, image forming forming device, program starting method, and recording medium
JP4485749B2 (en) Image forming apparatus
JP2004287839A (en) Information processor, image forming device, and program addition method
JP5063718B2 (en) Image forming apparatus and network system
JP2005059587A (en) Image forming apparatus, information processing method, information processing program, and recording medium
JP2010263638A (en) Image forming apparatus and system, information processing method and program, and recording medium
JP2006103290A (en) Image formation device
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: 20060627

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090728

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090925

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

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

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20131120

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees