JP2000066913A - Uninterrupted update system for program / data of any processor - Google Patents

Uninterrupted update system for program / data of any processor

Info

Publication number
JP2000066913A
JP2000066913A JP10235088A JP23508898A JP2000066913A JP 2000066913 A JP2000066913 A JP 2000066913A JP 10235088 A JP10235088 A JP 10235088A JP 23508898 A JP23508898 A JP 23508898A JP 2000066913 A JP2000066913 A JP 2000066913A
Authority
JP
Japan
Prior art keywords
central processing
processing unit
program
data
new
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.)
Granted
Application number
JP10235088A
Other languages
Japanese (ja)
Other versions
JP3394189B2 (en
Inventor
Satoshi Sunaga
聡 須永
Kiyoshi Ueda
清志 上田
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP23508898A priority Critical patent/JP3394189B2/en
Publication of JP2000066913A publication Critical patent/JP2000066913A/en
Application granted granted Critical
Publication of JP3394189B2 publication Critical patent/JP3394189B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

(57)【要約】 【課題】 任意の中央演算処理装置で実行されるプログ
ラムとそのプログラムが参照するデータをシステム運用
中のまま新しいものに変更できるようにする。 【解決手段】 中央演算処理装置A1はデータ演算処理装
置B4に新プログラム・新データの転送を通知し,中央演
算処理装置B4を予備系に切り替える。予備系となった中
央演算処理装置B4は, 中央演算処理装置A1からの新プロ
グラム・新データを選択受信し,新プログラム46・新デ
ータ47にて運転を再開する。この間,中央演算処理装置
B3は現用系のまま運転を継続する。中央演算処理装置B4
の運転が成功した場合には, 中央演算処理装置B3,B4は
現用系/予備系を切り替え, 中央演算処理装置B3のプロ
グラム・データも更新し,同期運用の二重化構成に戻
る。中央演算処理装置B4の運転が失敗した場合には,中
央演算処理装置B3の旧プログラム・旧データによる運転
を続ける。
(57) [Summary] A program executed by an arbitrary central processing unit and data referred to by the program can be changed to a new one while the system is operating. SOLUTION: A central processing unit A1 notifies a data processing unit B4 of a transfer of a new program / new data, and switches the central processing unit B4 to a standby system. The central processing unit B4 serving as the standby system selectively receives the new program / new data from the central processing unit A1, and resumes operation with the new program 46 / new data 47. During this time, the central processing unit
B3 continues operation with the current system. Central processing unit B4
If the operation is successful, the central processing units B3 and B4 switch between the active system and the standby system, update the program data of the central processing unit B3, and return to the redundant configuration of synchronous operation. If the operation of the central processing unit B4 fails, the operation of the central processing unit B3 is continued with the old program and old data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は,それぞれ二重化構
成である複数の中央演算処理装置を有する通信・情報処
理システムに係わり,特に個々の中央演算処理装置が,
運用中のまま任意の中央演算処理装置のプログラムとデ
ータを新しいものへ置換することを実現する任意のプロ
セッサのプログラム・データ無中断更新システムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication / information processing system having a plurality of central processing units each of which has a duplicated configuration.
The present invention relates to a program / data non-interrupt update system for an arbitrary processor which realizes replacement of a program and data of an arbitrary central processing unit with a new one while being operated.

【0002】[0002]

【従来の技術】従来の複数の中央演算処理装置を有する
通信・情報処理システムにおいては,任意の中央演算処
理装置の処理プログラムやデータを新しいものへ置換す
る際に,その対象である中央演算処理装置の現用系に対
してプロセッサ間通信を行い,新プログラム・新データ
への変更を行っていた。新プログラム・新データへの変
更を行うことは,それについてはじめて運転を開始する
ことになるので,その運転の失敗に備えて,旧プログラ
ム・旧データを予備系(予備系とは,システムから論理
的に切り離されたそれ自身の単独運転で,通常他の中央
演算処理装置との間で通信を行えない状態をいう)とし
て保持しておき,失敗した場合には,この予備系を現用
系に切り替えて運転復旧をするようにしていた。
2. Description of the Related Art In a conventional communication / information processing system having a plurality of central processing units, when a processing program or data of an arbitrary central processing unit is replaced with a new one, the central processing unit to be replaced is replaced by a new central processing unit. Communication between processors was performed for the active system of the device, and changes were made to new programs and new data. Changing to a new program or new data starts the operation for the first time, so the old program and old data are transferred to the standby system (a standby system is a logical Is a state in which communication is not normally possible with other central processing units in its own isolated operation, which is temporarily disconnected), and in the event of a failure, this standby system is used as the active system. Switching to restore operation.

【0003】また,新プログラム・新データへの変更の
対象となる中央演算処理装置の予備系に対して,新プロ
グラム・新データでの運転を実施しようとすることは,
変更対象先が予備系になっていることから,新プログラ
ム・新データを準備している他の中央演算処理装置との
プロセッサ間通信が確立できず,この方法では実現でき
ない。
[0003] In addition, it is difficult to execute an operation using a new program and new data for a standby system of a central processing unit to be changed to a new program and new data.
Since the change target is the standby system, inter-processor communication with another central processing unit that is preparing the new program / new data cannot be established, and this method cannot be realized.

【0004】このように,従来の複数の中央演算処理装
置を有する通信・情報処理のマルチプロセッサシステム
では,プログラムやデータの更新を任意の中央演算処理
装置の予備系に対して直接行うことはできず,この新プ
ログラム・新データへの置換が失敗した場合には,その
中央演算処理装置の運用を一旦停止して,旧プログラム
ファイルと旧データファイルを保持していた予備系を現
用系に切り替えて,運転復旧を行う必要があった。
As described above, in a conventional communication / information processing multiprocessor system having a plurality of central processing units, updating of programs and data can be performed directly to a standby system of any central processing unit. If the replacement with the new program and new data fails, the operation of the central processing unit is temporarily stopped, and the spare system holding the old program file and old data file is switched to the active system. Therefore, it was necessary to restore operation.

【0005】以下,従来技術について図3および図4を
用いて説明する。
Hereinafter, the prior art will be described with reference to FIGS. 3 and 4. FIG.

【0006】図3は従来のマルチプロセッサシステムの
構成例とプログラム・データ更新を説明する図,図4は
従来のプログラム・データ更新のフローチャートであ
る。
FIG. 3 is a view for explaining an example of the configuration of a conventional multiprocessor system and program data updating, and FIG. 4 is a flowchart for conventional program data updating.

【0007】マルチプロセッサシステムは3つ以上の中
央演算処理装置を有することもよくあるが,ここではそ
の複数の中央演算処理装置のうち,異なる中央演算処理
装置の任意の2つを取り上げて説明するものである。
A multiprocessor system often includes three or more central processing units. Here, of the plurality of central processing units, any two of the different central processing units will be described. Things.

【0008】図3において,91(92も同様)は,あ
る1つの中央演算処理装置(以下,中央演算処理装置A
という)を表し,93,94は中央演算処理装置A91
とは別の中央演算処理装置で,プログラムファイルおよ
びデータを新しいものへと置換する対象となる装置(以
下,中央演算処理装置Bという)を表す。この2つの中
央演算処理装置Aと,中央演算処理装置Bとは,プロセ
ッサ間接続バス98により接続されている。
In FIG. 3, reference numeral 91 (same for 92) denotes a central processing unit (hereinafter referred to as central processing unit A).
And 93 and 94 are central processing units A91
Represents a central processing unit (hereinafter, referred to as a central processing unit B) for replacing a program file and data with a new one. The two central processing units A and B are connected by an inter-processor connection bus 98.

【0009】中央演算処理装置A91,中央演算処理装
置B93,94のそれぞれの主記憶装置95,96,9
7上には,それぞれソフトウェア910,930,94
0が存在する。ソフトウェア910,930,940
は,複数の機能プログラムから構成されるが,ここで
は,以下に説明する従来技術に関係するプログラムにつ
いてのみを示す。
The main storage units 95, 96, 9 of the central processing unit A91 and the central processing units B93, 94, respectively.
7 has software 910, 930, 94, respectively.
0 exists. Software 910, 930, 940
Is composed of a plurality of function programs, but here, only programs related to the related art described below are shown.

【0010】ソフトウェア910は,他の中央演算処理
装置,すなわち中央演算処理装置B93,94用の新プ
ログラム・新データ913を有し,プログラム変更制御
プログラム911とデータ変更制御・管理プログラム9
12のそれぞれにより,中央演算処理装置B93,94
のプログラムとデータの更新を制御しているものであ
る。
The software 910 has a new program / new data 913 for another central processing unit, that is, the central processing units B 93 and B 94, and has a program change control program 911 and a data change control / management program 9.
12, the central processing units B93, B94
This program controls updating of programs and data.

【0011】中央演算処理装置Bのデータまたはプログ
ラムとデータを更新する際の処理の流れを,図4を用い
て説明する。
The flow of processing for updating data or a program and data of the central processing unit B will be described with reference to FIG.

【0012】中央演算処理装置B93,94が,共に現
用系として旧プログラム・旧データで通常運転中に(ス
テップS11),中央演算処理装置A91で新プログラ
ム・新データの準備ができたら(ステップS12),中
央演算処理装置Bの片系(中央演算処理装置B94)を
予備系に変更し,中央演算処理装置B94予備系を切り
離して独立運転とし,他の中央演算処理装置B93だけ
を現用系として運転中とする(ステップS13,S1
4)。
While the central processing units B93 and B94 are both in the normal operation with the old program and old data as the active system (step S11), when the central processing unit A91 prepares for the new program and new data (step S12). ), One system of the central processing unit B (central processing unit B94) is changed to a standby system, the standby system of the central processing unit B94 is separated and operated independently, and only the other central processing unit B93 is set as the active system. It is determined that the vehicle is in operation (steps S13, S1
4).

