JPH113213A - Information processing system - Google Patents
Information processing systemInfo
- Publication number
- JPH113213A JPH113213A JP16958097A JP16958097A JPH113213A JP H113213 A JPH113213 A JP H113213A JP 16958097 A JP16958097 A JP 16958097A JP 16958097 A JP16958097 A JP 16958097A JP H113213 A JPH113213 A JP H113213A
- Authority
- JP
- Japan
- Prior art keywords
- firmware
- storage unit
- peripheral device
- level device
- stored
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000010365 information processing Effects 0.000 title claims description 18
- 230000002093 peripheral effect Effects 0.000 claims abstract description 74
- 238000004891 communication Methods 0.000 claims description 43
- 238000000034 method Methods 0.000 claims description 34
- 230000008569 process Effects 0.000 claims description 30
- 238000012546 transfer Methods 0.000 claims description 13
- 238000003745 diagnosis Methods 0.000 claims 1
- 238000012545 processing Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000004904 shortening Methods 0.000 description 2
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 1
- 101150046378 RAM1 gene Proteins 0.000 description 1
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
Description
【0001】[0001]
【発明の属する技術分野】本発明は、ファームウェアに
より動作し、所定のタイミングでファームウェアの自動
更新を行うように構成された情報処理システムに関す
る。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system which operates by firmware and is configured to automatically update the firmware at a predetermined timing.
【0002】[0002]
【従来の技術】例えば、金融機関の入出金取引を自動化
する自動取引装置等を管理するシステムでは、店舗に配
置された多数の自動取引装置から取引の情報を収集し、
これを管理し、所定の運用を行う。金融関係の自動機に
限らず、各種の大規模なシステムを構成する自動機は、
顧客の要望や様々な改善要求に応えるため、適宜その動
作用プログラムをバージョンアップする。装置の動作用
プログラム即ちファームウェアをバージョンアップする
ためには、例えば全ての装置のファームウェアが書き込
まれたROM(リード・オンリ・メモリ)を交換する方
法がある。また、ファームウェアをフラッシュメモリの
ような書換え可能な不揮発性メモリに書き込んだ装置で
は、上位装置からバージョンアップのためのファームウ
ェアを転送してダウンロードする。2. Description of the Related Art For example, in a system for managing an automatic transaction device or the like that automates deposit / withdrawal transactions of a financial institution, transaction information is collected from a large number of automatic transaction devices arranged in a store.
This is managed and a predetermined operation is performed. Not only financial-related automated machines, but also automated machines that constitute various large-scale systems,
In order to respond to customer requests and various improvement requests, the operation program is appropriately upgraded. In order to upgrade the operation program of the apparatus, that is, the firmware, for example, there is a method of replacing a ROM (read only memory) in which the firmware of all the apparatuses is written. In a device in which firmware is written in a rewritable nonvolatile memory such as a flash memory, firmware for version upgrade is transferred and downloaded from a host device.
【0003】[0003]
【発明が解決しようとする課題】ところで、上記のよう
な従来のシステムでは、次のような解決すべき課題があ
った。ファームウェアのバージョンアップのためにRO
Mを交換する場合には、保守員が装置を据え付けた場所
に出向き、装置を分解し、再組み立てをするといった作
業が必要になる。あるいは、装置を工場へ送り、工場で
ROMの交換をした後、再び装置を繰り返すといった作
業が必要になる。こうした作業には時間もかかり、また
費用もかかるため、大規模なシステムで使用される多数
の自動機に対する処置としては実用的でない。However, the above-mentioned conventional system has the following problems to be solved. RO to upgrade the firmware
When replacing M, it is necessary for a maintenance worker to go to a place where the device is installed, disassemble the device, and reassemble the device. Alternatively, it is necessary to send the device to a factory, replace the ROM at the factory, and then repeat the device again. These operations are time consuming and expensive, making them impractical for treating many automated machines used in large systems.
【0004】一方、装置のフラッシュメモリ等にバージ
ョンアップ用のファームウェアをダウンロードする方法
は、自動的に手軽に処理が可能な利点がある、反面、上
位装置を操作する係員の誤操作や処理中の停電発生等に
よって、ファームウェアの書換えに失敗することがあ
る。この場合、装置が動作不能になることもある。ま
た、フロッピーディスク等の記憶媒体にファームウェア
を格納し、これを装置の保守者に送付してファームウェ
アの書換えを行うような方法でも、フロッピーディスク
の不良等によって正常な書換えができず、装置が動作不
能になる場合がある。さらに、多数の自動機にフロッピ
ーディスクを装着する作業は大変に煩雑になる。[0004] On the other hand, the method of downloading firmware for upgrading to a flash memory or the like of the apparatus has an advantage that the processing can be automatically and easily performed. Rewriting of the firmware may fail due to occurrence or the like. In this case, the device may become inoperable. In addition, even if the firmware is stored in a storage medium such as a floppy disk and sent to the maintenance person of the device to rewrite the firmware, normal rewriting cannot be performed due to a defective floppy disk, etc. It may be impossible. Further, the operation of mounting a floppy disk on many automatic machines becomes very complicated.
【0005】[0005]
【課題を解決するための手段】本発明は以上の点を解決
するため次の構成を採用する。 〈構成1〉上位装置と、その上位装置により管理される
周辺装置とから成り、上記上位装置には、上記周辺装置
の動作用ファームウェアであって、最新バージョンのも
のを格納する記憶部が設けられ、上記周辺装置には、少
なくとも、その周辺装置の動作用ファームウェアを格納
する書換え可能な不揮発性の記憶部と、当該周辺装置の
初期動作とファームウェアの更新処理を実行する立ち上
げ用プログラムを格納する読み出し専用の記憶部とを備
え、この立ち上げ用プログラムは、システムの立ち上げ
時、上記上位装置の記憶部に格納された最新バージョン
のファームウェアと自己の不揮発性の記憶部に格納され
たファームウェアのバージョンを比較して、自己の不揮
発性の記憶部に格納されたファームウェアのバージョン
が最新のものでないと判断したときは、上記上位装置の
記憶部に格納された最新バージョンのファームウェアを
上記書換え可能な不揮発性の記憶部にダウンロードする
ことを特徴とする情報処理システム。The present invention employs the following structure to solve the above problems. <Configuration 1> Consisting of a host device and a peripheral device managed by the host device, the host device is provided with a storage unit for storing the latest version of operation firmware of the peripheral device. The peripheral device stores at least a rewritable nonvolatile storage unit for storing operation firmware of the peripheral device, and a startup program for executing an initial operation and a firmware update process of the peripheral device. A read-only storage unit. When the system starts up, the boot program stores the latest version of firmware stored in the storage unit of the host device and the firmware stored in its own non-volatile storage unit. By comparing the versions, it is confirmed that the firmware version stored in the nonvolatile storage unit is not the latest version. The information processing system when it is determined is characterized in that download the latest version of the firmware stored in the storage unit of the host apparatus in the storage unit of the rewritable non-volatile and.
【0006】〈構成2〉上位装置と、その上位装置によ
り管理される周辺装置とから成り、上記上位装置には、
上記周辺装置の動作用ファームウェアを格納する記憶部
が設けられ、上記周辺装置には、少なくとも、その周辺
装置の動作用ファームウェアを格納する書換え可能な不
揮発性の記憶部と、当該周辺装置の初期動作とファーム
ウェアの更新処理を実行する立ち上げ用プログラムを格
納する読み出し専用の記憶部とを備え、この立ち上げ用
プログラムは、周辺装置の立ち上げ時、自己の不揮発性
の記憶部に格納されたファームウェアの診断を行い、フ
ァームウェアの更新が必要であるかどうかを判断し、フ
ァームウェアの更新が必要であると判断したときは、上
記上位装置の記憶部に格納されたファームウェアを上記
書換え可能な不揮発性の記憶部にダウンロードすること
を特徴とする情報処理システム。<Structure 2> Consists of a host device and peripheral devices managed by the host device.
A storage unit for storing operation firmware of the peripheral device is provided. The peripheral device includes at least a rewritable nonvolatile storage unit for storing operation firmware of the peripheral device, and an initial operation of the peripheral device. And a read-only storage unit for storing a start-up program for executing a firmware update process. The start-up program stores the firmware stored in its own non-volatile storage unit when the peripheral device starts up. Of the firmware, determine whether the firmware needs to be updated, and when it is determined that the firmware needs to be updated, update the firmware stored in the storage unit of the host device to the rewritable nonvolatile memory. An information processing system, which is downloaded to a storage unit.
【0007】〈構成3〉上位装置と、その上位装置によ
り管理される周辺装置とから成り、上記上位装置には、
上記周辺装置の動作用ファームウェアであって、最新バ
ージョンのものを格納する記憶部が設けられ、上記周辺
装置には、少なくとも、その周辺装置の動作用ファーム
ウェアを格納する書換え可能な不揮発性の記憶部と、当
該周辺装置の初期動作とフアームウェアの更新処理を実
行する立ち上げ用プログラムを格納する読み出し専用の
記憶部とを備え、この立ち上げ用プログラムは、システ
ムの立ち上げ時、自己の不揮発性の記憶部に格納された
ファームウェアの診断を行うとともに、上記上位装置の
記憶部に格納された最新バージョンのファームウェアと
自己の不揮発性の記憶部に格納されたファームウェアの
バージョンを比較して、ファームウェアの更新が必要で
あるかどうかを判断し、ファームウェアの更新が必要で
あると判断したときは、上記上位装置の記憶部に格納さ
れた最新バージョンのファームウェアを上記書換え可能
な不揮発性の記憶部にダウンロードすることを特徴とす
る情報処理システム。<Structure 3> Consists of a host device and peripheral devices managed by the host device.
A storage unit for storing the latest version of operation firmware of the peripheral device is provided, and the peripheral device includes at least a rewritable nonvolatile storage unit for storing operation firmware of the peripheral device. And a read-only storage unit for storing a start-up program for executing an initial operation of the peripheral device and a firmware update process, and the start-up program has its own non-volatile memory when the system starts up. In addition to diagnosing the firmware stored in the storage unit, the latest version of the firmware stored in the storage unit of the host device is compared with the version of the firmware stored in its own non-volatile storage unit. Determined whether an update was required and determined that a firmware update was required The information processing system is characterized in that download the latest version of the firmware stored in the storage unit of the host apparatus in the storage unit of the rewritable non-volatile.
【0008】〈構成4〉構成1から3に記載のシステム
において、上位装置の記憶部には、周辺装置の動作用フ
ァームウェアであって、ホスト側から通信回線を通じて
配付された最新バージョンのものを格納されることを特
徴とする情報処理システム。<Structure 4> In the system described in Structures 1 to 3, the storage unit of the host device stores the latest version of the operation firmware of the peripheral device, which is distributed from the host through the communication line. An information processing system characterized by being performed.
【0009】〈構成5〉構成1から3に記載のシステム
において、立ち上げ用プログラムは、上位装置からファ
ームウェアグラムをダウンロードする間、上位装置から
周辺装置へのデータ転送速度を、通常動作のための転送
速度より高い速度に変更することを特徴とする情報処理
システム。<Structure 5> In the system described in Structures 1 to 3, the start-up program adjusts the data transfer speed from the higher-level device to the peripheral device while downloading the firmwaregram from the higher-level device. An information processing system characterized by changing to a speed higher than a transfer speed.
【0010】〈構成6〉上位装置と、その上位装置によ
り管理される周辺装置とから成り、上記上位装置に、上
記周辺装置から特定のデータを転送する間、周辺装置か
ら上位装置へのデータ転送速度を、通常動作のための転
送速度より高い速度に変更することを特徴とする情報処
理システム。<Structure 6> Consisting of a host device and a peripheral device managed by the host device, while transferring specific data from the peripheral device to the host device, data transfer from the peripheral device to the host device An information processing system, wherein the speed is changed to a speed higher than a transfer speed for normal operation.
【0011】[0011]
【発明の実施の形態】以下、本発明の実施の形態を具体
例を用いて説明する。 〈具体例〉図1は、本発明による情報処理システムの一
例を示すブロック図である。図の装置は、ホストシステ
ム1によって管理され、ホストシステム1と通信回線2
を介して接続された上位装置3が、例えば金融機関の自
動取引装置やカード取り扱い装置等、各種の周辺装置4
を制御する構成となっている。本発明では、こうした周
辺装置4のファームウェアをバージョンアップ等のため
に更新する処理を、自動的に安全確実に行う方法を提供
する。DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below using specific examples. <Specific Example> FIG. 1 is a block diagram showing an example of an information processing system according to the present invention. 1 is managed by a host system 1 and communicates with the host system 1 and a communication line 2.
The host device 3 connected via the PC is connected to various peripheral devices 4 such as an automatic transaction device of a financial institution and a card handling device.
Is controlled. The present invention provides a method for automatically and securely performing such processing for updating the firmware of the peripheral device 4 for version upgrade and the like.
【0012】周辺装置4にはCPUバス5が設けられて
いる。これが通信コントローラ6を介して上位装置3と
接続されている。周辺装置4はプロセッサ7により制御
される。CPUバス5にはこの他にROM(リード・オ
ンリ・メモリ)、フラッシュメモリ9、RAM(ランダ
ム・アクセス・メモリ)11及び各種入出力装置(I/
O)12が接続されている。The peripheral device 4 is provided with a CPU bus 5. This is connected to the host device 3 via the communication controller 6. The peripheral device 4 is controlled by the processor 7. In addition to the above, the CPU bus 5 has a ROM (read only memory), a flash memory 9, a RAM (random access memory) 11, and various input / output devices (I / O).
O) 12 is connected.
【0013】通信コントローラ6は、上位装置3と周辺
装置4との間の通信を制御するインタフェースである。
プロセッサ7は、マイクロプロセッサ及び図示しない内
部メモリ等により構成される。ROM8は、この周辺装
置4を立ち上げる際に最初に起動し、後で説明する初期
動作やファームウェアの更新処理を実行するための立ち
上げ用プログラム14を書き込んだ記憶装置である。こ
れを本発明では読み出し専用の記憶部と呼んでいる。立
ち上げ用プログラム14の書き換えが不用意に行われる
と、後で説明するような確実な立ち上げ処理が不可能に
なるため、このプログラムの記憶には、読み出し専用の
記憶部を使用した。従って書き換え禁止のための保護措
置がなされていれば、ROMでなくても構わない。The communication controller 6 is an interface for controlling communication between the host device 3 and the peripheral device 4.
The processor 7 includes a microprocessor, an internal memory (not shown), and the like. The ROM 8 is a storage device that is started first when the peripheral device 4 is started up, and in which a start-up program 14 for executing an initial operation and a firmware update process described later is written. This is called a read-only storage unit in the present invention. If the start-up program 14 is rewritten carelessly, a reliable start-up process as described later cannot be performed. Therefore, a read-only storage unit is used to store this program. Therefore, as long as protection measures are taken to prevent rewriting, it is not necessary to use a ROM.
【0014】フラッシュメモリ9にはファームウェア1
3が格納される。プロセッサ7は、このファームウェア
13に従って周辺装置本来の動作を実行する。RAM1
1には各種のデータやパラメータが格納され、装置本来
の動作を補助する。入出力装置12は、この周辺装置に
取り付けられた制御対象となる様々な装置で、例えば自
動取引装置の場合、入出金機、カードリーダ、通帳印字
装置等様々なものがある。The flash memory 9 has firmware 1
3 is stored. The processor 7 executes an original operation of the peripheral device according to the firmware 13. RAM1
Various data and parameters are stored in 1 and assist the original operation of the apparatus. The input / output device 12 is a variety of devices to be controlled attached to the peripheral device. For example, in the case of an automatic transaction device, there are various devices such as a cashier, a card reader, and a passbook printer.
【0015】上位装置3には、ハードディスク等の記憶
部15が設けられている。ここには適当なタイミングで
ホストシステム1から通信回線2を介して、最新バージ
ョンのファームウェア16が転送される。即ち、ホスト
システム1は、上位装置3が管理する多数の周辺装置4
のファームウェアを更新するためのプログラムを、適当
なタイミングで通信回線2を介して転送する。上位装置
3は、こうして受け入れた最新バージョンのファームウ
ェア16を記憶部15に格納する。そして、例えば各周
辺装置4は、その電源を投入したときに、上位装置3か
ら記憶部15に格納されたファームウェアのバージョン
等の通知を受ける。The host device 3 is provided with a storage unit 15 such as a hard disk. Here, the latest version of the firmware 16 is transferred from the host system 1 via the communication line 2 at an appropriate timing. That is, the host system 1 includes a number of peripheral devices 4 managed by the host device 3.
A program for updating the firmware is transferred via the communication line 2 at an appropriate timing. The host device 3 stores the latest version of the firmware 16 received in the storage unit 15. Then, for example, each of the peripheral devices 4 receives a notification such as the version of the firmware stored in the storage unit 15 from the host device 3 when the power is turned on.
【0016】図2には、こうしたファームウェアの更新
処理を実行する情報処理システムの動作フローチャート
を図示した。まず、ステップS1において、上位装置3
はホストシステム1から通信回線2を通じてファームウ
ェアを受信する。次に、ステップS2において、上位装
置3は、ファームウェアを記憶部15に保存する。上位
装置3はステップS3において、システムを立ち上げ
る。ここで、各周辺装置4は、その電源が投入される。
ステップS4において、上位装置3は記憶部15内のフ
ァームウェアの版数を周辺装置4に通知する。FIG. 2 shows an operation flowchart of the information processing system for executing such a firmware update process. First, in step S1, the host device 3
Receives firmware from the host system 1 through the communication line 2. Next, in step S2, the host device 3 stores the firmware in the storage unit 15. In step S3, the host device 3 starts up the system. Here, the power of each peripheral device 4 is turned on.
In step S4, the host device 3 notifies the peripheral device 4 of the version number of the firmware in the storage unit 15.
【0017】周辺装置4は電源をオンにするとまず、立
ち上げ用プログラム14が動作し、上位装置3との間の
通信が可能な状態まで装置を立ち上げる。こうして上位
装置3からファームウェアの版数に関する通知を受ける
と、ここで、その版数と自己のフラッシュメモリ9に格
納したファームウェア13の版数とを比較する。また、
同時に自己のフラッシュメモリ9に格納されたファーム
ウェア13の診断を行う。When the power of the peripheral device 4 is turned on, the start-up program 14 first operates to start up the device until communication with the host device 3 is possible. When the notification about the firmware version is received from the host device 3 in this way, the firmware compares the version with the version of the firmware 13 stored in the flash memory 9 of the own device. Also,
At the same time, the firmware 13 stored in its own flash memory 9 is diagnosed.
【0018】その結果、ファームウェアに障害が発生し
たと判断された場合、即ちハッシュエラーが生じた場合
には、ステップS6からステップS8に進み、上位装置
から新たなファームウェアのダウンロードを受ける処理
に移る。即ち、この部分では、ファームウェアのバージ
ョンが異なる場合のみならず、これから動作を開始しよ
うとするファームウェアに何らかの障害がある場合にも
自動的にダウンロードを実行するようにしている。As a result, when it is determined that a failure has occurred in the firmware, that is, when a hash error has occurred, the process proceeds from step S6 to step S8, and the process shifts to a process of receiving a download of new firmware from a higher-level device. That is, in this part, the download is automatically performed not only when the firmware versions are different, but also when there is some kind of trouble in the firmware to be started from now on.
【0019】ステップS7では、ファームウェアの版数
が異なるかどうかを判断し、版数が異なる場合にはステ
ップS8に進み、ダウンロード処理が行われる。ステッ
プS8では、周辺装置4は上位装置3に対しファームウ
ェアのダウンロードを要求する。そして、ステップS9
において、上位装置は記憶部15内のファームウェアを
周辺装置4に送信する。In step S7, it is determined whether or not the firmware versions are different. If the firmware versions are different, the process proceeds to step S8, where a download process is performed. In step S8, the peripheral device 4 requests the host device 3 to download the firmware. Then, step S9
, The host device transmits the firmware in the storage unit 15 to the peripheral device 4.
【0020】次に、ステップS10において、周辺装置
4はファームウェアをフラッシュメモリ9に書き込む。
その後、ステップS11において、周辺装置4は制御を
ROM8の内部の立ち上げ用プログラム14からフラッ
シュメモリ9の内部のファームウェア13に引き継ぐ。Next, in step S10, the peripheral device 4 writes the firmware into the flash memory 9.
Thereafter, in step S11, the peripheral device 4 transfers the control from the startup program 14 in the ROM 8 to the firmware 13 in the flash memory 9.
【0021】最後に、ステップS12において、システ
ムの立ち上げを完了する。なお、ステップS6で、ファ
ームウェアが正常と判断し、ステップS7で、版数が変
化していないと判断されると、そのままステップS11
に進み、制御をファームウェアに移し、システムの立ち
上げを完了する。上位装置3に図示しない多数の周辺装
置が接続されており、これらが一斉に自動的に上記の処
理を実行すれば、係員の作業が大幅に軽減される。Finally, in step S12, the startup of the system is completed. If it is determined in step S6 that the firmware is normal and if it is determined in step S7 that the version number has not changed, the process proceeds to step S11.
Then, the control is transferred to the firmware, and the start-up of the system is completed. A large number of peripheral devices (not shown) are connected to the host device 3, and if these peripheral devices automatically execute the above-described processing at the same time, the work of the staff is greatly reduced.
【0022】図3には、本発明の変形例ブロック図を示
す。ここで、自動取引装置のような各種の周辺装置が正
常に装置本来の動作を実行している場合を考える。この
とき、こうした装置は、例えば取引の結果をホストシス
テムに通知し、ホストシステムから各種の情報を受け入
れて、取引処理等を実行する。通常の動作中、周辺装置
は、所定の通信速度によってホストシステムとの通信を
行うよう設定されている。先に説明したようなファーム
ウェアの書換え処理等を実行する場合にも、こうして予
め装置本来の動作のために設定された通信速度でファー
ムウェアダウンロード等が行われる。FIG. 3 is a block diagram showing a modification of the present invention. Here, a case is considered in which various peripheral devices such as an automatic transaction device normally execute the original operation of the device. At this time, such a device notifies, for example, a result of the transaction to the host system, receives various information from the host system, and executes a transaction process or the like. During normal operation, the peripheral device is set to communicate with the host system at a predetermined communication speed. Also in the case of executing the firmware rewriting process or the like as described above, the firmware is downloaded or the like at the communication speed set in advance for the original operation of the device.
【0023】ところが、ファームウェアのデータ量が多
量にある場合、ダウンロードに非常に長時間を必要とす
るという問題がある。一方、装置本来の取引の際に採用
する通信速度をあまり高速にすると、プロセッサの通信
制御のための負荷が増大する。一方、負荷が増大しても
高い通信速度を維持しようとすれば高速処理のできるプ
ロセッサが必要になり、ハードウェアコストが増大す
る。そこで、この具体例ではファームウェアのダウンロ
ードの際にのみ、一時的に通信速度を高速に変更する方
法を採用する。However, when the data amount of the firmware is large, there is a problem that the downloading requires a very long time. On the other hand, if the communication speed used in the original transaction of the device is too high, the load for communication control of the processor increases. On the other hand, if an attempt is made to maintain a high communication speed even when the load increases, a processor capable of high-speed processing is required, and the hardware cost increases. Therefore, in this specific example, a method of temporarily changing the communication speed to a high speed only when downloading the firmware is adopted.
【0024】図3において、上位装置3には、RAM2
2、ROM23、CPU24、通信コントローラ25,
26、各種I/O27が設けられる。(*1)これらは
CPUバス21により相互に接続されている。上位装置
3は、例えばRAM22等に既に説明した最新のバージ
ョンのファームウェアを格納し動作するものとする。ま
た、通信コントローラ25には、例えば紙幣処理装置の
ような周辺装置30が接続されている。周辺装置30
は、通信コントローラ32、CPU33、RAM34、
フラッシュメモリ35及びI/O36をCPUバス31
に接続した構成となっている。また、上位装置3の通信
コントローラ26には、カード処理装置のような周辺装
置40が接続されている。この周辺装置40は、通信コ
ントローラ42、CPU43、RAM44、ROM45
及びI/O46を備え、これらは相互にCPUバス41
により接続されている。In FIG. 3, a host device 3 has a RAM 2
2, ROM 23, CPU 24, communication controller 25,
26, various I / Os 27 are provided. (* 1) These are mutually connected by the CPU bus 21. It is assumed that the host device 3 operates by storing, for example, the latest version of the firmware described above in the RAM 22 or the like. Further, a peripheral device 30 such as a bill processing device is connected to the communication controller 25. Peripheral device 30
Are the communication controller 32, the CPU 33, the RAM 34,
The flash memory 35 and the I / O 36 are connected to the CPU bus 31
It is configured to be connected to Further, a peripheral device 40 such as a card processing device is connected to the communication controller 26 of the host device 3. The peripheral device 40 includes a communication controller 42, a CPU 43, a RAM 44, a ROM 45
And an I / O 46, which are mutually connected to the CPU bus 41.
Connected by
【0025】紙幣処理装置を構成する周辺装置30のI
/Oは、例えば入出金機とする。また、カード処理装置
を構成する周辺装置40のI/Oは、エンボスカードの
イメージを読み取るエンボスリーダとする。I of peripheral device 30 constituting banknote handling machine
/ O is, for example, a depositing / dispensing machine. The I / O of the peripheral device 40 constituting the card processing device is an emboss reader for reading an image of an emboss card.
【0026】ここで、まず周辺装置30がフラッシュメ
モリ35に格納したファームウェア37をバージョンア
ップする場合を考える。このバージョンアップ動作その
ものは、既に図2を用いて説明したとおりである。First, consider a case where the peripheral device 30 upgrades the firmware 37 stored in the flash memory 35. The version upgrade operation itself is as described with reference to FIG.
【0027】図4には、こうしたファームウェア更新時
の通信速度変更動作を示すフローチャートを図示した。
まず、ステップS1において、システムを立ち上げ、ス
テップS2において、ファームウェアの更新があるかど
うかの判断をする。ファームウェアを更新すると判断さ
れるとステップS3に進み、通信速度を、例えば153600
bpsに設定する。そして、ステップS4において、フ
ァームウェアの更新処理を行う。そして、その後ステッ
プS5において、通信速度を9600bpsに再設定する。
この通信速度が、装置本来の動作を実行する場合の通信
速度である。FIG. 4 is a flowchart showing the operation of changing the communication speed at the time of updating the firmware.
First, in step S1, the system is started up, and in step S2, it is determined whether or not the firmware has been updated. When it is determined that the firmware is to be updated, the process proceeds to step S3, and the communication speed is set to, for example, 153600.
Set to bps. Then, in step S4, a firmware update process is performed. Then, in step S5, the communication speed is reset to 9600 bps.
This communication speed is the communication speed when the original operation of the device is executed.
【0028】このようにして、ファームウェアの更新時
のみ通信速度を切り換えることにより、ファームウェア
のダウンロード時間等を短縮する。ステップS6では、
通信速度を正常に戻した後、システムの立ち上げを続行
する。装置の立ち上げ時には、ファームウェアのダウン
ロード等の通信以外の処理はほとんどないため、プロセ
ッサに一時的に負荷がかかっても弊害は生じない。As described above, the communication speed is switched only when the firmware is updated, thereby shortening the firmware download time and the like. In step S6,
After the communication speed is returned to normal, continue booting the system. When the apparatus is started up, there is almost no processing other than communication such as downloading of firmware, so that no harm occurs even if a temporary load is applied to the processor.
【0029】上記のような考え方は、ファームウェアの
更新処理のみに限らず、装置本来の動作中においても、
イメージ転送等特別の処理を実行する際に採用すること
ができる。図5は、こうした特定の処理時の通信速度変
更動作フローチャートを示す。まず、ステップS1にお
いて、例えば図3に示したカード処理装置を構成する周
辺装置40がエンボスリーダであるI/O46を動作さ
せたときを考える。ステップS1は、このI/O46が
動作したかどうかを判断する処理ステップである。ここ
で、エンボスリードが行われると、ステップS2におい
て、通信速度を通常の速度より十分に速い例えば307200
bpsに設定する。そして、ステップS3において、イ
メージデータを上位装置3に向けて送信する。このイメ
ージデータの送信が終了後、ステップS4で、再び通常
の速度である9600bpsに速度の再設定を行う。極めて
短時間であるから、例外を認めて、システム全体として
の効率を図っている。The above-described concept is not limited to only the firmware update process.
It can be employed when executing special processing such as image transfer. FIG. 5 shows a flowchart of a communication speed changing operation at the time of such a specific process. First, in step S1, it is assumed that, for example, the peripheral device 40 constituting the card processing device shown in FIG. 3 operates the I / O 46, which is an emboss reader. Step S1 is a processing step for determining whether or not the I / O 46 has operated. Here, when the emboss read is performed, in step S2, the communication speed is sufficiently higher than the normal speed, for example, 307200.
Set to bps. Then, in step S3, the image data is transmitted to the host device 3. After the transmission of the image data is completed, in step S4, the speed is reset to the normal speed of 9600 bps. Since the time is extremely short, exceptions are allowed to improve the efficiency of the entire system.
【0030】図6には、上記のようなファームウェアの
ダウンロード時あるいは特定の処理の際に通信速度を一
時的にアップした場合の効果を示す。図6(a)はファ
ームウェアの更新での通信時間説明図である。また、
(b)はエンボスイメージデータ送信時での通信時間説
明図である。FIG. 6 shows the effect when the communication speed is temporarily increased at the time of downloading the above-mentioned firmware or at the time of specific processing. FIG. 6A is an explanatory diagram of communication time for updating firmware. Also,
(B) is an explanatory diagram of communication time when embossed image data is transmitted.
【0031】図に示すように、例えばファームウェアの
データ量を約2Mバイトとする。この場合、通信速度を
9600bpsに設定すると、約2403秒即ち40分程度の時
間をダウンロードに費やす。一方、通信速度を先の具体
例に示したように、153600bpsに設定すると、151
秒即ち2分30秒でダウンロードを終了する。このよう
に、ダウンロードの時間を十分に短くすることによっ
て、装置の立ち上げ処理をスピードアップしている。As shown in the figure, for example, the data amount of the firmware is set to about 2 Mbytes. In this case, the communication speed
If it is set to 9600 bps, it takes about 2403 seconds, that is, about 40 minutes to download. On the other hand, if the communication speed is set to 153600 bps as shown in the specific example, 151
The download is completed in seconds, that is, 2 minutes and 30 seconds. As described above, the start-up process of the apparatus is speeded up by sufficiently shortening the download time.
【0032】また、例えばエンボスイメージデータの送
信を考えると、そのデータ量が約13Kバイトとすれ
ば、9600bpsの通信速度では転送に17秒ほどを費や
す。一方、307200bpsの転送速度では、約0.53秒
となる。このように、カードエンボスのイメージを転送
する処理が極めて短時間で行われるため、その他の処理
の妨げとならず、装置本来の動作が円滑に進められる。For example, in consideration of transmission of embossed image data, if the data amount is about 13 Kbytes, about 17 seconds are required for transfer at a communication speed of 9600 bps. On the other hand, at a transfer speed of 307200 bps, it takes about 0.53 seconds. As described above, since the process of transferring the image of the card emboss is performed in a very short time, other processes are not hindered, and the original operation of the device can be smoothly performed.
【0033】[0033]
【発明の効果】以上説明したように、最新バージョンの
ファームウェアを上位装置に記憶し、自動的にファーム
ウェアのダウンロードを行うようにすれば、ファームウ
ェア更新のための時間や費用が十分に節約される。ま
た、周辺装置に立ち上げ用プログラムを設け、これによ
ってファームウェアの更新を自動化すると、人為的にフ
ァームウェア更新処理を行う場合よりも誤操作がなくな
り、安全確実にこの種の処理が可能になる。As described above, if the latest version of the firmware is stored in the host device and the firmware is automatically downloaded, the time and cost for updating the firmware can be saved sufficiently. In addition, when a startup program is provided in the peripheral device to thereby automatically update the firmware, erroneous operations are eliminated as compared with the case where the firmware update process is performed artificially, and this type of process can be performed reliably and securely.
【0034】更に、例えばファームウェアの更新中に停
電が発生してファームウェアの更新に失敗した場合で
も、再び電源を立ち上げれば立ち上げ用プログラムが動
作し、正常にファームウェアの更新を行うことができ
る。更に、フラッシュメモリ中に格納されたファームウ
ェアに障害が発生したような場合でも装置を立ち上げる
ことによって自動的に正常なファームウェアをダウンロ
ードするため、装置の自動復旧が可能になる。Further, for example, even if a power failure occurs during the update of the firmware and the update of the firmware fails, if the power is turned on again, the start-up program operates and the firmware can be updated normally. Furthermore, even when a failure occurs in the firmware stored in the flash memory, the normal firmware is automatically downloaded by starting up the device, so that the device can be automatically restored.
【0035】また、ファームウェアのダウンロードの際
のみ、装置のデータ転送速度を一時的に高速にすること
によってダウンロード時間を短縮し、処理の効率化を図
ることができる。通常動作の場合においても、特定の処
理を実行するとき、一時的に通信速度を増大させるよう
な機能を持たせれば、他の処理に影響を与えることなく
円滑に高速に各種の処理を実行することができる。Further, only when downloading the firmware, the data transfer speed of the apparatus is temporarily increased, so that the download time can be reduced and the processing efficiency can be improved. Even in the case of normal operation, when a specific process is executed, if a function for temporarily increasing the communication speed is provided, various processes can be smoothly and rapidly executed without affecting other processes. be able to.
【図1】本発明による情報処理システム例を示すブロッ
ク図である。FIG. 1 is a block diagram showing an example of an information processing system according to the present invention.
【図2】情報処理システムの動作フローチャートであ
る。FIG. 2 is an operation flowchart of the information processing system.
【図3】本発明の変形例ブロック図である。FIG. 3 is a block diagram showing a modified example of the present invention.
【図4】ファームウェア更新時の通信速度変更動作フロ
ーチャートである。FIG. 4 is a flowchart of a communication speed changing operation at the time of updating a firmware.
【図5】特定の処理時の通信速度変更動作フローチャー
トである。FIG. 5 is a flowchart of a communication speed changing operation at the time of a specific process.
【図6】(a)はファームウェアの更新での通信時間説
明図、(b)はエンボスイメージデータ送信時での通信
時間説明図である。FIG. 6A is an explanatory diagram of communication time when updating firmware, and FIG. 6B is an explanatory diagram of communication time when transmitting emboss image data.
1 ホストシステム 2 通信回線 3 上位装置 4 周辺装置 8 ROM 9 フラッシュメモリ 13 ファームウェア 14 立ち上げ用プログラム 15 記憶部 16 最新バージョンのファームウェア DESCRIPTION OF SYMBOLS 1 Host system 2 Communication line 3 Host device 4 Peripheral device 8 ROM 9 Flash memory 13 Firmware 14 Startup program 15 Storage unit 16 Latest version of firmware
Claims (6)
れる周辺装置とから成り、 前記上位装置には、前記周辺装置の動作用ファームウェ
アであって、最新バージョンのものを格納する記憶部が
設けられ、 前記周辺装置には、少なくとも、その周辺装置の動作用
ファームウェアを格納する書換え可能な不揮発性の記憶
部と、 当該周辺装置の初期動作とファームウェアの更新処理を
実行する立ち上げ用プログラムを格納する読み出し専用
の記憶部とを備え、 この立ち上げ用プログラムは、 システムの立ち上げ時、前記上位装置の記憶部に格納さ
れた最新バージョンのファームウェアと自己の不揮発性
の記憶部に格納されたファームウェアのバージョンを比
較して、自己の不揮発性の記憶部に格納されたファーム
ウェアのバージョンが最新のものでないと判断したとき
は、前記上位装置の記憶部に格納された最新バージョン
のファームウェアを前記書換え可能な不揮発性の記憶部
にダウンロードすることを特徴とする情報処理システ
ム。1. A high-level device and a peripheral device managed by the high-level device, wherein the high-level device is provided with a storage unit for storing the latest version of operation firmware of the peripheral device. The peripheral device stores at least a rewritable nonvolatile storage unit that stores firmware for operation of the peripheral device, and a startup program that executes an initial operation and a firmware update process of the peripheral device. And a read-only storage unit that performs the following operations. When the system is started, the latest version of firmware stored in the storage unit of the host device and the firmware stored in its own non-volatile storage unit The firmware version stored in its own non-volatile storage unit is the latest. Not equal when determining an information processing system, characterized in that download the latest version of the firmware stored in the storage unit of the host system in the storage unit of the rewritable non-volatile.
れる周辺装置とから成り、 前記上位装置には、前記周辺装置の動作用ファームウェ
アを格納する記憶部が設けられ、 前記周辺装置には、少なくとも、その周辺装置の動作用
ファームウェアを格納する書換え可能な不揮発性の記憶
部と、 当該周辺装置の初期動作とファームウェアの更新処理を
実行する立ち上げ用プログラムを格納する読み出し専用
の記憶部とを備え、 この立ち上げ用プログラムは、 周辺装置の立ち上げ時、自己の不揮発性の記憶部に格納
されたファームウェアの診断を行い、ファームウェアの
更新が必要であるかどうかを判断し、ファームウェアの
更新が必要であると判断したときは、前記上位装置の記
憶部に格納されたファームウェアを前記書換え可能な不
揮発性の記憶部にダウンロードすることを特徴とする情
報処理システム。2. A high-level device and a peripheral device managed by the high-level device, wherein the high-level device is provided with a storage unit for storing firmware for operating the peripheral device. At least a rewritable non-volatile storage unit for storing operation firmware of the peripheral device, and a read-only storage unit for storing a start-up program for executing an initial operation and a firmware update process of the peripheral device. This startup program performs a diagnosis of the firmware stored in its own non-volatile storage unit at the time of startup of the peripheral device, determines whether or not the firmware needs to be updated. When it is determined that it is necessary, the firmware stored in the storage unit of the higher-level device is replaced with the rewritable nonvolatile memory. Information processing system, characterized in that the download to 憶部.
れる周辺装置とから成り、 前記上位装置には、前記周辺装置の動作用ファームウェ
アであって、最新バージョンのものを格納する記憶部が
設けられ、 前記周辺装置には、少なくとも、その周辺装置の動作用
ファームウェアを格納する書換え可能な不揮発性の記憶
部と、 当該周辺装置の初期動作とフアームウェアの更新処理を
実行する立ち上げ用プログラムを格納する読み出し専用
の記憶部とを備え、 この立ち上げ用プログラムは、 システムの立ち上げ時、自己の不揮発性の記憶部に格納
されたファームウェアの診断を行うとともに、前記上位
装置の記憶部に格納された最新バージョンのファームウ
ェアと自己の不揮発性の記憶部に格納されたファームウ
ェアのバージョンを比較して、ファームウェアの更新が
必要であるかどうかを判断し、ファームウェアの更新が
必要であると判断したときは、前記上位装置の記憶部に
格納された最新バージョンのファームウェアを前記書換
え可能な不揮発性の記憶部にダウンロードすることを特
徴とする情報処理システム。3. A high-level device and a peripheral device managed by the high-level device, wherein the high-level device is provided with a storage unit that stores the latest version of operation firmware of the peripheral device. The peripheral device includes at least a rewritable non-volatile storage unit that stores firmware for operating the peripheral device, and a startup program that executes an initial operation of the peripheral device and a firmware update process. A read-only storage unit for storing, the startup program diagnoses firmware stored in its own non-volatile storage unit when the system is started up, and stores the firmware in the storage unit of the host device. By comparing the latest firmware version and the firmware version stored in its own non-volatile storage unit, It is determined whether or not the firmware needs to be updated. If it is determined that the firmware needs to be updated, the latest version of the firmware stored in the storage unit of the higher-level device is updated to the rewritable nonvolatile storage unit. An information processing system characterized by downloading to a computer.
て、 上位装置の記憶部には、周辺装置の動作用ファームウェ
アであって、ホスト側から通信回線を通じて配付された
最新バージョンのものを格納されることを特徴とする情
報処理システム。4. The system according to claim 1, wherein the storage unit of the higher-level device stores the latest version of operation firmware of the peripheral device, which is distributed from the host via a communication line. An information processing system comprising:
て、 立ち上げ用プログラムは、上位装置からファームウェア
グラムをダウンロードする間、上位装置から周辺装置へ
のデータ転送速度を、通常動作のための転送速度より高
い速度に変更することを特徴とする情報処理システム。5. The system according to claim 1, wherein the start-up program controls the data transfer speed from the higher-level device to the peripheral device during the download of the firmwaregram from the higher-level device for normal operation. An information processing system wherein the speed is changed to a speed higher than the speed.
れる周辺装置とから成り、 前記上位装置に、前記周辺装置から特定のデータを転送
する間、周辺装置から上位装置へのデータ転送速度を、
通常動作のための転送速度より高い速度に変更すること
を特徴とする情報処理システム。6. A higher-level device and a peripheral device managed by the higher-level device, wherein while transferring specific data from the peripheral device to the higher-level device, a data transfer rate from the peripheral device to the higher-level device is controlled. ,
An information processing system wherein the transfer speed is changed to a speed higher than a transfer speed for normal operation.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16958097A JPH113213A (en) | 1997-06-11 | 1997-06-11 | Information processing system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP16958097A JPH113213A (en) | 1997-06-11 | 1997-06-11 | Information processing system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH113213A true JPH113213A (en) | 1999-01-06 |
Family
ID=15889122
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP16958097A Pending JPH113213A (en) | 1997-06-11 | 1997-06-11 | Information processing system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH113213A (en) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100322006B1 (en) * | 1999-06-09 | 2002-02-06 | 윤종용 | Program upgrading apparatus and method for a firmware board |
| JP2003005991A (en) * | 2001-06-25 | 2003-01-10 | Toshiba Tec Corp | Firmware update system, firmware distribution program and electronic device |
| GB2379761A (en) * | 2001-06-08 | 2003-03-19 | Hewlett Packard Co | System for updating software in an appliance |
| KR100401559B1 (en) * | 1999-10-28 | 2003-10-17 | 엘지전자 주식회사 | Flash ROM Fusing Method Of Processor Board |
| US6748526B1 (en) * | 1999-12-29 | 2004-06-08 | Intel Corporation | CPU stepping and processor firmware matching mechanism |
| KR20040073043A (en) * | 2003-02-13 | 2004-08-19 | 푸른정보기술(주) | Method for auto update firmware of peripheral based web |
| US6904457B2 (en) | 2001-01-05 | 2005-06-07 | International Business Machines Corporation | Automatic firmware update of processor nodes |
| JP2005228201A (en) * | 2004-02-16 | 2005-08-25 | Ricoh Co Ltd | Network equipment |
| JP2006227677A (en) * | 2005-02-15 | 2006-08-31 | Hitachi Omron Terminal Solutions Corp | Firmware download control method |
| JP2008033708A (en) * | 2006-07-31 | 2008-02-14 | Seiko Epson Corp | Method and computer for transmitting software update data |
| US8588622B2 (en) | 2009-03-30 | 2013-11-19 | Fujitsu Optical Components Limited | Optical light source control with auxiliary controller |
| US11520483B2 (en) | 2020-09-24 | 2022-12-06 | Samsung Electronics Co., Ltd. | Operating method for performing firmware image chunk update and verification of whether damage as occurred on storage device |
-
1997
- 1997-06-11 JP JP16958097A patent/JPH113213A/en active Pending
Cited By (13)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100322006B1 (en) * | 1999-06-09 | 2002-02-06 | 윤종용 | Program upgrading apparatus and method for a firmware board |
| KR100401559B1 (en) * | 1999-10-28 | 2003-10-17 | 엘지전자 주식회사 | Flash ROM Fusing Method Of Processor Board |
| US6748526B1 (en) * | 1999-12-29 | 2004-06-08 | Intel Corporation | CPU stepping and processor firmware matching mechanism |
| US6904457B2 (en) | 2001-01-05 | 2005-06-07 | International Business Machines Corporation | Automatic firmware update of processor nodes |
| GB2379761A (en) * | 2001-06-08 | 2003-03-19 | Hewlett Packard Co | System for updating software in an appliance |
| GB2379761B (en) * | 2001-06-08 | 2005-11-02 | Hewlett Packard Co | System and method for appliance adaptation and evolution |
| JP2003005991A (en) * | 2001-06-25 | 2003-01-10 | Toshiba Tec Corp | Firmware update system, firmware distribution program and electronic device |
| KR20040073043A (en) * | 2003-02-13 | 2004-08-19 | 푸른정보기술(주) | Method for auto update firmware of peripheral based web |
| JP2005228201A (en) * | 2004-02-16 | 2005-08-25 | Ricoh Co Ltd | Network equipment |
| JP2006227677A (en) * | 2005-02-15 | 2006-08-31 | Hitachi Omron Terminal Solutions Corp | Firmware download control method |
| JP2008033708A (en) * | 2006-07-31 | 2008-02-14 | Seiko Epson Corp | Method and computer for transmitting software update data |
| US8588622B2 (en) | 2009-03-30 | 2013-11-19 | Fujitsu Optical Components Limited | Optical light source control with auxiliary controller |
| US11520483B2 (en) | 2020-09-24 | 2022-12-06 | Samsung Electronics Co., Ltd. | Operating method for performing firmware image chunk update and verification of whether damage as occurred on storage device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6640334B1 (en) | Method and apparatus of remotely updating firmware of a communication device | |
| US5630139A (en) | Program download type information processor | |
| US6055632A (en) | Method and apparatus for transferring firmware to a non-volatile memory of a programmable controller system | |
| US20110283274A1 (en) | Firmware image update and management | |
| JPH113213A (en) | Information processing system | |
| CN101807152B (en) | Basic output and input system for self verification of selection read only memory and verification method thereof | |
| JPH11272459A (en) | Rewriting method and system for rewritable nonvolatile memory and failure recovery method and system for application program | |
| CN100362470C (en) | A kind of BIOS online upgrade device and method | |
| JPH05197559A (en) | Remote software downloading system | |
| JP3385844B2 (en) | vending machine | |
| CN121116340A (en) | Methods, devices, media, and software products for updating programs on electronic devices | |
| JP2001034822A (en) | Controller for automatic vending machine | |
| JPH10187454A (en) | Bios reloading system | |
| WO2024113995A1 (en) | Bmc heterogeneous upgrading method and system, device, and readable storage medium | |
| JPH1063497A (en) | How to update the program | |
| JPH0855068A (en) | Communication terminal | |
| CN114760621A (en) | Terminal flashing method and device, computer equipment and storage medium | |
| JP3265108B2 (en) | Data processing system | |
| KR100860402B1 (en) | System upgrade method and method using two-stage boot loader | |
| JP3037136B2 (en) | Download program backup device | |
| JP2001273143A (en) | Electronic control unit | |
| JP2009080592A (en) | Firmware rewriting method | |
| CN114237655A (en) | Firmware program remote loading method, system and medium for self-service terminal equipment | |
| JP2000207180A (en) | Information processor and program rewriting method | |
| JPH09114671A (en) | Remote program change method |