[go: up one dir, main page]

JP2000089940A - Program loading method - Google Patents

Program loading method

Info

Publication number
JP2000089940A
JP2000089940A JP10254881A JP25488198A JP2000089940A JP 2000089940 A JP2000089940 A JP 2000089940A JP 10254881 A JP10254881 A JP 10254881A JP 25488198 A JP25488198 A JP 25488198A JP 2000089940 A JP2000089940 A JP 2000089940A
Authority
JP
Japan
Prior art keywords
application program
program
diagnosis
self
load
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
JP10254881A
Other languages
Japanese (ja)
Inventor
Yasumasa Tamura
泰正 田村
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.)
NEC Cable Media Ltd
Original Assignee
NEC Cable Media Ltd
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 NEC Cable Media Ltd filed Critical NEC Cable Media Ltd
Priority to JP10254881A priority Critical patent/JP2000089940A/en
Publication of JP2000089940A publication Critical patent/JP2000089940A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

(57)【要約】 【課題】 不具合の内在するアプリケーションプログラ
ムをダウンロードすることで生じる、それ以降のダウン
ロード自体が不可能になる状況を未然に回避すること。 【解決手段】 ダウンロード実行についての自己診断を
行うアプリケーションプログラムAP2に設けられたス
テップS21,ステップS23などに示す自己診断手段
と、前記アプリケーションプログラムAP2の前記自己
診断手段による自己診断結果を評価し、前記自己診断結
果が正常であるアプリケーションプログラムを選択し、
該選択したアプリケーションプログラムの実行により新
バージョンのアプリケーションプログラムのオンライン
ダウンロードを実現するローダプログラムIPLを備え
る。
(57) [Summary] [Problem] To prevent a situation in which downloading of an application program in which a defect is inherent and in which subsequent downloading itself becomes impossible is prevented beforehand. SOLUTION: The self-diagnosis means shown in steps S21, S23 and the like provided in an application program AP2 for performing self-diagnosis regarding download execution, and the self-diagnosis result of the self-diagnosis means of the application program AP2 are evaluated. Select an application program for which the self-diagnosis result is normal,
A loader program IPL for realizing online download of a new version of the application program by executing the selected application program;

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プログラムダウン
ロードを行うに際しての信頼性を向上させたプログラム
ロード方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program loading method with improved reliability when downloading a program.

【0002】[0002]

【従来の技術】インターネットの急発展に伴う新しい通
信プロトコルの制定や、書き換え可能な不揮発性メモリ
デバイスの価格低減に伴い、特にモデムやルータなどの
ネットワーク装置の分野において、フィールド運用中の
機器の制御ソフトウェアをオンラインでダウンロード更
新する機能を持たせる場合が増えている。このような場
合に従来のプログラムロード方式では、アプリケーショ
ンプログラムを常駐部と書換部に分け、アプリケーショ
ンプログラムのダウンロード機能を前記常駐部に持たせ
る方式などが採られてきた。
2. Description of the Related Art With the establishment of a new communication protocol accompanying the rapid development of the Internet and a reduction in the price of rewritable nonvolatile memory devices, control of equipment during field operation, particularly in the field of network devices such as modems and routers. Increasingly, software has a function to download and update software online. In such a case, in the conventional program loading method, a method has been adopted in which an application program is divided into a resident unit and a rewriting unit, and the resident unit has a download function of the application program.

【0003】[0003]

【発明が解決しようとする課題】従来のプログラムロー
ド方式は以上のように行われているためソフトウェアの
実装方式が複雑となり、また問題点が内在するアプリケ
ーションプログラムをダウンロードした場合には、それ
以降ダウンロードそのものも出来ない状態になる課題が
あった。
Since the conventional program loading method is performed as described above, the software mounting method becomes complicated, and when an application program having an inherent problem is downloaded, it is downloaded thereafter. There was a problem that could not be done.

【0004】本発明は上記のような課題を解決するため
になされたものであり、本発明の目的は不具合の内在す
るアプリケーションプログラムのダウンロードを防ぎ、
不具合の内在するアプリケーションプログラムをダウン
ロードすることで生じる、それ以降のダウンロード自体
が不可能になる状況を未然に回避できるプログラムロー
ド方式を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to prevent the download of an application program having a defect therein,
It is an object of the present invention to provide a program loading method capable of avoiding a situation in which downloading of an application program having a defect and subsequent downloading itself becomes impossible.

【0005】[0005]

【課題を解決するための手段】本発明に係るプログラム
ロード方式は、ローダプログラムを備え、アプリケーシ
ョンプログラムが新バージョンのアプリケーションプロ
グラムをセンタサーバからオンラインダウンロードする
プログラムロード方式において、ダウンロード実行につ
いての自己診断を行う前記アプリケーションプログラム
に設けられた自己診断手段を有し、前記ローダプログラ
ムは、前記アプリケーションプログラムの自己診断手段
による自己診断結果を評価し、前記自己診断結果が正常
であるアプリケーションプログラムを選択し、該選択し
たアプリケーションプログラムの実行により新バージョ
ンのアプリケーションプログラムのオンラインダウンロ
ードを実現することを特徴とする。
A program loading method according to the present invention comprises a loader program, and in a program loading method in which an application program downloads a new version of an application program online from a center server, a self-diagnosis of download execution is performed. The application program includes a self-diagnosis unit provided in the application program, wherein the loader program evaluates a self-diagnosis result of the application program by the self-diagnosis unit, selects an application program in which the self-diagnosis result is normal, It is characterized in that online execution of a new version of an application program is realized by executing the selected application program.

【0006】本発明のプログラムロード方式は、アプリ
ケーションプログラムにおいてダウンロード実行につい
ての自己診断を実行し、該自己診断結果を診断履歴情報
として保持し、ローダプログラムは前記診断履歴情報を
もとに評価を行なって前記自己診断結果が正常であるア
プリケーションプログラムを選択し、該選択したアプリ
ケーションプログラムの実行により新バージョンのアプ
リケーションプログラムのオンラインダウンロードを実
現し、不具合の内在するアプリケーションプログラムを
ダウンロードすることで生じる、それ以降のダウンロー
ド自体が不可能になる状況を未然に回避する。
According to a program loading method of the present invention, a self-diagnosis of download execution is executed in an application program, the self-diagnosis result is held as diagnosis history information, and a loader program performs evaluation based on the diagnosis history information. Selecting an application program whose self-diagnosis result is normal, realizing an online download of a new version of the application program by executing the selected application program, and downloading the application program having the defect. To avoid the situation where downloading the file itself becomes impossible.

【0007】[0007]

【発明の実施の形態】以下、本発明の実施の一形態につ
いて説明する。本実施の形態によるプログラムロード方
式は、ローダプログラムとアプリケーションプログラム
から構成され、アプリケーションプログラムが新バージ
ョンのアプリケーションプログラムをオンラインダウン
ロードする機能を持つ構成の情報処理端末において、ア
プリケーションプログラムの不具合によりオンラインダ
ウンロードが不能になるのを防止するものであり、アプ
リケーションプログラムに最低限、ダウンロードに関わ
る自己診断機能を持たせ、前記ローダプログラムに前記
自己診断結果を評価する機能を持たせることにより、不
具合の内在するアプリケーションプログラムをダウンロ
ードしてしまい、以降、ダウンロードそのものも不可能
になってしまうのを防止するものである。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below. The program loading method according to the present embodiment is configured by a loader program and an application program, and in an information processing terminal having a function of online downloading a new version of the application program, online downloading is impossible due to a failure of the application program. The application program has at least a self-diagnosis function related to download, and the loader program has a function of evaluating the self-diagnosis result. Is downloaded, and the download itself becomes impossible thereafter.

【0008】図1は、本実施の形態のプログラムロード
方式を示す構成図であり、以下、ローダプログラムとア
プリケーションプログラムを備え、アプリケーションプ
ログラムが新バージョンのアプリケーションプログラム
をオンラインダウンロードする機能を持つ情報処理端末
として構成されている場合について説明する。
FIG. 1 is a block diagram showing a program loading method according to the present embodiment. Hereinafter, an information processing terminal including a loader program and an application program, the application program having a function of online downloading a new version of the application program. A description will be given of the case where the configuration is made as follows.

【0009】符号100は前記情報処理端末を示し、C
PU1、EPROM2、回線インタフェース3、FEE
PROM4、DRAM6およびCPUバス7などから構
成され、前記回線インタフェース3を介してセンタサー
バ8と接続される。AP1はFEEPROM4に格納さ
れた初期バージョンのアプリケーションプログラム(第
1のアプリケーションプログラム)、AP2は同様に新
バージョンのアプリケーションプログラム(自己診断手
段)、5はFEEPROM4に格納されたロード&診断
履歴ファイルである。
Reference numeral 100 denotes the information processing terminal;
PU1, EPROM2, line interface 3, FEE
It comprises a PROM 4, a DRAM 6, a CPU bus 7 and the like, and is connected to the center server 8 via the line interface 3. AP1 is an initial version application program (first application program) stored in the FEEPROM 4, AP2 is a new version application program (self-diagnosis means) similarly, and 5 is a load & diagnosis history file stored in the FEEPROM 4.

