JP2009009391A - Updating software self-update method and portable terminal device - Google Patents

Updating software self-update method and portable terminal device Download PDF

Info

Publication number
JP2009009391A
JP2009009391A JP2007170668A JP2007170668A JP2009009391A JP 2009009391 A JP2009009391 A JP 2009009391A JP 2007170668 A JP2007170668 A JP 2007170668A JP 2007170668 A JP2007170668 A JP 2007170668A JP 2009009391 A JP2009009391 A JP 2009009391A
Authority
JP
Japan
Prior art keywords
processing software
update processing
self
updating
update
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
JP2007170668A
Other languages
Japanese (ja)
Inventor
Yasuyuki Hirao
康幸 平尾
Katsumi Aoyanagi
勝己 青柳
Toru Hayamizu
徹 速水
Tomohiro Ichikawa
知宏 市川
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 JP2007170668A priority Critical patent/JP2009009391A/en
Publication of JP2009009391A publication Critical patent/JP2009009391A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To re-execute an update process even if a failure such as power interruption occurs during a wireless update on updating software itself using only differential data. <P>SOLUTION: A nonvolatile memory has first and second updating software storage areas 201 and 202 for storing different versions of updating software. In a self-update on the updating software, the newer of the updating software stored in both storage areas writes new updating software generated according to differential data to the area where the older updating software is stored. If the self-update on the updating software fails owing to power interruption, the newer updating software re-executes the self-update process after power restoration. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、携帯端末装置に係り、特に、携帯端末内の不揮発性メモリに格納されている無線経由でソフトウェアを更新するための更新処理ソフトウェア自体を差分データに基づいて更新する更新処理ソフトウェア自己更新方法に関する。   The present invention relates to a portable terminal device, and in particular, update processing software self-update for updating software itself for updating software via wireless stored in a nonvolatile memory in a portable terminal based on difference data Regarding the method.

現在、携帯電話機のような携帯端末は広く普及している。このような携帯端末の機能の追加、性能向上、不具合の修正等を行うためには、端末内のメモリに格納されているプログラム等のソフトウェアを更新する必要がある。ソフトウェアを格納するメモリとして、フラッシュメモリのような再書き込み可能な不揮発性メモリを使用し、無線経由で携帯端末のソフトウェア更新を行うFOTA(Firmware Over The Air)と呼ばれる技術が知られている(特許文献1参照)。
特開2006−309516号公報
Currently, mobile terminals such as mobile phones are widely used. In order to add such functions of the mobile terminal, improve performance, correct defects, etc., it is necessary to update software such as programs stored in the memory in the terminal. A technology called FOTA (Firmware Over The Air) is known that uses a rewritable nonvolatile memory such as a flash memory as a memory for storing software, and updates the software of the mobile terminal via radio (patent) Reference 1).
JP 2006-309516 A

従来のFOTAでは、ソフトウェアの更新を行う更新処理ソフトウェア以外の部分は更新前後のソフトウェアの差分データのみで更新を行うが、更新処理ソフトウェア自身の更新(自己更新)は、新しいソフトウェアを全てダウンロードし、上書きすることで更新を行う仕様になっている。そのため、更新処理ソフトウェア自身を更新する場合、大きなデータを無線経由でダウンロードすることになり、通信時間・パケット費用の増大を招く。   In the conventional FOTA, the parts other than the update processing software that updates the software are updated only with the difference data of the software before and after the update. However, the update of the update processing software itself (self-update) downloads all new software, It is a specification to update by overwriting. Therefore, when updating the update processing software itself, a large amount of data is downloaded via wireless, leading to an increase in communication time and packet cost.

しかし、更新処理ソフトウェア自体の更新において差分データのみによる更新を行うと、更新処理中の電源断等により再更新処理の起動が不能となってしまう。   However, if only the difference data is updated in updating the update processing software itself, the re-update process cannot be started due to a power interruption or the like during the update process.

本発明はこのような背景においてなされたものであり、更新処理ソフトウェア自体を差分データのみにより無線経由で更新する際に、電源断等の不具合が生じた場合であっても、再度、更新処理を実行することができるソフトウェア自己更新方法およびこれを採用した携帯端末装置を提供することを企図する。   The present invention has been made in such a background, and even when a problem such as a power failure occurs when the update processing software itself is updated by wireless using only difference data, the update processing is performed again. It is intended to provide a software self-updating method that can be executed and a portable terminal device employing the same.

本発明による更新処理ソフトウェア自己更新方法は、携帯端末内の不揮発性メモリに格納されているソフトウェアを無線経由で更新するための更新処理ソフトウェア自体を差分データに基づいて更新する更新処理ソフトウェア自己更新方法であって、前記不揮発性メモリ内に、異なる改訂版数の更新処理ソフトウェアを格納する第1および第2の更新処理ソフトウェア格納領域を設け、更新処理ソフトウェアの自己更新時には、前記第1および第2の更新処理ソフトウェア格納領域に格納されている新しい方の更新処理ソフトウェアにより、前記差分データに基づいて生成した新たな更新処理ソフトウェアを、古い方の更新処理ソフトウェアが格納されている更新処理ソフトウェア領域に書き込むことを特徴とする。   The update processing software self-updating method according to the present invention is an update processing software self-updating method for updating update processing software itself for updating software stored in a non-volatile memory in a mobile terminal based on difference data. In the nonvolatile memory, first and second update processing software storage areas for storing different revision numbers of update processing software are provided, and when the update processing software is self-updated, the first and second update processing software are provided. The new update processing software generated based on the difference data by the new update processing software stored in the update processing software storage area is updated to the update processing software area in which the old update processing software is stored. It is characterized by writing.

このように、異なる改訂版数の更新処理ソフトウェアを格納する第1および第2の更新処理ソフトウェア格納領域を設けることにより、更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗したときであっても、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行することができる。   In this way, by providing the first and second update processing software storage areas for storing different revision numbers of update processing software, the self-update has failed due to the power interruption at the time of self-update of the update processing software. However, the self-update process can be executed again by the newer update process software after the power is restored.

更新処理ソフトウェアの自己更新時に、更新に先立って、前記第1および第2の更新処理ソフトウェア格納領域のうち古い方の更新処理ソフトウェアを不揮発的にバックアップすることができるファイルシステムに格納するようにしてもよい。これにより、自己更新失敗後の残りの更新処理ソフトウェアの不具合が発生しても、再度の自己更新処理を行うことが可能となる。   When the update processing software is self-updated, prior to the update, the older update processing software of the first and second update processing software storage areas is stored in a file system that can be backed up in a nonvolatile manner. Also good. This makes it possible to perform the self-update process again even if a problem occurs in the remaining update processing software after the self-update failure.

前記不揮発性メモリ内に前記第1および第2の更新処理ソフトウェア格納領域に加えて、前記異なる改訂版数の古い方の更新処理ソフトウェアのコピーを格納する第3の更新処理ソフトウェア領域を設け、前記更新処理ソフトウェアの自己更新時に、前記第1および第2の更新処理ソフトウェア格納領域に格納されている新しい方の更新処理ソフトウェアにより、前記差分データに基づいて生成した新たな更新処理ソフトウェアを、古い方の更新処理ソフトウェアが格納されている二つの更新処理ソフトウェア領域の一方に書き込んだ後、他方に当該更新前の新しい方の更新処理ソフトウェアのコピーを書き込む構成としてもよい。   In addition to the first and second update processing software storage areas in the nonvolatile memory, a third update processing software area for storing a copy of the older update processing software of the different revision number is provided, When the update processing software is self-updated, the new update processing software generated based on the difference data is updated by the new update processing software stored in the first and second update processing software storage areas. The update processing software may be written in one of the two update processing software areas, and a copy of the newer update processing software before the update is written in the other.

このような3面の冗長構成として世代管理することにより、実績のある旧世代の更新処理ソフトウェアを保持したまま、旧世代の更新処理ソフトウェアの更新を行うことが可能となる。   By performing generation management as such a three-sided redundant configuration, it is possible to update the old generation update processing software while retaining the proven old generation update processing software.

本発明は、また、上記のような更新処理ソフトウェア自己更新機能を備えた携帯端末装置、または、そのような機能を実行するコンピュータプログラムとしても把握することができる。   The present invention can also be grasped as a portable terminal device having the update processing software self-updating function as described above or a computer program for executing such a function.

本発明によれば、更新処理ソフトウェアを複数面管理し、改訂版数を割り当てることで、現行の更新処理ソフトウェアには影響を与えることなく、新しい改訂版数の更新処理ソフトウェアを用いて差分データに基づいて新たな更新処理ソフトウェアを作成することができる。   According to the present invention, by managing a plurality of update processing software and assigning a revision number, the update data can be converted into differential data using the update processing software with a new revision number without affecting the current update processing software. Based on this, new update processing software can be created.

最新の更新処理ソフトウェアが自身の不具合やフラッシュメモリの異常で破損によって起動できない場合、古い改訂版数の更新処理ソフトウェアを実行することでソフトウェア更新が不可能になる可能性を低減できる。   When the latest update processing software cannot be started due to its own malfunction or flash memory failure due to damage, it is possible to reduce the possibility that the software cannot be updated by executing the update processing software of the old revision number.

差分データに基づく更新を行うので、更新処理ソフトウェアの自己更新が必要になった場合、通信時間・パケット費用の発生を必要最低限に抑えることができる。   Since the update based on the difference data is performed, when the update processing software needs to be self-updated, the generation of communication time and packet costs can be minimized.

以下、本発明の好適な実施の形態について図面を参照しながら、詳細に説明する。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

図1に本実施の形態における携帯端末10の概略ハードウェア構成を、携帯電話機を例として示す。   FIG. 1 shows a schematic hardware configuration of a mobile terminal 10 in the present embodiment as an example of a mobile phone.

携帯端末10は、制御部11、音声処理部12、マイク13、スピーカ14、記憶部15、通信部16、デュプレクサ17、アンテナ17a、操作部18、表示部19を備える。制御部11は、CPU(Central Processing Unit)30を搭載した携帯電話用LSIを含み、携帯端末10の処理および各部の制御を司る。   The mobile terminal 10 includes a control unit 11, an audio processing unit 12, a microphone 13, a speaker 14, a storage unit 15, a communication unit 16, a duplexer 17, an antenna 17 a, an operation unit 18, and a display unit 19. The control unit 11 includes a mobile phone LSI equipped with a CPU (Central Processing Unit) 30 and controls processing of the mobile terminal 10 and control of each unit.

音声処理部12は制御部11の制御下で通話や音楽再生等の音声処理を行い、マイク13からの音声入力、スピーカ14への音声出力を行う。   The voice processing unit 12 performs voice processing such as a call and music reproduction under the control of the control unit 11, and performs voice input from the microphone 13 and voice output to the speaker 14.

記憶部15は、プログラムやデータを記憶する部位であり、本実施の形態では、NANDメモリ等の不揮発性メモリであるフラッシュメモリ20、SDRAM(Synchronous Dynamic Random Access Memory)等のRAM24を有する。   The storage unit 15 is a part that stores programs and data. In the present embodiment, the storage unit 15 includes a flash memory 20 that is a nonvolatile memory such as a NAND memory, and a RAM 24 such as an SDRAM (Synchronous Dynamic Random Access Memory).

フラッシュメモリ20は、制御部11が実行するプログラムを格納する再書込可能な不揮発性メモリである。フラッシュメモリ20には、ブートプログラムを格納するブート領域21、プログラム本体のコード(プログラムコード)を格納するプログラム領域22と、その他必要なデータやプログラムを格納するためのストレージ(Storage)領域23が存在する。ストレージ領域23には、プログラムの他、例えば、電話帳、電子メール、ウェブコンテンツ、音楽、画像等の各種のデータを格納することができる。   The flash memory 20 is a rewritable nonvolatile memory that stores a program executed by the control unit 11. The flash memory 20 has a boot area 21 for storing a boot program, a program area 22 for storing a program body code (program code), and a storage area 23 for storing other necessary data and programs. To do. In addition to the program, the storage area 23 can store various data such as a telephone directory, electronic mail, web content, music, and images.

プログラム領域22は、ブートプログラムによるブート時にRAM24へ展開され、プログラム等のソフトウェアはRAM24上で実行される。より具体的には、制御部11および記憶部15に電源が供給されると、制御部11の組み込みロジックによってフラッシュメモリ20のブート領域の内容が制御部内蔵のメモリ領域(図示せず)に読み込まれて実行される。このプログラムには本発明で定めるブート処理が組み込まれており、このプログラムによって実行対象プログラムコードがフラッシュメモリ20からRAM24へと展開され、プログラムがRAM24上で実行される。   The program area 22 is expanded in the RAM 24 at the time of booting by the boot program, and software such as a program is executed on the RAM 24. More specifically, when power is supplied to the control unit 11 and the storage unit 15, the contents of the boot area of the flash memory 20 are read into a memory area (not shown) built in the control unit by the built-in logic of the control unit 11. Executed. This program incorporates a boot process defined by the present invention. By this program, an execution target program code is expanded from the flash memory 20 to the RAM 24, and the program is executed on the RAM 24.

通信部16は、制御部11の制御下で、アンテナ17aを介して基地局(図示せず)と無線による送受信を行う部位である。デュプレクサ17はアンテナ共用機である。すなわち、送信信号と受信信号で1本のアンテナを共用し、アンテナからの受信信号を受信部に送り、送信部からの送信信号をアンテナへ送出する機能を備えたフィルタ回路により構成される。   The communication unit 16 is a part that performs radio transmission and reception with a base station (not shown) via the antenna 17 a under the control of the control unit 11. The duplexer 17 is an antenna sharing machine. In other words, the transmission signal and the reception signal share one antenna, and are configured by a filter circuit having a function of transmitting the reception signal from the antenna to the reception unit and transmitting the transmission signal from the transmission unit to the antenna.

操作部18は、テンキーや各種の制御キー等を有し、ユーザによる指示や情報を制御部11に入力する機能を有する。   The operation unit 18 includes a numeric keypad, various control keys, and the like, and has a function of inputting user instructions and information to the control unit 11.

表示部19は、例えばLCD、有機EL等の表示デバイスを有し、ユーザに対してテキスト、画像(静止画、動画)等の可視情報を表示する機能を有する。   The display unit 19 includes a display device such as an LCD or an organic EL, for example, and has a function of displaying visible information such as text and images (still images and moving images) to the user.

以下、本実施の形態における動作を説明する。   Hereinafter, the operation in the present embodiment will be described.

図2に示すように、FOTAではソフトウェアの更新が必要になったときに、更新に必要なデータをソフトウェア提供者がインターネット等のネットワーク上の配信サーバ25に格納し、携帯端末10が更新に必要なデータを無線経由でダウンロードする。   As shown in FIG. 2, in FOTA, when software needs to be updated, the software provider stores data necessary for the update in a distribution server 25 on a network such as the Internet, and the mobile terminal 10 is required for the update. Download the correct data over the air.

図3に示すように、従来、更新処理ソフトウェア自体の更新(自己更新)は新しい更新処理ソフトウェア241の全体を無線経由でRAM24内にダウンロードし、更新処理ソフトウェア241ではなく、ブートプログラムが、フラッシュメモリ20の更新前のソフトウェア格納領域200内の現更新処理ソフトウェア(古い更新処理ソフトウェア)を格納した領域201に上書きすることで、更新後のソフトウェア格納領域210に示すように、フラッシュメモリ20上に新たな更新処理ソフトウェアを格納している。   As shown in FIG. 3, conventionally, update of the update processing software itself (self-update) is performed by downloading the entire new update processing software 241 into the RAM 24 via wireless, and the boot program is not the update processing software 241 but the flash memory. By overwriting the area 201 storing the current update processing software (old update processing software) in the software storage area 200 before update 20, as shown in the software storage area 210 after update, a new one is created on the flash memory 20. Update processing software is stored.

このような従来技術に対し、本発明では、更新処理ソフトウェア自身の更新を新旧のプログラム間の差分データだけで実現しようとする。そのためには、現行の更新処理ソフトウェアを実行し、差分データに基づいて新しい更新処理ソフトウェアを作成し、フラッシュメモリに書き込む必要がある。現行の更新処理ソフトウェアはRAM上で実行されるため、作成した新しい更新処理ソフトウェアを現行の更新処理ソフトウェアが格納されている領域に上書きすることは可能である。しかし、フラッシュメモリ書き込み中に携帯端末の電源断が発生すると、フラッシュメモリ内の更新処理ソフトウェアが不完全になる。同時に、RAM上の新たな更新処理ソフトウェアは消滅する。そのため、更新処理を再開することが不可能になる。携帯端末では通常、電源として電池を利用しており、電池残量の低下や端末落下等による電池パックの脱落などの要因により、据え置き型の装置に比べて処理中に電源断が生じる可能性が高い。一方、FOTAでは、ソフトウェア更新中に電源断が発生しても更新処理を再開できる仕様が一般的である。   In contrast to such a conventional technique, the present invention attempts to implement the update of the update processing software itself only with the difference data between the old and new programs. For this purpose, it is necessary to execute the current update processing software, create new update processing software based on the difference data, and write it to the flash memory. Since the current update processing software is executed on the RAM, it is possible to overwrite the created new update processing software on the area where the current update processing software is stored. However, when the power of the mobile terminal is interrupted during writing to the flash memory, the update processing software in the flash memory becomes incomplete. At the same time, new update processing software on the RAM disappears. Therefore, it is impossible to restart the update process. A mobile terminal normally uses a battery as a power source. Due to factors such as a decrease in the remaining battery level or dropping of the battery pack due to a drop in the terminal, the power supply may be cut off during processing compared to a stationary device. high. On the other hand, FOTA generally has a specification that allows update processing to be resumed even if a power interruption occurs during software update.

そこで、図4に示すように、フラッシュメモリ20内の更新前のソフトウェア格納領域200に、複数の更新処理ソフトウェアを格納する領域201,202を確保しておく。すなわち、現更新処理ソフトウェアを格納する領域201とは別に、新たな更新処理ソフトウェアを格納するための当初の予約領域である領域202を確保しておき、この領域202には、RAM24上の現行の更新処理ソフトウェア241が差分データ242に基づいて作成した新しい更新処理ソフトウェア243を書き込む仕組みとする。これによって、更新処理ソフトウェアの自己更新処理中に電源断が発生して、領域202に書き込み途中の新更新処理ソフトウェアが不完全であっても、現行の更新処理ソフトウェアはフラッシュメモリ24内に保持されているため、これに基づいて更新処理を再開することができる。   Therefore, as shown in FIG. 4, areas 201 and 202 for storing a plurality of update processing software are secured in the software storage area 200 before updating in the flash memory 20. That is, an area 202 that is an initial reserved area for storing new update processing software is secured separately from the area 201 for storing the current update processing software. The update processing software 241 writes a new update processing software 243 created based on the difference data 242. As a result, even when a power interruption occurs during the self-update process of the update process software and the new update process software being written to the area 202 is incomplete, the current update process software is retained in the flash memory 24. Therefore, the update process can be resumed based on this.

この構成により携帯端末は常に新旧異なる2つの更新処理ソフトウェアを保持することになるため、ソフトウェア更新実行時は常に新しい方の更新処理ソフトウェアを実行する必要がある。これを実現するために、更新処理ソフトウェアには改訂版数を割り当てる。例えば図5に示すように、携帯端末の出荷時は2つの格納領域201,202のうち、片方のみ更新処理ソフトウェアを格納し、「00」の版数をその格納領域の終端に書き込む。更新処理プログラムの自己更新が行われた場合は、空いている片方の格納領域に新しい更新処理ソフトウェアを書き込み、同時に「01」の版数をプログラムコードの終端に書き込む。   With this configuration, the portable terminal always holds two update processing software that are different from the old and new, so it is necessary to always execute the newer update processing software at the time of software update execution. In order to realize this, a revision number is assigned to the update processing software. For example, as shown in FIG. 5, when the portable terminal is shipped, the update processing software is stored in only one of the two storage areas 201 and 202, and the version number “00” is written at the end of the storage area. When the update processing program is self-updated, the new update processing software is written in one of the vacant storage areas, and at the same time, the version number “01” is written at the end of the program code.

さらに更新処理ソフトウェアの自己更新が必要になった場合は、図6に示すように、現行の更新処理ソフトウェア241が差分データ242から最新の更新処理ソフトウェア243を作成し、改訂版数の小さい更新処理ソフトウェア(ここでは版数「00」)の領域201に上書きして、その改訂版数を「02」とする。このように更新処理ソフトウェアの自己更新が発生するごとに新たな改訂版数を割り当てる。   Further, when the update processing software needs to be self-updated, as shown in FIG. 6, the current update processing software 241 creates the latest update processing software 243 from the difference data 242, and the update processing with a small revision number is performed. Overwriting the area 201 of the software (here, version number “00”), the revised version number is set to “02”. In this manner, a new revision number is assigned every time the update processing software is self-updated.

ソフトウェア更新実行時、ブートプログラムは必ず改訂版数の大きい更新処理プログラムを先に実行する仕組みとする。これにより、常に最新の更新処理ソフトウェアによるソフトウェア更新を行うことが可能となる。   At the time of software update execution, the boot program is always configured to execute an update processing program with a large revision number first. As a result, it is possible to always perform software updates using the latest update processing software.

但し、フラッシュメモリの異常等で最新の更新処理ソフトウェアが破損していた場合、世代は古いがもう一方の格納領域の更新処理プログラムを起動する。   However, if the latest update processing software is damaged due to an abnormality in the flash memory or the like, the update processing program for the other storage area is started although the generation is old.

図7に、本実施の形態における携帯端末の起動時の処理をフローチャートとして示す。この処理は図1に示した制御部11により実行される。   FIG. 7 is a flowchart showing processing at the time of activation of the mobile terminal in the present embodiment. This process is executed by the control unit 11 shown in FIG.

まず、ソフトウェア更新が必要か否かを判断する(S11)。これは、更新用の差分データがダウンロードされた際に所定のフラグを立てておく等の措置により、そのフラグが立っているか否かを確認することにより行える。ソフトウェア更新が必要でないと判断されたら、通常のソフトウェアを起動する(S12)。   First, it is determined whether software update is necessary (S11). This can be done by checking whether or not the flag is set by taking a measure such as setting a predetermined flag when the difference data for update is downloaded. If it is determined that no software update is necessary, normal software is activated (S12).

ソフトウェア更新が必要と判断されたら、フラッシュメモリ内の二つの更新処理ソフトウェアの改訂版数を比較し、大きい方の更新処理ソフトウェアをRAM上に展開して起動する(S13)。この更新処理ソフトウェアが起動できたら(S14,Yes)、当該ソフトウェア更新処理へ移行する(S17)。何らかの理由で当該更新処理ソフトウェアが起動できなければ、改訂版数の小さい更新処理ソフトウェアを起動する(S15)。改訂版数の小さい更新処理ソフトウェアが起動できたら(S16,Yes)、ステップS17へ移行する。起動できなければ(S16,No)、電源断等の所定の処理を行って、この処理が終了する(S18)。   If it is determined that the software update is necessary, the revision numbers of the two update processing software in the flash memory are compared, and the larger update processing software is expanded on the RAM and activated (S13). If the update processing software can be started (S14, Yes), the process proceeds to the software update processing (S17). If the update processing software cannot be started for some reason, the update processing software with a small revision number is started (S15). If the update processing software with a small revision number can be started (S16, Yes), the process proceeds to step S17. If it cannot be started (S16, No), a predetermined process such as power-off is performed, and this process ends (S18).

次に、本発明の第2の実施の形態について説明する。ハードウェア構成は第1の実施の形態に示したものと同じであり、重複した図示および説明を省略する。第2の実施の形態は、自己更新時、片面の更新処理ソフトウェアをファイルシステムにコピーしてバックアップするものである。   Next, a second embodiment of the present invention will be described. The hardware configuration is the same as that shown in the first embodiment, and redundant illustration and description are omitted. In the second embodiment, at the time of self-update, one-sided update processing software is copied to a file system for backup.

まず前提として、携帯端末が耐障害性を有するファイルシステム領域を有するものとする。このようなファイルシステムは、本来、音楽、画像、動画、設定、等の各種データを不揮発的に格納するものである。耐障害性を有するファイルシステムは、電源断が発生しても、書き込みが確定しているデータは消滅することなく保持されるものであり、フラッシュメモリの一部の領域を利用して構成されうる。   First, it is assumed that the mobile terminal has a file system area having fault tolerance. Such a file system originally stores various data such as music, images, moving images, and settings in a nonvolatile manner. A fault-tolerant file system can be configured by using a part of the flash memory, even if the power is cut off, data that has been written is retained without being lost. .

図8に示すように、前記と同様、フラッシュメモリ20の更新前ソフトウェア格納領域200内の領域201,202にそれぞれ00,01の改訂版数を持つ更新処理ソフトウェアが存在するものとする。更新処理開始時に、上書きの対象となる改訂版数の小さい方の更新処理ソフトウェア00をファイルシステム300にコピーしてバックアップする。ここに、「更新処理ソフトウェア00」という表記は改訂版数00の更新処理ソフトウェアを意味する。以下、他の改訂版数についても同様である。自己更新時は、フラッシュメモリ20の領域202内の更新処理ソフトウェア01が展開されたRAM24上の現更新処理ソフトウェア241に対して、差分データ242が適用され、新たな更新処理ソフトウェア243が生成される(2)。この更新処理ソフトウェア243はフラッシュメモリ20の更新処理ソフトウェア00の領域201に、改訂版数02として書き戻される(3)。   As shown in FIG. 8, it is assumed that update processing software having revision numbers 00 and 01 exists in areas 201 and 202 in the pre-update software storage area 200 of the flash memory 20 as described above. At the start of the update process, the update process software 00 with the smaller revision number to be overwritten is copied to the file system 300 and backed up. Here, the notation “update processing software 00” means update processing software having a revised version number 00. The same applies to other revised versions. At the time of self-update, the difference data 242 is applied to the current update processing software 241 on the RAM 24 in which the update processing software 01 in the area 202 of the flash memory 20 is expanded, and new update processing software 243 is generated. (2). This update processing software 243 is written back in the area 201 of the update processing software 00 in the flash memory 20 as the revision number 02 (3).

しかし、図9に示すように、新しい更新処理ソフトウェアの作成後のフラッシュメモリ20への書き込み時に(2)、電源断が発生した場合(3)、更新処理ソフトウェア00の領域201に書き込み中のデータは不完全となる。電源回復後(4)、再び更新処理ソフトウェア01が更新処理ソフトウェア02を領域201に書き込もうとする。このときに更新処理ソフトウェア01が自身の不具合で正常に更新処理を開始できなかった場合(5)、図7に示した処理にしたがっても更新処理ソフトウェア01を起動させることができない(6)。   However, as shown in FIG. 9, when writing to the flash memory 20 after creation of new update processing software (2), when a power failure occurs (3), data being written to the area 201 of the update processing software 00 Becomes incomplete. After power recovery (4), the update processing software 01 tries to write the update processing software 02 into the area 201 again. At this time, when the update processing software 01 cannot start the update processing normally due to its own malfunction (5), the update processing software 01 cannot be started even in accordance with the processing shown in FIG. 7 (6).

そこで、図10に示すように、更新処理ソフトウェア00をファイルシステム300にバックアップしておき(1)、新しい更新処理ソフトウェアの作成して(2)フラッシュメモリ20へ書き込む際に(3)、電源断が発生しても(4)、電源回復後に(5)、先にファイルシステム300にバックアップしていた更新処理ソフトウェア00を領域201,202の片面(図では領域201)に書き戻すことにより(6)、更新処理ソフトウェア01の不具合により起動できない場合でも(7)、書き戻された更新処理ソフトウェア00を用いて更新処理を再開できる(8)。このとき、更新先である更新処理ソフトウェア02は更新処理ソフトウェア01の領域に書き込むことになる。   Therefore, as shown in FIG. 10, the update processing software 00 is backed up in the file system 300 (1), and new update processing software is created (2) When writing to the flash memory 20 (3) (4) After the power is restored (5), the update processing software 00 previously backed up in the file system 300 is written back to one side of the areas 201 and 202 (area 201 in the figure) (6). However, even if the activation cannot be started due to a defect in the update processing software 01 (7), the update processing can be resumed using the rewritten update processing software 00 (8). At this time, the update processing software 02 that is the update destination is written in the area of the update processing software 01.

次に、本発明の第3の実施の形態について説明する。ハードウェア構成は第1の実施の形態に示したものと同じであり、重複した図示および説明を省略する。第1の実施の形態では更新処理ソフトウェアを2面で管理したが、第3の実施の形態は、更新処理ソフトウェアを3面で管理するものである。   Next, a third embodiment of the present invention will be described. The hardware configuration is the same as that shown in the first embodiment, and redundant illustration and description are omitted. In the first embodiment, the update processing software is managed on two sides, but in the third embodiment, the update processing software is managed on three sides.

まず前提として更新処理ソフトウェア00,01が存在すると仮定する。更新処理ソフトウェア02を携帯端末に追加する為には更新処理ソフトウエア00の部分に更新処理ソフトウエア01を使用して、更新処理ソフトウエア02を上書きすることになる。更新処理ソフトウエア01が動作を実行するのは、改訂版数00から01への更新処理が完了した後となる。すなわち改訂版数00から01への更新は更新処理ソフトウエア00を使用して実施されるので、更新処理ソフトウエア01の動作が実行確認されるのは改訂版数01から02への更新が実行されたときとなる。   First, it is assumed that the update processing software 00, 01 exists. In order to add the update processing software 02 to the portable terminal, the update processing software 02 is overwritten by using the update processing software 01 in the update processing software 00 portion. The update processing software 01 executes the operation after the update processing from the revised version number 00 to 01 is completed. In other words, since the update from the revision number 00 to 01 is performed using the update processing software 00, the operation of the update processing software 01 is confirmed to be executed from the revision number 01 to 02. It will be when.

図4で説明したように更新処理ソフトウエア更新中に電源断などにより更新処理が失敗した場合、携帯端末内部では更新処理ソフトウェア00は破壊されてしまい、更新処理ソフトウェア01のみが存在する。改訂版数01から02への更新過程において更新処理ソフトウエア01の不具合が発覚した場合、更新処理ソフトウエア00は存在しないため、更新処理が不可能になる可能性がある。第3の実施の形態は、このような場合の解決策となる。   As described with reference to FIG. 4, if the update process fails due to power interruption or the like during the update process software update, the update process software 00 is destroyed inside the portable terminal, and only the update process software 01 exists. If a problem with the update processing software 01 is detected in the process of updating the revised version number 01 to 02, the update processing software 00 does not exist, and the update processing may not be possible. The third embodiment is a solution for such a case.

今、図11に示すように、フラッシュメモリ20の更新前のソフトウェア格納領域200内に更新処理ソフトウェアとして改訂版数00を格納した領域201,202を2面持ち、さらに改訂版数01を格納するための予備領域203を持つ3面構造とする。図11の状態では、次回の自己更新は更新処理ソフトウェア01を実行することにより行われる。この際の更新処理ソフトウェア02は領域201,202の一方(ここでは202)に上書きされる。その結果、図12の更新後のソフトウェア格納領域210に示すように、更新処理ソフトウェアは、古い方の改訂版数01を2面持つとともに、新しい方の改訂版数02を1面持つように書き換えられる。すなわち、領域201には領域203内の古い方の更新処理ソフトウエア01(実際に更新処理を実行した方)のコピーが上書きされる。   As shown in FIG. 11, there are two areas 201 and 202 in which the revision number 00 is stored as update processing software in the software storage area 200 before the update of the flash memory 20, and the revision number 01 is further stored. A three-sided structure having a spare area 203 of FIG. In the state of FIG. 11, the next self-update is performed by executing the update processing software 01. At this time, the update processing software 02 is overwritten on one of the areas 201 and 202 (202 in this case). As a result, as shown in the updated software storage area 210 in FIG. 12, the update processing software is rewritten so that it has two old revision numbers 01 and one new revision number 02. It is done. That is, the area 201 is overwritten with a copy of the older update processing software 01 in the area 203 (the one that actually executed the update process).

図13に示すように、更新処理ソフトウェア01を用いて新たな更新処理ソフトウェア02を領域202に書き込んでいる最中に電源断が発生した場合、領域202の内容はごみ状態となる。さらに、電源回復後に領域203内の改訂版数01の不具合により更新処理を再開できない場合もある。このような場合であっても、領域201内の更新処理ソフトウェア00によって更新処理を再開することができる。この場合、更新処理ソフトウェア00は01から02への差分ファイルを更新処理ソフトウェア01に適用して更新処理ソフトウェア02を生成する。これにより、最新の更新処理ソフトウェア02が領域202に格納される。この際、更新処理ソフトウェア01は不具合があったため、更新処理ソフトウェア01の領域201へのコピーは行わない。次回、更新処理ソフトウェア03へのバージョンアップの際には、更新処理ソフトウェア02を用いて、更新処理ソフトウェア01の領域203に更新処理ソフトウェア03を書き込む。これとともに、更新処理ソフトウェア02のコピーを領域201に書き込む。   As shown in FIG. 13, when a power interruption occurs while the new update processing software 02 is being written to the area 202 using the update processing software 01, the contents of the area 202 are in a garbage state. Furthermore, the update process may not be resumed due to a problem with the revised version number 01 in the area 203 after the power supply is restored. Even in such a case, the update processing can be resumed by the update processing software 00 in the area 201. In this case, the update processing software 00 applies the difference file from 01 to 02 to the update processing software 01 to generate the update processing software 02. As a result, the latest update processing software 02 is stored in the area 202. At this time, since the update processing software 01 has a defect, the update processing software 01 is not copied to the area 201. In the next version upgrade to the update processing software 03, the update processing software 03 is written in the area 203 of the update processing software 01 using the update processing software 02. At the same time, a copy of the update processing software 02 is written in the area 201.

図14に、第3の実施の形態の処理を実現するためのフローチャートを示す。   FIG. 14 shows a flowchart for realizing the processing of the third embodiment.

まず、図7の処理と同様、ソフトウェア更新が必要か否かを判断する(S21)。ソフトウェア更新が必要でないと判断されたら、通常のソフトウェアを起動する(S22)。   First, as in the process of FIG. 7, it is determined whether or not software update is necessary (S21). If it is determined that software update is not necessary, normal software is activated (S22).

ソフトウェア更新が必要と判断されたら、フラッシュメモリ内の二つの更新処理ソフトウェアの改訂版数を比較し、大きい方の更新処理ソフトウェアをRAM上に展開して起動する(S23)。この更新処理ソフトウェアが起動できたら(S24,Yes)、当該ソフトウェア更新処理へ移行する(S27)。何らかの理由で当該更新処理ソフトウェアが起動できなければ、改訂版数N−1の更新処理ソフトウェアを起動する(S25)。改訂版数N−1の更新処理ソフトウェアが起動できたら(S26,Yes)、ステップS27へ移行する。起動できなければ(S26,No)、電源断等の所定の処理を行って、この処理が終了する(S28)。   If it is determined that the software update is necessary, the revision numbers of the two update processing software in the flash memory are compared, and the larger update processing software is expanded on the RAM and activated (S23). If this update process software can be started (S24, Yes), the process proceeds to the software update process (S27). If the update processing software cannot be started for some reason, the update processing software of the revision number N-1 is started (S25). When the update processing software of the revision number N-1 can be started (S26, Yes), the process proceeds to step S27. If it cannot be started (S26, No), a predetermined process such as power-off is performed, and this process ends (S28).

ソフトウェア更新処理(S27)により更新処理ソフトウェアN+1の書き込みが完了したら(S29,Yes)、正常な更新処理ソフトウェアNのコピーを作成して、所定の領域に格納する(S30)。正常な更新処理ソフトウェアNが存在しなければ、このステップS30は実行しない。   When the writing of the update process software N + 1 is completed by the software update process (S27) (S29, Yes), a copy of the normal update process software N is created and stored in a predetermined area (S30). If the normal update processing software N does not exist, this step S30 is not executed.

図14の処理は実質的図7の処理と類似するが、図7と異なる点として、ステップS30でコピー書き込み完了前に電源断が発生したような場合、改訂版数02,01,00が存在することになり、何らかの原因で02と01が起動できなかった場合に、00で起動させることを想定している。   The process of FIG. 14 is substantially similar to the process of FIG. 7, but is different from FIG. 7 in that when the power interruption occurs before the completion of copy writing in step S30, there are revision numbers 02, 01, 00. Therefore, when 02 and 01 cannot be activated for some reason, it is assumed that they are activated at 00.

以上、本発明の好適な実施の形態について説明したが、上記で言及した以外にも種々の変形、変更を行うことが可能である。   The preferred embodiments of the present invention have been described above, but various modifications and changes other than those mentioned above can be made.

本発明の実施の形態における携帯端末の概略ハードウェア構成を、携帯電話機を例として示す図である。It is a figure which shows schematic hardware constitutions of the portable terminal in embodiment of this invention for a mobile telephone as an example. FOTAによるソフトウェアの更新の説明図である。It is explanatory drawing of the update of the software by FOTA. 従来の更新処理ソフトウェア自体の更新(自己更新)の説明図である。It is explanatory drawing of the update (self-update) of the conventional update process software itself. 本発明の実施の形態の構成および動作の説明図である。It is explanatory drawing of a structure and operation | movement of embodiment of this invention. 図4に続く説明図である。It is explanatory drawing following FIG. 図5に続く説明図である。It is explanatory drawing following FIG. 本発明の実施の形態における携帯端末の起動時の処理例を示したフローチャートである。It is the flowchart which showed the example of a process at the time of starting of the portable terminal in embodiment of this invention. 本発明の第2の実施の形態の構成の説明図である。It is explanatory drawing of the structure of the 2nd Embodiment of this invention. 本発明の第2の実施の形態が解決する問題の説明図である。It is explanatory drawing of the problem which the 2nd Embodiment of this invention solves. 本発明の第2の実施の形態の動作の説明図である。It is explanatory drawing of operation | movement of the 2nd Embodiment of this invention. 本発明の第3の実施の形態の構成の説明図である。It is explanatory drawing of the structure of the 3rd Embodiment of this invention. 本発明の第3の実施の形態の動作の説明図である。It is explanatory drawing of operation | movement of the 3rd Embodiment of this invention. 本発明の第3の実施の形態の他の動作の説明図である。It is explanatory drawing of other operation | movement of the 3rd Embodiment of this invention. 本発明の第3の実施の形態における携帯端末の起動時の処理例を示したフローチャートである。It is the flowchart which showed the example of a process at the time of starting of the portable terminal in the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

10…携帯端末、11…制御部、15…記憶部、20…フラッシュメモリ、21…ブート領域、22…プログラム領域、23…ストレージ領域、24…フラッシュメモリ、25…配信サーバ、200…更新前ソフトウェア格納領域、201…領域、202…領域、203…領域、210…更新後ソフトウェア格納領域、241…更新処理ソフトウェア、242…差分データ、243…更新処理ソフトウェア、300…ファイルシステム DESCRIPTION OF SYMBOLS 10 ... Portable terminal, 11 ... Control part, 15 ... Memory | storage part, 20 ... Flash memory, 21 ... Boot area, 22 ... Program area, 23 ... Storage area, 24 ... Flash memory, 25 ... Distribution server, 200 ... Software before update Storage area 201 ... area 202 ... area 203 ... area 210 ... updated software storage area 241 ... update processing software 242 ... difference data 243 ... update processing software 300 ... file system

Claims (14)

携帯端末内の不揮発性メモリに格納されているソフトウェアを無線経由で更新するための更新処理ソフトウェア自体を差分データに基づいて更新する更新処理ソフトウェア自己更新方法であって、
前記不揮発性メモリ内に、異なる改訂版数の更新処理ソフトウェアを格納する第1および第2の更新処理ソフトウェア格納領域を設け、
更新処理ソフトウェアの自己更新時には、前記第1および第2の更新処理ソフトウェア格納領域に格納されている新しい方の更新処理ソフトウェアにより、前記差分データに基づいて生成した新たな更新処理ソフトウェアを、古い方の更新処理ソフトウェアが格納されている更新処理ソフトウェア領域に書き込む
ことを特徴とする更新処理ソフトウェア自己更新方法。
An update processing software self-updating method for updating update processing software itself for updating software stored in a non-volatile memory in a portable terminal based on difference data,
In the nonvolatile memory, a first update processing software storage area and a second update processing software storage area for storing update processing software of different revision numbers are provided,
When the update processing software is self-updated, the new update processing software generated based on the difference data by the new update processing software stored in the first and second update processing software storage areas is replaced with the old one. An update processing software self-updating method comprising writing to an update processing software area in which update processing software is stored.
前記更新処理ソフトウェアの自己更新時には、前記新しい方の更新処理ソフトウェアを一旦RAM上に展開し、RAM上で当該更新処理を実行する請求項1に記載の更新処理ソフトウェア自己更新方法。   2. The update processing software self-updating method according to claim 1, wherein when the update processing software is self-updated, the new update processing software is temporarily expanded on a RAM and the update processing is executed on the RAM. 前記更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗したとき、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行する請求項1に記載の更新処理ソフトウェア自己更新方法。   2. The update processing software self-updating method according to claim 1, wherein when the self-updating fails due to power-off at the time of self-updating of the updating processing software, the self-updating processing is executed again by the newer updating processing software after power recovery. 更新処理ソフトウェアの自己更新時に、更新に先立って、前記第1および第2の更新処理ソフトウェア格納領域のうち古い方の更新処理ソフトウェアを不揮発的にバックアップすることができるファイルシステムに格納する請求項1に記載の更新処理ソフトウェア自己更新方法。   The update processing software of the first and second update processing software storage areas is stored in a file system that can be backed up in a nonvolatile manner prior to the update when the update processing software is self-updated. The update processing software self-update method described in 1. 前記更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗した場合、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行しようとしたとき、新しい方の更新処理ソフトウェアが起動できない場合、前記ファイルシステムにバックアップされた更新処理ソフトウェアを用いて、再度、自己更新処理を実行する請求項1に記載の更新処理ソフトウェア自己更新方法。   When the self-update fails due to power interruption during the self-update of the update processing software, when the new update processing software cannot be started when the self-update processing is attempted again by the new update processing software after the power is restored The update processing software self-updating method according to claim 1, wherein self-updating processing is executed again using update processing software backed up in the file system. 前記不揮発性メモリ内に前記第1および第2の更新処理ソフトウェア格納領域に加えて、前記異なる改訂版数の古い方の更新処理ソフトウェアのコピーを格納する第3の更新処理ソフトウェア領域を設け、前記更新処理ソフトウェアの自己更新時に、前記第1および第2の更新処理ソフトウェア格納領域に格納されている新しい方の更新処理ソフトウェアにより、前記差分データに基づいて生成した新たな更新処理ソフトウェアを、古い方の更新処理ソフトウェアが格納されている二つの更新処理ソフトウェア領域の一方に書き込んだ後、他方に当該更新前の新しい方の更新処理ソフトウェアのコピーを書き込む請求項1に記載の更新処理ソフトウェア自己更新方法。   In addition to the first and second update processing software storage areas in the nonvolatile memory, a third update processing software area for storing a copy of the older update processing software of the different revision number is provided, When the update processing software is self-updated, the new update processing software generated based on the difference data is updated by the new update processing software stored in the first and second update processing software storage areas. 2. The update processing software self-updating method according to claim 1, wherein after the update processing software is written in one of the two update processing software areas, a copy of the newer update processing software before the update is written in the other. . 前記更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗した場合、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行しようとしたとき、新しい方の更新処理ソフトウェアが起動できない場合、当該自己更新時の更新処理ソフトウェアが上書きされなかった古い方の更新処理ソフトウェアを用いて、再度、自己更新処理を実行する請求項6に記載の更新処理ソフトウェア自己更新方法。   When the self-update fails due to power interruption during the self-update of the update processing software, when the new update processing software cannot be started when the self-update processing is attempted again by the new update processing software after the power is restored The update processing software self-updating method according to claim 6, wherein the self-updating process is executed again using the older update processing software in which the update processing software at the time of the self-updating is not overwritten. 不揮発性メモリに格納されている無線経由でソフトウェアを更新するための更新処理ソフトウェア自体を差分データに基づいて更新する更新処理ソフトウェア自己更新機能を備えた携帯端末装置であって、
異なる改訂版数の更新処理ソフトウェアを格納する第1および第2の更新処理ソフトウェア格納領域を有する不揮発性メモリと、
更新処理ソフトウェアの自己更新時には、前記第1および第2の更新処理ソフトウェア格納領域に格納されている新しい方の更新処理ソフトウェアにより、前記差分データに基づいて生成した新たな更新処理ソフトウェアを、古い方の更新処理ソフトウェアが格納されている更新処理ソフトウェア領域に書き込む自己更新手段と
を備えたことを特徴とする携帯端末装置。
A mobile terminal device having an update processing software self-updating function for updating update processing software itself for updating software via wireless stored in a nonvolatile memory based on difference data,
A non-volatile memory having first and second update processing software storage areas for storing update processing software of different revision numbers;
When the update processing software is self-updated, the new update processing software generated based on the difference data by the new update processing software stored in the first and second update processing software storage areas is replaced with the old one. A self-updating means for writing into an update processing software area in which the update processing software is stored.
前記自己更新手段は、前記更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗したとき、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行する請求項8に記載の携帯端末装置。   9. The portable terminal according to claim 8, wherein the self-updating unit executes the self-updating process again with the newer updating process software after the power is restored when the self-updating fails due to power-off at the time of self-updating of the updating process software. apparatus. 前記更新処理ソフトウェアの自己更新時に前記新しい方の更新処理ソフトウェアを一旦展開するRAMを備え、前記自己更新手段は、この展開された更新処理ソフトウェアを実行する請求項8または9に記載の携帯端末装置。   10. The portable terminal device according to claim 8, further comprising a RAM that temporarily expands the newer update processing software when the update processing software is self-updating, wherein the self-updating unit executes the expanded update processing software. . 更新処理ソフトウェアの自己更新時に、更新に先立って、前記第1および第2の更新処理ソフトウェア格納領域のうち古い方の更新処理ソフトウェアを不揮発的にバックアップすることができるファイルシステムを有する請求項8に記載の携帯端末装置。   9. The update processing software according to claim 8, further comprising a file system capable of backing up the older update processing software in the first and second update processing software storage areas in a non-volatile manner prior to the update. The portable terminal device described. 前記自己更新手段は、前記更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗した場合、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行しようとしたとき、新しい方の更新処理ソフトウェアが起動できない場合、前記ファイルシステムにバックアップされた更新処理ソフトウェアを用いて、再度、自己更新処理を実行する請求項8に記載の携帯端末装置。   The self-updating means updates the newer one when the self-updating fails due to a power interruption at the time of the self-updating of the updating processing software, and when the self-updating processing is executed again by the newer updating processing software after power recovery. 9. The portable terminal device according to claim 8, wherein when the processing software cannot be activated, the self-updating process is executed again using the update processing software backed up in the file system. 前記不揮発性メモリ内に前記第1および第2の更新処理ソフトウェア格納領域に加えて、前記異なる改訂版数の古い方の更新処理ソフトウェアのコピーを格納する第3の更新処理ソフトウェア領域を設け、前記自己更新手段は、前記更新処理ソフトウェアの自己更新時に、前記第1および第2の更新処理ソフトウェア格納領域に格納されている新しい方の更新処理ソフトウェアにより、前記差分データに基づいて生成した新たな更新処理ソフトウェアを、古い方の更新処理ソフトウェアが格納されている二つの更新処理ソフトウェア領域の一方に書き込んだ後、他方に当該更新前の新しい方の更新処理ソフトウェアのコピーを書き込む請求項8に記載の携帯端末装置。   In addition to the first and second update processing software storage areas in the nonvolatile memory, a third update processing software area for storing a copy of the older update processing software of the different revision number is provided, The self-updating means generates a new update generated based on the difference data by the newer update processing software stored in the first and second update processing software storage areas when the update processing software is self-updated. The processing software is written in one of the two update processing software areas in which the older update processing software is stored, and then a copy of the newer update processing software before the update is written in the other. Mobile terminal device. 前記自己更新手段は、前記更新処理ソフトウェアの自己更新時の電源断により自己更新が失敗した場合、電源回復後に新しい方の更新処理ソフトウェアにより再度自己更新処理を実行しようとしたとき、新しい方の更新処理ソフトウェアが起動できない場合、当該自己更新時の更新処理ソフトウェアが上書きされなかった古い方の更新処理ソフトウェアを用いて、再度、自己更新処理を実行する請求項8に記載の携帯端末装置。   The self-updating means updates the newer one when the self-updating fails due to a power interruption at the time of the self-updating of the updating processing software, and when the self-updating processing is executed again by the newer updating processing software after power recovery. 9. The portable terminal device according to claim 8, wherein when the processing software cannot be activated, the self-updating process is executed again using the older update processing software in which the update processing software at the time of self-updating is not overwritten.
JP2007170668A 2007-06-28 2007-06-28 Updating software self-update method and portable terminal device Withdrawn JP2009009391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007170668A JP2009009391A (en) 2007-06-28 2007-06-28 Updating software self-update method and portable terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007170668A JP2009009391A (en) 2007-06-28 2007-06-28 Updating software self-update method and portable terminal device

Publications (1)

Publication Number Publication Date
JP2009009391A true JP2009009391A (en) 2009-01-15

Family

ID=40324402

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007170668A Withdrawn JP2009009391A (en) 2007-06-28 2007-06-28 Updating software self-update method and portable terminal device

Country Status (1)

Country Link
JP (1) JP2009009391A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010198155A (en) * 2009-02-24 2010-09-09 Fujitsu Ten Ltd Device and method for updating program, and information processing apparatus
JP2010198387A (en) * 2009-02-25 2010-09-09 Kyocera Corp Electronic apparatus
JP2012014244A (en) * 2010-06-29 2012-01-19 Fujitsu Ltd Information terminal
JP2014142799A (en) * 2013-01-24 2014-08-07 Hitachi Ltd Information processing device, information processing method, and server
JP2016053839A (en) * 2014-09-03 2016-04-14 キヤノン株式会社 Information processing device, control method thereof, and program
JP2017525059A (en) * 2014-05-20 2017-08-31 シーアン チョンシン ニュー ソフトウェア カンパニー,リミテッド Device management session trigger method, device, system, and computer storage medium

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010198155A (en) * 2009-02-24 2010-09-09 Fujitsu Ten Ltd Device and method for updating program, and information processing apparatus
WO2010098019A3 (en) * 2009-02-24 2010-11-04 Fujitsu Ten Limited Program update device, program update method, and information processing device
JP2010198387A (en) * 2009-02-25 2010-09-09 Kyocera Corp Electronic apparatus
JP2012014244A (en) * 2010-06-29 2012-01-19 Fujitsu Ltd Information terminal
JP2014142799A (en) * 2013-01-24 2014-08-07 Hitachi Ltd Information processing device, information processing method, and server
JP2017525059A (en) * 2014-05-20 2017-08-31 シーアン チョンシン ニュー ソフトウェア カンパニー,リミテッド Device management session trigger method, device, system, and computer storage medium
JP2016053839A (en) * 2014-09-03 2016-04-14 キヤノン株式会社 Information processing device, control method thereof, and program

Similar Documents

Publication Publication Date Title
JP4944686B2 (en) Software update method and portable terminal device
CN101026848B (en) Mobile terminal and software update method
US8726259B2 (en) System and method for preserving device parameters during a FOTA upgrade
US8539471B2 (en) Updating firmware of an electronic device
US7698698B2 (en) Method for over-the-air firmware update of NAND flash memory based mobile devices
US20080126672A1 (en) Automatic Backup Store In Firmware Upgrades
WO2010052647A1 (en) Method and apparatus for updating firmware
JP4859465B2 (en) Software updating method and mobile terminal device
JP2009009391A (en) Updating software self-update method and portable terminal device
JPWO2009078285A1 (en) Wireless terminal, non-volatile memory of wireless terminal, and fail-safe storage method of diagnostic information
CN101118518A (en) Memory management method and portable terminal device
JP2001356925A (en) Portable telephone set
KR100986487B1 (en) Mobile handset with a fault tolerant update agent
JP2010044574A (en) Portable terminal, portable terminal control method and portable terminal control program
KR100729525B1 (en) Method and system for updating firmware
JP2005215841A (en) Cellular phone terminal device with software correcting function
JP2011175352A (en) Firmware updating device, communication apparatus, electronic apparatus, firmware updating system, firmware updating method and program
JP2010079382A (en) Software update method
KR100591813B1 (en) Mobile phone had a function of recovery for the firmware download errors and Recovering method for the firmware download errors of a mobile phone
JP5275105B2 (en) Electronics
JP5275103B2 (en) Electronics
TWI260539B (en) Firmware updating system of mobile communication device and method thereof
JP2007133602A (en) Information processing system and onboard equipment
JP5478090B2 (en) Electronics
JP2006011906A (en) Software installation method

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