JP5275103B2 - Electronics - Google Patents
Electronics Download PDFInfo
- Publication number
- JP5275103B2 JP5275103B2 JP2009075530A JP2009075530A JP5275103B2 JP 5275103 B2 JP5275103 B2 JP 5275103B2 JP 2009075530 A JP2009075530 A JP 2009075530A JP 2009075530 A JP2009075530 A JP 2009075530A JP 5275103 B2 JP5275103 B2 JP 5275103B2
- Authority
- JP
- Japan
- Prior art keywords
- storage unit
- program code
- unit
- update
- code stored
- 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.)
- Expired - Fee Related
Links
- 238000004891 communication Methods 0.000 claims description 14
- 238000013500 data storage Methods 0.000 claims description 3
- 238000000034 method Methods 0.000 description 27
- 230000008569 process Effects 0.000 description 27
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000001994 activation Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000000717 retained effect Effects 0.000 description 2
- 230000003213 activating effect Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Landscapes
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
- Stored Programmes (AREA)
Description
本発明は、ソフトウェアの更新機能を有する電子機器に関する。 The present invention relates to an electronic device having a software update function.
従来、様々な電子機器において、メモリに予め記憶されたソフトウェアを実行することにより各種機能を実現している。このような電子機器の中には、ソフトウェアの不具合修正や機能拡張等の理由により、更新用データを取得して新しいソフトウェアに更新する機能を有するものがある。 Conventionally, various functions are realized in various electronic devices by executing software stored in advance in a memory. Some of such electronic devices have a function of acquiring update data and updating to new software for reasons such as software defect correction and function expansion.
このようなソフトウェア更新の機能を有する電子機器は、例えば、ソフトウェアの新旧バージョンの差分データをダウンロードし、所定の更新エンジンを実行して、この差分データにより単位領域(ブロック)毎にソフトウェアを更新する(例えば、特許文献1参照)。 An electronic device having such a software update function downloads, for example, difference data of new and old versions of software, executes a predetermined update engine, and updates software for each unit area (block) with the difference data. (For example, refer to Patent Document 1).
ところで、電子機器は、安価で容量の大きい不揮発性のメモリ(例えば、NANDフラッシュメモリ)にソフトウェアを格納し、実際にソフトウェアを実行する際には、読み書きが高速な揮発性メモリ(例えば、SDRAM(Synchronous Dynamic Random Access Memory))にコピーして実行する場合が多い。 By the way, an electronic device stores software in an inexpensive and large-capacity nonvolatile memory (for example, a NAND flash memory), and when actually executing the software, the volatile memory (for example, SDRAM (for example, SDRAM)) that reads and writes at high speed Synchronous Dynamic Random Access Memory)) is often executed.
この場合、電子機器は、揮発性メモリにコピーされたソフトウェアによって通常動作中に、不揮発性メモリのソフトウェアを更新する、いわゆるバックグラウンド更新を行うことができる。その後、電子機器は、不揮発性メモリ上の更新済みのソフトウェアの機能を電子機器の実際の動作に反映させるため、再起動処理に伴って、更新済みソフトウェアの全ブロックを揮発性メモリへコピーしていた。 In this case, the electronic device can perform so-called background update in which the software in the nonvolatile memory is updated during normal operation by the software copied to the volatile memory. After that, the electronic device copies all the blocks of the updated software to the volatile memory during the restart process in order to reflect the function of the updated software on the nonvolatile memory in the actual operation of the electronic device. It was.
しかしながら、揮発性メモリへのコピーを要するブロック数が多いと、コピー処理が終了してユーザによる利用が可能となるまでに長時間を要するという問題があった。 However, when the number of blocks that need to be copied to the volatile memory is large, there is a problem that it takes a long time until the copy process is completed and the user can use it.
本発明は、ソフトウェア更新後の再起動に要する時間を短縮することのできる電子機器を提供することを目的とする。 It is an object of the present invention to provide an electronic device that can shorten the time required for restart after software update.
本発明に係る電子機器は、ソフトウェアのプログラムコードをブロック単位で格納する不揮発性の第1記憶部と、前記第1記憶部に格納されたプログラムコードを更新するための更新情報データを受信する通信部と、前記通信部により受信した更新情報データに基づいて、前記第1記憶部に格納されたプログラムコードを前記ブロック単位で更新する更新部と、実行対象のプログラムコードを作業用に格納する揮発性の第2記憶部と、前記第1記憶部に格納されたプログラムコードの一部または全部を、前記第2記憶部へコピーし、前記第2記憶部に格納されたプログラムコードを実行する制御部と、を備え、前記制御部は、前記更新部により更新されたブロックのみを前記第2記憶部へコピーすることを特徴とする。 An electronic device according to the present invention includes a nonvolatile first storage unit that stores software program codes in units of blocks, and communication that receives update information data for updating the program codes stored in the first storage unit Based on update information data received by the communication unit, an update unit that updates the program code stored in the first storage unit in units of blocks, and a volatile that stores the program code to be executed for work The second storage unit having the control function and a control for copying a part or all of the program code stored in the first storage unit to the second storage unit and executing the program code stored in the second storage unit And the control unit copies only the block updated by the updating unit to the second storage unit.
また、前記制御部がプログラムコードの実行を再起動する場合において、前記第2記憶部は、電流が供給され、再起動前に格納されていた前記実行対象のプログラムコードを、再起動後も保持することが好ましい。 Further, when the control unit restarts execution of the program code, the second storage unit retains the program code to be executed, which has been stored before the restart, supplied with current even after the restart. It is preferable to do.
また、本発明に係る電子機器は、前記通信部により受信した更新情報データを記憶する第3記憶部をさらに備えることが好ましい。 Moreover, it is preferable that the electronic device according to the present invention further includes a third storage unit that stores update information data received by the communication unit.
また、本発明に係る電子機器は、前記更新情報データに基づいて更新されるブロックを示すデータを記憶する第4記憶部をさらに備え、前記更新部は、前記第1記憶部に格納されたプログラムコードを更新したときに、当該更新したブロックを示すデータを前記第4記憶部に記憶することが好ましい。 The electronic apparatus according to the present invention further includes a fourth storage unit that stores data indicating a block to be updated based on the update information data, and the update unit is a program stored in the first storage unit. When the code is updated, it is preferable to store data indicating the updated block in the fourth storage unit.
また、本発明に係る電子機器は、前記更新情報データに基づいて更新されるブロックを示すデータを記憶する第4記憶部をさらに備え、前記通信部は、前記更新情報データと共に、前記更新されるブロックを示すデータを受信し、前記第4記憶部に記憶することが好ましい。 The electronic device according to the present invention further includes a fourth storage unit that stores data indicating a block to be updated based on the update information data, and the communication unit is updated together with the update information data. It is preferable that data indicating a block is received and stored in the fourth storage unit.
本発明によれば、ソフトウェア更新後の再起動に要する時間を短縮することができる。 According to the present invention, the time required for restart after software update can be shortened.
<第1実施形態>
以下、本発明の第1実施形態について説明する。なお、本実施形態では、電子機器の一例として、携帯電話機1を説明する。なお、本発明の電子機器はこれには限られず、例えば、PHS(Personal Handy phone System)やPDA(Personal Digital Assistant)の他、ナビゲーション装置やパーソナルコンピュータ等、様々な電子機器に適用可能である。
<First Embodiment>
The first embodiment of the present invention will be described below. In the present embodiment, a mobile phone 1 will be described as an example of an electronic device. The electronic device of the present invention is not limited to this, and can be applied to various electronic devices such as a navigation device and a personal computer in addition to PHS (Personal Handyphone System) and PDA (Personal Digital Assistant).
図1は、本実施形態に係る携帯電話機1(電子機器)の外観斜視図である。なお、図1は、いわゆる折り畳み型の携帯電話機の形態を示しているが、本発明に係る携帯電話機の形態はこれに限られない。例えば、両筐体を重ね合わせた状態から一方の筐体を一方向にスライドさせるようにしたスライド式や、重ね合せ方向に沿う軸線を中心に一方の筐体を回転させるようにした回転式(ターンタイプ)や、操作部と表示部とが1つの筐体に配置され、連結部を有さない形式(ストレートタイプ)でもよい。 FIG. 1 is an external perspective view of a mobile phone 1 (electronic device) according to the present embodiment. FIG. 1 shows a so-called foldable mobile phone, but the mobile phone according to the present invention is not limited to this. For example, a sliding type in which one casing is slid in one direction from a state in which both casings are overlapped, or a rotary type in which one casing is rotated around an axis along the overlapping direction ( Turn type), or a type (straight type) in which the operation unit and the display unit are arranged in one housing and does not have a connecting unit.
携帯電話機1は、操作部側筐体2と、表示部側筐体3と、を備えて構成される。操作部側筐体2は、表面部10に、操作部11と、携帯電話機1の使用者が通話時に発した音声が入力されるマイク12と、を備えて構成される。操作部11は、各種設定機能や電話帳機能やメール機能等の各種機能を作動させるための機能設定操作ボタン13と、電話番号の数字やメールの文字等を入力するための入力操作ボタン14と、各種操作における決定やスクロール等を行う決定操作ボタン15と、から構成されている。
The mobile phone 1 includes an operation
また、表示部側筐体3は、表面部20に、各種情報を表示するための表示部21と、通話の相手側の音声を出力するレシーバ22と、を備えて構成されている。
The display
また、操作部側筐体2の上端部と表示部側筐体3の下端部とは、ヒンジ機構4を介して連結されている。また、携帯電話機1は、ヒンジ機構4を介して連結された操作部側筐体2と表示部側筐体3とを相対的に回転することにより、操作部側筐体2と表示部側筐体3とが互いに開いた状態(開放状態)にしたり、操作部側筐体2と表示部側筐体3とを折り畳んだ状態(折畳み状態)にしたりできる。
Further, the upper end portion of the operation
図2は、本実施形態に係る携帯電話機1の機能を示すブロック図である。携帯電話機1は、MPU30(更新部、制御部)と、電源部31と、無線部32(通信部)と、アンテナ33と、SDRAM34(第2記憶部)と、NAND35(第1記憶部、第3記憶部、第4記憶部)と、操作部11と、表示部21と、音声制御部36と、を備える。
FIG. 2 is a block diagram showing functions of the mobile phone 1 according to the present embodiment. The mobile phone 1 includes an MPU 30 (update unit, control unit), a
MPU30は、携帯電話機1の全体を制御しており、例えば、表示部21、無線部32、音声制御部36等に対して所定の制御を行う。また、MPU30は、操作部11等から入力を受け付けて、各種処理を実行する。そして、MPU30は、処理実行の際には、SDRAM34およびNAND35を制御し、各種プログラムおよびデータの読み出し、およびデータの書き込みを行う。
The MPU 30 controls the entire mobile phone 1, and performs predetermined control on the
電源部31は、携帯電話機1の各部へ電源を供給している。また、電源ON/OFFを切り替える所定の操作入力に応じて、電源部31は、電源の供給先を変更する。すなわち、電源OFFの場合には、例えばSDRAM34等の限られた部位のみに電源を供給する。
The
無線部32は、所定の使用周波数帯(例えば、2GHz帯や800MHz帯等)で外部装置(基地局)と通信を行う。そして、無線部32は、アンテナ33より受信した信号を復調処理し、処理後の信号をMPU30に供給し、また、MPU30から供給された信号を変調処理し、アンテナ33から外部装置に送信する。
The
SDRAM34は、MPU30により作業用に使用される記憶装置であり、電流の供給を受け続けることによりデータを保持する揮発性の記憶装置である。なお、携帯電話機1は、電源をOFFにした場合にも、電源部31によりSDRAM34へ電流を供給し続ける。これにより、例えば再起動時に一旦電源がOFFとなった場合にも、SDRAM34に記憶されたデータは保持される(セルフリフレッシュ)。
The SDRAM 34 is a storage device used for work by the
NAND35は、ソフトウェアのプログラムコード等を静的に記憶する不揮発性の記憶装置である。SDRAM34へのデータの読み書きは、NAND35へのそれよりも速いため、NAND35に記憶されたプログラムコードの一部または全部をSDRAM34にコピーすることにより、MPU30で実行される。また、無線部32により受信(ダウンロード)したソフトウェア、あるいはソフトウェアの更新情報データは、このNAND35に記憶される。
The NAND 35 is a nonvolatile storage device that statically stores software program codes and the like. Since reading and writing of data to and from the
表示部21は、MPU30の制御に従って、所定の画像処理を行う。そして、処理後の画像データをフレームメモリに蓄え、所定のタイミングで画面出力する。
The
音声制御部36は、MPU30の制御に従って、無線部32から供給された信号に対して所定の音声処理を行い、処理後の信号をレシーバ22に出力する。レシーバ22は、音声制御部36から供給された信号を外部に出力する。なお、この信号は、レシーバ22に代えて、または、レシーバ22と共に、スピーカ(図示せず)から出力されるとしてもよい。
The
また、音声制御部36は、MPU30の制御に従って、マイク12から入力された信号を処理し、処理後の信号を無線部32に出力する。無線部32は、音声制御部36から供給された信号に所定の処理を行い、処理後の信号をアンテナ33より出力する。
In addition, the
図3は、本実施形態に係るソフトウェアの更新システムを示す概略図である。携帯電話機1で利用されるソフトウェアは、管理サーバにて新旧のバージョン管理がされている。管理サーバは、データベースにてソフトウェアのプログラムコードと、旧バージョンから新バージョンへ更新するための更新情報データとを保持する。そして、管理サーバは、携帯電話機1からの要求に応じて、最新のプログラムコードまたは更新情報データを、基地局を介して送信する。 FIG. 3 is a schematic diagram showing a software update system according to the present embodiment. The software used in the mobile phone 1 is subjected to new and old version management by a management server. The management server holds the program code of software and update information data for updating from the old version to the new version in the database. Then, the management server transmits the latest program code or update information data through the base station in response to a request from the mobile phone 1.
以下、携帯電話機1で実行されるソフトウェアを新バージョンへ更新するための、MPU30の処理内容を説明する。
Hereinafter, processing contents of the
図4は、本実施形態に係るNAND35からSDRAM34へのプログラムコードのコピー処理を示す図である。この処理では、MPU30は、携帯電話機1の電源がONとなったときに、実行対象のソフトウェアのプログラムコードを、作業用の記憶装置であるSDRAM34へコピーする。
FIG. 4 is a diagram showing a program code copy process from the
NAND35において、プログラムコードはブロック単位に格納されており、SDRAM34へも、このブロック単位で順次コピーされる。そして、全ブロックのコピーが完了すると、MPU30は、SDRAM34上でソフトウェアを実行し、ユーザの利用が開始される。
In the
なお、前述のセルフリフレッシュ機能が動作しているときは、SDRAM34のデータが保持されているので、本処理は省略され、MPU30は、即座にSDRAM34上でソフトウェアを実行することができる。
Note that when the above-described self-refresh function is operating, the data of the
図5は、本実施形態に係る更新情報データを受信した後の、NAND35におけるバックグラウンド更新処理を示す図である。この処理は、携帯電話機1が利用され、SDRAM34上でソフトウェアが実行されている間に実行される。
FIG. 5 is a diagram showing a background update process in the
MPU30は、旧バージョンのソフトウェアを新バージョンへ更新するための差分データ(更新情報データ)をサーバより受信すると、当該差分データをNAND35の差分データ用の記憶領域に記憶する。続いて、この差分データおよび、NAND35の該当ブロックにある更新前のイメージに基づいて、更新後のイメージを生成すると、このブロックを更新後のイメージで更新する。
When the
さらに、MPU30は、差分データによりNAND35のどのブロックを更新したのか(例えば、ブロック1〜ブロック3)を示す更新ブロック情報を、後述の処理のために生成して記憶しておく。
Further, the
図6は、本実施形態に係るバックグラウンド更新が終了し、再起動した際のSDRAM34へのコピー処理を示す図である。
FIG. 6 is a diagram showing a copy process to the
たとえ、前述のセルフリフレッシュ機能が動作していても、NAND35の更新が行われた場合には、SDRAM34に格納されているソフトウェアは旧バージョンである。したがって、NAND35からのコピー処理(図4参照)が行われないと、新バージョンのソフトウェアは実行されない。
Even if the self-refresh function described above is operating, if the
ところが、図4に示すようにMPU30が全ブロックをコピーした場合において、全てのブロックが更新されないとき(例えば、ブロック1〜ブロック3のみが更新されるとき)、MPU30は、NAND35とSDRAM34のデータが同じブロックについてもNAND35からSDRAM34へのコピーを行うため、処理の終了までに時間が掛かる。
However, as shown in FIG. 4, when all the blocks are not updated when the
そこで、本実施形態では、バックグラウンド更新処理にて生成された更新ブロック情報に基づいて、MPU30は、更新されたNAND35のブロックのデータのみを、SDRAM34の対応するブロックへコピーする。その他のブロックは、セルフリフレッシュ機能により再起動前のデータを保持するため、MPU30は、最小限のコピー処理にて、更新後のデータをSDRAM34上に展開することが可能となる。したがって、更新後のデータをユーザが利用可能となるまでの時間が短縮される。
Therefore, in this embodiment, based on the update block information generated in the background update process, the
図7は、本実施形態に係るMPU30の処理を示すフローチャートである。
ステップS1では、MPU30は、携帯電話機1の起動処理を行う。SDRAM34のデータが保持されていない場合、MPU30は、NAND35からSDRAM34へデータをコピーした後に当該データを実行する(図4参照)。
FIG. 7 is a flowchart showing processing of the
In step S <b> 1, the
ステップS2では、MPU30は、更新の存在が通知されたことに応じて、基地局を介して所定のサーバからソフトウェア更新の差分データをダウンロードする。MPU30は、ダウンロードした差分データをNAND35に記憶する。
In step S2, the
ステップS3では、MPU30は、NAND35に記憶されているソフトウェア(データ)のバックグラウンド更新を実行するか否かを判定する。具体的には、ユーザからの所定の指示入力を受け付けたか否かを判定する。この判定がYESの場合はステップS4に移り、判定がNOの場合は指示入力を待機する。
In step S <b> 3, the
ステップS4では、MPU30は、ステップS2で受信した差分データによるバックグラウンド更新が完了するまで、ループ処理を実行する。全ブロックを更新すると、MPU30は、当該ループ処理を終了し、ステップS7に移る。
In step S4, the
ステップS5では、MPU30は、ステップS2で受信した差分データに基づいて、NAND35のブロック単位に、プログラムコードのバックグラウンド更新を行う(図5参照)。
In step S5, the
ステップS6では、MPU30は、ステップS5で更新したブロックを示す更新ブロック情報をNAND35に記録する。
In step S6, the
ステップS7では、MPU30は、携帯電話機1を再起動し、起動処理を実行する。具体的には、ステップS6で記録された更新ブロック情報を参照し、NAND35からSDRAM34へ、更新されたブロックのみをコピーする(図6参照)。なお、前述したように、更新されないブロックに関しては、SDRAM34は再起動前のデータを保持する。
In step S7, the
本処理では、ユーザからの指示入力に応じてバックグラウンド更新を開始したが、これには限られない。例えば、受信した差分データの属性として付加された重要度に応じて、自動的に開始してもよい。また、重要度にかかわらず、自動的にバックグラウンド更新を開始する態様であってもよい。 In this process, background update is started in response to an instruction input from the user, but the present invention is not limited to this. For example, you may start automatically according to the importance added as the attribute of the received difference data. Moreover, the aspect which starts a background update automatically irrespective of importance may be sufficient.
<第2実施形態>
以下、本発明の第2実施形態について説明する。第1実施形態では、更新ブロック情報をMPU30が生成して記録したが、本実施形態では、サーバから更新ブロック情報をダウンロードする。
Second Embodiment
Hereinafter, a second embodiment of the present invention will be described. In the first embodiment, the update block information is generated and recorded by the
図8は、本実施形態に係るMPU30の処理を示すフローチャートである。なお、第1実施形態(図7)と同様の処理については同一の符号を付し、説明を省略または簡略化する。
FIG. 8 is a flowchart showing processing of the
ステップS1での起動処理の後、ステップS2aにおいて、MPU30は、ソフトウェア更新のための差分データと共に、いずれのブロックを更新するのかを示す更新ブロック情報をダウンロードする。MPU30は、受信した差分データおよび更新ブロック情報を、NAND35の受信したデータ用の領域に記憶する。
After the activation process in step S1, in step S2a, the
MPU30は、ステップS3において、バックグラウンド更新を実行すると判定すると、ステップS4からステップS5において、ステップ差分データに基づいてNAND35のバックグラウンド更新を実行する。
If the
そして、ステップS7において、MPU30は、携帯電話機1を再起動し、起動処理を実行する。ここでは、第1実施形態と同様に、ステップS2aで記憶された更新ブロック情報を参照し、NAND35からSDRAM34へ、更新されたブロックをコピーする(図6参照)。
In step S7, the
このように、サーバから更新ブロック情報の提供を受けることにより、第1実施形態においてバックグラウンド更新中に更新ブロック情報を生成して記憶していた処理負荷が低減される。 Thus, by receiving the update block information from the server, the processing load generated and stored in the first embodiment during the background update is reduced.
以上、本発明の実施形態について説明したが、本発明は前述した実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、本発明の実施形態に記載されたものに限定されるものではない。 As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. The effects described in the embodiments of the present invention are only the most preferable effects resulting from the present invention, and the effects of the present invention are limited to those described in the embodiments of the present invention. is not.
前述の実施形態では、バックグラウンド更新後の再起動時において、NAND35からSDRAM34へプログラムコードをコピーする処理について述べたが、本発明の適用はこれには限られない。例えば、通常起動時にNAND35を更新した後のコピー処理に適用してもよい。
In the above-described embodiment, the process of copying the program code from the
また、携帯電話機1は、基地局を介して無線にて更新情報データを取得することとしたが、これには限られず、他の電子機器(例えば、パーソナルコンピュータ)や外付けの記憶装置から有線にて取得することとしてもよい。 In addition, the mobile phone 1 acquires the update information data wirelessly via the base station, but the present invention is not limited to this, and it is wired from another electronic device (for example, a personal computer) or an external storage device. It is good also as acquiring by.
1 携帯電話機(電子機器)
11 操作部
21 表示部
30 MPU(更新部、制御部)
31 電源部
32 無線部(通信部)
33 アンテナ
34 SDRAM(第2記憶部)
35 NAND(第1記憶部、第3記憶部、第4記憶部)
36 音声制御部
1 Mobile phone (electronic equipment)
11
31
33
35 NAND (first storage unit, third storage unit, fourth storage unit)
36 Voice control unit
Claims (5)
前記第1記憶部に格納されたプログラムコードを更新するための更新情報データを受信する通信部と、
前記通信部により受信した更新情報データに基づいて、前記第1記憶部に格納されたプログラムコードを前記ブロック単位で更新する更新部と、
実行対象のプログラムコードを作業用に格納する揮発性の第2記憶部と、
前記第1記憶部に格納されたプログラムコードの一部または全部を、前記第2記憶部へコピーし、前記第2記憶部に格納されたプログラムコードを実行する制御部と、を備え、
前記制御部は、前記更新部により更新されたブロックのみを前記第2記憶部へコピーすることを特徴とする電子機器であって、
前記制御部がプログラムコードの実行を再起動する場合において、前記第2記憶部は、電流が供給され、再起動前に格納されていた前記実行対象のプログラムコードを、再起動後も保持することを特徴とする電子機器。 A nonvolatile first storage unit that stores software program codes in units of blocks;
A communication unit that receives update information data for updating the program code stored in the first storage unit;
An update unit that updates the program code stored in the first storage unit in units of blocks based on update information data received by the communication unit;
A volatile second storage unit for storing the program code to be executed for work;
A control unit that copies part or all of the program code stored in the first storage unit to the second storage unit and executes the program code stored in the second storage unit;
The control unit is an electronic device characterized in that only the block updated by the update unit is copied to the second storage unit ,
When the control unit restarts execution of the program code, the second storage unit retains the execution target program code stored before the restart after being supplied with the current after the restart. Electronic equipment characterized by
前記更新部は、前記第1記憶部に格納されたプログラムコードを更新したときに、当該更新したブロックを示すデータを前記第4記憶部に記憶することを特徴とする請求項1または請求項2に記載の電子機器。 A fourth storage unit for storing data indicating a block to be updated based on the update information data;
The updating unit, when updating program code stored in the first storage unit, according to claim 1 or claim, characterized in that storing data indicating the updated block in said fourth storage unit 2 The electronic device as described in.
前記第1記憶部に格納されたプログラムコードを更新するための更新情報データを受信する通信部と、A communication unit that receives update information data for updating the program code stored in the first storage unit;
実行対象のプログラムコードを作業用に格納する揮発性の第2記憶部と、A volatile second storage unit for storing the program code to be executed for work;
前記第2記憶部に格納されたプログラムコードを実行する制御部と、を備える電子機器であって、A control unit that executes the program code stored in the second storage unit, and an electronic device comprising:
前記第2記憶部は、再起動前に格納されていた前記実行対象のプログラムコードを再起動後も保持することが可能であり、The second storage unit can hold the execution target program code stored before the restart even after the restart,
前記制御部は、前記通信部により受信した更新情報データに基づいて前記第1記憶部に格納されたプログラムコードを前記ブロック単位で更新し、当該更新の後に再起動されると、前記第1記憶部に格納されたプログラムコードの更新されたブロックのみを前記第2記憶部にコピーして前記第2記憶部に保持されているプログラムコードを更新し、当該更新されたプログラムコードを実行するThe control unit updates the program code stored in the first storage unit based on the update information data received by the communication unit in the block unit, and when restarted after the update, the first storage Only the updated block of the program code stored in the section is copied to the second storage section, the program code held in the second storage section is updated, and the updated program code is executed
電子機器。Electronics.
前記第1記憶部に格納されたプログラムコードを更新するための更新情報データを受信する通信部と、
前記通信部により受信した更新情報データに基づいて、前記第1記憶部に格納されたプログラムコードを前記ブロック単位で更新する更新部と、
実行対象のプログラムコードを作業用に格納する揮発性の第2記憶部と、
前記第1記憶部に格納されたプログラムコードの一部または全部を、前記第2記憶部へコピーし、前記第2記憶部に格納されたプログラムコードを実行する制御部と、を備え、
前記制御部は、前記更新部により更新されたブロックのみを前記第2記憶部へコピーすることを特徴とする電子機器であって、
前記更新情報データに基づいて更新されるブロックを示すデータを記憶する更新ブロックデータ記憶部をさらに備え、
前記通信部は、前記更新情報データと共に、前記更新されるブロックを示すデータを受信し、前記更新ブロックデータ記憶部に記憶することを特徴とする電子機器。 A nonvolatile first storage unit that stores software program codes in units of blocks;
A communication unit that receives update information data for updating the program code stored in the first storage unit;
An update unit that updates the program code stored in the first storage unit in units of blocks based on update information data received by the communication unit;
A volatile second storage unit for storing the program code to be executed for work;
A control unit that copies part or all of the program code stored in the first storage unit to the second storage unit and executes the program code stored in the second storage unit;
The control unit is an electronic device characterized in that only the block updated by the update unit is copied to the second storage unit,
An update block data storage unit for storing data indicating a block to be updated based on the update information data;
The communication unit is configured with update information data, the received data indicating the block to be updated, the update block you wherein electronic equipment be stored in the data storage unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009075530A JP5275103B2 (en) | 2009-03-26 | 2009-03-26 | Electronics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009075530A JP5275103B2 (en) | 2009-03-26 | 2009-03-26 | Electronics |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010231300A JP2010231300A (en) | 2010-10-14 |
JP5275103B2 true JP5275103B2 (en) | 2013-08-28 |
Family
ID=43047086
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009075530A Expired - Fee Related JP5275103B2 (en) | 2009-03-26 | 2009-03-26 | Electronics |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5275103B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7206106B2 (en) * | 2018-12-25 | 2023-01-17 | 東芝テック株式会社 | Information processing device and program |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05100843A (en) * | 1991-10-09 | 1993-04-23 | Fujitsu Ltd | Micro program loading method |
JP2812189B2 (en) * | 1994-02-10 | 1998-10-22 | 日本電気株式会社 | How to download the program |
-
2009
- 2009-03-26 JP JP2009075530A patent/JP5275103B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010231300A (en) | 2010-10-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4944686B2 (en) | Software update method and portable terminal device | |
US7584379B2 (en) | Mobile terminal and software update method | |
JP4859465B2 (en) | Software updating method and mobile terminal device | |
JP2009009391A (en) | Updating software self-update method and portable terminal device | |
JP5275103B2 (en) | Electronics | |
JP5275105B2 (en) | Electronics | |
JP5478090B2 (en) | Electronics | |
JP2007258895A (en) | Mobile terminal, control method therefor, program, and recording medium | |
KR20070022439A (en) | Method for upgrading data in mobile telecommunication terminal | |
JP2004320591A (en) | Portable communication terminal | |
JP2011154548A (en) | Storage device | |
JP2012226619A (en) | Portable terminal device, storage control method, and storage control program | |
JP2011155526A (en) | Electronic equipment | |
JP5258697B2 (en) | Portable electronic devices | |
JP2005018244A (en) | Electronic apparatus and program storing method thereof | |
JP5474588B2 (en) | Electronics | |
JP5259521B2 (en) | Portable electronic devices | |
JP5590595B2 (en) | Portable terminal device, memory update method, and program | |
JP5396894B2 (en) | Portable terminal | |
JP2008147787A (en) | Portable terminal device | |
JP4309122B2 (en) | User data protection method, PC and program when rewriting software on mobile phone | |
JP2011175449A (en) | Storage device | |
JP2006011906A (en) | Software installation method | |
JP2006059116A (en) | Portable terminal | |
JP2005258894A (en) | Digital electronic apparatus, and method for setting function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120203 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20120803 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130122 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130129 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130329 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20130416 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130515 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 Ref document number: 5275103 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |