Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6046663B2 - Transmitting apparatus, receiving apparatus, and communication method - Google Patents
[go: Go Back, main page]

JP6046663B2 - Transmitting apparatus, receiving apparatus, and communication method - Google Patents

Transmitting apparatus, receiving apparatus, and communication method Download PDF

Info

Publication number
JP6046663B2
JP6046663B2 JP2014113876A JP2014113876A JP6046663B2 JP 6046663 B2 JP6046663 B2 JP 6046663B2 JP 2014113876 A JP2014113876 A JP 2014113876A JP 2014113876 A JP2014113876 A JP 2014113876A JP 6046663 B2 JP6046663 B2 JP 6046663B2
Authority
JP
Japan
Prior art keywords
frame
maintenance
unit
integrated
user
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.)
Active
Application number
JP2014113876A
Other languages
Japanese (ja)
Other versions
JP2015228604A (en
Inventor
永山 誠
誠 永山
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 Platforms Ltd
Original Assignee
NEC Platforms 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 Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2014113876A priority Critical patent/JP6046663B2/en
Publication of JP2015228604A publication Critical patent/JP2015228604A/en
Application granted granted Critical
Publication of JP6046663B2 publication Critical patent/JP6046663B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

本発明は、通信ネットワークに関するものであり、特に通信ネットワークにおける保守信号の通信技術に関するものである。   The present invention relates to a communication network, and more particularly to a maintenance signal communication technique in a communication network.

通信ネットワークにおいて、ネットワークを構成する通信装置間でフレームを単位としたデータの伝送を行う通信方式が用いられることがある。フレームを単位としたデータ通信は、例えば、イーサネット(登録商標)の規格に基づいて行われている。フレームを単位とした通信方式では、情報データの伝送用のユーザフレームと、通信装置やネットワークの保守を目的とした保守フレームが用いられる。   In a communication network, a communication method for transmitting data in units of frames between communication devices constituting the network may be used. Data communication in units of frames is performed based on, for example, Ethernet (registered trademark) standards. In the communication method in units of frames, a user frame for transmitting information data and a maintenance frame for the purpose of maintenance of the communication device and the network are used.

保守フレームは、通信ネットワークを構成する通信装置間での状態の確認や試験の実施等に関する情報の伝達のために用いられる。保守フレームは、通信ネットワークの保守に関わるものであるため、ユーザフレームよりも優先して送受信される。そのため、保守フレームの数が増えると、ユーザフレームの遅延が大きくなることや必要なユーザフレームの送受信が行えない状態が発生する可能性がある。   The maintenance frame is used for transmission of information relating to status confirmation and test execution between communication devices constituting the communication network. Since the maintenance frame is related to the maintenance of the communication network, it is transmitted and received with priority over the user frame. Therefore, when the number of maintenance frames increases, there is a possibility that the delay of the user frame increases and a state where necessary user frames cannot be transmitted / received.

また、フレームを単位としたデータの伝送を行う場合には、各フレーム間にはフレーム間ギャップと呼ばれる所定の間隔が空けられる。フレーム間ギャップは、保守フレーム間や、保守フレームとユーザフレームの間にも設けられる。そのため、保守フレームが増加して送受信を行うフレームの全体数が増えるとフレーム間ギャップの数が増えるため、伝送の効率が低下し、ユーザフレームの通信に遅延が生じ得る。   When data is transmitted in units of frames, a predetermined interval called an interframe gap is provided between the frames. The inter-frame gap is also provided between the maintenance frames or between the maintenance frame and the user frame. For this reason, if the number of maintenance frames increases and the total number of frames to be transmitted / received increases, the number of interframe gaps increases, so that the transmission efficiency decreases and user frame communication can be delayed.

通信ネットワークはユーザフレームとして伝送される情報データを送受信するために用いられるので、保守のための保守フレームを確実に送信しつつユーザフレームを安定的に送受信できる必要がある。すなわち、保守フレームの送受信を行う場合においても、伝送効率の低下を抑制しユーザフレームを安定的に送受信できること望ましい。そのため、通信ネットワークにおける保守フレームの通信方法に関する技術開発が行われている。保守フレームの通信方法に関する技術としては、例えば、特許文献1のような技術が開示されている。   Since the communication network is used to transmit and receive information data transmitted as user frames, it is necessary to transmit and receive user frames stably while reliably transmitting maintenance frames for maintenance. That is, it is desirable to be able to stably transmit and receive user frames while suppressing a decrease in transmission efficiency even when transmitting and receiving maintenance frames. For this reason, technical development regarding a communication method of a maintenance frame in a communication network has been performed. As a technique relating to the communication method of the maintenance frame, for example, a technique as disclosed in Patent Document 1 is disclosed.

特許文献1は、保守フレームを送受信する通信装置に関するものである。特許文献1の通信装置は、ユーザフレームの送信中に保守フレームの送信機会が生じたとき、ユーザフレームの送信をフレームの途中で停止して、保守フレームを送信する。特許文献1の通信装置は、保守フレームの送信が終わった後に、途中で送信を停止したユーザフレームのデータのうち、未送信分のデータの送信を開始する。特許文献1の通信装置は、保守フレームの送信のために途中で分割されるユーザフレームに、受信側で再結合を行う際に用いるための結合情報を付加する。送信側で結合情報を付加してユーザフレームを送信することにより、ユーザフレームを途中で分割しても受信側でユーザフレームを復元することが可能となる。その結果、ユーザフレームの送信中でも保守フレームを送信することできる。特許文献1では、保守フレームの送信を適時行うことが出来るので遅延時間等の正確な測定が可能になるとしている。   Patent Document 1 relates to a communication device that transmits and receives a maintenance frame. When a maintenance frame transmission opportunity occurs during transmission of a user frame, the communication device of Patent Literature 1 stops the transmission of the user frame in the middle of the frame and transmits the maintenance frame. After the transmission of the maintenance frame is completed, the communication device of Patent Literature 1 starts transmission of unsent data among user frame data whose transmission has been stopped halfway. The communication device of Patent Literature 1 adds combined information to be used when recombining on the receiving side to a user frame that is divided in the middle for transmission of a maintenance frame. By transmitting the user frame with the combined information added on the transmission side, it is possible to restore the user frame on the reception side even if the user frame is divided in the middle. As a result, the maintenance frame can be transmitted even during the transmission of the user frame. In Patent Document 1, it is possible to accurately measure the delay time and the like because the maintenance frame can be transmitted in a timely manner.

特開2008−236266号公報JP 2008-236266 A

しかしながら、特許文献1の技術は次のような点で十分ではない。特許文献1では、保守フレームが発生したときにユーザフレームの送信を途中で停止し、保守フレームの送信完了後にユーザフレームの残りのデータの送信を行っている。そのため、保守フレーム、分割した残りのユーザフレームの両方にプリアンブル等のデータが含まれている必要がある。また、ユーザフレームは、分割したユーザフレームを結合するためのデータも必要としている。そのため、フレームに含まれる保守信号や情報データ以外の情報の割合が大きくなり、保守信号や情報データの伝送効率は低下する。   However, the technique of Patent Document 1 is not sufficient in the following points. In Patent Document 1, when a maintenance frame occurs, the transmission of the user frame is stopped halfway, and the remaining data of the user frame is transmitted after the transmission of the maintenance frame is completed. Therefore, data such as a preamble needs to be included in both the maintenance frame and the remaining divided user frames. The user frame also requires data for combining the divided user frames. For this reason, the ratio of information other than the maintenance signal and information data included in the frame increases, and the transmission efficiency of the maintenance signal and information data decreases.

また、各フレームの間にはフレーム間ギャップを必要とするので、ユーザフレームを分割することにより、必要なフレーム間ギャップ大きくなる。そのため、1つのユーザフレームとして送信しているときよりも伝送効率の低下も生じる。このような、伝送効率の低下は保守フレームの数が多くなるにつれて顕著になる。その結果、必要なユーザフレームが大きく遅延することや、送受信を行えない状態が生じ得る。よって、特許文献1の技術は、保守フレームを確実に送信しつつ伝送効率を低下させずにユーザフレームを安定的に送受信できることを要求されるような通信ネットワークに用いる技術としては十分ではない。   In addition, since an inter-frame gap is required between the frames, the necessary inter-frame gap increases by dividing the user frame. Therefore, the transmission efficiency is lower than when transmitting as one user frame. Such a decrease in transmission efficiency becomes more significant as the number of maintenance frames increases. As a result, a necessary user frame may be greatly delayed or a state in which transmission / reception cannot be performed may occur. Therefore, the technique of Patent Document 1 is not sufficient as a technique used in a communication network that is required to transmit and receive user frames stably without degrading transmission efficiency while reliably transmitting maintenance frames.

本発明は、保守フレームを送信する場合においても伝送効率の低下を抑制することが可能な送信装置を得ることを目的としている。   An object of the present invention is to obtain a transmission apparatus capable of suppressing a decrease in transmission efficiency even when a maintenance frame is transmitted.

上記の課題を解決するため、本発明の送信装置は、保守フレーム出力手段と、データ削除手段と、統合フレーム生成手段と、送信手段を備えている。保守フレーム出力手段は、保守信号の送信が必要なときに保守フレームを出力する。データ削除手段は、保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力される第2のユーザフレームから所定のデータを削除する。統合保守フレーム生成手段は、保守フレームに、所定のデータを削除した後の第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成する。送信手段は、統合保守フレームを送信する。   In order to solve the above problems, the transmission apparatus of the present invention includes a maintenance frame output unit, a data deletion unit, an integrated frame generation unit, and a transmission unit. The maintenance frame output means outputs a maintenance frame when a maintenance signal needs to be transmitted. The data deleting unit deletes predetermined data from the second user frame input next to the first user frame input when the maintenance frame is output. The integrated maintenance frame generating unit combines the maintenance frame with the second user frame after deleting predetermined data, and generates one continuous frame as an integrated maintenance frame. The transmission means transmits an integrated maintenance frame.

また、本発明の通信方法は、保守信号の送信が必要なときに保守フレームを出力し、保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力されてくる第2のユーザフレームから所定のデータを削除する。本発明の通信方法は、保守フレームに、所定のデータを削除した後の第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成し、統合保守フレームを送信する。   In the communication method of the present invention, a maintenance frame is output when transmission of a maintenance signal is required, and the second input that is input next to the first user frame that is input when the maintenance frame is output. The predetermined data is deleted from the user frame. According to the communication method of the present invention, the second user frame after deleting predetermined data is combined with the maintenance frame, one continuous frame is generated as an integrated maintenance frame, and the integrated maintenance frame is transmitted.

本発明によると、保守フレームを送信する場合においてもユーザフレームの伝送効率の低下を抑制することが可能になる。   According to the present invention, it is possible to suppress a reduction in user frame transmission efficiency even when a maintenance frame is transmitted.

本発明の第1の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 1st Embodiment of this invention. 本発明の第2の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 2nd Embodiment of this invention. 本発明の第2の実施形態におけるフレームの構成の例を示す図である。It is a figure which shows the example of a structure of the flame | frame in the 2nd Embodiment of this invention. 本発明の第2の実施形態の送信装置の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the transmitter of the 2nd Embodiment of this invention. 本発明の第2の実施形態の受信装置の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the receiver of the 2nd Embodiment of this invention. 本発明の第2の実施形態における送信装置の動作フローの概要を示す図である。It is a figure which shows the outline | summary of the operation | movement flow of the transmitter in the 2nd Embodiment of this invention. 本発明の第2の実施形態における受信装置の動作フローの概要を示す図である。It is a figure which shows the outline | summary of the operation | movement flow of the receiver in the 2nd Embodiment of this invention. 本発明と対比したフレームの送信方法を示す図である。It is a figure which shows the transmission method of the frame contrasted with this invention. 本発明の第3の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 3rd Embodiment of this invention. 本発明の第3の実施形態の送信装置の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the transmitter of the 3rd Embodiment of this invention. 本発明の第3の実施形態におけるフレームの構成の例を示す図である。It is a figure which shows the example of a structure of the flame | frame in the 3rd Embodiment of this invention. 本発明の第3の実施形態の受信装置の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the receiver of the 3rd Embodiment of this invention. 本発明の第3の実施形態における受信装置の動作フローの概要を示す図である。It is a figure which shows the outline | summary of the operation | movement flow of the receiver in the 3rd Embodiment of this invention. 本発明の第3の実施形態における受信装置の動作フローの概要を示す図である。It is a figure which shows the outline | summary of the operation | movement flow of the receiver in the 3rd Embodiment of this invention. 本発明の第4の実施形態の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the 4th Embodiment of this invention. 本発明の第4の実施形態の送信装置の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the transmitter of the 4th Embodiment of this invention. 本発明の第4の実施形態におけるフレームの構成の例を示す図である。It is a figure which shows the example of a structure of the flame | frame in the 4th Embodiment of this invention. 本発明の第4の実施形態の受信装置の構成の概要を示す図である。It is a figure which shows the outline | summary of a structure of the receiver of the 4th Embodiment of this invention. 本発明の第4の実施形態における送信装置の動作フローの概要を示す図である。It is a figure which shows the outline | summary of the operation | movement flow of the transmitter in the 4th Embodiment of this invention. 本発明の第4の実施形態における受信装置の動作フローの概要を示す図である。It is a figure which shows the outline | summary of the operation | movement flow of the receiver in the 4th Embodiment of this invention. 本発明の通信ネットワークの適用例を示した図である。It is the figure which showed the example of application of the communication network of this invention.

[第1の実施形態]
本発明の第1の実施形態について図を参照して詳細に説明する。図1は本実施形態の送信装置の構成の概要を示したものである。本実施形態の送信装置は、保守フレーム出力手段1と、データ削除手段2と、統合フレーム生成手段3と、送信手段4を備えている。保守フレーム出力手段1は、保守信号の送信が必要なときに保守フレームを出力する。データ削除手段2は、保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力される第2のユーザフレームから所定のデータを削除する。統合保守フレーム生成手段3は、保守フレームに、所定のデータを削除した後の第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成する。送信手段4は、統合保守フレームを送信する。
[First Embodiment]
A first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 shows an outline of the configuration of the transmission apparatus of this embodiment. The transmission apparatus of this embodiment includes a maintenance frame output unit 1, a data deletion unit 2, an integrated frame generation unit 3, and a transmission unit 4. The maintenance frame output means 1 outputs a maintenance frame when a maintenance signal needs to be transmitted. The data deleting unit 2 deletes predetermined data from the second user frame input next to the first user frame input when the maintenance frame is output. The integrated maintenance frame generation means 3 combines the second user frame after deleting predetermined data with the maintenance frame, and generates one continuous frame as an integrated maintenance frame. The transmission means 4 transmits an integrated maintenance frame.

本実施形態の送信装置では、保守フレーム出力手段1が保守フレームを出力したときに、データ削除手段2は次に入力されてくる第2のユーザフレームの所定のデータを削除している。また、統合保守フレーム生成手段3は、保守フレームとデータ削除後の第2のユーザフレームを結合して統合保守フレームを生成している。このように、保守フレームとユーザフレームを結合することにより、2つのフレームの間にフレーム間ギャップを設ける必要が無い。また、ユーザフレームから所定のデータを削除しているので、保守フレームとユーザフレームを別々に送信するよりも送信するデータ量を少なくすることができる。その結果、保守フレームを送信する場合においてもユーザフレームの伝送効率の低下を抑制することが可能となる。   In the transmission apparatus of the present embodiment, when the maintenance frame output unit 1 outputs a maintenance frame, the data deletion unit 2 deletes predetermined data of the second user frame that is input next. The integrated maintenance frame generating unit 3 combines the maintenance frame and the second user frame after data deletion to generate an integrated maintenance frame. Thus, by connecting the maintenance frame and the user frame, there is no need to provide an interframe gap between the two frames. In addition, since predetermined data is deleted from the user frame, it is possible to reduce the amount of data to be transmitted compared to transmitting the maintenance frame and the user frame separately. As a result, even when a maintenance frame is transmitted, it is possible to suppress a decrease in user frame transmission efficiency.

[第2の実施形態]
本発明の第2の実施形態について図を参照して詳細に説明する。図2は本実施形態の通信システムの構成の概要を示したものである。本実施形態の通信システムは、送信装置10と、受信装置30を備えている。送信装置10と受信装置30は伝送路90を介して接続されている。本実施形態の通信システムは、送信装置10から送信した光信号を、伝送路90を介して伝送し、受信装置30へと送る通信ネットワークを構成している。
[Second Embodiment]
A second embodiment of the present invention will be described in detail with reference to the drawings. FIG. 2 shows an outline of the configuration of the communication system of the present embodiment. The communication system according to the present embodiment includes a transmission device 10 and a reception device 30. The transmission device 10 and the reception device 30 are connected via a transmission line 90. The communication system of the present embodiment constitutes a communication network that transmits the optical signal transmitted from the transmission device 10 via the transmission path 90 and sends it to the reception device 30.

本実施形態の通信システムは、IEEE(The Institute of Electrical and Electronics Engineers, Inc.)の定める標準規格IEEE802.3に基づいたフレームの伝送を行う。本実施形態の通信システムでは、送信装置10から出力されたフレームが、伝送路90を介して光信号として伝送され受信装置30に送られる。通信システムにおけるフレームの伝送はIEEE802.3以外の規格に基づく方法でもよい。   The communication system of the present embodiment performs frame transmission based on the standard IEEE802.3 defined by IEEE (The Institute of Electrical and Electronics Engineers, Inc.). In the communication system of the present embodiment, the frame output from the transmission device 10 is transmitted as an optical signal via the transmission path 90 and sent to the reception device 30. Transmission of frames in the communication system may be a method based on a standard other than IEEE 802.3.

本実施形態の送信装置10および受信装置30は、情報通信技術委員会(The Telecommunication Technology Committee;TTC)の定める仕様書TS−1000に準拠したメディアコンバータとしての機能を有している。TS−1000に準拠したメディアコンバータは、データの伝送用のフレームであるユーザフレームの他に、所定の保守フレームを送受信する。保守フレームは、通信システムに保守に関する情報を伝送するためのフレームである。例えば、保守フレームを構成する情報のうち、通信システムの保守に関する情報としては、装置の状態の通知およびそれに対する応答、試験の開始および終了に関する信号などが設定されている。送信装置10および受信装置30は、保守信号のための保守フレームの送受信を行う通信装置であれば、TS−1000の仕様に準拠したメディアコンバータ以外でもよい。   The transmission device 10 and the reception device 30 of this embodiment have a function as a media converter that conforms to the specification TS-1000 defined by the Telecommunication Technology Committee (TTC). A media converter conforming to TS-1000 transmits and receives a predetermined maintenance frame in addition to a user frame that is a data transmission frame. The maintenance frame is a frame for transmitting information related to maintenance to the communication system. For example, as information related to the maintenance of the communication system among the information constituting the maintenance frame, a notification of the state of the apparatus and a response thereto, a signal related to the start and end of the test, and the like are set. The transmission device 10 and the reception device 30 may be other than a media converter that conforms to the specification of TS-1000 as long as it is a communication device that transmits and receives a maintenance frame for a maintenance signal.

また、本実施形態の送信装置10および受信装置30は、保守フレームとユーザフレームが結合された統合保守フレームの送受信を行う機能を有している。本実施形態の送信装置10および受信装置30は、統合保守フレームの送受信を行うためジャンボフレームに対応している。統合保守フレームとは、保守フレームおよびユーザフレームの所定のデータを結合して1つのフレームとしたものである。図3は、本実施形態の通信システムで送受信が行われるフレームの構成の概要を示したものである。図3の最上段、すなわち(A)として示した段の左側は保守フレームの構成を示している。保守フレームは、フレームの先頭がプリアンブルであり末尾にエラーチェック用のFCS(Frame Check Sequence)の符号データを有している。また、保守フレームは、保守信号識別子、制御信号、ステータス、ベンダコードおよびモデル番号の情報を有している。保守信号識別子の領域には、保守信号の識別子、方向識別子、命令識別子などの情報が含まれている。制御信号は、試験の開始や終了を示す符号である。また、ステータスは装置状態等の情報を示すデータである。ベンダコードは、送信装置10の設計や製造を行う事業者の識別番号である。モデル番号は、ベンダコードに対応した事業者等が装置の型番の識別子等を示すために自由にデータを設定できる領域である。   In addition, the transmission device 10 and the reception device 30 of the present embodiment have a function of transmitting and receiving an integrated maintenance frame in which a maintenance frame and a user frame are combined. The transmission device 10 and the reception device 30 of this embodiment are compatible with jumbo frames in order to transmit and receive an integrated maintenance frame. The integrated maintenance frame is a frame obtained by combining predetermined data of the maintenance frame and the user frame. FIG. 3 shows an outline of a frame configuration that is transmitted and received in the communication system of the present embodiment. The uppermost stage in FIG. 3, that is, the left side of the stage shown as (A), shows the configuration of the maintenance frame. The maintenance frame has a preamble at the beginning of the frame and code data of FCS (Frame Check Sequence) for error check at the end. The maintenance frame includes information on a maintenance signal identifier, a control signal, a status, a vendor code, and a model number. The maintenance signal identifier area includes information such as a maintenance signal identifier, a direction identifier, and a command identifier. The control signal is a code indicating the start and end of the test. The status is data indicating information such as the device status. The vendor code is an identification number of a business operator who designs and manufactures the transmission device 10. The model number is an area in which data can be freely set so that a business operator or the like corresponding to the vendor code indicates an identifier of the model number of the apparatus.

図3の最上段の右側は、ユーザフレームの構成を示している。ユーザフレームは、プリアンブル、SFD(Start Frame Delimiter)、DA(Destination Address)、SA(Source Address)、タイプ/データ長、データおよびFCSにより構成されている。タイプ/データ長は、ユーザフレームのデータの類型とデータの長さを示す情報である。本実施形態のDAおよびSAはMAC(Media Access Control)アドレスの情報で示されている。すなわち、本実施形態のDAは送信先MACアドレスのことをいい、SAは送信元MACアドレスのことをいう。   The right side at the top of FIG. 3 shows the configuration of the user frame. The user frame includes a preamble, SFD (Start Frame Delimiter), DA (Destination Address), SA (Source Address), type / data length, data, and FCS. The type / data length is information indicating the data type of the user frame and the data length. DA and SA in the present embodiment are indicated by MAC (Media Access Control) address information. That is, DA in this embodiment refers to a transmission destination MAC address, and SA refers to a transmission source MAC address.

図3の上から2段目、すなわち(B)として示した段は、保守フレームのうち統合保守フレームとして用いられる部分の構成を示している。保守フレームのうち、FCSを除いた部分が統合保守フレームとして用いられる。また、保守フレームの一部に判断コードの領域が形成されている。本実施形態において、判断コードの領域は統合保守フレームであることを示す情報により構成される。本実施形態では判断コードが、「1」のときに統合保守フレームであることを示すように設定されている。本実施形態では、TS−1000の仕様においてモデル番号として装置の製造事業者等に割り当てられている領域を判断コードの設定に用いている。   The second stage from the top of FIG. 3, that is, the stage shown as (B), shows the configuration of the part of the maintenance frame that is used as the integrated maintenance frame. Of the maintenance frame, a portion excluding FCS is used as an integrated maintenance frame. A determination code area is formed in a part of the maintenance frame. In the present embodiment, the determination code area includes information indicating that it is an integrated maintenance frame. In this embodiment, when the determination code is “1”, it is set to indicate that it is an integrated maintenance frame. In the present embodiment, the area assigned to the manufacturer of the apparatus as the model number in the TS-1000 specification is used for setting the determination code.

また、図3の上から3段目、すなわち(C)として示した段は、ユーザフレームのうち統合保守フレームとして用いられる部分の構成を示している。ユーザフレームのうち、プリアンブル、SFDおよびFCSを除いた部分が、統合保守フレームを構成するデータとして用いられる。   Also, the third level from the top of FIG. 3, that is, the level indicated as (C), shows the configuration of the portion of the user frame used as the integrated maintenance frame. Of the user frame, a portion excluding the preamble, SFD, and FCS is used as data constituting the integrated maintenance frame.

図3の最下段、すなわち(D)として示した段は統合保守フレームの構成を示している。統合保守フレームは、図3の上から2段目に示す保守フレームの一部と、図3の上から3段目に示すユーザフレームの一部を結合することにより構成されている。図3の最上段に示すように保守フレームとユーザフレームの間に12byte分のフレーム間ギャップを設けて送信した場合に比べて、最下段に示す本実施形態の統合保守フレームは21byte分の遅延の抑制が可能となる。21byteは、保守フレームのFCS、フレーム間ギャップ、ユーザフレームのプリアンブルおよびSFDのデータ量の和である。   The lowermost stage in FIG. 3, that is, the stage shown as (D) shows the configuration of the integrated maintenance frame. The integrated maintenance frame is configured by combining a part of the maintenance frame shown in the second stage from the top in FIG. 3 and a part of the user frame shown in the third stage from the top in FIG. Compared to the case where a 12-byte gap is provided between the maintenance frame and the user frame as shown in the uppermost part of FIG. 3, the integrated maintenance frame of this embodiment shown in the lowermost part has a delay of 21 bytes. Suppression is possible. 21 bytes is the sum of the FCS of the maintenance frame, the gap between frames, the preamble of the user frame, and the data amount of SFD.

本実施形態の送信装置10について説明する。図4は、本実施形態の送信装置10の構成の概要を示したものである。本実施形態の送信装置10は、受信部11と、FCS検査部12と、保守フレーム判断部13と、送信部14と、遅延バッファメモリ部15を備えている。また、本実施形態の送信装置10は、保守フレーム送信部16と、保守イベント信号発生部17と、フレーム長検出部18と、データ削除部19と、統合保守フレーム作成部20と、統合FCS作成部21をさらに備えている。   The transmission apparatus 10 of this embodiment is demonstrated. FIG. 4 shows an outline of the configuration of the transmission apparatus 10 of the present embodiment. The transmission apparatus 10 of the present embodiment includes a reception unit 11, an FCS inspection unit 12, a maintenance frame determination unit 13, a transmission unit 14, and a delay buffer memory unit 15. In addition, the transmission apparatus 10 of the present embodiment includes a maintenance frame transmission unit 16, a maintenance event signal generation unit 17, a frame length detection unit 18, a data deletion unit 19, an integrated maintenance frame creation unit 20, and an integrated FCS creation. A part 21 is further provided.

受信部11は、送信装置10に入力された信号を送信装置10で用いる信号形式に変換する機能を有する。受信部11には、送信装置10に接続された通信回線や情報装置から、受信装置30に送るためのデータがフレーム形式で入力される。情報データの通信のために、受信装置30に送るために受信部11に入力されるデータをユーザフレームと呼ぶ。本実施形態において、受信部11に入力されるフレームは電気信号として入力される。受信部11は、送信装置10で用いる信号形式に変換した信号をユーザフレーム信号S11としてFCS検査部12に送る。   The receiving unit 11 has a function of converting a signal input to the transmission device 10 into a signal format used by the transmission device 10. Data to be sent to the receiving device 30 is input to the receiving unit 11 in a frame format from a communication line or information device connected to the transmitting device 10. For communication of information data, data input to the receiving unit 11 to be sent to the receiving device 30 is called a user frame. In the present embodiment, the frame input to the receiving unit 11 is input as an electrical signal. The receiving unit 11 sends the signal converted into the signal format used by the transmitting apparatus 10 to the FCS inspection unit 12 as a user frame signal S11.

FCS検査部12は、入力されたフレームのデータのエラーを検出する機能を有する。FCS検査部12は、受信部11からユーザフレーム信号S11として入力されるフレームについて、所定アルゴリズムでFCSの値を算出する。FCS検査部12は算出した値とデータに付加されたFCSの情報を比較することによりエラーの有無を判断する。所定のアルゴリズムとしては、例えば、巡回冗長検査(Cyclic Redundancy Check;CRC)のアルゴリズムを用いることができる。FCS検査部12は、フレームのデータのエラーを検出すると、エラーが検出されたフレームを破棄する。FCS検査部12は、エラーが無いと判断したユーザフレーム信号S11を保守フレーム判断部13に送る。   The FCS inspection unit 12 has a function of detecting an error in the data of the input frame. The FCS inspection unit 12 calculates the FCS value with a predetermined algorithm for the frame input from the reception unit 11 as the user frame signal S11. The FCS inspection unit 12 determines the presence or absence of an error by comparing the calculated value with the FCS information added to the data. As the predetermined algorithm, for example, a cyclic redundancy check (CRC) algorithm can be used. When the FCS inspection unit 12 detects an error in the data of the frame, the FCS inspection unit 12 discards the frame in which the error is detected. The FCS inspection unit 12 sends the user frame signal S11 determined to have no error to the maintenance frame determination unit 13.

保守フレーム判断部13は、ユーザフレーム信号S11として入力されるフレームの出力先を、保守イベント信号S13に基づいて制御する機能を有する。保守イベント信号S13は、保守フレーム送信部16から保守フレームが出力されたことを示す信号である。保守フレーム判断部13は、保守イベント信号S13を受け取ると、信号を受け取ったときに出力しているフレームをそのまま継続して送信部14に出力する。また、保守フレーム判断部13は、保守イベント信号S13を受け取った際に出力しているフレームの次に入力されてくるフレームのユーザフレーム信号S11をフレーム長検出部18に出力する。また、保守フレーム判断部13は、さらに次に入力されてくるフレームを遅延バッファメモリ部15に一時保存して遅延させる。   The maintenance frame determination unit 13 has a function of controlling an output destination of a frame input as the user frame signal S11 based on the maintenance event signal S13. The maintenance event signal S13 is a signal indicating that a maintenance frame is output from the maintenance frame transmission unit 16. When the maintenance frame determination unit 13 receives the maintenance event signal S13, the maintenance frame determination unit 13 continuously outputs the frame output when the signal is received to the transmission unit 14. Further, the maintenance frame determination unit 13 outputs the user frame signal S11 of the frame input next to the frame output when the maintenance event signal S13 is received to the frame length detection unit 18. Further, the maintenance frame determination unit 13 further temporarily stores the next input frame in the delay buffer memory unit 15 and delays it.

送信部14は、保守フレーム判断部13および統合FCS作成部21から入力された信号を、伝送路90の通信規格に合わせた信号に変換して出力する機能を有する。送信部14は、入力されたユーザフレーム信号S11または統合保守フレーム信号S17を伝送路90で伝送する際の符号データに変換し、光信号に符号データに基づいた位相変調を施して出力する。統合保守フレーム信号S17は、統合保守フレームのデータにより構成される信号である。   The transmission unit 14 has a function of converting a signal input from the maintenance frame determination unit 13 and the integrated FCS creation unit 21 into a signal conforming to the communication standard of the transmission path 90 and outputting the signal. The transmission unit 14 converts the input user frame signal S11 or the integrated maintenance frame signal S17 into code data for transmission through the transmission line 90, performs phase modulation on the optical signal based on the code data, and outputs the optical signal. The integrated maintenance frame signal S17 is a signal composed of data of the integrated maintenance frame.

遅延バッファメモリ部15は、保守フレーム判断部13から送られてくるフレームのデータを一時保存する機能を有する。遅延バッファメモリ部15は、送られてくるフレームのデータを保存し、所定のタイミングで保守フレーム判断部13に出力する。本実施形態では、所定のタイミングは遅延バッファメモリ部15にフレームのデータが入力されてからの経過時間として設定されている。出力のタイミングは他の部位から信号を入力することにより制御する構成としてもよい。遅延バッファメモリ部15は、フレームのデータを保存した順に出力する。すなわち、遅延バッファメモリ部15は、複数のフレームのデータを保存している場合は、最も早く保存したフレームのデータから出力する。   The delay buffer memory unit 15 has a function of temporarily storing frame data transmitted from the maintenance frame determination unit 13. The delay buffer memory unit 15 stores the transmitted frame data and outputs it to the maintenance frame determination unit 13 at a predetermined timing. In this embodiment, the predetermined timing is set as an elapsed time after the frame data is input to the delay buffer memory unit 15. The output timing may be controlled by inputting a signal from another part. The delay buffer memory unit 15 outputs the frame data in the order in which they are stored. That is, when the delay buffer memory unit 15 stores a plurality of frames of data, the delay buffer memory unit 15 outputs the data of the frame stored earliest.

保守フレーム送信部16は、保守フレームを生成して出力する機能を有する。保守フレーム送信部16は、受信装置30へ保守フレームを送信する必要のあるときに、保守フレームを生成し、生成した保守フレームを保守フレーム信号S12として保守イベント信号発生部17に送る。本実施形態の保守フレーム送信部16は、TS−1000の仕様に基づいた保守信号用の保守フレームを生成して出力する。   The maintenance frame transmission unit 16 has a function of generating and outputting a maintenance frame. When it is necessary to transmit a maintenance frame to the receiving device 30, the maintenance frame transmission unit 16 generates a maintenance frame and sends the generated maintenance frame to the maintenance event signal generation unit 17 as a maintenance frame signal S12. The maintenance frame transmission unit 16 according to the present embodiment generates and outputs a maintenance frame for a maintenance signal based on the specification of TS-1000.

保守イベント信号発生部17は、保守フレームを受け取ったときに保守イベント信号S13を出力する機能を有する。保守イベント信号発生部17は、保守フレームを保守フレーム信号S12として受け取ると保守イベント信号S13を保守フレーム判断部13に送る。保守イベント信号S13は、保守フレームが出力されたことを示す信号であり、保守フレームの出力に対応した動作の開始を要求する信号である。また、保守イベント信号発生部17は、受け取った保守フレーム信号S12を統合保守フレーム生成部20に送る。   The maintenance event signal generator 17 has a function of outputting a maintenance event signal S13 when a maintenance frame is received. When the maintenance event signal generation unit 17 receives the maintenance frame as the maintenance frame signal S12, the maintenance event signal generation unit 17 sends the maintenance event signal S13 to the maintenance frame determination unit 13. The maintenance event signal S13 is a signal indicating that a maintenance frame has been output, and is a signal requesting the start of an operation corresponding to the output of the maintenance frame. The maintenance event signal generation unit 17 sends the received maintenance frame signal S12 to the integrated maintenance frame generation unit 20.

フレーム長検出部18は、入力されたフレームのフレームフォーマットの情報を抽出する機能を有する。フレームの構成に関する情報は通信規格に基づいて、フレーム長検出部18にあらかじめ保存されている。フレーム長検出部18は、ユーザフレーム信号S11として入力されるフレームのデータから、フレームのタイプおよびデータ長の情報を読み取る。フレーム長検出部18は、フレームのタイプおよびデータ長の情報からフレームフォーマットの情報を生成する。フレームのタイプの情報はあらかじめフレーム長検出部18に保存されている。フレーム長検出部18は、ユーザフレームおよびフレームフォーマットの情報を、フレーム長情報信号S14としてデータ削除部19に送る。   The frame length detection unit 18 has a function of extracting information on the frame format of the input frame. Information on the frame configuration is stored in advance in the frame length detector 18 based on the communication standard. The frame length detection unit 18 reads frame type and data length information from the frame data input as the user frame signal S11. The frame length detection unit 18 generates frame format information from the frame type and data length information. Frame type information is stored in advance in the frame length detector 18. The frame length detection unit 18 sends information on the user frame and the frame format to the data deletion unit 19 as a frame length information signal S14.

データ削除部19は、フレームフォーマットの情報を基にユーザフレームから所定のデータを削除する機能を有する。本実施形態では、所定のデータは、プリアンブル、SFDおよびFCSとして設定されている。所定のデータは、通信規格に基づくフレーム構成に応じて設定される。データ削除部19は、フレームフォーマットの情報を参照して、フレームの先頭からの位置で削除する位置を識別する。所定のデータが削除されると、本実施形態のユーザフレームは、DA、SA、タイプ/データ長およびデータにより構成されたフレームとなる。データ削除部19は、フレーム長情報信号S14として入力されたユーザフレームから、所定のデータを削除すると、残りのデータで構成されるフレームを分離ユーザフレーム信号S15として統合フレーム生成部20に出力する。   The data deletion unit 19 has a function of deleting predetermined data from the user frame based on the frame format information. In the present embodiment, the predetermined data is set as a preamble, SFD, and FCS. The predetermined data is set according to the frame configuration based on the communication standard. The data deletion unit 19 refers to the frame format information and identifies the position to be deleted at the position from the beginning of the frame. When the predetermined data is deleted, the user frame of this embodiment becomes a frame composed of DA, SA, type / data length, and data. When the data deletion unit 19 deletes predetermined data from the user frame input as the frame length information signal S14, the data deletion unit 19 outputs a frame composed of the remaining data to the integrated frame generation unit 20 as a separated user frame signal S15.

統合保守フレーム生成部20は、保守フレームと、ユーザフレームから所定のデータを削除したフレームを結合して1つのフレームを生成する機能を有する。本実施形態では、保守フレームと、フレームから所定のデータを削除したフレームを結合したフレームを、統合保守フレームと呼ぶ。統合保守フレーム生成部20は、保守フレーム信号S12として入力された保守フレームの末尾のFCSを削除する。また、統合保守フレーム生成部20は、分離ユーザフレーム信号S15として入力されるフレームから所定のデータを削除する。統合保守フレーム生成部20は、FCSを削除した後の保守フレームのデータの最後尾に、ユーザフレームから所定のデータを削除した残りのデータを結合することにより統合保守フレームを生成する。   The integrated maintenance frame generation unit 20 has a function of generating one frame by combining a maintenance frame and a frame obtained by deleting predetermined data from a user frame. In this embodiment, a frame obtained by combining a maintenance frame and a frame obtained by deleting predetermined data from the frame is referred to as an integrated maintenance frame. The integrated maintenance frame generation unit 20 deletes the FCS at the end of the maintenance frame input as the maintenance frame signal S12. Further, the integrated maintenance frame generation unit 20 deletes predetermined data from the frame input as the separated user frame signal S15. The integrated maintenance frame generation unit 20 generates an integrated maintenance frame by combining the remaining data from which predetermined data has been deleted from the user frame with the end of the data of the maintenance frame after deleting the FCS.

統合保守フレーム生成部20はフレームの処理を行う際に、統合保守フレームであることを示す判断コードを付加する、本実施形態では、統合保守フレームは判断コード「1」、通常の保守フレームは判断コード「0」として設定されている。また、本実施形態では、判断コードの領域は図3に示す通り、保守フレームのモデル番号の領域に設定される。統合保守フレーム生成部は、生成した統合保守フレームを統合フレーム信号S16として統合FCS作成部21に送る。   The integrated maintenance frame generation unit 20 adds a determination code indicating that it is an integrated maintenance frame when processing the frame. In this embodiment, the integrated maintenance frame determines the determination code “1”, and the normal maintenance frame determines It is set as code “0”. In this embodiment, the determination code area is set in the model number area of the maintenance frame as shown in FIG. The integrated maintenance frame generation unit sends the generated integrated maintenance frame to the integrated FCS creation unit 21 as an integrated frame signal S16.

統合FCS作成部21は、統合保守フレームのFCSを算出して統合保守フレームの末尾に付加する機能を有する。統合FCS作成部21は、統合フレーム信号S16として入力された統合保守フレームのFCSを算出する。統合FCS作成部21は、算出したFCSのデータを統合保守フレームの末尾に付加し、統合保守フレーム信号S17として送信部14に送る。   The integrated FCS creation unit 21 has a function of calculating the FCS of the integrated maintenance frame and adding it to the end of the integrated maintenance frame. The integrated FCS creation unit 21 calculates the FCS of the integrated maintenance frame input as the integrated frame signal S16. The integrated FCS creation unit 21 adds the calculated FCS data to the end of the integrated maintenance frame, and sends it to the transmission unit 14 as an integrated maintenance frame signal S17.

本実施形態の受信装置30について説明する。図5は本実施形態の受信装置30の構成の概要について示したものである。受信装置30は、受信部31と、統合FCS検査部32と、判断コード判断部33と、送信部34を備えている。受信装置30は、フレーム長検出部35と、フレーム分離部36と、保守フレーム受信部37と、データ追加部38と、FCS作成部39を備えている。   The receiving device 30 of this embodiment will be described. FIG. 5 shows an outline of the configuration of the receiving device 30 of this embodiment. The reception device 30 includes a reception unit 31, an integrated FCS inspection unit 32, a determination code determination unit 33, and a transmission unit 34. The receiving device 30 includes a frame length detection unit 35, a frame separation unit 36, a maintenance frame reception unit 37, a data addition unit 38, and an FCS creation unit 39.

受信部31は、伝送路90を介して入力された信号を復号し、受信装置30の内部で用いる信号形式に変換する機能を有する。受信部31は、入力された光信号を電気信号に変換し、復号を行った信号を、フレーム信号S31として統合FCS検査部32に送る。   The receiving unit 31 has a function of decoding a signal input via the transmission path 90 and converting it into a signal format used inside the receiving device 30. The receiving unit 31 converts the input optical signal into an electrical signal, and sends the decoded signal to the integrated FCS inspection unit 32 as a frame signal S31.

統合FCS検査部32は、入力されたデータのエラーを検出する機能を有する。統合FCS検査部32は、フレーム信号S31として入力されるフレームのFCSを所定アルゴリズムで算出する。統合FCS検査部32は、算出したFCSと入力されたフレームに付加されたFCSの符号を比較することによりエラーの有無を検出する。統合FCS検査部32は、算出したFCSと入力されたフレームに付加されたFCSの符号が一致しなかったときにエラーが生じていると判断する。送信装置10の統合FCS作成部21と統合FCS検査部32は、同一のアルゴリズムに基づいてFCSの算出を行う。統合FCS検査部32は、フレームのデータのエラーを検出すると、エラーが検出されたフレームを破棄する。統合FCS検査部32は、エラーが無いと判断したフレームのフレーム信号S31を、判断コード判断部33に送る。   The integrated FCS inspection unit 32 has a function of detecting an error in input data. The integrated FCS inspection unit 32 calculates the FCS of the frame input as the frame signal S31 using a predetermined algorithm. The integrated FCS inspection unit 32 detects the presence or absence of an error by comparing the calculated FCS with the code of the FCS added to the input frame. The integrated FCS inspection unit 32 determines that an error has occurred when the calculated FCS and the code of the FCS added to the input frame do not match. The integrated FCS creation unit 21 and the integrated FCS inspection unit 32 of the transmission apparatus 10 calculate the FCS based on the same algorithm. When the integrated FCS inspection unit 32 detects an error in the data of the frame, the integrated FCS inspection unit 32 discards the frame in which the error is detected. The integrated FCS inspection unit 32 sends the frame signal S31 of the frame determined to have no error to the determination code determination unit 33.

判断コード判断部33は、フレーム信号S31入力されたフレームが保守フレームであるかを判断する機能を有する。判断コード判断部33は、入力されたフレームに判断コードが含まれている場合に、入力されたフレームが保守フレームであると判断する。判断コード判断部33は、入力されたフレームに判断コードが含まれているときは、判断コードが含まれているフレームを、統合保守フレーム信号S33としてフレーム長検出部35に送る。判断コード判断部33は、入力されたフレームに判断コードが含まれていないときは、通常のユーザフレームであると判断して、入力されたフレームをユーザフレーム信号S32として送信部34に送る。   The determination code determination unit 33 has a function of determining whether the frame input to the frame signal S31 is a maintenance frame. The determination code determination unit 33 determines that the input frame is a maintenance frame when the input code includes a determination code. When the input code includes a determination code, the determination code determination unit 33 sends the frame including the determination code to the frame length detection unit 35 as an integrated maintenance frame signal S33. When the input code does not include the determination code, the determination code determination unit 33 determines that the input frame is a normal user frame, and sends the input frame to the transmission unit 34 as a user frame signal S32.

送信部34は、入力されたフレームを受信装置30に接続されている情報装置や通信回線の規格に沿った信号に変換して出力する機能を有する。送信部34は、ユーザフレーム信号S32またはユーザフレーム信号S38として入力される信号を所定の信号形式に変換して出力する。   The transmission unit 34 has a function of converting an input frame into a signal conforming to the standard of an information device connected to the reception device 30 or a communication line and outputting the signal. The transmission unit 34 converts a signal input as the user frame signal S32 or the user frame signal S38 into a predetermined signal format and outputs the signal.

フレーム長検出部35は、入力されたフレームからフレーム長の情報を抽出しフレームフォーマットの情報を生成する機能を有する。フレーム長検出部53は、入力されたフレームからデータ長の情報を抽出する。本実施形態のフレームでは、フレームの先頭から24および25byteの位置に、フレームのタイプとデータ長の情報が付加されている。フレーム検出部35は、データ長の情報を基にフレーム全体の構成をフレームフォーマットの情報として生成する。フレームフォーマットの情報とは、フレームを構成する各領域のフレームの先頭から位置の情報のことをいう。フレームフォーマットの情報とフレームを、フレーム長情報信号S34としてフレーム分離部36に送る。   The frame length detection unit 35 has a function of extracting frame length information from the input frame and generating frame format information. The frame length detection unit 53 extracts data length information from the input frame. In the frame of the present embodiment, information on the frame type and data length is added at positions 24 and 25 bytes from the beginning of the frame. The frame detector 35 generates the entire frame configuration as frame format information based on the data length information. The frame format information refers to position information from the top of the frame in each area constituting the frame. The frame format information and the frame are sent to the frame separation unit 36 as a frame length information signal S34.

フレーム分離部36は、統合保守フレームを保守フレームと、ユーザフレームの部分とに分離する機能を有する。フレーム分離部36は、入力されたフレームの判断コードの情報が統合保守フレームであった場合に、フレームの分離を行う。本実施形態では、統合保守フレームの判断コードは「1」、通常の保守フレームの判断コードは「0」として設定されている。   The frame separation unit 36 has a function of separating the integrated maintenance frame into a maintenance frame and a user frame part. The frame separation unit 36 separates frames when the input frame determination code information is an integrated maintenance frame. In this embodiment, the judgment code for the integrated maintenance frame is set to “1”, and the judgment code for the normal maintenance frame is set to “0”.

フレーム分離部36は、フレーム長情報信号S34として入力された統合保守フレームをフレームフォーマットの情報を基に、保守フレームと、ユーザフレームの部分の2つのフレームに分離する。また、フレーム分離部36は、分離する際に統合保守フレームの最後尾のFCSを分離して破棄する。フレーム分離部36は、分離した保守フレームを、分離保守フレーム信号S36として保守フレーム受信部37に送る。また、フレーム分離部36は、分離したユーザフレームを分離ユーザフレーム信号S36としてデータ追加部38に送る。入力されたフレームが、統合保守フレームで無い場合は、フレーム分離部36は、フレームの分離を行わずに保守フレーム受信部37に送る。   The frame separation unit 36 separates the integrated maintenance frame input as the frame length information signal S34 into two frames, a maintenance frame and a user frame, based on the frame format information. The frame separation unit 36 separates and discards the last FCS of the integrated maintenance frame when separating. The frame separation unit 36 sends the separated maintenance frame to the maintenance frame reception unit 37 as a separated maintenance frame signal S36. Also, the frame separation unit 36 sends the separated user frame to the data addition unit 38 as a separated user frame signal S36. If the input frame is not an integrated maintenance frame, the frame separation unit 36 sends the frame to the maintenance frame reception unit 37 without performing frame separation.

保守フレーム受信部37は、分離保守フレーム信号S37として入力された保守フレームを基に保守に関する各処理を行う機能を有する。保守フレーム受信部37は、保守フレームの情報に基づいて信号への応答や試験の実行などを行う。   The maintenance frame receiving unit 37 has a function of performing each process related to maintenance based on the maintenance frame input as the separated maintenance frame signal S37. The maintenance frame receiving unit 37 performs a response to a signal and execution of a test based on the information of the maintenance frame.

データ追加部38は、分離ユーザフレーム信号S36として入力されたフレームに所定のデータを追加する機能を有する。本実施形態では、所定のデータはプリアンブルおよびSFDとして設定されている。データ追加部38は、分離ユーザフレーム信号S36として入力されたフレームのデータの先頭に、プリアンブルおよびSFDを付加し、データ付加フレーム信号S37としてFCS作成部39に送る。   The data adding unit 38 has a function of adding predetermined data to the frame input as the separated user frame signal S36. In the present embodiment, the predetermined data is set as a preamble and SFD. The data adding unit 38 adds a preamble and SFD to the head of the data of the frame input as the separated user frame signal S36, and sends it to the FCS creating unit 39 as the data added frame signal S37.

FCS作成部39は、入力されたフレームにFCSのデータを付加する機能を有する。FCS作成部39は、データ付加フレーム信号S37として入力されたフレームのFCSを所定のアルゴリズムに基づいて算出する。FCS作成部39は、算出したFCSをFCSのデータとしてフレームの最後尾に付加する。FCS作成部39は、FCSを付加したフレームを、ユーザフレーム信号S38として送信部34に送る。   The FCS creation unit 39 has a function of adding FCS data to the input frame. The FCS creation unit 39 calculates the FCS of the frame input as the data addition frame signal S37 based on a predetermined algorithm. The FCS creation unit 39 adds the calculated FCS to the end of the frame as FCS data. The FCS creation unit 39 sends the frame to which the FCS is added to the transmission unit 34 as a user frame signal S38.

本実施形態の通信システムにおいて統合保守フレームの送受信が行われる際の動作について説明する。始めに送信装置10が、統合保守フレームを送信する際の動作について説明する。図6は、本実施形態の送信装置10が統合保守フレームを送信する際のフローの概要を示したものである。以下では、第1フレーム、次に第2フレーム、さらに次に第3フレームと3つのユーザフレームが順に送信装置10に入力されたとして説明する。   An operation when the integrated maintenance frame is transmitted and received in the communication system of the present embodiment will be described. First, an operation when the transmission apparatus 10 transmits an integrated maintenance frame will be described. FIG. 6 shows an outline of a flow when the transmission apparatus 10 of the present embodiment transmits an integrated maintenance frame. In the following description, it is assumed that the first frame, then the second frame, and then the third frame and three user frames are input to the transmission apparatus 10 in order.

送信装置10は、送信装置10に接続された通信回線等からユーザフレームを受信する(ステップ101)。送信装置10にユーザフレームが入力されると、受信部11は、入力されたフレームを通信装置10の内部で用いる信号の形式に変換する。受信部11は、内部で用いる信号形式に変換すると、フレームのデータをユーザフレーム信号S11としてFCS検査部12に送る。FCS検査部12は、フレームのデータを受け取ると、データのエラーの有無の検査、すなわちFCS検査を行う。FCS検査は、フレームのデータのFCSを算出し、算出した値とフレームに付加されたFCSのデータを比較することにより行われる。   The transmission device 10 receives a user frame from a communication line or the like connected to the transmission device 10 (step 101). When a user frame is input to the transmission device 10, the reception unit 11 converts the input frame into a signal format used inside the communication device 10. When converted to a signal format used internally, the reception unit 11 sends the frame data to the FCS inspection unit 12 as a user frame signal S11. When receiving the data of the frame, the FCS inspection unit 12 performs an inspection for data error, that is, an FCS inspection. The FCS inspection is performed by calculating the FCS of the frame data and comparing the calculated value with the FCS data added to the frame.

算出した値とフレームに付加された値が一致したときは、FCS検査部12は、フレームのデータにエラーがあると判断する。フレームのデータにエラーがあると判断すると(ステップ102でNo)、FCS検査部12は、エラーがあると判断したフレームを破棄する(ステップ113)。   When the calculated value matches the value added to the frame, the FCS inspection unit 12 determines that there is an error in the frame data. If it is determined that there is an error in the frame data (No in step 102), the FCS inspection unit 12 discards the frame determined to have an error (step 113).

算出した値とフレームに付加された値が一致するときは、FCS検査部12は、データのエラーがないと判断する。データにエラーがないと判断すると(ステップ102でYes)、FCS検査部12はエラーがないと判断したフレームのユーザフレーム信号S11を保守フレーム判断部13に送る。   When the calculated value matches the value added to the frame, the FCS inspection unit 12 determines that there is no data error. If it is determined that there is no error in the data (Yes in step 102), the FCS inspection unit 12 sends the user frame signal S11 of the frame determined to have no error to the maintenance frame determination unit 13.

保守フレームが出力されていないとき、すなわち、保守イベント信号S13を受け取っていないとき(ステップ103でNo)、保守フレーム判断部13は、ユーザフレーム信号S11として入力されたフレームを送信部14に送る。また、保守フレーム判断部13は、さらに次のフレームとして入力されてくるユーザフレーム信号S11を送信部14に送る。例えば、第1フレームが入力されている間に、保守イベント信号S13を受け取らなかったときは、保守フレーム判断部13は、第1フレームおよび第2フレームを送信部14に送る。送信部14は、ユーザフレーム信号S11としてユーザフレームを受け取ると、ユーザフレームのデータを元に、伝送路90で通信を行う際の信号を生成する。送信部14は信号の生成を行うと、伝送路90へユーザフレームから生成した信号を送信する(ステップ114)。   When the maintenance frame is not output, that is, when the maintenance event signal S13 is not received (No in Step 103), the maintenance frame determination unit 13 sends the frame input as the user frame signal S11 to the transmission unit 14. Further, the maintenance frame determination unit 13 further sends the user frame signal S11 input as the next frame to the transmission unit 14. For example, when the maintenance event signal S13 is not received while the first frame is being input, the maintenance frame determination unit 13 sends the first frame and the second frame to the transmission unit 14. When receiving the user frame as the user frame signal S11, the transmission unit 14 generates a signal for performing communication on the transmission path 90 based on the data of the user frame. When generating the signal, the transmission unit 14 transmits the signal generated from the user frame to the transmission line 90 (step 114).

保守フレーム送信部16は、保守フレームの出力が必要であることを検知すると保守フレームを保守フレーム信号S12として保守イベント信号発生部17に送る。保守イベント信号発生部17は、保守フレーム信号S12を受け取ると、保守イベント信号S13を保守フレーム判断部13に送る。また、保守イベント信号発生部17は、受け取った保守フレーム信号S12を統合保守フレーム生成部20に送る。   When the maintenance frame transmission unit 16 detects that the maintenance frame needs to be output, the maintenance frame transmission unit 16 sends the maintenance frame to the maintenance event signal generation unit 17 as the maintenance frame signal S12. When receiving the maintenance frame signal S12, the maintenance event signal generation unit 17 sends the maintenance event signal S13 to the maintenance frame determination unit 13. The maintenance event signal generation unit 17 sends the received maintenance frame signal S12 to the integrated maintenance frame generation unit 20.

保守フレームが出力されたとき。すなわち、保守イベント信号S13を受け取ったとき(ステップ103でYes)、保守フレーム判断部13は入力されているフレームのユーザフレーム信号S11をそのまま送信部14に送る。また、保守イベント信号S13を受け取ったとき、保守フレーム判断部13は、信号を受け取ったときに入力されているフレームの次に入力されてくるフレームのユーザフレーム信号S11を、フレーム長検出部18に送る。また、保守フレーム判断部13は、フレーム長検出部18に送ったフレームの次に入力されてくるフレームを、遅延バッファメモリ部15に送る。遅延バッファメモリ部15は、フレームが入力されると、入力されたフレームのデータを保存して遅延させる(ステップ104)。   When a maintenance frame is output. That is, when the maintenance event signal S13 is received (Yes in Step 103), the maintenance frame determination unit 13 sends the user frame signal S11 of the input frame to the transmission unit 14 as it is. When the maintenance event signal S13 is received, the maintenance frame determination unit 13 sends the user frame signal S11 of the frame input next to the frame input when the signal is received to the frame length detection unit 18. send. Further, the maintenance frame determination unit 13 sends the frame input next to the frame sent to the frame length detection unit 18 to the delay buffer memory unit 15. When a frame is input, the delay buffer memory unit 15 stores and delays the data of the input frame (step 104).

例えば、第1フレームが入力されている間に、保守イベント信号S13を受け取ったとき、保守フレーム判断部13は、第1フレームをそのまま送信部14に送り、次に入力される第2フレームをフレーム長検出部18に送る。また、保守フレーム判断部13は、第2フレームの次に入力されてくる第3フレームを遅延バッファメモリ部15に送る。遅延バッファメモリ部15に送られた第3フレームは、遅延バッファメモリ部15に保存されて、第2フレームの処理が終わるまで待機する。   For example, when the maintenance event signal S13 is received while the first frame is being input, the maintenance frame determination unit 13 sends the first frame as it is to the transmission unit 14, and the second frame that is input next is the frame. This is sent to the length detector 18. In addition, the maintenance frame determination unit 13 sends the third frame input next to the second frame to the delay buffer memory unit 15. The third frame sent to the delay buffer memory unit 15 is stored in the delay buffer memory unit 15 and waits until the processing of the second frame is completed.

保守フレーム送信部16が出力した保守フレーム信号S12は保守イベント信号発生部17を介して、統合保守フレーム生成部20に入力される。統合保守フレーム生成部20に保守フレーム信号S12が入力されると、統合保守フレーム生成部20は、保守フレームに判別コードを付加する。また、統合保守フレーム生成部20は、判別コードを付加した保守フレームの最後尾のFCSを削除する(ステップ105)。   The maintenance frame signal S12 output from the maintenance frame transmission unit 16 is input to the integrated maintenance frame generation unit 20 via the maintenance event signal generation unit 17. When the maintenance frame signal S12 is input to the integrated maintenance frame generation unit 20, the integration maintenance frame generation unit 20 adds a determination code to the maintenance frame. Further, the integrated maintenance frame generation unit 20 deletes the last FCS of the maintenance frame to which the determination code is added (step 105).

ユーザフレーム信号S11としてフレームが入力されると、フレーム長検出部18は、入力されたフレームのデータ長の情報を検出する(ステップ106)。フレーム長検出部18は、データ長の情報を抽出するとフレームフォーマットの情報を生成し、フレームとフレームフォーマットの情報をフレーム長情報信号S14としてデータ削除部19に送る。   When a frame is input as the user frame signal S11, the frame length detection unit 18 detects information on the data length of the input frame (step 106). When the data length information is extracted, the frame length detection unit 18 generates frame format information, and sends the frame and frame format information to the data deletion unit 19 as a frame length information signal S14.

データ削除部19は、フレーム長情報信号S14を受け取ると、フレームフォーマットの情報に基づいて、フレームから所定のデータ、すなわち、プリアンブル、SFDおよびFCSのデータを削除する(ステップ107)。データ削除部19は、フレームから所定のデータを削除すると、所定のデータを削除したフレームのデータを分離ユーザフレーム信号S15として統合保守フレーム生成部20に送る。   Upon receiving the frame length information signal S14, the data deleting unit 19 deletes predetermined data, that is, preamble, SFD, and FCS data from the frame based on the frame format information (step 107). When the data deletion unit 19 deletes predetermined data from the frame, the data deletion unit 19 sends the data of the frame from which the predetermined data has been deleted to the integrated maintenance frame generation unit 20 as a separated user frame signal S15.

統合保守フレーム生成部20は、分離ユーザフレーム信号S15として所定のデータを削除したフレームを受け取ると、保守フレームのデータの最後尾に結合して、統合保守フレームを生成する(ステップ108)。統合保守フレーム生成部20は、2つのフレームのデータを結合して1つのフレームを統合保守フレームとして生成すると、生成した統合保守フレームを統合フレーム信号S16として統合FCS作成部21に送る。   When the integrated maintenance frame generation unit 20 receives the frame from which the predetermined data is deleted as the separated user frame signal S15, the integrated maintenance frame generation unit 20 generates an integrated maintenance frame by combining it with the tail of the maintenance frame data (step 108). When the integrated maintenance frame generation unit 20 combines two frames of data to generate one frame as an integrated maintenance frame, the integrated maintenance frame generation unit 20 sends the generated integrated maintenance frame as an integrated frame signal S16 to the integrated FCS creation unit 21.

統合FCS作成部21は、統合フレーム信号S16として統合保守フレームを受け取ると、受け取った統合保守フレームのFCSを所定のアルゴリズムに基づいて算出する。統合FCS作成部21は、FCSを算出すると、算出したFCSの情報をFCSとして統合保守フレームのデータの最後尾に付加する(ステップ109)。統合FCS作成部21は、FCSを付加すると、FCSを付加した統合保守フレームを、統合保守フレーム信号S17として送信部14に送る。   When receiving the integrated maintenance frame as the integrated frame signal S16, the integrated FCS creation unit 21 calculates the FCS of the received integrated maintenance frame based on a predetermined algorithm. When the FCS is calculated, the integrated FCS creation unit 21 adds the calculated FCS information to the end of the integrated maintenance frame data as FCS (step 109). When the FCS is added, the integrated FCS creation unit 21 sends the integrated maintenance frame to which the FCS is added to the transmission unit 14 as an integrated maintenance frame signal S17.

送信部14は、統合フレーム信号S16として統合保守フレームを受け取ると、統合保守フレームのデータを元に、伝送路90で通信を行う際の信号を生成する。送信部14は信号の生成を行うと、伝送路90へ統合保守フレームから生成した信号を送信する(ステップ110)。   When receiving the integrated maintenance frame as the integrated frame signal S16, the transmission unit 14 generates a signal for performing communication on the transmission line 90 based on the data of the integrated maintenance frame. When generating the signal, the transmission unit 14 transmits the signal generated from the integrated maintenance frame to the transmission path 90 (step 110).

遅延バッファメモリ部15は、保存していたフレームを所定のタイミングで保守フレーム判断部13に出力する。保守フレーム判断部13は、遅延バッファメモリ部15から受け取ったフレームをユーザフレーム信号S11として送信部14に送る。送信部14は、統合保守フレームの送信後に所定のフレーム間ギャップを空けて、保守フレーム判断部13からユーザフレーム信号S11として受け取ったフレームを所定の信号形式に変換して伝送路90に送信する(ステップ111)。送信装置10から送信された信号は、伝送路90を伝送され受信装置30に入力される。   The delay buffer memory unit 15 outputs the stored frame to the maintenance frame determination unit 13 at a predetermined timing. The maintenance frame determination unit 13 sends the frame received from the delay buffer memory unit 15 to the transmission unit 14 as a user frame signal S11. The transmission unit 14 opens a predetermined inter-frame gap after transmitting the integrated maintenance frame, converts the frame received as the user frame signal S11 from the maintenance frame determination unit 13 into a predetermined signal format, and transmits the frame to the transmission path 90 ( Step 111). A signal transmitted from the transmission device 10 is transmitted through the transmission path 90 and input to the reception device 30.

以上、説明した通り、送信装置10は保守フレームが出力された際に入力されている第1フレームはそのまま伝送路90に送信する。また、送信装置10は第2のフレームを統合保守フレームの一部として送信する。第3フレームは、統合保守フレームの送信が完了した後に、送信される。   As described above, the transmission apparatus 10 transmits the first frame input when the maintenance frame is output to the transmission path 90 as it is. The transmission device 10 transmits the second frame as a part of the integrated maintenance frame. The third frame is transmitted after the transmission of the integrated maintenance frame is completed.

また、本実施形態の通信システムにおいて、送信装置10の保守フレーム送信部16が保守フレームを出力した際に、送信装置10にユーザフレームが入力されていないときは、保守フレームにユーザフレームは結合されない。送信装置10からは保守フレームと同じ構成のフレームが送信される。   In the communication system of the present embodiment, when the maintenance frame transmission unit 16 of the transmission device 10 outputs the maintenance frame, if no user frame is input to the transmission device 10, the user frame is not combined with the maintenance frame. . The transmission device 10 transmits a frame having the same configuration as the maintenance frame.

次に、受信装置30において統合保守フレームを受信する際の動作について説明する。図7は、本実施形態の受信装置30が統合保守フレームを受信した際の動作フローを示したものである。   Next, the operation when the receiving apparatus 30 receives the integrated maintenance frame will be described. FIG. 7 shows an operation flow when the receiving apparatus 30 of this embodiment receives an integrated maintenance frame.

送信装置10から送信された信号は、伝送路90を伝送され受信装置30に入力される。受信装置30の受信部31は、送信装置10が送信したフレームに基づく信号を受信する(ステップ121)。   A signal transmitted from the transmission device 10 is transmitted through the transmission path 90 and input to the reception device 30. The receiving unit 31 of the receiving device 30 receives a signal based on the frame transmitted by the transmitting device 10 (step 121).

フレームを受信すると受信部31は、入力された信号の電気信号への変換や復号を行い受信装置30の内部で用いる信号の形式に変換する。受信部31は、受信装置30の内部で用いる信号の形式に変換されたフレームを、フレーム信号S31として統合FCS検査部32に送る。   When receiving the frame, the receiving unit 31 converts the input signal into an electric signal and decodes it into a signal format used inside the receiving device 30. The receiving unit 31 sends a frame converted into a signal format used inside the receiving device 30 to the integrated FCS checking unit 32 as a frame signal S31.

統合FCS検査部32は、受信部31からフレーム信号S31としてフレームを受け取るとフレームのデータのエラーの有無を確認する。統合FCS検査部32は、フレーム信号S31として入力されたフレームのFCSを所定のアルゴリズムに基づいて算出し、フレームに付加されているFCSの情報と比較する。算出した値とFCSの情報が一致しなかった場合はデータにエラーがあると判断し(ステップ122でNo)、統合FCS検査部32は算出した値とFCSの情報が一致しなかったフレームを破棄する(ステップ130)。   When the integrated FCS inspection unit 32 receives a frame as the frame signal S31 from the reception unit 31, the integrated FCS inspection unit 32 checks whether there is an error in the data of the frame. The integrated FCS inspection unit 32 calculates the FCS of the frame input as the frame signal S31 based on a predetermined algorithm, and compares it with the FCS information added to the frame. If the calculated value and the FCS information do not match, it is determined that there is an error in the data (No in step 122), and the integrated FCS inspection unit 32 discards the frame where the calculated value and the FCS information do not match (Step 130).

算出した値とFCSの情報が一致した場合はデータにエラーが無いと判断し(ステップ122でYes)、統合FCS検査部32は、判断コード判断部33に算出した値とFCSの情報が一致したフレームのフレーム信号S31を送る。フレーム信号S31としてフレームが入力されると、判断コード判断部33は、入力されたフレームの判断コードの情報を抽出する。   If the calculated value and the FCS information match, it is determined that there is no error in the data (Yes in step 122), and the integrated FCS inspection unit 32 matches the value calculated by the determination code determination unit 33 and the FCS information. A frame signal S31 of the frame is sent. When a frame is input as the frame signal S31, the determination code determination unit 33 extracts information on the determination code of the input frame.

判断コードが無く通常のフレームであったとき(ステップ123でNo)、判断コード判断部33は、通常のフレームと判断したフレームをユーザフレーム信号32として送信部34に送る。   When there is no determination code and the frame is a normal frame (No in step 123), the determination code determination unit 33 sends the frame determined to be a normal frame to the transmission unit 34 as a user frame signal 32.

判断コードが付加されていたとき(ステップ123でYes)、判断コード判断部33は、判断コードが付加されていたフレームを統合保守フレーム信号S33としてフレーム長検出部35に送る(ステップ124)。フレーム長検出部35は、統合保守フレーム信号S33としてフレームを受け取ると、フレームのタイプとデータ長の情報を抽出して、フレームフォーマットの情報を生成する。フレーム検出部35は、フレームフォーマットの情報を生成すると、フレームとフレームフォーマットの情報を、フレーム長情報信号S34としてフレーム分離部36に送る。   When the determination code has been added (Yes in step 123), the determination code determination unit 33 sends the frame to which the determination code has been added to the frame length detection unit 35 as an integrated maintenance frame signal S33 (step 124). When the frame length detection unit 35 receives a frame as the integrated maintenance frame signal S33, the frame length detection unit 35 extracts frame type and data length information to generate frame format information. When generating the frame format information, the frame detection unit 35 sends the frame and the frame format information to the frame separation unit 36 as a frame length information signal S34.

フレーム分離部36は、フレームとフレームフォーマットの情報をフレーム長情報信号S34として受け取ると判断コードを確認する。判断コードが統合保守フレームを示すものであっとき、フレーム分離部36は、統合保守フレームを保守フレームとユーザフレームとに分離する(ステップ125)。フレーム分離部36は、統合保守フレームを分離する際に、統合保守フレームの末尾のFCSを廃棄する。分離して生成される保守フレームは、通常の保守フレームの構成と比較してFCSが無い構成となっている。また、分離して生成されるユーザフレームは、通常のユーザフレームの構成と比較して、プリアンブル、SFDおよびFCSが無い構成となっている。   When the frame separator 36 receives the frame and frame format information as the frame length information signal S34, it confirms the determination code. When the determination code indicates an integrated maintenance frame, the frame separation unit 36 separates the integrated maintenance frame into a maintenance frame and a user frame (step 125). When separating the integrated maintenance frame, the frame separation unit 36 discards the FCS at the end of the integrated maintenance frame. The maintenance frame generated separately has a configuration without FCS compared to the configuration of a normal maintenance frame. In addition, the user frame generated separately is configured to have no preamble, SFD, and FCS compared to the configuration of a normal user frame.

フレーム分離部36は、統合保守フレームを分離して生成した保守フレームを、分離保守フレーム信号S35として保守フレーム受信部37に送る。保守フレーム受信部37は、分離保守フレーム信号S35として保守フレームを受け取ると保守フレームが示す情報に従って所定の処理を行う(ステップ126)。また、判断コードが通常の保守フレームの場合は、フレーム分離部は、入力されたフレームをそのまま保守フレーム受信部37に送る。   The frame separation unit 36 sends the maintenance frame generated by separating the integrated maintenance frame to the maintenance frame receiving unit 37 as the separated maintenance frame signal S35. When receiving the maintenance frame as the separated maintenance frame signal S35, the maintenance frame receiving unit 37 performs a predetermined process according to the information indicated by the maintenance frame (step 126). If the determination code is a normal maintenance frame, the frame separation unit sends the input frame to the maintenance frame reception unit 37 as it is.

フレーム分離部36は、統合保守フレームを分離して生成したユーザフレームを、分離ユーザフレーム信号S36としてデータ追加部38に送る。データ追加部38は、分離ユーザフレーム信号S36としてユーザフレームを受け取ると、受け取ったユーザフレームに所定のデータを追加する(ステップ127)。データ追加部38は、所定のデータとして、ユーザフレームの先頭にプリアンブルおよびSFDのデータを付加する。データ追加部38は、プリアンブルおよびSFDを追加したユーザフレームを、データ付加フレーム信号S37としてFCS作成部39に送る。   The frame separation unit 36 sends the user frame generated by separating the integrated maintenance frame to the data addition unit 38 as a separated user frame signal S36. When receiving the user frame as the separated user frame signal S36, the data adding unit 38 adds predetermined data to the received user frame (step 127). The data adding unit 38 adds preamble and SFD data to the head of the user frame as predetermined data. The data adding unit 38 sends the user frame to which the preamble and SFD have been added to the FCS creating unit 39 as a data addition frame signal S37.

FCS作成部39は、データ付加フレーム信号S37としてユーザフレームを受け取ると、受け取ったデータのFCSを算出する。FCS作成部39は、受け取ったデータのFCSを算出すると、算出したデータをFCSとしてユーザフレームの末尾に付加する(ステップ128)。FCS作成部39は、ユーザフレームにFCSを付加すると、ユーザフレームを、ユーザフレーム信号S38として送信部34に送る。   When receiving the user frame as the data addition frame signal S37, the FCS creation unit 39 calculates the FCS of the received data. After calculating the FCS of the received data, the FCS creation unit 39 adds the calculated data to the end of the user frame as the FCS (step 128). When the FCS is added to the user frame, the FCS creation unit 39 sends the user frame to the transmission unit 34 as a user frame signal S38.

送信部34は、判断コード判断部33およびFCS作成部39からユーザフレーム信号S32またはユーザフレーム信号S38を受け取ると、受け取ったユーザフレームのデータを受信装置30から出力する際の信号形式に変換する。送信部34は、受信装置30から出力する際の信号形式に変換すると、ユーザフレームのデータから変換された信号を受信装置30に接続された通信回線等に送信する(ステップ129)。   When the transmission unit 34 receives the user frame signal S32 or the user frame signal S38 from the determination code determination unit 33 and the FCS creation unit 39, the transmission unit 34 converts the received user frame data into a signal format for output from the reception device 30. When the transmission unit 34 converts the signal format to be output from the reception device 30, the transmission unit 34 transmits the signal converted from the user frame data to a communication line or the like connected to the reception device 30 (step 129).

図8は、本実施形態のように統合保守フレームを用いた場合と、保守フレームおよびユーザフレームを別々に送信した場合とを比較した例を示している。図8の最上段、すなわち(A)として示した段は、送信装置10において、第1ユーザフレームから第N+1ユーザフレームまでのN+1個のユーザフレームの送信処理が行われる場合について示している。   FIG. 8 shows an example in which the case where the integrated maintenance frame is used as in the present embodiment and the case where the maintenance frame and the user frame are transmitted separately are compared. The uppermost stage in FIG. 8, that is, the stage shown as (A), shows a case where the transmission apparatus 10 performs transmission processing of N + 1 user frames from the first user frame to the (N + 1) th user frame.

図8の上から2段目、すなわち(B)として示した段は、送信装置10が第N+1ユーザフレームの送信処理を行うまでに、N個の保守フレームが出力された場合について示している。保守フレームを、独立して送信する場合にはバッファメモリ部15に保存されているユーザフレームが保存可能な容量を超える恐れがある。バッファメモリ部15で保存可能なそそのような場合にはユーザフレームを保存できないので、ユーザフレームを破棄する必要が生じる。図8の上から2段目は、第N+1ユーザフレームがバッファメモリ部15で遅延可能な時間内、すなわち、遅延量で送信処理を行えなかった場合について示している。このような場合、第N+1ユーザフレームは破棄されてします。   The second stage from the top of FIG. 8, that is, the stage shown as (B), shows a case where N maintenance frames are output before the transmission apparatus 10 performs transmission processing of the (N + 1) th user frame. When the maintenance frame is transmitted independently, the user frame stored in the buffer memory unit 15 may exceed the storable capacity. In such a case that can be saved in the buffer memory unit 15, the user frame cannot be saved, and thus the user frame needs to be discarded. The second row from the top in FIG. 8 shows a case where the transmission process cannot be performed within the time in which the (N + 1) th user frame can be delayed by the buffer memory unit 15, that is, the delay amount. In such a case, the (N + 1) th user frame is discarded.

図8の最下段、すなわち(C)として示した段は、第N+1ユーザフレームを保守フレームに結合して、統合保守フレームとして用いて送信処理を行う場合について示している。図8の(C)の段に示すような統合保守フレームの伝送を行うことにより、(B)の段に示す伝送方法に比べて、N×24byte分の遅延を抑制することが可能となる。このように、統合保守フレームを用いて伝送効率を上げることにより、ユーザフレームを破棄しなければならない状態を抑制することが可能になる。   The lowermost stage of FIG. 8, that is, the stage shown as (C), shows a case where the N + 1th user frame is combined with a maintenance frame and used as an integrated maintenance frame for transmission processing. By transmitting the integrated maintenance frame as shown in the stage of FIG. 8C, it is possible to suppress a delay of N × 24 bytes compared to the transmission method shown in the stage of (B). As described above, by increasing the transmission efficiency using the integrated maintenance frame, it is possible to suppress a state in which the user frame has to be discarded.

本実施形態の送信装置10および受信装置30を構成する各部位は、複数の部位の機能を複合的に有するような構成とすることもできる。また、各部位が有する機能をさらに細分化して、細分化した機能に対応する部位が個々に備えられている構成としてもよい。   Each part which comprises the transmitter 10 and the receiver 30 of this embodiment can also be set as the structure which has the function of a some site | part complexly. Further, the function of each part may be further subdivided, and a part corresponding to the subdivided function may be provided individually.

本実施形態の通信システムは、送信装置10において保守フレームが生成された際に、保守フレームに所定のデータを削除したユーザフレームを結合し、統合保守フレームを生成している。保守フレームとユーザフレームを1つのフレームとして送信することにより、フレーム間ギャップを必要とせずに保守フレームとユーザフレームを送信することができる。また、ユーザフレームの所定のデータ削除することにより送信するフレームのデータ量を削減することができる。このように統合保守フレームを送信することによりフレームの伝送効率が向上するので、本実施形態の通信システムは、保守フレームの送信が必要な場合でもユーザフレームの遅延を抑制することが可能となる。   In the communication system of this embodiment, when a maintenance frame is generated in the transmission apparatus 10, a user frame from which predetermined data is deleted is combined with the maintenance frame to generate an integrated maintenance frame. By transmitting the maintenance frame and the user frame as one frame, the maintenance frame and the user frame can be transmitted without requiring an inter-frame gap. Moreover, the data amount of the transmitted frame can be reduced by deleting predetermined data of the user frame. Since the transmission efficiency of the frame is improved by transmitting the integrated maintenance frame in this way, the communication system of the present embodiment can suppress the delay of the user frame even when the maintenance frame needs to be transmitted.

また、本実施形態の通信システムでは保守フレームを統合保守フレームとして送信する際に、遅延バッファメモリ部15で後続のユーザメモリで遅延させている。統合保守フレームを生成している間、次のユーザメモリを遅延させることにより、破棄されて送信されないユーザメモリが生じることを抑制することができる。また、本実施形態の通信システムでは、統合保守フレームとして保守フレームとユーザフレームを送信することにより、後続のユーザフレームの遅延量を小さくすることができる。そのため、遅延バッファメモリ部15の記憶容量を小さく抑えて装置の構成を簡略化することも可能となる。   In the communication system of this embodiment, when the maintenance frame is transmitted as an integrated maintenance frame, the delay buffer memory unit 15 delays the maintenance frame in the subsequent user memory. By delaying the next user memory while the integrated maintenance frame is generated, it is possible to suppress the occurrence of a user memory that is discarded and not transmitted. In the communication system of the present embodiment, the delay amount of the subsequent user frame can be reduced by transmitting the maintenance frame and the user frame as the integrated maintenance frame. Therefore, the storage capacity of the delay buffer memory unit 15 can be kept small, and the configuration of the apparatus can be simplified.

[第3の実施形態]
本発明の第3の実施形態について図を参照して詳細に説明する。図9は、本実施形態の通信システムの構成の概要を示したものである。本実施形態の通信システムは、第2の実施形態と同様に送信装置40と、受信装置60を備えている。また、送信装置40と受信装置60は伝送路90を介して接続されている。本実施形態の通信システムは、第2の実施形態と同様の通信規格に基づいて動作する。第2の実施形態では1つの保守フレームに1つのユーザフレームを結合して、1つの統合保守フレームを生成していた。本実施形態では、複数の保守フレームから1つの統合保守フレームを生成する。
[Third Embodiment]
A third embodiment of the present invention will be described in detail with reference to the drawings. FIG. 9 shows an outline of the configuration of the communication system of the present embodiment. The communication system of the present embodiment includes a transmission device 40 and a reception device 60 as in the second embodiment. The transmission device 40 and the reception device 60 are connected via a transmission path 90. The communication system of this embodiment operates based on the same communication standard as that of the second embodiment. In the second embodiment, one user frame is combined with one maintenance frame to generate one integrated maintenance frame. In this embodiment, one integrated maintenance frame is generated from a plurality of maintenance frames.

送信装置40の構成について説明する。図10は、本実施形態の送信装置40の構成の概要を示している。本実施形態の送信装置40は、受信部41と、FCS検査部42と、保守フレーム判断部43と、送信部44と、遅延バッファメモリ部45を備えている。また、本実施形態の送信装置40は、保守フレーム送信部46と、保守イベント信号発生部47と、フレーム検出部48と、データ削除部49と、保守フレーム統合部50と、統合FCS作成部51をさらに備えている。   The configuration of the transmission device 40 will be described. FIG. 10 shows an outline of the configuration of the transmission device 40 of the present embodiment. The transmission apparatus 40 of this embodiment includes a reception unit 41, an FCS inspection unit 42, a maintenance frame determination unit 43, a transmission unit 44, and a delay buffer memory unit 45. In addition, the transmission device 40 of the present embodiment includes a maintenance frame transmission unit 46, a maintenance event signal generation unit 47, a frame detection unit 48, a data deletion unit 49, a maintenance frame integration unit 50, and an integrated FCS creation unit 51. Is further provided.

保守フレーム統合部50以外の送信装置40の各部位の構成と機能は第2の実施形態の送信装置の同名称の部位と同様である。すなわち、送信装置41、FCS検査部42、保守フレーム判断部43、送信部44および遅延バッファメモリ部45の構成と機能は第2の実施形態の送信装置の同名称の部位と同様である。また、保守フレーム送信部46、保守イベント信号発生部47、フレーム検出部48、データ削除部49および統合FCS作成部51の構成と機能は、第2の実施形態の送信装置の同名称の部位と同様である。   The configuration and function of each part of the transmission device 40 other than the maintenance frame integration unit 50 are the same as the parts of the same name of the transmission device of the second embodiment. That is, the configurations and functions of the transmission device 41, the FCS inspection unit 42, the maintenance frame determination unit 43, the transmission unit 44, and the delay buffer memory unit 45 are the same as the parts of the same name of the transmission device of the second embodiment. The configuration and functions of the maintenance frame transmission unit 46, the maintenance event signal generation unit 47, the frame detection unit 48, the data deletion unit 49, and the integrated FCS creation unit 51 are the same as those of the transmission device of the second embodiment. It is the same.

保守フレーム統合部50は、複数の保守フレームを結合して1つの統合保守フレームを生成する機能を有する。保守フレーム統合部50は、保守フレームおよびユーザフレームを結合して統合保守フレームを生成する。保守フレーム統合部50は、生成した統合保守フレームを、連結フレーム信号S46として統合FCS作成部51に出力する。   The maintenance frame integration unit 50 has a function of combining a plurality of maintenance frames and generating one integrated maintenance frame. The maintenance frame integration unit 50 combines the maintenance frame and the user frame to generate an integrated maintenance frame. The maintenance frame integration unit 50 outputs the generated integrated maintenance frame to the integrated FCS creation unit 51 as a concatenated frame signal S46.

図11は、本実施形態の統合保守フレームの構成を示したものである。図11の最上段、すなわち(A)として示した段は、保守フレームおよびユーザフレームの構成を示している。各保守フレームおよびユーザフレームの構成は第2の実施形態と同様である。図11の保守フレームは、第2の実施形態における保守信号識別子からベンダコードまでの領域を1つの枠で示している。図11のユーザフレームは、第2の実施形態のDAからデータの領域までを1つの枠で示している。   FIG. 11 shows the configuration of the integrated maintenance frame of the present embodiment. The uppermost stage in FIG. 11, that is, the stage shown as (A) shows the configuration of the maintenance frame and the user frame. The configuration of each maintenance frame and user frame is the same as in the second embodiment. The maintenance frame in FIG. 11 shows the area from the maintenance signal identifier to the vendor code in the second embodiment in one frame. The user frame in FIG. 11 shows from the DA to the data area of the second embodiment in one frame.

図11の上から2段目、すなわち(B)として示した段は、本実施形態の統合保守フレームのうち、保守フレームのデータに基づいた部分の構成を示している。保守フレームのうち先頭の保守フレームのデータ、すなわち、第1保守フレームのデータは第2の実施形態と同様の構成部分が統合保守フレームに含まれる。2番目以降の保守フレームは、保守に関するデータのみが統合保守フレームを構成するデータとして用いられる。保守に関するデータとは制御符号やステータスに関するデータのことをいう。図11の上から3段目、すなわち(C)として示した段は、統合保守フレームのうちユーザフレームに基づいた部分を示している。ユーザフレームは、第2の実施形態と同様の部分が統合保守フレームに用いられる。   The second level from the top of FIG. 11, that is, the level indicated as (B), shows the configuration of the part of the integrated maintenance frame of this embodiment based on the data of the maintenance frame. Among the maintenance frames, the data of the first maintenance frame, that is, the data of the first maintenance frame includes the same components as in the second embodiment in the integrated maintenance frame. In the second and subsequent maintenance frames, only data related to maintenance is used as data constituting the integrated maintenance frame. The data relating to maintenance refers to data relating to control codes and status. The third level from the top in FIG. 11, that is, the level indicated as (C), shows a portion based on the user frame in the integrated maintenance frame. As for the user frame, the same part as that of the second embodiment is used for the integrated maintenance frame.

図11の最下段、すなわち(D)として示した段は、本実施形態の統合保守フレームの構成を示している。統合保守フレームは、第1保守フレームの後ろに、第N保守フレームまでの保守に関するデータが結合され、その後ろにユーザフレームのデータが結合されて構成されている。連結数コードは、統合保守フレームを生成する際に結合された保守フレームの数を示すデータである。図11に示す通りN個の保守フレームを1つのフレームとして結合すると、全ての保守フレームを別々に送信した場合に比べて21+(N−1)×17byte分の遅延量の抑制が可能となる。先頭の保守フレーム分で21byte分、後続のN−1個の保守フレームにいて、1フレームあたり17byte分の削減が可能だからである。17byte分の内訳は、フレーム間ギャップが12byte、所定のデータとして削除されるプリアンブル等が5byte分である。   The lowermost stage in FIG. 11, that is, the stage shown as (D) shows the configuration of the integrated maintenance frame of the present embodiment. The integrated maintenance frame is configured such that data related to maintenance up to the Nth maintenance frame is combined after the first maintenance frame, and data of the user frame is combined after that. The concatenation number code is data indicating the number of maintenance frames combined when generating the integrated maintenance frame. As shown in FIG. 11, when N maintenance frames are combined as one frame, a delay amount of 21+ (N−1) × 17 bytes can be suppressed as compared with a case where all the maintenance frames are transmitted separately. This is because the first maintenance frame can be reduced by 21 bytes and the subsequent N-1 maintenance frames can be reduced by 17 bytes per frame. The breakdown of 17 bytes is that the inter-frame gap is 12 bytes, and the preamble deleted as predetermined data is 5 bytes.

図12は本実施形態の受信装置60の構成の概要について示したものである。受信装置60は、受信部61と、統合FCS検査部62と、判断コード判断部63と、送信部64を備えている。また、受信装置60は、フレーム長検出部65と、フレーム分離部66と、保守フレーム受信部67と、データ追加部68と、FCS作成部69をさらに備えている。受信部61、統合FCS検査部62、判断コード判断部63、送信部64、フレーム長検出部65、保守フレーム受信部67、データ追加部68およびFCS作成部69の構成と機能は、第2の実施形態の受信装置の同名称の部位と同様である。   FIG. 12 shows an outline of the configuration of the receiving device 60 of this embodiment. The reception device 60 includes a reception unit 61, an integrated FCS inspection unit 62, a determination code determination unit 63, and a transmission unit 64. The receiving device 60 further includes a frame length detection unit 65, a frame separation unit 66, a maintenance frame reception unit 67, a data addition unit 68, and an FCS creation unit 69. The configuration and function of the reception unit 61, the integrated FCS inspection unit 62, the determination code determination unit 63, the transmission unit 64, the frame length detection unit 65, the maintenance frame reception unit 67, the data addition unit 68, and the FCS creation unit 69 are as follows. It is the same as the site | part of the same name of the receiver of embodiment.

フレーム分離部66は、統合保守フレームを保守フレームとユーザフレームに分割する機能を有する。統合保守フレームが複数の保守フレームの結合により構成されているときは、保守フレームの部分は複数の保守フレームのデータに基づいて構成されている。   The frame separation unit 66 has a function of dividing the integrated maintenance frame into a maintenance frame and a user frame. When the integrated maintenance frame is configured by combining a plurality of maintenance frames, the maintenance frame portion is configured based on the data of the plurality of maintenance frames.

本実施形態の通信システムの動作について説明する。始めに本実施形態の通信システムの送信装置40が統合保守フレームを送信する際の動作について説明する。図13は、本実施形態の送信装置40が統合保守フレームを送信する際の動作フローを示したものである。あるユーザフレームの処理中に保守フレームが生成され、次のユーザフレームの送信開始までにN個の保守フレームが生成されたとして以下の説明を行う。保守フレームが出力された際に処理中のユーザフレームを第1ユーザフレーム、次のユーザフレームを第2のユーザフレーム、さらにその次のユーザフレームを第3ユーザフレームと呼ぶことにする。また、第1ユーザフレームの入力が開始されてから第2ユーザフレームの入力が開始されるまでの間に、第1保守フレームから第N保守フレームまでのN個の保守フレームが生成されたとする。   The operation of the communication system of this embodiment will be described. First, an operation when the transmission device 40 of the communication system according to the present embodiment transmits an integrated maintenance frame will be described. FIG. 13 shows an operation flow when the transmission apparatus 40 of this embodiment transmits an integrated maintenance frame. The following description will be given on the assumption that a maintenance frame is generated during processing of a certain user frame and N maintenance frames are generated before transmission of the next user frame is started. The user frame being processed when the maintenance frame is output is referred to as a first user frame, the next user frame is referred to as a second user frame, and the next user frame is referred to as a third user frame. Further, it is assumed that N maintenance frames from the first maintenance frame to the Nth maintenance frame are generated between the start of input of the first user frame and the start of input of the second user frame.

受信部41でユーザフレームを受信してから、保守フレーム判断部43にユーザフレーム信号S41として入力されるまでの動作、すなわち、ステップ131および132の動作は、第2の実施形態のステップ121および122と同様である。また、フレームが入力されている際に保守イベント信号S43を受け取っていないときの動作は第2の実施形態と同様である。すなわち、フレームが入力されている際に保守イベント信号S43を受け取っていないとき、入力されたユーザフレームおよびその次のユーザフレームのユーザは、そのままユーザフレーム信号S41として送信部44に送られる。送信部44はユーザフレーム信号S41を元に送信用の信号の生成を行うと、伝送路90へユーザフレームから生成した信号を送信する(ステップ147)。   The operations from the reception of the user frame by the reception unit 41 to the input of the user frame signal S41 to the maintenance frame determination unit 43, that is, the operations of steps 131 and 132, are the steps 121 and 122 of the second embodiment. It is the same. The operation when the maintenance event signal S43 is not received when a frame is input is the same as in the second embodiment. That is, when the maintenance event signal S43 is not received when a frame is input, the input user frame and the user of the next user frame are sent to the transmission unit 44 as the user frame signal S41 as it is. When the transmission unit 44 generates a signal for transmission based on the user frame signal S41, the transmission unit 44 transmits the signal generated from the user frame to the transmission path 90 (step 147).

以下では、保守フレーム判断部43にユーザフレーム信号S41が入力された後に、保守フレーム送信部46が保守フレームの出力を行った場合の動作について説明する。保守フレーム送信部46は、保守フレームの出力が必要であることを検知すると保守フレームを保守フレーム信号S42として保守イベント信号発生部47に送る。保守イベント信号発生部47は、保守フレーム信号S42を受け取ると、保守イベント信号S43を保守フレーム判断部43に送る。また、保守イベント信号発生部47は、受け取った保守フレーム信号S42を保守フレーム統合部50に送る。   Hereinafter, an operation when the maintenance frame transmission unit 46 outputs a maintenance frame after the user frame signal S41 is input to the maintenance frame determination unit 43 will be described. When the maintenance frame transmission unit 46 detects that the maintenance frame needs to be output, the maintenance frame transmission unit 46 transmits the maintenance frame to the maintenance event signal generation unit 47 as the maintenance frame signal S42. When receiving the maintenance frame signal S42, the maintenance event signal generation unit 47 sends the maintenance event signal S43 to the maintenance frame determination unit 43. Also, the maintenance event signal generation unit 47 sends the received maintenance frame signal S42 to the maintenance frame integration unit 50.

フレームの入力が行われている際に保守フレームが出力され、保守イベント信号S43を受け取ったとき(ステップ133でYes)、保守フレーム判断部43は入力されているフレームのユーザフレーム信号S41をそのまま送信部44に送る。また、保守イベント信号を受け取ったとき、保守フレーム判断部43は、信号を受け取ったときに入力されているフレームの次に入力されてくるフレームのユーザフレーム信号S41をフレーム長検出部48に送る。また、保守フレーム判断部43は、フレーム長検出部48に送ったフレームの次に入力されてくるフレームを、遅延バッファメモリ部45に送る。遅延バッファメモリ部45は、フレームが入力されると、入力されたフレームのデータを保存して遅延する(ステップ134)。   When the maintenance frame is output while the frame is being input and the maintenance event signal S43 is received (Yes in step 133), the maintenance frame determination unit 43 transmits the user frame signal S41 of the input frame as it is. Send to part 44. When the maintenance event signal is received, the maintenance frame determination unit 43 sends the user frame signal S41 of the frame input next to the frame input when the signal is received to the frame length detection unit 48. Further, the maintenance frame determination unit 43 sends the frame input next to the frame sent to the frame length detection unit 48 to the delay buffer memory unit 45. When a frame is input, the delay buffer memory unit 45 stores and delays the data of the input frame (step 134).

保守フレーム統合部50は保守フレーム信号S41として保守フレームが入力されると、保守フレームに判別コードを追加する。本実施形態では、統合保守フレームであることを示す判別コードは「1」として設定される。また、保守フレーム統合部50は、判別コードを追加した保守フレームの最後尾のFCSを削除する(ステップ135)。   When the maintenance frame is input as the maintenance frame signal S41, the maintenance frame integration unit 50 adds a determination code to the maintenance frame. In this embodiment, the determination code indicating the integrated maintenance frame is set as “1”. Further, the maintenance frame integration unit 50 deletes the last FCS of the maintenance frame to which the determination code is added (step 135).

保守フレーム統合部50は、最初に入力された保守フレームへの判別コードの追加およびFCSの削除、または、2番目以降の保守フレームのデータの結合を行うと連結数を1増加させる(ステップ136)。   When the maintenance frame integration unit 50 adds the discrimination code to the maintenance frame that is input first, deletes the FCS, or combines the data of the second and subsequent maintenance frames, the number of connections is increased by 1 (step 136). .

次のユーザフレームが入力される前に、さらに保守フレームが出力されると(ステップ137でYes)、保守フレーム統合部50は次の保守フレームから所定のデータを削除する(ステップ144)。保守フレームから所定のデータを削除すると、保守フレーム統合部50は、それまでに保存されている統合保守フレームの末尾に所定のデータを削除した保守フレームのデータを結合する(ステップ145)。統合保守フレームの末尾に保守フレームのデータを結合すると、ステップ136からの動作を行う。   If a maintenance frame is further output before the next user frame is input (Yes in step 137), the maintenance frame integration unit 50 deletes predetermined data from the next maintenance frame (step 144). When the predetermined data is deleted from the maintenance frame, the maintenance frame integration unit 50 joins the data of the maintenance frame from which the predetermined data has been deleted to the end of the integrated maintenance frame stored so far (step 145). When the maintenance frame data is joined to the end of the integrated maintenance frame, the operation from step 136 is performed.

本実施形態では、保守フレーム統合部50内に待機している保守フレームが無い状態で、保守フレーム統合部50に入力された保守フレームを第1保守フレームと呼ぶ。保守フレーム統合部50内に待機している保守フレームが無い状態から新たに入力されたフレームの連結数コードは1として設定される。すなわち、第1保守フレームの連結数コードは1となる。   In the present embodiment, a maintenance frame input to the maintenance frame integration unit 50 in a state where there is no maintenance frame waiting in the maintenance frame integration unit 50 is referred to as a first maintenance frame. The connection number code of a frame newly input from a state where there is no maintenance frame waiting in the maintenance frame integration unit 50 is set as 1. That is, the connection number code of the first maintenance frame is 1.

保守フレーム統合部50にさらに次の保守フレームである第2保守フレームが送られてくると、保守フレーム統合部50は、第2保守フレームの所定のデータ以外のデータを削除する。所定のデータは、通信システムの保守に関わる信号データを示すフィールドである。本実施形態では、所定のデータには、保守信号識別子とステータスコードを示すフィールドのデータが設定されている。   When the second maintenance frame, which is the next maintenance frame, is further sent to the maintenance frame integration unit 50, the maintenance frame integration unit 50 deletes data other than the predetermined data in the second maintenance frame. The predetermined data is a field indicating signal data related to maintenance of the communication system. In the present embodiment, field data indicating a maintenance signal identifier and a status code is set in the predetermined data.

保守フレーム統合部50は、第1保守フレームの末尾に第2保守フレームの所定のフィールドのデータを結合する。また、保守フレーム統合部50は、連結数コードを1増加させる。すなわち、第1保守フレームと第2保守フレームが結合された状態では連結数コードは2となる。   The maintenance frame integration unit 50 combines data in a predetermined field of the second maintenance frame at the end of the first maintenance frame. In addition, the maintenance frame integration unit 50 increases the concatenation number code by one. That is, in the state where the first maintenance frame and the second maintenance frame are combined, the connection number code is 2.

さらに、保守フレームが第3保守フレームとして送られてくると、保守フレーム統合部50は、第3保守フレームの所定のフィールド以外のデータを削除する。所定のフィールド以外のデータを削除すると、保守フレーム統合部50は、第2保守フレームの末尾に第3保守フレームを所定のフィールドのデータを結合する。また、保守フレーム統合部50は、連結数コードを1増加させる。第3保守フレームの結合が終わった状態では、結合によって生成されたフレームは、第1保守フレーム、第2の保守フレーム、第3保守フレームの順にデータが結合されて1つのフレームを形成した状態となっている。また、第3保守フレームが結合された状態では、連結数コードは3となる。   Further, when the maintenance frame is sent as the third maintenance frame, the maintenance frame integration unit 50 deletes data other than the predetermined field of the third maintenance frame. When data other than the predetermined field is deleted, the maintenance frame integration unit 50 combines the data of the predetermined field with the third maintenance frame at the end of the second maintenance frame. In addition, the maintenance frame integration unit 50 increases the concatenation number code by one. When the third maintenance frame has been combined, the frame generated by the combination is a state in which data is combined in the order of the first maintenance frame, the second maintenance frame, and the third maintenance frame to form one frame. It has become. Further, in a state where the third maintenance frame is coupled, the concatenated number code is 3.

ユーザフレームが入力されるまでに第1保守フレームから第N保守フレームのN個の保守フレームが保守フレーム統合部50に入力されたとすると、N個の保守フレームが順に結合されて1つのフレームを構成している。第2保守フレームから第N保守フレームまでは、各保守フレームの所定のフィールドのデータのみが結合されている。また、第N保守フレームまで結合された際の、連結数コードはNである。   Assuming that N maintenance frames from the first maintenance frame to the Nth maintenance frame are input to the maintenance frame integration unit 50 before the user frame is input, the N maintenance frames are sequentially combined to form one frame. doing. From the second maintenance frame to the Nth maintenance frame, only data of a predetermined field of each maintenance frame is combined. Further, the number of concatenated codes when combined up to the Nth maintenance frame is N.

次のユーザフレームの入力までに新たな保守フレームが出力されないとき(ステップ137でNo)、統合保守フレームへのユーザフレームの結合の動作に進む。ユーザフレーム信号S41が入力されると、フレーム長検出部48は、入力されたユーザフレームのデータ長の情報を検出する(ステップ138)。フレーム長検出部48は、データ長の情報を抽出するとフレームフォーマットの情報を生成し、フレームとフレームフォーマットの情報をフレーム長情報信号S44としてデータ削除部49に送る。   When a new maintenance frame is not output until the next user frame is input (No in step 137), the operation proceeds to the operation of combining the user frame with the integrated maintenance frame. When the user frame signal S41 is input, the frame length detector 48 detects data length information of the input user frame (step 138). When the data length information is extracted, the frame length detection unit 48 generates frame format information, and sends the frame and frame format information to the data deletion unit 49 as a frame length information signal S44.

データ削除部49は、フレーム長情報信号S44としてフレームとフレームフォーマットの情報を受け取ると、フレームフォーマットの情報に基づいて、フレームから所定のデータを削除する(ステップ139)。データ削除部49は、所定のデータとしてプリアンブル、SFDおよびFCSのデータを削除する。データ削除部49は、フレームから所定のデータを削除すると、所定のデータを削除したユーザフレームを、分離ユーザフレーム信号S45として保守フレーム統合部50に送る。   When receiving the frame and frame format information as the frame length information signal S44, the data deleting unit 49 deletes predetermined data from the frame based on the frame format information (step 139). The data deletion unit 49 deletes preamble, SFD, and FCS data as predetermined data. When the predetermined data is deleted from the frame, the data deletion unit 49 sends the user frame from which the predetermined data has been deleted to the maintenance frame integration unit 50 as a separated user frame signal S45.

分離ユーザフレーム信号S45が入力されると、保守フレーム統合部50は連結されている保守フレームの末尾にユーザフレームのデータを結合して、統合保守フレームを生成する(ステップ140)。保守フレームが1つのときにユーザフレームが入力された場合は、1つの保守フレーム分のデータの後ろにユーザフレームのデータが結合される。   When the separated user frame signal S45 is input, the maintenance frame integration unit 50 combines the user frame data with the end of the connected maintenance frame to generate an integrated maintenance frame (step 140). When a user frame is input when there is one maintenance frame, the data of the user frame is combined after the data for one maintenance frame.

保守フレームとユーザフレームを結合した統合保守フレームを生成すると、保守フレーム統合部50は、生成した統合保守フレームを連結フレーム信号S46として統合FCS作成部51に送る。   When the integrated maintenance frame is generated by combining the maintenance frame and the user frame, the maintenance frame integration unit 50 sends the generated integrated maintenance frame to the integrated FCS creation unit 51 as a concatenated frame signal S46.

連結フレーム信号S46として統合保守フレームを受け取ると、統合FCS作成部51は受け取った統合保守フレームのFCSを所定のアルゴリズムに基づいて算出する。統合FCS作成部51は、FCSを算出すると、算出したFCSの情報を統合保守フレームのデータの最後尾に付加する(ステップ141)。統合FCS作成部51は、FCSを付加すると、FCSを付加した統合保守フレームを、統合保守フレーム信号S47として送信部44に送る。   When the integrated maintenance frame is received as the concatenated frame signal S46, the integrated FCS creation unit 51 calculates the FCS of the received integrated maintenance frame based on a predetermined algorithm. When the FCS is calculated, the integrated FCS creation unit 51 adds the calculated FCS information to the end of the integrated maintenance frame data (step 141). When the FCS is added, the integrated FCS creation unit 51 sends the integrated maintenance frame to which the FCS is added to the transmission unit 44 as an integrated maintenance frame signal S47.

送信部44は、統合保守フレーム信号S47として統合保守フレームを受け取ると、統合保守フレームのデータを元に、伝送路90で通信を行う際の信号を生成する。送信部44は信号の生成を行うと、伝送路90へ統合保守フレームから生成した信号を送信する(ステップ142)。   When receiving the integrated maintenance frame as the integrated maintenance frame signal S47, the transmission unit 44 generates a signal for performing communication on the transmission path 90 based on the data of the integrated maintenance frame. When generating the signal, the transmission unit 44 transmits the signal generated from the integrated maintenance frame to the transmission path 90 (step 142).

遅延バッファメモリ部45は、所定のタイミングで保存していたフレームを保守フレーム判断部43に出力する。保守フレーム判断部43は、遅延バッファメモリ部45から受け取ったフレームをユーザフレーム信号S41として送信部44に送る。送信部44は、統合保守フレームの送信後に所定のフレーム間ギャップを空けて、保守フレーム判断部43から受け取ったフレームを所定の信号形式に変換して伝送路90に送信する(ステップ143)。   The delay buffer memory unit 45 outputs the frame stored at a predetermined timing to the maintenance frame determination unit 43. The maintenance frame determination unit 43 sends the frame received from the delay buffer memory unit 45 to the transmission unit 44 as a user frame signal S41. The transmission unit 44 opens a predetermined inter-frame gap after transmitting the integrated maintenance frame, converts the frame received from the maintenance frame determination unit 43 into a predetermined signal format, and transmits the frame to the transmission path 90 (step 143).

以上、説明した通り、送信装置40は保守フレームが出力された際に入力されている第1ユーザフレームはそのまま伝送路90に送信する。また、第2ユーザフレームの入力までにN個の保守フレームが出力されると、送信装置40はN個の保守フレームの後ろに第2ユーザフレームを連結して統合保守フレームの一部として送信する。第3フレームは、統合保守フレームの送信が完了した後に、送信される。   As described above, the transmission device 40 transmits the first user frame input when the maintenance frame is output to the transmission path 90 as it is. When N maintenance frames are output before the second user frame is input, the transmission apparatus 40 concatenates the second user frame behind the N maintenance frames and transmits it as a part of the integrated maintenance frame. . The third frame is transmitted after the transmission of the integrated maintenance frame is completed.

次に受信装置60が、統合保守フレームを受信する際の動作について説明する。図14は、受信装置60が統合保守フレームを受信した際の動作フローを示したものである。伝送路90を介してフレームを受信部61が受信してから、フレーム分離部66に入力されるまでの動作、すなわち、ステップ151から154の動作は第2の実施形態のステップ121から124と同様である。また、ステップ151からステップ154の動作において、フレーム信号S61、ユーザフレーム信号S62および統合保守フレーム信号S63は、第2の実施形態と同名称の部位間における同名称の信号と同様の情報を伝達する。以下では、フレームとフレームフォーマットの情報がフレーム長情報信号S64としてフレーム分離部66に入力されたところから説明する。   Next, the operation when the receiving device 60 receives the integrated maintenance frame will be described. FIG. 14 shows an operation flow when the receiving device 60 receives an integrated maintenance frame. The operation from the time when the receiving unit 61 receives a frame via the transmission path 90 to the time when it is input to the frame separating unit 66, that is, the operation of steps 151 to 154 is the same as that of steps 121 to 124 of the second embodiment. It is. Further, in the operations from step 151 to step 154, the frame signal S61, the user frame signal S62, and the integrated maintenance frame signal S63 transmit the same information as the signal of the same name between the parts of the same name as in the second embodiment. . Hereinafter, description will be given from the point where the frame and frame format information is input to the frame separation unit 66 as the frame length information signal S64.

フレーム分離部66は、フレーム長情報信号S64としてフレームとフレームフォーマットの情報を受け取ると、判断コードを確認する。判断コードが統合保守フレームを示すものであったとき、フレーム分離部66は、入力されたフレームを、連続保守フレームとユーザフレームのデータとに分離する(ステップ155)。本実施形態では、分離後の保守フレームのデータを連続保守フレームと呼ぶ。判断コードが統合保守フレームを示すものでないときは、フレーム分離部66では、フレームの分離処理が行われずにフレームはそのまま保守フレーム受信部67に送られる。   When the frame separation unit 66 receives the frame and frame format information as the frame length information signal S64, the frame separation unit 66 confirms the determination code. When the determination code indicates an integrated maintenance frame, the frame separation unit 66 separates the input frame into a continuous maintenance frame and user frame data (step 155). In the present embodiment, the maintenance frame data after separation is referred to as a continuous maintenance frame. When the determination code does not indicate an integrated maintenance frame, the frame separation unit 66 sends the frame as it is to the maintenance frame reception unit 67 without performing frame separation processing.

統合保守フレームが、複数の保守フレームを元に生成されている場合は、連続保守フレームは複数の保守フレーム分のデータが結合した状態のままユーザフレームと分離される。フレーム分離部66は、統合保守フレームを分離する際に、統合保守フレームの末尾のFCSを廃棄する。分離して生成されるユーザフレームは、通常のユーザフレームの構成と比較して、プリアンブル、SFDおよびFCSが無い構成となっている。   When the integrated maintenance frame is generated based on a plurality of maintenance frames, the continuous maintenance frame is separated from the user frame with the data for the plurality of maintenance frames being combined. The frame separation unit 66 discards the FCS at the end of the integrated maintenance frame when separating the integrated maintenance frame. The user frame generated separately is configured to have no preamble, SFD, and FCS compared to the configuration of a normal user frame.

フレーム分離部66は、統合保守フレームを分離して生成した連続保守フレームを、分離保守フレーム信号S65として保守フレーム受信部67に送る。保守フレーム受信部67は、分離保守フレーム信号S65を受け取ると連続保守フレームが示す情報に従って所定の処理を行う(ステップ156)。連続保守フレームが複数の保守フレームのデータにより構成されているときは、フレームの前方から順に処理が実行される。   The frame separation unit 66 sends a continuous maintenance frame generated by separating the integrated maintenance frame to the maintenance frame receiving unit 67 as a separated maintenance frame signal S65. When receiving the separated maintenance frame signal S65, the maintenance frame receiving unit 67 performs a predetermined process according to the information indicated by the continuous maintenance frame (step 156). When a continuous maintenance frame is composed of data of a plurality of maintenance frames, processing is executed in order from the front of the frame.

フレーム分離部66は、統合保守フレームを分離して生成したユーザフレームを、分離ユーザフレーム信号S66としてデータ追加部68に送る。データ追加部68は、分離ユーザフレーム信号S66としてユーザフレームを受け取ると、受け取ったユーザフレームの先頭に所定のデータを追加する(ステップ157)。本実施形態では、所定のデータとして、プリアンブルおよびSFDのデータが付加される。データ追加部68は、プリアンブルおよびSFDを追加したユーザフレームを、データ付加フレーム信号S67としてFCS作成部69に送る。   The frame separation unit 66 sends the user frame generated by separating the integrated maintenance frame to the data adding unit 68 as a separated user frame signal S66. When receiving the user frame as the separated user frame signal S66, the data adding unit 68 adds predetermined data to the head of the received user frame (step 157). In the present embodiment, preamble and SFD data are added as predetermined data. The data adding unit 68 sends the user frame to which the preamble and SFD have been added to the FCS creating unit 69 as a data addition frame signal S67.

FCS作成部69は、データ付加フレーム信号S67としてユーザフレームを受け取ると、受け取ったデータのFCSを算出する。FCS作成部69は、受け取ったデータのFCSを算出すると、算出したデータをFCSとしてユーザフレームの末尾に付加する(ステップ158)。FCS作成部69は、ユーザフレームにFCSを付加すると、ユーザフレームをユーザフレーム信号S68として送信部64に送る。   When receiving the user frame as the data-added frame signal S67, the FCS creation unit 69 calculates the FCS of the received data. When calculating the FCS of the received data, the FCS creation unit 69 adds the calculated data to the end of the user frame as the FCS (step 158). When the FCS is added to the user frame, the FCS creation unit 69 sends the user frame to the transmission unit 64 as a user frame signal S68.

送信部64は、判断コード判断部63およびFCS作成部69からユーザフレーム信号S62またはユーザフレーム信号S68を受け取ると、受け取ったユーザフレームのデータを受信装置60から出力する際の信号形式に変換する。送信部64は、受信装置60から出力する際の信号形式に変換すると、ユーザフレームのデータから変換された信号を受信装置60に接続された通信回線等に送信する(ステップ159)。   Upon receiving the user frame signal S62 or the user frame signal S68 from the determination code determination unit 63 and the FCS creation unit 69, the transmission unit 64 converts the received user frame data into a signal format for output from the reception device 60. When the transmission unit 64 converts the signal format to be output from the reception device 60, the transmission unit 64 transmits the signal converted from the user frame data to a communication line or the like connected to the reception device 60 (step 159).

本実施形態の通信システムでは、複数の保守フレームとユーザフレームを連結した統合保守フレームを用いて、送信装置40から受信装置60への保守信号の送信を行っている。複数の保守フレームを連結する際に重複するデータを削除しているので、個々の保守フレームを送信するよりも、データ量を小さくすることができる。また、連結することにより個々の保守フレームを送信する場合に必要な、保守フレーム間のフレーム間ギャップが不要となる。その結果、保守に必要な情報の伝送効率が向上する。本実施形態の通信システムでは、このような構成とすることにより、短時間に複数の保守フレームが出力された場合においても、保守フレームを確実に送信しつつユーザフレームの遅延を抑制することができる。
[第4の実施形態]
本発明の第4の実施形態について図を参照して詳細に説明する。図15は、本実施形態の通信システムの構成の概要を示している。本実施形態の通信システムは、第2の実施形態と同様に送信装置70と、受信装置80を備えている。送信装置70と受信装置80は、伝送路90を介して接続されている。第2および第3の実施形態の通信システムの送信装置および受信装置はフレームのデータのエラーの有無の検査を行っていたが、本実施形態では実施しない。そのため、フレームを送受信する際にフレーム単位での処理を行う必要が無い。フレーム単位での処理が不要となることにより、リピータタイプの送信装置および受信装置に適用することが可能となる。
In the communication system according to the present embodiment, a maintenance signal is transmitted from the transmission device 40 to the reception device 60 using an integrated maintenance frame in which a plurality of maintenance frames and user frames are connected. Since overlapping data is deleted when a plurality of maintenance frames are connected, the amount of data can be made smaller than when individual maintenance frames are transmitted. In addition, the interframe gap between maintenance frames, which is necessary when transmitting individual maintenance frames, is not necessary by connecting them. As a result, the transmission efficiency of information necessary for maintenance is improved. In the communication system according to the present embodiment, with such a configuration, even when a plurality of maintenance frames are output in a short time, the delay of the user frame can be suppressed while reliably transmitting the maintenance frames. .
[Fourth Embodiment]
A fourth embodiment of the present invention will be described in detail with reference to the drawings. FIG. 15 shows an overview of the configuration of the communication system of the present embodiment. The communication system of the present embodiment includes a transmission device 70 and a reception device 80 as in the second embodiment. The transmission device 70 and the reception device 80 are connected via a transmission path 90. Although the transmission device and the reception device of the communication systems of the second and third embodiments have been inspected for the presence or absence of an error in the frame data, this is not implemented in this embodiment. Therefore, there is no need to perform processing in units of frames when transmitting / receiving frames. Since processing in units of frames is not required, it can be applied to a repeater type transmission device and reception device.

本実施形態の送信装置70について説明する。図16は、本実施形態の送信装置70の構成の概要を示したものである。本実施形態の送信装置70は、受信部71と、保守フレーム判断部72と、送信部73と、遅延バッファメモリ部74を備えている。また、本実施形態の送信装置70は、保守フレーム送信部75と、保守イベント信号発生部76と、フレーム長検出部77と、データ削除部78と、統合保守フレーム作成部79をさらに備えている。   The transmission device 70 of this embodiment will be described. FIG. 16 shows an outline of the configuration of the transmission device 70 of the present embodiment. The transmission device 70 of this embodiment includes a reception unit 71, a maintenance frame determination unit 72, a transmission unit 73, and a delay buffer memory unit 74. The transmission device 70 of this embodiment further includes a maintenance frame transmission unit 75, a maintenance event signal generation unit 76, a frame length detection unit 77, a data deletion unit 78, and an integrated maintenance frame creation unit 79. .

受信部71、保守フレーム判断部72および送信部73の構成と機能は、第2の実施形態の送信装置の同名称の部位と同様である。また、遅延バッファメモリ部74、保守フレーム送信部75、保守イベント信号発生部76およびフレーム長検出部77の構成と機能は、第2の実施形態の送信装置の同名称の部位と同様である。本実施形態において、受信部71から出力された信号は、送信装置70の内部で用いる信号の形式に変換され、ユーザフレーム信号S71として保守フレーム判断部72に送られる。すなわち、本実施形態の送信装置70は受信部71の後段にFCS検査部を備えていない。   The configurations and functions of the reception unit 71, the maintenance frame determination unit 72, and the transmission unit 73 are the same as the parts having the same names in the transmission apparatus of the second embodiment. The configurations and functions of the delay buffer memory unit 74, the maintenance frame transmission unit 75, the maintenance event signal generation unit 76, and the frame length detection unit 77 are the same as the parts having the same names in the transmission apparatus of the second embodiment. In the present embodiment, the signal output from the reception unit 71 is converted into a signal format used inside the transmission device 70 and is sent to the maintenance frame determination unit 72 as a user frame signal S71. That is, the transmission device 70 of this embodiment does not include an FCS inspection unit at the subsequent stage of the reception unit 71.

データ削除部78は、フレームフォーマットの情報を基にユーザフレームから所定のデータを削除する機能を有する。本実施形態では、所定のデータは、プリアンブル、SFDとして設定されている。所定のデータが削除されると、本実施形態のユーザフレームは、DA、SA、タイプ/データ長、データおよびFCSにより構成されたフレームとなる。本実施形態のデータ削除部78は、ユーザフレームのFCSの削除を行わない。データ削除部78は、入力されたユーザフレームから、所定のデータを削除すると、残りのデータで構成されるフレームを分離ユーザフレーム信号S75として統合フレーム生成部79に出力する。   The data deletion unit 78 has a function of deleting predetermined data from the user frame based on the frame format information. In the present embodiment, the predetermined data is set as a preamble and SFD. When the predetermined data is deleted, the user frame of the present embodiment becomes a frame composed of DA, SA, type / data length, data, and FCS. The data deleting unit 78 of this embodiment does not delete the user frame FCS. When the data deletion unit 78 deletes predetermined data from the input user frame, the data deletion unit 78 outputs a frame including the remaining data to the integrated frame generation unit 79 as a separated user frame signal S75.

統合保守フレーム生成部79は、保守フレームと、ユーザフレームから所定のデータを削除したフレームを結合した1つのフレームを統合保守フレームとして生成する機能を有する。統合保守フレーム生成部79は、入力された保守フレームのデータの最後尾に、ユーザフレームから所定のデータを削除したフレームを結合することにより統合保守フレームを生成する。本実施形態の統合保守フレーム生成部79は、保守フレームの最後尾のFCSのデータを削除しない。すなわち、保守フレームの最後尾のFCSのデータの後に、所定のデータを削除したユーザフレームが結合される。統合保守フレーム生成部79は、生成した統合保守フレームを統合保守フレーム信号S76として送信部73に送る。   The integrated maintenance frame generation unit 79 has a function of generating, as an integrated maintenance frame, one frame obtained by combining the maintenance frame and a frame obtained by deleting predetermined data from the user frame. The integrated maintenance frame generation unit 79 generates an integrated maintenance frame by combining a frame obtained by deleting predetermined data from the user frame with the tail of the input maintenance frame data. The integrated maintenance frame generation unit 79 of this embodiment does not delete the last FCS data of the maintenance frame. That is, after the last FCS data of the maintenance frame, a user frame from which predetermined data is deleted is combined. The integrated maintenance frame generation unit 79 sends the generated integrated maintenance frame to the transmission unit 73 as an integrated maintenance frame signal S76.

図17は、本実施形態の統合保守フレームの構成を示したものである。図17の最上段、すなわち(A)として示した段は、保守フレームおよびユーザフレームの構成を示している。各保守フレームおよびユーザフレームの構成は第2の実施形態と同様である。図17の上から2段目、すなわち(B)として示した段は、本実施形態の統合保守フレームのうち、保守フレームのデータに基づいた部分の構成を示している。本実施形態では、統合保守フレームを構成する保守フレームに基づくデータはFCSを含む。また、図17の上から3段目、すなわち(C)の段に示す統合保守フレームのうち、ユーザフレームのデータに基づいた部分は、第2の実施形態と同様の部分に加えFCSのデータが含まれている。   FIG. 17 shows the configuration of the integrated maintenance frame of this embodiment. The uppermost stage in FIG. 17, that is, the stage shown as (A) shows the configuration of the maintenance frame and the user frame. The configuration of each maintenance frame and user frame is the same as in the second embodiment. The second stage from the top in FIG. 17, that is, the stage shown as (B), shows the configuration of the part of the integrated maintenance frame of this embodiment based on the data of the maintenance frame. In the present embodiment, the data based on the maintenance frame constituting the integrated maintenance frame includes FCS. Also, in the integrated maintenance frame shown in the third row from the top in FIG. 17, that is, the row (C), the portion based on the user frame data is the same as in the second embodiment, but the FCS data is include.

図17の最下段、すなわち(D)に示した段は、本実施形態の統合保守フレームの構成を示している。統合保守フレームは、保守フレームの部分の最後尾とユーザフレームの部分の最後尾にそれぞれのフレームが有していたFCSがそのまま付加されている。すなわち、本実施形態の送信装置70は、統合保守フレームを生成する際に、保守フレームおよびユーザフレームのFCSの削除を行わない。FCSの領域を2か所有するため、抑制できる遅延量は、第2の実施形態の統合保守フレームに比べて、1byte少ない20byte分となるが、第2の実施形態と同様の効果を得ることができる。   The lowermost stage of FIG. 17, that is, the stage shown in (D) shows the configuration of the integrated maintenance frame of the present embodiment. In the integrated maintenance frame, the FCS included in each frame is added as it is to the end of the maintenance frame portion and the end of the user frame portion. That is, the transmission device 70 of the present embodiment does not delete the FCS of the maintenance frame and the user frame when generating the integrated maintenance frame. Since two FCS areas are owned, the amount of delay that can be suppressed is 20 bytes less by 1 byte than the integrated maintenance frame of the second embodiment, but the same effect as in the second embodiment can be obtained. it can.

本実施形態の受信装置80について説明する。図18は本実施形態の受信装置80の構成の概要について示したものである。受信装置80は、受信部81と、判断コード判断部82と、送信部83を備えている。また、受信装置80は、フレーム長検出部84と、フレーム分離部85と、保守フレーム受信部86と、データ追加部87をさらに備えている。受信部81と、判断コード判断部82と、送信部83を備えている。本実施形態の受信装置80は、受信部81の後段に統合FCS検査部を備えていない。受信部81、判断コード判断部82、送信部83、フレーム長検出部84、フレーム分離部85、保守フレーム受信部86およびデータ追加部87の構成と機能は第2の実施形態の受信装置80の同名称の部位と同様である。   The receiving device 80 of this embodiment will be described. FIG. 18 shows an outline of the configuration of the receiving device 80 of the present embodiment. The reception device 80 includes a reception unit 81, a determination code determination unit 82, and a transmission unit 83. The receiving device 80 further includes a frame length detecting unit 84, a frame separating unit 85, a maintenance frame receiving unit 86, and a data adding unit 87. A reception unit 81, a determination code determination unit 82, and a transmission unit 83 are provided. The receiving device 80 according to the present embodiment does not include an integrated FCS inspection unit at the subsequent stage of the receiving unit 81. The configuration and function of the reception unit 81, the determination code determination unit 82, the transmission unit 83, the frame length detection unit 84, the frame separation unit 85, the maintenance frame reception unit 86, and the data addition unit 87 are the same as those of the reception device 80 of the second embodiment. It is the same as the site | part of the same name.

データ追加部87は、プリアンブルおよびSFDを付加したユーザフレームを、ユーザフレーム信号S87として送信部83に送る。本実施形態では、フレーム分離部85で分離されたユーザフレームがFCSを有している。は、最後尾にFCSのデータが付加されている。   The data adding unit 87 sends the user frame to which the preamble and SFD are added to the transmitting unit 83 as a user frame signal S87. In the present embodiment, the user frame separated by the frame separation unit 85 has an FCS. Is appended with FCS data at the end.

本実施形態の通信システムにおいて送信装置70から受信装置80に統合保守フレームが送信される際の動作について説明する。図19は送信装置70が、統合保守フレームを送信する際の動作フローの概要を示したものである。   An operation when an integrated maintenance frame is transmitted from the transmission device 70 to the reception device 80 in the communication system of the present embodiment will be described. FIG. 19 shows an outline of an operation flow when the transmission device 70 transmits an integrated maintenance frame.

送信装置70にフレームが入力されると、受信部71がフレームを受信する(ステップ171)。受信部71は、入力されたフレームを通信装置70の内部で用いる信号の形式に変換する。受信部71は、内部で用いる信号形式に変換すると、フレームのデータをユーザフレーム信号S71として保守フレーム判断部72に送る。   When a frame is input to the transmission device 70, the receiving unit 71 receives the frame (step 171). The receiving unit 71 converts the input frame into a signal format used inside the communication device 70. When converted to a signal format used internally, the reception unit 71 sends the frame data to the maintenance frame determination unit 72 as a user frame signal S71.

保守フレームが出力されていないとき、すなわち、保守イベント信号S72を受け取っていないとき(ステップ172でNo)、保守フレーム判断部72は入力されたフレームおよびその次のフレームのユーザフレーム信号S71を送信部73に送る。例えば、第1フレームが入力されている間に、保守イベント信号を受け取らなかったときは、保守フレーム判断部72は、第1フレームおよび第2フレームを送信部73に送る。送信部73は、ユーザフレーム信号S71としてユーザフレームを受け取ると、ユーザフレームのデータを元に、伝送路90で通信を行う際の信号を生成する。送信部73は信号の生成を行うと、伝送路90へユーザフレームから生成した信号を送信する(ステップ180)。   When the maintenance frame is not output, that is, when the maintenance event signal S72 is not received (No in step 172), the maintenance frame determination unit 72 transmits the input frame and the user frame signal S71 of the next frame to the transmission unit. 73. For example, when the maintenance event signal is not received while the first frame is being input, the maintenance frame determination unit 72 sends the first frame and the second frame to the transmission unit 73. When receiving the user frame as the user frame signal S71, the transmission unit 73 generates a signal for performing communication on the transmission path 90 based on the data of the user frame. When generating the signal, the transmission unit 73 transmits the signal generated from the user frame to the transmission path 90 (step 180).

保守フレーム送信部75は、保守フレームの出力が必要であることを検知すると保守フレームを保守フレーム信号S72として保守イベント信号発生部76に送る。保守イベント信号発生部76は、保守フレーム信号S72を受け取ると、保守イベント信号S73を保守フレーム判断部72に送る。また、保守イベント信号発生部76は、受け取った保守フレーム信号S72を統合保守フレーム生成部79に送る。   When the maintenance frame transmission unit 75 detects that the maintenance frame needs to be output, the maintenance frame transmission unit 75 sends the maintenance frame to the maintenance event signal generation unit 76 as a maintenance frame signal S72. When receiving the maintenance frame signal S72, the maintenance event signal generation unit 76 sends the maintenance event signal S73 to the maintenance frame determination unit 72. Further, the maintenance event signal generation unit 76 sends the received maintenance frame signal S72 to the integrated maintenance frame generation unit 79.

保守フレームが出力されたとき、すなわち、保守イベント信号S72を受け取ったとき(ステップ172でYes)、保守フレーム判断部72は、そのときに入力されているフレームのユーザフレーム信号S71をそのまま送信部73に送る。また、保守イベント信号を受け取ったとき、保守フレーム判断部72は、信号を受け取ったときに入力されているフレームの次に入力されてくるフレームのユーザフレーム信号S71を、フレーム長検出部77に送る。また、保守フレーム判断部72は、フレーム長検出部77に送ったフレームの次に入力されてくるフレームを、遅延バッファメモリ部74に送る。遅延バッファメモリ部74は、フレームが入力されると、入力されたフレームのデータを保存して遅延させる(ステップ173)。   When the maintenance frame is output, that is, when the maintenance event signal S72 is received (Yes in Step 172), the maintenance frame determination unit 72 transmits the user frame signal S71 of the frame input at that time as it is to the transmission unit 73. Send to. When the maintenance event signal is received, the maintenance frame determination unit 72 sends the user frame signal S71 of the frame input next to the frame input when the signal is received to the frame length detection unit 77. . Further, the maintenance frame determination unit 72 sends the frame input next to the frame sent to the frame length detection unit 77 to the delay buffer memory unit 74. When a frame is input, the delay buffer memory unit 74 stores and delays the input frame data (step 173).

統合保守フレーム生成部79に、保守フレーム信号S72が入力されると、統合保守フレーム生成部79は、保守フレームに判断コードを追加する(ステップ174)。本実施形態の判断コードは第2の実施形態と同様に設定されている。   When the maintenance frame signal S72 is input to the integrated maintenance frame generation unit 79, the integrated maintenance frame generation unit 79 adds a determination code to the maintenance frame (step 174). The determination code of this embodiment is set in the same manner as in the second embodiment.

ユーザフレーム信号S71としてフレームが入力されると、フレーム長検出部77は、入力されたフレームのデータ長の情報を検出する(ステップ175)。フレーム長検出部77は、データ長の情報を抽出するとフレームフォーマットの情報を生成し、フレームとフレームフォーマットの情報をフレーム長情報信号S74としてデータ削除部78に送る。   When a frame is input as the user frame signal S71, the frame length detection unit 77 detects information on the data length of the input frame (step 175). When the data length information is extracted, the frame length detection unit 77 generates frame format information, and sends the frame and frame format information to the data deletion unit 78 as a frame length information signal S74.

データ削除部78は、フレーム長情報信号S74としてフレームとフレームフォーマットの情報を受け取ると、フレームフォーマットの情報に基づいて、フレームから所定のデータを削除する(ステップ176)。データ削除部78は、所定のデータとして、プリアンブル、SFDを削除する。このとき、FCSのデータは削除されない。データ削除部78は、フレームから所定のデータを削除すると、所定のデータを削除したフレームのデータを、分離ユーザフレーム信号S75として統合保守フレーム生成部79に送る。   When receiving the frame and frame format information as the frame length information signal S74, the data deleting unit 78 deletes predetermined data from the frame based on the frame format information (step 176). The data deletion unit 78 deletes the preamble and SFD as the predetermined data. At this time, the FCS data is not deleted. When the predetermined data is deleted from the frame, the data deletion unit 78 sends the data of the frame from which the predetermined data has been deleted to the integrated maintenance frame generation unit 79 as a separated user frame signal S75.

統合保守フレーム生成部79は、保守フレーム信号S72と分離ユーザフレーム信号S75を受け取ると、保守フレームのデータの最後尾、すなわちFCSの後ろに、所定のデータを削除したフレームのデータを結合する。統合保守フレーム生成部79は、2つのフレームのデータを結合して1つのフレームを統合保守フレームとして生成する(ステップ177)。統合保守フレーム生成部79は、生成した統合保守フレームを統合保守フレーム信号S73として送信部73に送る。   When the integrated maintenance frame generation unit 79 receives the maintenance frame signal S72 and the separated user frame signal S75, the integrated maintenance frame generation unit 79 combines the data of the frame from which predetermined data is deleted at the end of the maintenance frame data, that is, after the FCS. The integrated maintenance frame generation unit 79 combines the data of the two frames to generate one frame as an integrated maintenance frame (step 177). The integrated maintenance frame generator 79 sends the generated integrated maintenance frame to the transmitter 73 as an integrated maintenance frame signal S73.

送信部73は、統合保守フレーム信号S76を受け取ると、統合保守フレームのデータを元に、伝送路90で通信を行う際の信号を生成する。送信部73は信号の生成を行うと、伝送路90へ統合保守フレームから生成した信号を送信する(ステップ178)。   Upon receiving the integrated maintenance frame signal S76, the transmission unit 73 generates a signal for performing communication on the transmission path 90 based on the data of the integrated maintenance frame. When generating the signal, the transmission unit 73 transmits the signal generated from the integrated maintenance frame to the transmission path 90 (step 178).

遅延バッファメモリ部74は、所定のタイミングで保存していたフレームを保守フレーム判断部72に出力する。保守フレーム判断部72は、遅延バッファメモリ部74から受け取ったフレームをユーザフレーム信号S71として送信部73に送る。送信部73は、統合保守フレームの送信後に所定のフレーム間ギャップを空けて、保守フレーム判断部72から受け取ったフレームを所定の信号形式に変換して伝送路90に送信する(ステップ179)。   The delay buffer memory unit 74 outputs the frame stored at a predetermined timing to the maintenance frame determination unit 72. The maintenance frame determination unit 72 sends the frame received from the delay buffer memory unit 74 to the transmission unit 73 as a user frame signal S71. The transmission unit 73 opens a predetermined inter-frame gap after transmitting the integrated maintenance frame, converts the frame received from the maintenance frame determination unit 72 into a predetermined signal format, and transmits the frame to the transmission path 90 (step 179).

次に、受信装置80において統合保守フレームを受信する際の動作について説明する。図20は本実施形態の受信装置80が統合保守フレームを受信する際のフローを示したものである。送信装置70から送信された信号は、伝送路90を伝送され受信装置80に入力される。   Next, an operation when the receiving apparatus 80 receives an integrated maintenance frame will be described. FIG. 20 shows a flow when the receiving device 80 of this embodiment receives an integrated maintenance frame. A signal transmitted from the transmission device 70 is transmitted through the transmission path 90 and input to the reception device 80.

受信装置80の受信部81は、伝送路90を介して送信装置70が送信したフレームの信号を受信する(ステップ191)。信号が入力されると、受信部81は、入力された信号の電気信号への変換や復号を行い受信装置80の内部で用いる信号の形式に変換する。受信部81は、受信装置80の内部で用いる信号の形式に変換されたフレームを、フレーム信号S81として判断コード判断部82に送る。フレーム信号S81としてフレームが入力されると、判断コード判断部82は、入力されたフレームの判断コードの情報を抽出する。   The receiving unit 81 of the receiving device 80 receives the frame signal transmitted from the transmitting device 70 via the transmission path 90 (step 191). When a signal is input, the receiving unit 81 converts the input signal into an electric signal and decodes it to a signal format used inside the receiving device 80. The receiving unit 81 sends the frame converted into the signal format used inside the receiving device 80 to the determination code determining unit 82 as the frame signal S81. When a frame is input as the frame signal S81, the determination code determination unit 82 extracts information on the determination code of the input frame.

判断コードが無く通常のフレームであったとき(ステップ192でNo)、判断コード判断部82はフレームをユーザフレーム信号S82として送信部83に送る。   When there is no determination code and the frame is a normal frame (No in step 192), the determination code determination unit 82 transmits the frame to the transmission unit 83 as a user frame signal S82.

判断コードが付加されているとき(ステップ192でYes)、判断コード判断部82はフレームを統合保守フレーム信号S83としてフレーム長検出部84に送る(ステップ193)。フレーム長検出部84は、フレームを受け取ると、フレームのタイプとデータ長の情報を抽出して、フレームフォーマットの情報を生成する。フレーム長検出部84は、フレームフォーマットの情報を生成すると、フレームとフレームフォーマットの情報をフレーム長情報信号S84としてフレーム分離部85に送る。   When the determination code is added (Yes in step 192), the determination code determination unit 82 sends the frame to the frame length detection unit 84 as the integrated maintenance frame signal S83 (step 193). When the frame length detection unit 84 receives the frame, the frame length detection unit 84 extracts information on the frame type and the data length, and generates frame format information. When generating the frame format information, the frame length detection unit 84 sends the frame and the frame format information to the frame separation unit 85 as a frame length information signal S84.

フレーム分離部85は、フレーム長情報信号S84としてフレームとフレームフォーマットの情報を受け取ると、判断コードを確認する。判断コードが統合保守フレームを示すものである場合には、フレーム分離部85は入力されたフレームを、保守フレームとユーザフレームのデータとに分離する(ステップ194)。分離して生成されるユーザフレームは、通常のユーザフレームの構成と比較して、プリアンブルおよびSFDが無い構成となっている。すなわち、分離後のユーザフレームはFCSを有している。判断コードが、保守フレームを示すものである場合は、フレーム分離部85はフレームの分離を行わずにそのまま保守フレーム受信部86に送る。   When the frame separation unit 85 receives the frame and frame format information as the frame length information signal S84, the frame separation unit 85 confirms the determination code. If the determination code indicates an integrated maintenance frame, the frame separation unit 85 separates the input frame into maintenance frame and user frame data (step 194). The user frame generated separately is configured to have no preamble and SFD compared to the configuration of a normal user frame. That is, the separated user frame has FCS. If the determination code indicates a maintenance frame, the frame separation unit 85 sends the frame as it is to the maintenance frame reception unit 86 without performing frame separation.

フレーム分離部85は、統合保守フレームを分離して生成した保守フレームを、分離保守フレーム信号S85として保守フレーム受信部86に送る。保守フレーム受信部86は、分離保守フレーム信号S85を受け取ると、保守フレームが示す情報に従って所定の処理を行う(ステップ195)。   The frame separation unit 85 sends a maintenance frame generated by separating the integrated maintenance frame to the maintenance frame receiving unit 86 as a separated maintenance frame signal S85. When receiving the separated maintenance frame signal S85, the maintenance frame receiving unit 86 performs a predetermined process according to the information indicated by the maintenance frame (step 195).

フレーム分離部85は、統合保守フレームを分離して生成したユーザフレームを、分離ユーザフレーム信号S86としてデータ追加部87に送る。データ追加部87は、分離ユーザフレーム信号S86を受け取ると、受け取ったユーザフレームの先頭に所定のデータを追加する(ステップ196)。データ追加部87は、所定のデータとして、ユーザフレームにプリアンブルおよびSFDのデータを付加する。データ追加部87は、プリアンブルおよびSFDを追加したユーザフレームをユーザフレーム信号S87として送信部83に送る。   The frame separation unit 85 sends the user frame generated by separating the integrated maintenance frame to the data addition unit 87 as a separated user frame signal S86. Upon receiving the separated user frame signal S86, the data adding unit 87 adds predetermined data to the head of the received user frame (step 196). The data adding unit 87 adds preamble and SFD data to the user frame as predetermined data. The data adding unit 87 sends the user frame to which the preamble and SFD are added to the transmitting unit 83 as a user frame signal S87.

送信部83は、判断コード判断部82およびデータ追加部87からユーザフレーム信号S81またはユーザフレーム信号S87を受け取ると、受け取ったユーザフレームのデータを受信装置80から出力する際の信号形式に変換する。送信部83は、受信装置80から出力する際の信号形式に変換すると、ユーザフレームのデータから変換された信号を受信装置80に接続された通信回線等に送信する(ステップ197)。   Upon receiving the user frame signal S81 or the user frame signal S87 from the determination code determination unit 82 and the data addition unit 87, the transmission unit 83 converts the received user frame data into a signal format for output from the reception device 80. When the transmission unit 83 converts the signal format into the signal format for output from the reception device 80, the transmission unit 83 transmits the signal converted from the user frame data to a communication line or the like connected to the reception device 80 (step 197).

本実施形態の受信装置80の保守フレーム受信部86において、保守フレームの処理を行う前にエラーの確認が行われる構成としてもよい。保守フレーム受信部86においてエラーの確認を行う場合は、保守フレームの最後尾のFCSを用いることができる。エラーの確認を行うことで、保守に関する動作をより正確に実行できるようになる。   The maintenance frame receiving unit 86 of the receiving device 80 according to the present embodiment may be configured such that an error is confirmed before the maintenance frame is processed. When an error is confirmed in the maintenance frame receiving unit 86, the last FCS of the maintenance frame can be used. By checking for errors, operations related to maintenance can be executed more accurately.

本実施形態の通信システムの送信装置70および受信装置80は、受信部のFCS検査部を備えていない。そのため、フレーム単位の処理を行わない通信方式に用いることができる。すなわち、リピータタイプの通信装置にも適用することが可能となる。また、第2の実施形態と同様に保守フレームの送信が必要な場合においても、ユーザフレームの伝送効率の低下を抑制することが可能となる。   The transmission device 70 and the reception device 80 of the communication system according to the present embodiment do not include the FCS inspection unit of the reception unit. Therefore, it can be used for a communication method that does not perform processing in units of frames. That is, it can be applied to a repeater type communication apparatus. In addition, as in the second embodiment, even when a maintenance frame needs to be transmitted, it is possible to suppress a decrease in user frame transmission efficiency.

図21は、第1の実施形態の送信装置、または、第2乃至第4の実施形態の通信システムを、通信事業者とユーザ間の光通信システムに適用した場合の例を示している。図21に示す通信事業者建物の、MC(メディアコンバータ)センター装置に本発明の各実施形態の送信装置を用いる。また、ユーザ建物のMC(メディアコンバータ)端末装置に本発明の各実施形態の受信装置を用いる。このような、構成はケーブルテレビなどの映像配信システムやインターネット回線に用いることができる。本発明の各実施形態の送信装置または通信システムを適用することにより、保守信号を保守フレームとして伝送する場合においてもユーザフレームが破棄される状態を抑制することが可能となる。その結果、通信事業者からユーザへの情報データを安定して送信することができる。   FIG. 21 illustrates an example in which the transmission device according to the first embodiment or the communication system according to the second to fourth embodiments is applied to an optical communication system between a communication carrier and a user. The transmission device according to each embodiment of the present invention is used in the MC (media converter) center device of the communication carrier building shown in FIG. In addition, the receiving device according to each embodiment of the present invention is used for an MC (media converter) terminal device in a user building. Such a configuration can be used for a video distribution system such as a cable television or an Internet line. By applying the transmission device or the communication system according to each embodiment of the present invention, it is possible to suppress a state in which a user frame is discarded even when a maintenance signal is transmitted as a maintenance frame. As a result, information data from the communication carrier to the user can be stably transmitted.

上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。   A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.

(付記1)
保守信号の送信が必要なときに保守フレームを出力する保守フレーム出力手段と、
前記保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力される第2のユーザフレームから所定のデータを削除するデータ削除手段と、
前記保守フレームに、前記所定のデータを削除した後の前記第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成する統合フレーム生成手段と、
前記統合保守フレームを送信する送信手段と
を備えることを特徴とする送信装置。
(Appendix 1)
Maintenance frame output means for outputting a maintenance frame when a maintenance signal needs to be transmitted;
Data deleting means for deleting predetermined data from a second user frame input next to the first user frame input when the maintenance frame is output;
An integrated frame generating means for combining the second user frame after deleting the predetermined data with the maintenance frame, and generating one continuous frame as an integrated maintenance frame;
A transmission apparatus comprising: transmission means for transmitting the integrated maintenance frame.

(付記2)
前記統合保守フレーム生成手段は、前記統合保守フレームの所定の領域に前記統合保守フレームであることを示す所定の符号を付加することを特徴とする付記1に記載の送信装置。
(Appendix 2)
The transmission apparatus according to appendix 1, wherein the integrated maintenance frame generation unit adds a predetermined code indicating the integrated maintenance frame to a predetermined area of the integrated maintenance frame.

(付記3)
前記データ削除手段は、あらかじめ設定され各ユーザフレームで共通する符号を前記所定のデータとして削除することを特徴とする付記1または2いずれかに記載の送信装置。
(Appendix 3)
The transmission apparatus according to any one of appendices 1 and 2, wherein the data deletion unit deletes a preset code common to each user frame as the predetermined data.

(付記4)
前記データ削除手段は、前記所定のデータとして少なくともプリアンブルおよびSFD(Start Frame Delimiter)を削除することを特徴とする付記1または2いずれかに記載の送信装置。
(Appendix 4)
3. The transmission apparatus according to claim 1, wherein the data deleting unit deletes at least a preamble and an SFD (Start Frame Delimiter) as the predetermined data.

(付記5)
入力されるユーザフレームを保存する保存手段をさらに備え、
前記保存手段は、前記保守フレームが検知されたときに、前記第2のユーザフレームの次に入力される第3のユーザフレームを保存し、
前記送信手段は、前記第2のユーザフレームが結合された前記統合保守フレームの送信後に、前記第3のユーザフレームを送信することを特徴とする付記1から4いずれかに記載の送信装置。
(Appendix 5)
A storage unit for storing the input user frame;
The storage means stores a third user frame input next to the second user frame when the maintenance frame is detected;
The transmission device according to any one of appendices 1 to 4, wherein the transmission unit transmits the third user frame after transmitting the integrated maintenance frame combined with the second user frame.

(付記6)
前記統合フレーム生成手段は、複数の前記保守フレームを結合した後に前記ユーザフレームを結合することを特徴とする付記1から5いずれかに記載の送信装置。
(Appendix 6)
The transmission apparatus according to any one of appendices 1 to 5, wherein the integrated frame generation unit combines the user frames after combining the plurality of maintenance frames.

(付記7)
前記統合フレーム生成手段は、前記統合保守フレームに連結した前記保守フレームの数を示す情報を付加することを特徴とする付記6に記載の送信装置。
(Appendix 7)
The transmission apparatus according to appendix 6, wherein the integrated frame generation unit adds information indicating the number of maintenance frames connected to the integrated maintenance frame.

(付記8)
前記統合保守フレーム検出手段が生成した前記統合保守フレームにエラー検出符号を付加する符号付加手段をさらに備え、
前記統合保守フレーム検出手段は、前記保守フレームおよび前記第2のユーザフレームのそれぞれのエラー検出符号を削除した状態で前記統合保守フレームを生成することを特徴とする付記1から7いずれかに記載の送信装置。
(Appendix 8)
Code addition means for adding an error detection code to the integrated maintenance frame generated by the integrated maintenance frame detection means;
8. The integrated maintenance frame detection unit according to any one of appendices 1 to 7, wherein the integrated maintenance frame detection unit generates the integrated maintenance frame in a state where error detection codes of the maintenance frame and the second user frame are deleted. Transmitter device.

(付記9)
前記統合フレーム生成手段は、前記保守フレームのエラー検出符号の後ろに、前記ユーザフレームを結合することを特徴とする付記1から8いずれかに記載の送信装置。
(Appendix 9)
9. The transmission apparatus according to any one of appendices 1 to 8, wherein the integrated frame generation unit combines the user frame after an error detection code of the maintenance frame.

(付記10)
伝送路を介してフレームを受信するフレーム受信手段と、
前記フレームが保守フレームとユーザフレームが1つのフレームとして結合された、統合保守フレームであるかを判断する判断手段と、
前記フレームが前記統合保守フレームであった場合に、前記統合保守フレームを前記保守フレームと前記ユーザフレームとに分離するフレーム分離手段と
を備えることを特徴とする受信装置。
(Appendix 10)
Frame receiving means for receiving a frame via a transmission path;
Determining means for determining whether the frame is an integrated maintenance frame in which a maintenance frame and a user frame are combined as one frame;
A receiving apparatus, comprising: a frame separating unit that separates the integrated maintenance frame into the maintenance frame and the user frame when the frame is the integrated maintenance frame.

(付記11)
前記判断手段は前記フレームに付加された前記統合保守フレームであることを示す所定の符号を基に判断することを特徴とする付記10に記載の受信装置。
(Appendix 11)
11. The receiving apparatus according to appendix 10, wherein the determination unit makes a determination based on a predetermined code indicating the integrated maintenance frame added to the frame.

(付記12)
前記統合保守フレームが複数の前記保守フレームで構成されているときに、
前記フレーム分離手段は、前記統合保守フレームを複数の前記保守フレームと前記ユーザフレームとに分離することを特徴とする付記10または11いずれかに記載の受信装置。
(Appendix 12)
When the integrated maintenance frame is composed of a plurality of the maintenance frames,
12. The receiving apparatus according to claim 10, wherein the frame separating unit separates the integrated maintenance frame into a plurality of the maintenance frames and the user frames.

(付記13)
前記統合保守フレームが複数の前記保守フレームで構成されているときに、
前記フレーム分離手段は、前記統合保守フレームに付加された所定の情報を基に前記保守フレームの連結数を検知することを特徴とする付記12に記載の受信装置。
(Appendix 13)
When the integrated maintenance frame is composed of a plurality of the maintenance frames,
13. The receiving apparatus according to appendix 12, wherein the frame separation unit detects the number of connections of the maintenance frames based on predetermined information added to the integrated maintenance frame.

(付記14)
前記統合保守フレームのフレームフォーマットを所定の方法で算出する算出手段をさらに備えることを特徴とする付記10から13いずれかに記載の受信装置。
(Appendix 14)
14. The receiving apparatus according to any one of appendices 10 to 13, further comprising a calculation unit that calculates a frame format of the integrated maintenance frame by a predetermined method.

(付記15)
付記1から9いずれかに記載の送信装置と、
付記10または14いずれかに記載の受信装置とを備え、
前記送信装置から送信された前記統合保守フレームが、伝送路を介して前記受信装置に入力されることを特徴とする通信システム。
(Appendix 15)
The transmission device according to any one of appendices 1 to 9,
Including the receiving device according to any one of appendix 10 or 14,
The communication system, wherein the integrated maintenance frame transmitted from the transmitting device is input to the receiving device via a transmission path.

(付記16)
保守信号の送信が必要なときに保守フレームを出力し、
前記保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力される第2のユーザフレームから所定のデータを削除し、
前記保守フレームに、前記所定のデータを削除した後の前記第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成し、
前記統合保守フレームを送信することを特徴とする通信方法。
(Appendix 16)
When a maintenance signal needs to be transmitted, a maintenance frame is output.
Deleting predetermined data from the second user frame input next to the first user frame input when the maintenance frame is output;
Combining the second user frame after deleting the predetermined data to the maintenance frame, generating one continuous frame as an integrated maintenance frame,
A communication method comprising transmitting the integrated maintenance frame.

(付記17)
前記統合保守フレームの所定の領域に前記統合保守フレームであることを示す所定の符号を付加することを特徴とする付記16に記載の通信方法。
(Appendix 17)
The communication method according to appendix 16, wherein a predetermined code indicating the integrated maintenance frame is added to a predetermined area of the integrated maintenance frame.

(付記18)
あらかじめ設定され各ユーザフレームで共通する符号を前記所定のデータとして削除することを特徴とする付記16または17いずれかに記載の通信方法。
(Appendix 18)
18. The communication method according to any one of appendix 16 or 17, wherein a code set in advance and common to each user frame is deleted as the predetermined data.

(付記19)
前記保存手段は、前記保守フレームが検知されたときに、前記第2のユーザフレームの次に入力される第3のユーザフレームを保存し、
前記第2のユーザフレームが結合された前記統合保守フレームの送信後に、前記第3のユーザフレームを送信することを特徴とする付記16から18いずれかに記載の通信方法。
(Appendix 19)
The storage means stores a third user frame input next to the second user frame when the maintenance frame is detected;
The communication method according to any one of appendices 16 to 18, wherein the third user frame is transmitted after the integrated maintenance frame combined with the second user frame is transmitted.

(付記20)
複数の前記保守フレームを結合した後に前記ユーザフレームを結合することを特徴とする付記16から19いずれかに記載の通信方法。
(Appendix 20)
20. The communication method according to any one of supplementary notes 16 to 19, wherein the user frame is combined after combining the plurality of maintenance frames.

(付記21)
前記統合保守フレームに連結した前記保守フレームの数を示す情報を付加することを特徴とする付記20に記載の通信方法。
(Appendix 21)
The communication method according to appendix 20, wherein information indicating the number of maintenance frames connected to the integrated maintenance frame is added.

(付記22)
前記保守フレームおよび前記第2のユーザフレームのそれぞれのエラー検出符号を削除した状態で前記統合保守フレームを生成し、
前記統合保守フレームにエラー検出符号を付加することを特徴とする付記16から21いずれかに記載の通信方法。
(Appendix 22)
Generating the integrated maintenance frame with the error detection codes of the maintenance frame and the second user frame deleted,
The communication method according to any one of supplementary notes 16 to 21, wherein an error detection code is added to the integrated maintenance frame.

(付記23)
前記保守フレームのエラー検出符号の後ろに、前記ユーザフレームを結合することを特徴とする付記16から21いずれかに記載の通信方法。
(Appendix 23)
The communication method according to any one of supplementary notes 16 to 21, wherein the user frame is combined after an error detection code of the maintenance frame.

(付記24)
伝送路を介してフレームを受信し、
前記フレームが前記統合保守フレームであるかを判断し、
前記フレームが前記統合保守フレームであった場合に、前記統合保守フレームを前記保守フレームと前記ユーザフレームとに分離することを特徴とする付記16から23いずれかに記載の通信方法。
(Appendix 24)
Receive the frame via the transmission path
Determining whether the frame is the integrated maintenance frame;
24. The communication method according to any one of supplementary notes 16 to 23, wherein when the frame is the integrated maintenance frame, the integrated maintenance frame is separated into the maintenance frame and the user frame.

(付記25)
伝送路を介してフレームを受信し、
前記フレームが保守フレームとユーザフレームが1つのフレームとして結合された、統合保守フレームであるかを判断し、
前記フレームが前記統合保守フレームであった場合に、前記統合保守フレームを前記保守フレームと前記ユーザフレームとに分離することを特徴とする受信方法。
(Appendix 25)
Receive the frame through the transmission path,
Determining whether the frame is an integrated maintenance frame in which a maintenance frame and a user frame are combined as one frame;
When the frame is the integrated maintenance frame, the integrated maintenance frame is separated into the maintenance frame and the user frame.

(付記26)
前記フレームに付加された前記統合保守フレームであることを示す所定の符号を基に前記統合保守フレームであるかを判断することを特徴とする付記25に記載の受信方法。
(Appendix 26)
26. The reception method according to appendix 25, wherein it is determined whether the frame is the integrated maintenance frame based on a predetermined code indicating the integrated maintenance frame added to the frame.

(付記27)
前記統合保守フレームが複数の前記保守フレームで構成されているときに、
前記統合保守フレームを複数の前記保守フレームと前記ユーザフレームとに分離することを特徴とする付記25または26いずれかに記載の受信方法。
(Appendix 27)
When the integrated maintenance frame is composed of a plurality of the maintenance frames,
27. A receiving method according to any one of appendix 25 or 26, wherein the integrated maintenance frame is separated into a plurality of the maintenance frames and the user frames.

(付記28)
前記統合保守フレームが複数の前記保守フレームで構成されているときに、
前記統合保守フレームに付加された所定の情報を基に前記保守フレームの連結数を検知することを特徴とする付記27に記載の受信方法。
(Appendix 28)
When the integrated maintenance frame is composed of a plurality of the maintenance frames,
28. The reception method according to appendix 27, wherein the number of connections of the maintenance frames is detected based on predetermined information added to the integrated maintenance frame.

(付記29)
前記統合保守フレームのフレームフォーマットを所定の方法で算出することを特徴とする付記25から28いずれかに記載の受信方法。
(Appendix 29)
29. The receiving method according to any one of appendices 25 to 28, wherein a frame format of the integrated maintenance frame is calculated by a predetermined method.

1 保守フレーム出力手段
2 データ削除手段
3 統合フレーム生成手段
4 送信手段
10 送信装置
11 受信部
12 FCS検査部
13 保守フレーム判断部
14 送信部
15 遅延バッファメモリ部
16 保守フレーム送信部
17 保守イベント信号発生部
18 フレーム長検出部
19 データ削除部
20 統合保守フレーム生成部
21 統合FCS作成部
30 受信装置
31 受信部
32 統合FCS検査部
33 判断コード判断部
34 送信部
35 フレーム長検出部
36 フレーム分離部
37 保守フレーム受信部
38 データ追加部
39 FCS作成部
40 送信装置
41 受信部
42 FCS検査部
43 保守フレーム判断部
44 送信部
45 遅延バッファメモリ部
46 保守フレーム送信部
47 保守イベント信号発生部
48 フレーム長検出部
49 データ削除部
50 保守フレーム統合部
51 統合FCS作成部
60 受信装置
61 受信部
62 統合FCS検査部
63 判断コード判断部
64 送信部
65 フレーム長検出部
66 フレーム分離部
67 保守フレーム受信部
68 データ追加部
69 FCS作成部
70 送信装置
71 受信部
72 保守フレーム判断部
73 送信部
74 遅延バッファメモリ部
75 保守フレーム送信部
76 保守イベント信号発生部
77 フレーム長検出部
78 データ削除部
79 統合保守フレーム生成部
80 受信装置
81 受信部
82 判断コード判断部
83 送信部
84 フレーム長検出部
85 フレーム分離部
86 保守フレーム受信部
87 データ追加部
90 伝送路
101−113 送信動作のステップ
121−130 受信動作のステップ
131−147 送信動作のステップ
151−160 受信動作のステップ
171−180 送信動作のステップ
191−197 受信動作のステップ
S11 ユーザフレーム信号
S12 保守フレーム信号
S13 保守イベント信号
S14 フレーム長情報信号
S15 分離ユーザフレーム信号
S16 統合フレーム信号
S17 統合保守フレーム信号
S31 フレーム信号
S32 ユーザフレーム信号
S33 統合保守フレーム信号
S34 フレーム長情報信号
S35 分離保守フレーム信号
S36 分離ユーザフレーム信号
S37 データ付加フレーム信号
S38 ユーザフレーム信号
S41 ユーザフレーム信号
S42 保守フレーム信号
S43 保守イベント信号
S44 フレーム長情報信号
S45 分離ユーザフレーム信号
S46 連結フレーム信号
S47 統合保守フレーム信号
S61 フレーム信号
S62 ユーザフレーム信号
S63 統合保守フレーム信号
S64 フレーム長情報信号
S65 分離保守フレーム信号
S66 分離ユーザフレーム信号
S67 データ付加フレーム信号
S68 ユーザフレーム信号
S71 ユーザフレーム信号
S72 保守フレーム信号
S73 保守イベント信号
S74 フレーム長情報信号
S75 分離ユーザフレーム信号
S76 統合保守フレーム信号
S81 フレーム信号
S82 ユーザフレーム信号
S83 統合保守フレーム信号
S84 フレーム長情報信号
S85 分離保守フレーム信号
S86 分離ユーザフレーム信号
S87 ユーザフレーム信号
DESCRIPTION OF SYMBOLS 1 Maintenance frame output means 2 Data deletion means 3 Integrated frame production | generation means 4 Transmission means 10 Transmission apparatus 11 Reception part 12 FCS inspection part 13 Maintenance frame judgment part 14 Transmission part 15 Delay buffer memory part 16 Maintenance frame transmission part 17 Maintenance event signal generation | occurrence | production Unit 18 frame length detection unit 19 data deletion unit 20 integrated maintenance frame generation unit 21 integrated FCS creation unit 30 reception device 31 reception unit 32 integrated FCS inspection unit 33 judgment code determination unit 34 transmission unit 35 frame length detection unit 36 frame separation unit 37 Maintenance frame reception unit 38 Data addition unit 39 FCS creation unit 40 Transmission device 41 Reception unit 42 FCS inspection unit 43 Maintenance frame determination unit 44 Transmission unit 45 Delay buffer memory unit 46 Maintenance frame transmission unit 47 Maintenance event signal generation unit 48 Frame length detection Part 49 Data Deletion Unit 50 Maintenance Frame Integration Unit 51 Integrated FCS Creation Unit 60 Receiver 61 Reception Unit 62 Integrated FCS Inspection Unit 63 Judgment Code Judgment Unit 64 Transmission Unit 65 Frame Length Detection Unit 66 Frame Separation Unit 67 Maintenance Frame Reception Unit 68 Data Addition Unit 69 FCS creation unit 70 transmission device 71 reception unit 72 maintenance frame determination unit 73 transmission unit 74 delay buffer memory unit 75 maintenance frame transmission unit 76 maintenance event signal generation unit 77 frame length detection unit 78 data deletion unit 79 integrated maintenance frame generation unit DESCRIPTION OF SYMBOLS 80 Receiver 81 Receiving part 82 Judgment code judgment part 83 Transmission part 84 Frame length detection part 85 Frame separation part 86 Maintenance frame receiving part 87 Data addition part 90 Transmission path 101-113 Transmission operation step 121-130 Reception operation step 131 − 47 Transmission Operation Step 151-160 Reception Operation Step 171-180 Transmission Operation Step 191-197 Reception Operation Step S11 User Frame Signal S12 Maintenance Frame Signal S13 Maintenance Event Signal S14 Frame Length Information Signal S15 Separated User Frame Signal S16 Integration Frame signal S17 Integrated maintenance frame signal S31 Frame signal S32 User frame signal S33 Integrated maintenance frame signal S34 Frame length information signal S35 Separated maintenance frame signal S36 Separated user frame signal S37 Data-added frame signal S38 User frame signal S41 User frame signal S42 Maintenance frame Signal S43 Maintenance event signal S44 Frame length information signal S45 Separated user frame signal S46 Concatenated frame signal S47 Integrated maintenance frame signal S61 Frame signal S62 User frame signal S63 Integrated maintenance frame signal S64 Frame length information signal S65 Separated maintenance frame signal S66 Separated user frame signal S67 Data-added frame signal S68 User frame signal S71 User frame signal S72 Maintenance frame signal S73 Maintenance Event signal S74 Frame length information signal S75 Separated user frame signal S76 Integrated maintenance frame signal S81 Frame signal S82 User frame signal S83 Integrated maintenance frame signal S84 Frame length information signal S85 Separated maintenance frame signal S86 Separated user frame signal S87 User frame signal

Claims (10)

保守信号の送信が必要なときに保守フレームを出力する保守フレーム出力手段と、
前記保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力される第2のユーザフレームから所定のデータを削除するデータ削除手段と、
前記保守フレームに、前記所定のデータを削除した後の前記第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成する統合フレーム生成手段と、
前記統合保守フレームを送信する送信手段と
を備えることを特徴とする送信装置。
Maintenance frame output means for outputting a maintenance frame when a maintenance signal needs to be transmitted;
Data deleting means for deleting predetermined data from a second user frame input next to the first user frame input when the maintenance frame is output;
An integrated frame generating means for combining the second user frame after deleting the predetermined data with the maintenance frame, and generating one continuous frame as an integrated maintenance frame;
A transmission device comprising: transmission means for transmitting the integrated maintenance frame.
前記統合フレーム生成手段は、前記保守フレームの所定の領域に前記統合保守フレームであることを示す所定の符号を付加することを特徴とする請求項1に記載の送信装置。 The integrated Gofu frame generating means, transmitting apparatus according to claim 1, characterized by adding a predetermined code indicating that it is the integrated maintenance frame in a predetermined area of the maintenance frame. 入力されるユーザフレームを保存する保存手段をさらに備え、
前記保存手段は、前記保守フレームが出力されたときに、前記第2のユーザフレームの次に入力される第3のユーザフレームを保存し、
前記送信手段は、前記第2のユーザフレームが結合された前記統合保守フレームの送信後に、前記第3のユーザフレームを送信することを特徴とする請求項1または2いずれかに記載の送信装置。
A storage unit for storing the input user frame;
The storage unit stores a third user frame that is input next to the second user frame when the maintenance frame is output;
3. The transmission device according to claim 1, wherein the transmission unit transmits the third user frame after transmitting the integrated maintenance frame combined with the second user frame. 4.
前記統合フレーム生成手段は、複数の前記保守フレームを結合した後に前記第2のユーザフレームを結合することを特徴とする請求項1から3いずれかに記載の送信装置。   4. The transmission apparatus according to claim 1, wherein the integrated frame generation unit combines the second user frame after combining a plurality of the maintenance frames. 前記統合フレーム生成手段は、前記保守フレームのエラー検出符号の後ろに、前記第2のユーザフレームを結合することを特徴とする請求項1から4いずれかに記載の送信装置。   5. The transmission apparatus according to claim 1, wherein the integrated frame generation unit combines the second user frame after an error detection code of the maintenance frame. 伝送路を介してフレームを受信するフレーム受信手段と、
前記フレームが保守フレームとユーザフレームが1つのフレームとして結合された、統合保守フレームであるかを判断する判断手段と、
前記フレームが前記統合保守フレームであった場合に、前記統合保守フレームを前記保守フレームと前記ユーザフレームとに分離するフレーム分離手段と
を備えることを特徴とする受信装置。
Frame receiving means for receiving a frame via a transmission path;
Determining means for determining whether the frame is an integrated maintenance frame in which a maintenance frame and a user frame are combined as one frame;
A receiving apparatus comprising: a frame separating unit that separates the integrated maintenance frame into the maintenance frame and the user frame when the frame is the integrated maintenance frame.
前記統合保守フレームが複数の前記保守フレームで構成されているときに、
前記フレーム分離手段は、前記統合保守フレームを複数の前記保守フレームと前記ユーザフレームとに分離することを特徴とする請求項6に記載の受信装置。
When the integrated maintenance frame is composed of a plurality of the maintenance frames,
The receiving apparatus according to claim 6, wherein the frame separating unit separates the integrated maintenance frame into a plurality of the maintenance frames and the user frames.
請求項1から5いずれかに記載の送信装置と、
請求項6または7いずれかに記載の受信装置とを備え、
前記送信装置から送信された前記統合保守フレームが、伝送路を介して前記受信装置に入力されることを特徴とする通信システム。
A transmission device according to any one of claims 1 to 5;
A receiving device according to claim 6 or 7,
The communication system, wherein the integrated maintenance frame transmitted from the transmitting device is input to the receiving device via a transmission path.
保守信号の送信が必要なときに保守フレームを出力し、
前記保守フレームが出力されたときに入力されている第1のユーザフレームの次に入力される第2のユーザフレームから所定のデータを削除し、
前記保守フレームに、前記所定のデータを削除した後の前記第2のユーザフレームを結合し、1つの連続したフレームを統合保守フレームとして生成し、
前記第1のユーザフレームを送信した後に前記統合保守フレームを送信することを特徴とする通信方法。
When a maintenance signal needs to be transmitted, a maintenance frame is output.
Deleting predetermined data from the second user frame input next to the first user frame input when the maintenance frame is output;
Combining the second user frame after deleting the predetermined data to the maintenance frame, generating one continuous frame as an integrated maintenance frame,
A communication method comprising transmitting the integrated maintenance frame after transmitting the first user frame.
伝送路を介してフレームを受信し、
前記フレームが前記統合保守フレームであるかを判断し、
前記フレームが前記統合保守フレームであった場合に、前記統合保守フレームを前記保守フレームと前記ユーザフレームとに分離することを特徴とする請求項9に記載の通信方法。
Receive the frame via the transmission path
Determining whether the frame is the integrated maintenance frame;
The communication method according to claim 9, wherein when the frame is the integrated maintenance frame, the integrated maintenance frame is separated into the maintenance frame and the user frame.
JP2014113876A 2014-06-02 2014-06-02 Transmitting apparatus, receiving apparatus, and communication method Active JP6046663B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014113876A JP6046663B2 (en) 2014-06-02 2014-06-02 Transmitting apparatus, receiving apparatus, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014113876A JP6046663B2 (en) 2014-06-02 2014-06-02 Transmitting apparatus, receiving apparatus, and communication method

Publications (2)

Publication Number Publication Date
JP2015228604A JP2015228604A (en) 2015-12-17
JP6046663B2 true JP6046663B2 (en) 2016-12-21

Family

ID=54885841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014113876A Active JP6046663B2 (en) 2014-06-02 2014-06-02 Transmitting apparatus, receiving apparatus, and communication method

Country Status (1)

Country Link
JP (1) JP6046663B2 (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2904698B2 (en) * 1993-11-11 1999-06-14 アンリツ株式会社 ATM transmission equipment
US7515605B2 (en) * 2003-03-24 2009-04-07 Corrigent Systems Ltd Efficient transport of TDM services over packet networks
JP2008236266A (en) * 2007-03-19 2008-10-02 Fujitsu Ltd Transmission apparatus, maintenance frame processing method, and transmission program
JP5532875B2 (en) * 2009-12-03 2014-06-25 日本電気株式会社 Ethernet (registered trademark) OAM frame communication apparatus, OAM frame processing method, and program
JP2011223496A (en) * 2010-04-14 2011-11-04 Nec Corp Communication apparatus for ethernet (r) oam frame, oam frame processing method and processing program

Also Published As

Publication number Publication date
JP2015228604A (en) 2015-12-17

Similar Documents

Publication Publication Date Title
KR101536141B1 (en) Apparatus and method for converting signal between ethernet and can in a vehicle
US9515919B2 (en) Method and apparatus for protection switching in packet transport system
KR102083927B1 (en) Network Camera and Network image surveilance system
CN110138635B (en) Protocol conversion function verification device and method supporting FC and Ethernet
US7944841B2 (en) Method and apparatus for transmitting error information between ethernet network and synchronous digital hierarchy network
CN105592135B (en) Data redundancy eliminates DRE dictionary confirmation method and equipment
JP5672836B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP6046663B2 (en) Transmitting apparatus, receiving apparatus, and communication method
KR20190013012A (en) Method for transceiving data between heterogeneous network
JP6065108B2 (en) Wireless communication apparatus, wireless communication system, and wireless communication method
JP2015119233A (en) Transmission system, transmission apparatus, and transmission method
CN102970221A (en) Redundancy communication method among nodes based on multiple networks
KR102024521B1 (en) Transmission device and frame transmission method
JP6478244B2 (en) Communication interface device
CN117354873A (en) A carrying method, communication device and storage medium
KR101180223B1 (en) Method of transceiving data packet in ring network and node terminal of ring network for the same
WO2015194903A1 (en) Method and device for controlling reception of broadcast service provided by means of application layer forward error correction
EP2882169B1 (en) Redundant content bridging between substation communication networks
CN114339482B (en) Path switching methods, devices and systems, electronic devices, storage media
US12022247B2 (en) Data communication system, computer, data communication method, and program
JP5320571B2 (en) Internode data response system
US20150256294A1 (en) Transmission apparatus
Youwei et al. Wireless sensors network and the ethernet frame format transformation
JP5396870B2 (en) Broadcast communication method between terminal devices
JP5699701B2 (en) Communication relay device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20151015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160722

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160816

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160901

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: 20161025

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161117

R150 Certificate of patent or registration of utility model

Ref document number: 6046663

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150