JP3215963B2 - Network system and communication method in the system - Google Patents

Network system and communication method in the system

Info

Publication number
JP3215963B2
JP3215963B2 JP04808194A JP4808194A JP3215963B2 JP 3215963 B2 JP3215963 B2 JP 3215963B2 JP 04808194 A JP04808194 A JP 04808194A JP 4808194 A JP4808194 A JP 4808194A JP 3215963 B2 JP3215963 B2 JP 3215963B2
Authority
JP
Japan
Prior art keywords
computer
parent
computers
level
communication
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.)
Expired - Fee Related
Application number
JP04808194A
Other languages
Japanese (ja)
Other versions
JPH07262114A (en
Inventor
圭吾 藤原
健次 伊藤
和紀 藤原
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 JP04808194A priority Critical patent/JP3215963B2/en
Publication of JPH07262114A publication Critical patent/JPH07262114A/en
Application granted granted Critical
Publication of JP3215963B2 publication Critical patent/JP3215963B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Small-Scale Networks (AREA)

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、大規模ネットワーク
(WAN:Wide Area Network)および構内ネットワー
ク(LAN:Local Area Network)等に複数の計算機を
接続し、相互に通信を行う計算機システムに係り、特
に、通信を行う計算機のCPU負荷と当該の通信機器の
負荷低減を図ったネットワークシステムおよび該システ
ムにおける通信方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system in which a plurality of computers are connected to a large-scale network (WAN: Wide Area Network), a local area network (LAN: Local Area Network), etc., and communicate with each other. In particular, the present invention relates to a network system and a communication method in the system for reducing a CPU load of a computer performing communication and a load of the communication device.

【0002】[0002]

【従来の技術】計算機の双方向の通信としては、たとえ
ば、TCP/IP(Transmission Con-trol Protcol/In
ternet Protcol)プロトコル(通信規約)のようなポイ
ントトゥ ポイント(POINT TO POINT)の伝達方式や、
UDP/IP(User DatagramProtocol/Internet Proto
col)プロトコルによる伝達方式がある。
2. Description of the Related Art Two-way communication between computers includes, for example, TCP / IP (Transmission Control Protocol / Information).
(Point to Point) transmission method such as ternet Protocol)
UDP / IP (User DatagramProtocol / Internet Proto
col) There is a transmission method using a protocol.

【0003】TCP/IPプロトコルは一般的に高い信
頼性を有し、1対1の通信を提供する伝送制御規約であ
り、伝送エラーのチェック機能、エラー発生時の再送機
能等を有する。この通信方式では必ず計算機や計算機内
部の機能を1対1で結ぶような接続方式が用いられる。
一方、UDP/IPプロトコルは同時に複数の相手に伝
送できる利点がある反面、伝送エラーチェック機能、エ
ラー時の再送機能が無いなど、一般的に信頼性は低い。
The TCP / IP protocol is generally a transmission control protocol having high reliability and providing one-to-one communication, and has a transmission error check function, a retransmission function when an error occurs, and the like. In this communication method, a connection method that always connects the computer and the functions inside the computer on a one-to-one basis is used.
On the other hand, the UDP / IP protocol has an advantage that it can be transmitted to a plurality of parties at the same time, but generally has low reliability such as no transmission error check function and no error retransmission function.

【0004】上述したように、TCP/IPプロトコル
はUDP/IPプロトコルに比べて信頼性が高いため、
従来の技術においては、信頼性を優先する場合には一般
的にTCP/IPプロトコルを用いた通信システムが用
いられている。そして、従来のTCP/IPプロトコル
を用いた分散処理システムでは、下位計算機群の各々が
個別に上位計算機と通信を行う構成となっている。
As described above, the TCP / IP protocol is more reliable than the UDP / IP protocol,
In the prior art, when priority is given to reliability, a communication system using the TCP / IP protocol is generally used. In the conventional distributed processing system using the TCP / IP protocol, each of the lower-level computer groups individually communicates with the upper-level computer.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来技術のように、下位計算機群の各々が個別に上位計算
機と通信を行う方式であると、通信データ量が多い場合
や下位計算機の台数が増加した場合に、上位計算機のC
PU負荷および上位計算機と下位計算機群を結合するネ
ットワークの通信負荷が著しく増大するという問題があ
る。
However, if each of the lower computer groups individually communicates with the upper computer as in the above prior art, the communication data amount is large or the number of lower computers increases. In this case, the upper computer C
There is a problem that the PU load and the communication load of the network connecting the upper computer and the lower computer group are significantly increased.

【0006】この問題を解決するための一つの手段とし
て、より高性能な計算機をシステムに導入し通信負荷の
低減を図ることも可能であるが、コスト面での問題が新
たに生じる。
As one means for solving this problem, it is possible to introduce a higher-performance computer into the system to reduce the communication load, but a new cost problem arises.

【0007】また、特開平3−19450号公報には、
上位計算機と下位計算機間における通信規約を設けてお
くことにより、上位計算機側の一方的通信による下位計
算機側の通信負荷およびネットワークの通信負荷の軽減
を図ることが提案されているが、上位計算機側のCPU
負荷を軽減させるという点では不十分である。
Further, Japanese Patent Application Laid-Open No. Hei 3-19450 discloses that
It has been proposed to reduce the communication load on the lower computer side and the communication load on the network due to unilateral communication on the upper computer side by providing a communication protocol between the upper computer and the lower computer. CPU
It is not enough to reduce the load.

【0008】本発明の目的では、上位計算機と下位計算
機群からなる分散処理システムにおいて、上位計算機と
下位計算機群の間で通信を行う際に下位計算機群に親子
関係を持たせることで、上位計算機のCPU負荷および
ネットワークの通信負荷を大幅に低減させることのでき
るネットワークシステムおよび該システムにおける通信
方法を提供することである。
An object of the present invention is to provide a lower-level computer group with a parent-child relationship when communicating between a higher-level computer and a lower-level computer group in a distributed processing system including a higher-level computer and a lower-level computer group. It is an object of the present invention to provide a network system and a communication method in the system, which can significantly reduce the CPU load and the communication load of the network.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するため
に、本発明は、上位計算機と、この上位計算機に接続さ
れた複数台の下位計算機とを備え、前記上位計算機と下
位計算機との間で通信を行うネットワークシステムにお
いて、前記上位計算機と最初に通知又は接続された下位
計算機を親計算機として認識し、該認識された親計算機
を介して前記複数台の下位計算機と前記上位計算機との
通信を行う手段を設けたことを特徴としている。
In order to achieve the above object, the present invention comprises an upper computer and a plurality of lower computers connected to the upper computer. In a network system that communicates with the lower computer , the lower computer first notified or connected to the upper computer
The computer is recognized as a parent computer, and the recognized parent computer is
Between the plurality of lower computers and the upper computer
A communication means is provided.

【0010】[0010]

【0011】また本発明は、上記構成のネットワークシ
ステムにおいて、前記下位計算機と通信するとともに前
記上位計算機と通信する親計算機を前記下位計算機のい
ずれかから選択する選択手段と、該選択手段で選択され
た親計算機を介して前記複数台の下位計算機と前記上位
計算機との通信を行う手段と、を設けたことを特徴とし
ている。
[0011] The present invention also provides a network system having the above-described configuration, which communicates with the lower-level computer and communicates with the lower-level computer.
The parent computer that communicates with the upper computer is the lower computer.
Selecting means for selecting from the deviations;
The plurality of lower computers and the higher
Means for communicating with a computer .

【0012】また上記構成のネットワークシステム2つ
以上設け、それらを互いに結合手段で結合すれば大規模
ネットワークシステムを構築することも可能である。
Further, a large-scale network system can be constructed by providing two or more network systems having the above configuration and connecting them to each other by connecting means.

【0013】さらに、本発明の通信方法は、上位計算機
と、この上位計算機に接続された複数台の下位計算機と
の間で通信を行う際に、前記下位計算機の1つ前記上
位計算機と通信するための親計算機として決定し、前記
複数台の下位計算機は前記親計算機を介して前記上位計
算機と通信を行うようにしたことである。
Furthermore, the communication method of the present invention, communication with host computer, when communicating between a plurality of lower computer connected to the host computer, one of the lower computer and the host computer determined as the parent computer to the plurality of lower computer is that it has to communicate with the host computer via the master computer.

【0014】[0014]

【作用】上位計算機と下位計算機群からなる分散処理シ
ステムにおいては、上位計算機と下位計算機群との間で
通信を行う場合に、上位計算機およびネットワークの負
荷上昇が各々の下位計算機との直接的な通信の実行回数
に比例している。そこで、上記のように構成すれば、認
識された親計算機を含めて全ての下位計算機は、親計算
機を介して上位計算機と通信を行うようになる。すなわ
ち、上位計算機は、複数の下位計算機のうち1つの下位
計算機とのみ通信すればよいので、上位計算機のCPU
負荷およびネットワークの通信負荷が軽減される。
In a distributed processing system comprising a host computer and a group of lower computers, when communication is performed between the host computer and the group of lower computers, an increase in the load on the host computer and the network causes a direct increase in the load on each of the lower computers. It is proportional to the number of communication executions. Therefore, if configured as described above,
All subordinate computer including identified parent computer, so communicates with the host computer via the master computer. That is, the upper computer only needs to communicate with one lower computer among the plurality of lower computers.
The load and the communication load on the network are reduced.

【0015】なお、上記のように下位計算機の1つを親
計算機として決定して、当該下位計算機が故障した場
合、上位計算機と下位計算機間の通信が不可能となって
しまう恐れがあるため、親計算機を下位計算機のいずれ
かから選択できるようにしておく。このようにすれば、
上位計算機と通信を行っていた下位計算機が故障したと
きは、親計算機を他の下位計算機に切換えることによ
り、通信を続行することができる。
As described above, one of the lower-level computers is designated as the parent computer.
Determined as a computer, if the lower computer fails, since there is a possibility that communication between the host computer and lower computer becomes impossible, either the parent computer subordinate computer
So that you can choose from them. If you do this,
When a lower computer that has been communicating with a higher computer breaks down, communication can be continued by switching the parent computer to another lower computer.

【0016】[0016]

【実施例】以下、本発明の実施例を図面を参照して説明
する。 (第1実施例)図1は、本発明のネットワークシステム
を示している。このネットワークシステムは、WAN
(Wide Area Network)1、上位計算機2、およびn台
の下位計算機を有する下位計算機群3からなっている。
WAN1と上位計算機2とは通信回線4で接続され、上
位計算機2と下位計算機群3とは通信回線5で接続され
ている。
Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 shows a network system according to the present invention. This network system is WAN
(Wide Area Network) 1, an upper computer 2, and a lower computer group 3 having n lower computers.
The WAN 1 and the upper computer 2 are connected by a communication line 4, and the upper computer 2 and the lower computer group 3 are connected by a communication line 5.

【0017】また、下位計算機群3のうち1台が親計算
機6として、他の下位計算機は子計算機7として設定さ
れており、下位計算機群3に対してデータを送受信する
場合は、上位計算機2は親計算機6を介して行うように
なっている。例えば、上位計算機2から下位計算機群3
にデータを送信する場合、上位計算機2は親計算機6に
のみデータを送信する。データを受け取った親計算機6
はそのデータを保有するとともに、子計算機7に対して
データを送信する。逆に下位計算機群3から上位計算機
2にデータを送信する場合、送信する下位計算機が親計
算機6であれば直接上位計算機2に送信し、これを上位
計算機2が受信する。送信する下位計算機が子計算機7
であれば、子計算機7はデータを親計算機6に送信し、
親計算機7はデータを一旦保有した後、そのデータを上
位計算機2に送信し、これを上位計算機2が受信する。
One of the lower computer groups 3 is set as the parent computer 6 and the other lower computer is set as the child computer 7. When data is transmitted to and received from the lower computer group 3, the upper computer 2 Is performed via the parent computer 6. For example, from the upper computer 2 to the lower computer group 3
, The upper-level computer 2 transmits data only to the parent computer 6. Parent computer 6 that received the data
Holds the data and transmits the data to the child computer 7. Conversely, when transmitting data from the lower computer group 3 to the upper computer 2, if the lower computer to be transmitted is the parent computer 6, the data is directly transmitted to the upper computer 2, and the higher computer 2 receives this. The child computer 7 is the child computer to send.
If so, the child computer 7 sends the data to the parent computer 6,
After holding the data once, the parent computer 7 transmits the data to the host computer 2 and the host computer 2 receives the data.

【0018】上記のように構成すると、上位計算機2
は、下位計算機群3の各計算機と個別に通信を行う必要
がなく、親計算機6とのみ通信を行えば良いので、通信
処理による負荷の増加を大幅に低減することが可能とな
る。
When configured as described above, the host computer 2
Does not need to individually communicate with each computer of the lower-level computer group 3 and only needs to communicate with the parent computer 6, so that an increase in load due to communication processing can be significantly reduced.

【0019】上位計算機と下位計算機群との間のデータ
送信処理の概略フローを図2に示す。上位計算機は、送
受信相手が下位計算機か否かを判断し(ステップ10
0)、下位計算機でなければWANとの送受信処理を行
い(ステップ101)、その送受信データを基に自計算
機内の処理を行う(ステップ102)。ステップ100
において送受信相手が下位計算機であると判断したとき
は、上位計算機は、下位計算機群の親計算機との送受信
処理を行い(ステップ103)、その送受信データを基
に自計算機内の処理を行う(ステップ104)。そし
て、ステップ102およびステップ104で処理を行っ
た後は、当該処理が終了したか否かの判断をする(ステ
ップ105)。
FIG. 2 shows a schematic flow of the data transmission process between the upper computer and the lower computer group. The upper computer determines whether the transmission / reception partner is a lower computer (step 10).
0), if it is not a lower computer, it performs transmission / reception processing with the WAN (step 101 ), and performs processing in its own computer based on the transmission / reception data (step 102). Step 100
When it is determined that the transmission / reception partner is a lower computer, the upper computer performs transmission / reception processing with the parent computer of the lower computer group (step 103), and performs processing in its own computer based on the transmission / reception data (step 103). 104). After performing the processing in steps 102 and 104, it is determined whether or not the processing has been completed (step 105).

【0020】次に、上位計算機が下位計算機群に対して
データを送信する場合の、上位計算機と下位計算機群の
動作を図3を用いて説明する。図において、上位計算機
は下位計算機群の親計算機を確認し(ステップ11
0)、確認した親計算機に対して全データをまとめて送
信する(ステップ111)。下位計算機群の親計算機
は、上位計算機から送信されてきた全データを受信し
(ステップ112)、そのデータを保有するとともに下
位計算機群の中からデータを送信すべき子計算機を選択
し(ステップ113)、さらにその選択した子計算機へ
データを送信する(ステップ114)。下位計算機群の
子計算機は、親計算機から送られてきたデータを受信し
(ステップ115)、自計算機内の処理を行い(ステッ
プ116)、その後、データを受信した旨の応答信号を
返答する(ステップ117)。そして、下位計算機群の
親計算機は、子計算機からの応答信号を受信するととも
に(ステップ118)、その信号を上位計算機に送信し
(ステップ119)、上位計算機はその応答を受信する
(ステップ110)。
Next, the operation of the upper computer and the lower computer group when the upper computer transmits data to the lower computer group will be described with reference to FIG. In the figure, the upper computer checks the parent computer of the lower computer group (step 11).
0), all data is transmitted to the confirmed parent computer at a time (step 111). The parent computer of the lower computer group receives all the data transmitted from the upper computer (step 112), and selects a child computer to hold the data and transmit the data from the lower computer group (step 113). ), And transmits data to the selected child computer (step 114). The child computers in the lower-level computer group receive the data sent from the parent computer (step 115), perform the processing in their own computer (step 116), and then return a response signal indicating that the data has been received (step 116). Step 117). Then, the parent computer of the lower-level computer group receives the response signal from the child computer (step 118), transmits the signal to the higher-level computer (step 119), and the higher-level computer receives the response (step 110). .

【0021】上位計算機と下位計算機間でデータを送受
信する様子を摸式的に表したのが図4である。図に示す
ように、上位計算機2内および下位計算機群3の親計算
機6内には、親計算機6用のデータエリア(P1用)
と、子計算機7データエリア(P2〜Pn用)とが設け
られている。そして、上位計算機2と親計算機6との間
では、親計算機6のデータおよび全て子計算機7のデー
タを送受信することができる。親計算機6と子計算機7
との間では、親計算機6は各子計算機7に対して個別に
データの送受信を行う。上位計算機および下位計算機群
が保有するデータ内容を詳細に示せば図5のようにな
る。
FIG. 4 schematically shows how data is transmitted and received between the upper computer and the lower computer. As shown in the figure, a data area (for P1) for the parent computer 6 is provided in the upper computer 2 and the parent computer 6 of the lower computer group 3.
And a child computer 7 data area (for P2 to Pn). The data of the parent computer 6 and the data of all the child computers 7 can be transmitted and received between the host computer 2 and the parent computer 6. Parent computer 6 and child computer 7
The parent computer 6 sends and receives data to and from each child computer 7 individually. FIG. 5 shows the details of the data held by the host computer and the host computer group.

【0022】次に、下位計算機群の中から親計算機をど
のように決定するのかについて説明する。図6は、上位
計算機と下位計算機群の親子判定処理と下位計算機群の
立上り処理をフローチャートにしたものである。下位計
算機群は、立上り処理の途中において、下位計算機群の
親計算機がどれであるかの問い合わせを上位計算機に対
して行う(ステップ130)。その問い合わせに対し、
上位計算機は親計算機がどの計算機であるかを調べ、そ
の結果を下位計算機に渡す(ステップ131)。上記結
果を受信した下位計算機は、親計算機が存在しているか
否かを判断し(ステップ132)、存在している場合は
親計算機と通信を接続して業務を開始する(ステップ1
33)。親計算機が存在していない場合は親計算機が自
機である旨を上位計算機に通知する(ステップ13
4)。
Next, how to determine the parent computer from the lower-level computer group will be described. FIG. 6 is a flowchart showing the parent-child determination process of the upper computer and the lower computer group and the start-up process of the lower computer group. During the start-up process, the lower-level computer group inquires of the higher-level computer about the parent computer of the lower-level computer group (Step 130). In response to that inquiry,
The upper computer checks which computer is the parent computer and passes the result to the lower computer (step 131). The lower computer that has received the above result determines whether or not the parent computer exists (step 132), and if so, connects the communication with the parent computer and starts the business (step 1).
33). If the parent computer does not exist, the parent computer is notified to the host computer that the parent computer is the own computer (step 13).
4).

【0023】上位計算機はこの通知を受信し、他に先着
の通知があるかどうかを見ることにより、通知を行った
計算機を親計算機として認識してよいか否か判断する
(ステップ135)。他に先着の通知がなければ、通知
を行なった下位計算機を親計算機として認識し、通信を
接続し、同時に親計算機は業務を開始する。また、上位
計算機に先着の通知がある場合には、通知を行った計算
機に親計算機がどの計算機かを通知し、下位計算機は親
計算機と業務を開始する。通信管理表(これについては
後述する)の親計算機に登録されている識別番号と自装
置の識別番号が一致した計算機が親計算機として動作す
る。
The host computer receives this notification and checks whether there is another first-come-first-served notification to determine whether or not the notified computer can be recognized as the parent computer (step 135). If there is no other first-arrival notification, the lower-level computer that sent the notification is recognized as the parent computer, communication is connected, and at the same time, the parent computer starts work. If the upper computer has a first-come-first-served notification, the computer that sent the notification is notified of the parent computer, and the lower computer starts work with the parent computer. The computer whose identification number registered in the parent computer of the communication management table (which will be described later) matches the identification number of its own device operates as the parent computer.

【0024】図7は図1に示した計算機システムの構成
を示している。上位計算機2には通信管理表10が設け
られ、この通信管理表10内には、現在接続している親
計算機の識別番号11と、親計算機になり得る通信可能
な下位計算機の識別番号12とが収められている。ま
た、下位計算機群の親計算機6および子計算機7にも通
信管理表13が設けられ、この通信管理表13には、現
在接続している上位計算機の識別番号14と、現在接続
している親計算機の識別番号15と、親計算機になり得
る通信可能な下位計算機の識別番号16とが収められて
いる。そして、これらの通信管理表の親計算機の識別番
号を随時書き換えることによって下位計算機の通信相手
を決定する。
FIG. 7 shows the configuration of the computer system shown in FIG. The upper computer 2 is provided with a communication management table 10 in which the identification number 11 of the currently connected parent computer and the identification number 12 of the communicable lower computer that can be the parent computer are stored. Is stored. The communication management table 13 is also provided in the parent computer 6 and the child computer 7 of the lower computer group. The communication management table 13 includes the identification number 14 of the currently connected upper computer and the currently connected parent computer. The identification number 15 of the computer and the identification number 16 of a communicable lower-level computer that can be the parent computer are stored. Then, the communication partner of the lower computer is determined by rewriting the identification number of the parent computer in these communication management tables as needed.

【0025】次に、下位計算機群の親計算機が何らかの
原因で停止した際の親計算機の切換方法について説明す
る。図8(a)に示すように、親計算機6が停止した場
合、上位計算機2と子計算機7との通信が切り離され
る。通信を切り離されたことで異常を検知した各計算機
(上位計算機2、子計算機7共)は図7に示した通信管
理表の親計算機欄をクリアする。各子計算機7は上位計
算機2へ接続を試み、図8(b)に示すように最初に接
続した子計算機7が上位計算機2に親計算機として認識
される。続いて接続しようとした他の子計算機7は上位
計算機2より最初に接続した計算機を新たな親計算機と
して通知され、新たな親計算機と接続し直し、業務を再
開する。但し、親計算機6が停止した時に上位計算機2
と下位計算機群との間で通信を行っていた場合、その通
信を保証することができないため再度送受信を行う必要
がある。
Next, a method of switching the parent computer when the parent computer of the lower computer group stops for some reason will be described. As shown in FIG. 8A, when the parent computer 6 stops, the communication between the host computer 2 and the child computer 7 is disconnected. Each computer (both the upper computer 2 and the child computer 7) that has detected an abnormality by disconnecting the communication clears the parent computer column of the communication management table shown in FIG. Each child computer 7 attempts to connect to the host computer 2, and the child computer 7 connected first is recognized by the host computer 2 as a parent computer as shown in FIG. Subsequently, the other child computer 7 to be connected is notified of the first connected computer as a new parent computer from the host computer 2, reconnects with the new parent computer, and resumes business. However, when the parent computer 6 stops, the host computer 2
If communication has been performed between the server and the lower-level computer group, the communication cannot be guaranteed, so that transmission and reception must be performed again.

【0026】(第2実施例)上述の第1実施例では親計
算機が1つであるため、下位計算機の数が増加した場
合、親計算機の通信負荷および通信回線の負荷が増加す
ることになる。そこで、本実施例では、上位計算機の本
来の業務を疎外しない範囲で、親計算機がn台の下位計
算機と通信可能なように定義を行い、図9に示すように
上位計算機2に接続される親計算機を20と21の2つ
とし、親計算機20には(n−1)台の子計算機22
が、親計算機21には(n−1)台の子計算機23がそ
れぞれ接続されるようにする。
(Second Embodiment) In the first embodiment described above, since there is one parent computer, when the number of lower computers increases, the communication load of the parent computer and the load of the communication line increase. . Therefore, in the present embodiment, the parent computer is defined so as to be able to communicate with the n lower computers as long as the original business of the upper computer is not alienated, and is connected to the upper computer 2 as shown in FIG. The parent computers 20 and 21 are provided, and the parent computer 20 has (n−1) child computers 22.
However, (n-1) child computers 23 are connected to the parent computer 21 respectively.

【0027】通信方法は第1実施例の場合と同じである
が、図9のように通信回線が分割されることにより各通
信回線の通信負荷が軽減され、また下位計算機群の1台
の親計算機に依存する子計算機の数も少なくなることに
より、親計算機の通信による負荷の増大を抑制すること
が可能となる。
The communication method is the same as that of the first embodiment, except that the communication load is reduced on each communication line by dividing the communication line as shown in FIG. By reducing the number of child computers depending on the computer, it is possible to suppress an increase in the load due to communication of the parent computer.

【0028】また、図10のように、上位計算機2に通
信回線24を介して親計算機25,26を接続し、さら
に親計算機25には通信回線27を介してn台の子計算
機22を、親計算機26には通信回線28を介してn台
の子計算機23をそれぞれ接続した構成にすると、上位
計算機2と親計算機25,26間の送信と、親計算機2
5と子計算機22間並びに親計算機26と子計算機23
間の送信が分離され、通信回線の負荷分散を図ることが
できる。
As shown in FIG. 10, parent computers 25 and 26 are connected to the host computer 2 via a communication line 24, and n parent computers 22 are connected to the parent computer 25 via a communication line 27. When the parent computer 26 is connected to the n child computers 23 via the communication line 28, transmission between the host computer 2 and the parent computers 25 and 26,
5 and the child computer 22 and between the parent computer 26 and the child computer 23
The transmission between them is separated, and the load on the communication line can be balanced.

【0029】図9および図10における計算機システム
の構成の場合には、上位計算機の親計算機の識別番号の
枠をn個にすることによって対応する。下位計算機群に
は、上位計算機の識別番号、現在コネクトしている親計
算機の識別番号、親計算機になりうる通信可能な下位計
算機群の識別番号を通信管理表として設ける。この通信
管理表の上位計算機の識別番号により、図6の立上げ処
理の際に上位計算機に問合わせを行う。そして、問い合
わせの結果により親計算機と接続した場合、また結果に
親計算機の識別番号が入らず、親計算機が自機である旨
を上位計算機に通知し、上位計算機に自機が親計算機で
あることが認識された場合は、通信管理表の親計算機の
欄を書換える。
In the case of the configuration of the computer system shown in FIGS. 9 and 10, this is dealt with by setting the number frame of the identification number of the parent computer of the host computer to n. In the lower computer group, the identification number of the upper computer, the identification number of the currently connected parent computer, and the identification number of the communicable lower computer group that can be the parent computer are provided as a communication management table. An inquiry is made to the host computer in the start-up process of FIG. 6 based on the identification number of the host computer in the communication management table. When the connection with the parent computer is made based on the result of the inquiry, the identification number of the parent computer is not included in the result, and the parent computer is notified to the host computer that the parent computer is the host computer, and the host computer is the parent computer to the host computer. When it is recognized, the column of the parent computer in the communication management table is rewritten.

【0030】(第3実施例) 図11は下位計算機群をさらに階層化した例である。す
なわち、上位計算機2には、通信回線30を介して親計
算機31と(n−1)台の子計算機32からなる下位計
算機群を接続する。また親計算機31には、通信回線3
3を介して更に下位の孫計算機34,35を、孫計算機
32には、通信回線36を介して更に下位のひ孫計算機
37,38を接続するようにする。ここで、孫計算機3
4とひ孫計算機37は親計算機であり、孫計算機35と
ひ孫計算機38は子計算機である。なお、親、子、孫、
ひ孫といった階層化をもっと多重にしても良い。
(Third Embodiment) FIG. 11 shows an example in which a group of lower computers is further hierarchized. That is, a lower computer group including a parent computer 31 and (n-1) child computers 32 is connected to the upper computer 2 via the communication line 30. The parent computer 31 has a communication line 3
3 and lower-level grandchild computers 37 and 38 to the grandchild computer 32 via a communication line 36. Here, grandchild computer 3
4 and the great-grandchild computer 37 are parent computers, and the grandchild computer 35 and the great-grandchild computer 38 are child computers. Parents, children, grandchildren,
Hierarchy such as great-grandchildren may be multiplexed.

【0031】図12は、下位計算機群を階層化したとき
の処理フローである。例えば親計算機31を基準に考え
て、対象が次下位計算機群つまり孫計算機群か否か判断
し(ステップ140)、次下位計算機群でなければ自計
算機群内つまり親計算機31と子計算機32内で処理を
行い(ステップ141)、続いてその処理が終了したか
否かを判断する(ステップ142)。ステップ140に
おいて対象が次下位計算機群であると判断したときは、
次下位の計算機群つまり孫計算機群にデータを送信し
(ステップ143)、続いてその送信処理が終了したか
否かを判断する(ステップ144)。
FIG. 12 is a processing flow when the lower-level computer group is hierarchized. For example, considering the parent computer 31 as a reference, it is determined whether or not the target is the next lower computer group, that is, the grandchild computer group (step 140). If it is not the next lower computer group, it is in the own computer group, that is, in the parent computer 31 and child computer 32 Is performed (step 141), and it is determined whether the processing is completed (step 142). When it is determined in step 140 that the target is the next lower computer group,
The data is transmitted to the next lower-order computer group, that is, the grandchild computer group (step 143), and it is determined whether or not the transmission processing has been completed (step 144).

【0032】階層化した場合の各計算機でデータを送受
信する様子を摸式的に表したのが図13である。上位計
算機と第1階層の下位計算機群間におけるデータの送受
信は図4に示したのと同様である。また、第1階層の下
位計算機群と第2階層の下位計算機群間におけるデータ
の送受信も、データ量が小さくなるだけで基本的には図
4の場合と同様である。他の階層間の場合も同様であ
る。
FIG. 13 schematically shows how each computer transmits and receives data in the case of hierarchization. The transmission and reception of data between the upper computer and the lower layer computer group of the first hierarchy are the same as those shown in FIG. The transmission and reception of data between the lower-layer computer group of the first hierarchy and the lower-layer computer group of the second hierarchy are basically the same as those in FIG. 4 except that the data amount is reduced. The same applies to the case between other layers.

【0033】また、本実施例の場合には、通信管理表
は、上位計算機、親、子、孫、ひ孫のそれぞれに設けら
れるが、その構成は基本的には第1実施例の場合と同じ
良い。さらに、通信方法も基本的には第1実施例の場合
と同じで良い。
In the case of this embodiment, the communication management table is provided for each of the host computer, parent, child, grandchild, and great-grandchild. The configuration is basically the same as that of the first embodiment. good. Further, the communication method may be basically the same as in the first embodiment.

【0034】本実施例によれば、親、子、孫、ひ孫と階
層化することにより、1台の親計算機の通信による負荷
の上昇を抑制しながら、下位計算機群の設置台数増加が
可能である。
According to this embodiment, by hierarchizing the parent, child, grandchild, and great-grandchild, it is possible to increase the number of lower-level computers installed while suppressing an increase in the load due to the communication of one parent computer. is there.

【0035】(第4実施例)図14は、上位計算機40
と、親計算機41と子計算機42からなる下位計算機群
43とが接続された2つのWAN1を、結合装置44で
結合した例である。この場合も、下位計算機群43内の
子計算機42は、親計算機41を介して上位計算機40
と通信するようにする。また、互いに異なるWAN1同
士で通信を行う場合は、一方の上位計算機41は結合装
置44を介して他方の上位計算機41とデータの送受信
を行う。本実施例では2つのWAN1を結合した例を示
したが、WAN1を3つ以上設け、それぞれを結合装置
44で結合するようにしても良い。
(Fourth Embodiment) FIG.
In this example, two WANs 1 in which a parent computer 41 and a lower-level computer group 43 composed of child computers 42 are connected are coupled by a coupling device 44. Also in this case, the child computers 42 in the lower computer group 43
To communicate with When communication is performed between different WANs 1, one host computer 41 transmits and receives data to and from the other host computer 41 via the coupling device 44. In this embodiment, an example in which two WANs 1 are connected is shown. However, three or more WANs 1 may be provided, and each may be connected by the connecting device 44.

【0036】[0036]

【発明の効果】以上詳述したように、本発明によれば、
下位計算機群に親子関係を持たせ、上位計算機は常に下
位計算機群の親計算機とのみ通信をさせるようにしたの
で、上位計算機のCPU負荷およびネットワークの通信
負荷を大幅に軽減できる。
As described in detail above, according to the present invention,
Since the lower-level computer group has a parent-child relationship, and the upper-level computer always communicates only with the parent computer of the lower-level computer group, the CPU load of the upper-level computer and the communication load of the network can be greatly reduced.

【0037】この結果、上位計算機の通信性能に余裕の
ない場合や通信による負荷を上昇させたくない場合に、
高性能高価格な計算機を導入することなく大規模計算機
システムを構築することが可能となる。
As a result, when the communication performance of the host computer is not sufficient or when it is not desired to increase the load of communication,
A large-scale computer system can be constructed without introducing a high-performance and high-priced computer.

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

【図1】本発明の第1実施例によるネットワークシステ
ムの構成図である。
FIG. 1 is a configuration diagram of a network system according to a first embodiment of the present invention.

【図2】上位計算機と下位計算機群間のデータ送信処理
のフローチャートである。
FIG. 2 is a flowchart of a data transmission process between an upper computer and a lower computer group.

【図3】データを送信する場合の上位計算機と下位計算
機群の動作を示した図である。
FIG. 3 is a diagram illustrating operations of a higher-order computer and a group of lower-order computers when transmitting data.

【図4】上位計算機と下位計算機間のデータ送受信の様
子を摸式的に示した図である。
FIG. 4 is a diagram schematically showing a state of data transmission and reception between an upper computer and a lower computer.

【図5】上位計算機と下位計算機群が保有するデータ内
容を示した図である。
FIG. 5 is a diagram showing data contents held by a host computer and a host computer group;

【図6】親子判定処理と下位計算機群の立上り処理のフ
ローチャートである。
FIG. 6 is a flowchart of a parent-child determination process and a startup process of a lower-level computer group.

【図7】上位計算機と下位計算機群に対して設定された
通信管理表の構成図である。
FIG. 7 is a configuration diagram of a communication management table set for an upper computer and a lower computer group;

【図8】親計算機を切換える様子を示した図である。FIG. 8 is a diagram showing a state in which a parent computer is switched.

【図9】本発明の第2実施例によるネットワークシステ
ムの構成図である。
FIG. 9 is a configuration diagram of a network system according to a second embodiment of the present invention.

【図10】図9のネットワークシステムの変形例を示し
た図である。
FIG. 10 is a diagram showing a modification of the network system of FIG. 9;

【図11】本発明の第3実施例によるネットワークシス
テムの構成図である。
FIG. 11 is a configuration diagram of a network system according to a third embodiment of the present invention.

【図12】下位計算機群を階層化したときの処理手順を
示したフローチャートである。
FIG. 12 is a flowchart showing a processing procedure when a lower-level computer group is hierarchized.

【図13】階層化した際の各計算機間のデータ送受信の
様子を摸式的に示した図である。
FIG. 13 is a diagram schematically showing a state of data transmission and reception between computers when hierarchization is performed.

【図14】本発明の第4実施例によるネットワークシス
テムの構成図である。
FIG. 14 is a configuration diagram of a network system according to a fourth embodiment of the present invention.

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

1 WAN 2,40 上位計算機 3,43 下位計算機群 4,5,24,27,28,30,33,36 通信回
線 6,20,21,25,26,31,41 親計算機 7,22,23,32,42 子計算機 34,35 孫計算機 37,38 ひ孫計算機 44 結合装置
1 WAN 2,40 host computer 3,43 host computer group 4,5,24,27,28,30,33,36 communication line 6,20,21,25,26,31,41 parent computer 7,22,23 , 32,42 child computer 34,35 grandchild computer 37,38 great child computer 44 coupling device

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−195239(JP,A) 特許3062904(JP,B2) (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 13/10 - 13/14 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-4-195239 (JP, A) Patent 3062904 (JP, B2) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 13/00 G06F 13/10-13/14

Claims (7)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 上位計算機と、この上位計算機に接続さ
れた複数台の下位計算機とを備え、前記上位計算機と下
位計算機との間で通信を行うネットワークシステムにお
いて、前記上位計算機と最初に通知又は接続された下位
計算機を親計算機として認識し、該認識された親計算機
を介して前記複数台の下位計算機と前記上位計算機との
通信を行う手段を設けたことを特徴とするネットワーク
システム。
1. A network system comprising an upper computer and a plurality of lower computers connected to the upper computer, wherein communication is performed between the upper computer and the lower computer. A network system, comprising: means for recognizing a connected lower computer as a parent computer and communicating with the plurality of lower computers and the higher computer via the recognized parent computer.
【請求項2】 請求項に記載のネットワークシステム
において、前記親計算機として認識される計算機は複数
台あり、該計算機の各々に前記複数台の下位計算機が接
続されていることを特徴とするネットワークシステム。
2. The network system according to claim 1 , wherein there are a plurality of computers recognized as the parent computer, and the plurality of lower-level computers are connected to each of the computers. system.
【請求項3】 上位計算機と、この上位計算機に接続さ
れた複数台の下位計算機とを備え、前記上位計算機と下
位計算機との間で通信を行うネットワークシステムにお
いて、前記下位計算機と通信するとともに前記上位計算
機と通信する親計算機を前記下位計算機のいずれかから
選択する選択手段と、該選択手段で選択された親計算機
を介して前記複数台の下位計算機と前記上位計算機との
通信を行う手段と、を設けたことを特徴とするネットワ
ークシステム。
3. A network system comprising an upper computer and a plurality of lower computers connected to the upper computer, wherein the network system communicates between the upper computer and the lower computer. Selecting means for selecting a parent computer to communicate with a higher-level computer from any of the lower-level computers; and means for performing communication between the plurality of lower-level computers and the higher-level computer via the parent computer selected by the selecting means. , A network system comprising:
【請求項4】 請求項に記載のネットワークシステム
において、前記選択手段は、親計算機を、選択された現
在の下位計算機から他の下位計算機に切換える機能を有
することを特徴とするネットワークシステム。
4. The network system according to claim 3 , wherein said selecting means has a function of switching the parent computer from the selected current lower-level computer to another lower-level computer.
【請求項5】 請求項に記載のネットワークシステム
において、前記上位計算機および前記親計算機として選
択された下位計算機は、該選択された下位計算機と他の
下位計算機を管理ファイルとして持っていることを特徴
とするネットワークシステム。
5. The network system according to claim 3 , wherein the lower-level computer selected as the higher-level computer and the parent computer has the selected lower-level computer and another lower-level computer as management files. Characteristic network system.
【請求項6】 請求項1〜に記載のネットワークシス
テムのうち、2つ以上をネットワークシステムを結合手
段で結合したことを特徴とする大規模ネットワークシス
テム。
6. The method of claim 1 to 5 of the network system according to a large-scale network system, characterized in that two or more joined the network system connecting means.
【請求項7】 上位計算機と、この上位計算機に接続さ
れた複数台の下位計算機との間で通信を行う際に、前記
下位計算機の1つを前記上位計算機と通信するための親
計算機として決定し、前記複数台の下位計算機は前記親
計算機を介して前記上位計算機と通信を行うことを特徴
とするネットワークシステムの通信方法。
7. When communicating between an upper computer and a plurality of lower computers connected to the upper computer, one of the lower computers is determined as a parent computer for communicating with the upper computer. A communication method for a network system, wherein the plurality of lower computers communicate with the upper computer via the parent computer.
JP04808194A 1994-03-18 1994-03-18 Network system and communication method in the system Expired - Fee Related JP3215963B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP04808194A JP3215963B2 (en) 1994-03-18 1994-03-18 Network system and communication method in the system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP04808194A JP3215963B2 (en) 1994-03-18 1994-03-18 Network system and communication method in the system

Publications (2)

Publication Number Publication Date
JPH07262114A JPH07262114A (en) 1995-10-13
JP3215963B2 true JP3215963B2 (en) 2001-10-09

Family

ID=12793387

Family Applications (1)

Application Number Title Priority Date Filing Date
JP04808194A Expired - Fee Related JP3215963B2 (en) 1994-03-18 1994-03-18 Network system and communication method in the system

Country Status (1)

Country Link
JP (1) JP3215963B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003093950A2 (en) * 2002-05-06 2003-11-13 David Goldberg Localized audio networks and associated digital accessories
JP6299266B2 (en) * 2014-02-20 2018-03-28 富士通株式会社 Data storage method, storage system, program, and storage apparatus
JP2017123595A (en) * 2016-01-08 2017-07-13 株式会社日立情報通信エンジニアリング Controller unit, function switching method, and function switching program

Also Published As

Publication number Publication date
JPH07262114A (en) 1995-10-13

Similar Documents

Publication Publication Date Title
US6760859B1 (en) Fault tolerant local area network connectivity
US7546354B1 (en) Dynamic network based storage with high availability
RU2178583C2 (en) Method and device for gaining access to computer resources through fire wall
US7089318B2 (en) Multi-protocol communication subsystem controller
US6216051B1 (en) Manufacturing backup system
US20020147823A1 (en) Computer network system
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
US5748470A (en) Semiconductor processing backup system
US20050204027A1 (en) Management system for hardware network devices
US20020147807A1 (en) Dynamic redirection
JPH09259096A (en) System for enhancing reliability of network
JP4592242B2 (en) Server / client system
JP3215963B2 (en) Network system and communication method in the system
JP2003524334A (en) Fault Tolerance of Multiple Networks by Redundant Network Control
JPH0213158A (en) Message transmission method
EP1793626B1 (en) System and method for implementing service switching
Denenberg Open systems interconnection
JP3730545B2 (en) Service control application execution method and system
EP2869499A1 (en) Switch, transmission method, program, and recording medium
EP2869496B1 (en) Switch, transmission method, program, and recording medium
EP3627766B1 (en) Method and system for switching between active bng and standby bng
US7661026B2 (en) Access by distributed computers to a same hardware resource
JPH0351938A (en) Host computer device
JP2933612B1 (en) Connection control method for management terminal and managed terminal
CN114338265A (en) Program downloading system and method based on TTP/C bus

Legal Events

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

Free format text: PAYMENT UNTIL: 20070803

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20080803

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090803

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100803

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110803

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120803

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130803

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees