JP2014233042A - Communication system, conversion device, and communication method - Google Patents

Communication system, conversion device, and communication method Download PDF

Info

Publication number
JP2014233042A
JP2014233042A JP2013114079A JP2013114079A JP2014233042A JP 2014233042 A JP2014233042 A JP 2014233042A JP 2013114079 A JP2013114079 A JP 2013114079A JP 2013114079 A JP2013114079 A JP 2013114079A JP 2014233042 A JP2014233042 A JP 2014233042A
Authority
JP
Japan
Prior art keywords
data
conversion
packet
conversion data
code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2013114079A
Other languages
Japanese (ja)
Other versions
JP6146806B2 (en
Inventor
加藤 陽一
Yoichi Kato
陽一 加藤
直人 堀内
Naoto Horiuchi
直人 堀内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP2013114079A priority Critical patent/JP6146806B2/en
Publication of JP2014233042A publication Critical patent/JP2014233042A/en
Application granted granted Critical
Publication of JP6146806B2 publication Critical patent/JP6146806B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To ensure synchronization of data.SOLUTION: A communication system 9 comprises: a first conversion device 91 for converting data received from a first synchronous line into conversion data to transmit the data to an asynchronous line; and a second conversion device 92 for re-converting the conversion data transmitted through the asynchronous line to transmit the data to a second synchronous line. The first conversion device 91 includes: a code generation unit 93 for, on the basis of the conversion data belonging to a conversion data group, generating code data showing an error correction code; and a transmission control unit 94 for controlling transmission of the conversion data and the code data. The second conversion device 92 includes a restoration unit 95 for, when failure occurs in the conversion data, restoring the conversion data in which failure occurs on the basis of another conversion data belonging to the conversion data group and the code data. The transmission control unit 94 performs transmission so that at least any two of conversion data belonging to the same conversion data group and code data generated from the conversion data group are not successive with each other.

Description

本発明は、通信システム、変換装置、及び通信方法に関し、特に、同期回線からのデータを変換して非同期回線によって他の同期回線に伝送する技術に関する。   The present invention relates to a communication system, a conversion device, and a communication method, and more particularly to a technique for converting data from a synchronous line and transmitting the data to another synchronous line via an asynchronous line.

同期通信網(同期回線)と非同期通信網(非同期回線)の間でデータを変換して伝送する技術が検討されてきている(特許文献1及び特許文献2)。一般的に、同期通信網の専用線のみで通信網を構築すると、非常に高コストとなってしまう。そこで、特許文献1及び特許文献2にも開示されるように、割安な非同期通信網である広域LAN網を、同期通信網の代わりに利用するシステムが検討されてきている。このシステムでは、送信側の同期通信網におけるデータをIP(Internet Protocol)パケットに変換し、LAN網を介して送信する。そして、LAN網を介して送信されてきたIPパケットを同期通信網におけるデータに変換し、受信側の同期通信網に送信する。   Techniques for converting and transmitting data between a synchronous communication network (synchronous line) and an asynchronous communication network (asynchronous line) have been studied (Patent Documents 1 and 2). Generally, if a communication network is constructed with only a dedicated line for a synchronous communication network, the cost becomes very high. Therefore, as disclosed in Patent Document 1 and Patent Document 2, a system that uses a wide-area LAN network, which is an inexpensive asynchronous communication network, instead of a synchronous communication network has been studied. In this system, data in a synchronous communication network on the transmission side is converted into an IP (Internet Protocol) packet and transmitted via a LAN network. Then, the IP packet transmitted via the LAN network is converted into data in the synchronous communication network, and transmitted to the synchronous communication network on the receiving side.

しかしながら、このように同期通信網と非同期通信網の間でデータを変換して伝送するシステムでは、非同期化通信網においてデータのエラーが発生してしまった場合に、同期通信網において許容される遅延量を超える遅延が発生してしまう場合がある。例えば、非同期通信網である広域LAN網において、IPパケットのエラーに応じて、IPパケットの再送が行われた場合には、再送にかかる時間だけ遅延が発生してしまうことになる。この場合、受信側で、送信側から送信されたデータを正確に取り込むことができなくなってしまう。すなわち、送信側と受信側とでデータの同期が取れなくなってしまうという問題がある。   However, in such a system in which data is converted and transmitted between the synchronous communication network and the asynchronous communication network, if a data error occurs in the asynchronous communication network, the delay allowed in the synchronous communication network There may be a delay exceeding the amount. For example, in a wide area LAN network that is an asynchronous communication network, when an IP packet is retransmitted in response to an IP packet error, a delay occurs for the time required for the retransmission. In this case, the data transmitted from the transmission side cannot be accurately captured on the reception side. That is, there is a problem that data cannot be synchronized between the transmission side and the reception side.

特開2007−235217号公報JP 2007-235217 A 特開2010−177778号公報JP 2010-177778 A

上述したように、同期通信網間において、非同期通信網を介してデータを伝送する場合には、非同期通信網におけるデータの異常の発生によって同期を保障することができなくなってしまうという課題がある。   As described above, when data is transmitted between synchronous communication networks via an asynchronous communication network, there is a problem that synchronization cannot be guaranteed due to the occurrence of data abnormality in the asynchronous communication network.

本発明の目的は、上述したような課題を解決するために、よりデータの同期を保障することができる通信システム、変換装置、通信方法を提供することである。   An object of the present invention is to provide a communication system, a conversion device, and a communication method capable of further ensuring data synchronization in order to solve the above-described problems.

本発明の第1の態様に係る通信システムは、第1の同期回線から受信したデータを、非同期回線で伝送可能な形式に変換した変換データを非同期回線に送信する第1の変換装置と、前記第1の変換装置から前記非同期回線を介して送信された変換データを受信し、同期回線で伝送可能な形式に再変換して第2の同期回線に送信する第2の変換装置と、を備え、前記第1の変換装置は、所定の規則に従って決定される変換データ群毎に、前記変換データ群に属する変換データに基づいて、誤り訂正符号を示す符号データを生成する符号生成部と、前記第2の変換装置への前記変換データ及び前記符号データの送信を制御する送信制御部と、を有し、前記第2の変換装置は、前記変換データ群のいずれかの変換データにおいて異常が発生した場合、前記異常が発生した変換データを、当該変換データ群に属する他の変換データ及び当該変換データ群から生成した符号データに基づいて復元する復元部を有し、前記送信制御部は、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記第2の変換装置に送信するものである。   A communication system according to a first aspect of the present invention includes a first conversion device that transmits converted data obtained by converting data received from a first synchronous line into a format that can be transmitted through the asynchronous line, to the asynchronous line; A second conversion device that receives the conversion data transmitted from the first conversion device via the asynchronous line, reconverts the converted data into a format that can be transmitted through the synchronous line, and transmits the converted data to the second synchronous line; The first conversion device generates, for each conversion data group determined according to a predetermined rule, code data indicating an error correction code based on conversion data belonging to the conversion data group; A transmission control unit that controls transmission of the conversion data and the code data to the second conversion device, and the second conversion device has an abnormality in any of the conversion data in the conversion data group if you did this A restoration unit that restores the conversion data in which the abnormality has occurred based on other conversion data belonging to the conversion data group and code data generated from the conversion data group, and the transmission control unit includes the same conversion data The conversion data and the code data are transmitted to the second conversion device so that at least any two of the conversion data belonging to the group and the code data generated from the conversion data group are not continuous with each other. is there.

本発明の第2の態様に係る変換装置は、非同期回線から変換データを受信して第2の同期回線で伝送可能な形式に再変換して第2の同期回線に送信する他の変換装置に対して、第1の同期回線から受信したデータを非同期回線で伝送可能な形式に変換した変換データを、前記非同期回線を介して送信する変換装置であって、所定の規則に従って決定される変換データ群毎に、前記変換データ群に属する変換データに基づいて、当該変換データ群のいずれかの変換データにおいて異常が発生した場合、前記異常が発生した変換データを復元するための誤り訂正符号を示す符号データを生成する符号生成部と、前記他の変換装置への前記変換データ及び前記符号データの送信を制御する送信制御部と、前記送信制御部は、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記他の変換装置に送信するものである。   The conversion device according to the second aspect of the present invention provides another conversion device that receives conversion data from an asynchronous line, reconverts the converted data into a format that can be transmitted through the second synchronous line, and transmits the converted data to the second synchronous line. On the other hand, a conversion device for transmitting converted data obtained by converting data received from the first synchronous line into a format that can be transmitted through the asynchronous line, via the asynchronous line, and determined according to a predetermined rule. For each group, based on the conversion data belonging to the conversion data group, when an abnormality occurs in any conversion data of the conversion data group, an error correction code for restoring the conversion data in which the abnormality has occurred is indicated The code generation unit that generates code data, the transmission control unit that controls transmission of the conversion data and the code data to the other conversion device, and the transmission control unit belong to the same conversion data group. As at least any two or more conversion data and the code data generated from the conversion data group is not continuous to each other that, and transmits the converted data and the code data to the other conversion devices.

本発明の第3の態様に係る通信方法は、第1の同期回線から受信したデータを、非同期回線で伝送可能な形式に変換した変換データを非同期回線に送信する第1の変換装置と、前記第1の変換装置から前記非同期回線を介して送信された変換データを受信し、同期回線で伝送可能な形式に再変換して第2の同期回線に送信する第2の変換装置との間における通信方法であって、前記第1の変換装置が、所定の規則に従って決定される変換データ群毎に、前記変換データ群に属する変換データに基づいて、誤り訂正符号を示す符号データを生成する生成ステップと、前記第1の変換装置が、前記第2の変換装置への前記変換データ及び前記符号データの送信する送信ステップと、前記第2の変換装置が、前記変換データ群のいずれかの変換データにおいて異常が発生した場合、前記異常が発生した変換データを、当該変換データ群に属する他の変換データ及び当該変換データ群から生成した符号データに基づいて復元する復元ステップと、を備え、前記送信ステップでは、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記第2の変換装置に送信するものである。   A communication method according to a third aspect of the present invention includes: a first conversion device that transmits converted data obtained by converting data received from a first synchronous line into a format that can be transmitted by an asynchronous line; Between the second conversion device that receives the conversion data transmitted from the first conversion device via the asynchronous line, reconverts the converted data into a format that can be transmitted through the synchronous line, and transmits the converted data to the second synchronous line. A communication method, wherein the first conversion device generates code data indicating an error correction code based on conversion data belonging to the conversion data group for each conversion data group determined according to a predetermined rule A step of transmitting the conversion data and the code data to the second conversion device by the first conversion device, and the second conversion device converting any of the conversion data groups Day A restoration step of restoring the conversion data in which the abnormality has occurred based on other conversion data belonging to the conversion data group and code data generated from the conversion data group when an abnormality occurs in the transmission, In the step, the converted data and the code data are converted into the second data so that at least any two of the converted data belonging to the same converted data group and the code data generated from the converted data group are not continuous with each other. It is transmitted to the conversion device.

上述した本発明の各態様によれば、よりデータの同期を保障することができる通信システム、変換装置、通信方法を提供することができる。   According to each aspect of the present invention described above, it is possible to provide a communication system, a conversion device, and a communication method that can further ensure data synchronization.

実施の形態にかかる通信システムの構成図である。1 is a configuration diagram of a communication system according to an embodiment. 実施の形態にかかる同期/非同期変換装置の構成図である。It is a block diagram of the synchronous / asynchronous conversion apparatus concerning embodiment. 実施の形態にかかる通信システムのエラー訂正処理のフローチャートである。It is a flowchart of the error correction process of the communication system concerning an embodiment. 実施の形態にかかる通信システムのエラー訂正処理実行時の概念図である。It is a conceptual diagram at the time of execution of error correction processing of the communication system according to the embodiment. 実施の形態にかかる通信システムの伝送処理のフローチャートである。It is a flowchart of the transmission processing of the communication system concerning an embodiment. 実施の形態にかかる通信システムのIPパケット伝送のタイムチャートである。It is a time chart of IP packet transmission of the communication system concerning an embodiment. 実施の形態の変形例1にかかるIPパケット伝送のタイムチャートである。It is a time chart of IP packet transmission concerning the modification 1 of an embodiment. 実施の形態の変形例2にかかるIPパケット伝送のタイムチャートである。It is a time chart of IP packet transmission concerning the modification 2 of an embodiment. 実施の形態にかかる通信システムの概略構成図である。1 is a schematic configuration diagram of a communication system according to an embodiment.

以下に図面を参照しながら、本発明の好適な実施の形態について説明する。以下の実施の形態に示す具体的な数値等は、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、それに限定されるものではない。また、以下の記載及び図面では、説明の明確化のため、当業者にとって自明な事項等については、適宜、省略及び簡略化がなされている。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings. Specific numerical values and the like shown in the following embodiments are merely examples for facilitating understanding of the invention, and are not limited thereto unless otherwise specified. In the following description and drawings, matters obvious to those skilled in the art are omitted or simplified as appropriate for the sake of clarity.

<発明の実施の形態>
まず、図1を参照して、本発明の実施の形態に係る通信システム1の構成について説明する。図1は、本発明の実施の形態に係る通信システム1の構成図である。
<Embodiment of the Invention>
First, with reference to FIG. 1, the structure of the communication system 1 which concerns on embodiment of this invention is demonstrated. FIG. 1 is a configuration diagram of a communication system 1 according to an embodiment of the present invention.

通信システム1は、同期/非同期変換装置10a、10b、及び同期通信装置20a、20bを有する。   The communication system 1 includes synchronous / asynchronous conversion devices 10a and 10b and synchronous communication devices 20a and 20b.

同期通信装置20aと、同期/非同期変換装置10aとは、同期回線(同期通信網)30aを介して相互に接続されている。同期/非同期変換装置10aと、同期/非同期変換装置10bとは、非同期回線(非同期通信網)40を介して相互に接続されている。同期/非同期変換装置10bと、同期通信装置20bとは、同期回線(同期通信網)30bを介して相互に接続されている。   The synchronous communication device 20a and the synchronous / asynchronous conversion device 10a are connected to each other via a synchronous line (synchronous communication network) 30a. The synchronous / asynchronous conversion device 10 a and the synchronous / asynchronous conversion device 10 b are connected to each other via an asynchronous line (asynchronous communication network) 40. The synchronous / asynchronous conversion device 10b and the synchronous communication device 20b are connected to each other via a synchronous line (synchronous communication network) 30b.

同期回線30a、30bは、同期通信におけるデータが伝送される回線である。具体的には、同期回線30a、30bは、シリアル通信回線である。シリアル通信回線は、例えば、SDH(Synchronous Digital Hierarchy)又はSONET(Synchronous Optical NETwork)等である。以下、同期回線30a及び同期回線30bを総じて「同期回線30」とも呼ぶ。非同期回線40は、非同期通信におけるデータが伝送される回線である。具体的には、非同期回線40は、IP(Internet Protocol)通信回線である。   The synchronous lines 30a and 30b are lines through which data in synchronous communication is transmitted. Specifically, the synchronization lines 30a and 30b are serial communication lines. The serial communication line is, for example, SDH (Synchronous Digital Hierarchy) or SONET (Synchronous Optical NETwork). Hereinafter, the synchronous line 30a and the synchronous line 30b are also collectively referred to as “synchronous line 30”. The asynchronous line 40 is a line through which data in asynchronous communication is transmitted. Specifically, the asynchronous line 40 is an IP (Internet Protocol) communication line.

同期/非同期変換装置10aは、同期回線30aと非同期回線40との間でデータを変換する装置である。同期/非同期変換装置10aは、同期通信装置20aから同期回線30aを介して送信されたデータを受信し、受信したデータを非同期回線40において伝送可能な形式に変換する。すなわち、同期/非同期変換装置10aは、同期通信装置20aから受信したシリアルデータを、IPパケットに変換する。同期/非同期変換装置10aは、変換後のデータ(IPパケット)を非同期回線40を介して同期/非同期変換装置10bに送信する。   The synchronous / asynchronous conversion device 10 a is a device that converts data between the synchronous line 30 a and the asynchronous line 40. The synchronous / asynchronous conversion device 10a receives data transmitted from the synchronous communication device 20a via the synchronous line 30a, and converts the received data into a format that can be transmitted on the asynchronous line 40. That is, the synchronous / asynchronous conversion device 10a converts the serial data received from the synchronous communication device 20a into an IP packet. The synchronous / asynchronous conversion apparatus 10a transmits the converted data (IP packet) to the synchronous / asynchronous conversion apparatus 10b via the asynchronous line 40.

また、同期/非同期変換装置10aは、同期/非同期変換装置10bから非同期回線40を介して送信されたデータを受信し、受信したデータを同期回線30aにおいて伝送可能な形式に変換する。すなわち、同期/非同期変換装置10aは、同期/非同期変換装置10bから受信したIPパケットを、シリアルデータに変換する。同期/非同期変換装置10aは、変換後のデータ(シリアルデータ)を同期回線30aを介して同期通信装置20aに送信する。   The synchronous / asynchronous conversion apparatus 10a receives data transmitted from the synchronous / asynchronous conversion apparatus 10b via the asynchronous line 40, and converts the received data into a format that can be transmitted through the synchronous line 30a. That is, the synchronous / asynchronous conversion device 10a converts the IP packet received from the synchronous / asynchronous conversion device 10b into serial data. The synchronous / asynchronous conversion device 10a transmits the converted data (serial data) to the synchronous communication device 20a via the synchronous line 30a.

同期/非同期変換装置10bは、同期回線30bと非同期回線40との間でデータを変換する装置である。同期/非同期変換装置10bは、同期通信装置20bから同期回線30bを介して送信されたデータを受信し、受信したデータを非同期回線40において伝送可能な形式に変換する。すなわち、同期/非同期変換装置10bは、同期通信装置20bから受信したシリアルデータを、IPパケットに変換する。同期/非同期変換装置10bは、変換後のデータ(IPパケット)を非同期回線40を介して同期/非同期変換装置10aに送信する。   The synchronous / asynchronous conversion device 10b is a device that converts data between the synchronous line 30b and the asynchronous line 40. The synchronous / asynchronous conversion device 10b receives data transmitted from the synchronous communication device 20b via the synchronous line 30b, and converts the received data into a format that can be transmitted on the asynchronous line 40. That is, the synchronous / asynchronous conversion device 10b converts the serial data received from the synchronous communication device 20b into an IP packet. The synchronous / asynchronous conversion device 10b transmits the converted data (IP packet) to the synchronous / asynchronous conversion device 10a via the asynchronous line 40.

また、同期/非同期変換装置10bは、同期/非同期変換装置10aから非同期回線40を介して送信されたデータを受信し、受信したデータを同期回線30bにおいて伝送可能な形式に変換する。すなわち、同期/非同期変換装置10bは、同期/非同期変換装置10aから受信したIPパケットを、シリアルデータに変換する。同期/非同期変換装置10bは、変換後のデータ(シリアルデータ)を同期回線30bを介して同期通信装置20bに送信する。   The synchronous / asynchronous conversion device 10b receives data transmitted from the synchronous / asynchronous conversion device 10a via the asynchronous line 40, and converts the received data into a format that can be transmitted through the synchronous line 30b. That is, the synchronous / asynchronous conversion device 10b converts the IP packet received from the synchronous / asynchronous conversion device 10a into serial data. The synchronous / asynchronous conversion device 10b transmits the converted data (serial data) to the synchronous communication device 20b via the synchronous line 30b.

同期通信装置20aは、同期通信装置20bとの間でデータを送受信する装置である。同期通信装置20aは、同期回線30aを介して同期通信装置20bにシリアルデータを送信する。このシリアルデータは、上述したように、同期/非同期変換装置10aによって非同期回線で伝送可能な形式に変換された後に、非同期回線40を介して同期通信装置20b側に伝送されることになる。   The synchronous communication device 20a is a device that transmits and receives data to and from the synchronous communication device 20b. The synchronous communication device 20a transmits serial data to the synchronous communication device 20b via the synchronous line 30a. As described above, the serial data is converted into a format that can be transmitted through the asynchronous line by the synchronous / asynchronous conversion apparatus 10a, and then transmitted to the synchronous communication apparatus 20b via the asynchronous line 40.

また、同期通信装置20aは、同期回線30aを介して同期通信装置20bから送信されたシリアルデータを受信する。このシリアルデータは、上述したように、同期通信装置20b側から非同期回線40を介して伝送された後に、同期/非同期変換装置10bによって同期回線30aで伝送可能な形式に変換されたものとなる。   The synchronous communication device 20a also receives serial data transmitted from the synchronous communication device 20b via the synchronous line 30a. As described above, the serial data is transmitted from the synchronous communication device 20b via the asynchronous line 40 and then converted into a format that can be transmitted by the synchronous / asynchronous conversion device 10b through the synchronous line 30a.

同期通信装置20bは、同期通信装置20aとの間でデータを送受信する装置である。同期通信装置20bは、同期回線30bを介して同期通信装置20aにシリアルデータを送信する。このシリアルデータは、上述したように、同期/非同期変換装置10bによって非同期回線40で伝送可能な形式に変換された後に、非同期回線40を介して同期通信装置20a側に伝送されることになる。   The synchronous communication device 20b is a device that transmits and receives data to and from the synchronous communication device 20a. The synchronous communication device 20b transmits serial data to the synchronous communication device 20a via the synchronous line 30b. As described above, the serial data is converted into a format that can be transmitted through the asynchronous line 40 by the synchronous / asynchronous conversion apparatus 10b, and then transmitted to the synchronous communication apparatus 20a via the asynchronous line 40.

また、同期通信装置20bは、同期回線30bを介して同期通信装置20aから送信されたシリアルデータを受信する。このシリアルデータは、上述したように、同期通信装置20a側から非同期回線40を介して伝送された後に、同期/非同期変換装置10aによって同期回線30bで伝送可能な形式に変換されたものとなる。   The synchronous communication device 20b receives serial data transmitted from the synchronous communication device 20a via the synchronous line 30b. As described above, the serial data is transmitted from the synchronous communication device 20a via the asynchronous line 40 and then converted into a format that can be transmitted by the synchronous / asynchronous conversion device 10a through the synchronous line 30b.

以下、同期/非同期変換装置10a及び同期/非同期変換装置10bを総じて「同期/非同期変換装置10」とも呼ぶ。また、同期通信装置20a及び同期通信装置20bを総じて「同期通信装置20」とも呼ぶ。   Hereinafter, the synchronous / asynchronous conversion device 10a and the synchronous / asynchronous conversion device 10b are also collectively referred to as “synchronous / asynchronous conversion device 10”. The synchronous communication device 20a and the synchronous communication device 20b are also collectively referred to as “synchronous communication device 20”.

ここで、同期通信装置20a及び同期通信装置20bの間の同期通信に関しては、次の条件を想定する。厳密なクロック同期が必要であり、クロックスリップは許容されない。ビットエラーは、一定値までは許容するが、それによるクロックスリップは許容されない。すなわち、同期通信装置20a及び同期通信装置20bの間で、シリアルデータの受信周期(サンプリング周期、シリアルデータを取り込む周期)及びシリアルデータの送信周期(送出するシリアルデータの値を切り替える周期)を規定するクロック信号のクロックスリップは許容されない。キャラクタ同期やフレーム同期等のように、データによる同期補正ができない。一定時間の伝送遅延は許容される。すなわち、一定時間までの伝送遅延であれば、同期通信装置20aと同期通信装置20bの間におけるデータの同期は保障される。   Here, the following conditions are assumed regarding the synchronous communication between the synchronous communication apparatus 20a and the synchronous communication apparatus 20b. Strict clock synchronization is required and clock slip is not allowed. Bit errors are allowed up to a certain value, but no clock slip is allowed. That is, between the synchronous communication device 20a and the synchronous communication device 20b, the serial data reception cycle (sampling cycle, serial data capture cycle) and serial data transmission cycle (cycle for switching the value of serial data to be sent) are defined. Clock slip of the clock signal is not allowed. As with character synchronization and frame synchronization, synchronization correction by data cannot be performed. A certain amount of transmission delay is allowed. That is, if the transmission delay is up to a certain time, data synchronization between the synchronous communication device 20a and the synchronous communication device 20b is guaranteed.

また、同期/非同期変換装置10a及び同期/非同期変換装置10bの間の非同期通信に関しては、次の条件を想定する。一定時間の伝送遅延が発生する。一定値のジッタが発生する。一定確率でデータエラー又はデータロスが発生する。なお、同期/非同期変換装置10a及び同期/非同期変換装置10bにおいても、クロック信号によって規定されるシリアルデータの受信周期及び送信周期で、シリアルデータを送受信する。   The following conditions are assumed for asynchronous communication between the synchronous / asynchronous conversion device 10a and the synchronous / asynchronous conversion device 10b. A transmission delay of a certain time occurs. A certain amount of jitter occurs. Data error or data loss occurs with a certain probability. Note that the synchronous / asynchronous conversion device 10a and the synchronous / asynchronous conversion device 10b also transmit / receive serial data in the serial data reception cycle and transmission cycle defined by the clock signal.

よって、データの変換及び非同期回線40における伝送等による総遅延量が、同期回線で許容される遅延量以下となる必要がある。   Therefore, the total delay amount due to data conversion and transmission through the asynchronous line 40 needs to be less than or equal to the delay amount allowed in the synchronous line.

なお、同期通信装置20aと同期通信装置20bとの間のクロック同期と、同期/非同期変換装置10aと同期/非同期変換装置10bの間のクロック同期は、汎用的な方法により保障されているものとする。すなわち、同期通信装置20aと同期通信装置20bとの間と、同期/非同期変換装置10aと同期/非同期変換装置10bの間とで、その内部におけるクロック信号(及びそれに基づく受信周期及び送信周期)が同期されているものとする。また、一般的な、同期/非同期変換では、同期回線における通信データレートと比較して、非同期回線における通信データレートを2〜10倍程度としているが、本実施の形態では、2倍未満とするものとする。これにより、非同期回線40における伝送遅延を低減するようにしている。しかしながら、通信データレートは、これに限られない。   The clock synchronization between the synchronous communication device 20a and the synchronous communication device 20b and the clock synchronization between the synchronous / asynchronous conversion device 10a and the synchronous / asynchronous conversion device 10b are guaranteed by a general-purpose method. To do. That is, between the synchronous communication device 20a and the synchronous communication device 20b, and between the synchronous / asynchronous conversion device 10a and the synchronous / asynchronous conversion device 10b, internal clock signals (and reception periods and transmission periods based on the clock signals) Assume that they are synchronized. In general synchronous / asynchronous conversion, the communication data rate in the asynchronous line is about 2 to 10 times that in the synchronous line, but in this embodiment, it is less than twice. Shall. Thereby, the transmission delay in the asynchronous line 40 is reduced. However, the communication data rate is not limited to this.

続いて、図2を参照して、本発明の実施の形態にかかる同期/非同期変換装置10の構成について説明する。図2は、本発明の実施の形態にかかる同期/非同期変換装置10の構成図である。   Then, with reference to FIG. 2, the structure of the synchronous / asynchronous conversion apparatus 10 concerning embodiment of this invention is demonstrated. FIG. 2 is a configuration diagram of the synchronous / asynchronous conversion apparatus 10 according to the embodiment of the present invention.

同期/非同期変換装置10は、パケットシリアル変換部11、FEC部12、及びMAC部13を有する。   The synchronous / asynchronous conversion apparatus 10 includes a packet serial conversion unit 11, an FEC unit 12, and a MAC unit 13.

パケットシリアル変換部11は、同期回線30と非同期回線40との間のデータの変換を実施する。パケットシリアル変換部11は、同期回線30から受信したシリアルデータをIPパケットに変換する。具体的には、パケットシリアル変換部11は、シリアルデータを所定サイズで区切って、区切られたデータのそれぞれをIPパケットのデータ部のデータとすることで、IPパケット(シリアル)を生成する。IPパケット生成のためにシリアルデータを区切るサイズは、予め任意に定められたサイズ(例えば100ビット)となる。このように、シリアルデータがそのままIPパケットのデータ部のデータとなるため、同期通信の1ビットは非同期通信の1ビットに変換されることになる。ただし、当然に、IPパケットでは、ヘッダ部の分はデータ量が増加することになる。パケットシリアル変換部11は、生成したIPパケット(シリアル)をFEC部12に出力する。   The packet serial conversion unit 11 performs data conversion between the synchronous line 30 and the asynchronous line 40. The packet serial conversion unit 11 converts serial data received from the synchronous line 30 into an IP packet. Specifically, the packet serial conversion unit 11 generates an IP packet (serial) by dividing serial data into a predetermined size and using each of the divided data as data of the data part of the IP packet. The size for dividing the serial data for generating the IP packet is a predetermined size (for example, 100 bits). In this way, since the serial data becomes the data of the data part of the IP packet as it is, 1 bit of synchronous communication is converted to 1 bit of asynchronous communication. However, as a matter of course, in the IP packet, the amount of data increases for the header portion. The packet serial conversion unit 11 outputs the generated IP packet (serial) to the FEC unit 12.

FEC部12は、FEC(Forward Error Correction:前方誤り訂正)に関する制御を実施する。FEC部12は、パケットシリアル変換部11から出力されたIPパケットに基づいて、誤り訂正符号を算出する。FEC部12は、算出した誤り訂正符号をIPパケットのデータ部のデータすることで、IPパケット(FEC)を生成する。FEC部12は、非同期回線40に送信するIPパケットとして、パケットシリアル変換部11から出力されたIPパケット(シリアル)にIPパケット(FEC)も加えて、MAC部13に出力する。   The FEC unit 12 performs control related to FEC (Forward Error Correction). The FEC unit 12 calculates an error correction code based on the IP packet output from the packet serial conversion unit 11. The FEC unit 12 generates an IP packet (FEC) by using the calculated error correction code as data in the data part of the IP packet. The FEC unit 12 adds the IP packet (FEC) to the IP packet (serial) output from the packet serial conversion unit 11 as an IP packet to be transmitted to the asynchronous line 40 and outputs the IP packet (FEC) to the MAC unit 13.

具体的には、FEC部12は、IPパケット(シリアル)について、所定の規則に従って、IPパケット(FEC)を生成する単位とするIPパケット群を決定する。なお、この規則については、後述する。FEC部12は、決定したIPパケット群について、そのIPパケット群のIPパケット(シリアル)に基づいて、誤り訂正符号を算出する。ここでは、誤り訂正符号として、XOR方式の誤り訂正符号を算出するものとする。よって、FEC部12は、IPパケット群に属するIPパケット(シリアル)のデータ部のデータ(シリアルデータ)の各ビットについて、XOR演算をすることで、誤り訂正符号を算出する。これによれば、IPパケット群のいずれかのIPパケット(シリアル)において異常(データエラー又はパケットロス)が発生した場合であっても、そのIPパケット群における他のIPパケット及びそのIPパケット群から生成したIPパケット(FEC)のデータ部のデータのXOR演算結果として、異常が発生したIPパケット(シリアル)のデータ部のデータを復元することができる。   Specifically, the FEC unit 12 determines an IP packet group as a unit for generating an IP packet (FEC) according to a predetermined rule for the IP packet (serial). This rule will be described later. For the determined IP packet group, the FEC unit 12 calculates an error correction code based on the IP packet (serial) of the IP packet group. Here, an XOR error correction code is calculated as the error correction code. Therefore, the FEC unit 12 calculates an error correction code by performing an XOR operation on each bit of the data (serial data) of the data part of the IP packet (serial) belonging to the IP packet group. According to this, even if an abnormality (data error or packet loss) occurs in any IP packet (serial) of the IP packet group, it is determined from another IP packet in the IP packet group and the IP packet group. As a result of XOR operation of the data in the data part of the generated IP packet (FEC), the data in the data part of the IP packet (serial) in which an abnormality has occurred can be restored.

MAC部11は、非同期回線40に対するデータの送受信を制御する。MAC部11は、FEC部12から出力されたIPパケットを、非同期回線40を介して送信する。   The MAC unit 11 controls data transmission / reception with respect to the asynchronous line 40. The MAC unit 11 transmits the IP packet output from the FEC unit 12 via the asynchronous line 40.

また、MAC部11は、非同期回線40を介してIPパケットを受信し、受信したIPパケットをFEC部12に出力する。なお、MAC部11は、受信したIPパケットのFCS(Frame Check Sequence)エラー(データエラー)を検出した場合、そのIPパケットを破棄し、FEC部12には出力しない。   Further, the MAC unit 11 receives an IP packet via the asynchronous line 40 and outputs the received IP packet to the FEC unit 12. If the MAC unit 11 detects an FCS (Frame Check Sequence) error (data error) of the received IP packet, the MAC unit 11 discards the IP packet and does not output it to the FEC unit 12.

FEC部12は、MAC部13から出力されたIPパケットをパケットシリアル変換部13に出力する。ここで、FEC部12は、MAC部11によってIPパケット(シリアル)が破棄されている場合には、IPパケット(FEC)に基づいて、破棄されたIPパケット(シリアル)を復元して、パケットシリアル変換部13に出力する。上述したように、ここでの例では、XOR方式の誤り訂正符号を採用しているため、FEC部12は、IPパケット(FEC)と、そのIPパケット(FEC)を生成したIPパケット群のIPパケット(シリアル)のうち、破棄されたIPパケット(シリアル)以外のIPパケット(シリアル)とのデータ部のデータのXOR演算することで、破棄されたIPパケット(シリアル)のデータ部のデータを復元する。なお、誤り訂正符号は、この例に限られず、任意の誤り訂正符号を採用してよい。   The FEC unit 12 outputs the IP packet output from the MAC unit 13 to the packet serial conversion unit 13. Here, when the IP packet (serial) is discarded by the MAC unit 11, the FEC unit 12 restores the discarded IP packet (serial) based on the IP packet (FEC), and packet serial The data is output to the conversion unit 13. As described above, since the XOR error correction code is employed in the example here, the FEC unit 12 uses the IP packet (FEC) and the IP packet group IP that generated the IP packet (FEC). Restores the data part of the discarded IP packet (serial) by performing an XOR operation on the data part of the packet (serial) with the IP packet (serial) other than the discarded IP packet (serial). To do. Note that the error correction code is not limited to this example, and an arbitrary error correction code may be adopted.

パケットシリアル変換部11は、FEC部12から出力されたIPパケットからIPパケット(FEC)を取り除き、残ったIPパケット(シリアル)をシリアルデータに変換する。具体的には、パケットシリアル変換部11は、IPパケット(シリアル)のデータ部のデータを連結することで、シリアルデータを生成する。パケットシリアル変換部11は、生成したシリアルデータを同期回線30に送信する。なお、IPパケット(FEC)は、FEC部12で取り除くようにしてもよい。   The packet serial conversion unit 11 removes the IP packet (FEC) from the IP packet output from the FEC unit 12, and converts the remaining IP packet (serial) into serial data. Specifically, the packet serial conversion unit 11 generates serial data by concatenating data in the data part of the IP packet (serial). The packet serial conversion unit 11 transmits the generated serial data to the synchronous line 30. Note that the IP packet (FEC) may be removed by the FEC unit 12.

続いて、図3及び図4を参照して、本発明の実施の形態にかかる通信システム1のエラー訂正方法について説明する。図3は、本発明の実施の形態にかかる通信システム1のエラー訂正処理のフローチャートである。図4は、本発明の実施の形態にかかる通信システム1のエラー訂正処理実行時の概念図である。   Subsequently, an error correction method of the communication system 1 according to the embodiment of the present invention will be described with reference to FIGS. 3 and 4. FIG. 3 is a flowchart of the error correction process of the communication system 1 according to the embodiment of the present invention. FIG. 4 is a conceptual diagram when the error correction process is executed in the communication system 1 according to the embodiment of the present invention.

以下、同期通信装置20aから同期通信装置20bにデータを送信する例について説明するが、同期通信装置20bから同期通信装置20aにデータを送信する場合も、当然に同様に処理される。   Hereinafter, an example in which data is transmitted from the synchronous communication device 20a to the synchronous communication device 20b will be described. Of course, the same processing is performed when data is transmitted from the synchronous communication device 20b to the synchronous communication device 20a.

同期通信装置20aから送信されたシリアルデータは、同期/非同期変換装置10aにおいて、IPパケット(シリアル)に変換されて同期/非同期変換装置10bに送信される。このとき、上述したように、IPパケット(FEC)の生成単位となるIPパケット群毎に、IPパケット(シリアル)からIPパケット(FEC)が生成され、IPパケット群と共に同期/非同期変換装置10bに送信される。図4の例では、3つのIPパケット(シリアル)をIPパケット群とし、そのIPパケット群についてIPパケット(FEC)が生成される例について示している。図4の例では、IPパケット群を送信後、そのIPパケット群から生成したIPパケット(FEC)を送信する。   The serial data transmitted from the synchronous communication device 20a is converted into an IP packet (serial) in the synchronous / asynchronous conversion device 10a and transmitted to the synchronous / asynchronous conversion device 10b. At this time, as described above, an IP packet (FEC) is generated from the IP packet (serial) for each IP packet group that is a generation unit of the IP packet (FEC), and is sent to the synchronous / asynchronous conversion apparatus 10b together with the IP packet group. Sent. In the example of FIG. 4, three IP packets (serial) are set as an IP packet group, and an IP packet (FEC) is generated for the IP packet group. In the example of FIG. 4, after transmitting an IP packet group, an IP packet (FEC) generated from the IP packet group is transmitted.

同期/非同期変換装置10bのMAC部13は、同期/非同期変換装置10aから非同期回線40を介して送信されたIPパケットを受信する(S1)。   The MAC unit 13 of the synchronous / asynchronous conversion apparatus 10b receives the IP packet transmitted from the synchronous / asynchronous conversion apparatus 10a via the asynchronous line 40 (S1).

受信したIPパケットにおいて、図4に示すようにFCSエラーが発生している場合(S2:Yes)、MAC部13は、そのIPパケットを破棄する(S3)。受信したIPパケットにおいてFCSエラーが発生していない場合(S2:No)、MAC部13は、そのIPパケットを破棄せず、FEC部12に出力する。   If an FCS error has occurred in the received IP packet as shown in FIG. 4 (S2: Yes), the MAC unit 13 discards the IP packet (S3). When no FCS error has occurred in the received IP packet (S2: No), the MAC unit 13 outputs the IP packet to the FEC unit 12 without discarding the IP packet.

FEC部12は、IPパケット群及びそのIPパケット(FEC)まで受信した場合(S4:Yes)、そのIPパケット群におけるIPパケット(シリアル)で破棄されているIPパケット(シリアル)があるか否かを判定する(S5)。IPパケット群及びそのIPパケット(FEC)まで受信したとの判定は、任意の手法を採用するようにしてよい。例えば、FEC部12は、MAC部13から出力されたIPパケットがIPパケット(FEC)である場合、及び、MAC部13から出力されたIPパケットがIPパケット(FEC)の次のIPパケットである場合(IPパケット(FEC)が破棄された場合)に、IPパケット群及びそのIPパケット(FEC)まで受信したと判定するようにしてよい。   When receiving the IP packet group and the IP packet (FEC) (S4: Yes), the FEC unit 12 determines whether there is an IP packet (serial) discarded in the IP packet (serial) in the IP packet group. Is determined (S5). An arbitrary method may be adopted to determine that the IP packet group and the IP packet (FEC) have been received. For example, when the IP packet output from the MAC unit 13 is an IP packet (FEC), the FEC unit 12 is the next IP packet after the IP packet (FEC). In this case (when the IP packet (FEC) is discarded), it may be determined that the IP packet group and the IP packet (FEC) have been received.

IPパケット群において破棄されているIPパケット(シリアル)がある場合(S5:Yes)、FEC部12は、図4に示すように、残ったIPパケット(シリアル)及びIPパケット(FEC)から、破棄されたIPパケット(シリアル)を復元する(S6)。図4では、IPパケット群における3つのIPパケット(シリアル)のうち、3番目のIPパケット(シリアル)が破棄された例について示している。この場合であっても、1番目及び2番目のIPパケット(シリアル)と、4番目のIPパケット(FEC)をXOR演算することで、破棄された3番目のIPパケット(シリアル)を復元することができる。なお、破棄されているIPパケット(シリアル)は、既知のIPパケットのヘッダ部におけるシーケンス番号を参照することで欠落しているIPパケット(シリアル)として検出するようにしてもよい。また、送信側で、IPパケット群及びそのIPパケット(FEC)で一意となるデータをIPパケットに付加し、受信側で、そのデータを参照することで欠落しているIPパケット(シリアル)を検出するようにしてもよい。   When there is an IP packet (serial) discarded in the IP packet group (S5: Yes), the FEC unit 12 discards the remaining IP packet (serial) and IP packet (FEC) as shown in FIG. Restored IP packet (serial) (S6). FIG. 4 shows an example in which the third IP packet (serial) among the three IP packets (serial) in the IP packet group is discarded. Even in this case, the discarded third IP packet (serial) is restored by XORing the first and second IP packets (serial) and the fourth IP packet (FEC). Can do. The discarded IP packet (serial) may be detected as a missing IP packet (serial) by referring to the sequence number in the header part of the known IP packet. The sending side adds IP packet group and data unique to the IP packet (FEC) to the IP packet, and the receiving side detects the missing IP packet (serial) by referring to the data. You may make it do.

IPパケット群において破棄されているIPパケットがない場合(S5:No)、及び、破棄されたIPパケットを復元した場合(S6)、IPパケット群におけるIPパケット(シリアル)の全てが取得されたことになる。そのため、FEC部13は、そのIPパケット(FEC)の生成単位のIPパケット(シリアル)のパケットシリアル変換部11への出力を開始する。パケットシリアル変換部11は、FEC部13から出力されるIPパケット(シリアル)を、順次、シリアルデータに変換し、同期回線30bを介して同期通信装置20bに送信する(S7)。   When there is no discarded IP packet in the IP packet group (S5: No) and when the discarded IP packet is restored (S6), all the IP packets (serial) in the IP packet group have been acquired. become. Therefore, the FEC unit 13 starts to output the IP packet (serial), which is a generation unit of the IP packet (FEC), to the packet serial conversion unit 11. The packet serial conversion unit 11 sequentially converts IP packets (serial) output from the FEC unit 13 into serial data, and transmits the serial data to the synchronous communication device 20b via the synchronous line 30b (S7).

なお、ここでは、FCSエラーによってIPパケット(シリアル)が破棄された場合について説明したが、非同期通信においてIPパケット(シリアル)をロスした場合も同様に復元することができる。   Although the case where the IP packet (serial) is discarded due to the FCS error has been described here, the case where the IP packet (serial) is lost in the asynchronous communication can be similarly restored.

以上のように、図3を参照して説明した処理によれば、図4に示すように、IPパケット(シリアル)をロスした場合であっても、そのIPパケット(シリアル)を復元することができる。すなわち、IPパケット(シリアル)においてエラーが発生した場合であっても、そのIPパケット(シリアル)を復元することで、遅延なくシリアルデータに変換して同期通信装置20bに送信することができる。そのため、同期通信装置20bにおいてシリアルデータのサンプリング速度に対して遅延なくシリアルデータを同期通信装置20bに送信することができるため、同期通信装置20aと同期通信装置20bとの間の同期を保障することができる。   As described above, according to the processing described with reference to FIG. 3, even when an IP packet (serial) is lost, the IP packet (serial) can be restored as shown in FIG. it can. That is, even when an error occurs in an IP packet (serial), the IP packet (serial) can be restored to be converted into serial data without delay and transmitted to the synchronous communication device 20b. Therefore, in the synchronous communication device 20b, serial data can be transmitted to the synchronous communication device 20b without delay with respect to the sampling rate of the serial data, so that synchronization between the synchronous communication device 20a and the synchronous communication device 20b is ensured. Can do.

しかしながら、上述したエラー訂正方法では、IPパケット群におけるIPパケット(シリアル)と、そのIPパケット(FEC)のうち、2つ以上をロスしてしまった場合には、ロスしてしまったIPパケットを復元することが困難である。それに対して、本実施の形態では、次に説明するIPパケットの伝送方法によって、IPパケット復元単位(IPパケット群及びそのIPパケット(FEC))において、2つ以上のIPパケットをロスしてしまう可能性を極めて低減し、より同期を保障することを可能としている。   However, in the error correction method described above, if two or more of the IP packet (serial) and the IP packet (FEC) in the IP packet group are lost, the lost IP packet is It is difficult to restore. In contrast, in the present embodiment, two or more IP packets are lost in an IP packet restoration unit (IP packet group and its IP packet (FEC)) by the IP packet transmission method described below. The possibility is greatly reduced, and synchronization can be ensured.

続いて、図5及び図6を参照して、本発明の実施の形態にかかる通信システム1の伝送方法について説明する。図5は、本発明の実施の形態にかかる通信システム1の伝送処理のフローチャートである。図6は、本発明の実施の形態にかかる通信システム1のIPパケット伝送のタイムチャートである。   Subsequently, a transmission method of the communication system 1 according to the embodiment of the present invention will be described with reference to FIGS. 5 and 6. FIG. 5 is a flowchart of the transmission process of the communication system 1 according to the embodiment of the present invention. FIG. 6 is a time chart of IP packet transmission of the communication system 1 according to the embodiment of the present invention.

IPパケット復元単位毎に、IPパケットを、それぞれでIPパケットの伝送タイミングが同一周期かつ異なるタイミングとなる複数段に振り分けて割り当てることで、同一のIPパケット復元単位に属するIPパケットの伝送タイミングを離散化する。以下、この複数段を、「縦段」と呼ぶ。この縦段について所定の順序となるように、IPパケット(シリアル)が送信される。また、各縦段において1つずつIPパケット(シリアル)が送信される単位時間を「横段」と呼ぶ。この縦段及び横段は、論理的な単位である。   For each IP packet restoration unit, the IP packets are distributed and assigned to a plurality of stages where the transmission timing of the IP packets is the same period and different timings, so that the transmission timings of the IP packets belonging to the same IP packet restoration unit are discrete. Turn into. Hereinafter, the plurality of stages are referred to as “vertical stages”. IP packets (serial) are transmitted so that the vertical order is in a predetermined order. In addition, a unit time in which an IP packet (serial) is transmitted one by one in each vertical stage is referred to as “horizontal stage”. The vertical and horizontal stages are logical units.

なお、ここでは、図6に示すように、縦段数を3段とし、横段数を3段とした例について説明する。横段数は、IPパケット群に含まれるIPパケット(シリアル)数と同一となる。なお、縦段数及び横段数は、この例に限られず、任意の数を予め定めるようにしてよい。ここで、横段の1段当たりの時間は、12msとし、この12msを縦段数で割った時間4ms毎に、縦段に振り分けたIPパケット(シリアル)が1つずつ伝送される例について説明する。なお、これらの時間は、一例であり、他の時間を予め定めてもよい。   Here, an example in which the number of vertical stages is three and the number of horizontal stages is three as shown in FIG. 6 will be described. The number of horizontal stages is the same as the number of IP packets (serial) included in the IP packet group. The number of vertical stages and the number of horizontal stages are not limited to this example, and arbitrary numbers may be determined in advance. Here, an example will be described in which the time per horizontal stage is 12 ms, and one IP packet (serial) distributed in the vertical stage is transmitted one by one every 4 ms obtained by dividing 12 ms by the number of vertical stages. . Note that these times are examples, and other times may be determined in advance.

図6では、「A1」〜「A3」として示す3つのIPパケット(シリアル)と、「B1」〜「B3」として示す3つのIPパケット(シリアル)と、「C1」〜「C3」として示す3つのIPパケット(シリアル)のそれぞれが、IPパケット群を構成する例について示している。図6では、1段目のIPパケット群を「A1」〜「A3」で示しており、2段目のIPパケット群を「B1」〜「B3」で示しており、3段目のIPパケット群を「C1」〜「C3」で示している。   In FIG. 6, three IP packets (serial) indicated as “A1” to “A3”, three IP packets (serial) indicated as “B1” to “B3”, and 3 indicated as “C1” to “C3” An example is shown in which each of the two IP packets (serial) constitutes an IP packet group. In FIG. 6, the first-stage IP packet group is indicated by “A1” to “A3”, the second-stage IP packet group is indicated by “B1”-“B3”, and the third-stage IP packet is indicated. Groups are indicated by “C1” to “C3”.

なお、IPパケット(シリアル)のデータ部で示すシリアルデータの順序は、A1、B3、C2、A2、B1、C3、A3、B2、C1(以降、繰り返し)の順となる。すなわち、IPパケット(シリアル)におけるデータの順序と、IPパケット(シリアル)の送信順序は一致している。よって、FEC部12は、IPパケット(FEC)の生成単位となるIPパケット群を、IPパケット(シリアル)のデータ順に、縦段数の間隔毎のIPパケット(シリアル)を、横段数となるIPパケット数まで選択することで決定する。図6において、「A1」〜「A3」、「B1」〜「B3」及び「C1」〜「C3」で図示する各IPパケット(シリアル)の下方に記載されている番号は、IPパケット(シリアル)のデータ順序を示している。   The order of the serial data shown in the data portion of the IP packet (serial) is the order of A1, B3, C2, A2, B1, C3, A3, B2, C1 (hereinafter, repeated). That is, the order of data in the IP packet (serial) matches the order of transmission of the IP packet (serial). Therefore, the FEC unit 12 selects the IP packet group that is a unit for generating the IP packet (FEC), the IP packet (serial) in the order of the data of the IP packet (serial), and the IP packet (serial) for each interval of the vertical stage, and the IP packet that becomes the horizontal stage number. Decide by selecting up to a number. In FIG. 6, “A1” to “A3”, “B1” to “B3”, and “C1” to “C3” indicate numbers below the IP packets (serial). ) Shows the data order.

以下の説明では、「A1」〜「A3」のIPパケット群における1番目のIPパケットA1の伝送を開始するところから説明をする。   In the following description, the description starts from the start of transmission of the first IP packet A1 in the IP packet group of “A1” to “A3”.

最初の単位時間(4ms)で、同期/非同期変換装置10aのMAC部13は、同期/非同期変換装置10bに対して、「A1」〜「A3」のIPパケット群における1番目のIPパケット(シリアル)A1を伝送するとともに(S11)、1つ前のサイクルで伝送したIPパケット(シリアル)A1〜A3のIPパケット(FEC)を伝送する(S21)。このように、本実施の形態では、各縦段において、IPパケット群のIPパケット(FEC)は、そのIPパケット群を伝送したサイクルの次のサイクルにおけるIPパケット群の最初のIPパケット(シリアル)と共に伝送される。   In the first unit time (4 ms), the MAC unit 13 of the synchronous / asynchronous conversion device 10a sends the first IP packet (serial) to the IP packet group of “A1” to “A3” to the synchronous / asynchronous conversion device 10b. ) A1 is transmitted (S11), and IP packets (FEC) of IP packets (serial) A1 to A3 transmitted in the previous cycle are transmitted (S21). Thus, in this embodiment, in each vertical stage, the IP packet (FEC) of the IP packet group is the first IP packet (serial) of the IP packet group in the cycle following the cycle in which the IP packet group is transmitted. Is transmitted with.

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「B1」〜「B3」のIPパケット群における3番目のIPパケット(シリアル)B3を伝送する(S12)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the third IP packet (serial) B3 in the IP packet group “B1” to “B3” to the synchronous / asynchronous conversion device 10b. (S12).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「C1」〜「C3」のIPパケット群における2番目のIPパケット(シリアル)C2を伝送する(S13)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the second IP packet (serial) C2 in the IP packet group of “C1” to “C3” to the synchronous / asynchronous conversion device 10b. (S13).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「A1」〜「A3」のIPパケット群における2番目のIPパケット(シリアル)A2を伝送する(S14)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the second IP packet (serial) A2 in the IP packet group of “A1” to “A3” to the synchronous / asynchronous conversion device 10b. (S14).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「B1」〜「B3」のIPパケット群における1番目のIPパケット(シリアル)B1を伝送するとともに(S15)、1つ前のサイクルで伝送したIPパケット(シリアル)B1〜B3のIPパケット(FEC)を伝送する(S22)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the first IP packet (serial) B1 in the IP packet group of “B1” to “B3” to the synchronous / asynchronous conversion device 10b. At the same time (S15), the IP packets (FEC) of the IP packets (serial) B1 to B3 transmitted in the previous cycle are transmitted (S22).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「C1」〜「C3」のIPパケット群における3番目のIPパケット(シリアル)C3を伝送する(S16)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the third IP packet (serial) C3 in the IP packet group of “C1” to “C3” to the synchronous / asynchronous conversion device 10b. (S16).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「A1」〜「A3」のIPパケット群における3番目のIPパケット(シリアル)A3を伝送する(S17)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the third IP packet (serial) A3 in the IP packet group of “A1” to “A3” to the synchronous / asynchronous conversion device 10b. (S17).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「B1」〜「B3」のIPパケット群における2番目のIPパケット(シリアル)B2を伝送する(S18)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the second IP packet (serial) B2 in the IP packet group “B1” to “B3” to the synchronous / asynchronous conversion device 10b. (S18).

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「C1」〜「C3」のIPパケット群における1番目のIPパケット(シリアル)C1を伝送するとともに(S19)、1つ前のサイクルで伝送したIPパケット(シリアル)C1〜C3のIPパケット(FEC)を伝送する(S23)。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the first IP packet (serial) C1 in the IP packet group of “C1” to “C3” to the synchronous / asynchronous conversion device 10b. At the same time (S19), the IP packets (serial) C1-C3 IP packets (FEC) transmitted in the previous cycle are transmitted (S23).

