JPH1145179A - Program managing method - Google Patents

Program managing method

Info

Publication number
JPH1145179A
JPH1145179A JP19979997A JP19979997A JPH1145179A JP H1145179 A JPH1145179 A JP H1145179A JP 19979997 A JP19979997 A JP 19979997A JP 19979997 A JP19979997 A JP 19979997A JP H1145179 A JPH1145179 A JP H1145179A
Authority
JP
Japan
Prior art keywords
program
data storage
stored
version
old
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
JP19979997A
Other languages
Japanese (ja)
Inventor
Masahiko Yoshimura
政彦 吉村
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.)
Digital Vision Laboratories Corp
Original Assignee
Digital Vision Laboratories 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 Digital Vision Laboratories Corp filed Critical Digital Vision Laboratories Corp
Priority to JP19979997A priority Critical patent/JPH1145179A/en
Publication of JPH1145179A publication Critical patent/JPH1145179A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To perform version-up without trouble even in the case of a program under execution. SOLUTION: A pair of data storage areas 5 and 6 are provided. When performing the version-up of a old program to a new program, the old program is stored in one data storage area and the new program is stored in the other data storage area. Since the new and old programs are stored in a pair of data storage areas, the new program can be stored while executing the old program and by switching the old program to the new program after the completion of execution, version-up is possible without applying trouble to the program under execution.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プログラム管理方
法、特にパーソナルコンピュータやワークステーション
等のハードウエアと有機的に結合して様々な機能を実現
するプログラムの管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a program management method, and more particularly to a program management method for realizing various functions by being organically connected to hardware such as a personal computer and a workstation.

【0002】[0002]

【従来の技術】プログラムとりわけ高性能なプログラム
の“バグ”は開発段階で完全になくせない。製品版とな
った後にバグを修正しながら逐次にバージョンアップ
(又はアップデートとも言う)を行うことになる。バグ
フィックスされたプログラムのバージョンアップ自体は
単なるファイルのコピーであり、とりたてて難しい作業
ではない。
2. Description of the Related Art "Bugs" of programs, especially high-performance programs, cannot be completely eliminated in the development stage. After the product is released, it will be upgraded (or updated) sequentially while fixing bugs. Upgrading a bug-fixed program is just a copy of the file, not a difficult task.

【0003】すなわち、フロッピィディスクやCD−R
OMなどに格納されたバージョンアップファイルを2次
記憶(ハードディスクなど)上の同名ファイルに上書き
すればよい。しかも、最近ではこのような処理を自動化
したインストールツールも出回っているので、このツー
ルを利用すれば、画面上のボタンをクリックするだけで
ファイルのコピーからシステムの設定までを簡単に行う
ことができる。
[0003] That is, floppy disks and CD-Rs
The version upgrade file stored in the OM or the like may be overwritten on the file of the same name on the secondary storage (such as a hard disk). And recently, there is an installation tool that automates such processing, so if you use this tool, you can easily perform everything from copying files to setting up the system simply by clicking a button on the screen .

【0004】ところで、バージョンアップ対象のプログ
ラムが1次記憶(メインメモリ)上にロードされている
場合、すなわち実行中の場合はそのプログラムを一旦終
了させる必要がある。特に、バージョンアップ対象のプ
ログラムが他のプログラムから参照されるオーバレイ型
の場合や、DLL、OCX又はActiveXなどのプ
ログラム部品の場合には欠かせない手順である。修正部
分によっては他のプログラムとの整合が崩れてしまうか
らである。
When a program to be upgraded is loaded on the primary storage (main memory), that is, when it is being executed, it is necessary to temporarily terminate the program. In particular, this is an indispensable procedure when the program to be upgraded is an overlay type program referred to by another program, or when the program component is a DLL, OCX, or ActiveX program component. This is because the consistency with other programs is lost depending on the modified part.

【0005】[0005]

【発明が解決しようとする課題】従来技術の不都合な点
は、実行中のプログラムをバージョンアップする際は、
そのプログラムを一旦終了させなければならないことに
ある。したがって、そのプログラムを終了できない場合
は、バージョンアップをまったく行うことができないか
ら、例えば、24時間運用のサーバープログラムのよう
に中断不可能なプログラムをバージョンアップできない
という不都合がある。
The disadvantage of the prior art is that when upgrading a running program,
That is, the program must be terminated once. Therefore, if the program cannot be terminated, no version upgrade can be performed. For example, there is a disadvantage that a non-interruptable program such as a 24-hour server program cannot be upgraded.

【0006】そこで、本発明は、実行中のプログラムで
あっても不都合なくバージョンアップを行うことを目的
とする。
It is an object of the present invention to upgrade a running program without inconvenience.

【0007】[0007]

【課題を解決するための手段】請求項1に係る発明は、
一対のデータ格納領域を有し、旧プログラムを新プログ
ラムにバージョンアップする際は、一方のデータ格納領
域に旧プログラムを格納し、他方のデータ格納領域に新
プログラムを格納することを特徴とする。請求項1に係
る発明では、一対のデータ格納領域に新旧プログラムを
格納するので、旧プログラムを実行したまま新プログラ
ムを格納でき、旧プログラムの実行完了後に新プログラ
ムに切り換えれば、実行中のプログラムに支障を与える
ことなくバージョンアップを行うことができる。
The invention according to claim 1 is
It has a pair of data storage areas, and when an old program is upgraded to a new program, the old program is stored in one data storage area and the new program is stored in the other data storage area. According to the first aspect of the present invention, the new and old programs are stored in the pair of data storage areas, so that the new program can be stored while the old program is being executed. Can be upgraded without any trouble.

【0008】請求項2に係る発明は、他のプログラムと
第1のプログラムとの間の参照をテーブルを介して間接
的に行い、前記参照が行われている間は前記テーブル内
に設けられたフラグをセット状態にし、且つ、前記第1
のプログラムを第2のプログラムにバージョンアップす
る際は、前記第2のプログラムを2次記憶に格納すると
共に1次記憶の空き領域にロードし、前記フラグの状態
がリセット状態になった後に前記テーブルの参照先を前
記第1のプログラムから前記第2のプログラムへと変更
することを特徴とする。
According to a second aspect of the present invention, a reference between another program and the first program is made indirectly via a table, and the program is provided in the table while the reference is being made. Setting the flag, and
When the version of the program is upgraded to the second program, the second program is stored in the secondary storage and loaded into the free area of the primary storage, and after the flag is reset to the reset state, the table is updated. Is changed from the first program to the second program.

【0009】請求項2に係る発明では、第1のプログラ
ムの参照が解除されたときにフラグがリセット状態にな
り、このリセット状態に応答して他のプログラムの参照
先が第1のプログラムから第2のプログラムへとバージ
ョンアップされる。したがって、整合を崩すことなく、
第1のプログラムを第2のプログラムにバージョンアッ
プすることができ、実行中のプログラムのバージョンア
ップを不都合なく行うことができる。
According to the second aspect of the present invention, when the reference to the first program is released, the flag is reset, and in response to the reset state, the reference destination of another program is changed from the first program to the first program. Version 2 is upgraded. Therefore, without breaking alignment
The first program can be upgraded to the second program, and the running program can be upgraded without any inconvenience.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施例を図面に基
づいて説明する。図1は本発明に係るプログラム管理方
法の第1実施例を示す図であり、特に限定しないが、放
送波を利用したプログラム配信システムへの適用例であ
る。まず、構成を説明する。図1において、1は地上波
やケーブル又は衛星によって伝送された放送波の中から
映像情報とプログラム情報とを分離抽出する分離抽出回
路である。なお、映像情報は垂直同期信号や水平同期信
号などの同期情報及び音声情報を含むものであり、ま
た、プログラム情報は圧縮又は非圧縮状態で放送波の例
えば垂直帰線期間(VBI)に埋め込まれているもので
ある。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a diagram showing a first embodiment of a program management method according to the present invention, and is an example of application to a program distribution system using broadcast waves, although not particularly limited. First, the configuration will be described. In FIG. 1, reference numeral 1 denotes a separation / extraction circuit for separating and extracting video information and program information from terrestrial waves or broadcast waves transmitted by cable or satellite. Note that the video information includes synchronization information such as a vertical synchronization signal and a horizontal synchronization signal and audio information, and the program information is embedded in a compressed or uncompressed state, for example, in a vertical blanking interval (VBI) of a broadcast wave. Is what it is.

【0011】映像情報は公知のテレビジョン受像部2に
送られ、情報内容に応じた映像表示及び音声出力が行わ
れるが、プログラム情報は情報処理部3の第1バージョ
ン比較部4に送られる。第1バージョン比較部4は、プ
ログラム情報が圧縮されていれば非圧縮状態に戻した
後、情報処理部3のデータ格納領域5、6に同じプログ
ラム情報が存在するか否かを調査する。なお、本実施例
では、二つのデータ格納領域5、6の一方を実行形式の
プログラム用、他方をDLLやOCX又はActive
Xなどのプログラム部品用にしているが、これに限定さ
れない。以下、左側のデータ格納領域5を実行形式のプ
ログラム用、左側のデータ格納領域をプログラム部品用
とする。さらに、二つのデータ格納領域5、6はそれぞ
れがA、B二つのデータ格納領域5A、5B(6A、6
B)に分けられている。
The video information is sent to a known television receiving unit 2, and a video display and an audio output are performed according to the information content. The program information is sent to a first version comparing unit 4 of the information processing unit 3. If the program information is compressed, the first version comparing unit 4 returns to the non-compressed state, and then checks whether or not the same program information exists in the data storage areas 5 and 6 of the information processing unit 3. In this embodiment, one of the two data storage areas 5 and 6 is used for an executable program, and the other is used as a DLL, OCX or Active.
Although it is used for a program component such as X, it is not limited to this. Hereinafter, the left data storage area 5 is used for an executable program, and the left data storage area is used for a program component. Further, the two data storage areas 5 and 6 are A and B respectively, and the two data storage areas 5A and 5B (6A, 6
B).

【0012】第1バージョン比較器4はプログラム情報
が実行形式のプログラムの場合、左側の二つのデータ格
納領域5A、5Bを検査し、両方の領域に同じプログラ
ムが存在すれば、古いバージョンのプログラムを新プロ
グラムで上書きし、一方の領域のみに同じプログラムが
存在すれば、他方の領域に新プログラムを格納する。第
1バージョン比較器4はまた、プログラム情報がプログ
ラム部品の場合、右側の二つのデータ格納領域6A、6
Bを検査し、両方の領域に同じプログラムが存在すれ
ば、古いバージョンのプログラムを新プログラムで上書
きし、一方の領域のみに同じプログラムが存在すれば、
他方の領域に新プログラムを格納する。
When the program information is an executable program, the first version comparator 4 examines the two left data storage areas 5A and 5B. If the same program exists in both areas, the first version comparator 4 deletes the old version program. The new program is overwritten. If the same program exists in only one area, the new program is stored in the other area. When the program information is a program part, the first version comparator 4 also includes two right data storage areas 6A, 6A.
B is checked, and if the same program exists in both areas, the old version of the program is overwritten with the new program. If the same program exists in only one area,
The new program is stored in the other area.

【0013】7は第2バージョン比較部である。この第
2バージョン比較部7は、二つのバージョン比較部7
A、7Bからなり、左側のバージョン比較部7Aは、デ
ータ格納領域5A、5Bに格納されたプログラムのバー
ジョンを比較して新しいバージョンのプログラムをプロ
グラム実行部8に渡し、右側のバージョン比較部7B
は、データ格納領域6A、6Bに格納されたプログラム
のバージョンを比較して新しいバージョンのプログラム
をプログラム実行部8に渡すものである。なお、プログ
ラム実行部8は渡されたプログラムを実行し、例えば、
テレビジョン受像機2にグラフィックや文字を表示した
り、あるいはボタンなどのユーザインタフェースを表示
したりするものである。
Reference numeral 7 denotes a second version comparison unit. The second version comparing unit 7 includes two version comparing units 7
A, 7B. The left version comparing section 7A compares the versions of the programs stored in the data storage areas 5A, 5B, passes a new version of the program to the program executing section 8, and the right version comparing section 7B.
Is for comparing the versions of the programs stored in the data storage areas 6A and 6B and passing a new version of the program to the program execution unit 8. The program execution unit 8 executes the passed program, for example,
It displays graphics and characters on the television receiver 2 or displays a user interface such as buttons.

【0014】このような構成によれば、旧プログラムを
書き換えずにバージョンアップを行えるから、実行中の
プログラム(旧プログラム)に不都合を与えることがな
い上、バージョンアップ後は新旧二つのプログラムが情
報処理部3の内部に存在することになるから、例えば、
バージョンアップに失敗した場合は旧プログラムで復旧
することができ、特に、通信品質の悪い場合に好適であ
る。
According to such a configuration, since the version can be upgraded without rewriting the old program, no inconvenience is given to the program being executed (old program). Since it exists inside the processing unit 3, for example,
If the version upgrade fails, the old program can be used for recovery, and is particularly suitable when communication quality is poor.

【0015】図2は本発明に係るプログラム管理方法の
第2実施例を示す図であり、上記プログラム配信システ
ムを含む情報処理装置一般への適用例である。図2にお
いて、10は情報処理装置のアドレスマップである。マ
ップ10には、本実施例のポイントとなるテーブル11
が設けられており、さらに、いくつかの領域にはそれぞ
れプログラム12〜14が格納されている。プログラム
12は発明の要旨に記載の“他のプログラム”に相当
し、プログラム13は同要旨に記載の“第1のプログラ
ム”に相当し、プログラム14は同要旨に記載の“第2
のプログラム”に相当するものである。
FIG. 2 is a diagram showing a second embodiment of the program management method according to the present invention, which is an example of application to an information processing apparatus including the above-mentioned program distribution system. In FIG. 2, reference numeral 10 denotes an address map of the information processing device. The map 10 includes a table 11 which is a point of the present embodiment.
Are provided, and programs 12 to 14 are stored in some areas, respectively. The program 12 corresponds to the “other program” described in the gist of the invention, the program 13 corresponds to the “first program” described in the gist, and the program 14 corresponds to the “second program” described in the gist of the invention.
Program ".

【0016】すなわち、プログラム12はテーブル11
を介してプログラム13を間接的に参照するものであ
り、プログラム14は所定の条件を満たしたときにプロ
グラム13の代わりにプログラム12から参照されるも
のである。テーブル11のレコードはシンボルフィール
ド11a、フラグフィールド11b及びエントリフィー
ルド11cから構成されており、図では便宜的に、ある
レコードのシンボルフィールド11aに“ABC”が、
また、同レコードのエントリフィールド11cに“X”
が格納されている。
That is, the program 12 is stored in the table 11
The program 13 is indirectly referred to via the program 13, and the program 14 is referred to from the program 12 instead of the program 13 when a predetermined condition is satisfied. The record of the table 11 is composed of a symbol field 11a, a flag field 11b, and an entry field 11c. In the drawing, for convenience, "ABC" is added to the symbol field 11a of a certain record.
Also, “X” is entered in the entry field 11c of the same record.
Is stored.

【0017】ここで、“ABC”はプログラム13のシ
ンボル名である。したがって、プログラム12に記述さ
れたシンボル“ABC”は、テーブル11のエントリフ
ィールド11cの“X”によって間接参照され、マップ
10のアドレスXをスタートアドレスとするプログラム
13が実行されるが、本実施例では、この間接参照の
間、テーブル11のフラグフィールド11bがセット状
態にされるようになっており、さらに、フラグフィール
ド11bがリセット状態に戻ると、すなわち、プログラ
ム13の実行が終了すると、テーブル11のエントリフ
ィールド11cの内容が“X”から“Y”(プログラム
14のスタートアドレス)に書き換えられるようになっ
ている。
Here, "ABC" is the symbol name of the program 13. Therefore, the symbol "ABC" described in the program 12 is indirectly referred to by the "X" of the entry field 11c of the table 11, and the program 13 starting from the address X of the map 10 is executed. During this indirect reference, the flag field 11b of the table 11 is set to a set state. When the flag field 11b returns to a reset state, that is, when the execution of the program 13 ends, the table 11 Is rewritten from "X" to "Y" (start address of the program 14).

【0018】したがって、本実施例によれば、プログラ
ム13の実行終了を待ってからプログラム12とプログ
ラム14との参照を構築でき、実行中のプログラムに不
都合を与えることなくバージョンアップできる。
Therefore, according to the present embodiment, the reference between the program 12 and the program 14 can be constructed after the completion of the execution of the program 13, and the version can be upgraded without giving any inconvenience to the program being executed.

【0019】[0019]

【発明の効果】本発明によれば、実行中のプログラムで
あっても不都合なくバージョンアップを行うことができ
る。
According to the present invention, even a running program can be upgraded without any inconvenience.

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

【図1】第1実施例の構成図である。FIG. 1 is a configuration diagram of a first embodiment.

【図2】第2実施例のメモリマップ図である。FIG. 2 is a memory map diagram of a second embodiment.

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

5A、5B:データ格納領域(一対のデータ格納領域) 6A、6B:データ格納領域(一対のデータ格納領域) 11:テーブル 12:プログラム(他のプログラム) 13:プログラム(第1のプログラム) 14:プログラム(第2のプログラム) 5A, 5B: data storage area (pair of data storage areas) 6A, 6B: data storage area (pair of data storage areas) 11: table 12: program (other program) 13: program (first program) 14: Program (second program)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】一対のデータ格納領域を有し、旧プログラ
ムを新プログラムにバージョンアップする際は、一方の
データ格納領域に旧プログラムを格納し、他方のデータ
格納領域に新プログラムを格納することを特徴とするプ
ログラム管理方法。
1. When a version of an old program is upgraded to a new program having a pair of data storage areas, the old program is stored in one data storage area and the new program is stored in the other data storage area. A program management method characterized by the following.
【請求項2】他のプログラムと第1のプログラムとの間
の参照をテーブルを介して間接的に行い、前記参照が行
われている間は前記テーブル内に設けられたフラグをセ
ット状態にし、且つ、前記第1のプログラムを第2のプ
ログラムにバージョンアップする際は、前記第2のプロ
グラムを2次記憶に格納すると共に1次記憶の空き領域
にロードし、前記フラグの状態がリセット状態になった
後に前記テーブルの参照先を前記第1のプログラムから
前記第2のプログラムへと変更することを特徴とするプ
ログラム管理方法。
2. A reference between another program and a first program is made indirectly via a table, and a flag provided in the table is set while the reference is being made. Further, when upgrading the first program to the second program, the second program is stored in the secondary storage and loaded into the empty area of the primary storage, and the state of the flag is reset to the reset state. And changing the reference destination of the table from the first program to the second program after the change.
JP19979997A 1997-07-25 1997-07-25 Program managing method Pending JPH1145179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19979997A JPH1145179A (en) 1997-07-25 1997-07-25 Program managing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19979997A JPH1145179A (en) 1997-07-25 1997-07-25 Program managing method

Publications (1)

Publication Number Publication Date
JPH1145179A true JPH1145179A (en) 1999-02-16

Family

ID=16413825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19979997A Pending JPH1145179A (en) 1997-07-25 1997-07-25 Program managing method

Country Status (1)

Country Link
JP (1) JPH1145179A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010010597A1 (en) * 2008-07-23 2010-01-28 富士通株式会社 Object linkage device for linking objects in statically linked executable format program file, method for linking objects, and program thereof
KR20140113685A (en) * 2012-01-15 2014-09-24 마이크로소프트 코포레이션 Installation engine and package format for parallelizable, reliable installations

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010010597A1 (en) * 2008-07-23 2010-01-28 富士通株式会社 Object linkage device for linking objects in statically linked executable format program file, method for linking objects, and program thereof
US8561047B2 (en) 2008-07-23 2013-10-15 Fujitsu Limited Object linkage device for linking objects in statically linked executable program file, method of linking objects, and computer readable storage medium storing program thereof
KR20140113685A (en) * 2012-01-15 2014-09-24 마이크로소프트 코포레이션 Installation engine and package format for parallelizable, reliable installations
JP2015503812A (en) * 2012-01-15 2015-02-02 マイクロソフト コーポレーション Installation engine and package format for parallelizable and reliable installation

Similar Documents

Publication Publication Date Title
EP1067458A1 (en) Running and testing applications
US6230319B1 (en) Managing interruption while downloading data over a network
US7739659B2 (en) Information processing apparatus, executability determining method, and computer program for the same
US6405309B1 (en) Method and apparatus for creating and deploying smaller Microsoft Windows applications for automatic configuration of a computing device
US6209127B1 (en) Terminal device capable of remote download, download method of loader program in terminal device, and storage medium storing loader program
KR101312902B1 (en) Triggerless interactive television
US20030221094A1 (en) Method and system for configuring a computer
US20010042112A1 (en) Methods and systems for obtaining computer software via a network
US20060123185A1 (en) Streaming from a media device
US20220107776A1 (en) Screen transmission processing method, apparatus, and device
JP2002196945A (en) Upgrading system and method of device driver
KR20020015848A (en) Television based on operating system and initial screen display method thereof
EP1146749A1 (en) Apparatus and method for testing applications
US6895463B2 (en) Method and apparatus for efficiently running an execution image using volatile and non-volatile memory
US20080077681A1 (en) Method and apparatus for upgrading software of digital broadcasting receiver
US7228526B2 (en) Application imaging infrastructure
CN111338722A (en) Live broadcast room template loading method and device, electronic equipment and readable storage medium
US6795965B1 (en) Multi-source program module updater
WO2017063401A1 (en) Frame management method and device for interactive function card in smart television
RU2181905C2 (en) Development of system controlling television or radio broadcasting
JPH1145179A (en) Program managing method
CN111782236A (en) System software upgrading method and device, storage medium and all-in-one machine equipment
CN102143123B (en) Method for simultaneously realizing downloading and playing, client, server and system
US20050081197A1 (en) Method for installing a software module in a device
JPH1153223A (en) Data processing method, recording medium and electronic equipment