JP3062904B2 - Data transmission method for distributed computer system - Google Patents

Data transmission method for distributed computer system

Info

Publication number
JP3062904B2
JP3062904B2 JP4282541A JP28254192A JP3062904B2 JP 3062904 B2 JP3062904 B2 JP 3062904B2 JP 4282541 A JP4282541 A JP 4282541A JP 28254192 A JP28254192 A JP 28254192A JP 3062904 B2 JP3062904 B2 JP 3062904B2
Authority
JP
Japan
Prior art keywords
computer
data
node
transmission
level
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
JP4282541A
Other languages
Japanese (ja)
Other versions
JPH06110807A (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 JP4282541A priority Critical patent/JP3062904B2/en
Publication of JPH06110807A publication Critical patent/JPH06110807A/en
Application granted granted Critical
Publication of JP3062904B2 publication Critical patent/JP3062904B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、分散型計算機システム
のデータ伝送方式に係り、特に、下位計算機から上位計
算機へ定期的に周期情報を伝送する分散型計算機システ
ムのデータ伝送方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission system of a distributed computer system, and more particularly to a data transmission system of a distributed computer system for periodically transmitting periodic information from a lower computer to an upper computer.

【0002】[0002]

【従来の技術】従来は、下位計算機から上位計算機へ周
期データを伝送する際に、全ての下位計算機が独立に上
位計算機へ直接伝送していた。そのため、上位計算機側
では、各下位計算機の一回分の周期データを受信するに
当たって、下位計算機の数と同数のデータ受信処理を必
要とする。
2. Description of the Related Art Conventionally, when transmitting periodic data from a lower-level computer to a higher-level computer, all the lower-level computers independently transmitted directly to the upper-level computer. Therefore, in receiving the one cycle data of each lower computer, the upper computer side needs the same number of data reception processes as the number of lower computers.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術では、下
位計算機から上位計算機へ伝送する周期データに関し
て、全ての下位計算機が上位計算機へデータを伝送して
いるため、上位計算機のデータ受信回数が多くなり、上
位計算機の伝送受信処理の負荷が下位計算機の数に比例
して増加していた。ここで、上位計算機がネットワーク
からの一回のデータ受信処理に要する時間をa、受信し
たメッセージの一つの情報を解読する時間をbとすると
き、一回の伝送データ受信でn個の情報が含まれると
き、その伝送データ受信処理に要する時間は、a+nb
で表され、また、一回の伝送データ受信でn個の情報が
含まれるメッセージをm回受信するときの受信処理に要
する時間は、ma+mnbで表すことができる。このよ
うにみると、処理が必要なデータ数を低減することは不
可能であるため、上位計算機への伝送回数mの数を出来
るだけ減らすことが、上位計算機の負荷低減に有効であ
ることがわかる。また、aが大きい時その効果は大き
い。本発明の目的は、下位計算機から上位計算機へ伝送
する周期データの伝送回数を減らし、上位計算機の負荷
を軽減して、伝送処理以外の処理能力を向上させること
にある。
In the above-mentioned prior art, with respect to the periodic data transmitted from the lower computer to the upper computer, all the lower computers transmit the data to the upper computer. That is, the load of the transmission / reception processing of the upper computer increases in proportion to the number of lower computers. Here, assuming that the time required for the host computer to perform one data reception process from the network is a and the time required to decode one piece of information of the received message is b, n pieces of information are received in one transmission data reception. When included, the time required for the transmission data reception processing is a + nb
In addition, the time required for reception processing when receiving a message including n pieces of information m times in one transmission data reception can be represented by ma + mnb. In this way, it is impossible to reduce the number of data that needs to be processed. Therefore, it is effective to reduce the number m of transmissions to the host computer as much as possible to reduce the load on the host computer. Recognize. The effect is great when a is large. An object of the present invention is to reduce the number of transmissions of periodic data transmitted from a lower computer to a higher computer, reduce the load on the higher computer, and improve the processing capacity other than the transmission processing.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
に、下位計算機群を幾つかのグループに分け、さらにグ
ループ内の下位計算機に各々一意にレベル付けをし、下
位レベルの下位計算機は、周期データを直接上位計算機
へ伝送せずに、グループ内の上位レベルの下位計算機へ
伝送し、そのグループ内で最上位レベルの下位計算機だ
けが上位計算機へまとめて周期データを伝送するように
構成する。また、周期データを上位計算機へ伝送する
際、下位計算機の各レベルで合体される周期データの収
集時刻ずれを防ぐため、下位計算機において、周期デー
タの保存エリアを設け、周期情報収集と転送の処理を分
離する。収集処理で周期データを保存エリアに格納した
後、転送処理で、各々の下位計算機の周期データを伝送
する時刻タイミングに時間差を設け、各グループ内で合
体される周期データの収集時刻が下位計算機毎に等しく
なるように、周期データを上位計算機へ伝送するように
構成する。
In order to achieve the above object, a group of lower computers is divided into several groups, and each lower computer in the group is uniquely assigned a level. Instead of transmitting the periodic data directly to the upper computer, the periodic data is transmitted to the upper-level lower computers in the group, and only the highest-level lower computer in the group is configured to transmit the periodic data collectively to the upper computer. . When transmitting periodic data to a higher-level computer, a storage area for periodic data is provided in the lower-level computer to prevent the collection time of the periodic data from being combined at each level of the lower-level computer. Is separated. After the cycle data is stored in the storage area in the collection process, a time difference is set in the transmission process between the timings at which the cycle data of each lower computer is transmitted, and the collection time of the cycle data combined in each group is set for each lower computer. Is configured to transmit the periodic data to the host computer so as to be equal to

【0005】[0005]

【作用】図3を参照して、上記の作用を説明する。n−
1台の下位計算機100を三台づつのグループk個に分
けて、各グループ内の下位計算機100にそれぞれ一意
にレベルを付加する。この中で、グループ1の下位計算
機100をレベルの昇順によりノードNO=2,3,4
とする。また、上位計算機300をノードNO=1とす
る。このとき、下位計算機100の周期データの流れ
は、最下位レベルであるノードNO=2が上位レベルで
あるノードNO=3に送信し、それを受けたノードNO
=3では、ノードNO=2の周期情報と共に上位レベル
であるノードNO=4に送信する。そして、それを受け
たノードNO=4では、自己ノードが最上位レベルであ
ることを判断し、ノードNO=2、3の周期情報を自分
自身の周期情報と合体し、上位計算機300であるノー
ドNO=1に送信する。この伝送方法により、従来上位
計算機に周期データをノード数すなわちn−1回送信し
ていたものが、今回グループ数すなわちk回の伝送で済
む。ところで、各ノードからの周期データ送信が全て同
時刻に行う必要がある場合、各ノードにおける最新の周
期情報が直ちに上位計算機に送信されず、下位計算機の
各レベルで合体される周期データの時刻がそれぞれずれ
て伝送される可能性がある。そのため、下位計算機から
上位計算機への周期データ遅延を防ぐため、各下位計算
機の周期情報は、一旦保存エリアにそれぞれ格納され、
その後、各グループの各レベルのノード毎に周期データ
伝送時刻のタイミングに、ノード間でデータを通信でき
る程度の時間差を設けておき、下位レベルのノードほど
周期データの伝送時刻タイミングを早くすることによ
り、下位計算機の各レベルで合体される周期データの収
集時刻のずれをなくする。
Operation The above operation will be described with reference to FIG. n-
One lower-level computer 100 is divided into k groups of three, and a level is uniquely added to each lower-level computer 100 in each group. Among them, the lower-level computers 100 of the group 1 are assigned node NOs = 2, 3, 4 in ascending order of level.
And Also, the host computer 300 is set to node NO = 1. At this time, the flow of the periodic data of the lower computer 100 is such that the node NO = 2 which is the lowest level is transmitted to the node NO = 3 which is the upper level, and the node NO which has received it is transmitted.
In the case of = 3, it transmits to the node NO = 4 which is the upper level together with the cycle information of the node NO = 2. Then, at node NO = 4 receiving this, it is determined that the self node is at the highest level, the cycle information of nodes NO = 2 and 3 is combined with its own cycle information, and the node which is the upper-level computer 300 Send to NO = 1. According to this transmission method, the transmission of the periodic data to the host computer in the number of nodes, that is, n-1 times, is now completed in the number of groups, that is, k times. By the way, when all the periodic data transmissions from each node need to be performed at the same time, the latest periodic information at each node is not immediately transmitted to the upper computer, and the time of the periodic data combined at each level of the lower computer is Each transmission may be shifted. Therefore, in order to prevent the delay of the cycle data from the lower computer to the higher computer, the cycle information of each lower computer is temporarily stored in the storage area, respectively.
After that, a time difference is provided for the timing of the periodic data transmission time for each node of each level in each group so that data can be communicated between the nodes, and the transmission time timing of the periodic data is made earlier for lower-level nodes. In addition, there is no lag in the collection time of the periodic data combined at each level of the lower computer.

【0006】[0006]

【実施例】以下、本発明の実施例を説明する。図1は、
本発明の一実施例であり、全体システム構成を示す。広
域に分散している各変電所400からHDLC伝送路2
01を介して、制御用の上位計算機300の一部機能を
分担し、接続されている変電所400の処理を各々独立
して遂行している伝送制御用の下位計算機100と、各
変電所400を集中監視制御するための上位計算機30
0とが情報の送受信を行うためのネットワーク200に
より接続構成されている。上位計算機300は、計算機
本体301、CRT表示装置302及びキーボード30
3より構成される。各変電所400からの情報を伝送路
201を介して下位計算機100に逐次送信し、下位計
算機100において編集され、必要情報ならばネットワ
ーク200にブロードキャストに送出される。それを受
けた上位計算機300は、計算機本体301で処理・加
工した後、CRT表示装置302に表示する。すなわ
ち、上位計算機300では、各変電所400の刻々と変
化する運用情報をリアルタイムで把握し、運転員に迅速
かつ正確に表示報告する必要があり、そのため各変電所
400においては、最新のデータを定期的に上位計算機
300に対して送信し、また、送信周期は短いほど情報
の新規性が増すことになる。下位計算機100間の情報
交換は、ネットワーク200を介して行われる。ここで
は、1秒周期で各変電所400の計測情報が伝送路20
1を介して下位計算機100に伝送され、受信した下位
計算機100も同周期で情報をネットワーク200に送
出し、それらを受信した上位計算機300が加工処理
し、その後にCRT302に表示する例を説明する。
Embodiments of the present invention will be described below. FIG.
1 is an embodiment of the present invention, showing an overall system configuration. HDLC transmission line 2 from each substation 400 dispersed in a wide area
01, a subordinate computer 100 for transmission control, which shares some functions of the host computer 300 for control and independently executes processing of the connected substations 400; Host computer 30 for centralized monitoring and control of
0 is connected and configured by a network 200 for transmitting and receiving information. The host computer 300 includes a computer main body 301, a CRT display device 302, and a keyboard 30.
3 Information from each substation 400 is sequentially transmitted to the lower-level computer 100 via the transmission line 201, edited by the lower-level computer 100, and broadcast to the network 200 if necessary. The host computer 300 that has received it processes and processes it on the computer main body 301 and displays it on the CRT display device 302. That is, the host computer 300 needs to grasp the ever-changing operation information of each substation 400 in real time and promptly and accurately display and report it to the operator. Therefore, in each substation 400, the latest data is The information is periodically transmitted to the host computer 300, and the shorter the transmission cycle, the greater the novelty of the information. Information exchange between the lower-level computers 100 is performed via the network 200. Here, the measurement information of each of the substations 400 is transmitted on a transmission line 20 every 1 second.
An example will be described in which the lower computer 100 that is transmitted to and received by the lower computer 100 via the network interface 1 transmits the information to the network 200 in the same cycle, and the higher computer 300 that receives the information processes the information and then displays the information on the CRT 302. .

【0007】図3に示すように、一台の上位計算機30
0に対し、N−1台の下位計算機100がネットワーク
200により接続されている場合、上位計算機300を
ノードNO=1、下位計算機をそれぞれノードNO=
2,3,…,Nとする。N−1台を三台づつに分けたと
き、それぞれはグループNO=1,2…kとなる。ただ
し、一つのグループの台数は、全てのグループで等しく
なる必要はないので、N−1が3で割り切れないとき
は、他のグループと異なる台数を持つグループを生成す
る。そして、周期情報の流れは、図2に示すように、ノ
ードNO=2→ノードNO=3→ノードNO=4→ノー
ドNO=1,ノードNO=5→ノードNO=6→ノード
NO=7→ノードNO=1となり、一般的には、ノード
NO=3n−1→ノードNO=3n→ノードNO=3n
+1→ノードNO=1(但し、n=1,2,…,(N−
1)/3)となる。
[0007] As shown in FIG.
On the other hand, when N−1 lower computers 100 are connected by the network 200, the upper computer 300 is connected to the node NO = 1, and the lower computers are connected to the node NO =
.., N. When N-1 units are divided into three units, each becomes a group number = 1, 2,..., K. However, since the number of one group does not need to be equal in all groups, when N-1 is not divisible by 3, a group having a number different from that of the other groups is generated. Then, as shown in FIG. 2, the flow of the cycle information is as follows: node NO = 2 → node NO = 3 → node NO = 4 → node NO = 1, node NO = 5 → node NO = 6 → node NO = 7 → Node NO = 1, and generally, node NO = 3n−1 → node NO = 3n → node NO = 3n
+ 1 → node NO = 1 (where n = 1, 2,..., (N−
1) / 3).

【0007】このなかで、グループ1(ノードNO=
2,3,4)を例にとり、その送受信動作について、図
4、図5、図6、図7を用いて説明する。まず、図5の
ように各ノードの状態を管理するノード状態管理テーブ
ル109を設ける。そしてノードNO=2,3,4につ
いて、順にノードレベルを1,2,3また周期データ送
信時刻タイミングを0.90秒,0.95秒,1.00
秒と定義する。また、ノードの稼動・停止状態は、すべ
て稼動(RUN)とする。
[0007] Group 1 (node NO =
2, 3, 4), the transmission / reception operation will be described with reference to FIGS. 4, 5, 6, and 7. FIG. First, a node state management table 109 for managing the state of each node is provided as shown in FIG. For node NO = 2, 3, 4, the node level is set to 1, 2, 3, and the periodic data transmission time is set to 0.90 seconds, 0.95 seconds, 1.00, respectively.
Defined as seconds. In addition, all the operation / stop states of the nodes are set to operation (RUN).

【0008】次に、図4は、下位計算機100の機能ブ
ロックであり、図4において、変電所400からの周期
情報は、伝送路201を通り、下位計算機100に送信
される。下位計算機100では、その情報を伝送路受信
部112で受信し、受信データエリア(下位)113に
格納する。それを受けて、受信編集処理(下位)114
は、受信データエリア(下位)113の内容を受信デー
タバッファ(下位)115に移すと共に、上りメッセー
ジ解析処理116を起動する。そして、上りメッセージ
解析処理116では、データを判別し、受信データバッ
ファ(下位)115のデータを、上りデータ受け送信デ
ータバッファ(上位)117に転送する。ここで、ノー
ドNO=2について、1秒周期で起動する周期転送処理
108は、毎時0.90秒に、送信編集処理106に対
し周期情報の送信要求を出す。送信編集処理106で
は、周期転送処理108から起動要求を受けて、下りデ
ータ受け送信データバッファ(上位)107に周期情報
が存在しないので、上りデータ受け送信データバッファ
(上位)117の周期情報だけを、ノード状態管理テー
ブル109により自己ノードが最上位レベルではないの
で、上位レベルであるノードNO=3を送信先とし、図
7のに示すフォーマットで、送信用バッファ110に
書き込む。図7ののフォーマットは、送信元がノード
NO=2、送信先がノードNO=3、要求内容が送信、
データ種別が周期、通番が1(後述)及びノードNO=
2の計測情報からなる。ネットワーク送信部111は、
送信用バッファ110のデータにネットワーク送受信管
理用の通番1を付加してネットワーク200にブロード
キャストに送出する。次に、ノードNO=3では、ネッ
トワーク200上の通番1のデータをネットワーク受信
部101で受信し、送信先がノードNO=3で自己ノー
ド宛のデータと判別し、受信データエリア(上位)10
2に格納すると共に、図7ののフォーマットで通番1
のデータを正常受信したことを、送信元であるノードN
O=2を送信先として、ネットワーク200に送出す
る。図7ののフォーマットにおいて、その送信先、送
信元及び通番は図7ののそれと一致していることが必
要であり、ACKは返答を表す。また、受信編集処理
(上位)103は、受信データエリア(上位)102の
内容を受信データバッファ(上位)104に移すと共
に、下りメッセージ解析処理105を起動する。そし
て、下りメッセージ解析処理105では、データを判別
し、受信データバッファ(上位)104のデータを、下
りデータ受け送信データバッファ(上位)107に転送
する。また、ノードNO=3について、変電所400か
ら伝送路201を介して下位計算機100に送られてく
る周期データは、ノードNO=2の伝送路からの受信処
理と同様に、上りデータ受け送信データバッファ(上
位)117に転送される。周期転送処理108は、ノー
ドNO=2からの周期データを受信した後になるよう
な、毎時0.95秒に、送信編集処理106に対し、周
期情報の送信要求を出す。送信編集処理106では、周
期転送処理108から起動要求を受けて、下りデータ受
け送信データバッファ(上位)107の周期情報と、上
りデータ受け送信データバッファ(上位)117の周期
情報を合わせて、ノード状態管理テーブル109により
自己ノードが最上位レベルではないので、上位レベルで
あるノード4を送信先とし、図7のに示すフォーマッ
トで、送信用バッファ110に書き込む。ネットワーク
送信部111は、送信用バッファ110のデータに通番
2を付加してネットワーク200にブロードキャストに
送出する。その次に、ノードNO=4では、ネットワー
ク200上の通番2のデータをネットワーク受信部10
1で受信し、送信先がノードNO=4で自己ノード宛の
データと判別し、受信データエリア(上位)102に格
納すると共に、図7ののフォーマットで通番2のデー
タを正常受信したことを、送信元であるノード3を送信
先としてネットワーク200に送出する。また、ノード
NO=3のネットワーク200からの周期情報の受信処
理と同様に、このデータを下りデータ受け送信データバ
ッファ(上位)107に転送する。さらに、ノードNO
=4について、変電所400から伝送路201を介して
下位計算機100に送られてくる周期データも、ノード
NO=2の伝送路からの受信処理と同様に、上りデータ
受け送信データバッファ(上位)117に転送される。
周期転送処理108は、ノードNO=3からの周期デー
タを受信した後になるような、毎時1.00秒に、送信
編集処理106に対し、周期情報の送信要求を出す。送
信編集処理106では、周期転送処理108から起動要
求を受けて、下りデータ受け送信データバッファ(上
位)107の周期情報と、上りデータ受け送信データバ
ッファ(上位)117の周期情報を合わせて、ノード状
態管理テーブル109により自己ノードが最上位レベル
であることを判断し、図7のに示すフォーマットで、
送信用バッファ110に書き込む。ネットワーク送信部
111は、送信用バッファ110のデータに通番3を付
加してネットワーク200にブロードキャストに送出す
る。そして、上位計算機300であるノードNO=1
は、ネットワーク200上の通番3のデータを受信し、
送信先がノードNO=1で自己ノード宛のデータと判別
し、取得すると共に、図7ののフォーマットで通番3
のデータを正常受信したことを、送信元であるノードN
O=4を送信先として、ネットワーク200に送出す
る。その後、計算機本体301で処理・加工した後、C
RT表示装置302に周期情報の計測データを表示更新
する。
FIG. 4 is a functional block diagram of the lower-level computer 100. In FIG. 4, cycle information from the substation 400 is transmitted to the lower-level computer 100 via the transmission line 201. In the lower computer 100, the information is received by the transmission path receiver 112 and stored in the reception data area (lower) 113. In response, the receiving and editing process (lower order) 114
Transfers the contents of the reception data area (lower) 113 to the reception data buffer (lower) 115 and activates the upstream message analysis processing 116. Then, in the upstream message analysis processing 116, the data is determined, and the data in the reception data buffer (lower) 115 is transferred to the upstream data reception / transmission data buffer (higher) 117. Here, for the node NO = 2, the periodic transfer process 108 started at a one-second cycle sends a transmission request of the periodic information to the transmission editing process 106 at 0.90 seconds per hour. In the transmission editing process 106, since the start request is received from the periodic transfer process 108 and the period information does not exist in the downlink data reception transmission data buffer (upper) 107, only the period information of the uplink data reception transmission data buffer (upper) 117 is stored. Since the self-node is not at the highest level according to the node status management table 109, the higher-level node NO = 3 is set as the transmission destination, and is written into the transmission buffer 110 in the format shown in FIG. In the format of FIG. 7, the transmission source is node NO = 2, the transmission destination is node NO = 3, the request content is transmitted,
The data type is periodic, the serial number is 1 (described later), and the node NO =
2 measurement information. The network transmission unit 111
The serial number 1 for network transmission / reception management is added to the data in the transmission buffer 110 and the data is transmitted to the network 200 by broadcasting. Next, at the node NO = 3, the data of the serial number 1 on the network 200 is received by the network receiving unit 101, and the transmission destination is determined to be the data addressed to the own node at the node NO = 3.
2 and serial number 1 in the format of FIG.
Is normally received, the transmission source node N
O = 2 is transmitted to the network 200 as a transmission destination. In the format of FIG. 7, the transmission destination, the transmission source, and the serial number need to match those of FIG. 7, and ACK indicates a reply. In addition, the reception editing process (upper) 103 moves the contents of the reception data area (upper) 102 to the reception data buffer (upper) 104 and activates a downstream message analysis process 105. Then, in the downlink message analysis processing 105, the data is determined, and the data in the reception data buffer (upper) 104 is transferred to the downlink data reception / transmission data buffer (upper) 107. For the node NO = 3, the periodic data sent from the substation 400 to the lower-level computer 100 via the transmission line 201 is the same as the reception data from the transmission line of the node NO = 2. The data is transferred to the buffer (upper) 117. The periodic transfer processing 108 issues a transmission request of the periodic information to the transmission editing processing 106 at 0.95 seconds per hour, such as after receiving the periodic data from the node NO = 2. In the transmission editing process 106, upon receiving a start request from the periodic transfer process 108, the cycle information of the downlink data reception / transmission data buffer (upper) 107 and the cycle information of the uplink data reception / transmission data buffer (upper) 117 are added to the node. Since the self-node is not at the highest level according to the state management table 109, the node 4 at the higher level is set as the transmission destination and is written into the transmission buffer 110 in the format shown in FIG. The network transmission unit 111 adds the serial number 2 to the data in the transmission buffer 110 and transmits the data to the network 200 by broadcasting. Then, at the node NO = 4, the data of the serial number 2 on the network 200 is transmitted to the network receiving unit 10.
1 and the transmission destination is determined to be the data addressed to the own node when the node number is NO = 4, stored in the reception data area (upper) 102, and that the data of serial number 2 is normally received in the format of FIG. Is transmitted to the network 200 with the transmission source node 3 as the transmission destination. In addition, similarly to the process of receiving the cycle information from the network 200 of the node NO = 3, this data is transferred to the downstream data reception / transmission data buffer (upper) 107. Further, node NO
= 4, the periodic data sent from the substation 400 to the lower-level computer 100 via the transmission line 201 also receives the upstream data reception transmission data buffer (upper) as in the reception process from the transmission line of node NO = 2. 117.
The periodic transfer processing 108 issues a transmission request of the periodic information to the transmission editing processing 106 at 1.00 seconds every hour, such as after receiving the periodic data from the node NO = 3. In the transmission editing process 106, upon receiving a start request from the periodic transfer process 108, the cycle information of the downlink data reception / transmission data buffer (upper) 107 and the cycle information of the uplink data reception / transmission data buffer (upper) 117 are added to the node. It is determined from the status management table 109 that the self node is at the highest level, and the format is as shown in FIG.
Write to the transmission buffer 110. The network transmission unit 111 adds the serial number 3 to the data in the transmission buffer 110 and transmits the data to the network 200 by broadcasting. Then, node NO = 1, which is the host computer 300
Receives the data of serial number 3 on the network 200,
When the transmission destination is the node NO = 1, it is determined that the data is addressed to the own node, and the data is acquired.
Is normally received, the transmission source node N
O = 4 is transmitted to the network 200 as a transmission destination. Then, after processing and processing by the computer main body 301, C
The measurement data of the period information is updated on the RT display device 302.

【0009】ところで、各ノードの周期情報の伝送タイ
ミングを全て標準時計の同時刻にすると、図6の、
、のメッセージは同時刻に送信されるため、ノード
NO=4のデータは直ちにノードNO=1へ送信される
が、ノードNO=3のデータは約1秒後、ノードNO=
2のデータは約2秒後にノードNO=1へ送信されるた
め、周期データの信憑性が損なわれる可能性がある。そ
のため、図5に示すノード状態管理テーブル109に、
各ノードの周期データ送信時刻タイミングに時間差を設
け、下位レベルのノードから周期データを受信後に、自
己データと合わせて、次ノードにデータを送信するよう
にして、周期情報の遅延を防ぐ。
By the way, if all the transmission timings of the period information of each node are set to the same time of the standard clock,
, Are transmitted at the same time, the data of the node NO = 4 is immediately transmitted to the node NO = 1, but the data of the node NO = 3 is transmitted about one second later, and the data of the node NO =
Since the data of No. 2 is transmitted to the node NO = 1 after about 2 seconds, the credibility of the periodic data may be impaired. Therefore, the node state management table 109 shown in FIG.
A time difference is provided in the periodic data transmission time of each node, and after receiving the periodic data from the lower-level node, the data is transmitted to the next node together with its own data, thereby preventing the delay of the periodic information.

【0010】次に、図8、図9に、ノード3が停止した
場合の動作について説明する。各ノードの動作状態は、
ノード状態管理テーブルが把握しており、図8、9に示
すように、図5、図6と同じ構成のとき、まず、ノード
NO=2では、変電所400から伝送路201を介して
下位計算機100に送られてくる周期データが、上りデ
ータ受け送信データバッファ(上位)117に転送され
る。1秒周期で起動する周期転送処理108は、毎時
0.90秒に、送信編集処理106に対し、周期情報の
送信要求を出す。送信編集処理106では、周期転送処
理108から起動要求を受けて、下りデータ受け送信デ
ータバッファ(上位)107に周期情報が存在しないの
で、上りデータ受け送信データバッファ(上位)117
の周期情報だけを、ノード状態管理テーブル109によ
り自己ノードが最上位レベルではないので、上位レベル
ノードを検索し、ノードNO=3が停止であるので、ノ
ードNO=4を送信先として、送信用バッファ110に
書き込む。ネットワーク送信部111は、送信用バッフ
ァ110のデータにネットワーク送受信管理用の通番1
を付加して、ネットワーク200にブロードキャストに
送出する。そしてノードNO=4では、ネットワーク2
00上の通番1のデータをネットワーク受信部101で
受信し、送信先がノードNO=4で自己ノード宛のデー
タと判別し、受信データエリア(上位)102に格納す
ると共に、通番1のデータを正常受信したことを、送信
元であるノードNO=2を送信先として、ネットワーク
200に送出する。この受信データエリア(上位)10
2に格納したデータを下りデータ受け送信データバッフ
ァ(上位)107に転送する。また、ノードNO=4に
おいて、変電所400から伝送路201を介して下位計
算機100に送られてくる周期データは、上りデータ受
け送信データバッファ(上位)117に転送される。周
期転送処理108は、ノードNO=2,3からの周期デ
ータを受信した後になるような、毎時1.00秒に、送
信編集処理106に対し、周期情報の送信要求を出す。
送信編集処理106では、周期転送処理108から起動
要求を受けて、下りデータ受け送信データバッファ(上
位)107の周期情報と、上りデータ受け送信データバ
ッファ(上位)117の周期情報を合わせて、ノード状
態管理テーブル109により自己ノードが最上位レベル
であることを判断し、送信用バッファ110に書き込
む。ネットワーク送信部111は、送信用バッファ11
0のデータに通番2を付加して、ネットワーク200に
ブロードキャストに送出する。そして上位計算機300
であるノードNO=1は、ネットワーク200上の通番
2のデータを受信し、送信先がノードNO=1で自己ノ
ード宛のデータと判別し、取得すると共に、通番2のデ
ータを正常受信したことを、送信元であるノードNO=
4を送信先として、ネットワーク200に送出する。そ
の後、計算機本体301で処理・加工した後、CRT表
示装置302に周期情報の計測データを表示更新する。
Next, an operation when the node 3 is stopped will be described with reference to FIGS. The operating status of each node is
As shown in FIGS. 8 and 9, when the node state management table has the same configuration as in FIGS. 5 and 6, first, at the node NO = 2, the lower-level computer is connected from the substation 400 via the transmission line 201. The periodic data sent to 100 is transferred to the upstream data receiving / transmitting data buffer (upper) 117. The periodic transfer process 108, which is activated in a one-second cycle, issues a transmission request for period information to the transmission editing process 106 at 0.90 seconds per hour. In the transmission editing process 106, the start request is received from the periodic transfer process 108, and since there is no cycle information in the downlink data reception transmission data buffer (upper) 107, the uplink data reception transmission data buffer (upper) 117.
Since the node itself is not at the highest level in the node state management table 109, a search is made for a higher-level node, and node NO = 3 is stopped. Write to buffer 110. The network transmission unit 111 stores the serial number 1 for network transmission / reception management in the data in the transmission buffer 110.
, And broadcast the broadcast to the network 200. Then, at node NO = 4, network 2
00 is received by the network receiving unit 101, the destination is determined to be the data addressed to the own node when the node number is NO = 4, and stored in the reception data area (upper) 102, and the data of the serial number 1 is stored. The normal reception is transmitted to the network 200 with the transmission source node NO = 2 as the transmission destination. This reception data area (upper) 10
2 is transferred to the downstream data receiving and transmitting data buffer (upper) 107. At node NO = 4, the periodic data sent from the substation 400 to the lower computer 100 via the transmission line 201 is transferred to the upstream data receiving / transmitting data buffer (upper) 117. The periodic transfer processing 108 issues a transmission request of the periodic information to the transmission editing processing 106 at 1.00 second every hour, such as after receiving the periodic data from the nodes NO = 2 and 3.
In the transmission editing process 106, upon receiving a start request from the periodic transfer process 108, the cycle information of the downlink data reception / transmission data buffer (upper) 107 and the cycle information of the uplink data reception / transmission data buffer (upper) 117 are added to the node. The status management table 109 determines that the own node is at the highest level, and writes the result to the transmission buffer 110. The network transmission unit 111 includes the transmission buffer 11
The serial number 2 is added to the data of 0, and the data is transmitted to the network 200 by broadcasting. And the host computer 300
The node No. 1 receives the data of the serial number 2 on the network 200, determines that the transmission destination is the data addressed to the own node with the node NO = 1, obtains the data, and normally receives the data of the serial number 2 From the transmission source node NO =
4 to the network 200 as the destination. Then, after processing and processing are performed by the computer main body 301, the measurement data of the cycle information is displayed and updated on the CRT display device 302.

【0011】図10、図11に、これらの手順の処理フ
ローを示す。図10において、下位計算機100では、
まず、ネットワーク200からの周期データを受信編集
する(ステップ10)。また、変電所400から伝送路
201を介して送られてくる周期データを受信編集する
(ステップ11)。続いて、ネットワーク200からの
下りメッセージを解析処理する(ステップ12)。ま
た、上りメッセージを解析処理する(ステップ13)。
これらの下りメッセージ及び上りメッセージを周期転送
処理し(ステップ14)、ネットワーク200に伝送す
る送信データを編集する(ステップ15)。次に、図1
1において、ネットワーク200からの下りメッセージ
については、下位レベルの下位計算機100からの自己
ノード宛のデータであれば、取得し、また、伝送路20
1からの上りメッセージについてはそのまま取得し、そ
れぞれのデータを合体する(ステップ20)。この中
で、まず、自己ノード、グループ番号を取得する(ステ
ップ21)。次いで、グループ内で自己ノードが最上位
レベルのノードか否かを判断する(ステップ22)。最
上位レベルのノードであれば、上位計算機(ノード1)
を周期データの送信相手先とみなす(ステップ23)。
また、最上位レベルのノードでなければ、グループ内で
上位レベルのノードは稼働しているか否かを判断する
(ステップ24)。上位レベルのノードが稼働していな
ければ、上位計算機(ノード1)を周期データの送信相
手先とみなす(ステップ25)。また、上位レベルのノ
ードは稼働していなければ、上位レベルの下位計算機に
周期データを送信する(ステップ25)。以上のように
実施すれば、上位計算機300が受信する周期情報の1
回当たりのメッセージ量は3倍に増えるが、同計算機の
受信回数は3分の1に低減する。ところで、一般に、計
算機間の送受信の負荷は、メッセージ量が膨大でない限
り、メッセージ量よりも、むしろ送受信回数に影響を受
け、ネットワークに接続されるノード数が増加するほ
ど、その負荷は増大する。したがって、本実施例によれ
ば、上位計算機300の負荷を大巾に軽減することがで
き、伝送処理以外の処理能力を著しく向上させることに
なる。また、ネットワークに接続されるノード数が増加
しても、グループ数を適宜に設定することにより、上位
計算機300の負荷を最低限の増加に抑えることができ
る。また、本実施例において、変電所400からの事故
データ等、緊急を要する情報については、上位計算機3
00にダイレクトに送信するようにすることも容易にで
きる。
FIG. 10 and FIG. 11 show the processing flow of these procedures. In FIG. 10, in the lower-level computer 100,
First, the periodic data from the network 200 is received and edited (step 10). Also, the periodic data transmitted from the substation 400 via the transmission line 201 is received and edited (step 11). Subsequently, the downstream message from the network 200 is analyzed (step 12). In addition, the upstream message is analyzed (step 13).
The downlink message and the uplink message are cyclically transferred (step 14), and transmission data to be transmitted to the network 200 is edited (step 15). Next, FIG.
1, a downlink message from the network 200 is acquired if it is data addressed to the own node from the lower-level lower-level computer 100.
As for the upstream message from No. 1, it is obtained as it is, and the respective data are combined (step 20). Among them, first, the own node and the group number are obtained (step 21). Next, it is determined whether or not the own node is the highest-level node in the group (step 22). If the node is at the highest level, the host computer (node 1)
Is regarded as the transmission destination of the periodic data (step 23).
If the node is not the highest level node, it is determined whether the higher level node is operating in the group (step 24). If the upper-level node is not operating, the higher-level computer (node 1) is regarded as the transmission destination of the periodic data (step 25). If the upper-level node is not operating, the periodic data is transmitted to the upper-level lower-level computer (step 25). By performing the above, one of the cycle information received by the host computer 300
Although the number of messages per transmission increases by three times, the number of receptions by the computer is reduced to one third. By the way, in general, the load of transmission and reception between computers is affected by the number of transmissions and receptions rather than the amount of messages unless the amount of messages is enormous, and the load increases as the number of nodes connected to the network increases. Therefore, according to the present embodiment, the load on the host computer 300 can be greatly reduced, and the processing capacity other than the transmission processing can be significantly improved. Even if the number of nodes connected to the network increases, the load on the host computer 300 can be suppressed to a minimum increase by appropriately setting the number of groups. Further, in the present embodiment, for information requiring urgency such as accident data from the substation 400, the host computer 3
00 can be easily transmitted directly.

【0012】[0012]

【発明の効果】本発明によれば、下位計算機から上位計
算機への周期データ伝送回数を減少することができ、こ
れにより、上位計算機の負荷を軽減し、その分、他の処
理能力が向上する。また、本発明によれば、変電所増設
により下位計算機が追加されても、周期データの伝送回
数が増加しないため、上位計算機の負荷を最低限の増加
に抑えることができる。
According to the present invention, the number of periodic data transmissions from the lower computer to the upper computer can be reduced, thereby reducing the load on the upper computer and improving the other processing capacity accordingly. . Further, according to the present invention, even if a lower computer is added due to the addition of a substation, the number of transmissions of periodic data does not increase, so that the load on the upper computer can be suppressed to a minimum increase.

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

【図1】実施例の分散システムの構成FIG. 1 is a configuration of a distributed system according to an embodiment.

【図2】本発明の実施例のシステム間の周期データの流
FIG. 2 shows a flow of periodic data between systems according to an embodiment of the present invention.

【図3】実施例の分散システムのグループ構成FIG. 3 is a diagram illustrating a group configuration of a distributed system according to an embodiment;

【図4】下位計算機本体の機能ブロック図FIG. 4 is a functional block diagram of a lower computer main body;

【図5】下位計算機内のノード状態管理テーブルの例FIG. 5 shows an example of a node status management table in a lower computer.

【図6】実施例の1グループについての周期データの流
FIG. 6 shows a flow of periodic data for one group in the embodiment.

【図7】周期データのフォーマットFIG. 7 is a format of periodic data.

【図8】ノード停止時における下位計算機内のノード状
態管理テーブルの例
FIG. 8 is an example of a node status management table in a lower computer when a node stops;

【図9】ノード停止時における実施例の1グループにつ
いての周期データの流れ
FIG. 9 illustrates a flow of periodic data for one group according to the embodiment when the node is stopped.

【図10】下位計算機の周期データ処理のフローチャー
FIG. 10 is a flowchart of periodic data processing of a lower computer.

【図11】前記フローチャートの各ノード状態判別処理
のフローチャート
FIG. 11 is a flowchart of each node state determination process in the flowchart.

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

100 下位計算機 200 ネットワーク 201 HDLC伝送路 300 上位計算機 301 上位計算機本体 302 CRT表示装置 303 キーボード 400 変電所 101 ネットワーク受信部 102 受信データエリア(上位) 103 受信編集処理(上位) 104 受信データバッファ(上位) 105 下りメッセージ解析 106 送信編集処理(上位) 107 下りデータ受け送信データバッファ(上位) 108 周期転送処理 109 ノード状態管理テーブル 110 送信用バッファ(上位) 111 ネットワーク送信部 112 伝送路受信部 113 受信データエリア(下位) 114 受信編集処理(下位) 115 受信データバッファ(下位) 116 上りメッセージ解析 117 上りデータ受け送信データバッファ(上位) 118 送信データバッファ(下位) 119 送信編集処理(下位) 120 送信用バッファ(下位) 121 伝送路送信部 REFERENCE SIGNS LIST 100 Lower computer 200 Network 201 HDLC transmission line 300 Upper computer 301 Upper computer main body 302 CRT display device 303 Keyboard 400 Substation 101 Network receiver 102 Receive data area (upper) 103 Reception edit processing (upper) 104 Receive data buffer (upper) 105 Downlink message analysis 106 Transmission editing processing (upper) 107 Downlink data reception / transmission data buffer (upper) 108 Periodic transfer processing 109 Node status management table 110 Transmission buffer (upper) 111 Network transmission unit 112 Transmission path reception unit 113 Received data area (Lower) 114 Reception edit processing (Lower) 115 Received data buffer (Lower) 116 Upstream message analysis 117 Upstream data reception / transmission data buffer (upper) 118 Transmission data Tabaffa (lower) 119 sends editing process (lower) 120 transmission buffer (lower) 121 transmission line transmission unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平3−211646(JP,A) 特開 平2−259848(JP,A) 特開 平2−95044(JP,A) 特開 昭63−214038(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 12/00 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-3-211646 (JP, A) JP-A-2-259848 (JP, A) JP-A-2-95044 (JP, A) JP-A-63- 214038 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 13/00 G06F 12/00

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 各々が独立した複数の下位計算機と、少
なくとも1台の上位計算機と、それら複数の計算機シス
テム間で情報を送受信可能とするネットワークから構成
され、下位計算機から上位計算機へ定期的に周期情報を
伝送する分散型計算機システムにおいて、一つの下位計
算機の周期情報を他の下位計算機に伝送し、代表した下
位計算機だけが上位計算機へまとめて周期情報を伝送す
ることを特徴とする分散型計算機システムのデータ伝送
方式。
1. A system comprising a plurality of independent lower computers, at least one upper computer, and a network capable of transmitting and receiving information between the plurality of computer systems. A distributed computer system for transmitting periodic information, wherein the periodic information of one lower computer is transmitted to another lower computer, and only the representative lower computer collectively transmits the periodic information to the upper computer. Data transmission method for computer systems.
【請求項2】 請求項1において、各々が独立した複数
の下位計算機を任意の幾つかのグループに分類し、その
グループ内の下位計算機に一意にレベルを付け、一つの
下位計算機から上位レベルの下位計算機に周期データを
伝送することを特徴とする分散型計算機システムのデー
タ伝送方式。
2. The computer system according to claim 1, wherein the plurality of lower computers, each of which is independent of each other, are classified into any number of groups, and a lower computer in the group is uniquely assigned a level. A data transmission method for a distributed computer system, wherein periodic data is transmitted to a lower-level computer.
【請求項3】 請求項1または請求項2において、下位
計算機において、周期情報の保存エリアを設け、データ
収集処理時に周期情報を保存エリアに格納し、その後、
転送処理することを特徴とする分散型計算機システムの
データ伝送方式。
3. The low-level computer according to claim 1, further comprising a storage area for storing period information, storing the period information in the storage area during data collection processing,
A data transmission method for a distributed computer system characterized by performing a transfer process.
【請求項4】 請求項1、請求項2または請求項3にお
いて、下位計算機から上位計算機に周期情報を伝送する
際、グループ内の各下位計算機の周期情報収集時刻を等
しくするために、各々の下位計算機の周期情報を伝送す
る時刻タイミングに時間差を設けることを特徴とする分
散型計算機システムのデータ伝送方式。
4. The method according to claim 1, wherein when transmitting the cycle information from the lower-level computer to the higher-level computer, each of the lower-level computers in the group has the same cycle information collection time. A data transmission method for a distributed computer system, characterized in that a time difference is provided in the timing of transmitting period information of a lower-level computer.
JP4282541A 1992-09-28 1992-09-28 Data transmission method for distributed computer system Expired - Fee Related JP3062904B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4282541A JP3062904B2 (en) 1992-09-28 1992-09-28 Data transmission method for distributed computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4282541A JP3062904B2 (en) 1992-09-28 1992-09-28 Data transmission method for distributed computer system

Publications (2)

Publication Number Publication Date
JPH06110807A JPH06110807A (en) 1994-04-22
JP3062904B2 true JP3062904B2 (en) 2000-07-12

Family

ID=17653813

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4282541A Expired - Fee Related JP3062904B2 (en) 1992-09-28 1992-09-28 Data transmission method for distributed computer system

Country Status (1)

Country Link
JP (1) JP3062904B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1091609A (en) * 1996-09-10 1998-04-10 Mitsubishi Electric Corp Decentralized simulation system

Also Published As

Publication number Publication date
JPH06110807A (en) 1994-04-22

Similar Documents

Publication Publication Date Title
US5175732A (en) Method and apparatus for controlling data communication operations within stations of a local-area network
CN109783573B (en) Multi-path pushed data synchronization method and terminal
Kopetz A solution to an automotive control system benchmark
JPH0217818B2 (en)
JPS63279633A (en) Multi-address communication system
JP3062904B2 (en) Data transmission method for distributed computer system
JPH0962624A (en) Processing method and processing system for on-line transaction
JP2665185B2 (en) Data transmission system
JPH0740690B2 (en) Back-up method of master-control station
JP2003273878A (en) Polling system
JP2600017B2 (en) Communication line sharing method between virtual machines
JP3217086B2 (en) Message Communication Method between Standby Controller and Message Device in Redundant System
US8090891B2 (en) Method of providing communication in distributed systems
JP2002341907A (en) Method for transmitting/receiving data in blast furnace facility program logic controller
JPH0491532A (en) Data communication system
JPH06103251A (en) Monitor and control system for information processor
JP2852154B2 (en) Communication device status management method
JPS62185435A (en) Transmission control system for network
JP2001197091A (en) Bus control method for dimming system
JP2000031988A (en) Node state management system
JPH02109442A (en) Data communication system
JPS5846097B2 (en) Loop data transmission method
JPH01103046A (en) Communication control system
JPH10334025A (en) Polling communication equipment
JPS63208122A (en) Console control system

Legal Events

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

Free format text: PAYMENT UNTIL: 20080512

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090512

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100512

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20110512

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120512

Year of fee payment: 12

LAPS Cancellation because of no payment of annual fees