JP2004320591A - Portable communication terminal - Google Patents
Portable communication terminal Download PDFInfo
- Publication number
- JP2004320591A JP2004320591A JP2003113836A JP2003113836A JP2004320591A JP 2004320591 A JP2004320591 A JP 2004320591A JP 2003113836 A JP2003113836 A JP 2003113836A JP 2003113836 A JP2003113836 A JP 2003113836A JP 2004320591 A JP2004320591 A JP 2004320591A
- Authority
- JP
- Japan
- Prior art keywords
- software
- free area
- area
- free
- communication terminal
- 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.)
- Withdrawn
Links
Images
Abstract
Description
【0001】
【発明の属する技術分野】
本発明は、携帯通信端末に関する。
【0002】
【従来の技術】
携帯電話機やPDAなど通信ネットワークに接続可能な携帯通信端末では、ソフトウェア更新やプログラム上の不具合を修正する等の目的で、ソフトウェアを通信ネットワーク経由でダウンロードして書き換えることが提案されている。ソフトウェアをダウンロードして書き換える方式には、必要な全てのソフトウェアを一度にダウンロードしてから書き換える方式(一括ダウンロード方式)と、モジュール化されていないソフトウェアを一部ずつダウンロードして順次書き換える方式(分割ダウンロード方式)とがある。
【0003】
分割ダウンロード方式では、通信が途中で途切れた場合やデータにエラーが含まれていた場合などに、ソフトウェアが正常に動作しなくなる可能性が生じる。加えて、ソフトウェアをモジュール化すると、そのデータ量が増大し、通信時間や処理時間の増大を招く。
【0004】
一括ダウンロード方式は、分割ダウンロード方式の上記不都合は生じ難く、安定した更新処理を行うことが可能である。しかし、一般的な携帯通信端末では、ソフトウェアのうちの変更される箇所のみの部分的な書き換えが不可能でソフトウェア全体の書き換えが必要となる場合が多い。これに対し、携帯通信端末の内部に装備された記憶領域は一般に小さいため、ダウンロードされるソフトウェアのデータの大きさに合わせて、余分な記憶領域を携帯通信端末側に準備しなければならない。
【0005】
特許文献1には、携帯電話機にダウンロード用外付け不揮発性メモリを接続し、この外付け不揮発性メモリに通信ネットワークを経由してダウンロードしたプログラムを保存し、外付け不揮発性メモリに保存されたプログラムを携帯電話機内のフラッシュメモリにコピーするシステムが開示されている。
【0006】
【特許文献1】
特開平9−220832号公報
【0007】
【発明が解決しようとする課題】
特許文献1のシステムでは、外付け不揮発性メモリというダウンロードのための別部品を、ユーザが各自用意しなければならず、ユーザにとって経済的負担が大きい。また、外付け不揮発性メモリを接続するためのインターフェイスを有していない携帯通信端末の場合、プログラムのダウンロードを行うことができない。
【0008】
本発明は、このような課題に鑑みてなされたものであり、通信ネットワークを経由したソフトウェアのダウンロード及び書き換えを、別部品を要することなく、端末内の記憶領域を有効に活用して効率的且つ確実に行うことが可能な携帯通信端末の提供を目的とする。
【0009】
【課題を解決するための手段】
本発明に係る携帯通信端末は、記憶手段と、判断手段と、空き領域生成手段と、ダウンロード手段と、更新手段と、を備える。
【0010】
記憶手段は、それぞれが固有の属性を有する複数のソフトウェアを記憶する。判断手段は、ダウンロードする更新ソフトウェアの大きさと記憶手段の既存の空き領域の大きさとを比較し、既存の空き領域が更新ソフトウェアよりも小さいときは、空き領域が不足していると判断する。空き領域生成手段は、判断手段によって空き領域が不足していると判断されたとき、新たに空き領域を生成するための空き領域生成処理を、記憶手段が記憶しているソフトウェアに対して、その属性に応じて施す。ダウンロード手段は、通信ネットワークを介して更新ソフトウェアをダウンロードして記憶手段の空き領域に記憶させる。更新手段は、記憶手段が記憶する既存のソフトウェアを記憶手段が記憶する更新ソフトウェアに書き換える。
【0011】
上記構成では、記憶手段の既存の空き領域が更新ソフトウェアよりも小さいときは、空き領域生成手段が記憶手段のソフトウェアに対して空き領域生成処理を施して、記憶手段に新たに空き領域を生成し、更新ソフトウェアを一時的に記憶するために必要となる空き領域を確保する。この空き領域生成処理は、処理対象となるソフトウェアの属性に応じて設定される。このため、携帯通信端末の外部にメモリ等の別部品を接続させることなく、端末内の記憶手段を有効に活用して、更新ソフトウェアを分割せずに一度にダウンロードして書き換えることができる。
【0012】
携帯通信端末は、テーブルをさらに備えていても良い。テーブルには、空き領域生成処理の優先順位と各空き領域生成処理に対する各ソフトウェアの適応可能性とが設定されている。空き領域生成手段は、テーブルに基づき、優先順位の高い空き領域生成処理に対して適応可能性を有するソフトウェアから順次処理を施す。
【0013】
テーブルは、空き領域生成手段に設けられても良く、記憶手段に設けられても良い。
【0014】
上記構成では、記憶手段の既存の空き領域が更新ソフトウェアよりも小さいときは、空き領域生成手段は、まず優先順位の最も高い空き領域生成処理を選択し、この処理に対して適応可能性を有するソフトウェアから上記選択された空き領域生成処理を施す。この処理が終了しても記憶手段の既存の空き領域が更新ソフトウェアよりも小さいときは、次に優先順位の高い空き領域生成処理を選択し、この処理に対して適応可能性を有するソフトウェアに処理を施す。以降同様に、優先順位に従って領域生成処理を順次選択してソフトウェアに処理を施す。
【0015】
このように、複数の空き領域生成処理に対して予め優先順位を設定しておき、この優先順位に従って実行する空き領域生成処理を選択するので、例えば記憶しているソフトウェアを廃棄する処理のように処理時間が比較的短く且つ大きな空き領域の生成が期待できる処理を優先的に行うことができ、空き領域の生成を効率的に行うことができる。
【0016】
ある一つの空き領域生成処理に対して適応可能性を有するソフトウェアが複数存在する場合、テーブルには、その複数のソフトウェアについてさらに優先度が設定されても良く、空き領域生成手段は、その一つの空き領域生成処理を行うときは優先度の高いソフトウェアから順次処理を施しても良い。
【0017】
同じ空き領域生成処理に対して適応可能性を有するソフトウェアであっても、その適応可能性の程度は必ずしも同じとは限らない。上記構成では、選択された空き領域生成処理を実行する際に、その適応可能性の高いソフトウェアから順に処理を行うので、空き領域の生成をさらに効率的に行うことができる。
【0018】
空き領域生成手段は、廃棄手段と圧縮伸長手段と再ロード手段と外部記憶装置退避手段とのうち少なくとも二つの手段を備えても良い。廃棄手段は、記憶手段が記憶するソフトウェアを廃棄して空き領域を新たに生成する。圧縮伸長手段は、記憶手段が記憶しているソフトウェアを圧縮し記憶手段の他の領域に移して空き領域を新たに生成すると共に、更新手段による書き換え終了後に、圧縮したソフトウェアを伸長して記憶手段の元の領域に記憶させる。再ロード手段は、記憶手段が記憶するソフトウェアを一時的に廃棄して空き領域を新たに生成すると共に、更新手段による書き換え終了後に、廃棄したソフトウェアを通信ネットワークを介してダウンロードして記憶手段の元の領域に記憶させる。外部記憶装置退避手段は、記憶手段が記憶するソフトウェアを通信ネットワークに接続された外部退避装置に一時的に退避させると共に、更新手段による書き換え終了後に、退避したソフトウェアを通信ネットワークを介してダウンロードして記憶手段の元の領域に記憶させる。
【0019】
【発明の実施の形態】
以下、本発明の一実施形態について、図面を参照しながら詳細に説明する。
【0020】
図1は、本実施形態のブロック構成図、図2はソフトウェア管理テーブルの模式図である。
【0021】
図1に示すように、携帯通信端末としての携帯電話機(以下端末と略称する)1は、CPU2と、書き換え処理部3と、ソフトウェア管理テーブル4と、ダウンロード処理部5と、通信インターフェイス(I/F)6と、メモリ装置7と、圧縮伸長器8と、外部記憶装置退避処理部9と、を備えている。また、端末1と通信可能な通信ネットワーク10上には、外部記憶装置として機能するファイルサーバ11が設けられている。
【0022】
CPU2は、端末1の本来的な機能である携帯電話機としての機能を含めた端末1の全体的な動作制御を行う。
【0023】
メモリ装置7は、記憶手段として機能し、書き換え可能であるRAMやフラッシュROMなどによって構成されている。メモリ装置7の記憶領域には、通信制御プログラムやアプリケーションの他、様々な種類のソフトウェアが記憶されている。各ソフトウェアは、固有の属性を有している。この属性とは、後述する各空き領域生成処理に対する各ソフトウェアの適応可能性である。
【0024】
通信I/F6は、通信ネットワーク10との通信を行う。通信ネットワーク10には、ソフトウェアサーバ(図示外)が接続されている。ソフトウェアサーバには、端末1のメモリ装置7に記憶されているソフトウェアの書き換え用の更新ソフトウェアが格納されている。なお、このソフトウェアはリロケータブルではない。
【0025】
ダウンロード処理部5は、ダウンロード手段として機能し、通信I/F6を介してネットワークから更新ソフトウェアをダウンロードしてメモリ装置7の空き領域に一時的に記憶させる。また、ダウンロード処理部5は、判断手段としても機能し、更新ソフトウェアをダウンロードする前に、ダウンロードしようとしている更新ソフトウェアの大きさと、メモリ装置7の記憶領域に既に存在している空き領域の大きさと、を比較する。そして、既存の空き領域が更新ソフトウェアよりも小さいときは、更新ソフトウェアを一時的に保存するための空き領域が不足していると判断して、書き換え処理部3へ出力する。
【0026】
ソフトウェア管理テーブル(テーブル)4は、書き換え処理部3内に設けられている。なお、テーブル4は、メモリ装置7に設けても良い。
【0027】
書き換え処理部3は、更新手段として機能し、メモリ装置7が記憶している既存のソフトウェアを、ダウンロード処理部5がメモリ装置7に一時的に記憶させた更新ソフトウェアに書き換える。書き換え処理部3は、空き領域生成手段としても機能し、空き領域が不足しているときは、更新ソフトウェアの記憶が可能な空き領域が確保されるまで、テーブル4の情報に従って、メモリ装置7に記憶されているソフトウェアに対して空き領域生成処理を施し、記憶領域内に新たな空き領域を順次生成する。
【0028】
書き換え処理部3は、さらに廃棄手段としても機能し、空き領域生成処理(廃棄処理)を行う。具体的には、メモリ装置7が記憶しているソフトウェアを廃棄して、記憶領域内に空き領域を新たに生成する。
【0029】
圧縮伸長器8は、圧縮伸長手段として機能し、他の空き領域生成処理(圧縮退避処理)を行う。具体的には、メモリ装置7が記憶しているソフトウェアを圧縮し、メモリ装置7の記憶領域内の他の領域に移して(退避させて)空き領域を新たに生成する。また、書き換え処理部3による書き換え(更新)終了後に、圧縮して記憶されているソフトウェアを伸長して、圧縮前の元の領域に記憶させる。
【0030】
書き換え処理部3及びダウンロード処理部5は、再ロード手段としても機能し、他の空き領域生成処理(再ロード処理)を行う。具体的には、書き換え処理部3は、メモリ装置7が記憶しているソフトウェアを一時的に廃棄して、空き領域を新たに生成する。ダウンロード処理部5は、書き換え処理部3による書き換え(更新)終了後に、廃棄したソフトウェアを通信ネットワーク10を介して再びダウンロードしてメモリ装置7の廃棄前の元の領域に記憶させる。
【0031】
外部記憶装置退避処理部9は、外部記憶装置退避手段として機能し、他の空き領域生成処理(外部退避処理)を行う。具体的には、メモリ装置7が記憶しているソフトウェアを通信ネットワーク10に接続されたファイルサーバ11に一時的に記憶(退避)させる。また、書き換え処理部3による書き換え(更新)終了後に、退避したソフトウェアを通信ネットワーク10を介してダウンロードして退避前の元の領域に記憶させる。
【0032】
図2に示すように、テーブル4には、メモリ装置7に記憶された各ソフトウェアA,B,C,D,E,F,G・・・について、そのアドレス領域(開始アドレス及び終了アドレス)と、その属性とが記録されている。属性とは、各空き領域生成処理(廃棄・圧縮退避・再ロード・外部退避)に対する各ソフトウェアA,B,C,D,E,F,G・・・の適応可能性(廃棄可能性・圧縮退避可能性・再ロード可能性・外部退避可能性)である。例えばブラウザのキャッシュは、廃棄可能性を、フォントプログラムは圧縮退避可能性を、通信ネットワーク10からダウンロードした着信音などのアプリケーションソフトは再ロード可能性をそれぞれ有している。
【0033】
各カラムは整数値であり、「0」は適応不可能を、正の整数値は適応可能をそれぞれ示している。さらに、正の整数値は、同一の空き領域生成処理に対する優先度を示している。優先度が最も高い場合には「1」であり、数が大きくなるに従って優先度が低下する。例えば、外部退避では、ソフトウェアFのカラムは「1」であり、ソフトウェアGのカラムは「3」である。従って、外部退避可能なソフトウェアはFとGであり、その優先度はFの方が高く、外部退避処理については、Fの方がGよりも先に処理される。
【0034】
また、テーブル4上の空き領域生成処理の並び順は、優先順位を表している。すなわち、空き領域生成処理は、図2中左から右に向かって廃棄・圧縮退避・再ロード・外部退避の順に並んでおり、廃棄が最も優先順位が高く、圧縮退避、再ロード、外部退避の順で優先順位が低下する。
【0035】
書き換え処理部3は、優先順位の高い空き領域生成処理に対して適応可能性を有するソフトウェアから順次処理を施す。また、一つの空き領域生成処理に対して適応可能なソフトウェアが複数ある場合には、優先度の高いソフトウェアから順次処理を施す。空き領域生成処理は、メモリ装置7の記憶領域に更新ソフトウェアの記憶が可能な空き領域が確保されるまで続けられる。
【0036】
なお、特に図示しないが、端末1は、電話機機能に関連した要素として、入力操作部、スピーカ、マイク、及び表示部等を有している。
【0037】
次に、図3及び図4に示すフローチャートを参照して、本実施形態の作用を説明する。
【0038】
通常の動作状態では、端末1はメモリ装置7に記憶されたソフトウェアを起動して、通信端末として機能する。
【0039】
ユーザから端末1にソフトウェアの書き換え指示が入力されると、ダウンロード処理部5は、通信I/F6を介して、更新ソフトウェアをメモリ装置7にダウンロードする処理(ソフトウェア更新処理)を開始する。なお、以下の説明において、ダウンロードする更新ソフトウェアを、パッチと称する。
【0040】
まず、パッチをダウンロードする前の準備処理として、図3及び図4に示す空き領域確保が行われる。
【0041】
空き領域確保の制御がスタートすると、ステップS1へ進む。ステップS1では、ダウンロード処理部5がパッチのサイズを取得し、メモリ装置7にパッチを記憶するに十分な空き領域があるか否かの判定を行う。空き領域がパッチのサイズよりも大きい場合には、必要な空き領域が確保されているので、空き領域確保の制御を終了する。
【0042】
空き領域がパッチのサイズよりも小さい場合には、書き換え処理部3へ信号出力して、ステップS2以降へ進む。
【0043】
ステップS2〜ステップS13では、必要な空き領域を確保するため処理を行う。
【0044】
まずステップS2では、書き換え処理部3が、図2のテーブル4の情報から廃棄可能なデータ(ソフトウェア)があるか否かを判断して、ステップS3へ進む。
【0045】
ステップS3では、書き換え処理部3が、廃棄可能なデータを廃棄する。テーブル4によれば、ソフトウェアBのカラムが「1」であるので、このソフトウェアBを廃棄して、ステップS4へ進む。
【0046】
ステップS4では、空き領域とパッチのサイズとを比較し、空き領域の方が大きくなっていれば、本制御を終了する。空き領域の方がまだ小さければ、ステップS5へ進む。
【0047】
ステップS5では、書き換え処理部3が、テーブル4の情報から圧縮退避可能なデータがあるか否かを判断して、ステップS6へ進む。
【0048】
ステップS6では、圧縮伸長器8が、圧縮退避可能なデータを圧縮し、メモリ装置7内の他の領域へ移す。テーブル4によれば、ソフトウェアB,Cのカラムが「1」であり、ソフトウェアBは既に廃棄されているので、ソフトウェアCを圧縮退避させて、ステップS7へ進む。
【0049】
ステップS7では、空き領域とパッチのサイズとを比較し、空き領域の方が大きくなっていれば、本制御を終了する。空き領域の方がまだ小さければ、ステップS8へ進む。
【0050】
ステップS8では、書き換え処理部3が、テーブル4の情報から再ロード可能なデータがあるか否かを判断して、ステップS9へ進む。
【0051】
ステップS9では、書き換え処理部3が、再ロード可能なデータを一時的に破棄する。テーブル4によれば、ソフトウェアB,D,Eのカラムが「1」であり、ソフトウェアBは既に廃棄されているので、ソフトウェアD及びEを一時的に破棄して、ステップS10へ進む。
【0052】
ステップS10では、空き領域とパッチのサイズとを比較し、空き領域の方が大きくなっていれば、本制御を終了する。空き領域の方がまだ小さければ、ステップS11へ進む。
【0053】
ステップS11では、書き換え処理部3が、テーブル4の情報から外部退避(端末外退避)可能なデータがあるか否かを判断して、ステップS12へ進む。
【0054】
ステップS12では、外部記憶装置退避処理部9が、外部退避処理を行う。テーブル4によれば、ソフトウェアFのカラムが「1」、ソフトウェアGのカラムが「3」である。このようにカラムの正の整数値が相違する場合(優先度が相違する場合)には、図4に示す制御(ステップS21〜ステップS27)に従う。
【0055】
図4に示す制御では、まずステップS21で空き領域とパッチのサイズとを比較し、空き領域の方が大きくなっていれば、本制御を終了する。空き領域の方がまだ小さければ、ステップS22へ進む。
【0056】
ステップS22では、優先度P=1とし、ステップS23へ進む。
【0057】
ステップS23では、対応する空き領域生成処理(本実施形態の場合には外部退避処理)について全てのソフトウェアをチェックしたか否かを判断する。全てのソフトウェアを既にチェックしている場合は、対応する空き領域生成処理(外部退避処理)での空き領域の確保が失敗したと判断される。全てのソフトウェアをまだチェックしていない場合は、ステップS24へ進む。
【0058】
ステップS24では、優先度Pのデータがあるか否かを判断する。優先度Pのデータがある場合には、ステップS25へ進み、データを処理(外部退避処理)して、ステップS26へ進む。
【0059】
ステップS26では、空き領域とパッチのサイズとを比較し、空き領域の方が大きくなっていれば、本制御を終了する。
【0060】
ステップS24で優先度Pのデータがないと判断された場合、及びステップS26で空き領域の方がまだ小さいと判断された場合は、ステップS27へ進み、P=P+1としてステップS23戻り、再度ステップ23以降の制御を行う。
【0061】
このように同一の空き領域生成処理に対する各ソフトウェアの優先度が相違する場合には、まず優先度「1」のカラムを探し、該当するソフトウェアを処理し、空き領域がパッチのサイズよりも大きくなるまで、優先度を下げて(「2」、「3」、「4」・・・の順に)順次該当するソフトウェアを処理する。テーブル4によれば、カラムが「1」であるソフトウェアFを最初に外部退避処理し、まだ不十分であるときにカラムが「3」であるソフトウェアGを外部退避処理する。
【0062】
図4において、空き領域確保に成功した場合及び失敗した場合は、図3へ戻る。
【0063】
なお、図4に示す制御は、優先度が相違する場合には、廃棄処理や圧縮退避処理や再ロード処理においても、同様に行われる。
【0064】
図3のステップS13では、空き領域とパッチのサイズとを比較し、空き領域の方が大きくなっていれば、空き領域確保に成功して本制御を終了する。空き領域の方がまだ小さければ、空き領域確保に失敗して本制御を終了する。
【0065】
空き領域確保に失敗した場合には、ダウンロードを行うことができないので、ソフトウェア更新処理を終了する。
【0066】
空き領域確保に成功した場合には、ソフトウェア更新処理を継続する。
【0067】
まず、ダウンロード処理部5は、メモリ装置7に獲得した空き領域にパッチをダウンロードし、端末1を起動し直す。この起動に際して、メモリ装置7に蓄積された通常のプログラムに代わり、書き換えを行うプログラムを起動し、パッチを、パッチ内に指定されている通りメモリ装置7の記憶領域に書き込む。
【0068】
書き込みが終了したら、メモリ装置7にあるパッチを廃棄し、通常のプログラムを起動する。通常起動後は、圧縮退避したソフトウェアを伸長して元の領域に書き込む。再ロードで破棄したデータをネットワークから再ダウンロードして元の領域に書き込む。外部退避したソフトウェアをファイルサーバ11からダウンロードして元の領域に書き込む。
【0069】
このように、本実施形態によれば、メモリ装置7に存在する空き領域が更新ソフトウェアよりも小さいときは、メモリ装置7に記憶されたソフトウェアに対して空き領域生成処理を施して、メモリ装置7に新たに空き領域を生成し、更新ソフトウェアを一時的に記憶するために必要な大きさを有する空き領域を確保する。この空き領域生成処理は、処理対象となるソフトウェアの属性に応じて設定される。このため、端末の外部にメモリ等の別部品を接続させることなく、端末1内のメモリ装置7を有効に活用して、更新ソフトウェアを分割せずに一度にダウンロードして書き換えることができる。
【0070】
また、複数の空き領域生成処理に対して予め優先順位を設定しておき、この優先順位に従って実行する空き領域生成処理を選択するので、例えば記憶しているソフトウェアを廃棄する処理のように処理時間が比較的短く且つ大きな空き領域の生成が期待できる処理を優先的に行うことができ、空き領域の生成を効率的に行うことができる。
【0071】
また、同じ空き領域生成処理に対して適応可能性の程度がソフトウェア間で相違するときには、適応可能性の高いソフトウェアから順に処理を行うので、空き領域の生成をさらに効率的に行うことができる。
【0072】
なお、上記実施形態では、端末1として携帯電話機を例に挙げて説明したが、音声通信機能を持つPDA(Personal Digital Assistant)などの他の携帯通信端末に対しても、本発明を適用することができる。
【0073】
【発明の効果】
本発明によれば、通信ネットワークを経由したソフトウェアのダウンロード及び書き換えを、別部品を要することなく、端末内の記憶領域を有効に活用して効率的且つ確実に行うことができる。
【図面の簡単な説明】
【図1】本実施形態のブロック構成図である。
【図2】ソフトウェア管理テーブルの模式図である。
【図3】本実施形態の制御を示すフローチャートである。
【図4】本実施形態の制御を示すフローチャートである。
【符号の説明】
1…携帯通信端末
2…CPU
3…書き換え処理部
4…ソフトウェア管理テーブル
5…ダウンロード処理部
6…通信I/F
7…メモリ装置
8…圧縮伸長器
9…外部記憶装置退避処理部
10…通信ネットワーク
11…ファイルサーバ[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a mobile communication terminal.
[0002]
[Prior art]
For a mobile communication terminal such as a mobile phone and a PDA that can be connected to a communication network, it has been proposed to download and rewrite software via a communication network for the purpose of updating software or correcting defects in programs. Software can be downloaded and rewritten by downloading all necessary software at once and then rewriting (batch download method), or by downloading non-module software part by part and rewriting sequentially (split download Method).
[0003]
In the divided download method, there is a possibility that software does not operate normally when communication is interrupted in the middle or when data contains an error. In addition, when the software is modularized, the data amount increases, and the communication time and the processing time increase.
[0004]
The batch download method is unlikely to cause the above-described inconvenience of the split download method, and can perform stable update processing. However, in a general portable communication terminal, it is often impossible to partially rewrite only the changed portion of the software, and it is often necessary to rewrite the entire software. On the other hand, since the storage area provided inside the mobile communication terminal is generally small, an extra storage area must be prepared in the mobile communication terminal according to the size of the data of the software to be downloaded.
[0005]
[0006]
[Patent Document 1]
JP-A-9-220832
[Problems to be solved by the invention]
In the system of
[0008]
The present invention has been made in view of such a problem, and enables efficient and efficient download and rewrite of software via a communication network by effectively utilizing a storage area in a terminal without requiring a separate component. An object of the present invention is to provide a mobile communication terminal that can reliably perform the communication.
[0009]
[Means for Solving the Problems]
A portable communication terminal according to the present invention includes a storage unit, a determination unit, a free area generation unit, a download unit, and an update unit.
[0010]
The storage unit stores a plurality of pieces of software each having a unique attribute. The determination means compares the size of the update software to be downloaded with the size of the existing free area of the storage means, and determines that the free area is insufficient when the existing free area is smaller than the update software. The free area generating means performs a free area generating process for generating a new free area on the software stored in the storage means when the determining means determines that the free area is insufficient. Apply according to attributes. The download unit downloads the updated software via the communication network and stores the updated software in a free area of the storage unit. The updating unit rewrites existing software stored in the storage unit with updated software stored in the storage unit.
[0011]
In the above configuration, when the existing free area of the storage means is smaller than the updated software, the free area generation means performs a free area generation process on the software of the storage means to generate a new free area in the storage means. In addition, a free area required for temporarily storing the updated software is secured. This free area generation processing is set according to the attribute of the software to be processed. For this reason, it is possible to download and rewrite updated software at once without dividing the updated software by effectively utilizing the storage means in the terminal without connecting another component such as a memory outside the mobile communication terminal.
[0012]
The mobile communication terminal may further include a table. In the table, the priority of the free space generation process and the adaptability of each software to each free space generation process are set. The free area generating means sequentially performs processing based on the table from software having applicability to the high priority free area generating processing.
[0013]
The table may be provided in the free space generating means, or may be provided in the storage means.
[0014]
In the above configuration, when the existing free area in the storage means is smaller than the update software, the free area generating means first selects the free area generating process having the highest priority and has applicability to this process. The selected free area generating process is performed by software. If the existing free space in the storage means is smaller than the updated software even after this process is completed, the next highest priority free space generation process is selected, and the process is performed by software having applicability to this process. Is applied. Thereafter, similarly, the area generation processing is sequentially selected in accordance with the priority and the processing is performed on the software.
[0015]
As described above, priorities are set in advance for a plurality of free space generation processes, and the free space generation process to be executed is selected according to the priorities. For example, as in the process of discarding stored software, The processing in which the processing time is relatively short and in which a large empty area can be expected can be preferentially performed, and the empty area can be efficiently generated.
[0016]
If there is a plurality of software that has applicability to a certain free space generation process, the table may further set priorities for the plurality of software, and the free space generation unit may use When performing the free space generation processing, the processing may be performed sequentially from software having a higher priority.
[0017]
Even if the software has applicability to the same free area generation processing, the degree of adaptability is not always the same. In the above configuration, when the selected free area generation processing is executed, the processing is performed in order from the software having the highest adaptability, so that the free area can be generated more efficiently.
[0018]
The free area generating means may include at least two of the discarding means, the compression / decompression means, the reloading means, and the external storage device saving means. The discarding unit discards the software stored in the storage unit and newly generates a free area. The compression / decompression means compresses the software stored in the storage means, moves the software to another area of the storage means to newly generate a free area, and decompresses the compressed software after the rewriting by the updating means to complete the storage means. In the original area. The reloading means temporarily discards the software stored in the storage means to newly generate an empty area, and downloads the discarded software via a communication network after the rewriting by the updating means, and downloads the discarded software to the storage means. In the area. The external storage device saving means temporarily saves the software stored in the storage means to an external saving device connected to the communication network, and downloads the saved software via the communication network after rewriting by the updating means. It is stored in the original area of the storage means.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.
[0020]
FIG. 1 is a block diagram of the embodiment, and FIG. 2 is a schematic diagram of a software management table.
[0021]
As shown in FIG. 1, a mobile phone (hereinafter abbreviated as a terminal) 1 as a mobile communication terminal includes a
[0022]
The
[0023]
The
[0024]
The communication I /
[0025]
The
[0026]
The software management table (table) 4 is provided in the
[0027]
The rewriting
[0028]
The rewriting
[0029]
The compression /
[0030]
The
[0031]
The external storage device save processing
[0032]
As shown in FIG. 2, the table 4 shows the address areas (start address and end address) for each of the software A, B, C, D, E, F, G,. , Its attributes are recorded. The attribute is the adaptability (disposability / compression) of each software A, B, C, D, E, F, G,... To each free space generation process (discard / compression save / reload / external save). Evacuation possibility, reloading possibility, external evacuation possibility). For example, the browser cache has the possibility of discarding, the font program has the possibility of compression and saving, and the application software such as the ring tone downloaded from the
[0033]
Each column is an integer value, "0" indicates that adaptation is not possible, and a positive integer value indicates that adaptability is possible. Further, a positive integer value indicates a priority for the same free area generation processing. When the priority is the highest, it is “1”, and the priority decreases as the number increases. For example, in the external save, the column of software F is “1” and the column of software G is “3”. Therefore, the software that can be saved to the outside is F and G, the priority of which is higher than that of F. In the case of the external saving process, F is processed before G.
[0034]
The order of the free space generation processing on the table 4 indicates the priority. That is, the free space generation processing is arranged in the order of discarding / compression saving / reloading / external saving from left to right in FIG. 2, and discarding has the highest priority. Priority decreases in order.
[0035]
The rewriting
[0036]
Although not particularly shown, the
[0037]
Next, the operation of the present embodiment will be described with reference to the flowcharts shown in FIGS.
[0038]
In a normal operation state, the
[0039]
When a software rewrite instruction is input to the terminal 1 from the user, the
[0040]
First, as a preparatory process before downloading a patch, a free area shown in FIGS. 3 and 4 is secured.
[0041]
When the control of securing the free area starts, the process proceeds to step S1. In step S1, the
[0042]
If the empty area is smaller than the size of the patch, a signal is output to the
[0043]
In steps S2 to S13, processing is performed to secure a necessary free area.
[0044]
First, in step S2, the rewriting
[0045]
In step S3, the rewriting
[0046]
In step S4, the free area is compared with the size of the patch. If the free area is larger, the control is terminated. If the empty area is still smaller, the process proceeds to step S5.
[0047]
In step S5, the
[0048]
In step S6, the compression /
[0049]
In step S7, the free area is compared with the size of the patch. If the free area is larger, the control is terminated. If the empty area is still smaller, the process proceeds to step S8.
[0050]
In step S8, the
[0051]
In step S9, the rewriting
[0052]
In step S10, the free area is compared with the size of the patch. If the free area is larger, the control is terminated. If the empty area is still smaller, the process proceeds to step S11.
[0053]
In step S11, the
[0054]
In step S12, the external storage device save processing
[0055]
In the control shown in FIG. 4, first, in step S21, the free area is compared with the size of the patch, and if the free area is larger, this control ends. If the empty area is still smaller, the process proceeds to step S22.
[0056]
In step S22, the priority P is set to 1 and the process proceeds to step S23.
[0057]
In step S23, it is determined whether or not all the software has been checked for the corresponding free area generation processing (in this embodiment, the external save processing). If all software has already been checked, it is determined that securing of a free area in the corresponding free area generation processing (external save processing) has failed. If all software has not been checked yet, the process proceeds to step S24.
[0058]
In step S24, it is determined whether or not there is data of priority P. If there is data of the priority P, the process proceeds to step S25, the data is processed (external save process), and the process proceeds to step S26.
[0059]
In step S26, the free area is compared with the size of the patch, and if the free area is larger, this control ends.
[0060]
If it is determined in step S24 that there is no data of priority P, and if it is determined in step S26 that the empty area is still smaller, the process proceeds to step S27, where P = P + 1, the process returns to step S23, and step 23 is performed again. The following control is performed.
[0061]
When the priorities of the respective software for the same free area generation processing are different from each other, the column of the priority "1" is searched first, the corresponding software is processed, and the free area becomes larger than the size of the patch. , The corresponding software is sequentially processed with decreasing priority (in the order of “2”, “3”, “4”,...). According to Table 4, the software F whose column is “1” is first externally saved, and when it is still insufficient, the software G whose column is “3” is externally saved.
[0062]
In FIG. 4, if the securing of the free area succeeds or fails, the process returns to FIG. 3.
[0063]
Note that the control shown in FIG. 4 is similarly performed in the discarding process, the compression saving process, and the reloading process when the priorities are different.
[0064]
In step S13 in FIG. 3, the free area is compared with the size of the patch. If the free area is larger, the free area is successfully secured and the control ends. If the vacant area is still smaller, the vacant area cannot be secured and the control ends.
[0065]
If the free area cannot be secured, the software cannot be downloaded, and the software update process ends.
[0066]
If the free area is successfully secured, the software update processing is continued.
[0067]
First, the
[0068]
When the writing is completed, the patch in the
[0069]
As described above, according to the present embodiment, when the free space existing in the
[0070]
In addition, priorities are set in advance for a plurality of free space generation processes, and the free space generation process to be executed is selected according to the priorities. Can be preferentially performed in a process in which the generation of a large free area can be expected, and the generation of a free area can be performed efficiently.
[0071]
Further, when the degree of adaptability for the same free area generation processing differs between software, the processing is performed in order from the software having the highest adaptability, so that the free area can be generated more efficiently.
[0072]
In the above embodiment, the mobile phone is described as an example of the
[0073]
【The invention's effect】
According to the present invention, downloading and rewriting of software via a communication network can be performed efficiently and reliably by effectively utilizing a storage area in a terminal without requiring a separate component.
[Brief description of the drawings]
FIG. 1 is a block diagram of the present embodiment.
FIG. 2 is a schematic diagram of a software management table.
FIG. 3 is a flowchart illustrating control according to the present embodiment.
FIG. 4 is a flowchart illustrating control according to the present embodiment.
[Explanation of symbols]
1.
3 rewriting
7
Claims (4)
それぞれが固有の属性を有する複数のソフトウェアを記憶する記憶手段と、
前記ダウンロードする更新ソフトウェアの大きさと前記記憶手段の既存の空き領域の大きさとを比較し、既存の空き領域が更新ソフトウェアよりも小さいときは、空き領域が不足していると判断する判断手段と、
空き領域が不足していると判断されたとき、新たに空き領域を生成するための空き領域生成処理を、前記記憶手段が記憶しているソフトウェアに対してその属性に応じて施す空き領域生成手段と、
前記通信ネットワークを介して更新ソフトウェアをダウンロードして前記記憶手段の空き領域に記憶させるダウンロード手段と、
前記記憶手段が記憶する既存のソフトウェアを該記憶手段が記憶する更新ソフトウェアに書き換える更新手段と、
を備えたことを特徴とする携帯通信端末。A mobile communication terminal that downloads update software via a communication network,
Storage means for storing a plurality of software each having a unique attribute;
Comparing the size of the update software to be downloaded with the size of an existing free area of the storage unit, and when the existing free area is smaller than the update software, determining means for determining that the free area is insufficient;
A free area generating means for performing a free area generating process for generating a new free area on the software stored in the storage means according to the attribute when it is determined that the free area is insufficient. When,
Download means for downloading updated software via the communication network and storing the updated software in a free area of the storage means;
Update means for rewriting existing software stored in the storage means with update software stored in the storage means,
A mobile communication terminal comprising:
空き領域生成処理の優先順位と各空き領域生成処理に対する各ソフトウェアの適応可能性とが設定されたテーブルをさらに備え、
前記空き領域生成手段は、前記テーブルに基づき、優先順位の高い空き領域生成処理に対して適応可能性を有するソフトウェアから順次処理を施す
ことを特徴とする携帯通信端末。The mobile communication terminal according to claim 1,
It further includes a table in which the priority of the free space generation process and the adaptability of each software to each free space generation process are set,
The mobile communication terminal according to claim 1, wherein said free space generating means sequentially performs processing based on said table from software having a possibility of adapting to a high priority free space generating process.
前記テーブルには、一つの空き領域生成処理に対して適応可能性を有する複数のソフトウェアについてさらに優先度が設定され、
前記空き領域生成手段は、前記一つの空き領域生成処理を行うときは優先度の高いソフトウェアから順次処理を施す
ことを特徴とする携帯通信端末。The mobile communication terminal according to claim 2, wherein
In the table, further priority is set for a plurality of software having applicability to one free space generation process,
The mobile communication terminal according to claim 1, wherein said free space generating means sequentially performs processing from software having a higher priority when said one free space generating process is performed.
前記空き領域生成手段は、廃棄手段と圧縮伸長手段と再ロード手段と外部記憶装置退避手段とのうち少なくとも二つの手段を備え、
前記廃棄手段は、前記記憶手段が記憶するソフトウェアを廃棄して空き領域を新たに生成し、
前記圧縮伸長手段は、前記記憶手段が記憶しているソフトウェアを圧縮し前記記憶手段の他の領域に移して空き領域を新たに生成すると共に、前記更新手段による書き換え終了後に、圧縮したソフトウェアを伸長して前記記憶手段の元の領域に記憶させ、
前記再ロード手段は、前記記憶手段が記憶するソフトウェアを一時的に廃棄して空き領域を新たに生成すると共に、前記更新手段による書き換え終了後に、廃棄したソフトウェアを前記通信ネットワークを介してダウンロードして前記記憶手段の元の領域に記憶させ、
前記外部記憶装置退避手段は、前記記憶手段が記憶するソフトウェアを前記通信ネットワークに接続された外部退避装置に一時的に退避させると共に、前記更新手段による書き換え終了後に、退避したソフトウェアを前記通信ネットワークを介してダウンロードして前記記憶手段の元の領域に記憶させる
ことを特徴とする携帯通信端末。A mobile communication terminal according to any one of claims 1 to 3,
The empty area generating means includes at least two of a discarding means, a compression / decompression means, a reloading means, and an external storage device saving means,
The discarding unit discards software stored in the storage unit to newly generate an empty area,
The compression / decompression means compresses the software stored in the storage means, transfers the software to another area of the storage means to newly generate a free area, and decompresses the compressed software after rewriting by the updating means. And store it in the original area of the storage means,
The reloading means temporarily discards software stored in the storage means to newly generate a free area, and after rewriting by the updating means, downloads the discarded software via the communication network. Stored in the original area of the storage means,
The external storage device saving means temporarily saves software stored in the storage means to an external saving device connected to the communication network, and after the rewriting by the updating means finishes saving the software saved in the communication network. A portable communication terminal, wherein the portable communication terminal downloads the data via an external device and stores the data in an original area of the storage means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003113836A JP2004320591A (en) | 2003-04-18 | 2003-04-18 | Portable communication terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003113836A JP2004320591A (en) | 2003-04-18 | 2003-04-18 | Portable communication terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2004320591A true JP2004320591A (en) | 2004-11-11 |
Family
ID=33473612
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003113836A Withdrawn JP2004320591A (en) | 2003-04-18 | 2003-04-18 | Portable communication terminal |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2004320591A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2006137147A1 (en) * | 2005-06-24 | 2006-12-28 | Vodafone K.K. | Data communication method, data communication system, and mobile communication terminal device |
JP2007148695A (en) * | 2005-11-25 | 2007-06-14 | Konica Minolta Business Technologies Inc | Information processor and method of rewriting boot program |
JP2010051008A (en) * | 2005-04-15 | 2010-03-04 | Kt Freetel Co Ltd | Method for providing content for mobile communication terminal equipment |
JP2014126972A (en) * | 2012-12-26 | 2014-07-07 | Sony Corp | Wireless communication apparatus, communication system, wireless communication apparatus control method, and program |
CN109947571A (en) * | 2019-03-22 | 2019-06-28 | 北京奇艺世纪科技有限公司 | A kind of memory release method and system |
US11470390B2 (en) * | 2020-06-30 | 2022-10-11 | Arris Enterprises Llc | System and method for media hub software updating |
-
2003
- 2003-04-18 JP JP2003113836A patent/JP2004320591A/en not_active Withdrawn
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010051008A (en) * | 2005-04-15 | 2010-03-04 | Kt Freetel Co Ltd | Method for providing content for mobile communication terminal equipment |
WO2006137147A1 (en) * | 2005-06-24 | 2006-12-28 | Vodafone K.K. | Data communication method, data communication system, and mobile communication terminal device |
US8407310B2 (en) | 2005-06-24 | 2013-03-26 | Vodafone Group Plc | Method for data communication, data communication system and mobile communication terminal |
JP2007148695A (en) * | 2005-11-25 | 2007-06-14 | Konica Minolta Business Technologies Inc | Information processor and method of rewriting boot program |
JP2014126972A (en) * | 2012-12-26 | 2014-07-07 | Sony Corp | Wireless communication apparatus, communication system, wireless communication apparatus control method, and program |
US9887890B2 (en) | 2012-12-26 | 2018-02-06 | Sony Corporation | Wireless communication between wireless communication devices |
CN109947571A (en) * | 2019-03-22 | 2019-06-28 | 北京奇艺世纪科技有限公司 | A kind of memory release method and system |
US11470390B2 (en) * | 2020-06-30 | 2022-10-11 | Arris Enterprises Llc | System and method for media hub software updating |
US11943506B2 (en) | 2020-06-30 | 2024-03-26 | Arris Enterprises Llc | System and method for media hub software updating |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7275153B2 (en) | Booting and boot code update system using boot strapper code to select between a loader and a duplicate backup loader | |
US7584379B2 (en) | Mobile terminal and software update method | |
CN107077396B (en) | In-vehicle control device, program writing device, program generating device, and method | |
JP4944686B2 (en) | Software update method and portable terminal device | |
US8364942B2 (en) | Electronic device having an alterable configuration and methods of manufacturing and configuring the same | |
JP5307706B2 (en) | Operating system gradual boot process | |
CA2636160C (en) | System and method for storing a program using partial compression | |
JP2007189332A (en) | Software update method and mobile terminal | |
JP2004320591A (en) | Portable communication terminal | |
KR100729525B1 (en) | Method and system for updating firmware | |
CN112860291A (en) | Firmware upgrading method and device | |
KR20070010353A (en) | Method for compression of executable file in mobile telecommunication terminal | |
US7991390B2 (en) | Program updating method of wireless communication terminal and wireless communication terminal using the same | |
CN111142913A (en) | Hot updating method and equipment for iOS system application program | |
KR100538627B1 (en) | Method for partupgrading sofrware of wireless terminal | |
JP2008077474A (en) | Firmware update method, electronic device and firmware update program | |
KR100636518B1 (en) | Method for upgrade of firmware in mobile telecommunication terminal | |
JP5002900B2 (en) | Control device, its program, and program download method | |
CN109996262B (en) | AC starting method and device | |
JP3715631B2 (en) | Information processing apparatus, CPU frequency control method, and program | |
JP5275105B2 (en) | Electronics | |
JP5275103B2 (en) | Electronics | |
CN117527779A (en) | Method for issuing upgrade package, server, terminal and storage medium | |
CN111522566A (en) | System upgrading method, terminal and storage medium | |
JP2005332228A (en) | Program switching controller |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20060704 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20071009 |
|
A072 | Dismissal of procedure [no reply to invitation to correct request for examination] |
Free format text: JAPANESE INTERMEDIATE CODE: A072 Effective date: 20080206 |