JP2001273128A - System for updating software on line - Google Patents

System for updating software on line

Info

Publication number
JP2001273128A
JP2001273128A JP2000086324A JP2000086324A JP2001273128A JP 2001273128 A JP2001273128 A JP 2001273128A JP 2000086324 A JP2000086324 A JP 2000086324A JP 2000086324 A JP2000086324 A JP 2000086324A JP 2001273128 A JP2001273128 A JP 2001273128A
Authority
JP
Japan
Prior art keywords
task
program
new
old
information
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.)
Abandoned
Application number
JP2000086324A
Other languages
Japanese (ja)
Other versions
JP2001273128A5 (en
Inventor
Futoshi Koga
太 古賀
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2000086324A priority Critical patent/JP2001273128A/en
Publication of JP2001273128A publication Critical patent/JP2001273128A/en
Publication of JP2001273128A5 publication Critical patent/JP2001273128A5/ja
Abandoned legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize a program updating system capable of preparing a new task corresponding to another task performing a connection operation by inheriting connection information between the task and the other task during the time when the task performing the connection operation with the other task operates. SOLUTION: A software update control means 5 transmits information for making a program in the middle of performing an old task 1 that performs a connection operation with the other task 21 on the basis of a program update request from a user and can make the new task 3 continue the connection operation with the other task 21 by allowing the new task 3 to inherit the program of the old task 1.

Description

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

【0001】[0001]

【発明の属する技術分野】この発明は、稼働中の機器に
おいて、機器を停止すること無くタスクのプログラム更
新を行うオンライン更新方式に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an online updating system for updating a program of a task in an operating device without stopping the device.

【0002】[0002]

【従来の技術】[Prior art]

【0003】図8は、例えば特開平10−312274
号公報に記載のオンライン状態でプログラムを更新する
ソフトウェアシステムの稼動中プログラム置換方法およ
び装置である。この方法および装置は、置換プログラム
52の識別子と被置換プログラム51の識別子を置換制
御情報記憶手段54に記憶し、置換制御手段53がこれ
らの置換制御情報を参照しながら、被置換プログラム5
1の処理の終了や被置換プログラム51から置換プログ
ラム52への処理情報の引継ぎを制御するものである。
FIG. 8 shows, for example, Japanese Patent Application Laid-Open No. Hei 10-310274.
Patent Document 1: A running program replacement method and apparatus of a software system for updating a program in an online state described in Japanese Patent Application Laid-Open Publication No. H10-209,873. In this method and apparatus, the identifier of the replacement program 52 and the identifier of the replacement program 51 are stored in the replacement control information storage means 54, and the replacement control means 53 refers to the replacement control information, and
1 to control the end of the process 1 and the transfer of the processing information from the replaced program 51 to the replacement program 52.

【0004】[0004]

【発明が解決しようとする課題】[Problems to be solved by the invention]

【0005】上記の稼動中プログラム置換方法および装
置は、置換制御手段53が被置換プログラム51と置換
プログラム52を稼動中に置換するものであるが、他の
プログラムと連携動作をしている被置換プログラム51
を、プログラムの稼動中に更新する際に、置換プログラ
ム52が被置換プログラム51と他のプログラムの連携
情報を引き継ぐことができないという課題があった。
In the above-described method and apparatus for replacing a running program, the replacement control means 53 replaces the replacement program 51 and the replacement program 52 while the replacement program 51 is running. Program 51
When updating the program during the operation of the program, there is a problem that the replacement program 52 cannot take over the cooperation information between the replaced program 51 and another program.

【0006】この発明は、上記のような課題を解決する
ためになされたものであり、他のプログラム(タスク)
と連携動作をしているプログラム(タスク)の稼動中に、
このプログラム(タスク)と他のプログラム(タスク)の
連携情報を引き継ぐことにより、連携動作している他の
プログラム(タスク)とも対応の取れた、新たなプログ
ラム(タスク)に更新できるソフトウェアオンライン更
新方式を提供することを目的とする。
[0006] The present invention has been made to solve the above-described problems, and has another program (task).
While running a program (task) that is cooperating with
Software online update method that can update to a new program (task) that is compatible with other programs (tasks) that are linked by inheriting the link information between this program (task) and other programs (tasks) The purpose is to provide.

【0007】[0007]

【課題を解決するための手段】第1の発明は、プログラ
ムを実行中の第1のタスクと、この第1のタスクと連携
動作している第2のタスクと、上記第1のタスクの実行
中のプログラムを引き継ぐ第3のタスクと、ユーザから
のプログラム更新要求に基づいて、上記第2のタスクと
連携動作している上記第1のタスクの実行中のプログラ
ムを引き継がせるためのプログラム情報を上記第3のタ
スクに送信し、上記第3のタスクに上記第1のタスクの
プログラムを引き継がせる更新制御手段と、を備えたも
のである。
According to a first aspect of the present invention, there is provided a first task executing a program, a second task operating in cooperation with the first task, and executing the first task. A third task that takes over the program in progress, and program information for taking over the running program of the first task that is cooperating with the second task based on a program update request from the user. Update control means for transmitting to the third task and causing the third task to take over the program of the first task.

【0008】第2の発明は、上記第1のタスクの実行中
のプログラムと、上記第1のタスクと上記第2のタスク
との間のタスク間通信情報と、により構成された上記プ
ログラム情報を有し、ユーザからのプログラム更新要求
を受けた時に、上記プログラム情報を上記第3のタスク
に送信する更新制御手段を備えたものである。
[0008] In a second aspect, the present invention is characterized in that the program information constituted by a program during execution of the first task and inter-task communication information between the first task and the second task is stored. Update control means for transmitting the program information to the third task when a program update request is received from a user.

【0009】第3の発明は、上記プログラム情報を有す
る第1のタスクと、上記プログラム情報に基づいて自ら
のプログラム情報と、上記第2のタスクとの間の新たな
タスク間通信情報とからなる新規プログラム情報を作成
し、この新規プログラム情報を上記第2のタスクに送信
し、上記第2のタスクと連携動作する第3のタスクとを
備えたものである。
A third invention comprises a first task having the program information, own program information based on the program information, and new intertask communication information between the second task. The program includes new program information, transmits the new program information to the second task, and includes a third task that operates in cooperation with the second task.

【0010】[0010]

【発明の実施の形態】実施の形態1.以下、本発明の実
施の形態1を図を参照して説明する。図1は、実施の形
態1のソフトウェアオンライン更新方式(タスクのオン
ライン更新方式)の構成図である。図において、1は更
新対象である旧タスク、2は旧タスク1を更新するため
の処理方法が記述された旧タスク1のバージョンアップ
関数、3は更新された新タスク、4は新タスク3の更新
時の処理方法が記述された新タスク3のバージョンアッ
プ関数、5はソフトウエア更新制御手段5であり、タス
クもしくはドライバとして実装する。図2は、ソフトウ
エア更新制御手段5が行う処理の概要を説明する図であ
る。ソフトウエア更新制御手段5は、旧タスク1で行わ
れた処理からデータ属性を取得し、新タスク3に旧タス
ク1のデータ属性をコピーまたは型変換するものであ
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Hereinafter, Embodiment 1 of the present invention will be described with reference to the drawings. FIG. 1 is a configuration diagram of a software online update method (task online update method) according to the first embodiment. In the figure, 1 is an old task to be updated, 2 is a version upgrade function of the old task 1 in which a processing method for updating the old task 1 is described, 3 is an updated new task, and 4 is a new task 3 A version upgrade function 5 of the new task 3 in which a processing method at the time of updating is described is a software update control means 5, which is implemented as a task or a driver. FIG. 2 is a diagram illustrating an outline of a process performed by the software update control unit 5. The software update control means 5 acquires the data attribute from the processing performed in the old task 1 and copies or converts the data attribute of the old task 1 to the new task 3.

【0011】図3は、ソフトウェア更新制御手段5内部
に設定されている更新タスク情報管理表を示す図であ
る。ユーザからソフトウエア更新制御手段5に対して、
旧タスク1を新タスク3に更新する要求が発行される
と、ソフトウェア更新制御手段5は、更新タスク情報管
理表11に、旧タスク識別子12、旧タスク1のバージ
ョンアップ関数2の記述された位置13、新タスク識別
子14、新タスク3のバージョンアップ関数4の記述さ
れた位置15を設定したのち、新タスク3をメモリ上に
ロードし、タスク間非同期通信により旧タスク1に更新
開始を通知する。ここで、位置13、位置15は、例え
ば、バージョンアップ関数2、バージョンアップ関数4
の存在するメモリ上のアドレスを示すものである。
FIG. 3 is a diagram showing an update task information management table set in the software update control means 5. From the user to the software update control means 5,
When a request to update the old task 1 to the new task 3 is issued, the software update control means 5 writes the old task identifier 12 and the position where the version upgrade function 2 of the old task 1 is described in the updated task information management table 11. 13, a new task identifier 14, and a position 15 where the version upgrade function 4 of the new task 3 is described. After that, the new task 3 is loaded into the memory, and the update start is notified to the old task 1 by asynchronous communication between tasks. . Here, the position 13 and the position 15 are, for example, the version-up function 2 and the version-up function 4
Indicates the address on the memory where the data exists.

【0012】タスク間非同期通信は、例えば、UNI
(登録商標)Xにおけるシグナル機構や、CTRON
(登録商標)における他のタスク21への例外発行に該
当し、バージョンアップ関数2とバージョンアップ関数
4とは、それぞれシグナルハンドラや、例外ハンドラと
して実現する。UNIXにおけるシグナル機構や、CTRONに
おけるタスクからの例外発行は、シグナル禁止区間や例
外禁止区間を設けることにより、更新通知を受けるタイ
ミングを旧タスク1の制御下に置くことが可能である。
Asynchronous communication between tasks is performed, for example, by UNI.
(Registered trademark) X signal mechanism, CTRON
This corresponds to the issuance of an exception to another task 21 in (registered trademark), and the version upgrade function 2 and the version upgrade function 4 are realized as a signal handler and an exception handler, respectively. By issuing a signal prohibition section or an exception prohibition section for a signal mechanism in UNIX or a task in CTRON to issue an exception, the timing of receiving an update notification can be controlled by the old task 1.

【0013】従って、旧タスク1から新タスク3に処理
を引継ぐ際に、旧タスク1の区切りの良いところまでを
シグナル禁止もしくは例外禁止とすれば、新タスク3へ
の処理引継ぎをスムーズに行えるプログラム位置を設定
することができる。なお、タスクの処理内容により、即
座に新タスク3への更新が要求される場合は、該シグナ
ル禁止、該例外禁止区間を設けなければ良いことにな
る。
Therefore, when taking over the processing from the old task 1 to the new task 3, if the signal is prohibited or the exception is prohibited up to the point where the old task 1 is well separated, the program can smoothly carry over the processing to the new task 3. The position can be set. In the case where the update to the new task 3 is immediately requested depending on the processing content of the task, the signal prohibition and the exception prohibition section need not be provided.

【0014】旧タスク1が、ソフトウエア更新制御手段
5から更新要求を受けると、シグナルハンドラもしくは
例外ハンドラとして実現されたバージョンアップ関数2
が呼び出される。バージョンアップ関数2には、プログ
ラム更新のための処理方法が記述されており、この記述
された処理方法に基づいて、新タスク3に引継ぐ情報を
格納したデータ属性(データ領域のアドレスとサイズ、
データの型すなわちデータの構造など)と、更新準備が
整ったこととがデータエリア通知(タスク間通信を利用)
によりソフトウェア更新制御手段5に通知される。
When the old task 1 receives an update request from the software update control means 5, an upgrade function 2 implemented as a signal handler or an exception handler is executed.
Is called. The version upgrade function 2 describes a processing method for updating a program. Based on the described processing method, a data attribute (address and size of the data area,
Data area notification (using inter-task communication) that the data type, that is, the data structure, etc.) and that the update is ready
Is notified to the software update control means 5.

【0015】ソフトウェア更新制御手段5は、更新タス
ク情報管理表11から、新タスク3のバージョンアップ
関数4のアドレスを取得し、データエリア通知により渡
されたデータ属性をバージョンアップ関数4に渡し、バ
ージョンアップ関数4を起動する。ここで、アドレスは
バージョンアップ関数がどこにあるのかその位置を示す
ものである。ソフトウェア更新制御手段5は、新タスク
3のバージョンアップ関数4の位置を取得し、この位置
にあるバージョンアップ関数4にデータ属性を渡すもの
である。
The software update control means 5 obtains the address of the version upgrade function 4 of the new task 3 from the update task information management table 11, passes the data attribute passed by the data area notification to the version upgrade function 4, Invoke up function 4. Here, the address indicates where the version upgrade function is located. The software update control means 5 acquires the position of the version upgrade function 4 of the new task 3 and passes the data attribute to the version upgrade function 4 at this position.

【0016】新タスク3のバージョンアップ関数4は、
旧タスク1から渡されたデータ属性に従って、必要なら
ばデータ構造(データの型)の相違を意識しながら、旧
タスク1の処理引継ぎに必要なデータをコピーする。
The version upgrade function 4 of the new task 3 is:
According to the data attribute passed from the old task 1, if necessary, the data necessary for taking over the processing of the old task 1 is copied while being aware of the difference in the data structure (data type).

【0017】新タスク3のバージョンアップ関数4は、
旧タスク1からの処理引継ぎに必要な処理を完了後、ソ
フトウェア更新制御手段5に引継ぎ処理の完了を完了通
知により通知する。ソフトウェア更新制御手段5は、処
理完了通知を受けると、完了通知により、旧タスク1の
バージョンアップ関数2に新タスク3への処理引継ぎが
完了したことを通知し、新タスク3を起動する。旧タス
ク1のバージョンアップ関数2では、保持している資源
を解放し、旧タスク1を終了する。
The version upgrade function 4 of the new task 3 is:
After completing the processing necessary for taking over the process from the old task 1, the software update control unit 5 is notified of the completion of the takeover process by a completion notification. Upon receiving the process completion notification, the software update control unit 5 notifies the version upgrade function 2 of the old task 1 that the transfer of the process to the new task 3 has been completed, and activates the new task 3. In the version upgrade function 2 of the old task 1, the retained resources are released, and the old task 1 ends.

【0018】次に、新旧タスクとソフトウエア更新制御
手段5の動作を、フローチャートを用いて説明する。図
4は、本実施の形態の動作のフローチャートである。ま
ず、ステップS101でユーザよりプログラム(タスク)
の更新がソフトウエア更新制御手段5に通知されると、
ステップS102で更新タスク情報管理表21を図3の
様に設定する。次に、ステップS103でソフトウエア
更新制御手段5は新タスク3をメモリ上にロードし、ス
テップS104でタスク間非同期通信6により旧タスク
1に更新開始を通知する。
Next, the operation of the new and old tasks and the operation of the software update control means 5 will be described with reference to flowcharts. FIG. 4 is a flowchart of the operation of the present embodiment. First, in step S101, the user inputs a program (task).
Is notified to the software update control means 5,
In step S102, the update task information management table 21 is set as shown in FIG. Next, in step S103, the software update control means 5 loads the new task 3 into the memory, and notifies the old task 1 of the update start by the inter-task asynchronous communication 6 in step S104.

【0019】旧タスク1は、ステップS105でタスク
間非同期通信禁止区間を出た後に、該通知を受け取りバ
ージョンアップ関数2を実行する。バージョンアップ関
数2は、ステップS106で新タスク3へ引継ぐ予め各
タスク毎に決められたデータ属性を取得し、ステップS
107でソフトウエア更新制御手段5へデータ属性とタ
スク切替準備が整ったことを通知する。この時、バージ
ョンアップ関数2はデータ属性をソフトウエア更新制御
手段5に送る。
After leaving the inter-task asynchronous communication prohibited section in step S105, the old task 1 receives the notification and executes the version upgrade function 2. The version upgrade function 2 acquires the data attribute determined in advance for each task to be taken over to the new task 3 in step S106, and
At 107, the software update control means 5 is notified that the data attribute and the task switching preparation are ready. At this time, the version upgrade function 2 sends the data attribute to the software update control means 5.

【0020】次に、ステップS108でソフトウエア更
新制御手段5は、新タスク3のバージョンアップ関数4
を呼び出し、旧タスク1から受け取ったデータ属性をバ
ージョンアップ関数4に渡す。新タスク3は、ステップ
S109で旧タスク1から渡されたデータ属性を取得
し、ステップS110でデータや構造のコピーを行い、
ステップS111で処理引継ぎが完了したことを、ソフ
トウエア更新制御手段5に通知する。
Next, in step S108, the software update control means 5 updates the version upgrade function 4 of the new task 3.
And passes the data attribute received from the old task 1 to the version upgrade function 4. The new task 3 acquires the data attribute passed from the old task 1 in step S109, copies the data and structure in step S110,
In step S111, the software update control means 5 is notified that the processing has been completed.

【0021】次に、ステップS112でソフトウエア更
新制御手段5は、該通知を受け、旧タスク1に処理終了
を通知し、ステップS113で新タスク3を起動する。
旧タスク1は、ステップS114でソフトウェアの更新
が終了したことを知り、旧タスク1の取得している資源
を解放したのち、タスクを終了する。
Next, in step S112, the software update control means 5 receives the notification, notifies the old task 1 of the end of the process, and activates the new task 3 in step S113.
The old task 1 knows that the software update has been completed in step S114, releases the resources acquired by the old task 1, and ends the task.

【0022】本実施の形態によれば、タスクの制御下に
おいて、新旧タスクの作りと処理内容に応じて、旧タス
ク1の処理を引継ぎ、オンライン状態でタスクプログラ
ムの更新が可能になる。
According to the present embodiment, the process of the old task 1 is taken over according to the creation and processing of the new and old tasks under task control, and the task program can be updated online.

【0023】実施の形態2.以下、本発明の実施の形態
2を図を参照して説明する。実施の形態1は、新旧タス
クがそれぞれ他のタスクと連携動作していない場合の例
を挙げた。実施の形態2では、新旧タスクが複数の他の
タスクと連携動作している場合の処理引継ぎ方法を示
す。旧タスクが、他のタスクと連携動作している場合、
通常、旧タスクは他のタスクとタスク間通信を利用して
連携動作に必要な情報を授受している。このような旧タ
スクを新タスクに置きかえる場合、旧タスクと他のタス
クとの間のタスク間通信に必要な資源(例えばメッセー
ジ通信を行うためのキュー)を、新タスクが知る必要が
ある。
Embodiment 2 FIG. Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. The first embodiment has exemplified the case where the new and old tasks do not operate in cooperation with other tasks. In the second embodiment, a processing takeover method when the new and old tasks are operating in cooperation with a plurality of other tasks will be described. If the old task is working with other tasks,
Usually, the old task exchanges information necessary for cooperative operation with another task by using inter-task communication. When replacing such an old task with a new task, the new task needs to know resources necessary for inter-task communication between the old task and another task (for example, a queue for performing message communication).

【0024】図5は、実施の形態2のソフトウェアオン
ライン更新方式(タスクのオンライン更新方式)の構成
図である。図において、21は旧タスク1と連携動作し
ている他のタスク、22は他のタスク21のバージョン
アップ関数、23、24、25は、それぞれ他のタスク
21、旧タスク1、新タスク3の所有するメッセージキ
ューであり、これらのタスクが自身で獲得・管理してい
るものである。図6は、ソフトウエア更新制御手段5内
部に設置されている更新タスク情報管理表を示す図であ
る。
FIG. 5 is a configuration diagram of a software online update method (task online update method) according to the second embodiment. In the figure, reference numeral 21 denotes another task operating in cooperation with the old task 1, 22 denotes an upgrade function of the other task 21, and 23, 24, and 25 denote the other tasks 21, the old task 1, and the new task 3, respectively. Owned message queues, which are acquired and managed by these tasks. FIG. 6 is a diagram showing an update task information management table installed in the software update control means 5.

【0025】本実施の形態では、該資源をソフトウエア
更新制御手段5が一括して管理する。ソフトウエア更新
制御手段5は、旧タスク1と他のタスク21との間のタ
スク間通信資源を旧タスク1からの通知により取得し、
図6に示すように、更新タスク情報管理表11に、タス
ク間通信資源31を登録する。旧タスク1から新タスク
3にデータ属性を通知する際に、旧タスク1は、データ
属性と一緒にタスク間通信資源31を新タスク3に渡す
ことにより、新タスク3は旧タスク1とその連携動作し
ている他のタスク21とのタスク間通信に必要な資源情
報、即ちタスク間通信資源31を獲得でき、旧タスク1
と同様に他のタスク21と連携動作が可能になる。
In this embodiment, the software update control means 5 manages the resources collectively. The software update control means 5 acquires the inter-task communication resource between the old task 1 and another task 21 by the notification from the old task 1,
As shown in FIG. 6, the inter-task communication resource 31 is registered in the update task information management table 11. When notifying the new task 3 of the data attribute from the old task 1, the old task 1 transfers the inter-task communication resource 31 to the new task 3 together with the data attribute. Resource information necessary for inter-task communication with another operating task 21, that is, inter-task communication resources 31, can be acquired.
In the same manner as described above, the cooperative operation with another task 21 becomes possible.

【0026】本実施の形態によれば、旧タスク1と連携
して処理を行う他のタスク21とのタスク間通信に必要
なタスク間通信資源31を、ソフトウエア更新制御手段
5が一括取得および管理を行い、新タスク3に通知する
ことにより、新タスク3が旧タスク1と同様に他のタス
ク21との連携動作を継続することが可能になる。
According to the present embodiment, the software update control means 5 collectively obtains the inter-task communication resources 31 required for inter-task communication with another task 21 which performs processing in cooperation with the old task 1. By performing the management and notifying the new task 3, the new task 3 can continue the cooperative operation with the other tasks 21 in the same manner as the old task 1.

【0027】実施の形態3.以下、本発明の実施の形態
3を図を参照して説明する。実施の形態2は、ソフトウ
エア更新制御手段5が、旧タスク1と連携動作している
他のタスク21とのタスク間通信資源情報を一括管理す
る例を挙げた。本実施の形態では、該タスク間通信情報
を、更新するタスク間で個々に管理する例を示す。図7
は、実施の形態3のソフトウェアオンライン更新方式
(タスクのオンライン更新方式)の構成図である。旧タ
スク1、新タスク3、他のタスク21は、それぞれタス
ク間通信資源管理表41、42、43を持つ。
Embodiment 3 Hereinafter, a third embodiment of the present invention will be described with reference to the drawings. In the second embodiment, an example has been given in which the software update control unit 5 collectively manages inter-task communication resource information with another task 21 cooperating with the old task 1. In the present embodiment, an example is shown in which the inter-task communication information is individually managed between tasks to be updated. FIG.
FIG. 14 is a configuration diagram of a software online update method (task online update method) according to the third embodiment. The old task 1, the new task 3, and the other task 21 have inter-task communication resource management tables 41, 42, and 43, respectively.

【0028】旧タスク1はタスク間通信資源管理表42
に、他のタスク21に対するタスク間通信資源情報を管
理している。旧タスク1を新タスク3に更新する際、ソ
フトウエア更新制御手段5からのタスク非同期通信で旧
タスク1のバージョンアップ関数2が呼ばれると、バー
ジョンアップ関数2では、タスク間資源情報管理表42
に管理されている他のタスク21に対して、これから自
タスクが更新されることを、タスク間通信停止要求によ
り通知する。通知を受けた他のタスク21のバージョン
アップ関数22は、旧タスク1に対するタスク間通信(m
bx2に対するメッセージ送信)を停止する。
The old task 1 is an inter-task communication resource management table 42.
And manages inter-task communication resource information for other tasks 21. When the old task 1 is updated to the new task 3, if the version upgrade function 2 of the old task 1 is called by the task asynchronous communication from the software update control means 5, the version upgrade function 2 uses the inter-task resource information management table 42.
To the other tasks 21 managed by the inter-task communication stop request. Upon receiving the notification, the version upgrade function 22 of the other task 21 executes the inter-task communication (m
Stop sending message to bx2).

【0029】以降、旧タスク1は、自身のデータ属性と
共にタスク間通信資源管理表42の情報も、データエリ
ア通知で新タスク3へ通知する。新タスク3のバージョ
ンアップ関数4は、旧タスク1からデータ属性とタスク
間通信資源管理表42を取得し、その内容から、他のタ
スク21のメッセージキュー23のタスク間通信資源の
情報を取得すると共に、新タスク3の新しいメッセージ
キュー25を新規に生成し、タスク間通信資源管理表4
3を生成する。
Thereafter, the old task 1 notifies the new task 3 of the information of the inter-task communication resource management table 42 together with its own data attribute by the data area notification. The version upgrade function 4 of the new task 3 acquires the data attribute and the inter-task communication resource management table 42 from the old task 1, and acquires information of the inter-task communication resources of the message queue 23 of the other task 21 from the contents. At the same time, a new message queue 25 for the new task 3 is newly generated, and the inter-task communication resource management table 4
3 is generated.

【0030】新タスク3のバージョンアップ関数4は、
処理引継ぎの完了通知により、新タスク3のタスク間通
信資源管理表43をソフトウェア更新制御手段5を介し
て他のタスク21に通知し、通知を受けた他のタスク2
1のバージョンアップ関数22は、自身のタスク間通信
資源管理表41を新タスク3に対応するよう変更し、停
止した処理を再開する。
The version upgrade function 4 of the new task 3 is:
In response to the completion notification of the processing takeover, the inter-task communication resource management table 43 of the new task 3 is notified to the other task 21 via the software update control means 5, and the other task 2 receiving the notification is notified.
The first version upgrade function 22 changes its own inter-task communication resource management table 41 so as to correspond to the new task 3, and restarts the stopped processing.

【0031】本実施の形態によれば、旧タスク1と連携
して処理を行う他のタスク21とのタスク間通信に必要
な資源を、各タスクが個別に管理することが可能とな
り、新タスク3がタスク間通信に必要な資源情報を、旧
タスク1と連携動作している他のタスク21に通知する
ことにより、新タスク3が旧タスク1と同様に他のタス
ク21との連携動作を継続することが可能になる。
According to the present embodiment, each task can individually manage resources required for inter-task communication with another task 21 that performs processing in cooperation with the old task 1, and the new task 3 notifies resource information necessary for inter-task communication to another task 21 that is cooperating with the old task 1 so that the new task 3 can cooperate with the other task 21 in the same manner as the old task 1. It is possible to continue.

【発明の効果】【The invention's effect】

【0032】この発明は、以上説明したように構成され
ているので、以下に示すような効果を奏する。
The present invention is configured as described above, and has the following effects.

【0033】この発明では、ユーザからのプログラム更
新要求に基づいて、第2のタスクと連携動作している第
1のタスクの実行中のプログラムを第3のタスクに引き
継がせることにより、第3のタスクが第2のタスクとの
連携動作を継続することが可能になる。
According to the present invention, the third task is made to take over the running program of the first task that is cooperating with the second task based on a program update request from the user. The task can continue to cooperate with the second task.

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

【図1】 実施の形態1のタスクのオンライン更新方式
の構成図。
FIG. 1 is a configuration diagram of a task online update method according to a first embodiment;

【図2】 実施の形態1においてソフトウエア更新制御
手段5が行う処理の概要説明図。
FIG. 2 is a schematic explanatory diagram of a process performed by a software update control unit 5 in the first embodiment.

【図3】 実施の形態1におけるソフトウェア更新制御
手段5に設定されている更新タスク情報管理表を示す
図。
FIG. 3 is a diagram showing an update task information management table set in software update control means 5 according to the first embodiment.

【図4】 実施の形態1においてタスクのオンライン更
新方式の動作を示すフローチャート。
FIG. 4 is a flowchart showing an operation of a task online update method according to the first embodiment;

【図5】 実施の形態2のタスクのオンライン更新方式
の構成図。
FIG. 5 is a configuration diagram of a task online update method according to the second embodiment;

【図6】 実施の形態2におけるソフトウェア更新制御
手段5に設定されている更新タスク情報管理表を示す
図。
FIG. 6 is a diagram showing an update task information management table set in software update control means 5 according to the second embodiment.

【図7】 実施の形態3のタスクのオンライン更新方式
の構成図。
FIG. 7 is a configuration diagram of a task online update method according to a third embodiment;

【図8】 従来のソフトウェアシステムの稼動中プログ
ラム置換方法および装置の構成図。
FIG. 8 is a configuration diagram of a conventional program replacement method and apparatus during operation of a software system.

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

1 旧タスク、2 バージョンアップ関数、3 新タス
ク、4 バージョンアップ関数、5 ソフトウエア更新
制御手段。
1 Old task, 2 version upgrade function, 3 new task, 4 version upgrade function, 5 software update control means.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを実行中の第1のタスクと、
この第1のタスクと連携動作している第2のタスクと、
上記第1のタスクの実行中のプログラムを引き継ぐ第3
のタスクと、ユーザからのプログラム更新要求に基づい
て、上記第2のタスクと連携動作している上記第1のタ
スクの実行中のプログラムを引き継がせるためのプログ
ラム情報を上記第3のタスクに送信し、上記第3のタス
クに上記第1のタスクのプログラムを引き継がせる更新
制御手段と、を備えたことを特徴とするソフトウエアオ
ンライン更新方式。
1. A first task executing a program,
A second task cooperating with the first task;
Third to take over the running program of the first task
To the third task, based on the task and the program update request from the user, to take over the running program of the first task that is cooperating with the second task. And an update control means for causing the third task to take over the program of the first task.
【請求項2】 上記更新制御手段は、上記第1のタスク
の実行中のプログラムと、上記第1のタスクと上記第2
のタスクとの間のタスク間通信情報と、により構成され
た上記プログラム情報を有し、ユーザからのプログラム
更新要求を受けた時に、上記プログラム情報を上記第3
のタスクに送信することを特徴とする請求項1記載のソ
フトウエアオンライン更新方式。
2. The program according to claim 1, wherein the update control unit is configured to execute the first task, the first task and the second task.
And the inter-task communication information between the tasks. The program information is composed of the third information when a program update request is received from a user.
2. The software online update method according to claim 1, wherein the software online update method is transmitted to the task.
【請求項3】 上記第1のタスクは、上記プログラム情
報を有し、 上記第3のタスクは、上記プログラム情報に基づいて自
らのプログラム情報と、上記第2のタスクとの間の新た
なタスク間通信情報とからなる新規プログラム情報を作
成し、この新規プログラム情報を上記第2のタスクに送
信し、上記第2のタスクと連携動作することを特徴とす
る請求項2記載のソフトウエアオンライン更新方式。
3. The first task has the program information, and the third task is a new task between its own program information and the second task based on the program information. 3. The software online update according to claim 2, wherein new program information including intercommunication information is created, the new program information is transmitted to the second task, and the second task is operated in cooperation with the second task. method.
JP2000086324A 2000-03-27 2000-03-27 System for updating software on line Abandoned JP2001273128A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000086324A JP2001273128A (en) 2000-03-27 2000-03-27 System for updating software on line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000086324A JP2001273128A (en) 2000-03-27 2000-03-27 System for updating software on line

Publications (2)

Publication Number Publication Date
JP2001273128A true JP2001273128A (en) 2001-10-05
JP2001273128A5 JP2001273128A5 (en) 2004-07-22

Family

ID=18602514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000086324A Abandoned JP2001273128A (en) 2000-03-27 2000-03-27 System for updating software on line

Country Status (1)

Country Link
JP (1) JP2001273128A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009146404A (en) * 2007-12-14 2009-07-02 Iti Scotland Ltd Dynamic code update
CN101206575B (en) * 2006-12-19 2010-05-19 大唐移动通信设备有限公司 Software patch on-line upgrade method, veneer and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101206575B (en) * 2006-12-19 2010-05-19 大唐移动通信设备有限公司 Software patch on-line upgrade method, veneer and system
JP2009146404A (en) * 2007-12-14 2009-07-02 Iti Scotland Ltd Dynamic code update

Similar Documents

Publication Publication Date Title
CN101211272B (en) Dynamic virtual machine generation, virtual machine generation method and virtual machine supervisor
JP2010102414A (en) Virtual system control program, method, and device
JPH0512025A (en) Method for realizing interface between object-oriented languages
US5511194A (en) Processing system and processing method capable of dynamically replacing job environment
JP3612043B2 (en) System and method for updating program file being executed
JP3901060B2 (en) Application update processing method, update processing system, and update processing program
KR100834419B1 (en) Software Communication Architecture based System for supporting Component Hot-Swapping and Supporting Method thereof
JP2001306341A (en) Computer system and computer readable recording medium
JP2001273128A (en) System for updating software on line
JP4870794B2 (en) Virtual machine monitoring management apparatus, monitoring management method, and computer program
JP2011018223A (en) System and method for communicating information
JP5403691B2 (en) Virtual machine deployment method, deployment execution program, and deployment execution device
JPH08305596A (en) Virtual machine system and its testing method
US20170085435A1 (en) Client/Server Architecture for Administering a Supercomputer
JP7315214B2 (en) loosely coupled system
KR100275487B1 (en) Method for introduction of plug-in version with new service control point
JPH0390937A (en) Program control system
JP2001216146A (en) Uninterrupted film updating processing system and its method
JP2004078550A (en) Updating system of software
JP2008021048A (en) Print control program
JPH08185298A (en) Shared window operation right management system
JPH02139630A (en) Online task exchange device
JP3697467B2 (en) Switch object update system
JP2002091774A (en) Generation managing system
JP2814738B2 (en) I / O management method of shared disk device in hot standby system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20040629

A762 Written abandonment of application

Free format text: JAPANESE INTERMEDIATE CODE: A762

Effective date: 20041119