JPH04354421A - Error parity recovery circuit - Google Patents

Error parity recovery circuit

Info

Publication number
JPH04354421A
JPH04354421A JP3129223A JP12922391A JPH04354421A JP H04354421 A JPH04354421 A JP H04354421A JP 3129223 A JP3129223 A JP 3129223A JP 12922391 A JP12922391 A JP 12922391A JP H04354421 A JPH04354421 A JP H04354421A
Authority
JP
Japan
Prior art keywords
parity
error
data
output
received data
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.)
Withdrawn
Application number
JP3129223A
Other languages
Japanese (ja)
Inventor
Katsumi Imamura
今村 勝巳
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP3129223A priority Critical patent/JPH04354421A/en
Publication of JPH04354421A publication Critical patent/JPH04354421A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

PURPOSE:To attain accurate data communication at all times by recovering a parity added to a data having an error and sending the resulting data with respect to the error parity recovery circuit in a multiplexer of the digital communication system. CONSTITUTION:The system is provided with a parity check means detecting a parity added to a received data, a parity arithmetic means 101 applying arithmetic operation to the parity of the received data, an error parity recovery means 102 comparing an output from the parity check means with an output from the parity arithmetic means and outputting an error parity when they are dissident, and a parity addition means 103 adding the error parity outputted from the error parity recovery means to the received data and outputting the result to implement accurate data communication at all times.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明はデジタル通信システムの
多重化装置におけるパリティチェック及びパリティ発生
回路に関し、特にエラーパリティを検出した際にそのエ
ラーパリティを受信データに付加して出力するエラーパ
リティ再生回路に関する。
[Field of Industrial Application] The present invention relates to a parity check and parity generation circuit in a multiplexing device of a digital communication system, and more particularly to an error parity regeneration circuit that adds error parity to received data and outputs it when error parity is detected. Regarding.

【0002】0002

【従来の技術】従来デジタル通信システムにおいては、
図4に示すように、A局のTDM装置20で送信データ
にパリティを付加してB局及びB局を介してC局に送信
することがある。B局におけるTDM装置21のパリテ
ィチェック回路22は、図5に示すように、受信したデ
ータに付加されたパリティを検出してエラーパリティを
検出した際にアラーム表示をおこなうパリティチェック
部22aと、受信したデータのパリティを演算するパリ
ティ演算部22bと、受信したデータに演算したパリテ
ィを付加するパリティMUX部22cとから構成されて
いる。
[Prior Art] In conventional digital communication systems,
As shown in FIG. 4, the TDM device 20 of the A station may add parity to transmission data and transmit the data to the C station via the B station and the B station. As shown in FIG. 5, the parity check circuit 22 of the TDM device 21 in the B station includes a parity check section 22a that detects parity added to received data and displays an alarm when error parity is detected; The parity calculation unit 22b includes a parity calculation unit 22b that calculates the parity of received data, and a parity MUX unit 22c that adds the calculated parity to the received data.

【0003】0003

【発明が解決しようとする課題】ところで、図4に示し
たシステムにおいてA局からB局を経由してC局までデ
ータを送る場合、A局からB局に至る回線上で障害が発
生しデータエラーとなったとする。この場合、B局では
パリティチェックをして、そのエラーの発生したデータ
のパリティの演算をおこなう。そしてエラーの発生した
データに演算して得られたパリティを付加して送信する
[Problem to be Solved by the Invention] By the way, in the system shown in FIG. 4, when data is sent from station A to station C via station B, a failure occurs on the line from station A to station B, and the data is lost. Suppose an error occurs. In this case, the B station performs a parity check and calculates the parity of the data in which the error occurred. Then, the calculated parity is added to the data in which the error has occurred, and the data is transmitted.

【0004】C局では、エラーの発生したデータとその
データを演算して得られたパリティとを受信するので、
C局は正常を示すパリティが付加されたデータを受信し
たことになる。つまりC局の受信したデータは、A局が
送信したデータとは異なっているにもかかわらず、B局
を経由することによりパリティが正常なデータを指すこ
ととなった。
[0004] Since the C station receives the data in which the error has occurred and the parity obtained by calculating the data,
This means that the C station has received data to which parity indicating normality has been added. In other words, although the data received by the C station is different from the data transmitted by the A station, by passing through the B station, the data has normal parity.

【0005】本発明はエラーが発生したデータに付加さ
れていたパリティを再生することにより、常に正確なデ
ータ通信をおこなえるようにパリティをデータに付加す
るエラーパリティ再生回路を提供することを目的とする
SUMMARY OF THE INVENTION An object of the present invention is to provide an error parity regeneration circuit that adds parity to data so that accurate data communication can always be performed by regenerating the parity added to data in which an error has occurred. .

【0006】[0006]

【課題を解決するための手段】本発明のエラーパリティ
再生回路においては、図1に示すように、受信したデー
タに付加されたパリティを検出するパリティチェック手
段100と、受信したデータのパリティを演算するパリ
ティ演算手段101と、パリティチェック手段100か
らの出力とパリティ演算手段101からの出力とを比較
しその結果が不一致の場合にエラーパリティを出力する
エラーパリティ再生手段102と、受信したデータにエ
ラーパリティ再生手段102から出力されるエラーパリ
ティを付加して出力するパリティ付加手段103とから
なることを特徴とする。
[Means for Solving the Problems] As shown in FIG. 1, the error parity recovery circuit of the present invention includes a parity check means 100 for detecting parity added to received data, and a parity check means 100 for calculating the parity of the received data. a parity calculation means 101 that compares the output from the parity check means 100 and the output from the parity calculation means 101, and an error parity reproduction means 102 that outputs error parity if the results do not match; It is characterized by comprising a parity addition means 103 which adds error parity outputted from the parity reproduction means 102 and outputs the result.

【0007】[0007]

【作用】パリティチェック手段100で検出されたエラ
ーパリティと、パリティ演算手段101で演算されたパ
リティとがエラーパリティ再生手段102で比較される
。その比較の結果、エラーパリティと演算されたパリテ
ィとが不一致である場合には、エラーパリティ再生手段
102がエラーパリティをパリティ付加手段103に出
力する。パリティ付加手段103は受信したデータにエ
ラーパリティを付加して出力するので、データエラー情
報を正確に伝送することが可能となる。
[Operation] The error parity detected by the parity check means 100 and the parity calculated by the parity calculation means 101 are compared by the error parity reproduction means 102. As a result of the comparison, if the error parity and the calculated parity do not match, the error parity reproducing means 102 outputs the error parity to the parity adding means 103. Since the parity adding means 103 adds error parity to the received data and outputs it, it is possible to accurately transmit data error information.

【0008】[0008]

【実施例】以下本発明の実施例を図面にて詳述するが、
本発明は以下の実施例に限定されるものではない。
[Examples] Examples of the present invention will be described in detail below with reference to the drawings.
The present invention is not limited to the following examples.

【0009】図2は本発明の実施例の電気回路図である
。同図において、1はパリティチェック部で、JKフリ
ップフロップ1aとDフリップフロップ1bとEX−O
Rゲート1cとで構成される。JKフリップフロップ1
aのJ及びK端子には、受信されたデータが入力される
。この入力された受信データは、チェック用カウンタ2
の出力をDフリップフロップ3で内部クロックCLKの
タイミングでラッチした信号によりカウントされる。 JKフリップフロップ1aから出力される信号は、デー
タ通信のための同期クロックSCKのタイミングでDフ
リップフロップ1bによりラッチされ、EX−ORゲー
ト1cによって受信パリティと比較される。ここで一致
しておれば正しいパリティであり、不一致であればエラ
ーパリティであることを検出する。
FIG. 2 is an electrical circuit diagram of an embodiment of the present invention. In the figure, 1 is a parity check section, which includes a JK flip-flop 1a, a D flip-flop 1b, and an EX-O
It is composed of an R gate 1c. JK flip flop 1
Received data is input to the J and K terminals of a. This input received data is sent to the check counter 2.
The output is counted by a signal latched by the D flip-flop 3 at the timing of the internal clock CLK. The signal output from the JK flip-flop 1a is latched by the D flip-flop 1b at the timing of the synchronization clock SCK for data communication, and compared with the received parity by the EX-OR gate 1c. If they match, it is determined that the parity is correct, and if they do not match, it is determined that the parity is an error parity.

【0010】4はパリティ演算部で、JKフリップフロ
ップ4aとDフリップフロップ4bとで構成される。J
Kフリップフロップ4aのJ及びK端子には、パリティ
付加手段であるパリティMUX部5から出力される受信
データが入力される。受信データは、演算用カウンタ6
の出力をNOTゲート7で反転したのち内部クロックC
LKのタイミングでDフリップフロップ8でラッチし、
NOTゲート9で反転された内部クロックCLKとDフ
リップフロップ8の出力信号とをNANDゲート10で
演算した信号によりカウントされる。JKフリップフロ
ップ4aの出力信号は、Dフリップフロップ4bにより
同期クロックSCKのタイミングでラッチされ、エラー
パリティ再生手段であるEX−ORゲート11に出力さ
れる。
Reference numeral 4 denotes a parity calculation section, which is composed of a JK flip-flop 4a and a D flip-flop 4b. J
Received data output from the parity MUX section 5, which is parity adding means, is input to the J and K terminals of the K flip-flop 4a. The received data is processed by the calculation counter 6.
After inverting the output of C with NOT gate 7, internal clock C
Latch it with D flip-flop 8 at the timing of LK,
The count is performed by a signal obtained by calculating the internal clock CLK inverted by the NOT gate 9 and the output signal of the D flip-flop 8 by the NAND gate 10. The output signal of the JK flip-flop 4a is latched by the D flip-flop 4b at the timing of the synchronous clock SCK, and is output to the EX-OR gate 11, which is error parity reproducing means.

【0011】EX−ORゲート11は、パリティチェッ
ク部1において検出されたパリティと受信データから実
際に演算して得られたパリティとを比較するものである
。そしてその結果が不一致であれば、すなわちパリティ
エラーアラームが発生すればエラーパリティに対応する
信号をパリティMUX部5に入力する。パリティMUX
部5は、入力された信号を反転して受信データに付加し
、回線へ出力する。
The EX-OR gate 11 compares the parity detected by the parity check section 1 with the parity obtained by actually calculating the received data. If the results do not match, that is, if a parity error alarm occurs, a signal corresponding to the error parity is input to the parity MUX unit 5. Parity MUX
The unit 5 inverts the input signal, adds it to the received data, and outputs it to the line.

【0012】図3は実施例の電気回路の動作を示すタイ
ミングチャートである。パリティのチェックは、マルチ
フレームデータのフレームの順におこなわれる。同図に
おいて、マルチフレーム1のパリティビットP1がパリ
ティビットラッチクロックによりラッチされる。このラ
ッチされたパリティビットP1が図2の回路に入力され
る受信パリティS1となる。信号S2はDフリップフロ
ップ3の出力信号である。この信号S2のタイミングに
より、マルチフレーム1のデータがパリティチェック部
1で演算され、Dフリップフロップ1bよりその演算結
果である信号S3が出力される。前述のごとく、信号S
3は、EX−ORゲート1cにより比較されパリティの
チェックがおこなわれる。
FIG. 3 is a timing chart showing the operation of the electric circuit of the embodiment. Parity checking is performed in the order of frames of multi-frame data. In the figure, parity bit P1 of multiframe 1 is latched by a parity bit latch clock. This latched parity bit P1 becomes the reception parity S1 input to the circuit of FIG. Signal S2 is the output signal of D flip-flop 3. According to the timing of this signal S2, the data of multi-frame 1 is calculated by the parity check section 1, and the signal S3 which is the calculation result is outputted from the D flip-flop 1b. As mentioned above, the signal S
3 are compared by EX-OR gate 1c to check parity.

【0013】信号S4はパリティ演算部4の出力である
。信号S4はEX−ORゲート11にてパリティチェッ
ク部1からの出力信号と比較され、パリティエラーが発
生している際にはエラーパリティを再生してパリティM
UX部5へ出力する。なお、上記実施例において用いた
JKフリップフロップにかえて、Dフリップフロップを
用いるものであってもよい。
Signal S4 is the output of parity calculation section 4. The signal S4 is compared with the output signal from the parity check unit 1 at the EX-OR gate 11, and when a parity error occurs, the error parity is reproduced and the parity M
Output to the UX section 5. Note that a D flip-flop may be used instead of the JK flip-flop used in the above embodiment.

【0014】[0014]

【発明の効果】以上説明したように、本発明によれば、
エラーの発生したデータを次にこのデータを受信する受
信局で誤って正常なデータとして受信することを防止で
きるという効果を奏する。それゆえ、正確なデータ通信
をおこなうことができ、パリティチェック及びその演算
回路の性能向上に寄与するところが大きいものである。
[Effects of the Invention] As explained above, according to the present invention,
This has the effect of preventing data in which an error has occurred from being erroneously received as normal data by a receiving station that receives the data next time. Therefore, accurate data communication can be performed, which greatly contributes to improving the performance of parity check and its arithmetic circuit.

【図面の簡単な説明】[Brief explanation of drawings]

【図1】本発明の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of the present invention.

【図2】本発明の実施例の電気回路図である。FIG. 2 is an electrical circuit diagram of an embodiment of the present invention.

【図3】実施例の電気回路の動作を示すタイミング・チ
ャートである。
FIG. 3 is a timing chart showing the operation of the electric circuit of the embodiment.

【図4】従来のデジタル通信システムにおける使用形態
を示すブロック図である。
FIG. 4 is a block diagram showing a usage pattern in a conventional digital communication system.

【図5】従来例の電気回路のブロック図である。FIG. 5 is a block diagram of a conventional electric circuit.

【符号の説明】[Explanation of symbols]

100  パリティチェック手段 101  パリティ演算手段 102  エラーパリティ再生手段 103  パリティ付加手段 100 Parity check means 101 Parity calculation means 102 Error parity regeneration means 103 Parity addition means

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  受信したデータに付加されたパリティ
を検出するパリティチェック手段(100)と、受信し
たデータのパリティを演算するパリティ演算手段(10
1)と、パリティチェック手段(100)からの出力と
パリティ演算手段(101)からの出力とを比較しその
結果が不一致の場合にエラーパリティを出力するエラー
パリティ再生手段(102)と、受信したデータにエラ
ーパリティ再生手段(102)から出力されるエラーパ
リティを付加して出力するパリティ付加手段(103)
とからなるエラーパリティ再生回路。
1. A parity check means (100) for detecting parity added to received data, and a parity calculation means (100) for calculating parity of the received data.
1), error parity reproducing means (102) for comparing the output from the parity checking means (100) and the output from the parity calculation means (101) and outputting error parity if the results do not match; Parity adding means (103) for adding and outputting error parity output from the error parity reproducing means (102) to data
An error parity regeneration circuit consisting of.
JP3129223A 1991-05-31 1991-05-31 Error parity recovery circuit Withdrawn JPH04354421A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3129223A JPH04354421A (en) 1991-05-31 1991-05-31 Error parity recovery circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3129223A JPH04354421A (en) 1991-05-31 1991-05-31 Error parity recovery circuit

Publications (1)

Publication Number Publication Date
JPH04354421A true JPH04354421A (en) 1992-12-08

Family

ID=15004195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3129223A Withdrawn JPH04354421A (en) 1991-05-31 1991-05-31 Error parity recovery circuit

Country Status (1)

Country Link
JP (1) JPH04354421A (en)

Similar Documents

Publication Publication Date Title
US6195769B1 (en) Failsafe asynchronous data transfer corruption indicator
JPH04354421A (en) Error parity recovery circuit
JP3217993B2 (en) Parity check circuit
JPS5853249A (en) Data transmitter and receiver
JP3990064B2 (en) Path monitoring method and path monitoring circuit
JPS58178652A (en) Frame signal transmitting system
JP3179367B2 (en) Failure detection method for asynchronous data transfer equipment
JPS63278436A (en) Multi-frame synchronizing system
JPS5945304B2 (en) Line failure detection method in two-wire communication equipment
JP2869284B2 (en) Signaling signal error protection circuit
JPH04267631A (en) Parity bit addition system
JPH0584095B2 (en)
JPH10326198A (en) Fault detection system of data transmission device
JPH0399540A (en) Synchronizing clock circuit
JPH0453327B2 (en)
JPH0118607B2 (en)
JPH0417573B2 (en)
JPH04239832A (en) Frame synchronizing circuit
JPH01231527A (en) Detecting system for c-bit rule error
JPH02164148A (en) Code error monitoring system
JPS63209238A (en) System for supervising stuff multiplexing device
JPH02211729A (en) Synchronization detecting circuit
JPH066341A (en) Reception circuit for start-stop system communication
JPH05146051A (en) Power system protection system
JPH04183126A (en) Synchronous state monitoring pulse generating circuit

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19980806