【0013】次に,中央演算処理装置B93現用系へ,
中央演算処理装置A91現用系から新データまたは新プ
ログラム・新データを転送する(ステップS15)。こ
れらを中央演算処理装置B93現用系に組み込み,新デ
ータまたは新プログラム・新データにて運転を開始する
(ステップS16)。運転が成功した場合には,中央演
算処理装置B94予備系に,現用系が持つ新データまた
は新プログラム・新データのコピーを引き渡し(ステッ
プS17),中央演算処理装置B94予備系も現用系に
組み入れて,二重化装置の同期運転を開始する(ステッ
プS18)。
Next, to the central processing unit B93 working system,
New data or a new program / new data is transferred from the central processing unit A91 working system (step S15). These are incorporated into the central processing unit B93 working system, and operation is started with new data or new program / new data (step S16). If the operation is successful, a copy of the new data or the new program / new data of the active system is delivered to the central processing unit B94 standby system (step S17), and the central processing unit B94 standby system is also incorporated into the active system. Then, the synchronous operation of the duplexer is started (step S18).

【0014】新データまたは新プログラム・新データに
よる運転に失敗した場合には,中央演算処理装置B93
現用系の運転を停止して,中央演算処理装置B94予備
系で保持していた旧プログラムと旧データでの運転を現
用系に切り替えて,復旧運転を開始させ(ステップS1
9),新プログラム・新データの見直しを行う(ステッ
プS20)。
If the operation based on the new data or the new program / new data fails, the central processing unit B93
The operation of the active system is stopped, the operation using the old program and the old data held by the central processing unit B94 standby system is switched to the active system, and the recovery operation is started (step S1).
9), the new program and new data are reviewed (step S20).

