JPS63118860A - Back-up method for decentralized system - Google Patents

Back-up method for decentralized system

Info

Publication number
JPS63118860A
JPS63118860A JP61262809A JP26280986A JPS63118860A JP S63118860 A JPS63118860 A JP S63118860A JP 61262809 A JP61262809 A JP 61262809A JP 26280986 A JP26280986 A JP 26280986A JP S63118860 A JPS63118860 A JP S63118860A
Authority
JP
Japan
Prior art keywords
terminal
data processing
data
processing device
function
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
JP61262809A
Other languages
Japanese (ja)
Other versions
JPH07104840B2 (en
Inventor
Kuniyuki Kikuchi
菊地 邦行
Masaki Katahira
片平 正樹
Akiji Hasegawa
長谷川 秋治
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61262809A priority Critical patent/JPH07104840B2/en
Publication of JPS63118860A publication Critical patent/JPS63118860A/en
Publication of JPH07104840B2 publication Critical patent/JPH07104840B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Small-Scale Networks (AREA)
  • Hardware Redundancy (AREA)

Abstract

PURPOSE:To immediately and automatically back up the breakdown of one processor by dividing terminals into groups together with addition of logical terminal numbers and providing a back-up data acquiring module to each data processor for each group. CONSTITUTION:An inter-data processor table 54 is stored in each data processor constituting a network so that any data processor can support the function of another data processor within the network. In the case of a data processor 20B, for example, the logical terminal numbers 301-303 are prepared for a processor number 20B. In the same way, the logical terminal numbers 304 and 305 are prepared for a data processor 20C. For instance, the terminal 301 or 302 is used when the processor 20B backs up the terminal 304 or 605 connected to the processor 20C having breakdown in terms of a table 54B corresponding to the processor 20B.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はネットワークを用いた分散システムのバックア
ップ方法に係わり、特に冗長系を有する場合、ブロード
キャスト通信にて自動バックアップを高信頼で行い、且
つシステム改変にも容易に対応できるようにした分散シ
ステムのバックアップ方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a method for backing up a distributed system using a network, and in particular, when the system has a redundant system, automatic backup is performed with high reliability using broadcast communication, and the system This invention relates to a backup method for a distributed system that can easily handle modifications.

〔従来の技術〕[Conventional technology]

近年、マイクロコンピュータ及びローカルエリアネット
ワークの発達により、マイクロコンピュータを用いた分
散形データ処理システムが設備制御の主流になってきた
1分散形データ処理システムは、システム構築の柔軟性
とシステムの低価格性を重視したものであるが、逆にシ
ステムが分散形であるがゆえに、データの連続性・シス
テムの信頼性を高める必要がある。
In recent years, with the development of microcomputers and local area networks, distributed data processing systems using microcomputers have become mainstream for equipment control.1 Distributed data processing systems are characterized by flexibility in system construction and low cost of the system. However, since the system is distributed, it is necessary to improve data continuity and system reliability.

これらの問題に対して、システム構成上の重要な処理装
置を二重化し、Tii処理装置間のデータを一致させる
ようにするものや(特公昭81−18786゜特公昭6
1−19060参照)、伝送路上のデータの連続性を実
現したもの(日立社内G P2O−160014参照)
がある。
To solve these problems, there is a system that duplicates the important processing devices in the system configuration and matches the data between the Tii processing devices (Special Publication No. 81-18786゜Special Publication No. 6).
1-19060), which realizes data continuity on the transmission path (see Hitachi internal G P2O-160014)
There is.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第7A図は伝送路10としてブロードキャスト通信機能
を有するネットワークを使用し、伝送路10にはデータ
処理装置20B、20Gとともに、二重系構成のデータ
処理装置20Az 、20Azが接続されているシステ
ムである。ここで、例えばデータ処理装置20Bからデ
ータDzが送出された場合及びデータ処理装置!!20
 A lからデータD2が送出された場合、データの保
証が行なわれ端末401にもデータが渡る。しかしなが
らネットワーク上に数十台の端末401〜40nが接続
される場合には、端末応答性の観点から、第7B図のよ
うにこれら端末をデータ処理装置20B〜2ozに接続
し、データ処理装置の負荷の軽減がはかられる。ところ
がこの構成では、データ処理装置!20BがデータD3
を受信した後ダウンした場合、データ処理装置20Bは
二重化されていないから、データD8は失われてその再
現ができないという問題があった。更に分散形ネットワ
ーク処理システムでは、(1)端末の物理的な位置付及
び状態を意識しないソフトウェアの作成ができること、
(2)システムの段階的な構築、改修に対して柔軟に対
応できること、という要求があるが、従来技術ではこれ
らを満たすことはできなかった。
FIG. 7A shows a system in which a network having a broadcast communication function is used as the transmission line 10, and the transmission line 10 is connected to data processing apparatuses 20B and 20G as well as data processing apparatuses 20Az and 20Az having a dual system configuration. . Here, for example, if data Dz is sent from the data processing device 20B, and the data processing device! ! 20
When data D2 is sent from A1, the data is guaranteed and the data is also passed to terminal 401. However, when several dozen terminals 401 to 40n are connected to the network, from the viewpoint of terminal responsiveness, these terminals are connected to the data processing devices 20B to 2oz as shown in FIG. 7B, and the data processing devices are The load can be reduced. However, with this configuration, the data processing device! 20B is data D3
If the data processing device 20B goes down after receiving the data D8, there is a problem that the data D8 is lost and cannot be reproduced because the data processing device 20B is not duplicated. Furthermore, in distributed network processing systems, (1) it is possible to create software that is not aware of the physical location and status of terminals;
(2) There is a need to be able to flexibly respond to gradual construction and modification of the system, but conventional technology has not been able to meet these requirements.

本発明の目的は、上記従来技術の問題点を解決すべくな
されたものであり、1台の処理装置のダウンに対しても
直ちにその機能を自動的にバックアップすることができ
、しかもソフトウェア作成時に端末の物理的位置を意識
する必要がなく、システムの変更にも柔軟に対応できる
分散システムのバックアップ方法を提供するにある。
An object of the present invention was to solve the problems of the prior art described above, and it is possible to immediately and automatically back up the functions of one processing device even if it goes down, and moreover, To provide a backup method for a distributed system that does not require awareness of the physical location of terminals and can flexibly respond to changes in the system.

〔問題点を解決するための手段〕[Means for solving problems]

上記の目的は、端末を機能グループ単位に分割して論理
端末番号を与え、この機能グループ単位のバックアップ
データ取得モジュールを各データ処理装置に持たせ、ブ
ロードキャスト通信が行われたときにはこの機能モジュ
ールによりバックアップデータを取得し、いずれかのデ
ータ処理装置異常検出時には他データ処理装置に接続さ
れかっ同一機能を持つ端末にデータをバックアップ出力
することによって達成される。
The purpose of the above is to divide terminals into functional groups and give them logical terminal numbers, to have each data processing device have a backup data acquisition module for each functional group, and to use this functional module to back up data when broadcast communication is performed. This is achieved by acquiring data and, when an abnormality is detected in any data processing device, backing up the data and outputting it to a terminal that is not connected to another data processing device and has the same function.

〔作用〕[Effect]

端末の機能グループ単位は、同一データ処理装置接続下
の1以上複数の物理端末で構成され且つそのグループに
固有の(分散形ネットワーク全体を通して唯1つの)論
理端末番号を有する。アプリケーションソフトでは所要
の機能に応じて、この論理端末番号を指定し、処理装置
で実際の端末への割り当てを行えば、ソフト上では物理
的な端末の状態を意識する必要がない。
A functional group of terminals is composed of one or more physical terminals connected to the same data processing device, and has a logical terminal number unique to the group (only one throughout the entire distributed network). If the application software specifies this logical terminal number according to the required function and the processing device assigns it to the actual terminal, the software does not need to be aware of the state of the physical terminal.

更にバックアップデータ取得モジュールは、同一データ
処理装置内の端末の自動バックアップと他データ処理装
置間のデータの自動バックアップを実現する機能であり
、且つ分散形ネットワーク処理システムの段階的な構築
や改修に伴い欠損する機能を自動バックアップ処理とし
てサポートできる機能でもある。
Furthermore, the backup data acquisition module is a function that realizes automatic backup of terminals within the same data processing device and automatic backup of data between other data processing devices, and is a function that realizes automatic backup of terminals within the same data processing device and automatic backup of data between other data processing devices. It is also a function that can support missing functions as automatic backup processing.

〔実施例〕〔Example〕

以下、本発明を実施例によって詳細に説明する。 Hereinafter, the present invention will be explained in detail with reference to Examples.

第2図は本発明の方法を適用した分散形ネットワーク例
を示すもので、データ処理装置20B〜20Zにはそれ
ぞれ端末が接続されていて、これぜの端末は同じ機能(
又は配置上の関連)を有するものが同じグループとなる
ように点線で囲んだグループにまとめ、それに論理端末
番号301゜302、・・・・・・、30nを付与して
いる。各グループ30i内の端末には40ia、40i
b、−・・・。
FIG. 2 shows an example of a distributed network to which the method of the present invention is applied, in which terminals are connected to each of the data processing devices 20B to 20Z, and these terminals have the same function (
301, 302, . . . , 30n are assigned to the groups surrounded by dotted lines. 40ia, 40i for terminals in each group 30i
b, -...

というように物理端末番号をつけている。The physical terminal number is assigned as follows.

第1図は前述の第2@Iのデータ処理装置20Bのソフ
トウェア構成50を示す図であり、他のデータ処理装置
も同じ構成である。ソフトウェア50の内部には、バッ
クアップデータ取得モジュール55.データ51を表示
する端末の論理端末番号と物理端末番号との対応と機能
パターンを定義した端末機能種別テーブル52.データ
処理装置間テーブル54.端末バックアップテーブル5
3、その他のソフトウェアモジュール群56(これは本
発明とは関係ない部分)が含まれている。
FIG. 1 is a diagram showing the software configuration 50 of the above-mentioned 2nd@I data processing device 20B, and the other data processing devices have the same configuration. Inside the software 50, a backup data acquisition module 55. A terminal function type table 52 that defines the correspondence between the logical terminal number and physical terminal number and the function pattern of the terminal displaying the data 51. Inter-data processing device table 54. Terminal backup table 5
3. Other software module groups 56 (this part is unrelated to the present invention) are included.

第3図は、機能種別テーブル52の詳細例を示しており
、アプリケーションソフトで端末状態及び端末数増減に
伴うシステム改修を容易にする定義テーブルである。ア
プリケーションリンケージは論理端末番号301〜30
3で行い、データ51の内容により、このテーブル52
を参照して、物理端末番号401a〜403aに対応し
た機能種別でデータ出力端末を定めることができる。即
ち物理的な端末は全く意識せず、端末の機能分類の単位
又は端末の配置関連単位でグループ化することにより、
論理的に端末へデータ出力ができる。
FIG. 3 shows a detailed example of the function type table 52, which is a definition table that facilitates system modification in accordance with the terminal status and increase/decrease in the number of terminals using application software. Application linkage is logical terminal number 301-30
3, and depending on the contents of the data 51, this table 52
Data output terminals can be determined by function types corresponding to the physical terminal numbers 401a to 403a with reference to . In other words, by grouping based on the functional classification of the terminal or the unit related to the arrangement of the terminal, without being aware of the physical terminal,
Data can be logically output to the terminal.

第4図はバックアップデータ取得モジュール55の処理
のフローチャートである。ステップ100でデータ内の
論理端末番号と機能種別をとり込み、これに対応する物
理端末番号をテーブル52を参照して決定する。ステッ
プ102では今決定した端末が正常か否かをチェックし
、正常であればステップ103でデータ出力を行う、正
常でない時はステップ104で再び端末機能種別テーブ
ル52を参照して、該当機能を持つほかの端末を決め、
ステップ105でその端末へデータを出力する。このよ
うな機構により、物理的な端末の増減時にも、端末機能
種別テーブル52を改修するのみで対応でき1分散形ネ
ットワークシステムのアプリケーションソフトを改修す
る必要がなく、柔軟な対応が可能となる。
FIG. 4 is a flowchart of the processing of the backup data acquisition module 55. In step 100, the logical terminal number and function type in the data are taken in, and the corresponding physical terminal number is determined by referring to the table 52. In step 102, it is checked whether the terminal just determined is normal or not. If it is normal, data is output in step 103. If it is not normal, the terminal function type table 52 is referred to again in step 104, and the terminal has the corresponding function. Decide on another device,
In step 105, data is output to the terminal. With such a mechanism, even when the number of physical terminals increases or decreases, it can be handled simply by modifying the terminal function type table 52, and there is no need to modify the application software of a single distributed network system, making it possible to respond flexibly.

第5図はデータ処理装置間テーブル54の内容を示す、
このテーブルはネットワークを構成する全てのデータ処
理装置に格納されており、ネットワーク内のいずれのデ
ータ処理装置も他データ処理装置の機能をサポートでき
るようにするためのものである。データ処理装置20B
の場合、自処理装置番号20Bに対応する論理端末番号
は301〜303の3個、同様にデータ処理装置20G
の場合は論理端末番号304,305の2個、・・・・
・・等であるが、例えばデータ処理装置20Bに対応す
るテーブル54Bは、データ処理装置20Gがダウンし
たときにそこへ接続されている端末304又は305を
データ処理装置20Bがバックアップする時は、端末3
01又は302によることを示している。テーブル54
Bの他のエントリー、及び他のテーブル54D、542
等も同じ意味である。
FIG. 5 shows the contents of the inter-data processing device table 54.
This table is stored in all data processing devices that make up the network, and is used to enable any data processing device in the network to support the functions of other data processing devices. Data processing device 20B
In this case, there are three logical terminal numbers 301 to 303 corresponding to the own processing device number 20B, and similarly, the data processing device 20G
In the case of , there are two logical terminal numbers 304 and 305, etc.
For example, the table 54B corresponding to the data processing device 20B indicates that when the data processing device 20B backs up the terminal 304 or 305 connected to the data processing device 20G when it goes down, 3
01 or 302. table 54
Other entries in B and other tables 54D, 542
etc. have the same meaning.

第6図は機能モジュール55におけるバックアップ処理
のフローチャートであり、まずステップ110.111
で自データ処理装置番号及び自装置に接続された端末の
論理番号をとり込み、続いてステップ112でバックア
ップすべきデータ処理装置の番号と自装置番号とからデ
ータ処理装置間テーブル54を参照して、バックアップ
に使用する端末の論理番号を決定する。これによって二
重化されていないデータ処理装置20B〜20Zのダウ
ンにも他装置によるバックアップが可能となる0分散形
ネットワークシステムの段階的な構築に際しても、未設
定のデータ処理装置にバックアップを行える。
FIG. 6 is a flowchart of the backup process in the functional module 55, starting with steps 110 and 111.
In step 112, the data processing device number and the logical number of the terminal connected to the device are taken in, and then in step 112, the inter-data processing device table 54 is referred to based on the number of the data processing device to be backed up and the device number. , determine the logical number of the terminal to use for backup. As a result, even when the non-redundant data processing devices 20B to 20Z go down, backup can be performed by other devices. Even during the gradual construction of a zero-distributed network system, backup can be made to unset data processing devices.

〔発明の効果〕〔Effect of the invention〕

本発明によれば1分散形ネットワーク処理システムにお
いて、データ処理装置ダウン時の自動バックアップが可
能になるという効果があり、またネットワークシステム
の段階的構築に対しても容易に対応でき、更にアプリケ
ーションソフトウェア側では端末の物理的位置や状態を
意識する必要がなくなるという効果もある。
According to the present invention, in a single distributed network processing system, there is an effect that automatic backup is possible when a data processing device goes down, it is also possible to easily cope with the gradual construction of a network system, and furthermore, the application software side This also has the effect of eliminating the need to be aware of the physical location and status of the device.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の方法を実現するためのデータ処理装置
のソフトウェア構成を示す図、第2図は本発明を適用し
た分散形ネットワークの例を示す図、第3図は機能種別
テーブルの例を示す図、第4図はバックアップデータ取
得機能モジュールの機能種別処理部のフローチャート、
第5図はデータ処理装置間テーブルの例を示す図、第6
図はバックアップデータ取得機能モジュールの論理端末
番号取得処理部のフローチャート、第7A図及び第7B
図は従来の分散形ネットワークを示す図である。 10・・・伝送路、20A〜2oz・・・データ処理装
置、301〜30n・・・論理端末番号、401a〜4
0nm・・・物理端末番号、51・・・データ、52・
・・端末機能種別テーブル、54・・・データ処理装置
間テーブル、55・・・バックアップデータ取得機能モ
ジュール。
Fig. 1 is a diagram showing the software configuration of a data processing device for implementing the method of the present invention, Fig. 2 is a diagram showing an example of a distributed network to which the present invention is applied, and Fig. 3 is an example of a function type table. FIG. 4 is a flowchart of the function type processing section of the backup data acquisition function module,
FIG. 5 is a diagram showing an example of a table between data processing devices, and FIG.
Figures 7A and 7B are flowcharts of the logical terminal number acquisition processing section of the backup data acquisition function module.
The figure shows a conventional distributed network. 10... Transmission line, 20A-2oz... Data processing device, 301-30n... Logical terminal number, 401a-4
0nm...Physical terminal number, 51...Data, 52.
. . . Terminal function type table, 54 . . . Table between data processing devices, 55 . . . Backup data acquisition function module.

Claims (1)

【特許請求の範囲】[Claims] 1、ブロードキャスト通信機能を有する伝送路と、伝送
路に接続されブロードキャスト通信にてデータの授受を
行う複数個のデータ処理装置と、データ処理装置の各々
に接続されかつ固有の物理番号を付された端末群とから
成る分散システムのバックアップ方法において、各デー
タ処理装置に接続された端末群をその機能によつてグル
ープ別けして各グループに論理番号を付与するとともに
、自装置に接続された各端末の機能及び物理番号とその
端末の属するグループに付与された上記論理番号との対
応関係を示す第1のテーブルと、任意の1つのデータ処
理装置に接続された端末を他の任意のデータ処理装置が
自装置に接続された端末によりバックアップする場合の
被バックアップ端末とバックアップ端末の対応関係をそ
れぞれの論理番号で示す第2のテーブルとを各々のデー
タ処理装置に有せしめ、いずれかのデータ処理装置から
ブロードキャストにより送信が行われかつその送信デー
タを受信すべきデータ処理装置に異常があるか未接続の
場合には、他のデータ処理装置の1つが上記第2のテー
ブルを参照して自装置のどの論理番号の端末グループで
バックアップすべきかを決定し、更に該決定された論理
番号とその時の受信データを与えるべき端末の機能とが
指定された時、あるいは他データ処理装置から自装置へ
ブロードキャストにより送られてきたデータにより使用
すべき端末の論理番号及び受信データを与えるべき端末
の機能とが指定された時に上記第1のテーブルを参照し
てどの物理番号を有した端末を使用するかを決定してそ
の端末へ上記受信データを出力するようにしたことを特
徴とする分散システムのバックアップ方法。
1. A transmission path with a broadcast communication function, a plurality of data processing devices connected to the transmission path and exchanging data through broadcast communication, and a device connected to each data processing device and assigned a unique physical number. In a backup method for a distributed system consisting of a group of terminals, the group of terminals connected to each data processing device is divided into groups according to their functions, a logical number is assigned to each group, and each terminal connected to the own device is A first table showing the correspondence between the function and physical number of the terminal and the logical number assigned to the group to which the terminal belongs, and a terminal connected to any one data processing device to any other data processing device. Each data processing device is provided with a second table that indicates the correspondence between the backed-up terminal and the backup terminal when the data processing device is backed up by a terminal connected to the own device, using respective logical numbers. If a data processing device that should receive the transmitted data is abnormal or is not connected, one of the other data processing devices refers to the second table and updates its own data. When it is determined which terminal group with a logical number should be backed up, and the determined logical number and the function of the terminal to which the received data at that time should be given are specified, or by broadcasting from another data processing device to the own device. When the logical number of the terminal to be used and the function of the terminal to which the received data should be given are specified by the sent data, the terminal with the physical number to be used is determined by referring to the first table above. A method for backing up a distributed system, characterized in that the received data is output to the terminal.
JP61262809A 1986-11-06 1986-11-06 Backup method for distributed system Expired - Lifetime JPH07104840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61262809A JPH07104840B2 (en) 1986-11-06 1986-11-06 Backup method for distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61262809A JPH07104840B2 (en) 1986-11-06 1986-11-06 Backup method for distributed system

Publications (2)

Publication Number Publication Date
JPS63118860A true JPS63118860A (en) 1988-05-23
JPH07104840B2 JPH07104840B2 (en) 1995-11-13

Family

ID=17380909

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61262809A Expired - Lifetime JPH07104840B2 (en) 1986-11-06 1986-11-06 Backup method for distributed system

Country Status (1)

Country Link
JP (1) JPH07104840B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03116337A (en) * 1989-09-29 1991-05-17 Nec Corp Mutual standby business processing device
EP0475277A2 (en) * 1990-09-07 1992-03-18 Hitachi, Ltd. Line switching system
US7058774B2 (en) 2002-08-13 2006-06-06 Nec Infrontia Corporation Data backup method and data backup system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03116337A (en) * 1989-09-29 1991-05-17 Nec Corp Mutual standby business processing device
EP0475277A2 (en) * 1990-09-07 1992-03-18 Hitachi, Ltd. Line switching system
JPH04117741A (en) * 1990-09-07 1992-04-17 Hitachi Ltd Line changeover system
EP0475277A3 (en) * 1990-09-07 1995-01-04 Hitachi, Ltd. Line switching system
US7058774B2 (en) 2002-08-13 2006-06-06 Nec Infrontia Corporation Data backup method and data backup system

Also Published As

Publication number Publication date
JPH07104840B2 (en) 1995-11-13

Similar Documents

Publication Publication Date Title
DE3328405A1 (en) Control elements of a fault-tolerant multicomputer system
JPS63118860A (en) Back-up method for decentralized system
JPH02308357A (en) Processor network
JP2504366B2 (en) Fault tolerant system
JP2518517B2 (en) Communication bus monitoring device
JPH05160759A (en) Changeover control system
JPH03188724A (en) Communication channel control system
JPH0553938A (en) System for switching duplex central processing units
JPH1093617A (en) Standby switching system for communication processing device
JPS58217060A (en) Backup system of decentralized computer system
JPH0159780B2 (en)
JP2749417B2 (en) Priority control circuit
JP3405677B2 (en) Redundant system control system
JPS644221B2 (en)
JPH01292458A (en) Communication network system
JPH05216782A (en) Interface control circuit
JPH04137144A (en) Data processor
JPS5868104A (en) Redundant decentralized controller
JPS58154048A (en) Fail-safe system of signal feed system
JPS62108637A (en) Initial program load system
JPS61224757A (en) Switching control system for communication controller
JPH0787458B2 (en) Control method of distributed switching system
JPH01209564A (en) Information processor
JPS617901A (en) Digital control device
JPH08321839A (en) Method and device for bus connection control

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term