JPH1188396A - Communication equipment - Google Patents

Communication equipment

Info

Publication number
JPH1188396A
JPH1188396A JP9248713A JP24871397A JPH1188396A JP H1188396 A JPH1188396 A JP H1188396A JP 9248713 A JP9248713 A JP 9248713A JP 24871397 A JP24871397 A JP 24871397A JP H1188396 A JPH1188396 A JP H1188396A
Authority
JP
Japan
Prior art keywords
information
management information
acknowledgment
communication
child
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP9248713A
Other languages
Japanese (ja)
Other versions
JP3326369B2 (en
Inventor
Tatsuo Horiguchi
健生 堀口
Fumihiko Ikegami
史彦 池上
Kazuaki Iwamura
和昭 岩村
Shogo Yamaguchi
尚吾 山口
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP24871397A priority Critical patent/JP3326369B2/en
Priority to US09/152,058 priority patent/US6396814B1/en
Publication of JPH1188396A publication Critical patent/JPH1188396A/en
Priority to US10/117,084 priority patent/US20020114286A1/en
Application granted granted Critical
Publication of JP3326369B2 publication Critical patent/JP3326369B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a communication equipment capable of balancing a tree when certain conditions are satisfied and the balance of the tree is destroyed such as the time when the number of slave equipments managed by the present equipment exceeds a fixed number. SOLUTION: This communication equipment is constituted of a data transfer control part 1, a delivery confirmation control part 4, a re-transmission request control part 5, a tree structure control part 6, a network interface part 3 and a management table 2. In order to change a tree structure corresponding to the number of the managed equipments and the state of a communication path between managed equipments, the tree structure control part 6 transmits management information to the other equipment, and at the time of receiving the management information, registers it in the management table 2.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークに接
続された装置間で同報通信を行う通信装置に関するもの
である。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication device for performing broadcast communication between devices connected to a network.

【0002】[0002]

【従来の技術】通信装置の間でデータ情報のやりとりを
行う場合、リアルタイムに送られている音声情報や画像
情報と異なり、データ情報は欠落や順序の逆転などが許
されず、誤りのない通信を行う必要がある。ここでデー
タとは、一つのまとまりで一つの動作や意味を構成する
情報を言い、例えば、コンピュータの電子ファイル(文
字ファイル、音声ファイル、画像ファイル、プログラム
等)を言う。
2. Description of the Related Art When exchanging data information between communication apparatuses, unlike voice information and image information transmitted in real time, data information cannot be lost or reversed in order, so that error-free communication is performed. There is a need to do. Here, data refers to information that constitutes one operation or meaning in one unit, and refers to, for example, an electronic file (a character file, a sound file, an image file, a program, etc.) of a computer.

【0003】データ情報を受信した装置は、データを正
しく受信したことを送信元の装置に伝えるために、送達
確認パケット(以下、「ACKパケット」という)を送
信する。
[0003] A device that has received data information transmits an acknowledgment packet (hereinafter, referred to as an "ACK packet") in order to inform the source device that the data has been correctly received.

【0004】送信元の装置は、受信装置からの送達確認
パケットを受信することによって送信データが正しく受
け渡されたことを知る。もしある時間を過ぎてもACK
パケットがデータの送信元に到着しなければ、その送信
元の装置はデータが正しく受け渡されなかったものと判
断して、再びデータを送信し、ACKパケットを待つ。
[0004] A transmission source device knows that transmission data has been correctly passed by receiving a delivery confirmation packet from a reception device. ACK after a certain time
If the packet does not arrive at the source of the data, the source device determines that the data was not passed correctly, transmits the data again, and waits for an ACK packet.

【0005】また、受信側が受信データの誤りや欠落に
気づいた場合、データが誤って到着したことを送信側に
伝えるために再送要求パケット(以下、「NAKパケッ
ト」という)を送信し、NAKパケットを受信した送信
側はデータを再送する方法もある。
[0005] When the receiving side notices an error or lack of received data, it transmits a retransmission request packet (hereinafter referred to as "NAK packet") to inform the transmitting side that the data has arrived erroneously. There is also a method in which the transmitting side that has received the data retransmits the data.

【0006】複数の装置の間でデータの同報通信を行う
場合、基本的には上記のような方法でデータの信頼性を
保証する。
[0006] When data is broadcast between a plurality of devices, the reliability of data is basically guaranteed by the above-described method.

【0007】しかし、装置の数が増えれば増えるほどデ
ータの送信者にACKパケットやNAKパケットが集中
し、負荷が重くなるという問題があった。
However, as the number of devices increases, there is a problem that ACK packets and NAK packets are concentrated on data senders and the load becomes heavy.

【0008】そこで、同報グループ(マルチキャストグ
ループ)に属する装置間でデータの送信者をルートとし
た論理的なツリー構造を構成し、ACKパケットやNA
Kパケットをそのツリーのルート方向にあるノード(装
置)に向かって送信し、それらを受けたノードが、自分
よりも枝の方にいるノードのACKやNAKを受けてデ
ータの再送を行う方法があった。
Therefore, a logical tree structure is formed between devices belonging to a broadcast group (multicast group) with a data sender as a root, and an ACK packet or NA
A method in which K packets are transmitted toward a node (apparatus) in the root direction of the tree, and the node receiving the packet receives the ACK or NAK of the node on the branch side more than itself and retransmits the data. there were.

【0009】[0009]

【発明が解決しようとする課題】従来、この論理的なツ
リー構造は、ツリーの葉にあたるノードが追加された
り、削除されたりすることはあっても、幹にあたるノー
ドは一度ツリーが構成されると変更されない静的なもの
であった。
Conventionally, this logical tree structure is such that, although nodes corresponding to the leaves of the tree are added or deleted, the nodes corresponding to the trunks are once formed in the tree. It was static, unchanged.

【0010】そのため、ツリーのバランスが悪く不釣合
であっても、バランスを取るためにツリーを再構成する
手段がなかった。その状況では、ある装置の枝の方にい
る装置の数と別の装置の枝の方にいる装置の数に大きい
差が生じる恐れがあり、その結果、ある装置に負荷が偏
ってもその負荷を他の装置に振り分ける手段がなく、全
体のスループットを下げる原因となっていた。
Therefore, even if the balance of the tree is poor and unbalanced, there is no means for reconstructing the tree in order to balance the tree. In that situation, there can be a large difference between the number of devices on the branch of one device and the number of devices on the branch of another device. There is no means for distributing the data to another device, which causes a decrease in the overall throughput.

【0011】そこで、本発明は、自装置の管理する装置
の数が一定数を超えたときなど、ある条件を満たしてツ
リーのバランスが崩れたときに、ツリーのバランスをと
ることができる通信装置を提供する。
Accordingly, the present invention provides a communication apparatus capable of balancing a tree when a certain condition is satisfied and the tree is out of balance, such as when the number of devices managed by the own apparatus exceeds a certain number. I will provide a.

【0012】[0012]

【課題を解決するための手段】請求項1の発明は、一の
親装置に一または複数の子装置が互いに通信可能に設け
られた複数の通信装置において、自装置が管理している
子装置の識別子と、その子装置から受信した送達確認情
報を少なくとも含む管理情報を記憶する管理情報記憶手
段と、前記自装置を管理している親装置の識別子を記憶
する親装置識別子記憶手段と、前記管理情報記憶手段で
記憶している全ての子装置と、または、前記親装置識別
子記憶手段で記憶している前記親装置と情報を送受信す
る情報通信手段と、前記情報通信手段によって情報を送
信した子装置から、その情報を受信したことを表す送達
確認情報と前記管理情報を比較して前記送信した情報の
送達確認を行う送達確認手段と、前記送達確認手段が前
記送信した情報の送達確認ができたときに、前記親装置
へ送達確認情報を送信する送達確認送信手段を有するこ
とを特徴とする通信装置である。
According to a first aspect of the present invention, there is provided a plurality of communication devices in which one or more child devices are provided so as to be able to communicate with each other in one parent device. A management information storage unit for storing management information including at least the acknowledgment information received from the child device; a parent device identifier storage unit for storing an identifier of a parent device managing the own device; All child devices stored in the information storage means, or information communication means for transmitting and receiving information to and from the parent device stored in the parent device identifier storage means, and a child transmitting information by the information communication means. From the device, acknowledgment means for performing acknowledgment of the transmitted information by comparing acknowledgment information indicating that the information has been received and the management information, and When you are reach confirmed, a communication apparatus characterized by having a delivery confirmation transmission means for transmitting the acknowledgment information to the parent device.

【0013】請求項1の通信装置であると、管理情報に
基づいて情報の送達確認を確実にとることができ、情報
の誤送が発生しない。したがって、親装置から子装置に
確実に情報を送信できる。
[0013] According to the communication device of the first aspect, it is possible to reliably confirm the delivery of information based on the management information, and to prevent erroneous transmission of information. Therefore, information can be reliably transmitted from the parent device to the child device.

【0014】請求項2の発明は、前記送達確認手段が送
達確認ができない場合に、または、情報が正しく受信さ
れなかったことを表す再送要求情報を受信した場合に、
前記送信した情報を再送情報として再送する情報再送手
段を有し、前記情報通信手段は、前記管理情報記憶手段
により記憶された全ての子装置へ前記親装置からの前記
再送情報を再送し、前記送達確認送信手段は、前記再送
情報に関して前記全ての子装置から送達確認が前記送達
確認手段によってなされたときに、前記親装置へ送達確
認情報を送信することを特徴とする請求項1記載の通信
装置である。
[0014] The invention according to claim 2 is characterized in that when the delivery confirmation means cannot confirm delivery, or when retransmission request information indicating that information was not received correctly is received,
An information retransmission unit that retransmits the transmitted information as retransmission information, the information communication unit retransmits the retransmission information from the parent device to all child devices stored by the management information storage unit, 2. The communication according to claim 1, wherein the acknowledgment transmitting unit transmits the acknowledgment information to the parent device when the acknowledgment of the retransmission information from all the child devices is performed by the acknowledgment device. Device.

【0015】請求項2の通信装置であると、管理情報に
基づいて情報の送達確認をとることができない場合に
は、再送情報を送り、その上で送達確認を行うため、親
装置から子装置に確実に情報を送信できる。
According to the communication device of the present invention, when it is not possible to confirm the delivery of the information based on the management information, the retransmission information is sent and the delivery is confirmed on the basis of the retransmission information. Information can be transmitted reliably.

【0016】請求項3の発明は、前記管理情報記憶手段
により記憶された子装置の数が基準を超えた場合、所定
の数の子装置の管理情報を前記管理情報記憶手段から除
き、その除いた管理情報を他の装置に送信する管理情報
送信手段を有し、前記管理情報記憶手段は、他の装置か
ら受信した管理情報を記憶することを特徴とする請求項
1記載の通信装置である。
According to a third aspect of the present invention, when the number of child devices stored in the management information storage means exceeds a reference, management information of a predetermined number of child devices is removed from the management information storage means, and the management information excluding the management information is excluded. The communication device according to claim 1, further comprising a management information transmitting unit that transmits information to another device, wherein the management information storage unit stores management information received from another device.

【0017】請求項3の通信装置は、子装置の数が基準
を超えたときなど、ある条件を満たしたときに、それら
の子装置の中から任意の子装置の管理情報を、子装置の
少ない他の親装置に渡し、それを受信した親装置はその
管理情報を記憶して管理下におき、新たに加わった子装
置に関してもデータの転送や送達確認を行う。このよう
な構成変更は、ツリーの末端のみならず幹にあたる装置
の間でも行う。
According to a third aspect of the present invention, when a certain condition is satisfied, such as when the number of child devices exceeds a reference, management information of any of the child devices is transmitted to the child device. The parent device, which has passed it to a small number of other parent devices, stores the management information and puts it under management, and also performs data transfer and delivery confirmation for the newly added child device. Such a configuration change is performed not only at the end of the tree but also between devices at the trunk.

【0018】具体的には、各装置は、子装置や親装置に
関する情報を交換し、どのようなツリー構造になってい
るかを把握する。ツリーの中で自装置と同レベルの親装
置の管理する子装置数と、自装置の管理する子装置数を
比較して、差が大きい場合などに、自装置の管理する子
装置の中から任意の子装置の管理情報を他の親装置に渡
して管理を任せ、管理装置の差を少なくするようにす
る。
Specifically, each device exchanges information regarding the child device and the parent device, and grasps what kind of tree structure is formed. In the tree, compare the number of child devices managed by the parent device at the same level as the own device with the number of child devices managed by the own device. The management information of an arbitrary child device is passed to another parent device, and the management is entrusted to reduce the difference between the management devices.

【0019】したがって、グループの台数の変化により
各装置の負荷が偏って、例えばある装置がボトルネック
になったりしないよう、柔軟にツリー構造を変更するこ
とができ、効率的にデータの転送や送達確認を行うこと
ができる。
Therefore, the tree structure can be flexibly changed so that the load on each device is not biased due to a change in the number of groups and, for example, a certain device does not become a bottleneck, and data transfer and delivery can be performed efficiently. Confirmation can be performed.

【0020】請求項4の発明は、一の親装置に一または
複数の子装置が互いに通信可能に設けられた複数の通信
装置における通信方法であって、自装置が管理している
子装置の識別子と、その子装置から受信した送達確認情
報を少なくとも含む管理情報を記憶する管理情報記憶ス
テップと、前記自装置を管理している親装置の識別子を
記憶する親装置識別子記憶ステップと、前記管理情報記
憶ステップにおいて記憶している全ての子装置と、また
は、前記親装置識別子記憶ステップにおいて記憶してい
る前記親装置と情報を送受信する情報通信ステップと、
前記情報通信ステップにおいて情報を送信した子装置か
ら、その情報を受信したことを表す送達確認情報と前記
管理情報を比較して前記送信した情報の送達確認を行う
送達確認ステップと、前記送達確認ステップにおいて前
記送信した情報の送達確認ができたときに、前記親装置
へ送達確認情報を送信する送達確認送信ステップからな
ることを特徴とする通信方法である。
According to a fourth aspect of the present invention, there is provided a communication method in a plurality of communication devices in which one or more child devices are provided so as to be able to communicate with each other in one parent device. An identifier and a management information storing step of storing management information including at least acknowledgment information received from the child device; a parent device identifier storing step of storing an identifier of a parent device managing the own device; All the child devices stored in the storage step, or, the information communication step of transmitting and receiving information with the parent device stored in the parent device identifier storage step,
From the child device that transmitted the information in the information communication step, a delivery confirmation step of comparing delivery management information and the management information indicating that the information was received to confirm delivery of the transmitted information, and the delivery confirmation step A communication confirmation transmission step of transmitting the transmission confirmation information to the parent device when the transmission confirmation of the transmitted information is completed.

【0021】請求項5の発明は、前記送達確認ステップ
において送達確認ができない場合に、または、情報が正
しく受信されなかったことを表す再送要求情報を受信し
た場合に、前記送信した情報を再送情報として再送する
情報再送ステップを有し、前記情報通信ステップにおい
て、前記管理情報記憶ステップにおいて記憶された全て
の子装置へ前記親装置からの前記再送情報を再送し、前
記送達確認送信ステップにおいて、前記再送情報に関し
て前記全ての子装置から送達確認が前記送達確認ステッ
プにおいてなされたときに、前記親装置へ送達確認情報
を送信することを特徴とする請求項4記載の通信方法で
ある。
According to a fifth aspect of the present invention, when the delivery confirmation is not possible in the delivery confirmation step, or when retransmission request information indicating that information was not correctly received is received, the transmitted information is retransmitted In the information communication step, in the information communication step, retransmit the retransmission information from the parent device to all the child devices stored in the management information storage step, in the delivery confirmation transmission step, 5. The communication method according to claim 4, wherein, when delivery confirmation is performed from all of the child devices in the delivery confirmation step with respect to retransmission information, the delivery confirmation information is transmitted to the parent device.

【0022】請求項6の発明は、前記管理情報記憶ステ
ップにおいて記憶された子装置の数が基準を超えた場
合、所定の数の子装置の管理情報を前記管理情報記憶ス
テップから除き、その除いた管理情報を他の装置に送信
する管理情報送信ステップを有し、前記管理情報記憶ス
テップにおいて、他の装置から受信した管理情報を記憶
することを特徴とする請求項4記載の通信方法である。
According to a sixth aspect of the present invention, when the number of child devices stored in the management information storage step exceeds a reference, management information of a predetermined number of child devices is removed from the management information storage step, and the management information excluding the management information is excluded. The communication method according to claim 4, further comprising a management information transmitting step of transmitting information to another device, wherein the management information storing step stores management information received from another device.

【0023】請求項7の発明は、一の親装置に一または
複数の子装置が互いに通信可能に設けられた複数の通信
装置において用いられる通信方法のプログラムを記録し
た記録媒体であって、自装置が管理している子装置の識
別子と、その子装置から受信した送達確認情報を少なく
とも含む管理情報を記憶する管理情報記憶機能と、前記
自装置を管理している親装置の識別子を記憶する親装置
識別子記憶機能と、前記管理情報記憶機能で記憶してい
る全ての子装置と、または、前記親装置識別子記憶機能
で記憶している前記親装置と情報を送受信する情報通信
機能と、 前記情報通信機能によって情報を送信した子
装置から、その情報を受信したことを表す送達確認情報
と前記管理情報を比較して前記送信した情報の送達確認
を行う送達確認機能と、前記送達確認機能が前記送信し
た情報の送達確認ができたときに、前記親装置へ送達確
認情報を送信する送達確認送信機能を記録したことを特
徴とする通信方法のプログラムの記録媒体である。
According to a seventh aspect of the present invention, there is provided a recording medium in which a communication method program used in a plurality of communication devices in which one or more child devices are provided so as to be able to communicate with each other is provided. A management information storage function for storing an identifier of a child device managed by the device, management information including at least acknowledgment information received from the child device, and a parent for storing an identifier of a parent device managing the own device. A device identifier storage function, an information communication function of transmitting and receiving information to and from all the child devices stored by the management information storage function, or the parent device stored by the parent device identifier storage function, and the information From a child device that has transmitted information by a communication function, an acknowledgment function for comparing acknowledgment information indicating that the information has been received with the management information and acknowledging the transmitted information And a recording medium for a program of a communication method, wherein the transmission confirmation function for transmitting the transmission confirmation information to the parent device when the transmission confirmation function can confirm the transmission of the transmitted information is recorded. is there.

【0024】請求項8の発明は、前記送達確認機能にお
いて送達確認ができない場合に、または、情報が正しく
受信されなかったことを表す再送要求情報を受信した場
合に、前記送信した情報を再送情報として再送する情報
再送機能を記録しており、前記情報通信機能は、前記管
理情報記憶機能により記憶された全ての子装置へ前記親
装置からの前記再送情報を再送し、前記送達確認送信機
能は、前記再送情報に関して前記全ての子装置から送達
確認が前記送達確認機能によってなされたときに、前記
親装置へ送達確認情報を送信することを特徴とする請求
項7記載の通信方法のプログラムの記録媒体である。
The invention according to claim 8 is characterized in that when the delivery confirmation function fails to confirm delivery, or when retransmission request information indicating that information was not correctly received is received, the transmitted information is retransmitted information. The information retransmission function is recorded as retransmission, the information communication function retransmits the retransmission information from the parent device to all the child devices stored by the management information storage function, and the delivery confirmation transmission function is 8. The recording of the program of the communication method according to claim 7, wherein when the delivery confirmation function is performed from all the child devices with respect to the retransmission information, the delivery confirmation information is transmitted to the parent device. Medium.

【0025】請求項9の発明は、前記管理情報記憶機能
により記憶された子装置の数が基準を超えた場合、所定
の数の子装置の管理情報を前記管理情報記憶機能から除
き、その除いた管理情報を他の装置に送信する管理情報
送信機能を記録しており、前記管理情報記憶機能は、他
の装置から受信した管理情報を記憶することを特徴とす
る請求項7記載の通信方法のプログラムの記録媒体であ
る。
According to a ninth aspect of the present invention, when the number of child devices stored by the management information storage function exceeds a reference, management information of a predetermined number of child devices is excluded from the management information storage function, and the management information excluding the management information is excluded. 8. The program according to claim 7, wherein a management information transmission function for transmitting information to another device is recorded, and wherein the management information storage function stores management information received from another device. Recording medium.

【0026】[0026]

【発明の実施の形態】本発明の実施形態における実施例
を説明する。
Embodiments of the present invention will be described.

【0027】第1の実施例 図1は、本発明の第1の実施例に係る同報通信制御装置
の構成例を示したものである。
First Embodiment FIG. 1 shows an example of the configuration of a broadcast control device according to a first embodiment of the present invention.

【0028】図1において、本実施例に係る同報通信制
御装置は、データ転送制御部1、送達確認制御部4、再
送要求制御部5、ツリー構造制御部6、ネットワークイ
ンタフェース部3、管理テーブル2から構成される。
In FIG. 1, a broadcast control device according to the present embodiment includes a data transfer control unit 1, a delivery confirmation control unit 4, a retransmission request control unit 5, a tree structure control unit 6, a network interface unit 3, a management table 2

【0029】データ転送制御部1は、ユーザや上位層ア
プリケーションなどからデータを受けると、それにシー
ケンス番号等を付加してデータパケットを生成し、その
データパケットを送信バッファに格納した後、ネットワ
ークインタフェース部3に送る。また、ネットワークイ
ンタフェース部3からデータパケットを受けると、送信
元アドレスとシーケンス番号をチェックし、管理テーブ
ル2を参照して、必要に応じて受信バッファにそのパケ
ットを格納し、自装置が管理している装置に転送した
り、あるいはACKパケットを送信するよう送達確認制
御部4に指示を出したり、NAKパケットを送信するよ
う再送要求制御部5に指示を送ったりする。
Upon receiving data from a user or an upper layer application, the data transfer control unit 1 generates a data packet by adding a sequence number and the like to the data packet, stores the data packet in a transmission buffer, and then stores the data packet in a network interface unit. Send to 3. When a data packet is received from the network interface unit 3, the source address and the sequence number are checked, and the packet is stored in the reception buffer as necessary by referring to the management table 2, and the own device manages the packet. It sends an instruction to the acknowledgment control unit 4 to transmit the ACK packet, or sends an instruction to the retransmission request control unit 5 to transmit the NAK packet.

【0030】送達確認制御部4は、データ転送制御部1
からの指示を受けて、管理テーブル2を参照し、自装置
がどれだけデータパケットを受信したかをチェックし、
自装置を管理している装置(親装置)にACKパケット
を送信する。
The delivery confirmation control unit 4 includes the data transfer control unit 1
In response to the instruction from, the management table 2 is checked to see how many data packets the own device has received,
An ACK packet is transmitted to a device (parent device) managing the own device.

【0031】再送要求制御部5は、データ転送制御部1
からの指示を受けて、親装置に再送を要求するためのパ
ケットを送信する。
The retransmission request control unit 5 includes a data transfer control unit 1
And sends a packet for requesting retransmission to the parent device.

【0032】ツリー構造制御部6は、管理している装置
の数や管理している装置との間の通信路の状態に応じ
て、ツリー構造を変更するために、管理情報を他の装置
に送信したり、逆に、管理情報を受信したら管理テーブ
ル2に登録する。
The tree structure control unit 6 transmits management information to another device in order to change the tree structure according to the number of managed devices and the state of the communication path with the managed device. When the management information is transmitted or, conversely, received, the management information is registered in the management table 2.

【0033】ネットワークインタフェース部3は、デー
タ転送制御部1、送達確認制御部4再送要求制御部5、
ツリー構造制御部6から受けたパケット送信要求に応じ
て、ネットワークにパケットを送信したり、ネットワー
クから受けたパケットから必要な情報を取り出してデー
タ転送制御部1や送達確認制御部4等に渡す。
The network interface unit 3 includes a data transfer control unit 1, a delivery confirmation control unit 4, a retransmission request control unit 5,
In response to the packet transmission request received from the tree structure control unit 6, a packet is transmitted to the network, or necessary information is extracted from the packet received from the network and passed to the data transfer control unit 1, the delivery confirmation control unit 4, and the like.

【0034】図2は、本実施例に係る同報通信制御装置
を用いた通信システム全体の構成例を示したものであ
る。
FIG. 2 shows an example of the configuration of the entire communication system using the broadcast control device according to the present embodiment.

【0035】図2において、ネットワーク1にはハブを
経由して有線系の同報通信制御装置1〜3が、無線基地
局経由で無線系の同報通信制御装置4〜6が接続されて
いる。ネットワーク1はネットワーク2にも接続されて
いる。ネットワーク3は無線系の同報通信制御装置で構
成され、ネットワーク2に接続されている。ネットワー
ク4は有線系の装置で構成され、ネットワーク2に接続
されている。各ネットワーク間はルータで接続されてい
る。
In FIG. 2, wired broadcast control devices 1 to 3 are connected to a network 1 via a hub, and wireless broadcast control devices 4 to 6 are connected via a wireless base station. . Network 1 is also connected to network 2. The network 3 is constituted by a wireless broadcast control device, and is connected to the network 2. The network 4 is composed of wired devices and is connected to the network 2. Each network is connected by a router.

【0036】図3は、本実施例に係る同報通信制御装置
が同報グループを構成したときの論理的なツリー構造の
例である。
FIG. 3 shows an example of a logical tree structure when the broadcast control device according to the present embodiment forms a broadcast group.

【0037】ツリーのルートとなる装置1は、装置2、
3、9を管理する。装置2は装置10、11、12を管
理し、装置3は装置4、5、6を管理し、装置9は装置
7、8を管理する。自装置を管理している装置を親装置
と呼び、自装置が管理している装置を子装置と呼ぶこと
にする。
The device 1, which is the root of the tree, is the device 2,
3 and 9 are managed. The device 2 manages the devices 10, 11, and 12, the device 3 manages the devices 4, 5, and 6, and the device 9 manages the devices 7 and 8. A device that manages its own device is called a parent device, and a device that is managed by its own device is called a child device.

【0038】例えば、装置3の親装置は装置1であり、
装置3の子装置は装置4、5、6である。装置1はツリ
ーのルートであるので、親装置はない。
For example, the parent device of the device 3 is the device 1,
The child devices of the device 3 are the devices 4, 5, and 6. Since device 1 is the root of the tree, there is no parent device.

【0039】このツリー構造は論理的なもので、装置間
のネゴシエーションによって形成される。決して物理的
な接続による構成を表しているわけではない。しかし、
物理的に同じネットワークに接続されている装置をまと
めて管理する方が、そのネットワークの持つマルチキャ
スト機能を利用できることがあり、通信効率が上がる。
This tree structure is logical and is formed by negotiation between devices. It does not necessarily represent a configuration with physical connections. But,
Collectively managing the devices physically connected to the same network may utilize the multicast function of the network, thereby increasing communication efficiency.

【0040】例えば、装置3が管理している装置4、
5、6は同じネットワークに接続されているので、この
ネットワークがイーサネット互換の無線LANと仮定す
ると、装置3はイーサネットのマルチキャスト機能を利
用して、装置4、5、6にパケットを転送すれば、ユニ
キャストを用いてそれぞれの装置に別々にパケットを転
送するよりも送信パケット数を減らすことができる。
For example, the device 4 managed by the device 3
Since devices 5 and 6 are connected to the same network, assuming that this network is a wireless LAN compatible with Ethernet, device 3 uses the multicast function of Ethernet to transfer packets to devices 4, 5, and 6; The number of transmission packets can be reduced as compared with the case where packets are separately transferred to each device using unicast.

【0041】図4は、図1における管理テーブル2を示
したもので、自装置を管理している親装置の識別子を親
装置識別子フィールドに、同報グループに属する装置の
識別子を装置識別子フィールドに、それぞれの装置が管
理する装置の識別子を子装置識別子フィールドに、それ
ぞれの装置から受信したデータのシーケンス番号のう
ち、連続しており、かつ最大のシーケンス番号を受信シ
ーケンス番号フィールドに、それぞれ格納する。図4に
は、例として装置3の持つ管理テーブル2を示している
が、他の装置も同様のテーブル2を持つ。
FIG. 4 shows the management table 2 in FIG. 1. The identifier of the parent device managing the own device is stored in the parent device identifier field, and the identifier of the device belonging to the broadcast group is stored in the device identifier field. , The identifier of the device managed by each device is stored in the child device identifier field, and among the sequence numbers of the data received from each device, the continuous and maximum sequence number is stored in the received sequence number field. . FIG. 4 shows the management table 2 of the device 3 as an example, but other devices also have the same table 2.

【0042】自装置が他の装置を管理している場合、図
4に加えてさらに図5のようなテーブル2も持つ。
When the own device manages another device, it has a table 2 as shown in FIG. 5 in addition to FIG.

【0043】図5も装置3が持つ管理テーブル2で、装
置4、5、6から受信した送達確認番号を記憶してい
る。
FIG. 5 also shows the management table 2 of the device 3, which stores the delivery confirmation numbers received from the devices 4, 5, and 6.

【0044】ここで、シーケンス番号、受信シーケンス
番号、送達確認番号、受信送達確認番号の関係について
説明する。
Here, the relationship between the sequence number, the reception sequence number, the delivery confirmation number, and the reception confirmation number will be described.

【0045】複数のデータパケットにシーケンス番号を
付加して順番に他の装置へ送信する。この場合には、シ
ーケンス番号は、1,2,3,4,………と順番に昇順
させつつ複数のデータパケットに付加して送信する。例
えば、図3における装置6が同報グループ全体へ300
個のデータパケットを送信すると、最後のシーケンス番
号は300となる。
A sequence number is added to a plurality of data packets and transmitted to another device in order. In this case, the sequence numbers are added to a plurality of data packets and transmitted while ascending in the order of 1, 2, 3, 4,.... For example, the device 6 in FIG.
After transmitting the data packets, the final sequence number becomes 300.

【0046】その300個のデータパケットを受信した
装置4においては、この最大のシーケンス番号(=30
0)が、上記で述べた受信シーケンス番号(=300)
となる。
In the device 4 receiving the 300 data packets, the maximum sequence number (= 30)
0) is the reception sequence number (= 300) described above.
Becomes

【0047】そして、装置4は、この受信シーケンス番
号(=300)を送達確認番号(=300)として、そ
の親装置である装置3にACKパケットとして送り返
す。
Then, the device 4 sends back the reception sequence number (= 300) as an acknowledgment number (= 300) to the device 3 as its parent device as an ACK packet.

【0048】装置3ではACKパケットとして装置4か
ら送り返された送達確認番号(=300)と図5におけ
る現在記憶している受信送達確認番号と比較する。そし
て、現在記憶している受信送達確認番号が300より小
さい数字であれば、その受信送達確認番号を300に更
新する子装置である装置4,5(装置6はデータパケッ
トの送信者なので除外する)からの送達確認ができた
ら、親装置である装置1にACKパケットを送信する。
The device 3 compares the acknowledgment number (= 300) returned from the device 4 as an ACK packet with the currently stored reception acknowledgment number in FIG. Then, if the currently stored reception acknowledgment number is a number smaller than 300, devices 4, 5 (device 6 is a data packet sender which is a child device for updating the reception acknowledgment number to 300 are excluded. ), The ACK packet is transmitted to the device 1 which is the parent device.

【0049】(データ送信要求を受けた時の動作)図6
は、上位層からのデータ送信要求を受けたときの動作を
示すフローチャートである。
(Operation when receiving data transmission request) FIG. 6
5 is a flowchart illustrating an operation when a data transmission request is received from an upper layer.

