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

JPH0644749B2 - Data transceiver - Google Patents

Data transceiver

Info

Publication number
JPH0644749B2
JPH0644749B2 JP10454084A JP10454084A JPH0644749B2 JP H0644749 B2 JPH0644749 B2 JP H0644749B2 JP 10454084 A JP10454084 A JP 10454084A JP 10454084 A JP10454084 A JP 10454084A JP H0644749 B2 JPH0644749 B2 JP H0644749B2
Authority
JP
Japan
Prior art keywords
data
transmission
buffer memory
redundant bit
reception
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.)
Expired - Lifetime
Application number
JP10454084A
Other languages
Japanese (ja)
Other versions
JPS60249446A (en
Inventor
栄一 天田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP10454084A priority Critical patent/JPH0644749B2/en
Publication of JPS60249446A publication Critical patent/JPS60249446A/en
Publication of JPH0644749B2 publication Critical patent/JPH0644749B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M13/00Coding, decoding or code conversion, for error detection or error correction; Coding theory basic assumptions; Coding bounds; Error probability evaluation methods; Channel models; Simulation or testing of codes
    • H03M13/03Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words
    • H03M13/05Error detection or forward error correction by redundancy in data representation, i.e. code words containing more digits than the source words using block codes, i.e. a predetermined number of check bits joined to a predetermined number of information bits
    • H03M13/09Error detection only, e.g. using cyclic redundancy check [CRC] codes or single parity bit

Landscapes

  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Description

【発明の詳細な説明】 [発明の利用分野] 本発明はデータ送受信装置に関し、更に詳しくは、他の
通信装置と複数のチャネルを介して接続され、各チャネ
ルのデータについて誤り検出あるいは誤り訂正を必要と
するようなデータ送受信装置に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transmission / reception device, and more specifically, it is connected to another communication device via a plurality of channels and performs error detection or error correction on data of each channel. It relates to a data transmitter / receiver as required.

[発明の背景] 一般に伝送路を介してデータ伝送する通信システムにお
いては、伝送路上で発生したビット誤りを検出し、必要
に応じて誤りビットを訂正できるようにするために、各
送信データに冗長ビットを付加している。すなわち、デ
ータ送信側の装置が送信データに冗長ビットを付加し、
受信側の装置が、受信データに付加された冗長ビットと
自らが受信データに関して生成した冗長データとを用い
て受信データの誤り検出もしくは誤り訂正を行うように
している。
BACKGROUND OF THE INVENTION Generally, in a communication system in which data is transmitted via a transmission line, each transmission data is redundant in order to detect a bit error occurring on the transmission line and correct the error bit if necessary. Bits are added. That is, the device on the data transmission side adds a redundant bit to the transmission data,
The device on the receiving side performs error detection or error correction on the received data by using the redundant bit added to the received data and the redundant data generated by itself regarding the received data.

然るに、複数のチャネルを有する従来の通信システムに
おいては、各チャネル毎に上述した冗長ビットによる誤
り検出/訂正機能を必要とし、複数チャネルのデータ送
受信を1つの装置でサポートする場合、従来は、各チャ
ネル毎に冗長ビットの発生およびチェックのためのハー
ドウェアを配置する構成としていたため、データ送受信
装置のハードウェア規模が大型化するという欠点があっ
た。
However, in the conventional communication system having a plurality of channels, the error detection / correction function by the redundant bit described above is required for each channel, and when data transmission / reception of a plurality of channels is supported by one device, conventionally, Since the hardware for generating and checking the redundant bit is arranged for each channel, there is a drawback that the hardware scale of the data transmitting / receiving device becomes large.

第3図は、このような複数チャネルのデータ送受信を1
つのデータ送受信装置でサポートするシステムの1例と
して示した電話交換システムの全体構成を示す。
FIG. 3 shows the data transmission / reception of such multiple channels.
The whole structure of the telephone exchange system shown as an example of the system supported by one data transmission / reception apparatus is shown.

第3図において、電話機307(307−1−1〜30
7−N−M)は、中継装置306(306−1〜306
−N)を介してスイッチ301に接続され、上記スイッ
チ301による交換機能によって、任意の電話機間の通
信が行われる。各中継装置306は、データ送受信装置
を内蔵しており、それぞれ接続線305(305−1〜
305−N)を介してスイッチと接続され、電話機から
の音声情報をこれらの接続線305に多重化する。上記
接続線305には、電話機の音声情報と共にダイヤル信
号等の制御情報も多重される。
In FIG. 3, telephone 307 (307-1-1 to 30--30)
7-NM is a relay device 306 (306-1 to 306).
-N) is connected to the switch 301, and the exchange function of the switch 301 allows communication between arbitrary telephones. Each relay device 306 has a built-in data transmission / reception device, and each has a connection line 305 (305-1 to 305-1).
305-N) and connected to the switch to multiplex the voice information from the telephone to these connection lines 305. Control information such as a dial signal is multiplexed on the connection line 305 together with voice information of the telephone.

電話機間の接続制御は、スイッチ301の制御プロセッ
サ302が、発呼時にダイヤル信号を受信し、これを解
釈して制御線304を介してスイッチを制御することに
よって行われる。発信元電話機からのダイヤル信号は、
中継装置306で受信され、ディジタルの制御信号とし
てスイッチ301に入力される。
The connection control between the telephones is performed by the control processor 302 of the switch 301 receiving a dial signal at the time of making a call, interpreting the dial signal, and controlling the switch via the control line 304. The dial signal from the originating telephone is
The signal is received by the relay device 306 and input to the switch 301 as a digital control signal.

上記制御信号(ダイヤル信号)は、スイッチ301から
接続線116〜118および119〜121、データ送
受信装置303、バス114、115を介して制御プロ
セッサ302に伝送される。制御プロセッサ302は、
複数の電話機からの接続要求を処理するために、データ
送受信装置303を介して、複数の伝送チャネルとデー
タの送受信を行う。この場合、データ送受信装置303
において、前述したハードウエアの大型化の問題が発生
する。
The control signal (dial signal) is transmitted from the switch 301 to the control processor 302 via the connection lines 116 to 118 and 119 to 121, the data transmission / reception device 303, and the buses 114 and 115. The control processor 302
In order to process connection requests from a plurality of telephones, data is transmitted / received to / from a plurality of transmission channels via the data transmission / reception device 303. In this case, the data transmission / reception device 303
In the above, the problem of increasing the size of the hardware described above occurs.

此の種の電話交換システムにおいて、データは可変長の
パケットを単位として送受信され、各パケットはヘッダ
部とデータ部とからなり、ヘッダ部にはパケット長を示
す情報が設定してある。従って、データの受信側装置で
は、ヘッダ部に示されたパケット長を記憶すると共に、
受信データのバイト長をカウントすることによって、パ
ケットの終わりを検知することができる。また、各パケ
ットの最後尾には、誤り検出のためのCRC(サイクリ
ック・リダンダンシ・チェック)コードが付加してあ
り、このCRCを利用して各受信パケット内でのデータ
伝送誤りを検出することができる。データ誤りが所定の
ビット数以内の場合は、自動的に訂正することができ、
パケットに訂正不能な誤りが発生した場合には、発信元
装置に対して同一のデータの再送が要求される。
In this type of telephone exchange system, data is transmitted and received in units of variable length packets, each packet comprises a header section and a data section, and information indicating the packet length is set in the header section. Therefore, the data receiving side device stores the packet length shown in the header part, and
The end of the packet can be detected by counting the byte length of the received data. A CRC (Cyclic Redundancy Check) code for error detection is added to the end of each packet, and a data transmission error in each received packet can be detected using this CRC. You can If the data error is within the specified number of bits, it can be automatically corrected.
When an uncorrectable error occurs in a packet, the source device is requested to retransmit the same data.

[発明の目的] 本発明の目的は、複数のチャネルを介して他の装置と接
続でき、データ誤りの検出あるいは訂正のための冗長ビ
ット処理のためのハードウェア構成を簡易化できるデー
タ送受信装置を提供することである。
[Object of the Invention] An object of the present invention is to provide a data transmission / reception device which can be connected to another device through a plurality of channels and can simplify a hardware configuration for redundant bit processing for detecting or correcting a data error. Is to provide.

[発明の概要] 本発明では、上記目的を達成するため、誤り検出あるい
は誤り訂正のための冗長ビット処理を上位装置がバッフ
ァメモリ手段に送受信データを読み書きする際に行うこ
とにより、冗長ビット処理のための手段を複数のチャネ
ルに共用化し、ハードウエアを簡単化したことを特徴と
する。
SUMMARY OF THE INVENTION In order to achieve the above object, according to the present invention, redundant bit processing for error detection or error correction is performed when a host device reads / writes transmitted / received data from / to a buffer memory unit, thereby performing redundant bit processing. It is characterized in that the means for sharing is shared by a plurality of channels and the hardware is simplified.

更に具体的に述べると、本発明のデータ送受信装置は、
データ伝送のための複数のチャネルと、誤り検出と誤り
訂正のための冗長ビットが付加された送受信データを一
時的に蓄えるためのバッファメモリと、上記複数のチャ
ネルと上記バッファメモリとの間で送受信データの転送
制御を行うための制御手段とからなり、上記バッファメ
モリとこれをアクセスする上位装置との間に冗長ビット
処理手段を有し、上位装置によって上記バッファメモリ
から読み出された全てのチャネルの受信データに対し
て、上記冗長ビット処理手段が、各受信データに付加さ
れている冗長ビットと自ら生成した冗長ビットとに基づ
く誤り検出と誤り訂正を行なうことを特徴とする。
More specifically, the data transmitting / receiving device of the present invention is
A plurality of channels for data transmission, a buffer memory for temporarily storing transmission / reception data to which redundant bits for error detection and error correction are added, and transmission / reception between the plurality of channels and the buffer memory All the channels read from the buffer memory by the host device, comprising redundant bit processing means between the buffer memory and a host device accessing the buffer memory. With respect to the received data, the redundant bit processing means performs error detection and error correction based on the redundant bit added to each received data and the redundant bit generated by itself.

上記冗長ビット処理手段の備える冗長ビット生成機能を
利用し、同一の冗長ビット処理手段で、上位装置がバッ
ファメモリに書き込む全てのチャネルの送信データに対
して、各データに付加すべき誤り検出と誤り訂正のため
の冗長ビットを生成するようにしてもよい。
Utilizing the redundant bit generation function of the redundant bit processing means, error detection and error to be added to each data for transmission data of all channels written in the buffer memory by the host device by the same redundant bit processing means Redundant bits for correction may be generated.

[発明の実施例] 以下、本発明のデータ送受信装置の1実施例を第1図を
参照して説明する。ここに示すデータ送受信装置は、例
えば、図3に示したデータ送受信装置303に該当し、
データバス114、115を介して外部装置(上位制御
プロセッサ302)と接続され、複数の入出力チャネル
(信号線)116〜118、119〜121を介して他
の装置(スイッチ301)と接続されている。
[Embodiment of the Invention] An embodiment of the data transmitting / receiving apparatus of the present invention will be described below with reference to FIG. The data transmission / reception device shown here corresponds to, for example, the data transmission / reception device 303 shown in FIG.
Connected to an external device (upper control processor 302) via the data buses 114 and 115, and connected to another device (switch 301) via a plurality of input / output channels (signal lines) 116 to 118 and 119 to 121. There is.

第1図において、101〜103は各入力チャネル11
6〜118から入力されたシリアルデータをパラレルデ
ータに変換して出力するための入力シフトレジスタ、1
09〜111はパラレルデータをシリアルデータに変換
して各出力チャネル119〜121に出力するための出
力シフトレジスタ、104は上記入力シフトレジスタの
出力の1つを選択するためのセレクタ、105は各入力
チャネルからの入力データ(パケット)を一時的に記憶
するためのバッファメモリ、106はデータ送受信装置
の動作を制御する制御装置、107は、誤り検出および
訂正用の冗長ビット処理を行う冗長ビット発生/検出回
路、108は外部装置(上位の制御プロセッサ302)
との間のインターフェース回路、112は内部アドレス
バス、113は内部データバス、114と115はそれ
ぞれ上位制御プロセッサ302に接続するための外部ア
ドレスバスおよび外部データバスである。なお、図にお
いて、太線で示した信号線は、複数ビットのデータが並
列に伝送されることを示す。
In FIG. 1, 101 to 103 are input channels 11
An input shift register for converting serial data input from 6 to 118 into parallel data and outputting the parallel data.
09 to 111 are output shift registers for converting parallel data into serial data and outputting to serial output channels 119 to 121, 104 is a selector for selecting one of the outputs of the input shift register, and 105 is each input. A buffer memory for temporarily storing the input data (packet) from the channel, 106 a control device for controlling the operation of the data transmission / reception device, 107 a redundant bit generation / correction redundant bit process for error detection and correction. Detection circuit, 108 is an external device (upper control processor 302)
, 112 is an internal address bus, 113 is an internal data bus, and 114 and 115 are external address buses and external data buses for connecting to the upper control processor 302, respectively. In the figure, the signal line indicated by a thick line indicates that a plurality of bits of data are transmitted in parallel.

この実施例において、各チャネル116〜118、11
9〜121の入出力データは、それぞれ可変長のパケッ
トであり、外部装置(上位制御プロセッサ302)とデ
ータ送受信装置との間では、データバス115を介して
1バイト単位でデータが送受される。
In this example, each channel 116-118, 11
The input / output data 9 to 121 are packets of variable length, and data is transmitted / received in 1-byte units between the external device (upper control processor 302) and the data transmitting / receiving device via the data bus 115.

各入力チャネル116〜118には、例えば、図3に示
した中継装置306−1〜306−Nからのデータ(パ
ケット)が受信され、その一部が順次に8ビットのシフ
トレジスタ101〜103に入力され、各シフトレジス
タの出力データが1バイト単位でセレクタ104によっ
て順次選択され、制御装置106に入力される。
For example, data (packets) from the relay devices 306-1 to 306-N shown in FIG. 3 are received by the input channels 116 to 118, and a part of them is sequentially transferred to the 8-bit shift registers 101 to 103. The input data, which is output from each shift register, is sequentially selected in 1-byte units by the selector 104 and input to the control device 106.

制御装置106は、入出力チャネルと外部装置(上位制
御プロセッサ302)との間のデータの送受信を管理す
る制御装置106と上位制御プロセッサ302との間の
データの送受信はバッファメモリ105を介して行われ
る。例えば、セレクタ104からの受信データをバッフ
ァメモリ105に格納すると共に、制御プロセッサ30
2がバッファメモリ105に書き込んだ中継装置306
−1〜306−N宛の送信データをバッファメモリ10
5から読み出し、出力バスを介して何れかの出力シフト
レジスタ109〜111に供給する。出力シフトレジス
タの指定は、出力バスの1部をなすアドレスバス上にレ
ジスタアドレスを与えることによって行う。各シフトレ
ジスタ109〜111は、制御装置106から供給され
た送信データを取り込み、これを並直列変換し、対応す
る出力チャネル119〜121に出力する。
The control device 106 manages transmission / reception of data between the input / output channel and an external device (upper control processor 302). Data transmission / reception between the control device 106 and the higher control processor 302 is performed via the buffer memory 105. Be seen. For example, the received data from the selector 104 is stored in the buffer memory 105, and the control processor 30
2 is written in the buffer memory 105 by the relay device 306
-1 to 306-N transmission data addressed to the buffer memory 10
5 and supplies it to any of the output shift registers 109 to 111 via the output bus. The output shift register is designated by giving a register address on an address bus forming a part of the output bus. Each shift register 109-111 takes in the transmission data supplied from the control device 106, parallel-serial converts it, and outputs it to the corresponding output channel 119-121.

上記バッファメモリ105には、各入出力チャネルと対
応して、上述した送受信データ(パケット)を記憶する
ためのデータ領域と、未処理の送受信データの有無を示
すためのフラグ領域とが用意されている。制御装置10
6は、入力チャネルからの1パケット分のデータをバッ
ファメモリ105のデータ領域に書き込んだ時、該入力
チャネルと対応するフラグ領域のビットを「1」状態に
する。
The buffer memory 105 is provided with a data area for storing the above-mentioned transmission / reception data (packet) and a flag area for indicating the presence / absence of unprocessed transmission / reception data corresponding to each input / output channel. There is. Control device 10
When writing data for one packet from the input channel to the data area of the buffer memory 105, the bit 6 sets the bit in the flag area corresponding to the input channel to the "1" state.

上位制御プロセッサ302は、バッファメモリ105の
入力チャネルフラグ領域を定期的にチェックし、ビット
が「1」になっていれば、該当チャネルのデータ領域か
らパケットデータを読み出し、上記ビットを「0」状態
に戻す。逆に、上位制御プロセッサ302からの送信デ
ータをバッファメモリ105のデータ領域に書き込んだ
場合、上位制御プロセッサ302が該当する出力チャネ
ルのフラグ領域のビットを「1」状態にする。
The upper control processor 302 periodically checks the input channel flag area of the buffer memory 105, and if the bit is “1”, reads the packet data from the data area of the corresponding channel and sets the bit to “0” state. Return to. On the contrary, when the transmission data from the upper control processor 302 is written in the data area of the buffer memory 105, the upper control processor 302 sets the bit of the flag area of the corresponding output channel to "1".

制御装置106は、バッファメモリ105の出力チャネ
ルフラグ領域を定期的にチェックし、ビットが「1」に
なっていれば、該当チャネルのデータ領域からパケット
データを読み出し、出力バスを介して上記チャネルと対
応する出力シフトレジスタに供給した後、上記ビットの
状態を「0」に戻す。
The control device 106 periodically checks the output channel flag area of the buffer memory 105, and if the bit is “1”, reads the packet data from the data area of the corresponding channel and communicates with the above channel via the output bus. After supplying the corresponding output shift register, the state of the above bit is returned to "0".

外部装置(上位制御プロセッサ302)は、外部アドレ
スバス114と外部データバス115、インタフェース
回路108、内部アドレスバス112と内部データバス
113を介して、上述したバッファメモリ105へのフ
ラグビットおよび送信データの書き込みと受信データお
よびフラグビットの読み出しを行う。受信データは、制
御装置106によってバッファメモリ105に1パケッ
ト分のデータが格納完了した後、制御プロセッサ302
によってバッファメモリ105から読み出される。ま
た、送信データは、制御プロセッサ302からバッファ
メモリ105への1パケット分のデータ書き込みが完了
した後、制御装置106によって出力レジスタに読み出
される。
The external device (upper control processor 302) transmits the flag bit and the transmission data to the above-mentioned buffer memory 105 via the external address bus 114 and the external data bus 115, the interface circuit 108, the internal address bus 112 and the internal data bus 113. Write and read received data and flag bits. As for the received data, after the control device 106 has completed storing one packet of data in the buffer memory 105, the control processor 302
Is read from the buffer memory 105. The transmission data is read out to the output register by the control device 106 after the writing of one packet of data from the control processor 302 to the buffer memory 105 is completed.

本発明では、誤り検出、訂正用の冗長ビット発生/チェ
ック回路107が、上記バッファメモリ105とインタ
ーフェース回路108との間に配置され、外部装置(上
位制御プロセッサ302)がバッファメモリ105から
受信データを読み出した時、冗長ビットのチェック動作
が行なわれ、バッファメモリ105に送信データを書き
込む時、冗長ビットの生成動作が行われるようになって
いる。
In the present invention, the redundant bit generation / check circuit 107 for error detection and correction is arranged between the buffer memory 105 and the interface circuit 108, and the external device (upper control processor 302) receives the received data from the buffer memory 105. The redundant bit check operation is performed when read, and the redundant bit generation operation is performed when transmission data is written in the buffer memory 105.

第2図は第1図に示した誤り検出、訂正用冗長ビット発
生/チェック回路107の一実施例を示す。ここでは、
誤り検出用の冗長ビットとしてCRCを用い、CRCの
発生回路とCRCのチェック回路とを兼用させた構成に
ついて示している。
FIG. 2 shows an embodiment of the error detection / correction redundant bit generation / check circuit 107 shown in FIG. here,
A configuration is shown in which a CRC is used as a redundant bit for error detection, and a CRC generation circuit and a CRC check circuit are used in common.

第2図において、112は内部アドレスバス、113は
内部データバス、201はCRC発生/検査回路、20
2と210はセレクタ、204と205はシフトレジス
タ、203と206はそれぞれ上記シフトレジスタ20
4と205の内容を内部データバス113に出力するた
めのトライステート出力バスバッファを示す。また、2
07は、この冗長ビット発生/チェック回路のための制
御回路、208と209は第1図に示したインタフェー
ス回路108に接続されるデータバスおよびアドレスバ
スである。
In FIG. 2, 112 is an internal address bus, 113 is an internal data bus, 201 is a CRC generation / check circuit, 20
2 and 210 are selectors, 204 and 205 are shift registers, and 203 and 206 are the shift registers 20 described above.
4 shows a tri-state output bus buffer for outputting the contents of 4 and 205 to the internal data bus 113. Also, 2
Reference numeral 07 is a control circuit for the redundant bit generation / check circuit, and 208 and 209 are a data bus and an address bus connected to the interface circuit 108 shown in FIG.

外部装置(上位制御プロセッサ302)から中継装置3
06宛の送信データをバッファメモリ105に書き込む
場合、送信データは一旦シフトレジスタ204に格納さ
れる。上記シフトレジスタ204の内容は、セレクタ2
02を介してシリアルにCRC発生/検査回路201に
供給され、送信データと対応するCRCコードが計算さ
れる。CRC発生/検査回路201に供給された送信デ
ータは、セレクタ210を介して再度シフトレジスタ2
04に格納される。
From the external device (upper control processor 302) to the relay device 3
When writing the transmission data addressed to 06 to the buffer memory 105, the transmission data is temporarily stored in the shift register 204. The contents of the shift register 204 are the contents of the selector 2
It is serially supplied to the CRC generation / inspection circuit 201 via 02, and the CRC code corresponding to the transmission data is calculated. The transmission data supplied to the CRC generation / inspection circuit 201 is again sent to the shift register 2 via the selector 210.
It is stored in 04.

CRCコードの計算が終了した時点で、上記シフトレジ
スタ204には上位制御プロセッサからの送信データが
再び格納されており、この送信データは、次にトライス
テートバッファ203と、内部データバス113を介し
てバッファメモリ105に書き込まれる。
At the time when the calculation of the CRC code is completed, the shift register 204 stores the transmission data from the upper control processor again, and this transmission data is then transmitted via the tri-state buffer 203 and the internal data bus 113. It is written in the buffer memory 105.

以上の動作が1バイト単位で複数回繰り返され、1パケ
ット分の送信データのバッファメモリ105への書き込
みが終了する時点で、CRC発生/制御回路201に該
パケットに対するCRCコードが計算済となる。従っ
て、送信データの最後の1バイトのCRC計算が完了し
た後の所定にタイミングで、セレクタ210を切り替え
てCRCコードをシフトレジスタ204に入力し、これ
をデータバス113を介してバッファメモリ105に書
き込む。
The above operation is repeated a plurality of times in units of 1 byte, and when the writing of the transmission data for one packet into the buffer memory 105 is completed, the CRC code for the packet is calculated in the CRC generation / control circuit 201. Therefore, at a predetermined timing after the CRC calculation of the last 1 byte of the transmission data is completed, the selector 210 is switched to input the CRC code to the shift register 204 and write it into the buffer memory 105 via the data bus 113. .

一方、各入力チャネル116〜118から入力された受
信データ(中継装置306から上位制御プロセッサ30
2への受信データ)は、バッファ105から読み出さ
れ、内部データバス113を介してシフトレジスタ20
5に一旦格納された後、セレクタ202を介してCRC
発生/チェック回路201にシリアルに入力され、CR
Cコードが計算される。
On the other hand, received data input from each of the input channels 116 to 118 (from the relay device 306 to the upper control processor 30)
2) is read from the buffer 105 and is transferred via the internal data bus 113 to the shift register 20.
Once stored in 5, the CRC is passed through the selector 202.
Input to the generation / check circuit 201 serially, CR
The C code is calculated.

CRCの計算を終えた受信データは、出力バスバッファ
206を介して制御回路207に供給され、順次にデー
タバス208に出力される。制御回路207は、データ
バス208を介して上位制御プロセッサ302に送信し
たデータのバイト長をカウントすることによって、受信
データ(パケット)の最後のバイトを検出し、これに付
加されているCRCコードがCRCチェック回路201
に入力された時点で、CRCのチェック結果をシフトレ
ジスタ205を介して取り込む。従って、上位制御プロ
セッサは、上記CRCのチェック結果をデータバス20
8を介してアクセスすることにより、伝送誤りを知るこ
とができる。
The received data whose CRC has been calculated is supplied to the control circuit 207 via the output bus buffer 206 and sequentially output to the data bus 208. The control circuit 207 detects the last byte of the received data (packet) by counting the byte length of the data transmitted to the upper control processor 302 via the data bus 208, and the CRC code added to this is detected. CRC check circuit 201
When it is input to, the CRC check result is fetched via the shift register 205. Therefore, the upper control processor sends the CRC check result to the data bus 20.
By accessing via 8, it is possible to know the transmission error.

[発明の効果] 以上説明したように、本発明のデータ送受信装置では、
誤り検出、訂正用の冗長ビット処理回路を複数のチャネ
ルに共用するようにしたことによって、これを各チャネ
ル毎に設けた従来の装置構成に比較して、ハードウェア
量を大幅に削減することが可能となる。
[Effects of the Invention] As described above, in the data transmitting / receiving device of the present invention,
By sharing the redundant bit processing circuit for error detection and correction with multiple channels, it is possible to significantly reduce the amount of hardware as compared with the conventional device configuration provided for each channel. It will be possible.

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

第1図は本発明によるデータ送受信装置の要部構成の一
実施例を示すブロック図、第2図は第1図における冗長
ビットの発生/チェック回路の詳細な構成を示す図、第
3図は本発明のデータ送受信装置の適用システムの1例
となる電話交換システムの構成を示す図である。 (符号の説明) 101〜103、109〜111……シフトレジスタ、
104……セレクタ、105……バッファメモリ、10
6……データ送受信装置の制御装置、107……誤り検
出、訂正用の冗長ビット発生/検査回路、108……外
部装置(上位制御装置)とのインターフェース回路、1
12……内部アドレスバス、113……内部データバ
ス、114……外部アドレスバス、115……外部デー
タバス、201……CRC発生/検査回路、202、2
10……セレクタ、204〜205……シフトレジス
タ、203、206……トライステートバッファ、20
7……CRC発生/検査回路の制御回路、208……デ
ータバス、209……アドレスバス、301……交換ス
イッチ、302……制御プロセッサ(外部装置)、30
3……データ送受信装置、304……スイッチ制御信号
線、305……接続線、116〜118、119〜12
1……チャネル、306……中継装置、307……電話
機、114……外部アドレスバス、115……外部デー
タバス
FIG. 1 is a block diagram showing an embodiment of the main configuration of a data transmitting / receiving apparatus according to the present invention, FIG. 2 is a diagram showing a detailed configuration of a redundant bit generating / checking circuit in FIG. 1, and FIG. It is a figure which shows the structure of the telephone exchange system which is an example of the application system of the data transmission / reception apparatus of this invention. (Explanation of symbols) 101 to 103, 109 to 111 ... Shift register,
104 ... Selector, 105 ... Buffer memory, 10
6 ... Control device of data transmission / reception device, 107 ... Redundant bit generation / inspection circuit for error detection and correction, 108 ... Interface circuit with external device (upper control device), 1
12 ... Internal address bus, 113 ... Internal data bus, 114 ... External address bus, 115 ... External data bus, 201 ... CRC generation / check circuit, 202, 2
10 ... Selector, 204 to 205 ... Shift register, 203, 206 ... Tristate buffer, 20
7 ... CRC generation / inspection circuit control circuit, 208 ... Data bus, 209 ... Address bus, 301 ... Exchange switch, 302 ... Control processor (external device), 30
3 ... Data transmitting / receiving device, 304 ... Switch control signal line, 305 ... Connection line, 116-118, 119-12
1 ... Channel, 306 ... Relay device, 307 ... Telephone, 114 ... External address bus, 115 ... External data bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】データ伝送のための複数のチャネル(11
6〜118、119〜121)と、誤り検出と誤り訂正
のための冗長ビットが付加された送受信データを一時的
に蓄えるためのバッファメモリ手段(105)と、上記
複数のチャネルと上記バッファメモリ手段との間で送受
信データの転送制御を行うための制御手段(106)と
からなり、上記バッファメモリ手段をアクセスする上位
装置(302)に接続されるデータ送受信装置におい
て、 上記バッファメモリ手段(105)と上位装置(30
2)との間に冗長ビット処理手段(107)を有し、上
位装置によって上記バッファメモリ手段から読み出され
た全てのチャネルの受信データに対して、上記冗長ビッ
ト処理手段が、各受信データに付加されている冗長ビッ
トと自ら生成した冗長ビットとに基づく誤り検出と誤り
訂正を行なうことを特徴とするデータ送受信装置。
1. A plurality of channels (11) for data transmission.
6 to 118, 119 to 121), buffer memory means (105) for temporarily storing transmission / reception data to which redundant bits for error detection and error correction are added, the plurality of channels and the buffer memory means. And a control means (106) for controlling transmission / reception of transmission / reception data between the buffer memory means and a host device (302) for accessing the buffer memory means, the buffer memory means (105) And host device (30
2) with redundant bit processing means (107), the redundant bit processing means converts the received data of all channels read from the buffer memory means by the host device into each received data. A data transmission / reception device characterized by performing error detection and error correction based on an added redundant bit and a redundant bit generated by itself.
【請求項2】前記冗長ビット処理手段が、上位装置が前
記バッファメモリに書き込む全てのチャネルの送信デー
タに対して、各データに付加すべき誤り検出と誤り訂正
のための冗長ビットを生成することを特徴とする第1項
に記載のデータ送受信装置。
2. The redundant bit processing means generates redundant bits for error detection and error correction to be added to each data, with respect to transmission data of all channels written in the buffer memory by the host device. The data transmission / reception device according to item 1.
JP10454084A 1984-05-25 1984-05-25 Data transceiver Expired - Lifetime JPH0644749B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10454084A JPH0644749B2 (en) 1984-05-25 1984-05-25 Data transceiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10454084A JPH0644749B2 (en) 1984-05-25 1984-05-25 Data transceiver

Publications (2)

Publication Number Publication Date
JPS60249446A JPS60249446A (en) 1985-12-10
JPH0644749B2 true JPH0644749B2 (en) 1994-06-08

Family

ID=14383320

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10454084A Expired - Lifetime JPH0644749B2 (en) 1984-05-25 1984-05-25 Data transceiver

Country Status (1)

Country Link
JP (1) JPH0644749B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62178316A (en) * 1986-01-31 1987-08-05 Nifco Inc Action controller of injection molding machine

Also Published As

Publication number Publication date
JPS60249446A (en) 1985-12-10

Similar Documents

Publication Publication Date Title
US4695952A (en) Dual redundant bus interface circuit architecture
JPH0628874Y2 (en) Exchange device
US4561090A (en) Integrated self-checking packet switch node
JPH0618374B2 (en) Data transmission method for multi-network system
CA2015214C (en) Computer system high speed link method and link and means
US6535522B1 (en) Multiple protocol interface and method for use in a communications system
JPH10171750A (en) Data transfer system between memories
JP3757204B2 (en) Error detection / correction method and control device using the method
JP2692773B2 (en) Error correction device
EP0622919A1 (en) Interface device for format conversion
JP2989669B2 (en) Method and device for controlling memory
JPH0644749B2 (en) Data transceiver
US4672603A (en) Combined analog/digital CCIS data transmitter/receiver circuit
US6282203B1 (en) Packet data transmitting apparatus, and method therefor
US5590279A (en) Memory data copying apparatus
JPS61103298A (en) Controller for copying machine
CN101189593A (en) Method for transmitting redundant data during address transmission on a multiplexed address/data bus
JP2016042218A (en) Error detection device and error detection method
KR100414923B1 (en) Interprocessor communication matching device and method
SU550631A1 (en) Device for information exchange
JP2000261416A (en) Duplex data transfer circuit
GB2302780A (en) Packet switching using a hardware router and FIFO proceedure
JPS6123433A (en) Data transmitting or receiving device
JPH10135844A (en) Serial / parallel converter
KR19980034717A (en) Parity Method Using Parity Method