JP2002094542A - Inter-lan connection system and its loopback test system - Google Patents

Inter-lan connection system and its loopback test system

Info

Publication number
JP2002094542A
JP2002094542A JP2000280893A JP2000280893A JP2002094542A JP 2002094542 A JP2002094542 A JP 2002094542A JP 2000280893 A JP2000280893 A JP 2000280893A JP 2000280893 A JP2000280893 A JP 2000280893A JP 2002094542 A JP2002094542 A JP 2002094542A
Authority
JP
Japan
Prior art keywords
packet
optical conversion
test
optical
conversion device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2000280893A
Other languages
Japanese (ja)
Other versions
JP4038972B2 (en
Inventor
Kenji Takahashi
賢司 高橋
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.)
Ando Electric Co Ltd
Kyushu Ando Electric Co Ltd
Original Assignee
Ando Electric Co Ltd
Kyushu Ando Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ando Electric Co Ltd, Kyushu Ando Electric Co Ltd filed Critical Ando Electric Co Ltd
Priority to JP2000280893A priority Critical patent/JP4038972B2/en
Publication of JP2002094542A publication Critical patent/JP2002094542A/en
Application granted granted Critical
Publication of JP4038972B2 publication Critical patent/JP4038972B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Optical Communication System (AREA)
  • Monitoring And Testing Of Exchanges (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an inter-LAN connection system that can effectively carry out a loopback test from a communication company to a termination point of a subscriber in the case of connecting a user LAN to a broadband LAN of the communication enterprise via an optical fiber transmission line. SOLUTION: An optical conversion bridge 40 of the enterprise transmits a start packet whose length is shorter than a packet length of an Ethernet (R) frame to a subscriber side optical conversion repeater 50 via the optical fiber transmission line 20 in the case of conducting a loopback test. Thus, the optical conversion repeater 50 sets its electric physical layer termination section 510 with respect to the user LAN to a loopback state and transmits a reply packet in response to the start packet to the optical conversion bridge 40. The optical conversion bridge 40 receiving the reply packet transmits a test packet with a length equal to that of the Ethernet frame to the optical conversion repeater 50 via the optical fiber transmission line 20. The test packet is looped back at the electric physical layer termination section 510 of the optical conversion repeater 50 and looped back to the optical conversion bridge 40 via the optical fiber transmission line 20. The result is indicated by a blinked LED 429 or reported to a remote controller.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、LAN間接続シス
テムおよびそのループバック試験方式に係り、特に、た
とえばイーサネットフレームを伝送するLAN間接続シ
ステムおよびそのループバック試験方式に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an inter-LAN connection system and a loop-back test method thereof, and more particularly to an inter-LAN connection system for transmitting an Ethernet frame and a loop-back test method.

【0002】[0002]

【従来の技術】近年、LAN(local area network)技術
をベースとした広域LANが各地域にそれぞれ構築され
て、これらをさらに高速広帯域の基幹網により接続した
WAN(wide area network) が全国規模において展開さ
れて、その実用化が図られつつある。その伝送路基盤と
しては光ファイバが適用されて、いわゆるFTTO(fib
er to the office) あるいはFTTH(fiber to the ho
me) と呼ばれるユーザ接続まで拡張したネットワークサ
ービスが提供されるようになってきた。
2. Description of the Related Art In recent years, wide area LANs based on LAN (local area network) technology have been constructed in each region, and WANs (wide area networks) connecting these with a high-speed and broadband backbone network have become nationwide. It is being developed and is being put to practical use. An optical fiber is applied as the transmission line base, so-called FTTO (fib
er to the office) or FTTH (fiber to the ho
Network services that have been extended to user connections called me) have been provided.

【0003】また、周知のように、LAN同士を接続す
るLAN間接続装置としては、OSI(open systems in
terconnection)モデルのデータリンク層レベルでの接続
をするブリッジと、ネットワーク層レベルでの接続をす
るルータと、トランスポート層以上の上位レベルでの接
続をするゲートウェイなどが知られている。特に、ブリ
ッジ方式のLAN間接続は、共通のデータリンク層を介
して接続するため、TCP/IP(transmission contro
l protocol/internet protocol) などの上位のプロトコ
ルに関係なくLAN同士を安価な装置により接続するこ
とができる。
As is well known, an OSI (open systems in OSI) is used as an inter-LAN connecting device for connecting LANs.
A bridge that connects at a data link layer level of a terconnection) model, a router that connects at a network layer level, and a gateway that connects at a higher level than the transport layer are known. In particular, since the bridge-type LAN connection is connected via a common data link layer, TCP / IP (transmission control
LANs can be connected by inexpensive devices regardless of higher-level protocols such as l protocol / internet protocol).

【0004】[0004]

【発明が解決しようとする課題】ところで、ユーザLA
Nを上記のような通信事業者の広域LANに光ファイバ
伝送路を介して接続する場合、光ファイバ伝送路の宅内
側の終端点に通信事業者の責任分解点が位置付けられ、
その終端点までの保守および監視機能が必要となってく
る。しかしながら、上述のような従来のLAN間接続装
置では、十分な保守監視機能がなくその開発が望まれて
いた。特に、ブリッジ方式の終端装置を適用した場合に
は、ブロードキャスティングフレームを通過させてしま
うという欠点があり、たとえばループバック試験を実施
する場合に制御パケットや試験パケットがそれぞれのL
AN側まで通過してしまい、さらに他の網に流出したパ
ケットが通信に悪影響を及ぼすおそれがあった。
By the way, the user LA
When N is connected to a wide area LAN of a communication carrier as described above via an optical fiber transmission line, the responsibility point of the communication carrier is positioned at a terminal point inside the house of the optical fiber transmission line,
A maintenance and monitoring function up to the terminal point is required. However, the conventional LAN connection device as described above does not have a sufficient maintenance and monitoring function, and its development has been desired. In particular, when a bridge type termination device is applied, there is a disadvantage that a broadcasting frame is passed. For example, when a loopback test is performed, a control packet or a test packet is transmitted to each L.
There is a possibility that a packet that has passed to the AN side and that has flowed out to another network may adversely affect communication.

【0005】本発明は、上記のような課題に鑑みてなさ
れたものであり、ユーザLANを通信事業者の広域LA
Nに安価な装置によりLAN間接続することができ、さ
らに有効に光ファイバ伝送路の試験を実施することがで
きるLAN間接続システムおよびそのループバック試験
方式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned problems, and has been developed in such a manner that a user LAN is connected to a wide area LA of a communication carrier.
It is an object of the present invention to provide a LAN-to-LAN connection system that can perform LAN-to-LAN connection using an inexpensive device to N, and that can more effectively perform an optical fiber transmission line test, and a loopback test method therefor.

【0006】[0006]

【課題を解決するための手段】本発明によるLAN間接
続システムは上述の課題を解決するために、ユーザLA
N(10)と通信事業者の広域LAN(30)とを光フ
ァイバ伝送路(20)を介して接続するLAN間接続シ
ステムであって、通信事業者側に設置されて広域LAN
と光ファイバ伝送路との間に伝送する所定のデータフレ
ームを電気/光変換してそのデータフレームを媒体アク
セス制御により転送する第1の光変換装置(40)と、
ユーザ宅内に設置されてユーザLANと光ファイバ伝送
路との間に伝送するデータフレームを電気/光変換して
そのデータフレームを媒体アクセス制御により転送する
第2の光変換装置(50)とを有し、第1の光変換装置
は第2の光変換装置との間のループバック試験を制御す
る制御パケットであって第2の光変換装置での転送処理
の際に破棄される制御パケットを送出し、さらにデータ
フレームと同様の試験パケットを送出してループバック
試験をする試験制御手段(414)を含み、第2の光変
換装置は、第1の光変換装置からの制御パケットに基づ
いてユーザLANとの物理層終端点をループバック状態
に設定して、光ファイバ伝送路を介して受信した試験パ
ケットを第1の光変換装置に折り返してループバック制
御するループ制御手段(512)を含むことを特徴とす
る。
According to the present invention, there is provided an inter-LAN connection system for solving the above-mentioned problems, which is performed by a user LA.
N (10) and a wide area LAN (30) of a communication carrier through an optical fiber transmission line (20).
A first optical conversion device (40) for performing electrical / optical conversion of a predetermined data frame transmitted between the optical fiber transmission line and the optical frame and transferring the data frame by medium access control;
A second optical conversion device (50) installed in the user's home for converting the data frame transmitted between the user LAN and the optical fiber transmission line into an optical signal and transferring the data frame by medium access control; The first optical conversion device transmits a control packet for controlling a loopback test with the second optical conversion device, which is discarded during transfer processing in the second optical conversion device. And a test control unit (414) for transmitting a test packet similar to the data frame to perform a loopback test, wherein the second optical conversion device performs a user operation based on the control packet from the first optical conversion device. Loop control for setting a physical layer termination point with the LAN in a loopback state, returning a test packet received via the optical fiber transmission line to the first optical conversion device, and performing loopback control Characterized in that it comprises a stage (512).

【0007】この場合、制御パケットは、第2の光変換
装置において転送処理するデータフレームの最短パケッ
ト長よりもさらに短いパケット長に形成されたパケット
であるとよい。
In this case, the control packet may be a packet formed to have a shorter packet length than the shortest packet length of the data frame to be transferred in the second optical conversion device.

【0008】また、制御パケットは、第2の光変換装置
において転送処理するデータフレームのパケット長と同
様の長さのパケットであって、そのデータチェックに誤
りを含ませたパケットであってもよい。
The control packet is a packet having the same length as the packet length of the data frame to be transferred in the second optical conversion device, and may be a packet in which an error is included in the data check. .

【0009】この場合、第1の光変換装置は、広域LA
Nと接続された電気物理層を終端する電気物理層終端手
段(402)と、光ファイバ伝送路と接続された光物理
層を終端する光物理層終端手段(412)と、これら終
端手段間においてデータフレームをそのMACアドレス
に従って転送するMACスイッチ(404,408)
と、MACスイッチと光物理層終端手段との間において
試験制御手段からの制御パケットを第2の光変換装置へ
の送信経路に挿入してその制御パケットに対する第2の
光変換装置からの応答パケットを受信経路から検出する
制御パケット挿入検出手段(410)と、MACアドレ
スと電気物理層終端手段との間において試験制御手段か
らの試験パケットを第2の光変換装置への送信経路に挿
入してその第2の光変換装置からループバックされた試
験パケットを受信経路から検出する試験パケット挿入検
出手段(406)とを含むとよい。
[0009] In this case, the first light conversion device has a wide area LA.
N, an electric physical layer terminating means (402) for terminating the electric physical layer connected to the optical fiber, an optical physical layer terminating means (412) for terminating the optical physical layer connected to the optical fiber transmission line, and MAC switch (404, 408) for transferring a data frame according to its MAC address
And inserting a control packet from the test control means between the MAC switch and the optical physical layer terminating means into a transmission path to the second optical conversion device, and responding to the control packet from the second optical conversion device. And a control packet insertion detecting means (410) for detecting the packet from the receiving path, and inserting the test packet from the test controlling means into the transmission path to the second optical conversion device between the MAC address and the electric physical layer terminating means. It is preferable to include a test packet insertion detecting means (406) for detecting a test packet looped back from the second optical conversion device from a reception path.

【0010】また、第1の光変換装置の試験制御手段は
少なくとも、ループバック試験の際にその起動パケット
および停止パケットを含む制御パケットおよび試験パケ
ットをそれぞれ生成するパケット生成手段(436)
と、起動パケットに対する応答パケットおよびループバ
ックされた試験パケットを検出するパケット検出手段
(442)と、ループバックされた試験パケットが送信
した試験パケットと一致するか否かを比較するパケット
比較手段(444)と、その結果を外部に報知する報知
手段(440)とを含むとよい。
The test control means of the first optical conversion device generates at least a control packet and a test packet including a start packet and a stop packet at the time of a loopback test, respectively.
A packet detecting means (442) for detecting a response packet to the start packet and a loop-backed test packet; and a packet comparing means (444) for comparing whether or not the looped-back test packet matches the transmitted test packet. ) And a notifying means (440) for notifying the result to the outside.

【0011】また、第2の光変換装置は、ユーザLAN
と接続された電気物理層を終端する電気物理層終端手段
(510)と、光ファイバ伝送路と接続された光物理層
を終端する光物理層終端手段(502)と、これら終端
手段間においてデータフレームをそのMACアドレスに
従って転送するMACスイッチ(506,508)と、
MACスイッチと光物理層終端手段との間において第1
の光変換装置からの制御パケットをその受信経路から検
出してループ制御手段に供給し、ループ制御手段からの
応答パケットを第1の光変換装置への送信経路に挿入す
る制御パケット挿入検出手段(504)とを含むとよ
い。
[0011] The second optical conversion device is a user LAN.
An electrical physical layer terminating means (510) for terminating the electrical physical layer connected to the optical fiber transmission line, an optical physical layer terminating means (502) for terminating the optical physical layer connected to the optical fiber transmission line, and data between these terminating means. A MAC switch (506, 508) for transferring the frame according to the MAC address;
First between the MAC switch and the optical physical layer termination means
Control packet insertion detecting means for detecting the control packet from the optical conversion device from the receiving path and supplying the control packet to the loop control means, and inserting the response packet from the loop control means into the transmission path to the first optical conversion device ( 504).

【0012】さらに、第2の光変換装置のループ制御手
段は少なくとも、第1の光変換装置からの起動パケット
および停止パケットを含む制御パケットをそれぞれ検出
するパケット検出手段(542)と、パケット検出手段
において起動パケットを検出した際にその応答パケット
を生成するパケット生成手段(536)と、パケット検
出手段において起動パケットを受けた際に電気物理層終
端手段をループバック状態に設定し、停止パケットを受
けた際にループバック状態を解除するループ設定解除手
段(532)とを含むとよい。
Further, the loop control means of the second optical conversion device includes at least a packet detection means (542) for respectively detecting a control packet including a start packet and a stop packet from the first optical conversion device, and a packet detection means. A packet generating means (536) for generating a response packet when detecting a start packet, and setting the electric physical layer terminating means to a loopback state when receiving the start packet by the packet detecting means, and receiving a stop packet. And a loop setting canceling means (532) for canceling the loop-back state when this occurs.

【0013】一方、本発明によるループバック試験方式
は、ユーザLANと通信事業者の広域LANとを光ファ
イバ伝送路を介して接続するLAN間接続システムにお
けるループバック試験方式であって、通信事業者側にそ
の広域LANと光ファイバ伝送路との間に伝送する所定
のデータフレームを電気/光変換してそのデータフレー
ムを媒体アクセス制御により転送する第1の光変換装置
を用意し、ユーザ宅内側にそのユーザLANと光ファイ
バ伝送路との間に伝送するデータフレームを電気/光変
換してそのデータフレームを媒体アクセス制御により転
送する第2の光変換を用意し、第1の光変換装置から第
2の光変換装置にループバック試験を指示する起動パケ
ットであってその検出後に破棄される起動パケットを光
ファイバ伝送路を介して送信し、その起動パケットを受
信した第2の光変換装置においてユーザLANとの電気
物理層終端点をループバック状態に設定し、その起動パ
ケットに対して応答する応答パケットであってその検出
後に破棄される応答パケットを光ファイバ伝送路を介し
て第1の光変換装置に送信し、その応答パケットを受信
した第1の光変換装置において所定のデータフレームと
同様の試験パケットを光ファイバ伝送路を介して第2の
光変換装置に送信し、試験パケットを受信した第2の光
変換装置においてその試験パケットをユーザLANとの
電気物理層終端点にて折り返して再び光ファイバ伝送路
を介して第1の光変換装置にループバックし、ループバ
ックされた試験パケットを第1の光変換装置において受
信して送信した試験パケットとループバックされた試験
パケットが一致するか否かを比較してその結果を外部に
報知することを特徴とする。
On the other hand, the loopback test method according to the present invention is a loopback test method in an inter-LAN connection system for connecting a user LAN and a wide area LAN of a communication carrier via an optical fiber transmission line. A first optical conversion device is provided on the side for converting a predetermined data frame to be transmitted between the wide area LAN and the optical fiber transmission line into an optical signal and transferring the data frame by medium access control. A second optical converter for converting the data frame transmitted between the user LAN and the optical fiber transmission line into an optical signal and transferring the data frame by medium access control; A startup packet that instructs the second optical conversion device to perform a loopback test and is discarded after the detection is transmitted to the optical fiber transmission line. The second optical conversion device, which has received the start packet, sets the electric physical layer terminal point with the user LAN in a loopback state, and is a response packet responding to the start packet and detecting the response packet. A response packet to be discarded later is transmitted to the first optical conversion device via the optical fiber transmission line, and the first optical conversion device receiving the response packet transmits a test packet similar to a predetermined data frame to the first optical conversion device. The test packet is transmitted to the second optical conversion device via the path, and the test packet is returned to the second optical conversion device at the end point of the electro-physical layer with the user LAN at the second optical conversion device which has received the test packet, and again transmitted through the optical fiber transmission line. The first optical conversion device loops back the test packet, and the loop-backed test packet is received by the first optical conversion device and transmitted. Compared whether back test packet matches characterized by notifying the result to the outside.

【0014】この場合、第1の光変換装置は、ループバ
ック試験を終了する際に第2の光変換装置においてその
検出後に破棄される停止パケットを光ファイバ伝送路を
介して第2の光変換装置に送信して通常のデータ通信可
能な状態に戻り、その停止パケットを受けた第2の光変
換装置はユーザLANとの電気物理層終端点のループバ
ック状態を解除して通常のデータ通信可能な状態に戻る
とよい。
In this case, when the first optical conversion device terminates the loopback test, the second optical conversion device sends the stop packet discarded after the detection to the second optical conversion device via the optical fiber transmission line. The second optical converter receives the stop packet and transmits to the device to return to a state in which normal data communication can be performed, and the second optical conversion device releases the loopback state of the electric physical layer terminal point with the user LAN to enable normal data communication. It is good to return to the state.

【0015】これらの場合、起動パケットおよび応答パ
ケットならびに停止パケットは、第1および第2の光変
換リピータにおいて転送処理するデータフレームの最短
パケット長よりもさらに短いパケット長に形成されたパ
ケットであるとよい。
[0015] In these cases, the start packet, the response packet, and the stop packet are packets formed to have a shorter packet length than the shortest packet length of the data frame to be transferred in the first and second optical conversion repeaters. Good.

【0016】また、起動パケットおよび応答パケットな
らびに停止パケットは、第1および第2の光変換装置に
おいて転送処理するデータフレームのパケット長と同様
の長さのパケットであって、そのデータチェックに誤り
を含ませたパケットであってもよい。
The start packet, the response packet, and the stop packet are packets having the same length as the packet length of the data frame to be transferred in the first and second optical conversion devices. The packet may be included.

【0017】[0017]

【発明の実施の形態】次に、添付図面を参照して本発明
によるLAN間接続システムおよびそのループバック試
験方式の実施の形態を詳細に説明する。図1には、本発
明によるLAN間接続システムの一実施形態が示されて
いる。本実施形態によるLAN間接続システムは、たと
えば図2に示すように、ユーザLAN10を光ファイバ
伝送路20を介して通信事業者の広域LAN30などの
キャリアネットワークに接続する加入者アクセス系のユ
ーザ・網インタフェースであり、本実施形態では、光フ
ァイバ伝送路20と、その局側に接続された光変換ブリ
ッジ40と、宅内側に接続された光変換リピータ50と
を含むブリッジ方式のLAN間接続システムである。特
に、本実施形態では、局側の光変換ブリッジ40から光
ファイバ伝送路20を介して宅内側の光変換リピータ5
0にイーサネットフレームのパケット長よりも短い起動
パケットSPを供給して、さらにイーサネットフレーム
と同様のパケット長の試験パケットTPを送って遠隔ル
ープバック試験をする本願特有のループバック試験方式
を適用した試験機能を有する点が主な特徴点である。
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing an embodiment of a LAN connection system and a loopback test system according to the present invention; FIG. 1 shows an embodiment of an inter-LAN connection system according to the present invention. As shown in FIG. 2, for example, a LAN-to-LAN connection system according to the present embodiment connects a user LAN 10 to a carrier network such as a wide area LAN 30 of a communication carrier via an optical fiber transmission line 20. In the present embodiment, the bridge type LAN connection system including the optical fiber transmission line 20, the optical conversion bridge 40 connected to the station side, and the optical conversion repeater 50 connected inside the house is an interface. is there. In particular, in the present embodiment, the optical conversion repeater 5 on the inside of the house via the optical fiber transmission line 20 from the optical conversion bridge 40 on the office side.
0, a start packet SP shorter than the packet length of the Ethernet frame is supplied, and a test packet TP having a packet length similar to that of the Ethernet frame is sent to perform a remote loopback test. The main feature is that it has functions.

【0018】各部の詳細を説明すると、ユーザLAN1
0は、本実施形態では複数のパーソナルコンピュータな
どのデータ端末が接続された10Base−Tあるいは
100Base−TのイーサネットLANであり、本実
施形態では、通信事業者との帯域契約により10Mbp
sから100Mbpsまでの任意の伝送帯域が選択され
て本実施形態のLAN間接続システムにより広域LAN
30に接続される。このユーザLAN10は、ハブある
いはルータ100を介して光変換リピータ50に接続さ
れている。一方、広域LAN30は、たとえば数Gbp
sの伝送帯域を有するイーサネットベースの高速広帯域
のLANであり、たとえば地域毎に複数のユーザLAN
10を収容してさらに100Gbpsクラスの基幹網を
介して各地域に接続するWAN(wide area network) を
形成している。この広域LAN30は、ルータ300を
介して光変換ブリッジ40に接続されている。
The details of each unit will be described.
0 is a 10Base-T or 100Base-T Ethernet LAN to which a plurality of data terminals such as personal computers are connected in this embodiment. In this embodiment, 10Mbp is set according to a bandwidth contract with a communication carrier.
s to 100 Mbps is selected, and the LAN connection system of this embodiment selects a wide area LAN.
30. The user LAN 10 is connected to an optical conversion repeater 50 via a hub or a router 100. On the other hand, the wide area LAN 30 is, for example, several Gbps.
s is a high-speed broadband Ethernet-based LAN having a transmission bandwidth of, for example, a plurality of user LANs for each region.
A WAN (wide area network) for accommodating 10 and further connecting to each area via a 100 Gbps class backbone network is formed. This wide area LAN 30 is connected to an optical conversion bridge 40 via a router 300.

【0019】ルータ100,300は、ネットワーク層
レベルのスイッチであり、たとえば本実施形態において
伝送するイーサネットフレーム中のIP(Internet protoc
ol)アドレスに従って経路を振り分けるLAN間接続装
置である。イーサネットフレームは、図5に示すよう
に、同期信号を表わすプリアンブルPAと、8ビットの
フレーム開始デリミタSFDと、隣接する次の宛先を表
わす宛先MAC(media access control)アドレスDA
と、送信元アドレスを表わす送信元MACアドレスSA
と、データ長またはデータタイプを表わすレングスタイ
プLTと、IPヘッダを含む46〜1500オクテット
の可変長の送信データDTと、宛先MACアドレスDA
からデータDTまでの長さが64オクテット未満の際に
付加されて64オクテットの長さに調整するパッドPA
Dと、CRC(cyclic redundancy check) 符号などのフ
レームのエラー検出のためのフレームチェックシーケン
スFCSとを含む。本実施形態のLAN間接続システム
は、宛先MACアドレスDAと、送信元MACアドレス
SAと、レングスタイプLTとからなるイーサネットヘ
ッダに基づいてそれぞれのイーサネットフレームを転送
するブリッジ方式のLAN間接続システムである。
The routers 100 and 300 are switches at the network layer level, and for example, IP (Internet protocol) in an Ethernet frame transmitted in the present embodiment.
ol) An inter-LAN connection device that distributes routes according to addresses. As shown in FIG. 5, the Ethernet frame has a preamble PA indicating a synchronization signal, an 8-bit frame start delimiter SFD, and a destination MAC (media access control) address DA indicating the next adjacent destination.
And a source MAC address SA representing a source address
, Length type LT indicating data length or data type, variable length transmission data DT of 46 to 1500 octets including an IP header, and destination MAC address DA
Pad PA that is added when the length from data to data DT is less than 64 octets and is adjusted to a length of 64 octets
D and a frame check sequence FCS for error detection of a frame such as a CRC (cyclic redundancy check) code. The LAN connection system according to the present embodiment is a bridge-type LAN connection system that transfers each Ethernet frame based on an Ethernet header including a destination MAC address DA, a source MAC address SA, and a length type LT. .

【0020】詳細には、本実施形態による光変換ブリッ
ジ40は、通信事業者側に設置されて広域LAN30の
ルータ300からのイーサネットフレームおよび光ファ
イバ伝送路20を介して転送されたユーザLAN10か
らのイーサネットフレームをそのMACアドレスに従っ
て相互に転送するMACブリッジであり、本実施形態で
は、ルータ300からのより対線などの電気伝送路と光
ファイバ伝送路20との間のイーサネットフレームの電
気/光変換をして媒体アクセス制御する第1の光変換装
置である。より具体的には、図1に示すように、本実施
形態の光変換ブリッジ(MC2)40は、電気物理層終
端部(PHY−E)402と、第1のMACスイッチ4
04と、試験パケット挿入検出部406と、第2のMA
Cスイッチ408と、制御パケット挿入検出部410
と、光物理層終端部(PHY−O)412と、制御部4
14とを含む。電気物理層終端部402は、ルータ30
0との間において送受信するイーサネットフレームを終
端するレイヤ1の終端回路であり、より正確には10/
100Base−Tのコネクタと、このコネクタとPH
Yチップとの間の整合をとるトランスと、フレームの波
形整形などの処理をするPHYチップとを含む。特に、
本実施形態では、ループバック試験の際に、制御部41
4の制御の下に試験パケットが外部に送出されないよう
にPHYチップにて折り返し経路を形成するループバッ
クモードを含む。PHYチップと第1のMACスイッチ
404とは往路線および復路線の2線により接続されて
いる。
More specifically, the optical conversion bridge 40 according to the present embodiment is installed on the telecommunications carrier side, and is connected to the Ethernet frame from the router 300 of the wide area LAN 30 and the user LAN 10 transferred through the optical fiber transmission line 20 from the user LAN 10. This is a MAC bridge for mutually transferring the Ethernet frame according to the MAC address. In the present embodiment, the Ethernet frame is connected between the optical transmission line such as a twisted pair from the router 300 and the optical fiber transmission line 20 and converted into an electrical / optical signal. This is a first optical conversion device that performs medium access control. More specifically, as shown in FIG. 1, the optical conversion bridge (MC2) 40 of the present embodiment includes an electrophysical layer terminator (PHY-E) 402 and a first MAC switch 4
04, the test packet insertion detection unit 406, and the second MA
C switch 408 and control packet insertion detecting section 410
, An optical physical layer termination unit (PHY-O) 412, and a control unit 4
14 is included. The electrophysical layer termination unit 402
0 is a layer 1 termination circuit that terminates Ethernet frames transmitted and received between
100Base-T connector and this connector and PH
It includes a transformer for matching with the Y chip, and a PHY chip for performing processing such as frame waveform shaping. In particular,
In the present embodiment, at the time of the loopback test, the control unit 41
4 includes a loopback mode in which the PHY chip forms a return path so that the test packet is not transmitted to the outside under control. The PHY chip and the first MAC switch 404 are connected by two lines, a forward line and a return line.

【0021】第1のMACスイッチ404は、イーサネ
ットフレームのMACアドレスに従ってフレームを転送
する転送処理部であり、本実施形態では、後述するよう
に第2のMACスイッチ408と協同して広域LAN3
0側に流出するデータの帯域制限をする帯域制御部であ
る。第1のMACスイッチ404と第2のMACスイッ
チ408とは、試験パケット挿入検出部406を介して
それぞれ往路線および復路線により接続されている。試
験パケット挿入検出部406は、遠隔ループおよび自己
ループのループバック試験の際に制御部414において
生成した試験パケットを往路線に挿入し、およびループ
バックされた試験パケットを復路線から制御部414に
取り出す本実施形態特有の部位であり、第1のMACス
イッチ404から第2のMACスイッチ408への往路
線に設けられた切替スイッチ(SW−T)420と、第
2のMACスイッチ408から第1のMACスイッチ4
04への復路線に共通接続された検出線422とを含
む。
The first MAC switch 404 is a transfer processing unit for transferring a frame according to the MAC address of the Ethernet frame. In the present embodiment, the first MAC switch 404 cooperates with the second MAC switch 408 to cope with the wide area LAN 3 as described later.
It is a band control unit that limits the band of data flowing out to the 0 side. The first MAC switch 404 and the second MAC switch 408 are connected via a test packet insertion detection unit 406 by a forward line and a return line, respectively. The test packet insertion detection unit 406 inserts the test packet generated by the control unit 414 during the loop-back test of the remote loop and the self-loop into the outward route, and sends the loop-backed test packet to the control unit 414 from the return route. A switch (SW-T) 420 provided on the outward route from the first MAC switch 404 to the second MAC switch 408, and a first switch from the second MAC switch 408 to the first MAC switch 408. MAC switch 4
04 and a detection line 422 commonly connected to the return line to 04.

【0022】第2のMACスイッチ408は、第1のM
ACスイッチ404と同様に、イーサネットフレームの
MACアドレスに従ってフレームを転送する転送処理部
であり、本実施形態では、第1のMACスイッチ404
と協同して広域LAN30側に流出するデータの帯域制
限をする帯域制御部である。つまり、第1のMACスイ
ッチ404と共通の発振器によりその動作周波数が決定
されてバッファへのデータの書込みおよび読出しを制御
して、ユーザLAN10側から流入するデータ帯域が契
約帯域を越えた場合にそれらのフレームを破棄する処理
を実行する。第2のMACスイッチ408は、制御パケ
ット挿入検出部410を介して往路線および復路線によ
り光物理層終端部412に接続されている。
The second MAC switch 408 is connected to the first M
Like the AC switch 404, the transfer unit is a transfer processing unit that transfers a frame according to the MAC address of an Ethernet frame. In the present embodiment, the first MAC switch 404
Is a band control unit that limits the band of data flowing out to the wide area LAN 30 in cooperation with. In other words, when the operating frequency is determined by the oscillator common to the first MAC switch 404 and the writing and reading of data to and from the buffer are controlled, when the data band flowing from the user LAN 10 exceeds the contracted band, Execute the process of discarding the frame. The second MAC switch 408 is connected to the optical-physical-layer terminating unit 412 via a control packet insertion detection unit 410 via a forward line and a return line.

【0023】制御パケット挿入検出部410は、遠隔ル
ープバック試験の際に制御部414において生成された
制御パケットを往路線に挿入し、および光変換リピータ
50からの応答パケットを復路線から検出する本実施形
態特有の部位であり、第2のMACスイッチ408から
光物理層終端部412への往路線に設けられた切替スイ
ッチ(SW−C)424と、光物理層終端部412から
MACスイッチ408への復路線に共通接続された検出
線424とを含む。光物理層終端部(PHY−O)41
2は、光ファイバ伝送路20との間において送受信する
イーサネットフレームを終端するレイヤ1の終端回路で
あり、より正確には、電気/光変換回路を含む光ファイ
バ伝送路20とのラインインタフェースと、電気信号に
変換されたフレームの波形整形などの処理をするPHY
チップとを含む。特に、PHYチップは、ループバック
試験のうち自己ループ試験の際にループバックモードに
設定される。
The control packet insertion detecting section 410 inserts the control packet generated by the control section 414 during the remote loopback test into the forward line, and detects the response packet from the optical conversion repeater 50 from the return line. A switch (SW-C) 424 provided on the outward route from the second MAC switch 408 to the optical physical layer termination unit 412, and a switch from the optical physical layer termination unit 412 to the MAC switch 408. And a detection line 424 commonly connected to the return line. Optical Physical Layer Terminator (PHY-O) 41
Reference numeral 2 denotes a layer 1 termination circuit for terminating an Ethernet frame transmitted / received to / from the optical fiber transmission line 20. More precisely, a line interface with the optical fiber transmission line 20 including an electric / optical conversion circuit; PHY that performs processing such as waveform shaping of frames converted into electrical signals
Including chips. In particular, the PHY chip is set to the loopback mode during the self-loop test among the loopback tests.

【0024】一方、制御部414は、主にループバック
試験の際の各部の制御を司どる試験制御部であり、本実
施形態では、テストスイッチ427,428の押下また
は図示しないリモート制御装置からの制御によりループ
バック試験を実行する。その結果は、LED(light emi
tting diode)429の点滅またはリモート制御装置への
通知により報知される。図3には、制御部414の機能
ブロックが示されている。この図において、スイッチ検
出部430は、自己ループまたは遠隔ループ試験の際の
スイッチのオン/オフを検出する部位であり、その結果
をPHY設定部432、MACスイッチ設定部434、
パケット生成部436、タイマ設定部438およびLE
D制御部440にそれぞれ供給する。PHY設定部43
2は、遠隔ループ試験および自己ループ試験の場合に、
パケットが広域LAN30に流れないように電気物理層
終端部402を全2重およびアイソレートモードに設定
し、自己ループ試験の場合に光物理層終端部412をル
ープバックモードに設定する制御部である。スイッチオ
フが検出された際またはタイマ設定部438からのタイ
ムアウト信号を受けた場合には、それぞれのモードを通
常モードに戻す。MACスイッチ設定部434は、自己
ループおよび遠隔ループのいずれの場合もスイッチオン
が検出された際に、第1のMACスイッチ404を全2
重モードに設定する。第2のMACスイッチ408は、
常に全2重モードに設定されている。
On the other hand, the control section 414 is a test control section mainly for controlling each section at the time of a loopback test. In this embodiment, the control section 414 depresses the test switches 427 and 428 or receives a signal from a remote control device (not shown). A loopback test is performed by control. The result is an LED (light emi
This is notified by blinking of the tting diode 429 or notification to the remote control device. FIG. 3 shows functional blocks of the control unit 414. In this figure, a switch detection unit 430 is a unit that detects on / off of a switch at the time of a self-loop or a remote loop test, and outputs the result to a PHY setting unit 432, a MAC switch setting unit 434,
Packet generation unit 436, timer setting unit 438, and LE
It is supplied to the D control unit 440, respectively. PHY setting unit 43
2 for remote loop test and self loop test,
A control unit that sets the electrical physical layer terminating unit 402 to full duplex and isolated mode so that packets do not flow to the wide area LAN 30, and sets the optical physical layer terminating unit 412 to loopback mode in the case of a self-loop test. . When switch-off is detected or when a time-out signal is received from the timer setting unit 438, each mode is returned to the normal mode. The MAC switch setting unit 434 sets the first MAC switch 404 to all two when the switch-on is detected in both the self-loop and the remote loop.
Set to heavy mode. The second MAC switch 408 is
It is always set to full duplex mode.

【0025】パケット生成部436は、遠隔ループ試験
の場合に起動パケットおよび停止パケットを含む光変換
リピータ50を制御する制御パケットならびに試験パケ
ットを生成し、自己ループの場合に試験パケットのみを
生成するパケット生成回路であり、タイマ設定部438
からのタイミング信号またはパケット検出部442から
の指示により所定の順序にてそれぞれのパケットを生成
する。試験パケットはたとえば、図6に示すように、イ
ーサネットフレームと同様のフォーマットにより形成さ
れ、その宛先MACアドレスDAとして同報を表わすブ
ロードキャストアドレスが付与され、送信元MACアド
レスSAとして自装置のアドレスが付与されて、データ
DAとしてたとえば「11001100」の繰り返しに
よる64byteのパターンが付与されている。制御パ
ケットは、イーサネットフレームよりも短いパケット長
に形成され、たとえば図7に示すように、宛先MACア
ドレスDAとして同報を表わすブロードキャストアドレ
スが付与され、送信元MACアドレスSAとして自装置
のアドレスが付与されて、データDAとして起動パケッ
トがたとえば「0001」の繰り返しによる4byte
のパターンが付与されて、停止パケットが「0011」
の繰り返しによる4byteのパターンが付与されてい
る。起動パケットは、本実施形態では所定の間隔により
最大10回送出される。
The packet generator 436 generates a control packet and a test packet for controlling the optical conversion repeater 50 including a start packet and a stop packet in the case of a remote loop test, and generates only a test packet in the case of a self-loop. A timer setting unit 438
Each packet is generated in a predetermined order in accordance with a timing signal from the CPU or an instruction from the packet detection unit 442. For example, as shown in FIG. 6, the test packet is formed in the same format as that of the Ethernet frame, a broadcast address representing a broadcast is given as its destination MAC address DA, and the address of its own device is given as a source MAC address SA. The data DA is provided with a pattern of, for example, 64 bytes by repeating "11001100". The control packet is formed to have a shorter packet length than the Ethernet frame. For example, as shown in FIG. 7, a broadcast address indicating a broadcast is assigned as a destination MAC address DA, and an address of the own device is assigned as a source MAC address SA. Then, the start-up packet as the data DA is, for example, 4 bytes by repeating “0001”.
And the stop packet is "0011"
Is repeated to provide a 4-byte pattern. In this embodiment, the start packet is transmitted at a predetermined interval up to 10 times.

【0026】図3に戻って、タイマ設定部438は、パ
ケット生成部436に起動パケットおよび試験パケット
の送出タイミングを供給し、さらにパケット検出部44
2での起動ACKパケットおよび試験パケットのタイム
アウト時間を設定するタイマ回路である。LED制御部
440は、ループバック試験の際のLED429の点滅
を制御する制御回路であり、本実施形態ではスイッチオ
ンが検出された際に試験中を表わす黄色のLEDを点灯
し、パケット比較部444において試験パケットが正常
と判定された際に緑のLEDを点灯する。試験終了の際
は、両LEDを共に消灯する。
Returning to FIG. 3, the timer setting unit 438 supplies the start-up packet and the test packet transmission timing to the packet generation unit 436, and further, the packet detection unit 44.
2 is a timer circuit for setting a time-out period of a start ACK packet and a test packet in the second embodiment. The LED control unit 440 is a control circuit that controls the blinking of the LED 429 at the time of the loopback test. In this embodiment, when switch-on is detected, the yellow LED indicating that the test is being performed is turned on. The green LED is turned on when it is determined that the test packet is normal. At the end of the test, both LEDs are turned off.

【0027】一方、パケット検出部442は、遠隔ルー
プ試験の際に、光変換リピータ50からの起動ACKパ
ケットを検出し、さらにループバックされた試験パケッ
トを検出する検出回路であり、起動ACKパケットの検
出結果をパケット生成部436およびタイマ設定部43
8に通知し、検出した試験パケットをパケット比較部4
44に転送する。同様に、自己ループ試験の場合は試験
パケットをパケット比較部444に転送する。パケット
比較部444は、パケット生成部436から送出された
試験パケットとループバックされた試験パケットが一致
するか否かを比較する比較回路であり、その結果、一致
した場合にLED制御部440およびリモート制御装置
に正常を表わす信号を通知する。
On the other hand, the packet detection unit 442 is a detection circuit that detects a start-up ACK packet from the optical conversion repeater 50 and detects a test packet that has been looped back during a remote loop test. The detection result is sent to the packet generation unit 436 and the timer setting unit 43.
8 and the detected test packet is compared with the packet comparison unit 4
Transfer to 44. Similarly, in the case of the self-loop test, the test packet is transferred to the packet comparing section 444. The packet comparing unit 444 is a comparing circuit that compares whether or not the test packet sent from the packet generating unit 436 matches the looped-back test packet. As a result, if they match, the LED control unit 440 and the remote controller A signal indicating normality is sent to the control device.

【0028】図1に戻って、本実施形態による光変換リ
ピータ(MC1)50は、ユーザ宅内に設置されてユー
ザLAN10のルータ100からのイーサネットフレー
ムおよび光ファイバ伝送路20を介して転送された広域
LAN30からのイーサネットフレームをそのMACア
ドレスに従って相互に転送するMACブリッジであり、
本実施形態では、ルータ100からのより対線などの電
気伝送路と光ファイバ伝送路20との間のイーサネット
フレームの電気/光変換をして媒体アクセス制御する第
2の光変換装置である。より具体的には、本実施形態の
光変換リピータ50は、図に示すように、光物理層終端
部(PHY−O)502と、制御パケット挿入検出部5
04と、第1のMACスイッチ506と、第2のMAC
スイッチ508と、電気物理層終端部(PHY−E)5
10と、制御部512とを含む。光物理層終端部(PH
Y−O)502は、光ファイバ伝送路20との間におい
て送受信するイーサネットフレームを終端するレイヤ1
の終端回路であり、より正確には、電気/光変換回路を
含む光ファイバ伝送路20とのラインインタフェース
と、電気信号に変換されたフレームの波形整形などの処
理をするPHYチップとを含む。特に本実施形態では、
PHYチップは、ループバック試験のうち自己ループ試
験の際にループバックモードに設定される。PHYチッ
プは、制御パケット挿入検出部504を介して往路線お
よび復路線により第1のMACスイッチ506に接続さ
れている。
Returning to FIG. 1, the optical conversion repeater (MC1) 50 according to the present embodiment is installed in the user's home and is transmitted over the Ethernet frame from the router 100 of the user LAN 10 via the optical fiber transmission line 20 and the wide area. A MAC bridge for mutually transferring an Ethernet frame from the LAN 30 according to the MAC address;
In the present embodiment, the second optical conversion device performs the electrical / optical conversion of the Ethernet frame between the electrical transmission line such as the twisted pair from the router 100 and the optical fiber transmission line 20 to control the medium access. More specifically, as shown in the figure, the optical conversion repeater 50 of the present embodiment includes an optical physical layer terminator (PHY-O) 502 and a control packet insertion detector 5
04, a first MAC switch 506, and a second MAC switch 506.
Switch 508 and electrophysical layer termination (PHY-E) 5
10 and a control unit 512. Optical physical layer termination (PH
YO) 502 is a layer 1 for terminating an Ethernet frame transmitted and received with the optical fiber transmission line 20.
More specifically, it includes a line interface with the optical fiber transmission line 20 including an electric / optical conversion circuit, and a PHY chip for performing processing such as waveform shaping of a frame converted into an electric signal. Particularly in the present embodiment,
The PHY chip is set to the loopback mode during the self-loop test among the loopback tests. The PHY chip is connected to the first MAC switch 506 via a control packet insertion detection unit 504 by way of a forward route and a return route.

【0029】制御パケット挿入検出部504は、遠隔ル
ープバック試験の際に光変換ブリッジ40からの起動パ
ケットを往路線から検出し、さらに制御部512におい
て生成された起動ACKパケットを復路線に挿入する本
実施形態特有の部位であり、光物理層終端部502から
第1のMACスイッチ506への往路線に共通接続され
た検出線520と、第1のMACスイッチ504から光
物理層終端部502への復路線に設けられた切替スイッ
チ(SW−C)522とを含む。第1のMACスイッチ
506は、イーサネットフレームのMACアドレスに従
ってフレームを転送する転送処理部であり、本実施形態
では、第2のMACスイッチ508と協同してユーザL
AN10の帯域に応じて10Base−Tと100Ba
se−Tの切り替えを行なう。10Base−Tから1
00Base−Tまでの間の契約帯域の場合は、すべて
100Base−Tに設定される。第1のMACスイッ
チ506と第2のMACスイッチ508とは、往路線お
よび復路線により接続されている。
The control packet insertion detection unit 504 detects a start packet from the optical conversion bridge 40 from the outward line during the remote loopback test, and inserts the start ACK packet generated by the control unit 512 into the return line. This is a part unique to the present embodiment, and is a detection line 520 commonly connected to an outward line from the optical physical layer terminating unit 502 to the first MAC switch 506, and from the first MAC switch 504 to the optical physical layer terminating unit 502. And a change-over switch (SW-C) 522 provided on the return line of. The first MAC switch 506 is a transfer processing unit that transfers a frame according to the MAC address of the Ethernet frame. In the present embodiment, the first MAC switch 506 cooperates with the second MAC switch 508 to transmit the user L
10Base-T and 100Ba depending on the band of AN10
Switching of se-T is performed. From 10Base-T to 1
In the case of a contract band up to 00Base-T, all are set to 100Base-T. The first MAC switch 506 and the second MAC switch 508 are connected by a forward line and a return line.

【0030】第2のMACスイッチ508は、第1のM
ACスイッチ506と同様に、イーサネットフレームの
MACアドレスに従ってフレームを転送する転送処理部
であり、本実施形態では、第1のMACスイッチ504
と協同してユーザLAN10の帯域に応じて10Bas
e−Tと100Base−Tの切り替えを行なう。第2
のMACスイッチ508は、往路線および復路線により
電気物理層終端部510に接続されている。電気物理層
終端部510は、ルータ100との間において送受信す
るイーサネットフレームを終端するレイヤ1の終端回路
であり、より正確には、10/100Base−Tのコ
ネクタと、コネクタとPHYチップとの間の整合をとる
トランスと、フレームの波形整形などの処理をするPH
Yチップとを含む。特に、本実施形態では、ループバッ
ク試験の際に、制御部512の制御の下に試験パケット
が外部に送出されないようにPHYチップにて折り返し
経路を形成するループバックモードを含む。
The second MAC switch 508 has a first M
Like the AC switch 506, the transfer unit is a transfer processing unit that transfers a frame according to the MAC address of the Ethernet frame. In the present embodiment, the transfer unit is a first MAC switch 504.
10 Bass according to the bandwidth of the user LAN 10 in cooperation with
Switching between e-T and 100Base-T is performed. Second
The MAC switch 508 is connected to the electrophysical layer terminating unit 510 by a forward line and a return line. The electro-physical layer terminating unit 510 is a layer 1 terminating circuit for terminating an Ethernet frame transmitted / received between the router 100 and, more precisely, a 10 / 100Base-T connector and a connector between the connector and the PHY chip. Transformer that matches the data and PH that performs processing such as frame waveform shaping
Y chip. In particular, the present embodiment includes a loopback mode in which a loopback path is formed by a PHY chip under the control of the control unit 512 so that a test packet is not transmitted to the outside under the control of the control unit 512 during a loopback test.

【0031】制御部512は、光変換ブリッジ40から
の遠隔ループ試験および自己ループ試験の際のループバ
ック制御をするループ制御部であり、本実施形態では、
光変換ブリッジ40からの起動パケットの受信により遠
隔ループ試験のループバック制御を実行し、または自己
テストスイッチ524の押下により自己ループ試験の制
御を実行する。その際、LED526を点灯または点滅
してループバック試験中であることを外部に報知する。
図4には、制御部512の機能ブロックが示されてい
る。この図において、スイッチ検出部530は、自己ル
ープ試験の際のスイッチのオン/オフを検出する部位で
あり、その結果をPHY設定部532、MACスイッチ
設定部534、パケット生成部536、タイマ設定部5
38およびLED制御部540にそれぞれ供給する。P
HY設定部532は、遠隔ループ試験の場合に電気物理
層終端部510をループバックモードに設定し、自己ル
ープ試験の場合に電気物理層終端部510および光物理
層終端部502をそれぞれループバックモードに設定す
る制御部である。自己ループ試験の場合にスイッチオフ
が検出された際またはタイマ設定部538からのタイム
アウト信号によりそれぞれ通常モードに戻し、遠隔ルー
プ試験の場合にパケット検出部542からの停止パケッ
トを検出した際の信号によりそれぞれ通常モードに戻
す。MACスイッチ設定部534は、自己ループおよび
遠隔ループのいずれの場合もスイッチオンが検出された
際またはパケット検出部530において起動パケットを
検出した際に第2のMACスイッチ508を全2重モー
ドに設定する制御部である。第1のMACスイッチ50
6は常に全2重モードに設定されている。
The control unit 512 is a loop control unit that performs a loop-back control during a remote loop test from the optical conversion bridge 40 and a self-loop test.
The loop-back control of the remote loop test is executed by receiving the start packet from the optical conversion bridge 40, or the control of the self-loop test is executed by pressing the self-test switch 524. At this time, the LED 526 is turned on or blinks to notify the outside that the loopback test is being performed.
FIG. 4 shows functional blocks of the control unit 512. In this figure, a switch detection unit 530 is a unit that detects on / off of a switch at the time of a self-loop test, and outputs the result to a PHY setting unit 532, a MAC switch setting unit 534, a packet generation unit 536, a timer setting unit. 5
38 and the LED control unit 540. P
The HY setting unit 532 sets the electric physical layer termination unit 510 to the loopback mode in the case of the remote loop test, and sets the electric physical layer termination unit 510 and the optical physical layer termination unit 502 to the loopback mode in the case of the self-loop test. Is a control unit to be set. When the switch-off is detected in the case of the self-loop test or in the time-out signal from the timer setting unit 538, the mode is returned to the normal mode, and in the case of the remote loop test, the mode is detected by detecting the stop packet from the packet detection unit 542. Return to normal mode. The MAC switch setting unit 534 sets the second MAC switch 508 to the full-duplex mode when switch-on is detected in both the self-loop and the remote loop, or when the packet detection unit 530 detects a start-up packet. It is a control unit to perform. First MAC switch 50
6 is always set to the full duplex mode.

【0032】パケット生成部536は、パケット検出部
542において起動パケットを検出した場合にその起動
ACKパケットを生成し、自己ループ試験の場合に試験
パケットを生成するパケット生成回路であり、タイマ設
定部538からのタイミング信号またはパケット検出部
542からの指示によりそれぞれのパケットを生成す
る。起動ACKパケットは、イーサネットフレームより
も短いパケット長に形成されて、図7に示すように、宛
先MACアドレスDAとして同報を表わすブロードキャ
ストアドレスが付与され、送信元MACアドレスSAと
して自装置のアドレスが付与されて、データDAとして
たとえば「0010」の繰り返しによる4byteのパ
ターンが付与される。
The packet generation unit 536 is a packet generation circuit that generates a startup ACK packet when the packet detection unit 542 detects a startup packet and generates a test packet in the case of a self-loop test, and a timer setting unit 538. Each packet is generated in accordance with a timing signal from the CPU or an instruction from the packet detection unit 542. The start ACK packet is formed to have a shorter packet length than the Ethernet frame, and as shown in FIG. 7, a broadcast address indicating broadcast is added as a destination MAC address DA, and the address of the own device is set as a source MAC address SA. Then, a 4-byte pattern by repeating, for example, “0010” is provided as the data DA.

【0033】再び図4に戻って、タイマ設定部538
は、パケット生成部536に起動ACKパケットおよび
試験パケットの送出タイミングを供給するタイミング生
成回路であり、特に、本実施形態では遠隔ループ試験の
際にパケット検出部530において2回目の起動パケッ
トを検出した場合に起動ACKパケットの生成を指示す
るタイミング信号を供給する。1回目の起動パケットの
検出から2回目の起動パケットの検出までに所定の時間
経過した場合はPHY設定部532およびMACスイッ
チ設定部534にタイムアウト信号を供給するタイマ回
路である。LED制御部540は、ループバック試験の
際のLED526の点滅を制御する制御回路であり、本
実施形態ではスイッチオンが検出された際または起動パ
ケットを受けた際に試験中を表わす黄色のLEDを点灯
し、自己ループ試験の際にパケット比較部544におい
て試験パケットが正常と判定された際に緑のLEDを点
灯する。試験終了の際は、両LEDを共に消灯する。
Returning again to FIG. 4, the timer setting section 538
Is a timing generation circuit that supplies the transmission timing of the start ACK packet and the test packet to the packet generation unit 536. In particular, in the present embodiment, the packet detection unit 530 detects the second start packet in the remote loop test. In this case, a timing signal instructing generation of a start ACK packet is supplied. A timer circuit that supplies a timeout signal to the PHY setting unit 532 and the MAC switch setting unit 534 when a predetermined time has elapsed from the detection of the first activation packet to the detection of the second activation packet. The LED control unit 540 is a control circuit that controls the blinking of the LED 526 during a loopback test. In the present embodiment, when a switch-on is detected or when a start-up packet is received, a yellow LED indicating that the test is in progress is performed. It turns on, and turns on a green LED when the packet comparison unit 544 determines that the test packet is normal during the self-loop test. At the end of the test, both LEDs are turned off.

【0034】一方、パケット検出部542は、遠隔ルー
プ試験の際に、光変換ブリッジ40からの起動パケット
および停止パケットを検出し、または自己ループ試験の
際に試験パケットを検出する検出回路であり、特に本実
施形態では、2回目の起動パケットを検出した際にその
結果をPHY設定部532、MACスイッチ設定部53
4、パケット生成部536およびタイマ設定部538に
供給する。同様に、自己ループ試験の場合はループバッ
クした試験パケットを検出して、パケット比較部544
に転送する。パケット比較部544は、パケット生成部
536から送出された試験パケットとループバックされ
た試験パケットが一致するか否かを比較する比較回路で
あり、その結果、一致した場合にLED制御部540に
正常を表わす信号を供給する。
On the other hand, the packet detector 542 is a detection circuit that detects a start packet and a stop packet from the optical conversion bridge 40 during a remote loop test, or detects a test packet during a self-loop test. Particularly, in the present embodiment, when the second start packet is detected, the result is sent to the PHY setting unit 532 and the MAC switch setting unit 53.
4. The data is supplied to the packet generation unit 536 and the timer setting unit 538. Similarly, in the case of the self-loop test, a test packet looped back is detected, and the packet comparison unit 544 is detected.
Transfer to The packet comparing unit 544 is a comparing circuit that compares whether or not the test packet sent from the packet generating unit 536 matches the looped-back test packet. As a result, when they match, the LED control unit 540 normally operates. Is provided.

【0035】次に、図8〜図10を参照して本実施形態
によるループバック試験方式を上記LAN間接続システ
ムの動作とともに説明する。まず、遠隔ループ試験を実
行する場合、通信事業者側において光変換ブリッジ40
の遠隔ループのテストスイッチ428またはリモート制
御装置を介してそのスイッチをオンとする。これによ
り、光変換ブリッジ40では、図9に示すように、ステ
ップS10において制御部414がそのスイッチオンを
検出してステップS12に移る。ステップS12では、
電気物理層終端部402を全2重およびアイソレートモ
ードとして、さらに第1のMACスイッチ404を全2
重モードとする。次いで、ステップS14においてパケ
ット間ギャップのタイミングをとり、また、ステップS
16において1回目の起動パケットの送出を表わすカウ
ンタを「1」に設定し、さらにステップS18において
黄色のLED429を点灯する。次いで、ステップS2
0において1回目の起動パケットを生成して送信する。
Next, the loopback test method according to the present embodiment will be described with reference to FIGS. 8 to 10 together with the operation of the LAN connection system. First, when the remote loop test is performed, the optical carrier 40
The switch is turned on via the remote loop test switch 428 or remote control. As a result, in the optical conversion bridge 40, as shown in FIG. 9, the control unit 414 detects the switch-on in step S10, and proceeds to step S12. In step S12,
The electrophysical layer termination 402 is set to full duplex and isolated mode, and the first MAC switch 404 is set to
Double mode. Next, in step S14, the timing of the inter-packet gap is set, and
At 16, the counter indicating the transmission of the first start packet is set to "1", and at step S18, the yellow LED 429 is turned on. Next, step S2
At 0, the first activation packet is generated and transmitted.

【0036】次に、ステップS22において再びパケッ
ト間ギャップのタイミングをとり、ステップS24にお
いてカウンタをインクリメントして、その値がステップ
S26において「9」つまり10回の起動パケットの送
信を行なったか否かを判定して、さらにステップS28
において起動ACKパケットを受信したか否かを判定す
る。起動ACKパケットを受信していなければステップ
S20に戻り再び起動パケットを生成して送信し、ステ
ップS20からステップS28を繰り返す。つまり、こ
の場合、起動パケットの送信からパケット間ギャップの
タイミングをおいて起動ACKパケットを受信するま
で、最大10回の起動パケットの送信を繰り返す。ちな
みに、カウンタがN=「9」となると、ステップS29
に移ってさらにタイムアウトまたはスイッチオフとなっ
たが否かが判定される。ステップS20においてそれぞ
れ生成された起動パケットは、切替スイッチ424を介
して電気物理層終端部412から光ファイバ伝送路20
を介して光変換リピータ50に供給される。
Next, the timing of the inter-packet gap is taken again in step S22, and the counter is incremented in step S24, and it is determined whether or not the value is "9" in step S26, that is, whether the start packet has been transmitted ten times. Judge and further step S28
It is determined whether or not a start ACK packet has been received. If the activation ACK packet has not been received, the process returns to step S20, generates and transmits the activation packet again, and repeats steps S20 to S28. That is, in this case, the transmission of the activation packet up to ten times is repeated from the transmission of the activation packet to the reception of the activation ACK packet at a timing of the packet gap. Incidentally, when the counter becomes N = “9”, step S29 is performed.
Then, it is determined whether a timeout or switch-off has occurred. The start packet generated in step S20 is transmitted from the electric physical layer terminating unit 412 to the optical fiber transmission line 20 via the changeover switch 424.
Is supplied to the optical conversion repeater 50 via the.

【0037】次に、光変換リピータ50では、光変換ブ
リッジ40からの起動パケットを光ファイバ伝送路20
を介して光物理層終端部502にて受けると、ここで光
−電気変換された起動パケットが制御パケット挿入検出
部504の検出線520を介して制御部512に検出さ
れる。この際、起動パケットは往路線から第1のMAC
スイッチ506にも供給されるが、MACスイッチ50
6では、そのデータ長が通常のフレームより短いので破
棄して、その下流側には通過しない。起動パケットを受
けた光変換リピータ50の制御部512では、図10に
示すように、ステップS50において1回目の起動パケ
ットを受けたか否かが判定されて、1回目の起動パケッ
トを検出すると、ステップS52においてタイムカウン
トをスタートする。この際、ステップS54において自
己ループのテストスイッチ524のスイッチ検出がマス
クされる。次いで、ステップS56において、パケット
間ギャップを考慮した所定の時間T1つまり2回目の起
動パケットが到達すべき時間が経過したか否かが判定さ
れる。時間T1が経過していなければ、ステップS58
において次の起動パケットを受けたか否かが判定され
る。次の起動パケットを受信していなければステップS
56およびステップS58が繰り返される。ステップS
56において所定の時間T1が経過すると、ステップS
60に移り、タイマがクリアされて、ステップS50に
戻る。ステップS58において2回目の起動パケットが
受信されると、ステップS62に進み、第2のMACス
イッチ508が全2重に設定されて、電気物理層終端部
510がループバックモードに設定される。
Next, in the optical conversion repeater 50, the start packet from the optical conversion bridge 40 is transmitted to the optical fiber transmission line 20.
Is received by the optical physical layer terminating unit 502 via the control unit 512, the start packet subjected to the optical-electrical conversion is detected by the control unit 512 via the detection line 520 of the control packet insertion detecting unit 504. At this time, the start packet is transmitted from the outbound route to the first MAC.
The switch 506 is also supplied to the MAC switch 50
In No. 6, since the data length is shorter than the normal frame, it is discarded and does not pass downstream. The control unit 512 of the optical conversion repeater 50 that has received the start packet determines whether or not the first start packet has been received in step S50 as shown in FIG. In S52, time counting is started. At this time, the switch detection of the test switch 524 in the self-loop is masked in step S54. Next, in step S56, it is determined whether or not a predetermined time T1 in consideration of the inter-packet gap, that is, a time to reach the second start packet has elapsed. If the time T1 has not elapsed, step S58
It is determined whether or not the next start packet has been received. If the next start packet has not been received, step S
56 and step S58 are repeated. Step S
When the predetermined time T1 elapses at 56, step S
The process proceeds to 60, the timer is cleared, and the process returns to step S50. When the second start packet is received in step S58, the process proceeds to step S62, in which the second MAC switch 508 is set to full duplex, and the electric physical layer terminating unit 510 is set to the loopback mode.

【0038】次に、ステップS64において黄色のLE
D526を点灯して遠隔ループ試験中であることを外部
に報知して、ステップS66に移る。ステップS66で
は、起動ACKパケットを生成して送信する。これによ
り、起動ACKパケットは、制御パケット挿入検出部5
04の切替スイッチ522から光物理層変換部502を
通って、光ファイバ伝送路20を介して光変換ブリッジ
40に送信される。光変換ブリッジ40では、起動AC
Kパケットを光物理層終端部412において光−電気変
換して、これを制御パケット挿入検出部410の検出線
426を介して制御部414に取り込む。この場合も起
動ACKパケットは第2のMACスイッチ408に供給
されるが、そのパケット長が通常のフレームより短いた
め廃棄されて、上流には通過しない。起動ACKパケッ
トを受けた制御部414では、再び図9に示すように、
そのステップS28において起動ACKパケットを受信
したか否かが判定されて、起動パケットを検出すると、
ステップS30に進む。ステップS30では、パケット
間ギャップの待ち時間をカウントして、その時間が経過
するとステップS32において試験パケットを生成して
送信する。この場合、ステップS34においてタイムア
ウト時間、たとえば試験パケットを複数回ループバック
する時間が設定されて、そのタイムアウト時間がステッ
プS36において経過したか否かまたはスイッチがオフ
とされたか否かが判定される。ステップS36において
Noと判定された場合は、ステップS38において試験
パケットを受信したか否かが判定される。試験パケット
を受信していなければ、ステップS30に戻って、ステ
ップS30からステップS38が繰り返される。
Next, in step S64, the yellow LE
D526 is turned on to notify the outside that the remote loop test is being performed, and the process proceeds to step S66. In step S66, a start ACK packet is generated and transmitted. Thereby, the start ACK packet is transmitted to the control packet insertion detecting unit 5.
The signal is transmitted from the changeover switch 522 of No. 04 to the optical conversion bridge 40 via the optical fiber transmission line 20 through the optical physical layer conversion unit 502. In the optical conversion bridge 40, the starting AC
The K-packet is subjected to optical-electrical conversion in the optical physical layer terminating unit 412 and is taken into the control unit 414 via the detection line 426 of the control packet insertion detecting unit 410. In this case as well, the start ACK packet is supplied to the second MAC switch 408, but is discarded because the packet length is shorter than a normal frame, and does not pass upstream. The control unit 414 that has received the activation ACK packet returns to the state shown in FIG.
In step S28, it is determined whether or not a startup ACK packet has been received.
Proceed to step S30. In step S30, a waiting time for the inter-packet gap is counted, and when the time elapses, a test packet is generated and transmitted in step S32. In this case, a timeout time, for example, a time for looping back the test packet a plurality of times is set in step S34, and it is determined whether the timeout time has elapsed in step S36 or whether the switch has been turned off. If No is determined in step S36, it is determined in step S38 whether a test packet has been received. If the test packet has not been received, the process returns to step S30, and steps S30 to S38 are repeated.

【0039】これにより、ステップS32において生成
された試験パケットは、試験パケット挿入検出部406
の切替スイッチ420からその往路線に挿入されて、第
2のMACスイッチ408から光物理層終端部412を
通って、さらに光ファイバ伝送20を介して光変換リピ
ータ50に送信される。光変換リピータ50では、試験
パケットを光物理層終端部502において光−電気変換
して、MACスイッチ506,508を通して、電気物
理層終端部510まで到達させる。電気物理層終端部5
10では、到達した試験パケットを折り返して、その復
路によりMACスイッチ508,506を通して、さら
に光物理層終端部502において電気−光変換されて光
ファイバ伝送路20を介して光変換ブリッジ40にルー
プバックされる。この際、光変換リピータ50では、図
10に示すようにステップS68において試験パケット
をループバックすると、ステップS70に進んで停止パ
ケットの受信を待つ。
As a result, the test packet generated in step S32 is
From the second switch 420 to the optical conversion repeater 50 via the optical fiber transmission 20. In the optical conversion repeater 50, the test packet is subjected to optical-electrical conversion in the optical physical layer terminating unit 502, and reaches the electric physical layer terminating unit 510 through the MAC switches 506 and 508. Electrophysical layer termination 5
In 10, the arriving test packet is looped back, is subjected to the return path, is subjected to electro-optical conversion at the optical physical layer terminating section 502 through the MAC switches 508 and 506, and is looped back to the optical conversion bridge 40 via the optical fiber transmission path 20. Is done. At this time, the optical conversion repeater 50 loops back the test packet in step S68 as shown in FIG. 10, and proceeds to step S70 to wait for the reception of the stop packet.

【0040】一方、光変換ブリッジ40では、ループバ
ックされた試験パケットが光物理層終端部412におい
て光−電気変換されて、さらに第2のMACスイッチ4
08を通ってその復路に出力されると、試験パケット挿
入検出部406の検出線422によりループバックした
試験パケットが制御部414に供給される。これによ
り、再び図9に戻って、そのステップS38において試
験パケットが検出されると、ステップS40に進み、受
信した試験パケットと送信した試験パケットが一致する
か否かが判定される。この際、試験パケットが一致して
いないと判定されると、ステップS42に進んで緑のL
ED429が点灯していれば、これを消灯し、また、ス
テップS44においてリモート制御装置にループバック
が正常でないことを通知して、ステップS30に戻る。
ステップS40において試験パケットが一致していると
判定されると、ステップS46に進んで緑のLED42
9を点灯して、さらにステップS48においてリモート
制御装置にループバックが正常であることを通知して、
ステップS30に戻る。次いで、ステップS30からス
テップS48を上記と同様に繰り返して、ステップS3
6において所定の時間あるいはスイッチがオフとされる
と、ステップS80に移って停止パケットを生成して送
信する。次いで、ステップS82においてパケット間ギ
ャップのタイミング時間をカウントし、ステップS84
に進んでMACスイッチ404,408および電気物理
層終端部402をノーマルモードに戻し、さらにステッ
プS86においてLEDを消灯して、光変換ブリッジ4
0での遠隔ループ試験状態が解除される。
On the other hand, in the optical conversion bridge 40, the test packet that has been looped back is subjected to optical-electrical conversion in the optical physical layer terminating unit 412, and is further subjected to the second MAC switch 4.
When the test packet is output to the return path through 08, the test packet looped back by the detection line 422 of the test packet insertion detection unit 406 is supplied to the control unit 414. Thus, returning to FIG. 9 again, when a test packet is detected in step S38, the process proceeds to step S40, and it is determined whether the received test packet and the transmitted test packet match. At this time, if it is determined that the test packets do not match, the process proceeds to step S42 and the green L
If the ED 429 is on, it is turned off, and in step S44, the remote control device is notified that the loopback is not normal, and the process returns to step S30.
If it is determined in step S40 that the test packets match, the process proceeds to step S46, where the green LED 42
9 is turned on, and in step S48, the remote control device is notified that loopback is normal,
It returns to step S30. Next, steps S30 to S48 are repeated in the same manner as described above, and step S3
When the switch is turned off for a predetermined time in step 6, the process proceeds to step S80 to generate and transmit a stop packet. Next, in step S82, the timing time of the inter-packet gap is counted, and in step S84
Then, the MAC switches 404 and 408 and the electric physical layer terminating unit 402 are returned to the normal mode, and the LED is turned off in step S86, and the light conversion bridge 4 is turned off.
The remote loop test state at 0 is released.

【0041】他方、停止パケットは、切替スイッチ42
4から光物理層終端部412を通って、さらに光ファイ
バ伝送路20を介して光変換リピータ50に供給され
る。光変換リピータ50では光物理層終端部502から
検出線520を介して停止パケットを制御部512にお
いて受けると、図10のステップS70からステップS
72に進み、第2のMACスイッチ506および電気物
理層終端部510をノーマルモードとする。次いで、ス
テップS74においてタイムカウントをクリアして、さ
らにステップS76においてLEDを消灯して、ループ
バック試験が終了する。
On the other hand, the stop packet is transmitted to the changeover switch 42.
4 through the optical physical layer terminator 412 and further to the optical conversion repeater 50 via the optical fiber transmission line 20. In the optical conversion repeater 50, when the control unit 512 receives a stop packet from the optical physical layer terminating unit 502 via the detection line 520, the process proceeds from step S70 to step S70 in FIG.
Proceeding to 72, the second MAC switch 506 and the electrophysical layer termination unit 510 are set to the normal mode. Next, the time count is cleared in step S74, and the LED is turned off in step S76, and the loopback test ends.

【0042】次に、図11には、自己ループ試験のフロ
ーチャートが示されている。自己ループ試験は、光変換
ブリッジ40および光変換リピータ50ともに同様の動
作であるので、たとえば、光変換ブリッジ40について
説明すると、まず、ステップS90において自己ループ
のテストスイッチ427またはリモート制御装置の制御
により、スイッチがオンとなると、ステップS92に進
んで、第1のMACスイッチ404を全2重モードに設
定し、電気物理層終端部402をアイソレートモードお
よび光物理層終端部412をループバックモードにそれ
ぞれ設定する。ついで、ステップS94においてパケッ
ト間ギャップのタイミングをとり、さらにステップS9
6において黄色のLED429を点灯する。次いで、ス
テップS98に進み、パケット間ギャップの経過の後、
ステップS100において試験パケットを生成する。こ
れにより、試験パケットは切替スイッチ420を介して
往路線に挿入されて、第2のMACスイッチ408から
光物理層終端部412に供給される。光物理層終端部4
12では、往路線からの試験パケットを折り返して復路
線に供給し、第2のMACスイッチ408からその復路
線に出力される。これにより、試験パケット挿入検出部
406の検出線422を介して自己ループによる試験パ
ケットが制御部414に検出される。
Next, FIG. 11 shows a flowchart of the self-loop test. In the self-loop test, the optical conversion bridge 40 and the optical conversion repeater 50 perform the same operation. Therefore, for example, when the optical conversion bridge 40 is described, first, in step S90, the self-loop test switch 427 or the control of the remote control device is performed. When the switch is turned on, the process proceeds to step S92, in which the first MAC switch 404 is set to the full-duplex mode, the electrical physical layer terminating unit 402 is set to the isolated mode, and the optical physical layer terminating unit 412 is set to the loopback mode. Set each. Next, in step S94, the timing of the inter-packet gap is set, and the process proceeds to step S9.
At 6, the yellow LED 429 is turned on. Next, the process proceeds to step S98, and after the elapse of the inter-packet gap,
In step S100, a test packet is generated. As a result, the test packet is inserted into the outgoing line via the changeover switch 420 and is supplied from the second MAC switch 408 to the optical physical layer terminating unit 412. Optical physical layer termination 4
At 12, the test packet from the outward route is looped back and supplied to the return route, and is output from the second MAC switch 408 to the return route. As a result, a test packet by the self-loop is detected by the control unit 414 via the detection line 422 of the test packet insertion detection unit 406.

【0043】この際、制御部414では、ステップS9
8からステップS106が繰り返されて、ステップS1
06において試験パケットを検出すると、ステップS1
08に進んで、送信した試験パケットと自己ループによ
り受信した試験パケットが一致するか否かを判定する。
その結果一致しなければ、ステップS110において緑
のLED429を消灯し、ステップS112においてリ
モート制御装置に異常を通知する。ステップ108にお
いてパケットの一致が検出されると、ステップS114
において緑のLED429を点灯し、ステップS116
においてリモート制御装置に自己ループが正常であるこ
とを通知する。次いで、上記と同様にステップS98か
らステップS116を繰り返して、ステップS104に
おいてタイムアウトまたはスイッチオフが検出される
と、ステップS118に移り、MACスイッチ404,
408をノーマル状態に戻し、さらに電気物理層終端部
402および光物理層終端部410をノーマル状態に戻
す。次いで、LED429を消灯して、自己ループ試験
を終了する。
At this time, the control unit 414 determines in step S9
8 to step S106 are repeated, and step S1
When a test packet is detected at 06, step S1
In step 08, it is determined whether the transmitted test packet matches the test packet received by the self-loop.
If the results do not match, the green LED 429 is turned off in step S110, and an error is notified to the remote control device in step S112. If a packet match is detected in step 108, step S114
In step S116, the green LED 429 is turned on.
Notifies the remote control device that the self-loop is normal. Next, steps S98 to S116 are repeated in the same manner as above, and if a timeout or switch-off is detected in step S104, the process proceeds to step S118, where the MAC switch 404,
408 is returned to the normal state, and the electrical physical layer termination section 402 and the optical physical layer termination section 410 are returned to the normal state. Next, the LED 429 is turned off, and the self-loop test ends.

【0044】以上のように本実施形態のLAN間接続シ
ステムおよびそのループバック試験方式によれば、安価
なブリッジ方式の光変換ブリッジ40および光変換リピ
ータ50を用いてユーザLAN10を通信事業者の広域
LAN30に接続することができる。この場合、局側か
ら光変換ブリッジ40により宅内側の光変換リピータ5
0へのループバック試験を有効に実行することができ
る。特に、起動パケットおよび起動ACKパケットなど
の制御パケットを通常のイーサネットフレームのパケッ
ト長よりも短いパケットを用いているので、ループバッ
ク試験の際のブロードキャストアドレスのパケットがユ
ーザLAN10あるいは広域LAN30さらに他の網に
流出することがなく、他のトラフィックに悪影響を及ぼ
すことない確実な試験を実行することができる。したが
って、光ファイバ伝送路20および宅内側の光変換リピ
ータ50の故障などを迅速に検出してその保守管理の品
質の向上を図ることができ、優れたサービスをユーザに
提供することができる。
As described above, according to the LAN connection system of the present embodiment and the loopback test method thereof, the user LAN 10 is connected to the wide area of the communication carrier by using the inexpensive bridge type optical conversion bridge 40 and optical conversion repeater 50. It can be connected to the LAN 30. In this case, the optical conversion bridge 40 from the station side provides the optical conversion repeater 5 inside the house.
A loopback test to zero can be effectively performed. In particular, since a control packet such as a start-up packet and a start-up ACK packet uses a packet shorter than the packet length of a normal Ethernet frame, a broadcast address packet used in a loopback test is transmitted to the user LAN 10 or the wide area LAN 30 or another network. It is possible to perform a reliable test without leaking to other devices and without adversely affecting other traffic. Therefore, it is possible to quickly detect a failure of the optical fiber transmission line 20 and the optical conversion repeater 50 inside the house, improve the quality of the maintenance, and provide an excellent service to the user.

【0045】なお、上記実施形態では、制御パケットと
して、図6に示すようにイーサネットフレームの最小の
パケット長よりも短いパケットを制御パケットとして適
用したが、これに限らず本発明においては、光変換ブリ
ッジの制御部において検出した後にMACスイッチによ
り破棄されるような制御パケットであってもよい。たと
えば、図12に示すように、通常のイーサネットネット
フレームと同様に形成され、そのフレームチェックシー
ケンスFCSとしてCRCビット誤りを挿入したもので
あってもよい。この場合、宛先アドレスDAとしてブロ
ードキャストアドレスが付与され、送信元アドレスとし
て自装置アドレスが付与されて、データDAとして起動
パケットにたとえば「0001」の繰り返しによる64
byteのパターンが付与され、同様に応答パケットに
たとえば「0010」の繰り返しによる64byteの
パターンが付与され、また停止パケットにたとえば「0
011」の繰り返しによる64byteのパターンが付
与される。CRCビットは、これらのデータを生成多項
式により演算した結果を反転してデータ誤りとするとよ
い。
In the above embodiment, as shown in FIG. 6, a packet shorter than the minimum packet length of the Ethernet frame is applied as the control packet. However, the present invention is not limited to this. The control packet may be such that it is detected by the control unit of the bridge and then discarded by the MAC switch. For example, as shown in FIG. 12, a frame may be formed in the same manner as a normal Ethernet net frame, and a CRC bit error may be inserted as the frame check sequence FCS. In this case, the broadcast address is assigned as the destination address DA, the own device address is assigned as the source address, and the data DA is added to the start packet by repeating, for example, “0001”.
A byte pattern is given, a response packet is given a 64 byte pattern by repeating, for example, “0010”, and a stop packet is given, for example, “0”.
A pattern of 64 bytes is provided by repeating “011”. As for the CRC bit, it is preferable to invert the result obtained by operating these data using a generator polynomial to generate a data error.

【0046】なお、上記実施形態では、帯域制限のため
に光変換ブリッジ40および光変換リピータ50にそれ
ぞれ2個のMACスイッチを適用した場合を例に挙げて
説明したが、本発明においては1個のMACスイッチを
適用したものを含む。また、上記実施形態では、光ファ
イバ伝送路20を100Mbpsの伝送帯域としたが、
本発明においては、もちろん任意の伝送帯域のものを適
用してよい。
In the above-described embodiment, the case where two MAC switches are applied to the optical conversion bridge 40 and the optical conversion repeater 50 for band limitation has been described as an example. Including those to which the above MAC switch is applied. In the above embodiment, the optical fiber transmission line 20 has a transmission bandwidth of 100 Mbps.
In the present invention, any transmission band may be applied.

【0047】[0047]

【発明の効果】以上説明したように本発明のLAN間接
続システムによれば、通信事業者側に設置されて広域L
ANと光ファイバ伝送路との間に伝送する所定のデータ
フレームを電気/光変換してそのデータフレームを媒体
アクセス制御により転送する第1の光変換装置と、ユー
ザ宅内に設置されてユーザLANと光ファイバ伝送路と
の間に伝送するデータフレームを電気/光変換してその
データフレームを媒体アクセス制御により転送する第2
の光変換装置とを有し、第1の光変換装置は、第2の光
変換装置に光ファイバ伝送路を介して転送するデータフ
レームよりも短いパケット長のループバック試験を制御
する制御パケットを送出し、さらにデータフレームと同
様のパケット長の試験パケットを送出してループバック
試験をする試験制御手段を含み、第2の光変換装置は、
第1の光変換装置からの制御パケットに基づいてユーザ
LANとの物理層終端点をループバック状態に設定し
て、光ファイバ伝送路を介して受信した試験パケットを
第1の光変換装置に折り返してループバック制御するル
ープ制御手段を含むので、通信事業者側の光変換装置か
ら宅内側の光変換装置へのループバック試験を有効に実
施することができる安価なブリッジ方式のLAN間接続
を実現することができる。
As described above, according to the LAN connection system of the present invention, a wide area L is installed on a communication carrier side.
A first optical conversion device for performing electrical / optical conversion of a predetermined data frame transmitted between the AN and the optical fiber transmission line and transferring the data frame by medium access control; A second method for converting a data frame transmitted between the optical fiber transmission line and the optical frame into an optical signal and transferring the data frame by medium access control.
The first optical conversion device transmits a control packet for controlling a loop-back test having a shorter packet length than a data frame transferred to the second optical conversion device via an optical fiber transmission line. And a test control unit for transmitting a test packet having a packet length similar to that of the data frame to perform a loop-back test.
The physical layer termination point with the user LAN is set in a loopback state based on the control packet from the first optical conversion device, and the test packet received via the optical fiber transmission line is returned to the first optical conversion device. Inexpensive bridge-type LAN-to-LAN connection that enables effective execution of a loop-back test from an optical conversion device on the telecommunications carrier side to an optical conversion device on the inside of the home because it includes a loop control unit that performs loop-back control can do.

【0048】本発明の請求項2に係るLAN間接続シス
テムによれば、制御パケットは、第2の光変換装置にお
いて転送処理するデータフレームの最短パケット長より
もさらに短いパケット長に形成されたパケットであるの
で、第2の光変換装置において制御パケットを検出した
後に他の転送するデータフレームと区別して有効に破棄
することができ、ユーザLAN側への余分なパケットの
流出を防止することができる。
According to the LAN connection system of the second aspect of the present invention, the control packet is a packet formed to have a shorter packet length than the shortest packet length of the data frame to be transferred in the second optical conversion device. Therefore, after detecting the control packet in the second optical conversion device, it can be effectively discarded separately from other data frames to be transferred, and it is possible to prevent extra packets from leaking to the user LAN side. .

【0049】本発明の請求項3に係るLAN間接続シス
テムによれば、制御パケットは、第2の光変換装置にお
いて転送処理するデータフレームのパケット長と同様の
長さのパケットであってそのデータチェックに誤りを含
ませたパケットであるので、第2の光変換装置において
制御パケットを検出した後に、そのデータ誤りをチェッ
クして有効に破棄することができ、ユーザLAN側への
余分なパケットの流出を防止することができる。
According to the LAN connection system of the third aspect of the present invention, the control packet is a packet having the same length as the packet length of the data frame to be transferred in the second optical conversion device. Since the packet includes an error in the check, after detecting the control packet in the second optical conversion device, the data error can be checked and effectively discarded, and an extra packet to the user LAN side can be transmitted. Outflow can be prevented.

【0050】本発明の請求項4に係るLAN間接続装置
によれば、第1の光変換装置が広域LANと接続された
電気物理層を終端する電気物理層終端手段と、光ファイ
バ伝送路と接続された光物理層を終端する光物理層終端
手段と、これら終端手段間においてデータフレームをそ
のMACアドレスに従って転送するMACスイッチと、
MACスイッチと光物理層終端手段との間において試験
制御手段からの制御パケットを第2の光変換装置への送
信経路に挿入してその制御パケットに対する第2の光変
換装置からの応答パケットを受信経路から検出する制御
パケット挿入検出手段と、MACアドレスと電気物理層
終端手段との間において試験制御手段からの試験パケッ
トを第2の光変換装置への送信経路に挿入してその光変
換リピータからループバックされた試験パケットを受信
経路から検出する試験パケット挿入検出手段とを含むの
で、宅内側の光変換装置との制御パケットのやりとりお
よび試験パケットのループバックを有効に行なうことが
できる。特に、制御パケットはMACスイッチにより広
域LAN側への通過を阻止されて廃棄されるので、その
流出による悪影響が生じない。
According to the inter-LAN connecting device according to the fourth aspect of the present invention, the first optical conversion device terminates the electric physical layer connected to the wide area LAN, and the optical fiber transmission line. An optical physical layer terminating means for terminating the connected optical physical layer, a MAC switch for transferring a data frame between the terminating means according to the MAC address,
A control packet from the test control means is inserted into a transmission path to the second optical conversion device between the MAC switch and the optical physical layer terminating device, and a response packet from the second optical conversion device to the control packet is received. A control packet insertion detecting means for detecting from the path, and a test packet from the test control means between the MAC address and the electro-physical layer terminating means, inserted into a transmission path to the second optical conversion device and transmitted from the optical conversion repeater. Since it includes the test packet insertion detecting means for detecting the looped-back test packet from the receiving path, it is possible to effectively exchange control packets with the optical conversion device inside the house and loop back the test packets. In particular, the control packet is blocked by the MAC switch from passing to the wide area LAN side and is discarded, so that the outflow thereof has no adverse effect.

【0051】本発明の請求項5に係るLAN間接続シス
テムによれば、第1の光変換装置の試験制御手段が少な
くとも、ループバック試験の際にその起動パケットおよ
び停止パケットを含む制御パケットおよび試験パケット
をそれぞれ生成するパケット生成手段と、起動パケット
に対する応答パケットおよびループバックされた試験パ
ケットを検出するパケット検出手段と、ループバックさ
れた試験パケットが送信した試験パケットと一致するか
否かを比較するパケット比較手段と、その結果を外部に
報知する報知手段とを含むので、ループバック試験の際
の第2の光変換装置の起動および停止を有効に制御する
ことができ、かつループバックされた試験パケットによ
る試験結果を有効に報知することができる。
According to the LAN connection system according to the fifth aspect of the present invention, the test control means of the first optical conversion device includes at least a control packet and a test packet including a start packet and a stop packet for a loopback test. A packet generation unit for generating a packet; a packet detection unit for detecting a response packet to the start packet and a test packet looped back; and comparing whether the test packet looped back matches the transmitted test packet. Since the packet comparing means and the notifying means for notifying the result to the outside are included, the start and stop of the second optical conversion device at the time of the loopback test can be effectively controlled, and the loopback test is performed. The test result by the packet can be effectively reported.

【0052】本発明の請求項6に係るLAN間接続シス
テムによれば、第2の光変換装置がユーザLANと接続
された電気物理層を終端する電気物理層終端手段と、光
ファイバ伝送路と接続された光物理層を終端する光物理
層終端手段と、これら終端手段間においてデータフレー
ムをそのMACアドレスに従って転送するMACスイッ
チと、MACスイッチと光物理層終端手段との間におい
て第1の光変換装置からの制御パケットをその受信経路
から検出してループ制御手段に供給し、ループ制御手段
からの応答パケットを第1の光変換装置への送信経路に
挿入する制御パケット挿入検出手段とを含むので、事業
者側の光変換装置との制御パケットのやりとりおよび試
験パケットのループバックを有効に行なうことができ
る。特に、制御パケットはMACスイッチによりユーザ
LAN側への通過を阻止されて廃棄されるので、その流
出による悪影響が生じない。
According to the inter-LAN connection system according to claim 6 of the present invention, the second optical conversion device terminates the electrical physical layer connected to the user LAN, the optical fiber transmission line, Optical physical layer terminating means for terminating the connected optical physical layer, a MAC switch for transferring a data frame between these terminating means according to the MAC address, and a first optical switch between the MAC switch and the optical physical layer terminating means. Control packet insertion detecting means for detecting a control packet from the conversion device from its reception path and supplying the control packet to the loop control means, and inserting a response packet from the loop control means into a transmission path to the first optical conversion device. Therefore, it is possible to effectively exchange control packets with the optical conversion device on the provider side and loop back test packets. In particular, since the control packet is blocked by the MAC switch from passing to the user LAN side and is discarded, the outflow thereof has no adverse effect.

【0053】本発明の請求項7に係るLAN間接続シス
テムによれば、第2の光変換装置のループ制御手段が少
なくとも、第1光変換装置からの起動パケットおよび停
止パケットを含む制御パケットをそれぞれ検出するパケ
ット検出手段と、パケット検出手段において起動パケッ
トを検出した際にその応答パケットを生成するパケット
生成手段と、パケット検出手段において起動パケットを
受けた際に電気物理層終端手段をループバック状態に設
定し、停止パケットを受けた際にループバック状態を解
除するループ設定解除手段とを含むので、ループバック
試験の際に第1の光変換装置からの起動および停止を有
効に制御することができ、その際の試験パケットのルー
プバック制御を確実に実施することができる。
According to the LAN connection system according to claim 7 of the present invention, the loop control means of the second optical converter transmits at least the control packet including the start packet and the stop packet from the first optical converter. A packet detecting means for detecting, a packet generating means for generating a response packet when a start packet is detected by the packet detecting means, and a loopback state of the electrophysical layer terminating means when the start packet is received by the packet detecting means. And a loop setting canceling means for canceling the loopback state when receiving the stop packet, so that the start and stop from the first optical conversion device can be effectively controlled during the loopback test. The loopback control of the test packet at that time can be reliably performed.

【0054】一方、本発明によるループバック試験方式
によれば、通信事業者側にその広域LANと光ファイバ
伝送路との間に伝送する所定のデータフレームを電気/
光変換してそのデータフレームを媒体アクセス制御によ
り転送する第1の光変換装置を用意し、ユーザ宅内側に
そのユーザLANと光ファイバ伝送路との間に伝送する
データフレームを電気/光変換してそのデータフレーム
を媒体アクセス制御により転送する光変換リピータを用
意し、光変換ブリッジから第2の光変換装置に所定のデ
ータフレームのパケット長よりも短いループバック試験
を指示する起動パケットを光ファイバ伝送路を介して送
信し、その起動パケットを受信した第2の光変換装置に
おいてユーザLANとの電気物理層終端点をループバッ
ク状態に設定し、その起動パケットに対して所定のデー
タフレームのパケット長よりも短い応答パケットを光フ
ァイバ伝送路を介して第1の光変換装置に送信し、その
応答パケットを受信した第1の光変換装置において所定
のデータフレームと同様のパケット長の試験パケットを
光ファイバ伝送路を介して第2の光変換装置に送信し、
試験パケットを受信した第2の光変換装置においてその
試験パケットをユーザLANとの電気物理層終端点にて
折り返して再び光ファイバ伝送路を介して第1の光変換
装置にループバックし、ループバックされた試験パケッ
トを第1の光変換装置において受信して送信した試験パ
ケットとループバックされた試験パケットが一致するか
否かを比較してその結果を外部に報知するので、制御パ
ケットおよび試験パケットがユーザLANまたは広域L
ANに送出されることなく、試験パケットがシステム内
において有効にループバックされて、その試験を確実か
つ有効に実施することができる。
On the other hand, according to the loop-back test method of the present invention, the communication carrier transmits a predetermined data frame to be transmitted between the wide area LAN and the optical fiber transmission line to the electric / electrical transmission line.
A first optical converter for optically converting the data frame and transferring the data frame by medium access control is prepared, and the data frame transmitted between the user LAN and the optical fiber transmission line is electrically / optically converted inside the user's house. An optical conversion repeater for transferring the data frame by the medium access control is prepared, and a start packet for instructing the second optical conversion device from the optical conversion bridge to perform a loopback test shorter than the packet length of the predetermined data frame is transmitted to the optical fiber. The second optical conversion device, which has transmitted the transmission packet via the transmission path and received the activation packet, sets the electrophysical layer termination point with the user LAN in a loopback state, and responds to the activation packet with a predetermined data frame packet. A response packet shorter than the length is transmitted to the first optical conversion device via the optical fiber transmission line, and the response packet is received. Transmits a first same packet length of the test packet and the predetermined data frame in the optical conversion apparatus to a second optical converter through an optical fiber transmission line,
In the second optical converter receiving the test packet, the test packet is looped back at the end point of the electric physical layer with the user LAN, and looped back to the first optical converter via the optical fiber transmission line. The first optical conversion device receives the transmitted test packet, compares the transmitted test packet with the looped-back test packet, and reports the result to the outside, so that the control packet and the test packet are transmitted. Is user LAN or wide area L
Without being sent to the AN, the test packet can be effectively looped back in the system and the test can be performed reliably and effectively.

【0055】本発明の請求項9に係るループバック試験
方式によれば、第1の光変換ブリッジがループバック試
験を終了する際に所定のデータフレームのパケット長よ
りも短い停止パケットを光ファイバ伝送路を介して第2
の光変換装置に送信して通常の伝送状態に戻り、その停
止パケットを受けた第1の光変換装置がユーザLANと
の電気物理層終端点のループバック状態を解除して通常
のデータ通信可能な状態に戻るので、ループバック試験
の後に有効に通常のデータ通信可能な状態に復帰するこ
とができる。
According to the loopback test method according to the ninth aspect of the present invention, when the first optical conversion bridge ends the loopback test, the stop packet shorter than the packet length of the predetermined data frame is transmitted through the optical fiber. Second through the road
To the normal optical transmission device and returns to the normal transmission state, and upon receiving the stop packet, the first optical conversion device releases the loopback state of the termination point of the electric physical layer with the user LAN to enable normal data communication. Since the state returns to the normal state, it is possible to effectively return to the state in which normal data communication can be performed after the loopback test.

【0056】本発明の請求項10に係るループバック試
験方式によれば、起動パケットおよび応答パケットなら
びに停止パケットが第1および第2の光変換装置におい
て転送処理するデータフレームの最短パケット長よりも
さらに短いパケット長に形成されたパケットであるの
で、第1および第2の光変換装置において制御パケット
を検出した後に他の転送するデータフレームと区別して
有効に破棄することができ、LAN側への余分なパケッ
トの流出を防止することができる。
According to the loopback test method according to claim 10 of the present invention, the start packet, the response packet, and the stop packet are further longer than the shortest packet length of the data frame to be transferred in the first and second optical conversion devices. Since the packet is formed to have a short packet length, the control packet can be effectively discarded after being detected by the first and second optical converters, separately from other data frames to be transferred. Outflow of unnecessary packets can be prevented.

【0057】本発明の請求項11に係るループバック試
験方式によれば、起動パケットおよび応答パケットなら
びに停止パケットが第1および第2の光変換装置におい
て転送処理するデータフレームのパケット長と同様の長
さのパケットであって、そのデータチェックに誤りを含
ませたパケットであるので、第1および第2の光変換装
置において制御パケットを検出した後に、そのデータ誤
りをチェックして有効に破棄することができ、LAN側
への余分なパケットの流出を防止することができる。
According to the loopback test method of the present invention, the start packet, the response packet, and the stop packet have the same length as the packet length of the data frame to be transferred in the first and second optical conversion devices. Since the packet is a packet having an error included in the data check, the data error is checked and effectively discarded after the control packet is detected in the first and second optical conversion devices. It is possible to prevent extra packets from flowing to the LAN side.

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

【図1】本発明によるLAN間接続システムの一実施形
態を示すブロック図である。
FIG. 1 is a block diagram showing one embodiment of an inter-LAN connection system according to the present invention.

【図2】図1の実施形態によるLAN間接続システムが
適用されたネットワーク構成を示す図である。
FIG. 2 is a diagram showing a network configuration to which the LAN connection system according to the embodiment of FIG. 1 is applied;

【図3】図1の実施形態による光変換ブリッジの制御部
の機能構成を示す機能ブロック図である。
FIG. 3 is a functional block diagram illustrating a functional configuration of a control unit of the optical conversion bridge according to the embodiment of FIG. 1;

【図4】図1の実施形態による光変換リピータの制御部
の機能構成を示す機能ブロック図である。
FIG. 4 is a functional block diagram showing a functional configuration of a control unit of the optical conversion repeater according to the embodiment of FIG.

【図5】図1の実施形態に適用されるイーサネットフレ
ームのフォーマット例を示す図である。
FIG. 5 is a diagram showing an example of a format of an Ethernet frame applied to the embodiment of FIG. 1;

【図6】図1の実施形態に適用される試験パケットのフ
ォーマット例を示す図である。
FIG. 6 is a diagram showing a format example of a test packet applied to the embodiment of FIG. 1;

【図7】図1の実施形態に適用される制御パケットのフ
ォーマット例を示す図である。
FIG. 7 is a diagram showing a format example of a control packet applied to the embodiment of FIG. 1;

【図8】図1の実施形態に適用されるループバック試験
方式の手順を示すシーケンス図である。
FIG. 8 is a sequence diagram illustrating a procedure of a loopback test method applied to the embodiment of FIG. 1;

【図9】図1の実施形態に適用されるループバック試験
方式の流れを示すフローチャートである。
FIG. 9 is a flowchart showing a flow of a loopback test method applied to the embodiment of FIG. 1;

【図10】図1の実施形態に適用されるループバック試
験方式の流れを示すフローチャートである。
FIG. 10 is a flowchart showing a flow of a loopback test method applied to the embodiment of FIG. 1;

【図11】図1の実施形態に適用されるループバック試
験方式の流れを示すフローチャートである。
FIG. 11 is a flowchart showing a flow of a loopback test method applied to the embodiment of FIG. 1;

【図12】図1の実施形態によるLAN間接続システム
及びそのループバック試験方式に適用される制御パケッ
トの他の例を示す図である。
12 is a diagram showing another example of a control packet applied to the inter-LAN connection system and its loopback test method according to the embodiment of FIG. 1;

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

10 ユーザLAN 20 光ファイバ伝送路 30 広域LAN 40 光変換ブリッジ(第1の光変換装置) 50 光変換リピータ(第2の光変換装置) 402,510 電気物理層終端部 404,408,506,508 MACスイッチ 412,502 光物理層終端部 414 512 制御部 428,524 テストスイッチ DESCRIPTION OF SYMBOLS 10 User LAN 20 Optical fiber transmission line 30 Wide area LAN 40 Optical conversion bridge (first optical conversion device) 50 Optical conversion repeater (second optical conversion device) 402, 510 Electrophysical layer terminating sections 404, 408, 506, 508 MAC switch 412,502 Optical physical layer termination unit 414 512 Control unit 428,524 Test switch

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04L 29/14 H04L 13/00 315A H04Q 1/20 Fターム(参考) 5K002 AA05 AA06 DA04 DA32 EA05 FA01 5K019 AA08 AC09 BA56 CC15 CC16 5K030 GA14 HB06 HB11 HB28 HC01 HD07 JA08 JA10 JL03 LB02 MC02 MC09 5K033 AA05 CB03 CB08 CC01 DA01 DA06 DB19 DB20 DB22 EA02 EA03 EA07 5K035 AA07 BB03 CC06 DD02 EE02 GG02 GG08 GG10 JJ04 KK01 MM03 ──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04L 29/14 H04L 13/00 315A H04Q 1/20 F term (Reference) 5K002 AA05 AA06 DA04 DA32 EA05 FA01 5K019 AA08 AC09 BA56 CC15 CC16 5K030 GA14 HB06 HB11 HB28 HC01 HD07 JA08 JA10 JL03 LB02 MC02 MC09 5K033 AA05 CB03 CB08 CC01 DA01 DA06 DB19 DB20 DB22 EA02 EA03 EA07 5K035 AA07 BB03 CC06 DD02 EE02 GG10 GG08 GG08 GG08 GG08 GG08 GG08 GG08

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 ユーザLANと通信事業者の広域LAN
とを光ファイバ伝送路を介して接続するLAN間接続シ
ステムであって、 該システムは、通信事業者側に設置されて広域LANと
光ファイバ伝送路との間に伝送する所定のデータフレー
ムを電気/光変換してそのデータフレームを媒体アクセ
ス制御により転送する第1の光変換装置と、ユーザ宅内
に設置されてユーザLANと光ファイバ伝送路との間に
伝送するデータフレームを電気/光変換してそのデータ
フレームを媒体アクセス制御により転送する第2の光変
換装置とを有し、 前記第1の光変換装置は、前記第2の光変換装置との間
のループバック試験を制御する制御パケットであって前
記第2の光変換装置での転送処理の際に破棄される制御
パケットを前記光ファイバ伝送路を介して送出し、さら
にデータフレームと同様のパケットの試験パケットを送
出してループバック試験をする試験制御手段を含み、 前記第2の光変換装置は、前記第1の光変換装置からの
制御パケットに基づいてユーザLANとの物理層終端点
をループバック状態に設定して、光ファイバ伝送路を介
して受信した試験パケットを前記第1の光変換装置に折
り返してループバック制御するループ制御手段を含むこ
とを特徴とするLAN間接続システム。
1. A user LAN and a wide area LAN of a communication carrier
Between the LAN and the optical fiber transmission line, the system connects between the LAN and the optical fiber transmission line. A first optical conversion device for performing optical / optical conversion and transferring the data frame by medium access control, and an electrical / optical conversion for a data frame installed in a user's home and transmitted between a user LAN and an optical fiber transmission line. And a second optical conversion device for transferring the data frame by medium access control, wherein the first optical conversion device controls a loopback test with the second optical conversion device. Transmitting a control packet discarded during the transfer processing in the second optical conversion device through the optical fiber transmission line, and further transmitting a packet similar to a data frame. Test control means for transmitting a test packet to perform a loopback test, wherein the second optical conversion device loops a physical layer termination point with a user LAN based on a control packet from the first optical conversion device. An inter-LAN connection system comprising: a loop control unit that sets a back state and returns a test packet received via an optical fiber transmission line to the first optical conversion device to perform loop-back control.
【請求項2】 請求項1に記載のLAN間接続システム
において、前記制御パケットは、前記第2の光変換装置
において転送処理するデータフレームの最短パケット長
よりもさらに短いパケット長に形成されたパケットであ
ることを特徴とするLAN間接続システム。
2. The inter-LAN connection system according to claim 1, wherein the control packet has a packet length shorter than a shortest packet length of a data frame to be transferred in the second optical conversion device. An inter-LAN connection system, characterized in that:
【請求項3】 請求項1に記載のLAN間接続システム
において、前記制御パケットは、前記第2の光変換装置
において転送処理するデータフレームのパケット長と同
様の長さのパケットであって、そのデータチェックに誤
りを含ませたパケットであることを特徴とするLAN間
接続システム。
3. The inter-LAN connection system according to claim 1, wherein the control packet is a packet having the same length as a packet length of a data frame to be transferred in the second optical conversion device. An inter-LAN connection system characterized in that the packet includes an error in the data check.
【請求項4】 請求項1ないし請求項3のいずれかに記
載のLAN間接続システムにおいて、前記第1の光変換
装置は、広域LANと接続された電気物理層を終端する
電気物理層終端手段と、光ファイバ伝送路と接続された
光物理層を終端する光物理層終端手段と、該終端手段間
においてデータフレームをそのMACアドレスに従って
転送するMACスイッチと、該MACスイッチと前記光
物理層終端手段との間において前記試験制御手段からの
制御パケットを前記第2の光変換装置への送信経路に挿
入してその制御パケットに対する前記第2の光変換装置
からの応答パケットを受信経路から検出する制御パケッ
ト挿入検出手段と、前記MACアドレスと電気物理層終
端手段との間において前記試験制御手段からの試験パケ
ットを前記第2の光変換装置への送信経路に挿入してそ
の第2の光変換装置からループバックされた試験パケッ
トを受信経路から検出する試験パケット挿入検出手段と
を含むことを特徴とするLAN間接続システム。
4. The inter-LAN connection system according to claim 1, wherein the first optical conversion device terminates an electro-physical layer connected to a wide area LAN. An optical physical layer terminating means for terminating an optical physical layer connected to an optical fiber transmission line, a MAC switch for transferring a data frame between the terminating means according to the MAC address, the MAC switch and the optical physical layer termination Means for inserting a control packet from the test control means into a transmission path to the second optical conversion device and detecting a response packet from the second optical conversion device to the control packet from the reception path. Control packet insertion detecting means, and a test packet from the test control means between the MAC address and the electro-physical layer terminating means. A test packet insertion detecting means for detecting a test packet inserted into a transmission path to the conversion apparatus and looped back from the second optical conversion apparatus, from the reception path.
【請求項5】 請求項4に記載のLAN間接続システム
において、前記第1の光変換装置の試験制御手段は少な
くとも、ループバック試験の際にその起動パケットおよ
び停止パケットを含む制御パケットおよび試験パケット
をそれぞれ生成するパケット生成手段と、起動パケット
に対する応答パケットおよびループバックされた試験パ
ケットを検出するパケット検出手段と、ループバックさ
れた試験パケットが送信した試験パケットと一致するか
否かを比較するパケット比較手段と、その結果を外部に
報知する報知手段とを含むことを特徴とするLAN間接
続システム。
5. The inter-LAN connection system according to claim 4, wherein the test control means of the first optical conversion device includes at least a control packet and a test packet including a start packet and a stop packet at the time of a loopback test. Respectively, a packet detecting means for detecting a response packet to the start packet and a looped-back test packet, and a packet for comparing whether the looped-back test packet matches the transmitted test packet. An inter-LAN connection system comprising a comparing unit and a notifying unit for notifying the result to the outside.
【請求項6】 請求項1ないし請求項3のいずれかに記
載のLAN間接続システムにおいて、前記第2の光変換
装置は、ユーザLANと接続された電気物理層を終端す
る電気物理層終端手段と、光ファイバ伝送路と接続され
た光物理層を終端する光物理層終端手段と、該終端手段
間においてデータフレームをそのMACアドレスに従っ
て転送するMACスイッチと、該MACスイッチと前記
光物理層終端手段との間において前記第1の光変換装置
からの制御パケットをその受信経路から検出して前記ル
ープ制御手段に供給し、該ループ制御手段からの応答パ
ケットを前記第1の光変換装置への送信経路に挿入する
制御パケット挿入検出手段とを含むことを特徴とするL
AN間接続システム。
6. The inter-LAN connection system according to claim 1, wherein the second optical conversion device terminates an electro-physical layer connected to a user LAN. An optical physical layer terminating means for terminating an optical physical layer connected to an optical fiber transmission line, a MAC switch for transferring a data frame between the terminating means according to the MAC address, the MAC switch and the optical physical layer termination Means for detecting a control packet from the first optical conversion device from its receiving path and supplying the control packet to the loop control device, and transmitting a response packet from the loop control device to the first optical conversion device. L including control packet insertion detecting means for inserting the control packet into the transmission path.
AN connection system.
【請求項7】 請求項6に記載のLAN間接続システム
において、前記第2の光変換装置のループ制御手段は少
なくとも、前記第1の光変換装置からの起動パケットお
よび停止パケットを含む制御パケットをそれぞれ検出す
るパケット検出手段と、該パケット検出手段において起
動パケットを検出した際にその応答パケットを生成する
パケット生成手段と、前記パケット検出手段において起
動パケットを受けた際に前記電気物理層終端手段をルー
プバック状態に設定し、停止パケットを受けた際にルー
プバック状態を解除するループ設定解除手段とを含むこ
とを特徴とするLAN間接続システム。
7. The inter-LAN connection system according to claim 6, wherein the loop control means of the second optical conversion device transmits at least a control packet including a start packet and a stop packet from the first optical conversion device. A packet detection unit for detecting the packet, a packet generation unit for generating a response packet when the start-up packet is detected by the packet detection unit, and the electrophysical layer termination unit when the start-up packet is received by the packet detection unit. A LAN setting system for setting a loopback state and canceling the loopback state when a stop packet is received.
【請求項8】 ユーザLANと通信事業者の広域LAN
とを光ファイバ伝送路を介して接続するLAN間接続シ
ステムにおけるループバック試験方式であって、 通信事業者側にその広域LANと光ファイバ伝送路との
間に伝送する所定のデータフレームを電気/光変換して
そのデータフレームを媒体アクセス制御により転送する
第1の光変換装置を用意し、ユーザ宅内側にそのユーザ
LANと光ファイバ伝送路との間に伝送するデータフレ
ームを電気/光変換してそのデータフレームを媒体アク
セス制御により転送する第2の光変換装置を用意し、 前記第1の光変換装置から第2の光変換装置にループバ
ック試験を指示する起動パケットであってその検出後に
破棄される起動パケットを光ファイバ伝送路を介して送
信し、 該起動パケットを受信した第2の光変換装置においてユ
ーザLANとの電気物理層終端点をループバック状態に
設定し、その起動パケットに対して前記第1の光変換装
置に応答する応答パケットであってその検出後に破棄さ
れる応答パケットを光ファイバ伝送路を介して送信し、 該応答パケットを受信した第1の光変換装置において所
定のデータフレームと同様の試験パケットを光ファイバ
伝送路を介して第2の光変換装置に送信し、 該試験パケットを受信した第2の光変換装置においてそ
の試験パケットをユーザLANとの電気物理層終端点に
て折り返して再び光ファイバ伝送路を介して第1の光変
換装置にループバックし、 該ループバックされた試験パケットを第1の光変換装置
において受信して送信した試験パケットとループバック
された試験パケットが一致するか否かを比較してその結
果を外部に報知することを特徴とするLAN間接続シス
テムにおけるループバック試験方式。
8. A user LAN and a wide area LAN of a communication carrier
Is a loopback test method in an inter-LAN connection system for connecting a LAN and an optical fiber transmission line via an optical fiber transmission line. A first optical converter for optically converting the data frame and transferring the data frame by medium access control is prepared, and the data frame transmitted between the user LAN and the optical fiber transmission line is electrically / optically converted inside the user's house. A second optical conversion device for transferring the data frame by medium access control, and a start packet instructing a loopback test from the first optical conversion device to the second optical conversion device; The start packet to be discarded is transmitted via the optical fiber transmission line, and the second optical converter receiving the start packet transmits the power to the user LAN. A physical layer termination point is set to a loop-back state, and a response packet that responds to the start-up packet to the first optical conversion device and that is discarded after the detection is transmitted via the optical fiber transmission line. The first optical conversion device that has received the response packet transmits a test packet similar to a predetermined data frame to the second optical conversion device via the optical fiber transmission line, and the second optical conversion device that has received the test packet In the optical conversion device, the test packet is looped back at the end point of the electrophysical layer with the user LAN, and looped back to the first optical conversion device via the optical fiber transmission line. The first optical conversion device compares the test packet received and transmitted with the looped-back test packet and reports the result to the outside. Loopback test method in LAN connecting system, characterized in that.
【請求項9】 請求項8に記載のループバック試験方式
において、前記第1の光変換装置は、ループバック試験
を終了する際に第2の光変換装置においてその検出後に
破棄される停止パケットを光ファイバ伝送路を介して第
2の光変換装置に送信して通常のデータ通信可能な状態
に戻り、該停止パケットを受けた第2の光変換装置はユ
ーザLANとの電気物理層終端点のループバック設定を
解除して通常のデータ通信可能な状態に戻ることを特徴
とするLAN間接続システムにおけるループバック試験
方式。
9. The loopback test method according to claim 8, wherein the first optical conversion device, when ending the loopback test, outputs a stop packet discarded after the detection by the second optical conversion device. The data is transmitted to the second optical conversion device via the optical fiber transmission line to return to a state in which normal data communication is possible, and the second optical conversion device receiving the stop packet transmits the termination point of the electrophysical layer with the user LAN. A loop-back test method in an inter-LAN connection system, wherein a loop-back setting is canceled to return to a state in which normal data communication is possible.
【請求項10】 請求項8または請求項9に記載のルー
プバック試験方式において、前記起動パケットおよび応
答パケットならびに停止パケットは、前記第2の光変換
装置において転送処理するデータフレームの最短パケッ
ト長よりもさらに短いパケット長に形成されたパケット
であることを特徴とするLAN間接続システムにおける
ループバック試験方式。
10. The loopback test method according to claim 8, wherein the start packet, the response packet, and the stop packet are shorter than a shortest packet length of a data frame to be transferred in the second optical conversion device. A loopback test method in an inter-LAN connection system, wherein the packet has a shorter packet length.
【請求項11】 請求項8または請求項9に記載のルー
プバック試験方式において、前記起動パケットおよび応
答パケットならびに停止パケットは、前記第2の光変換
装置において転送処理するデータフレームのパケット長
と同様の長さのパケットであって、そのデータチェック
に誤りを含ませたパケットであることを特徴とするLA
N間接続システム。
11. The loopback test system according to claim 8, wherein the start packet, the response packet, and the stop packet are the same as the packet length of a data frame to be transferred and processed in the second optical conversion device. Characterized in that the packet has a data check length and an error is included in the data check.
N-to-N connection system.
JP2000280893A 2000-09-14 2000-09-14 LAN connection system and its loopback test method Expired - Fee Related JP4038972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000280893A JP4038972B2 (en) 2000-09-14 2000-09-14 LAN connection system and its loopback test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000280893A JP4038972B2 (en) 2000-09-14 2000-09-14 LAN connection system and its loopback test method

Publications (2)

Publication Number Publication Date
JP2002094542A true JP2002094542A (en) 2002-03-29
JP4038972B2 JP4038972B2 (en) 2008-01-30

Family

ID=18765642

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000280893A Expired - Fee Related JP4038972B2 (en) 2000-09-14 2000-09-14 LAN connection system and its loopback test method

Country Status (1)

Country Link
JP (1) JP4038972B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005036784A1 (en) * 2003-10-07 2005-04-21 Allied Telesis K.K. Expandable wavlength division multiplex transmitter
JP2008109654A (en) * 2007-10-15 2008-05-08 Fujitsu Ltd Subscriber line termination equipment and loopback test method
JP2008135902A (en) * 2006-11-28 2008-06-12 Hitachi Kokusai Electric Inc Line quality checking apparatus for optical signal transmission system
GB2467425A (en) * 2009-01-28 2010-08-04 Technetix Group Ltd A media converter for Ethernet-to-optical conversion, for use with POF, which has fibre testing means
JP2011087244A (en) * 2009-10-19 2011-04-28 Yokogawa Electric Corp Device for measuring transmission characteristic
JP2011120088A (en) * 2009-12-04 2011-06-16 Nec Access Technica Ltd Optical communication system for data relay, testing method thereof and test program
US8756031B2 (en) 2010-07-13 2014-06-17 International Business Machines Corporation Matched filter testing of data transmission cables

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005036784A1 (en) * 2003-10-07 2005-04-21 Allied Telesis K.K. Expandable wavlength division multiplex transmitter
JP2008135902A (en) * 2006-11-28 2008-06-12 Hitachi Kokusai Electric Inc Line quality checking apparatus for optical signal transmission system
JP2008109654A (en) * 2007-10-15 2008-05-08 Fujitsu Ltd Subscriber line termination equipment and loopback test method
JP4620717B2 (en) * 2007-10-15 2011-01-26 富士通株式会社 Subscriber line terminal equipment and loopback test method
GB2467425A (en) * 2009-01-28 2010-08-04 Technetix Group Ltd A media converter for Ethernet-to-optical conversion, for use with POF, which has fibre testing means
GB2467425B (en) * 2009-01-28 2014-10-15 Technetix Group Ltd Media converter
JP2011087244A (en) * 2009-10-19 2011-04-28 Yokogawa Electric Corp Device for measuring transmission characteristic
JP2011120088A (en) * 2009-12-04 2011-06-16 Nec Access Technica Ltd Optical communication system for data relay, testing method thereof and test program
US8756031B2 (en) 2010-07-13 2014-06-17 International Business Machines Corporation Matched filter testing of data transmission cables

Also Published As

Publication number Publication date
JP4038972B2 (en) 2008-01-30

Similar Documents

Publication Publication Date Title
US7257086B2 (en) Method and system for effectuating network routing over primary and backup channels
US7260748B2 (en) Physical layer loop back method and apparatus
US20030189977A1 (en) DSL auto baud
WO2001058089A1 (en) Method to establish a home network in multiple physical layers
JP2002094542A (en) Inter-lan connection system and its loopback test system
US7864786B2 (en) Repeater apparatus for supporting a plurality of protocols, and a method for controlling protocol conversion in the repeater apparatus
JP3952719B2 (en) LAN connection system and loopback test method thereof
JP2003258833A (en) Inter-lan connection system and method
JP2003087291A (en) Inter-lan connection system and its alarm transfer system
Cisco FDDI Full-Duplex Single-Mode and Multimode Port Adapters
Cisco FDDI Full-Duplex Single-Mode and Multimode Port Adapters
Cisco FDDI Full-Duplex Single-Mode and Multimode Port Adapters
Cisco FDDI Full-Duplex Single-Mode and Multimode Port Adapters
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands
Cisco Interface Commands

Legal Events

Date Code Title Description
A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20041001

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20041129

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050330

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20071016

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071029

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20101116

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20111116

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20121116

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20131116

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees