Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7529097B2 - Processing device and program - Google Patents
[go: Go Back, main page]

JP7529097B2 - Processing device and program - Google Patents

Processing device and program Download PDF

Info

Publication number
JP7529097B2
JP7529097B2 JP2023098648A JP2023098648A JP7529097B2 JP 7529097 B2 JP7529097 B2 JP 7529097B2 JP 2023098648 A JP2023098648 A JP 2023098648A JP 2023098648 A JP2023098648 A JP 2023098648A JP 7529097 B2 JP7529097 B2 JP 7529097B2
Authority
JP
Japan
Prior art keywords
program
firmware
compatibility
acquired
processing device
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.)
Active
Application number
JP2023098648A
Other languages
Japanese (ja)
Other versions
JP2023108000A (en
Inventor
麻人 塩安
真歩 池田
建太 野村
友樹 谷畑
尚志 野田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
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 Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2023098648A priority Critical patent/JP7529097B2/en
Publication of JP2023108000A publication Critical patent/JP2023108000A/en
Application granted granted Critical
Publication of JP7529097B2 publication Critical patent/JP7529097B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Description

本発明は、処理装置及びプログラムに関する。 The present invention relates to a processing device and a program.

複数の部品で構成される製品が故障した場合、故障の疑いがあるモジュールを交換して、保守作業の効率を高めている。ところが、保守期間が長いモジュールの場合、修理の必要が生じた時点で、製品にインストールされているファームウェアとの間で互換性が担保されたモジュールを入手できない場合がある。そのような場合、モジュールの交換と同時にファームウェアの更新が必要となる。 When a product made up of multiple parts breaks down, the module suspected to be faulty is replaced, making maintenance work more efficient. However, when a module has a long maintenance period, it may not be possible to obtain a module that is compatible with the firmware installed in the product at the time the need for repair arises. In such cases, it is necessary to update the firmware at the same time as replacing the module.

特開2006-202117号公報JP 2006-202117 A

ファームウェアを更新する場合、新たにインストールするファームウェアがインストール先のモジュールに適合しているか否かを判断するプログラム(以下「適合判断プログラム」ともいう)が、ファームウェアのインストールを開始する前に実行される。
ところで、適合判断プログラムが、モジュール内の不揮発性メモリに記憶されている場合がある。この場合、交換用の部品として保管されている間に、新たなファームウェアがリリースされることが起こり得る。しかし、適合判断プログラムがプログラミングされたのはモジュールの製造時である。このため、不揮発性メモリに記憶して使用する適合判断プログラムでは、新たにリリースされたファームウェアとの互換性を判断できない。
When updating firmware, a program that determines whether the newly installed firmware is compatible with the module in which it is to be installed (hereinafter also referred to as a "compatibility determination program") is executed before starting the installation of the firmware.
Incidentally, there are cases where the compatibility judgment program is stored in a non-volatile memory in the module. In such cases, it is possible that new firmware will be released while the module is stored as a replacement part. However, the compatibility judgment program was programmed when the module was manufactured. For this reason, the compatibility judgment program stored in the non-volatile memory and used cannot judge compatibility with the newly released firmware.

本発明は、不揮発性メモリに記憶されている適合判断プログラムを用いてファームウェアの更新の適否を判断する場合とは異なり、互換性がないファームウェアが誤ってインストールされないようにすることを目的とする。 Unlike cases where the appropriateness of a firmware update is determined using a compatibility determination program stored in non-volatile memory, the present invention aims to prevent incompatible firmware from being mistakenly installed.

請求項1に記載の発明は、プロセッサと揮発性メモリを有し、前記プロセッサは、ファームウェアの更新モードが起動された場合、ファームウェアと自装置との適合性を判断するプログラムを、自装置の外部から取得し、取得した前記プログラムを前記揮発性メモリ上に展開し、展開された前記プログラムを用い、自装置の外部から取得したファームウェアの適合性を判断する処理装置である。
請求項2に記載の発明は、前記プログラムを用い、前記取得したファームウェアが自装置に適合していると判断したとき、自装置が保持するファームウェアを前記取得したファームウェアで更新する、請求項1に記載の処理装置である。
請求項3に記載の発明は、前記プログラムを用い、前記取得したファームウェアが自装置に適合していないと判断したとき、前記取得したファームウェアが自装置に適合していない旨の情報を示す情報を出力する、請求項1に記載の処理装置である。
請求項4に記載の発明は、前記プロセッサは、前記取得したプログラムを用いた適合性の判断の実行の可否を判断する、請求項1に記載の処理装置である。
請求項に記載の発明は、自装置が適合する前記プログラムのバージョンが記憶される不揮発性メモリを更に有し、前記プロセッサは、前記取得したプログラムのバージョンが、前記不揮発性メモリに記憶されているバージョン以降か否かを判断し、前記取得したプログラムのバージョンが、前記不揮発性メモリに記憶されているバージョン以降である場合、記ファームウェアの適合性の判断を実行する、請求項に記載の処理装置である。
請求項に記載の発明は、前記取得したプログラムのバージョンが、前記不揮発性メモリに記憶されているバージョンよりも古い場合、前記プロセッサは、前記取得したプログラムが不適合であることを示す情報を出力し、前記ファームウェアの適合性の判断を実行しない、請求項に記載の処理装置である。
請求項に記載の発明は、前記プロセッサは最新のバージョンの前記プログラムを取得する、請求項1に記載の処理装置である。
請求項に記載の発明は、コンピュータに、ファームウェアの更新モードが起動された場合、ファームウェアと自装置との適合性を判断すプログラムを、自装置の外部から取得する機能と、取得した前プログラムを揮発性メモリ上に展開する機能と、展開された前プログラムを用い、自装置の外部から取得した前記ファームウェアの適合性を判断する機能とを実現させるためのプログラムである。
The invention described in claim 1 is a processing device having a processor and a volatile memory, wherein when a firmware update mode is activated, the processor acquires from outside the device a program for determining compatibility between the firmware and the device, expands the acquired program onto the volatile memory, and uses the expanded program to determine the compatibility of the firmware acquired from outside the device .
The invention described in claim 2 is a processing device described in claim 1, which uses the program and, when it determines that the acquired firmware is compatible with the device, updates the firmware held by the device with the acquired firmware.
The invention described in claim 3 is a processing device described in claim 1, which, using the program, when it determines that the acquired firmware is not compatible with the device, outputs information indicating that the acquired firmware is not compatible with the device.
The invention described in claim 4 is the processing device described in claim 1, wherein the processor determines whether or not a compatibility determination can be executed using the acquired program.
The invention described in claim 5 is a processing device described in claim 4, further having a non-volatile memory in which the version of the program with which the device is compatible is stored, and the processor determines whether the version of the acquired program is later than the version stored in the non-volatile memory, and if the version of the acquired program is later than the version stored in the non -volatile memory, performs a determination of the compatibility of the firmware.
The invention described in claim 6 is the processing device described in claim 5, in which, if the version of the acquired program is older than the version stored in the non-volatile memory, the processor outputs information indicating that the acquired program is incompatible and does not perform a judgment on the compatibility of the firmware.
According to a seventh aspect of the present invention, there is provided the processing device according to the first aspect , wherein the processor acquires the latest version of the program.
The invention described in claim 8 is a program for enabling a computer to realize the following functions when a firmware update mode is activated: from outside the device, a program for determining compatibility between the firmware and the device; a function for expanding the acquired program onto volatile memory; and a function for using the expanded program to determine compatibility of the firmware acquired from outside the device .

請求項1記載の発明によれば、ファームウェアの適合性の判断に使用するプログラムが固定されないので、適合しないファームウェアが誤ってインストールされないようにできる。
請求項2記載の発明によれば、適合するファームウェアで更新できる。
請求項3記載の発明によれば、適合しないファームウェアによる更新を未然に回避できる。
請求項4記載の発明によれば、適合性の判断の実行の可否を判断できる。
請求項記載の発明によれば、適合性の判断に使用するプログラムのバージョンの適合性を事前に確認するので、適合しないファームウェアが誤ってインストールされないようにできる。
請求項記載の発明によれば、適合しないプログラムによるファームウェアの適合性の判断を回避できる。
請求項記載の発明によれば、自装置が適合するプログラムのバージョンを不揮発性メモリに記憶しておく必要をなくすことができる。
請求項記載の発明によれば、ファームウェアの適合性の判断に使用するプログラムが固定されないので、互換性がないファームウェアが誤ってインストールされないようにできる。
According to the first aspect of the present invention, since the program used to determine the compatibility of firmware is not fixed, it is possible to prevent incompatible firmware from being installed by mistake.
According to the second aspect of the present invention, the firmware can be updated with a suitable firmware.
According to the third aspect of the present invention, updating with incompatible firmware can be avoided in advance.
According to the fourth aspect of the present invention, it is possible to determine whether or not the compatibility determination should be performed.
According to the fifth aspect of the present invention, since the compatibility of the version of the program used to judge compatibility is confirmed in advance, it is possible to prevent incompatible firmware from being erroneously installed.
According to the sixth aspect of the present invention, it is possible to avoid judging the compatibility of firmware using an incompatible program.
According to the seventh aspect of the present invention, it is possible to eliminate the need to store in a non-volatile memory the version of the program that is compatible with the device itself.
According to the eighth aspect of the present invention, since the program used to determine the compatibility of firmware is not fixed, it is possible to prevent incompatible firmware from being installed by mistake.

実施の形態1で使用するネットワークシステムの全体構成の例を概略的に示す図である。1 is a diagram illustrating an example of an overall configuration of a network system used in a first embodiment. 画像形成装置とサーバのハードウェア構成を説明する図である。FIG. 2 is a diagram illustrating a hardware configuration of an image forming apparatus and a server. 実施の形態1における画像形成装置の起動時に実行される処理動作の例を説明するフローチャートである。5 is a flowchart illustrating an example of a processing operation executed at the time of start-up of the image forming apparatus according to the first embodiment. 実施の形態1におけるデバイスボードの交換作業を模式的に説明する図である。4A to 4C are diagrams for explaining a schematic diagram of a device board replacement operation in the first embodiment; 実施の形態2の使用形態の一例を概略的に示す図である。FIG. 13 is a diagram illustrating an example of a usage form of the second embodiment. 実施の形態2における画像形成装置の起動時に実行される処理動作の例を説明するフローチャートである。10 is a flowchart illustrating an example of a processing operation executed at the time of start-up of an image forming apparatus according to a second embodiment. 実施の形態2におけるデバイスボードの交換作業を模式的に説明する図である。13A to 13C are diagrams for explaining a schematic diagram of a device board replacement operation in the second embodiment.

以下、図面を参照して、本発明の実施の形態を説明する。
<実施の形態1>
<システム構成>
図1は、実施の形態1で使用するネットワークシステム1の全体構成の例を概略的に示す図である。
図1に示すネットワークシステム1は、ネットワーク10に接続される画像形成装置20と、サーバ30とで構成される。図1の場合、画像形成装置20は1台であるが複数台でもよい。なお、本実施の形態におけるネットワーク10はインターネットである。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
<First embodiment>
<System Configuration>
FIG. 1 is a diagram illustrating an example of the overall configuration of a network system 1 used in the first embodiment.
The network system 1 shown in Fig. 1 includes an image forming apparatus 20 and a server 30 connected to a network 10. In the case of Fig. 1, there is one image forming apparatus 20, but there may be multiple image forming apparatuses 20. The network 10 in this embodiment is the Internet.

図1に示す画像形成装置20は、用紙に画像を形成する機能に加え、原稿等の画像イメージを読み取る機能やファクシミリ通信を制御する機能も備えている。なお、列記した機能は一例に過ぎず、他の機能を備えることを妨げない。
サーバ30は、画像形成装置20にインストールするファームウェア31と、画像形成装置20で使用する制御基板のハードウェア構成とファームウェア31との適合性を判断するプログラム(以下「適合判断プログラム」という)32を管理する外部装置である。本実施の形態におけるサーバ30は、画像形成装置20を製造したメーカが運用している。以下では、制御基板をデバイスボードという。
1 has a function of forming an image on paper, a function of reading an image of a document, etc., and a function of controlling facsimile communication. Note that the functions listed above are merely examples, and other functions may be included.
The server 30 is an external device that manages firmware 31 to be installed in the image forming apparatus 20 and a program (hereinafter referred to as a "compatibility determination program") 32 that determines the compatibility between the firmware 31 and the hardware configuration of a control board used in the image forming apparatus 20. The server 30 in this embodiment is operated by the manufacturer that manufactured the image forming apparatus 20. Hereinafter, the control board will be referred to as a device board.

図2は、画像形成装置20とサーバ30のハードウェア構成を説明する図である。
画像形成装置20は、CPU(=Central Processing Unit)211等で構成されるデバイスボード201と、外部装置との通信に使用されるネットワークIF(=Interface)202と、用紙に画像を印刷する印刷機構203と、ファクシミリ通信に使用するファクシミリ機構204と、原稿から画像を読み取るスキャナ205と、タッチパネル等で構成される操作パネル206とで構成されている。
FIG. 2 is a diagram illustrating the hardware configuration of the image forming apparatus 20 and the server 30. As shown in FIG.
The image forming device 20 is composed of a device board 201 consisting of a CPU (Central Processing Unit) 211 etc., a network IF (Interface) 202 used for communication with external devices, a printing mechanism 203 that prints images on paper, a facsimile mechanism 204 used for facsimile communication, a scanner 205 that reads images from a document, and an operation panel 206 consisting of a touch panel etc.

デバイスボード201は、CPU211と、ネットワークIF212と、揮発性の記憶デバイスであるRAM(=Random Access Memory)213と、書き換えが可能な不揮発性の記憶デバイスであるフラッシュROM(=Read Only Memory)214と、PCI(=Peripheral Component Interconnect)等のIF215と、書き換えが可能な不揮発性の記憶デバイスであるストレージ216とで構成されている。
フラッシュROM214には、ブートプログラムが記憶されている。ストレージ216はIF215との着脱が自在であり、例えばハードディスク装置や半導体メモリが使用される。
ここでのデバイスボード201は、処理装置の一例である。なお、CPU211はプロセッサ又はコンピュータの一例である。また、RAM213は揮発性メモリの一例である。また、フラッシュROM214は不揮発性メモリの一例である。
The device board 201 is composed of a CPU 211, a network IF 212, a RAM (Random Access Memory) 213 which is a volatile storage device, a flash ROM (Read Only Memory) 214 which is a rewritable non-volatile storage device, an IF 215 such as a PCI (Peripheral Component Interconnect), and storage 216 which is a rewritable non-volatile storage device.
A boot program is stored in the flash ROM 214. The storage 216 is detachable from the IF 215, and may be, for example, a hard disk device or a semiconductor memory.
The device board 201 here is an example of a processing device. The CPU 211 is an example of a processor or a computer. The RAM 213 is an example of a volatile memory. The flash ROM 214 is an example of a non-volatile memory.

サーバ30は、CPU301と、外部装置との通信に使用されるネットワークIF302と、揮発性の記憶デバイスであるRAM303と、不揮発性の記憶デバイスであるROM304と、不揮発性の記憶デバイスであるハードディスク装置305とで構成されている。
ハードディスク装置305には、前述したファームウェア31と適合判断プログラム32とが記憶されている。本実施の形態の場合、ハードディスク装置305に記憶される適合判断プログラム32のバージョンは、常に最新となるようにサーバ30において管理されている。
バージョンが最新の適合判断プログラム32は、過去に製造された任意のデバイスボード201と任意のファームウェアとの互換性の判断が可能である。
The server 30 is composed of a CPU 301, a network IF 302 used for communication with external devices, a RAM 303 which is a volatile storage device, a ROM 304 which is a non-volatile storage device, and a hard disk drive 305 which is also a non-volatile storage device.
The hard disk drive 305 stores the above-mentioned firmware 31 and compatibility determination program 32. In the present embodiment, the version of the compatibility determination program 32 stored in the hard disk drive 305 is managed by the server 30 so that it is always the latest version.
The compatibility determination program 32 with the latest version can determine the compatibility between any firmware and any device board 201 manufactured in the past.

<処理動作>
以下では、図3及び図4を使用して、故障したデバイスボード201を新しいデバイスボード201Nに交換する場合の処理動作を説明する。
図3は、実施の形態1における画像形成装置20の起動時に実行される処理動作の例を説明するフローチャートである。図中のSはステップを意味する。
図4は、実施の形態1におけるデバイスボード201の交換作業を模式的に説明する図である。図4の場合、故障したデバイスボード201に取り付けられていたストレージ216は、故障したデバイスボード201から取り外された後、交換用のデバイスボード201Nに取り付けられる。
<Processing Operation>
The processing operation when replacing the failed device board 201 with a new device board 201N will be described below with reference to FIGS.
3 is a flowchart illustrating an example of a processing operation executed at the start-up of the image forming apparatus 20 according to the first embodiment. In the drawing, "S" denotes a step.
4 is a diagram for explaining the replacement work of the device board 201 in the first embodiment. In the case of Fig. 4, the storage 216 attached to the failed device board 201 is removed from the failed device board 201 and then attached to a replacement device board 201N.

交換用のデバイスボード201Nは、交換の対象であるデバイスボード201とハードウェア構成が同じになるように製造されているが、使用期間が長くなると、一部の部品の入手が不能になることがある。このような場合、入手が不能になった部品の後継部品や互換部品がデバイスボード201Nの製造に使用される。なお、デバイスボード201Nの製造では、製造の時点でリリースされているファームウェアとの互換性も考慮される。ただし、互換性の担保は、デバイスボード201Nを製造した時点で存在するファームウェアとの間であり、将来リリースされるファームウェアとの互換性の担保は不可能である。 The replacement device board 201N is manufactured to have the same hardware configuration as the device board 201 it is replacing, but as the device board is used for a long period of time, some parts may become unavailable. In such cases, successor parts or compatible parts to the parts that are no longer available are used in the manufacture of the device board 201N. Note that when manufacturing the device board 201N, compatibility with firmware released at the time of manufacture is also taken into consideration. However, compatibility is guaranteed only with firmware that exists at the time the device board 201N is manufactured, and compatibility with firmware to be released in the future cannot be guaranteed.

新たなデバイスボード201Nが取り付けられた状態で主電源がオンになると、フラッシュROM214からブートプログラムが読み出され、CPU211により実行される。
まず、CPU211は、ファームウェアの更新モードでの起動か否かを判定する(ステップ1)。
ファームウェアの更新モードによる起動が指示されていない状態で主電源がオンになった場合、CPU211は、ステップ1で否定結果を得、通常モードで起動する(ステップ2)。
一方、ファームウェアの更新モードによる起動を指示された状態で主電源がオンになった場合、CPU211は、ステップ1で肯定結果を得る。すなわち、CPU211は、更新モードで起動する(ステップ3)。
When the main power supply is turned on with the new device board 201N attached, the boot program is read from the flash ROM 214 and executed by the CPU 211.
First, the CPU 211 determines whether or not the device is started in the firmware update mode (step 1).
If the main power is turned on without an instruction to start up in the firmware update mode, the CPU 211 obtains a negative result in step 1 and starts up in the normal mode (step 2).
On the other hand, if the main power is turned on in a state in which startup in the firmware update mode has been instructed, the CPU 211 obtains a positive result in step 1. That is, the CPU 211 starts up in the update mode (step 3).

次に、CPU211は、サーバ30から最新バージョンの適合判断プログラム32をダウンロードする(ステップ4)。図4に示すように、本実施の形態で使用するサーバ30には、常に最新バージョンの適合判断プログラム32が記憶されている。
続いて、CPU211は、サーバ30からファームウェア31をダウンロードする(ステップ5)。
なお、適合判断プログラム32とファームウェア31のダウンロードは並行に実行してもよいし、ファームウェア31のダウンロード後に適合判断プログラム32をダウンロードしてもよい。
Next, the CPU 211 downloads the latest version of the compatibility determination program 32 from the server 30 (step 4). As shown in Fig. 4, the server 30 used in this embodiment always stores the latest version of the compatibility determination program 32.
Next, the CPU 211 downloads the firmware 31 from the server 30 (step 5).
The compatibility determination program 32 and the firmware 31 may be downloaded in parallel, or the compatibility determination program 32 may be downloaded after the firmware 31 is downloaded.

ダウンロードが完了すると、CPU211は、適合判断プログラム32をRAM213上に展開する(ステップ6)。すなわち、適合判断プログラム32は、揮発性の記憶デバイスであるRAM213上に展開される。このため、主電源がオフに操作されると、適合判断プログラム32は、RAM213から失われる。
もっとも、適合判断プログラム32がRAM213から失われても、ファームウェア31はフラッシュROM214に書き込まれているので通常モードによる起動には支障がない。
When the download is complete, the CPU 211 loads the compatibility determination program 32 on the RAM 213 (step 6). That is, the compatibility determination program 32 is loaded on the RAM 213, which is a volatile storage device. Therefore, when the main power is turned off, the compatibility determination program 32 is lost from the RAM 213.
However, even if the compatibility determination program 32 is lost from the RAM 213, the firmware 31 is written in the flash ROM 214, so startup in the normal mode is not affected.

また、ファームウェア31の更新モードによる起動でも、ステップ4に示すように、起動の度に適合判断プログラム32をダウンロードして適合性の判断に用いるので、主電源のオフによる適合判断プログラム32の消失は、ファームウェア31の更新モードによる起動に悪影響はない。
むしろ、ブートプログラムを起動するために主電源を一旦オフした時点でRAM213に記憶されている適合判断プログラム32が消えるため、古い適合判断プログラム32の実行が排除される。
Furthermore, even when the firmware 31 is started in the update mode, as shown in step 4, the compatibility judgment program 32 is downloaded and used to judge compatibility each time the firmware 31 is started, so that the loss of the compatibility judgment program 32 due to the main power being turned off does not adversely affect the startup in the update mode of the firmware 31.
Rather, when the main power is turned off to start the boot program, the compatibility determining program 32 stored in the RAM 213 is erased, so that execution of the old compatibility determining program 32 is eliminated.

RAM213への展開が完了すると、CPU211は、適合判断プログラム32を起動する(ステップ7)。
次に、CPU211は、自装置のハードウェア構成とダウンロードしたファームウェア31との適合性の診断を開始する(ステップ8)。ここでの自装置とは、デバイスボード201Nのことである。
ここで、CPU211は、適合判断プログラム32の実行を通じ、ダウンロードされたファームウェア31が自装置のハードウェア構成に適合するか否かを判定する(ステップ9)。
When the loading into the RAM 213 is completed, the CPU 211 starts the compatibility determination program 32 (step 7).
Next, the CPU 211 starts diagnosing the compatibility between the hardware configuration of its own device and the downloaded firmware 31 (step 8). The own device here refers to the device board 201N.
Here, the CPU 211 judges whether or not the downloaded firmware 31 is compatible with the hardware configuration of the own device through execution of the compatibility judgment program 32 (step 9).

適合が確認された場合、CPU211は、ステップ9で肯定結果を得、ファームウェア31のフラッシュROM214への書き込みを開始する(ステップ10)。
一方、適合しないことが確認された場合、CPU211は、ステップ9で否定結果を得、操作パネル206(図2参照)にエラーを表示する(ステップ11)。この場合は、サーバ30からダウンロードされたファームウェア31をフラッシュROMに書き込むと、画像形成装置20が正しく動作しないことを意味する。
If compatibility is confirmed, the CPU 211 obtains a positive result in step 9, and starts writing the firmware 31 to the flash ROM 214 (step 10).
On the other hand, if it is confirmed that the firmware is not compatible, the CPU 211 obtains a negative result in step 9, and displays an error on the operation panel 206 (see FIG. 2) (step 11). In this case, it means that if the firmware 31 downloaded from the server 30 is written to the flash ROM, the image forming apparatus 20 will not operate correctly.

そこで、CPU211は、「現在のファームウェアは正しく動作しません。別のファームウェアを使用してください」等を操作パネル206に表示し、ブート動作を中断する。
エラー表示を確認した保守スタッフは、別のデバイスボード201Nへの交換や古いファームウェア31のダウンロード等の対策を実行する。
いずれにしても、交換後のデバイスボード201Nに適合しないファームウェア31に更新される事態が未然に回避される。
Therefore, the CPU 211 displays a message such as "The current firmware does not operate correctly. Please use a different firmware" on the operation panel 206, and interrupts the boot operation.
When the maintenance staff confirms the error message, they take measures such as replacing the device board 201N with another one or downloading the old firmware 31.
In any case, it is possible to prevent a situation in which the firmware 31 is updated to one that is not compatible with the replaced device board 201N.

<実施の形態2>
前述の実施の形態の場合には、最新の適合判断プログラム32(図1参照)が記憶されているサーバ30(図1参照)に、画像形成装置20(図1参照)がネットワーク10(図1参照)経由で接続されている場合について説明した。
しかし、画像形成装置20がネットワーク10に接続されていない状態で使用される場合も考えられる。また、画像形成装置20がネットワーク10経由で接続されているサーバ30に、最新の適合判断プログラム32(図1参照)が記憶されている保証がない場合も考えられる。
本実施の形態は、これらの場合にも、デバイスボード201Nに適合しない適合判断プログラム32が使用されない仕組みについて説明する。
<Embodiment 2>
In the above-described embodiment, a case has been described in which an image forming apparatus 20 (see FIG. 1) is connected via a network 10 (see FIG. 1) to a server 30 (see FIG. 1) in which the latest compatibility judgment program 32 (see FIG. 1) is stored.
However, there may be cases where the image forming apparatus 20 is used without being connected to the network 10. There may also be cases where there is no guarantee that the latest compatibility determination program 32 (see FIG. 1) is stored in the server 30 to which the image forming apparatus 20 is connected via the network 10.
In this embodiment, a mechanism will be described in which, even in these cases, the compatibility determination program 32 that is not compatible with the device board 201N is not used.

<システム構成>
図5は、実施の形態2の使用形態の一例を概略的に示す図である。図5の場合、画像形成装置20はネットワークに接続されていない。なお、ファームウェア41と適合判断プログラム42は、画像形成装置20に設けられているメディアポートに接続可能な半導体メモリ40に記憶されている。
なお、画像形成装置20の構成は、図2で説明した構成と同じである。ただし、本実施の形態で使用するフラッシュROM214(図2参照)には、デバイスボード201の製造時点で適合することが検証済みの適合判断プログラムのバージョンが記憶されている。
<System Configuration>
Fig. 5 is a diagram showing an example of a usage form of the embodiment 2. In the case of Fig. 5, the image forming apparatus 20 is not connected to a network. The firmware 41 and the compatibility determination program 42 are stored in a semiconductor memory 40 that can be connected to a media port provided in the image forming apparatus 20.
The configuration of the image forming apparatus 20 is the same as that described in Fig. 2. However, the flash ROM 214 (see Fig. 2) used in this embodiment stores a version of a compatibility determination program that has been verified as being compatible at the time of manufacturing the device board 201.

<処理動作>
以下では、図6及び図7を使用して、故障したデバイスボード201を新しいデバイスボード201Nに交換する場合の処理動作を説明する。
図6は、実施の形態2における画像形成装置20の起動時に実行される処理動作の例を説明するフローチャートである。図6には、図3との対応部分に対応する符号を付して示している。
図7は、実施の形態2におけるデバイスボード201の交換作業を模式的に説明する図である。図7の場合も、故障したデバイスボード201に取り付けられていたストレージ216は、故障したデバイスボード201から取り外した後、交換用のデバイスボード201Nに取り付けて使用される。
<Processing Operation>
The processing operation when replacing the failed device board 201 with a new device board 201N will be described below with reference to FIGS.
Fig. 6 is a flowchart for explaining an example of a processing operation executed at the time of starting up the image forming apparatus 20 in the second embodiment. In Fig. 6, parts corresponding to those in Fig. 3 are denoted by the same reference numerals.
Fig. 7 is a diagram for explaining the replacement work of the device board 201 in the embodiment 2. In the case of Fig. 7 as well, the storage 216 attached to the failed device board 201 is removed from the failed device board 201, and then attached to a replacement device board 201N for use.

主電源がオンになると、フラッシュROM214からブートプログラムが読み出され、CPU211により実行される。
まず、CPU211は、ファームウェアの更新モードでの起動か否かを判定する(ステップ1)。
ファームウェアの更新モードによる起動が指示されていない状態で主電源がオンになった場合、CPU211は、ステップ1で否定結果を得、通常モードで起動する(ステップ2)。
一方、ファームウェアの更新モードによる起動を指示された状態で主電源がオンになった場合、CPU211は、ステップ1で肯定結果を得る。すなわち、CPU211は、更新モードで起動する(ステップ3)。
When the main power is turned on, the boot program is read from the flash ROM 214 and executed by the CPU 211 .
First, the CPU 211 determines whether or not the device is started in the firmware update mode (step 1).
If the main power is turned on without an instruction to start up in the firmware update mode, the CPU 211 obtains a negative result in step 1 and starts up in the normal mode (step 2).
On the other hand, if the main power is turned on in a state in which startup in the firmware update mode has been instructed, the CPU 211 obtains a positive result in step 1. That is, the CPU 211 starts up in the update mode (step 3).

次に、CPU211は、半導体メモリ40からのファームウェア41と適合判断プログラム42の転送が完了したか否かを判定する(ステップ21)。転送が完了していない場合、ステップ21で否定結果が得られる。
ステップ21で肯定結果が得られると、CPU211は、適合判断プログラム42をRAM213上に展開する(ステップ6)。ただし、本実施の形態の場合、半導体メモリ40から転送された適合判断プログラム42は最新バージョンの保証はない。
なお、本実施の形態の場合も、適合判断プログラム42の展開先は、揮発性の記憶デバイスであるRAM213である。
Next, the CPU 211 judges whether or not the transfer of the firmware 41 and the compatibility determination program 42 from the semiconductor memory 40 is complete (step 21). If the transfer is not complete, a negative result is obtained in step 21.
If a positive result is obtained in step 21, the CPU 211 loads the compatibility determination program 42 on the RAM 213 (step 6). However, in this embodiment, there is no guarantee that the compatibility determination program 42 transferred from the semiconductor memory 40 is the latest version.
In this embodiment as well, the compatibility determination program 42 is deployed to the RAM 213, which is a volatile storage device.

RAM213への展開が完了すると、CPU211は、フラッシュROM214に記憶されているバージョンと展開された適合判断プログラム42のバージョンを比較する(ステップ22)。
ここで、ステップ22で展開された適合判断プログラム42のバージョンの方が古いと判断された場合、CPU211は、操作パネル206(図2参照)にエラーを表示する(ステップ23)。操作パネル206には、例えば「最新のバージョンの適合判断プログラムを使用してください」等が表示される。
When the loading into the RAM 213 is completed, the CPU 211 compares the version stored in the flash ROM 214 with the version of the loaded compatibility determination program 42 (step 22).
If it is determined that the version of the compatibility determination program 42 loaded in step 22 is older, the CPU 211 displays an error on the operation panel 206 (see FIG. 2) (step 23). For example, a message such as "Please use the latest version of the compatibility determination program" is displayed on the operation panel 206.

ここでのエラーは、例えばフラッシュROM214に記憶されているバージョンが7であるのに対し、RAM213に展開された適合判断プログラム42のバージョンが6の場合に表示される。換言すると、ここでのエラーは、デバイスボード201の製造時点が、転送された適合判断プログラム42のリリース時点よりも新しい場合に表示される。
このように、本実施の形態の場合には、フラッシュROM214に自装置の適合性の判断に使用が可能な適合判断プログラム42のバージョンが記憶されているので、エラーの表示を通じ、誤った適合判断プログラム42の転送を保守スタッフに知らせることが可能になる。
The error here is displayed, for example, when the version stored in the flash ROM 214 is 7, while the version of the compatibility determination program 42 loaded in the RAM 213 is 6. In other words, the error here is displayed when the manufacturing time of the device board 201 is newer than the release time of the transferred compatibility determination program 42.
In this manner, in the case of this embodiment, since the version of the compatibility judgment program 42 that can be used to judge the compatibility of the own device is stored in the flash ROM 214, it is possible to notify the maintenance staff of the transfer of an incorrect compatibility judgment program 42 by displaying an error.

一方、ステップ22で展開された適合判断プログラム42のバージョンの方が新しいと判断された場合、CPU211は、適合判断プログラム42を起動する(ステップ7)。
次に、CPU211は、自装置のハードウェア構成と転送されたファームウェア41との適合性の診断を開始する(ステップ24)。
ここで、CPU211は、適合判断プログラム42の実行を通じ、ファームウェア41が自装置のハードウェア構成に適合するか否かを判定する(ステップ9)。
On the other hand, if it is determined that the version of the compatibility determination program 42 loaded in step 22 is newer, the CPU 211 starts up the compatibility determination program 42 (step 7).
Next, the CPU 211 starts diagnosing the compatibility between the hardware configuration of its own device and the transferred firmware 41 (step 24).
Here, the CPU 211 judges whether or not the firmware 41 is compatible with the hardware configuration of the own device through execution of the compatibility judgment program 42 (step 9).

適合が確認された場合、CPU211は、ステップ9で肯定結果を得、ファームウェア41のフラッシュROM214への書き込みを開始する(ステップ10)。一方、適合しないことが確認された場合、CPU211は、ステップ9で否定結果を得、操作パネル206(図2参照)にエラーを表示する(ステップ11)。
ステップ11のエラー表示の内容は、ステップ23のエラー表示の内容とは異なる。
なお、本実施の形態の場合にも、実施の形態1の場合のように、画像形成装置20がネットワーク10(図1参照)経由でサーバ30(図1参照)と接続される構成への適用が可能である。もっとも、本実施の仕組みが効果を発揮するのは、サーバ30に記憶されている適合判断プログラム42のバージョンが最新であるか不明な場合である。
If compatibility is confirmed, the CPU 211 obtains a positive result in step 9, and starts writing the firmware 41 to the flash ROM 214 (step 10). On the other hand, if compatibility is confirmed, the CPU 211 obtains a negative result in step 9, and displays an error on the operation panel 206 (see FIG. 2) (step 11).
The content of the error displayed in step 11 is different from the content of the error displayed in step 23 .
Incidentally, this embodiment can also be applied to a configuration in which the image forming apparatus 20 is connected to the server 30 (see FIG. 1) via the network 10 (see FIG. 1) as in the case of the first embodiment. However, the mechanism of this embodiment is effective in a case where it is unknown whether the version of the compatibility determination program 42 stored in the server 30 is the latest.

<他の実施の形態>
以上、本発明の実施の形態について説明したが、本発明の技術的範囲は前述した実施の形態に記載の範囲に限定されない。前述した実施の形態に、種々の変更又は改良を加えたものも、本発明の技術的範囲に含まれることは、特許請求の範囲の記載から明らかである。
<Other embodiments>
Although the embodiment of the present invention has been described above, the technical scope of the present invention is not limited to the scope of the above-mentioned embodiment. It is clear from the claims that various modifications and improvements to the above-mentioned embodiment are also included in the technical scope of the present invention.

例えば前述の実施の形態では、CPU211と、RAM213と、フラッシュROM214とを含むデバイスボード201(図2参照)を備える装置の一例として複数の機能を備える画像形成装置20を説明したが、いずれかの機能の専用装置でも構わない。また、デバイスボード201を備える装置は、画像を形成する装置に限定する必要はなく、テレビやプロジェクタ等の映像機器、通信装置、いわゆる家電製品、車両、船舶、航空機でもよい。 For example, in the above embodiment, an image forming device 20 having multiple functions has been described as an example of a device having a device board 201 (see FIG. 2) including a CPU 211, a RAM 213, and a flash ROM 214, but a device dedicated to any one of the functions may also be used. Furthermore, the device having the device board 201 does not need to be limited to a device that forms images, and may be video equipment such as a television or projector, a communication device, a so-called home appliance, a vehicle, a ship, or an aircraft.

また、前述の実施の形態では、書き換え可能な不揮発性メモリの一例としてフラッシュROM214(図2参照)を例示したが、EEPROM(=Electrically Erasable Programmable ROM)その他の記憶デバイスを用いてもよい。 In addition, in the above-described embodiment, flash ROM 214 (see FIG. 2) is given as an example of a rewritable non-volatile memory, but EEPROM (Electrically Erasable Programmable ROM) or other storage devices may also be used.

1…ネットワークシステム、10…ネットワーク、20…画像形成装置、30…サーバ、31、41…ファームウェア、32、42…適合判断プログラム、40…半導体メモリ、201、201N…デバイスボード、203…印刷機構、204…ファクシミリ機構、205…スキャナ、206…操作パネル 1...Network system, 10...Network, 20...Image forming device, 30...Server, 31, 41...Firmware, 32, 42...Compatibility determination program, 40...Semiconductor memory, 201, 201N...Device board, 203...Printing mechanism, 204...Facsimile mechanism, 205...Scanner, 206...Operation panel

Claims (8)

プロセッサと揮発性メモリを有し、
前記プロセッサは、
ファームウェアの更新モードが起動された場合、ファームウェアと自装置との適合性を判断するプログラムを、自装置の外部から取得し、
取得した前記プログラムを前記揮発性メモリ上に展開し、
展開された前記プログラムを用い、自装置の外部から取得したファームウェアの適合性を判断する
処理装置。
A processor and a volatile memory are included.
The processor,
When a firmware update mode is started, a program for determining compatibility between the firmware and the device is acquired from outside the device;
Developing the acquired program on the volatile memory;
A processing device that uses the deployed program to determine the compatibility of firmware acquired from outside the device .
前記プログラムを用い、前記取得したファームウェアが自装置に適合していると判断したとき、自装置が保持するファームウェアを前記取得したファームウェアで更新する、請求項1に記載の処理装置。The processing device according to claim 1 , wherein, when it is determined by using the program that the acquired firmware is suitable for the processing device itself, the processing device updates firmware held in the processing device itself with the acquired firmware. 前記プログラムを用い、前記取得したファームウェアが自装置に適合していないと判断したとき、前記取得したファームウェアが自装置に適合していない旨の情報を示す情報を出力する、請求項1に記載の処理装置。The processing device according to claim 1 , wherein when it is determined using the program that the acquired firmware is not compatible with the processing device, information indicating that the acquired firmware is not compatible with the processing device is output. 前記プロセッサは、The processor,
前記取得したプログラムを用いた適合性の判断の実行の可否を判断する、Determine whether or not to perform a suitability assessment using the acquired program;
請求項1に記載の処理装置。The processing device of claim 1 .
自装置が適合する前記プログラムのバージョンが記憶される不揮発性メモリを更に有し、
前記プロセッサは、
前記取得したプログラムのバージョンが、前記不揮発性メモリに記憶されているバージョン以降か否かを判断し、
前記取得したプログラムのバージョンが、前記不揮発性メモリに記憶されているバージョン以降である場合、記ファームウェアの適合性の判断を実行する、請求項に記載の処理装置。
The device further includes a non-volatile memory in which a version of the program compatible with the device is stored,
The processor,
determining whether the version of the acquired program is equal to or later than the version stored in the non-volatile memory;
The processing device according to claim 4 , further comprising: a processor configured to execute a determination of compatibility of the firmware when the version of the acquired program is equal to or later than the version stored in the non-volatile memory.
前記取得したプログラムのバージョンが、前記不揮発性メモリに記憶されているバージョンよりも古い場合、
前記プロセッサは、前記取得したプログラムが不適合であることを示す情報を出力し、前記ファームウェアの適合性の判断を実行しない、請求項に記載の処理装置。
If the version of the acquired program is older than the version stored in the non-volatile memory,
The processing device according to claim 5 , wherein the processor outputs information indicating that the acquired program is incompatible, and does not execute a determination of compatibility of the firmware.
前記プロセッサは最新のバージョンの前記プログラムを取得する、請求項1に記載の処理装置。 The processing device of claim 1 , wherein the processor obtains a latest version of the program. コンピュータに、
ファームウェアの更新モードが起動された場合、ファームウェアと自装置との適合性を判断すプログラムを、自装置の外部から取得する機能と、
取得した前プログラムを揮発性メモリ上に展開する機能と、
展開された前プログラムを用い、自装置の外部から取得した前記ファームウェアの適合性を判断する機能と
実現させるためのプログラム。
On the computer,
When a firmware update mode is started, a function of acquiring from outside the device a program for determining compatibility between the firmware and the device;
A function of expanding the acquired program on a volatile memory;
A program for realizing a function of using the deployed program to determine the compatibility of the firmware acquired from outside the device .
JP2023098648A 2019-07-10 2023-06-15 Processing device and program Active JP7529097B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2023098648A JP7529097B2 (en) 2019-07-10 2023-06-15 Processing device and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2019128138A JP7298352B2 (en) 2019-07-10 2019-07-10 processor and program
JP2023098648A JP7529097B2 (en) 2019-07-10 2023-06-15 Processing device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2019128138A Division JP7298352B2 (en) 2019-07-10 2019-07-10 processor and program

Publications (2)

Publication Number Publication Date
JP2023108000A JP2023108000A (en) 2023-08-03
JP7529097B2 true JP7529097B2 (en) 2024-08-06

Family

ID=74531844

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2019128138A Active JP7298352B2 (en) 2019-07-10 2019-07-10 processor and program
JP2023098648A Active JP7529097B2 (en) 2019-07-10 2023-06-15 Processing device and program

Family Applications Before (1)

Application Number Title Priority Date Filing Date
JP2019128138A Active JP7298352B2 (en) 2019-07-10 2019-07-10 processor and program

Country Status (1)

Country Link
JP (2) JP7298352B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000207180A (en) 1999-01-19 2000-07-28 Matsushita Graphic Communication Systems Inc Information processor and program rewriting method
JP2005063050A (en) 2003-08-08 2005-03-10 Canon Inc Peripheral device, firmware update method for the peripheral device, and program
JP2007213404A (en) 2006-02-10 2007-08-23 Canon Inc Embedded device, download method, storage medium, program
JP2009266211A (en) 2008-04-24 2009-11-12 Toshiba Corp System and method for assisting software update of document processing device
JP2015092374A (en) 2005-06-13 2015-05-14 クゥアルコム・インコーポレイテッドQualcomm Incorporated Apparatus and method for managing firmware verification on a wireless device
US20170131999A1 (en) 2015-11-11 2017-05-11 International Business Machnies Corporation Detection of software or hardware incompatibilities in software packages

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3261399B2 (en) * 1997-07-31 2002-02-25 松下電器産業株式会社 Remote maintenance method and remote maintenance device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000207180A (en) 1999-01-19 2000-07-28 Matsushita Graphic Communication Systems Inc Information processor and program rewriting method
JP2005063050A (en) 2003-08-08 2005-03-10 Canon Inc Peripheral device, firmware update method for the peripheral device, and program
JP2015092374A (en) 2005-06-13 2015-05-14 クゥアルコム・インコーポレイテッドQualcomm Incorporated Apparatus and method for managing firmware verification on a wireless device
JP2007213404A (en) 2006-02-10 2007-08-23 Canon Inc Embedded device, download method, storage medium, program
JP2009266211A (en) 2008-04-24 2009-11-12 Toshiba Corp System and method for assisting software update of document processing device
US20170131999A1 (en) 2015-11-11 2017-05-11 International Business Machnies Corporation Detection of software or hardware incompatibilities in software packages

Also Published As

Publication number Publication date
JP2023108000A (en) 2023-08-03
JP7298352B2 (en) 2023-06-27
JP2021015327A (en) 2021-02-12

Similar Documents

Publication Publication Date Title
TWI386847B (en) Method of safe and recoverable firmware update and device using the same
CN104025047A (en) Information Processing Device, Information Processing Method, And Computer Program
US12468527B2 (en) Information processing apparatus, method of controlling the same, and storage medium
JP2011095952A (en) Method for updating firmware and electronic equipment
JP6199796B2 (en) Setting update method and image forming apparatus
JP6482211B2 (en) Information processing apparatus, control method thereof, and program
JP2013004045A (en) Information processing apparatus, starting method of information processing apparatus and starting program
JP2020102141A (en) Information processing device and program
US9600751B2 (en) Image forming apparatus and control method thereof with a determination whether an application relates to a dynamic update for reflecting change of the network setting without rebooting the apparatus
JP7529097B2 (en) Processing device and program
JP2018037052A (en) Information processing device, information processing system, computer program, and method
JP4784100B2 (en) Processing device and firmware download method thereof.
US10554841B2 (en) Image forming apparatus, control method thereof and medium
JP7516126B2 (en) Control device, activation method thereof, and electrical device
JP4463061B2 (en) Firmware management apparatus and management method for electronic equipment
US11972159B2 (en) Image forming device and method of controlling to transmit print data to an image forming device
US20230132214A1 (en) Information processing apparatus and method of the same
US7577766B2 (en) Method for controlling electronic apparatus, program for controlling electronic apparatus, electronic apparatus, and recording apparatus
JP6651895B2 (en) Equipment, control method and program
JP2023130149A (en) Image forming system and image forming device
JP2005032014A (en) Data processor, starting program for data processor, and starting method for data processor
US12572424B2 (en) Incorporated device, method for controlling startup of incorporated device, and storage medium
US20230185553A1 (en) Information processing apparatus, control method of information processing apparatus, and storage medium
JP2025041336A (en) PROGRAM, DEVICE DESIGNATION METHOD, AND INFORMATION PROCESSING APPARATUS - Patent application
JP2004110220A (en) Method for updating program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230714

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230714

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240708

R150 Certificate of patent or registration of utility model

Ref document number: 7529097

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150