次の単位時間(4ms)で、ステップS11に戻り、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、次の1サイクル(ステップS11〜)におけるIPパケット(シリアル)A1を伝送するとともに(S11)、1つ前のサイクル(ステップS11〜S19)で伝送したIPパケット(シリアル)A1〜A3のIPパケット(FEC)を伝送する(S21)。   In the next unit time (4 ms), the process returns to step S11, and the synchronous / asynchronous conversion apparatus 10a transmits the IP packet (serial) A1 in the next one cycle (steps S11 to S11) to the synchronous / asynchronous conversion apparatus 10b. At the same time (S11), the IP packets (FEC) of IP packets (serial) A1 to A3 transmitted in the previous cycle (steps S11 to S19) are transmitted (S21).

このタイミングであれば、IPパケット(FEC)の生成に利用するIPパケット(シリアル)A1〜A3がFEC部12において取得済みであるため、IPパケット(FEC)を生成可能であるからである。例えば、FEC部12は、IPパケット群に属するIPパケット(シリアル)A1〜A3を順次伝送する毎に、その時点でのXOR演算結果と、伝送するIPパケットのデータとのXOR演算をしていくことで、IPパケット群における最後のIPパケット(シリアル)の伝送後には、そのIPパケット群の誤り訂正符号を算出することができる。   This is because at this timing, the IP packets (FEC) can be generated because the FEC unit 12 has already acquired the IP packets (serial) A1 to A3 used for generating the IP packet (FEC). For example, every time the IP packets (serial) A1 to A3 belonging to the IP packet group are sequentially transmitted, the FEC unit 12 performs an XOR operation between the XOR operation result at that time and the data of the IP packet to be transmitted. Thus, after transmission of the last IP packet (serial) in the IP packet group, an error correction code of the IP packet group can be calculated.

また、このタイミングで、最初に説明した1サイクルにおいて伝送されたIPパケット(シリアル)A1〜A3及びそのIPパケット(FEC)の伝送が完了する。すなわち、同期/非同期変換装置10bは、IPパケット(シリアル)A1〜A3のいずれかのIPパケット(シリアル)に異常(データエラー又はパケットロス)が発生した場合であっても、そのIPパケットを復元することが可能となる。よって、このタイミング以降で、IPパケット(シリアル)A1〜A3のいずれかの復元が必要であれば復元することが可能となるため、次の単位時間(4ms)からIPパケット(シリアル)A1〜A3のシリアル化を開始する。   At this timing, transmission of the IP packets (serial) A1 to A3 and the IP packet (FEC) transmitted in one cycle described first is completed. In other words, the synchronous / asynchronous conversion device 10b restores the IP packet even when an abnormality (data error or packet loss) occurs in any of the IP packets (serial) A1 to A3. It becomes possible to do. Therefore, if any of the IP packets (serial) A1 to A3 needs to be restored after this timing, the IP packets (serial) A1 to A3 can be restored from the next unit time (4 ms). Start serialization.

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、IPパケット(シリアル)B3を伝送する(S12)。また、このタイミングで、同期/非同期変換装置10bは、上述したように、IPパケット(シリアル)A1をシリアルデータに変換し、同期回線30bを介して同期通信装置20bに伝送する。これにより、最初のIPパケット(シリアル)A1の到着から約40ms後に、そのシリアルデータの送信が開始される。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the IP packet (serial) B3 to the synchronous / asynchronous conversion device 10b (S12). At this timing, the synchronous / asynchronous conversion device 10b converts the IP packet (serial) A1 into serial data and transmits it to the synchronous communication device 20b via the synchronous line 30b as described above. Thus, transmission of the serial data is started about 40 ms after the arrival of the first IP packet (serial) A1.

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、IPパケット(シリアル)C2を伝送する(S13)。また、このタイミングで、同期/非同期変換装置10bは、IPパケット(シリアル)A1の次のIPパケット(シリアル)B3をシリアルデータに変換し、同期回線30bを介して同期通信装置20bに伝送する。なお、このIPパケット(シリアル)B3とIPパケット復元単位を構成するIPパケット(シリアル)B1、B2及びIPパケット(FEC)は、1つ前のステップS22で伝送が完了しているため、IPパケット(シリアル)B3に異常が発生していたとしても復元することができる。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the IP packet (serial) C2 to the synchronous / asynchronous conversion device 10b (S13). At this timing, the synchronous / asynchronous conversion device 10b converts the IP packet (serial) B3 next to the IP packet (serial) A1 into serial data, and transmits the serial data to the synchronous communication device 20b via the synchronous line 30b. The IP packet (serial) B3, the IP packets (serial) B1, B2 and the IP packet (FEC) constituting the IP packet restoration unit have been transmitted in the previous step S22. Even if an abnormality occurs in (serial) B3, it can be restored.

次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、IPパケット(シリアル)A2を伝送する(S14)。また、このタイミングで、同期/非同期変換装置10bは、IPパケット(シリアル)B3の次のIPパケット(シリアル)C2をシリアルデータに変換し、同期回線30bを介して同期通信装置20bに伝送する。なお、このIPパケット(シリアル)C2とIPパケット復元単位を構成するIPパケット(シリアル)C1、C3及びIPパケット(FEC)は、1つ前のステップS23で伝送が完了しているため、IPパケット(シリアル)C2に異常が発生していたとしても復元することができる。   In the next unit time (4 ms), the synchronous / asynchronous conversion device 10a transmits the IP packet (serial) A2 to the synchronous / asynchronous conversion device 10b (S14). At this timing, the synchronous / asynchronous conversion device 10b converts the IP packet (serial) C2 next to the IP packet (serial) B3 into serial data, and transmits the serial data to the synchronous communication device 20b via the synchronous line 30b. The IP packet (serial) C2, the IP packets (serial) C1 and C3 and the IP packet (FEC) constituting the IP packet restoration unit have been transmitted in the previous step S23. Even if an abnormality occurs in (serial) C2, it can be restored.

以降も同様にして、IPパケット(シリアル)B1とIPパケット(FEC)の伝送及びIPパケットA2の変換・伝送、IPパケット(シリアル)C3の伝送及びIPパケットB1の変換・伝送、IPパケット(シリアル)A3の伝送及びIPパケットC3の変換・伝送、IPパケット(シリアル)B2の伝送及びIPパケットA3の変換・伝送、並びに、IPパケット(シリアル)C1とIPパケット(FEC)の伝送及びIPパケットB2の変換・伝送が順次行われていく。   Thereafter, similarly, transmission of IP packet (serial) B1 and IP packet (FEC) and conversion / transmission of IP packet A2, transmission of IP packet (serial) C3, conversion / transmission of IP packet B1, IP packet (serial) ) Transmission of A3 and conversion / transmission of IP packet C3, transmission of IP packet (serial) B2 and conversion / transmission of IP packet A3, and transmission of IP packet (serial) C1 and IP packet (FEC) and IP packet B2 Conversion and transmission are performed sequentially.

以上に説明したように、本実施の形態は、同一のIPパケット群に属するIPパケット(シリアル)及びそのIPパケット群から生成されたIPパケット(FEC)が同一の段に連続して割り当てられるように、IPパケット(シリアル)及びIPパケット(FEC)を複数段(縦段)に振り分け、その複数段について所定の順序でIPパケット(シリアル)及びIPパケット(FEC)を送信することで、同一のIPパケット群に属するIPパケット(シリアル)及びそのIPパケット群から生成されたIPパケット(FEC)の全てが相互に連続しないように、IPパケット(シリアル)及びIPパケット(FEC)を送信するようにしている。   As described above, according to the present embodiment, IP packets (serial) belonging to the same IP packet group and IP packets (FEC) generated from the IP packet group are continuously assigned to the same stage. The IP packet (serial) and the IP packet (FEC) are divided into a plurality of stages (vertical stages), and the IP packet (serial) and the IP packet (FEC) are transmitted in a predetermined order with respect to the plurality of stages. The IP packet (serial) and the IP packet (FEC) are transmitted so that the IP packet (serial) belonging to the IP packet group and the IP packet (FEC) generated from the IP packet group are not continuous with each other. ing.

これによれば、図6に示すように、IPパケット復元単位におけるIPパケットを分散して伝送することができるため、バーストエラー及びランダムエラーの両方のエラーに対応することができる。特に、バーストエラーに対して有効である。例えば、図6において、横段1段分の期間においてIPパケットにバーストエラーが発生した場合であっても、IPパケット復元単位においてエラーとなるIPパケットを1つのみに抑えることができる。そのため、IPパケットにエラーが発生した場合であっても、IPパケットの復元を保障することができる。すなわち、データを極めて高確率で復元することを可能とし、よりデータの同期を保障することができる。   According to this, as shown in FIG. 6, since IP packets in an IP packet restoration unit can be distributed and transmitted, it is possible to cope with both burst errors and random errors. This is particularly effective for burst errors. For example, in FIG. 6, even when a burst error occurs in an IP packet in the period of one horizontal stage, it is possible to suppress only one IP packet that causes an error in the IP packet restoration unit. Therefore, even when an error occurs in the IP packet, restoration of the IP packet can be guaranteed. That is, it is possible to restore the data with a very high probability, and it is possible to further ensure the synchronization of the data.

また、本実施の形態では、全てのIPパケット群について、IPパケット群におけるIPパケット(シリアル)の送信後に、そのIPパケット群から生成したIPパケット(FEC)を送信するとともに、複数段(縦段)の間でIPパケット群を送信開始する単位時間が連続した単位時間とならないようにずらすことで、IPパケット(FEC)が連続した単位時間で送信されないように分散して送信するようにしている。これによれば、IPパケット(シリアル)と共に送信するIPパケット(FEC)が、ある横段の1つに集中することがなくなり、短期的な通信量の増加を抑制することができる。   In the present embodiment, for all IP packet groups, after transmission of IP packets (serial) in the IP packet group, an IP packet (FEC) generated from the IP packet group is transmitted, and a plurality of stages (vertical stages) ) So that the unit time for starting transmission of the IP packet group does not become a continuous unit time, so that the IP packet (FEC) is transmitted in a distributed manner so as not to be transmitted in the continuous unit time. . According to this, the IP packet (FEC) transmitted together with the IP packet (serial) is not concentrated on one horizontal stage, and an increase in short-term traffic can be suppressed.

<実施の形態の変形例1>
上記の実施の形態では、同一のIPパケット群に属するIPパケット(シリアル)及びそのIPパケット群から生成されたIPパケット(FEC)の全てが相互に連続しないように送信される例について説明したが、これに限られない。同一のIPパケット群に属するIPパケット(シリアル)及びそのIPパケット群から生成されたIPパケット(FEC)の少なくともいずれか2つ以上が相互に連続しないように送信されるようにしてもよい。例えば、図7に示すように、IPパケットを伝送するようにしてもよい。
<Variation 1 of Embodiment>
In the above embodiment, an example has been described in which all IP packets (serial) belonging to the same IP packet group and IP packets (FEC) generated from the IP packet group are transmitted so as not to be mutually continuous. Not limited to this. At least any two of IP packets (serial) belonging to the same IP packet group and IP packets (FEC) generated from the IP packet group may be transmitted so as not to be continuous with each other. For example, as shown in FIG. 7, IP packets may be transmitted.

図7の例では、縦段についてのIPパケットの送信順序は、1段目、2段目、3段目、3段目、2段目、及び1段目の繰り返しとなるよう予め定められている。しかしながら、この場合、IPパケットA2とIPパケットA3、並びに、IPパケットC2とIPパケットC3は連続して送信されることになる。よって、これらが送信される期間においてバーストエラーが発生してしまった場合には、2つのIPパケット(シリアル)がエラーとなってしまうことになる。したがって、好ましくは、上述した実施の形態のように、同一のIPパケット群に属するIPパケット(シリアル)及びそのIPパケット群から生成されたIPパケット(FEC)の全てが相互に連続しないように送信するとよい。   In the example of FIG. 7, the transmission order of IP packets for the vertical stage is determined in advance to be the first stage, the second stage, the third stage, the third stage, the second stage, and the first stage. Yes. However, in this case, the IP packet A2 and the IP packet A3, and the IP packet C2 and the IP packet C3 are transmitted continuously. Therefore, if a burst error occurs during the period in which they are transmitted, two IP packets (serial) will result in an error. Therefore, preferably, as in the above-described embodiment, transmission is performed so that all IP packets (serial) belonging to the same IP packet group and IP packets (FEC) generated from the IP packet group are not consecutive to each other. Good.

<実施の形態の変形例2>
上記の実施の形態では、複数段(縦段)の間でIPパケット群を送信開始する単位時間が連続した単位時間とならないようにずらすことで、IPパケット(FEC)が連続した単位時間で送信されないように分散して送信する例について説明したが、これに限られない。IPパケット(FEC)の2つ以上が連続した単位時間で送信されるようにしてもよい。例えば、図8に示すように、IPパケットを伝送するようにしてもよい。
<Modification 2 of Embodiment>
In the above embodiment, the IP packet (FEC) is transmitted in continuous unit time by shifting so that the unit time for starting transmission of the IP packet group does not become a continuous unit time among a plurality of stages (vertical stages). Although an example of transmitting in a distributed manner so as not to be performed has been described, the present invention is not limited to this. Two or more IP packets (FEC) may be transmitted in continuous unit time. For example, as shown in FIG. 8, IP packets may be transmitted.

図8の例では、複数段(縦段)の間でIPパケット群を送信開始する単位時間が連続した単位時間となるようにすることで、IPパケット(FEC)が連続した単位時間で送信されるようにしている。これによっても、IPパケット復元単位におけるIPパケットを分散して伝送することができるため、バーストエラー及びランダムエラーの両方のエラーに対応することができる。しかしながら、IPパケット(シリアル)と共に送信するIPパケット(FEC)が、ある横段の1つに集中してしまうため、短期的な通信負荷が増大してしまう。よって、好ましくは、上述した実施の形態のように、IPパケット(FEC)が連続した単位時間で送信されないように分散して送信するようにするとよい。   In the example of FIG. 8, the IP packet (FEC) is transmitted in continuous unit time by setting the unit time for starting transmission of the IP packet group to be a continuous unit time between a plurality of stages (vertical stages). I try to do it. Also by this, since IP packets in the IP packet restoration unit can be distributed and transmitted, it is possible to cope with both burst errors and random errors. However, since IP packets (FEC) transmitted together with IP packets (serial) are concentrated on one horizontal stage, the short-term communication load increases. Therefore, it is preferable to distribute and transmit IP packets (FEC) so that they are not transmitted in continuous unit time as in the above-described embodiment.

<実施の形態の他の変形例>
また、上記の実施の形態では、各縦段において、IPパケット群から生成したIPパケット(FEC)と共に、その次のIPパケット群の最初のIPパケット(シリアル)を送信するようにしているが、これに限られない。例えば、IPパケット群の最後のIPパケット(シリアル)を送信する単位時間で、そのIPパケット群から生成したIPパケット(FEC)もあわせて送信するようにしてもよい。
<Other Variations of Embodiment>
In the above embodiment, in each vertical stage, the first IP packet (serial) of the next IP packet group is transmitted together with the IP packet (FEC) generated from the IP packet group. It is not limited to this. For example, an IP packet (FEC) generated from the IP packet group may be transmitted together with a unit time for transmitting the last IP packet (serial) of the IP packet group.

また、例えば、IPパケット群の最後のIPパケット(シリアル)を送信した単位時間の次の単位時間でそのIPパケット群から生成したIPパケット(FEC)を送信し、さらにその次の単位時間で次のIPパケット群の最初のIPパケット(シリアル)を送信すようにしてもよい。しかしながら、この場合は、次のIPパケット群のIPパケット(シリアル)の送信が遅延することになる。よって、好ましくは、上述した実施の形態のように、IPパケット群から生成したIPパケット(FEC)と共に、その次のIPパケット群の最初のIPパケット(シリアル)を送信するようにするとよい。   Also, for example, an IP packet (FEC) generated from the IP packet group is transmitted in the unit time next to the unit time in which the last IP packet (serial) of the IP packet group is transmitted, and the next unit time is further transmitted. The first IP packet (serial) of the IP packet group may be transmitted. However, in this case, transmission of the IP packet (serial) of the next IP packet group is delayed. Therefore, it is preferable to transmit the first IP packet (serial) of the next IP packet group together with the IP packet (FEC) generated from the IP packet group as in the above-described embodiment.

また、上記の実施の形態では、全てのIPパケット群が同一数のIPパケット(シリアル)を含むように決定されているが、これに限られない。縦段毎又はランダムに、IPパケット群に含まれるIPパケット(シリアル)の数を可変としてもよい。しかしながら、この場合には、一定周期又はランダムなタイミングで、IPパケット(FEC)の2つ以上が連続した単位時間で送信されるようになってしまう。よって、好ましくは、上述した実施の形態のように、IPパケット群に含まれるIPパケット(シリアル)の数を、全てのIPパケット群で同一数とするとよい。   In the above-described embodiment, it is determined that all IP packet groups include the same number of IP packets (serial). However, the present invention is not limited to this. The number of IP packets (serial) included in the IP packet group may be variable for each vertical stage or randomly. However, in this case, two or more IP packets (FEC) are transmitted in continuous unit time at a constant period or at random timing. Therefore, it is preferable that the number of IP packets (serial) included in the IP packet group be the same in all IP packet groups as in the above-described embodiment.

<実施の形態の概略構成>
続いて、図9を参照して、本発明の実施の形態に係る通信システム1の概略構成について説明する。図9は、本発明の実施の形態に係る通信システム1の概略構成図である。すなわち、上述した本実施の形態に係る通信システム1は、その概要構成として、図9に示す通信システム9のように捉えることもできる。
<Schematic configuration of the embodiment>
Next, a schematic configuration of the communication system 1 according to the embodiment of the present invention will be described with reference to FIG. FIG. 9 is a schematic configuration diagram of the communication system 1 according to the embodiment of the present invention. That is, the communication system 1 according to the present embodiment described above can also be understood as a communication system 9 shown in FIG.

通信システム9は、第1の変換装置91と第2の変換装置92を有する。第1の変換装置91は、符号生成部93及び送信制御部94を有する。第2の変換装置92は、復号部95を有する。   The communication system 9 includes a first conversion device 91 and a second conversion device 92. The first conversion device 91 includes a code generation unit 93 and a transmission control unit 94. The second conversion device 92 includes a decoding unit 95.

第1の変換装置91は、第1の同期回線から受信したデータを、非同期回線で伝送可能な形式に変換した変換データを非同期回線に送信する。第2の変換装置92は、第1の変換装置91から非同期回線を介して送信された変換データを受信し、同期回線で伝送可能な形式に再変換して第2の同期回線に送信する。変換装置91、92は、同期/非同期変換装置10a、10bに対応する。変換データは、IPパケット(シリアル)に対応する。   The first conversion device 91 transmits converted data obtained by converting data received from the first synchronous line into a format that can be transmitted through the asynchronous line, to the asynchronous line. The second conversion device 92 receives the conversion data transmitted from the first conversion device 91 via the asynchronous line, re-converts it into a format that can be transmitted via the synchronous line, and transmits it to the second synchronous line. The conversion devices 91 and 92 correspond to the synchronous / asynchronous conversion devices 10a and 10b. The conversion data corresponds to an IP packet (serial).

符号生成部93は、所定の規則に従って決定される変換データ群毎に、変換データ群に属する変換データに基づいて、誤り訂正符号を示す符号データを生成する。符号生成部93は、FEC部12に対応する。符号データは、IPパケット(FEC)に対応する。
送信制御部94は、第2の変換装置92への変換データ及び符号データの送信を制御する。送信制御部94は、MAC部13に対応する。
The code generation unit 93 generates code data indicating an error correction code based on the conversion data belonging to the conversion data group for each conversion data group determined according to a predetermined rule. The code generation unit 93 corresponds to the FEC unit 12. The code data corresponds to an IP packet (FEC).
The transmission control unit 94 controls transmission of converted data and code data to the second conversion device 92. The transmission control unit 94 corresponds to the MAC unit 13.

復元部95は、変換データ群のいずれかの変換データにおいて異常が発生した場合、異常が発生した変換データを、その変換データ群に属する他の変換データ及びその変換データ群から生成した符号データに基づいて復元する。復元部95は、FEC部12に対応する。   When an abnormality occurs in any of the conversion data in the conversion data group, the restoration unit 95 converts the conversion data in which the abnormality has occurred into other conversion data belonging to the conversion data group and code data generated from the conversion data group. Restore based on. The restoration unit 95 corresponds to the FEC unit 12.

ここで、送信制御部94は、同一の変換データ群に属する変換データ及びその変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、変換データ及び符号データを第2の変換装置92に送信する。   Here, the transmission control unit 94 converts the conversion data and the code data so that at least any two of the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are not continuous with each other. Transmit to the second converter 92.

上述した通信システム1は、このような構成を概念的に有しており、この構成によれば、同一の変換データ群に属する変換データ及びその変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように送信される。そのため、変換データの復元単位(変換データ群及びその符号データ)において、2つ以上のデータが異常となってしまう可能性を低減し、より第1の同期回線と第2の同期回線との間におけるデータの同期を保障することができる。   The communication system 1 described above conceptually has such a configuration, and according to this configuration, at least one of conversion data belonging to the same conversion data group and code data generated from the conversion data group is included. Two or more are transmitted so as not to be continuous with each other. For this reason, the possibility of two or more pieces of data becoming abnormal in the restoration unit of the conversion data (conversion data group and its code data) is reduced, and more between the first synchronization line and the second synchronization line. Can ensure data synchronization.

本発明の実施の形態にかかる変換装置10は、上述の実施の形態の機能を実現するプログラムを、コンピュータ(変換装置10)又はコンピュータが有するCPU(Central Processing Unit)が実行することによって、構成することが可能である。   The conversion device 10 according to the embodiment of the present invention is configured by a computer (the conversion device 10) or a CPU (Central Processing Unit) included in the computer executing a program that realizes the functions of the above-described embodiments. It is possible.

また、このプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。   The program can be stored using various types of non-transitory computer readable media and supplied to a computer. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)) are included. The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.

1、9 通信システム
10、10a、10b 同期/非同期変換装置
11 パケットシリアル変換部
12 FEC部
13 MAC部
20、20a、20b 同期通信装置
30、30a、30b 同期回線
40 非同期回線
91 第1の変換装置
92 第2の変換装置
93 符号生成部
94 送信制御部
95 復号部
DESCRIPTION OF SYMBOLS 1, 9 Communication system 10, 10a, 10b Synchronous / asynchronous conversion apparatus 11 Packet serial conversion part 12 FEC part 13 MAC part 20, 20a, 20b Synchronous communication apparatus 30, 30a, 30b Synchronous line 40 Asynchronous line 91 1st conversion apparatus 92 Second conversion device 93 Code generation unit 94 Transmission control unit 95 Decoding unit

Claims (10)

第1の同期回線から受信したデータを、非同期回線で伝送可能な形式に変換した変換データを非同期回線に送信する第1の変換装置と、
前記第1の変換装置から前記非同期回線を介して送信された変換データを受信し、同期回線で伝送可能な形式に再変換して第2の同期回線に送信する第2の変換装置と、を備え、
前記第1の変換装置は、
所定の規則に従って決定される変換データ群毎に、前記変換データ群に属する変換データに基づいて、誤り訂正符号を示す符号データを生成する符号生成部と、
前記第2の変換装置への前記変換データ及び前記符号データの送信を制御する送信制御部と、を有し、
前記第2の変換装置は、
前記変換データ群のいずれかの変換データにおいて異常が発生した場合、前記異常が発生した変換データを、当該変換データ群に属する他の変換データ及び当該変換データ群から生成した符号データに基づいて復元する復元部を有し、
前記送信制御部は、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記第2の変換装置に送信する、
通信システム。
A first conversion device that transmits converted data obtained by converting data received from the first synchronous line into a format that can be transmitted by the asynchronous line, to the asynchronous line;
A second converter that receives the conversion data transmitted from the first converter via the asynchronous line, reconverts the converted data into a form that can be transmitted on the synchronous line, and transmits the converted data to the second synchronous line; Prepared,
The first conversion device includes:
A code generation unit that generates code data indicating an error correction code based on the conversion data belonging to the conversion data group for each conversion data group determined according to a predetermined rule;
A transmission control unit that controls transmission of the converted data and the code data to the second conversion device;
The second conversion device includes:
When an abnormality occurs in any of the conversion data in the conversion data group, the conversion data in which the abnormality has occurred is restored based on other conversion data belonging to the conversion data group and code data generated from the conversion data group Having a restoration unit to
The transmission control unit converts the conversion data and the code data so that at least any two of the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are not continuous with each other. Send to the second converter,
Communications system.
前記送信制御部は、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの全てが相互に連続しないように、前記変換データ及び前記符号データを送信する、
請求項1に記載の通信システム。
The transmission control unit transmits the conversion data and the code data so that all the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are not mutually continuous.
The communication system according to claim 1.
前記送信制御部は、所定の単位時間毎に、前記変換データを送信し、
前記送信制御部は、前記符号データを、いずれかの変換データとともに送信する、
請求項2に記載の通信システム。
The transmission control unit transmits the conversion data every predetermined unit time,
The transmission control unit transmits the code data together with any conversion data.
The communication system according to claim 2.
前記送信制御部は、異なる変換データ群から生成された符号データが連続した前記単位時間で送信されないように、前記符号データを分散して送信する、
請求項3に記載の通信システム。
The transmission control unit distributes and transmits the code data so that code data generated from different conversion data groups is not transmitted in the continuous unit time.
The communication system according to claim 3.
前記送信制御部は、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データが同一の段に連続して割り当てられるように、前記変換データ及び前記符号データを複数段に振り分け、前記複数段について所定の順序で前記変換データ及び前記符号データを送信することで、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの全てが相互に連続しないように、前記変換データ及び前記符号データを送信する、
請求項4に記載の通信システム。
The transmission control unit assigns the conversion data and the code data to a plurality of stages so that the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are continuously assigned to the same stage. The conversion data and the code data are transmitted in a predetermined order for the plurality of stages, so that all of the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are not mutually continuous So as to transmit the converted data and the code data,
The communication system according to claim 4.
前記変換データ群は、全ての変換データ群が同一数の変換データを含むように決定され、
前記送信制御部は、全ての変換データ群について、前記変換データ群における変換データの送信後に、当該変換データ群から生成した符号データを送信するとともに、前記複数段の間で前記変換データ群を送信開始する前記単位時間が連続した前記単位時間とならないようにずらすことで、前記符号データが連続した前記単位時間で送信されないように分散して送信する、
請求項5に記載の通信システム。
The conversion data group is determined so that all the conversion data groups include the same number of conversion data,
The transmission control unit transmits code data generated from the converted data group after transmitting the converted data in the converted data group for all the converted data groups, and transmits the converted data group between the plurality of stages. By shifting so that the unit time to start does not become the continuous unit time, the code data is transmitted in a distributed manner so as not to be transmitted in the continuous unit time.
The communication system according to claim 5.
前記変換データ群は、前記変換データの順序と、前記複数段からの前記変換データの送信順序が一致するように決定される、
請求項5又は6に記載の通信システム。
The conversion data group is determined such that the order of the conversion data matches the transmission order of the conversion data from the plurality of stages.
The communication system according to claim 5 or 6.
前記同期回線で伝送可能な形式のデータは、シリアルデータであり、
前記非同期回線で伝送可能な形式の変換データは、IPパケットである、
請求項1乃至7のいずれか1項に記載の通信システム。
Data in a format that can be transmitted through the synchronous line is serial data,
The conversion data in a format that can be transmitted through the asynchronous line is an IP packet.
The communication system according to any one of claims 1 to 7.
非同期回線から変換データを受信して第2の同期回線で伝送可能な形式に再変換して第2の同期回線に送信する他の変換装置に対して、第1の同期回線から受信したデータを非同期回線で伝送可能な形式に変換した変換データを、前記非同期回線を介して送信する変換装置であって、
所定の規則に従って決定される変換データ群毎に、前記変換データ群に属する変換データに基づいて、当該変換データ群のいずれかの変換データにおいて異常が発生した場合、前記異常が発生した変換データを復元するための誤り訂正符号を示す符号データを生成する符号生成部と、
前記他の変換装置への前記変換データ及び前記符号データの送信を制御する送信制御部と、
前記送信制御部は、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記他の変換装置に送信する、
変換装置。
The data received from the first synchronization line is sent to another conversion device that receives the conversion data from the asynchronous line, reconverts it into a format that can be transmitted through the second synchronization line, and transmits it to the second synchronization line. A conversion device that transmits converted data converted into a format that can be transmitted through an asynchronous line, via the asynchronous line,
For each conversion data group determined according to a predetermined rule, based on the conversion data belonging to the conversion data group, when an abnormality occurs in any of the conversion data of the conversion data group, the conversion data in which the abnormality has occurred A code generation unit that generates code data indicating an error correction code to be restored;
A transmission control unit that controls transmission of the conversion data and the code data to the other conversion device;
The transmission control unit converts the conversion data and the code data so that at least any two of the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are not continuous with each other. Send to other conversion device,
Conversion device.
第1の同期回線から受信したデータを、非同期回線で伝送可能な形式に変換した変換データを非同期回線に送信する第1の変換装置と、前記第1の変換装置から前記非同期回線を介して送信された変換データを受信し、同期回線で伝送可能な形式に再変換して第2の同期回線に送信する第2の変換装置との間における通信方法であって、
前記第1の変換装置が、所定の規則に従って決定される変換データ群毎に、前記変換データ群に属する変換データに基づいて、誤り訂正符号を示す符号データを生成する生成ステップと、
前記第1の変換装置が、前記第2の変換装置への前記変換データ及び前記符号データの送信する送信ステップと、
前記第2の変換装置が、前記変換データ群のいずれかの変換データにおいて異常が発生した場合、前記異常が発生した変換データを、当該変換データ群に属する他の変換データ及び当該変換データ群から生成した符号データに基づいて復元する復元ステップと、を備え、
前記送信ステップでは、同一の変換データ群に属する変換データ及び当該変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記第2の変換装置に送信する、
通信方法。
A first conversion device that transmits converted data obtained by converting data received from the first synchronous line into a format that can be transmitted through the asynchronous line, and is transmitted from the first conversion device via the asynchronous line. A communication method with a second conversion device that receives the converted data, reconverts the converted data into a form that can be transmitted on the synchronous line, and transmits the converted data to the second synchronous line,
A step of generating, for each conversion data group determined according to a predetermined rule, the code data indicating an error correction code based on the conversion data belonging to the conversion data group, the first conversion device;
The first conversion device transmits the converted data and the code data to the second conversion device; and
When an abnormality occurs in any of the conversion data in the conversion data group, the second conversion device converts the conversion data in which the abnormality has occurred from other conversion data belonging to the conversion data group and the conversion data group. A restoration step for restoring based on the generated code data,
In the transmission step, the conversion data and the code data are stored in the first conversion data and the code data so that at least any two of the conversion data belonging to the same conversion data group and the code data generated from the conversion data group are not consecutive to each other. 2 to the conversion device
Communication method.
JP2013114079A 2013-05-30 2013-05-30 COMMUNICATION SYSTEM, CONVERSION DEVICE, AND COMMUNICATION METHOD Active JP6146806B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013114079A JP6146806B2 (en) 2013-05-30 2013-05-30 COMMUNICATION SYSTEM, CONVERSION DEVICE, AND COMMUNICATION METHOD

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013114079A JP6146806B2 (en) 2013-05-30 2013-05-30 COMMUNICATION SYSTEM, CONVERSION DEVICE, AND COMMUNICATION METHOD

Publications (2)

Publication Number Publication Date
JP2014233042A true JP2014233042A (en) 2014-12-11
JP6146806B2 JP6146806B2 (en) 2017-06-14

Family

ID=52126184

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013114079A Active JP6146806B2 (en) 2013-05-30 2013-05-30 COMMUNICATION SYSTEM, CONVERSION DEVICE, AND COMMUNICATION METHOD

Country Status (1)

Country Link
JP (1) JP6146806B2 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07202907A (en) * 1993-12-29 1995-08-04 Toshiba Corp Error controller for atm network
US6473875B1 (en) * 1999-03-03 2002-10-29 Intel Corporation Error correction for network delivery of video streams using packet resequencing
JP2003087225A (en) * 2001-09-12 2003-03-20 Nippon Telegr & Teleph Corp <Ntt> Method for transferring data, data transfer system, terminal, data transfer program, and recording medium
US6771674B1 (en) * 1998-12-28 2004-08-03 3Com Corporation Method and system for forward error correction based on parallel streams
JP2005236739A (en) * 2004-02-20 2005-09-02 Nippon Telegr & Teleph Corp <Ntt> Transmitter, receiver, and video distribution system
JP2008131153A (en) * 2006-11-17 2008-06-05 Toshiba Corp Communication device, method, and program
JP2010034898A (en) * 2008-07-29 2010-02-12 Canon Inc Data transmission apparatus and data transmission method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07202907A (en) * 1993-12-29 1995-08-04 Toshiba Corp Error controller for atm network
US6771674B1 (en) * 1998-12-28 2004-08-03 3Com Corporation Method and system for forward error correction based on parallel streams
US6473875B1 (en) * 1999-03-03 2002-10-29 Intel Corporation Error correction for network delivery of video streams using packet resequencing
JP2003087225A (en) * 2001-09-12 2003-03-20 Nippon Telegr & Teleph Corp <Ntt> Method for transferring data, data transfer system, terminal, data transfer program, and recording medium
JP2005236739A (en) * 2004-02-20 2005-09-02 Nippon Telegr & Teleph Corp <Ntt> Transmitter, receiver, and video distribution system
JP2008131153A (en) * 2006-11-17 2008-06-05 Toshiba Corp Communication device, method, and program
JP2010034898A (en) * 2008-07-29 2010-02-12 Canon Inc Data transmission apparatus and data transmission method

Also Published As

Publication number Publication date
JP6146806B2 (en) 2017-06-14

Similar Documents

Publication Publication Date Title
US10623123B2 (en) Virtual HDBaseT link
US10476526B2 (en) Coding and decoding method and device, and system
CN102833061B (en) Based on method and the node of the raising clock accuracy of seamless redundant looped network
JP2009253842A (en) Clock synchronization system
JP5533322B2 (en) Data transfer device, data transfer method, and data transfer program
JP2020522165A (en) Bit block stream and bit error detection method and device
JP2007036712A (en) Communication system, communication method, its master station device, and satellite station device
JP6146806B2 (en) COMMUNICATION SYSTEM, CONVERSION DEVICE, AND COMMUNICATION METHOD
JP5372248B2 (en) Maintaining time division multiplexing through pseudowire connections during network failures
JP6456776B2 (en) Delay fluctuation absorption method
JP6274918B2 (en) Communications system
JP2010062992A (en) Clock synchronization method and communication system
JP6472377B2 (en) Transmission system, slave station apparatus, and transmission method
JP2014225751A (en) Redundant transmitter and redundant transmission method
JP6598335B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PROGRAM
JP6024820B2 (en) Communication device
JPWO2014091515A1 (en) Transmission system, receiver, and fluctuation measuring method
JP2017228816A (en) Communication control device
JP2012060374A (en) Base station control device, radio communication system, and timing correction method
JP2016181892A (en) Communication device, packet transmission method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160408

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170207

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170406

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170511

R150 Certificate of patent or registration of utility model

Ref document number: 6146806

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350