JPH1069387A - Download module management method - Google Patents
Download module management methodInfo
- Publication number
- JPH1069387A JPH1069387A JP22823696A JP22823696A JPH1069387A JP H1069387 A JPH1069387 A JP H1069387A JP 22823696 A JP22823696 A JP 22823696A JP 22823696 A JP22823696 A JP 22823696A JP H1069387 A JPH1069387 A JP H1069387A
- Authority
- JP
- Japan
- Prior art keywords
- program
- subroutine
- ram
- downloaded
- address information
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
(57)【要約】
【課題】センターから基地局へダウンロードする際、サ
ービスを一時停止を無くし、ダウンロードの通信費用及
び通信時間の削減を図る。
【解決手段】回線に接続されたセンター局と、前記回線
に接続されたスレーブ局とが具備され、前記センター局
が、ダウンロードするプログラムを予めサブルーチン毎
にそのコール元アドレス情報とともに記憶し、変更のあ
る新サブルーチンについてのみ記憶内容をスレーブ局の
書き替え可能な不揮発メモリにダウンロードし、つづい
て前記スレーブ局が、不揮発メモリからRAMで実行中
のプログラム記憶エリア以外のエリアに新サブルーチン
をロードし、当該RAMのプログラム実行中に所定のタ
イミングで当該ロードした新サブルーチンの先頭アドレ
ス情報を前記不揮発メモリにダウンロードしたコール元
アドレス情報に基いてRAMのアドレスに上書きする。
(57) [Summary] [Problem] To reduce the communication cost and communication time of download by eliminating a service pause when downloading from a center to a base station. A center station connected to a line and a slave station connected to the line are provided, and the center station stores in advance a program to be downloaded for each subroutine together with its caller address information, and changes the program. Only the contents of a certain new subroutine are downloaded to the rewritable non-volatile memory of the slave station, and then the slave station loads the new subroutine from the non-volatile memory to an area other than the program storage area being executed in the RAM. During execution of the program in the RAM, at a predetermined timing, the head address information of the loaded new subroutine is overwritten on the RAM address based on the call source address information downloaded to the nonvolatile memory.
Description
【0001】[0001]
【発明が属する技術分野】本発明は、携帯電話システム
のようにセンターから回線を通して基地局にプログラム
をダウンロードするといった、回線に接続されたセンタ
ーから遠隔地のスレーブ局にプログラムをダウンロード
しサ−ビスを停止することなくプログラムを実行する方
法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of downloading a program from a center connected to a line to a remote slave station, such as downloading a program from a center to a base station through a line like a portable telephone system. To execute a program without stopping the program.
【0002】[0002]
【従来の技術】携帯電話システムの基地局等では、機能
ブロック(ハードウエア)ごとにプログラムが存在し、
個々のプログラムが独立にファイルとして読み書き可能
な不揮発メモリに存在している。これらのプログラム
は、起動される際、RAMにロードされ実行される。ま
た、回線網に接続されている利点を生かして、各プログ
ラムに変更があったとき、対応するプログラムをセンタ
ーから回線網を通じてダウンロードし、読み書き可能な
不揮発メモリに記憶する。2. Description of the Related Art In a base station of a cellular phone system, a program exists for each functional block (hardware).
Each program exists in a nonvolatile memory that can be independently read and written as a file. When these programs are activated, they are loaded into the RAM and executed. Also, when there is a change in each program by taking advantage of the connection to the network, the corresponding program is downloaded from the center via the network and stored in a readable and writable nonvolatile memory.
【0003】これらの新しいプログラムを実行すると
き、リセット等によりサービスを一時中断し、新プログ
ラムを不揮発性メモリからRAMにロードしなおして、
旧プログラムとの交換が行われる。その後改めて新プロ
グラムが最初から起動しなおされサービスが再開され
る。When executing these new programs, the service is temporarily interrupted by reset or the like, and the new programs are reloaded from the nonvolatile memory to the RAM.
Exchange with the old program is performed. After that, the new program is restarted from the beginning and the service is resumed.
【0004】[0004]
【発明が解決しようとする課題】新プログラムを実行す
るとき、機能ブロック単位でRAMにロードするため、
各機能ブロックの調停をとりなおさなければならず、シ
ステムにリセットをかけなければならなかった。その
際、当然サービスが一時停止することになり、サービス
に支障をきたす場合がある。When a new program is executed, it is loaded into a RAM in functional block units.
Each function block had to be re-arbitrated and the system had to be reset. At that time, the service is naturally suspended, which may hinder the service.
【0005】また、回線を通した新プログラムのダウン
ロードが機能ブロック単位で行われるため、当該機能ブ
ロックが大きい場合、その大きさに比例して通信費用及
び通信時間がかかることになる。[0005] In addition, since a new program is downloaded in units of functional blocks through a line, if the functional blocks are large, communication costs and communication time increase in proportion to the size.
【0006】[0006]
【課題を解決するための手段】上記従来技術の課題を解
決するため、サブルーチンプログラムをダウンロードに
より更新し実行させる本発明のダウンロ−ドモジュ−ル
の管理方法は、回線に接続されプログラム管理用の記憶
手段を有するセンター局と、前記回線に接続されプログ
ラムダウンロード用の不揮発メモリ及びプログラム実行
用のRAMとを有するスレーブ局とが具備され、前記セ
ンター局が、ダウンロードするプログラムを予めサブル
ーチン(モジュール)毎にそのコール元アドレス情報と
ともに記憶手段に記憶する手順と、当該プログラムのう
ち変更のある新サブルーチン(新モジュ−ル)について
のみ記憶手段の記憶内容をスレーブ局の書き替え可能な
不揮発メモリにダウンロードする手順と、つづいて前記
スレーブ局が、前記不揮発メモリからRAMで実行中の
プログラム記憶エリア以外のエリアに新サブルーチン
(新モジュ−ル)をロードする手順と、当該RAMのプ
ログラム実行中に所定のタイミングで当該ロードした新
サブルーチン(新モジュ−ル)の先頭アドレス情報を前
記不揮発メモリにダウンロードしたコール元アドレス情
報に基いてRAMのアドレスに上書きする手順とからな
る。In order to solve the above-mentioned problems of the prior art, a download module management method of the present invention for updating and executing a subroutine program by download is connected to a line and stored for program management. And a slave station connected to the line and having a nonvolatile memory for downloading programs and a RAM for executing programs. The center station preliminarily stores a program to be downloaded for each subroutine (module). A procedure for storing in the storage means together with the call source address information, and a procedure for downloading the stored contents of the storage means to the rewritable nonvolatile memory of the slave station only for the new subroutine (new module) of the program concerned. And then the slave station A procedure for loading a new subroutine (new module) from the nonvolatile memory into an area other than the program storage area being executed in the RAM, and a procedure for loading the new subroutine (new module) at a predetermined timing during execution of the program in the RAM. ) Overwriting the start address information in the RAM address based on the caller address information downloaded to the nonvolatile memory.
【0007】[0007]
【発明の実施の形態】以下、本発明の一実施形態を説明
する。図1は本発明の一実施形態を説明するシステムブ
ロック図で、運用中のプログラム、更新するプログラム
等を統括一元管理するセンター1と、基地局2と、セン
ター1と基地局2とを接続するための回線3と、基地局
2においてダウンロードされるプログラムを記憶するた
めの読み書き可能な不揮発メモリー(FLASH)4
と、基地局2においてプログラムを実行するときプログ
ラムがロードされるRAM5と、RAM5にロードされ
たプログラムを実行するCPU6とから構成される。DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. FIG. 1 is a system block diagram for explaining an embodiment of the present invention. A center 1 for centrally managing programs in operation, programs to be updated, and the like, a base station 2, and connecting the center 1 and the base station 2 are shown. And a readable / writable nonvolatile memory (FLASH) 4 for storing a program downloaded in the base station 2
And a RAM 5 on which a program is loaded when the base station 2 executes the program, and a CPU 6 for executing the program loaded on the RAM 5.
【0008】以下の説明のうち、〜はサービスを停
止させないで実行することが可能である。図2は、RA
M5のメモリマップ概念図を示し、プログラム切替え前
とプログラム切替後のイメージを示す。[0008] In the following description, ~ can be executed without stopping the service. FIG.
FIG. 3 is a conceptual diagram of a memory map of M5, showing images before and after program switching.
【0009】 センター1は、プログラムを適度に細
かくサブルーチン化し、プログラムをそのサブルーチン
ごとに、各サブルーチンの主プログラムのコール元アド
レス情報及びそのアドレスに記憶されるコール先アドレ
ス情報とともに管理する。 センター1から基地局2に対するダウンロードは回
線3を通して行われる。その際、ダウンロードを行う部
分は、変更のあったサブルーチンのみの記憶内容とし、
このサブルーチンを読み書き可能な不揮発メモリ4にフ
ァイルとして記憶させる。The center 1 appropriately subdivides the program into subroutines, and manages the program for each subroutine together with the call source address information of the main program of each subroutine and the call destination address information stored in the address. Downloading from the center 1 to the base station 2 is performed through the line 3. At that time, the part to be downloaded is the stored contents of only the changed subroutine,
This subroutine is stored as a file in the readable / writable nonvolatile memory 4.
【0010】 ダウンロード後、で作成されたファ
イルすなわち新サブルーチンを実行するとき、CPU6
は当該プログラムをRAM5上の、実行中のプログラム
以外のエリアにロードする。After the download, when executing the file created in, that is, the new subroutine, the CPU 6
Loads the program into an area on the RAM 5 other than the program being executed.
【0011】 CPU6は、ロードした新サブルーチ
ンのコール元アドレス情報を不揮発メモリ4から取得
し、またRAM5に新サブルーチンをロードした先頭ア
ドレス(コール先アドレス)情報を別途、取得する。The CPU 6 obtains the call source address information of the loaded new subroutine from the nonvolatile memory 4 and separately obtains the start address (call destination address) information of the loaded new subroutine in the RAM 5.
【0012】 所定のタイミングで、のアドレス情
報をもとに、CPU6は、RAM5のコール元アドレス
に新サブル−チンの先頭アドレスを上書きする。これに
よって、主プログラムからコ−ルされるサブルーチン
は、図2に示す主プログラム部のコール元アドレスには
新サブルーチンの先頭アドレスが瞬間的に上書きされた
ことにより、速やかに、旧サブル−チンから新サブ−チ
ンにコール先が切り替わる。よって、プログラムの実行
を停止することなく、ダウンロードするサブルーチン
(モジュ−ル)プログラムの更新と実行が行える。At a predetermined timing, based on the address information, the CPU 6 overwrites the call source address of the RAM 5 with the start address of the new subroutine. As a result, the subroutine called from the main program immediately returns from the old subroutine to the caller address of the main program portion shown in FIG. The call destination switches to the new sub-tin. Therefore, the subroutine (module) program to be downloaded can be updated and executed without stopping the execution of the program.
【0013】このように、簡易型携帯電話システムの基
地局2等、プログラムをセンター1で管理し、そのプロ
グラムをプログラム更新時にダウンロードして書き換え
可能な不揮発メモリ4に記憶し、プログラム実行時に書
き換え可能な不揮発メモリ4からRAM5に展開し、更
新したプログラムを実行するシステムにおいて、センタ
ー1が更新するプログラムを比較的小さなサブルーチン
ごとに管理することにより、ダウンロード時の通信量を
最小限におさえることができ、さらにサブルーチンコー
ルのアドレス情報を管理することによりサービスを停止
することなくサブルーチンの変更すなわちサービスプロ
グラムの変更を行うことができる。As described above, the program such as the base station 2 of the simplified portable telephone system is managed by the center 1, the program is downloaded at the time of updating the program, stored in the rewritable nonvolatile memory 4, and rewritable at the time of executing the program. In a system developed from the non-volatile memory 4 to the RAM 5 to execute the updated program, the center 1 manages the program to be updated for each relatively small subroutine, thereby minimizing the communication traffic at the time of downloading. Further, by managing the address information of the subroutine call, the subroutine can be changed, that is, the service program can be changed without stopping the service.
【0014】以上の通りであるが、プログラムの管理に
ついては、回線を通して遠隔的にプログラムを更新する
システムを前提としているため、プログラムの管理はセ
ンターで行う必要がある。As described above, the management of the program is premised on a system for remotely updating the program through a line, so that the program must be managed at the center.
【0015】また、変数の管理については、旧サブルー
チンと新サブルーチンで共通に使用している変数につい
ては、同一のアドレスを使用する様に管理しなければな
らない。旧サブルーチンで使用していない新しい変数を
使用する場合、初期値などの情報は別途取得しなければ
ならない。As for variable management, variables used in common in the old subroutine and the new subroutine must be managed so as to use the same address. When using a new variable that is not used in the old subroutine, information such as the initial value must be obtained separately.
【0016】[0016]
1.従来技術ではダウンロードを機能ブロックごとに行
っていたため、その機能ブロックが大きい場合その大き
さに比例して通信コストがかかっていた。しかしながら
本発明は小さなサブルーチンごとにダウンロードプログ
ラムを管理するため、従来に比して通信コストが小さく
なる。1. In the prior art, since downloading is performed for each functional block, when the functional block is large, communication cost is increased in proportion to the size. However, according to the present invention, since the download program is managed for each small subroutine, the communication cost is reduced as compared with the related art.
【0017】2.従来技術ではダウンロード後、ダウン
ロードしたプログラムを起動するときリセットが必要で
あったため、サービスを一時停止する必要があった。し
かしながら本発明はサブルーチンのコール元アドレスの
内容をダウンロードした新しいサブルーチンの先頭アド
レスに書き換える動作を瞬間的に行うことを前提として
いるため、リセットを行う必要がなくプログラム変更に
よるサービスを停止する必要がなくなった。2. In the prior art, after the download, a reset was required when the downloaded program was started, so that the service had to be temporarily stopped. However, since the present invention is based on the premise that the operation of rewriting the contents of the call source address of the subroutine to the start address of the downloaded new subroutine is performed instantaneously, there is no need to perform a reset, and there is no need to stop the service by changing the program. Was.
【図1】本発明の一実施形態を説明するブロック図。FIG. 1 is a block diagram illustrating one embodiment of the present invention.
【図2】本発明の一実施形態を説明するメモリマップ概
念図。FIG. 2 is a conceptual diagram of a memory map illustrating an embodiment of the present invention.
1:センター 2:基地局 3:回線 4:書き替え可能な不揮発メモリ 5:RAM 6:CPU 1: center 2: base station 3: line 4: rewritable nonvolatile memory 5: RAM 6: CPU
Claims (1)
より更新し実行させるダウンロ−ドモジュ−ルの管理方
法において、回線に接続されプログラム管理用の記憶手
段を有するセンター局と、前記回線に接続されプログラ
ムダウンロード用の不揮発メモリ及びプログラム実行用
のRAMとを有するスレーブ局とが具備され、前記セン
ター局が、ダウンロードするプログラムを予めサブルー
チン毎にそのコール元アドレス情報とともに記憶手段に
記憶する手順と、当該プログラムのうち変更のある新サ
ブルーチンについてのみ記憶手段の記憶内容をスレーブ
局の書き替え可能な不揮発メモリにダウンロードする手
順と、つづいて前記スレーブ局が、前記不揮発メモリか
らRAMで実行中のプログラム記憶エリア以外のエリア
に新サブルーチンをロードする手順と、当該RAMのプ
ログラム実行中に所定のタイミングで当該ロードした新
サブルーチンの先頭アドレス情報を前記不揮発メモリに
ダウンロードしたコール元アドレス情報に基いてRAM
のアドレスに上書きする手順とからなることを特徴とす
るダウンロ−ドモジュ−ルの管理方法。1. A method of managing a download module for updating and executing a subroutine program by downloading, comprising: a center station connected to a line and having storage means for program management; And a slave station having a non-volatile memory and a program execution RAM, wherein the center station stores a program to be downloaded in advance in a storage means together with its caller address information for each subroutine, A procedure for downloading the storage contents of the storage means to the rewritable nonvolatile memory of the slave station only for a new subroutine having a change, and then, the slave station reads from the nonvolatile memory an area other than the program storage area being executed in the RAM. New subroutine A step of loading, based on the downloaded calling address information start address information of the new subroutines the load at a predetermined timing during the execution of the program the RAM in the nonvolatile memory RAM
A download module overwriting the address of the download module.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22823696A JPH1069387A (en) | 1996-08-29 | 1996-08-29 | Download module management method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22823696A JPH1069387A (en) | 1996-08-29 | 1996-08-29 | Download module management method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH1069387A true JPH1069387A (en) | 1998-03-10 |
Family
ID=16873302
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP22823696A Pending JPH1069387A (en) | 1996-08-29 | 1996-08-29 | Download module management method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH1069387A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100555162B1 (en) * | 1998-03-24 | 2006-03-03 | 소니 가부시끼 가이샤 | Receiver and program update method |
| US8245220B2 (en) | 1999-09-06 | 2012-08-14 | Fujitsu Limited | Method and apparatus for updating software in radio terminal device |
| CN118409713A (en) * | 2024-07-01 | 2024-07-30 | 清河电子科技(山东)有限责任公司 | IC carrier production information processing method, system, electronic equipment and medium |
-
1996
- 1996-08-29 JP JP22823696A patent/JPH1069387A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100555162B1 (en) * | 1998-03-24 | 2006-03-03 | 소니 가부시끼 가이샤 | Receiver and program update method |
| US8245220B2 (en) | 1999-09-06 | 2012-08-14 | Fujitsu Limited | Method and apparatus for updating software in radio terminal device |
| CN118409713A (en) * | 2024-07-01 | 2024-07-30 | 清河电子科技(山东)有限责任公司 | IC carrier production information processing method, system, electronic equipment and medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH10214192A (en) | Down-load system for software, and method therefor | |
| JP3928852B2 (en) | Mobile communication terminal | |
| JPH02214994A (en) | Ic card | |
| JPH086796A (en) | Down-loading method, network system therefor and data file updating method | |
| JP2002099441A (en) | Communication terminal device and operation method of communication terminal device | |
| JPH1069387A (en) | Download module management method | |
| JPH09214708A (en) | Facsimile machine | |
| JP2010044574A (en) | Portable terminal, portable terminal control method and portable terminal control program | |
| JP2000132401A (en) | In-vehicle control device | |
| JP2000293366A (en) | How to update a set-top box module | |
| JPH1063498A (en) | Operation program modifying method for radio base station | |
| JP2007189332A (en) | Software update method and mobile terminal | |
| JP2002094639A (en) | Mobile phone, software rewriting method used therefor, and recording medium recording control program therefor | |
| KR100316584B1 (en) | Flash Memory To Share With Booting And Main Operation Program In System And Upgrade Method In That Memory | |
| JP2002073361A (en) | Electronic device whose software is remotely renewed and method for remotely renewing software | |
| JP2000089939A (en) | Control program update method | |
| JP2835667B2 (en) | Packet switching device and packet switching network | |
| JP2001051844A (en) | Computer peripheral device and firmware update method | |
| JP2707777B2 (en) | Program loading method | |
| JPH09325891A (en) | Control program updating controlling system | |
| GB2276257A (en) | Configuration-sensitive program loading. | |
| JPH01261736A (en) | Program patch system | |
| KR960020064A (en) | Common Data Initial Loading Method between Base Station and Control Station in CMS System | |
| JP2000207217A (en) | Data processor, and program downloading method | |
| JP2000295651A (en) | Wireless communication device |