[go: up one dir, main page]

JP2010117944A - Software update system, software update method, mobile phone terminal, and program - Google Patents

Software update system, software update method, mobile phone terminal, and program Download PDF

Info

Publication number
JP2010117944A
JP2010117944A JP2008291446A JP2008291446A JP2010117944A JP 2010117944 A JP2010117944 A JP 2010117944A JP 2008291446 A JP2008291446 A JP 2008291446A JP 2008291446 A JP2008291446 A JP 2008291446A JP 2010117944 A JP2010117944 A JP 2010117944A
Authority
JP
Japan
Prior art keywords
software
software load
program code
portable terminal
execution function
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
Application number
JP2008291446A
Other languages
Japanese (ja)
Inventor
Katsumi Aoyanagi
勝己 青柳
Nobuyuki Kawada
暢之 川田
Hiroshi Miura
宏 三浦
Tomohiro Ichikawa
知宏 市川
Yasuyuki Hirao
康幸 平尾
Ryuichi Nakaoka
龍一 中岡
Satoko Hirabayashi
聡子 平林
Satoru Takahashi
悟 高橋
Masashi Hirano
賢史 平野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Ericsson Mobile Communications Japan Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Ericsson Mobile Communications Japan Inc filed Critical Sony Ericsson Mobile Communications Japan Inc
Priority to JP2008291446A priority Critical patent/JP2010117944A/en
Publication of JP2010117944A publication Critical patent/JP2010117944A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To use a small-capacity external memory to store a plurality of update software. <P>SOLUTION: An information processor 20 has an external memory 11 which stores a basic program common code Pc1, a fixed common code Dt1, a differential code Dd1, and a differential code Dd2 constituting software of a mobile phone terminal 10 and a software load program Pg1 for downloading software for reading the basic program common code Pc1 from the external memory 11 into the mobile phone terminal 10. The mobile phone terminal 10 has the external memory 11 which stores the basic program common code Pc1, the fixed common code Dt1, the differential code Dd1, and the differential code Dd2 constituting software for the mobile phone terminal 10 and a software download program Sd1 for downloading software for reading the basic program common code Pc1 from the external memory 11 into the mobile phone terminal 10. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、携帯電話端末のソフトウェアの更新システム及び方法と、そのシステムに用いられる携帯電話端末並びにそのソフトウェアの更新処理を実行するプログラムに関する。   The present invention relates to a software update system and method for a mobile phone terminal, a mobile phone terminal used in the system, and a program for executing software update processing.

携帯電話端末等の電子機器のソフトウェアには、特に開発の段階においてはバグと呼ばれる不具合が含まれていることが多く、その修正も頻繁に行われる。また、機能の追加や改善を行ったりするためのソフトウェアのバージョンアップもよく行われる。   Software for electronic devices such as mobile phone terminals often includes defects called bugs, especially at the development stage, and corrections are frequently made. Also, software is often upgraded to add or improve functions.

このようなバグの修正やソフトウェアのバージョンアップを行う手法としては、修正済みのプログラムをメモリカード等の外部メモリに記憶させておき、外部メモリに記憶されたプログラムを携帯電話端末内にロードするという手法が知られている。なお、以下の説明においては、外部メモリやPC等に記憶されたプログラムを携帯端末内に取り込む処理を、ソフトロードと称する。   As a technique for correcting such bugs and upgrading software, the corrected program is stored in an external memory such as a memory card, and the program stored in the external memory is loaded into the mobile phone terminal. Techniques are known. In the following description, a process for loading a program stored in an external memory, a PC, or the like into a portable terminal is referred to as a software load.

まず、外部メモリを用いたソフトロードについて説明するため、図7を参照して携帯電話端末としての携帯電話端末100の内部構成例について説明する。図7に示した携帯電話端末100には、NAND型フラッシュメモリ(以下、NANDメモリとも称する)からブート(起動)を行うNANDブート方式が採用されており、ソフトロードもNANDブートの仕組みを利用して行われる。   First, in order to describe soft loading using an external memory, an internal configuration example of a mobile phone terminal 100 as a mobile phone terminal will be described with reference to FIG. The mobile phone terminal 100 shown in FIG. 7 employs a NAND boot system that boots (starts up) from a NAND flash memory (hereinafter also referred to as a NAND memory), and soft load also uses a NAND boot mechanism. Done.

図7に示した携帯電話端末100は、外部メモリ101が取り付けられる外部メモリインターフェース(以下、I/Fと称する)部102を有しており、外部メモリI/F部102は、バス110に接続されている。バス110には、第1の記憶部としての不揮発性メモリ103、第2の記憶部としての揮発性メモリ104、制御部105も接続されている。不揮発性メモリ103は、NANDメモリで構成してあり、外部メモリ101を用いたソフトロードを実行するためのブートコード格納領域と、データを格納するためのユーザデータ格納領域が定義されている。不揮発性メモリ103の構成の詳細については、次の図8を参照して後述する。   The mobile phone terminal 100 shown in FIG. 7 has an external memory interface (hereinafter referred to as I / F) unit 102 to which the external memory 101 is attached. The external memory I / F unit 102 is connected to the bus 110. Has been. A non-volatile memory 103 as a first storage unit, a volatile memory 104 as a second storage unit, and a control unit 105 are also connected to the bus 110. The nonvolatile memory 103 is composed of a NAND memory, and defines a boot code storage area for executing a software load using the external memory 101 and a user data storage area for storing data. Details of the configuration of the nonvolatile memory 103 will be described later with reference to FIG.

揮発性メモリ104は、SDRAM(Synchronous Dynamic Random Access Memory)等で構成してある。制御部105は、MPU(Micro Processing Unit)等より、携帯電話端末100の各部の制御を行う。   The volatile memory 104 is configured by an SDRAM (Synchronous Dynamic Random Access Memory) or the like. The control unit 105 controls each unit of the mobile phone terminal 100 from an MPU (Micro Processing Unit) or the like.

また携帯電話端末100は、操作入力部106と表示部107を有する。操作入力部106は、キーやジョグダイヤル、スイッチ等よりなり、ユーザからの操作内容に応じた操作信号を生成して、生成した操作信号を制御部105に供給する。表示部107は、液晶パネルや有機EL(Electro Luminescence)等のLCD(Liquid Crystal Display)等で構成される。表示部107には、ソフトロードの完了を通知する表示等が表示される。   The mobile phone terminal 100 includes an operation input unit 106 and a display unit 107. The operation input unit 106 includes a key, a jog dial, a switch, and the like, generates an operation signal corresponding to the operation content from the user, and supplies the generated operation signal to the control unit 105. The display unit 107 is configured by a liquid crystal panel, an LCD (Liquid Crystal Display) such as an organic EL (Electro Luminescence), or the like. The display unit 107 displays a display for notifying completion of software loading.

次に、図8を参照して、外部メモリ101と不揮発性メモリ103の内部構成について説明する。外部メモリ101には、図8(a)に示すように、ソフトロード用プログラムP10として、ソフトロード実行プログラムPg10(ソフトロード実行機能部)と、シーケンスファイルSf10とが格納されている。ソフトロード実行プログラムPg10とは、ソフトロードを実行するプログラムであり、具体的には、外部メモリ101からプログラムコードPc10を読み出して、不揮発性メモリ103上に書き込む処理を行う。シーケンスファイルSf10は、ソフトロードの手順がコマンド形式で記載されたファイルである。外部メモリ101内には、ソフトウェアとしてのプログラムコードPc10と、文字フォント等の情報が含まれた固定データDt10も格納されている。   Next, the internal configuration of the external memory 101 and the nonvolatile memory 103 will be described with reference to FIG. As shown in FIG. 8A, the external memory 101 stores a software load execution program Pg10 (software load execution function unit) and a sequence file Sf10 as the software load program P10. The software load execution program Pg10 is a program that executes software load. Specifically, the program code Pc10 is read from the external memory 101 and written into the nonvolatile memory 103. The sequence file Sf10 is a file in which software loading procedures are described in a command format. In the external memory 101, program code Pc10 as software and fixed data Dt10 including information such as character fonts are also stored.

不揮発性メモリ103においては、図8(b)に示すように、ブートコードBc10を格納する領域であるブート部Rg10と、プログラムコードPc10が格納されるプログラムコード格納領域Rg20が定義されている。また、携帯電話端末100の起動(ブート)時に、外部メモリ103からソフトロード実行プログラムPg10を読み出す、ブートローダBd10を格納したブートローダ格納領域Rg30と、固定データDt10等が格納されるユーザデータ格納領域Rg40が定義されている。   In the nonvolatile memory 103, as shown in FIG. 8B, a boot unit Rg10 that is an area for storing the boot code Bc10 and a program code storage area Rg20 in which the program code Pc10 is stored are defined. In addition, when the mobile phone terminal 100 is started (booted), a boot loader storage area Rg30 that stores the boot loader Bd10 that reads the software load execution program Pg10 from the external memory 103, and a user data storage area Rg40 that stores fixed data Dt10 and the like are provided. Is defined.

このように構成された携帯電話端末100におけるソフトロードの実行手順を、図9に示してある。携帯電話端末100では、まず電源が投入されると(ステップS51)、NANDメモリとしての不揮発性メモリ103に格納されたブートコードBc10にて、ソフトロード実行のトリガが認識されたか否かが判断される(ステップS52)。ソフトロード実行のトリガとしては、例えば操作入力部106におけるキー多重押しなどが割り当てられていることが通常である。携帯電話端末100での通常の動作時に、誤ってソフトロードが実行されてしまうことを防止する目的によるものであり、キーの割り当てや組み合わせ、押下回数などは、複雑なものに設定されている。   FIG. 9 shows a software load execution procedure in the mobile phone terminal 100 configured as described above. In the cellular phone terminal 100, when power is first turned on (step S51), it is determined whether or not a trigger for executing a software load is recognized in the boot code Bc10 stored in the nonvolatile memory 103 as a NAND memory. (Step S52). As a trigger for executing the software load, for example, a key multiple press in the operation input unit 106 is usually assigned. This is for the purpose of preventing the software load from being erroneously executed during the normal operation of the cellular phone terminal 100, and the key assignment, combination, number of times of pressing, etc. are set to be complicated.

操作入力部106を介して入力された内容が、ソフトロード実行のトリガとして予め設定されたものと一致している場合には、ブートコードBc10によって、操作内容がソフト実行のトリガとして認識される。この場合は、処理がブートコードBc10からブートローダBd10に受け渡される(ステップS53)。ブートコードBc10によってソフトロード実行のトリガが認識されなかった場合には、ここで処理は終了となる。   If the content input via the operation input unit 106 matches a preset software load execution trigger, the boot code Bc10 recognizes the operation content as a software execution trigger. In this case, the process is transferred from the boot code Bc10 to the boot loader Bd10 (step S53). If the trigger for executing the software load is not recognized by the boot code Bc10, the process ends here.

次に、ブートローダBd10において、外部メモリI/F部102に外部メモリ101が接続されているか否かの判断がされる(ステップS54)。外部メモリ101が装着されていない場合には、ここで処理は終了になる。外部メモリ101が装着されていると判断された場合には、次に、外部メモリ101内にソフトロード用プログラムP10が格納されているか否かの判断が行われ(ステップS55)、外部メモリ101内にソフトロード用プログラムP10が記憶されていない場合には、ここで処理が終了となる。   Next, the boot loader Bd10 determines whether or not the external memory 101 is connected to the external memory I / F unit 102 (step S54). If the external memory 101 is not attached, the process ends here. If it is determined that the external memory 101 is installed, it is next determined whether or not the software load program P10 is stored in the external memory 101 (step S55). If the software loading program P10 is not stored, the process ends here.

外部メモリ101内にソフトロード用プログラムP10が存在した場合には、ブートローダBd1によって、ソフトロード用プログラムP10のうちソフトロード実行プログラムPg10が、外部メモリ101から読み出される。そして、読み出されたソフトロード実行プログラムPg10は、揮発性メモリ104に転送される(ステップS56)。   When the software load program P10 exists in the external memory 101, the software load execution program Pg10 out of the software load program P10 is read from the external memory 101 by the boot loader Bd1. Then, the read software load execution program Pg10 is transferred to the volatile memory 104 (step S56).

揮発性メモリ104上でソフトロード実行プログラムPg10が実行されると(ステップS57)、外部メモリ101よりシーケンスファイルSf10が読み出される。続いて、シーケンスファイルSf10に記載されたコマンドが実行されることで(ステップS58)、外部メモリ101内のプログラムコードPc10と固定データDt10とが携帯電話端末100内に取り込まれ、不揮発性メモリ103に転送される(ステップS59)。不揮発性メモリ103に転送されたプログラムコードPc10は、プログラムコード格納領域Rg20に書き込まれ、固定データDt10はユーザデータ格納領域Rg40に書き込まれる(ステップS60)。   When the software load execution program Pg10 is executed on the volatile memory 104 (step S57), the sequence file Sf10 is read from the external memory 101. Subsequently, by executing a command described in the sequence file Sf10 (step S58), the program code Pc10 and the fixed data Dt10 in the external memory 101 are taken into the mobile phone terminal 100 and stored in the nonvolatile memory 103. Transferred (step S59). The program code Pc10 transferred to the nonvolatile memory 103 is written in the program code storage area Rg20, and the fixed data Dt10 is written in the user data storage area Rg40 (step S60).

このように、NANDブート方式を用いて外部メモリ101からソフトロードを行う場合は、アクセス速度が非常に高速なSDRAM(揮発性メモリ104)上でソフトロード実行プログラムが実行される。そしてその結果、読み出し速度が高速なNANDメモリ(不揮発性メモリ103)に、プログラムコードPc10が転送される。従って、ソフトロードの処理を高速化することができる。   As described above, when the software load is performed from the external memory 101 using the NAND boot method, the software load execution program is executed on the SDRAM (volatile memory 104) having a very high access speed. As a result, the program code Pc10 is transferred to a NAND memory (nonvolatile memory 103) having a high reading speed. Therefore, it is possible to speed up the software loading process.

次に、USBケーブル等で構成したソフトロード専用ケーブル(治具)を用いてソフトロードを行う場合のシステム構成例を、図10に示してある。図10において、図8と対応する箇所には同一の符号を付してある。図10には、PC200と携帯電話端末100Aとが、ソフトロード専用ケーブルCb10とで接続された状態を示してある。PC200内の、不揮発性メモリ等で構成される記憶部210には、携帯電話端末100Aへのソフトロードを実現するためのローダソフトLs1と、ソフトロード用プログラムP10A、プログラムコードPc10、固定データDt10が記憶されている。またPC200は、USB用コネクタが接続されるコネクタ接続部230を有する。   Next, FIG. 10 shows an example of a system configuration in which soft loading is performed using a soft loading dedicated cable (jig) configured with a USB cable or the like. 10, parts corresponding to those in FIG. 8 are denoted by the same reference numerals. FIG. 10 shows a state in which the PC 200 and the mobile phone terminal 100A are connected by the soft load dedicated cable Cb10. A loader software Ls1 for realizing software loading to the mobile phone terminal 100A, a software loading program P10A, a program code Pc10, and fixed data Dt10 are stored in the storage unit 210 configured by a nonvolatile memory or the like in the PC 200. It is remembered. The PC 200 has a connector connection unit 230 to which a USB connector is connected.

携帯電話端末100Aは、SDRAM等で構成された揮発性メモリ103と、NANDメモリで構成された不揮発性メモリ104と、18ピンコネクタが接続されるコネクタ接続部230を有する。   The cellular phone terminal 100A includes a volatile memory 103 configured by SDRAM or the like, a nonvolatile memory 104 configured by NAND memory, and a connector connection unit 230 to which an 18-pin connector is connected.

PC200と携帯電話端末100A間を接続しているソフトロード専用ケーブルCb10は、その一端をUSBのコネクタで構成し、もう一端を18ピンのコネクタで構成してある(いずれのコネクタも、図10においては図示略)。また、PC200から送信される制御信号の内容に応じて、携帯電話端末100Aのコネクタ接続部230に印加する電圧のレベルを可変させる機能を有している。例えば、通常はコネクタ接続部230に対して5Vの電圧を印加しているところ、PC200よりソフトロードを行うモードへの切り替えを指示する制御信号が供給された場合には、印可電圧を5Vより少し低い値とするよう、電圧レベルを変換する処理を行う。   The soft load dedicated cable Cb10 connecting the PC 200 and the mobile phone terminal 100A has one end constituted by a USB connector and the other end constituted by an 18-pin connector (both connectors in FIG. 10). Is not shown). Further, it has a function of varying the level of the voltage applied to the connector connecting portion 230 of the mobile phone terminal 100A in accordance with the content of the control signal transmitted from the PC 200. For example, when a voltage of 5V is normally applied to the connector connection unit 230, and the control signal instructing switching to the soft loading mode is supplied from the PC 200, the applied voltage is slightly less than 5V. A process of converting the voltage level is performed so as to obtain a low value.

携帯電話端末100Aにおいては、コネクタ接続部230に印加される電圧の変化によって、ソフトロードを行うモード(以下、ソフトロードモードと称する)への遷移を検知することができるよう構成してある。   The mobile phone terminal 100A is configured to be able to detect a transition to a soft load mode (hereinafter referred to as a soft load mode) by a change in voltage applied to the connector connection unit 230.

このように構成されたPC200と携帯電話100Aによるソフトロードの処理例を、図11のフローチャートを参照して説明する。ソフトロードを開始する際には、まずPC200においてローダソフトLs10が起動される(ステップS61)。そして、ローダソフトLs10上で、携帯電話端末100Aに転送するファイルの指定を受け付ける(ステップS62)。ここで指定を受け付けるファイルは、ソフトロード実行プログラムPg10Aとなる。   An example of software loading processing by the PC 200 and the mobile phone 100A configured as described above will be described with reference to the flowchart of FIG. When starting the software load, the loader software Ls10 is first activated in the PC 200 (step S61). Then, designation of a file to be transferred to the mobile phone terminal 100A is received on the loader software Ls10 (step S62). The file that accepts the designation here is the software load execution program Pg10A.

続いて、ユーザによって、PC200と携帯電話端末100Aとがソフトロード専用ケーブルCb10で接続されると(ステップS63)、続いて携帯電話端末100Aの電源が投入される(ステップS64)。これにより、携帯電話端末100Aによって、ソフトロード専用ケーブルCb10の接続が検知される(ステップS65)。このとき、PC200から、ソフトロード専用ケーブルCb10をソフトロードモードへの切り替えを指示する制御信号が供給されているため、携帯電話端末100Aにおいて、ソフトロードモードへ遷移したことも検知される。携帯電話端末100Aは、ソフトロードモードになったことを検知すると、PC200(ローダソフトLs10)からのコマンドを受け付け可能な状態に切り替わる。   Subsequently, when the user connects the PC 200 and the mobile phone terminal 100A with the soft load dedicated cable Cb10 (step S63), the mobile phone terminal 100A is subsequently turned on (step S64). Thereby, the connection of the soft load dedicated cable Cb10 is detected by the mobile phone terminal 100A (step S65). At this time, since the PC 200 is supplied with a control signal for instructing switching of the soft load dedicated cable Cb10 to the soft load mode, the mobile phone terminal 100A also detects that the mode has transitioned to the soft load mode. When the mobile phone terminal 100A detects that the software load mode has been entered, the mobile phone terminal 100A switches to a state in which a command from the PC 200 (loader software Ls10) can be received.

そして、PC200から携帯電話端末100Aに、ソフトロード実行プログラムPg10Aとともに、プログラムの書き込み先アドレス(ここでは揮発性メモリ103内のアドレス)を指示したメモリ書き込みコマンドが送信される(ステップS66)。携帯電話端末100Aでは、ソフトロード実行プログラムPg10Aを受信すると、受信したソフトロード実行プログラムPg10Aを、メモリ書き込みコマンド内で指定されたアドレスに書き込む(ステップS67)。   Then, a memory write command instructing the program write destination address (in this case, the address in the volatile memory 103) is transmitted from the PC 200 to the mobile phone terminal 100A together with the software load execution program Pg10A (step S66). When receiving the software load execution program Pg10A, the mobile phone terminal 100A writes the received software load execution program Pg10A at the address specified in the memory write command (step S67).

携帯電話端末100Aは、PC200から送信されたプログラム実行コマンドを受信すると、受信したコマンドに基づいて、揮発性メモリ103上でソフトロード実行プログラムPg10Aを実行する(ステップS68)。ソフトロード実行プログラムPg10Aが実行されると、PC200において、シーケンスファイルSf10Aに記載のコマンドに基づいて、プログラムコードPc10と固定データDt10とが携帯電話端末100Aに転送される(ステップS68)。   When receiving the program execution command transmitted from the PC 200, the mobile phone terminal 100A executes the software load execution program Pg10A on the volatile memory 103 based on the received command (step S68). When the software load execution program Pg10A is executed, the program code Pc10 and the fixed data Dt10 are transferred to the mobile phone terminal 100A based on the commands described in the sequence file Sf10A in the PC 200 (step S68).

携帯電話端末100Aは、ソフトロード実行プログラムPg10Aの動作に基づいて、ステップS68で受信したプログラムコードPc10と固定データDt1とを、不揮発性メモリ104内の所定の領域に格納する。   The mobile phone terminal 100A stores the program code Pc10 and the fixed data Dt1 received in step S68 in a predetermined area in the nonvolatile memory 104 based on the operation of the software load execution program Pg10A.

特開2006−340196号公報JP 2006-340196 A

ところで、通常の携帯電話端末は、当初発売したモデル(以下、ベースモデルとする)に対して端末の色(カラーバリエーション)などを変更したモデル(以下、バリエーションモデルとする)を発売することがある。このバリエーションモデルは、ベースモデルとハードウェア構成はほぼ同一であるが、筐体の色変更や、内部のソフトウェア変更の部分的な修正が加えられているものが一般的である。   By the way, a normal mobile phone terminal may release a model (hereinafter referred to as a variation model) in which the color (color variation) of the terminal is changed with respect to the initially released model (hereinafter referred to as a base model). . The variation model is generally the same in hardware configuration as the base model, but generally has a case where a color change of the casing or a partial correction of the internal software change is added.

このようにベースモデルに対してバリエーションモデルが存在して、同一バージョンで複数の種類のものが存在すると、その種類ごとに専用のバージョンアップ用の外部メモリが必要になる。
このため、サービス拠点などにおいては、ベースモデルとバリエーションモデルでそれぞれの専用のバージョンアップ用の外部メモリを用意する必要があり、その取り扱いが煩雑になっている。つまり、サービス拠点ではソフトウェアを最新版にバージョンアップするにあたって、ベースモデルとバリエーションモデルでそれぞれ誤った外部メモリを使用したとしてもハードウェアが同一であることから、ソフトロードが可能となってしまう。携帯電話端末は外観から判断が難しいために、バージョンが違う外部メモリを使用して、誤ったソフトウェアをソフトロードする危険性があり、バージョンアップ作業は厳重に管理して実行する必要が生じている。
In this way, if there are variation models for the base model and there are a plurality of types of the same version, a dedicated version-up external memory is required for each type.
For this reason, in service bases and the like, it is necessary to prepare dedicated external memories for version upgrades for the base model and the variation model, and the handling is complicated. In other words, when the software is upgraded to the latest version at the service base, even if the wrong external memory is used for each of the base model and the variation model, the hardware is the same, so software loading becomes possible. Since it is difficult to judge from the appearance of mobile phone terminals, there is a risk of soft loading incorrect software using external memory with different versions, and it is necessary to strictly manage and execute version upgrade work .

その対策として、ベースモデルとバリエーションモデルのロードモジュールを同一の外部メモリに搭載し、バージョン情報などでモデルを判断して、どちらのロードモジュールを選択するかの方式は考案されている(例えば、特許文献1参照)。しかしながら、ロードモジュールサイズが巨大化し(300MByte程度)、2つのロードモジュールを同一外部メモリに格納するためには1GB程度の大容量外部メモリが必要になってきている。外部メモリのコストは容量に比例して上昇するため、外部メモリコスト増大も懸念されている。   As a countermeasure, the load model of the base model and the variation model is mounted on the same external memory, and the method of selecting which load module is determined by judging the model based on version information etc. has been devised (for example, patents) Reference 1). However, the load module size has become large (about 300 MByte), and in order to store the two load modules in the same external memory, a large capacity external memory of about 1 GB is required. Since the cost of the external memory increases in proportion to the capacity, there is a concern that the external memory cost will increase.

本発明はかかる点に鑑みてなされたものであり、小さい容量の外部メモリで複数のモデルに対応したバージョンアップ作業ができることを目的とする。   The present invention has been made in view of this point, and an object of the present invention is to perform upgrade work corresponding to a plurality of models with a small external memory.

本発明は、携帯端末と、その携帯端末に着脱可能に構成される外部メモリと、携帯端末に接続される情報処理装置とによるシステムに適用される。
外部メモリは、その内部に、携帯端末のソフトウェアを構成するプログラムコードを格納し、そのソフトウェアとして、携帯端末の複数のバージョンに共通のプログラムコードと、各バージョンで異なる差分のプログラムコードとに分けて格納する。
情報処理装置は、接続された携帯端末のバージョンを判別し、そのバージョンに対応した共通のプログラムコード及び差分プログラムコードを外部メモリから携帯端末内に読み込み、携帯端末内の所定の領域に書き込むソフトロード処理を行うソフトロード実行機能部を有する。
携帯端末は、ソフトロード実行機能部を、自機器の内部に読み込む処理を行うソフトロード実行機能読み込み機能部と、所定の領域としてのプログラムコード格納部とを有する。
The present invention is applied to a system including a mobile terminal, an external memory configured to be detachable from the mobile terminal, and an information processing apparatus connected to the mobile terminal.
The external memory stores the program code that constitutes the software of the mobile terminal, and is divided into a program code that is common to multiple versions of the mobile terminal and a program code that is different for each version. Store.
The information processing apparatus determines the version of the connected mobile terminal, reads a common program code and a differential program code corresponding to the version from the external memory into the mobile terminal, and writes the data into a predetermined area in the mobile terminal A software load execution function unit that performs processing is included.
The portable terminal includes a software load execution function reading function unit that performs processing of reading the software load execution function unit into the device itself, and a program code storage unit as a predetermined area.

このようにしたことで、1つの外部メモリに記憶されるプログラムコードが、携帯端末の複数のバージョンに共通のプログラムコードと、各バージョンで異なる差分のプログラムコードとに分けて格納される。従って、1つの外部メモリを使って、複数のバージョンのプログラムコードを効率よく記憶させることが可能になる。   By doing in this way, the program code memorize | stored in one external memory is divided and stored in the program code common to several versions of a portable terminal, and the program code of the difference which is different in each version. Accordingly, it is possible to efficiently store a plurality of versions of the program code using one external memory.

本発明は、複数のバージョンに対応したプログラムコードを小さい外部メモリに格納することができるため、1つのバージョンごとに外部メモリを用意する必要がなく、ソフトウェアを更新するための外部メモリとして、必要な数を減らすことができる。また、1つの外部メモリに効率よく複数のバージョンのソフトウェアを格納でき、外部メモリが必要な記憶容量を削減することができる。   In the present invention, since program codes corresponding to a plurality of versions can be stored in a small external memory, it is not necessary to prepare an external memory for each version, and it is necessary as an external memory for updating software. The number can be reduced. In addition, a plurality of versions of software can be efficiently stored in one external memory, and the storage capacity required for the external memory can be reduced.

<第1の実施の形態>
以下、本発明の第1の実施の形態を、図1〜4を参照して説明する。本実施の形態の例(以下本例と称する)は、本発明を、外部メモリとソフトロード専用ケーブルとを両方用いて、携帯電話端末のソフトロードを実現する構成に適用したものである。携帯電話端末は、ソフトロード専用ケーブルを使って情報処理装置であるPC(パーソナルコンピュータ装置)と接続させてある。
また本例においては、ソフトロードの実現に必要なプログラムのうち、プログラムコードは外部メモリに記憶させ、プログラムコードを携帯電話端末に読み込むためのソフトロード実行プログラム(ソフトロード実行機能部)及びシーケンスファイルを、PCに記憶させる。さらに、PCに記憶されたソフトロード実行プログラムを読み出すためのソフトロード実行プログラムローダ(ソフトロード実行機能読み込み機能部)を、携帯電話端末内に記憶させておく。そして、このように構成した各装置(機器)間で、互いに制御信号やデータをやりとりすることにより、ソフトロードを実現するようにしている。図1に、本例によるシステムの構成例を示してある。
<First Embodiment>
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. In the example of the present embodiment (hereinafter referred to as this example), the present invention is applied to a configuration that realizes soft loading of a mobile phone terminal by using both an external memory and a dedicated cable for soft loading. The mobile phone terminal is connected to a PC (personal computer device) which is an information processing device using a soft load dedicated cable.
In this example, among the programs required for realizing the software load, the program code is stored in the external memory, and the software load execution program (software load execution function unit) and the sequence file for reading the program code into the mobile phone terminal Is stored in the PC. Further, a software load execution program loader (software load execution function reading function unit) for reading the software load execution program stored in the PC is stored in the mobile phone terminal. A software load is realized by exchanging control signals and data between the devices (devices) configured as described above. FIG. 1 shows a configuration example of a system according to this example.

図1は、外部メモリ11が装着された携帯電話端末10と、PC20とが、ソフトロード専用ケーブルCb1とで接続された状態を示してある。ソフトロード専用ケーブルCb1は、従来例として図10に示したソフトロード専用ケーブルCb10と同一の構成としてあり、USBのコネクタと18ピンのコネクタとを有する。そして、18ピンのコネクタが、携帯電話端末10のコネクタ接続部18に、USBのコネクタが、PC20のコネクタ接続部24に接続されている。またソフトロード専用ケーブルCb1は、PC20から送信される制御信号の内容に応じて、携帯電話端末10のコネクタ接続部18に印加する電圧のレベルを可変させる機能も、従来のものと同様に有している。   FIG. 1 shows a state in which the mobile phone terminal 10 to which the external memory 11 is attached and the PC 20 are connected by a soft load dedicated cable Cb1. The soft load dedicated cable Cb1 has the same configuration as the soft load dedicated cable Cb10 shown in FIG. 10 as a conventional example, and has a USB connector and an 18-pin connector. The 18-pin connector is connected to the connector connecting portion 18 of the mobile phone terminal 10, and the USB connector is connected to the connector connecting portion 24 of the PC 20. Also, the soft load dedicated cable Cb1 has a function of changing the level of the voltage applied to the connector connecting portion 18 of the mobile phone terminal 10 in accordance with the content of the control signal transmitted from the PC 20, as in the conventional case. ing.

次に、図2を参照して、携帯電話端末10とPC20のそれぞれの内部構成例について説明する。まず携帯電話端末10の構成から説明すると、携帯電話端末10は、外部メモリ11が取り付けられる外部メモリI/F部12と、NANDメモリで構成される不揮発性メモリ13、SDRAM等で構成される揮発性メモリ14、制御部15とを有する。さらに、操作入力部16と表示部17と、ソフトロード専用ケーブルCb1が接続されるコネクタ接続部18とを有する。不揮発性メモリ13とコネクタ接続部18以外の各部については、従来例として図10に示した携帯電話端末100Aと同一の構成としてあるため、詳細な説明は省略する。   Next, with reference to FIG. 2, an example of the internal configuration of each of the mobile phone terminal 10 and the PC 20 will be described. First, the configuration of the mobile phone terminal 10 will be described. The mobile phone terminal 10 includes an external memory I / F unit 12 to which an external memory 11 is attached, a non-volatile memory 13 configured by a NAND memory, and a volatile configuration configured by an SDRAM. Memory 14 and control unit 15. Furthermore, it has the operation input part 16, the display part 17, and the connector connection part 18 to which the cable Cb1 only for soft loading is connected. Since each part other than the nonvolatile memory 13 and the connector connection part 18 has the same configuration as the cellular phone terminal 100A shown in FIG. 10 as a conventional example, detailed description thereof is omitted.

次にPC20の内部構成例について説明すると、PC20は、不揮発性メモリや揮発性メモリ等よりなるメモリ21と、HDD(Hard Disk Drive)やDVD(Digital Versatile Disc)ドライブ等よりなる記憶部22、制御部23を有する。さらに、ソフトロード専用ケーブルCb1が接続されるコネクタ接続部24と、操作入力部25、表示部26とを有する。   Next, an example of the internal configuration of the PC 20 will be described. The PC 20 includes a memory 21 including a nonvolatile memory and a volatile memory, a storage unit 22 including an HDD (Hard Disk Drive), a DVD (Digital Versatile Disc) drive, and the like. Part 23. Furthermore, it has the connector connection part 24 to which the cable Cb1 only for soft loading is connected, the operation input part 25, and the display part 26.

操作入力部25は、キーボードやマウス等よりなり、ユーザからの操作内容に応じた操作信号を生成して、生成した操作信号を制御部15に供給する。表示部17は、LCD(Liquid Crystal Display)等で構成され、後述するローダソフトが生成するGUI(Graphical User Interface)画面や、ソフトロード完了の通知等が表示される。   The operation input unit 25 includes a keyboard, a mouse, and the like, generates an operation signal corresponding to the operation content from the user, and supplies the generated operation signal to the control unit 15. The display unit 17 is configured by an LCD (Liquid Crystal Display) or the like, and displays a GUI (Graphical User Interface) screen generated by loader software described later, a notification of software loading completion, and the like.

次に、図3を参照して、携帯電話端末10と外部メモリ11、PC20のそれぞれにおける内部構成例について説明する。PC20には、メモリ21(もしくは記憶部22)の内部に、ローダソフトLs1と、ソフトロード用プログラムとしてのソフトロード実行プログラムPg1とを格納してある。   Next, with reference to FIG. 3, an example of the internal configuration of each of the mobile phone terminal 10, the external memory 11, and the PC 20 will be described. The PC 20 stores loader software Ls1 and a software load execution program Pg1 as a software load program in the memory 21 (or the storage unit 22).

携帯電話端末10の不揮発性メモリ13には、ブート部Rg1とプログラムコード格納領域Rg2、ユーザデータ格納領域Rg3とを定義してある。ブート部Rg1とは、携帯電話端末10の電源投入時に最初に読み込まれるブート領域である。本例においては、ブート部Rg1に「ソフトロード実行プログラムローダSd1」を記憶させてある。ソフトロード実行プログラムローダSd1とは、PC20内に記憶されているソフトロード実行プログラムPg1を、携帯電話端末10内の所定のメモリ領域に書き込むためのプログラムである。不揮発性メモリ13は、他にプログラムコード格納領域Rg2と、ユーザデータ格納領域Rg3とを有する。   The nonvolatile memory 13 of the mobile phone terminal 10 defines a boot unit Rg1, a program code storage area Rg2, and a user data storage area Rg3. The boot unit Rg1 is a boot area that is read first when the mobile phone terminal 10 is powered on. In this example, “soft load execution program loader Sd1” is stored in the boot unit Rg1. The software load execution program loader Sd1 is a program for writing the software load execution program Pg1 stored in the PC 20 into a predetermined memory area in the mobile phone terminal 10. In addition, the nonvolatile memory 13 has a program code storage area Rg2 and a user data storage area Rg3.

携帯電話端末10と外部メモリI/F部12を介して接続された外部メモリ11には、シーケンスファイルSf1と、基本プログラム共通コードPc1と、固定共通コードDt1と、差分コード1Dd1と、差分コード2Dd2とを記憶させてある。固定共通コードDt1は、携帯端末の複数のバージョンの機種に共通のプログラムコードである。差分コード1Dd1と差分コード2Dd2は、各バージョンで異なる差分のプログラムコードを、バージョンごと(機種ごと)に用意したものである。ここでの差分とは、共通のプログラムコードからの差分である。   The external memory 11 connected to the mobile phone terminal 10 via the external memory I / F unit 12 includes a sequence file Sf1, a basic program common code Pc1, a fixed common code Dt1, a differential code 1Dd1, and a differential code 2Dd2. Is remembered. The fixed common code Dt1 is a program code common to a plurality of models of mobile terminals. The difference code 1Dd1 and the difference code 2Dd2 are prepared as different version program codes for each version (for each model). The difference here is a difference from a common program code.

このように構成されたPC20と携帯電話端末10と外部メモリ11とによるソフトロードの処理例を、図4のフローチャートを参照して説明する。まずPC20においてローダソフトLs1が起動されると(ステップS11)、操作入力部16(図2参照)等を介して、ソフトロード実行プログラムPg1が、携帯電話端末10への転送ファイルとして指定される(ステップS12)。   An example of software loading processing performed by the PC 20, the mobile phone terminal 10, and the external memory 11 configured as described above will be described with reference to the flowchart of FIG. First, when the loader software Ls1 is activated in the PC 20 (step S11), the software load execution program Pg1 is designated as a transfer file to the mobile phone terminal 10 via the operation input unit 16 (see FIG. 2) (see FIG. 2). Step S12).

続いて、ユーザによって、PC20と携帯電話端末10とがソフトロード専用ケーブルCb1で接続されると(ステップS13)、続いて、携帯電話端末10側の電源が投入され(ステップS14)、ソフトロード専用ケーブルCb1の接続が検知される(ステップS15)。そして、外部メモリ11が携帯電話端末10に装着されていることを確認し(ステップ16)、装着された外部メモリ内にソフトロード用のプログラムがあることを確認が行われる(ステップ17)。このとき、PC20から、ソフトロード専用ケーブルCb1をソフトロードモードへの切り替えを指示する制御信号が供給されているため、携帯電話端末10において、ソフトロードモードへ遷移したことも検知される。携帯電話端末10は、ソフトロードモードになったことを検知すると、ソフトロード実行プログラムローダSd1を起動する(ステップS18)。これにより、携帯電話端末10が、PC20(ローダソフトLs1)からのコマンドを受け付け可能な状態に切り替わる。   Subsequently, when the user connects the PC 20 and the mobile phone terminal 10 by the soft load dedicated cable Cb1 (step S13), the mobile phone terminal 10 side is turned on (step S14), and the software load only Connection of the cable Cb1 is detected (step S15). Then, it is confirmed that the external memory 11 is attached to the mobile phone terminal 10 (step 16), and it is confirmed that there is a software loading program in the attached external memory (step 17). At this time, since the PC 20 is supplied with a control signal that instructs the soft load dedicated cable Cb1 to switch to the soft load mode, the mobile phone terminal 10 also detects that the soft load mode has been changed. When the mobile phone terminal 10 detects that the software load mode has been entered, it activates the software load execution program loader Sd1 (step S18). Thereby, the mobile phone terminal 10 is switched to a state in which a command from the PC 20 (loader software Ls1) can be received.

次に、PC20から携帯電話端末10に、ソフトロード実行プログラムPg1とともに、プログラムの書き込み先アドレス(揮発性メモリ14(図2参照)内のアドレス)を指示したメモリ書き込みコマンドが送信される(ステップS19)。携帯電話端末10でソフトロード実行プログラムPg1が受信されると、ソフトロード実行プログラムローダSd1によって、揮発メモリ14上のメモリ書き込みコマンド内で指定されたアドレスに、ソフトロード実行プログラムPg1が書き込まれる(ステップS20)。そして、ソフトロード実行プログラムPg1が揮発メモリ14上で展開されると、処理がソフトロード実行プログラムローダSd1からソフトロード実行プログラムPg1に移される。   Next, a memory write command indicating a program write destination address (address in the volatile memory 14 (see FIG. 2)) is transmitted from the PC 20 to the mobile phone terminal 10 together with the software load execution program Pg1 (step S19). ). When the mobile phone terminal 10 receives the software load execution program Pg1, the software load execution program loader Sd1 writes the software load execution program Pg1 to the address specified in the memory write command on the volatile memory 14 (step S20). When the software load execution program Pg1 is expanded on the volatile memory 14, the process is transferred from the software load execution program loader Sd1 to the software load execution program Pg1.

携帯電話端末10は、PC20から続いて送信されるプログラム実行コマンドを受信すると、受信したコマンドに基づいて、揮発性メモリ14に書き込まれたソフトロード実行プログラムPg1を実行する(ステップS21)。ソフトロード実行プログラムPg1が実行されると外部メモリ11内のシーケンスファイルSf1に記載のコマンドに基づいて、携帯電話端末のバージョン情報が読み出され(ステップS22)、ベースモデルかバリエーションモデルかを判断する(ステップS23)。   When receiving the program execution command transmitted subsequently from the PC 20, the mobile phone terminal 10 executes the software load execution program Pg1 written in the volatile memory 14 based on the received command (step S21). When the software load execution program Pg1 is executed, the version information of the mobile phone terminal is read based on the command described in the sequence file Sf1 in the external memory 11 (step S22), and it is determined whether it is a base model or a variation model. (Step S23).

ベースモデルの場合は、シーケンスファイルSf1からベースモデル用のコマンドを実行し(ステップS24)、「基本プログラム共通コードPc1+固定共通コードDt1+差分コード1Dd1」を構成し、外部メモリ11より読み出される(ステップS25)。バリエーションモデルの場合は、シーケンスファイルSf1からバリエーションモデル用のコマンドを実行し(ステップS27)、「基本プログラム共通コードPc1+固定共通コードDt1+差分コード2Dd2」を構成し、外部メモリ11より読み出される(ステップS28)。   In the case of the base model, a command for the base model is executed from the sequence file Sf1 (step S24) to form “basic program common code Pc1 + fixed common code Dt1 + difference code 1Dd1”, which is read from the external memory 11 ( Step S25). In the case of a variation model, a variation model command is executed from the sequence file Sf1 (step S27) to form “basic program common code Pc1 + fixed common code Dt1 + difference code 2Dd2”, which is read from the external memory 11 ( Step S28).

ベースモデルが読み出された場合は、基本プログラム共通コードPc1は不揮発性メモリ13内のプログラムコード格納領域Rg2に、固定共通コードDt1は同じく不揮発メモリ13内のユーザデータ格納領域Rg3に、差分コード1Dd1はプログラムコード格納領域Rg2とユーザデータ格納領域Rg3に両方に書き込む部分の差分であるのでそれぞれの格納領域に、書き込まれる(ステップS26)。
バリエーションモデルが読み出された場合は、基本プログラム共通コードPc1は不揮発性メモリ13内のプログラムコード格納領域Rg2に、固定共通コードDt1は同じく不揮発メモリ13内のユーザデータ格納領域Rg3に、差分コード2Dd2はプログラムコード格納領域Rg2とユーザデータ格納領域Rg3に両方に書き込む部分の差分であるのでそれぞれの格納領域に、書き込まれる(ステップS29)。
When the base model is read, the basic program common code Pc1 is stored in the program code storage area Rg2 in the nonvolatile memory 13, and the fixed common code Dt1 is stored in the user data storage area Rg3 in the nonvolatile memory 13 as well. Is the difference between the portions written in both the program code storage area Rg2 and the user data storage area Rg3, and is written in the respective storage areas (step S26).
When the variation model is read out, the basic program common code Pc1 is stored in the program code storage area Rg2 in the nonvolatile memory 13, and the fixed common code Dt1 is stored in the user data storage area Rg3 in the nonvolatile memory 13 and the difference code 2Dd2. Is the difference between the portions written in both the program code storage area Rg2 and the user data storage area Rg3, and is written in the respective storage areas (step S29).

ベースモデルもしくはバリエーションモデルのすべてのプログラムコードの書き込みが完了した時点で、ソフトロードの処理も終了される。   When all the program codes for the base model or variation model have been written, the software loading process is also terminated.

以上の説明した実施の形態によれば、ベースモデルとバリエーションモデルと共有する部分は共有させて、外部メモリ11に格納させることができる。即ち、ベースモデルは「基本プログラム共通コードPc1+固定共通コードDt1+差分コードDd1」が使用される。バリエーションモデルは「基本プログラム共通コードPc1+固定共通コードDt1+差分コードDd2」が使用される。この構成の場合、外部メモリ11には「基本プログラム共通コードPc1+固定共通コードDt1+差分コード1Dd1+差分コード2Dd2」という構成で格納することができる。そして、ソフトロード時には、外部メモリ11に格納されているシーケンスファイルSf1に従って、携帯電話端末のモデルを判断する。そして、判断したモデルのプログラムコードを構成し、携帯電話端末内のプログラムコード格納領域Rg2とユーザデータ格納領域Rg3にそのプログラムコードを書き込まれる。   According to the embodiment described above, the parts shared by the base model and the variation model can be shared and stored in the external memory 11. In other words, “basic program common code Pc1 + fixed common code Dt1 + difference code Dd1” is used as the base model. As the variation model, “basic program common code Pc1 + fixed common code Dt1 + difference code Dd2” is used. In the case of this configuration, the external memory 11 can be stored with a configuration of “basic program common code Pc1 + fixed common code Dt1 + difference code 1Dd1 + difference code 2Dd2.” At the time of software loading, the model of the mobile phone terminal is determined according to the sequence file Sf1 stored in the external memory 11. Then, the program code of the determined model is configured, and the program code is written in the program code storage area Rg2 and the user data storage area Rg3 in the mobile phone terminal.

これにより、外部メモリにベースモデルのプログラムコードとバリエーションモデルのプラグラムコードの両方ともに格納する場合、従来は2つのコードを個別に格納しなければならないのが、小さい容量にすることができる。即ち、従来は、「ベースモデル用基本プログラムコード+ベースモデル用固定コード」と「バリエーションモデル用基本プログラムコード+バリエーションモデル用固定コード」を格納しなければならない。これに対して本例の場合には、「基本プログラム共通コードPc1+固定共通コードDt1+差分コード1Dd1+差分コード2Dd2」という構成にすることができ、外部メモリ11により小さい容量で格納することができる。   As a result, when both the program code of the base model and the program code of the variation model are stored in the external memory, conventionally two codes must be stored separately, but the capacity can be reduced. That is, conventionally, “basic model basic program code + base model fixed code” and “variation model basic program code + variation model fixed code” must be stored. On the other hand, in the case of this example, it can be configured as “basic program common code Pc1 + fixed common code Dt1 + difference code 1Dd1 + difference code 2Dd2”, and can be stored in the external memory 11 with a smaller capacity. it can.

さらに、複数のバージョンモデルに対応したい場合は、対応したいバージョンモデルの数だけの差分コードを、同様の構成で外部メモリに格納することで対応することができる。   Furthermore, when it is desired to correspond to a plurality of version models, it is possible to cope by storing the same number of difference codes as the number of version models desired to be stored in the external memory.

また、外部メモリに格納されているシーケンスファイルは、携帯電話端末のモデルを判断し、判断したモデルに合わせて外部メモリ内にあるプラグラムコードで構成を組み、携帯電話端末の内部の不揮発性メモリに読み込ませることができ、ソフトロードの手順が一括管理することができる。   In addition, the sequence file stored in the external memory determines the model of the mobile phone terminal, composes the program code in the external memory according to the determined model, and stores it in the nonvolatile memory inside the mobile phone terminal. The software loading procedure can be collectively managed.

<第2の実施の形態>
次に、図5及び図6を参照して、本発明の第2の実施の形態の例について説明する。
本例は、バージョンアップ作業を、第1の実施の形態よりもさらに簡易な構成としたものである。具体的には、外部メモリと携帯電話端末のみの構成で、携帯電話端末の操作で複数のモデルに対応したバージョンアップ作業が行えるようにしたものである。本例におけるシステムの内部構成は、図2に示したものからPC20とソフトロード専用ケーブルの箇所を削除した構成と同一であるため、システム構成については説明を省略する。
<Second Embodiment>
Next, an example of the second embodiment of the present invention will be described with reference to FIGS.
In this example, the version upgrade operation has a simpler configuration than that of the first embodiment. Specifically, the configuration includes only an external memory and a mobile phone terminal, and the upgrade work corresponding to a plurality of models can be performed by operating the mobile phone terminal. Since the internal configuration of the system in this example is the same as the configuration in which the PC 20 and the soft load dedicated cable are deleted from the configuration shown in FIG. 2, the description of the system configuration is omitted.

図5に、本例における携帯電話端末10′と外部メモリ11′の内部構成例を示してある。図5において、図3と対応する箇所には同一の符号を付してある。
図5に示した外部メモリ11′の場合には、外部メモリ11に、ソフトロード実行プログラムPg1と、シーケンスファイルSf1と、基本プログラム共通コードPc1と、固定共通コードDt1と、差分コード1Dd1と、差分コード2Dd2とを記憶させてある。ソフトロード実行プログラムPg1は、ソフトロード実行機能を行うプログラムである。この外部メモリ11に記憶されたソフトロード実行プログラムを読み出すためのソフトロード実行プログラムローダSd1(ソフトロード実行機能読み込み機能部)を、携帯電話端末10′内に記憶させておく。
FIG. 5 shows an example of the internal configuration of the mobile phone terminal 10 'and the external memory 11' in this example. In FIG. 5, portions corresponding to those in FIG. 3 are denoted with the same reference numerals.
In the case of the external memory 11 ′ shown in FIG. 5, the soft load execution program Pg1, the sequence file Sf1, the basic program common code Pc1, the fixed common code Dt1, the difference code 1Dd1, and the difference are stored in the external memory 11. The code 2Dd2 is stored. The software load execution program Pg1 is a program that performs a software load execution function. A software load execution program loader Sd1 (software load execution function reading function unit) for reading the software load execution program stored in the external memory 11 is stored in the mobile phone terminal 10 '.

このように構成された携帯電話端末10′におけるソフトロードの実行手順を、図6に示してある。
携帯電話端末10′では、電源が投入したあと(ステップS31)、携帯電話端末を操作して、不揮発性メモリ13に格納されたソフトロード実行プログラムローダSd1を起動させる(ステップS32)。その後、外部メモリ11′が携帯電話端末10′に装着されていることを確認し(ステップ33)、装着された外部メモリ内にソフトロード用のプログラムがあることを確認が行われる(ステップ34)。
FIG. 6 shows the execution procedure of the software load in the mobile phone terminal 10 'configured as described above.
In the mobile phone terminal 10 ′, after the power is turned on (step S31), the mobile phone terminal is operated to activate the software load execution program loader Sd1 stored in the nonvolatile memory 13 (step S32). Thereafter, it is confirmed that the external memory 11 'is attached to the mobile phone terminal 10' (step 33), and it is confirmed that there is a program for software loading in the attached external memory (step 34). .

次に、外部メモリに格納されているソフトロード実行プログラムPg1を読み出して、携帯電話端末10′の揮発メモリ104上のメモリ書き込みコマンド内で指定されたアドレスに、ソフトロード実行プログラムPg1が書き込まれ(ステップS35)、書き込まれたソフトロード実行プログラムPg1を実行する(ステップS36)。   Next, the software load execution program Pg1 stored in the external memory is read out, and the software load execution program Pg1 is written to the address specified in the memory write command on the volatile memory 104 of the mobile phone terminal 10 ′ ( Step S35), the written software load execution program Pg1 is executed (step S36).

ソフトロード実行プログラムPg1が実行されると外部メモリ11′内のシーケンスファイルSf1に記載のコマンドに基づいて、携帯電話端末のバージョン情報が読み出され(ステップS37)、ベースモデルかバリエーションモデルかを判断する(ステップS38)。   When the software load execution program Pg1 is executed, the version information of the mobile phone terminal is read based on the command described in the sequence file Sf1 in the external memory 11 '(step S37), and it is determined whether it is a base model or a variation model. (Step S38).

ベースモデルの場合は、シーケンスファイルSf1からベースモデル用のコマンドを実行し(ステップS39)、「基本プログラム共通コードPc1+固定共通コードDt1+差分コード1Dd1」を構成し、外部メモリ11′より読み出される(ステップS40)。バリエーションモデルの場合は、シーケンスファイルSf1からバリエーションモデル用のコマンドを実行し(ステップS42)、「基本プログラム共通コードPc1+固定共通コードDt1+差分コード2Dd2」を構成し、外部メモリ11′より読み出される(ステップS43)。   In the case of the base model, a command for the base model is executed from the sequence file Sf1 (step S39) to form “basic program common code Pc1 + fixed common code Dt1 + difference code 1Dd1”, which is read from the external memory 11 ′. (Step S40). In the case of the variation model, a variation model command is executed from the sequence file Sf1 (step S42) to form “basic program common code Pc1 + fixed common code Dt1 + difference code 2Dd2”, which is read from the external memory 11 ′. (Step S43).

ベースモデルが読み出された場合は、基本プログラム共通コードPc1は不揮発性メモリ13内のプログラムコード格納領域Rg2に、固定共通コードDt1は同じく不揮発メモリ13内のユーザデータ格納領域Rg3に、差分コード1Dd1はプログラムコード格納領域Rg2とユーザデータ格納領域Rg3に両方に書き込む部分の差分であるのでそれぞれの格納領域に、書き込まれる(ステップS41)。   When the base model is read, the basic program common code Pc1 is stored in the program code storage area Rg2 in the nonvolatile memory 13, and the fixed common code Dt1 is stored in the user data storage area Rg3 in the nonvolatile memory 13 as well. Is the difference between the portions written in both the program code storage area Rg2 and the user data storage area Rg3, and is written in the respective storage areas (step S41).

バリエーションモデルが読み出された場合は、基本プログラム共通コードPc1は不揮発性メモリ13内のプログラムコード格納領域Rg2に、固定共通コードDt1は同じく不揮発メモリ13内のユーザデータ格納領域Rg3に、差分コード2Dd2はプログラムコード格納領域Rg2とユーザデータ格納領域Rg3に両方に書き込む部分の差分であるのでそれぞれの格納領域に、書き込まれる(ステップS44)。   When the variation model is read out, the basic program common code Pc1 is stored in the program code storage area Rg2 in the nonvolatile memory 13, and the fixed common code Dt1 is stored in the user data storage area Rg3 in the nonvolatile memory 13 and the difference code 2Dd2. Is the difference between the portions written in both the program code storage area Rg2 and the user data storage area Rg3, and is written in the respective storage areas (step S44).

ベースモデルもしくはバリエーションモデルのすべてのプログラムコードの書き込みが完了した時点で、ソフトロードの処理も終了される。   When all the program codes for the base model or variation model have been written, the software loading process is also terminated.

第2の実施の形態によれば、外部メモリ11のみがあれば、PCがなくとも手軽に携帯電話端末のバージョンアップ作業が行うことができる。従って、第一実施の形態における効果に加えて、PCをおけないサービス拠点などでバージョンアップ作業を行うことができるという効果を有する。   According to the second embodiment, if there is only the external memory 11, the mobile phone terminal can be easily upgraded without a PC. Therefore, in addition to the effect in the first embodiment, there is an effect that the upgrade work can be performed at a service base where a PC cannot be installed.

なお、上述した第1及び第2の実施の形態の例においては、携帯端末を携帯電話端末に適用した例を挙げたが、これに限定されるものではない。例えば、PDA(Personal Digital Assistants)等の情報端末や、ゲーム端末等、ソフトウェアの書き換え処理を要する他の携帯端末に適用するようにしてもよい。   In the example of the first and second embodiments described above, an example in which the mobile terminal is applied to a mobile phone terminal is given, but the present invention is not limited to this. For example, the present invention may be applied to information terminals such as PDAs (Personal Digital Assistants), game terminals, and other portable terminals that require software rewrite processing.

本発明の第1の実施の形態によるシステムの構成例を示す概略図である。It is the schematic which shows the structural example of the system by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるシステムの内部構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of the system by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるPCと携帯電話端末と外部メモリの内部構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of PC, a mobile telephone terminal, and external memory by the 1st Embodiment of this invention. 本発明の第1の実施の形態によるソフトロード処理の例を示すフローチャートである。It is a flowchart which shows the example of the soft load process by the 1st Embodiment of this invention. 本発明の第2の実施の形態による携帯電話端末と外部メモリの内部構成例を示すブロック図である。It is a block diagram which shows the internal structural example of the mobile telephone terminal and external memory by the 2nd Embodiment of this invention. 本発明の第2の実施の形態によるソフトロード処理の例を示すフローチャートである。It is a flowchart which shows the example of the soft load process by the 2nd Embodiment of this invention. 従来の携帯電話端末の内部構成例を示すブロック図である。It is a block diagram which shows the internal structural example of the conventional mobile telephone terminal. 従来の外部メモリと携帯電話端末内の不揮発メモリの内部構成例を示すブロック図である。It is a block diagram which shows the example of an internal structure of the conventional external memory and the non-volatile memory in a mobile telephone terminal. 従来の外部メモリを用いたソフトロードの処理例を示すフローチャートである。It is a flowchart which shows the example of a process of the soft load using the conventional external memory. 従来のケーブルを用いたソフトロード処理を行う場合のシステム構成例を示す説明図である。It is explanatory drawing which shows the system structural example in the case of performing the soft load process using the conventional cable. 従来のケーブルを用いたソフトロード処理の例を示すフローチャートである。It is a flowchart which shows the example of the soft load process using the conventional cable.

符号の説明Explanation of symbols

10…携帯電話端末、11…外部メモリ、12…外部メモリI/F部、13…不揮発性メモリ、14…揮発性メモリ、15…制御部、16…操作入力部、17…表示部17、18…コネクタ接続部、20…PC、21…メモリ、22…記憶部、23…制御部、24…コネクタ接続部、25…操作入力部、26…表示部、Cb1…ソフトロード専用ケーブル、Dd1…差分データ1、Dd2…差分データ2、Dt1…固定共通データ、Ls1…ローダソフト、Pc1…基本プログラム共通コード、Pg1…ソフトロード実行プログラム、Rg1…ブート部、Rg2…プログラムコード格納領域、Rg3…ユーザデータ格納領域、Sd1…ソフトロード実行プログラムローダ、Sf1…シーケンスファイル   DESCRIPTION OF SYMBOLS 10 ... Mobile phone terminal, 11 ... External memory, 12 ... External memory I / F part, 13 ... Non-volatile memory, 14 ... Volatile memory, 15 ... Control part, 16 ... Operation input part, 17 ... Display part 17, 18 ... Connector connection part, 20 ... PC, 21 ... Memory, 22 ... Storage part, 23 ... Control part, 24 ... Connector connection part, 25 ... Operation input part, 26 ... Display part, Cb1 ... Soft load dedicated cable, Dd1 ... Difference Data 1, Dd2 ... Differential data 2, Dt1 ... Fixed common data, Ls1 ... Loader software, Pc1 ... Basic program common code, Pg1 ... Soft load execution program, Rg1 ... Boot unit, Rg2 ... Program code storage area, Rg3 ... User data Storage area, Sd1 ... software load execution program loader, Sf1 ... sequence file

Claims (9)

携帯端末に着脱可能に構成され、その内部に、携帯端末のソフトウェアを構成するプログラムコードを格納し、そのソフトウェアとして、携帯端末の複数のバージョンに共通のプログラムコードと、各バージョンで異なる差分のプログラムコードとに分けて格納する外部メモリと、
接続された携帯端末のバージョンを判別し、そのバージョンに対応した前記共通のプログラムコード及び前記差分プログラムコードを前記外部メモリから前記携帯端末内に読み込み、前記携帯端末内の所定の領域に書き込むソフトロード処理を行うソフトロード実行機能部を有する情報処理装置と、
前記ソフトロード実行機能部を、自機器の内部に読み込む処理を行うソフトロード実行機能読み込み機能部と、
前記所定の領域としてのプログラムコード格納部とを有する携帯端末とを備えた
ソフトウェア更新システム。
It is configured so as to be detachable from the portable terminal, and the program code constituting the software of the portable terminal is stored therein, and the program code common to a plurality of versions of the portable terminal and the difference program different in each version are stored as the software. An external memory that stores the code separately,
A software load that determines the version of a connected portable terminal, reads the common program code and the differential program code corresponding to the version from the external memory into the portable terminal, and writes them into a predetermined area in the portable terminal An information processing apparatus having a software load execution function unit for processing;
A software load execution function reading function unit for performing processing for reading the software load execution function unit into the device itself;
A software update system comprising: a portable terminal having a program code storage unit as the predetermined area.
前記情報処理装置と前記携帯端末とを接続する接続部をさらに備え、
前記携帯端末は、その一端が前記情報処理装置と接続された前記接続部が、当該携帯端末に接続されたことを検知すると、前記ソフトロード実行機能読み込み機能部での処理を開始させる
請求項1記載のソフトウェア更新システム。
A connection unit for connecting the information processing apparatus and the portable terminal;
The portable terminal, when detecting that the connection unit, one end of which is connected to the information processing apparatus, is connected to the portable terminal, starts processing in the software load execution function reading function unit. The described software update system.
前記携帯端末は、当該携帯端末の起動時に最初に読み込まれるプログラムを格納するブート領域を有し、
前記ソフトロード実行機能読み込み機能部は、前記ブート領域に格納される
請求項2記載のソフトウェア更新システム。
The portable terminal has a boot area for storing a program that is initially read when the portable terminal is activated,
The software update system according to claim 2, wherein the software load execution function read function unit is stored in the boot area.
前記携帯端末は、不揮発性メモリで構成した第1の記憶部と、
揮発性メモリで構成し、前記プログラムコード格納部を有する第2の記憶部とを備え、
前記ソフトロード実行機能読み込み機能部によって、当該携帯端末内に読み込まれた、前記ソフトロード実行機能部によるソフトロード処理は、前記第1の記憶部において実行される
請求項3記載のソフトウェア更新システム。
The portable terminal includes a first storage unit configured by a nonvolatile memory,
A volatile memory, and a second storage unit having the program code storage unit,
The software update system according to claim 3, wherein the software load processing by the software load execution function unit read into the portable terminal by the software load execution function reading function unit is executed in the first storage unit.
前記ソフトロード実行機能部は、前記外部メモリ内に格納され、
前記携帯端末は、前記ソフトロード実行機能部を当該携帯端末内に読み込む処理を行う第2のソフトロード実行機能読み込み機能部を備える
請求項4記載のソフトウェア更新システム。
The soft load execution function unit is stored in the external memory,
The software update system according to claim 4, wherein the mobile terminal includes a second software load execution function reading function unit that performs a process of reading the software load execution function unit into the mobile terminal.
当該携帯端末の起動時に最初に読み込まれるブート領域に格納され、外部メモリ内に記憶された携帯端末の複数のバージョンに共通のプログラムコードと、各バージョンで異なる差分のプログラムコードの内の、当該携帯端末のバージョンに該当する共通のプログラムコードと差分のプログラムコードを当該携帯端末内に読み込むソフトロード処理を行うソフトロード実行機能部を有する情報処理装置との、治具による接続を検知した場合に、前記ソフトロード実行機能部を前記情報処理装置から当該携帯端末内に読み込む処理を行うソフトロード実行機能部読み込み機能部と、
前記ソフトロード実行機能部によるソフトロード処理が実行される領域としての第1の記憶部と、
前記ソフトロード実行機能によるソフトロード処理によって、前記外部メモリ内から読み込まれた前記共通のプログラムコードと前記差分のプログラムコードが記憶される領域としての第2の領域とを備えた
携帯端末。
Of the program code that is stored in the boot area that is read first when the mobile terminal is activated and that is stored in the external memory and that is common to multiple versions of the mobile terminal, and the program code that is different in each version, When detecting a connection by a jig with an information processing apparatus having a software load execution function unit that performs a software load process for reading a common program code corresponding to a terminal version and a program code of a difference into the mobile terminal, A software load execution function section reading function section for performing processing for reading the software load execution function section from the information processing apparatus into the portable terminal;
A first storage unit as an area in which a software load process is executed by the software load execution function unit;
A portable terminal comprising the common program code read from the external memory and a second area as an area in which the differential program code is stored by a software load process by the software load execution function.
前記第1の記憶部は揮発性メモリとして構成され、前記第2の記憶部は不揮発性メモリで構成される
請求項6記載の携帯端末。
The portable terminal according to claim 6, wherein the first storage unit is configured as a volatile memory, and the second storage unit is configured with a nonvolatile memory.
外部メモリ内に記憶された携帯端末の複数のバージョンに共通のプログラムコードと各バージョンで異なる差分のプログラムコードを当該携帯端末内に読み込むソフトロード処理を行うソフトロード実行機能部を有する情報処理装置との、治具による接続を検知するステップと、
前記治具による接続の検知時に、前記情報処理装置から前記ソフトロード実行機能部を読み出すステップと、
揮発性メモリとして構成した第1の記憶部において、前記ソフトロード実行機能部を実行するステップと、
前記ソフトロード実行機能部によるソフトロード処理によって、前記外部メモリから読み出された前記複数のバージョンに共通のプログラムコードと各バージョンで異なる差分のプログラムコードを、不揮発性メモリとして構成した第2の記憶部に書き込むステップとを有する
ソフトウェア更新方法。
An information processing apparatus having a software load execution function unit for performing a software load process for reading a program code common to a plurality of versions of a portable terminal stored in an external memory and a program code of a difference different in each version into the portable terminal; Detecting the connection by the jig,
Reading the software load execution function unit from the information processing apparatus when detecting the connection by the jig;
In the first storage unit configured as a volatile memory, executing the software load execution function unit;
A second memory configured as a non-volatile memory in which a program code common to the plurality of versions read from the external memory and a program code of a difference different in each version is read as a non-volatile memory by a software load process by the software load execution function unit And a software update method.
外部メモリ内に記憶された携帯端末の複数のバージョンに共通のプログラムコードと各バージョンで異なる差分のプログラムコードを当該携帯端末内に読み込むソフトロード処理を行うソフトロード実行機能部を有する情報処理装置との、治具による接続を検知するステップと、
前記治具による接続の検知時に、前記情報処理装置から前記ソフトロード実行機能部を読み出すステップと、
揮発性メモリとして構成した第1の記憶部において、前記ソフトロード実行機能部を実行するステップと、
前記ソフトロード実行機能部によるソフトロード処理によって、前記外部メモリから読み出された前記プログラムコードを、不揮発性メモリとして構成した第2の記憶部に書き込むステップとをコンピュータに実行させるための
プログラム。
An information processing apparatus having a software load execution function unit for performing a software load process for reading a program code common to a plurality of versions of a portable terminal stored in an external memory and a program code of a difference different in each version into the portable terminal; Detecting the connection by the jig,
Reading the software load execution function unit from the information processing apparatus when detecting the connection by the jig;
In the first storage unit configured as a volatile memory, executing the software load execution function unit;
A program for causing a computer to execute the step of writing the program code read from the external memory into a second storage unit configured as a nonvolatile memory by a software load process by the software load execution function unit.
JP2008291446A 2008-11-13 2008-11-13 Software update system, software update method, mobile phone terminal, and program Withdrawn JP2010117944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008291446A JP2010117944A (en) 2008-11-13 2008-11-13 Software update system, software update method, mobile phone terminal, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008291446A JP2010117944A (en) 2008-11-13 2008-11-13 Software update system, software update method, mobile phone terminal, and program

Publications (1)

Publication Number Publication Date
JP2010117944A true JP2010117944A (en) 2010-05-27

Family

ID=42305576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008291446A Withdrawn JP2010117944A (en) 2008-11-13 2008-11-13 Software update system, software update method, mobile phone terminal, and program

Country Status (1)

Country Link
JP (1) JP2010117944A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012079204A (en) * 2010-10-05 2012-04-19 Yokogawa Electric Corp Field equipment including program
JP2019175099A (en) * 2018-03-28 2019-10-10 トヨタ自動車株式会社 Reprogramming method
CN113760300A (en) * 2021-09-13 2021-12-07 武汉联影智融医疗科技有限公司 Software continuous integration method and device, computer equipment and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012079204A (en) * 2010-10-05 2012-04-19 Yokogawa Electric Corp Field equipment including program
JP2019175099A (en) * 2018-03-28 2019-10-10 トヨタ自動車株式会社 Reprogramming method
CN113760300A (en) * 2021-09-13 2021-12-07 武汉联影智融医疗科技有限公司 Software continuous integration method and device, computer equipment and storage medium
CN113760300B (en) * 2021-09-13 2023-10-27 武汉联影智融医疗科技有限公司 Software continuous integration method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
WO2022007656A1 (en) Bootloader software updating method and apparatus, embedded controller, and storage medium
US7421573B2 (en) Apparatus and method for updating firmware
KR101959359B1 (en) Method for updating boot image for fast booting and image forming apparatus for performing the same
EP1873638A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
US7908469B2 (en) Method for executing power on self test on a computer system and updating SMBIOS information partially
US20100058314A1 (en) Computer System and Related Method of Logging BIOS Update Operation
TWI382346B (en) Computer system with dual bios protection mechanism and control method of the same
EP3518097B1 (en) Firmware updating method and electronic device using the same
US8086841B2 (en) BIOS switching system and a method thereof
US20070083744A1 (en) Digital broadcast processing apparatus and boot loader upgrade method thereof
JP2000242598A (en) Firmware update system and update method thereof
US20070220372A1 (en) Microcode updating error handling apparatus and method thereof
CN104123153A (en) Apparatus and method for firmware upgrade using USB
US9348603B2 (en) Electronic apparatus and booting method
US20100049961A1 (en) Update method for basic input/output system and update system thereof
JP2010117944A (en) Software update system, software update method, mobile phone terminal, and program
CN103106086B (en) Operating system disposal route and system
CN100399281C (en) Hardware Driver and Software Update Method for Reusable Embedded System Based on Extensible Form
US6795915B2 (en) Computer system and method for setting up information on an operating system thereof
JP2008009799A (en) Image forming device
CN101655800B (en) Basic input and output system update method and its update system
JP2012194675A (en) Information apparatus and emergency access method for information apparatus
US20060117313A1 (en) Method for patching firmware in memory device
JPWO2009016708A1 (en) Computer device, computer start processing method, and computer start processing program
US20090112941A1 (en) Computer system and firmware recovery method for computer system

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: 20120207