[go: up one dir, main page]

JPH1117713A - Multicast communication processing method - Google Patents

Multicast communication processing method

Info

Publication number
JPH1117713A
JPH1117713A JP9168785A JP16878597A JPH1117713A JP H1117713 A JPH1117713 A JP H1117713A JP 9168785 A JP9168785 A JP 9168785A JP 16878597 A JP16878597 A JP 16878597A JP H1117713 A JPH1117713 A JP H1117713A
Authority
JP
Japan
Prior art keywords
central control
communication
subordinate
slave
control device
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.)
Pending
Application number
JP9168785A
Other languages
Japanese (ja)
Inventor
Junichi Yamada
順一 山田
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 JP9168785A priority Critical patent/JPH1117713A/en
Publication of JPH1117713A publication Critical patent/JPH1117713A/en
Pending legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)
  • Information Transfer Systems (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

(57)【要約】 【課題】リアルタイム性をそれほど必要としない分野に
おいて、安価で、簡易で、しかも十分信頼性のある通信
方式を提供すること。 【解決手段】中央制御装置1と、中央制御装置とネット
ワークを介して接続され、装置番号が割り振られた複数
の従属装置21〜2nと、から構成され、中央制御装置
から、装置番号を含む通信データ9を、従属装置の全て
に同時に送信するマルチキャスト通信処理方式におい
て、各従属装置は、任意の装置番号を設定保持する手段
81〜8nと、中央制御装置からの送信に対して受信完
了の応答を送信する手段71〜7nと、従属装置の装置
番号を含む通信データを周期的に中央制御装置へ送信す
る手段71〜7nとを備え、上記中央制御装置は、上記
受信完了の応答の数が、従属装置の台数と一致した時
は、中央制御装置と従属装置間の通信が成功したと判定
する手段5を備える。
(57) [Problem] To provide an inexpensive, simple, and sufficiently reliable communication method in a field that does not require much real-time property. The communication includes a central control device, a plurality of subordinate devices connected to the central control device via a network, and assigned device numbers. In the multicast communication processing method for simultaneously transmitting data 9 to all of the subordinate devices, each subordinate device includes means 81 to 8n for setting and holding an arbitrary device number, and a response indicating completion of reception to transmission from the central control device. And a means 71-7n for periodically transmitting communication data including the device number of the subordinate device to the central control device, wherein the central control device has Means for determining that the communication between the central control device and the slave device has succeeded when the number of slave devices coincides with the number of slave devices.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、マルチキャスト通
信処理方式に係わり、特に、ネットワークに接続される
複数の装置の通信状態を簡便な方法で管理することので
きるマルチキャスト通信処理方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a multicast communication processing method, and more particularly, to a multicast communication processing method capable of managing communication states of a plurality of devices connected to a network by a simple method.

【0002】[0002]

【従来の技術】従来、中央制御装置をネットワークを介
して複数の従属装置に接続し、中央制御装置から各従属
装置へデータを送信する手段としては次のようなものが
ある。
2. Description of the Related Art Conventionally, there are the following means for connecting a central control device to a plurality of subordinate devices via a network and transmitting data from the central control device to each subordinate device.

【0003】1.従属装置N台全てにデータを送信する
のみで従属装置からの受信完了のメッセージを必要とし
ない方法。(以下、非確認形応答通信と記す。) 2.従属装置N台にそれぞれ連続的にノード番号(1,
2,・・・N)を割り付け、従属装置N台すべてにデー
タを送信する。従属装置N台全てから受信完了のメッセ
ージを中央制御装置が受信すれば通信が成功とみなす。
もし、従属装置N台すべてから受信完了のメッセージを
受信しなかった場合、受信しなかった従属装置のみにデ
ータを再送する方法。(以下、確認形応答通信と記
す。) 3.従属装置N台の中で送信したい装置のみにデータを
送信する方法。(以下、1対1通信と記す。)
[0003] 1. A method of transmitting data only to all N slave devices and not requiring a reception completion message from the slave devices. (Hereinafter referred to as non-acknowledgment response communication.) The node numbers (1,
2,... N) and transmit data to all N slave devices. If the central control unit receives a message indicating that reception has been completed from all N slave units, the communication is regarded as successful.
A method of retransmitting data only to the slave device that did not receive the message when the reception completion message was not received from all N slave devices. (Hereinafter, it will be referred to as acknowledgment response communication.) A method of transmitting data only to a device to be transmitted among N slave devices. (Hereinafter referred to as one-to-one communication.)

【0004】[0004]

【発明が解決しようとする課題】上記1の非確認形応答
通信方式では、各従属装置が実際にデータを受信したと
いう保証がなく信頼性の面で問題となる。
In the non-acknowledgment type response communication system described above, there is no guarantee that each subordinate device has actually received data, and this poses a problem in terms of reliability.

【0005】上記2の確認形応答通信方式では、従属装
置のノード番号を連続的に設定する必要があり、従属装
置の故障・追加等でノード数が変化すると、そのたびに
ノード番号を割り振らなければならず、再構築するのに
膨大な時間がかかってしまう。また、ノード番号を自由
に設定し、マイクロプロセッサでノード番号を連続的に
変換する方法もあるが、その場合には、その変換プログ
ラムを作成する必要がある。
In the above-mentioned acknowledged response communication method, it is necessary to continuously set the node numbers of the subordinate devices. When the number of nodes changes due to a failure or addition of a subordinate device, the node number must be assigned each time. And it takes an enormous amount of time to rebuild. In addition, there is a method in which the node number is freely set and the microprocessor converts the node number continuously. In such a case, it is necessary to create a conversion program.

【0006】上記3の1対1通信では、中央制御装置の
メモリに従属装置N台分の送信データエリアを確保しな
ければならず、メモリ容量が大幅に必要となる。また、
1対1通信は、送信したい従属装置のみにデータを送る
ことになるため、各従属装置にネットワークのバインデ
ィングの処理手段を設けなければならず、従属装置N台
同時に同一のデータを送信するのに比べてプログラミン
グ作業が複雑となり労力を要してしまう。
In the above-mentioned one-to-one communication, transmission data areas for N slave devices must be secured in the memory of the central control device, and a large memory capacity is required. Also,
In the point-to-point communication, data is sent only to the subordinate apparatus that wants to transmit. Therefore, a network binding processing unit must be provided for each subordinate apparatus. In comparison, programming work becomes complicated and labor is required.

【0007】本発明の目的は、上記2の確認形応答通信
方式ほどの信頼性を必要としない分野、例えば、ビル管
理装置のようなリアルタイム性をそれほど必要としない
分野において、安価で、簡易で、しかも十分信頼性のあ
る通信方式を提供することにある。
An object of the present invention is to provide an inexpensive, simple, and low-cost communication system in a field that does not require as much reliability as the acknowledged response communication method described above, for example, in a field that does not require much real-time properties such as a building management apparatus. Another object of the present invention is to provide a sufficiently reliable communication system.

【0008】[0008]

【課題を解決するための手段】本発明は、上記の課題を
解決するために、次の手段を採用した。
The present invention employs the following means in order to solve the above-mentioned problems.

【0009】中央制御装置と、該中央制御装置とネット
ワークを介して接続され、それぞれに装置番号が割り振
られた複数の従属装置と、から構成され、上記中央制御
装置から、送信したい従属装置の装置番号が埋め込まれ
た通信データを、上記従属装置の全てに上記ネットワー
クを介して同時に送信するマルチキャスト通信処理方式
において、上記各従属装置は、無秩序に割り振られる装
置番号を設定し保持する手段と、上記中央制御装置から
送信される上記通信データを受信し、該通信データが受
信した従属装置宛のものであるか否かに拘わらず、受信
完了の応答を送信する手段を備え、上記中央制御装置
は、上記従属装置から送信される上記受信完了の応答の
数が、上記従属装置の台数と一致しているときは、上記
中央制御装置と各従属装置間の通信が成功であると判定
する手段を備えることにより、当該マルチキャスト通信
系統の生死管理を行うことを特徴とする。
A central control unit, and a plurality of subordinate devices connected to the central control unit via a network and each of which is assigned a device number, wherein the device of the subordinate device to be transmitted is transmitted from the central control unit. In a multicast communication processing system for simultaneously transmitting communication data with an embedded number to all of the subordinate devices via the network, the subordinate devices set and hold a randomly allocated device number, and Means for receiving the communication data transmitted from the central control device and transmitting a response indicating completion of reception regardless of whether or not the communication data is addressed to the received slave device; When the number of responses to the completion of reception transmitted from the slave device matches the number of slave devices, the central control device and each slave device are By communication between the device comprises means for determining that the success, and performs death management of the multicast communication system.

【0010】また、請求項1の記載において、各従属装
置は、各従属装置自身の装置番号が埋め込まれた装置デ
ータを周期的に上記中央制御装置へ送信する手段を備
え、中央制御装置は、上記各従属装置から周期的に送信
される装置データに基づいて、従属装置の台数を掌握す
る手段を備えることを特徴とする。
According to the first aspect of the present invention, each of the subordinate devices includes means for periodically transmitting device data in which the device number of each of the subordinate devices is embedded to the central control device. It is characterized by comprising means for controlling the number of slave devices based on the device data periodically transmitted from each of the slave devices.

【0011】また、請求項1ないしは請求項2のいずれ
か1つの請求項記載において、従属装置は、上記従属装
置の電源投入後に、上記従属装置の装置番号が自動的に
上記従属装置のメモリに記憶される手段を備えたことを
特徴とする。
Further, in any one of claims 1 and 2, after the power of the subordinate device is turned on, the subordinate device automatically stores the device number of the subordinate device in the memory of the subordinate device. It is characterized by having means for storing.

【0012】また、請求項1ないしは請求項3のいずれ
か1つの請求項記載において、中央制御装置は、上記判
定する手段によって、上記通信が成功しなかったと判定
された場合は、上記通信データを各従属装置に再送する
と共に、最後に通信が成功しなかった場合は、上記通信
データと共に上記の判定結果を表示または記憶する手段
を備えたことを特徴とする。
Further, in any one of the first to third aspects of the present invention, when the determination means determines that the communication has not been successful, the central control device transmits the communication data. A means is provided for displaying or storing the determination result together with the communication data when the communication is not successful at the end while retransmitting the data to each slave device.

【0013】また、請求項1ないしは請求項4のいずれ
か1つの請求項記載において、中央制御装置は、主機能
用マイクロプロセッサと通信用マイクロプロセッサから
構成され、上記中央制御装置の電源立ち上げ時、上記主
機能用マイクロプロセッサから上記通信用マイクロプロ
セッサに上記従属装置の接続台数を知らせる手段を備え
たことを特徴とする。
Further, in any one of the first to fourth aspects of the present invention, the central control unit comprises a main function microprocessor and a communication microprocessor, and when the power of the central control unit is turned on. Means for notifying the number of connected slave devices from the main function microprocessor to the communication microprocessor.

【0014】[0014]

【発明の実施の形態】以下に、本発明の一実施形態を図
1〜図3を用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to FIGS.

【0015】図1は、本実施形態に係わるマルチキャス
ト通信処理方式のシステム構成図であり、中央制御装置
から従属装置にデータを送信し、従属装置から応答信号
(Ack信号)を中央制御装置に送信する状態を示す。
FIG. 1 is a system configuration diagram of a multicast communication processing system according to the present embodiment, in which data is transmitted from a central control device to a subordinate device, and a response signal (Ack signal) is transmitted from the subordinate device to the central control device. Indicates a state in which

【0016】図において、1は中央制御装置、21,2
2,・・・2nは伝送路を介して中央制御装置1に接続
される従属装置、3は中央制御装置1と従属装置21〜
2n間の信号を伝送する伝送路、4は、システム全体の
制御を担うと共に、各従属装置21〜2nを制御するた
めの各種のデータを出力する主機能用マイクロプロセッ
サ、5は主機能用マイクロプロセッサ4と従属装置21
〜2nとの通信を管理する通信用マイクロプロセッサ、
6は主機能用マイクロプロセッサ4と通信用マイクロプ
ロセッサ5間のデータの授受を行うバス、71,72・
・・7nは各従属装置21〜2nに備えられ、中央制御
装置1から送信されたデータに基づいて所定の処理を実
行し、また中央制御装置1に応答信号(Ack信号)を
出力し、さらに周期的に中央制御装置1に各従属装置2
1〜2nの状態データを送信するマイクロプロセッサ、
81,82・・・8nは各従属装置に備えられ、各従属
装置21〜2nのノード番号を設定するディップスイッ
チ、9は中央制御装置1からいずれかの従属装置宛に送
信されるデータ、10はデータ9を送信したい従属装置
のノード番号、11は送信したい従属装置の制御デー
タ、121,122・・・12nは各従属装置21〜2
nから中央制御装置1に送信される応答信号(Ack信
号)である。
In FIG. 1, reference numeral 1 denotes a central control unit,
.., 2n are slave devices connected to the central control device 1 via transmission lines, and 3 is the central control device 1 and slave devices 21 to 21.
A transmission line 4 for transmitting signals between 2n is used for controlling the entire system and a microprocessor for a main function for outputting various data for controlling each of the slave devices 21 to 2n. Processor 4 and slave device 21
A communication microprocessor that manages communications with
Reference numeral 6 denotes a bus for exchanging data between the main function microprocessor 4 and the communication microprocessor 5.
.. 7n are provided in each of the subordinate devices 21 to 2n, execute predetermined processing based on data transmitted from the central control device 1, output a response signal (Ack signal) to the central control device 1, and Each slave device 2 is periodically sent to the central controller 1.
A microprocessor for transmitting status data of 1 to 2n,
.. 8n are provided in each of the subordinate devices, and DIP switches for setting the node numbers of the subordinate devices 21 to 2n; 9 are data transmitted from the central control device 1 to any of the subordinate devices; .., And 12n are control data of the slave devices to be transmitted, 121, 122,.
n is a response signal (Ack signal) transmitted to the central control device 1 from n.

【0017】なお、従属装置21〜2nには、各ディッ
プスイッチ81〜8nによって各従属装置21〜2n毎
のノード番号が設定される。このノード番号は必ずしも
従属装置21〜2nを通して連続的に割り振る必要はな
く、自由に各従属装置にとって分かり易い番号で設定す
ることが可能である。ここでノード番号を1,2,3,
・・・nと連続的に設定すれば従来の確認形応答通信と
なる。また従属装置21〜2nに設けられるマイクロプ
ロセッサ71〜7nは中央制御装置1との通信だけでな
く、他の従属装置21〜2nとも通信し制御することが
可能であり、また、マイクロプロセッサ71〜7n自身
もメモリ機能を備えており各種の制御処理が可能であ
る。
The slave devices 21 to 2n are set with node numbers for the respective slave devices 21 to 2n by the dip switches 81 to 8n. This node number does not necessarily need to be continuously allocated through the subordinate devices 21 to 2n, and can be freely set to a number that is easily understood by each subordinate device. Here, the node numbers are 1, 2, 3,
... If n is set continuously, conventional acknowledgment response communication is performed. The microprocessors 71 to 7n provided in the subordinate devices 21 to 2n can not only communicate with the central control device 1 but also communicate with and control other subordinate devices 21 to 2n. 7n itself has a memory function and can perform various control processes.

【0018】また、中央制御装置1の主機能用マイクロ
プロセッサ4には、従属装置21〜2nの最大接続台数
分のデータ格納テーブルが用意されており、予め従属装
置21〜2nの接続台数nが記憶されている。
The microprocessor 4 for the main function of the central control unit 1 is provided with data storage tables for the maximum number of connected slave units 21 to 2n. It is remembered.

【0019】図2は、図1に示すマルチキャスト通信処
理方式において、従属装置21〜2nのいずれかにおい
て、送信エラーが発生した場合、通信用マイクロプロセ
ッサ5から主機能用マイクロプロセッサ4にエラーメッ
セージを送信する状態を示す図である。
FIG. 2 shows that, in the multicast communication processing system shown in FIG. 1, when a transmission error occurs in any of the slave devices 21 to 2n, an error message is sent from the communication microprocessor 5 to the main function microprocessor 4. It is a figure showing the state where it transmits.

【0020】図において、13はエラーメッセージ、1
4は1ビットで構成されるエラービット、その他の構成
は図1に示すものと同じである。
In the figure, 13 is an error message, 1
Reference numeral 4 denotes an error bit composed of one bit, and the other configuration is the same as that shown in FIG.

【0021】図3は、図1に示すマルチキャスト通信処
理方式において、各従属装置21〜2nから中央制御装
置1に一定周期でデータを送信する状態を示す図であ
る。
FIG. 3 is a diagram showing a state in which data is transmitted from each of the subordinate devices 21 to 2n to the central control device 1 at a constant period in the multicast communication processing system shown in FIG.

【0022】図において、151,152,・・・15
nは各従属装置21〜2nから中央制御装置1に一定周
期で送信されるデータ、161,162,・・・16n
は各従属装置21〜2nのノード番号、171,17
2,・・・17nは各従属装置21〜2nの現在の状態
を表す状態データである。その他の構成は図1に示すも
のと同じである。
In the figure, 151, 152,...
n is data transmitted from each of the subordinate devices 21 to 2n to the central control device 1 at a constant period, 161, 162,.
Are the node numbers of the slave devices 21 to 2n, 171, 17
2,... 17n are status data indicating the current status of each of the slave devices 21 to 2n. Other configurations are the same as those shown in FIG.

【0023】次に、本実施形態に係わるマルチキャスト
通信処理方式の動作を図1〜図3を用いて説明する。
Next, the operation of the multicast communication processing system according to the present embodiment will be described with reference to FIGS.

【0024】はじめに、図1において、中央制御装置1
および従属装置21〜2nの電源を立ち上げると、中央
制御装置1では主機能用マイクロプロセッサ4から通信
用マイクロプロセッサ5に従属装置21〜2nの接続台
数nが知らされる。一方、従属装置21〜2nでは、そ
の従属装置21〜2nに設置されたディップスイッチ8
1〜8nで設定されたノード番号がマイクロプロセッサ
71〜7nのメモリにそれぞれ格納される。
First, referring to FIG.
When the power of the slave devices 21 to 2n is turned on, the central control device 1 notifies the main function microprocessor 4 of the number n of the slave devices 21 to 2n connected to the communication microprocessor 5. On the other hand, in the slave devices 21 to 2n, the dip switches 8 installed in the slave devices 21 to 2n are used.
The node numbers set in 1 to 8n are stored in the memories of the microprocessors 71 to 7n, respectively.

【0025】中央制御装置1から従属装置21〜2nに
データ9を送信する場合、主機能用マイクロプロセッサ
4は、データ9の中のノード番号10および制御データ
11にそれぞれ送信させたい従属装置のノード番号と制
御データを書き込み、通信用マイクロプロセッサ5に伝
達する。通信用マイクロプロセッサ5は、伝送路3を経
由して、データ9を、指定されたノード番号に拘わら
ず、全ての従属装置21〜2nに同時に送信する。全て
の従属装置21〜2nは、そのデータ9を受信し、その
データ9の内容が自分宛のものか否かに拘わらず、受信
完了の応答信号(Ack信号)121〜12nを通信用
マイクロプロセッサ5に送信する。各従属装置21〜2
nは、受信したデータ9のノード番号10の内容を確認
し、自分のノード番号と一致していれば制御データ11
を入力し、それに基づいて所定の処理を実行する。も
し、自分のノード番号と一致していなければ、データ9
は破棄する。
When the data 9 is transmitted from the central control unit 1 to the subordinate devices 21 to 2n, the main function microprocessor 4 transmits the node number 10 of the data 9 and the node of the subordinate device to be transmitted to the control data 11 respectively. The number and control data are written and transmitted to the communication microprocessor 5. The communication microprocessor 5 transmits the data 9 to all the slave devices 21 to 2n at the same time via the transmission path 3 regardless of the designated node number. All the slave devices 21 to 2n receive the data 9 and send the reception completion response signals (Ack signals) 121 to 12n to the communication microprocessor irrespective of whether the content of the data 9 is addressed to itself or not. Send to 5. Each slave device 21-2
n confirms the contents of the node number 10 of the received data 9 and, if it matches the node number of its own, the control data 11
Is input, and a predetermined process is executed based on the input. If it does not match its own node number, data 9
Is destroyed.

【0026】一方、通信用マイクロプロセッサ5では、
主機能用マイクロプロセッサ4から逐次現在ネットワー
クで活動中の従属装置の接続台数nが知らされており、
従属装置21a〜2nから送信されて来る受信完了の応
答信号(Ack信号)121〜12nの数と比較し、接
続台数nと一致していればそのデータ9の通信は成功と
みなす。もし、従属装置21〜2nから送信された受信
完了の応答信号(Ack信号)121〜12nの合計
が、接続台数nと一致していなければ、従属装置21〜
2nが先のデータ9を受信したかしなかったかに拘わら
ず、同じデータ9を全ての従属装置21〜2nに再送す
る。通信用マイクロプロセッサ5は再度データ9の送信
後、再度受信した応答信号(Ack信号)121〜12
nの数が接続台数nと一致しない場合には送信エラーと
みなす。
On the other hand, in the communication microprocessor 5,
The number n of connected slave devices currently active on the network is sequentially notified from the main function microprocessor 4, and
The number of response signals (Ack signals) 121 to 12n for completion of reception transmitted from the slave devices 21a to 2n is compared with the number of connected signals. If the sum of the reception completion response signals (Ack signals) 121 to 12n transmitted from the subordinate devices 21 to 2n does not match the number n of connected devices,
2n retransmits the same data 9 to all slaves 21-2n, whether or not it has received the previous data 9. After transmitting the data 9 again, the communication microprocessor 5 receives the response signals (Ack signals) 121 to 12 again received.
If the number n does not match the number of connected units n, it is regarded as a transmission error.

【0027】次に、送信エラーが発生した場合は、図2
に示すように、通信用マイクロプロセッサ5は、主機能
用マイクロプロセッサ4に、エラーフラグ14に送信エ
ラーであることを示すビット「1」が書き込んだエラー
メッセージ13を伝送する。
Next, when a transmission error has occurred, FIG.
As shown in (1), the communication microprocessor 5 transmits the error message 13 in which the bit “1” indicating the transmission error is written in the error flag 14 to the main function microprocessor 4.

【0028】主機能用マイクロプロセッサ4はそのエラ
ーメッセージ13から送信エラーを起こしたデータ9の
ノード番号10および制御データ11の内容を確認し、
主機能用マイクロプロセッサ4のメモリに来歴を残す。
なお、中央制御装置1にパソコンを接続し、パソコンの
画面上にエラー情報を表示することでエラー来歴を残す
ことも可能である。
The main function microprocessor 4 confirms the contents of the node number 10 and the control data 11 of the data 9 causing the transmission error from the error message 13,
The history is stored in the memory of the main function microprocessor 4.
Note that it is also possible to connect a personal computer to the central control device 1 and display error information on the screen of the personal computer to retain the error history.

【0029】一方、本実施形態のマルチキャスト通信処
理方式では、図3に示すように、一定周期で各従属装置
21〜2nから中央制御装置1に各従属装置21〜2n
のデータ151〜15nを送信する。
On the other hand, in the multicast communication processing system of the present embodiment, as shown in FIG. 3, each of the subordinate devices 21 to 2n is transmitted from the subordinate devices 21 to 2n to the central control device 1 at a fixed period.
Are transmitted.

【0030】従属装置21〜2nは、データ151〜1
5nの状態データ171〜17nによって各従属装置2
1〜2nの状態を単に中央制御装置1に知らせるのみな
らず、データ151〜15nを周期的に送信することに
より、従属装置21〜2n自身が生存していることを中
央制御装置1に知らせる。そのため、従属装置21〜2
nのいずれが故障あるいは従属装置の追加等により従属
装置21〜2nのノード数やノード番号が変化した場合
でも、中央制御装置1にある主機能用マイクロプロセッ
サ4は、周期的に新しい現在の従属装置21〜2nの接
続台数nを把握しており、接続台数nが更新されたとき
は、通信用マイクロプロセッサ5にその接続台数nを伝
達する。そのため、中央制御装置1から送信されるデー
タ9に対する応答信号(Ack信号)121〜12nの
数が変化したとしても、接続台数nが調整されているの
で、接続台数nが変化していることを知らないで、間違
って通信エラーが発生したとの判断を防止することがで
きる。
The slave devices 21 to 2n store data 151 to 1
5n state data 171 to 17n, each slave device 2
In addition to simply notifying the central control device 1 of the statuses 1 to 2n, the central control device 1 is notified that the slave devices 21 to 2n themselves are alive by periodically transmitting data 151 to 15n. Therefore, the slave devices 21 to 2
n, the main function microprocessor 4 in the central control unit 1 periodically updates the new current subordinate device even if the number of nodes or the node number of the subordinate devices 21 to 2n changes due to a failure or the addition of a subordinate device. The number n of connected devices 21 to 2n is known, and when the number n of connected devices is updated, the number n of connected devices is transmitted to the microprocessor 5 for communication. Therefore, even if the number of response signals (Ack signals) 121 to 12n for the data 9 transmitted from the central control device 1 changes, the number of connected units n is adjusted. Without knowing, it is possible to prevent erroneous determination that a communication error has occurred.

【0031】上記のごとく、本実施形態によれば、従属
装置21〜2nから中央制御装置1にデータ151〜1
5n、即ち自分のノード番号161〜16nを埋め込ん
で状態データ171〜17nを周期的に送信することに
より、従属装置21〜2nの生死管理を行うことが可能
となる。そのため、中央制御装置1から従属装置21〜
2nにマルチキャスト通信を行い、そのときの通信成功
の判断を従属装置21〜2nから応答される応答信号
(Ack信号)121〜12nの数の合計が従属装置2
1〜2nの接続台数と一致しているかどうかだけで決め
たとしても、ビル管理装置のようなリアルタイム性をそ
れほど要求されない分野では十分高い信頼性を得ること
ができるものである。
As described above, according to this embodiment, the data 151 to 1 are transmitted from the subordinate devices 21 to 2n to the central control device 1.
5n, that is, by embedding the own node numbers 161 to 16n and periodically transmitting the state data 171 to 17n, it is possible to manage the life and death of the subordinate devices 21 to 2n. Therefore, from the central control device 1 to the subordinate devices 21 to 21
2n, and the success of communication at that time is determined by the sum of the number of response signals (Ack signals) 121 to 12n returned from the subordinate devices 21 to 2n.
Even if it is determined only by whether or not the number of connected devices is equal to 1 to 2n, sufficiently high reliability can be obtained in a field where real-time performance is not so required, such as a building management device.

【0032】また、通信の成功確認にはノードの管理を
必要としないため、従属装置21〜2nのノード番号は
自由に設定ができ、取り扱いが非常に便利となる。また
ノード番号を1,2,3・・・nと連続的に設定すれ
ば、従来の確認形応答通信に戻るため、従来の確認形応
答通信と同一の信頼性も得ることができる。
Since node management is not required for confirming the success of communication, the node numbers of the subordinate devices 21 to 2n can be set freely, and handling is very convenient. Also, if the node numbers are successively set to 1, 2, 3... N, the operation returns to the conventional acknowledged response communication, so that the same reliability as the conventional acknowledged response communication can be obtained.

【0033】さらに、従属装置21〜2nの故障・追加
等によりシステムの再構築が必要な場合には、従属装置
21〜2nからの周期的な送信データによる生死情報に
より、現在の従属装置21〜2nの接続台数を知ること
ができるため、容易に再構築することができる。従っ
て、拡張性や保守性に優れたシステムを築くことが可能
となる。
Further, when the system needs to be reconstructed due to a failure or addition of the subordinate devices 21 to 2n, the current subordinate devices 21 to 2n are obtained from the life and death information based on the periodic transmission data from the subordinate devices 21 to 2n. Since the number of connected 2n devices can be known, reconfiguration can be easily performed. Therefore, it is possible to build a system having excellent expandability and maintainability.

【0034】さらにまた、中央制御装置1はすべての従
属装置21〜2nに同時に同一のデータを送信すればよ
いため、通信用マイクロプロセッサ5のメモリ容量が小
さくて済み、安価なものを使用することができる。ま
た、従属装置21〜2nのマイクロプロセッサ71〜7
nおよび中央制御装置1内の主機能用マイクロプロセッ
サ4と分離された通信用マイクロプロセッサ5は、ノー
ド数やノード番号によらず汎用的に使用できるため、低
コストのシステムを構成することが可能となる。
Further, since the central control unit 1 only needs to transmit the same data to all the subordinate units 21 to 2n at the same time, the memory capacity of the communication microprocessor 5 can be small and an inexpensive one can be used. Can be. In addition, the microprocessors 71 to 7 of the subordinate devices 21 to 2n
n and the microprocessor for communication 5 separated from the microprocessor 4 for the main function in the central control unit 1 can be used for general purposes irrespective of the number of nodes and the node number, so that a low-cost system can be configured. Becomes

【0035】[0035]

【発明の効果】上記のごとく、本発明によれば、装置番
号の設定が簡単で、しかも従属装置の生存監視もでき、
従属装置の参入または離脱等によりシステムが変化して
も、容易にシステムの再構築が可能となる。
As described above, according to the present invention, the setting of the device number is simple, and the survival monitoring of the subordinate device can be performed.
Even if the system changes due to the entry or detachment of a slave device, the system can be easily reconfigured.

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

【図1】本発明の一実施形態に係わるマルチキャスト通
信処理方式のシステム構成図である。
FIG. 1 is a system configuration diagram of a multicast communication processing method according to an embodiment of the present invention.

【図2】図1に示すマルチキャスト通信処理方式におい
て、送信エラーが発生した場合、通信用マイクロプロセ
ッサから主機能用マイクロプロセッサにエラーメッセー
ジを送信する状態を示す図である。
FIG. 2 is a diagram showing a state where an error message is transmitted from a communication microprocessor to a main function microprocessor when a transmission error occurs in the multicast communication processing method shown in FIG.

【図3】図1に示すマルチキャスト通信処理方式におい
て、各従属装置から中央制御装置に周期的にデータを送
信する状態を示す図である。
FIG. 3 is a diagram showing a state in which data is periodically transmitted from each slave device to a central control device in the multicast communication processing method shown in FIG. 1;

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

1 中央制御装置 21〜2n 従属装置 3 伝送路 4 主機能用マイクロプロセッサ 5 通信用マイクロプロセッサ 71〜7n 従属装置内のマイクロプロセッサ 81〜8n ディップスイッチ 9 中央制御装置から従属装置に送信されるデータ 10 従属装置を示すノード番号 11 従属装置の制御内容を示す制御データ 121〜12n 応答信号(Ack信号) 13 エラーメッセージ 14 エラーフラグ 151〜15n 従属装置から中央制御装置に周期的伝
送されるデータ 161〜16n 各従属装置のノード番号 171〜17n 各従属装置の現在の状態を示す状態デ
ータ
DESCRIPTION OF SYMBOLS 1 Central controller 21-2n Slave device 3 Transmission line 4 Microprocessor for main functions 5 Microprocessor for communication 71-7n Microprocessor in slave device 81-8n DIP switch 9 Data transmitted from central controller to slave device 10 Node number indicating slave device 11 Control data indicating control content of slave device 121 to 12n Response signal (Ack signal) 13 Error message 14 Error flag 151 to 15n Data periodically transmitted from slave device to central controller 161 to 16n Node number 171-17n of each slave device Status data indicating the current status of each slave device

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 中央制御装置と、 該中央制御装置とネットワークを介して接続され、それ
ぞれに装置番号が割り振られた複数の従属装置と、から
構成され、 上記中央制御装置から、送信したい従属装置の装置番号
が埋め込まれた通信データを、上記従属装置の全てに上
記ネットワークを介して同時に送信するマルチキャスト
通信処理方式において、 上記各従属装置は、無秩序に割り振られる装置番号を設
定し保持する手段と、上記中央制御装置から送信される
上記通信データを受信し、該通信データが受信した従属
装置宛のものであるか否かに拘わらず、受信完了の応答
を送信する手段を備え、 上記中央制御装置は、上記従属装置から送信される上記
受信完了の応答の数が、上記従属装置の台数と一致して
いるときは、上記中央制御装置と各従属装置間の通信が
成功であると判定する手段を備えることにより、 当該マルチキャスト通信系統の生死管理を行うことを特
徴とするマルチキャスト通信処理方式。
1. A central control unit, and a plurality of subordinate units connected to the central control unit via a network and each of which is assigned an apparatus number, wherein the subordinate unit to be transmitted from the central control unit In a multicast communication processing system for simultaneously transmitting communication data in which the device number is embedded to all of the subordinate devices via the network, each of the subordinate devices sets and holds a device number that is randomly allocated and Means for receiving the communication data transmitted from the central control device and transmitting a response indicating completion of reception regardless of whether the communication data is addressed to the slave device that has received the communication data, The device, the number of the response of the reception completion transmitted from the slave device, when the number of the slave device coincides with the central control device, By providing means for determining the communication between the expansion device is successful, the multicast communication processing method, which comprises carrying out the death management of the multicast communication system.
【請求項2】 請求項1の記載において、 上記各従属装置は、各従属装置自身の装置番号が埋め込
まれた装置データを周期的に上記中央制御装置へ送信す
る手段を備え、 上記中央制御装置は、上記各従属装置から周期的に送信
される装置データに基づいて、従属装置の台数を掌握す
る手段を備えることを特徴とするマルチキャスト通信処
理方式。
2. The central control device according to claim 1, wherein each of the subordinate devices includes means for periodically transmitting device data in which the device number of each subordinate device is embedded to the central control device. Comprises a means for controlling the number of slave devices based on device data periodically transmitted from each of the slave devices.
【請求項3】 請求項1ないしは請求項2のいずれか1
つの請求項記載において、 上記従属装置は、上記従属装置の電源投入後に、上記従
属装置の装置番号が自動的に上記従属装置のメモリに記
憶される手段を備えたことを特徴とするマルチキャスト
通信処理方式。
3. The method according to claim 1, wherein
The multicast communication processing as claimed in claim 1, wherein the slave device includes means for automatically storing a device number of the slave device in a memory of the slave device after power-on of the slave device. method.
【請求項4】 請求項1ないしは請求項3のいずれか1
つの請求項記載において、 上記中央制御装置は、上記判定する手段によって、上記
通信が成功しなかったと判定された場合は、上記通信デ
ータを各従属装置に再送すると共に、最終的に通信が成
功しなかった場合は、上記通信データと共に判定結果を
表示または記憶する手段を備えたことを特徴とするマル
チキャスト通信処理方式。
4. The method according to claim 1, wherein
In the claims, the central control device retransmits the communication data to each of the subordinate devices when the determination unit determines that the communication has not succeeded, and finally, the communication has succeeded. A multicast communication processing system comprising means for displaying or storing a determination result together with the communication data when there is no communication data.
【請求項5】 請求項1ないしは請求項4のいずれか1
つの請求項記載において、 上記中央制御装置は、主機能用マイクロプロセッサと通
信用マイクロプロセッサから構成され、上記中央制御装
置の電源立ち上げ時、上記主機能用マイクロプロセッサ
から上記通信用マイクロプロセッサに上記従属装置の接
続台数を知らせる手段を備えたことを特徴とするマルチ
キャスト通信処理方式。
5. The method according to claim 1, wherein
In one claim, the central control device is composed of a main function microprocessor and a communication microprocessor, and when the power of the central control device is turned on, the main function microprocessor sends the communication microprocessor. A multicast communication processing method comprising means for notifying the number of connected slave devices.
JP9168785A 1997-06-25 1997-06-25 Multicast communication processing method Pending JPH1117713A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9168785A JPH1117713A (en) 1997-06-25 1997-06-25 Multicast communication processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9168785A JPH1117713A (en) 1997-06-25 1997-06-25 Multicast communication processing method

Publications (1)

Publication Number Publication Date
JPH1117713A true JPH1117713A (en) 1999-01-22

Family

ID=15874434

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9168785A Pending JPH1117713A (en) 1997-06-25 1997-06-25 Multicast communication processing method

Country Status (1)

Country Link
JP (1) JPH1117713A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7533185B2 (en) 2002-03-22 2009-05-12 Ricoh Company, Ltd. Data communication method, system and program using unicast and multicast communications
CN102591739A (en) * 2012-01-06 2012-07-18 深圳市沛城电子科技有限公司 Method and device for aligning serial synchronous communication data
JP2015041549A (en) * 2013-08-22 2015-03-02 コイト電工株式会社 Lighting control system, lighting controller and illuminating device
US10412553B2 (en) 2014-06-30 2019-09-10 Sony Corporation Wireless communication apparatus, wireless communication method, and program for using a threshold to control multicast retransmission

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7533185B2 (en) 2002-03-22 2009-05-12 Ricoh Company, Ltd. Data communication method, system and program using unicast and multicast communications
CN102591739A (en) * 2012-01-06 2012-07-18 深圳市沛城电子科技有限公司 Method and device for aligning serial synchronous communication data
JP2015041549A (en) * 2013-08-22 2015-03-02 コイト電工株式会社 Lighting control system, lighting controller and illuminating device
US10412553B2 (en) 2014-06-30 2019-09-10 Sony Corporation Wireless communication apparatus, wireless communication method, and program for using a threshold to control multicast retransmission
US10939252B2 (en) 2014-06-30 2021-03-02 Sony Corporation Wireless communication apparatus, wireless communication method, and program for using a threshold to control multicast retransmission

Similar Documents

Publication Publication Date Title
US4511958A (en) Common bus access system using plural configuration tables for failure tolerant token passing among processors
US20060206611A1 (en) Method and system for managing programs with network address
JP2010272971A (en) Control system and control program rewriting method
US7499987B2 (en) Deterministically electing an active node
JPH1117713A (en) Multicast communication processing method
JP2000293272A (en) Unit and method for power supply control over common equipment
JP3380957B2 (en) Redundant communication controller
JPH06315041A (en) Network repeating installation
CN114788248B (en) Method and system for cyclically transmitting data between communication participants on a data transmission channel
JP7453579B2 (en) Communication methods, refrigeration and air conditioning related systems, and communication nodes
JP3438823B2 (en) System remote control method
JP2002026908A (en) Monitor management system limited time monitor of communication
JP2776274B2 (en) Virtual buffer control system in relay computer
JP4360888B2 (en) File writing system
JP3970535B2 (en) Data duplication method for storage system and storage system
JP2024156249A (en) Monitoring and control device, log data storage method, and data storage program
KR20040095741A (en) Message processor, apparatus controlling device, home appliance, program for message processor, microcomputer system, program for microcomputer system, and program product
JP2016058011A (en) Control system and relay device
CN119728682A (en) Method, device, electronic device and storage medium for transmitting configuration data between clusters
JP2526621B2 (en) Network monitoring device
CN118519422A (en) Vehicle diagnosis method, system, device, electronic equipment and storage medium
JPH03159435A (en) Information transmission control system
JP2000049838A (en) Alarm collection system and its collection method
JPH06188892A (en) Data communication system
JPS6145423B2 (en)