JP2007097088A - Data error correcting apparatus, and data error correcting method - Google Patents

Data error correcting apparatus, and data error correcting method Download PDF

Info

Publication number
JP2007097088A
JP2007097088A JP2005286968A JP2005286968A JP2007097088A JP 2007097088 A JP2007097088 A JP 2007097088A JP 2005286968 A JP2005286968 A JP 2005286968A JP 2005286968 A JP2005286968 A JP 2005286968A JP 2007097088 A JP2007097088 A JP 2007097088A
Authority
JP
Japan
Prior art keywords
data
error
synchronization
error correction
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005286968A
Other languages
Japanese (ja)
Inventor
Takahito Yamamoto
孝人 山本
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2005286968A priority Critical patent/JP2007097088A/en
Publication of JP2007097088A publication Critical patent/JP2007097088A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data error correcting apparatus or the like which ensures reliability and improves performance by ensuring control continuity by eliminating delay caused by path switching at the time of error detection in a transmission line duplexed system. <P>SOLUTION: A data error correcting apparatus includes: data reception error detecting parts 201, 211 for separating data transmitted from transmission lines of respective systems for each predetermined unit and detecting an error of the relevant data; a double system synchronizing part 220 for synchronizing the data; and an error correcting part 230 for discarding data containing the error, between the data separated for each unit of one system and selecting normal data of the other system, thereby correcting the error of the data transmitted in a transmission line duplexed system. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、複数のLSI(Large Scale Integration)が二重化された伝送路で接続された伝送路二重化システムに用いられるデータ誤り訂正装置などに関する発明である。   The present invention relates to a data error correction apparatus used in a transmission line duplex system in which a plurality of LSIs (Large Scale Integration) are connected by duplex transmission paths.

科学技術計算の分野において年々高まる計算性能の向上要求に対応するため、高性能なLSIが開発されている。一方、そのように高性能を実現するが故にLSI間のインタフェースも増大している。このため、LSIの入出力インタフェースはシリアル化されている。しかし、従来のようなパラレルデータのLSI間の受け渡しに比べ、シリアルデータでの受け渡しは、そのエラーレートが高くなる傾向にある。このため、少ないハードウェアリソース量でエラー訂正を行い、運用し続ける事が必要となる。   High-performance LSIs have been developed in order to meet the increasing demands for calculation performance in the field of scientific and engineering calculations. On the other hand, the interface between LSIs is increasing because of realizing such high performance. For this reason, the input / output interface of the LSI is serialized. However, compared with the conventional delivery of parallel data between LSIs, the delivery of serial data tends to have a higher error rate. For this reason, it is necessary to perform error correction with a small amount of hardware resources and continue operation.

この様な場合、第一の問題として、二重化されている片系統は半スタンバイ状態であるため、通常系のエラー検出時に切り替えによる遅延が発生し制御の連続性が保てず、性能低下が発生していた。   In such a case, the first problem is that the duplexed one system is in a semi-standby state, so a delay due to switching occurs when an error in the normal system is detected, continuity of control cannot be maintained, and performance degradation occurs. Was.

第二の問題として、障害により一旦切り替えられた系は、再復旧できないため、障害が二回発生すると、計画停止により保守を行うか、インタフェースを閉塞せざるを得ない状況にあった。   As a second problem, since a system once switched due to a failure cannot be recovered again, if the failure occurs twice, maintenance must be performed due to a planned stop or the interface must be blocked.

第三の問題として、この種の信頼性確保手段として、再送方式があるが、障害が発生した場合、再送が伴うため、前記同様、制御の連続性を保つことができず、性能低下が発生していた。   As a third problem, there is a retransmission method as this kind of reliability securing means. However, when a failure occurs, retransmission is involved, and as in the above, control continuity cannot be maintained and performance degradation occurs. Was.

上記問題点に関する具体的事情を、図5を参照して説明する。図5は従来の伝送路二重化システムに使用されるデータ誤り訂正装置の構成を図示したブロック図である。図5を参照すると、データ転送の始点となる第一のLSI100と、第一のLSI100からの2つのデータ転送経路と、データ転送経路からデータが転送され、データの終点となる第二のLSI200とで構成される。   A specific situation regarding the above problem will be described with reference to FIG. FIG. 5 is a block diagram illustrating the configuration of a data error correction apparatus used in a conventional redundant transmission line system. Referring to FIG. 5, the first LSI 100 that is the starting point of the data transfer, the two data transfer paths from the first LSI 100, the second LSI 200 that is the end point of the data transferred from the data transfer path, and Consists of.

第一LSI100は、一つのデータの処理内容を指示する内部論理部101と、一つのデータを内部論理部101からの指示により二重化して2つのデータ転送経路にデータを送出するデータ二重化送信部102とで構成される。   The first LSI 100 includes an internal logic unit 101 for instructing processing contents of one data, and a data duplexing transmission unit 102 for duplexing one data according to an instruction from the internal logic unit 101 and transmitting the data to two data transfer paths. It consists of.