【0015】このように,中央演算処理装置Bのデータ
またはプログラムとデータを更新するためには,必要フ
ァイルを単に送っただけでは,新しいプログラムや新し
いデータでの処理には切り替わらない。もし,このよう
な処理を無理に実行したとすると,中央演算処理装置A
と中央演算処理装置Bとのプロセッサ間通信で同期処理
ができない等の問題を生じ,システム全体に悪影響を及
ぼす危険がある。
As described above, in order to update the data or the program and the data of the central processing unit B, simply sending the necessary file does not switch to processing with a new program or new data. If such processing is forcibly executed, the central processing unit A
There is a problem that synchronous processing cannot be performed in communication between the processor and the central processing unit B, and there is a risk that the entire system will be adversely affected.

【0016】このため,まず旧プログラム・旧データで
運転中の中央演算処理装置B94を予備系とし,一時的
に中央演算処理装置B94予備系の運転を切り離して,
中央演算処理装置B93現用系にて,中央演算処理装置
A91から新データまたは新プログラム・新データが配
送されるのを受ける必要がある。その後に新プログラム
と新データで再開して,システム全体に組み込む。ここ
で,受け取った新プログラムと新データで再開した運転
が失敗した場合には,中央演算処理装置B93現用系の
運転を停止して,予備系として保持していた旧プログラ
ムと旧データでの運転を現用系に切り替えて,運転復旧
させる。
For this reason, first, the central processing unit B94 operating with the old program and old data is used as a standby system, and the operation of the central processing unit B94 standby system is temporarily disconnected.
The central processing unit B93 needs to receive the delivery of new data or a new program / new data from the central processing unit A91 in the active system. After that, restart with the new program and new data and incorporate it into the whole system. If the operation resumed with the received new program and new data fails, the operation of the central processing unit B93 is stopped, and the operation using the old program and old data held as the standby system is stopped. Switch to the active system and restore operation.

【0017】このように,従来の技術では,任意の中央
演算処理装置のデータやプログラムを更改するために
は,必ずその中央演算処理装置での運転中プログラムを
一旦予備系運転として切り離し,失敗した際には,一時
停止して,予備系の旧データと旧プログラムで新たに運
転復旧し直さなくてはならない。
As described above, in the prior art, in order to update the data and program of an arbitrary central processing unit, the program in operation in the central processing unit must be once separated as a standby system operation and failed. In such a case, the operation must be temporarily stopped and the operation must be restarted with the old data and the old program in the standby system.

【0018】[0018]

【発明が解決しようとする課題】前述したように従来の
技術では,任意の中央演算処理装置の運転プログラムフ
ァイルとデータを新しいものへ置換するためには,その
中央演算処理装置の片系を予備系として切り離し,新し
いプログラムファイルとデータを現用系で受信してい
た。もし,この新しいプログラムファイルとデータでの
運転が失敗した場合には,この新しい運転中のプログラ
ムを一旦停止させ,旧プログラムによる運転復旧に再び
切り替えさせなければならない点が課題である。
As described above, in the prior art, in order to replace the operation program file and data of an arbitrary central processing unit with a new one, one system of the central processing unit is reserved. The system was disconnected and the new program file and data were received by the active system. If the operation with the new program file and data fails, the problem is that the new operating program must be temporarily stopped and switched back to the operation restoration by the old program.

【0019】また,プログラムファイル等の入れ替え対
象を中央演算処理装置の予備系とし,その予備系に対し
てプログラムファイル等の入れ替えを実施することは,
その対象が予備系であるため,他の中央演算処理装置か
らのプログラム間通信が正しく動作できず,無理にファ
イル転送を行おうとすると運転プログラムに問題が生じ
る点が課題である。
Further, it is possible to replace a program file or the like with a spare system of the central processing unit and replace the program file or the like with the spare system.
Since the target is a standby system, inter-program communication from another central processing unit cannot operate correctly, and a problem occurs in an operation program when file transfer is forcibly attempted.

【0020】[0020]

【課題を解決するための手段】本発明は,前述の課題を
解決するために,図1に示すような手段を持つ。図1
は,本発明におけるマルチプロセッサシステムの構成例
とプログラム・データ更新を説明する図である。マルチ
プロセッサシステムは3つ以上の中央演算処理装置を有
することもあるが,ここではその複数の中央演算処理装
置のうち,異なる中央演算処理装置の任意の2つを取り
上げて説明する。
The present invention has means as shown in FIG. 1 for solving the above-mentioned problems. FIG.
FIG. 3 is a diagram illustrating a configuration example of a multiprocessor system and program / data updating according to the present invention. Although the multiprocessor system may have three or more central processing units, any two of the plurality of central processing units will be described here.

【0021】図1において,1は中央演算処理装置Aを
示し,現用系である。中央演算処理装置Aとして他の現
用系または予備系の中央演算処理装置A2も有している
が,この装置A2は,装置A1と同様な機能を持つもの
であるため,以下では装置A1のみを説明する。中央演
算処理装置Bも,現用系(中央演算処理装置B3)と予
備系(中央演算処理装置B4)の二重化構成になってお
り,これらはすべて,必要に応じてプログラム変更制御
プログラムとデータ変更制御・管理プログラムの機能に
より現用系と予備系の切り替えが可能になっている。ま
た,中央演算処理装置Aと中央演算処理装置Bは,プロ
セッサ間接続バス5によって接続されている。
In FIG. 1, reference numeral 1 denotes a central processing unit A, which is an active system. As the central processing unit A, there is also another working or standby central processing unit A2, but since this unit A2 has the same function as the unit A1, only the unit A1 will be described below. explain. The central processing unit B also has a duplex configuration of a working system (central processing unit B3) and a standby system (central processing unit B4), all of which are provided with a program change control program and data change control as necessary. -The function of the management program allows switching between the active system and the standby system. The central processing unit A and the central processing unit B are connected by an interprocessor connection bus 5.

【0022】中央演算処理装置1,3,4のそれぞれの
主記憶装置10,30,40上には,それぞれソフトウ
ェア11,31,41が存在する。これらソフトウェア
11,31,41は複数の機能プログラムから構成され
るが,ここでは,本発明に関係するプログラムだけを示
す。
Software 11, 31, and 41 exist on the main storage devices 10, 30, and 40 of the central processing units 1, 3, and 4, respectively. These softwares 11, 31, 41 are composed of a plurality of functional programs, but here, only the programs related to the present invention are shown.

【0023】ソフトウェア11は,他中央演算処理装置
である中央演算処理装置B3,4用の新プログラム・新
データ15を有し,それぞれプログラム変更制御プログ
ラム12とデータ変更制御・管理プログラム13によ
り,中央演算処理装置B3,4が用いるプログラムとデ
ータの更新を制御する。また,中央演算処理装置B3,
4においても,それぞれ,プログラム変更制御プログラ
ム32,42とデータ変更制御・管理プログラム33,
43を有している。
The software 11 has a new program / new data 15 for the central processing units B3 and B4, which are other central processing units. It controls updating of programs and data used by the arithmetic processing units B3 and B4. The central processing unit B3
4, the program change control programs 32, 42 and the data change control / management program 33,
43.

【0024】プログラム変更制御プログラム12とデー
タ変更制御・管理プログラム13は,データ選択送受信
部14を持つ。プログラム変更制御プログラム32,4
2とデータ変更制御・管理プログラム33,43も,同
様にデータ選択送受信部34,44を持つ。
The program change control program 12 and the data change control / management program 13 have a data selection transmission / reception unit 14. Program change control programs 32, 4
2 and the data change control / management programs 33 and 43 also have data selection transmission / reception units 34 and 44, respectively.

【0025】データ選択送受信部14は,自中央演算処
理装置の現用系(中央演算処理装置A1現用系)と他中
央演算処理装置の現用系(中央演算処理装置B3現用
系)とのプロセッサ間データ選択転送・選択受信機能
と,自中央演算処理装置の現用系(中央演算処理装置A
1現用系)と他中央演算処理装置の予備系(他中央演算
処理装置B4予備系)とのプロセッサ間データ転送機能
を持ち,また必要なときに転送先の他の中央演算処理装
置Bの現用系と予備系を切り替えて使うことができる機
能を持つ。データ選択送受信部34,44は,新プログ
ラム・新データの受信側である中央演算処理装置B3,
4において選択受信の機能を行使できる。
The data selection transmission / reception unit 14 is a processor for inter-processor data between the active system of its own central processing unit (central processing unit A1 active system) and the active system of another central processing unit (central processing unit B3 active system). The selective transfer / selection reception function and the current system of the central processing unit (central processing unit A
(1 active system) and a standby system of another central processing unit (other central processing unit B4 standby system), and has a function of transferring data between processors. It has a function that can be used by switching between the system and the standby system. The data selection transmission / reception units 34 and 44 are the central processing units B3 and
In step 4, the function of selective reception can be exercised.

【0026】これは通常,中央演算処理装置の予備系
は,システムに悪影響を及ぼさぬようにシステムから切
り離されたそれ自身の単独運転であり,他の中央演算処
理装置との間でプロセッサ間通信を行えない状態である
が,新プログラム・新データへの更新の時に限り,その
新プログラム・新データの選択受信機能を起動するプロ
グラム処理を走らせることで実現する。
Normally, the standby system of the central processing unit is a stand-alone operation of itself separated from the system so as not to adversely affect the system, and the inter-processor communication with other central processing units is performed. Is not possible, but only when updating to a new program / new data is realized by running a program process that activates the function of selectively receiving the new program / new data.

【0027】この手順は,次のようになる。最初,中央
演算処理装置B3,4は,双方とも現用系として通常運
転しているものとする。
This procedure is as follows. First, it is assumed that both the central processing units B3 and B4 are operating normally as active systems.

【0028】 新プログラム・新データを選択送信す
る中央演算処理装置A1から,受信する中央演算処理装
置B4に対して,それを予備系に切り替える前に,新プ
ログラム・新データを送信することを通知する。
The central processing unit A1 for selectively transmitting the new program / new data notifies the central processing unit B4 for receiving the transmission of the new program / new data before switching to the standby system. I do.

【0029】 通知を受けた中央演算処理装置B4
は,データ選択送受信部44を起動するプログラム処理
を走らせてから予備系に切り替わる。この時点でその予
備系は新プログラム・新データの更新に対してのみ,そ
れを選択受信できるようになる。
The central processing unit B 4 that has received the notification
Is switched to the standby system after running the program processing for activating the data selection transmission / reception unit 44. At this point, the standby system can selectively receive new programs and new data only when they are updated.

【0030】 中央演算処理装置B4で新プログラム
・新データの選択受信が完了すると,データ選択送受信
部44は停止し,通常の予備系(システムから切り離さ
れたそれ自身の単独運転)に戻る。
When the selection and reception of the new program / new data is completed in the central processing unit B4, the data selection transmission / reception unit 44 stops, and returns to the normal standby system (own operation of the system itself separated from the system).

【0031】このような手順によって,中央演算処理装
置B3,4のプログラムやデータを新しいものへ変更す
る際には,例えば,中央演算処理装置B3を片系だけの
運転中(現用系)にしておき,もう一方の中央演算処理
装置B4を予備系にし,データ選択送受信部14,44
によって,この予備系の中央演算処理装置B4から新プ
ログラム・新データに置き換え,再び同期運転に戻すこ
とにより,中央演算処理装置Bの運転を止めることな
く,またシステム全体の運転に悪影響を及ぼすことな
く,中央演算処理装置B4,次に中央演算処理装置B3
の運転プログラムおよびデータを順次新しいものへ無中
断で更新できる。
When the programs and data of the central processing units B3 and B4 are changed to new ones by the above procedure, for example, the central processing unit B3 is operated only in one system (active system). And the other central processing unit B4 is used as a standby system, and the data selection transmission / reception units 14, 44
By replacing the standby central processing unit B4 with a new program / new data and returning to synchronous operation again, the operation of the central processing unit B is not stopped and adversely affects the operation of the entire system. No central processing unit B4, then central processing unit B3
Operating program and data can be sequentially updated to new ones without interruption.

【0032】しかも,新プログラム・新データの運転が
うまく行かないときは,中央演算処理装置B3が旧プロ
グラム・旧データにより現用系として運転を継続してい
るため,従来のように一旦停止する必要はなく,失敗し
た新ファイルをすぐに見直すだけでよい。
In addition, when the operation of the new program / new data does not work properly, the central processing unit B3 continues to operate as the active system by the old program / old data, so it is necessary to temporarily stop the operation as in the prior art. It just needs to review the failed new file immediately.

【0033】以上のように,本発明は,中央演算処理装
置の現用系装置と予備系装置の二重化構成を持ち,それ
ぞれの現用系/予備系を切り替えてプロセッサ間ファイ
ル選択送受信機能を行使するデータ選択送受信部を有す
ることにより,前述のように,新プログラム・新データ
での運転開始に失敗した場合でも,システム運転中のま
ま,任意の中央演算処理装置上で動作するプログラムフ
ァイルとデータを新しいものへ置換することが可能であ
る。言い換えると,新プログラム・新データでの運転
を,実際にサービスを提供しているシステムに影響を与
えることなく試行できる作用がある。
As described above, the present invention has a dual configuration of the active system unit and the standby system unit of the central processing unit, and switches between the active system and the standby system to execute the file selection transmission / reception function between processors. As described above, even if the start of the operation with the new program and new data fails, the program file and data operating on any central processing unit can be updated while the system is operating. It is possible to replace it with something. In other words, there is an effect that the operation with the new program / new data can be tried without affecting the system that actually provides the service.

【0034】[0034]

【発明の実施の形態】以下,本発明の実施の形態を図1
および図2を用いて説明する。図1では,新プログラム
・新データを別プロセッサ間で,それぞれ現用系と予備
系との間でプロセッサ間通信により,予備系側に選択転
送し,選択受信したことを示す。新プログラム・新デー
タの更改先である予備系にて再開運転が正常に完了する
と,予備系と現用系を切り替えて,新たな予備系も新プ
ログラム・新データに更改し,その後,予備系を現用系
に組み入れて,新プログラム・新データの運転が通常運
転である二重化同期運転になる。
FIG. 1 is a block diagram showing an embodiment of the present invention.
This will be described with reference to FIG. FIG. 1 shows that the new program / new data is selectively transferred to the standby system by another processor and between the active system and the standby system by inter-processor communication, and is selectively received. When the restart operation is completed normally in the standby system to which the new program / new data is updated, the standby system and the active system are switched, the new standby system is also updated to the new program / new data, and then the standby system is replaced. Incorporation into the working system will cause the operation of new programs and new data to be normal operation, which is redundant synchronous operation.

【0035】中央演算処理装置Bのプログラムとデータ
を新しいものへと,無中断で更新するまでの処理を,図
2の処理フローチャートを用いて説明する。
The processing until the program and data of the central processing unit B are updated to new ones without interruption will be described with reference to the processing flowchart of FIG.

【0036】中央演算処理装置B3,B4が,共に現用
系として旧プログラム・旧データによる通常運転中に
(ステップS1),中央演算処理装置B3,4のプログ
ラムやデータを新しいものへ変更するには,まず,図1
において,中央演算処理装置A1現用系に他中央演算処
理装置(中央演算処理装置B3,4)用の新プログラム
・新データ15をプログラム変更制御プログラム12と
データ変更制御・管理プログラム13により準備する
(ステップS2)。
To change the programs and data of the central processing units B3 and B4 to new ones during the normal operation of the central processing units B3 and B4 as the active system using the old program and old data (step S1). First, FIG.
In the central processing unit A1, a new program / new data 15 for another central processing unit (central processing units B3, 4) is prepared in the active system by the program change control program 12 and the data change control / management program 13 ( Step S2).

【0037】中央演算処理装置B4に対して,新プログ
ラム・新データの送信を通知する(ステップS3)。中
央演算処理装置Bの片系だけ,すなわち中央演算処理装
置B3を運転中(現用系)にしておき,もう一方の中央
演算処理装置B4では,データ選択送受信部44を起動
してから予備系に変更する(ステップS4)。
The transmission of the new program / new data is notified to the central processing unit B4 (step S3). Only one system of the central processing unit B, that is, the central processing unit B3 is in operation (active system), and the other central processing unit B4 activates the data selection transmission / reception unit 44 and then switches to the standby system. Change (step S4).

【0038】中央演算処理装置A1(中央演算処理装置
Aは両系が現用系でも片系が現用系でもよい)から,デ
ータ選択送受信部14により,新プログラム46と新デ
ータ47を選択転送し,中央演算処理装置B4予備系は
これを新プログラム46・新データ47として選択受信
して,データ選択送受信部44を停止する(ステップS
5)。
From the central processing unit A1 (both systems may be the active system or one system may be the active system), the data selection transmitting / receiving unit 14 selectively transfers the new program 46 and the new data 47 from the central processing unit A1. The central processing unit B4 standby system selectively receives this as the new program 46 / new data 47 and stops the data selection transmission / reception unit 44 (step S4).
5).

【0039】次に,新プログラム・新データにて中央演
算処理装置B4予備系のソフトウェア41を再開運転
(試運転)させる(ステップS6)。この再開運転が正
常に完了したら,中央演算処理装置B4予備系を現用系
に,中央演算処理装置B3現用系を予備系に切り替える
(ステップS7)。この時点で中央演算処理装置B4が
新プログラム46・新データ47による現用系としての
運転を開始する。そして,同様に予備系となった中央演
算処理装置B3の旧プログラム36,旧データ37を,
中央演算処理装置B4からの転送または中央演算処理装
置A1からの選択転送により,他中央演算処理装置用の
新プログラム・新データ15で置き換え,その後に再び
中央演算処理装置B3予備系も現用系にして(ステップ
S8),中央演算処理装置B3,4を二重化装置の同期
運転に戻す。
Next, the software 41 of the standby system of the central processing unit B4 is restarted (tested) with the new program and new data (step S6). When the restart operation is completed normally, the central processing unit B4 is switched to the working system and the central processing unit B3 is switched to the working system (step S7). At this point, the central processing unit B4 starts operating as an active system based on the new program 46 and the new data 47. Similarly, the old program 36 and old data 37 of the central processing unit B3 which has become the standby system are
By the transfer from the central processing unit B4 or the selective transfer from the central processing unit A1, it is replaced with a new program / new data 15 for another central processing unit, and thereafter, the standby system of the central processing unit B3 is changed to the active system again. (Step S8), the central processing units B3 and B4 are returned to the synchronous operation of the duplexer.

【0040】新プログラム・新データにて中央演算処理
装置B4予備系の再開運転が失敗した場合には,新プロ
グラム46・新データ47の見直しを行い(ステップS
9),原因となった箇所を修正して,再度新しい新プロ
グラム・新データの準備を行う(ステップS2)。
If the restart operation of the central processing unit B4 standby system fails due to the new program / new data, the new program 46 / new data 47 are reviewed (step S5).
9), the part causing the cause is corrected, and a new new program / new data is prepared again (step S2).

【0041】以上の処理から明らかなように,もし中央
演算処理装置B4予備系の新プログラム・新データでの
運転が失敗した場合にも,中央演算処理装置B3現用系
を停止する必要はない。これは,中央演算処理装置B3
現用系側では,旧プログラム36・旧データ37での運
転によりサービスを継続して提供しているからである。
そして,中央演算処理装置B4予備系での新プログラム
46・新データ47での運転が正常に動作していること
を確認してから,この中央演算処理装置B4予備系を現
用系に切り替えるからである。
As is apparent from the above processing, even if the operation of the central processing unit B4 in the standby system with the new program / new data fails, it is not necessary to stop the active system of the central processing unit B3. This is the central processing unit B3
This is because the active system continuously provides the service by the operation using the old program 36 and the old data 37.
After confirming that the operation by the new program 46 and the new data 47 in the central processing unit B4 standby system is operating normally, this central processing unit B4 standby system is switched to the active system. is there.

【0042】よって,新プログラム・新データへの置換
の間,中央演算処理装置B4予備系において,仮に新プ
ログラム46・新データ47での運転開始に失敗したと
しても,中央演算処理装置B3現用系の運転を止めるこ
となく,新プログラム・新データの見直しを行って,中
央演算処理装置Bの運転プログラムおよびデータを,最
終的に新しいものへと無中断で更新できることになる。
Therefore, during the replacement with the new program / new data, even if the start of the operation with the new program 46 / new data 47 fails in the central processing unit B4 standby system, the central processing unit B3 active system Without stopping the operation, the new program and new data are reviewed, and the operation program and data of the central processing unit B can be finally updated to a new one without interruption.

【0043】以上の実施の形態の説明では,二重化構成
の各中央演算処理装置A,Bが,それぞれ両系とも現用
系として動作できる場合の例を説明したが,一方が現用
系であれば他方が必ず予備系というように,両系の現用
/予備が排他的であるようなシステムにおいても,同様
に本発明を適用することが可能である。
In the above description of the embodiment, an example was described in which each of the central processing units A and B having a dual configuration can operate as a working system. However, the present invention can be similarly applied to a system in which the working / spare of both systems is exclusive such that the system is always a spare system.

【0044】[0044]

【発明の効果】以上の説明のように,本発明において
は,各々の中央演算処理装置が二重化であり,新しいプ
ログラムとデータへの置換の対象とする任意の中央演算
処理装置の予備系側とその新しいプログラムとデータを
供給する別の中央演算処理装置の現用系側とのプロセッ
サ間通信の選択データ送信・選択データ受信の実現によ
り,通信・情報処理システムの個々の中央演算処理装置
を運用中のまま,任意の中央演算処理装置上で動作する
新しいプログラムとデータへの置換を実現できる効果が
ある。
As described above, in the present invention, each central processing unit is duplicated, and is connected to the standby side of any central processing unit to be replaced with a new program and data. Each central processing unit of the communication and information processing system is in operation by realizing the selected data transmission / selection data reception of the inter-processor communication with the working side of another central processing unit that supplies the new program and data. As it is, there is an effect that replacement with a new program and data operating on an arbitrary central processing unit can be realized.

【0045】新プログラム・新データでの運転を切り離
した予備系の中央演算処理装置で開始できることによ
り,新ファイルでサービスを開始する前に,新プログラ
ム・新データでの運転を事前に確認でき,運用サービス
は無中断でありその信頼性を高める効果がある。また,
新プログラム・新データでの運転に失敗した場合でも,
運用中のサービスには影響を与えず,その現用系の中央
演算処理装置も無中断であり,サービス異常発生を未然
に検出できる効果がある。
Since the operation with the new program and new data can be started by the separate central processing unit of the standby system, the operation with the new program and new data can be confirmed before starting the service with the new file. Operational services are uninterrupted and have the effect of increasing their reliability. Also,
Even if operation with the new program and new data fails,
The service in operation is not affected, and the active central processing unit is also uninterrupted, so that the occurrence of service abnormality can be detected in advance.

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

【図1】本発明におけるマルチプロセッサシステムの構
成例とプログラム・データ更新を説明する図である。
FIG. 1 is a diagram illustrating a configuration example of a multiprocessor system and program / data updating according to the present invention.

【図2】本発明におけるプログラム・データを無中断で
更新する処理フローチャートである。
FIG. 2 is a processing flowchart for updating program data without interruption in the present invention.

【図3】従来のマルチプロセッサシステムの構成例とプ
ログラム・データ更新を説明する図である。
FIG. 3 is a diagram illustrating a configuration example of a conventional multiprocessor system and program / data update.

【図4】従来のプログラム・データ更新の処理フローチ
ャートである。
FIG. 4 is a processing flowchart of a conventional program / data update.

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

1,2 中央演算処理装置A 3,4 中央演算処理装置B 5 プロセッサ間接続バス 10,30,40 主記憶装置 11,31,41 ソフトウェア 12,32,42 プログラム変更制御プログラム 13,33,43 データ変更制御・管理プログラム 14 データ選択送受信部 15 他中央演算処理装置用の新プログラム・新データ 36 旧プログラム 37 旧データ 46 新プログラム 47 新データ 1, 2 Central processing unit A 3, 4 Central processing unit B 5 Inter-processor connection bus 10, 30, 40 Main storage unit 11, 31, 41 Software 12, 32, 42 Program change control program 13, 33, 43 Data Change control / management program 14 Data selection transmission / reception unit 15 New programs / new data for other central processing units 36 Old program 37 Old data 46 New program 47 New data

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 それぞれ二重化構成である複数の中央演
算処理装置を有する通信・情報処理システムにおいて,
各々の中央演算処理装置上で実行される処理プログラム
とそのプログラムが参照するデータをシステム運用中の
まま新しいプログラムとデータへの変更を実施する際
に,任意の中央演算処理装置の現用系装置上のプログラ
ムが,別の任意の中央演算処理装置の現用系と予備系と
を自在に切り替える手段と,置換する新しいプログラム
と新しいデータを準備した任意の中央演算処理装置の現
用系からその新プログラムと新データを選択して送信す
る手段と,新プログラム・新データへの更新対象である
別の任意の中央演算処理装置の予備系で,プログラム・
データ更新の時のみ前記送信された新プログラム・新デ
ータを選択受信する手段とを備えることを特徴とする任
意プロセッサのプログラム・データ無中断更新システ
ム。
1. A communication / information processing system having a plurality of central processing units each having a duplex configuration,
When a processing program to be executed on each central processing unit and data referred to by the program are changed to a new program and data while the system is in operation, the active program of any central processing unit is changed. Means for freely switching between the active system and the standby system of another arbitrary central processing unit, a new program to be replaced, and the new program from the active system of any central processing unit having prepared new data. A means for selecting and transmitting new data, and a backup system for another arbitrary central processing unit to be updated to a new program / new data.
Means for selectively receiving the transmitted new program / new data only at the time of data update.
JP23508898A 1998-08-21 1998-08-21 Uninterrupted update system for program / data of any processor Expired - Fee Related JP3394189B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23508898A JP3394189B2 (en) 1998-08-21 1998-08-21 Uninterrupted update system for program / data of any processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23508898A JP3394189B2 (en) 1998-08-21 1998-08-21 Uninterrupted update system for program / data of any processor

Publications (2)

Publication Number Publication Date
JP2000066913A true JP2000066913A (en) 2000-03-03
JP3394189B2 JP3394189B2 (en) 2003-04-07

Family

ID=16980898

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23508898A Expired - Fee Related JP3394189B2 (en) 1998-08-21 1998-08-21 Uninterrupted update system for program / data of any processor

Country Status (1)

Country Link
JP (1) JP3394189B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323485A (en) * 2005-05-17 2006-11-30 Nec Corp Server system and software update method
JP2008242679A (en) * 2007-03-27 2008-10-09 Nec Corp Server system and patch processing method
WO2009066346A1 (en) * 2007-11-19 2009-05-28 Duaxes Corporation Log output control device and log output control method
WO2009066347A1 (en) * 2007-11-19 2009-05-28 Duaxes Corporation Load distribution device and load distribution method
JP2011096161A (en) * 2009-11-02 2011-05-12 Nippon Telegr & Teleph Corp <Ntt> Service providing system, distributed process management device, file update method, and program
KR101790284B1 (en) * 2016-01-06 2017-10-26 (주)구름네트웍스 Method for updating program operated by multi threads without pausing operations and apparatus using the same

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006323485A (en) * 2005-05-17 2006-11-30 Nec Corp Server system and software update method
JP2008242679A (en) * 2007-03-27 2008-10-09 Nec Corp Server system and patch processing method
WO2009066346A1 (en) * 2007-11-19 2009-05-28 Duaxes Corporation Log output control device and log output control method
WO2009066347A1 (en) * 2007-11-19 2009-05-28 Duaxes Corporation Load distribution device and load distribution method
JPWO2009066347A1 (en) * 2007-11-19 2011-03-31 デュアキシズ株式会社 Load balancer
JP2011096161A (en) * 2009-11-02 2011-05-12 Nippon Telegr & Teleph Corp <Ntt> Service providing system, distributed process management device, file update method, and program
KR101790284B1 (en) * 2016-01-06 2017-10-26 (주)구름네트웍스 Method for updating program operated by multi threads without pausing operations and apparatus using the same

Also Published As

Publication number Publication date
JP3394189B2 (en) 2003-04-07

Similar Documents

Publication Publication Date Title
US7188237B2 (en) Reboot manager usable to change firmware in a high availability single processor system
US6954877B2 (en) Fault tolerance using logical checkpointing in computing systems
US7284236B2 (en) Mechanism to change firmware in a high availability single processor system
EP0687975B1 (en) Method and system for downloading data to network nodes
US4941087A (en) System for bumpless changeover between active units and backup units by establishing rollback points and logging write and read operations
US20040153624A1 (en) High availability synchronization architecture
US20060218545A1 (en) Server system and online software update method
US20030204772A1 (en) System and method for concurrent logical device swapping
US7966514B2 (en) Scalable fault tolerant system
JPH05108392A (en) Data processing system
GB2359384A (en) Automatic reconnection of linked software processes in fault-tolerant computer systems
US6618819B1 (en) Sparing system and method to accommodate equipment failures in critical systems
US20030208750A1 (en) Information exchange for process pair replacement in a cluster environment
JP3394189B2 (en) Uninterrupted update system for program / data of any processor
US11954509B2 (en) Service continuation system and service continuation method between active and standby virtual servers
KR20030048503A (en) Communication system and method for data synchronization of duplexing server
JP2002049502A (en) Update method in multi-processor system
US20060023627A1 (en) Computing system redundancy and fault tolerance
JP3183227B2 (en) Redundant startup method
JPH08249196A (en) Redundant execution method of tasks
JP2572176B2 (en) Processor switching method for packet switch
KR100408979B1 (en) Fault tolerance apparatus and the method for processor duplication in wireless communication system
KR20030005531A (en) Standby Loading Method for Duplex Architecture and a Computer-readable Medium having a Program for Performing the Method embedded thereon
JPH07182297A (en) Server/client type network system
JPH1093617A (en) Spare switching system for communication processing equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080131

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090131

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100131

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110131

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees