[go: up one dir, main page]

JPH03269633A - Terminal program rewriting system - Google Patents

Terminal program rewriting system

Info

Publication number
JPH03269633A
JPH03269633A JP2068242A JP6824290A JPH03269633A JP H03269633 A JPH03269633 A JP H03269633A JP 2068242 A JP2068242 A JP 2068242A JP 6824290 A JP6824290 A JP 6824290A JP H03269633 A JPH03269633 A JP H03269633A
Authority
JP
Japan
Prior art keywords
program
rom
terminal
rewriting
programs
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
JP2068242A
Other languages
Japanese (ja)
Inventor
Ryoichi Nakada
亮一 中田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2068242A priority Critical patent/JPH03269633A/en
Publication of JPH03269633A publication Critical patent/JPH03269633A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 〔概 要〕 通信回線を介してホストコンピュータと接続されている
端末機のプログラム書替方式に関し、端末機内のROM
やROMカードを交換することなく、この端末機のプロ
グラムを変更し得るようにすることを目的とし、 書替え可能なリードオンリメモリにプログラム書替処理
プログラムを含むプログラムを格納し、ホストからプロ
グラム書替動作が起動されたときにはこのホストから伝
送されてきたプログラムによって上記リードオンリメモ
リ内のプログラムを書替えるように構成した。
[Detailed Description of the Invention] [Summary] Regarding a program rewriting method for a terminal connected to a host computer via a communication line,
The purpose is to make it possible to change the program of this terminal without replacing the ROM card or ROM card, by storing a program including a program rewriting processing program in a rewritable read-only memory, and allowing the program to be rewritten from the host. When the operation is started, the program in the read-only memory is rewritten by the program transmitted from the host.

〔産業上の利用分野〕[Industrial application field]

通信回線を介してホストコンピュータと接続されている
端末機のプログラム書替方式に関する。
The present invention relates to a program rewriting method for a terminal connected to a host computer via a communication line.

〔従来の技術〕[Conventional technology]

ホストコンピュータに通信回線を介して多数の端末機を
接続したシステムが実用されているが、近時はこれら端
末機を一般家庭などに設置して商取引を行うようなシス
テムが開発されている。
Systems in which a large number of terminals are connected to a host computer via communication lines are in practical use, but recently systems have been developed in which these terminals are installed in ordinary homes and the like to conduct commercial transactions.

このようなシステムの端末機はり一ドオンリメモリ (
以下、ROM、という)やROMカードなどの記録媒体
内に各種のプログラムを格納しており、これらのプログ
ラムによってホストとの間の通信制御やデータ処理、デ
ータ交換などを実行している。
The terminal of such a system has only one memory (
Various programs are stored in recording media such as ROM (hereinafter referred to as ROM) and ROM cards, and these programs execute communication control, data processing, data exchange, etc. with the host.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

しかしながら、サービスの拡大などによってプログラム
を変更する場合、ホストのプログラムを変更することは
容易であるにしても、上記のように各家庭内などにある
端末機のプログラムを変更するためには上記のようなプ
ログラムを格納しているROMやROMカードなどを交
換しなければならず、多くの手間と費用を必要とするば
かりでなく、特に多数の一般家庭などある端末機のプロ
グラムを上記のような方法で変更することは極めて困難
である。
However, when changing programs due to service expansion, etc., even though it is easy to change the host program, in order to change the program on the terminals in each home as mentioned above, it is necessary to do the above. It is not only necessary to replace the ROM or ROM card that stores such programs, which not only requires a lot of effort and expense, but also requires replacing the programs on certain terminals, especially in many ordinary households. It is extremely difficult to change the method.

また、プログラムの変更を容易にするために端末機にバ
ッテリバックアップされた不揮発性RAMなどを用いる
ことが考えられるが、前記のような商取引に用いられる
ような端末機においてはそのプログラムの記憶について
の信頼性が低いためにこれを実用することには問題があ
る。
Additionally, in order to make it easier to change programs, it is conceivable to use non-volatile RAM with battery backup in the terminal, but in terminals used for commercial transactions as mentioned above, it is difficult to store the program. This is problematic in practical use due to its low reliability.

本発明は端末機内のROMやROMカードを交換するこ
となく、この端末機のプログラムを変更し得るようにし
た端末機のプログラム書替方式を提供することを目的と
する。
SUMMARY OF THE INVENTION An object of the present invention is to provide a program rewriting method for a terminal that allows the program of the terminal to be changed without replacing the ROM or ROM card in the terminal.

〔課題を解決するための手段〕[Means to solve the problem]

書替え可能なリードオンリメモリにプログラム書替処理
プログラムを含むプログラムを格納し、ホストからプロ
グラム書替動作が起動されたときにはこのホストから伝
送されてきたプログラムによって上記リードオンリメモ
リ内のプログラムを書替えるように構成した。
A program including a program rewrite processing program is stored in a rewritable read-only memory, and when a program rewrite operation is started from a host, the program in the read-only memory is rewritten by the program transmitted from the host. It was configured as follows.

〔作 用〕[For production]

第1図の原理的実施例に示すように、端末機1のエレク
トリカルイレーザブルプログラマブルリードオンリメモ
リ (EEPROM)などからなる書替可能ROM2は
マイクロプロセッサ4が各種の処理を実行するための処
理プログラムを格納している。
As shown in the principle embodiment of FIG. 1, a rewritable ROM 2 such as an electrically erasable programmable read-only memory (EEPROM) of a terminal 1 stores processing programs for a microprocessor 4 to execute various processes. are doing.

この端末機の処理プログラムを変更する際にはホストコ
ンピュータからこの端末機1のROM書替機能を起動し
、このホストコンピュータから転送されてきた新しいプ
ログラムを例えばROM書替回路3によって前記の書替
可能ROM2に書込む。
When changing the processing program of this terminal, the ROM rewriting function of this terminal 1 is started from the host computer, and the new program transferred from the host computer is rewritten by the ROM rewriting circuit 3, for example. Write to ROM2.

この書替えが終了すれば端末機1は新しいプログラムに
よる処理を実行するようになる。
Once this rewriting is completed, the terminal device 1 will begin to execute processing based on the new program.

〔実施例〕〔Example〕

第1図は本発明を適用した端末機の原理的実施例を示す
もので、この端末機1は上記書替可能R○M2、ROM
書替回路3およびマイクロプロセッサ4に加えてランダ
ムアクセスメモリ (RAM)5および通信制御回路6
を備えている。
FIG. 1 shows a principle embodiment of a terminal device to which the present invention is applied.
In addition to the rewrite circuit 3 and microprocessor 4, a random access memory (RAM) 5 and a communication control circuit 6
It is equipped with

第2図は上記の第1図に示した原理的実施例の動作の例
を説明するためのものであり、これらの図を参照しなが
らこの実施例のプログラム書替動ず乍を説明する。
FIG. 2 is for explaining an example of the operation of the principle embodiment shown in FIG. 1, and the program rewriting operation of this embodiment will be explained with reference to these figures.

ホストコンビコータはプログラムの書替動作の最初のス
テップとして、この端末機1との間で通信を行い、第2
図に(1)で示すように、例えばRAM5の記憶領域の
一部に設定されているROM書替モードフラグをセット
することによってこの端末機をプログラム書替モードに
設定する。
As the first step in rewriting the program, the host combicoater communicates with this terminal 1, and then
As shown in (1) in the figure, this terminal is set to program rewrite mode by setting a ROM rewrite mode flag set in a part of the storage area of the RAM 5, for example.

端末機1はプログラム書替モードに設定されると、第2
図に(2)で示すように、ROM2内の通信制御機能と
ROM書替制御機能とを達成するに必要なプログラムを
RAM5に転送し、マイクロプロセッサ4の制御をRA
M5上のプログラムに切換える。
When terminal 1 is set to program rewrite mode, the second
As shown in (2) in the figure, the programs necessary to achieve the communication control function and ROM rewrite control function in the ROM2 are transferred to the RAM5, and the control of the microprocessor 4 is transferred to the RAM.
Switch to the program on M5.

マイクロプロセッサ4はRAM5に格納されている上記
通信制御プログラムによってホストコンピュータからの
新しいプログラムを受信し、第2図に(3)で示すよう
に、上記RAM5の一部に設けられている受信データ格
納領域にこの新しいプログラムを格納する。なお、この
新しいプログラムは、第2図のROM内に示した通信制
御機能とROM書替制御機能とを達成するに必要なプロ
グラムあるいは他のプログラムのいずれに関するもので
あってもよい。
The microprocessor 4 receives a new program from the host computer using the communication control program stored in the RAM 5, and as shown in (3) in FIG. Store this new program in the area. Note that this new program may relate to any of the programs necessary to achieve the communication control function and ROM rewriting control function shown in the ROM of FIG. 2, or to other programs.

上記の新プログラムのRAM5への格納が終了すると、
書替制御ブーログラムにしたがってROM書替回路3は
書替可能ROM2内のこの新プログラムに書替えられる
べきプログラムを消去し、次いで第2図に(4)で示し
たように、RAM5から新プログラムをこのROM2に
転送して書込む。
Once the above new program has been stored in RAM5,
According to the rewriting control program, the ROM rewriting circuit 3 erases the program to be rewritten with this new program in the rewritable ROM 2, and then transfers this new program from the RAM 5 as shown in (4) in FIG. Transfer and write to ROM2.

この書込みが終了すると、書替制御プログラムによって
、ROM2からこの新たに書込んだプログラムを読出し
てRAM5に格納されている新プログラムと第2図に(
5)で示したように比較し、その結果をホストコンピュ
ータに通知する。もし上記比較の結果が不一致であれば
、マイクロプロセッサ4は書替プログラムによって端末
機内でRAM5からROM2への書込みを再試行する。
When this writing is completed, the rewriting control program reads out this newly written program from ROM2 and displays the new program stored in RAM5 as shown in FIG.
Compare as shown in 5) and notify the host computer of the results. If the result of the above comparison does not match, the microprocessor 4 re-attempts writing from the RAM 5 to the ROM 2 within the terminal using the rewrite program.

比較の結果が一致すると、ホストコンピュータは前記の
ROM書替モードフラグをリセットするとともにマイク
ロプロセッサがROM2が格納しているプログラムにし
たがった処理を行うように切換え、これによってプログ
ラム書替動作を終了する。
If the comparison results match, the host computer resets the ROM rewriting mode flag and switches the microprocessor to perform processing according to the program stored in ROM 2, thereby ending the program rewriting operation. .

上記の実施例では書替動作を実行する際に、通信制御機
能とROM書替制御機能を達成するために必要なプログ
ラムをROlvl 2からRA M5に転送しているが
、これらのプログラムをホストコンピュータから送信す
るようにしてもよい。また、これらの書替実行時に使用
するプログラムを別個のROMとして実装しておけば、
書替えの失敗があった場合でも再試行することによって
書替が可能になる可能性は高いけれども、ハードウェア
が増加するという問題がある。
In the above embodiment, when executing the rewriting operation, the programs necessary to achieve the communication control function and the ROM rewriting control function are transferred from the ROlvl 2 to the RAM 5, but these programs are not transferred to the host computer. It may also be sent from . Also, if the programs used when executing these rewrites are implemented as a separate ROM,
Even if there is a rewriting failure, there is a high possibility that rewriting will be possible by retrying, but there is a problem in that the amount of hardware will increase.

なお、上記実施例では新しいプログラムを一旦RAM5
に格納してからROM2への書込みを行っているが、ホ
ストコンピュータから受信した新しいプログラムを直接
ROM 2へ書込むようにしてもよい。この場合にはR
A M 5の記憶容量を小さくすることができるが、書
込みに失敗があった場合には書込みに成功するまでホス
トコンピュータとの間で新しいプログラムの送信依頼と
送信を繰返えす必要がある。
In addition, in the above embodiment, a new program is temporarily stored in RAM 5.
Although the new program received from the host computer may be written directly to the ROM 2 after being stored in the ROM 2. In this case R
Although the storage capacity of the AM5 can be reduced, if there is a failure in writing, it is necessary to repeatedly request and send a new program to the host computer until the writing is successful.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、端末機のプログラムを変更する場合に
も端末機のROMを交換するための輸送や手間が不要に
なるばかりでなく、短時間に多数の端末機のプログラム
を変更することができ、さらにこのプログラムの変更を
使用者や設置者に知られることなく行えるという格別の
効果が達成できる。
According to the present invention, when changing the program of a terminal device, not only is there no need for transportation or labor to replace the ROM of the terminal device, but also it is possible to change the program of a large number of terminal devices in a short time. Moreover, the special effect of being able to change the program without the user or installer knowing it can be achieved.

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

第1図は本発明による端末機の原理的実施例を示すブロ
ック図、 第2図はプログラム書替動作を説明するための図である
。 原理的実施例 第1図
FIG. 1 is a block diagram showing a basic embodiment of a terminal device according to the present invention, and FIG. 2 is a diagram for explaining a program rewriting operation. Principle example Fig. 1

Claims (1)

【特許請求の範囲】[Claims] 書替え可能なリードオンリメモリにプログラム書替処理
プログラムを含むプログラムを格納し、ホストからプロ
グラム書替動作が起動されたときにはこのホストから伝
送されてきたプログラムによって上記リードオンリメモ
リ内のプログラムを書替えるようにしたことを特徴とす
る端末機のプログラム書替方式。
A program including a program rewrite processing program is stored in a rewritable read-only memory, and when a program rewrite operation is started from a host, the program in the read-only memory is rewritten by the program transmitted from the host. A terminal program rewriting method characterized by the following.
JP2068242A 1990-03-20 1990-03-20 Terminal program rewriting system Pending JPH03269633A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2068242A JPH03269633A (en) 1990-03-20 1990-03-20 Terminal program rewriting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2068242A JPH03269633A (en) 1990-03-20 1990-03-20 Terminal program rewriting system

Publications (1)

Publication Number Publication Date
JPH03269633A true JPH03269633A (en) 1991-12-02

Family

ID=13368110

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2068242A Pending JPH03269633A (en) 1990-03-20 1990-03-20 Terminal program rewriting system

Country Status (1)

Country Link
JP (1) JPH03269633A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225686A (en) * 1994-02-10 1995-08-22 Nec Corp Program down-loading system
WO1997002573A1 (en) * 1995-07-04 1997-01-23 Siemens Aktiengesellschaft Method of up-dating the contents of the electronic memory of an electronic appliance
JP2003029993A (en) * 2001-07-11 2003-01-31 Sony Corp Information processing apparatus and method, recording medium, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07225686A (en) * 1994-02-10 1995-08-22 Nec Corp Program down-loading system
WO1997002573A1 (en) * 1995-07-04 1997-01-23 Siemens Aktiengesellschaft Method of up-dating the contents of the electronic memory of an electronic appliance
US6014725A (en) * 1995-07-04 2000-01-11 Siemens Aktiengesellschaft Method of up-dating the contents of the electronic memory of an electronic appliance
JP2003029993A (en) * 2001-07-11 2003-01-31 Sony Corp Information processing apparatus and method, recording medium, and program

Similar Documents

Publication Publication Date Title
US6402026B1 (en) Smart card and method for bidirectional data transfer between a terminal and a smart card
US5450589A (en) Firmware modification system wherein older version can be retrieved
US6523754B2 (en) IC card, a method of controlling update of data, a method of controlling restoration of data or messages, and a computer product
US6883060B1 (en) Microcomputer provided with flash memory and method of storing program into flash memory
JPS60157652A (en) Addressing device for functional units
JPH03269633A (en) Terminal program rewriting system
JP7751730B2 (en) Electronic control device and writing control method
JP2001005928A (en) IC card
US7849279B2 (en) Method for the secure updating data areas in non volatile memory, device to perform such a method
JPH1027097A (en) Method and device for rewriting data of flash rom
JP3775697B2 (en) Portable information storage media
JPH053611B2 (en)
JPH08138005A (en) Data write system for flash memory card
CN108512927B (en) Information updating method and device for commercial water heater system
JPH0498473A (en) Portable terminal equipment
JP3549288B2 (en) Air conditioner
JPH1139151A (en) Information processing device
JP4026796B2 (en) IC card with command distribution function
EP0292237A2 (en) IC card and IC card information processing system using the IC card
JPH0820933B2 (en) Data writing method and device
JPH03256128A (en) How to load the program
JPH05324341A (en) Program rewritable terminal device
JPH08171621A (en) IC card
JPH11184683A (en) Electronics
JPH09128230A (en) Terminal device having EEPROM