第二のLSI200は、データ二重化送信部102から転送されたそれぞれのデータの受信処理を行い、受信した各々のデータの誤り検出を行い、そのエラー情報と共に先着判定部250へデータを送出するデータ受信誤り検出部201、211と、データ受信誤り検出部201、211から送出されたデータのうち先着したデータを先着データとして扱う先着判定部250と、先着データを受信する受信データレジスタ260と、受信データレジスタ260より送出されたデータのエラー判定を行い、その判定結果に応じてパスを切り替えるエラー判定パス切り替え部270と、エラー判定パス切り替え部270より送出されたデータの処理内容を指示する内部論理部280から構成される。   The second LSI 200 performs reception processing of each data transferred from the data duplex transmission unit 102, detects an error of each received data, and sends data to the first arrival determination unit 250 together with the error information. Error detection units 201 and 211, first arrival determination unit 250 that handles first arrival data among data transmitted from data reception error detection units 201 and 211, reception data register 260 that receives first arrival data, and reception data An error determination path switching unit 270 that performs error determination of data transmitted from the register 260 and switches a path according to the determination result, and an internal logic unit that instructs the processing content of the data transmitted from the error determination path switching unit 270 280.

従来の伝送路二重化システムでは図5に示す様に、二重化された片系統はスタンバイ状態にあり、運用系に障害が発生した場合、エラー判定パス切り替え部270において、切り替え動作を行うため、運用系経路が後着であった場合は、先着したスタンバイ側のデータを使用する必要がある。そのため、先着判定部250において先着データを確保しておくためのバッファが必要となり、回路規模が大きくなる問題が有った。   In the conventional redundant transmission line system, as shown in FIG. 5, the duplexed one system is in a standby state, and when a failure occurs in the operational system, the error determination path switching unit 270 performs a switching operation. When the route is the last arrival, it is necessary to use the first standby side data. Therefore, a buffer for securing first-arrival data is required in the first-arrival determination unit 250, and there is a problem that the circuit scale becomes large.

更に、エラー判定パス切り替え部270において、切り替え動作による時間を有し、遅延が発生し、制御の連続性を保つ事ができず、性能低下の原因になっていた。また、一旦切り替わった経路は自動復旧する事ができないため、2つのLSI間を二重化伝送路で結んでいる構成において切り替えが生じた場合、障害が発生した系のみを保守することができない。このため、切り替えが生じた以降は、二重化機能が停止し信頼性が低下する問題があった。また、機能停止による信頼性低下を解消するため再送方式とした場合でも、再送によるリクエスト遅延が発生する問題があった。   Further, the error determination path switching unit 270 has a time due to the switching operation, a delay occurs, the continuity of control cannot be maintained, and the performance is deteriorated. Also, since a path once switched cannot be automatically recovered, when switching occurs in a configuration in which two LSIs are connected by a duplex transmission path, it is not possible to maintain only the system in which the fault has occurred. For this reason, after the switching occurs, there is a problem that the duplexing function is stopped and the reliability is lowered. In addition, there is a problem that a request delay due to retransmission occurs even when the retransmission method is used in order to eliminate a decrease in reliability due to a function stop.

特許文献1の「無瞬断パス切り替えシステム及び制御方法」は、パス切り替え処理において、パス警報を検出してからパス切り替え用のセレクタが適正に動作するまでの間、バッファメモリに伝送フレームを格納している。そのため一定時間の遅延が発生することになるが、これでは上記「制御の連続性」を保つことは困難である。   Patent Document 1 “Uninterruptible Path Switching System and Control Method” stores a transmission frame in a buffer memory during a path switching process from when a path alarm is detected until the path switching selector operates properly. is doing. For this reason, a delay of a certain time occurs, but it is difficult to maintain the “continuity of control”.

特許文献2の「デジタル信号伝送装置」は、BIP−8方式を用いており、対象となるフレームのエラー判定を行うためには、次フレームと比較して符号誤りを検出する。そのため、次フレームが伝送されるまでエラー判定を行うことができない状態にある。また、パス切り替えのために一旦フレームメモリにデータをためる必要があるため、位相同期を行うことの遅延に加え、1フレーム分の遅延が生じてしまい、上記「制御の連続性」を保つことは困難である。
特開2000−332771号公報 特開平07−177116号公報
The “digital signal transmission apparatus” of Patent Document 2 uses the BIP-8 method, and detects a code error in comparison with the next frame in order to perform error determination of a target frame. Therefore, the error determination cannot be performed until the next frame is transmitted. In addition, since it is necessary to temporarily store data in the frame memory for path switching, a delay of one frame is generated in addition to the delay of performing phase synchronization, and the above “continuity of control” is maintained. Have difficulty.
JP 2000-327771 A JP 07-177116 A

