JP2009026011A - Built-in apparatus, reinstallation method of software, and reinstallation program - Google Patents

Built-in apparatus, reinstallation method of software, and reinstallation program Download PDF

Info

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
Application number
JP2007187572A
Other languages
Japanese (ja)
Inventor
Toshimasa Takagi
利匡 高木
Kazunari Yamada
一成 山田
Akino Inoue
あきの 井上
Toshio Oka
敏夫 岡
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007187572A priority Critical patent/JP2009026011A/en
Publication of JP2009026011A publication Critical patent/JP2009026011A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reinstall software for restoring a system to its original condition without carrying out great additional installation of a storage area when a fault and the like occurs. <P>SOLUTION: A package acquisition part 102 acquires a software package through a network 101. A package information holding part 105 holds package information of a software package in its acquisition. An installation part 103 installs the acquired software package in an application field 104. A reinstallation control part 107 makes the installation part 103 reinstall a software package reacquired by using the package information acquired via the package acquisition part 102 in an application field 104, from which an already installed software package is erased by a deletion part 106. <P>COPYRIGHT: (C)2009,JPO&INPIT

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 storage device 6 via the OS 5. When a system failure occurs, the restoration processing unit 8 performs the restoration process by causing the extraction information management unit 4 to extract information stored in the storage device 6.

また、図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 deinstaller 31 in the computer device 30 re-installs the installer 33, software 34, and deinstaller 31 installed on the fixed disk 3 of the computer device 30 on an external recording medium or the like according to the installation information 32. Save as installation software 35. Further, installation information 32a necessary for re-installation is created and stored from the registry information 36 and installation information 32 of the corresponding software 34 registered in the registry. If user data 37 created by the software 34 exists, the user data 37 is also saved. The reinstallation software 35 is used to reinstall the computer device 30.

すなわち、図6に示すコンピュータ装置30は、当該コンピュータ装置30にインストールされたインストールソフト38を削除(デインストール)する場合、再インストールソフト35を生成してシステムの復旧に対応する。
特開平9−146762号公報(9頁、図1) 特開2006−260163号公報(24頁、図11)
That is, when deleting the installation software 38 installed in the computer device 30 (deinstallation), the computer device 30 shown in FIG.
Japanese Patent Laid-Open No. 9-146762 (page 9, FIG. 1) JP 2006-260163 A (page 24, FIG. 11)

しかしながら、上述した従来の構成では、システムファイルを記憶装置6にバックアップしたり、削除するインストールソフト38を再インストールソフト35として保持しておいたりする必要がある。   However, in the conventional configuration described above, it is necessary to back up the system file in the storage device 6 and to retain the installation software 38 to be deleted as the reinstallation software 35.

このため、システム自体にバックアップや再インストールソフトを保持する記憶領域が必要となり、携帯電話のような組み込み機器において、上記再インストール技術を実現する際には価格の高い記憶領域を倍以上増設しなければならないという課題を有していた。   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 device 100 is operated by a system in which a reinstallation program is applied to an OS, and is connected to a network 101.

組み込み機器100は、ネットワーク101を介してアプリケーションパッケージを取得するパッケージ取得部102と、インストール部103と、ユーザアプリ領域104と、パッケージ情報保持部105と、削除部106と、再インストール制御部107と、パッケージ情報取得部108と、不具合判定部109と、不具合通知部111とを有する。   The embedded device 100 includes a package acquisition unit 102 that acquires an application package via the network 101, an installation unit 103, a user application area 104, a package information holding unit 105, a deletion unit 106, and a reinstallation control unit 107. A package information acquisition unit 108, a defect determination unit 109, and a defect notification unit 111.

パッケージ取得部102は、ネットワーク101を介して、OS上で動作させるソフトウェアパッケージをダウンロードによって取得して、インストール部103に出力する。また、パッケージ取得部102は、ネットワーク101を介してサーバ200にアクセスして、サーバ200に格納された情報を取得できる。   The package acquisition unit 102 acquires a software package to be operated on the OS by downloading via the network 101, and outputs it to the installation unit 103. In addition, the package acquisition unit 102 can access the server 200 via the network 101 and acquire information stored in the server 200.

パッケージ情報取得部108は、パッケージ取得部102により取得されたソフトウェアパッケージから、ソフトウェアパッケージに関するパッケージ情報を抽出し、パッケージ情報保持部105に保持させる。   The package information acquisition unit 108 extracts package information related to the software package from the software package acquired by the package acquisition unit 102 and causes the package information holding unit 105 to hold the package information.

インストール部103は、パッケージ取得部102を介して取得したソフトウェアパッケージ(具体的には、取得したソフトウェアアプリケーション)を記憶部90のユーザアプリ領域104にインストールして、動作可能な使用状態にする。   The installation unit 103 installs the software package (specifically, the acquired software application) acquired via the package acquisition unit 102 in the user application area 104 of the storage unit 90 to make it operable.

また、インストール部103は、再インストール制御部107から、パッケージ取得部102により取得されたソフトウェアパッケージの再インストールの指示を受けて、パッケージ取得部102により再取得されたソフトウェアパッケージをユーザアプリ領域104に再インストールする。   In addition, the installation unit 103 receives an instruction to reinstall the software package acquired by the package acquisition unit 102 from the reinstallation control unit 107, and stores the software package acquired again by the package acquisition unit 102 in the user application area 104. Reinstall.

ユーザアプリ領域104は、記憶部90における読み書き自在の領域であり、インストール部103を介してパッケージ取得部102が取得したソフトウェアパッケージがインストールされて保存される。ユーザアプリ領域104に保存されたソフトウェアパッケージは、OSのプログラムに組み込まれて、OS上で起動するようになる。なお、記憶部90は、ソフトウェアパッケージ(「アプリケーション」ともいう)がインストールされるユーザアプリ領域の他に、システムプログラムが保存されるシステム領域及び、アプリケーションなどで用いられる電話帳、カメラ画像などのユーザデータが格納されるデータ領域とを有する。   The user application area 104 is a readable / writable area in the storage unit 90, and the software package acquired by the package acquisition unit 102 via the installation unit 103 is installed and stored. The software package stored in the user application area 104 is incorporated into the OS program and starts on the OS. In addition to the user application area in which a software package (also referred to as “application”) is installed, the storage unit 90 includes a system area in which a system program is stored, and a user such as a phone book and a camera image used in the application. And a data area in which data is stored.

パッケージ情報保持部105は、パッケージ情報取得部108によりソフトウェアパッケージから取得されたパッケージ情報を保持する。パッケージ情報保持部105としては、記憶部90においてアプリケーションがインストールされるユーザアプリ領域104とは異なる領域が用いられる。例えば、パッケージ情報保持部105としては、記憶部90において、電話帳、カメラ撮像画像など、使用してもシステム自体に不具合が発生しにくいデータを記憶するユーザデータ領域が用いられる。なお、このパッケージ情報保持部105は、記憶部90において読み書き自在であれば、どこに設けられてもよく、例えば、複数のディレクトリを重ね、1つのディレクトリとして扱うことができるシステムであるUnionFS(登録商標)や、KNOPPIX(登録商標)のファイル技術を用いた場合、記憶部90においてリードオンリであるシステム領域に存在するものとしてもよい。   The package information holding unit 105 holds the package information acquired from the software package by the package information acquisition unit 108. As the package information holding unit 105, an area different from the user application area 104 in which an application is installed in the storage unit 90 is used. For example, the package information holding unit 105 uses a user data area in the storage unit 90 that stores data such as a telephone directory and camera-captured images that are unlikely to cause problems in the system itself even when used. The package information holding unit 105 may be provided anywhere as long as it is readable and writable in the storage unit 90. For example, UnionFS (registered trademark) which is a system that can stack a plurality of directories and handle them as one directory. ) Or the file technology of KNOPPIX (registered trademark), it may exist in a system area that is read-only in the storage unit 90.

パッケージ情報保持部105により保持されるパッケージ情報は、取得したソフトウェアパッケージの所在先の情報を含む。具体的には、パッケージ情報は、インターネット上に存在するソフトウェアパッケージの場所を指し示す取得先の情報であり、例えば、情報の種類やサーバ名、ポート番号、フォルダ名、ファイル名などで構成されている。   The package information held by the package information holding unit 105 includes information on the location of the acquired software package. Specifically, the package information is information on the acquisition destination that indicates the location of the software package existing on the Internet, and includes, for example, the type of information, server name, port number, folder name, file name, and the like. .

ここでは、パッケージ情報保持部105は、保持するパッケージ情報として、インストールしたソフトウェアパッケージの名称と、存在した場所(取得元)を示すURL(Uniform Resource Locator)とを保存する。   Here, the package information holding unit 105 saves the name of the installed software package and the URL (Uniform Resource Locator) indicating the location (acquisition source) as the package information to be held.

図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 device 100 are described together with the download sources (url) of the respective packages.

図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 information holding unit 105, the download source (url) is http: // www. hogehoge. com / browser / mobile / hogehoge10. jar, a package with a name (name) of “hogehoge Full Browser” and a download source (url) of http: // www. fog. com / download / foguequest30. A package having a name (name) of “Fog Quest” which is a jar is recorded.

このようなパッケージ情報を保持するパッケージ情報保持部105は、再インストール制御部107によってパッケージ情報を読み取られる。   The package information holding unit 105 that holds such package information is read by the reinstallation control unit 107.

削除部106は、再インストール制御部107の全削除指示によりユーザアプリ領域104に記憶されている、インストールされたアプリケーション(インストール済みのソフトウェアアプリケーション)を全て削除する。   The deletion unit 106 deletes all installed applications (installed software applications) stored in the user application area 104 in accordance with a full deletion instruction from the reinstallation control unit 107.

再インストール制御部107は、再インストール指示を受けて、削除部106、インストール部103、パッケージ取得部102、パッケージ情報保持部105を用いて先にインストールしたソフトウェアの再インストールを行う。   In response to the reinstallation instruction, the reinstallation control unit 107 reinstalls the previously installed software using the deletion unit 106, the installation unit 103, the package acquisition unit 102, and the package information holding unit 105.

ここでは、再インストール制御部107に入力される再インストール指示は、不具合判定部109からのシステム不具合発生を示す不具合判定情報としている。すなわち、本実施の形態では、不具合判定情報が入力された際に、つまり、システム不具合が発生した場合、再インストール制御部107は、ユーザアプリ領域104にインストールされたソフトウェアパッケージの再インストールを行う。   Here, the reinstallation instruction input to the reinstallation control unit 107 is defect determination information indicating the occurrence of a system defect from the defect determination unit 109. That is, in the present embodiment, when the failure determination information is input, that is, when a system failure occurs, the reinstallation control unit 107 reinstalls the software package installed in the user application area 104.

具体的には、再インストール制御部107は、システム不具合が発生した時に、削除部106にユーザアプリ領域104に記憶されたアプリケーションの全削除を指示し、ユーザアプリ領域104の全てのインストールアプリケーションを削除させる。   Specifically, when a system failure occurs, the reinstallation control unit 107 instructs the deletion unit 106 to delete all the applications stored in the user application area 104, and deletes all installed applications in the user application area 104. Let

また、再インストール制御部107は、不具合が発生した際に、パッケージ情報保持部105からパッケージ情報を取得し、この取得したパッケージ情報を用いて、パッケージ取得部102に、ネットワーク101を介して、同パッケージ情報が示すソフトウェアパッケージを再ダウンロードさせる。   In addition, when a failure occurs, the reinstallation control unit 107 acquires package information from the package information holding unit 105, and uses the acquired package information to send the package information to the package acquisition unit 102 via the network 101. Re-download the software package indicated by the package information.

さらに、再インストール制御部107は、不具合が発生した際に、インストール部103にソフトウェアパッケージの再インストール指示を行う。つまり、再インストール制御部107は、パッケージ取得部102に再ダウンロード(再取得)させたソフトウェアパッケージを、インストール部103にユーザアプリ領域104に再インストールさせる。   Further, the reinstallation control unit 107 instructs the installation unit 103 to reinstall the software package when a failure occurs. That is, the reinstallation control unit 107 causes the installation unit 103 to reinstall the software package re-downloaded (re-acquired) by the package acquisition unit 102 in the user application area 104.

なお、再インストール制御部107に入力される不具合判定情報は、図示しない操作部を介してユーザから入力されてもよい。例えば、再インストール制御部107に接続された操作部は、所定のキー(数字「1」+「5」+「9」を押しつつ電源ボタンON)を押すことで、不具合の判定情報を再インストール制御部107に出力するようにしてもよい。再インストール制御部107では、入力される不具合の判定情報を再インストールの指示情報として受け入れて、再インストール制御を行う。   Note that the defect determination information input to the reinstallation control unit 107 may be input from the user via an operation unit (not shown). For example, the operation unit connected to the reinstallation control unit 107 reinstalls the failure determination information by pressing a predetermined key (the power button ON while pressing the numbers “1” + “5” + “9”). You may make it output to the control part 107. FIG. The reinstallation control unit 107 accepts the input defect determination information as reinstallation instruction information, and performs reinstallation control.

また、再インストール制御部107は、システム不具合が発生した際に、パッケージ情報保持部105からパッケージ情報を取得し、この取得したパッケージ情報を、不具合発生時のソフトウェアパッケージの組み合わせを示す情報として不具合通知部111に出力する。つまり、再インストール制御部107は、不具合通知部111によって、不具合が発生したアプリケーションの組み合わせを外部装置(サーバ200)に通知させる。なお、サーバ200は、ネットワーク101を介して本実施の形態と同様に構成された他の組み込み機器によりアクセスでき、サーバ200に格納された不具合となるソフトウェアの組み合わせ情報は、他の組み込み機器のパッケージ取得部により取得される。これにより端組み込み機器のユーザは不具合が発生するアプリケーションの組み合わせを認識することができ、ソフトウェアパッケージのインストールによるシステム不具合の発生を回避することができる。   In addition, when a system failure occurs, the reinstallation control unit 107 acquires package information from the package information holding unit 105, and notifies the defect information as information indicating a combination of software packages when the failure occurs. Output to the unit 111. That is, the reinstallation control unit 107 causes the failure notification unit 111 to notify the external device (server 200) of the combination of applications in which a failure has occurred. Note that the server 200 can be accessed by other embedded devices configured in the same manner as in the present embodiment via the network 101, and the combination information of the software that is stored in the server 200 is a package of another embedded device. Acquired by the acquisition unit. As a result, the user of the embedded device can recognize the combination of applications in which the problem occurs, and can avoid the occurrence of a system problem due to the installation of the software package.

不具合判定部109は、組み込み機器100において、パッケージ取得部102によりネットワーク101を介してダウンロードしたアプリケーションを起動させた際に、OS自体がフリーズするなど発生した不具合を検出して判定し、不具合が有る場合、不具合判定情報を再インストール制御部107に出力する。   The defect determination unit 109 detects and determines a defect that has occurred, for example, when the application downloaded by the package acquisition unit 102 via the network 101 is activated in the embedded device 100, and has a defect. In this case, the failure determination information is output to the reinstallation control unit 107.

不具合通知部111は、不具合判定部109による不具合発生の判定結果により、当該不具合が発生した状態のシステム状況(インストールアプリやネイティブアプリの組み合わせ等)をネットワーク101を介して外部装置に通知する。具体的には、不具合発生通知部111は、不具合判定部109によりシステムの不具合、ここでは新たにソフトウェアパッケージをインストールした際に発生するシステムの不具合が判定された場合、そのときインストールしたソフトウェアパッケージと既にインストールされたソフトウェアパッケージとを示す情報を不具合情報としてネットワーク101に接続されたサーバ200に通知する。   The defect notifying unit 111 notifies the external device via the network 101 of the system state (a combination of an installed application and a native application) in a state where the defect has occurred, based on the determination result of the defect occurrence by the defect determining unit 109. Specifically, when the failure determination unit 109 determines that a failure in the system, here, a failure in the system that occurs when a new software package is installed, the software package installed at that time Information indicating the already installed software package is notified to the server 200 connected to the network 101 as defect information.

なお、これらパッケージ取得部102、インストール部103、ユーザアプリ領域104、パッケージ情報保持部105、削除部106、再インストール制御部107、パッケージ情報取得部108、不具合判定部109及び不具合通知部111の各機能ブロックは、集積回路であるLSIとして実現される。   The package acquisition unit 102, the installation unit 103, the user application area 104, the package information holding unit 105, the deletion unit 106, the reinstallation control unit 107, the package information acquisition unit 108, the defect determination unit 109, and the defect notification unit 111. The functional block is realized as an LSI that is an integrated circuit.

これら各ブロックは個別に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 device 100 will be described with reference to FIG.

図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 device 100, first, the package acquisition unit 102 downloads and acquires a software application package (installation package) from the network 101 (step S11).

ステップS12では、パッケージ情報取得部108が、パッケージ取得部102により取得されたインストールパッケージからパッケージ情報を抽出してダウンロード情報としパッケージ情報保持部105に記録する。   In step S <b> 12, the package information acquisition unit 108 extracts package information from the installation package acquired by the package acquisition unit 102 and records it as download information in the package information holding unit 105.

図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 information holding unit 105 records information about the download destinations of all installed software packages (installed packages).

ステップS13では、インストール部103が、パッケージ取得部102により入力されたインストールパッケージを、ユーザアプリ領域104にインストールして処理を終了する。   In step S <b> 13, the installation unit 103 installs the installation package input by the package acquisition unit 102 in the user application area 104 and ends the process.

このように本実施の形態の組み込み機器100では、ネットワーク101を介して、外部から情報資源(ここではソフトウェアアプリケーションパッケージ)を取得(ダウンロード)してインストールする場合、取得した情報資源の所在元情報(例えば、url)を記録する。   As described above, in the embedded device 100 according to the present embodiment, when information resources (here, software application packages) are acquired (downloaded) from the outside via the network 101 and installed, the location information of the acquired information resources ( For example, url) is recorded.

複数のソフトウェアアプリケーションのパッケージをインストールした場合には、アプリケーション情報保持部105は、インストールしたアプリケーションパッケージのそれぞれの所在元を示すダウンロード先の情報(パッケージ情報)を記録する。   When a plurality of software application packages are installed, the application information holding unit 105 records download destination information (package information) indicating the location of each installed application package.

次いで、システム不具合が発生した場合など、既にインストールされたソフトウェアパッケージ(インストールアプリケーションともいう)の再インストールを行う動作について説明する。   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 device 100, when the installation package is reinstalled, for example, when a system failure occurs, the failure determination unit 109 detects the system failure and notifies the reinstallation control unit 107. , A signal to that effect is output.

例えば、図2に示すインストールパッケージを有する組み込み機器100において、新たに取得したソフトウェアパッケージをユーザアプリ領域104にインストールした際に、システム不具合が発生した場合、不具合判定部109はそれを検出して判定し、再インストール制御部107に出力する。   For example, in the embedded device 100 having the installation package shown in FIG. 2, if a system failure occurs when a newly acquired software package is installed in the user application area 104, the failure determination unit 109 detects and determines it. And output to the reinstallation control unit 107.

すると、ステップS21において、再インストール制御部107は、削除部106にユーザアプリ領域104に記憶された内容を全て削除する。言い換えれば、ステップS21では、再インストール制御部107の指示を受けて、削除部106は、ユーザアプリ領域の全削除を行う。   In step S <b> 21, the reinstallation control unit 107 deletes all the contents stored in the user application area 104 in the deletion unit 106. In other words, in step S21, upon receiving an instruction from the reinstallation control unit 107, the deletion unit 106 deletes all user application areas.

ステップS22では、再インストール制御部107は、パッケージ情報保持部105からパッケージ情報を取得する。   In step S <b> 22, the reinstallation control unit 107 acquires package information from the package information holding unit 105.

ステップS23では、再インストール制御部107は、取得したパッケージ情報を用いて、パッケージ取得部102に、ネットワーク101から再度インストールパッケージをダウンロードさせる。ダウンロードされた再インストールパッケージは、インストール部103に出力される。   In step S <b> 23, the reinstallation control unit 107 causes the package acquisition unit 102 to download the installation package from the network 101 again using the acquired package information. The downloaded re-installation package is output to the installation unit 103.

ステップS24では、再インストール制御部107は、インストール部103に、再ダインロードされた再インストールパッケージをユーザアプリ領域104に再度インストールするよう指示する。これを受けて、インストール部103は、再インストールパッケージを、インストールされたソフトウェアが全削除されたユーザアプリ領域104に、再びインストールする。   In step S <b> 24, the reinstallation control unit 107 instructs the installation unit 103 to install the reinstalled reload package again in the user application area 104. In response to this, the installation unit 103 installs the reinstallation package again in the user application area 104 from which all installed software has been deleted.

ステップS25では、再インストール制御部107は、パッケージ情報保持部105内のパッケージ情報から、まだ、インストールしていないインストールパッケージ(ソフトウェアパッケージ)の有無を判定する。   In step S <b> 25, the reinstallation control unit 107 determines from the package information in the package information holding unit 105 whether there is an installation package (software package) that has not been installed yet.

ステップ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 reinstallation control unit 107 acquires package information (information indicating an acquisition destination) of a package (installation package) that has not been reinstalled from the package information holding unit 105, and proceeds to step S23. In step S23, the package acquisition unit 102 re-downloads the installation package that exists in the acquired package information (reinstallation package acquisition destination).

なお、ステップS26において、再インストール部107は、パッケージ情報保持部105に保持しているパッケージ情報全てをインストールするようにしたが、これに限らず、再インストール部107に、ユーザにより操作される操作部を接続し、この操作部の操作を介してユーザがインストールするパッケージを選択して、再インストール部107にインストールさせるようにしてもよい。   In step S26, the reinstallation unit 107 installs all the package information held in the package information holding unit 105. However, the present invention is not limited to this, and an operation operated by the user on the reinstallation unit 107 is not limited thereto. May be connected to each other, and a package to be installed by the user may be selected through the operation of the operation unit, and the reinstallation unit 107 may install the package.

このように、組み込み機器100では、ステップS25の処理を、パッケージ保持部105が保持するパッケージ情報(図2に示すダウンロード先を示す情報)全てに対して行うことによって、システム不具合発生前の状態に戻す。   As described above, the embedded device 100 performs the process of step S25 on all the package information (information indicating the download destination illustrated in FIG. 2) held by the package holding unit 105, thereby bringing the system into a state before the occurrence of the system failure. return.

つまり、再インストール制御部107では、インストールパッケージを再インストールすることによって、システムを、インストールによりシステム不具合を生じさせたソフトウェアパッケージのインストール前の状態に復旧させる。   That is, the reinstallation control unit 107 restores the system to the state before the installation of the software package that caused the system malfunction by the installation by reinstalling the installation package.

このように本実施の形態の組み込み機器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 device 100 according to the present embodiment, in the embedded device that installs and uses at least one software package, the package acquisition unit 102 acquires the software package via the network 101. The acquisition destination information holding unit (package information holding unit) 105 holds the acquisition destination information (package information) of the software package when the software package is acquired. The installation unit 103 installs the acquired software package in the application area (user application area) 104 of the storage unit 90. The reinstallation control unit 107 causes the deletion unit 106 to delete the software package installed in the application area 104. Further, the reinstallation control unit 107 causes the package acquisition unit 102 to re-acquire the software package in the application area 104 in which the installed software package is deleted via the deletion unit 106 using the acquisition destination information (package information). Are reinstalled by the installation unit 103. Further, the defect determination unit 109 determines the occurrence of a defect in the system of the device itself when the software package is installed, and the reinstallation control unit 107 reinstalls the software package based on the determination of the occurrence of the defect. Here, the reinstallation control unit 107 uses the acquisition destination information other than the acquisition destination information of the software package installed immediately before the occurrence of the defect to re-install the software package to be reinstalled in the package acquisition unit 102. I get it.

言い換えれば、組み込み機器100では、ネットワーク101を介して前記ソフトウェアパッケージを取得する際に、取得するソフトウェアパッケージの取得先情報を取得して保持する取得先情報保持ステップと、取得した前記ソフトウェアパッケージを記憶部90のアプリケーション領域にインストールするインストールステップと、前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる再取得ステップと、再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる再インストールステップとを有するソフトウェアの再インストール方法を行う。   In other words, when acquiring the software package via the network 101, the embedded device 100 stores the acquisition destination information holding step for acquiring and holding the 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 unit 90 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, A reacquisition step for reacquiring the previously acquired software package from the acquisition destination indicated by the acquisition destination information, and the reacquired software package is reinstalled in the application area. To re-installing the software and a re-installation step that.

よって、本実施の形態の組み込み機器100によれば、インストールした情報資源(ソフトウェアパッケージ)のダウンロード先の情報(ダウンロード情報)のみを保持しておくことによって、バックアップ領域のような大きな記憶領域を必要とすることなく、システムの不具合発生時に元の状態、つまり、不具合が発生する前の状態に戻すことによってシステム不具合からの復旧を行うことができる。つまり、従来と異なり、バックアップ領域等を構成するために、記憶領域を大幅に増設することなく、不具合発生時等において、ソフトウェアを再インストールして、システムを不具合発生前の状態に安全に戻すことができる。   Therefore, according to the embedded device 100 of the present embodiment, a large storage area such as a backup area is required by holding only the information (download information) of the download destination of the installed information resource (software package). However, it is possible to recover from the system malfunction by returning to the original state when the system malfunction occurs, that is, the state before the malfunction occurred. In other words, unlike the conventional case, in order to configure a backup area etc., the software can be reinstalled in the event of a malfunction, etc. without significantly increasing the storage area, and the system can be safely returned to the state before the malfunction occurred. Can do.

例えば、組み込み機器100において、アプリケーション領域に既にhogehogeと、Foge Questとがインストールされ、これらに加えて新たに他のソフトウェアパッケージをインストールした際に、ソフトウェア(アプリケーション)の組み合わせによってシステム不具合が発生したとする。この場合、組み込み機器100では、削除部106によってアプリケーション領域に既にインストール済のソフトウェアパッケージ(hogehoge及びFoge Quest)の全削除が行われ、当該インストール済のソフトウェアパッケージ(hogehoge及びFoge Questの取得先を示すパッケージ情報を用いて、同ソフトウェアパッケージを再取得する。次いで、これら再取得したソフトウェアパッケージ(hogehoge及びFoge Quest)を再インストールすることによって、組み込み機器100では、不具合発生前のシステムに復元することができる。   For example, in the embedded device 100, when hogehoge and Fogue Quest are already installed in the application area, and another software package is newly installed in addition to these, a system failure occurs due to a combination of software (applications). To do. In this case, in the embedded device 100, the deletion unit 106 deletes all the software packages (hogehoge and Fogue Quest) already installed in the application area, and indicates the acquisition destination of the installed software packages (hogehoge and Fogue Quest). The software package is re-acquired using the package information, and then the re-acquired software package (hogehoge and Fogue Quest) is reinstalled, so that the embedded device 100 can restore the system before the occurrence of the failure. it can.

また、本実施の形態では、従来と異なり、ファイルのトランザクションの一つ一つを記憶部に保存することなく、ソフトウェアの再インストールを行い、システムの復旧を図ることができる。   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 package acquisition unit 102 uses the package information to download the installation package. However, a newer version of the installation package is downloaded to the network 101 than the information recorded as the package information. If there is package information, the latest installation package may be downloaded.

つまり、本実施の形態の組み込み機器100において、ソフトウェアパッケージをインストールした後の機器自体の不具合発生を判定する不具合判定部109を備え、再インストール制御部107は、不具合発生の判定によって、パッケージ取得部102に、取得先情報が示す取得先から再取得するソフトウェアパッケージの最新バージョンを取得させるようにする。これにより、機器自体の不具合が発生した場合、再インストールするソフトウェアの最新バージョンを取得してインストールすることによって、インストールにより不具合を発生させたソフトウェアパッケージを再びインストールした際のシステム不具合の発生を回避できる。   That is, the embedded device 100 according to the present embodiment includes a failure determination unit 109 that determines whether a failure has occurred in the device itself after the software package is installed, and the reinstallation control unit 107 determines whether a failure has occurred, 102 causes the latest version of the software package to be reacquired from the acquisition destination indicated by the acquisition destination information to be acquired. As a result, if a malfunction occurs in the device itself, the latest version of the software to be reinstalled is acquired and installed, thereby avoiding the occurrence of a system malfunction when the software package that caused the malfunction is installed again. .

また、本実施の形態の組み込み機器100では、システム不具合発生時において、再インストールを行うものとして説明したが、これに限らず、再インストールの対象となるソフトウェアの取得先の情報であるパッケージ情報を用いて、当該パッケージ情報が示す取得先からソフトウェアパッケージを再インストールするものであればどのような条件で再インストールが行われても良い。   Further, in the embedded device 100 of the present embodiment, it has been described that re-installation is performed when a system failure occurs. However, the present invention is not limited to this, and package information that is information on the acquisition destination of software to be reinstalled is stored. Reinstallation may be performed under any conditions as long as the software package is reinstalled from the acquisition destination indicated by the package information.

例えば、再インストール制御部107に接続される操作部を設け、操作部を介したユーザの操作によって、再インストール指示が再インストール制御部107に入力されるようにしてもよい。具体的には、アプリケーションのソフトウェアパッケージA、Bがインストールされたシステムにおいて、ソフトウェアパッケージCをインストールした後、ソフトウェアパッケージCのインストール前の状態に戻したい状況などがあり得る。この場合、操作部を介して、再インストール制御部107は、ソフトウェアA、Bの再インストールを行うこととなる。   For example, an operation unit connected to the reinstallation control unit 107 may be provided, and a reinstallation instruction may be input to the reinstallation control unit 107 by a user operation via the operation unit. Specifically, in a system in which the software packages A and B of the application are installed, there may be situations where it is desired to return to the state before the software package C is installed after the software package C is installed. In this case, the reinstallation control unit 107 reinstalls the software A and B via the operation unit.

また、本実施の形態の組み込み機器100の使用時において、携帯電話の機種変更等、組み込み機器の入替時に、変更前の組み込み機器と同様のシステム上で、同様のソフトウェアを使用したい状況等があり得る。この場合、変更先の機器を本実施の形態と同様の構成にすることによって、変更先の機器で、自動的にソフトウェアの再インストールが行われることとなり、変更前の機種と同様に変更先の組み込み機器を使用することができる。   In addition, when using the embedded device 100 of the present embodiment, there are situations where it is desired to use the same software on the same system as the embedded device before the change when replacing the embedded device, such as changing the model of the mobile phone. obtain. In this case, by configuring the change destination device in the same configuration as in the present embodiment, software will be automatically reinstalled on the change destination device, and the change destination device is the same as the previous model. Embedded devices can be used.

さらに、本実施の形態の組み込み機器100では、不具合通知部111は、システム不具合発生時に、そのときに保持しているダウンロード情報をサーバ200に通知する。   Further, in the embedded device 100 according to the present embodiment, the failure notification unit 111 notifies the server 200 of download information held at the time when a system failure occurs.

つまり、組み込み機器100では、不具合判定部109により不具合発生が判定された場合、不具合が発生した際にアプリケーション領域(ユーザアプリ領域)104にインストールされたソフトウェアパッケージをネットワーク101に接続される外部装置(サーバ)200に通知する不具合通知部111を備える。   In other words, in the embedded device 100, when a failure occurrence is determined by the failure determination unit 109, an external device (to which the software package installed in the application area (user application area) 104 is connected to the network 101 when the failure occurs ( Server) 200 is provided.

これにより、他の組み込み機器等における他のシステムのパッケージ取得部に、ネットワーク101を介してサーバ200からその情報を取得させることができる。よって、システム不具合が発生するソフトウェアの組み合わせを、当該ソフトウェアパッケージをダウンロードする前の他ユーザに警告することができる。   Thereby, the package acquisition unit of another system in another embedded device or the like can acquire the information from the server 200 via the network 101. Therefore, it is possible to warn other users before downloading the software package of a combination of software that causes a system malfunction.

具体的には、不具合発生時に、再インストール部107は、パッケージ保持部105からパッケージを読み込み、この読み込んだパッケージ情報をパッケージ取得部102に出力して、通信機能を有するパッケージ取得部102を介してネットワーク101上のサーバ200に通知するようにする。サーバ200に通知されたパッケージ情報は、組み込み機器100と同様にネットワーク101を介してアクセスできる他の組み込み機器(システム)のパッケージ取得部によって取得される。   Specifically, when a failure occurs, the reinstallation unit 107 reads a package from the package holding unit 105, outputs the read package information to the package acquisition unit 102, and passes through the package acquisition unit 102 having a communication function. The server 200 on the network 101 is notified. The package information notified to the server 200 is acquired by a package acquisition unit of another embedded device (system) that can be accessed via the network 101 as with the embedded device 100.

この取得したパッケージ情報によって他の組み込み機器は、当該パッケージ情報が示す存在元にあるソフトウェアパッケージをインストールする際に発生するシステム不具合を検出し、同様の不具合を回避することができる。   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 information holding unit 105 stores setting information indicating the use setting state when the user changes the use setting for the software (application) installed in the embedded device 100 together with the package information. May be. Thus, even after the installed software is reinstalled due to the occurrence of a system failure, the embedded device 100 can set the installed application to the same setting state as before the failure by using the setting information.

なお、パッケージ情報保持部105は、組み込み機器に接続される外部記憶装置や、組み込み機器に着脱自在に接続できる記憶媒体に設けた構成としてもよい。   The package information holding unit 105 may be provided in an external storage device connected to the embedded device or a storage medium that can be detachably connected to the embedded device.

本実施の形態では、組み込み機器を携帯電話として説明したが、これに限らず、ネットワークに接続できれば、どのような組み込み機器であってもよい。例えば、組み込み機器は、携帯電話、携帯情報機器、カーナビ、家庭用電話機、携帯ゲーム機、家庭用ゲーム機、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 network 101 based on the stored package acquisition destination information, and the installation is performed again. In this way, by retaining only the package acquisition destination information in the system, it is possible to recover when a system malfunction occurs.

また、本実施の形態は、サンドボックス技術が適用されたソフトウェアパッケージ(アプリケーション)に対しても適用することができる。   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.

本発明の一実施の形態に係る組み込み機器の機能ブロック図Functional block diagram of an embedded device according to an embodiment of the present invention パッケージ情報保持部が保持するパッケージ情報の保存形式の一例を示す図The figure which shows an example of the preservation | save format of the package information which a package information holding part hold | maintains 本発明の一実施の形態に係る組み込み機器における通常のインストール時の動作を示すフローチャートThe flowchart which shows the operation | movement at the time of normal installation in the embedded apparatus which concerns on one embodiment of this invention 本発明の一実施の形態に係る組み込み機器におけるインストールパッケージを再インストールする動作を示すフローチャートThe flowchart which shows the operation | movement which reinstalls the installation package in the embedded apparatus which concerns on one embodiment of this invention 従来のシステムファイルのバックアップ方法の説明に供する図Diagram for explaining the conventional system file backup method 従来の再インストール支援方法の説明に供する図Diagram for explaining conventional re-installation support method

符号の説明Explanation of symbols

90 記憶部
100 組み込み機器
101 ネットワーク
102 パッケージ取得部
103 インストール部
104 ユーザアプリ領域
105 パッケージ情報保持部
106 削除部
107 再インストール制御部
108 パッケージ情報取得部
109 不具合判定部
111 不具合通知部
DESCRIPTION OF SYMBOLS 90 Memory | storage part 100 Embedded apparatus 101 Network 102 Package acquisition part 103 Installation part 104 User application area 105 Package information holding part 106 Deletion part 107 Reinstallation control part 108 Package information acquisition part 109 Defect determination part 111 Defect notification part

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.
前記再インストール制御手段は、前記不具合の発生直前にインストールされた前記ソフトウェアパッケージの取得先情報以外の取得先情報を用いて、前記パッケージ取得手段に、再インストールするための前記ソフトウェアパッケージを再取得させる請求項2記載の組み込み機器。   The reinstallation control unit causes the package acquisition unit to reacquire the software package for reinstallation using acquisition destination information other than the acquisition destination information of the software package installed immediately before the occurrence of the malfunction. The embedded device according to claim 2. 前記不具合判定手段により不具合発生が判定された場合、不具合が発生した際に前記アプリケーション領域にインストールされたソフトウェアパッケージを前記ネットワークに接続される外部装置に通知する不具合通知手段を備える請求項2記載の組み込み機器。   The failure notification unit according to claim 2, further comprising: a failure notification unit configured to notify an external device connected to the network of a software package installed in the application area when a failure occurs by the failure determination unit. Embedded equipment. ネットワークを介して前記ソフトウェアパッケージを取得する際に、取得するソフトウェアパッケージの取得先情報を取得して保持する取得先情報保持ステップと、
取得した前記ソフトウェアパッケージを記憶部のアプリケーション領域にインストールするインストールステップと、
前記ソフトウェアパッケージの再インストール指示がある場合、前記アプリケーション領域にインストールされた前記ソフトウェアパッケージを削除する削除ステップと、
保持された取得先情報を用いて、当該取得先情報が示す取得先から、先に取得した前記ソフトウェアパッケージを再取得させる再取得ステップと、
再取得したソフトウェアパッケージを、前記アプリケーション領域に再インストールさせる再インストールステップとを有するソフトウェアの再インストール方法。
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.
JP2007187572A 2007-07-18 2007-07-18 Built-in apparatus, reinstallation method of software, and reinstallation program Pending JP2009026011A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (3)

* Cited by examiner, † Cited by third party
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