JP2010062803A - Data transmission/reception device - Google Patents

Data transmission/reception device Download PDF

Info

Publication number
JP2010062803A
JP2010062803A JP2008225688A JP2008225688A JP2010062803A JP 2010062803 A JP2010062803 A JP 2010062803A JP 2008225688 A JP2008225688 A JP 2008225688A JP 2008225688 A JP2008225688 A JP 2008225688A JP 2010062803 A JP2010062803 A JP 2010062803A
Authority
JP
Japan
Prior art keywords
management terminal
terminal
reception
data
new
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
JP2008225688A
Other languages
Japanese (ja)
Other versions
JP5178405B2 (en
JP2010062803A5 (en
Inventor
Hiroshi Kasahara
裕志 笠原
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2008225688A priority Critical patent/JP5178405B2/en
Publication of JP2010062803A publication Critical patent/JP2010062803A/en
Publication of JP2010062803A5 publication Critical patent/JP2010062803A5/ja
Application granted granted Critical
Publication of JP5178405B2 publication Critical patent/JP5178405B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data transmission/reception device capable of keeping synchronization between client terminals without intermitting video stream data during transmission between the client devices even when communication between a management terminal and a client terminal is intermitted, and causing a new management terminal to emerge in a network, in a network system enabling direct communication between client terminals. <P>SOLUTION: In the client terminal, a reception condition of synchronization information and schedule information from the management terminal is managed; and when the information cannot be received for a certain period or more, its own device emerges as a candidate of a new management terminal, and starts operation as a new management terminal through approval of another client terminal. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明はデータ送受信装置に関し、特に、無線通信あるいは高速PLC(Power Line Communication)などのネットワークシステムにおいて、映像ストリーム等のデータを送受信するデータ送受信装置に関する。   The present invention relates to a data transmission / reception apparatus, and more particularly to a data transmission / reception apparatus that transmits and receives data such as a video stream in a network system such as wireless communication or high-speed PLC (Power Line Communication).

昨今の無線通信、あるいは高速PLCなどのネットワークシステムの高速化に伴い、これらのシステムを用いて家庭内の映像ネットワークを構築する研究が各方面でなされている。無線通信、あるいは高速PLCなどを用いて、映像あるいは音声などのリアルタイム性を要求されるデータを送受信するためには、映像、音声を途切れなくスムーズに伝送するために、予め送信するデータの伝送帯域を確保した上で伝送する必要がある。そのため、無線LAN(Local Area Network)等では、TDMA(Time Division Multiple Access)方式を採用し、データの伝送帯域を予め確保してデータを伝送する方式なども導入されている。具体的には、例えばARIB(社団法人電波産業会)にて標準規格化されたHiSWANa(High Speed Wireless Access Networking Type a:ARIB STD-T70 1.0版)などがある。   With recent increases in the speed of network systems such as wireless communication and high-speed PLCs, research has been conducted in various fields to construct home video networks using these systems. In order to transmit and receive video and audio data that requires real-time performance using wireless communication or a high-speed PLC, the transmission band of data to be transmitted in advance to transmit video and audio smoothly without interruption. It is necessary to transmit after securing the Therefore, a wireless LAN (Local Area Network) or the like adopts a TDMA (Time Division Multiple Access) method, and a method for transmitting data while ensuring a data transmission band in advance has been introduced. Specifically, for example, HiSWANA (High Speed Wireless Access Networking Type a: ARIB STD-T70 version 1.0) standardized by ARIB (Radio Industry Association) is available.

以下、上記HiSWANa規格に採用されたTDMA方式の概要を簡単に説明する。HiSWANaで採用されたTDMA方式は、管理端末と呼ばれる1台の端末(データ送受信装置)によりネットワーク内の各端末(データ送受信装置)が管理される。なお、管理端末により管理される端末をクライアント端末と呼称する。   Hereinafter, the outline of the TDMA system adopted in the HiSWANA standard will be briefly described. In the TDMA system adopted in HiSWANA, each terminal (data transmission / reception apparatus) in a network is managed by one terminal (data transmission / reception apparatus) called a management terminal. A terminal managed by the management terminal is called a client terminal.

管理端末は、ネットワーク全体の時刻同期を管理するために、Beacon(ビーコン)信号と呼ばれるパケットデータ(以下、BCH:Broadcast CHannelと表記)を予め定められた周期で同報通信する(HiSWANaでは2ms周期)。   In order to manage time synchronization of the entire network, the management terminal broadcasts packet data called a beacon (beacon) signal (hereinafter referred to as BCH: Broadcast CHannel) at a predetermined cycle (a 2 ms cycle in HiSWANA). ).

ネットワーク内に配置された各クライアント端末は、BCHを受信すると、それを基準に、端末内の基準時刻情報をリセットするとともに、管理端末より送信される各種制御パケットの受信準備を開始する。管理端末は、BCH送出後、ネットワークに接続された各クライアント端末のデータ送信スケジュールを含むネットワークシステム制御用のパケットデータ(以下、FCH:Frame CHannelと表記)を、各クライアント端末に対して同報通信する。   Upon receiving the BCH, each client terminal arranged in the network resets the reference time information in the terminal and starts preparation for receiving various control packets transmitted from the management terminal. After transmitting the BCH, the management terminal broadcasts packet data for network system control (hereinafter referred to as FCH: Frame CHannel) including the data transmission schedule of each client terminal connected to the network to each client terminal. To do.

上記FCHには、ネットワークに接続された各クライアント端末のデータ送信、および受信のスケジュール(データの送受信スロット情報(送受信開始タイミング情報、データ送受信時間情報など))が付加され送信される。各クライアント端末は、FCHを受信すると、自端末がデータを受信するタイミングおよび自端末がデータを送信するタイミングを検出する。   Data transmission and reception schedules (data transmission / reception slot information (transmission / reception start timing information, data transmission / reception time information, etc.)) of each client terminal connected to the network are added to the FCH and transmitted. When each client terminal receives the FCH, each client terminal detects the timing at which the terminal receives data and the timing at which the terminal transmits data.

管理端末は、FCHの送信に引き続き、各クライアント端末に対して送信要求受信通知のパケットデータ(以下、ACH:Access feedback CHannelと表記)を送信する。管理端末より、上記BCH、FCH、ACHの各パケットデータの送信が完了すると、FCHにて通知されたスケジュールに基づき各クライアント端末はパケットデータの受信、および送信動作を開始する(以下、各端末間でデータの送受信を行う期間をTCHと表記)。   Following the transmission of the FCH, the management terminal transmits packet data of a transmission request reception notification (hereinafter referred to as ACH: Access feedback CHannel) to each client terminal. When transmission of the BCH, FCH, and ACH packet data from the management terminal is completed, each client terminal starts receiving and transmitting packet data based on the schedule notified on the FCH (hereinafter, between each terminal). The period during which data is transmitted and received is denoted as TCH).

TDMA方式では、管理端末は送信したいデータを持つクライアント端末についてのみデータ送信スロットをスケジューリングする。従って、送信したいデータを持つクライアント端末は、管理端末に対して自端末のデータを送信するためのスロットを割り振るよう要求する必要がある。上記HiSWANa規格で採用されたTDMA方式では、各クライアント端末より送信リクエストを受け付けるため、1Beacon周期内(以下、1フレームと表記)の最後に、各端末からの上記送信スロット要求リクエスト(帯域割当要求)を受け付けるためのCSMA(Carrier Sense Multiple Access)期間(以下、RCH:Random access CHannel期間と表記)を準備している。   In the TDMA scheme, the management terminal schedules data transmission slots only for client terminals having data to be transmitted. Therefore, the client terminal having data to be transmitted needs to request the management terminal to allocate a slot for transmitting the data of the own terminal. In the TDMA system adopted in the HiSWANA standard, a transmission request is accepted from each client terminal, so that the transmission slot request request (bandwidth allocation request) from each terminal is received at the end of one Beacon period (hereinafter referred to as one frame). CSMA (Carrier Sense Multiple Access) period (hereinafter referred to as RCH: Random access CHannel period) is prepared.

管理端末は、RCH期間に上記送信スロット要求リクエストを受け取った端末に対しては、次の1フレームのBeacon周期内のACHにて帯域割当要求を受け取った旨を通知する。   The management terminal notifies the terminal that has received the transmission slot request request during the RCH period that the bandwidth allocation request has been received on the ACH within the Beacon period of the next one frame.

次に、上述したHiSWANa規格をベースとしたTDMA方式を、例えば高速PLCに適用した従来のデータ送受信装置におけるシステム構成について説明する。   Next, a system configuration in a conventional data transmission / reception apparatus in which the above-described TDMA scheme based on the HiSWANA standard is applied to, for example, a high-speed PLC will be described.

一般に、無線LANや高速PLCをベースとしたデータ送受信装置では、クライアント端末間でデータの送受信を実施する際は、管理端末経由でデータの送受信を実施する。具体的には、第1のクライアント端末から第2のクライアント端末にデータを送信する際は、第1のクライアント端末は管理端末に対して送信データを送り、データを受け取った管理端末は第2のクライアント端末に受信したデータを送信する。この場合、第1のクライアント端末から第2のクライアント端末に対してのデータの送信であるにもかかわらず、管理端末を経由するため、限られた帯域を2倍使用することになる。   In general, in a data transmission / reception apparatus based on a wireless LAN or a high-speed PLC, data transmission / reception is performed via a management terminal when data transmission / reception is performed between client terminals. Specifically, when transmitting data from the first client terminal to the second client terminal, the first client terminal sends transmission data to the management terminal, and the management terminal that has received the data receives the second data Send the received data to the client terminal. In this case, although the data is transmitted from the first client terminal to the second client terminal, the limited bandwidth is used twice because it passes through the management terminal.

このような問題を解決するため、クライアント端末間で直接にデータの送受信を実施する方法がある。すなわち、TDMA方式では、先に説明したように、管理端末と各クライアント端末間の同期は、定期的に管理端末から出力されるBeacon信号によって確保されている。従って、スケジューリングの概念を拡張することにより同期の取れたクライアント端末間の直接通信が可能となる。   In order to solve such a problem, there is a method of directly transmitting and receiving data between client terminals. That is, in the TDMA system, as described above, synchronization between the management terminal and each client terminal is ensured by the Beacon signal periodically output from the management terminal. Therefore, by extending the concept of scheduling, direct communication between synchronized client terminals becomes possible.

以下、管理端末により同期の取れたクライアント端末間で直接通信を行う事例として、管理端末である寝室のTV(Television)システムと、クライアント端末である子供部屋のTVシステム、同じくクライアント端末である居間のレコーダの3つのAV(Audio Visual)機器が高速PLCに接続されており、居間のレコーダから子供部屋のTVシステムに映像ストリームデータが送信され、子供部屋のTVシステムで映像を表示している例を挙げる。   In the following, as an example of direct communication between client terminals synchronized by the management terminal, the TV system in the bedroom that is the management terminal, the TV system in the child room that is the client terminal, and the living room that is also the client terminal An example in which three AV (Audio Visual) devices of a recorder are connected to a high-speed PLC, video stream data is transmitted from the recorder in the living room to the TV system in the child room, and video is displayed on the TV system in the child room I will give you.

この例においては、寝室のTVシステムから出力されるBCHにより子供部屋のテレビおよび居間のレコーダは同期の取れた通信が可能となっており、また、寝室のTVシステムから出力されるFCHにより居間のレコーダの映像データ送信タイミングがスケジューリングされ、子供部屋のTVは居間のレコーダからの映像データ受信タイミングがスケジューリングされている。   In this example, the BCH output from the TV system in the bedroom enables the TV in the children's room and the recorder in the living room to perform synchronized communication, and the living room by the FCH output from the TV system in the bedroom. The video data transmission timing of the recorder is scheduled, and the video data reception timing from the recorder in the living room is scheduled for the TV in the child room.

しかし、上記事例において高速PLCの伝送路上にノイズが発生し、寝室のTVシステムと子供部屋のTVシステムの通信が途切れたものとする。このとき子供部屋のTVシステムとしては管理端末からのBCH、FCH等の制御情報が受信できなくなり、同期がとれなくなると共に、スケジュールデータが受信できなくなるため、映像表示が中断ないしは乱れるという状況が発生する。   However, in the above example, it is assumed that noise is generated on the transmission path of the high-speed PLC, and communication between the TV system in the bedroom and the TV system in the child room is interrupted. At this time, the TV system in the child room cannot receive control information such as BCH and FCH from the management terminal, cannot synchronize, and cannot receive the schedule data, so that the video display is interrupted or disturbed. .

以上述べたように、管理端末によりクライアント端末間の直接通信の制御が行われるネットワークの場合においては、管理端末とクライアント端末との通信が伝送路の不具合により途切れると、クライアント端末間の通信は伝送路の不具合がなくともそれらクライアント端末間のデータ送受信が途切れるといった問題がある。   As described above, in the case of a network where control of direct communication between client terminals is performed by the management terminal, communication between the client terminals is transmitted when communication between the management terminal and the client terminal is interrupted due to a failure in the transmission path. There is a problem that data transmission / reception between these client terminals is interrupted even if there is no problem in the road.

ここで、特許文献1では、管理端末を有しないクライアント端末間で直接にデータを送受信する自律分散的なアドホックネットワークにおいて、各通信装置間で複雑な同期処理を実行しなくとも、各通信装置間で通信処理を実行することが可能な通信システムについての記載がなされている。   Here, in Patent Document 1, in an autonomous decentralized ad hoc network in which data is directly transmitted and received between client terminals that do not have a management terminal, communication apparatuses can communicate with each other without executing complicated synchronization processing between the communication apparatuses. Describes a communication system capable of executing communication processing.

そして、特許文献1には、制御局と被制御局の関係を有しない複数の通信装置から構成される通信システムにおいて、信号の送信および/ 又は受信する複数の時間枠から構成された所定周期のスーパーフレームを自己の通信装置のクロック情報に基づいて設定するステップと; スーパーフレームにおいて, 少なくともビーコン信号を送信するための時間枠を決定するステップと; 自己の通信装置と通信可能な通信エリア内に存在する他の通信装置によりスーパーフレームの周期で送信されたビーコン信号を自己の通信装置が受信するステップと; 他の通信装置からのビーコン信号に記載された信号を送信および/ 又は受信するための時間枠と, 少なくとも自己の通信装置がビーコン信号を送信するための時間枠とを時間枠管理表に自己の通信装置のクロック情報に基づいて割当てるステップを有するものに関する記載がある。   Patent Document 1 discloses that a communication system including a plurality of communication apparatuses that do not have a relationship between a control station and a controlled station has a predetermined cycle configured from a plurality of time frames for transmitting and / or receiving signals. Setting a superframe based on clock information of the own communication device; determining at least a time frame for transmitting a beacon signal in the superframe; and within a communication area capable of communicating with the own communication device Receiving a beacon signal transmitted by another existing communication device in a superframe period; and transmitting and / or receiving a signal described in the beacon signal from the other communication device. The time frame and at least the time frame for the communication device to transmit the beacon signal are stored in the time frame management table. There is a description relating to one having a step of allocating based on clock information of a communication device.

しかしながら、特許文献1では、各クライアント端末が時間枠管理表の制御においてスーパーフレームに自己の通信装置のビーコン送信位置を割り当て、一定周期でビーコン信号が送信される。そのためデータを送信しない端末も一定周期でビーコン信号を送信するため、不必要な送信帯域を使用してしまうといった問題がある。   However, in Patent Document 1, each client terminal assigns a beacon transmission position of its own communication device to a super frame in the control of the time frame management table, and a beacon signal is transmitted at a constant period. For this reason, since a terminal that does not transmit data also transmits a beacon signal at a constant period, there is a problem that an unnecessary transmission band is used.

特に高速PLCでは1OFDMシンボルのシンボル長が長くとられている場合が多く、ネットワークに接続されている各クライアント端末が一定周期でビーコン信号を送出した場合、同期をとるためのオーバーヘッド(無駄な帯域使用)が発生するといった問題点がある。例えば、1OFDMシンボル長を50μsとし、プリアンブルを4シンボル、ペイロードを1シンボルとした場合でも、1クライアント端末あたり少なくともビーコン送出に250μsの伝送帯域を使用することになる。   In particular, in a high-speed PLC, the symbol length of one OFDM symbol is often long, and when each client terminal connected to the network sends a beacon signal at a fixed period, overhead for synchronization (useless bandwidth use) ) Occurs. For example, even if one OFDM symbol length is 50 μs, the preamble is 4 symbols, and the payload is 1 symbol, a transmission band of at least 250 μs is used for beacon transmission per client terminal.

特開2006−121332号公報JP 2006-121332 A

本発明は上記のような問題点を解消するためになされたものであり、クライアント端末間で直接通信が可能なネットワークシステムにおいて、管理端末とクライアント端末との通信が途切れた場合でも、クライアント端末間で伝送中の映像ストリームデータが途切れることなくクライアント端末間での同期を保持し、ネットワーク内に新たな管理端末を生起させることが可能なデータ送受信装置を提供することを目的とする。   The present invention has been made to solve the above problems, and in a network system capable of direct communication between client terminals, even when communication between the management terminal and the client terminal is interrupted, An object of the present invention is to provide a data transmission / reception apparatus capable of maintaining synchronization between client terminals without interruption of video stream data being transmitted and enabling a new management terminal to be created in the network.

本発明に係る請求項1記載のデータ送受信装置は、ネットワークシステムの複数の端末のそれぞれに含まれるデータ送受信装置であって、前記複数の端末は、他の端末を管理する管理端末と、該管理端末により管理されるクライアント端末を複数含み、前記管理端末より定期的に出力される同期情報、およびスケジュール情報に基づいて前記複数の端末間での映像データおよび制御データの送受信が実行され、前記データ送受信装置は、前記管理端末より出力される同期情報およびスケジュール情報を検出する制御情報検出部と、前記同期情報および前記スケジュール情報が前記管理端末から正常に受信できたか否かの受信状況情報を確認するとともに、前記受信状況情報に基づいて前記管理端末と継続して正常に通信ができているか否かを判断して、受信状況経過情報を生成する制御部とを備え、前記制御部は、前記受信状況経過情報により前記管理端末と継続して正常に通信できないないと判断された場合、管理端末通信不良通知を生成して他のクライアント端末に送信し、前記他のクライアント端末から前記管理端末に代わる新管理端末候補としての承認を得ることで、自機が、前記新管理端末として動作を開始するように制御する。   The data transmission / reception apparatus according to claim 1 of the present invention is a data transmission / reception apparatus included in each of a plurality of terminals of a network system, wherein the plurality of terminals include a management terminal that manages other terminals, and the management A plurality of client terminals managed by a terminal, and transmission and reception of video data and control data between the plurality of terminals based on synchronization information and schedule information periodically output from the management terminal; The transmission / reception device confirms reception status information indicating whether the synchronization information and the schedule information have been normally received from the management terminal, and a control information detection unit that detects synchronization information and schedule information output from the management terminal And whether or not normal communication with the management terminal can be normally performed based on the reception status information. A control unit that generates reception status progress information, and when the control unit determines that continuous communication with the management terminal cannot be normally performed based on the reception status progress information, the management terminal communication failure A notification is generated and transmitted to another client terminal, and approval from the other client terminal as a candidate for a new management terminal replacing the management terminal is obtained, so that the own device starts operating as the new management terminal. To control.

本発明に係る請求項1記載のデータ送受信装置によれば、クライアント端末において、受信状況経過情報により管理端末と継続して正常に通信できないないと判断された場合、管理端末通信不良通知を生成して他のクライアント端末に送信し、他のクライアント端末から管理端末に代わる新管理端末候補としての承認を得ることで、自機が、新管理端末として動作を開始するので、再びネットワーク内に新たな管理端末を生起させることができる。   According to the data transmitting / receiving apparatus according to claim 1 of the present invention, when the client terminal determines that continuous communication with the management terminal cannot be normally performed based on the reception status progress information, the management terminal communication failure notification is generated. To the other client terminal and get approval from the other client terminal as a candidate for the new management terminal in place of the management terminal. A management terminal can be created.

<A.実施の形態1>
<A−1.ネットワークシステムの構成>
図1は、本発明の実施の形態1に係るデータ送受信装置を備えた高速PLCネットワークシステムの構成を概略的に示す図である。なお、以下においては、データ送受信装置を端末と呼称する。
<A. Embodiment 1>
<A-1. Network system configuration>
FIG. 1 is a diagram schematically showing a configuration of a high-speed PLC network system including a data transmitting / receiving apparatus according to Embodiment 1 of the present invention. In the following, the data transmitting / receiving apparatus is referred to as a terminal.

図1に示すように、当該高速PLCネットワークシステムは、ネットワーク全体を管理する管理端末1、PLCネットワークシステムに接続されたクライアント端末A3、クライアント端末B5およびクライアント端末B7と、信号ラインともなる電灯線9とを備え、管理端末1、クライアント端末A3、クライアント端末B5およびクライアント端末B7と電灯線9との間は、それぞれ電源コンセント2、4、6および8によって電気的に接続されている。   As shown in FIG. 1, the high-speed PLC network system includes a management terminal 1 that manages the entire network, a client terminal A3, a client terminal B5, and a client terminal B7 connected to the PLC network system, and a power line 9 that also serves as a signal line. The management terminal 1, the client terminal A3, the client terminal B5, and the client terminal B7 and the power line 9 are electrically connected by power outlets 2, 4, 6, and 8, respectively.

なお、図1に示された高速PLCネットワークシステムの構成は、本発明のデータ送受信装置が適用できるシステム構成の一例であり、本発明のデータ送受信装置は、他の構成を持つ高速PLCネットワークシステム、無線LANを用いたネットワークシステム、Ethernet(登録商標)を用いたネットワークシステムなどの他のシステムにも適用可能である。また、本発明に係るデータ送受信装置は、TVシステム、DVDレコーダの内部において、Ethernetインターフェイスを介して接続されているものとする。   The configuration of the high-speed PLC network system shown in FIG. 1 is an example of a system configuration to which the data transmission / reception apparatus of the present invention can be applied. The data transmission / reception apparatus of the present invention includes a high-speed PLC network system having other configurations, The present invention can also be applied to other systems such as a network system using a wireless LAN and a network system using Ethernet (registered trademark). The data transmitting / receiving apparatus according to the present invention is connected to the TV system and DVD recorder via the Ethernet interface.

<A−2.ネットワークシステムの概略動作>
次に、図1を用いて高速PLCネットワーク内での管理端末1の動作を中心として、当該ネットワークシステムの概略動作について説明する。なお、実施の形態1では、MAC(Media Access Control)方式として、従来技術として説明したHiSWANa規格で採用されたTDMA方式を採用した場合を例に説明する。
<A-2. Overview of network system operations>
Next, the schematic operation of the network system will be described with reference to FIG. 1, focusing on the operation of the management terminal 1 in the high-speed PLC network. In the first embodiment, a case will be described as an example where the TDMA method adopted in the HiSWANa standard described as the prior art is adopted as the MAC (Media Access Control) method.

<A−2−1.管理端末の動作>
管理端末1は、最初にネットワーク全体の時刻同期を管理するために同期情報としてBeacon信号(BCH:Broadcast CHannel)を予め定められた周期で同報通信する。BCH送信後、管理端末1は高速PLCネットワーク内の各クライアント端末のデータ受信およびデータ送信のタイミング情報(FCH:Frame CHannel)を同報通信する。FCH送信後、前フレームで各クライアント端末より出力されるRCH(Random access CHannel)を受信した場合、RCHの送信クライアント端末に対して正常受信したことを通知するACH(Access feedback CHannel)を出力する。
<A-2-1. Operation of management terminal>
The management terminal 1 first broadcasts a Beacon signal (BCH: Broadcast CHannel) as synchronization information at a predetermined cycle in order to manage time synchronization of the entire network. After the BCH transmission, the management terminal 1 broadcasts data reception and data transmission timing information (FCH: Frame CHannel) of each client terminal in the high-speed PLC network. When an RCH (Random access CHannel) output from each client terminal is received in the previous frame after the FCH transmission, an ACH (Access feedback CHannel) for notifying the RCH transmission client terminal of normal reception is output.

ACH送信後は、FCHにて送信されたスケジュールに基づき管理端末1、クライアント端末A3、クライアント端末B5およびクライアント端末C7は、各クライアント端末間でのデータの送受信を実施する。   After the ACH transmission, the management terminal 1, the client terminal A3, the client terminal B5, and the client terminal C7 perform data transmission / reception between the client terminals based on the schedule transmitted on the FCH.

また、管理端末1は高速PLCネットワーク内で伝送路上にノイズが発生するなどしてクライアント端末との通信が途切れ、その結果、元はクライアント端末であった端末が新たな管理端末として生起しているのを確認したとき、管理端末からクライアント端末となるよう制御する動作を実施する(詳細は後述)。   In addition, the management terminal 1 is disconnected from the client terminal due to noise generated on the transmission path in the high-speed PLC network, and as a result, the terminal that was originally the client terminal is generated as a new management terminal. When this is confirmed, an operation of controlling the management terminal to become a client terminal is performed (details will be described later).

<A−2−2.クライアント端末の動作>
次に、クライアント端末の動作について説明する。クライアント端末は、管理端末1より出力されるBCHを受信すると、そのBCHに基づいてクライアント端末内の基準時刻を同期させる。
<A-2-2. Operation of client terminal>
Next, the operation of the client terminal will be described. When the client terminal receives the BCH output from the management terminal 1, the client terminal synchronizes the reference time in the client terminal based on the BCH.

基準時刻の同期を実施した後、各クライアント端末は管理端末1より出力されるFCHに基づいて、それぞれのデータ送信タイミングおよびデータ受信タイミングを内部に設定し、データの送信および受信準備を開始する。データの送信の場合は、FCHに基づく送信時刻が近づくとPLC送信制御部(詳細は後述)は送信データの生成を開始し、所定のタイミングで電灯線9に送信データを送出する。データの受信の場合は、FCHに基づく受信時刻になるとPLC受信制御部(詳細は後述)が受信データを復調し、誤り検出などのデータ受信動作を実施する。   After the synchronization of the reference time, each client terminal sets the respective data transmission timing and data reception timing internally based on the FCH output from the management terminal 1, and starts data transmission and reception preparation. In the case of data transmission, when the transmission time based on the FCH approaches, the PLC transmission control unit (details will be described later) starts generating transmission data, and transmits the transmission data to the power line 9 at a predetermined timing. In the case of data reception, when the reception time based on the FCH is reached, a PLC reception control unit (details will be described later) demodulates the received data and performs a data reception operation such as error detection.

FCHでのスケジュールに基づくデータの送受信が終了すると、各クライアント端末は送信データを持っている場合はRCHの期間に管理端末1に対して帯域割当要求を出力する。   When transmission / reception of data based on the schedule on the FCH is completed, each client terminal outputs a bandwidth allocation request to the management terminal 1 during the RCH period when it has transmission data.

また、各クライアント端末は、管理端末1との通信状況を監視し、正常に通信ができていなと判断した場合、自クライアント端末のデータ受信状況に基づいて新たな管理端末の候補として生起し、他クライアント端末からの承認により、新たな管理端末として動作を開始する制御を実施する(詳細は後述)。   In addition, each client terminal monitors the communication status with the management terminal 1, and when it is determined that the communication is not normally performed, it occurs as a new management terminal candidate based on the data reception status of its own client terminal, A control for starting the operation as a new management terminal is performed by approval from another client terminal (details will be described later).

<A−3.高速PLC端末の構成>
<A−3−1.データ送受信装置の構成>
次に、図2〜図5を用いて高速PLC端末の構成を説明する。
図2は本発明に係るデータ送受信装置を高速PLC端末に適用した場合のデータ送受信装置10の構成を示すブロック図である。
<A-3. Configuration of high-speed PLC terminal>
<A-3-1. Configuration of data transmitter / receiver>
Next, the configuration of the high-speed PLC terminal will be described with reference to FIGS.
FIG. 2 is a block diagram showing the configuration of the data transmitting / receiving apparatus 10 when the data transmitting / receiving apparatus according to the present invention is applied to a high-speed PLC terminal.

図2に示すように、データ送受信装置10は、CPU(Central Processing Unit)11、Ethernetインターフェイス回路12、ブリッジインターフェイス回路13、ブリッジ用メモリ14、PLCモデム回路15、PLC送信用メモリ16、PLC受信用メモリ17およびCPUバス18を備えている。   As shown in FIG. 2, the data transmitter / receiver 10 includes a CPU (Central Processing Unit) 11, an Ethernet interface circuit 12, a bridge interface circuit 13, a bridge memory 14, a PLC modem circuit 15, a PLC transmission memory 16, and a PLC reception. A memory 17 and a CPU bus 18 are provided.

ここで、ブリッジインターフェイス回路13は、Ethernetインターフェイス回路12より入力されるEthernetフレームデータ、Ethernetインターフェイス回路12へ出力されるEthernetフレームデータ、PLCモデム回路15へ出力されるEthernetフレームデータ、PLCモデム回路15から入力されるEthernetフレームデータをブリッジする回路である。   Here, the bridge interface circuit 13 includes Ethernet frame data input from the Ethernet interface circuit 12, Ethernet frame data output to the Ethernet interface circuit 12, Ethernet frame data output to the PLC modem circuit 15, and the PLC modem circuit 15. This circuit bridges input Ethernet frame data.

また、ブリッジ用メモリ14は、ブリッジインターフェイス回路13に入力されたEthernetフレームが、宛先ごとに振り分けられて記憶するメモリであり、PLC送信用メモリ16は、電灯線9(図1)を介して送出するMACフレームデータを記憶するメモリであり、PLC受信用メモリ17は、電灯線9を介して受信したMACフレームデータを記憶するメモリである。   The bridge memory 14 is a memory in which the Ethernet frame input to the bridge interface circuit 13 is sorted and stored for each destination, and the PLC transmission memory 16 is transmitted via the power line 9 (FIG. 1). The PLC reception memory 17 is a memory for storing MAC frame data received via the power line 9.

そして、Ethernetインターフェイス回路12は、入力端子20および出力端子21を介してEthernetフレームデータを、外部からデータ送受信装置10に入力およびデータ送受信装置10から外部に出力する回路であり、PLCモデム回路15は、出力端子22を介して外部にフレームデータを送信し、また入力端子23を介して入力されたPLCフレームを受信する回路である。   The Ethernet interface circuit 12 is a circuit for inputting Ethernet frame data from the outside to the data transmitting / receiving device 10 via the input terminal 20 and the output terminal 21 and outputting the data from the data transmitting / receiving device 10 to the outside. In this circuit, the frame data is transmitted to the outside through the output terminal 22 and the PLC frame input through the input terminal 23 is received.

一般に、高速PLCネットワークでは、電灯線9(図1)に接続された各端末を論理ポートという概念を用いて、ブリッジインターフェイス回路13において、宛先(図1中の管理端末1、クライアント端末A3、クライアント端末B5およびクライアント端末C7)ごとにデータを振り分けて、ブリッジ用メモリ14内にキューイングする。   In general, in a high-speed PLC network, each terminal connected to the power line 9 (FIG. 1) uses the concept of a logical port, and the bridge interface circuit 13 uses a destination (the management terminal 1, the client terminal A3, the client in FIG. Data is distributed to each terminal B5 and client terminal C7) and queued in the bridge memory 14.

具体的にはEthernetインターフェイス回路12より入力されるEthernetフレームデータを、その行き先ごとにブリッジ用メモリ14内に振り分けて記憶する処理である。   Specifically, this is a process of distributing and storing Ethernet frame data input from the Ethernet interface circuit 12 in the bridge memory 14 for each destination.

<A−3−2.PLCモデム回路の構成>
図3は、図2に示したデータ送受信装置10内のPLCモデム回路15の構成を示すブロック図である。
図3に示すようにPLCモデム回路15は、ブリッジインターフェイス回路13より入力端子30を介して入力されるEthernetデータを複数個連結してPLC用MACフレームデータを生成するPLC送信制御回路40と、電灯線9(図1)を介して受信したPLC用MACフレームデータからEthernetフレームデータを分離して出力端子31を介してブリッジインターフェイス回路13に出力するPLC受信制御回路50とを備えている。また、PLC送信制御回路40は、PLC送信用メモリ16との間で、送信用のMACフレームデータの授受を行い、PLC受信制御回路50は、受信用メモリ17との間で、MACフレームデータの授受を行う。
<A-3-2. Configuration of PLC modem circuit>
FIG. 3 is a block diagram showing a configuration of the PLC modem circuit 15 in the data transmitting / receiving apparatus 10 shown in FIG.
As shown in FIG. 3, the PLC modem circuit 15 includes a PLC transmission control circuit 40 that generates a MAC frame data for PLC by connecting a plurality of Ethernet data input from the bridge interface circuit 13 via the input terminal 30, and an electric lamp. A PLC reception control circuit 50 that separates Ethernet frame data from the PLC MAC frame data received via the line 9 (FIG. 1) and outputs it to the bridge interface circuit 13 via the output terminal 31 is provided. The PLC transmission control circuit 40 exchanges MAC frame data for transmission with the PLC transmission memory 16, and the PLC reception control circuit 50 exchanges MAC frame data with the reception memory 17. Give and receive.

<A−3−3.PLC送信制御回路の構成>
図4は、図3に示したPLC送信制御回路40の構成を示すブロック図である。
図4に示すようにPLC送信制御回路40は、PLCフレームに付加するMACヘッダを生成するPLCヘッダ生成回路401、ブリッジインターフェイス回路13から入力端子30を介して入力されるEthernetフレームデータを複数個集めて送信データを生成するパケットデータ生成回路402、パケットデータ生成回路402から出力されるデータに暗号化を施す暗号化回路403、後述するPLCネットワーク制御データ生成回路408より出力されるBeaconフレームデータやスケジュールデータ、新たな管理端末の生起に関する情報などと暗号化回路403より出力される暗号化されたデータとの切り換えを行うセレクタ404、セレクタ404より出力されるデータの先頭にPLCヘッダ生成回路401にて生成されたPLC用MACヘッダを付加するヘッダ付加回路405、ヘッダ付加回路405より出力されるデータと、後述するPLC送信用メモリ制御回路409より出力されるデータとの切り換えを行うセレクタ406、後述のPLCネットワーク制御データ生成回路408に基づき、データ送受信装置10よりPLCネットワークへ出力するデータの送出タイミングを生成するPLC送信タイミング生成回路407、PLCネットワーク制御データ生成回路408、PLC送信用メモリ制御回路409および、出力端子22を介して外部に送信するPLCフレームにCRC符号(誤り検出符号)を付加するCRC符号付加回路410を備えている。
<A-3-3. Configuration of PLC transmission control circuit>
FIG. 4 is a block diagram showing a configuration of PLC transmission control circuit 40 shown in FIG.
As shown in FIG. 4, the PLC transmission control circuit 40 collects a plurality of Ethernet frame data input from the bridge interface circuit 13 via the input terminal 30 and a PLC header generation circuit 401 that generates a MAC header to be added to the PLC frame. Packet data generation circuit 402 for generating transmission data, encryption circuit 403 for encrypting data output from packet data generation circuit 402, Beacon frame data and schedule output from PLC network control data generation circuit 408 described later A selector 404 that switches between data, information on the occurrence of a new management terminal, and the like, and encrypted data output from the encryption circuit 403, and a PLC header generation circuit 401 at the head of the data output from the selector 404 Generated A header addition circuit 405 for adding a PLC MAC header, a selector 406 for switching between data output from the header addition circuit 405 and data output from a PLC transmission memory control circuit 409 described later, a PLC network described later Based on the control data generation circuit 408, a PLC transmission timing generation circuit 407, a PLC network control data generation circuit 408, a PLC transmission memory control circuit 409, and an output for generating a transmission timing of data output from the data transmitting / receiving device 10 to the PLC network. A CRC code adding circuit 410 for adding a CRC code (error detection code) to a PLC frame transmitted to the outside via the terminal 22 is provided.

ここで、PLCネットワーク制御データ生成回路408は、後述のPLC制御フレームデータ記憶回路505(図5)からの出力によりCPU11が決定したスケジュールデータをもとに、データ送信タイミングをPLC送信タイミング生成回路407へ指示するとともに、CPU11からの情報に基づく自端末の基準時刻情報、前回の受信タイミングで、受信データが正常受信されたか否かを示すACK/NACK情報、送信するデータに付加するシーケンスナンバー、BCH、FCH等の制御チャンネルに付加するBeacon制御データ、管理端末を新たに生起させる制御情報などのデータを生成してセレクタ404に出力する回路である。   Here, the PLC network control data generation circuit 408 determines the data transmission timing based on the schedule data determined by the CPU 11 based on the output from the PLC control frame data storage circuit 505 (FIG. 5), which will be described later. And the reference time information of the terminal based on the information from the CPU 11, the ACK / NACK information indicating whether or not the received data has been normally received at the previous reception timing, the sequence number added to the data to be transmitted, and the BCH This is a circuit for generating data such as Beacon control data to be added to a control channel such as FCH and control information for newly generating a management terminal and outputting the data to the selector 404.

また、PLC送信用メモリ制御回路409は、再送制御時に使用する送信フレームを、PLC送信用メモリ16に記憶する際の書き込み制御信号を発生するとともに、再送時にPLC送信用メモリ16内に記憶されているデータを読み出すための読み出し制御信号を発生する回路である。   The PLC transmission memory control circuit 409 generates a write control signal for storing the transmission frame used in the retransmission control in the PLC transmission memory 16 and is stored in the PLC transmission memory 16 in the retransmission. It is a circuit that generates a read control signal for reading the data being read.

<A−3−4.PLC受信制御回路の構成>
図5は、図3に示したPLC受信制御回路50の構成を示すブロック図である。
図5に示すようにPLC受信制御回路50は、受信されたPLCフレームよりMACヘッダを分離しその内容を解析するPLCヘッダ解析回路501、受信されたPLCフレームに付加されたCRC情報に基づいて受信PLCフレーム内に発生した誤りを検出するCRC復号回路502、ヘッダ解析回路501より出力される暗号化の施されたデータを復号する暗号復号回路503、PLCフレームに付加されているスケジュール情報などの制御フレーム情報、管理端末を新たに生起させる制御情報などと、Ethernetフレーム情報などを分離するPLC制御フレーム分離回路504、PLC制御フレーム分離回路504により分離されたPLC制御フレーム情報を一時的に記憶するPLC制御フレームデータ記憶回路505、PLC受信用メモリ制御回路506、PLC受信タイミング生成回路507およびPLCネットワーク制御データ解析回路508を備えている。なお、PLCヘッダ解析回路501、暗号復号回路503およびPLC制御フレーム分離回路504は、BCH、FCH等の制御フレーム情報を検出する制御情報検出部を構成している。
<A-3-4. Configuration of PLC reception control circuit>
FIG. 5 is a block diagram showing a configuration of PLC reception control circuit 50 shown in FIG.
As shown in FIG. 5, the PLC reception control circuit 50 separates the MAC header from the received PLC frame and analyzes the contents thereof, and receives based on the CRC information added to the received PLC frame. Control of CRC decoding circuit 502 for detecting errors occurring in the PLC frame, encryption / decryption circuit 503 for decoding encrypted data output from the header analysis circuit 501, schedule information added to the PLC frame, etc. PLC information for temporarily storing PLC control frame information separated by PLC control frame separation circuit 504, PLC control frame separation circuit 504 for separating frame information, control information for newly generating a management terminal, and Ethernet frame information, etc. Control frame data storage circuit 505, PLC And a credit memory control circuit 506, PLC reception timing generating circuit 507 and the PLC network control data analyzing circuit 508. Note that the PLC header analysis circuit 501, the encryption / decryption circuit 503, and the PLC control frame separation circuit 504 constitute a control information detection unit that detects control frame information such as BCH and FCH.

ここで、PLC受信用メモリ制御回路506は、PLC制御フレーム分離回路504より出力されるEthernetフレーム情報を、一旦、PLC受信用メモリ17に記憶させるための制御信号を生成するとともに、CRC復号回路502より出力される誤り検出結果に基づいて、PLC受信用メモリ17に記憶されているEthernetフレーム情報の読み出し制御を実施する回路である。   Here, the PLC reception memory control circuit 506 generates a control signal for temporarily storing the Ethernet frame information output from the PLC control frame separation circuit 504 in the PLC reception memory 17, and the CRC decoding circuit 502. This is a circuit that performs read control of Ethernet frame information stored in the PLC reception memory 17 based on an error detection result output from the network.

PLC受信タイミング生成回路507は、PLCネットワーク制御データ解析回路508より出力される解析結果に基づき、PLCからのデータ受信タイミングを生成して、ヘッダ解析回路501、CRC復号回路502、暗号復号回路503、PLC制御フレーム分離回路504およびPLC受信用メモリ制御回路506に与える回路である。   The PLC reception timing generation circuit 507 generates a data reception timing from the PLC based on the analysis result output from the PLC network control data analysis circuit 508, and generates a header analysis circuit 501, a CRC decryption circuit 502, an encryption decryption circuit 503, This circuit is provided to the PLC control frame separation circuit 504 and the PLC reception memory control circuit 506.

また、PLCネットワーク制御データ解析回路508は、PLC制御フレームデータ記憶回路505からの出力に基づいてスケジュールデータを解析し、データ受信タイミングをPLC受信タイミング生成回路507に指示する回路である。   The PLC network control data analysis circuit 508 is a circuit that analyzes the schedule data based on the output from the PLC control frame data storage circuit 505 and instructs the PLC reception timing generation circuit 507 about the data reception timing.

また、PLCネットワーク制御データ解析回路508は管理端末からのBCH、FCHなどの制御情報の受信状況を解析し、BCHあるいはFCHが受信できなかった場合、受信したPLC用MACヘッダに付加された送信端末の時刻情報に基づき、受信端末内の時刻を調整するようにPLC受信タイミング生成回路507に時刻情報を出力すると共に、CPU11に通知する他、管理端末を新たに生起させる制御情報などの受信状況の解析も行う。   Also, the PLC network control data analysis circuit 508 analyzes the reception status of control information such as BCH and FCH from the management terminal, and when the BCH or FCH cannot be received, the transmission terminal added to the received PLC MAC header In addition to outputting the time information to the PLC reception timing generation circuit 507 so as to adjust the time in the receiving terminal based on the time information, and notifying the CPU 11, the reception status of the control information that causes the management terminal to newly occur Analyze.

<A−4.1フレーム内のデータの送信タイミング>
管理端末1では、PLCネットワーク全体の時刻同期を管理するため、従来の技術としても説明したように、周期的にBCHによりBeacon信号を、またFCHによりスケジュール情報を出力してネットワークを管理する。
<Transmission timing of data in A-4.1 frame>
In order to manage time synchronization of the entire PLC network, the management terminal 1 periodically outputs a Beacon signal using the BCH and schedule information using the FCH to manage the network as described in the related art.

図6には、1フレーム内の各種データの送信タイミングを示す。
図6に示すように、1フレームにおいては、BCH、FCHおよびACHの順にネットワーク管理情報を送信した後、データ送受信期間にn個の通信スロットL1〜Lnを送信し、最後にRCHを送信することとなる。
FIG. 6 shows the transmission timing of various data in one frame.
As shown in FIG. 6, in one frame, after transmitting network management information in the order of BCH, FCH and ACH, n communication slots L1 to Ln are transmitted in the data transmission / reception period, and finally RCH is transmitted. It becomes.

実施の形態1では、BCHなどのPLCネットワーク管理情報は20ms周期で出力されるものとする。よって、管理端末1内のPLC送信制御回路40ではBeaconフレーム、およびスケジュール情報を20msに一度の間隔で生成することになる。   In the first embodiment, it is assumed that PLC network management information such as BCH is output in a cycle of 20 ms. Therefore, the PLC transmission control circuit 40 in the management terminal 1 generates a Beacon frame and schedule information at an interval of once every 20 ms.

また、実施の形態1では、Beaconフレーム情報としては、Beaconフレームを送出する際の管理端末1の時刻情報をペイロード情報として送出するものとする。   Further, in the first embodiment, as the Beacon frame information, the time information of the management terminal 1 when the Beacon frame is transmitted is transmitted as payload information.

具体的には、Beaconフレーム送出時のPLCネットワーク制御データ生成回路408(図4)内の基準時刻情報を、ペイロード情報としてセレクタ404に出力する。一方、受信側となるクライアント端末では、Beaconフレーム情報を受信すると、内部の受信基準時刻をBeaconフレームに付加された送信側基準時刻に同期させる。管理端末1はBCHの送信に引き続きFCH(スケジュール情報)の送信を実施する。   Specifically, the reference time information in the PLC network control data generation circuit 408 (FIG. 4) at the time of transmitting the Beacon frame is output to the selector 404 as payload information. On the other hand, when receiving the Beacon frame information, the client terminal on the receiving side synchronizes the internal reception reference time with the transmission reference time added to the Beacon frame. The management terminal 1 performs transmission of FCH (schedule information) following transmission of BCH.

図6に示すように、FCH内には受信時に受信データの先頭位置、およびクロック位相を検出するためのプリアンブル情報と、プリアンブル情報に続いて送信されるスケジュール情報とが含まれている。そして、スケジュール情報には、データ送受信期間に設けられた通信スロットL1〜Lnにそれぞれ対応させて、送信開始時間、送信時間、どの端末(送信端末)からどの端末(受信端末)へのデータ送信かを示す端末情報、およびデータを送受信する際の送受信関連情報が含まれている。   As shown in FIG. 6, the FCH includes preamble information for detecting the leading position of received data and a clock phase at the time of reception, and schedule information transmitted following the preamble information. In the schedule information, the transmission start time, the transmission time, and from which terminal (transmission terminal) to which terminal (reception terminal) data transmission correspond to each of the communication slots L1 to Ln provided in the data transmission / reception period. Terminal information indicating transmission / reception and information related to transmission / reception when data is transmitted / received.

実施の形態1では、送信端末情報および受信端末情報については、各端末の持つMACアドレス(Media Access Control Address)情報を用いるものとする。なお、MACアドレス情報以外に、例えばそのPLCネットワーク内の論理ポート番号、あるいはネットワーク内でプライベートに定められた識別情報であっても良い。   In Embodiment 1, it is assumed that MAC address (Media Access Control Address) information possessed by each terminal is used for transmitting terminal information and receiving terminal information. In addition to the MAC address information, for example, it may be a logical port number in the PLC network, or identification information determined privately in the network.

このように、FCH内のスケジュール情報には通信スロットごとに対応した上記情報が付加されて伝送される。なお、通信スロットについては、映像ストリームの送信を開始するクライアント端末が、管理端末1に対してRCHのタイムスロットを利用し、帯域割当要求を伝送することにより、管理端末1は映像ストリームの送信要求のあった端末に対して通信帯域を割り当てる。その際、管理端末1は、映像ストリームのようにリアルタイム性の要求されるデータに関しては、固定的に帯域を割り当てるようにスケジューリングを実施する。なお、固定的に割り当てられた帯域を、固定帯域、あるいは固定帯域割当と称する。   As described above, the schedule information in the FCH is transmitted with the information added corresponding to each communication slot. Regarding the communication slot, the client terminal that starts transmission of the video stream uses the RCH time slot to transmit the bandwidth allocation request to the management terminal 1, so that the management terminal 1 transmits the video stream transmission request. A communication band is allocated to the terminal that has received. At this time, the management terminal 1 performs scheduling so that a band is fixedly allocated for data that requires real-time characteristics such as a video stream. The fixedly allocated band is referred to as a fixed band or fixed band allocation.

<A−5.管理端末の動作>
次に、図7〜図9に示すフローチャートを用いてスケジュール情報(FCH)の生成フローを含む管理端末1の動作について説明する。なお、図7における記号(A)と図8における記号(A)とで、図7と図8とが互いに接続されている。また、図8における記号(B)と図9における記号(B)とで、図8と図9とが互いに接続されている。さらに、図9における記号(C)と図7における記号(C)とで、図9と図7とが互いに接続されている。
<A-5. Operation of management terminal>
Next, the operation of the management terminal 1 including the schedule information (FCH) generation flow will be described using the flowcharts shown in FIGS. 7 and 8 are connected to each other by the symbol (A) in FIG. 7 and the symbol (A) in FIG. Moreover, FIG. 8 and FIG. 9 are mutually connected by the symbol (B) in FIG. 8, and the symbol (B) in FIG. Furthermore, FIG. 9 and FIG. 7 are mutually connected by the symbol (C) in FIG. 9 and the symbol (C) in FIG.

図7に示すように、管理端末1がデータの送受信を開始すると、管理端末1のCPU11は、は新管理端末が生起しているか否か(他端末からBCHを受信したか否か)についての監視を開始する(ステップS11)。   As shown in FIG. 7, when the management terminal 1 starts transmission / reception of data, the CPU 11 of the management terminal 1 determines whether or not a new management terminal has occurred (whether or not a BCH has been received from another terminal). Monitoring is started (step S11).

そして、BCH生成開始タイミングに達したか否かの確認動作を繰り返し(ステップS12)、BCH生成開始タイミングになると管理端末1はPLCネットワークを管理するBCHを生成し(ステップS13)、BCH送信開始タイミングに達したか否かの確認動作を繰り返す(ステップS14)。そして、BCH送信開始タイミングになると、各クライアント端末に向けてBCHを同報通信する(ステップS15)。   Then, the operation of confirming whether or not the BCH generation start timing has been reached is repeated (step S12). When the BCH generation start timing comes, the management terminal 1 generates a BCH for managing the PLC network (step S13), and the BCH transmission start timing. The operation of confirming whether or not has been reached is repeated (step S14). Then, at the BCH transmission start timing, the BCH is broadcast to each client terminal (step S15).

上記の動作を終えると、前回までに受信したRCHを解析し(ステップS16)、次の動作でのスケジュール情報(FCH)の生成開始の準備に入る。   When the above operation is completed, the RCH received up to the previous time is analyzed (step S16), and preparation for starting generation of schedule information (FCH) in the next operation is started.

そして、FCH生成開始タイミングに達したか否かの確認動作を繰り返し(ステップS17)、FCH生成開始タイミングとなると、管理端末1は固定帯域割当が実施されているクライアント端末があるか否かを確認し(ステップS18)、固定帯域が割り当てられているクライアント端末がある場合は、ステップS19で固定帯域用のタイムスロットを継続して割り当ててステップS20に進む。なお、固定帯域が割り当てられているクライアント端末が存在しない場合は、そのままステップS20に進む。   Then, the operation of confirming whether or not the FCH generation start timing has been reached is repeated (step S17). When the FCH generation start timing is reached, the management terminal 1 checks whether or not there is a client terminal for which fixed bandwidth allocation has been performed. However, if there is a client terminal to which the fixed bandwidth is assigned, the time slot for the fixed bandwidth is continuously assigned in step S19, and the process proceeds to step S20. If there is no client terminal to which the fixed bandwidth is allocated, the process proceeds to step S20 as it is.

ステップS20では、前フレームにて固定帯域用タイムスロット割当の解放要求をしているクライアント端末があったか否かを確認し、当該解放要求があった場合は、管理端末1はステップS21で当該要求を出したクライアント端末に対する固定帯域割当を解放してステップS22(図8)に進む。なお、解放要求をしているクライアント端末が存在しない場合は、そのままステップS22に進む。   In step S20, it is confirmed whether or not there is a client terminal that has requested release of fixed-band time slot allocation in the previous frame. If there is such a release request, the management terminal 1 sends the request in step S21. The fixed bandwidth allocation for the issued client terminal is released, and the process proceeds to step S22 (FIG. 8). If there is no client terminal making a release request, the process proceeds directly to step S22.

ステップS22では、管理端末1は前フレームで新たな固定帯域割当要求があったか否か確認する。新たな固定帯域割当要求があった場合は、現在割り当てている固定帯域用のタイムスロットを確認し、1フレーム内の通信スロットの余剰状態から新たな固定帯域を割り当てることができるか否かを確認する(ステップS23)。なお、新たな固定帯域割当要求がなかった場合はステップS26に進む。   In step S22, the management terminal 1 confirms whether or not there is a new fixed bandwidth allocation request in the previous frame. When there is a new fixed bandwidth allocation request, check the time slot for the currently allocated fixed bandwidth and check whether a new fixed bandwidth can be allocated from the surplus state of the communication slot in one frame (Step S23). If there is no new fixed bandwidth allocation request, the process proceeds to step S26.

そして、新たな固定帯域割当が可能な場合は、新たに固定帯域を要求してきたクライアント端末向けに固定帯域を割り当てる(ステップS24)。一方、新たに固定帯域を割り当てることができなかった場合は、新たに固定帯域を要求してきたクライアント端末向けに固定帯域割当不可通知(ACHに含めて送信される)を生成する(ステップS25)。   If a new fixed bandwidth can be allocated, a fixed bandwidth is allocated to the client terminal that has newly requested a fixed bandwidth (step S24). On the other hand, if a new fixed band cannot be allocated, a fixed band allocation impossible notification (transmitted in the ACH) is generated for a client terminal that has newly requested a fixed band (step S25).

次に、管理端末1のCPU11は、制御コマンド用の帯域割当要求が、クライアント端末よりあったか否かを確認する(ステップS26)。そして、制御コマンド用の帯域割当要求があった場合は、ステップS27で制御コマンド用のタイムスロットを割り当ててステップS28に進み、要求がなかった場合は、そのままステップS28に進む。   Next, the CPU 11 of the management terminal 1 checks whether or not a bandwidth allocation request for a control command has been received from the client terminal (step S26). If there is a control command bandwidth allocation request, a control command time slot is allocated in step S27 and the process proceeds to step S28. If there is no request, the process proceeds to step S28.

なお、実施の形態1では映像ストリームなどを伝送する場合、ユーザがリモコンで機器制御を実施する、あるいは著作権管理のために、鍵情報などを交換するなど様々なケースで映像ストリーム以外の制御コマンドがやりとりされることを想定している。従って、新規端末に対してステップS24にて固定帯域を割り当てる場合は、少なくとも1フレーム内に1タイムスロット以上の制御コマンド用の帯域を割り当てられるように帯域を確保した後、新規端末へのタイムスロットを割り当てるものとする。   In the first embodiment, when a video stream or the like is transmitted, a control command other than the video stream is used in various cases such as when the user performs device control with a remote control or exchanges key information for copyright management. Is assumed to be exchanged. Therefore, when allocating a fixed bandwidth to a new terminal in step S24, after securing the bandwidth so that a bandwidth for a control command of at least one time slot can be allocated within at least one frame, a time slot for the new terminal is allocated. Shall be assigned.

ステップS28では、管理端末1は各クライアント端末へBCH、FCHを含むPLCネットワーク制御情報などを送信するための管理端末送信用タイムスロットを割り当てる。   In step S28, the management terminal 1 assigns a management terminal transmission time slot for transmitting PLC network control information including BCH and FCH to each client terminal.

次に、管理端末1のCPU11は、前フレームにて固定帯域割当以外の通常の帯域割当(以下、通常帯域割当と表記)の要求があったか否かを確認する(ステップS29)。新たな通常帯域割当要求があった場合は、通常帯域を割り当てることができるか否かを確認する(ステップS30)。なお、新たな通常帯域割当要求がなかった場合はステップS33に進む。   Next, the CPU 11 of the management terminal 1 checks whether or not there has been a request for normal bandwidth allocation other than fixed bandwidth allocation (hereinafter referred to as normal bandwidth allocation) in the previous frame (step S29). If there is a new normal band allocation request, it is confirmed whether or not a normal band can be allocated (step S30). If there is no new normal bandwidth allocation request, the process proceeds to step S33.

そして、新たに通常帯域割当が可能であった場合は、新たに通常帯域を要求してきたクライアント端末向けに通常帯域を割り当てる(ステップS31)。一方、新たに通常帯域を割り当てることができなかった場合は、新たに通常帯域を要求してきたクライアント端末向けに通常帯域割当不可通知(ACHに含めて送信される)を生成する(ステップS32)。   If new normal band allocation is possible, the normal band is allocated to the client terminal that has newly requested the normal band (step S31). On the other hand, if a new normal band cannot be allocated, a normal band allocation impossible notification (transmitted in the ACH) is generated for the client terminal that has newly requested the normal band (step S32).

以上の各タイムスロットの割り当が完了すると、ステップS33では、割り当てを行った管理端末1を含めて、各クライアント端末の上記タイムスロット情報を基にFCHを生成し、管理端末1自身が割り当てたタイムスロットに基づき、FCH送信開始タイミングに達したか否かの確認動作を繰り返し(ステップS34)、FCH送信開始タイミングとなると、図9に示すように各クライアント端末にFCHを送信する(ステップS35)。   When the assignment of each time slot is completed, in step S33, the FCH is generated based on the time slot information of each client terminal including the assigned management terminal 1, and assigned by the management terminal 1 itself. Based on the time slot, the operation of confirming whether or not the FCH transmission start timing has been reached is repeated (step S34). When the FCH transmission start timing is reached, the FCH is transmitted to each client terminal as shown in FIG. 9 (step S35). .

そして、ACH送信開始タイミングに達したか否かの確認動作を繰り返し(ステップS36)、ACH送信開始タイミングとなると、管理端末1はタイムスロット割当において生成したACHを各クライアント端末に送信する(ステップS37)。   Then, the operation of confirming whether or not the ACH transmission start timing has been reached is repeated (step S36). When the ACH transmission start timing is reached, the management terminal 1 transmits the ACH generated in the time slot allocation to each client terminal (step S37). ).

なお、ステップS33(図8)においてFCHフレームを生成する際、実施の形態1では各クライアント端末に割り当てる固定帯域割当は、フレーム内では基本的に同一位置に割り当てるものとする。これは、以下の理由に基づく。すなわち、固定帯域割当により伝送する映像ストリームのようなデータ(VoIPのような音声データも同様)は、伝送する平均データ伝送レートはほぼ一定である。従って、管理端末1より送信されたFCHフレームを周辺機器ノイズの影響で受信できなかった場合でも、各クライアント端末間の同期が確保されていれば、前回受信したスケジュール情報に基づいて伝送すればデータの送受信を実施することができるからである。また、詳細は後述するがクライアント端末間で映像ストリームを再生中に管理端末1と通信が途切れた場合、各クライアント端末間のクロック同期が確立していれば、前回受信したスケジュール情報を基に映像ストリームを送信すれば、新たな管理端末が生起するまでの間、再生画像を乱すことなく伝送することができるからである。   When the FCH frame is generated in step S33 (FIG. 8), fixed band allocation to each client terminal in the first embodiment is basically allocated to the same position in the frame. This is based on the following reason. In other words, the average data transmission rate of data such as video streams transmitted by fixed bandwidth allocation (same as audio data such as VoIP) is substantially constant. Therefore, even if the FCH frame transmitted from the management terminal 1 cannot be received due to the influence of peripheral device noise, if synchronization is ensured between the client terminals, data can be transmitted if transmitted based on the previously received schedule information. This is because it is possible to perform transmission and reception. As will be described in detail later, when communication with the management terminal 1 is interrupted while a video stream is being played back between client terminals, if the clock synchronization between the client terminals is established, the video is based on the previously received schedule information. This is because if the stream is transmitted, the reproduced image can be transmitted without being disturbed until a new management terminal occurs.

ACHの各クライアント端末への送信が完了すると、管理端末1および各クライアント端末はスケジュール情報を基にデータの送受信(TCH期間)を実施する(ステップS38)。そして、各クライアント端末からの帯域割当要求を受け付けるためのRCH期間に達したか否かの確認動作を繰り返し(ステップS39)、RCH期間となると、RCHの受信を実施し(ステップS40)、それはRCH期間が終了するまで維持される(ステップS41)。   When the transmission of the ACH to each client terminal is completed, the management terminal 1 and each client terminal perform data transmission / reception (TCH period) based on the schedule information (step S38). Then, the operation of confirming whether or not the RCH period for accepting the bandwidth allocation request from each client terminal has been reached is repeated (step S39). When the RCH period is reached, the RCH is received (step S40). It is maintained until the period ends (step S41).

RCH期間の終了後、管理端末1のCPU11は、ステップS12〜S41の間に、ステップS11(図7)で監視を始めた新管理端末の生起の有無(他クライアント端末からBCHを受信したか否か)を判断し(ステップS42)、新管理端末が生起していないと判断した場合は、次回の送受信においても管理端末として動作し、ステップS11以下の動作を繰り返す。一方、新管理端末が生起していると判断した場合は、次回の送受信においては管理端末としての動作を停止し、クライアント端末としての動作を開始する(ステップS43)。   After the end of the RCH period, the CPU 11 of the management terminal 1 determines whether or not a new management terminal started to be monitored in step S11 (FIG. 7) has occurred between steps S12 to S41 (whether BCH has been received from another client terminal or not). (Step S42), and if it is determined that no new management terminal has occurred, it operates as the management terminal in the next transmission / reception, and the operations in step S11 and subsequent steps are repeated. On the other hand, if it is determined that a new management terminal has occurred, the operation as the management terminal is stopped and the operation as the client terminal is started in the next transmission / reception (step S43).

これにより、新管理端末が生起した後も、現在までの管理端末が管理端末として動作を続けるという状況が防止でき、複数の管理端末が存在して混乱することを防止できる。   Thereby, even after a new management terminal occurs, it is possible to prevent a situation in which the management terminal up to now continues to operate as a management terminal, and to prevent a plurality of management terminals from being confused.

また、新管理端末が生起すると、他のクライアント端末は、新管理端末からBCHを受信することで新管理端末の生起を確認し、新管理端末に従った動作を開始し、現在までの管理端末を非管理端末とみなす。   In addition, when a new management terminal occurs, other client terminals receive the BCH from the new management terminal, confirm the occurrence of the new management terminal, start the operation according to the new management terminal, and manage the current management terminal Is regarded as an unmanaged terminal.

これにより、現在までの管理端末が、管理端末として動作を続けた場合であっても、他のクライアント端末は新管理端末に従うので、仮に、一時的に複数の管理端末が存在しても混乱することがない。   As a result, even if the management terminal up to now continues to operate as a management terminal, other client terminals follow the new management terminal, so even if a plurality of management terminals temporarily exist, it will be confused. There is nothing.

なお、以上説明したステップS11〜S43の動作は、管理端末のCPU11が主体となって行う動作である。   The operations in steps S11 to S43 described above are operations performed mainly by the CPU 11 of the management terminal.

<A−6.クライアント端末の動作>
次に、図10〜図12を用いてクライアント端末のデータ送受信動作について説明する。なお、図10における記号(A)と図11における記号(A)とで、図10と図11とが互いに接続されている。また、図11における記号(B)と図12における記号(B)とで、図11と図12とが互いに接続されている。さらに、図12における記号(C)と図10における記号(C)とで、図12と図10とが互いに接続されている。
<A-6. Operation of client terminal>
Next, the data transmission / reception operation of the client terminal will be described with reference to FIGS. 10 and 11 are connected to each other by the symbol (A) in FIG. 10 and the symbol (A) in FIG. Moreover, FIG. 11 and FIG. 12 are mutually connected by the symbol (B) in FIG. 11 and the symbol (B) in FIG. Furthermore, FIG. 12 and FIG. 10 are mutually connected by the symbol (C) in FIG. 12 and the symbol (C) in FIG.

図10に示すように、クライアント端末がデータの送受信を開始すると、当該クライアント端末のCPU11は、フラグカウンタBCH・MISS・COUNT、およびFCH・MISS・COUNTを0に初期化する(ステップS101)。   As shown in FIG. 10, when a client terminal starts data transmission / reception, the CPU 11 of the client terminal initializes flag counters BCH, MISS, COUNT, and FCH, MISS, COUNT to 0 (step S101).

フラグカウンタBCH・MISS・COUNT(詳細は後述)は、管理端末1からのBCHを連続で何回受信できなかったか計数するカウンタであり、フラグカウンタFCH・MISS・COUNT(詳細は後述)は、管理端末1からのFCHを連続で何回受信できなかったかを計数するカウンタである。   The flag counter BCH / MISS / COUNT (details will be described later) is a counter that counts how many times the BCH from the management terminal 1 has not been received continuously. The flag counter FCH / MISS / COUNT (details will be described later) It is a counter that counts how many times the FCH from the terminal 1 has not been received continuously.

なお、これらのカウンタは、図3に示したPLCモデム回路15内のPLC受信制御回路50内に配置され、PLCネットワーク制御データ解析回路508(図5)よりBCH、FCHの受信状況のデータを受け、CPU11によって制御される。   These counters are arranged in the PLC reception control circuit 50 in the PLC modem circuit 15 shown in FIG. 3, and receive the BCH and FCH reception status data from the PLC network control data analysis circuit 508 (FIG. 5). , Controlled by the CPU 11.

クライアント端末のCPU11は前回までの送受信動作で受信したスケジュール情報に基づき、BCHの受信時刻に達したか否かの確認動作を繰り返し(ステップS102)、BCHの受信時刻となると、管理端末からのBCHの受信の成否を確認する(ステップS103)。   Based on the schedule information received in the previous transmission / reception operation, the CPU 11 of the client terminal repeatedly confirms whether or not the BCH reception time has been reached (step S102). When the BCH reception time is reached, the BCH from the management terminal The success or failure of reception is confirmed (step S103).