上記事情を鑑みて本発明は伝送路二重化システムにおいて、エラー検出時のパス切り替えによる遅延を解消し、制御の連続性を確保し、信頼性確保、性能向上を図ることができるデータ誤り訂正装置などを提供することを目的とする。   In view of the above circumstances, the present invention provides a data error correction apparatus capable of eliminating delay caused by path switching at the time of error detection, ensuring control continuity, ensuring reliability, and improving performance in a redundant transmission line system. The purpose is to provide.

上記目的を達成する本発明の態様は、各系統の伝送路より伝送されるデータを所定の単位ごとに区分けして当該データの誤りを検出するデータ受信誤り検出手段と、前記データ間の同期を行う二系統同期化手段と、一方の系統の前記単位ごとに区分けしたデータのうち誤りを含むものを廃棄し、他方の系統の正常なデータを選択する誤り訂正手段を有し、伝送路二重化システムにて伝送されるデータの誤りを訂正するデータ誤り訂正装置に関するものである。   An aspect of the present invention that achieves the above object is to provide data reception error detection means for detecting data errors by dividing data transmitted from transmission lines of each system into predetermined units, and synchronizing the data. Duplex transmission line system having error correction means for discarding data containing errors among the two system synchronization means to be performed and the data classified for each unit of one system, and selecting normal data of the other system, The present invention relates to a data error correction apparatus that corrects errors in data transmitted by the mobile phone.

もし、前記データのうち前記同期の起点となる特殊コードが誤りであった場合、正常な特殊コードが検出されるまで当該データの伝送路を閉塞する。   If the special code that is the starting point of the synchronization is an error in the data, the data transmission path is blocked until a normal special code is detected.

前記データ受信誤り検出手段はCRC検出を行うと良い。また、前記各系統の伝送路にクロスバスイッチを介して接続すると良い。   The data reception error detection means may perform CRC detection. Moreover, it is good to connect to the transmission path of each said system via a crossbar switch.

本発明の他の態様は、各系統の伝送路より伝送されるデータを所定の単位ごとに区分けして当該データの誤りを検出するデータ受信誤り検出工程と、前記データ間の同期を行う二系統同期化工程と、一方の系統の前記単位ごとに区分けしたデータのうち誤りを含むものを廃棄し、他方の系統の正常なデータを選択する誤り訂正工程を有し、伝送路二重化システムにて伝送されるデータの誤りを訂正するデータ誤り訂正方法に関するものである。   Another aspect of the present invention is a data reception error detection step of detecting data errors by dividing data transmitted from transmission lines of each system into predetermined units, and two systems for performing synchronization between the data It has a synchronization process and an error correction process that discards data that contains errors among the data divided into units of one system and selects normal data of the other system, and transmits it in a redundant transmission line system. The present invention relates to a data error correction method for correcting an error in data to be processed.

もし、前記データ受信誤り検出工程にて、前記データのうち前記同期の起点となる特殊コードの誤りを検出した場合、前記二系統同期化工程にて、正常な特殊コードが検出されるまで当該データの伝送路を閉塞する。   If the data reception error detection step detects an error in the special code that is the starting point of the synchronization among the data, the data until the normal special code is detected in the two-system synchronization step. Block the transmission line.

前記データ受信誤り検出工程にて、CRC検出を行うと良い。   CRC detection is preferably performed in the data reception error detection step.

本発明のデータ誤り訂正装置は、各々の系統において同期化を行う前にエラーを検出するため、同期化の待ち合わせの時点でエラー判定が確定しており、同期化直後の伝送路の切り替えが可能となる。そのため、発生する遅延は同期化による待ち合わせの時間のみで済み、伝送路二重化システムにおいて、エラー検出時のパス切り替えによる遅延を解消し、制御の連続性を確保し、信頼性確保、性能向上を図ることができる。   Since the data error correction device of the present invention detects an error before performing synchronization in each system, error determination is determined at the time of synchronization waiting, and the transmission path can be switched immediately after synchronization. It becomes. Therefore, the delay that occurs is only a waiting time due to synchronization, and in a redundant transmission line system, the delay due to path switching at the time of error detection is eliminated, ensuring control continuity, ensuring reliability, and improving performance. be able to.

以下本発明のデータ誤り訂正装置を実施するための最良の形態について説明する。説明する際には、本明細書と同時に提出する図面を適宜参酌することにする。   The best mode for carrying out the data error correction apparatus of the present invention will be described below. In the description, the drawings submitted at the same time as this specification will be taken into consideration as appropriate.

〈構成〉
図1は本形態のデータ誤り訂正装置を搭載した伝送路二重化システムの構成を図示したブロック図である。図1を参照すると、データ転送の始点となる第一のLSI100と、第一のLSI100からのデータ転送経路となる2つのデータ転送経路AとBと、データ転送経路AとBからデータが転送され、データの終点となる第二のLSI200とで構成される。なお、データ転送経路Aを介してデータが転送される系統を「A系統」と呼び、データ転送経路Bを介してデータが転送される系統を「B系統」と呼ぶことにする。
<Constitution>
FIG. 1 is a block diagram illustrating the configuration of a redundant transmission line system equipped with a data error correction apparatus of this embodiment. Referring to FIG. 1, data is transferred from the first LSI 100 that is the starting point of data transfer, two data transfer paths A and B that are data transfer paths from the first LSI 100, and the data transfer paths A and B. The second LSI 200 is the end point of the data. A system in which data is transferred through the data transfer path A is referred to as “A system”, and a system in which data is transferred through the data transfer path B is referred to as “B system”.

第一LSI100は、一つのデータの処理内容を指示する内部論理部101と、一つのデータを内部論理部101からの指示により二重化して2つのデータ転送経路AとBにデータを送出するデータ二重化送信部102とで構成される。   The first LSI 100 has an internal logic unit 101 for instructing the processing content of one data, and data duplication in which one data is duplexed according to an instruction from the internal logic unit 101 and the data is transmitted to two data transfer paths A and B. The transmission unit 102 is configured.

第二のLSI200は、データ二重化送信部102から転送されたA系統、B系統のそれぞれのデータの受信処理を行い、受信した各々のデータの誤り検出を行い、そのエラー情報と共に二系統同期化部220へデータを送出するデータ受信誤り検出部201、211と、各々のデータ受信誤り検出部201、211で検出したエラー情報とデータを受け取り、二重化されたA系統とB系統の同期を行う二系統同期化部220と、同期化されたA系統とB系統のデータとエラー情報を受け取り、そのA系統とB系統のデータについて、エラー情報を元に誤り判定と、その誤り判定からデータの訂正を行い、内部論理部240へ正常なデータを送出する誤り訂正部230と、送出されたデータの処理内容を指示する内部論理部240から構成される。   The second LSI 200 performs reception processing of each of the data of the A system and the B system transferred from the data duplex transmission unit 102, detects an error of each received data, and a two-system synchronization unit together with the error information Data reception error detection units 201 and 211 that send data to 220, and two systems that receive error information and data detected by the respective data reception error detection units 201 and 211, and synchronize the duplexed A system and B system Synchronizing unit 220 receives synchronized data of system A and system B and error information, and performs error determination on the data of system A and system B based on the error information and correction of data from the error determination. And an error correction unit 230 for sending normal data to the internal logic unit 240 and an internal logic unit 240 for instructing the processing content of the sent data. That.

A系統とB系統の同期化を行う二系統同期化部220は、データ受信誤り検出部201、211からデータとエラー情報を受け取り、二系統同期化制御部221からの指示により待ち合わせを行う同期化部202、212と、A系統とB系統の同期化部202、212で、シリアル転送の特殊コードを検出し、その特殊コードを起点として同期化のための待ち合わせ指示を行う二系統同期化制御部221から構成される。   The two-system synchronization unit 220 that synchronizes the A-system and the B-system receives the data and error information from the data reception error detection units 201 and 211, and performs synchronization in accordance with an instruction from the two-system synchronization control unit 221. Two-system synchronization control unit for detecting serial transfer special code in units 202 and 212 and A-system and B-system synchronization units 202 and 212 and issuing a wait instruction for synchronization using the special code as a starting point 221.

同期化部202、212で行われるデータの待ち合わせとは、データ受信誤り検出部201、211で検出されたエラー情報がシリアル転送の特殊コードであった場合は、同期化時間満了まで待ち合わせ、同期化時間が満了した場合は、一旦データの待ち合わせを停止し、誤り訂正部230にエラー情報を送出し続け、同期化機能を閉塞し、再び、データ受信誤り検出部201、211から正常な特殊コードが到着すると再び待ち合わせを行うことである。同期化部202、212はこのような復旧機能を備えている。   The data waiting performed by the synchronization units 202 and 212 means that when the error information detected by the data reception error detection units 201 and 211 is a special code for serial transfer, the data is waited until the synchronization time expires and the synchronization is performed. When the time has expired, data waiting is temporarily stopped, error information is continuously sent to the error correction unit 230, the synchronization function is blocked, and a normal special code is again received from the data reception error detection units 201 and 211. It is to meet again when it arrives. The synchronization units 202 and 212 have such a recovery function.

二系統同期化部220で同期されたA系統とB系統のデータからエラー訂正を行う誤り訂正部230は、同期化部202、212からデータを受信し、他系のデータとを比較するためのデータ受信レジスタ203、213と、該データのエラー情報を格納するエラーレジスタ204、214と、そのエラー情報から誤りデータを判定し、もし、A系統とB系統の何れかにエラー情報が点灯していたならば、エラーが点灯していない系統のデータを内部論理部240に選択出力する誤り判定・訂正制御部231から構成される。この誤り訂正部230では、データ受信誤り検出部201、211でエラー検出できないケースの故障に備えて、エラーレジスタ204、214にエラー情報が無かった場合であっても、データ受信レジスタ203、213に格納されたデータの比較を行い、一致していればA系統のデータを内部論理部240に出力し、不一致の場合は訂正不能エラーとしてデータ転送を閉塞する事により、内部論理部240への誤データ送出を防止する機能も備えている。   An error correction unit 230 that performs error correction from the data of the A system and the B system synchronized by the two-system synchronization unit 220 receives data from the synchronization units 202 and 212 and compares the data with other system data. The data reception registers 203 and 213, error registers 204 and 214 for storing the error information of the data, and error data are determined from the error information. If the error information is lit in either the A system or the B system If there is, an error determination / correction control unit 231 that selectively outputs data of a system in which no error is lit to the internal logic unit 240 is configured. In the error correction unit 230, even in the case where there is no error information in the error registers 204 and 214 in preparation for a failure in which the data reception error detection units 201 and 211 cannot detect an error, the data reception registers 203 and 213 The stored data are compared, and if they match, the A-system data is output to the internal logic unit 240. If they do not match, the data transfer is blocked as an uncorrectable error, thereby causing an error to the internal logic unit 240. It also has a function to prevent data transmission.

〈動作〉
次に本形態のデータ誤り訂正装置の動作について図2、3を参照して説明する。図2、3は、第一のLSI100のデータ二重化送信部102で二重化された送信データが、第二のLSI200において、転送途中の障害を検出し、エラー訂正する流れを示した図である。データ受信誤り検出部201、211におけるエラー検出はシリアル転送からパラレル転送に変換される際のエラー検出もあるが、ここでは特に、CRC(Cyclic Redundancy Check)検出を採用した場合を例に説明する。
<Operation>
Next, the operation of the data error correction apparatus of this embodiment will be described with reference to FIGS. FIGS. 2 and 3 are diagrams illustrating a flow in which the transmission data duplexed by the data duplexing transmission unit 102 of the first LSI 100 detects a failure during transfer in the second LSI 200 and corrects the error. The error detection in the data reception error detection units 201 and 211 includes error detection when converting from serial transfer to parallel transfer. Here, a case where CRC (Cyclic Redundancy Check) detection is employed will be described as an example.

第一のLSI100のデータ二重化送信部102から、図に示すようなデータ転送が行われたとき、第二のLSI200のA系統、B系統のデータ受信誤り検出部201、211では、各々の系統で独立して受信データのエラー検出を行う。ここでCRC検出も行うが、CRC検出の単位は、二系統同期化部220や、誤り訂正部230の検出時間に関わるため、ここでは5ワード単位にCRCを付加するインタフェース仕様としている。CRC検出は、第一のLSI100のデータ二重化送信部102において、シリアルデータ上の特殊コードであるKコード(以下、「Kコード」と呼ぶ)を起点に5ワード毎にCRCコード(図2の「CR」に相当)を付加する。そして、第二のLSI200のデータ受信誤り検出部201、211において、Kコード受信後に5ワード単位にCRCチェックを行う。データ受信誤り検出部201、211でエラーを検出したならば、図2の「(1)エラー検出」に示すとおり、エラーを検出したワードに対し、エラーフラグ「×」を付加し、各々、二系統同期化部200に送出する。なお、図2において「D?」と印されているコードがエラー検出で検出されるエラー対象である。   When data transfer as shown in the figure is performed from the data duplex transmission unit 102 of the first LSI 100, the data reception error detection units 201 and 211 of the second LSI 200 have the respective systems. Independently detects errors in received data. Although CRC detection is also performed here, the unit of CRC detection is related to the detection time of the two-system synchronization unit 220 and the error correction unit 230, so here the interface specification is to add CRC in units of 5 words. In CRC detection, the data duplex transmission unit 102 of the first LSI 100 uses a CRC code (hereinafter referred to as “K code”), which is a special code on serial data, as a starting point for every 5 words. CR is equivalent). Then, the data reception error detection units 201 and 211 of the second LSI 200 perform a CRC check in units of 5 words after receiving the K code. If an error is detected by the data reception error detectors 201 and 211, as shown in “(1) Error detection” in FIG. The data is sent to the system synchronization unit 200. Note that the code marked “D?” In FIG. 2 is an error target detected by error detection.

次に、データ受信誤り検出部201、211で付加されたエラーフラグと受信データは、二系統同期化部220により、A系統、B系統のデータ間の同期が行われる。データ受信誤り検出部201、211から送られたデータはエラーフラグと共に同期化部202、212に送られ、該同期化部202、212は、二系統同期化制御部220の指示により他系データとの待ち合わせを行う。二系統同期化制御部220は、データ受信誤り検出部201、211から送られたデータから、Kコードを識別し、A系統、B系統において、このKコードの整列判定を行う。Kコードを整列したならば、図2の「(2)同期化」に示すとおり、誤り訂正部230にA系統とB系統の同期したデータを送出する。   Next, the error flag and the received data added by the data reception error detection units 201 and 211 are synchronized between the data of the A system and the B system by the two-system synchronization unit 220. The data sent from the data reception error detection units 201 and 211 is sent to the synchronization units 202 and 212 together with the error flag, and the synchronization units 202 and 212 are connected to the other system data according to an instruction from the two-system synchronization control unit 220. Wait for The two-system synchronization control unit 220 identifies the K code from the data sent from the data reception error detection units 201 and 211, and performs alignment determination of the K code in the A system and the B system. If the K codes are aligned, the synchronized data of the A system and the B system is sent to the error correction unit 230 as shown in “(2) Synchronization” of FIG.

この二系統同期化制御部220において、例えば、同期化の起点となるKコードが片系統でエラーを検出し、正常なKコードと認識できない(図3において「K?」と印されたコードに相当)場合は、ある一定時間の同期化時間を設ける。該同期化時間を待っても、Kコードが認識できない場合は、同期化待ち合わせを解除し、誤り訂正部230にデータを送出する。その際、同期化が失敗した系は常にエラー状態と判断し、全てのデータにおいてエラーフラグ「×」を付加し、誤り訂正部230にデータを送出する。該二系統同期化制御部221は同期化が失敗した系統において、同期化部202、212のパスを一旦閉塞する。同期化部202、212は一旦閉塞された後、次に正常なKコードを受信したならば、同期化のパスの自動復旧を行い、再び同期化を開始する(図3の「(2)同期化」参照)。   In this two-system synchronization control unit 220, for example, the K code that is the starting point of synchronization detects an error in one system and cannot be recognized as a normal K code (in the code marked “K?” In FIG. 3). Equivalent)), a certain synchronization time is provided. If the K code cannot be recognized after waiting for the synchronization time, the synchronization wait is canceled and data is sent to the error correction unit 230. At this time, the system in which the synchronization has failed is always determined to be in an error state, an error flag “x” is added to all data, and the data is transmitted to the error correction unit 230. The two-system synchronization control unit 221 temporarily closes the paths of the synchronization units 202 and 212 in the system in which synchronization has failed. When the synchronization units 202 and 212 are closed once and then receive a normal K code, the synchronization units 202 and 212 perform automatic recovery of the synchronization path and start synchronization again ("(2) synchronization" in FIG. 3). Refer to "

二系統同期化部220から同期化されたデータは、誤り訂正部230のデータ受信レジスタ203、213に格納され、データに付加されたエラーフラグはエラーフラグレジスタ204、214に格納される。エラーフラグレジスタ204、214に格納されたエラー情報は誤り判定・訂正制御部231に渡され、該誤り判定・訂正制御部231において、各々の系統のデータのエラー判定を行う。この時、エラー判定を行う単位は、インタフェース仕様で定義されたCRC検出が5ワード単位であるため、エラー判定はCRCコードを含めた6ワード(データコード5ワード+CRCコード1ワード)単位で実施される。   The data synchronized from the two-system synchronization unit 220 is stored in the data reception registers 203 and 213 of the error correction unit 230, and the error flag added to the data is stored in the error flag registers 204 and 214. The error information stored in the error flag registers 204 and 214 is transferred to the error determination / correction control unit 231. The error determination / correction control unit 231 performs error determination on the data of each system. At this time, the unit for performing the error determination is the CRC detection defined in the interface specification in units of 5 words. Therefore, the error determination is performed in units of 6 words including the CRC code (data code 5 words + CRC code 1 word). The

この6ワードの何れかのデータにエラーフラグが点灯していた場合、該6ワードのデータはエラーデータと判断する。この時、エラーデータは6ワードで判断するため、同期化部202、212から送られるデータを格納するデータ受信レジスタ203、213とエラーフラグレジスタ204、214は6ワード分のレジスタとなる。誤り判定・訂正制御部231においてエラーデータと判断した系のデータは無効化し、該誤り判定・訂正制御部231において廃棄され、図2の「(3)訂正」に示されるとおり、正常系のデータ(ここではB系統のデータ)を選択し、エラー訂正を行う。そして「(4)の選択出力」に示されるとおり、内部論理部240に正常データの出力を行う。   If the error flag is lit on any of the 6-word data, the 6-word data is determined to be error data. At this time, since the error data is determined by 6 words, the data reception registers 203 and 213 and the error flag registers 204 and 214 for storing data sent from the synchronization units 202 and 212 become registers for 6 words. Data in the system determined as error data in the error determination / correction control unit 231 is invalidated and discarded in the error determination / correction control unit 231. As shown in “(3) Correction” in FIG. (B system data here) is selected and error correction is performed. Then, as shown in “Selected output of (4)”, normal data is output to the internal logic unit 240.

以上の動作を行うことにより以下の効果を奏する。つまり、各々の系統において同期化を行う前にエラー判定を行うため、同期化の待ち合わせの時点でエラー判定が確定しており、同期化直後のパス切り替えが可能となる。そのため、発生する遅延は同期化による待ち合わせの時間のみで済む。また、各々のデータ転送経路で発生した障害を見つけ、その障害情報を元にパイプライン式にエラーを訂正する事により、エラー検出後の再送方式の様な、再送によるリクエスト遅延を無くすことができる。また、パス切り替えの二重化の様に障害発生時に必要であった切り替え動作を無くすことができるので、制御の連続性を確保し且つ、信頼性確保、性能向上を図ることができる。   By performing the above operation, the following effects can be obtained. That is, since error determination is performed before synchronization in each system, error determination is established at the time of synchronization waiting, and path switching immediately after synchronization is possible. Therefore, the delay that occurs is only the waiting time for synchronization. In addition, by detecting a failure that occurred in each data transfer path and correcting the error in a pipelined manner based on the failure information, it is possible to eliminate the request delay due to retransmission as in the retransmission method after error detection. . In addition, since the switching operation that is necessary when a failure occurs, such as dual path switching, can be eliminated, continuity of control can be ensured, reliability can be ensured, and performance can be improved.

なお、上述した形態は本発明を実施するための最良のものであるが、これに限定する趣旨ではない。従って、本発明の要旨を変更しない範囲においてその実施形式を種々変形することが可能である。   In addition, although the form mentioned above is the best thing for implementing this invention, it is not the meaning limited to this. Therefore, various modifications can be made to the implementation form without changing the gist of the present invention.

その一例を、図4を参照しつつ説明する。図4は他の形態のデータ誤り訂正装置を搭載した伝送路二重化システムの構成を図示したブロック図である。図1に図示したものとの相違点は、第一のLSI100と第二のLSI200をA系統とB系統にそれぞれ、クロスバSW(スイッチ)300、310を介して接続した点である。第二のLSI200の同期化部220で制御される同期化待ち合わせ時間を、クロスバSW300、310によるA系統とB系統の時間差を考慮して設定する事により、クロスバSW300、310を介した構成においても、エラー訂正する事が可能となる。   One example will be described with reference to FIG. FIG. 4 is a block diagram illustrating the configuration of a redundant transmission line system equipped with a data error correction device of another form. The difference from that shown in FIG. 1 is that the first LSI 100 and the second LSI 200 are connected to the A system and the B system via the crossbars SW (switches) 300 and 310, respectively. In the configuration via the crossbar SW 300, 310, the synchronization waiting time controlled by the synchronization unit 220 of the second LSI 200 is set in consideration of the time difference between the A system and the B system by the crossbar SW 300, 310. Error correction is possible.

本形態のデータ誤り訂正装置を搭載した伝送路二重化システムの構成を図示したブロック図である。It is the block diagram which illustrated the structure of the transmission-line duplex system which mounts the data error correction apparatus of this form. 第一のLSI100のデータ二重化送信部102で二重化された送信データが、第二のLSI200において、転送途中の障害を検出し、エラー訂正する流れを示した図である。FIG. 5 is a diagram illustrating a flow in which transmission data duplexed by the data duplexing transmission unit 102 of the first LSI 100 detects a failure during transfer and corrects an error in the second LSI 200. 第一のLSI100のデータ二重化送信部102で二重化された送信データが、第二のLSI200において、転送途中の障害を検出し、エラー訂正する流れを示した図である。FIG. 5 is a diagram illustrating a flow in which transmission data duplexed by the data duplexing transmission unit 102 of the first LSI 100 detects a failure during transfer and corrects an error in the second LSI 200. 他の形態のデータ誤り訂正装置を搭載した伝送路二重化システムの構成を図示したブロック図である。It is the block diagram which illustrated the structure of the transmission-line duplex system which mounts the data error correction apparatus of another form. 従来の伝送路二重化システムに使用されるデータ誤り訂正装置の構成を図示したブロック図である。It is the block diagram which illustrated the structure of the data error correction apparatus used for the conventional redundant transmission line system.

符号の説明Explanation of symbols

100 第一のLSI
101 内部論理部
102 データ二重化送信部
200 第二のLSI
201、211 データ受信誤り検出部
220 二系統同期化部
202、212 同期化部
221 二系統同期化制御部
230 誤り訂正部
203、213 データ受信レジスタ
204、214 エラーレジスタ
231 誤り判定・訂正制御部
240 内部論理部
100 First LSI
101 Internal logic unit 102 Data duplex transmission unit 200 Second LSI
201, 211 Data reception error detection unit 220 Two-line synchronization unit 202, 212 Synchronization unit 221 Two-line synchronization control unit 230 Error correction unit 203, 213 Data reception register 204, 214 Error register 231 Error determination / correction control unit 240 Internal logic part

Claims (7)

各系統の伝送路より伝送されるデータを所定の単位ごとに区分けして当該データの誤りを検出するデータ受信誤り検出手段と、
前記データ間の同期を行う二系統同期化手段と、
一方の系統の前記単位ごとに区分けしたデータのうち誤りを含むものを廃棄し、他方の系統の正常なデータを選択する誤り訂正手段を有し、
伝送路二重化システムにて伝送されるデータの誤りを訂正するデータ誤り訂正装置。
Data reception error detecting means for detecting data errors by dividing data transmitted from the transmission path of each system into predetermined units;
Two-system synchronization means for performing synchronization between the data;
An error correction means for discarding data including errors among the data divided for each unit of one system and selecting normal data of the other system,
A data error correction device for correcting errors in data transmitted in a redundant transmission line system.
前記データのうち前記同期の起点となる特殊コードが誤りであった場合、正常な特殊コードが検出されるまで当該データの伝送路を閉塞することを特徴とする請求項1に記載のデータ誤り訂正装置。   2. The data error correction according to claim 1, wherein when a special code serving as a starting point of synchronization is an error in the data, the data transmission path is blocked until a normal special code is detected. apparatus. 前記データ受信誤り検出手段はCRC検出を行うことを特徴とする請求項1または2に記載のデータ誤り訂正装置。   The data error correction apparatus according to claim 1 or 2, wherein the data reception error detection means performs CRC detection. 前記各系統の伝送路にクロスバスイッチを介して接続することを特徴とする請求項1から3の何れかに記載のデータ誤り訂正装置。   4. The data error correction device according to claim 1, wherein the data error correction device is connected to a transmission path of each system via a crossbar switch. 各系統の伝送路より伝送されるデータを所定の単位ごとに区分けして当該データの誤りを検出するデータ受信誤り検出工程と、
前記データ間の同期を行う二系統同期化工程と、
一方の系統の前記単位ごとに区分けしたデータのうち誤りを含むものを廃棄し、他方の系統の正常なデータを選択する誤り訂正工程を有し、
伝送路二重化システムにて伝送されるデータの誤りを訂正するデータ誤り訂正方法。
A data reception error detection step of dividing data transmitted from the transmission path of each system into predetermined units and detecting an error in the data;
A two-system synchronization step for synchronizing the data;
An error correction step of discarding data including errors among the data divided for each unit of one system and selecting normal data of the other system,
A data error correction method for correcting errors in data transmitted in a redundant transmission line system.
前記データ受信誤り検出工程にて、前記データのうち前記同期の起点となる特殊コードの誤りを検出した場合、前記二系統同期化工程にて、正常な特殊コードが検出されるまで当該データの伝送路を閉塞することを特徴とする請求項5に記載のデータ誤り訂正方法。   In the data reception error detection step, when an error of the special code serving as the starting point of the synchronization is detected in the data, the data is transmitted until a normal special code is detected in the two-system synchronization step. 6. The data error correction method according to claim 5, wherein the path is blocked. 前記データ受信誤り検出工程にて、CRC検出を行うことを特徴とする請求項5または6に記載のデータ誤り訂正方法。   7. The data error correction method according to claim 5, wherein CRC detection is performed in the data reception error detection step.
JP2005286968A 2005-09-30 2005-09-30 Data error correcting apparatus, and data error correcting method Pending JP2007097088A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005286968A JP2007097088A (en) 2005-09-30 2005-09-30 Data error correcting apparatus, and data error correcting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005286968A JP2007097088A (en) 2005-09-30 2005-09-30 Data error correcting apparatus, and data error correcting method

Publications (1)

Publication Number Publication Date
JP2007097088A true JP2007097088A (en) 2007-04-12

Family

ID=37982181

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005286968A Pending JP2007097088A (en) 2005-09-30 2005-09-30 Data error correcting apparatus, and data error correcting method

Country Status (1)

Country Link
JP (1) JP2007097088A (en)

Similar Documents

Publication Publication Date Title
JP3709795B2 (en) Computer system and method for communication between modules in the computer system
JP3541819B2 (en) Loop type network and its operation method
US11038748B2 (en) Multi-lane communication
JP5163298B2 (en) Information processing apparatus, data transmission apparatus, and data transmission method
JP4479930B2 (en) Node system, server switching method, server device, data takeover method, and program
JP5772911B2 (en) Fault tolerant system
WO2011131081A1 (en) Method and apparatus for implementing redundancy serial bus
JP5697201B2 (en) Non-instantaneous packet transmission apparatus and non-instantaneous packet transmission method
US7043574B2 (en) Computer system and frame transmitting method
US20120093211A1 (en) Serial transmission apparatus, information processing apparatus, and serial transmission method
JP2008227623A (en) Packet transfer device and packet transfer method
JP2007097088A (en) Data error correcting apparatus, and data error correcting method
JP2010165105A (en) Communication equipment and control program for the same
US10958474B2 (en) Network interface, network and method for data transmission within the network
EP1988469B1 (en) Error control device
US20100208581A1 (en) Data transfer system, data transmitting device, data receiving device and data transfer method
JP6394727B1 (en) Control device, control method, and fault tolerant device
CN109891833B (en) Transmission apparatus and frame transmission method
JP2018121214A (en) Broadcast program receiver and program
JP5087591B2 (en) Loop communication device
JP2009246678A (en) Hit-less switching method and hit-less switching system in optical network
JP2006178734A (en) Network apparatus
JP2023018913A (en) Data transmission system and system switching program
JP5229745B2 (en) Network device having in-band loopback function
JP5925662B2 (en) Packet transmission apparatus and packet transmission control method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090303

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090428

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090901