JP2005286641A - Communication device, communication system, and receiving method - Google Patents

Communication device, communication system, and receiving method Download PDF

Info

Publication number
JP2005286641A
JP2005286641A JP2004096690A JP2004096690A JP2005286641A JP 2005286641 A JP2005286641 A JP 2005286641A JP 2004096690 A JP2004096690 A JP 2004096690A JP 2004096690 A JP2004096690 A JP 2004096690A JP 2005286641 A JP2005286641 A JP 2005286641A
Authority
JP
Japan
Prior art keywords
frame
data
transmission
encoding
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004096690A
Other languages
Japanese (ja)
Inventor
Toshiaki Arikawa
寿秋 有川
Hidetoshi Shinoda
英俊 篠田
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.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP2004096690A priority Critical patent/JP2005286641A/en
Publication of JP2005286641A publication Critical patent/JP2005286641A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To solve the problem that duplication or missing of frames can occur in the communication device that uses Ethernet (R) for connection with double transmission paths because there exists no such means as absorbing a delay difference of data inputted from two transmission paths. <P>SOLUTION: The communication device comprises a medium access control means, first and second encoding/decoding means, a memory for holding reception data, and a signal conversion means. The first and second encoding/decoding means assigns a consecutive number to the region between transmission frames when transmitting, while extracting the consecutive number at receiving to adjust transmission delay difference between the reception data. In the receiving method, the data containing the consecutive number assigned to the region between the frames is received from two transmission paths, and the consecutive number is extracted from the reception data to adjust transmission delay difference between the reception data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、通信装置、通信システム、及び受信方法に関し、特に2つの伝送路を介して通信を行う通信装置の伝送路の切り替えに関する。   The present invention relates to a communication device, a communication system, and a reception method, and more particularly, to switching of a transmission path of a communication apparatus that performs communication via two transmission paths.

通信装置間に現用と予備の二重の伝送線路を配置した通信システムにおいて、一方の伝送線路にトラブルが生じた場合、伝送線路をできるだけ短時間にまたは瞬断なく切り替える必要がある。このための方法は以前から様々に提案されている。最近では、例えばATM網のノード間に2系統のバーチャルパスを設定し、送信ノードから切り替え制御用管理セルを並列かつ間欠的に送信し、該セルのシーケンス番号を比較照合し、現用と予備のバーチャルパスを切り替える方法が提案されている(特許文献2参照)。   In a communication system in which a working transmission line and a spare transmission line are arranged between communication apparatuses, when trouble occurs in one transmission line, it is necessary to switch the transmission line as quickly as possible or without interruption. Various methods have been proposed for this purpose. Recently, for example, two virtual paths are set between nodes of an ATM network, the switching control management cells are transmitted in parallel and intermittently from the transmitting node, the sequence numbers of the cells are compared and collated, A method of switching virtual paths has been proposed (see Patent Document 2).

また一方、近年イーサネット(登録商標)がLAN(Local Area Network)だけでなく、MAN(Metropolitan Area Network)/WAN(Wide Area Network)を含めたネットワークへ適用されている。ここでも、ユーザに対してMAN、WANを提供する業者は、信頼性向上の為に加入者伝送路や事業者内の伝送路を二重化することを試みている。しかし、IEEE802.3で規格化されているイーサネット(登録商標)では、10G−WAN−PHYを除いて、伝送路を二重化するための仕組みが存在しない。そのため、例えば受信する光または電気信号の断検出をトリガとして伝送路の切替を行う技術が提案されている(特許文献2参照)。   On the other hand, in recent years, Ethernet (registered trademark) has been applied not only to LAN (Local Area Network) but also to networks including MAN (Metropolitan Area Network) / WAN (Wide Area Network). In this case as well, a provider who provides MAN and WAN to the user is attempting to duplicate the subscriber transmission path and the transmission path within the service provider in order to improve reliability. However, in Ethernet (registered trademark) standardized by IEEE802.3, there is no mechanism for duplexing the transmission path except for 10G-WAN-PHY. For this reason, for example, a technique has been proposed in which the transmission path is switched using the detection of the interruption of the received light or electrical signal as a trigger (see Patent Document 2).

特開平08−237253号公報(第4−5頁、図1、図2)JP 08-237253 A (page 4-5, FIGS. 1 and 2) 特開2003−209527号公報(第3−9頁、図1、図2、図3)Japanese Patent Laying-Open No. 2003-209527 (page 3-9, FIG. 1, FIG. 2, FIG. 3)

しかし、上記イーサネット(登録商標)を利用した伝送路二重化通信装置では、フレームの重複、欠落が発生する可能性がある。2つの伝送路から入力するデータの遅延差を吸収する手段が存在しないためである。また、受信信号の光入力断または電気入力断が発生してから入力断が検出されるまでに所定の時間を要し、伝送路の選択ブロックでの障害発生タイミングを特定できないことも理由の1つである。   However, in the redundant transmission line communication device using the Ethernet (registered trademark), there is a possibility that duplication or omission of frames may occur. This is because there is no means for absorbing the delay difference between the data input from the two transmission lines. Another reason is that it takes a predetermined time from the occurrence of an optical input interruption or an electric input interruption of a received signal until the input interruption is detected, and the failure occurrence timing cannot be specified in the transmission line selection block. One.

本発明は上記課題を解決するため、フレーム単位で予備伝送線路へ無瞬断切り替えが可能な通信装置、通信システム、および受信方法を提供することを目的にする。   In order to solve the above-described problems, an object of the present invention is to provide a communication device, a communication system, and a reception method capable of switching without interruption to a backup transmission line in units of frames.

本発明の通信装置は、複数の伝送路を介して通信を行う通信装置であって、媒体アクセス制御手段と、第1の符号化/復号化手段と、第2の符号化/復号化手段と、受信データを保持するメモリと、信号変換手段を備え、第1および第2の符号化/復号化手段は、送信時は送信フレーム間の領域に符号を割り当て、受信時は該符号を抽出して受信データの伝送遅延差を調整する。この場合、フレームは例えばイーサネット(登録商標)フレームを利用できる。また、上記第1および第2の符号化/復号化手段は、送信時に送信フレームのプリアンブル領域に符号を付与することもできる。この場合のフレームはMACフレームを利用できる。   A communication apparatus according to the present invention is a communication apparatus that performs communication via a plurality of transmission paths, and includes medium access control means, first encoding / decoding means, second encoding / decoding means, A memory for holding received data and signal converting means, and the first and second encoding / decoding means assign a code to a region between transmission frames at the time of transmission and extract the code at the time of reception Adjust the transmission delay difference of the received data. In this case, for example, an Ethernet (registered trademark) frame can be used as the frame. Further, the first and second encoding / decoding means can add a code to the preamble area of the transmission frame at the time of transmission. The frame in this case can use a MAC frame.

上記符号化/復号化手段は、受信時にメモリに保持した受信データの読み出しタイミングを調整して媒体アクセス制御手段へのフレーム出力のタイミングを合わせることができる。また、現用伝送路からデータを受信している符号化/復号化手段は受信データの符号違反を検知すると受信異常通知を出力し、該媒体アクセス制御手段は該異常通知を受信すると他方の符号化/復号化手段からのデータを受信する
本発明の通信システムは、複数の伝送路で接続される通信装置を含む通信システムであって、該通信装置は、媒体アクセス制御手段と、第1の符号化/復号化手段と、第2の符号化/復号化手段と、受信データを保持するメモリと、信号変換手段を備え、第1および第2の符号化/複合化手段は、送信時は送信フレーム間の領域に符号を割り当て、受信時は該符号を抽出して受信データの伝送遅延差を調整する。このフレームはイーサネット(登録商標)フレームを用いることができる。本発明の他の通信システムでは、上記通信システムと同様の構成を備えるが、通信装置の第1および第2の符号化/復号化手段は、送信フレームのプリアンブル領域に符号を割り当てる。この場合のフレームはMACフレームを用いることができる。上記通信システムにおいて、符号化/復号化手段は受信時にメモリに保持した受信データの読み出しタイミングを調整して媒体アクセス制御手段へのフレーム出力のタイミングを合わせる。
The encoding / decoding means can adjust the timing of frame output to the medium access control means by adjusting the read timing of the received data held in the memory at the time of reception. The encoding / decoding means receiving data from the working transmission line outputs a reception abnormality notification when detecting a code violation of the received data, and the medium access control means receives the abnormality notification and encodes the other encoding. / Receiving data from decoding means The communication system of the present invention is a communication system including communication devices connected by a plurality of transmission paths, the communication device comprising medium access control means and a first code Encoding / decoding means, second encoding / decoding means, a memory for holding received data, and signal conversion means, and the first and second encoding / decoding means transmit at the time of transmission. A code is assigned to an area between frames, and at the time of reception, the code is extracted to adjust a transmission delay difference of received data. As this frame, an Ethernet (registered trademark) frame can be used. The other communication system of the present invention has the same configuration as that of the communication system described above, but the first and second encoding / decoding means of the communication apparatus assign a code to the preamble region of the transmission frame. In this case, a MAC frame can be used as the frame. In the above communication system, the encoding / decoding means adjusts the read timing of the received data held in the memory at the time of reception to match the timing of frame output to the medium access control means.

本発明の受信方法の発明は、2つの伝送路からデータを受信する受信方法であって、フレームと各フレーム間領域に割り当てられた符号を含むデータを2つの伝送路からそれぞれ受信し、該受信データから該符号を抽出して受信データ同士の伝送遅延差を調整する。この場合のフレームはイーサネット(登録商標)フレームである。上記割り当てられた符号の抽出はデータ復号化手段にて行なう。また、受信データをメモリに保持し該受信データの読み出しタイミングを調整して復号化手段からフレームを出力するタイミングを合わせる。さらに、受信したデータの符号違反を検知した場合該データが伝送された伝送路とは別の伝送路からデータを受信する。上記符号はフレームのプリアンブル部に割り当てられ得る。その場合のフレームはMACフレームである。   The invention of the receiving method of the present invention is a receiving method for receiving data from two transmission paths, each receiving data including a frame and a code assigned to each inter-frame area from the two transmission paths, and receiving the data. The code is extracted from the data to adjust the transmission delay difference between the received data. The frame in this case is an Ethernet (registered trademark) frame. The assigned code is extracted by the data decoding means. Also, the received data is held in the memory, the read timing of the received data is adjusted, and the timing for outputting the frame from the decoding means is matched. Further, when a code violation of the received data is detected, the data is received from a transmission path different from the transmission path through which the data is transmitted. The code may be assigned to the preamble part of the frame. The frame in that case is a MAC frame.

上記発明によって、現用伝送路に障害が発生した場合、データの使用領域を用いず、フレーム単位で無瞬断で予備伝送路からフレームを受信することができる。   According to the above-described invention, when a failure occurs in the working transmission line, it is possible to receive a frame from the backup transmission line without interruption in units of frames without using the data use area.

図1は本発明の通信装置の実施例のブロック図を示す。図1では、通信装置10、11の間に、現用と予備の2つの伝送路(図1ではネットワーク12a、12bで示す)が配置されている。図1は、便宜上、通信装置10を送信装置、通信装置11を受信装置として示す。また、この例は、ギガビット・イーサネット(登録商標)の1000BASE−Xに適用した場合であり、通信装置10、11は、IEEE802.3で規格化された機能を備えるものとする。通信装置10,11は、それぞれ媒体アクセス制御手段(Media Access Control、以下MACと記す)1t、1rを備える。さらに通信装置10、11は、2つの伝送路に対応した符号化/復号化手段(物理コーデイング副層(Physical Coding Sublayer)、以下PCSと記す)と、シリアル・パラレル変換手段(物理媒体アタッチメント(Physical Medium Attachment)、以下PMAと記す)、および、電気・光変換手段(物理媒体依存副層(Physical Medium Dependent Sublayer)、以下PMDと記す)を備える。またメモリ5a、5bは、それぞれPCS2ra、PCS2rbから入力される受信データを保持する。   FIG. 1 shows a block diagram of an embodiment of a communication apparatus of the present invention. In FIG. 1, between the communication apparatuses 10 and 11, two transmission lines, active and spare (indicated by networks 12a and 12b in FIG. 1), are arranged. FIG. 1 shows the communication device 10 as a transmission device and the communication device 11 as a reception device for convenience. Further, this example is a case where it is applied to 1000BASE-X of Gigabit Ethernet (registered trademark), and the communication devices 10 and 11 are assumed to have a function standardized by IEEE802.3. Each of the communication devices 10 and 11 includes medium access control means (Media Access Control, hereinafter referred to as MAC) 1t and 1r. Furthermore, the communication devices 10 and 11 include encoding / decoding means (physical coding sublayer (hereinafter, referred to as PCS)) and serial / parallel conversion means (physical medium attachment (physical medium attachment)) corresponding to two transmission paths. A physical medium attachment (hereinafter referred to as PMA), and an electrical / optical conversion means (physical medium dependent sub-layer, hereinafter referred to as PMD). The memories 5a and 5b hold reception data input from the PCS 2ra and PCS 2rb, respectively.

MAC1t、MAC1rは、データをフレーム化し、通信装置がどのようにデータをスケジューリングして送受信するかを決定する。PCS2tは、MAC1tから入力したデータを8B/10B符号化してPMA3ta、PMA3tbへ出力する。PCS2ra、PCS2rbは、それぞれPMA3raおよびPMA3rbから入力されるデータを8B/10B復号化する。通信装置10のPMA3ta、PMA3tbは、データのパラレル/シリアル変換を行い、通信装置11のPMA3ra、PMA3rbは、データのシリアル/パラレル変換、クロックの再生を行う。さらにPMD4ta、PMD4tbは電気/光変換を行い、PMD4ra、PMD4rbは、光/電気変換を行う。ネットワーク12a、12bは伝送路である。これら伝送路には異なるタイプの通信装置が配置され得るが、該通信装置はPMD4ta,4tbから出力されるデータを後述のIFG領域も含めて転送できるものである必要がある。   MAC1t and MAC1r frame data and determine how the communication apparatus schedules and transmits data. The PCS 2t performs 8B / 10B encoding on the data input from the MAC 1t and outputs the data to the PMA 3ta and the PMA 3tb. PCS2ra and PCS2rb decode 8B / 10B data inputted from PMA3ra and PMA3rb, respectively. PMA3ta and PMA3tb of the communication device 10 perform parallel / serial conversion of data, and PMA3ra and PMA3rb of the communication device 11 perform serial / parallel conversion of data and clock recovery. Furthermore, PMD4ta and PMD4tb perform electrical / optical conversion, and PMD4ra and PMD4rb perform optical / electrical conversion. The networks 12a and 12b are transmission paths. Although different types of communication devices can be arranged on these transmission paths, the communication devices need to be able to transfer data output from PMDs 4ta and 4tb including the IFG area described later.

上述の実施例の通信装置において、PCS2tは、送信データを符号化する際にフレーム間領域(Inter Frame Gap、以下IFGと記す)、またはフレームのプリアンブル領域に符号(例えばシーケンス番号)を割り当て、二重伝送路に出力する。なお、該シーケンス番号は例えば数字やアルファベットなどの連続番号が望ましい。ただしシーケンス番号は、連続番号でなくとも通信装置同士が該領域の相互位置関係を一致して認識できる符号であればよい。一方PCS2ra、PCS2rbは、IFG領域またはプリアンブルからシーケンス番号を抽出し、互いにシーケンス番号とデータの先頭を示す情報を送受信する。この結果、両者の受信データの伝送遅延差が判断される。さらに、この判断結果に基づき、PCS2ra、PCS2rbは、それぞれメモリ5a、5bからの読み出しタイミングを調整して、MAC1rへのフレームの出力タイミングが同時となるように制御する。   In the communication apparatus of the above-described embodiment, the PCS 2t assigns a code (for example, a sequence number) to an inter-frame region (Inter Frame Gap, hereinafter referred to as IFG) or a preamble region of a frame when encoding transmission data. Output to the heavy transmission line. The sequence number is preferably a serial number such as a number or alphabet. However, the sequence number may be a code that allows communication devices to recognize each other by matching the mutual positional relationship of the area, even if it is not a serial number. On the other hand, the PCS 2ra and the PCS 2rb extract the sequence number from the IFG area or the preamble, and transmit / receive information indicating the sequence number and the head of the data to each other. As a result, the transmission delay difference between the two received data is determined. Further, based on the determination result, the PCS 2ra and PCS 2rb adjust the read timing from the memories 5a and 5b, respectively, and control the output timing of the frame to the MAC 1r at the same time.

いまMAC1rがPCS2raからフレームを受信しているとする。このときネットワーク12aに異常が発生すると、PCS2raは8B/10Bコード違反を検出することによって異常発生を検知する。このときPCS2raは、メモリ5aへ書き込み途中であったフレームを廃棄し、以降のメモリ5aへの書き込みを一時的に停止する。さらにPCS2raは、正常に書き込みが行われたフレームと直後のIFGを読み出し、IFGのシーケンス番号を更新する。またPCS2raは、IFGの終了パルスを出力し、異常検知前にLであった受信異常フラグをHとする。MAC1rは、PCS2raからのフレームを選択してフレームの受信処理を行っている。しかし、MAC1rはPCS2raから受信異常フラグHを検知すると、PCS2rbから入力されるフレームを選択して受信処理を行う。MAC1rには、PCS2ra、PCS2rbから同タイミングで同一のフレームが入力されているので、フレームの重複、欠落なしにMAC1rはフレーム選択の切替を実行することができる。   Assume that MAC1r is receiving a frame from PCS2ra. If an abnormality occurs in the network 12a at this time, the PCS 2ra detects the abnormality by detecting an 8B / 10B code violation. At this time, the PCS 2ra discards the frame that was being written to the memory 5a, and temporarily stops writing to the memory 5a thereafter. Further, the PCS 2ra reads the frame that has been normally written and the immediately following IFG, and updates the sequence number of the IFG. Further, the PCS 2ra outputs an IFG end pulse, and sets the reception abnormality flag that was L before abnormality detection to H. The MAC 1r selects a frame from the PCS 2ra and performs frame reception processing. However, when the MAC 1r detects the reception abnormality flag H from the PCS 2ra, the MAC 1r selects a frame input from the PCS 2rb and performs reception processing. Since the same frame is input to the MAC 1r from the PCS 2ra and the PCS 2rb at the same timing, the MAC 1r can execute frame selection switching without overlapping or missing frames.

図2は、本発明の通信装置の動作を示すタイムチャートである。このタイムチャートは、ネットワーク12aが運用されているとき、該ネットワーク12aに障害が発生し、ネットワーク12b側に運用状態が変化する動作について示している。以下、本発明の動作をこのタイムチャートに沿って説明する。なお、図2は2つの伝送路を経由したデータの伝送遅延差が小さい場合の例である。   FIG. 2 is a time chart showing the operation of the communication apparatus of the present invention. This time chart shows an operation in which when the network 12a is operated, a failure occurs in the network 12a and the operation state changes to the network 12b side. Hereinafter, the operation of the present invention will be described along this time chart. FIG. 2 shows an example in which the transmission delay difference of data via two transmission paths is small.

まず送信側通信装置10において、PCS2tはMAC1tから出力されるデータを8B/10B符号化する。この際に一連のIFG領域にシーケンス番号が割り当てられる。MACフレームのプリアンブル領域に該シーケンス番号を割り当てることも可能である。データはPMA3ta、PMA3tbにてパラレル・シリアル変換され、さらにPMD4ta、PMD4tbにて電気/光変換される。このデータは、伝送路となるネットワーク12a、12bへ出力される。   First, in the communication device 10 on the transmission side, the PCS 2t performs 8B / 10B encoding on data output from the MAC 1t. At this time, a sequence number is assigned to a series of IFG areas. It is also possible to assign the sequence number to the preamble area of the MAC frame. The data is converted from parallel to serial by PMA3ta and PMA3tb, and further converted to electrical / optical by PMD4ta and PMD4tb. This data is output to the networks 12a and 12b serving as transmission paths.

次に、受信側通信装置10において、伝送されたデータはPMD4ra、PMD4rbで光/電気変換され、PMA3ra、PMA3rbでシリアル・パラレル変換される。図2(a)はPCS2raが受信するデータを示す。フレームF0とF1との間のIFGにはシーケンス番号(1)が付与されている。図2(b)はPCS2rbが受信するデータを示す。このデータは図2(a)のデータより少し遅れている。図2(c)はPCS2raが出力するフレームを示し、図2(g)はPCS2rbが出力するフレームを示す。ここでは、PCS2raおよびPCS2rbは、8B/10B復号を行いながら、IFG領域に割り当てられたシーケンス番号を抽出する。シーケンス番号は前後のフレームと関連付けられて管理される。受信されたデータは、メモリ5a、メモリ5bに蓄積され、一定時間Ta後に読み出され、フレームのみMAC1rへ出力される。このときIFG領域にはLが出力される。PCS2raおよびPCS2rbの両者は、シーケンス番号と、IFGの終了を示す信号を互いに送受信し、MAC1rがデータを選択している方のPCSのフレーム出力のタイミングを合わせるように時間Taを調整する。   Next, in the receiving side communication device 10, the transmitted data is optical / electrically converted by PMD4ra and PMD4rb, and serial / parallel converted by PMA3ra and PMA3rb. FIG. 2A shows data received by the PCS 2ra. A sequence number (1) is assigned to the IFG between the frames F0 and F1. FIG. 2B shows data received by the PCS 2rb. This data is slightly behind the data in FIG. FIG. 2C shows a frame output by the PCS 2ra, and FIG. 2G shows a frame output by the PCS 2rb. Here, the PCS 2ra and the PCS 2rb extract the sequence number assigned to the IFG area while performing 8B / 10B decoding. The sequence number is managed in association with the previous and subsequent frames. The received data is stored in the memory 5a and the memory 5b, read after a predetermined time Ta, and only the frame is output to the MAC 1r. At this time, L is output to the IFG area. Both the PCS 2ra and the PCS 2rb transmit and receive a sequence number and a signal indicating the end of the IFG, and adjust the time Ta so that the MAC 1r matches the timing of frame output of the PCS that is selecting data.

PCS2raがフレームF2を受信中に8B/10Bコード違反を連続して検出したとき、PCS2raは、メモリ5aへ書き込み途中のフレームを廃棄し、これ以降のメモリ5aへの書き込みを一時的に停止する。メモリ5aへの書き込みの再開は、メモリ5aへ書き込み済みの正常フレームの読み出し完了後であって、正常なフレームの先頭を検出したときから行う。   When the PCS 2ra continuously detects the 8B / 10B code violation while receiving the frame F2, the PCS 2ra discards the frame being written to the memory 5a and temporarily stops writing to the memory 5a thereafter. The resumption of writing to the memory 5a is performed after the completion of the reading of the normal frame that has been written to the memory 5a and when the head of the normal frame is detected.

PCS2raは、正常に書き込みが行われたフレームF1と、その直後のIFGを読み出す。この後、PCS2raは、MAC1rおよびPCS2rbへ出力するIFGのシーケンス番号を更新する。図2(f)は、PCS2raが検知するシーケンス番号を示す。またPCS2raは、図2(e)のように、IFGの終了を示すパルスをMAC1rとPCS2rbへ出力し、受信異常フラグをHに更新する。図2(d)はこの受信異常フラグHを示す。受信異常フラグHは、フレームを送信する直前に更新され、MAC1rとPCS2rbへ送信される。MAC1rは、PCS2raからフレームを選択して受信処理を行っているとき、PCS2raから受信異常フラグHを検出すると、PCS2rbからフレームを選択しフレームの受信処理を行う。この場合、MAC1rにはPCS2ra、PCS2rbから同タイミングで同一のフレームが入力しているので、MAC1rがデータ選択を切替えることにより、フレームの重複、欠落なしに受信処理を継続できる。   The PCS 2ra reads the frame F1 that has been normally written and the IFG immediately after that. Thereafter, the PCS 2ra updates the sequence number of the IFG output to the MAC 1r and the PCS 2rb. FIG. 2F shows a sequence number detected by the PCS 2ra. Further, as shown in FIG. 2E, the PCS 2ra outputs a pulse indicating the end of IFG to the MAC 1r and the PCS 2rb, and updates the reception abnormality flag to H. FIG. 2D shows the reception abnormality flag H. The reception abnormality flag H is updated immediately before transmitting the frame, and is transmitted to the MAC 1r and the PCS 2rb. When the MAC 1r selects a frame from the PCS 2ra and performs a reception process, and detects a reception abnormality flag H from the PCS 2ra, the MAC 1r selects a frame from the PCS 2rb and performs a frame reception process. In this case, since the same frame is input from the PCS 2ra and PCS 2rb to the MAC 1r at the same timing, the MAC 1r can continue the reception process without duplication or omission of frames by switching data selection.

なお、図(h)は、PCS2rbの出力データの異常を示す信号であり、ここでは異常がないのでLが出力されている。図(i)はPCS2rbから出力されるデータのIFGの終了を示す。この信号はMAC1rとPCS2raへ出力される。図(j)はPCS2rbで検出するIFGに割り当てられたシーケンス番号を示す。図(k)はMAC1rがPCS2raおよびPCS2rbから入力されたフレームを選択した結果を示している。   Note that FIG. (H) is a signal indicating an abnormality in the output data of the PCS 2rb. Here, since there is no abnormality, L is output. FIG. (I) shows the end of the IFG of the data output from the PCS 2rb. This signal is output to MAC1r and PCS2ra. FIG. (J) shows a sequence number assigned to the IFG detected by the PCS 2rb. FIG. (K) shows the result of the MAC 1r selecting a frame input from the PCS 2ra and the PCS 2rb.

また、IFG領域で8B/10B違反が発生した場合は、次のように処理される。シーケンス番号を抽出後の場合、PCS2raは最後の正常フレームを出力してから12バイト分の時間をおいて、該抽出したシーケンス番号を出力し、IFG終了パルスを出力し、受信異常フラグをHに更新する。PCS2rbは、処理を継続する。シーケンス番号を抽出前の場合、PCS2raは最後の正常フレームを出力してから12バイト分の時間をおいて、最後に抽出したシーケンス番号をインクリメントして出力し、IFG終了パルスを出力し、受信異常フラグを‘H’に更新する。PCS2rbは、処理を継続する。MAC1rは、PCS2raから受信する異常フラグHを検知し、データの選択を切り替える。IFG領域で切り替えるため、フレームの重複、欠落なしに受信処理を継続することができる。   When an 8B / 10B violation occurs in the IFG area, the following processing is performed. When the sequence number is extracted, the PCS 2ra outputs 12 bytes after the last normal frame is output, outputs the extracted sequence number, outputs the IFG end pulse, and sets the reception abnormality flag to H. Update. The PCS 2rb continues processing. Before extracting the sequence number, the PCS2ra waits for 12 bytes after outputting the last normal frame, increments and outputs the last extracted sequence number, outputs the IFG end pulse, and reception error Update the flag to 'H'. The PCS 2rb continues processing. The MAC 1r detects the abnormality flag H received from the PCS 2ra and switches the data selection. Since the switching is performed in the IFG area, the reception process can be continued without overlapping or missing frames.

次に、図3のタイムチャートによって、2つの伝送路を経由したデータの伝送遅延差が大きい場合の動作例を説明する。各タイムチャートは図と対応する。この場合も、PCS2raが符号違反を検知した場合の動作は上記図2と同様である。図3(a)はPCS2raが受信するデータを示し、図3(b)はPCS2rbが受信するデータを示す。このように両者の伝送路遅延差が大きい場合、PCS2raは最大のフレーム(IEEE802.3では、1518バイト)で8B/10Bコード違反を検出すると、フレームを廃棄できる程度の遅延を付加後、メモリ5aから読み出しを行う。PCS2rbは、メモリ5bからの読み出したデータに基づくMAC1rおよびPCS2raへのフレームの出力と、IFGの終了パルスの出力を停止する。しかし、図3(j)のように、IFGのシーケンス番号の更新は実行する。PCS2rbは、PCS2raから受信異常フラグHを受信すると、PCS2raから最後に受信したIFG終了フラグ、シーケンス番号からMAC1rへ出力開始するフレームを決定する。これは、図3(e)から図3(i)に示されるとおりである。PCS2rbは受信するデータのIFGのシーケンス番号が上記の値と一致するIFGの次のフレームからMAC1rへ出力開始する。MAC1rは、PCS2raから受信異常フラグHを受信すると、データの選択をPCS2rbから入力されるデータに変更する。図3(k)のように、MAC1rは、PCS2rbからのデータ送信が開始されるまでの期間は、IFGの受信処理を継続する。その後にPCS2rbから送信されるフレームを受信することにより、フレームの重複、欠落なしに受信処理の継続が可能となる。なお、符号違反が発生した現用系のフレームの位相が予備系に比べて遅れている場合でも、上述と同様に動作せしめることによって、予備系から無瞬断でフレーム受信が可能となる。また予備系において8B/10Bコード違反を連続して検出した場合、そのまま放置することもできる。しかし、第3の伝送系(もし設置されていれば)に切り替え動作を行うこともでき、あるいは現在の通信を継続しながら該予備系ついての調査を実行することもできる。   Next, an operation example when the difference in transmission delay of data passing through two transmission paths is large will be described with reference to the time chart of FIG. Each time chart corresponds to the figure. Also in this case, the operation when the PCS 2ra detects a code violation is the same as in FIG. FIG. 3A shows data received by the PCS 2ra, and FIG. 3B shows data received by the PCS 2rb. Thus, when the transmission path delay difference between the two is large, the PCS 2ra adds a delay that can discard the frame when an 8B / 10B code violation is detected in the maximum frame (1518 bytes in IEEE 802.3), and then the memory 5a Read from. The PCS 2rb stops outputting the frame to the MAC 1r and the PCS 2ra based on the data read from the memory 5b and outputting the IFG end pulse. However, as shown in FIG. 3J, the IFG sequence number is updated. When the PCS 2rb receives the reception abnormality flag H from the PCS 2ra, the PCS 2rb determines a frame to start output to the MAC 1r from the IFG end flag and sequence number received last from the PCS 2ra. This is as shown in FIG. 3 (e) to FIG. 3 (i). The PCS 2rb starts output to the MAC 1r from the next frame of the IFG in which the IFG sequence number of the received data matches the above value. When the MAC 1r receives the reception abnormality flag H from the PCS 2ra, the MAC 1r changes the data selection to data input from the PCS 2rb. As shown in FIG. 3 (k), the MAC 1r continues the IFG reception process until data transmission from the PCS 2rb is started. By subsequently receiving a frame transmitted from the PCS 2rb, it is possible to continue the reception process without duplication or omission of the frame. Even when the phase of the working frame in which the code violation has occurred is delayed as compared with the standby system, it is possible to receive the frame from the standby system without interruption by operating in the same manner as described above. Further, when the 8B / 10B code violation is continuously detected in the standby system, it can be left as it is. However, it is possible to switch to the third transmission system (if installed), or to perform a survey on the standby system while continuing the current communication.

図4は、IFG領域へのシーケンス番号の割り当て方法を示す。図4(a)はIEEE802.3に準拠した通信のフレーム・フォーマット概要を示す。72バイト〜1518バイトのイーサネット(登録商標)・フレーム、7バイトのプリアンブル、1バイトのSFD(Start of Frame Delimiter)によってMACフレームが構成されている。この後に12バイト以上のIFGが配置され、次のMACフレームを送信する規定となっている。   FIG. 4 shows a method of assigning sequence numbers to the IFG area. FIG. 4A shows an outline of a frame format of communication conforming to IEEE802.3. A MAC frame is composed of a 72 to 1518 byte Ethernet (registered trademark) frame, a 7 byte preamble, and a 1 byte SFD (Start of Frame Delimiter). After this, an IFG of 12 bytes or more is arranged, and it is stipulated that the next MAC frame is transmitted.

図4(b)は、IFG領域、およびプリアンブル領域が8B/10B符号化されている状態の例を示している。IFG領域では、フレームの終了を示す/T/、/R/の後、アイドル区間を示す/I2/に符号化される。プリアンブル領域では、1バイト目または2バイト目がMACフレームの開始を示す/S/に、残りが/D/に符号化される。   FIG. 4B shows an example of a state in which the IFG region and the preamble region are 8B / 10B encoded. In the IFG area, encoding is performed to / I2 / indicating an idle period after / T / and / R / indicating the end of a frame. In the preamble area, the first or second byte is encoded to / S / indicating the start of the MAC frame, and the rest is encoded to / D /.

図4(c)は、IFG領域にシーケンス番号を割り当てる一例を示している。2個の連続する/I2/のそれぞれのD16.2部分にシーケンス番号SN_H,SN_Lを割り当てる。シーケンス番号は、16ビットデータを8ビットずつに分割して8B/10B変換してSN_H,SN_Lとする。但し、シーケンス番号を識別するために、データコード(D0.0〜D31.7)の中からK28.5と組み合わせで、オーダーセットとして定義されていないデータコードを使用する。図中では、/T/、/R/の直後に挿入しているが、連続する2個の/I2/の代わりに挿入する。   FIG. 4C shows an example in which a sequence number is assigned to the IFG area. Sequence numbers SN_H and SN_L are assigned to each D16.2 portion of two consecutive / I2 /. For the sequence number, 16-bit data is divided into 8 bits and 8B / 10B converted to SN_H and SN_L. However, in order to identify the sequence number, a data code not defined as an order set is used in combination with K28.5 from the data codes (D0.0 to D31.7). In the figure, it is inserted immediately after / T / and / R /, but is inserted instead of two consecutive / I2 /.

図4(d)は、IFG領域にシーケンス番号を割り当てる別の一例を示している。2個の連続する/I2/を使用する。先頭の/I2/のD16.2をK28.5と組合せてオーダーセットとして定義されていない8B/10B符号(例えば、D10.2)とし、次に続く2個の8B/10B符号がシーケンス番号SN_H,SN_Lを示すと定義する。次の2個のデータコード(D0.0〜D31.7)を使用してシーケンス番号とする。この場合は使用できないデータコードはない。図中では、/T/、R/の直後に挿入しているが、連続する2個の/I2/の代わりに挿入する。   FIG. 4D shows another example in which a sequence number is assigned to the IFG area. Use two consecutive / I2 /. D16.2 at the head / I2 / is combined with K28.5 to form an 8B / 10B code not defined as an order set (for example, D10.2), and the next two 8B / 10B codes are sequence numbers SN_H , SN_L. The next two data codes (D0.0 to D31.7) are used as sequence numbers. In this case, there is no data code that cannot be used. In the figure, it is inserted immediately after / T / and R /, but it is inserted in place of two consecutive / I2 /.

図4(e)は、IFG領域の代わりにプリアンブル領域にシーケンス番号を割り当てる一例を示している。プリアンブル領域は1バイト目または2バイト目が/S/で、これ以降/D/で8B/10B符号化されるが、/S/直後の2バイトをシーケンス番号として定義し使用する。図中では、/S/直後の2バイトに挿入しているが、連続する2個のバイトであればよい。   FIG. 4E shows an example in which a sequence number is assigned to the preamble area instead of the IFG area. In the preamble area, the first or second byte is / S /, and is encoded by 8B / 10B with / D /. The 2 bytes immediately after / S / are defined and used as a sequence number. In the figure, it is inserted in the 2 bytes immediately after / S /, but it may be two consecutive bytes.

なお、本発明は、例えば8B/10B符号のような制御コードとデータコードの組合せにデータを変換して転送する10ギガビット・イーサネット(登録商標)(10G−LAN−PHY)などにも適用することができる。   The present invention is also applicable to 10 Gigabit Ethernet (registered trademark) (10G-LAN-PHY) that converts data to a combination of a control code and a data code such as an 8B / 10B code and transfers the data. Can do.

本発明の通信装置の実施例のブロック図を示す。The block diagram of the Example of the communication apparatus of this invention is shown. 本発明の通信装置の動作例を示すタイムチャート。The time chart which shows the operation example of the communication apparatus of this invention. 本発明の通信装置の他の動作例を示すタイムチャート。The time chart which shows the other operation example of the communication apparatus of this invention. 本発明のIFG領域へのシーケンス番号の割り当て方法を示すフレーム構成例。The frame structural example which shows the allocation method of the sequence number to the IFG area | region of this invention.

符号の説明Explanation of symbols

1t、1r MAC
12a、12b ネットワーク
2ra、2rb PCS
5a、5b メモリ
1t, 1r MAC
12a, 12b network 2ra, 2rb PCS
5a, 5b memory

Claims (20)

複数の伝送路を介して通信を行う通信装置であって、媒体アクセス制御手段と、第1の符号化/復号化手段と、第2の符号化/復号化手段と、受信データを保持するメモリと、信号変換手段を備え、
前記第1および第2の符号化/復号化手段は、送信時は送信フレーム間の領域に符号を割り当て、受信時は該符号を抽出して受信データの伝送遅延差を調整することを特徴とする通信装置。
A communication device that performs communication via a plurality of transmission paths, a medium access control unit, a first encoding / decoding unit, a second encoding / decoding unit, and a memory that holds received data And a signal conversion means,
The first and second encoding / decoding means allocate a code to an area between transmission frames at the time of transmission, and extract the code at the time of reception to adjust a transmission delay difference of received data. Communication device.
複数の伝送路を介して通信を行う通信装置であって、媒体アクセス制御手段と、第1の符号化/復号化手段と、第2の符号化/復号化手段と、受信データを保持するメモリと、信号変換手段を備え、
前記第1および第2の符号化/復号化手段は、送信時は送信フレームのプリアンブル領域に符号を割り当て、受信時は該符号を抽出して受信データの伝送遅延差を調整することを特徴とする通信装置。
A communication device that performs communication via a plurality of transmission paths, a medium access control unit, a first encoding / decoding unit, a second encoding / decoding unit, and a memory that holds received data And a signal conversion means,
The first and second encoding / decoding means allocate a code to a preamble area of a transmission frame at the time of transmission, and extract the code at the time of reception to adjust a transmission delay difference of received data. Communication device.
前記フレームはイーサネット(登録商標)フレームである請求項1記載の通信装置。 The communication apparatus according to claim 1, wherein the frame is an Ethernet (registered trademark) frame. 前記フレームはMACフレームである請求項2記載の通信装置。 The communication apparatus according to claim 2, wherein the frame is a MAC frame. 前記符号化/復号化手段は受信時に前記メモリに保持した受信データの読み出しタイミングを調整して媒体アクセス制御手段へのフレーム出力のタイミングを合わせる請求項1ないし4のいずれか1に記載の通信装置。 5. The communication apparatus according to claim 1, wherein the encoding / decoding unit adjusts a read timing of received data held in the memory at the time of reception to match a frame output timing to the medium access control unit. . 現用伝送路からデータを受信している符号化/復号化手段は、受信データの符号違反を検知すると受信異常通知を出力し、媒体アクセス制御手段は該通知を受信すると他方の符号化/復号化手段からのデータを受信する請求項1ないし5のいずれか1記載の通信装置。 The encoding / decoding means receiving data from the working transmission line outputs a reception abnormality notification when detecting a code violation of the received data, and the medium access control means receives the notification, and the other encoding / decoding means 6. The communication apparatus according to claim 1, wherein the communication apparatus receives data from the means. 前記符号化/復号化手段は8B/10B符号化/復号化を行う請求項1ないし6のいずれか1記載の通信装置。 The communication apparatus according to claim 1, wherein the encoding / decoding unit performs 8B / 10B encoding / decoding. 複数の伝送路で接続される通信装置を含む通信システムであって、 該通信装置は、媒体アクセス制御手段と、第1の符号化/復号化手段と、第2の符号化/復号化手段と、受信データを保持するメモリと、信号変換手段を備え、第1および第2の符号化/復号化手段は、送信時は送信フレーム間の領域に符号を割り当て、受信時は該符号を抽出して受信データの伝送遅延差を調整することを特徴とする通信システム。 A communication system including a communication device connected by a plurality of transmission paths, the communication device comprising: a medium access control unit; a first encoding / decoding unit; a second encoding / decoding unit; A memory for holding received data and signal converting means, and the first and second encoding / decoding means assign a code to a region between transmission frames at the time of transmission and extract the code at the time of reception And adjusting a transmission delay difference of received data. 前記フレームはイーサネット(登録商標)フレームである請求項8記載の通信システム。 The communication system according to claim 8, wherein the frame is an Ethernet (registered trademark) frame. 複数の伝送路で接続される通信装置を含む通信システムであって、 該通信装置は、媒体アクセス制御手段と、第1の符号化/復号化手段と、第2の符号化/復号化手段と、受信データを保持するメモリと、信号変換手段を備え、第1および第2の符号化/復号化手段は、送信時は送信フレームのプリアンブル領域に符号を割り当て、受信時は該符号を抽出して受信データの伝送遅延差を調整することを特徴とする通信システム。 A communication system including a communication device connected by a plurality of transmission paths, the communication device comprising: a medium access control unit; a first encoding / decoding unit; a second encoding / decoding unit; The first and second encoding / decoding means allocate a code to the preamble area of the transmission frame at the time of transmission and extract the code at the time of reception; And adjusting a transmission delay difference of received data. 前記フレームはMACフレームである請求項10記載の通信システム。 The communication system according to claim 10, wherein the frame is a MAC frame. 前記符号化/復号化手段は受信時に前記メモリに保持した受信データの読み出しタイミングを調整して媒体アクセス制御手段へのフレーム出力のタイミングを合わせる請求項8ないし11のいずれか1に記載の通信システム。 12. The communication system according to claim 8, wherein the encoding / decoding unit adjusts a read timing of received data held in the memory at the time of reception to match a frame output timing to the medium access control unit. . 複数の伝送路からデータを受信する受信方法であって、
フレームと各フレーム間領域に割り当てられた符号を含むデータを前記2つの伝送路からそれぞれ受信し、該受信データから該符号を抽出して受信データ同士の伝送遅延差を調整することを特徴とする受信方法。
A receiving method for receiving data from a plurality of transmission paths,
Data including a frame and a code assigned to each inter-frame region is received from each of the two transmission paths, and the code is extracted from the received data to adjust a transmission delay difference between the received data. Reception method.
前記連続番号の抽出はデータ復号化手段にて行う請求項13記載の受信方法。 14. The receiving method according to claim 13, wherein the serial number is extracted by data decoding means. 受信データをメモリに保持し、該受信データの読み出しタイミングを調整して、前記復号化手段からフレームを出力するタイミングを合わせる請求項14記載の受信方法。 15. The reception method according to claim 14, wherein the reception data is held in a memory, the read timing of the reception data is adjusted, and the timing for outputting a frame from the decoding means is matched. 受信したデータの符号違反を検知すると該データが伝送された伝送路とは別の伝送路からデータを受信する請求項15記載の受信方法。 16. The receiving method according to claim 15, wherein when a code violation of the received data is detected, the data is received from a transmission path different from the transmission path through which the data is transmitted. 2つの伝送路からデータを受信する受信方法であって、
フレームと各フレームのプリアンブル領域に割り当てられた符号を含むデータを前記2つの伝送路からそれぞれ受信し、該受信データから該符号を抽出して受信データ同士の伝送遅延差を調整することを特徴とする受信方法。
A receiving method for receiving data from two transmission paths,
Receiving data including a frame and a code assigned to a preamble area of each frame from the two transmission paths, extracting the code from the received data, and adjusting a transmission delay difference between the received data, To receive.
前記連続番号の抽出はデータ復号化手段にて行われる請求項17記載の受信方法。 18. The receiving method according to claim 17, wherein the serial number is extracted by a data decoding unit. 受信データをメモリに保持し該受信データの読み出しタイミングを調整して前記復号化手段からフレームを出力するタイミングを合わせる請求項18記載の受信方法。 19. The receiving method according to claim 18, wherein the received data is held in a memory, the read timing of the received data is adjusted, and the timing for outputting a frame from the decoding means is matched. 受信したデータの符号違反を検知すると該データが伝送された伝送路とは別の伝送路からデータを受信する請求項19記載の受信方法。
20. The receiving method according to claim 19, wherein when a code violation of the received data is detected, the data is received from a transmission path different from the transmission path through which the data is transmitted.
JP2004096690A 2004-03-29 2004-03-29 Communication device, communication system, and receiving method Pending JP2005286641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004096690A JP2005286641A (en) 2004-03-29 2004-03-29 Communication device, communication system, and receiving method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004096690A JP2005286641A (en) 2004-03-29 2004-03-29 Communication device, communication system, and receiving method

Publications (1)

Publication Number Publication Date
JP2005286641A true JP2005286641A (en) 2005-10-13

Family

ID=35184570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004096690A Pending JP2005286641A (en) 2004-03-29 2004-03-29 Communication device, communication system, and receiving method

Country Status (1)

Country Link
JP (1) JP2005286641A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306545A (en) * 2007-06-08 2008-12-18 Kddi Corp Uninterruptible packet switching device
JP2009206696A (en) * 2008-02-27 2009-09-10 Mitsubishi Electric Corp Transmission system
JP2009218940A (en) * 2008-03-11 2009-09-24 Hitachi Communication Technologies Ltd Transmission apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306545A (en) * 2007-06-08 2008-12-18 Kddi Corp Uninterruptible packet switching device
JP2009206696A (en) * 2008-02-27 2009-09-10 Mitsubishi Electric Corp Transmission system
JP2009218940A (en) * 2008-03-11 2009-09-24 Hitachi Communication Technologies Ltd Transmission apparatus

Similar Documents

Publication Publication Date Title
US6081523A (en) Arrangement for transmitting packet data segments from a media access controller across multiple physical links
WO2019062500A1 (en) Data transmission method, device and system
US7391723B2 (en) Frame-level fibre channel CRC on switching platform
US6741566B1 (en) Remote management ethernet network and device
CN101488827B (en) Method and apparatus for implementing data error reporting
WO2012065435A1 (en) Path switch-back method and apparatus in transport network
CN103004128A (en) Communication device, communication system, communication method, and program
US7471697B2 (en) Multiplex transmission system for reporting alert information to the conversion device on the receiving side without using a dedicated frame
JP2004088246A (en) Wireless communication method and wireless communication device
EP1988470B1 (en) Network device and transmission method thereof
KR100653188B1 (en) Ethernet link duplication apparatus and its protection switching method and receiver according to the same
US5784404A (en) Intelligent repeater functionality
JP2007208502A (en) Communication system, backup router, redundant processing program thereof, and redundant processing method thereof
CN101146101A (en) Protocol analysis system and method based on decoding and coding data service
CN100484101C (en) A method, system and device to transport the IPv6 message of Ethernet
JP6290123B2 (en) Transmission apparatus and transmission method
RU2304849C2 (en) Method affording transmission of information about communication line condition in network
JP2002300186A (en) Transmitter and data transmission method
WO2009006858A1 (en) Method, system and device for information transmission and reception
JP2005286641A (en) Communication device, communication system, and receiving method
JP4946599B2 (en) Ring node and redundancy method
EP3319249B1 (en) Transmission checking method, node, system and computer storage medium
CN101262400A (en) A method and system for flexible packet loop redundant protection under bride mode
KR102356667B1 (en) Method and apparatus for lossless packet transport
JP4419867B2 (en) Data processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070119

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070123

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080606

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090115

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20090601

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090630