そして、管理端末よりBCHを正常に受信できた場合は、受信したBCHが前回の受信動作における管理端末と同じ端末から送信されたものかどうかを判断する(ステップS104)。クライアント端末はこの判断を行うために、BCHの受信ごとに管理端末の端末情報を記録し、今回の受信動作における管理端末が前回の受信動作における管理端末と同一か否かを判断するのに使用する。   If the BCH is successfully received from the management terminal, it is determined whether the received BCH is transmitted from the same terminal as the management terminal in the previous reception operation (step S104). In order to make this determination, the client terminal records terminal information of the management terminal every time BCH is received, and is used to determine whether or not the management terminal in the current reception operation is the same as the management terminal in the previous reception operation. To do.

ステップS104において、今回も前回と同じ管理端末からBCHを受信したと判断した場合、今回受信した管理端末(現管理端末)からのBCHを基に自クライアント端末内の基準時刻を同期し(ステップS105)、フラグカウンタBCH・MISS・COUNTを0とする(ステップS106)。   If it is determined in step S104 that BCH has been received from the same management terminal as the previous time, the reference time in the client terminal is synchronized based on the BCH from the management terminal (current management terminal) received this time (step S105). ), The flag counter BCH / MISS / COUNT is set to 0 (step S106).

一方、ステップS104において、前回と違う管理端末(新たに生起した管理端末)からBCHを受信したと判断した場合、今回受信した新管理端末からのBCHを基に自クライアント端末内の基準時刻を同期し(ステップS107)、フラグカウンタBCH・MISS・COUNTおよびFCH・MISS・COUNTを0とする(ステップS108)。また、自クライアント端末が新たな管理端末として生起するか否かを示すNEW・FLAGは0とする(ステップS109)。   On the other hand, if it is determined in step S104 that BCH has been received from a different management terminal (newly generated management terminal) from the previous time, the reference time in the own client terminal is synchronized based on the BCH from the new management terminal received this time. Then, the flag counters BCH, MISS, COUNT and FCH, MISS, COUNT are set to 0 (step S108). Further, NEW · FLAG indicating whether or not the own client terminal is generated as a new management terminal is set to 0 (step S109).

ここで、NEW・FLAGとは自クライアント端末内で、新たな管理端末となる候補としての動作を実施するか否かの基準となる動作基準フラグであり、これが、例えば1に設定された場合は新たな管理端末となる候補としての動作を実施するものとし、0に設定された場合は新たな管理端末となる候補としての動作は実施しない。   Here, NEW • FLAG is an operation reference flag that serves as a reference for determining whether or not to perform an operation as a candidate to become a new management terminal in the own client terminal. When this is set to 1, for example, The operation as a candidate to become a new management terminal is performed, and when set to 0, the operation as a candidate to become a new management terminal is not performed.

なお、ステップS103において、クライアント端末が管理端末よりのBCHを正常に受信できなかった場合は、BCHを用いた管理端末との基準クロックの同期制御を、前回までに受信したBCHを基に検出した誤差情報を用いて自クライアント端末の基準時刻を補正する(ステップS110)。   In step S103, if the client terminal cannot normally receive the BCH from the management terminal, the synchronization control of the reference clock with the management terminal using the BCH is detected based on the BCH received up to the previous time. The reference time of the client terminal is corrected using the error information (step S110).

これは前回までに受信したBCHで管理端末とクライアント端末間はほぼクロック同期(実際には数ppm以下のクロック周波数誤差が存在)が確立しているため、誤差情報を用いてもBCHが復帰するまでの期間があまり長くなければ、PLCネットワークのクロック同期を確立することができるためである。   This is because the BCH received up to the previous time is almost clock-synchronized between the management terminal and the client terminal (actually, a clock frequency error of several ppm or less exists), so that the BCH is restored even if error information is used. This is because the clock synchronization of the PLC network can be established if the time period until is not so long.

これにより、クライアント端末間で映像ストリームの送受信中に管理端末がPLCネットワークから離脱するなどしてクライアント端末がBCH、FCH等のネットワーク管理情報を受信できなかった場合でも同期を継承できネットワークトポロジを回復させることができる。   As a result, even when the management terminal is disconnected from the PLC network during transmission / reception of a video stream between client terminals and the client terminal cannot receive network management information such as BCH and FCH, synchronization can be inherited and the network topology can be restored. Can be made.

なお、BCHが正常に受信できなかったので、フラグカウンタBCH・MISS・COUNTを1つインクリメントする(ステップS111)。   Since BCH could not be received normally, the flag counters BCH, MISS, and COUNT are incremented by one (step S111).

次に、CPU11は、FCHの受信時刻に達したか否かの確認動作を繰り返し(ステップS112)、FCHの受信時刻となると、ステップS113(図11)において管理端末からのFCHの受信の成否を確認する。そして、管理端末よりのFCHを正常に受信できた場合は、FCHからスケジュール情報を確認し(ステップS114)、フラグカウンタFCH・MISS・COUNTを0とする(ステップS115)。   Next, the CPU 11 repeatedly confirms whether or not the FCH reception time has been reached (step S112). When the FCH reception time is reached, the success or failure of reception of the FCH from the management terminal is determined in step S113 (FIG. 11). Check. If the FCH from the management terminal can be normally received, the schedule information is confirmed from the FCH (step S114), and the flag counters FCH, MISS, and COUNT are set to 0 (step S115).

なお、ステップS113において管理端末からのFCHが正常に受信できなかった場合は、前回の受信動作で受信したFCHを基にスケジュール情報を確認し(ステップS116)、フラグカウンタFCH・MISS・COUNTを1つインクリメントする(ステップS117)。   When the FCH from the management terminal cannot be normally received in step S113, the schedule information is confirmed based on the FCH received in the previous reception operation (step S116), and the flag counter FCH / MISS / COUNT is set to 1. Is incremented by one (step S117).

ここで、前述の通り、管理端末が各クライアント端末に割り当てる固定帯域割当は、フレーム内では基本的に同一位置に割り当てられているため、FCHが復帰するまでの期間があまり長くなければ、前回受信したFCHに基づいたスケジュール情報による映像ストリームの伝送においても再生画像を乱すことなく実施することができる。   Here, as described above, the fixed bandwidth allocation that the management terminal allocates to each client terminal is basically allocated at the same position in the frame. Therefore, if the period until the FCH is restored is not very long, The transmission of the video stream based on the schedule information based on the FCH can be performed without disturbing the reproduced image.

スケジュール情報の確認後は、ステップS118において受信スロットの有無についての確認を行い、受信スロットがある場合は、その受信スロットに合わせた受信時刻情報の生成を行う(ステップS119)。一方、受信スロットがない場合は、図12のステップS123に進む。   After confirming the schedule information, the presence / absence of a reception slot is confirmed in step S118, and if there is a reception slot, reception time information corresponding to the reception slot is generated (step S119). On the other hand, if there is no reception slot, the process proceeds to step S123 in FIG.

そして、受信時刻に達したか否かの確認動作を繰り返し(ステップS120)、受信時刻となるとMACフレームの受信を開始し(ステップS121)、データの受信処理を行う。次に、ステップS122では、受信スロットの受信完了の有無を確認し、受信スロットが複数あり、すべての受信動作が完了していない場合は、ステップS120以下の動作を繰り返し、MACフレームの受信動作を継続する。   Then, the operation of confirming whether or not the reception time has been reached is repeated (step S120). When the reception time is reached, reception of the MAC frame is started (step S121), and data reception processing is performed. Next, in step S122, it is confirmed whether or not reception of the reception slot has been completed. If there are a plurality of reception slots and all reception operations have not been completed, the operation from step S120 is repeated, and the MAC frame reception operation is repeated. continue.

一方、受信スロットの受信が完了し、MACフレームの受信動作が完了すると、ステップS123(図12)においてスケジュール情報から送信スロットの有無を確認し、送信スロットがある場合は、その送信スロットに合わせた送信時刻情報の生成を行う(ステップS124)。一方、送信スロットがない場合は、ステップS128に進む。   On the other hand, when the reception of the reception slot is completed and the reception operation of the MAC frame is completed, the presence / absence of a transmission slot is confirmed from the schedule information in step S123 (FIG. 12). Transmission time information is generated (step S124). On the other hand, if there is no transmission slot, the process proceeds to step S128.

そして、送信時刻に達したか否かの確認動作を繰り返し(ステップS125)、送信時刻となると、MACフレームの送信を開始し(ステップS126)、データの送信処理を行う。次に、ステップS127では、送信スロットの送信完了の有無を確認し、送信スロットが複数あり、すべての送信動作が完了していない場合は、ステップS125以下の動作を繰り返し、MACフレームの送信動作を継続する。   Then, the operation of confirming whether or not the transmission time has been reached is repeated (step S125). When the transmission time is reached, transmission of the MAC frame is started (step S126), and data transmission processing is performed. Next, in step S127, it is confirmed whether or not the transmission of the transmission slot has been completed. If there are a plurality of transmission slots and all transmission operations have not been completed, the operations in step S125 and subsequent steps are repeated to perform the MAC frame transmission operation. continue.

一方、送信スロットの送信が完了し、MACフレームの送信動作が完了すると、ステップS128においてRCH期間に達したか否かの確認動作を繰り返し、RCH期間となると、クライアント端末は新管理端末の生起動作および帯域割当要求動作(詳細は後述)を行う(ステップS129)。   On the other hand, when the transmission of the transmission slot is completed and the transmission operation of the MAC frame is completed, the operation of confirming whether or not the RCH period has been reached is repeated in step S128, and when the RCH period is reached, the client terminal Then, a bandwidth allocation request operation (details will be described later) is performed (step S129).

そして、RCH期間が終了したか否かの確認動作を繰り返し(ステップS130)、RCH期間が終了すると、クライアント端末は次のBCH受信時刻となるまで待機する(ステップ102)。   Then, the operation of confirming whether or not the RCH period has ended is repeated (step S130). When the RCH period ends, the client terminal waits until the next BCH reception time is reached (step 102).

なお、以上説明したステップS101〜S130の動作は、クライアント端末のCPU11が主体となって行う動作である。   The operations in steps S101 to S130 described above are operations performed mainly by the CPU 11 of the client terminal.

<A−7.新管理端末の生起動作>
次に、図13〜図15を用いてクライアント端末の新管理端末の生起動作および帯域割当要求動作について説明する。なお、図13における記号(A)〜(C)と図14における記号(A)〜(C)とで、図13と図14とが互いに接続され、図13における記号(D)と図15における記号(D)とで、図13と図15とが互いに接続され、図14における記号(E)と図15における記号(E)とで、図14と図15とが互いに接続されている。
<A-7. Live startup of new management terminal>
Next, the live startup operation and bandwidth allocation request operation of the new management terminal of the client terminal will be described with reference to FIGS. 13 are connected to each other by the symbols (A) to (C) in FIG. 13 and the symbols (A) to (C) in FIG. 14, and the symbols (D) in FIG. 13 and 15 are connected to each other by symbol (D), and FIG. 14 and FIG. 15 are connected to each other by symbol (E) in FIG. 14 and symbol (E) in FIG.

図13に示すように新管理端末の生起動作および帯域割当要求動作を開始すると、CPU11は、RCH期間中に各クライアント端末より送信される可能性のある、他クライアント端末からの管理端末通信不良通知(詳細は後述)の受信の有無を管理する(ステップS201)。   As shown in FIG. 13, when the live startup operation and bandwidth allocation request operation of the new management terminal is started, the CPU 11 notifies the management terminal communication failure notification from other client terminals that may be transmitted from each client terminal during the RCH period. Whether or not (details will be described later) is received is managed (step S201).

次に、自クライアント端末が前回の送受信動作までに管理端末通信不良通知を送信しているか否かについての確認を行う(ステップS202)。   Next, it is checked whether or not the client terminal has transmitted a management terminal communication failure notification until the previous transmission / reception operation (step S202).

すなわち、ステップS202においては、NEW・FLAGが1かどうかを確認し、NEW・FLAGが0の場合、すなわち、前回の送受信動作までに管理端末通信不良通知を送信していない場合は、固定帯域割当に応じた閾値パラメータNEW・BORDERを設定する(ステップS203)。なお、NEW・FLAGが1の場合、すなわち、前回の送受信動作までに管理端末通信不良通知を送信していた場合はステップS223(図15)に進む。ここで、管理端末通信不良通知は、自クライアント端末が管理端末よりBCH、FCH等のネットワーク管理情報が一定以上受信できず、現在の管理端末に代わって自クライアント端末が新たな管理端末候補となったことを他クライアント端末に示すものである。   That is, in step S202, it is confirmed whether NEW · FLAG is 1, and if NEW · FLAG is 0, that is, if a management terminal communication failure notification has not been transmitted before the previous transmission / reception operation, fixed bandwidth allocation The threshold parameter NEW / BORDER according to the above is set (step S203). If NEW • FLAG is 1, that is, if a management terminal communication failure notification has been transmitted before the previous transmission / reception operation, the process proceeds to step S223 (FIG. 15). Here, in the management terminal communication failure notification, the own client terminal cannot receive more than a certain amount of network management information such as BCH and FCH from the management terminal, and the own client terminal becomes a new management terminal candidate in place of the current management terminal. This is indicated to other client terminals.

閾値パラメータNEW・BORDERは、現在の管理端末からBCH、FCH等のネットワーク管理情報が一定以上受信できなかった場合に、新たな管理端末となる候補を設定する基準となる値であり、データ受信中で固定帯域割当されている割合が多いクライアント端末ほど小さな値を設定するように制御することで、新たな管理端末となる候補の順位付けを行うものである。   The threshold parameter NEW / BORDER is a reference value for setting a candidate to be a new management terminal when network management information such as BCH and FCH cannot be received from the current management terminal for a certain amount, and data is being received. In this case, control is performed such that a smaller value is set for a client terminal having a higher ratio of fixed bandwidth allocation, thereby ranking candidates for new management terminals.

例えば、固定帯域割当されている割合がクライアント端末A3が50%、クライアント端末B5が30%、クライアント端末C7が0%であり、クライアント端末A3がデータ送信中、クライアント端末B5がデータ受信中、クライアント端末C7がデータ受信中(通常帯域割当にて)である場合、閾値パラメータNEW・BORDERの値はクライアント端末A3が100、クライアント端末B5が20、クライアント端末C7が50などというように設定し、データ受信中で固定帯域割当されている割合が多いクライアント端末ほど新たな管理端末の候補となり易いように基準を低く設定する制御を行う。   For example, the fixed bandwidth allocation is 50% for the client terminal A3, 30% for the client terminal B5, and 0% for the client terminal C7. The client terminal A3 is transmitting data, the client terminal B5 is receiving data, and the client When the terminal C7 is receiving data (with normal bandwidth allocation), the threshold parameter NEW / BORDER is set to 100 for the client terminal A3, 20 for the client terminal B5, 50 for the client terminal C7, etc. Control is performed so that the client terminal having a higher ratio of fixed bandwidth allocation during reception tends to be a candidate for a new management terminal.

次に、ステップS203において決定した閾値パラメータNEW・BORDERに基づき、フラグカウンタBCH・MISS・COUNTと閾値パラメータNEW・BORDERとの大小関係を判断する(ステップS204)。   Next, based on the threshold parameter NEW / BORDER determined in step S203, the magnitude relationship between the flag counter BCH / MISS / COUNT and the threshold parameter NEW / BORDER is determined (step S204).

そして、フラグカウンタBCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値以上と判断された場合は、ステップS206に進んでNEW・FLAGを1に設定し、フラグカウンタBCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値より小さいと判断された場合は、ステップS205に進む。   If it is determined that the value of the flag counter BCH, MISS, COUNT is equal to or greater than the value of the threshold parameter NEW, BORDER, the process proceeds to step S206, where NEW, FLAG is set to 1, and the value of the flag counter BCH, MISS, COUNT is set. Is determined to be smaller than the value of the threshold parameter NEW · BORDER, the process proceeds to step S205.

ステップS205では、フラグカウンタFCH・MISS・COUNTと閾値パラメータNEW・BORDERとの大小関係を判断し、フラグカウンタFCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値以上と判断された場合は、ステップS206に進んでNEW・FLAGを1に設定し、フラグカウンタFCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値より小さいと判断された場合は、ステップS207に進んでNEW・FLAGを0に設定する。   In step S205, the magnitude relationship between the flag counter FCH, MISS, COUNT and the threshold parameter NEW, BORDER is determined. If the value of the flag counter FCH, MISS, COUNT is determined to be greater than or equal to the value of the threshold parameter NEW, BORDER, In step S206, NEW / FLAG is set to 1, and when it is determined that the value of the flag counter FCH / MISS / COUNT is smaller than the value of the threshold parameter NEW / BORDER, the process proceeds to step S207 and NEW / FLAG is set to 0. Set to.

NEW・FLAGの設定が完了すると、ステップS201において実施している他クライアント端末からの管理端末通信不良通知の管理結果に基づき、今回のRCH期間中、他端末から管理端末通信不良通知を受信したか否かの確認を行う(ステップS208)。   When the setting of NEW / FLAG is completed, whether the management terminal communication failure notification has been received from the other terminal during this RCH period based on the management result of the management terminal communication failure notification from the other client terminal implemented in step S201 It is confirmed whether or not (step S208).

そして、他端末からの管理端末通信不良通知を受信していない場合はステップS209に進み、自クライアント端末内でのNEW・FLAGが1に設定されているか否かを確認し、NEW・FLAGが1が設定されている場合は、管理端末通信不良通知を生成する(ステップS210)。   If the management terminal communication failure notification from another terminal has not been received, the process proceeds to step S209, where it is confirmed whether NEW / FLAG in the client terminal is set to 1, and NEW / FLAG is 1 Is set, a management terminal communication failure notification is generated (step S210).

その後、生成した管理端末不良通知を他クライアント端末に向けて同報通信し(ステップS211)、ステップS212(図14)において新管理端末の生起動作および帯域割当要求動作を終了して待機する。   Thereafter, the generated management terminal failure notification is broadcasted to another client terminal (step S211), and in step S212 (FIG. 14), the live startup operation and the bandwidth allocation requesting operation of the new management terminal are terminated and waits.

なお、ステップS208において、他端末から管理端末通信不良通知を受信したことを確認した場合は、ステップS219(図14)に進み、また、ステップS209において、NEW・FLAGが1に設定されていないことを確認した場合はステップS213(図14)に進む。   If it is confirmed in step S208 that a management terminal communication failure notification has been received from another terminal, the process proceeds to step S219 (FIG. 14), and NEW / FLAG is not set to 1 in step S209. If confirmed, the process proceeds to step S213 (FIG. 14).

ステップS213では、現在の管理端末に対して自クライアント端末が保有する送信データに応じて固定帯域割当の要求を行うか否かを判断する。そして、固定帯域割当要求を行う場合は、固定帯域割当要求を生成し(ステップS214)、固定帯域割当要求を送信する(ステップS215)。なお、固定帯域割当を要求しない場合はステップS216に進む。   In step S213, it is determined whether or not a request for fixed bandwidth allocation is made to the current management terminal in accordance with transmission data held by the own client terminal. When making a fixed bandwidth allocation request, a fixed bandwidth allocation request is generated (step S214), and the fixed bandwidth allocation request is transmitted (step S215). If no fixed bandwidth allocation is requested, the process proceeds to step S216.

また、同様に通常帯域割当の要求を行うか否かの判断を実施し(ステップS216)、通常帯域割当要求を行う場合は、通常帯域割当要求を生成し(ステップS217)、通常帯域割当要求を送信する(ステップS218)。なお、通常帯域割当を要求しない場合および帯域割当要求が完了した場合は、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS212)。   Similarly, it is determined whether or not a normal band allocation request is to be made (step S216). If a normal band allocation request is to be made, a normal band allocation request is generated (step S217), and the normal band allocation request is issued. Transmit (step S218). When normal bandwidth allocation is not requested and when the bandwidth allocation request is completed, the live startup operation and bandwidth allocation request operation of the new management terminal is terminated and waits (step S212).

また、ステップS208において、今回のRCH期間中、他クライアント端末から管理端末通信不良通知を受信したと判断した場合は、管理端末通信不良通知を送信したクライアント端末を新たな管理端末として承認する動作を実施する。   If it is determined in step S208 that a management terminal communication failure notification has been received from another client terminal during the current RCH period, an operation of approving the client terminal that has transmitted the management terminal communication failure notification as a new management terminal is performed. carry out.

すなわち、フラグカウンタBCH・MISS・COUNTおよびFCH・MISS・COUNTを0に初期化し(ステップS219)、NEW・FLAGを0に設定する(ステップS220)。   That is, the flag counters BCH, MISS, COUNT and FCH, MISS, COUNT are initialized to 0 (step S219), and NEW, FLAG are set to 0 (step S220).

これにより、最先に管理端末通信不良通知を送信したクライアント端末のみが新たな管理端末となることができ、複数の新たな管理端末が生起して混乱することを防止できる。   Thereby, only the client terminal that has transmitted the management terminal communication failure notification first can become a new management terminal, and a plurality of new management terminals can be prevented from being confused.

次に、新管理端末承認通知を生成し(ステップS221)、管理端末通信不良通知を送信してきたクライアント端末に向けて新管理端末承認通知を送信する(ステップS222)。上記通知の送信が完了すると、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS212)。   Next, a new management terminal approval notification is generated (step S221), and the new management terminal approval notification is transmitted to the client terminal that has transmitted the management terminal communication failure notification (step S222). When the transmission of the notification is completed, the live startup operation and bandwidth allocation requesting operation of the new management terminal is terminated and waits (step S212).

また、ステップS202において、前回の送受信動作までに管理端末通信不良通知を送信していたことが確認された場合、すなわち自クライアント端末において前回の送受信動作までに、管理端末通信不良通知の生成および送信(ステップS210、S211)を実施していた場合は、以下の動作を行う。   In step S202, when it is confirmed that the management terminal communication failure notification has been transmitted before the previous transmission / reception operation, that is, the management terminal communication failure notification is generated and transmitted before the previous transmission / reception operation at the own client terminal. If (Steps S210 and S211) have been performed, the following operations are performed.

すなわち、ステップS201において実施している他クライアント端末からの管理端末通信不良通知の管理結果に基づき、前回の送受信動作で、ステップS201〜S211の動作を経て管理端末不良通知を送信してから、他クライアント端末から管理端末通信不良通知を受信したか否かを確認する(ステップS223)。   That is, based on the management result of the management terminal communication failure notification from the other client terminal implemented in step S201, the management terminal failure notification is transmitted through the operations of steps S201 to S211 in the previous transmission / reception operation, and then the other It is confirmed whether a management terminal communication failure notification is received from the client terminal (step S223).

そして、他クライアント端末から管理端末通信不良通知を受信していなかった場合、再度、管理端末通信不良通知を生成し(ステップS224)、生成した管理端末不良通知を他クライアント端末に向けて同報通信する(ステップS225)。   If the management terminal communication failure notification has not been received from the other client terminal, the management terminal communication failure notification is generated again (step S224), and the generated management terminal failure notification is broadcast to the other client terminal. (Step S225).

クライアント端末からの管理端末通信不良通知の送信は、各クライアント端末が帯域割当要求を行うRCH期間中に実施するため、送信タイミングによっては管理端末通信不良通知と帯域割当要求が衝突し、各クライアント端末に同報通信できない可能性がある。そのため、再度、管理端末通信不良通知を生成し、送信することにより、可能な限り各クライアント端末に新たな管理端末の候補が生起していることを通知する効果を奏する。   Since the management terminal communication failure notification is transmitted from the client terminal during the RCH period in which each client terminal makes a bandwidth allocation request, depending on the transmission timing, the management terminal communication failure notification and the bandwidth allocation request collide with each other. May not be able to broadcast. Therefore, by generating and transmitting the management terminal communication failure notification again, there is an effect of notifying each client terminal that a new management terminal candidate has occurred as much as possible.

管理端末通信不良通知を送信すると、各クライアント端末より新管理端末承認の通知がある(すなわち他クライアント端末はステップS208およびS219〜S222の動作を実施する)。そこで、他クライアント端末からの新管理端末承認通知の受信数を管理し(ステップS226)、ステップS227では新管理端末承認通知が予め定めた一定数に達したか否かの確認を行う。   When the management terminal communication failure notification is transmitted, there is a notification of approval of the new management terminal from each client terminal (that is, the other client terminal performs the operations of steps S208 and S219 to S222). Therefore, the number of new management terminal approval notifications received from other client terminals is managed (step S226). In step S227, it is confirmed whether or not the new management terminal approval notification has reached a predetermined number.

そして、新管理端末承認通知が一定数に達した場合は、以下のように新管理端末としての動作を開始する。すなわち、フラグカウンタBCH・MISS・COUNTおよびFCH・MISS・COUNTを0に初期化し(ステップS228)、NEW・FLAGを0に設定し(ステップS229)、その後、新管理端末として動作を開始する(ステップS230)。   When the new management terminal approval notification reaches a certain number, the operation as the new management terminal is started as follows. That is, the flag counters BCH, MISS, COUNT and FCH, MISS, COUNT are initialized to 0 (step S228), NEW, FLAG is set to 0 (step S229), and then the operation as a new management terminal starts (step S229). S230).

一方、ステップS223において、前回、管理端末不良通知を送信してから、他クライアント端末からも管理端末通信不良通知を受信していたことを確認した場合は、予め定めた一定の確率に基づいてNEW・FLAGを0に設定する制御を行う(ステップS231)。   On the other hand, if it is confirmed in step S223 that the management terminal communication failure notification has been received from the other client terminal since the previous management terminal failure notification was transmitted, NEW based on a predetermined fixed probability. Control for setting FLAG to 0 is performed (step S231).

すなわち、基本的に、管理端末不良通知は複数のクライアント端末から同時に送信されることはない。これはステップS208にて自クライアント端末が他クライアント端末からの管理端末不良通知を受信した場合、自クライアント端末は管理端末不良通知を送信しないよう制御するからである。しかし、RCH期間中の管理端末不良通知の送信タイミング、あるいは管理端末通信不良通知と帯域割当要求との衝突などにより、他クライアント端末が管理端末不良通知を同報通信したにもかかわらず、自クライアント端末でその管理端末不良通知が受信できなかったため、自クライアント端末から管理端末不良通知を同報通信するということが考えられる。   That is, basically, the management terminal failure notification is not transmitted simultaneously from a plurality of client terminals. This is because, in step S208, when the own client terminal receives a management terminal failure notification from another client terminal, the own client terminal controls not to transmit the management terminal failure notification. However, although the other client terminal broadcasts the management terminal failure notification due to the transmission timing of the management terminal failure notification during the RCH period or the collision between the management terminal communication failure notification and the bandwidth allocation request, etc., the own client Since the management terminal failure notification could not be received by the terminal, it is conceivable to broadcast the management terminal failure notification from the own client terminal.

このような場合を想定して、ステップS223では、新たな管理端末の候補となることを一定の確率で取り下げる動作を行う。この動作を実施することで、管理端末不良通知が複数の端末から送信されている状況において、新たな管理端末が複数生起することを防ぐ効果が得られる。   Assuming such a case, in step S223, an operation of withdrawing a candidate for a new management terminal with a certain probability is performed. By performing this operation, it is possible to obtain an effect of preventing a plurality of new management terminals from occurring in a situation in which a management terminal failure notification is transmitted from a plurality of terminals.

なお、以上説明したステップS201〜S231の動作は、クライアント端末のCPU11が主体となって行う動作である。   The operations in steps S201 to S231 described above are operations performed mainly by the CPU 11 of the client terminal.

<A−8.効果>
以上に説明したように、実施の形態1のデータ送受信装置によれば、クライアント端末間で映像ストリームの送受信中に管理端末がPLCネットワークから離脱するなどしてクライアント端末がBCH、FCH等のネットワーク管理情報を受信できなかった場合でも、データ受信中のクライアント端末が速やかに新たな管理端末として生起し、同期を継承、ネットワークトポロジを回復させることができる。
<A-8. Effect>
As described above, according to the data transmitting / receiving apparatus of the first embodiment, the client terminal manages network management such as BCH and FCH by leaving the management terminal while the video stream is being transmitted / received between the client terminals. Even when the information cannot be received, the client terminal that is receiving data can quickly occur as a new management terminal, inherit synchronization, and restore the network topology.

また、映像ストリームを送信する際に、固定帯域を割り当てるとともに、1フレーム内での固定帯域割当を同じ位置になるようにスケジューリングするので、前回受信したスケジュール情報、および基準時刻情報を基に映像ストリームの送受信をすれば、新たな管理端末が生起するまでの管理端末が不在の期間においても、映像ストリームを中断することなく伝送できる効果がある。   In addition, when transmitting a video stream, a fixed bandwidth is allocated and fixed bandwidth allocation within one frame is scheduled to be at the same position, so the video stream is based on the previously received schedule information and reference time information. Thus, there is an effect that the video stream can be transmitted without interruption even in the absence of a management terminal until a new management terminal occurs.

<B.実施の形態2>
以下、本発明に係る実施の形態2のデータ送受信装置について説明する。
実施の形態2のデータ送受信装置では、実施の形態1において説明した新管理端末の生起に関わる動作のみが異なる。
<B. Second Embodiment>
The data transmitting / receiving apparatus according to the second embodiment of the present invention will be described below.
The data transmission / reception apparatus according to the second embodiment is different only in operations related to the occurrence of the new management terminal described in the first embodiment.

すなわち、実施の形態1では、クライアント端末がBCH、FCH等のネットワーク管理情報を現在の管理端末から受信できなかった場合、新たな管理端末の候補として生起し、基本的には最終的に現在の管理端末と替わって新管理端末として動作を開始する。一方、実施の形態2では、クライアント端末がBCH、FCH等のネットワーク管理情報を現在の管理端末から受信できなかった場合、新たな管理端末の候補として生起するが、他クライアント端末が現在の管理端末よりネットワーク管理情報を受信できている場合は、自らは新たな管理端末の候補となっていることを取り下げる動作を行うことを特徴としている。つまり、1のクライアント端末が現在の管理端末と通信ができなくても、他のクライアント端末が現在の管理端末と通信できている場合は、新たな管理端末を生起しないように制御する。このような制御により、管理端末が頻繁に入れ替わってPLCネットワークの同期通信が不安定化するのを防ぐことができる。   That is, in the first embodiment, when the client terminal cannot receive the network management information such as BCH and FCH from the current management terminal, it is generated as a new management terminal candidate, The operation starts as a new management terminal instead of the management terminal. On the other hand, in the second embodiment, when the client terminal cannot receive the network management information such as BCH and FCH from the current management terminal, it is generated as a new management terminal candidate. When the network management information can be received more, it is characterized in that it performs an operation to withdraw from becoming a candidate for a new management terminal. That is, even if one client terminal cannot communicate with the current management terminal, if another client terminal can communicate with the current management terminal, control is performed so that a new management terminal does not occur. By such control, it is possible to prevent the management terminal from changing frequently and destabilizing the synchronous communication of the PLC network.

<B−1.新管理端末の生起動作>
次に、図16〜図19に示すフローチャートを用いて、クライアント端末の新管理端末の生起動作および帯域割当要求動作について説明する。なお、上述の通り、実施の形態2のデータ送受信装置においては、図12においてステップS129として説明した新管理端末の生起動作のみが異なり、その他の動作においては実施の形態1と同様である。また、図16における記号(A)と図17における記号(A)とで、図16と図17とが互いに接続され、図17における記号(B)と図19における記号(B)とで、図17と図19とが互いに接続され、図17における記号(C)〜(E)と図18における記号(C)〜(E)とで、図17と図18とが互いに接続されている。さらに、図16における記号(F)と図19における記号(F)とで、図16と図19とが互いに接続されている。
<B-1. Live startup of new management terminal>
Next, the live startup operation and bandwidth allocation request operation of the new management terminal of the client terminal will be described using the flowcharts shown in FIGS. As described above, in the data transmitting / receiving apparatus according to the second embodiment, only the live startup operation of the new management terminal described as step S129 in FIG. 12 is different, and other operations are the same as those in the first embodiment. 16 and FIG. 17 are connected to each other by the symbol (A) in FIG. 16 and the symbol (A) in FIG. 17, and the symbol (B) in FIG. 17 and the symbol (B) in FIG. 17 and FIG. 19 are connected to each other. Symbols (C) to (E) in FIG. 17 and symbols (C) to (E) in FIG. 18 are connected to each other. Furthermore, FIG. 16 and FIG. 19 are mutually connected by the symbol (F) in FIG. 16 and the symbol (F) in FIG.

図16に示すように新管理端末の生起動作および帯域割当要求動作を開始すると、CPU11は、RCH期間中に各クライアント端末より送信される可能性のある、他クライアント端末からの管理端末通信不良通知の受信の有無を管理する(ステップS301)。   As shown in FIG. 16, when the live startup operation and bandwidth allocation request operation of the new management terminal is started, the CPU 11 notifies the management terminal communication failure notification from other client terminals that may be transmitted from each client terminal during the RCH period. Is managed (step S301).

次に、RCH期間中に各クライアント端末より送信される可能性のある、他端末からの管理端末正常稼働通知(詳細は後述)の受信の有無を管理する(ステップS302)。   Next, it is managed whether or not a management terminal normal operation notification (details will be described later) is received from other terminals that may be transmitted from each client terminal during the RCH period (step S302).

次に、自クライアント端末が前回の送受信動作までに管理端末通信不良通知を送信しているか否かについての確認を行う(ステップS303)。   Next, it is checked whether or not the client terminal has transmitted a management terminal communication failure notification until the previous transmission / reception operation (step S303).

すなわち、ステップS303においては、NEW・FLAGが1かどうかを確認し、NEW・FLAGが0の場合、すなわち、前回の送受信動作までに管理端末通信不良通知を送信していない場合は、固定帯域割当に応じた閾値パラメータNEW・BORDERを設定する(ステップS304)。なお、NEW・FLAGが1の場合、すなわち、前回の送受信動作までに管理端末通信不良通知を送信していた場合はステップS328(図19)に進む。   That is, in step S303, it is confirmed whether NEW · FLAG is 1, and if NEW · FLAG is 0, that is, if a management terminal communication failure notification has not been transmitted before the previous transmission / reception operation, fixed bandwidth allocation is performed. The threshold parameter NEW / BORDER according to the above is set (step S304). If NEW • FLAG is 1, that is, if a management terminal communication failure notification has been transmitted before the previous transmission / reception operation, the process proceeds to step S328 (FIG. 19).

次に、ステップS304において決定した閾値パラメータNEW・BORDERに基づき、フラグカウンタBCH・MISS・COUNTと閾値パラメータNEW・BORDERとの大小関係を判断する(ステップS305)。   Next, based on the threshold parameter NEW / BORDER determined in step S304, the magnitude relationship between the flag counter BCH / MISS / COUNT and the threshold parameter NEW / BORDER is determined (step S305).

そして、フラグカウンタBCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値以上と判断された場合は、ステップS307に進んでNEW・FLAGを1に設定し、フラグカウンタBCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値より小さいと判断された場合は、ステップS306に進む。   If it is determined that the value of the flag counter BCH, MISS, COUNT is equal to or greater than the value of the threshold parameter NEW, BORDER, the process proceeds to step S307 and NEW / FLAG is set to 1, and the value of the flag counter BCH, MISS, COUNT Is determined to be smaller than the value of the threshold parameter NEW · BORDER, the process proceeds to step S306.

ステップS306では、フラグカウンタFCH・MISS・COUNTと閾値パラメータNEW・BORDERとの大小関係を判断し、フラグカウンタFCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値以上と判断された場合は、ステップS307に進んでNEW・FLAGを1に設定し、フラグカウンタFCH・MISS・COUNTの値が閾値パラメータNEW・BORDERの値より小さいと判断された場合は、ステップS308に進んでNEW・FLAGを0に設定する。   In step S306, the magnitude relationship between the flag counter FCH / MISS / COUNT and the threshold parameter NEW / BORDER is determined. In step S307, NEW / FLAG is set to 1, and when it is determined that the value of the flag counter FCH / MISS / COUNT is smaller than the value of the threshold parameter NEW / BORDER, the process proceeds to step S308 and NEW / FLAG is set to 0. Set to.

NEW・FLAGの設定が完了すると、ステップS301において実施している他クライアント端末からの管理端末通信不良通知の管理結果に基づき、ステップS309(図17)において、今回のRCH期間中、他クライアント端末から管理端末通信不良通知を受信したか否かの確認を行う。   When the setting of NEW / FLAG is completed, in step S309 (FIG. 17), from the other client terminal during the current RCH period, based on the management result of the management terminal communication failure notification from the other client terminal implemented in step S301. It is confirmed whether or not a management terminal communication failure notification has been received.

そして、他端末からの管理端末通信不良通知を受信していない場合はステップS310に進み、自クライアント端末内でのNEW・FLAGが1に設定されているか否かを確認し、NEW・FLAGが1が設定されている場合は、管理端末通信不良通知を生成する(ステップS311)。   If the management terminal communication failure notification from another terminal has not been received, the process proceeds to step S310, where it is confirmed whether NEW / FLAG in the client terminal is set to 1, and NEW / FLAG is 1 Is set, a management terminal communication failure notification is generated (step S311).

その後、生成した管理端末不良通知を他クライアント端末に向けて同報通信し(ステップS312)、ステップS313(図19)において新管理端末の生起動作および帯域割当要求動作を終了して待機する。   Thereafter, the generated management terminal failure notification is broadcasted to other client terminals (step S312), and the live startup operation and the bandwidth allocation requesting operation of the new management terminal are terminated and waited in step S313 (FIG. 19).

なお、ステップS309において、他端末から管理端末通信不良通知を受信したことを確認した場合は、ステップS320(図18)に進み、また、ステップS310において、NEW・FLAGが1に設定されていないことを確認した場合はステップS314に進む。   If it is confirmed in step S309 that a management terminal communication failure notification has been received from another terminal, the process proceeds to step S320 (FIG. 18), and NEW / FLAG is not set to 1 in step S310. If confirmed, the process proceeds to step S314.

ステップS314では、現在の管理端末に対して自クライアント端末が保有する送信データに応じて固定帯域割当の要求を行うか否かを判断する。そして、固定帯域割当要求を行う場合は、固定帯域割当要求を生成し(ステップS315)、固定帯域割当要求を送信する(ステップS316)。なお、固定帯域割当を要求しない場合はステップS317に進む。   In step S314, it is determined whether or not a request for fixed bandwidth allocation is to be made to the current management terminal according to transmission data held by the own client terminal. When making a fixed bandwidth allocation request, a fixed bandwidth allocation request is generated (step S315), and the fixed bandwidth allocation request is transmitted (step S316). If no fixed bandwidth allocation is requested, the process proceeds to step S317.

また、同様に通常帯域割当の要求を行うか否かの判断を実施し(ステップS317)、通常帯域割当要求を行う場合は、通常帯域割当要求を生成し(ステップS318)、通常帯域割当要求を送信する(ステップS319)。なお、通常帯域割当を要求しない場合および帯域割当要求が完了した場合は、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS313)。   Similarly, it is determined whether or not a normal band allocation request is to be made (step S317). When a normal band allocation request is to be made, a normal band allocation request is generated (step S318), and the normal band allocation request is issued. Transmit (step S319). When normal bandwidth allocation is not requested and when the bandwidth allocation request is completed, the live startup operation and bandwidth allocation request operation of the new management terminal is terminated and waits (step S313).

また、ステップS309において、今回のRCH期間中、他クライアント端末から管理端末通信不良通知を受信したと判断した場合は、管理端末通信不良通知を送信したクライアント端末を新たな管理端末として承認するか、あるいは管理端末通信不良通知を送信した端末に現在の管理端末が正常に稼働していることを通知する動作を実施する。   If it is determined in step S309 that a management terminal communication failure notification has been received from another client terminal during the current RCH period, the client terminal that has transmitted the management terminal communication failure notification is approved as a new management terminal, Or the operation | movement which notifies that the present management terminal is working normally to the terminal which transmitted the management terminal communication failure notification is implemented.

すなわち、ステップS320(図18)において、自クライアント端末内のフラグカウンタBCH・MISS・COUNTが0であるか否かを確認し、0である場合は自クライアント端末は現在の管理端末から正常にBCHを受信できているので、その旨を示す管理端末正常稼働通知を生成し(ステップS321)、それを管理端末通信不良通知を送信してきた端末に対して送信する(ステップS322)。   That is, in step S320 (FIG. 18), it is confirmed whether or not the flag counter BCH / MISS / COUNT in the own client terminal is 0. If it is 0, the own client terminal normally BCH from the current management terminal. Therefore, the management terminal normal operation notification indicating that is generated (step S321), and is transmitted to the terminal that has transmitted the management terminal communication failure notification (step S322).

一方、フラグカウンタBCH・MISS・COUNTが0でない場合、ステップS323において、フラグカウンタFCH・MISS・COUNTが0であるか否かを確認し、0である場合は自クライアント端末は現在の管理端末から正常にFCHを受信できているので、その旨を示す管理端末正常稼働通知を生成し(ステップS321)、それを管理端末通信不良通知を送信してきた端末に対して送信する(ステップS322)。   On the other hand, if the flag counter BCH, MISS, or COUNT is not 0, it is checked in step S323 whether the flag counter FCH, MISS, or COUNT is 0. Since the FCH has been normally received, a management terminal normal operation notification indicating that fact is generated (step S321), and is transmitted to the terminal that has transmitted the management terminal communication failure notification (step S322).

なお、管理端末正常稼働通知を送信した場合、現在の管理端末は正常に動作しているので、ステップS314〜S319における帯域割当要求を実施し、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS313)。   When the management terminal normal operation notification is transmitted, since the current management terminal is operating normally, the bandwidth allocation request in steps S314 to S319 is performed, and the live startup operation and the bandwidth allocation request operation of the new management terminal are completed. And waits (step S313).

なお、フラグカウンタBCH・MISS・COUNTが0ではなく、フラグカウンタFCH・MISS・COUNTも0ではない場合は、フラグカウンタBCH・MISS・COUNTおよびFCH・MISS・COUNTを0に初期化し(ステップS324)、NEW・FLAGを0に設定する(ステップS325)。さらに、新管理端末承認通知を生成し(ステップS326)、管理端末通信不良通知を送信してきたクライアント端末に向けて新管理端末承認通知を送信する(ステップS327)。上記通知の送信が完了すると、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS313)。   If the flag counters BCH, MISS, and COUNT are not 0 and the flag counters FCH, MISS, and COUNT are not 0, the flag counters BCH, MISS, and COUNT and FCH, MISS, and COUNT are initialized to 0 (step S324). , NEW · FLAG is set to 0 (step S325). Further, a new management terminal approval notification is generated (step S326), and the new management terminal approval notification is transmitted to the client terminal that has transmitted the management terminal communication failure notification (step S327). When the transmission of the notification is completed, the live startup operation and the bandwidth allocation request operation of the new management terminal are terminated and waits (step S313).

ステップS303(図16)において、前回の送受信動作までに管理端末通信不良通知を送信していたことが確認された場合の動作について説明する。   An operation when it is confirmed in step S303 (FIG. 16) that the management terminal communication failure notification has been transmitted before the previous transmission / reception operation will be described.

すなわち、ステップS302(図16)において実施している他クライアント端末からの管理端末正常稼働通知の管理結果に基づき、ステップS328(図19)において、前回、管理端末不良通知を送信してから、他クライアント端末から管理端末正常稼働通知を受信したか否かを確認する。   That is, based on the management result of the management terminal normal operation notification from the other client terminal implemented in step S302 (FIG. 16), in step S328 (FIG. 19), after the previous management terminal failure notification was transmitted, Check whether a management terminal normal operation notification has been received from the client terminal.

そして、他クライアント端末から管理端末正常稼働通知を受信していなかった場合は、ステップS301(図16)において実施している他クライアント端末からの管理端末通信不良通知の管理結果に基づき、前回、管理端末不良通知を送信してから、他クライアント端末から管理端末通信不良通知を受信したか否かを確認する(ステップS329)。   If the management terminal normal operation notification has not been received from the other client terminal, the previous management based on the management result of the management terminal communication failure notification from the other client terminal implemented in step S301 (FIG. 16). After transmitting the terminal failure notification, it is confirmed whether or not a management terminal communication failure notification has been received from another client terminal (step S329).

そして、他クライアント端末から管理端末通信不良通知を受信していなかった場合、再度、管理端末通信不良通知を生成し(ステップS330)、生成した管理端末不良通知を他クライアント端末に向けて同報通信する(ステップS331)。   If the management terminal communication failure notification has not been received from the other client terminal, the management terminal communication failure notification is generated again (step S330), and the generated management terminal failure notification is broadcast to the other client terminal. (Step S331).

管理端末通信不良通知を送信すると、各クライアント端末より新管理端末承認の通知、あるいは管理端末正常稼働の通知がある(すなわち他クライアント端末はステップS309〜S326およびS327の新管理端末承認通知の生成、送信、あるいはステップS309〜S321およびS322の管理端末正常稼働通知の生成、送信の動作を実施する)。そこで、他クライアント端末からの新管理端末承認通知の受信数を管理し(ステップS332)、ステップS333では新管理端末承認通知が予め定めた一定数に達したか否かの確認を行う。   When the management terminal communication failure notification is transmitted, there is a notification of new management terminal approval from each client terminal or a notification of normal operation of the management terminal (that is, the other client terminal generates a new management terminal approval notification in steps S309 to S326 and S327, Transmission, or generation and transmission operations of the management terminal normal operation notification in steps S309 to S321 and S322 are performed). Therefore, the number of new management terminal approval notifications received from other client terminals is managed (step S332). In step S333, it is confirmed whether the new management terminal approval notification has reached a predetermined number.

そして、新管理端末承認通知が一定数に達した場合は、以下のように新管理端末としての動作を開始する。すなわち、フラグカウンタBCH・MISS・COUNTおよびFCH・MISS・COUNTを0に初期化し(ステップS334)、NEW・FLAGを0に設定し(ステップS335)、その後、新管理端末として動作を開始する(ステップSS336)。   When the new management terminal approval notification reaches a certain number, the operation as the new management terminal is started as follows. That is, the flag counters BCH, MISS, COUNT and FCH, MISS, COUNT are initialized to 0 (step S334), NEW, FLAG is set to 0 (step S335), and then the operation as a new management terminal is started (step S335). SS336).

一方、ステップS329において、前回、管理端末不良通知を送信してから、他クライアント端末からも管理端末通信不良通知を受信していたことを確認した場合は、予め定めた一定の確率に基づいてNEW・FLAGを0に設定する制御を行い(ステップS337)、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS313)。   On the other hand, if it is confirmed in step S329 that the management terminal communication failure notification has been received from the other client terminal since the management terminal failure notification was transmitted last time, NEW based on a predetermined fixed probability. Control is performed to set FLAG to 0 (step S337), and the live start-up operation and bandwidth allocation request operation of the new management terminal is terminated and waits (step S313).

また、ステップS328において、前回、管理端末不良通知を送信してから、他端末から管理端末正常稼働通知を受信した場合は、NEW・FLAGを0に設定し(ステップS338)、新管理端末の生起動作および帯域割当要求動作を終了して待機する(ステップS313)。   In step S328, if a management terminal failure notification is received from another terminal since the previous management terminal failure notification was transmitted, NEW / FLAG is set to 0 (step S338), and a new management terminal is generated. The operation and the bandwidth allocation request operation are terminated and waited (step S313).

すなわち、新たな管理端末の候補となっていることを取り下げる動作を行うことで、自クライアント端末が新たな管理端末の候補となっていても、他クライアント端末が現在の管理端末から正常にBCH、FCH等のネットワーク管理情報を受信できている場合は、新管理端末として生起しないように制御することができる。   That is, by performing an operation to withdraw that it is a candidate for a new management terminal, even if the client terminal is a candidate for a new management terminal, the other client terminals can be normally BCH, When network management information such as FCH can be received, it can be controlled not to occur as a new management terminal.

なお、以上説明したステップS301〜S338の動作は、クライアント端末のCPU11が主体となって行う動作である。   The operations in steps S301 to S338 described above are operations performed mainly by the CPU 11 of the client terminal.

<B−2.効果>
以上に説明したように、実施の形態2のデータ送受信装置によれば、クライアント端末間で映像ストリームの送受信中に管理端末がPLCネットワークから離脱するなどしてクライアント端末がBCH、FCH等のネットワーク管理情報を受信できなかった場合で、新管理端末が生起するような条件となったとしても、現在の管理端末が他クライアント端末により正常に稼働していることが通知されれば、新管理端末として生起しないようにすることで、管理端末が頻繁に入れ替わってPLCネットワークの同期通信が不安定化するのを防ぐことができる。
<B-2. Effect>
As described above, according to the data transmitting / receiving apparatus of the second embodiment, the client terminal manages network management such as BCH and FCH by leaving the management terminal while the video stream is being transmitted / received between the client terminals. Even if it is a condition that a new management terminal occurs when information cannot be received, if it is notified that the current management terminal is operating normally by another client terminal, the new management terminal will be By preventing it from occurring, it is possible to prevent the synchronous communication of the PLC network from becoming unstable due to frequent switching of the management terminal.

また、映像ストリームを送信する際、固定帯域を割り当てるとともに、1フレーム内での固定帯域割当を同じ位置になるようにスケジューリングするので、前回受信したスケジュール情報、および基準時刻情報をもとに映像ストリームの送受信をすれば、新たな管理端末が生起するまでの管理端末が不在の期間においても、映像ストリームを中断することなく伝送できる効果がある。   In addition, when transmitting a video stream, a fixed bandwidth is allocated and fixed bandwidth allocation within one frame is scheduled to be at the same position, so the video stream is based on the previously received schedule information and reference time information. Thus, there is an effect that the video stream can be transmitted without interruption even in the absence of a management terminal until a new management terminal occurs.

<C.変形例>
以上説明した実施の形態1および2においては、本発明の適用例として高速PLC端末に適用する場合について説明したが、本発明の適用はこれに限るものではなく、無線LAN、あるいはUWB(Ultra Wideband)、あるいはTDMA方式、あるいは映像ストリームに固定的な帯域を割り当ててデータを送受信する仕組みを有するデータ送受信方式を採用する他の伝送方式にも適用が可能である。
<C. Modification>
In the first and second embodiments described above, the case where the present invention is applied to a high-speed PLC terminal has been described as an application example of the present invention. However, the application of the present invention is not limited to this, and a wireless LAN or UWB (Ultra Wideband) is applied. ), Or other transmission systems that employ a TDMA system or a data transmission / reception system having a mechanism for transmitting and receiving data by allocating a fixed band to a video stream.

また、固定帯域が割り当てられた受信クライアント端末側での基準時刻補正を、MACヘッダに付加された送信クライアント端末側の基準時刻情報を用いて実施したが、これに限るものではなく、各クライアント端末内の基準クロックはほぼ管理端末の基準クロックに同期しているので、基準時刻補正を行わずに固定帯域が割り当てられたタイムスロットを使用してデータの送受信を実施することも可能である。   In addition, the reference time correction on the reception client terminal side to which the fixed bandwidth is allocated is performed using the reference time information on the transmission client terminal side added to the MAC header. However, the present invention is not limited to this. Since the reference clock is substantially synchronized with the reference clock of the management terminal, it is also possible to perform data transmission / reception using a time slot to which a fixed bandwidth is assigned without performing reference time correction.

さらに、管理端末のPLCネットワークからの離脱判定をBCHあるいはFCHを受信できなかった場合について説明したが、これに限るものではなく、PLCネットワーク内の同期、および帯域を管理する制御フレームの送受信状態によって判断するよう構成すれば同様の効果を得ることができる。また、固定帯域割当に映像ストリームを伝送する場合について説明したが、これに限るものではなく、オーディオ、あるいは音声等に適用しても良い。   Furthermore, although the case where the decision of leaving the management terminal from the PLC network could not be received by the BCH or FCH has been described, the present invention is not limited to this. The same effect can be obtained if configured to make the determination. Moreover, although the case where the video stream is transmitted in fixed band allocation has been described, the present invention is not limited to this, and the present invention may be applied to audio or voice.

本発明に係るデータ送受信装置を適用した高速PLCネットワークシステムの構成を示す図である。It is a figure which shows the structure of the high-speed PLC network system to which the data transmission / reception apparatus concerning this invention is applied. 本発明に係るデータ送受信装置の構成を説明するブロック図である。It is a block diagram explaining the structure of the data transmitter / receiver which concerns on this invention. 本発明に係るデータ送受信装置内のPLCモデム回路の構成を示すブロック図である。It is a block diagram which shows the structure of the PLC modem circuit in the data transmitter / receiver based on this invention. PLCモデム回路内のPLC送信制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of the PLC transmission control circuit in a PLC modem circuit. PLCモデム回路内のPLC受信制御回路の構成を示すブロック図である。It is a block diagram which shows the structure of the PLC reception control circuit in a PLC modem circuit. 高速PLCを用いたデータ送受信装置にてデータ送受信を行う際の、1フレーム内のデータフォーマットおよびFCH内のスケジュールデータの構成を示す図である。It is a figure which shows the structure of the data format in 1 frame, and the schedule data in FCH at the time of performing data transmission / reception with the data transmission / reception apparatus using high-speed PLC. 実施の形態1に係るデータ送受信装置を管理端末として使用する場合の1フレーム内のデータ送受信動作を説明するフローチャートである。6 is a flowchart illustrating a data transmission / reception operation in one frame when the data transmission / reception apparatus according to Embodiment 1 is used as a management terminal. 実施の形態1に係るデータ送受信装置を管理端末として使用する場合の1フレーム内のデータ送受信動作を説明するフローチャートである。6 is a flowchart illustrating a data transmission / reception operation in one frame when the data transmission / reception apparatus according to Embodiment 1 is used as a management terminal. 実施の形態1に係るデータ送受信装置を管理端末として使用する場合の1フレーム内のデータ送受信動作を説明するフローチャートである。6 is a flowchart illustrating a data transmission / reception operation in one frame when the data transmission / reception apparatus according to Embodiment 1 is used as a management terminal. 実施の形態1に係るデータ送受信装置をクライアント端末として使用する場合の1フレーム内のデータ送受信動作を説明するフローチャートである。4 is a flowchart for explaining a data transmission / reception operation in one frame when the data transmission / reception apparatus according to the first embodiment is used as a client terminal. 実施の形態1に係るデータ送受信装置をクライアント端末として使用する場合の1フレーム内のデータ送受信動作を説明するフローチャートである。4 is a flowchart for explaining a data transmission / reception operation in one frame when the data transmission / reception apparatus according to the first embodiment is used as a client terminal. 実施の形態1に係るデータ送受信装置をクライアント端末として使用する場合の1フレーム内のデータ送受信動作を説明するフローチャートである。4 is a flowchart for explaining a data transmission / reception operation in one frame when the data transmission / reception apparatus according to the first embodiment is used as a client terminal. 実施の形態1に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。6 is a flowchart for explaining a new management terminal raw activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the first embodiment is used as a client terminal. 実施の形態1に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。6 is a flowchart for explaining a new management terminal raw activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the first embodiment is used as a client terminal. 実施の形態1に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。6 is a flowchart for explaining a new management terminal raw activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the first embodiment is used as a client terminal. 実施の形態2に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。10 is a flowchart for explaining a new management terminal live activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the second embodiment is used as a client terminal. 実施の形態2に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。10 is a flowchart for explaining a new management terminal live activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the second embodiment is used as a client terminal. 実施の形態2に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。10 is a flowchart for explaining a new management terminal live activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the second embodiment is used as a client terminal. 実施の形態2に係るデータ送受信装置をクライアント端末として使用する場合の新管理端末生起動作および帯域割当要求動作を説明するフローチャートである。10 is a flowchart for explaining a new management terminal live activation operation and a bandwidth allocation request operation when the data transmitting / receiving apparatus according to the second embodiment is used as a client terminal.

Claims (6)

ネットワークシステムの複数の端末のそれぞれに含まれるデータ送受信装置であって、 前記複数の端末は、他の端末を管理する管理端末と、該管理端末により管理されるクライアント端末を複数含み、前記管理端末より定期的に出力される同期情報、およびスケジュール情報に基づいて前記複数の端末間での映像データおよび制御データの送受信が実行され、
前記データ送受信装置は、
前記管理端末より出力される同期情報およびスケジュール情報を検出する制御情報検出部と、
前記同期情報および前記スケジュール情報が前記管理端末から正常に受信できたか否かの受信状況情報を確認するとともに、前記受信状況情報に基づいて前記管理端末と継続して正常に通信ができているか否かを判断して、受信状況経過情報を生成する制御部とを備え、
前記制御部は、
前記受信状況経過情報により前記管理端末と継続して正常に通信できないないと判断された場合、管理端末通信不良通知を生成して他のクライアント端末に送信し、前記他のクライアント端末から前記管理端末に代わる新管理端末候補としての承認を得ることで、自機が、前記新管理端末として動作を開始するように制御する、データ送受信装置。
A data transmitting / receiving apparatus included in each of a plurality of terminals of a network system, wherein the plurality of terminals include a management terminal that manages other terminals and a plurality of client terminals managed by the management terminal, and the management terminal Transmission and reception of video data and control data between the plurality of terminals based on synchronization information output more regularly and schedule information,
The data transmission / reception device includes:
A control information detector for detecting synchronization information and schedule information output from the management terminal;
Check whether the synchronization information and the schedule information have been normally received from the management terminal or not, and whether or not communication with the management terminal has been normally continued based on the reception status information. And a control unit for generating reception status progress information,
The controller is
When it is determined by the reception status progress information that communication with the management terminal cannot be normally continued, a management terminal communication failure notification is generated and transmitted to another client terminal, and the management terminal transmits the management terminal to the management terminal. A data transmission / reception apparatus that controls an own device to start operation as the new management terminal by obtaining approval as a candidate for a new management terminal that replaces.
前記データ送受信装置は、
前記制御情報検出部で検出された前記スケジュール情報に基づいてデータの受信タイミングを含むタイミング情報を生成するタイミング生成部を備え、
前記制御部は、
前記同期情報および前記スケジュール情報の少なくとも一方が受信できなかった場合、前回までに受信したスケジュール情報に基づいて前記タイミング生成部を制御するとともに、前回までに受信した前記スケジュール情報に基づいて検出したクロックの誤差情報を用いて基準時刻を補正する、請求項1記載のデータ送受信装置。
The data transmission / reception device includes:
A timing generation unit that generates timing information including data reception timing based on the schedule information detected by the control information detection unit;
The controller is
When at least one of the synchronization information and the schedule information cannot be received, the timing generator is controlled based on the schedule information received up to the previous time, and the clock detected based on the schedule information received up to the previous time The data transmitting / receiving apparatus according to claim 1, wherein the reference time is corrected using the error information.
前記制御部は、
自機が前記管理端末通信不良通知を出していない場合であって、前記他のクライアント端末から前記管理端末通信不良通知を受信した場合、前記管理端末通信不良通知の送信元に対して、前記新管理端末として生起することを承認する新管理端末承認通知を送信する、請求項1記載のデータ送受信装置。
The controller is
When the own device has not issued the management terminal communication failure notification and has received the management terminal communication failure notification from the other client terminal, the new terminal is notified to the transmission source of the management terminal communication failure notification. The data transmitting / receiving apparatus according to claim 1, which transmits a new management terminal approval notification for approving occurrence as a management terminal.
前記制御部は、
自機が前記管理端末である場合に、前記同期情報を前記クライアント端末から受けることで、前記クライアント端末の何れかが自機に代わって前記新管理端末として生起したものと判断し、非管理端末として動作するように自機を制御する、請求項1記載のデータ送受信装置。
The controller is
When the own device is the management terminal, it is determined that any of the client terminals has occurred as the new management terminal on behalf of the own device by receiving the synchronization information from the client terminal; The data transmission / reception apparatus according to claim 1, wherein the data transmission / reception apparatus controls the own apparatus so as to operate as:
前記制御部は、
自機が前記他のクライアント端末である場合に、前記同期情報を前記新管理端末から受けることで、前記新管理端末に従った動作を開始し、前記管理端末を非管理端末とみなす、請求項1記載のデータ送受信装置。
The controller is
The operation according to the new management terminal is started by receiving the synchronization information from the new management terminal when the own apparatus is the other client terminal, and the management terminal is regarded as a non-management terminal. The data transmitting / receiving apparatus according to 1.
前記制御部は、
前記他のクライアント端末から、前記管理端末通信不良通知を受けた場合であっても、自機において前記同期情報を受信した場合には、前記管理端末が正常に稼働していることを示す管理端末正常稼働通知を生成して、前記管理端末通信不良通知の送信元に送信する、請求項1記載のデータ送受信装置。
The controller is
Even if the management terminal communication failure notification is received from the other client terminal, the management terminal indicates that the management terminal is operating normally when the synchronization information is received in its own device. The data transmission / reception apparatus according to claim 1, wherein a normal operation notification is generated and transmitted to a transmission source of the management terminal communication failure notification.
JP2008225688A 2008-09-03 2008-09-03 Data transceiver Expired - Fee Related JP5178405B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008225688A JP5178405B2 (en) 2008-09-03 2008-09-03 Data transceiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008225688A JP5178405B2 (en) 2008-09-03 2008-09-03 Data transceiver

Publications (3)

Publication Number Publication Date
JP2010062803A true JP2010062803A (en) 2010-03-18
JP2010062803A5 JP2010062803A5 (en) 2011-04-28
JP5178405B2 JP5178405B2 (en) 2013-04-10

Family

ID=42189125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008225688A Expired - Fee Related JP5178405B2 (en) 2008-09-03 2008-09-03 Data transceiver

Country Status (1)

Country Link
JP (1) JP5178405B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015052949A (en) * 2013-09-06 2015-03-19 東芝テック株式会社 Information processing device and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0281518A (en) * 1988-09-19 1990-03-22 Hitachi Ltd Self-running processing system
JP2000049738A (en) * 1998-07-30 2000-02-18 Nec Corp Tdma communication network system
JP2005275539A (en) * 2004-03-23 2005-10-06 Ntt Comware Corp Communication system, method for anomaly recovery of master peer in the system, and computer program
JP2008054028A (en) * 2006-08-24 2008-03-06 Toshiba Elevator Co Ltd Control information transmission system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0281518A (en) * 1988-09-19 1990-03-22 Hitachi Ltd Self-running processing system
JP2000049738A (en) * 1998-07-30 2000-02-18 Nec Corp Tdma communication network system
JP2005275539A (en) * 2004-03-23 2005-10-06 Ntt Comware Corp Communication system, method for anomaly recovery of master peer in the system, and computer program
JP2008054028A (en) * 2006-08-24 2008-03-06 Toshiba Elevator Co Ltd Control information transmission system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015052949A (en) * 2013-09-06 2015-03-19 東芝テック株式会社 Information processing device and program

Also Published As

Publication number Publication date
JP5178405B2 (en) 2013-04-10

Similar Documents

Publication Publication Date Title
TWI458284B (en) Multiple channel support in distributed wireless systems
US7606199B2 (en) Central coordinator selection, handover, backup and failure recovery
KR100753026B1 (en) Broadcast hand-over in a wireless network
US7920540B2 (en) Method and system for reliable broadcast or multicast communication in wireless networks
US20080040759A1 (en) System And Method For Establishing And Maintaining Synchronization Of Isochronous Audio And Video Information Streams in Wireless Multimedia Applications
CN102625440A (en) Syncronizing wireless devices
US8619705B2 (en) Communication method between at least one subscriber station and at least two base stations
KR20080021457A (en) Method of communicating in wireless network
WO2001056180A1 (en) Two-dimensional scheduling scheme for a broadband wireless access system
US6694149B1 (en) Method and apparatus for reducing power consumption in a network device
US9814069B2 (en) Channel reservation in flexible wireless networks
KR20040071332A (en) System and method for handling long asynchronous data in an asynchronous time slot
JP2013009429A (en) Terminal capable of acting as substitution for control station
US7742743B2 (en) Reduced frame collision wireless communication system having communication device mode switching
CN112260719A (en) Frequency hopping communication method for wireless battery management and system applying same
JP5178405B2 (en) Data transceiver
KR20050023940A (en) Method For Data Streaming In Ad-hoc Wireless Local Area Network
JP4980123B2 (en) Data transceiver
JP2005012260A (en) Data transmission control method
EP2575359B1 (en) Method, apparatus and system for implementing picture-in-picture display in a home network environment
JP5082715B2 (en) Receiving device, receiving method, and computer program
JP2009027327A (en) Data transmission and reception apparatus
US20110085523A1 (en) Method for managing a distribution of bandwidth in a communications network, corresponding storage means and slave node
EP2178242A1 (en) A method of using power saving mode in a dual mode device to service client devices
JP2008288740A (en) Data communication method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110310

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110310

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120628

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120703

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120823

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120918

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121107

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130108

LAPS Cancellation because of no payment of annual fees