JP2000284956A - Information processor - Google Patents

Information processor

Info

Publication number
JP2000284956A
JP2000284956A JP11089467A JP8946799A JP2000284956A JP 2000284956 A JP2000284956 A JP 2000284956A JP 11089467 A JP11089467 A JP 11089467A JP 8946799 A JP8946799 A JP 8946799A JP 2000284956 A JP2000284956 A JP 2000284956A
Authority
JP
Japan
Prior art keywords
program
apl
ram
stored
memory
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
Application number
JP11089467A
Other languages
Japanese (ja)
Inventor
Masahide Ogawa
昌秀 小川
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.)
Toshiba TEC Corp
Original Assignee
Toshiba TEC 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 Toshiba TEC Corp filed Critical Toshiba TEC Corp
Priority to JP11089467A priority Critical patent/JP2000284956A/en
Publication of JP2000284956A publication Critical patent/JP2000284956A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To add a new APL(application program) to a RAM in a state of keeping a system started by deleting a prescribed program stored in the RAM when a program to add to the RAM is read from outside, and storing the pro gram read from outside in connection with the RAM in stead of the deleted program. SOLUTION: The leading address (q) of a dummy APL 32 developed at the last portion in a program group developed in a RAM 3 is obtained. Then, the dummy APL 32 is deleted from the RAM 3. At the time of receiving APL data from an external device next, the APL 32 is developed in the RAM 3 from an address (p) obtained as the leading address. Then, it is discriminated whether or not the APL which is developed from the address (q) of the RAM 3 and stored for discriminating the finish of the APL data is a rewriting program 41 in the program group stored in a flash ROM, and then starts the program 41.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、POS(Point Of
Sales:販売時点情報管理)ターミナル等の情報処理装
置に関し、特に、装置本体に接続されるデバイスをコン
トロールするプログラム群,いわゆるBIOS(Basic
Input Output System:バイオス)を書換可能なROM
(Read Only Memory:リード・オンリ・メモリ)である
フラッシュメモリに記憶してなる情報処理装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a POS (Point Of
Sales: point-of-sale information) Information processing devices such as terminals, in particular, a group of programs for controlling devices connected to the device main body, so-called BIOS (Basic)
Input Output System: ROM with rewritable BIOS
The present invention relates to an information processing device that is stored in a flash memory that is a Read Only Memory (Read Only Memory).

【0002】[0002]

【従来の技術】従来のPOSターミナル等の情報処理装
置の中には、内蔵メモリとして書換不能なROMと、書
換自在なRAM(Random Access Memory:ランダム・ア
クセス・メモリ)と、電気的に書換ができるフラッシュ
ROMとを備え、ROMにはOS(Operating System:
オペレーティング・システム)や装置本体を立上げるプ
ログラム群を予め格納し、フラッシュROMにはキーボ
ードやディスプレイなどのデバイスをコントロールする
BIOSを予め格納し、RAMには外部機器から通信媒
体を介して受信した,もしくはフロッピーディスクやハ
ードディスク等の外部記憶装置から読込んだAPL(Ap
plication Program:アプリケーション・プログラム)
群を展開して格納する。そして、システムの立上げ後に
前記OS及びBIOSの制御下で各APLを一斉にまた
は順次起動することにより、各種の業務を実行するよう
にしたものがある。
2. Description of the Related Art Some conventional information processing apparatuses such as POS terminals include a non-rewritable ROM as a built-in memory, a rewritable RAM (Random Access Memory), and an electrically rewritable RAM. Flash ROM that can be used, and the ROM has an OS (Operating System:
Operating system) and a group of programs for starting up the main body of the apparatus are stored in advance, a flash ROM is stored in advance with a BIOS for controlling devices such as a keyboard and a display, and a RAM is received from an external device via a communication medium. Alternatively, an APL (Ap) read from an external storage device such as a floppy disk or a hard disk.
replication Program: application program)
Expand and store groups. In some cases, after the system is started, various APLs are executed by simultaneously or sequentially activating the APLs under the control of the OS and the BIOS.

【0003】この種の情報処理装置においては、システ
ムの立上げ後はRAMに展開された各APLが一斉にま
たは順次起動されるので、そのままではRAMに新たな
APLを追加することができなかった。
In this type of information processing apparatus, after starting the system, the APLs developed in the RAM are simultaneously or sequentially activated, so that a new APL cannot be added to the RAM as it is. .

【0004】このため、例えばフラッシュROMに格納
されたBIOSを書き換える必要が生じた場合にはフラ
ッシュROMの書換ロジックを有するAPLが必要とな
るので、従来は先ず、システムを一旦停止させる。そし
て次に、プログラムロードのための格別な業務を指定し
てシステムを立ち上げたならば、通信媒体もしくは外部
記憶装置を介してフラッシュROMの書換ロジックを有
するAPLを外部から読込み、RAMに展開して格納す
る。こうすることにより、OSの制御下でRAMに格納
されたAPLが起動され、フラッシュROMの書換ロジ
ックが起動されて、フラッシュROM内のBIOSが通
信媒体もしくは外部記憶装置を介して取込まれたBIO
Sに書き換えられるものとなっていた。
For this reason, for example, when it becomes necessary to rewrite the BIOS stored in the flash ROM, an APL having a rewriting logic of the flash ROM is required. Then, when the system is started up by designating a special job for loading a program, the APL having the rewriting logic of the flash ROM is read from the outside via a communication medium or an external storage device, and loaded into the RAM. And store. Thus, the APL stored in the RAM is started under the control of the OS, the rewriting logic of the flash ROM is started, and the BIOS in the flash ROM is loaded into the BIOS via the communication medium or the external storage device.
It could be rewritten as S.

【0005】[0005]

【発明が解決しようとする課題】このように、従来のこ
の種の情報処理装置においては、システムを立ち上げた
状態で新たなAPLをRAMに追加することができなか
った。このため、例えばフラッシュROMの書換ロジッ
クを有するAPLを追加する場合には、システムの停
止、プログラムロードのための格別な業務指定による立
上げ、APLのロードという煩雑な処理の流れが必要と
なり、作業効率が悪かった。
As described above, in this type of conventional information processing apparatus, a new APL could not be added to the RAM while the system was started. For this reason, for example, when an APL having rewriting logic of a flash ROM is added, a complicated process flow of stopping the system, specifying a special operation for loading a program, and loading the APL is required. It was inefficient.

【0006】本発明はこのような事情に基づいてなされ
たもので、その目的とするところは、システムを立上げ
たまま新たなAPLをRAMに追加することができる情
報処理装置を提供しようとするものである。特に、シス
テムの既存業務に影響を及ぼすことなく新たなAPLを
RAMに追加できるようにする。また、追加するAPL
が書換可能なROMの書換ロジックを有するAPLであ
るとき、自動的にこの書換可能なROMの書換が行われ
るようにする。
The present invention has been made in view of such circumstances, and an object of the present invention is to provide an information processing apparatus capable of adding a new APL to a RAM while the system is running. Things. In particular, a new APL can be added to the RAM without affecting the existing work of the system. APL to be added
Is an APL having a rewritable ROM rewrite logic, the rewritable ROM is automatically rewritten.

【0007】[0007]

【課題を解決するための手段】本願請求項1記載の発明
は、装置本体に接続されるデバイスをコントロールする
プログラム群をROMに予め格納するとともに、装置本
体に実装されたプロセッサに各種の業務を実行させるプ
ログラム群をRAMに展開して格納してなる情報処理装
置において、外部よりRAMに追加するプログラムが読
み込まれる際にRAMに格納された所定のプログラムを
削除するプログラム削除手段と、この削除手段により削
除したプログラムの代わりに外部より読み込んだプログ
ラムをRAMに展開して格納するプログラム入替手段と
備えたものである。このような構成により、システムの
立上げ後に追加される新たなプログラムは、RAMに展
開されていた所定のプログラムと入れ替わってRAMに
格納されるので、この所定のプログラムの代わりに追加
されたプログラムが起動されるようになる。
According to the first aspect of the present invention, a group of programs for controlling devices connected to an apparatus main body is stored in a ROM in advance, and various tasks are executed by a processor mounted on the apparatus main body. In an information processing apparatus in which a group of programs to be executed are expanded and stored in a RAM, a program deleting unit for deleting a predetermined program stored in the RAM when a program to be added to the RAM is read from the outside, and the deleting unit. And a program replacement means for expanding a program read from the outside in the RAM in place of the program deleted by the method and storing it. With such a configuration, a new program added after the start-up of the system is stored in the RAM in place of the predetermined program expanded in the RAM, so that the added program is used instead of the predetermined program. It will be started.

【0008】また、本願請求項2記載の発明は、RAM
から削除される所定のプログラムを、起動されると何も
処理をせずに終了するダミープログラムとしたものであ
る。こうすることにより、新たに追加されるプログラム
の代わりにRAMから削除されるプログラムは、起動さ
れると何も処理せずに終了するダミープログラムなの
で、システムの既存業務に影響を及ぼすことがなく、好
都合である。
Further, the invention according to claim 2 of the present application provides a RAM
Is a dummy program that terminates without any processing when started. By doing so, the program deleted from the RAM in place of the newly added program is a dummy program that terminates without performing any processing when it is started, and thus does not affect the existing operations of the system. It is convenient.

【0009】また、本願請求項3記載の発明は、RAM
から削除される所定のプログラムを、該RAMの最後尾
に格納されたプログラムとしたものである。こうするこ
とにより、RAMに新たなプログラムを展開して格納す
る際に他のプログラムに上書きされるのを防ぐための工
夫が不要となる。
The invention according to claim 3 of the present application provides a RAM
Is a program stored at the end of the RAM. By doing so, it is not necessary to take measures to prevent the new program from being overwritten by another program when the new program is expanded and stored in the RAM.

【0010】また、本願請求項4記載の発明は、装置本
体に接続されるデバイスをコントロールするプログラム
群を格納するROMが書換可能なROMであり、プログ
ラム入替手段によりRAMにロードされたプログラムが
上記書換可能なROMに格納されたプログラム群の書換
プログラムであった場合には、この書換プログラムを自
動的に起動してROMの書換を行わせるメモリ書換制御
手段を設ける。こうすることにより、書換可能なROM
に格納されたプログラム群の書換えを効率よく行うこと
ができる。
The invention according to claim 4 of the present application is a rewritable ROM for storing a group of programs for controlling a device connected to the apparatus main body, and the program loaded into the RAM by the program replacement means stores the program. If the rewriting program is a rewriting program of a group of programs stored in a rewritable ROM, a memory rewriting control means for automatically starting up the rewriting program and rewriting the ROM is provided. By doing so, the rewritable ROM
Can be efficiently rewritten.

【0011】[0011]

【発明の実施の形態】以下、本発明を情報処理装置の1
種であるPOSターミナルに適用した一実施の形態につ
いて、図面を用いて説明する。図1は本発明の一実施の
形態であるPOSターミナルの要部構成を示すブロック
図であって、このPOSターミナルは、制御部本体を構
成するプロセッサとしてCPU(Central Processing U
nit:中央処理装置)1を搭載している。また、読出し
専用のROM2、書換自在なRAM3、電気的に書換え
が可能なフラッシュROM4の各メモリの他、日時を計
時する時計部5、LAN(Local Area Network:ローカ
ル・エリア・ネットワーク)等の通信媒体を介して接続
される上位機器,例えばストアコンピュータ(不図示)
とのデータ通信を制御する通信インタフェース6、「登
録」,「点検」,「精算」,「設定」などのPOSター
ミナルが通常有する各種業務モードの切替えを行うモー
ドスイッチ7から信号を入力するとともに、ドロワ(不
図示)を自動開放させるドロワ開放装置8に駆動信号を
出力するI/O(Input/Output)ポート9、キーボード
10を制御して操作キーに対応したキー信号を取込むキ
ーボードコントローラ11、オペレータ用表示器12及
び客用表示器13をそれぞれ制御して表示データに対応
する文字などを表示させる表示コントローラ14、プリ
ンタ15を制御してレシート印字などを行わせるプリン
タコントローラ16などを搭載している。そして、前記
CPU1と、ROM2,RAM3,フラッシュROM
4,時計部5,通信インタフェース6,I/Oポート
9,キーボードコントローラ11,表示コントローラ1
4及びプリンタコントローラ16とを、アドレスバス,
データバスなどのバスライン17で接続している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, the present invention will be described with reference to an information processing apparatus.
An embodiment applied to a seed POS terminal will be described with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a main part of a POS terminal according to an embodiment of the present invention. This POS terminal has a CPU (Central Processing Unit) as a processor constituting a control unit main body.
nit: central processing unit) 1. In addition to a read-only ROM 2, a rewritable RAM 3, an electrically rewritable flash ROM 4, and other communication devices, a clock unit 5 for clocking the date and time, a LAN (Local Area Network) and other communications. Host device connected via a medium, for example, a store computer (not shown)
A signal is input from a communication interface 6 for controlling data communication with the POS terminal, and a mode switch 7 for switching among various business modes normally provided in the POS terminal such as "registration", "inspection", "payment", and "setting". An I / O (Input / Output) port 9 for outputting a drive signal to a drawer opening device 8 for automatically opening a drawer (not shown), a keyboard controller 11 for controlling a keyboard 10 and taking in a key signal corresponding to an operation key; A display controller 14 for controlling the operator display 12 and the customer display 13 to display characters corresponding to the display data, a printer controller 16 for controlling the printer 15 and performing receipt printing and the like are mounted. I have. And, the CPU1, ROM2, RAM3, flash ROM
4, clock section 5, communication interface 6, I / O port 9, keyboard controller 11, display controller 1
4 and the printer controller 16 are connected to an address bus,
They are connected by a bus line 17 such as a data bus.

【0012】前記ROM2には、図2に示すように、基
本プログラムであるOS(Operating System:オペレー
ティング・システム)21や、後述するAPL入替プロ
グラム22等の固定的なプログラムを予め格納してい
る。
As shown in FIG. 2, the ROM 2 stores in advance fixed programs such as an operating system (OS) 21 as a basic program and an APL replacement program 22 which will be described later.

【0013】前記RAM3には、同図に示すように、前
記「登録」,「点検」,「精算」,「設定」等の各種業
務をCPU1に実行させるプログラム群である複数(A
〜N;ただし、AからNまでの14個に限定されるもの
ではない)のPOS業務・APL(Application Progra
m:アプリケーション・プログラム)31A,31B,
…,31Nに加えて、1つのダミー・APL32を最後
尾に格納している。前記ダミー・APL32は、図3に
示すように、起動されると何も処理をせずに終了するア
プリケーションプログラムである。
As shown in FIG. 1, the RAM 3 includes a plurality of programs (A) as programs for causing the CPU 1 to execute various tasks such as "registration", "inspection", "payment", and "setting".
To N; however, it is not limited to 14 from A to N).
m: application program) 31A, 31B,
, 31N and one dummy APL 32 is stored at the end. As shown in FIG. 3, the dummy APL 32 is an application program that terminates without performing any processing when started.

【0014】一方、前記フラッシュROM4には、キー
ボード10,オペレータ用表示器12,客用表示器13
及びプリンタ15等のデバイスをそれぞれコントロール
するプログラム群であるBIOS(Basic Input Output
System:バイオス)を格納している。
On the other hand, the flash ROM 4 contains a keyboard 10, an operator display 12, and a customer display 13.
And a basic input output (BIOS) which is a program group for controlling devices such as the printer 15 and the like.
System: Bios) is stored.

【0015】しかして、前記CPU1は、システムの立
上げ後、OS21及びBIOSの制御下でRAM3に格
納されている各POS業務APL31A〜31N及び各
ダミーAPL32を順次起動することにより、POSタ
ーミナルとして必要な各種の業務を実行する。具体的に
は、先ず、p1番地より格納されているPOS業務A・
APL31Aを起動する。そして、このAPL31Aを
終了すると、次に、p2番地より格納されているPOS
業務B・APL31Bを起動する。このように、1つの
APLを終了する毎に次の番地に格納されているAPL
を順次起動する。そして、pn番地より格納されている
POS業務N・APL31Nを終了すると、q番地より
格納されているダミー・APL32を起動し、このダミ
ー・APL32を終了すると、p1番地に戻ってPOS
業務A・APL31Aを再度起動する。こうして、CP
U1は、RAM3に格納されている各POS業務・AP
L31A〜31N及び各ダミー・APL32を順次起動
するものとなっている。
After the system is started up, the CPU 1 activates the POS business APLs 31A to 31N and the dummy APLs 32 stored in the RAM 3 sequentially under the control of the OS 21 and the BIOS, thereby enabling the CPU 1 to operate as a POS terminal. Perform various tasks. Specifically, first, the POS business A • stored from address p1
Activate APL 31A. When the APL 31A is completed, the POS stored from the address p2 is next stored.
The business B / APL 31B is started. Thus, every time one APL is completed, the APL stored at the next address is
Are sequentially activated. When the POS business N-APL 31N stored at the address pn is terminated, the dummy APL 32 stored at the address q is activated. When the dummy APL 32 is terminated, the process returns to the address p1 and returns to the POS.
The business A / APL 31A is started again. Thus, CP
U1 is each POS business / AP stored in RAM3.
L31A to 31N and each dummy / APL 32 are sequentially activated.

【0016】またCPU1は、通信インタフェース6に
通信媒体を介して接続された外部機器からAPL入替コ
マンドを受信すると、前記APL入替プログラム22を
起動し、図4の流れ図に示す処理を実行する。先ず、S
T(ステップ)1として現在実行中の各POS業務・A
PL31A〜31N及びダミー・APL32を終了させ
る。次に、ST2としてRAM3に展開されているプロ
グラム群の中の最後尾に展開されているダミー・APL
32の先頭番地qを取得する。しかる後、ST3として
このダミー・APL32をRAM3から削除する(入替
対象プログラム削除手段)。
When the CPU 1 receives an APL replacement command from an external device connected to the communication interface 6 via a communication medium, the CPU 1 activates the APL replacement program 22 and executes the processing shown in the flowchart of FIG. First, S
Each POS business currently running as T (step) 1A
The PL 31A to 31N and the dummy APL 32 are terminated. Next, a dummy / APL developed at the end of the program group developed in the RAM 3 as ST2.
The start address q of 32 is acquired. Thereafter, as ST3, this dummy APL 32 is deleted from the RAM 3 (replacement target program deleting means).

【0017】次に、ST4として前記外部機器から通信
媒体を介してAPLデータを受信するのを待機する。そ
して、APLデータを受信したならば、そのAPLデー
タをダミー・APL32の先頭番地として取得したq番
地からRAM3に展開する(プログラム入替手段)。そ
の後、ST6としてAPLデータの受信終了を判別する
と、ST7としてRAM3のq番地より展開して格納し
たAPLが前記フラッシュROM4に格納されたプログ
ラム群の書換プログラム41(図2参照)か否かを判断
する。そして、書換プログラム41であった場合には、
ST8としてこの書換プログラム41を起動する(メモ
リ書換制御手段)。書換プログラム41以外であった場
合には、そのプログラムを起動しない。以上で、CPU
1は、APL入替プログラム22の処理を終了する。
Next, in step ST4, the process waits for APL data to be received from the external device via the communication medium. When the APL data is received, the APL data is developed in the RAM 3 from the address q obtained as the head address of the dummy APL 32 (program replacement means). Thereafter, when it is determined in step ST6 that the reception of the APL data has been completed, in step ST7, it is determined whether or not the APL developed and stored from the address q of the RAM 3 is the rewrite program 41 of the program group stored in the flash ROM 4 (see FIG. 2). I do. And if it is a rewriting program 41,
In step ST8, the rewriting program 41 is started (memory rewriting control means). If the program is other than the rewriting program 41, the program is not started. With the above, CPU
1 ends the processing of the APL replacement program 22.

【0018】前記書換プログラム41は、フラッシュR
OM4の書換ロジックと書き換えたいBIOSコードデ
ータとを持つAPLである。因みに、書換ロジックは、
一旦フラッシュROM4を消去した後、上記BIOSコ
ードデータを1バイトずつフラッシュROM4に書込む
ロジックである。
The rewriting program 41 includes a flash R
This is an APL having OM4 rewrite logic and BIOS code data to be rewritten. By the way, the rewriting logic is
Once the flash ROM 4 is erased, the logic is to write the BIOS code data into the flash ROM 4 one byte at a time.

【0019】このように本実施の形態においては、RA
M3に、「登録」,「点検」,「精算」,「設定」等の
各種業務をCPU1に実行させる複数のPOS業務・A
PL31A,31B,…,31Nに加えて、1つのダミ
ー・APL32をその最後尾に記憶している。そして、
システム立上げ後は、各POS業務・APL31A,3
1B,…,31N及びダミー・APL32を順次起動し
て、POSターミナルとして必要な各種業務に関わる情
報処理を実行する。
As described above, in the present embodiment, the RA
In M3, a plurality of POS operations / A for causing the CPU 1 to execute various operations such as “registration”, “inspection”, “payment”, and “setting”.
In addition to the PLs 31A, 31B,..., 31N, one dummy APL 32 is stored at the end. And
After the system launches, each POS business / APL31A, 3
, 31N and the dummy APL 32 are sequentially activated to execute information processing relating to various tasks required as a POS terminal.

【0020】ここで、フラッシュROM4に格納された
BIOSを書き換える必要が生じた場合には、先ず、パ
ーソナルコンピュータなどを用いてフラッシュROM4
の書換ロジックと書き換えたいBIOSコードデータと
を持つ書換プログラム41を作成する。そして、この書
換プログラム41を外部機器から通信媒体経由でPOS
ターミナルにロードする。
Here, when it becomes necessary to rewrite the BIOS stored in the flash ROM 4, first, a personal computer or the like is used to rewrite the flash ROM 4.
A rewriting program 41 having rewriting logic and BIOS code data to be rewritten is created. Then, the rewriting program 41 is transmitted from an external device to the POS via a communication medium.
Load into terminal.

【0021】このとき、POSターミナル1において
は、外部機器から書換プログラム41のロード前に送信
されるAPL入替コマンドに応じて、予めRAM3に展
開されているプログラム群のうち最後尾のダミー・AP
L32がクリアされる。そしてクリア後、外部機器から
通信媒体を介して送信されてくる書換プログラム41が
上記ダミー・APL32の先頭アドレスであったq番地
から展開されて格納される。その結果、q番地にはダミ
ー・APL32の代わりに書換プログラム41がRAM
3に格納されることになる。
At this time, in the POS terminal 1, in response to an APL replacement command transmitted from the external device before the rewrite program 41 is loaded, the last dummy AP in the program group developed in the RAM 3 in advance.
L32 is cleared. After clearing, the rewriting program 41 transmitted from the external device via the communication medium is developed and stored from the address q, which was the head address of the dummy APL 32. As a result, the rewrite program 41 is stored in the address q instead of the dummy APL 32 in the RAM.
3 will be stored.

【0022】これにより、その後もCPU1はOS及び
BIOSの制御下でp1番地,p2番地,…pn番地,
q番地の順で各APLを起動するので、q番地にダミー
・APL32の代わりに格納された書換プログラム41
も起動される。したがって、システムを立上げたまま新
たなAPLである書換プログラム41をRAM3に追加
でき、この追加された書換プログラム41によってフラ
ッシュROM4に格納されるBIOSを書き換えること
ができる。
Accordingly, the CPU 1 continues to control the addresses p1, p2,... Pn under the control of the OS and the BIOS.
Since each APL is started in the order of the address q, the rewriting program 41 stored at the address q instead of the dummy APL 32 is stored.
Is also started. Therefore, the rewriting program 41, which is a new APL, can be added to the RAM 3 while the system is running, and the BIOS stored in the flash ROM 4 can be rewritten by the added rewriting program 41.

【0023】ところで、本実施の形態では、書換プログ
ラム41と入れ替えられるRAM3上のプログラムを、
起動されても何も処理をせずに終了するダミー・APL
32に固定化している。したがって、その他の「登
録」,「点検」,「精算」,「設定」等の各種業務をC
PU1に実行させるPOS業務・APL31A,31
B,…,31Nが削除されることはないので、POSタ
ーミナルとしての既存の業務に影響を及ぼすことはな
い。また、システム立上げ後は従来と比較してダミー・
APL32が余分に起動されるが、前述したようにダミ
ー・APL32は起動されても何も処理をせずに終了す
るので処理時間はごく短く、POSターミナルのパフォ
ーマンスが低下することはない。
In the present embodiment, the program on the RAM 3 that is replaced with the rewriting program 41 is
Dummy / APL that terminates without performing any processing even if started
It is fixed to 32. Therefore, other operations such as “registration”, “inspection”, “payment”, “setting”, etc.
POS business executed by PU1 · APL31A, 31
Since B,..., 31N are not deleted, they do not affect the existing business as a POS terminal. In addition, after system startup, dummy
Although the APL 32 is redundantly activated, as described above, even if the dummy APL 32 is activated, the processing is completed without performing any processing. Therefore, the processing time is very short, and the performance of the POS terminal does not decrease.

【0024】また、本実施の形態では、ダミー・APL
32と入れ替えにRAM3に追加されたAPLがフラッ
シュROM4の書換プログラム41であった場合には、
入れ替え後に自動的にこの書換プログラム41を起動し
て、フラッシュROM4のデータを書き換えるようにし
ている。したがって、フラッシュROM4の書換えに要
する手間と時間を大幅に削減することができる。
In this embodiment, the dummy APL
If the APL added to the RAM 3 instead of the APL 32 is the rewriting program 41 of the flash ROM 4,
After the replacement, the rewriting program 41 is automatically started to rewrite the data in the flash ROM 4. Therefore, the labor and time required for rewriting the flash ROM 4 can be greatly reduced.

【0025】因みに、外部機器から通信媒体経由でRA
M3にロードされ自動的に起動された書換プログラム4
1が終了してフラッシュROM4の書換が行われると、
その後、外部機器からは同じく通信媒体経由でダミー・
APL32のロードが行われる。これにより、RAM3
のq番地から展開されていた書換プログラム41が削除
され、その代わりにダミープログラム32がq番地にロ
ードされて、フラッシュROM4の書き換え前の状態に
戻る。
By the way, RA from an external device via a communication medium is used.
Rewriting program 4 loaded into M3 and automatically started
When 1 is completed and the flash ROM 4 is rewritten,
After that, from the external device, the dummy
The APL 32 is loaded. Thereby, RAM3
The rewriting program 41 developed from the address q is deleted, the dummy program 32 is loaded at the address q instead, and the flash ROM 4 returns to the state before rewriting.

【0026】なお、本発明は前記一実施の形態に限定さ
れるものではない。例えば、前記一実施の形態では、C
PU1がRAM3に展開された各APLをp1番地から
順に起動する方式の情報処理装置に本発明を適用した
が、各APLを一斉に起動する方式の情報処理装置にも
本発明を同様に適用できるものである。
The present invention is not limited to the above embodiment. For example, in one embodiment, C
Although the present invention has been applied to the information processing apparatus of the type in which the PU 1 sequentially activates each APL developed in the RAM 3 from address p1, the present invention can be similarly applied to the information processing apparatus of the type in which the APLs are simultaneously activated. Things.

【0027】また、前記一実施の形態では入替対象のプ
ログラムをダミー・APL32としたが、システムの業
務に及ぼす影響が小さいプログラムが他に存在するなら
ば、そのプログラムをRAM3に展開されるプログラム
群の最後尾に格納することにより、ダミー・APL32
を省略することもできる。
In the above-described embodiment, the replacement target program is the dummy APL 32. However, if there is another program that has a small effect on the operation of the system, the program is loaded into the RAM 3 as a group of programs. Of the dummy APL32
May be omitted.

【0028】なお、RAM3に新たなプログラムを展開
して格納する際に他のプログラムに上書きされるのを防
ぐため、自動的にRAM3の空きエリアを探してジャン
プしプログラムを展開する機能を備えることによって、
必ずしも削除対象のプログラムをRAM3に展開される
プログラム群の最後尾に格納する必要はない。
In order to prevent a new program from being overwritten by another program when the new program is expanded and stored in the RAM 3, a function to automatically search for a free area in the RAM 3 and jump to expand the program is provided. By
It is not always necessary to store the program to be deleted at the end of the group of programs developed on the RAM 3.

【0029】また、前記実施の形態では、入替対象のプ
ログラムと入れ替わるプログラムを通信媒体経由でRA
M3にロードしたが、FDD(Floppy Disk Drive)装
置またはHDD(Hard Disc Drive)装置等の外部記憶
装置を有する情報処理装置であれば、この外部記憶装置
の記憶媒体に入れ替わるプログラムを記憶させ、プログ
ラム入替時にCPU1が読込んでRAM3に展開するよ
うに構成することも可能である。この他、本発明の要旨
を逸脱しない範囲で種々変形実施可能であるのは勿論で
ある。
In the above-described embodiment, the program to be replaced with the replacement target program is stored in the RA via the communication medium.
If the information processing device is loaded into the M3 but has an external storage device such as a floppy disk drive (FDD) device or a hard disk drive (HDD) device, a program to be replaced is stored in the storage medium of the external storage device. It is also possible to have a configuration in which the CPU 1 reads the data and develops it in the RAM 3 at the time of replacement. In addition, it goes without saying that various modifications can be made without departing from the spirit of the present invention.

【0030】[0030]

【発明の効果】以上詳述したように本願請求項1記載の
発明によれば、システムを立上げたまま新たなAPLを
RAMに追加することができる情報処理装置を提供でき
る。また、本願請求項2記載の発明によれば、システム
の既存業務に影響を及ぼすことなく新たなAPLをRA
Mに追加できる効果を奏し得る。また、本願請求項3記
載の発明によれば、RAMに新たなプログラムを展開し
て格納する際に他のプログラムに上書きされるのを防ぐ
ための工夫が不要となり、処理を簡略化できる効果を奏
する。
As described in detail above, according to the first aspect of the present invention, it is possible to provide an information processing apparatus capable of adding a new APL to the RAM while the system is running. According to the invention described in claim 2 of the present application, a new APL can be transferred to the RA without affecting the existing business of the system.
An effect that can be added to M can be obtained. Further, according to the invention described in claim 3 of the present application, when a new program is developed and stored in the RAM, there is no need to devise a technique for preventing the program from being overwritten by another program, and the processing can be simplified. Play.

【0031】さらに、本願請求項4記載の発明によれ
ば、追加するAPLが書換可能なROMの書換ロジック
を有するAPLであるとき、自動的にこの書換可能なR
OMの書換ができ、書換可能なROMの書換えを容易に
行い得る効果も奏し得る。
Further, according to the invention described in claim 4, when the APL to be added is an APL having a rewrite logic of a rewritable ROM, the rewritable R is automatically added.
The OM can be rewritten, and the rewritable ROM can be easily rewritten.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 本発明の一実施の形態であるPOSターミナ
ルの要部構成を示すブロック図。
FIG. 1 is a block diagram showing a main configuration of a POS terminal according to an embodiment of the present invention.

【図2】 同POSターミナルが有する主要なプログラ
ムのメモリ展開状態を示す概念図。
FIG. 2 is a conceptual diagram showing a memory development state of a main program of the POS terminal.

【図3】 図2に示すダミー・APLの処理手順を示す
流れ図。
FIG. 3 is a flowchart showing a dummy / APL processing procedure shown in FIG. 2;

【図4】 図2に示すAPL入替プログラムの処理手順
を示す流れ図。
FIG. 4 is a flowchart showing a processing procedure of an APL replacement program shown in FIG. 2;

【符号の説明】[Explanation of symbols]

1…CPU 2…ROM 3…RAM 4…フラッシュROM 6…通信インタフェース 22…APL入替プログラム 32…ダミープログラム 41…フラッシュROM書換プログラム DESCRIPTION OF SYMBOLS 1 ... CPU 2 ... ROM 3 ... RAM 4 ... Flash ROM 6 ... Communication interface 22 ... APL replacement program 32 ... Dummy program 41 ... Flash ROM rewriting program

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 装置本体に接続されるデバイスをコント
ロールするプログラム群をリード・オンリ・メモリに予
め格納するとともに、装置本体に実装されたプロセッサ
に各種の業務を実行させるプログラム群をランダム・ア
クセス・メモリに展開して格納してなる情報処理装置に
おいて、 外部より前記ランダム・アクセス・メモリに追加するプ
ログラムが読み込まれる際に前記ランダム・アクセス・
メモリに格納された所定のプログラムを削除するプログ
ラム削除手段と、 この削除手段により削除したプログラムの代わりに前記
外部より読み込んだプログラムを前記ランダム・アクセ
ス・メモリに展開して格納するプログラム入替手段と、
を具備したことを特徴とする情報処理装置。
1. A program group for controlling a device connected to an apparatus main body is stored in a read-only memory in advance, and a program group for causing a processor mounted on the apparatus main body to execute various tasks is randomly accessed. In an information processing device that is developed and stored in a memory, when a program to be added to the random access memory is read from outside, the random access
Program deletion means for deleting a predetermined program stored in the memory; program replacement means for expanding and storing the program read from the outside in the random access memory instead of the program deleted by the deletion means;
An information processing apparatus comprising:
【請求項2】 前記ランダム・アクセス・メモリから削
除される所定のプログラムを、起動されると何も処理を
せずに終了するダミープログラムとしたことを特徴とす
る請求項1記載の情報処理装置。
2. The information processing apparatus according to claim 1, wherein the predetermined program deleted from the random access memory is a dummy program that terminates without performing any processing when started. .
【請求項3】 前記ランダム・アクセス・メモリから削
除される所定のプログラムを、該ランダム・アクセス・
メモリの最後尾に格納されたプログラムとしたことを特
徴とする請求項1記載の情報処理装置。
3. A method according to claim 1, wherein a predetermined program to be deleted from said random access memory is stored in said random access memory.
2. The information processing apparatus according to claim 1, wherein the program is stored at the end of a memory.
【請求項4】 装置本体に接続されるデバイスをコント
ロールするプログラム群を格納するリード・オンリ・メ
モリが書換可能なリード・オンリ・メモリであり、プロ
グラム入替手段によりランダム・アクセス・メモリに格
納されたプログラムが前記書換可能なリード・オンリ・
メモリに格納されたプログラム群の書換プログラムであ
るとき、この書換プログラムを自動的に起動して前記リ
ード・オンリ・メモリの書換を行わせるメモリ書換制御
手段を具備したことを特徴とする請求項1記載の情報処
理装置。
4. A rewritable read-only memory for storing a program group for controlling a device connected to an apparatus main body, wherein the read-only memory is stored in a random access memory by a program replacing means. The program is rewritable read-only
2. A memory rewriting control means for automatically starting the rewriting program and rewriting the read-only memory when the rewriting program is a rewriting program for a group of programs stored in a memory. An information processing apparatus according to claim 1.
JP11089467A 1999-03-30 1999-03-30 Information processor Pending JP2000284956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11089467A JP2000284956A (en) 1999-03-30 1999-03-30 Information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11089467A JP2000284956A (en) 1999-03-30 1999-03-30 Information processor

Publications (1)

Publication Number Publication Date
JP2000284956A true JP2000284956A (en) 2000-10-13

Family

ID=13971526

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11089467A Pending JP2000284956A (en) 1999-03-30 1999-03-30 Information processor

Country Status (1)

Country Link
JP (1) JP2000284956A (en)

Similar Documents

Publication Publication Date Title
US7188239B2 (en) Apparatus with a standby mode, program and control method for an apparatus with a standby mode
JP3372964B2 (en) Computer system
US7313684B2 (en) Method and apparatus for booting a computer system
TW452734B (en) Method and apparatus for configuring and booting disk drives
US20060242398A1 (en) Booting from non-volatile memory
US7827376B2 (en) System and method for protecting hidden protected area of HDD during operation
JPH0675754A (en) Method for boosting computer at programmed time
JP2000148465A (en) Firmware changing method
US20080059785A1 (en) Method and apparatus for shutting down a computer system
JP2003280914A (en) Information equipment, storage medium, and method for restoring initial condition
JPH05289854A (en) Access device for external storage device
JP6543122B2 (en) INFORMATION PROCESSING APPARATUS, METHOD OF INITIALIZING NONVOLATILE STORAGE DEVICE BY THE INFORMATION PROCESSING APPARATUS, AND PROGRAM
US8335891B2 (en) Method and system for configuring a storage array
US20040221024A1 (en) Apparatus and method for setting environment of client in client / server system, and program recording medium therefor
US6598157B1 (en) Dynamic boot block control by boot configuration determination and subsequent address modification
JP4190789B2 (en) Method and system for automatically concealing PCI expansion card in computer system
JP2000284956A (en) Information processor
JP2008502988A (en) Computer system boot method and apparatus
JP2008059388A (en) Information processor and data erasing method of hard disk applied to information processor
JP3702233B2 (en) Information processing system and program execution mode control method
JP2001344156A (en) Device with flash memory and data rewriting method
JP2003288213A (en) Boot program storage device and method of storing boot program of electronic appliance
JP2002024024A (en) Method and system for performing adapater configuration routine by using different operation mode
JPH10283084A (en) Information processor, control method therefor and storage medium
JP2008176556A (en) Restart test method of information processing unit, and information processing unit