JP2009026011A - Built-in apparatus, reinstallation method of software, and reinstallation program - Google Patents
Built-in apparatus, reinstallation method of software, and reinstallation program Download PDFInfo
- Publication number
- JP2009026011A JP2009026011A JP2007187572A JP2007187572A JP2009026011A JP 2009026011 A JP2009026011 A JP 2009026011A JP 2007187572 A JP2007187572 A JP 2007187572A JP 2007187572 A JP2007187572 A JP 2007187572A JP 2009026011 A JP2009026011 A JP 2009026011A
- Authority
- JP
- Japan
- Prior art keywords
- package
- software package
- unit
- software
- acquired
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、携帯電話等の組み込み機器、ソフトウェアの再インストール方法及び再インストールプログラムに関するものである。 The present invention relates to an embedded device such as a mobile phone, a software reinstallation method, and a reinstallation program.
従来、OSが組み込まれて自律して動作する組み込み機器において、システムを復旧させる場合、例えば、特許文献1に示すシステムファイルをバックアップする方法や、特許文献2に示すインストールパッケージ(ソフトウェアパッケージ)をバックアップする方法が知られている。 Conventionally, in the case of an embedded device that incorporates an OS and operates autonomously, when restoring the system, for example, a method of backing up a system file shown in Patent Document 1 or a backup of an installation package (software package) shown in Patent Document 2 How to do is known.
図5は、システムファイルをバックアップすることによってシステムを復旧する従来の方法の説明に供する図である。 FIG. 5 is a diagram for explaining a conventional method for restoring a system by backing up a system file.
図5に示す処理部1では、ファイル監視部11は、プログラムのインストール時に、共用ファイルの監視を行い、変更がある場合には、その変更内容を抽出情報管理部4に渡す。抽出情報管理部4は、ファイル監視部11により渡された抽出情報を管理し、OS5を介して記憶装置6にバックアップする。システム不具合発生時には、復元処理部8が、抽出情報管理部4に記憶装置6に記憶された情報を抽出させることによって復元処理を行っている。
In the processing unit 1 shown in FIG. 5, the file monitoring unit 11 monitors the shared file at the time of program installation, and if there is a change, passes the change content to the extraction information management unit 4. The extracted information management unit 4 manages the extracted information passed from the file monitoring unit 11 and backs it up to the
また、図6は、インストールパッケージをバックアップする従来の再インストール方法の説明に供する図である。 FIG. 6 is a diagram for explaining a conventional re-installation method for backing up an installation package.
図6では、コンピュータ装置30内のデインストーラ31は、インストール情報32に従って、コンピュータ装置30の固定ディスク3にインストールされているインストーラ33、ソフトウェア34、デインストーラ31を、外部の記録媒体などに、再インストールソフト35として保存する。また、レジストリに登録されている該当するソフトウェア34のレジストリ情報36とインストール情報32とから再インストール時に必要となるインストール情報32aを作成して保存する。ソフトウェア34によって作成されたユーザデータ37が存在する場合には、そのユーザデータ37も保存する。再インストールソフト35を用いて、コンピュータ装置30への再インストールを行う。
In FIG. 6, the
すなわち、図6に示すコンピュータ装置30は、当該コンピュータ装置30にインストールされたインストールソフト38を削除(デインストール)する場合、再インストールソフト35を生成してシステムの復旧に対応する。
しかしながら、上述した従来の構成では、システムファイルを記憶装置6にバックアップしたり、削除するインストールソフト38を再インストールソフト35として保持しておいたりする必要がある。
However, in the conventional configuration described above, it is necessary to back up the system file in the
このため、システム自体にバックアップや再インストールソフトを保持する記憶領域が必要となり、携帯電話のような組み込み機器において、上記再インストール技術を実現する際には価格の高い記憶領域を倍以上増設しなければならないという課題を有していた。 For this reason, a storage area for storing backup and reinstallation software is required in the system itself, and in an embedded device such as a mobile phone, when implementing the above reinstallation technology, the expensive storage area must be increased more than twice. I had a problem that I had to.
本発明はかかる点に鑑みてなされたものであり、記憶領域を大幅に増設することなく、不具合発生時等において、ソフトウェアを再インストールして、システムを元の状態に安全に戻すことができる組み込み機器、ソフトウェアの再インストール方法及び再インストールプログラムを提供することを目的とする。 The present invention has been made in view of such points, and can be safely installed in the original state by re-installing the software in the event of a failure without significantly increasing the storage area. An object of the present invention is to provide a device, a software reinstallation method, and a reinstallation program.
本発明の組み込み機器は、少なくとも一つのソフトウェアパッケージをインストールして使用する組み込み機器において、ネットワークを介して前記ソフトウェアパッケージを取得するパッケージ取得手段と、前記ソフトウェアパッケージを取得した際の前記ソフトウェアパッケージの取得先情報を保持する取得先情報保持手段と、取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールするインストール手段と、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除手段と、前記削除手段を介してインストール済のソフトウェアパッケージを削除させた前記アプリケーション領域に、前記取得先情報を用いて前記パッケージ取得手段によって再取得させた前記ソフトウェアパッケージを、前記インストール手段により再インストールさせる再インストール制御手段とを有する構成を採る。 The embedded device of the present invention includes a package acquisition unit that acquires the software package via a network in an embedded device that installs and uses at least one software package, and acquisition of the software package when the software package is acquired Acquisition destination information holding means for holding destination information, installation means for installing the acquired software package in an application area of a storage unit, deletion means for deleting the software package installed in the application area, and deletion means The software area re-acquired by the package acquisition means using the acquisition destination information in the application area from which the installed software package is deleted via The A package employs a configuration having a re-installation control means for re-installed by the installation unit.
本発明のソフトウェアの再インストール方法は、ネットワークを介して前記ソフトウェアパッケージを取得する際に、取得するソフトウェアパッケージの取得先情報を取得して保持する取得先情報保持ステップと、取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールするインストールステップと、前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる再取得ステップと、再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる再インストールステップとを有するようにした。 In the software reinstallation method of the present invention, when acquiring the software package via a network, an acquisition destination information holding step of acquiring and holding acquisition destination information of the software package to be acquired, and the acquired software package When there is an installation step for installing in the application area of the storage unit and a re-installation instruction for the software package, a deletion step for deleting the software package installed in the application area, and using the acquired acquisition source information, Re-acquisition step for re-acquiring the previously acquired software package from the acquisition location indicated by the acquisition location information, and re-installing the re-acquired software package in the application area It was to have the installation steps.
また、本発明のプログラムは、ネットワークを介して前記ソフトウェアパッケージを取得する際に、取得するソフトウェアパッケージの取得先情報を取得して保持する手順と、取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールする手順と、前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる手順と、再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる手順とをコンピュータに実行させるようにした。 In addition, when acquiring the software package via a network, the program of the present invention acquires and holds the acquisition destination information of the acquired software package, and stores the acquired software package in the application area of the storage unit. When there is an installation procedure and an instruction to reinstall the software package, the acquisition step indicated by the acquisition source information uses the deletion step of deleting the software package installed in the application area and the acquired acquisition source information. The computer is caused to execute a procedure for reacquiring the previously acquired software package and a procedure for reinstalling the reacquired software package in the application area.
以上説明したように、本発明によれば、記憶領域を大幅に増設することなく、不具合発生時等において、ソフトウェアを安全に再インストールして、システムを元の状態に戻すことができる。 As described above, according to the present invention, the software can be safely reinstalled and the system can be returned to the original state in the event of a failure without significantly increasing the storage area.
以下、本発明の実施の形態について、図面を参照して詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
図1は、本発明の一実施の形態に係る組み込み機器の機能ブロック図である。
組み込み機器は、ROMにプログラムが組み込まれ、CPUによって動作する組み込みシステムが適用された機器であり、ここでは、携帯電話として説明する。
FIG. 1 is a functional block diagram of an embedded device according to an embodiment of the present invention.
The embedded device is a device to which an embedded system in which a program is embedded in a ROM and operated by a CPU is applied, and is described here as a mobile phone.
図1において、組み込み機器100は、OSに再インストールプログラムが適用されたシステムにより動作し、ネットワーク101に接続されている。
In FIG. 1, an embedded
組み込み機器100は、ネットワーク101を介してアプリケーションパッケージを取得するパッケージ取得部102と、インストール部103と、ユーザアプリ領域104と、パッケージ情報保持部105と、削除部106と、再インストール制御部107と、パッケージ情報取得部108と、不具合判定部109と、不具合通知部111とを有する。
The embedded
パッケージ取得部102は、ネットワーク101を介して、OS上で動作させるソフトウェアパッケージをダウンロードによって取得して、インストール部103に出力する。また、パッケージ取得部102は、ネットワーク101を介してサーバ200にアクセスして、サーバ200に格納された情報を取得できる。
The
パッケージ情報取得部108は、パッケージ取得部102により取得されたソフトウェアパッケージから、ソフトウェアパッケージに関するパッケージ情報を抽出し、パッケージ情報保持部105に保持させる。
The package
インストール部103は、パッケージ取得部102を介して取得したソフトウェアパッケージ(具体的には、取得したソフトウェアアプリケーション)を記憶部90のユーザアプリ領域104にインストールして、動作可能な使用状態にする。
The installation unit 103 installs the software package (specifically, the acquired software application) acquired via the
また、インストール部103は、再インストール制御部107から、パッケージ取得部102により取得されたソフトウェアパッケージの再インストールの指示を受けて、パッケージ取得部102により再取得されたソフトウェアパッケージをユーザアプリ領域104に再インストールする。
In addition, the installation unit 103 receives an instruction to reinstall the software package acquired by the
ユーザアプリ領域104は、記憶部90における読み書き自在の領域であり、インストール部103を介してパッケージ取得部102が取得したソフトウェアパッケージがインストールされて保存される。ユーザアプリ領域104に保存されたソフトウェアパッケージは、OSのプログラムに組み込まれて、OS上で起動するようになる。なお、記憶部90は、ソフトウェアパッケージ(「アプリケーション」ともいう)がインストールされるユーザアプリ領域の他に、システムプログラムが保存されるシステム領域及び、アプリケーションなどで用いられる電話帳、カメラ画像などのユーザデータが格納されるデータ領域とを有する。
The
パッケージ情報保持部105は、パッケージ情報取得部108によりソフトウェアパッケージから取得されたパッケージ情報を保持する。パッケージ情報保持部105としては、記憶部90においてアプリケーションがインストールされるユーザアプリ領域104とは異なる領域が用いられる。例えば、パッケージ情報保持部105としては、記憶部90において、電話帳、カメラ撮像画像など、使用してもシステム自体に不具合が発生しにくいデータを記憶するユーザデータ領域が用いられる。なお、このパッケージ情報保持部105は、記憶部90において読み書き自在であれば、どこに設けられてもよく、例えば、複数のディレクトリを重ね、1つのディレクトリとして扱うことができるシステムであるUnionFS(登録商標)や、KNOPPIX(登録商標)のファイル技術を用いた場合、記憶部90においてリードオンリであるシステム領域に存在するものとしてもよい。
The package
パッケージ情報保持部105により保持されるパッケージ情報は、取得したソフトウェアパッケージの所在先の情報を含む。具体的には、パッケージ情報は、インターネット上に存在するソフトウェアパッケージの場所を指し示す取得先の情報であり、例えば、情報の種類やサーバ名、ポート番号、フォルダ名、ファイル名などで構成されている。
The package information held by the package
ここでは、パッケージ情報保持部105は、保持するパッケージ情報として、インストールしたソフトウェアパッケージの名称と、存在した場所(取得元)を示すURL(Uniform Resource Locator)とを保存する。
Here, the package
図2は、パッケージ情報保持部が保持するパッケージ情報(「ダウンロード情報」ともいう)の保存形式の一例を示す図である。 FIG. 2 is a diagram illustrating an example of a storage format of package information (also referred to as “download information”) held by the package information holding unit.
図2では、組み込み装置100のシステムにインストールされるパッケージの名称(name)が、それぞれのパッケージのダウンロード元(url)とともに記載されている。
In FIG. 2, the names (names) of packages installed in the system of the embedded
図2に示すように、パッケージ情報保持部105では、ダウンロード元(url)がhttp://www.hogehoge.com/browser/mobile/hogehoge10.jarである、hogehoge Full Browserという名称(name)のパッケージと、ダウンロード元(url)がhttp://www.foge.com/download/fogequest30.jarである、Foge Questという名称(name)のパッケージとが記録されている。
As shown in FIG. 2, in the package
このようなパッケージ情報を保持するパッケージ情報保持部105は、再インストール制御部107によってパッケージ情報を読み取られる。
The package
削除部106は、再インストール制御部107の全削除指示によりユーザアプリ領域104に記憶されている、インストールされたアプリケーション(インストール済みのソフトウェアアプリケーション)を全て削除する。
The
再インストール制御部107は、再インストール指示を受けて、削除部106、インストール部103、パッケージ取得部102、パッケージ情報保持部105を用いて先にインストールしたソフトウェアの再インストールを行う。
In response to the reinstallation instruction, the
ここでは、再インストール制御部107に入力される再インストール指示は、不具合判定部109からのシステム不具合発生を示す不具合判定情報としている。すなわち、本実施の形態では、不具合判定情報が入力された際に、つまり、システム不具合が発生した場合、再インストール制御部107は、ユーザアプリ領域104にインストールされたソフトウェアパッケージの再インストールを行う。
Here, the reinstallation instruction input to the
具体的には、再インストール制御部107は、システム不具合が発生した時に、削除部106にユーザアプリ領域104に記憶されたアプリケーションの全削除を指示し、ユーザアプリ領域104の全てのインストールアプリケーションを削除させる。
Specifically, when a system failure occurs, the
また、再インストール制御部107は、不具合が発生した際に、パッケージ情報保持部105からパッケージ情報を取得し、この取得したパッケージ情報を用いて、パッケージ取得部102に、ネットワーク101を介して、同パッケージ情報が示すソフトウェアパッケージを再ダウンロードさせる。
In addition, when a failure occurs, the
さらに、再インストール制御部107は、不具合が発生した際に、インストール部103にソフトウェアパッケージの再インストール指示を行う。つまり、再インストール制御部107は、パッケージ取得部102に再ダウンロード(再取得)させたソフトウェアパッケージを、インストール部103にユーザアプリ領域104に再インストールさせる。
Further, the
なお、再インストール制御部107に入力される不具合判定情報は、図示しない操作部を介してユーザから入力されてもよい。例えば、再インストール制御部107に接続された操作部は、所定のキー(数字「1」+「5」+「9」を押しつつ電源ボタンON)を押すことで、不具合の判定情報を再インストール制御部107に出力するようにしてもよい。再インストール制御部107では、入力される不具合の判定情報を再インストールの指示情報として受け入れて、再インストール制御を行う。
Note that the defect determination information input to the
また、再インストール制御部107は、システム不具合が発生した際に、パッケージ情報保持部105からパッケージ情報を取得し、この取得したパッケージ情報を、不具合発生時のソフトウェアパッケージの組み合わせを示す情報として不具合通知部111に出力する。つまり、再インストール制御部107は、不具合通知部111によって、不具合が発生したアプリケーションの組み合わせを外部装置(サーバ200)に通知させる。なお、サーバ200は、ネットワーク101を介して本実施の形態と同様に構成された他の組み込み機器によりアクセスでき、サーバ200に格納された不具合となるソフトウェアの組み合わせ情報は、他の組み込み機器のパッケージ取得部により取得される。これにより端組み込み機器のユーザは不具合が発生するアプリケーションの組み合わせを認識することができ、ソフトウェアパッケージのインストールによるシステム不具合の発生を回避することができる。
In addition, when a system failure occurs, the
不具合判定部109は、組み込み機器100において、パッケージ取得部102によりネットワーク101を介してダウンロードしたアプリケーションを起動させた際に、OS自体がフリーズするなど発生した不具合を検出して判定し、不具合が有る場合、不具合判定情報を再インストール制御部107に出力する。
The
不具合通知部111は、不具合判定部109による不具合発生の判定結果により、当該不具合が発生した状態のシステム状況(インストールアプリやネイティブアプリの組み合わせ等)をネットワーク101を介して外部装置に通知する。具体的には、不具合発生通知部111は、不具合判定部109によりシステムの不具合、ここでは新たにソフトウェアパッケージをインストールした際に発生するシステムの不具合が判定された場合、そのときインストールしたソフトウェアパッケージと既にインストールされたソフトウェアパッケージとを示す情報を不具合情報としてネットワーク101に接続されたサーバ200に通知する。
The
なお、これらパッケージ取得部102、インストール部103、ユーザアプリ領域104、パッケージ情報保持部105、削除部106、再インストール制御部107、パッケージ情報取得部108、不具合判定部109及び不具合通知部111の各機能ブロックは、集積回路であるLSIとして実現される。
The
これら各ブロックは個別に1チップ化されてもよいし、一部、または全てを含むように1チップ化されてもよい。ここでは、LSIとしたが、集積度の違いにより、IC(Integrated Circuit)、システムLSI(Large Scale Integration)、スーパーLSI、ウルトラLSIと呼称されることもある。 Each of these blocks may be individually made into one chip, or may be made into one chip so as to include a part or all of them. Although referred to as LSI here, it may be called IC (Integrated Circuit), system LSI (Large Scale Integration), super LSI, or ultra LSI depending on the degree of integration.
また、集積回路化の手法はLSIに限るものではなく、専用回路又は汎用プロセッサで実現してもよい。LSI製造後に、プログラムすることが可能なFPGA(field Programmable Gate Array)や、LSI内部の回路セルの接続や設定を再構成可能なリコンフィギュラブル・プロセッサを利用してもよい。さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行ってもよい。バイオ技術の適応等が可能性としてありえる。 Further, the method of circuit integration is not limited to LSI's, and implementation using dedicated circuitry or general purpose processors is also possible. A field programmable gate array (FPGA) that can be programmed after manufacturing the LSI, or a reconfigurable processor that can reconfigure the connection and setting of circuit cells inside the LSI may be used. Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology. Biotechnology can be applied.
次に、本発明の組み込み機器におけるソフトウェアの再インストール動作について説明する。 Next, a software re-installation operation in the embedded device of the present invention will be described.
先ず、組み込み機器100におけるソフトウェアアプリケーションのインストール方法について図3を参照して説明する。
First, a method for installing a software application in the embedded
図3は、本発明の一実施の形態に係る組み込み機器における通常のインストール時の動作を示すフローチャートである。 FIG. 3 is a flowchart showing an operation during normal installation in the embedded device according to the embodiment of the present invention.
組み込み機器100では通常のインストール時において、先ず、パッケージ取得部102はネットワーク101からソフトウェアアプリケーションパッケージ(インストールパッケージ)をダウンロードして取得する(ステップS11)。
At the time of normal installation in the embedded
ステップS12では、パッケージ情報取得部108が、パッケージ取得部102により取得されたインストールパッケージからパッケージ情報を抽出してダウンロード情報としパッケージ情報保持部105に記録する。
In step S <b> 12, the package
図2に示す例では、システムにインストールされるパッケージの名称(name)がhogehoge Full Browserであり、ダウンロード元(url)がhttp://www.hogehoge.com/browser/mobile/hogehoge10.jarである。また、このhogehoge Full Browserの前にインストールされたパッケージは、ダウンロード元(url)がhttp://www.foge.com/download/fogequest30.jarであるFoge Questと記録されている。 In the example shown in FIG. 2, the name (name) of the package installed in the system is “hogehoge Full Browser”, and the download source (url) is http: // www. hogehoge. com / browser / mobile / hogehoge10. jar. In addition, the package installed before this hogehog full browser has a download source (url) of http: // www. fog. com / download / foguequest30. It is recorded as Fog Quest which is jar.
このようにパッケージ情報保持部105では、インストールしたソフトウェアパッケージ(インストールパッケージ)全てのダウンロード先の情報が記録されている。
As described above, the package
ステップS13では、インストール部103が、パッケージ取得部102により入力されたインストールパッケージを、ユーザアプリ領域104にインストールして処理を終了する。
In step S <b> 13, the installation unit 103 installs the installation package input by the
このように本実施の形態の組み込み機器100では、ネットワーク101を介して、外部から情報資源(ここではソフトウェアアプリケーションパッケージ)を取得(ダウンロード)してインストールする場合、取得した情報資源の所在元情報(例えば、url)を記録する。
As described above, in the embedded
複数のソフトウェアアプリケーションのパッケージをインストールした場合には、アプリケーション情報保持部105は、インストールしたアプリケーションパッケージのそれぞれの所在元を示すダウンロード先の情報(パッケージ情報)を記録する。
When a plurality of software application packages are installed, the application
次いで、システム不具合が発生した場合など、既にインストールされたソフトウェアパッケージ(インストールアプリケーションともいう)の再インストールを行う動作について説明する。 Next, an operation for re-installing an already installed software package (also referred to as an installation application) when a system failure occurs will be described.
図4は、本発明の一実施の形態に係る組み込み機器におけるインストールパッケージを再インストールする動作を示すフローチャートである。 FIG. 4 is a flowchart showing an operation for re-installing the installation package in the embedded device according to the embodiment of the present invention.
図4に示すように、組み込み機器100では、インストールパッケージの再インストールを行う場合、例えば、システム不具合が発生した場合、不具合判定部109が、システムの不具合を検知して、再インストール制御部107に、その旨の信号を出力する。
As shown in FIG. 4, in the embedded
例えば、図2に示すインストールパッケージを有する組み込み機器100において、新たに取得したソフトウェアパッケージをユーザアプリ領域104にインストールした際に、システム不具合が発生した場合、不具合判定部109はそれを検出して判定し、再インストール制御部107に出力する。
For example, in the embedded
すると、ステップS21において、再インストール制御部107は、削除部106にユーザアプリ領域104に記憶された内容を全て削除する。言い換えれば、ステップS21では、再インストール制御部107の指示を受けて、削除部106は、ユーザアプリ領域の全削除を行う。
In step S <b> 21, the
ステップS22では、再インストール制御部107は、パッケージ情報保持部105からパッケージ情報を取得する。
In step S <b> 22, the
ステップS23では、再インストール制御部107は、取得したパッケージ情報を用いて、パッケージ取得部102に、ネットワーク101から再度インストールパッケージをダウンロードさせる。ダウンロードされた再インストールパッケージは、インストール部103に出力される。
In step S <b> 23, the
ステップS24では、再インストール制御部107は、インストール部103に、再ダインロードされた再インストールパッケージをユーザアプリ領域104に再度インストールするよう指示する。これを受けて、インストール部103は、再インストールパッケージを、インストールされたソフトウェアが全削除されたユーザアプリ領域104に、再びインストールする。
In step S <b> 24, the
ステップS25では、再インストール制御部107は、パッケージ情報保持部105内のパッケージ情報から、まだ、インストールしていないインストールパッケージ(ソフトウェアパッケージ)の有無を判定する。
In step S <b> 25, the
ステップS25において、再インストールされていないパッケージが無ければ(ステップS25:No)、処理は終了し、再インストールされていないパッケージが有れば(ステップS25:Yes)、ステップS26に移行する。 In step S25, if there is no package that has not been reinstalled (step S25: No), the process ends. If there is a package that has not been reinstalled (step S25: Yes), the process proceeds to step S26.
ステップS26では、再インストール制御部107は、パッケージ情報保持部105から、まだ再インストールしていないパッケージ(インストールパッケージ)のパッケージ情報(取得先を示す情報)を取得して、ステップS23に移行する。ステップS23では、パッケージ取得部102は、取得したパッケージ情報(再インストールパッケージの取得先)に存在するインストールパッケージを再ダウンロードする。
In step S26, the
なお、ステップS26において、再インストール部107は、パッケージ情報保持部105に保持しているパッケージ情報全てをインストールするようにしたが、これに限らず、再インストール部107に、ユーザにより操作される操作部を接続し、この操作部の操作を介してユーザがインストールするパッケージを選択して、再インストール部107にインストールさせるようにしてもよい。
In step S26, the
このように、組み込み機器100では、ステップS25の処理を、パッケージ保持部105が保持するパッケージ情報(図2に示すダウンロード先を示す情報)全てに対して行うことによって、システム不具合発生前の状態に戻す。
As described above, the embedded
つまり、再インストール制御部107では、インストールパッケージを再インストールすることによって、システムを、インストールによりシステム不具合を生じさせたソフトウェアパッケージのインストール前の状態に復旧させる。
That is, the
このように本実施の形態の組み込み機器100では、少なくとも一つのソフトウェアパッケージをインストールして使用する組み込み機器において、パッケージ取得部102は、ネットワーク101を介してソフトウェアパッケージを取得する。また、取得先情報保持部(パッケージ情報保持部)105は、ソフトウェアパッケージを取得した際のソフトウェアパッケージの取得先情報(パッケージ情報)を保持する。インストール部103は、取得したソフトウェアパッケージを記憶部90のアプリケーション領域(ユーザアプリ領域)104にインストールする。再インストール制御部107は、削除部106に、アプリケーション領域104にインストールされたソフトウェアパッケージを削除させる。また、再インストール制御部107は、削除部106を介してインストール済のソフトウェアパッケージを削除させたアプリケーション領域104に、取得先情報(パッケージ情報)を用いてパッケージ取得部102に再取得させたソフトウェアパッケージを、インストール部103により再インストールさせる。また、不具合判定部109は、ソフトウェアパッケージをインストールした際の機器自体のシステムの不具合発生を判定し、再インストール制御部107は、不具合発生の判定によって、ソフトウェアパッケージを再インストールさせている。なお、ここでは、再インストール制御部107は、不具合の発生直前にインストールされたソフトウェアパッケージの取得先情報以外の取得先情報を用いて、パッケージ取得部102に、再インストールするためのソフトウェアパッケージを再取得させている。
As described above, in the embedded
言い換えれば、組み込み機器100では、ネットワーク101を介して前記ソフトウェアパッケージを取得する際に、取得するソフトウェアパッケージの取得先情報を取得して保持する取得先情報保持ステップと、取得した前記ソフトウェアパッケージを記憶部90のアプリケーション領域にインストールするインストールステップと、前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる再取得ステップと、再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる再インストールステップとを有するソフトウェアの再インストール方法を行う。
In other words, when acquiring the software package via the
よって、本実施の形態の組み込み機器100によれば、インストールした情報資源(ソフトウェアパッケージ)のダウンロード先の情報(ダウンロード情報)のみを保持しておくことによって、バックアップ領域のような大きな記憶領域を必要とすることなく、システムの不具合発生時に元の状態、つまり、不具合が発生する前の状態に戻すことによってシステム不具合からの復旧を行うことができる。つまり、従来と異なり、バックアップ領域等を構成するために、記憶領域を大幅に増設することなく、不具合発生時等において、ソフトウェアを再インストールして、システムを不具合発生前の状態に安全に戻すことができる。
Therefore, according to the embedded
例えば、組み込み機器100において、アプリケーション領域に既にhogehogeと、Foge Questとがインストールされ、これらに加えて新たに他のソフトウェアパッケージをインストールした際に、ソフトウェア(アプリケーション)の組み合わせによってシステム不具合が発生したとする。この場合、組み込み機器100では、削除部106によってアプリケーション領域に既にインストール済のソフトウェアパッケージ(hogehoge及びFoge Quest)の全削除が行われ、当該インストール済のソフトウェアパッケージ(hogehoge及びFoge Questの取得先を示すパッケージ情報を用いて、同ソフトウェアパッケージを再取得する。次いで、これら再取得したソフトウェアパッケージ(hogehoge及びFoge Quest)を再インストールすることによって、組み込み機器100では、不具合発生前のシステムに復元することができる。
For example, in the embedded
また、本実施の形態では、従来と異なり、ファイルのトランザクションの一つ一つを記憶部に保存することなく、ソフトウェアの再インストールを行い、システムの復旧を図ることができる。 Also, in the present embodiment, unlike the conventional case, the software can be reinstalled and the system can be restored without saving each file transaction in the storage unit.
なお、本実施の形態において、パッケージ取得部102は、パッケージ情報を用いて、インストールパッケージをダウンロードするようにしたが、パッケージ情報として記録されている情報よりも、ネットワーク101に新しいバージョンのインストールパッケージのパッケージ情報がある場合、最新のインストールパッケージをダウンロードしてきても良い。
In the present embodiment, the
つまり、本実施の形態の組み込み機器100において、ソフトウェアパッケージをインストールした後の機器自体の不具合発生を判定する不具合判定部109を備え、再インストール制御部107は、不具合発生の判定によって、パッケージ取得部102に、取得先情報が示す取得先から再取得するソフトウェアパッケージの最新バージョンを取得させるようにする。これにより、機器自体の不具合が発生した場合、再インストールするソフトウェアの最新バージョンを取得してインストールすることによって、インストールにより不具合を発生させたソフトウェアパッケージを再びインストールした際のシステム不具合の発生を回避できる。
That is, the embedded
また、本実施の形態の組み込み機器100では、システム不具合発生時において、再インストールを行うものとして説明したが、これに限らず、再インストールの対象となるソフトウェアの取得先の情報であるパッケージ情報を用いて、当該パッケージ情報が示す取得先からソフトウェアパッケージを再インストールするものであればどのような条件で再インストールが行われても良い。
Further, in the embedded
例えば、再インストール制御部107に接続される操作部を設け、操作部を介したユーザの操作によって、再インストール指示が再インストール制御部107に入力されるようにしてもよい。具体的には、アプリケーションのソフトウェアパッケージA、Bがインストールされたシステムにおいて、ソフトウェアパッケージCをインストールした後、ソフトウェアパッケージCのインストール前の状態に戻したい状況などがあり得る。この場合、操作部を介して、再インストール制御部107は、ソフトウェアA、Bの再インストールを行うこととなる。
For example, an operation unit connected to the
また、本実施の形態の組み込み機器100の使用時において、携帯電話の機種変更等、組み込み機器の入替時に、変更前の組み込み機器と同様のシステム上で、同様のソフトウェアを使用したい状況等があり得る。この場合、変更先の機器を本実施の形態と同様の構成にすることによって、変更先の機器で、自動的にソフトウェアの再インストールが行われることとなり、変更前の機種と同様に変更先の組み込み機器を使用することができる。
In addition, when using the embedded
さらに、本実施の形態の組み込み機器100では、不具合通知部111は、システム不具合発生時に、そのときに保持しているダウンロード情報をサーバ200に通知する。
Further, in the embedded
つまり、組み込み機器100では、不具合判定部109により不具合発生が判定された場合、不具合が発生した際にアプリケーション領域(ユーザアプリ領域)104にインストールされたソフトウェアパッケージをネットワーク101に接続される外部装置(サーバ)200に通知する不具合通知部111を備える。
In other words, in the embedded
これにより、他の組み込み機器等における他のシステムのパッケージ取得部に、ネットワーク101を介してサーバ200からその情報を取得させることができる。よって、システム不具合が発生するソフトウェアの組み合わせを、当該ソフトウェアパッケージをダウンロードする前の他ユーザに警告することができる。
Thereby, the package acquisition unit of another system in another embedded device or the like can acquire the information from the
具体的には、不具合発生時に、再インストール部107は、パッケージ保持部105からパッケージを読み込み、この読み込んだパッケージ情報をパッケージ取得部102に出力して、通信機能を有するパッケージ取得部102を介してネットワーク101上のサーバ200に通知するようにする。サーバ200に通知されたパッケージ情報は、組み込み機器100と同様にネットワーク101を介してアクセスできる他の組み込み機器(システム)のパッケージ取得部によって取得される。
Specifically, when a failure occurs, the
この取得したパッケージ情報によって他の組み込み機器は、当該パッケージ情報が示す存在元にあるソフトウェアパッケージをインストールする際に発生するシステム不具合を検出し、同様の不具合を回避することができる。 Based on the acquired package information, other embedded devices can detect a system failure that occurs when installing the software package at the source indicated by the package information, and can avoid the same failure.
また、パッケージ情報保持部105には、パッケージ情報とともに、組み込み機器100にインストール後のソフトウェア(アプリケーション)に対してユーザが使用設定を変更した際の使用設定の状態を示す設定情報を保存するようにしてもよい。これにより、組み込み機器100は、システム不具合発生によってインストール済ソフトウェアを再インストールした後でも、設定情報を用いることによって、インストールしたアプリケーションを、不具合前と同じ設定状態にすることができる。
In addition, the package
なお、パッケージ情報保持部105は、組み込み機器に接続される外部記憶装置や、組み込み機器に着脱自在に接続できる記憶媒体に設けた構成としてもよい。
The package
本実施の形態では、組み込み機器を携帯電話として説明したが、これに限らず、ネットワークに接続できれば、どのような組み込み機器であってもよい。例えば、組み込み機器は、携帯電話、携帯情報機器、カーナビ、家庭用電話機、携帯ゲーム機、家庭用ゲーム機、HDDレコーダ、DVDレコーダ、セットトップボックス、ミシン等としてもよい。また、業務用機器として、通信機器、カラオケ機器等としてもよい。 In this embodiment, the embedded device is described as a mobile phone. However, the present invention is not limited to this, and any embedded device may be used as long as it can be connected to a network. For example, the embedded device may be a mobile phone, a portable information device, a car navigation system, a home phone, a portable game machine, a home game machine, an HDD recorder, a DVD recorder, a set top box, a sewing machine, or the like. Moreover, it is good also as communication equipment, karaoke equipment, etc. as business equipment.
本発明に係る組み込み機器は上記実施の形態に限定されず、種々変更して実施することが可能である。 The embedded device according to the present invention is not limited to the above embodiment, and can be implemented with various modifications.
例えば、本発明に係る組み込み機器は、無線通信システムにおける通信端末装置御及び基地局装置に搭載することが可能であり、これにより上記と同様の作用効果を有する無線通信端末を提供することができる。 For example, the embedded device according to the present invention can be installed in a communication terminal apparatus and a base station apparatus in a wireless communication system, and thereby, a wireless communication terminal having the same operational effects as described above can be provided. .
なお、ここでは、本発明をハードウェアで構成する場合を例にとって説明したが、本発明をソフトウェアで実現することも可能である。例えば、本発明に係る再送方法のアルゴリズムをプログラム言語によって記述し、このプログラムをメモリに記憶しておいて情報処理手段によって実行させることにより、本発明に係る装置と同様の機能を実現することができる。 Here, the case where the present invention is configured by hardware has been described as an example, but the present invention can also be realized by software. For example, a function similar to that of the apparatus according to the present invention can be realized by describing the algorithm of the retransmission method according to the present invention in a program language, storing the program in a memory, and causing the information processing means to execute the algorithm. it can.
つまり、再インストールプログラムは、再インストールのためのパッケージ取得先情報を保存する手順と、ユーザアプリ領域を削除する手順と、システム不具合発生を判定する手順とを有し、コンピュータに導入されて、システム不具合が判定されると、ユーザアプリ領域を削除し、保存されているパッケージ取得先情報を元に、ネットワーク101からソフトウェアパッケージをダウンロードし、再度インストールを行わせる。このように、システムにはパッケージ取得先情報のみを保持しておくことで、システム不具合発生時に復旧することができる。
In other words, the reinstallation program has a procedure for storing package acquisition destination information for reinstallation, a procedure for deleting the user application area, and a procedure for determining occurrence of a system malfunction. If a defect is determined, the user application area is deleted, the software package is downloaded from the
また、本実施の形態は、サンドボックス技術が適用されたソフトウェアパッケージ(アプリケーション)に対しても適用することができる。 The present embodiment can also be applied to a software package (application) to which the sandbox technology is applied.
このような再インストールプログラムは、多大な記憶領域を必要とせずにシステム復旧を行うことができ、記憶領域の限られた組み込み機器等に有用である。また、システム復旧だけでなく、ハードウェアの入れ替え等の用途にも応用できる。 Such a reinstallation program can perform system recovery without requiring a large storage area, and is useful for an embedded device having a limited storage area. Moreover, it can be applied not only to system recovery but also to hardware replacement.
本発明に係る組み込み機器、ソフトウェアの再インストール方法及び再インストールプログラムは、多大な記憶領域を必要とせずにソフトウェアがインストールされたシステムを復旧させることができる効果を有し、ネットワークに接続可能な組み込み機器として有用である。 The embedded device, the software reinstallation method, and the reinstallation program according to the present invention have the effect of being able to restore the system in which the software is installed without requiring a large storage area, and can be connected to a network. Useful as equipment.
90 記憶部
100 組み込み機器
101 ネットワーク
102 パッケージ取得部
103 インストール部
104 ユーザアプリ領域
105 パッケージ情報保持部
106 削除部
107 再インストール制御部
108 パッケージ情報取得部
109 不具合判定部
111 不具合通知部
DESCRIPTION OF
Claims (7)
ネットワークを介して前記ソフトウェアパッケージを取得するパッケージ取得手段と、
前記ソフトウェアパッケージを取得した際の前記ソフトウェアパッケージの取得先情報を保持する取得先情報保持手段と、
取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールするインストール手段と、
前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除手段と、
前記削除手段を介してインストール済のソフトウェアパッケージを削除させた前記アプリケーション領域に、前記取得先情報を用いて前記パッケージ取得手段によって再取得させた前記ソフトウェアパッケージを、前記インストール手段により再インストールさせる再インストール制御手段と、
を有する組み込み機器。 In embedded devices that install and use at least one software package,
Package acquisition means for acquiring the software package via a network;
Acquisition destination information holding means for holding acquisition destination information of the software package when the software package is acquired;
Installation means for installing the acquired software package in the application area of the storage unit;
Deleting means for deleting the software package installed in the application area;
Reinstallation in which the software package re-acquired by the package acquisition unit using the acquisition source information is reinstalled by the installation unit in the application area in which the software package already installed through the deletion unit is deleted Control means;
Built-in equipment with.
前記再インストール制御手段は、不具合発生の判定によって、前記ソフトウェアパッケージを再インストールさせる請求項1記載の組み込み機器。 A failure determination means for determining the occurrence of a failure in the system of the device itself when the software package is installed;
The embedded device according to claim 1, wherein the re-installation control unit re-installs the software package when it is determined that a problem has occurred.
前記再インストール制御手段は、不具合発生の判定によって、前記パッケージ取得手段に、前記取得先情報が示す取得先から再取得するソフトウェアパッケージの最新バージョンを取得させる請求項1記載の組み込み機器。 A failure determination means for determining occurrence of a failure in the device itself after installing the software package;
The embedded device according to claim 1, wherein the reinstallation control unit causes the package acquisition unit to acquire the latest version of the software package to be reacquired from the acquisition destination indicated by the acquisition destination information, based on the determination of occurrence of a defect.
取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールするインストールステップと、
前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、
保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる再取得ステップと、
再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる再インストールステップとを有するソフトウェアの再インストール方法。 An acquisition destination information holding step of acquiring and holding acquisition destination information of the software package to be acquired when acquiring the software package via a network;
An installation step of installing the acquired software package in the application area of the storage unit;
If there is an instruction to reinstall the software package, a deletion step of deleting the software package installed in the application area;
A reacquisition step for reacquiring the previously acquired software package from the acquisition destination indicated by the acquisition destination information using the acquired acquisition destination information;
A software re-installation method comprising: a re-install step of re-installing the re-acquired software package in the application area.
取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールする手順と、
前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、
保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる手順と、
再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる手順と、
をコンピュータに実行させるための再インストールプログラム。 When acquiring the software package via the network, acquiring and holding acquisition destination information of the software package to be acquired; and
A procedure for installing the acquired software package in an application area of a storage unit;
If there is an instruction to reinstall the software package, a deletion step of deleting the software package installed in the application area;
Using the acquired acquisition destination information, from the acquisition destination indicated by the acquisition destination information, a procedure for reacquiring the previously acquired software package;
A procedure for causing the re-acquired software package to be reinstalled in the application area;
Reinstall program to make computer run.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007187572A JP2009026011A (en) | 2007-07-18 | 2007-07-18 | Built-in apparatus, reinstallation method of software, and reinstallation program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007187572A JP2009026011A (en) | 2007-07-18 | 2007-07-18 | Built-in apparatus, reinstallation method of software, and reinstallation program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009026011A true JP2009026011A (en) | 2009-02-05 |
Family
ID=40397771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007187572A Pending JP2009026011A (en) | 2007-07-18 | 2007-07-18 | Built-in apparatus, reinstallation method of software, and reinstallation program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009026011A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015533236A (en) * | 2013-01-25 | 2015-11-19 | グーグル・インコーポレーテッド | System, method and computer program product for managing data reinstallation |
-
2007
- 2007-07-18 JP JP2007187572A patent/JP2009026011A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015533236A (en) * | 2013-01-25 | 2015-11-19 | グーグル・インコーポレーテッド | System, method and computer program product for managing data reinstallation |
US9767287B2 (en) | 2013-01-25 | 2017-09-19 | Google Inc. | Systems, methods, and computer program products for managing data re-installation |
US10521589B2 (en) | 2013-01-25 | 2019-12-31 | Google Llc | Systems, methods, and computer program products for managing data re-installation |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5346253B2 (en) | Firmware update system, information device, and program | |
US9098306B2 (en) | Image forming apparatus, program updating method and computer-readable storage medium | |
JP4671198B2 (en) | Information processing device | |
CN109634774B (en) | Data backup and recovery method and device | |
TWI396076B (en) | Wireless handset, nonvolatile memory for wireless handset, and method for failsafe preservation of diagnostic information | |
CN102334100A (en) | Program update device, program update method, and information processing device | |
CN103577567A (en) | Method for uninstalling application and deleting garbage file in Android system | |
JP2007249340A (en) | Software update method, update management program and information processor | |
JP2008305404A (en) | System, method and program product for backing up data | |
WO2013044794A1 (en) | Terminal backup and recovery method | |
CN102346673A (en) | Method and device for upgrading mobile phone system | |
CN107943501A (en) | Embedded device upgrade method, device, computer equipment and storage medium | |
CN104572354A (en) | Backup and restoration method for operating system based on restoration service and equipment thereof | |
JP2004295462A (en) | Recovery processing method, execution system of the same, and processing program of the same | |
KR101085681B1 (en) | System and method for recovering data in mobile terminal | |
CN104765631A (en) | Restoration method and device for application program of mobile terminal | |
KR100648817B1 (en) | Automatic firmware update system and a method for the same | |
CN110633096A (en) | Node control method and device, version control method and device and distributed system | |
US20130067447A1 (en) | State Machine Based Package Installation | |
JP2017228246A (en) | Information processing apparatus, information processing system, program, and information processing method | |
JP2009026011A (en) | Built-in apparatus, reinstallation method of software, and reinstallation program | |
JP2008171241A (en) | Backup device and restoration method | |
KR100832269B1 (en) | Program update method and system for wireless communication terminal | |
US9940334B2 (en) | Image forming apparatus and control method thereof | |
JP2007257156A (en) | Restore system and restore method |