【0010】CPU1は、EPROM2、回線インタフ
ェース3、FEEPROM4、およびDRAM6などの
情報処理端末100の各部を制御するものである。EP
ROM2は、ローダプログラムIPLを格納した書き換
え不可能な不揮発性メモリである。回線インタフェース
3は、情報処理端末100とセンタサーバ8とを接続す
るためのものである。FEEPROM4は、アプリケー
ションプログラムを2ファイル以上保持できるだけの容
量を有している書き換え可能な不揮発性メモリである。
ロード&診断履歴ファイル5は、立ち上げ直後にダウン
ロードテスト、その他のテストの実行結果が格納される
ものである。DRAM6は、実行対象となるアプリケー
ションプログラムがFEEPROM4からロードされる
メモリである。センタサーバ8は、情報処理端末100
に対し新しいバージョンのプログラムの提供元になるも
のである。
The CPU 1 controls each section of the information processing terminal 100 such as the EPROM 2, the line interface 3, the FEEPROM 4, and the DRAM 6. EP
The ROM 2 is a non-rewritable nonvolatile memory storing a loader program IPL. The line interface 3 is for connecting the information processing terminal 100 and the center server 8. The FEEPROM 4 is a rewritable nonvolatile memory having a capacity enough to hold two or more application programs.
The load & diagnosis history file 5 stores execution results of a download test and other tests immediately after startup. The DRAM 6 is a memory in which an application program to be executed is loaded from the FEEPROM 4. The center server 8 includes an information processing terminal 100
Is the source of new versions of the program.

【0011】ローダプログラムIPLは書き換え不可能
な不揮発性メモリであるEPROM2に、アプリケーシ
ョンプログラムAPは書き換え可能な不揮発性メモリで
あるFEEPROM4に格納されているものとする。こ
こでFEEPROM4はアプリケーションプログラムA
Pを2ファイル以上保持できるだけの容量を持ってい
る。
It is assumed that the loader program IPL is stored in the EPROM 2 which is a non-rewritable nonvolatile memory, and the application program AP is stored in the FEEPROM 4 which is a rewritable nonvolatile memory. Here, the FEEPROM 4 stores the application program A
It has the capacity to hold two or more files of P.

【0012】EPROM2にはローダプログラムIPL
が実装され、装置立ち上げ時にFEEPROM4からア
プリケーションプログラムAPをDRAM6にコピーし
て、当該アプリケーションプログラムAPに制御を移
す。装置の初期状態ではFEEPROM4にはアプリケ
ーションプログラムAP1(初期ファイル)が書き込ま
れている。
The EPROM 2 has a loader program IPL
Is mounted, the application program AP is copied from the FEEPROM 4 to the DRAM 6 when the apparatus is started, and the control is transferred to the application program AP. In the initial state of the apparatus, the application program AP1 (initial file) is written in the FEEPROM4.

【0013】次に、動作について説明する。図2は、ロ
ーダプログラムIPLおよびアプリケーションプログラ
ムAPの動作を示すフローチャートである。ローダプロ
グラムIPLはH/Wイニシャル処理の後、FEEPR
OM4におけるアプリケーションプログラムAPの格納
状態を調べ(ステップS1)、アプリケーションプログ
ラムAP1しか存在していないので、アプリケーション
プログラムAP1をDRAM6にコピーして実行すると
ともに、ロード&診断履歴ファイル5を作成し、アプリ
ケーションプログラムAP1をロードしたことを履歴と
して記録しておく(ステップS7)。図3の(a)はこ
のアプリケーションプログラムAP1のロードを履歴と
して記録したロード&診断履歴ファイル5を示す。
Next, the operation will be described. FIG. 2 is a flowchart showing operations of the loader program IPL and the application program AP. After H / W initial processing, the loader program IPL executes FEEPR
The storage state of the application program AP in the OM 4 is checked (step S1). Since only the application program AP1 exists, the application program AP1 is copied to the DRAM 6 and executed, and the load & diagnosis history file 5 is created and the application program AP1 is created. The fact that AP1 has been loaded is recorded as a history (step S7). FIG. 3A shows a load & diagnosis history file 5 in which the load of the application program AP1 is recorded as a history.

【0014】アプリケーションプログラムAP1では立
ち上がり直後、回線インタフェース部3を経由して遠隔
地点のセンタサーバに新バージョンのプログラムの存在
を確認し、もし新ファイル(この場合、アプリケーショ
ンプログラムAP2)が存在していれば、これをダウン
ロードしてDRAM6上で誤りチェックを行い、異常が
無ければFEEPROM4へ書き込み、H/Wリセット
をかける(ステップS11,ステップS12)。
Immediately after the application program AP1 starts up, the existence of a new version of the program is confirmed at the remote center server via the line interface unit 3, and if a new file (in this case, the application program AP2) exists. If this is the case, it is downloaded and an error check is performed on the DRAM 6, and if there is no abnormality, it is written into the FEEPROM 4 and an H / W reset is performed (steps S11 and S12).

【0015】このH/Wリセット後、再びローダプログ
ラムIPLが立ち上がりステップS1でFEEPROM
4をチェックするが、このときはアプリケーションプロ
グラムAP1とアプリケーションプログラムAP2が存
在しており、またロード&履歴ファイル5の最終履歴は
図3の(a)に示すようにアプリケーションプログラム
AP1をロードしたことになっている。このためローダ
プログラムIPLは、アプリケーションプログラムAP
2がダウンロードされた直後であり、まだ実行されてい
ないものと判断しステップS2からステップS4へ進
み、アプリケーションプログラムAP2をDRAM6に
コピーして実行するとともに、ロード&診断履歴ファイ
ル5にアプリケーションプログラムAP2をロードした
履歴を追記する(ステップS4,ステップS5)。図3
の(b)は、このアプリケーションプログラムAP2の
ロードについての履歴が追記されたロード&診断履歴フ
ァイル5を示す。
After the H / W reset, the loader program IPL starts up again and at step S1, the FEEPROM
4 is checked, at this time, the application program AP1 and the application program AP2 are present, and the final history of the load & history file 5 indicates that the application program AP1 has been loaded as shown in FIG. Has become. Therefore, the loader program IPL is executed by the application program AP.
It is determined that the application program AP2 has just been downloaded and that the application program AP2 has not been executed yet, and the process advances from step S2 to step S4 to copy the application program AP2 to the DRAM 6 and execute it. The loaded history is added (step S4, step S5). FIG.
(B) shows a load & diagnosis history file 5 to which a history of loading of the application program AP2 is added.

【0016】一方、アプリケーションプログラムAP2
では、立ち上がり直後にダウンロードテスト、その他テ
スト1、その他テスト2を実行し(ステップS21,ス
テップS23,自己診断手段)、その結果をロード&診
断履歴ファイル5の診断結果の項に書き込む(ステップ
S22,ステップS24)。図3の(c)は、前記各テ
スト結果がアプリケーションプログラムAP2により書
き込まれたロード&診断履歴ファイル5を示す。この場
合、全診断項目が正常であるため、アプリケーションプ
ログラムAP2はそのまま動作する(ステップS2
5)。
On the other hand, the application program AP2
Then, the download test, the other test 1, and the other test 2 are executed immediately after the startup (step S21, step S23, self-diagnosis means), and the result is written in the diagnosis result section of the load & diagnosis history file 5 (step S22, step S22). Step S24). FIG. 3C shows the load & diagnosis history file 5 in which the test results are written by the application program AP2. In this case, since all the diagnostic items are normal, the application program AP2 operates as it is (step S2).
5).

【0017】ここで、ダウンロードテストとして簡便な
方式としては、アプリケーションプログラムAP2自身
をDRAM6上にダウンロードしてFEEPROM4上
のアプリケーションプログラムAP2と一致しているか
どうか確認する方法や、あらかじめ内容と名前が定めら
れたファイルをダウンロードして、その内容が規定通り
となっているかどうか確認する方法などが考えられる。
Here, as a simple method of the download test, a method of downloading the application program AP2 itself to the DRAM 6 and checking whether or not the application program AP2 matches the application program AP2 on the FEEPROM 4 or the content and name are determined in advance. It is possible to download the file and check whether the contents are as specified.

【0018】装置が再度立ち上がると、ローダプログラ
ムIPLはFEEPROM4内のアプリケーションプロ
グラムAPの存在(ステップS1)とロード&診断履歴
ファイル5の内容を検証し(ステップS2,ステップS
3)、アプリケーションプログラムAP2が存在するこ
と、および前回アプリケーションプログラムAP2をロ
ードして診断が正常であることを確認するとステップS
4へ進み、今回もアプリケーションプログラムAP2を
ロードするとともにロード&診断履歴ファイル5にアプ
リケーションプログラムAP2をロードした履歴を追記
する(ステップS5)。図3の(d)は、このアプリケ
ーションプログラムAP2のロードについての履歴が追
記されたロード&診断履歴ファイル5を示す。
When the apparatus is started up again, the loader program IPL verifies the existence of the application program AP in the FEEPROM 4 (step S1) and the contents of the load & diagnosis history file 5 (step S2, step S2).
3) If it is confirmed that the application program AP2 is present and that the application program AP2 was previously loaded and the diagnosis is normal, the process proceeds to step S
4, the application program AP2 is loaded again, and the history of loading the application program AP2 is added to the load & diagnosis history file 5 (step S5). FIG. 3D shows a load & diagnosis history file 5 to which a history of loading of the application program AP2 is added.

【0019】この場合、アプリケーションプログラムA
P2はステップS21に示すように立ち上げ直後ダウン
ロードテストを実行するが、何らかの異常が発生してダ
ウンロードが正常終了しなかった場合、その結果(正常
終了しなかった場合NG、プログラム暴走などの異常状
態に陥ったときは未記録)をステップS22に示すよう
に診断結果の項に記録する。図3の(e)は、このダウ
ンロードテストの自己診断結果が記録されたロード&診
断履歴ファイル5を示す。
In this case, the application program A
P2 executes the download test immediately after startup as shown in step S21. If the download is not completed normally due to any abnormality, the result is as follows (if the download was not completed normally, an abnormal state such as NG, program runaway, etc.) Is recorded in the section of the diagnosis result as shown in step S22. FIG. 3E shows the load & diagnosis history file 5 in which the self-diagnosis result of the download test is recorded.

【0020】このような場合、次回の立ち上げ時には、
過去にアプリケーションプログラムAP2をロードした
が当該アプリケーションプログラムの自己診断結果が正
常でないことから、ローダプログラムIPLはステップ
S3に示す判定処理によりアプリケーションプログラム
AP2に何らかの問題が内在しているものと判断しステ
ップS6へ進み、今度はアプリケーションプログラムA
P1をロードする。この場合、ローダプログラムIPL
はロード&診断履歴ファイル5の全記録内容を調査する
ものとし、アプリケーションプログラムAP2が診断異
常となっている履歴が1つでも存在する場合、アプリケ
ーションプログラムAP1をロードする。
In such a case, at the next start-up,
Since the application program AP2 was loaded in the past, but the result of the self-diagnosis of the application program is not normal, the loader program IPL determines that some problem is inherent in the application program AP2 by the determination processing shown in step S3, and proceeds to step S6. To application program A
Load P1. In this case, the loader program IPL
Examines all the recorded contents of the load & diagnosis history file 5, and loads the application program AP1 if there is at least one history in which the application program AP2 has a diagnosis abnormality.

【0021】以上の説明では、初期アプリケーションプ
ログラムであるアプリケーションプログラムAP1のダ
ウンロード機能は正当であるものと事前に取り決め、ア
プリケーションプログラムAP1ではダウンロードチェ
ックをしないものとしている。
In the above description, it is assumed that the download function of the application program AP1, which is the initial application program, is determined in advance to be valid, and that the application program AP1 does not perform a download check.

【0022】また、アプリケーションプログラムAP2
で自己診断結果が正常であった場合、アプリケーション
プログラムAP2は、続けてセンタサーバ8に自分より
も新しいアプリケーションプログラムファイル(アプリ
ケーションプログラムAP3)が存在するかどうかステ
ップS25で確認し、もし存在する場合にはこれをDR
AM6上にダウンロード後、FEEPROM4上のアプ
リケーションプログラムAP2を削除し、アプリケーシ
ョンプログラムAP3をFEEPROM4に書き込む。
The application program AP2
If the result of the self-diagnosis is normal, the application program AP2 subsequently checks in step S25 whether an application program file (application program AP3) newer than itself exists in the center server 8, and if it exists, DR this
After downloading to the AM 6, the application program AP2 on the FEEPROM 4 is deleted, and the application program AP 3 is written to the FEEPROM 4.

【0023】本実施の形態では、このようにアプリケー
ションプログラムAP1は常にFEEPROM4に残し
ておき、これを削除しないものとする。
In the present embodiment, it is assumed that the application program AP1 is always left in the FEEPROM 4 and is not deleted.

【0024】以上のように、本実施の形態によれば、ア
プリケーションプログラムAPのダウンロードテストに
よるダウンロード機能の異常履歴の有無から、ローダプ
ログラムIPLが当該アプリケーションプログラムのダ
ウンロード機能についての正当性をチェックし、前記ダ
ウンロード機能に問題のあるアプリケーションプログラ
ムAPを、ダウンロード機能が正当であるアプリケーシ
ョンプログラムへ変更する機能を有しているので、ダウ
ンロード機能に問題が内在するアプリケーションプログ
ラムをダウンロードして、以後ダウンロードそのものも
不可能になる状況を未然に回避できるプログラムロード
方式を提供できる。
As described above, according to the present embodiment, the loader program IPL checks the validity of the download function of the application program AP from the presence or absence of an abnormal history of the download function by the download test of the application program AP. It has a function of changing the application program AP having a problem with the download function to an application program having a valid download function, so that an application program having a problem with the download function is downloaded, and thereafter the download itself is not performed. It is possible to provide a program loading method capable of avoiding a possible situation beforehand.

【0025】次に、本発明のプログラムロード方式の他
の実施の形態について説明する。本実施の形態のプログ
ラムロード方式は、その基本的構成は前記実施の形態と
同様であるが、前記実施の形態ではFEEPROM4に
書き込まれるアプリケーションプログラムは2個であっ
たが、このアプリケーションプログラムをN個に増や
し、センタサーバ8側から起動するアプリケーションプ
ログラムAPを指定可能にする。
Next, another embodiment of the program loading method of the present invention will be described. The basic configuration of the program loading method of this embodiment is the same as that of the above-described embodiment. In the above-described embodiment, the number of application programs written in the EEPROM 4 is two. And the application program AP started from the center server 8 can be specified.

【0026】図4は、このような構成のプログラムロー
ド方式における各アプリケーションプログラムについて
のロード&診断履歴ファイル15を示す説明図である。
このロード&診断履歴ファイル15には強制起動フラグ
16が追加されている。起動中のアプリケーションプロ
グラム(指定アプリケーションプログラム記録手段,強
制起動フラグ設定手段)APはセンタサーバ8からアプ
リケーションプログラムファイル名を指定されると、符
号17で示すロード&診断履歴ファイル15のロードア
プリケーションプログラムファイル名の項へ前記指定さ
れたファイル名を書くとともに、当該ロードアプリケー
ションプログラムファイル名の強制起動フラグをONに
する。
FIG. 4 is an explanatory diagram showing the load & diagnosis history file 15 for each application program in the program loading system having such a configuration.
A forced start flag 16 is added to the load & diagnosis history file 15. When the application program being started (designated application program recording means, forced start flag setting means) AP is designated by the center server 8 with the application program file name, the load application program file name of the load & diagnosis history file 15 indicated by reference numeral 17 , The specified file name is written, and the compulsory start flag of the load application program file name is turned ON.

【0027】ローダプログラム(指定アプリケーション
プログラム記録手段)IPLでは起動直後にロード&診
断履歴ファイル15の最終レコードの内容を調査し、強
制起動フラグ16がONになっていればロードアプリケ
ーションプログラムファイル名で指定されているアプリ
ケーションプログラムファイルをロードして実行する
が、そうでなければ前記通常の処理でロードアプリケー
ションプログラムファイルを決めてロードする。
The loader program (specified application program recording means) IPL examines the contents of the last record of the load & diagnosis history file 15 immediately after startup, and specifies the load application program file name if the forced startup flag 16 is ON. The loaded application program file is loaded and executed. Otherwise, the load application program file is determined and loaded by the normal processing.

【0028】[0028]

【発明の効果】以上のように、本発明によれば、ローダ
プログラムによるアプリケーションプログラムのダウン
ロード機能の正当性の判定結果をもとに、ロードするア
プリケーションプログラムを変更することが出来るの
で、問題が内在するアプリケーションプログラムAPを
ダウンロードしてしまって、以降ダウンロードそのもの
も不可能になる状況を未然に回避できる効果がある。
As described above, according to the present invention, the application program to be loaded can be changed based on the result of determining the validity of the function of downloading the application program by the loader program. There is an effect that it is possible to prevent a situation in which the application program AP to be downloaded is downloaded and the download itself becomes impossible thereafter.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態のプログラムロード方式を
示す構成図である。
FIG. 1 is a configuration diagram showing a program loading method according to an embodiment of the present invention.

【図2】本発明の実施の形態のプログラムロード方式に
おけるローダプログラムおよびアプリケーションプログ
ラムの動作を示すフローチャートである。
FIG. 2 is a flowchart illustrating operations of a loader program and an application program in the program loading method according to the embodiment of the present invention.

【図3】本発明の実施の形態のプログラムロード方式に
おけるロード&診断履歴ファイルを示す説明図である。
FIG. 3 is an explanatory diagram showing a load & diagnosis history file in the program loading method according to the embodiment of the present invention.

【図4】本発明の他の実施の形態のプログラムロード方
式における各アプリケーションプログラムについてのロ
ード&診断履歴ファイルを示す説明図である。
FIG. 4 is an explanatory diagram showing a load & diagnosis history file for each application program in a program loading method according to another embodiment of the present invention.

【符号の説明】[Explanation of symbols]

5,15……ロード&診断履歴ファイル、8……センタ
サーバ、IPL……ローダプログラム(指定アプリケー
ションプログラム記録手段)、AP1……アプリケーシ
ョンプログラム(第1のアプリケーションプログラム,
指定アプリケーションプログラム記録手段,強制起動フ
ラグ設定手段)、AP2……アプリケーションプログラ
ム(自己診断手段,指定アプリケーションプログラム記
録手段,強制起動フラグ設定手段)、ステップS21…
…(自己診断手段)、ステップS23……(自己診断手
段)。
5, 15 load and diagnosis history file, 8 center server, IPL loader program (designated application program recording means), AP1 application program (first application program,
Designated application program recording means, forced start flag setting means), AP2 ... application program (self-diagnosis means, designated application program recording means, forced start flag setting means), step S21 ...
(Self-diagnosis means), step S23 (Self-diagnosis means).

─────────────────────────────────────────────────────
────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成11年8月9日(1999.8.9)[Submission date] August 9, 1999 (1999.8.9)

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Correction target item name] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0005[Correction target item name] 0005

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0005】[0005]

【課題を解決するための手段】本発明に係るプログラム
ロード方式は、ダウンロード実行についての自己診断を
行うアプリケーションプログラムに設けられた自己診断
手段と、ダウンロード機能が正当であると保証されてい
る第1のアプリケーションプログラムとを有し、ローダ
プログラムは、前記第1のアプリケーションプログラム
のダウンロード機能、またはその第1のアプリケーショ
ンプログラムのダウンロード機能によりダウンロードさ
れて前記自己診断手段による自己診断結果が正常である
アプリケーションプログラムのダウンロード機能によ
り、センタサーバからオンラインダウンロードしたアプ
リケーションプログラムの自己診断手段による自己診断
結果を評価し、前記自己診断結果が正常であるアプリケ
ーションプログラムを選択し、該選択したアプリケーシ
ョンプログラムの実行により新バージョンのアプリケー
ションプログラムのオンラインダウンロードを実現する
ことを特徴とする。
According to the program loading method of the present invention, a self-diagnosis means provided in an application program for performing a self-diagnosis on download execution and a first function in which a download function is guaranteed to be legitimate. The loader program is downloaded by the first application program download function or the first application program download function, and the self-diagnosis result of the self-diagnosis unit is normal. The self-diagnosis result of the self-diagnosis means of the application program downloaded online from the center server is evaluated by the download function of the application program. Selected, characterized in that to achieve the online downloading of new version of the application program by executing the application program said selected.

【手続補正3】[Procedure amendment 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0006[Correction target item name] 0006

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

【0006】本発明のプログラムロード方式は、ダウン
ロード機能について正当であると保証されている第1の
アプリケーションプログラムのダウンロード機能により
センタサーバからオンラインダウンロードしたアプリケ
ーションプログラム、または自己診断手段による自己診
断結果が正常である前記アプリケーションプログラムの
ダウンロード機能によりセンタサーバからオンラインダ
ウンロードしたアプリケーションプログラムの自己診断
手段による自己診断結果をローダプログラムが評価し、
前記自己診断結果が正常であるアプリケーションプログ
ラムを選択し、該選択したアプリケーションプログラム
の実行により新バージョンのアプリケーションプログラ
ムのオンラインダウンロードを実現し、不具合の内在す
るアプリケーションプログラムのダウンロードを防止
し、不具合の内在するアプリケーションプログラムのダ
ウンロードによる、それ以降のダウンロードが不可能に
なる状況を未然に回避する。
According to the program loading method of the present invention, the application program downloaded online from the center server by the download function of the first application program that is guaranteed to be valid for the download function, or the self-diagnosis result by the self-diagnosis means is normal. The loader program evaluates the self-diagnosis result by the self-diagnosis means of the application program downloaded online from the center server by the download function of the application program,
By selecting an application program for which the self-diagnosis result is normal, executing the selected application program to realize online download of a new version of the application program, preventing the download of the application program having the problem, and preventing the problem from occurring Avoid a situation in which downloading of the application program and subsequent downloading becomes impossible.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 ローダプログラムを備え、アプリケーシ
ョンプログラムが新バージョンのアプリケーションプロ
グラムをセンタサーバからオンラインダウンロードする
プログラムロード方式において、 ダウンロード実行についての自己診断を行う前記アプリ
ケーションプログラムに設けられた自己診断手段を有
し、 前記ローダプログラムは、前記アプリケーションプログ
ラムの自己診断手段による自己診断結果を評価し、前記
自己診断結果が正常であるアプリケーションプログラム
を選択し、該選択したアプリケーションプログラムの実
行により新バージョンのアプリケーションプログラムの
オンラインダウンロードを実現する、 ことを特徴とするプログラムロード方式。
1. A program loader which includes a loader program, wherein the application program online downloads a new version of the application program from a center server. The loader program evaluates a self-diagnosis result by the self-diagnosis unit of the application program, selects an application program in which the self-diagnosis result is normal, and executes a new version of the application program by executing the selected application program. A program loading method that realizes online download.
【請求項2】 ローダプログラムが行なったアプリケー
ションプログラムについてのロード履歴、および当該ア
プリケーションプログラムがダウンロード実行について
自己診断手段により行なった自己診断についての自己診
断履歴を記録するロード&診断履歴ファイルを備え、前
記ローダプログラムは、前記ロード&診断履歴ファイル
に記録された自己診断履歴をもとに、アプリケーション
プログラムの自己診断結果を評価し、前記自己診断結果
が正常であるアプリケーションプログラムを選択し、該
選択したアプリケーションプログラムの起動による新バ
ージョンのアプリケーションプログラムのオンラインダ
ウンロードを実現することを特徴とする請求項1記載の
プログラムロード方式。
2. A load & diagnosis history file for recording a load history of an application program performed by a loader program and a self-diagnosis history of a self-diagnosis performed by a self-diagnosis unit on download execution of the application program, The loader program evaluates a self-diagnosis result of the application program based on the self-diagnosis history recorded in the load & diagnosis history file, selects an application program in which the self-diagnosis result is normal, and selects the selected application. 2. The program loading method according to claim 1, wherein online download of a new version of the application program is realized by starting the program.
【請求項3】 ダウンロード実行について正常であるこ
とが保証された第1のアプリケーションプログラムがあ
らかじめ格納されており、前記ローダプログラムは、ア
プリケーションプログラムの格納状態が前記第1のアプ
リケーションプログラムしか存在していな場合、ロード
&診断履歴ファイルへ前記第1のアプリケーションプロ
グラムのロード履歴を記録し、前記第1のアプリケーシ
ョンプログラムを選択し、該選択した前記第1のアプリ
ケーションプログラムの起動による新バージョンのアプ
リケーションプログラムのオンラインダウンロードを実
現することを特徴とする請求項2記載のプログラムロー
ド方式。
3. A first application program that is guaranteed to be normal for download execution is stored in advance, and the loader program has a storage state of only the first application program. In this case, a load history of the first application program is recorded in a load & diagnosis history file, the first application program is selected, and a new version of the application program is started online by activating the selected first application program. 3. The program loading method according to claim 2, wherein downloading is realized.
【請求項4】 起動するアプリケーションプログラムを
センタサーバから指定可能にするため、ロード&診断履
歴ファイルへ前記指定されるアプリケーションプログラ
ムがロードされることをロード履歴として記録する指定
アプリケーションプログラム記録手段と、該指定アプリ
ケーションプログラム記録手段によりロード履歴が記録
された前記指定されるアプリケーションプログラムに対
する強制起動フラグを書き込む強制起動フラグ設定手段
とを備えていることを特徴とする請求項2または請求項
3記載のプログラムロード方式。
4. A designated application program recording means for recording as a load history that the designated application program is loaded into a load & diagnosis history file so that an application program to be started can be designated from a center server. 4. The program load according to claim 2, further comprising: a forced start flag setting unit that writes a forced start flag for the specified application program in which the load history is recorded by the specified application program recording unit. method.
JP10254881A 1998-09-09 1998-09-09 Program loading method Pending JP2000089940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10254881A JP2000089940A (en) 1998-09-09 1998-09-09 Program loading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10254881A JP2000089940A (en) 1998-09-09 1998-09-09 Program loading method

Publications (1)

Publication Number Publication Date
JP2000089940A true JP2000089940A (en) 2000-03-31

Family

ID=17271138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10254881A Pending JP2000089940A (en) 1998-09-09 1998-09-09 Program loading method

Country Status (1)

Country Link
JP (1) JP2000089940A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6844975B2 (en) 2002-10-09 2005-01-18 Jds Uniphase Corporation Etalon devices employing multiple materials
CN114115974A (en) * 2020-08-28 2022-03-01 腾讯科技(深圳)有限公司 Plug-in operation method, device, device and computer storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6844975B2 (en) 2002-10-09 2005-01-18 Jds Uniphase Corporation Etalon devices employing multiple materials
CN114115974A (en) * 2020-08-28 2022-03-01 腾讯科技(深圳)有限公司 Plug-in operation method, device, device and computer storage medium

Similar Documents

Publication Publication Date Title
US7275153B2 (en) Booting and boot code update system using boot strapper code to select between a loader and a duplicate backup loader
US8181007B2 (en) Electronic device and method for secure operating system update in embedded system
US20250103324A1 (en) Software update apparatus, software update method, non-transitory storage medium storing program, vehicle, and ota master
CN111522562B (en) Dishwasher software burning method, device and equipment thereof
CN113114730A (en) Upgrading method and device, terminal equipment and storage medium
US5987625A (en) Method and apparatus for testing network bootable devices
CN102708044B (en) Integrality and compatibility verification apparatus and method
CN113110891B (en) Firmware loading method and device for solid state disk, computer equipment and storage medium
CN115250464A (en) OTA manager, center, system, update method, and vehicle
CN116909477A (en) Storage partition update method, device, electronic device and storage medium
JPH1021060A (en) Communication system having automatic program update processing function and recording medium provided with program for executing program update processing
US12307230B2 (en) Over-the-air (OTA) master, center, system, method, non-transitory storage medium, and vehicle
JP3093541B2 (en) Terminal device and online system for managing version numbers of programs and data
JP2000089940A (en) Program loading method
CN111796839B (en) Controller program management method and device
CN119127271A (en) Software incremental upgrade method, device, computer equipment and storage medium
CN113454608A (en) Update method for updating a motor vehicle computer to add additional functionality thereto
JP3308920B2 (en) Information processing device
CN108833128A (en) A kind of method that equipment updates
JP2002063044A (en) Arithmetic device and program rewriting method
CN114706706A (en) Application software repairing method and device and electronic equipment
KR100429903B1 (en) Method for updating images in home gateway system
CN113766554A (en) Method and device for acquiring WiFi calibration data and WiFi equipment calibration test system
CN112905217B (en) Program updating method, terminal, system and storage medium of embedded program
JP2003122575A (en) Information processing equipment