JP2014233042A - Communication system, conversion device, and communication method - Google Patents
Communication system, conversion device, and communication method Download PDFInfo
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Communication Control (AREA)
Abstract
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 (
しかしながら、このように同期通信網と非同期通信網の間でデータを変換して伝送するシステムでは、非同期化通信網においてデータのエラーが発生してしまった場合に、同期通信網において許容される遅延量を超える遅延が発生してしまう場合がある。例えば、非同期通信網である広域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.
上述したように、同期通信網間において、非同期通信網を介してデータを伝送する場合には、非同期通信網におけるデータの異常の発生によって同期を保障することができなくなってしまうという課題がある。 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.
以下に図面を参照しながら、本発明の好適な実施の形態について説明する。以下の実施の形態に示す具体的な数値等は、発明の理解を容易とするための例示にすぎず、特に断る場合を除き、それに限定されるものではない。また、以下の記載及び図面では、説明の明確化のため、当業者にとって自明な事項等については、適宜、省略及び簡略化がなされている。 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
通信システム1は、同期/非同期変換装置10a、10b、及び同期通信装置20a、20bを有する。
The
同期通信装置20aと、同期/非同期変換装置10aとは、同期回線(同期通信網)30aを介して相互に接続されている。同期/非同期変換装置10aと、同期/非同期変換装置10bとは、非同期回線(非同期通信網)40を介して相互に接続されている。同期/非同期変換装置10bと、同期通信装置20bとは、同期回線(同期通信網)30bを介して相互に接続されている。
The
同期回線30a、30bは、同期通信におけるデータが伝送される回線である。具体的には、同期回線30a、30bは、シリアル通信回線である。シリアル通信回線は、例えば、SDH(Synchronous Digital Hierarchy)又はSONET(Synchronous Optical NETwork)等である。以下、同期回線30a及び同期回線30bを総じて「同期回線30」とも呼ぶ。非同期回線40は、非同期通信におけるデータが伝送される回線である。具体的には、非同期回線40は、IP(Internet Protocol)通信回線である。
The
同期/非同期変換装置10aは、同期回線30aと非同期回線40との間でデータを変換する装置である。同期/非同期変換装置10aは、同期通信装置20aから同期回線30aを介して送信されたデータを受信し、受信したデータを非同期回線40において伝送可能な形式に変換する。すなわち、同期/非同期変換装置10aは、同期通信装置20aから受信したシリアルデータを、IPパケットに変換する。同期/非同期変換装置10aは、変換後のデータ(IPパケット)を非同期回線40を介して同期/非同期変換装置10bに送信する。
The synchronous /
また、同期/非同期変換装置10aは、同期/非同期変換装置10bから非同期回線40を介して送信されたデータを受信し、受信したデータを同期回線30aにおいて伝送可能な形式に変換する。すなわち、同期/非同期変換装置10aは、同期/非同期変換装置10bから受信したIPパケットを、シリアルデータに変換する。同期/非同期変換装置10aは、変換後のデータ(シリアルデータ)を同期回線30aを介して同期通信装置20aに送信する。
The synchronous /
同期/非同期変換装置10bは、同期回線30bと非同期回線40との間でデータを変換する装置である。同期/非同期変換装置10bは、同期通信装置20bから同期回線30bを介して送信されたデータを受信し、受信したデータを非同期回線40において伝送可能な形式に変換する。すなわち、同期/非同期変換装置10bは、同期通信装置20bから受信したシリアルデータを、IPパケットに変換する。同期/非同期変換装置10bは、変換後のデータ(IPパケット)を非同期回線40を介して同期/非同期変換装置10aに送信する。
The synchronous /
また、同期/非同期変換装置10bは、同期/非同期変換装置10aから非同期回線40を介して送信されたデータを受信し、受信したデータを同期回線30bにおいて伝送可能な形式に変換する。すなわち、同期/非同期変換装置10bは、同期/非同期変換装置10aから受信したIPパケットを、シリアルデータに変換する。同期/非同期変換装置10bは、変換後のデータ(シリアルデータ)を同期回線30bを介して同期通信装置20bに送信する。
The synchronous /
同期通信装置20aは、同期通信装置20bとの間でデータを送受信する装置である。同期通信装置20aは、同期回線30aを介して同期通信装置20bにシリアルデータを送信する。このシリアルデータは、上述したように、同期/非同期変換装置10aによって非同期回線で伝送可能な形式に変換された後に、非同期回線40を介して同期通信装置20b側に伝送されることになる。
The
また、同期通信装置20aは、同期回線30aを介して同期通信装置20bから送信されたシリアルデータを受信する。このシリアルデータは、上述したように、同期通信装置20b側から非同期回線40を介して伝送された後に、同期/非同期変換装置10bによって同期回線30aで伝送可能な形式に変換されたものとなる。
The
同期通信装置20bは、同期通信装置20aとの間でデータを送受信する装置である。同期通信装置20bは、同期回線30bを介して同期通信装置20aにシリアルデータを送信する。このシリアルデータは、上述したように、同期/非同期変換装置10bによって非同期回線40で伝送可能な形式に変換された後に、非同期回線40を介して同期通信装置20a側に伝送されることになる。
The
また、同期通信装置20bは、同期回線30bを介して同期通信装置20aから送信されたシリアルデータを受信する。このシリアルデータは、上述したように、同期通信装置20a側から非同期回線40を介して伝送された後に、同期/非同期変換装置10aによって同期回線30bで伝送可能な形式に変換されたものとなる。
The
以下、同期/非同期変換装置10a及び同期/非同期変換装置10bを総じて「同期/非同期変換装置10」とも呼ぶ。また、同期通信装置20a及び同期通信装置20bを総じて「同期通信装置20」とも呼ぶ。
Hereinafter, the synchronous /
ここで、同期通信装置20a及び同期通信装置20bの間の同期通信に関しては、次の条件を想定する。厳密なクロック同期が必要であり、クロックスリップは許容されない。ビットエラーは、一定値までは許容するが、それによるクロックスリップは許容されない。すなわち、同期通信装置20a及び同期通信装置20bの間で、シリアルデータの受信周期(サンプリング周期、シリアルデータを取り込む周期)及びシリアルデータの送信周期(送出するシリアルデータの値を切り替える周期)を規定するクロック信号のクロックスリップは許容されない。キャラクタ同期やフレーム同期等のように、データによる同期補正ができない。一定時間の伝送遅延は許容される。すなわち、一定時間までの伝送遅延であれば、同期通信装置20aと同期通信装置20bの間におけるデータの同期は保障される。
Here, the following conditions are assumed regarding the synchronous communication between the
また、同期/非同期変換装置10a及び同期/非同期変換装置10bの間の非同期通信に関しては、次の条件を想定する。一定時間の伝送遅延が発生する。一定値のジッタが発生する。一定確率でデータエラー又はデータロスが発生する。なお、同期/非同期変換装置10a及び同期/非同期変換装置10bにおいても、クロック信号によって規定されるシリアルデータの受信周期及び送信周期で、シリアルデータを送受信する。
The following conditions are assumed for asynchronous communication between the synchronous /
よって、データの変換及び非同期回線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
続いて、図2を参照して、本発明の実施の形態にかかる同期/非同期変換装置10の構成について説明する。図2は、本発明の実施の形態にかかる同期/非同期変換装置10の構成図である。
Then, with reference to FIG. 2, the structure of the synchronous /
同期/非同期変換装置10は、パケットシリアル変換部11、FEC部12、及びMAC部13を有する。
The synchronous /
パケットシリアル変換部11は、同期回線30と非同期回線40との間のデータの変換を実施する。パケットシリアル変換部11は、同期回線30から受信したシリアルデータをIPパケットに変換する。具体的には、パケットシリアル変換部11は、シリアルデータを所定サイズで区切って、区切られたデータのそれぞれをIPパケットのデータ部のデータとすることで、IPパケット(シリアル)を生成する。IPパケット生成のためにシリアルデータを区切るサイズは、予め任意に定められたサイズ(例えば100ビット)となる。このように、シリアルデータがそのままIPパケットのデータ部のデータとなるため、同期通信の1ビットは非同期通信の1ビットに変換されることになる。ただし、当然に、IPパケットでは、ヘッダ部の分はデータ量が増加することになる。パケットシリアル変換部11は、生成したIPパケット(シリアル)をFEC部12に出力する。
The packet
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部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
MAC部11は、非同期回線40に対するデータの送受信を制御する。MAC部11は、FEC部12から出力されたIPパケットを、非同期回線40を介して送信する。
The
また、MAC部11は、非同期回線40を介してIPパケットを受信し、受信したIPパケットをFEC部12に出力する。なお、MAC部11は、受信したIPパケットのFCS(Frame Check Sequence)エラー(データエラー)を検出した場合、そのIPパケットを破棄し、FEC部12には出力しない。
Further, the
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
パケットシリアル変換部11は、FEC部12から出力されたIPパケットからIPパケット(FEC)を取り除き、残ったIPパケット(シリアル)をシリアルデータに変換する。具体的には、パケットシリアル変換部11は、IPパケット(シリアル)のデータ部のデータを連結することで、シリアルデータを生成する。パケットシリアル変換部11は、生成したシリアルデータを同期回線30に送信する。なお、IPパケット(FEC)は、FEC部12で取り除くようにしてもよい。
The packet
続いて、図3及び図4を参照して、本発明の実施の形態にかかる通信システム1のエラー訂正方法について説明する。図3は、本発明の実施の形態にかかる通信システム1のエラー訂正処理のフローチャートである。図4は、本発明の実施の形態にかかる通信システム1のエラー訂正処理実行時の概念図である。
Subsequently, an error correction method of the
以下、同期通信装置20aから同期通信装置20bにデータを送信する例について説明するが、同期通信装置20bから同期通信装置20aにデータを送信する場合も、当然に同様に処理される。
Hereinafter, an example in which data is transmitted from the
同期通信装置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
同期/非同期変換装置10bのMAC部13は、同期/非同期変換装置10aから非同期回線40を介して送信されたIPパケットを受信する(S1)。
The
受信した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
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
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
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
なお、ここでは、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
しかしながら、上述したエラー訂正方法では、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
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
以下の説明では、「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
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「B1」〜「B3」のIPパケット群における3番目のIPパケット(シリアル)B3を伝送する(S12)。
In the next unit time (4 ms), the synchronous /
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「C1」〜「C3」のIPパケット群における2番目のIPパケット(シリアル)C2を伝送する(S13)。
In the next unit time (4 ms), the synchronous /
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「A1」〜「A3」のIPパケット群における2番目のIPパケット(シリアル)A2を伝送する(S14)。
In the next unit time (4 ms), the synchronous /
次の単位時間(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 /
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「C1」〜「C3」のIPパケット群における3番目のIPパケット(シリアル)C3を伝送する(S16)。
In the next unit time (4 ms), the synchronous /
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「A1」〜「A3」のIPパケット群における3番目のIPパケット(シリアル)A3を伝送する(S17)。
In the next unit time (4 ms), the synchronous /
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、「B1」〜「B3」のIPパケット群における2番目のIPパケット(シリアル)B2を伝送する(S18)。
In the next unit time (4 ms), the synchronous /
次の単位時間(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 /
次の単位時間(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 /
このタイミングであれば、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
また、このタイミングで、最初に説明した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 /
次の単位時間(4ms)で、同期/非同期変換装置10aは、同期/非同期変換装置10bに対して、IPパケット(シリアル)B3を伝送する(S12)。また、このタイミングで、同期/非同期変換装置10bは、上述したように、IPパケット(シリアル)A1をシリアルデータに変換し、同期回線30bを介して同期通信装置20bに伝送する。これにより、最初のIPパケット(シリアル)A1の到着から約40ms後に、そのシリアルデータの送信が開始される。
In the next unit time (4 ms), the synchronous /
次の単位時間(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 /
次の単位時間(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 /
以降も同様にして、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パケットを伝送するようにしてもよい。
<
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パケットを伝送するようにしてもよい。
<
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
通信システム9は、第1の変換装置91と第2の変換装置92を有する。第1の変換装置91は、符号生成部93及び送信制御部94を有する。第2の変換装置92は、復号部95を有する。
The
第1の変換装置91は、第1の同期回線から受信したデータを、非同期回線で伝送可能な形式に変換した変換データを非同期回線に送信する。第2の変換装置92は、第1の変換装置91から非同期回線を介して送信された変換データを受信し、同期回線で伝送可能な形式に再変換して第2の同期回線に送信する。変換装置91、92は、同期/非同期変換装置10a、10bに対応する。変換データは、IPパケット(シリアル)に対応する。
The
符号生成部93は、所定の規則に従って決定される変換データ群毎に、変換データ群に属する変換データに基づいて、誤り訂正符号を示す符号データを生成する。符号生成部93は、FEC部12に対応する。符号データは、IPパケット(FEC)に対応する。
送信制御部94は、第2の変換装置92への変換データ及び符号データの送信を制御する。送信制御部94は、MAC部13に対応する。
The
The
復元部95は、変換データ群のいずれかの変換データにおいて異常が発生した場合、異常が発生した変換データを、その変換データ群に属する他の変換データ及びその変換データ群から生成した符号データに基づいて復元する。復元部95は、FEC部12に対応する。
When an abnormality occurs in any of the conversion data in the conversion data group, the
ここで、送信制御部94は、同一の変換データ群に属する変換データ及びその変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように、変換データ及び符号データを第2の変換装置92に送信する。
Here, the
上述した通信システム1は、このような構成を概念的に有しており、この構成によれば、同一の変換データ群に属する変換データ及びその変換データ群から生成された符号データの少なくともいずれか2つ以上が相互に連続しないように送信される。そのため、変換データの復元単位(変換データ群及びその符号データ)において、2つ以上のデータが異常となってしまう可能性を低減し、より第1の同期回線と第2の同期回線との間におけるデータの同期を保障することができる。
The
本発明の実施の形態にかかる変換装置10は、上述の実施の形態の機能を実現するプログラムを、コンピュータ(変換装置10)又はコンピュータが有するCPU(Central Processing Unit)が実行することによって、構成することが可能である。
The
また、このプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(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
Claims (10)
前記第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つ以上が相互に連続しないように、前記変換データ及び前記符号データを前記他の変換装置に送信する、
変換装置。 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の変換装置が、前記第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.
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)
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 |
-
2013
- 2013-05-30 JP JP2013114079A patent/JP6146806B2/en active Active
Patent Citations (7)
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 |