【0050】ツリーのルートである装置1が、上位層か
らの要求に従ってデータパケットを送信しようとする場
合、まず受け取ったデータをパケットに整形する。
When the device 1, which is the root of the tree, intends to transmit a data packet in accordance with a request from an upper layer, first, the received data is shaped into a packet.

【0051】具体的には、使用するネットワークで決め
られているパケットの最大長に従ってデータを分割し、
分割したそれぞれのデータにヘッダを付加してパケット
とする。
Specifically, data is divided according to the maximum packet length determined by the network used,
A header is added to each of the divided data to form a packet.

【0052】そして、それぞれのパケットを一意に識別
するためのシーケンス番号を昇順に振り、ヘッダ内のシ
ーケンス番号フィールドに格納する。装置1は装置2、
3、9に対してそのパケットを送信する。そして装置1
は装置2、3、9からのACKパケットを受信するまで
そのデータパケットをデータ転送制御部1内の送信バッ
ファに保持する。
Then, sequence numbers for uniquely identifying each packet are assigned in ascending order, and stored in the sequence number field in the header. Device 1 is device 2,
The packet is transmitted to 3 and 9. And device 1
Holds the data packet in the transmission buffer in the data transfer control unit 1 until the ACK packet is received from the device 2, 3, or 9.

【0053】ツリーのルート以外の装置が、上位層から
の要求に従ってデータパケットを送信しようとする場合
は、データをパケットに整形してシーケンス番号を格納
した後、ルートである装置1にパケットを送信する。パ
ケットを受信した装置1が行う処理は、上記の処理と同
様である。
When a device other than the root of the tree attempts to transmit a data packet in accordance with a request from an upper layer, the data is shaped into a packet, a sequence number is stored, and the packet is transmitted to the root device 1. I do. The processing performed by the device 1 having received the packet is the same as the above processing.

【0054】(データパケットを受信した時の動作)上
記のように送信されたデータパケットを受信した場合の
処理を説明する。図7は、データパケットを受信したと
きの動作を示すフローチャートである。
(Operation when Data Packet is Received) The processing when the data packet transmitted as described above is received will be described. FIG. 7 is a flowchart showing an operation when a data packet is received.

【0055】データパケットを受信した装置は、受信し
たパケットが初めてのものかどうかを判定する。
The device that has received the data packet determines whether the received packet is the first one.

【0056】初めてでなければ、そのパケットはすでに
受信バッファに入っているか、上位層に渡したかのどち
らかである。
If it is not the first time, the packet has either already been in the receive buffer or has been passed to the upper layer.

【0057】もし、初めて受信したのであれば、そのパ
ケットを受信バッファに格納し、データの欠落、誤りが
ないかどうかチェックする。
If the packet has been received for the first time, the packet is stored in the reception buffer, and it is checked whether there is any data loss or error.

【0058】もし、欠落、誤りがあれば、データを再送
させるために親装置宛にNAKパケットを送信する。N
AKパケットには再送を要求するデータのシーケンス番
号が格納されている。
If there is a missing or an error, a NAK packet is transmitted to the parent device to retransmit the data. N
The AK packet stores the sequence number of the data requested to be retransmitted.

【0059】もし、欠落、誤りがなければ、送信可能な
シーケンス番号であることを確認して、自装置の管理し
ている装置に対してそのデータパケットを送信する。管
理テーブル2から、送信元のエントリを検索し、その受
信シーケンス番号を更新する。そして、ACKパケット
送信タイマをセットする。ACKパケットには、届いた
データパケットのうち、連続し、かつ最大のシーケンス
番号を送達確認番号として格納する。
If there is no loss or error, the sequence number is confirmed to be transmittable, and the data packet is transmitted to the device managed by the own device. The source table entry is searched from the management table 2, and the reception sequence number is updated. Then, the ACK packet transmission timer is set. The ACK packet stores, as a delivery confirmation number, a continuous and maximum sequence number among the received data packets.

【0060】(NAKパケット受信時の動作時)図8
は、NAKパケット受信時の動作を示すフローチャート
である。
(Operation at the time of NAK packet reception) FIG.
9 is a flowchart showing an operation at the time of receiving a NAK packet.

【0061】NAKパケットを受信した装置は、再送を
要求されたデータパケットが受信バッファにあるかどう
かをチェックする。もしあれば、そのデータパケットを
NAKの送信元の装置宛に送信する。なければ、親装置
にNAKパケットを送信してデータの再送を要求する。
The device receiving the NAK packet checks whether or not the data packet requested to be retransmitted is in the reception buffer. If so, the data packet is transmitted to the NAK transmission source device. If not, a NAK packet is transmitted to the parent device to request data retransmission.

【0062】(ACKパケット受信時の動作)また、A
CKパケットを受信したときの動作を図9に示す。
(Operation at Receiving ACK Packet)
FIG. 9 shows the operation when the CK packet is received.

【0063】ACKパケットを受信した装置は、送信元
の装置のエントリを管理テーブル2から検索し、テーブ
ル2の受信送達確認番号とACKパケットの送達確認番
号とを比較する。もしパケットの送達確認番号の方が小
さいか等しければ、処理を終える。そうでなければ管理
テーブル2の値を更新する。管理下にある全ての装置の
送達確認番号が更新されていれば、それらの送達確認番
号の中で最も小さい値を格納したACKパケットを親装
置に送信する。そして送信可能なシーケンス番号以下の
データパケットがあれば、そのデータパケットを管理し
ている装置に対して送信する。
The device that has received the ACK packet searches the management table 2 for an entry of the transmission source device, and compares the reception acknowledgment number in Table 2 with the ACK packet delivery acknowledgment number. If the packet acknowledgment number is smaller or equal, the process ends. Otherwise, the value of the management table 2 is updated. If the acknowledgment numbers of all the devices under management have been updated, an ACK packet storing the smallest value among the acknowledgment numbers is transmitted to the parent device. Then, if there is a data packet having a sequence number equal to or less than the transmittable sequence number, the data packet is transmitted to the device managing the data packet.

【0064】(ACKパケット送信タイマがタイムアウ
トした時の動作)図10は、ACKパケット送信タイマ
がタイムアウトしたときの動作を示すフローチャートで
ある。ACKパケット送信タイマがタイムアウトしたと
きの処理は、自装置が管理している装置があるかどうか
によって異なる。
(Operation when ACK Packet Transmission Timer Times Out) FIG. 10 is a flowchart showing an operation when the ACK packet transmission timer times out. The processing when the ACK packet transmission timer times out differs depending on whether or not there is a device managed by the own device.

【0065】まず、自装置が管理している装置がある場
合の処理を説明する。
First, the processing when there is a device managed by the own device will be described.

【0066】管理テーブル2には、管理している装置別
に、それぞれの装置がどの装置からどこまでデータを受
信したかを示す受信送達確認番号が格納されている(図
4参照)。ある装置からどこまでデータを受信したかを
示す受信送達確認番号が、管理している全ての装置に関
して更新されていれば、親装置にACKパケットを送信
する。そうでなければ処理を終る。
The management table 2 stores, for each managed device, a reception acknowledgment number indicating from which device each device has received data and to what extent (see FIG. 4). If the reception acknowledgment number indicating how far data has been received from a certain device has been updated for all managed devices, an ACK packet is transmitted to the parent device. Otherwise, the process ends.

【0067】次に、自装置が管理している装置がない場
合の処理を説明する。
Next, a process when there is no device managed by the own device will be described.

【0068】管理テーブル2には、自装置がどの装置か
らデータをどこまで受信したかを示す受信シーケンス番
号が格納されている(図4参照)。少なくとも1つの受
信シーケンス番号が更新されていれば、親装置にACK
パケットを送信する。
The management table 2 stores a reception sequence number indicating from which device the data has been received by the own device and to what extent (see FIG. 4). If at least one reception sequence number has been updated, ACK is sent to the parent device.
Send a packet.

【0069】(自装置の管理している装置数と他の装置
が管理している装置数との差が、所定数を超えた場合の
動作)図11は、自装置の管理している装置数と、ツリ
ー構造におけるルートから自装置までの論理的距離が等
しい装置が管理している装置数との差が、ある数を超え
た場合の動作を示すフローチャートである。
(Operation when Difference Between Number of Devices Managed by Own Device and Number of Devices Managed by Other Devices Exceeds Predetermined Number) FIG. 11 shows devices managed by the own device. 10 is a flowchart illustrating an operation when a difference between the number and the number of devices managed by devices having the same logical distance from the root in the tree structure to the own device exceeds a certain number.

【0070】自装置が管理している装置の中から、任意
の装置(装置Aとする)を選択する。
An arbitrary device (device A) is selected from the devices managed by the own device.

【0071】次に、ルートから自装置までの論理的距離
が等しい装置の中で、自装置の管理する装置数より少な
い装置を管理している装置を見つけ出し、その装置宛に
装置Aの管理情報を送信する。管理情報の内容は、図5
に示したような、装置識別子と受信送達確認番号の対の
リストである。
Next, among the devices having the same logical distance from the root to the own device, a device which manages less devices than the number of devices managed by the own device is found, and the management information of the device A is addressed to the device. Send The contents of the management information are shown in FIG.
Is a list of pairs of the device identifier and the reception acknowledgment number as shown in FIG.

【0072】このように、自装置の管理する装置の数が
他の装置の管理する装置の数と比較して許容範囲を超え
て多い場合、他の装置に管理を任せることにより、自装
置の負荷を軽減し、処理能力不足によるボトルネックと
なる可能性を減らすことができる。他の装置の管理する
装置数との比較の他にも、自装置の処理能力から決定さ
れた上限値をもとに、自装置が管理していた装置を他の
装置に管理させることもできる。
As described above, when the number of devices managed by the own device is larger than the number of devices managed by another device and exceeds the allowable range, the management of the own device is performed by leaving the management to the other device. The load can be reduced, and the possibility of a bottleneck due to insufficient processing capacity can be reduced. In addition to the comparison with the number of devices managed by another device, the device managed by the own device can be managed by another device based on the upper limit determined from the processing capacity of the own device. .

【0073】(管理情報パケットの受信時の動作)一
方、図12は管理情報パケットを受信したときの動作を
示すフローチャートである。
(Operation at the Time of Receiving Management Information Packet) On the other hand, FIG. 12 is a flowchart showing the operation at the time of receiving the management information packet.

【0074】管理情報パケットを受信したということ
は、ある装置の管理を依頼されたことを意味するので、
まず新たな装置を管理する能力があるかどうかを判断
し、その能力がないと判断した場合は、管理情報パケッ
トの送信元に拒否パケットを送信して処理を終る。能力
があると判断した場合は、管理情報パケットにより運ば
れてきた装置情報に基づいて、管理テーブル2にエント
リを作成し、情報を登録する。そして管理情報パケット
の送信元に受理パケットを送信する。新たに加わった装
置に対して必要なデータを持っていれば送信し、持って
いなければ親装置に対してそのデータのNAKパケット
を送信する。
Receiving the management information packet means that the management of a certain device has been requested.
First, it is determined whether or not there is a capability to manage a new device. If it is determined that there is no capability, a rejection packet is transmitted to the transmission source of the management information packet, and the process ends. When it is determined that the device has the capability, an entry is created in the management table 2 based on the device information carried by the management information packet, and the information is registered. Then, the reception packet is transmitted to the transmission source of the management information packet. If necessary data is transmitted to the newly added device, it is transmitted. If not, a NAK packet of the data is transmitted to the parent device.

【0075】図13に、ACKパケットのフォーマット
を示す。
FIG. 13 shows the format of the ACK packet.

【0076】ACKパケットには、宛先アドレス、送信
元アドレスの他に、自装置の管理下の装置から受信した
送達確認番号のうち、各装置別に最小の値が格納されて
いる。
The ACK packet stores, besides the destination address and the source address, the minimum value for each device among the delivery confirmation numbers received from the devices managed by the own device.

【0077】第2の実施例 図14は、本発明の第2の実施例に係る同報通信制御装
置の構成例を示したものである。
Second Embodiment FIG. 14 shows an example of the configuration of a broadcast control apparatus according to a second embodiment of the present invention.

【0078】各部の動作は第1の実施例とほぼ同様であ
るが、データパケットを受信したときの動作が異なる。
なお、第1の実施例と対応する装置の参照符号は、第1
の実施例の装置の参照符号を100番台にしたものとす
る。
The operation of each section is almost the same as that of the first embodiment, except for the operation when a data packet is received.
The reference numerals of the devices corresponding to the first embodiment are the same as those of the first embodiment.
It is assumed that the reference numerals of the apparatus of the embodiment are in the 100's.

【0079】図15は、第2の実施例において、データ
パケットを受信したときの動作を示すフローチャートで
ある。
FIG. 15 is a flowchart showing an operation when a data packet is received in the second embodiment.

【0080】データパケットを受信した装置は、受信し
たパケットが初めてのものかどうかを判定する。
The device that has received the data packet determines whether the received packet is the first one.

【0081】初めてでなければ、そのパケットはすでに
受信バッファに入っているか、上位層に渡したかのどち
らかである。管理テーブル2を参照し、その再送データ
パケットに対して、自装置が管理している装置全てから
すでに送達確認がなされているかをチェックし、なされ
ていれば、親装置に対してACKパケットを送信する。
If it is not the first time, the packet has either already been in the reception buffer or has been passed to the upper layer. Refers to the management table 2 and checks whether or not the acknowledgment has already been performed from all the devices managed by the own device for the retransmission data packet, and if the acknowledgment has been performed, transmits an ACK packet to the parent device. I do.

【0082】もし、初めて受信したのであれば、そのパ
ケットを受信バッファに格納し、データの欠落、誤りが
ないかどうかチェックする。
If the packet is received for the first time, the packet is stored in the reception buffer, and it is checked whether data is missing or error.

【0083】もし、欠落、誤りがあれば、データを再送
させるために親装置宛にNAKパケットを送信する。N
AKパケットには再送を要求するデータのシーケンス番
号が格納されている。
If there is a missing or an error, a NAK packet is transmitted to the parent device to retransmit the data. N
The AK packet stores the sequence number of the data requested to be retransmitted.

【0084】もし、欠落、誤りがなければ、送信可能な
シーケンス番号であることを確認して、自装置の管理し
ている装置に対してそのデータパケットを送信する。管
理テーブル2から、送信元のエントリを検索し、その受
信シーケンス番号を更新する。そして、ACKパケット
送信タイマをセットする。ACKパケットには、届いた
データパケットのうち、連続し、かつ最大のシーケンス
番号を送達確認番号として格納する。
If there is no loss or error, the sequence number is confirmed to be transmittable, and the data packet is transmitted to the device managed by the own device. The source table entry is searched from the management table 2, and the reception sequence number is updated. Then, the ACK packet transmission timer is set. The ACK packet stores, as a delivery confirmation number, a continuous and maximum sequence number among the received data packets.

【0085】第3の実施例 図16は、本発明の第3の実施例に係る同報通信制御装
置の構成例を示したものである。
Third Embodiment FIG. 16 shows an example of the configuration of a broadcast control device according to a third embodiment of the present invention.

【0086】各部の動作は第1の実施例とほぼ同様であ
るが、新たに通信可能性判定部207を設け、管理して
いる装置と自装置の間の通信路の状態を監視し、これ以
上通信の続行が不可能と判断した場合に、ツリー構造か
らその装置を除く処理を行う。なお、第1の実施例と対
応する装置の参照符号は、第1の実施例の装置の参照符
号を200番台にしたものとする。
The operation of each unit is almost the same as that of the first embodiment, except that a new communication possibility determination unit 207 is provided to monitor the state of the communication path between the managed device and the own device. When it is determined that the continuation of the communication is impossible, a process of removing the device from the tree structure is performed. The reference numerals of the devices corresponding to those of the first embodiment are the same as those of the first embodiment except that the reference numerals are in the 200s.

【0087】以下に、その詳細な動作を説明する。The detailed operation will be described below.

【0088】通信可能性判定部207は、自装置と管理
している装置との間の通信路の状態を監視し、一定時間
以上通信路の状態が悪く、一定の割合以上に伝送エラー
が発生したり、一定回数以上データパケットの再送を繰
り返してもACKパケットが到着しない場合、その装置
とは通信が不可能になったとみなす。そしてツリー構造
制御部6にそのことを通知する。ツリー構造制御部6
は、その装置とは通信が不可能になったとの通知を受け
て、ツリー構造からその装置を切り離す。その時点で、
自装置の管理している残りの装置全てからの受信送達確
認番号が更新されていれば、親装置宛にACKパケット
を送信する。
The communication possibility determining unit 207 monitors the state of the communication path between the own apparatus and the managed apparatus, and the state of the communication path is bad for a certain period of time, and a transmission error occurs at a certain ratio or more. If the ACK packet does not arrive even after repeating the retransmission of the data packet more than a certain number of times, it is considered that communication with the device has become impossible. Then, this is notified to the tree structure control unit 6. Tree structure control unit 6
Receives the notification that communication with the device has become impossible, and disconnects the device from the tree structure. at the time,
If the reception acknowledgment numbers from all the remaining devices managed by the own device have been updated, the ACK packet is transmitted to the parent device.

【0089】図17は、自装置の管理している装置との
間の通信が不可能になったと判断した場合の動作を示す
フローチャートである。
FIG. 17 is a flowchart showing the operation when it is determined that communication with the device managed by the own device has become impossible.

【0090】管理テーブル2から、該当する装置のエン
トリを検索して削除する。残りの装置について受信送達
確認番号をチェックし、ある装置に関する受信送達確認
番号が全て更新されていれば、親装置宛にACKパケッ
トを送信する。
The entry of the corresponding device is searched from the management table 2 and deleted. The reception acknowledgment numbers of the remaining devices are checked, and if all the reception acknowledgment numbers of a certain device have been updated, an ACK packet is transmitted to the parent device.

【0091】なお、上記第1から第3の実施例におい
て、各フローチャートの内容を実行できるプログラムを
FDやCD−ROM12に記憶させておき。この内容を
図18に示すようなパソコン機能を有する携帯情報通信
装置10にインストールさせて、上記内容を実現しても
よい。
In the first to third embodiments, a program capable of executing the contents of each flowchart is stored in the FD or the CD-ROM 12. The above contents may be realized by installing the contents in the portable information communication device 10 having a personal computer function as shown in FIG.

【0092】[0092]

【発明の効果】請求項1の通信装置であると、管理情報
に基づいて情報の送達確認を確実にとることができ、デ
ータなどの情報の誤送が発生しない。したがって、親装
置から子装置に確実に情報を送信できる。
According to the communication device of the first aspect, it is possible to reliably confirm the delivery of information based on the management information, and to prevent erroneous transmission of information such as data. Therefore, information can be reliably transmitted from the parent device to the child device.

【0093】請求項2の通信装置であると、管理情報に
基づいて情報の送達確認をとることができない場合に
は、再送情報を送り、その上で送達確認を行うため、親
装置から子装置に確実に情報を送信できる。
According to the communication device of the second aspect, when it is not possible to confirm the delivery of the information based on the management information, the retransmission information is sent, and the delivery confirmation is performed based on the retransmission information. Information can be transmitted reliably.

【0094】請求項3の通信装置は、グループの台数の
変化により各装置の負荷が偏って、例えばある装置がボ
トルネックになったりしないよう、柔軟にツリー構造を
変更することができ、効率的にデータの転送や送達確認
を行うことができる。
According to the communication device of the third aspect, the tree structure can be flexibly changed so that the load of each device is biased due to a change in the number of groups and, for example, a certain device does not become a bottleneck, and the efficiency is improved. Data transfer and delivery confirmation.

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

【図1】本発明の第1の実施例に係る同報通信制御装置
の構成例を示す図である。
FIG. 1 is a diagram illustrating a configuration example of a broadcast control device according to a first embodiment of the present invention.

【図2】本発明の実施例に係る同報通信制御装置を用い
た通信システム全体の構成例を示す図である。
FIG. 2 is a diagram illustrating a configuration example of an entire communication system using a broadcast control device according to an embodiment of the present invention.

【図3】本発明の実施例に係る同報通信制御装置が同報
グループを構成したときの論理的なツリー構造の例を示
す図である。
FIG. 3 is a diagram illustrating an example of a logical tree structure when the broadcast control device according to the embodiment of the present invention forms a broadcast group.

【図4】図1における管理テーブル2の例を示す図であ
る。
FIG. 4 is a diagram showing an example of a management table 2 in FIG.

【図5】図1における管理テーブル2の例を示す図であ
る。
FIG. 5 is a diagram showing an example of a management table 2 in FIG.

【図6】上位層からのデータ送信要求を受けたときの動
作を示すフローチャートである。
FIG. 6 is a flowchart illustrating an operation when a data transmission request is received from an upper layer.

【図7】データパケットを受信したときの動作を示すフ
ローチャートである。
FIG. 7 is a flowchart showing an operation when a data packet is received.

【図8】NAKパケット受信時の動作を示すフローチャ
ートである。
FIG. 8 is a flowchart showing an operation at the time of receiving a NAK packet.

【図9】ACKパケットを受信したときの動作を示すフ
ローチャートである。
FIG. 9 is a flowchart showing an operation when an ACK packet is received.

【図10】ACKパケット送信タイマがタイムアウトし
たときの動作を示すフローチャートである。
FIG. 10 is a flowchart illustrating an operation when an ACK packet transmission timer times out.

【図11】自装置の管理している装置数と、ツリー構造
におけるルートから自装置までの論理的距離が等しい装
置が管理している装置数との差が、ある数を超えた場合
の動作を示すフローチャートである。
FIG. 11 illustrates an operation performed when a difference between the number of devices managed by the own device and the number of devices managed by devices having the same logical distance from the root in the tree structure to the own device exceeds a certain number. It is a flowchart which shows.

【図12】管理情報パケットを受信したときの動作を示
すフローチャートである。
FIG. 12 is a flowchart illustrating an operation when a management information packet is received.

【図13】ACKパケットのフォーマットを示す図であ
る。
FIG. 13 is a diagram showing a format of an ACK packet.

【図14】本発明の第2の実施例に係る同報通信制御装
置の構成例を示す図である。
FIG. 14 is a diagram illustrating a configuration example of a broadcast control device according to a second embodiment of the present invention.

【図15】第2の実施例において、データパケットを受
信したときの動作を示すフローチャートである。
FIG. 15 is a flowchart illustrating an operation when a data packet is received in the second embodiment.

【図16】本発明の第3の実施例に係る同報通信制御装
置の構成例を示す図である。
FIG. 16 is a diagram illustrating a configuration example of a broadcast control device according to a third embodiment of the present invention.

【図17】自装置の管理している装置との間の通信が不
可能になったと判断した場合の動作を示すフローチャー
トである。
FIG. 17 is a flowchart illustrating an operation when it is determined that communication with a device managed by the own device has become impossible.

【図18】携帯情報通信装置の斜視図である。FIG. 18 is a perspective view of a portable information communication device.

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

1 データ転送制御部 2 管理テーブル 3 ネットワークインタフェース部 4 送達確認制御部 5 再送要求制御部 6 ツリー構造制御部 DESCRIPTION OF SYMBOLS 1 Data transfer control part 2 Management table 3 Network interface part 4 Delivery confirmation control part 5 Retransmission request control part 6 Tree structure control part

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩村 和昭 大阪府大阪市北区大淀中一丁目1番30号 梅田スカイビル タワーウエスト 株式会 社東芝関西支社内 (72)発明者 山口 尚吾 大阪府大阪市北区大淀中一丁目1番30号 梅田スカイビル タワーウエスト 株式会 社東芝関西支社内 ────────────────────────────────────────────────── ─── Continued on the front page (72) Inventor Kazuaki Iwamura 1-30, Oyodonaka, Kita-ku, Osaka-shi, Osaka Umeda Sky Building Tower West Toshiba Kansai Branch Office (72) Inventor Shogo Yamaguchi Osaka 1-30 Oyodonaka, Kita-ku, Osaka Umeda Sky Building Tower West Toshiba Kansai Branch

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】一の親装置に一または複数の子装置が互い
に通信可能に設けられた複数の通信装置において、 自装置が管理している子装置の識別子と、その子装置か
ら受信した送達確認情報を少なくとも含む管理情報を記
憶する管理情報記憶手段と、 前記自装置を管理している親装置の識別子を記憶する親
装置識別子記憶手段と、 前記管理情報記憶手段で記憶している全ての子装置と、
または、前記親装置識別子記憶手段で記憶している前記
親装置と情報を送受信する情報通信手段と、 前記情報通信手段によって情報を送信した子装置から、
その情報を受信したことを表す送達確認情報と前記管理
情報を比較して前記送信した情報の送達確認を行う送達
確認手段と、 前記送達確認手段が前記送信した情報の送達確認ができ
たときに、前記親装置へ送達確認情報を送信する送達確
認送信手段を有することを特徴とする通信装置。
1. A plurality of communication devices in which one or more child devices are provided so as to be able to communicate with each other in one parent device, an identifier of a child device managed by the own device, and a delivery confirmation received from the child device. Management information storage means for storing management information including at least information; a parent device identifier storage means for storing an identifier of a parent device managing the own device; and all children stored in the management information storage means. Equipment and
Or, an information communication unit that transmits and receives information to and from the parent device stored in the parent device identifier storage unit, and a child device that transmits information by the information communication unit,
Acknowledgment means for comparing acknowledgment information indicating that the information has been received and the management information to confirm acknowledgment of the transmitted information, and when the acknowledgment means has confirmed acknowledgment of the transmitted information. And a transmission confirmation transmitting means for transmitting transmission confirmation information to the parent device.
【請求項2】前記送達確認手段が送達確認ができない場
合に、または、情報が正しく受信されなかったことを表
す再送要求情報を受信した場合に、前記送信した情報を
再送情報として再送する情報再送手段を有し、 前記情報通信手段は、前記管理情報記憶手段により記憶
された全ての子装置へ前記親装置からの前記再送情報を
再送し、 前記送達確認送信手段は、前記再送情報に関して前記全
ての子装置から送達確認が前記送達確認手段によってな
されたときに、前記親装置へ送達確認情報を送信するこ
とを特徴とする請求項1記載の通信装置。
2. An information retransmission for retransmitting the transmitted information as retransmission information when the acknowledgment means cannot perform acknowledgment or when retransmission request information indicating that the information has not been correctly received is received. Means, the information communication means retransmits the retransmission information from the parent device to all the child devices stored by the management information storage means, the transmission confirmation transmission means, The communication device according to claim 1, wherein when a delivery confirmation is made from said child device by said delivery confirmation means, delivery confirmation information is transmitted to said parent device.
【請求項3】前記管理情報記憶手段により記憶された子
装置の数が基準を超えた場合、所定の数の子装置の管理
情報を前記管理情報記憶手段から除き、その除いた管理
情報を他の装置に送信する管理情報送信手段を有し、 前記管理情報記憶手段は、他の装置から受信した管理情
報を記憶することを特徴とする請求項1記載の通信装
置。
3. When the number of child devices stored by the management information storage means exceeds a reference, management information of a predetermined number of child devices is removed from the management information storage means, and the removed management information is replaced by another device. 2. The communication apparatus according to claim 1, further comprising a management information transmitting unit that transmits the management information to another device, wherein the management information storage unit stores management information received from another device.
【請求項4】一の親装置に一または複数の子装置が互い
に通信可能に設けられた複数の通信装置における通信方
法であって、 自装置が管理している子装置の識別子と、その子装置か
ら受信した送達確認情報を少なくとも含む管理情報を記
憶する管理情報記憶ステップと、 前記自装置を管理している親装置の識別子を記憶する親
装置識別子記憶ステップと、 前記管理情報記憶ステップにおいて記憶している全ての
子装置と、または、前記親装置識別子記憶ステップにお
いて記憶している前記親装置と情報を送受信する情報通
信ステップと、 前記情報通信ステップにおいて情報を送信した子装置か
ら、その情報を受信したことを表す送達確認情報と前記
管理情報を比較して前記送信した情報の送達確認を行う
送達確認ステップと、 前記送達確認ステップにおいて前記送信した情報の送達
確認ができたときに、前記親装置へ送達確認情報を送信
する送達確認送信ステップからなることを特徴とする通
信方法。
4. A communication method in a plurality of communication devices in which one or more child devices are provided so as to be able to communicate with each other in one parent device, wherein an identifier of the child device managed by the own device and the child device are provided. A management information storing step of storing management information including at least acknowledgment information received from the storage device; a parent device identifier storing step of storing an identifier of a parent device managing the own device; And all the child devices, or, the information communication step of transmitting and receiving information to and from the parent device stored in the parent device identifier storage step, from the child device that has transmitted information in the information communication step, A acknowledgment step of comparing acknowledgment information indicating reception and the management information to confirm acknowledgment of the transmitted information; When you are acknowledgment of the transmitted information at step communication method characterized by comprising the acknowledgment transmission step of transmitting the acknowledgment information to the parent device.
【請求項5】前記送達確認ステップにおいて送達確認が
できない場合に、または、情報が正しく受信されなかっ
たことを表す再送要求情報を受信した場合に、前記送信
した情報を再送情報として再送する情報再送ステップを
有し、 前記情報通信ステップにおいて、前記管理情報記憶ステ
ップにおいて記憶された全ての子装置へ前記親装置から
の前記再送情報を再送し、 前記送達確認送信ステップにおいて、前記再送情報に関
して前記全ての子装置から送達確認が前記送達確認ステ
ップにおいてなされたときに、前記親装置へ送達確認情
報を送信することを特徴とする請求項4記載の通信方
法。
5. An information retransmission for retransmitting the transmitted information as retransmission information when the acknowledgment cannot be performed in the acknowledgment step or when retransmission request information indicating that the information was not correctly received is received. In the information communication step, the retransmission information from the parent device is retransmitted to all the child devices stored in the management information storage step, and in the delivery confirmation transmission step, all of the retransmission information The communication method according to claim 4, wherein when a delivery confirmation is made from said child device in said delivery confirmation step, delivery confirmation information is transmitted to said parent device.
【請求項6】前記管理情報記憶ステップにおいて記憶さ
れた子装置の数が基準を超えた場合、所定の数の子装置
の管理情報を前記管理情報記憶ステップから除き、その
除いた管理情報を他の装置に送信する管理情報送信ステ
ップを有し、 前記管理情報記憶ステップにおいて、他の装置から受信
した管理情報を記憶することを特徴とする請求項4記載
の通信方法。
6. When the number of child devices stored in the management information storage step exceeds a reference, management information of a predetermined number of child devices is excluded from the management information storage step, and the removed management information is replaced with another device. The communication method according to claim 4, further comprising a management information transmitting step of transmitting the management information received from another device in the management information storing step.
【請求項7】一の親装置に一または複数の子装置が互い
に通信可能に設けられた複数の通信装置において用いら
れる通信方法のプログラムを記録した記録媒体であっ
て、 自装置が管理している子装置の識別子と、その子装置か
ら受信した送達確認情報を少なくとも含む管理情報を記
憶する管理情報記憶機能と、 前記自装置を管理している親装置の識別子を記憶する親
装置識別子記憶機能と、 前記管理情報記憶機能で記憶している全ての子装置と、
または、前記親装置識別子記憶機能で記憶している前記
親装置と情報を送受信する情報通信機能と、前記情報通
信機能によって情報を送信した子装置から、その情報を
受信したことを表す送達確認情報と前記管理情報を比較
して前記送信した情報の送達確認を行う送達確認機能
と、 前記送達確認機能が前記送信した情報の送達確認ができ
たときに、前記親装置へ送達確認情報を送信する送達確
認送信機能を記録したことを特徴とする通信方法のプロ
グラムの記録媒体。
7. A recording medium recording a program of a communication method used in a plurality of communication devices in which one or more child devices are provided in one parent device so as to be able to communicate with each other. A management information storage function of storing management information including at least the acknowledgment information received from the child device, and a parent device identifier storage function of storing the identifier of the parent device managing the own device. All child devices stored in the management information storage function,
Or, an information communication function of transmitting and receiving information to and from the parent device stored in the parent device identifier storage function, and a delivery confirmation information indicating that the information has been received from the child device that transmitted the information by the information communication function. And a delivery confirmation function of comparing the management information with the management information to confirm delivery of the transmitted information; and transmitting delivery confirmation information to the parent device when the delivery confirmation function is able to confirm delivery of the transmitted information. A recording medium for a communication method program, characterized by recording a delivery confirmation transmission function.
【請求項8】前記送達確認機能において送達確認ができ
ない場合に、または、情報が正しく受信されなかったこ
とを表す再送要求情報を受信した場合に、前記送信した
情報を再送情報として再送する情報再送機能を記録して
おり、 前記情報通信機能は、前記管理情報記憶機能により記憶
された全ての子装置へ前記親装置からの前記再送情報を
再送し、 前記送達確認送信機能は、前記再送情報に関して前記全
ての子装置から送達確認が前記送達確認機能によってな
されたときに、前記親装置へ送達確認情報を送信するこ
とを特徴とする請求項7記載の通信方法のプログラムの
記録媒体。
8. An information retransmission for retransmitting the transmitted information as retransmission information when a transmission confirmation cannot be performed by the transmission confirmation function or when retransmission request information indicating that information was not correctly received is received. The information communication function retransmits the retransmission information from the parent device to all the child devices stored by the management information storage function, and the delivery confirmation transmission function relates to the retransmission information. 8. The recording medium according to claim 7, wherein the transmission confirmation information is transmitted to the parent device when the transmission confirmation function is performed from all the child devices by the transmission confirmation function.
【請求項9】前記管理情報記憶機能により記憶された子
装置の数が基準を超えた場合、所定の数の子装置の管理
情報を前記管理情報記憶機能から除き、その除いた管理
情報を他の装置に送信する管理情報送信機能を記録して
おり、 前記管理情報記憶機能は、他の装置から受信した管理情
報を記憶することを特徴とする請求項7記載の通信方法
のプログラムの記録媒体。
9. When the number of child devices stored by the management information storage function exceeds a reference, management information of a predetermined number of child devices is removed from the management information storage function, and the removed management information is replaced by another device. 8. The recording medium according to claim 7, wherein a management information transmission function to be transmitted to the communication device is recorded, and the management information storage function stores management information received from another device.
JP24871397A 1997-09-12 1997-09-12 Communication device Expired - Fee Related JP3326369B2 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP24871397A JP3326369B2 (en) 1997-09-12 1997-09-12 Communication device
US09/152,058 US6396814B1 (en) 1997-09-12 1998-09-11 Network construction method and communication system for communicating between different groups via representative device of each group
US10/117,084 US20020114286A1 (en) 1997-09-12 2002-04-08 Network construction method and communication system for communicating between different groups via representative device of each group

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24871397A JP3326369B2 (en) 1997-09-12 1997-09-12 Communication device

Publications (2)

Publication Number Publication Date
JPH1188396A true JPH1188396A (en) 1999-03-30
JP3326369B2 JP3326369B2 (en) 2002-09-24

Family

ID=17182241

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24871397A Expired - Fee Related JP3326369B2 (en) 1997-09-12 1997-09-12 Communication device

Country Status (1)

Country Link
JP (1) JP3326369B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072861B1 (en) * 1999-12-15 2006-07-04 Mitsubishi Denki Kabushiki Kaisha Digital content downloading system using networks
US7103354B2 (en) 2000-10-30 2006-09-05 Sharp Kabushiki Kaisha Node structure information management method and radio network system
WO2007083531A1 (en) * 2006-01-20 2007-07-26 Brother Kogyo Kabushiki Kaisha Content distribution system, node device, its information processing method, and recording medium containing the program
JP2008252498A (en) * 2007-03-30 2008-10-16 Brother Ind Ltd Network system, device and program for information processing
US8045693B2 (en) 2004-09-13 2011-10-25 Oki Electric Industry Co., Ltd. Message reception confirmation method, communications terminal and message reception confirmation system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7072861B1 (en) * 1999-12-15 2006-07-04 Mitsubishi Denki Kabushiki Kaisha Digital content downloading system using networks
US7103354B2 (en) 2000-10-30 2006-09-05 Sharp Kabushiki Kaisha Node structure information management method and radio network system
US8045693B2 (en) 2004-09-13 2011-10-25 Oki Electric Industry Co., Ltd. Message reception confirmation method, communications terminal and message reception confirmation system
WO2007083531A1 (en) * 2006-01-20 2007-07-26 Brother Kogyo Kabushiki Kaisha Content distribution system, node device, its information processing method, and recording medium containing the program
JP2007193626A (en) * 2006-01-20 2007-08-02 Brother Ind Ltd Content distribution system, node device, information processing method therefor and program therefor
US7882168B2 (en) 2006-01-20 2011-02-01 Brother Kogyo Kabushiki Kaisha Contents distribution system, node apparatus and information processing method thereof, as well as recording medium on which program thereof is recorded
JP2008252498A (en) * 2007-03-30 2008-10-16 Brother Ind Ltd Network system, device and program for information processing

Also Published As

Publication number Publication date
JP3326369B2 (en) 2002-09-24

Similar Documents

Publication Publication Date Title
JP2825120B2 (en) Method and communication network for multicast transmission
US8675472B2 (en) Method and apparatus for network management system
US6981032B2 (en) Enhanced multicast-based web server
TWI339517B (en) System and method for prioritization of retransmission of protocol data units to assist radio-link-control retransmission
US6744765B1 (en) Mechanism for completing messages in memory
EP1747644B1 (en) Method and apparatus for group communication with end-to-end reliability
TWI268065B (en) Method and apparatus for managing multicast groups in a system area network
KR100904072B1 (en) An apparatus, system, method and computer readable medium for reliable multicast transport of data packets
US8774184B2 (en) Memory and processor efficient network communications protocol
US20110134930A1 (en) Packet-based networking system
KR20030093221A (en) Nack suppression for multicast protocols in mostly one-way networks
KR102046792B1 (en) Method of transporting data from sending node to destination node
WO2006133655A1 (en) A method for transmitting data reliably by using multicast and unicast protocol and the host for receiving the data
CN101127702A (en) Multi-to-multi reliable multicast error recovery method for plane structure network
Jones et al. Protocol design for large group multicasting: the message distribution protocol
Baek et al. A tree-based reliable multicast scheme exploiting the temporal locality of transmission errors
CN1627725A (en) Method for guaranteeing reliability of data transmission from one point to multiple points
JP3326369B2 (en) Communication device
JP5029685B2 (en) Backup device
JP2009212796A (en) Transmitter, data transfer system, data transfer method, and data transfer program
Gumbold Software distribution by reliable multicast
KR101151615B1 (en) Method and system for p2p data transmission based on udp
JP3326672B2 (en) Message retransmission method and system
US7870183B1 (en) Multicast enabled mail
RU2783595C2 (en) Method for synchronization of databases between two points, using transport protocol

Legal Events

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

Free format text: PAYMENT UNTIL: 20080705

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090705

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees