JP2009151426A - Device, method and program for update processing of software program, and portable terminal device - Google Patents
Device, method and program for update processing of software program, and portable terminal device Download PDFInfo
- Publication number
- JP2009151426A JP2009151426A JP2007327014A JP2007327014A JP2009151426A JP 2009151426 A JP2009151426 A JP 2009151426A JP 2007327014 A JP2007327014 A JP 2007327014A JP 2007327014 A JP2007327014 A JP 2007327014A JP 2009151426 A JP2009151426 A JP 2009151426A
- Authority
- JP
- Japan
- Prior art keywords
- software program
- version number
- update
- update file
- downgrade
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、例えば携帯電話機、PHS電話機(PHS:Personal Handyphone System)、PDA装置(PDA:Personal Digital Assistant)、通信機能を備えた携帯ゲーム機、ノート型或いはデスクトップ型のパーソナルコンピュータ装置等に適用して好適なソフトウェアプログラムの更新処理装置、ソフトウェアプログラムの更新処理方法、ソフトウェアプログラムの更新処理プログラム、及び携帯端末装置に関し、特にソフトウェアプログラムを記憶するメモリの記憶領域が、当該ソフトウェアプログラムのバージョンアップが図られる毎に該バージョンアップ用の更新用ファイルで圧迫される不都合を防止したソフトウェアプログラムの更新処理装置、ソフトウェアプログラムの更新処理方法、ソフトウェアプログラムの更新処理プログラム、及び携帯端末装置に関する。 The present invention is applied to, for example, a mobile phone, a PHS phone (PHS: Personal Handyphone System), a PDA device (PDA: Personal Digital Assistant), a portable game machine having a communication function, a notebook or desktop personal computer device, and the like. In particular, a software program update processing device, a software program update processing method, a software program update processing program, and a portable terminal device, in particular, a storage area of a memory that stores the software program is a version upgrade of the software program. Software program update processing device, software program update processing method, software program update processing program, and portable terminal device that prevent the inconvenience of being pressed by the update file for version upgrade About.
今日において、携帯電話機等の携帯機器のソフトウェアプログラムの不具合の修正やアップデートを無線経由で迅速に行うFOTA方式(FOTA:Firmware Over The Air)が知られている。このFOTA方式においては、更新前のソフトウェアプログラムと更新後のソフトウェアプログラムとの違いを示す差分データ(=更新用ファイル)を用い、該更新前のソフトウェアプログラムを修正することで、ソフトウェアプログラムのバージョンアップを図るようになっている。 2. Description of the Related Art Today, the FOTA method (FOTA: Firmware Over The Air) is known in which a software program of a mobile device such as a mobile phone is quickly corrected and updated via radio. In this FOTA method, the difference between the software program before the update and the software program after the update (= update file) is used, and the software program before the update is modified to update the version of the software program. It comes to plan.
しかし、最新バージョンのソフトウェアプログラムがリリースされた時点において、全てのユーザ携帯機器が、この最新バージョンの一つ前のバージョンのソフトウェアプログラムに更新済みであるとは限らない。このため、最新バージョンのソフトウェアプログラムをリリースする際には、今日までにリリースした全ての古いバージョンのソフトウェアプログラムを、それぞれ上記最新バージョンのソフトウェアプログラムにバージョンアップさせるための更新用ファイルをそれぞれ用意する必要があった。 However, when the latest version of the software program is released, not all user portable devices have been updated to the previous version of the software program. For this reason, when releasing the latest version of a software program, it is necessary to prepare update files for upgrading all the old versions of software programs released to date to the latest version of the software program. was there.
すなわち、例えば最新バージョンのソフトウェアプログラムのバージョン番号がバージョンV5であり、このバージョンV5のソフトウェアプログラムをリリースする前にバージョンV1〜バージョンV4のソフトウェアプログラムが順にリリース済みであった場合、全てのユーザがバージョンV4のソフトウェアプログラムにバージョンアップ済みであるとは限らず、バージョンV2やバージョンV3までしかバージョンアップが済んでいないユーザも存在する。 That is, for example, when the version number of the latest version of the software program is version V5, and the software programs of version V1 to version V4 have been released in order before releasing the software program of version V5, all users are versioned. The V4 software program is not necessarily upgraded, and there are users who have upgraded only to version V2 and version V3.
このため、この例の場合における最新バージョンであるバージョンV5のソフトウェアプログラムをリリースする際には、バージョンV1のソフトウェアプログラムをバージョンV5のソフトウェアプログラムにバージョンアップするための更新用ファイル、バージョンV2のソフトウェアプログラムをバージョンV5のソフトウェアプログラムにバージョンアップするための更新用ファイル、バージョンV3のソフトウェアプログラムをバージョンV5のソフトウェアプログラムにバージョンアップするための更新用ファイル、バージョンV4のソフトウェアプログラムをバージョンV5のソフトウェアプログラムにバージョンアップするための更新用ファイルをそれぞれ用意する必要があった。 For this reason, when releasing the version V5 software program which is the latest version in this example, an update file for upgrading the version V1 software program to the version V5 software program, and the version V2 software program Update file for upgrading the version V5 software program to version V5, update file for upgrading the version V3 software program to version V5 software program, version V4 software program to version V5 software program It was necessary to prepare each update file for uploading.
このように全てのバージョンのソフトウェアプログラムに対する更新用ファイルが必要となるため、ソフトウェアプログラムのバージョンアップが数多く行われると、現存するバージョン数に比例して更新用ファイルの数が増加すると共に、各更新用ファイル毎にそれぞれ動作確認作業を行う必要があることから、当該更新用ファイルの動作確認作業が増加する問題がある。 Since update files for all versions of the software program are required in this way, if many software program upgrades are made, the number of update files increases in proportion to the number of existing versions, and each update Since it is necessary to perform operation check work for each file, there is a problem that the operation check work of the update file increases.
ここで、特許3977627号の特許公報(特許文献1)において、現在のバージョンがどの段階のバージョンであっても、1種類のバージョンアップファイルで対応可能としたシステムプログラムのバージョンアップ方法が開示されている。 Here, a patent publication (Patent Document 1) of Japanese Patent No. 397627 discloses a method for upgrading a system program that can be handled by one type of upgrade file regardless of which stage the current version is. Yes.
このバージョンアップ方法の場合、現在起動しているシステムプログラムとは別に、初期バージョンのシステムプログラムを記憶装置に格納しておく。バージョンアップファイルとしては,システムプログラムを初期バージョンから最新バージョンへバージョンアップするものを用意する。そして、バージョンアップを行う際に、記憶装置の空き領域に初期バージョンのシステムプログラムの複製を作成し、初期バージョンのシステムプログラムの複製を、バージョンアップファイルを用いて最新バージョンのシステムプログラムに更新する。その後に、起動するシステムプログラムを最新バージョンのシステムプログラムに切り替える。 In this version upgrade method, an initial version of the system program is stored in the storage device separately from the currently activated system program. Prepare a version upgrade file that upgrades the system program from the initial version to the latest version. When the upgrade is performed, a copy of the initial version of the system program is created in the free area of the storage device, and the copy of the initial version of the system program is updated to the latest version of the system program using the upgrade file. Thereafter, the system program to be started is switched to the latest version of the system program.
これにより、メーカ側では、初期バージョンから最新バージョンへバージョンアップする1種類のバージョンアップファイルのみ用意すれば良く、それまでリリースした各バージョンに対応する複数のバージョンアップファイルを用意する必要がなくなると共に、バージョンアップファイルの動作確認作業も、初期バージョンから最新バージョンへバージョンアップするバージョンアップファイルに対する動作確認作業のみとすることができる。 As a result, the manufacturer only needs to prepare one type of upgrade file for upgrading from the initial version to the latest version, and it is not necessary to prepare multiple upgrade files corresponding to each version released so far. The operation check operation of the upgrade file can also be only the operation check operation for the upgrade file to be upgraded from the initial version to the latest version.
しかし、特許文献1に開示されているシステムプログラムのバージョンアップ方法の場合、初期バージョンのシステムプログラムを記憶装置に終始保存しておく必要がある。このため、記憶装置における上記初期バージョンのシステムプログラムを保存する領域は、言わばデッドスペースとなる問題がある(=記憶装置の記憶領域が初期バージョンのシステムプログラムの保存で無駄に使用される問題がある。)。
However, in the case of the system program version upgrade method disclosed in
具体的には、携帯電話機の内部メモリの記憶領域を128Mbyte、初期バージョンのシステムプログラムが40Mbyte、最新バージョンのシステムプログラムが40Mbyteとすると、特許文献1に開示されているシステムプログラムのバージョンアップ方法の場合、当該内部メモリの128Mbyteの全記憶領域のうち、80Mbyte(初期バージョン40Mbyte+最新バージョン40Mbyte)が使用され、残りが40Mbyteとなる。この残りの記憶領域はユーザ領域(ストレージ領域)として使用されることが多い。
Specifically, when the storage area of the internal memory of the mobile phone is 128 Mbytes, the initial version of the system program is 40 Mbytes, and the latest version of the system program is 40 Mbytes, the system program upgrade method disclosed in
このように、特許文献1に開示されているシステムプログラムのバージョンアップ方法の場合、本来は、ユーザ領域として80Mbyteが使用可能となるところを、初期バージョンのシステムプログラムを保存することで、ユーザ領域を40Mbyteまで減少させてしまう不都合がある。
As described above, in the system program version upgrade method disclosed in
本発明は、上述の課題に鑑みてなされたものであり、ソフトウェアプログラムを記憶するメモリの記憶領域を有効に使用可能とすることができ、バージョンアップの回数が多数に及ぶ場合でも、1種類の更新用ファイルのリリースで済み、また、動作確認作業も、この1種類の更新用ファイルに対する動作確認作業のみとすることができるような携帯端末装置の提供を目的とする。 The present invention has been made in view of the above-described problems, and can effectively use a storage area of a memory for storing a software program. Even when the number of version upgrades reaches a large number, It is an object of the present invention to provide a portable terminal device that requires only the release of an update file and that can perform only the operation check operation for the one type of update file.
本発明に係るソフトウェアプログラムの更新処理装置は、上述の課題を解決するための手段として、
ソフトウェアプログラムを記憶する記憶手段と、
上記記憶手段に記憶されているソフトウェアプログラムを、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理するダウングレード処理手段と、
上記ダウングレード処理手段によりダウングレード処理された、上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを取得する更新用ファイル取得手段と、
上記更新用ファイル取得手段により取得された更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する更新処理手段と
を有する。
The software program update processing device according to the present invention provides a means for solving the above-described problems.
Storage means for storing software programs;
Downgrade processing means for downgrading the software program stored in the storage means to a software program having a base version number which is a predetermined lower version number than the version number of the software program;
Update file acquisition for acquiring an update file for upgrading the software program having the base version number downgraded by the downgrade processing means to a software program having a higher version number than the base version number Means,
Update processing means for updating the software program with the base version number into a software program with a predetermined higher version number based on the update file acquired by the update file acquisition means.
また、本発明に係るソフトウェアプログラムの更新処理方法は、上述の課題を解決するための手段として、
記憶手段に記憶されているソフトウェアプログラムを、ダウングレード処理手段が、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理するステップと、
上記ステップにおいて上記ダウングレード処理手段によりダウングレード処理された、上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを、更新用ファイル取得手段が取得するステップと、
上記ステップにおいて上記更新用ファイル取得手段により取得された更新用ファイルに基づいて、更新処理手段が、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理するステップと
を有する。
In addition, the software program update processing method according to the present invention provides a means for solving the above-described problems.
A step in which the downgrade processing means downgrades the software program stored in the storage means to a software program having a base version number which is a predetermined lower version number than the version number of the software program;
An update file for updating the software program of the base version number downgraded by the downgrade processing means in the above step to a software program of a higher version number than the base version number A step of acquiring by the file acquisition means;
Based on the update file acquired by the update file acquisition means in the step, the update processing means updates the software program with the base version number to a software program with a predetermined higher version number. Have.
また、本発明に係るソフトウェアプログラムの更新処理プログラムは、
記憶手段に記憶されているソフトウェアプログラムを、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理するダウングレード処理手段としてコンピュータを機能させ、
コンピュータを上記ダウングレード処理手段として機能させることでダウングレード処理された上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを取得するように、更新用ファイル取得手段を制御する更新用ファイル取得制御手段としてコンピュータを機能させ、
コンピュータを上記更新用ファイル取得制御手段として機能させることで、上記更新用ファイル取得手段により取得された更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する更新処理手段としてコンピュータを機能させることで上述の課題を解決する。
In addition, an update processing program for a software program according to the present invention includes:
Causing the computer to function as a downgrade processing means for downgrading a software program stored in the storage means to a software program having a base version number that is a predetermined lower version number than the version number of the software program;
Acquire an update file for upgrading the software program with the base version number downgraded to a software program with a higher version number than the base version number by causing the computer to function as the downgrade processing means. So that the computer functions as an update file acquisition control means for controlling the update file acquisition means,
By causing the computer to function as the update file acquisition control means, the software program with the base version number is replaced with the software program with a predetermined higher version number based on the update file acquired by the update file acquisition means. The above-described problem is solved by causing a computer to function as an update processing means for performing update processing.
また、本発明に係る携帯端末装置は、上述の課題を解決するための手段として、
ソフトウェアプログラムを記憶する記憶手段と、
上記記憶手段に記憶されているソフトウェアプログラムを、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理するダウングレード処理手段と、
無線通信を行うための無線通信手段と、
上記ダウングレード処理手段によりダウングレード処理された、上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを、所定のネットワーク上のサーバ装置から取得するように、上記無線通信手段を通信制御する更新用ファイル取得手段と、
上記更新用ファイル取得手段の通信制御により、上記無線通信手段を介して取得された更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する更新処理手段と
を有する。
Moreover, the portable terminal device according to the present invention is a means for solving the above-described problems.
Storage means for storing software programs;
Downgrade processing means for downgrading the software program stored in the storage means to a software program having a base version number which is a predetermined lower version number than the version number of the software program;
Wireless communication means for performing wireless communication;
An update file for upgrading the software program having the base version number downgraded by the downgrade processing means to a software program having a version number higher than the base version number is provided on a predetermined network. Update file acquisition means for controlling communication of the wireless communication means so as to acquire from the server device;
Based on the update file acquired via the wireless communication means, the base version number software program is updated to a predetermined higher version number software program based on the communication control of the update file acquisition means. And update processing means.
このような本発明は、記憶手段に記憶されているソフトウェアプログラムのバージョンアップを図る際、当該記憶手段に記憶されているソフトウェアプログラムを、一旦、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理する。 In the present invention, when upgrading the version of the software program stored in the storage unit, the software program stored in the storage unit is temporarily stored in a version lower than the version number of the software program. Downgrade to the software program with the base version number that is the number.
また、このダウングレード処理された上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを取得する。そして、この取得した更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する。 Also, an update file for upgrading the downgraded software program with the base version number to a software program with a higher version number than the base version number is acquired. Based on the obtained update file, the software program with the base version number is updated to a software program with a predetermined higher version number.
本発明の場合、旧バージョン番号のソフトウェアプログラムを例えば最初期バージョン番号等のベースバージョン番号のソフトウェアプログラムにダウングレード処理するためのダウングレード処理プログラム、このベースバージョン番号のソフトウェアプログラムにダウングレード処理されたソフトウェアプログラムを、該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイル、及び上記更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムから上記上位のバージョン番号のソフトウェアプログラムに更新処理された該上位のバージョン番号のソフトウェアプログラムが記憶手段に記憶されることとなる。 In the case of the present invention, a downgrade processing program for downgrading a software program having an old version number to a software program having a base version number such as an initial version number, and the downgrading processing to the software program having this base version number An update file for upgrading the software program to a software program having a higher version number than the base version number, and the software program having the higher version number from the software program having the base version number based on the update file. The software program of the higher version number updated in the software program is stored in the storage means.
ダウングレード処理プログラムや更新用ファイルのデータ量は、例えば数kbyte〜1Mbyte程度となり、例えば40Mbyteのソフトウェアプログラムのデータ量に対して、わずか数十分の一程度のデータ量となる。このため、最初期バージョン番号のソフトウェアプログラム(40Mbyte)、及び最新バージョン番号のソフトウェアプログラム(40Mbyte)を共に記憶手段に記憶する場合に比べ(計80Mbyte)、記憶手段に記憶させるプログラム等のデータ量を大幅に削減することができる。従って、記憶領域の余領域をユーザ領域等に有効に使用可能とすることができる。 The data amount of the downgrade processing program and the update file is, for example, about several kbytes to 1 Mbyte, and is only a few tenths of the data amount of the data amount of the 40 Mbyte software program, for example. For this reason, compared with the case where both the initial version number software program (40 Mbytes) and the latest version number software program (40 Mbytes) are stored in the storage means (total 80 Mbytes), the amount of data such as programs stored in the storage means is reduced. It can be greatly reduced. Therefore, the remaining area of the storage area can be effectively used as a user area or the like.
また、旧バージョン番号のソフトウェアプログラムを、一旦、ベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このダウングレード処理したソフトウェアプログラムを所定の上位のバージョン番号のソフトウェアプログラムに更新処理するようになっている。このため、リリースする更新用ファイルは、ベースバージョン番号のソフトウェアプログラムを、例えば最新バージョン番号等の上位のバージョン番号のソフトウェアプログラムに更新する、1種類の更新用ファイルのみとすることができる。 Also, the software program with the old version number is once downgraded to the software program with the base version number, and the software program after the downgrade process is updated to the software program with a predetermined higher version number. . For this reason, the update file to be released can be only one type of update file for updating the software program having the base version number to a software program having a higher version number such as the latest version number.
また、リリースする更新用ファイルを上記1種類の更新用ファイルのみとすることができるため、動作確認作業も、この1種類の更新用ファイルに対する動作確認作業のみとすることができる。 In addition, since the update file to be released can be only the one type of update file, the operation check operation can be only the operation check operation for the one type of update file.
本発明は、記憶手段の記憶領域を圧迫することなく、ソフトウェアプログラムの更新処理を図ることができる。このため、記憶手段上に大きな記憶容量の余領域を確保することができ、この余領域をユーザ領域等に有効に使用可能とすることができる。 According to the present invention, software program update processing can be achieved without squeezing the storage area of the storage means. For this reason, an extra area having a large storage capacity can be secured on the storage means, and this extra area can be effectively used as a user area or the like.
また、過去におけるバージョンアップの回数が多数に及ぶ場合でも、1種類の更新用ファイルのリリースのみで対応可能とすることができる。従って、最新バージョンのソフトウェアプログラムをリリースする際における更新用ファイルの動作確認作業も、この1種類の更新用ファイルに対する動作確認作業のみとすることができ、当該動作確認作業を大幅に軽減することができる。 In addition, even when the number of version upgrades in the past reaches a large number, it can be handled by only releasing one type of update file. Therefore, the operation check operation of the update file when releasing the latest version of the software program can be performed only for the operation check operation for this one type of update file, and the operation check operation can be greatly reduced. it can.
本発明は、例えばCDMA通信方式(CDMA:Code Division Multiple Access)に対応した無線通信が可能な携帯電話機に適用することができる。 The present invention can be applied to, for example, a mobile phone capable of wireless communication corresponding to a CDMA communication system (CDMA: Code Division Multiple Access).
[携帯電話機の構成]
この本発明を適用した実施の形態となる携帯電話機は、図1に示すように無線基地局との間で上記CDMA通信方式に基づく音声通話、テレビ電話通話、電子メール、Webデータ(Web:World Wide Web)等の無線通信を行うアンテナ1及び通信回路2と、操作メニュー、電子メール、画像(静止画像及び動画像)等を表示するための表示部3と、所望のメニューの選択操作等を行うための操作部4と、受話音声等を出力するためのスピーカ部5と、送話音声等を集音するためのマイクロホン部6と、所望の被写体の静止画像や動画像を撮像するためのカメラ部7と、発着信等を光でユーザに通知するための発光部8(LED:Light Emitting Diode)とを有している。
[Configuration of mobile phone]
As shown in FIG. 1, a cellular phone according to an embodiment to which the present invention is applied includes a voice call, videophone call, e-mail, Web data (Web: World) based on the CDMA communication method with a radio base station.
また、この携帯電話機は、当該携帯電話機の筐体を振動させて発着信等をユーザに通知するためのバイブレーションユニット9と、現在時刻をカウントするタイマ10と、通信プログラム、後述するソフトウェアプログラムの更新制御プログラムやユーザデータ等が記憶されたNANDメモリ11(NAND:NOT-AND)と、NANDメモリ11から読み出された上記通信プログラム等が展開されるSDRAM12(Synchronous Dynamic Random Access Memory)と、当該携帯電話機全体の動作を制御する制御部14とを有している。
The mobile phone also vibrates the mobile phone casing to notify the user of incoming / outgoing calls, a
〔NANDメモリ〕
この携帯電話機は、図2に示すように、NANDメモリ11に記憶されたソフトウェアプログラムをSDRAM12上に展開して実行する、いわゆるNANDブート方式に基づいてソフトウェアプログラムを実行するようになっている。
[NAND memory]
As shown in FIG. 2, this mobile phone is configured to execute a software program based on a so-called NAND boot system in which a software program stored in a
NANDメモリ11に記憶されているソフトウェアプログラムを更新(バージョンアップ)する場合、図3(a)〜図3(c)に示すように、所定のネットワーク上のサーバ装置から、古いバージョンのソフトウェアプログラムに対する最新バージョンのソフトウェアプログラムの差を示すプログラムとなる更新用ファイルをダウンロードし、この更新用ファイルに基づいて、NANDメモリ11に記憶されている古いバージョンのソフトウェアプログラムを書き換えることでバージョンアップを図るようになっている。
When updating (upgrading) a software program stored in the
NANDメモリ11は、図4に示すように当該携帯電話機のメイン電源の投入時に読み込まれるブートプログラムが記憶されたブートプログラム格納領域21と、例えばCDMA通信プログラム等の所定のソフトウェアプログラムが記憶されるプログラム格納領域22と、このプログラム格納領域22に記憶されているソフトウェアプログラムを、初期バージョン(或いは所定の下位バージョン)にダウングレードするためのダウングレードファイルが記憶されるダウングレードファイル格納領域23とを有している。
As shown in FIG. 4, the
また、NANDメモリ11は、プログラム格納領域22に記憶されているソフトウェアプログラムを、最新バージョンのソフトウェアプログラムにバージョンアップするための更新用ファイルが記憶される更新用ファイル格納領域24と、余領域であるユーザデータ領域25とを有している。
The
NANDメモリ11のプログラム格納領域22には、上記CDMA通信プログラムの他、当該プログラム格納領域22に記憶されている通信プログラムや、以下に説明する各種アプリケーションプログラムの更新処理(バージョンアップ)を図るための「更新制御プログラム」が記憶されている。また、このプログラム格納領域22には、電子メールの作成や送受信を制御するための電子メール管理プログラム、カメラ部7の撮像制御を行うカメラ制御プログラム、ユーザのスケジュールが登録されたスケジュール帳の管理を行うためのスケジュール帳管理プログラム、電話帳の管理を行うための電話帳管理プログラム、音楽コンテンツの再生を行うための音楽プレーヤプログラム、所望のWebページの閲覧を行うためのWebブラウジングプログラム等の各種アプリケーションプログラムが記憶されるようになっている。
In the
また、NANDメモリ11のユーザデータ領域25には、ユーザの所望のスケジュールが登録されるスケジュール帳、ユーザの知人や友人等のユーザ名、静止画像(顔写真等)、住所、電話番号、電子メールアドレス、生年月日等が登録された電話帳、音楽プレーヤプログラムに基づいて再生される音楽コンテンツ、カメラ制御プログラムのビューワ機能に基づいて再生される静止画像コンテンツ及び動画像コンテンツ、送受信された電子メールコンテンツ、電話及び電子メールの発着信履歴等が記憶されるようになっている。
In the
[ソフトウェアプログラムの更新動作]
次に、このような構成を有する当該実施の形態の携帯電話機におけるソフトウェアプログラムの更新動作を説明する。図5のフローチャートに、当該実施の形態の携帯電話機におけるソフトウェアプログラムの更新動作の流れを示す。また、図6に、ソフトウェアプログラムの更新処理時における当該携帯電話機の要部のブロック図を示す。なお、この図6には、制御部14が更新処理プログラムに基づいて動作した際の機能ブロックが図示されると共に、更新用ファイルのダウンロードを行うコミュニケーションシステムのブロック図も図示されている。
[Software program update operation]
Next, the update operation of the software program in the mobile phone according to the embodiment having such a configuration will be described. The flowchart of FIG. 5 shows the flow of the update operation of the software program in the mobile phone of this embodiment. FIG. 6 shows a block diagram of the main part of the mobile phone at the time of software program update processing. FIG. 6 also shows a functional block when the
まず、一例ではあるが、制御部14は、ユーザが手動で行ったソフトウェアプログラムの更新指示操作を検出した際に、NANDメモリ11に記憶されている更新処理プログラムに基づいて、この図5のフローチャートに示す処理を開始する。或いは、制御部14は、コミュニケーションセンターからソフトウェアプログラムの更新通知を受信した際に、NANDメモリ11に記憶されている更新処理プログラムに基づいて、自動的に、この図5のフローチャートに示す処理を開始する。
First, as an example, when the
ステップS1では、制御部14が、上記更新処理プログラムに基づいて図6に示すダウングレード処理機能として動作することでNANDメモリ11を検索し、図4に示すダウングレードファイル格納領域23にダウングレードファイルが記憶されているか否かを判別することで、プログラム格納領域22に記憶されているソフトウェアプログラムを、ベースバージョン番号のソフトウェアプログラムにダウングレード処理する必要があるか否かを判別する。そして、ダウングレードファイル格納領域23にダウングレードファイルが記憶されている場合、制御部14は、ステップS2に処理を進め、ダウングレード処理機能41として動作することで、NANDメモリ11のプログラム格納領域22に記憶されているソフトウェアプログラムを、上記ダウングレードファイルで指定されるベースバージョン番号のソフトウェアプログラムにダウングレード処理して処理をステップS3に進める。
In step S1, the
これに対して、ダウングレードファイル格納領域23にダウングレードファイルが記憶されていない場合、或いはダプログラム格納領域22に記憶されているソフトウェアプログラムの上記ダウングレード処理が完了すると、制御部14は、図6に示す更新用ファイル取得機能43として動作することでステップS3に処理を進め、通信回路2を通信制御することで、当該携帯電話機のコミュニケーションネットワーク等のネットワーク31に接続されているサーバ装置33から、当該サーバ装置33のデータベース34に記憶されている更新用ファイルを基地局32を介して取得して、処理をステップS4に進める。
On the other hand, when the downgrade file is not stored in the downgrade
上記更新用ファイル取得機能43として動作している制御部14は、サーバ装置33から取得した更新用ファイルを、図4に示すNANDメモリ11の更新用ファイル格納領域24に記憶制御する。また、この更新用ファイルには、ソフトウェアプログラムの次回の更新処理時のダウングレード処理で、該ソフトウェアプログラムをダウングレードする下位のバージョン番号であるベースバージョン番号を指定するダウングレードファイルが付加されている。制御部14は、このダウングレードファイルをNANDメモリ11のダウングレードファイル格納領域23に記憶制御する。
The
すなわち、過去に、一度でもソフトウェアプログラムの更新処理が行われた場合には、そのときの更新用ファイルと共にダウングレードファイルがNANDメモリ11に記憶される。反対に、過去に、一度もソフトウェアプログラムの更新処理が行われていない場合には、ソフトウェアプログラム格納領域22に記憶されているソフトウェアプログラムは、最初期バージョン番号のソフトウェアプログラムのままであり、更新用ファイル及びダウングレードファイルはNANDメモリ11には記憶されていないこととなる。
In other words, if the software program has been updated even once in the past, the downgrade file is stored in the
このようなことから、制御部14は、上記ステップS1において、ダウングレードファイルの有無を判別することで、ベースバージョン番号のソフトウェアプログラムへのダウングレード処理が必要であるか否かを判別している。そして、NANDメモリ11上にダウングレードファイルが存在するということは、過去に何度かの更新処理が行われたことを意味するため、制御部14は、ステップS2において、プログラム格納領域22に記憶されているソフトウェアプログラムを、一旦、上記ダウングレードファイルで指定される、今回の更新処理のベースとするソフトウェアプログラムである、例えば最初期バージョン番号や中間バージョン番号等のベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このベースバージョン番号のソフトウェアプログラムを、上記ステップS4において、図6に示す更新処理機能42として動作することで、上記更新用ファイルに基づいて例えば最新バージョン番号のソフトウェアプログラムに更新処理する。
For this reason, in step S1, the
これに対して、NANDメモリ11上にダウングレードファイルが存在しないということは、今回の更新処理が最初の更新処理であることを意味するため、制御部14は、ステップS3で上記サーバ装置33から更新用ファイルを取得し、ステップS4において、この取得した更新用ファイルに基づいて、プログラム格納領域22に記憶されているソフトウェアプログラムを例えば最新バージョン番号のソフトウェアプログラムに更新処理する。
On the other hand, the absence of the downgrade file on the
このような更新処理を、図7(a)〜図7(f)に示す具体例を用いて、さらに詳細に説明する。この図7(a)〜図7(f)のうち、図7(a)〜図7(c)は、プログラム格納領域22に記憶されている最初期バージョン番号のソフトウェアプログラムであるバージョン番号V1のソフトウェアプログラムを、バージョン番号V3のソフトウェアプログラムに更新処理する場合の例を示しており、図7(d)〜図7(f)は、このバージョン番号V3のソフトウェアプログラムに更新処理されたソフトウェアプログラムを、さらにバージョン番号V4のソフトウェアプログラムに更新処理する場合の例を示している。
Such update processing will be described in more detail using the specific examples shown in FIGS. 7A to 7F. Of FIG. 7A to FIG. 7F, FIG. 7A to FIG. 7C show the version number V1 which is the software program of the initial version number stored in the
まず、例えば工場出荷時等のようにソフトウェアプログラムの更新処理が一度も行われていない場合、NANDメモリ11は、図7(a)に示すようにバージョン番号V1のソフトウェアプログラムがプログラム格納領域22に記憶されているだけで、ダウングレードファイル格納領域23及び更新用ファイル格納領域24には、ダウングレードファイル及び更新用ファイルは記憶されていない状態となっている。
First, when the update process of the software program has never been performed, for example, at the time of factory shipment, the
このような状態において、バージョン番号V1からバージョン番号V3への更新処理を行う場合、図7(b)に示すように、NANDメモリ11の更新用ファイル格納領域24にはサーバ装置33から取得された更新用ファイル(V1→V3)が記憶され、また、ダウングレードファイル格納領域23にはこの更新用ファイルに付加されているバージョン番号V3からバージョン番号V1へのダウングレード処理を行うためのダウングレードファイル(V3→V1)が記憶されることとなる。
In such a state, when updating from the version number V1 to the version number V3, as shown in FIG. 7B, the update
制御部14は、サーバ装置33から取得した更新用ファイル(V1→V3)を用いてソフトウェアプログラムの更新処理を行うことで、図7(c)に示すようにプログラム格納領域22に記憶されているバージョン番号V1のソフトウェアプログラムを、バージョン番号V3のソフトウェアプログラムに更新処理する。
The
次に、バージョン番号V3からバージョン番号V4への更新処理を行う場合、制御部14は、ダウングレードファイル格納領域23に記憶されているダウングレードファイル(V3→V1)を用いて、図7(d)に示すように、上記バージョン番号V3に更新処理されたソフトウェアプログラムを、この例の場合のベースバージョン番号であるバージョン番号V1のソフトウェアプログラムに、一旦、ダウングレード処理する。
Next, when the update process from the version number V3 to the version number V4 is performed, the
次に、制御部14は、図7(e)に示すようにサーバ装置33から、今回の更新処理に対応する更新用ファイル(V1→V4)、及びバージョン番号V4からバージョン番号V1へのダウングレード処理を行うためのダウングレードファイル(V4→V1)を取得する。そして、制御部14は、上記ダウングレード処理により、一旦、バージョン番号V1に戻したソフトウェアプログラムを、図7(f)に示すようにサーバ装置33から取得した更新用ファイル(V1→V4)を用いて更新処理する。これにより、プログラム格納領域22のソフトウェアプログラムは、この例における最新バージョン番号であるバージョン番号V4のソフトウェアプログラムに更新されることとなる。
Next, as shown in FIG. 7E, the
なお、制御部14は、次回の更新処理時も、上述と同様の動作を示し、プログラム格納領域22のソフトウェアプログラムを、ダウングレードファイルで指示されるベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このダウングレード処理したソフトウェアプログラムに対して、上記更新用ファイルに対応する更新処理を施す。
The
このように、当該実施の形態の携帯電話機の場合、ソフトウェアプログラムの更新処理に際して、旧バージョン番号のソフトウェアプログラムを例えば最初期バージョン番号等のベースバージョン番号のソフトウェアプログラムにダウングレード処理するためのダウングレードファイル、このベースバージョン番号のソフトウェアプログラムにダウングレード処理されたソフトウェアプログラムを、該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイル、及び上記更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムから上位のバージョン番号のソフトウェアプログラムに更新処理された該上位のバージョン番号のソフトウェアプログラムをNANDメモリ11に記憶する。
As described above, in the case of the mobile phone according to the embodiment, when the software program is updated, the downgrade for downgrading the software program with the old version number to the software program with the base version number such as the initial version number is performed. A file, an update file for upgrading the software program downgraded to the software program with the base version number into a software program with a version number higher than the base version number, and the update file The software program with the higher version number updated from the software program with the base version number to the software program with the higher version number It is stored in the
ダウングレードファイルや更新用ファイルのデータ量は、例えば数kbyte〜1Mbyte程度となり、例えば40Mbyteのソフトウェアプログラムのデータ量に対して、わずか数十分の一程度のデータ量となる。このため、最新バージョン番号のソフトウェアプログラム(40Mbyte)を、最初期バージョン番号のソフトウェアプログラム(40Mbyte)と共にNANDメモリ11に記憶する場合に比べ(計80Mbyte)、NANDメモリ11に記憶させるプログラム等のデータ量を大幅に削減することができる(40Mbyte+数kbyte〜1Mbyte)。従って、NANDメモリ11の余領域をユーザデータ領域25等に有効に使用可能とすることができる。
The data amount of the downgrade file and the update file is, for example, about several kbytes to 1 Mbyte, and is only a few tenths of the data amount of the data amount of the software program of 40 Mbytes, for example. For this reason, compared with the case where the software program (40 Mbytes) of the latest version number is stored in the
また、旧バージョン番号のソフトウェアプログラムを、一旦、ベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このダウングレード処理したソフトウェアプログラムを所定の上位のバージョン番号のソフトウェアプログラムに更新処理するようになっている。このため、更新処理の際にメーカ側がリリースする更新用ファイルは、ベースバージョン番号のソフトウェアプログラムを、例えば最新バージョン番号等の上位のバージョン番号のソフトウェアプログラムに更新するための、1種類の更新用ファイルのみをリリースすればよいこととなる。 Also, the software program with the old version number is once downgraded to the software program with the base version number, and the software program after the downgrade process is updated to the software program with a predetermined higher version number. . For this reason, the update file released by the manufacturer during the update process is one type of update file for updating the software program with the base version number to a software program with a higher version number such as the latest version number. Only release it.
例えば、過去に更新処理が、「バージョン番号V1 → バージョン番号V2 → バージョン番号V3 → バージョン番号V4 → バージョン番号V5 → バージョン番号V6」の順に行われたとすると、図6に示すサーバ装置33のデータベース34には、本来であれば、図8(a)に示すように
バージョン番号V1 → バージョン番号V2
バージョン番号V1 → バージョン番号V3
バージョン番号V1 → バージョン番号V4
バージョン番号V1 → バージョン番号V5
バージョン番号V1 → バージョン番号V6
バージョン番号V2 → バージョン番号V3
バージョン番号V2 → バージョン番号V4
バージョン番号V2 → バージョン番号V5
バージョン番号V2 → バージョン番号V6
バージョン番号V3 → バージョン番号V4
バージョン番号V3 → バージョン番号V5
バージョン番号V3 → バージョン番号V6
バージョン番号V4 → バージョン番号V5
バージョン番号V4 → バージョン番号V6
バージョン番号V5 → バージョン番号V6
の各更新用ファイルを記憶しておく必要があり、これらを各ユーザの携帯電話機に記憶されているソフトウェアプログラムのバージョン番号に応じて、選択的に配信する必要がある。
For example, assuming that update processing has been performed in the order of “version number V1 → version number V2 → version number V3 → version number V4 → version number V5 → version number V6” in the past, the
Version number V1 → Version number V3
Version number V1 → Version number V4
Version number V1 → Version number V5
Version number V1 → Version number V6
Version number V2 → Version number V3
Version number V2 → Version number V4
Version number V2 → Version number V5
Version number V2 → Version number V6
Version number V3 → Version number V4
Version number V3 → Version number V5
Version number V3 → Version number V6
Version number V4 → Version number V5
Version number V4 → Version number V6
Version number V5 → Version number V6
It is necessary to store each of the update files according to the version number of the software program stored in each user's mobile phone.
しかし、当該実施の形態の携帯電話機の場合、NANDメモリ11のソフトウェアプログラムを、一旦、ベースバージョン番号(上述の例の場合、バージョン番号V1)のソフトウェアプログラムにダウングレード処理した後に、最新バージョン番号のソフトウェアプログラムに更新処理するため、サーバ装置33のデータベース34に記憶しておく更新用ファイルも、図8(b)に示すように、ベースバージョン番号から最新バージョン番号のソフトウェアプログラムに更新処理するための更新用ファイル(上述の例の場合、バージョン番号V1→バージョン番号V6)のみとすることができる。このため、サーバ装置33のデータベース34にかかる負担も大幅に軽減することができる。
However, in the case of the mobile phone of this embodiment, the software program in the
また、リリースする更新用ファイルを上記1種類の更新用ファイルのみとすることができるため、動作確認作業も、この1種類の更新用ファイルに対する動作確認作業のみとすることができ、ソフトウェアプログラムの検証者の負担を大幅に軽減することができる。
In addition, since the update file to be released can be limited to the above-mentioned one type of update file, the operation check operation can be limited to only the operation check operation for this one type of update file. The burden on the person can be greatly reduced.
〔連続更新処理動作〕
ここで、旧バージョン番号のソフトウェアプログラムを最新バージョン番号のソフトウェアプログラムに、一度に更新処理しようとした場合、更新用ファイルのデータ量が多くなり、NANDメモリ11の記憶容量をオーバーしてしまうが、最初に旧バージョン番号のソフトウェアプログラムを中間バージョン番号のソフトウェアプログラムに更新処理し、次にこの中間バージョン番号のソフトウェアプログラムを最新バージョン番号のソフトウェアプログラムに更新処理する等のように、段階的な更新処理を行うことで、各更新処理で用いる更新用ファイルのデータ量がNANDメモリ11の記憶容量をオーバーする不都合を防止してソフトウェアプログラムの更新処理を円滑に実行可能な場合が、希にではあるが発生する。
[Continuous update processing operation]
Here, if the software program of the old version number is updated to the software program of the latest version number all at once, the data amount of the update file increases and the storage capacity of the
具体的には、例えば、過去に「バージョン番号V1 → バージョン番号V2 → バージョン番号V3 → バージョン番号V4 → バージョン番号V5 → バージョン番号V6」の順に更新処理が行われた場合において、バージョン番号V1のソフトウェアプログラムをバージョン番号V6のソフトウェアプログラムに更新処理するための更新用ファイルのデータ量が、NANDメモリ11の記憶容量以上であると、NANDメモリ11に対して更新用ファイルを記憶することができず、ソフトウェアプログラムの更新処理が困難となる。
Specifically, for example, when update processing has been performed in the order of “version number V1 → version number V2 → version number V3 → version number V4 → version number V5 → version number V6” in the past, the software with version number V1 If the data amount of the update file for updating the program to the software program of version number V6 is greater than or equal to the storage capacity of the
しかし、バージョン番号V1→バージョン番号V6のソフトウェアプログラムに、一度に更新処理しようとした場合は上述の理由から困難となるが、最初にバージョン番号V1のソフトウェアプログラムをバージョン番号V3のソフトウェアプログラムに更新処理し、次にこのバージョン番号V3のソフトウェアプログラムをバージョン番号V6のソフトウェアプログラムに更新処理する等のように、段階的に更新処理を行うと、各更新処理における各ソフトウェアプログラム間の差となるプログラムのデータ量が少なくなることで、該各更新処理で用いる更新用ファイルのデータ量がNANDメモリ11の記憶容量をオーバーすることなく、円滑な更新処理が可能となる場合がある。
However, if it is attempted to update the software program of version number V1 → version number V6 at one time, it is difficult for the above-mentioned reason, but first, the software program of version number V1 is updated to the software program of version number V3. Then, when the update process is performed step by step, such as updating the software program of version number V3 to the software program of version number V6, the program that becomes the difference between the software programs in each update process By reducing the amount of data, smooth update processing may be possible without the amount of update file data used in each update processing exceeding the storage capacity of the
このような事例は、過去における更新処理回数が多数に及び、旧バージョン番号のソフトウェアプログラムと最新バージョン番号のソフトウェアプログラムとの間の差となるプログラム量が増大した場合に、希に発生する。 Such a case rarely occurs when the number of update processes in the past is large, and the amount of program that becomes the difference between the software program with the old version number and the software program with the latest version number increases.
当該実施の形態の携帯電話機の場合、ソフトウェアプログラムの更新処理を行う際に、上述のように、一旦、最初期バージョン番号等のベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このダウングレード処理により、例えばバージョン番号V1とされたソフトウェアプログラムを、最新バージョン番号であるバージョン番号V6のソフトウェアプログラムに、一度に更新処理するようになるため、上述の更新用ファイルがNANDメモリ11の記憶容量をオーバーする不都合が発生することが、多少ではあるが懸念される。
In the case of the mobile phone of the embodiment, when performing the update process of the software program, as described above, the downgrade process is temporarily performed to the software program having the base version number such as the initial version number. For example, since the software program with the version number V1 is updated at a time to the software program with the version number V6, which is the latest version number, the above-described update file exceeds the storage capacity of the
このような段階的な更新処理(連続更新処理)の必要性は、ソフトウェアプログラムの更新処理開始時において、制御部14が、サーバ装置33から通知された更新用ファイルのデータ量と、NANDメモリ11の記憶容量(更新用ファイルの記憶用に確保可能な余領域の容量)とに基づいて判断する。
The necessity of such stepwise update processing (continuous update processing) is that the
サーバ装置33から通知された更新用ファイルのデータ量が、NANDメモリ11の上記記憶容量をオーバーする場合、制御部14は、段階的な更新処理(連続更新処理)を行う。
When the data amount of the update file notified from the server device 33 exceeds the storage capacity of the
上述の例を用いて具体的に説明すると、バージョン番号V1→バージョン番号V6のソフトウェアプログラムに、一度に更新処理するための更新用ファイルのデータ量が、NANDメモリ11の上記記憶容量をオーバーする場合、制御部14は、例えば最初にバージョン番号V1のソフトウェアプログラムをバージョン番号V3のソフトウェアプログラムに更新処理し、次にこのバージョン番号V3のソフトウェアプログラムをバージョン番号V6のソフトウェアプログラムに更新処理する、連続更新処理を実行制御する。
Specifically, using the above example, when the data amount of the update file for performing update processing at once in the software program of version number V1 → version number V6 exceeds the storage capacity of the
この場合、制御部14は、ステップS1からステップS4における最初の更新処理の際に、バージョン番号V1のソフトウェアプログラムをバージョン番号V3のソフトウェアプログラムに更新処理するための更新用ファイルを取得し、この更新用ファイルを用いて、バージョン番号V1にダウングレード処理したソフトウェアプログラムを、バージョン番号V3のソフトウェアプログラムに更新処理する。
In this case, the
次に、制御部14は、図5のフローチャートのステップS5において、連続更新処理が必要であるか否かを判別し(この場合は、連続更新処理が必要であると判別することとなる)、必要でないと判別した場合(=ソフトウェアプログラムの更新処理が一度で完了可能な場合)は、そのままこの図5のフローチャートに示す処理を終了し、連続更新処理が必要であると判別した場合は、ステップS3に処理を戻すことで、サーバ装置33からバージョン番号V3のソフトウェアプログラムを、バージョン番号V6のソフトウェアプログラムに更新処理するための更新処理ファイルを取得し、この更新用ファイルを用いて、最初にバージョン番号V3のソフトウェアプログラムに更新処理したソフトウェアプログラムを、バージョン番号V6のソフトウェアプログラムに更新処理して、この図5のフローチャートに示す処理を終了する。
Next, the
このように一度の更新処理を複数の更新処理に分割して実行することで、NANDメモリ11の上記記憶容量の範囲内のデータ量の更新用ファイルを用いて、複数回に渡って更新処理を実行することができるため、円滑な更新処理を可能とすることができる。
As described above, by executing the update process once divided into a plurality of update processes, the update process is performed a plurality of times by using the update file having the data amount within the range of the storage capacity of the
なお、この例では、連続更新処理時において、「バージョン番号V1→バージョン番号V3」、及び「バージョン番号V3→バージョン番号V6」の計2回に分けてソフトウェアプログラムの更新処理を行うこととしたが、この更新処理の分割回数(連続処理回数)は、更新用ファイルのデータ量とNANDメモリ11の上記記憶容量に基づいて適宜決定すればよく、例えば「バージョン番号V1→バージョン番号V2」、「バージョン番号V2→バージョン番号V4」及び「バージョン番号V4→バージョン番号V6」の計3回に分けてソフトウェアプログラムの更新処理を行ってもよい。
In this example, during the continuous update process, the update process of the software program is performed in a total of two times, “version number V1 → version number V3” and “version number V3 → version number V6”. The number of divisions of the update process (number of continuous processes) may be determined as appropriate based on the data amount of the update file and the storage capacity of the
また、このような連続更新処理を可能とする場合、上述の例で説明すると、図8(c)に示すようにサーバ装置33のデータベース34には、一度に更新処理を行うための更新用ファイルである、バージョン番号V1のソフトウェアプログラムからバージョン番号V6のソフトウェアプログラムに更新処理を行うための更新用ファイル(V1→V6)の他、連続更新処理を行うための各更新用ファイルである、バージョン番号V1のソフトウェアプログラムからバージョン番号V3のソフトウェアプログラムに更新処理を行うための更新用ファイル(V1→V3)、及びバージョン番号V3のソフトウェアプログラムからバージョン番号V6のソフトウェアプログラムに更新処理を行うための更新用ファイル(V3→V6)が必要となる。しかし、この場合でも、図8(a)に示すように過去の更新処理に対応する全ての更新用ファイルをデータベース34に保存しておくよりも、該サーバ装置33のデータベース34にかかる負担を遙かに軽減することができる(図8(c)参照)。
Further, in the case where such a continuous update process is possible, as described in the above example, as shown in FIG. 8C, the
[実施の形態の効果]
以上の説明から明らかなように、この実施の形態の携帯電話機は、ソフトウェアプログラムの更新処理に際して、旧バージョン番号のソフトウェアプログラムを例えば最初期バージョン番号等のベースバージョン番号のソフトウェアプログラムにダウングレード処理するためのダウングレードファイル、このベースバージョン番号のソフトウェアプログラムにダウングレード処理されたソフトウェアプログラムを、該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイル、及び上記更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムから上位のバージョン番号のソフトウェアプログラムに更新処理された該上位のバージョン番号のソフトウェアプログラムをNANDメモリ11に記憶する。
[Effect of the embodiment]
As is apparent from the above description, the mobile phone of this embodiment downgrades the software program with the old version number to the software program with the base version number such as the initial version number, for example, when updating the software program. Downgrade file, update file for upgrading the software program downgraded to the software program of the base version number into a software program of a higher version number than the base version number, and the above update Based on the file, the software with the higher version number updated from the software program with the base version number to the software program with the higher version number. And stores the A program in the
ダウングレードファイルや更新用ファイルのデータ量は、例えば数kbyte〜1Mbyte程度となり、例えば40Mbyteのソフトウェアプログラムのデータ量に対して、わずか数十分の一程度のデータ量となる。このため、最新バージョン番号のソフトウェアプログラム(40Mbyte)を、最初期バージョン番号のソフトウェアプログラム(40Mbyte)と共にNANDメモリ11に記憶する場合に比べ(計80Mbyte)、NANDメモリ11に記憶させるプログラム等のデータ量を大幅に削減することができる(40Mbyte+数kbyte〜1Mbyte)。従って、NANDメモリ11の余領域をユーザデータ領域25等に有効に使用可能とすることができる。
The data amount of the downgrade file and the update file is, for example, about several kbytes to 1 Mbyte, and is only a few tenths of the data amount of the data amount of the software program of 40 Mbytes, for example. For this reason, compared with the case where the software program (40 Mbytes) of the latest version number is stored in the
また、旧バージョン番号のソフトウェアプログラムを、一旦、ベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このダウングレード処理したソフトウェアプログラムを所定の上位のバージョン番号のソフトウェアプログラムに更新処理するようになっている。このため、更新用ファイルを配信するサーバ装置33のデータベース34には、ベースバージョン番号のソフトウェアプログラムを、例えば最新バージョン番号等の上位のバージョン番号のソフトウェアプログラムに更新するための、1種類の更新用ファイルのみを記憶しておけばよく、データベース34にかかる負担を大幅に軽減することができる。
Also, the software program with the old version number is once downgraded to the software program with the base version number, and the software program after the downgrade process is updated to the software program with a predetermined higher version number. . For this reason, in the
また、リリースする更新用ファイルを上記1種類の更新用ファイルのみとすることができるため、動作確認作業も、この1種類の更新用ファイルに対する動作確認作業のみとすることができ、ソフトウェアプログラムの検証者の負担を大幅に軽減することができる。 In addition, since the update file to be released can be limited to the above-mentioned one type of update file, the operation check operation can be limited to only the operation check operation for this one type of update file. The burden on the person can be greatly reduced.
また、更新ファイルのデータ量が多く、NANDメモリ11の記憶容量をオーバーする場合、一度の更新処理を複数の更新処理に分割して実行することで、NANDメモリ11の上記記憶容量の範囲内のデータ量の更新用ファイルを用いて、複数回に渡って更新処理を実行することができ、円滑な更新処理を可能とすることができる。
In addition, when the data amount of the update file is large and the storage capacity of the
また、このような連続更新処理を可能とする場合、サーバ装置33のデータベース34には、一度に更新処理を行うための更新用ファイルの他、連続更新処理を行うための各更新用ファイルがそれぞれ必要となるが、この場合でも、過去の更新処理に対応する全ての更新用ファイルをデータベース34に保存しておくよりも、該データベース34にかかる負担を遙かに軽減することができる。
In addition, when such a continuous update process is possible, the update file for performing the update process in the
[変形例]
上述の実施の形態の説明では、ダウングレード処理時には、現在のバージョン番号のソフトウェアプログラムを、ベースバージョン番号である最初期のバージョン番号のバージョン番号V1のソフトウェアプログラムにダウングレード処理することとしたが、サーバ装置33から配信する更新ファイルに付加するダウングレードファイルにおいて、中間のバージョン番号をベースバージョン番号として指定することで、ダウングレード処理時に、この中間のバージョン番号のソフトウェアプログラムにダウングレード処理するようにしてもよい。
[Modification]
In the above description of the embodiment, at the time of the downgrade process, the software program having the current version number is downgraded to the software program having the version number V1 of the initial version number that is the base version number. By specifying an intermediate version number as the base version number in the downgrade file added to the update file distributed from the server device 33, the downgrade process is performed to the software program of the intermediate version number at the time of the downgrade process. May be.
このようにすると、例えばバージョン番号V6への更新処理の後に、バージョン番号V7への更新処理が行われた場合、このバージョン番号V7の更新ファイルに付加したダウングレードファイルにおいて、バージョン番号V3へのダウングレード処理を指定することができる。そして、バージョン番号V3のソフトウェアプログラムからバージョン番号V7へのソフトウェアプログラムに更新処理可能とすることができる。このため、バージョン番号V1→バージョン番号V7の更新ファイルのデータ量よりも、バージョン番号V3→バージョン番号V7の更新ファイルのデータ量の方が、必然的に該更新ファイルのデータ量が少なくなるため、上述の連続更新処理を行うことなく、一度の更新処理でソフトウェアプログラムの更新処理を完了させることを可能とすることができ、ユーザが負担する通信費用の軽減を図ることができる。 In this way, for example, when update processing to version number V7 is performed after update processing to version number V6, downgrade to version number V3 is performed in the downgrade file added to the update file of version number V7. Grade processing can be specified. Then, it is possible to perform update processing from the software program with the version number V3 to the software program with the version number V7. For this reason, the data amount of the update file of version number V3 → version number V7 inevitably becomes smaller than the data amount of the update file of version number V1 → version number V7. Without performing the above-described continuous update process, it is possible to complete the update process of the software program by a single update process, and to reduce the communication cost borne by the user.
また、上述の実施の形態の説明では、本発明を携帯電話機に適用することとしたが、本発明は、この他、PHS電話機(PHS:Personal Handyphone System)、PDA装置(PDA:Personal Digital Assistant)、通信機能を備えた携帯ゲーム機、ノート型或いはデスクトップ型のパーソナルコンピュータ装置等に適用してもよい。いずれの場合でも、上述と同じ効果を得ることができる。 In the above description of the embodiment, the present invention is applied to a mobile phone. However, the present invention is not limited to a PHS phone (PHS: Personal Handyphone System), a PDA device (PDA: Personal Digital Assistant). The present invention may be applied to a portable game machine having a communication function, a notebook type or desktop type personal computer device. In either case, the same effect as described above can be obtained.
最後に、上述の実施の形態は、本発明の一例である。このため、本発明は上述の実施の形態に限定されることはなく、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることは勿論であることを付け加えておく。 Finally, the above-described embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and various modifications can be made according to the design and the like as long as they do not depart from the technical idea of the present invention. I add that there is something.
1 アンテナ、2 通信回路、3 表示部、4 操作部、5 スピーカ部、6 マイクロホン部、7 カメラ部、8 発光部(LED)、9 バイブレーションユニット、10 タイマ、11 NANDメモリ、12 SDRAM、14 制御部、21 NANDメモリのブートプログラム格納領域、22 NANDメモリのプログラム格納領域、23 NANDメモリのダウングレードファイル格納領域、24 NANDメモリの更新用ファイル格納領域、25 NANDメモリのユーザデータ領域、31 ネットワーク、32 基地局、33 サーバ装置、34 更新ファイルのデータベース、41 制御部のダウングレード処理機能の機能ブロック、42 制御部の更新処理機能の機能ブロック、43 制御部の更新ファイル取得機能の機能ブロック 1 antenna, 2 communication circuit, 3 display unit, 4 operation unit, 5 speaker unit, 6 microphone unit, 7 camera unit, 8 light emitting unit (LED), 9 vibration unit, 10 timer, 11 NAND memory, 12 SDRAM, 14 control 21 NAND memory boot program storage area, 22 NAND memory program storage area, 23 NAND memory downgrade file storage area, 24 NAND memory update file storage area, 25 NAND memory user data area, 31 network, 32 base station, 33 server device, 34 update file database, 41 functional block of downgrade processing function of control unit, 42 functional block of update processing function of control unit, 43 functional block of update file acquisition function of control unit
Claims (5)
上記記憶手段に記憶されているソフトウェアプログラムを、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理するダウングレード処理手段と、
上記ダウングレード処理手段によりダウングレード処理された、上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを取得する更新用ファイル取得手段と、
上記更新用ファイル取得手段により取得された更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する更新処理手段と
を有するソフトウェアプログラムの更新処理装置。 Storage means for storing software programs;
Downgrade processing means for downgrading the software program stored in the storage means to a software program having a base version number which is a predetermined lower version number than the version number of the software program;
Update file acquisition for acquiring an update file for upgrading the software program having the base version number downgraded by the downgrade processing means to a software program having a higher version number than the base version number Means,
Update processing of a software program comprising: update processing means for updating the software program having the base version number into a software program having a predetermined higher version number based on the update file acquired by the update file acquisition means apparatus.
上記記憶手段に記憶されているソフトウェアプログラムを、複数回に渡って所定の上位のバージョン番号のソフトウェアプログラムに更新処理する場合、
上記記憶手段に記憶されているソフトウェアプログラムを、上記更新用ファイル取得手段で取得された複数の更新用ファイルに基づいて、上記更新処理手段が順に上位のバージョン番号のソフトウェアプログラムに更新処理し、
或いは、上記記憶手段に記憶されているソフトウェアプログラムを、上記ダウングレード処理手段により、上記ベースバージョン番号のソフトウェアプログラムにダウングレード処理し、このベースバージョン番号のソフトウェアプログラムに対して、上記更新処理手段が、上記更新用ファイル取得手段で取得された複数の更新用ファイルに基づいて順に上位のバージョン番号のソフトウェアプログラムに更新処理すること
を特徴とするソフトウェアプログラムの更新処理装置。 An update processing apparatus for a software program according to claim 1,
When updating the software program stored in the storage means to a software program having a predetermined higher version number over a plurality of times,
Based on a plurality of update files acquired by the update file acquisition unit, the update processing unit sequentially updates the software program stored in the storage unit into a software program having a higher version number,
Alternatively, the software program stored in the storage means is downgraded to the software program having the base version number by the downgrade processing means, and the update processing means is applied to the software program having the base version number. An update processing apparatus for a software program, wherein update processing is sequentially performed on a software program having a higher version number based on a plurality of update files acquired by the update file acquisition means.
上記ステップにおいて上記ダウングレード処理手段によりダウングレード処理された、上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを、更新用ファイル取得手段が取得するステップと、
上記ステップにおいて上記更新用ファイル取得手段により取得された更新用ファイルに基づいて、更新処理手段が、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理するステップと
を有するソフトウェアプログラムの更新処理方法。 A step in which the downgrade processing means downgrades the software program stored in the storage means to a software program having a base version number which is a predetermined lower version number than the version number of the software program;
An update file for updating the software program of the base version number downgraded by the downgrade processing means in the above step to a software program of a higher version number than the base version number A step of acquiring by the file acquisition means;
Based on the update file acquired by the update file acquisition means in the step, the update processing means updates the software program with the base version number to a software program with a predetermined higher version number. A software program update processing method.
コンピュータを上記ダウングレード処理手段として機能させることでダウングレード処理された上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを取得するように、更新用ファイル取得手段を制御する更新用ファイル取得制御手段としてコンピュータを機能させ、
コンピュータを上記更新用ファイル取得制御手段として機能させることで、上記更新用ファイル取得手段により取得された更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する更新処理手段としてコンピュータを機能させること
を特徴とするソフトウェアプログラムの更新処理プログラム。 Causing the computer to function as a downgrade processing means for downgrading a software program stored in the storage means to a software program having a base version number that is a predetermined lower version number than the version number of the software program;
Acquire an update file for upgrading the software program with the base version number downgraded to a software program with a higher version number than the base version number by causing the computer to function as the downgrade processing means. So that the computer functions as an update file acquisition control means for controlling the update file acquisition means,
By causing the computer to function as the update file acquisition control means, the software program with the base version number is replaced with the software program with a predetermined higher version number based on the update file acquired by the update file acquisition means. An update processing program for a software program, which causes a computer to function as update processing means for performing update processing.
上記記憶手段に記憶されているソフトウェアプログラムを、当該ソフトウェアプログラムのバージョン番号よりも所定の下位のバージョン番号であるベースバージョン番号のソフトウェアプログラムにダウングレード処理するダウングレード処理手段と、
無線通信を行うための無線通信手段と、
上記ダウングレード処理手段によりダウングレード処理された、上記ベースバージョン番号のソフトウェアプログラムを、当該ベースバージョン番号よりも上位のバージョン番号のソフトウェアプログラムにバージョンアップするための更新用ファイルを、所定のネットワーク上のサーバ装置から取得するように、上記無線通信手段を通信制御する更新用ファイル取得手段と、
上記更新用ファイル取得手段の通信制御により、上記無線通信手段を介して取得された更新用ファイルに基づいて、上記ベースバージョン番号のソフトウェアプログラムを、所定の上位のバージョン番号のソフトウェアプログラムに更新処理する更新処理手段と
を有する携帯端末装置。 Storage means for storing software programs;
Downgrade processing means for downgrading the software program stored in the storage means to a software program having a base version number which is a predetermined lower version number than the version number of the software program;
Wireless communication means for performing wireless communication;
An update file for upgrading the software program having the base version number downgraded by the downgrade processing means to a software program having a version number higher than the base version number is provided on a predetermined network. Update file acquisition means for controlling communication of the wireless communication means so as to acquire from the server device;
Based on the update file acquired via the wireless communication means, the base version number software program is updated to a predetermined higher version number software program based on the communication control of the update file acquisition means. A mobile terminal device having update processing means.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007327014A JP2009151426A (en) | 2007-12-19 | 2007-12-19 | Device, method and program for update processing of software program, and portable terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007327014A JP2009151426A (en) | 2007-12-19 | 2007-12-19 | Device, method and program for update processing of software program, and portable terminal device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009151426A true JP2009151426A (en) | 2009-07-09 |
Family
ID=40920541
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007327014A Withdrawn JP2009151426A (en) | 2007-12-19 | 2007-12-19 | Device, method and program for update processing of software program, and portable terminal device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009151426A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI417888B (en) * | 2009-09-03 | 2013-12-01 | Macpower & Tytech Technology Co Ltd | An embedded chip system, a method for burning a wafer, and a computer program product |
WO2017088547A1 (en) * | 2015-11-27 | 2017-06-01 | 中兴通讯股份有限公司 | Data upgrading method and apparatus |
JP2017134541A (en) * | 2016-01-26 | 2017-08-03 | 富士通株式会社 | Information processing device and software update method |
CN113419771A (en) * | 2021-05-31 | 2021-09-21 | 济南浪潮数据技术有限公司 | Method and system for making upgrade package of application software and method and system for upgrading |
-
2007
- 2007-12-19 JP JP2007327014A patent/JP2009151426A/en not_active Withdrawn
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI417888B (en) * | 2009-09-03 | 2013-12-01 | Macpower & Tytech Technology Co Ltd | An embedded chip system, a method for burning a wafer, and a computer program product |
WO2017088547A1 (en) * | 2015-11-27 | 2017-06-01 | 中兴通讯股份有限公司 | Data upgrading method and apparatus |
JP2017134541A (en) * | 2016-01-26 | 2017-08-03 | 富士通株式会社 | Information processing device and software update method |
CN113419771A (en) * | 2021-05-31 | 2021-09-21 | 济南浪潮数据技术有限公司 | Method and system for making upgrade package of application software and method and system for upgrading |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7113809B2 (en) | Apparatus and a method for providing information to a user | |
CA2703555C (en) | Sleep mode for mobile communication device | |
JP2011254510A (en) | Dynamic wallpaper on mobile communication device | |
JP2005157657A (en) | Application data management method for portable terminal and portable terminal | |
US20020083160A1 (en) | Method and apparatus for managing applications and data in a mobile device | |
JP2007534058A (en) | Data sharing between devices | |
JP2003032381A (en) | Information communication terminal and program | |
JP2006319420A (en) | Mobile wireless terminal | |
JP2008186167A (en) | Electronic device and control method in electronic device | |
JP2009151426A (en) | Device, method and program for update processing of software program, and portable terminal device | |
JP2003216430A (en) | Software automatic renewal system and terminal | |
EP1416697B1 (en) | Automatic data distributing system and method | |
Kamboj et al. | Mobile operating systems | |
JP2004187228A (en) | Personal information management system for user terminal | |
JP4180953B2 (en) | Communication apparatus and program | |
JP2007318208A (en) | Image processing apparatus, image processing method, and program | |
JP4373480B2 (en) | Communication apparatus and program | |
JP4868253B2 (en) | Wireless communication terminal and communication system switching control method | |
JP5042617B2 (en) | Portable information terminal | |
KR100678081B1 (en) | Mass storage data file management method of mobile communication terminal | |
CN111142913A (en) | Hot updating method and equipment for iOS system application program | |
JP2007018491A (en) | Method for updating function of portable apparatus by plug and play (pnp) storage device | |
KR100699106B1 (en) | System and portable communication devices for managing operation program and data using wire/wireless internet and method thereof | |
KR101200612B1 (en) | Mobile communication terminal and method for minimizing data traffic between the same and external terminal | |
JP2004297192A (en) | Control server apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20110301 |