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
JPH0621920A - Error detection method for multi-block transmission frame - Google Patents
[go: Go Back, main page]

JPH0621920A - Error detection method for multi-block transmission frame - Google Patents

Error detection method for multi-block transmission frame

Info

Publication number
JPH0621920A
JPH0621920A JP4171370A JP17137092A JPH0621920A JP H0621920 A JPH0621920 A JP H0621920A JP 4171370 A JP4171370 A JP 4171370A JP 17137092 A JP17137092 A JP 17137092A JP H0621920 A JPH0621920 A JP H0621920A
Authority
JP
Japan
Prior art keywords
data
block
transmission frame
error detection
beginning
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4171370A
Other languages
Japanese (ja)
Other versions
JP3029738B2 (en
Inventor
Yasuhiro Tanaka
康裕 田中
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.)
Fuji Electric Co Ltd
Fuji Facom Corp
Original Assignee
Fuji Electric Co Ltd
Fuji Facom Corp
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 Fuji Electric Co Ltd, Fuji Facom Corp filed Critical Fuji Electric Co Ltd
Priority to JP4171370A priority Critical patent/JP3029738B2/en
Publication of JPH0621920A publication Critical patent/JPH0621920A/en
Application granted granted Critical
Publication of JP3029738B2 publication Critical patent/JP3029738B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)

Abstract

(57)【要約】 【目的】複数ブロック2−1〜2−3からなる伝送フレ
ーム1のデータ伝送における誤りチェック手段を簡素化
し、処理の高速化を計る。 【構成】データブロック2−1〜2−3毎に設けられる
巡回符号CRC(CRC1〜CRC3)を、符号器初期
化を従来のように各ブロックの先頭で行わず、伝送フレ
ーム1の先頭で行ったまま、各ブロックのデータ3−
1,3−2,3−3を入力するごとに順次演算出力して
当該ブロックデータ3に付加し伝送フレーム1を生成す
る。複号器についても同様に伝送フレーム1の先頭で初
期化したまま各ブロック2−1,2−2,2−3の受信
ごとに順次CRCの演算を行い、誤りチェックを行う。
(57) [Abstract] [Purpose] To simplify the error checking means in the data transmission of the transmission frame 1 composed of a plurality of blocks 2-1 to 2-3 and to speed up the processing. [Structure] The cyclic code CRC (CRC1 to CRC3) provided for each of the data blocks 2-1 to 2-3 is performed at the beginning of the transmission frame 1 without performing the encoder initialization at the beginning of each block as in the conventional case. Keep the data of each block 3-
Every time 1, 3-2, 3-3 are input, the arithmetic operation is output and added to the block data 3 to generate the transmission frame 1. Similarly, with respect to the decoder, while the initialization is performed at the beginning of the transmission frame 1, the CRC calculation is sequentially performed for each reception of each of the blocks 2-1, 2-2, 2-3, and the error check is performed.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は複数のデータブロックで
構成された伝送フレームの誤りを誤り検出符号を用いて
検出する方法に関する。なお以下各図において同一の符
号は同一もしくは相当部分を示す。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for detecting an error in a transmission frame composed of a plurality of data blocks by using an error detection code. In the drawings below, the same reference numerals indicate the same or corresponding parts.

【0002】[0002]

【従来の技術】図3はこの種のデータ伝送における従来
の誤り検出方法の説明図である。同図において1は伝送
フレーム、2(2−1〜2−3)は夫々この伝送フレー
ム1を構成するデータブロック(便宜上夫々ブロック#
1〜#3又は第1ブロック〜第3ブロックとも記す)、
3(3−1〜3−3)は夫々このデータブロック2−1
〜2−3を構成するデータ(便宜上夫々データ#1〜#
3とも呼ぶ)、CRC1〜CRC3は同じく夫々データ
ブロック2−1〜2−3を構成する誤り検出符号として
のCRC(サイクリック・リダンダンシ・チェック:巡
回符号ともいう)である。
2. Description of the Related Art FIG. 3 is an explanatory diagram of a conventional error detecting method in this type of data transmission. In the figure, 1 is a transmission frame and 2 (2-1 to 2-3) are data blocks (blocks #
1 to # 3 or first block to third block),
3 (3-1 to 3-3) are the data blocks 2-1 respectively.
2 to 3 (data # 1 to # 2 for convenience, respectively)
Also, CRC1 to CRC3 are CRCs (cyclic redundancy check: cyclic codes) as error detection codes that also configure the data blocks 2-1 to 2-3, respectively.

【0003】従来は、各ブロック2を単位として各々独
立して誤り検出を行っている。また一般に用いられてい
るCRCによる誤り検出機構は、シフトレジスタを用い
て演算を行う符号器と複号器で構成される。即ち図3の
〜に対応する太い実線は夫々CRC1〜CRC3に
対応する有効データの範囲を示し、上向の矢印は夫々符
号器,複号器の初期化時点を示している。
Conventionally, error detection is performed independently for each block 2. An error detection mechanism using CRC that is generally used is composed of an encoder and a decoder that perform an operation using a shift register. That is, the thick solid lines corresponding to (1) to (3) in FIG. 3 indicate the range of valid data corresponding to CRC1 to CRC3, respectively, and the upward arrows indicate the initialization points of the encoder and the decoder, respectively.

【0004】図4(A),(B)は夫々前記した伝送元
の符号器,伝送先の複号器の動作手順を示し、S11〜
S15の符号は同図(A)のステップを、またS21〜
S25の符号は同図(B)のステップを夫々示す。同図
を説明すると伝送元は初期値を設定した符号器にまずブ
ロックデータ3−1を入力し(S11,S12)、この
データ3−1からCRCを演算し(S13)、この演算
したCRCを当該ブロック2−1のデータ3−1に付加
し(S14)、以上の動作を残りの全てのデータブロッ
ク2−2,2−3についても繰返して(S15→S11
〜S15の繰返し)、伝送フレーム1を作成する。
FIGS. 4 (A) and 4 (B) show the operation procedure of the above-mentioned transmission source encoder and transmission destination decoder, respectively.
The reference numeral S15 indicates the step in FIG.
The reference sign of S25 indicates the step of FIG. Explaining the figure, the transmission source first inputs the block data 3-1 to the encoder with the initial value set (S11, S12), calculates the CRC from this data 3-1 (S13), and calculates the calculated CRC. It is added to the data 3-1 of the block 2-1 (S14), and the above operation is repeated for all the remaining data blocks 2-2 and 2-3 (S15 → S11).
Up to S15), the transmission frame 1 is created.

【0005】伝送先では複号器に初期値を設定しておき
(S21)、これに伝送フレーム1のまずブロック2−
1を入力する。そしてこの入力データ(つまりデータ3
−1にCRC1が付加されたデータ)からCRCを演算
し(S23)、このCRC演算の結果がある定まった値
になれば(S24,分岐Y)、受けたデータは正しいと
し、これ以外ならば(S24,分岐N)、受けたデータ
は誤っていると判定する。ここで受けたデータが正しい
間は、以上の動作を残りの全てのデータブロック2−
2,2−3についても繰返して(S25→S21〜S2
5の繰返し)、受信した伝送フレーム1の誤りチェック
を終わる。
At the transmission destination, an initial value is set in the decoder (S21), and the block 2 of the transmission frame 1 is first set in this.
Enter 1. And this input data (that is, data 3
CRC is calculated from the data obtained by adding CRC1 to -1) (S23), and if the result of this CRC calculation reaches a certain fixed value (S24, branch Y), the received data is regarded as correct, and otherwise. (S24, branch N), it is determined that the received data is incorrect. While the data received here is correct, all the remaining data blocks 2-
Repeat for 2 and 2-3 (S25 → S21 to S2
5), and the error check of the received transmission frame 1 is finished.

【0006】[0006]

【発明が解決しようとする課題】したがって、伝送フレ
ーム1が複数ブロック化した場合、一つの伝送フレーム
の中で各ブロック毎に毎回、符号器又は複号器の初期化
が必要であり、かつデータは遅滞無く符号化又は複号化
がなされなければならず、高速化の傾向にあるデータ伝
送において誤り検出機構の初期化に伴う遅延及び装置の
肥大化が問題となる。
Therefore, when the transmission frame 1 is divided into a plurality of blocks, it is necessary to initialize the encoder or the decoder for each block in one transmission frame, and the data is required. Must be coded or decoded without delay, and in data transmission, which tends to be faster, the delay and the enlargement of the device due to the initialization of the error detection mechanism pose a problem.

【0007】そこでこの発明の課題は、従来の誤り検出
の性能を落とさずに、装置の誤り検出機構を簡素化する
ことができる複数ブロック化伝送フレームの誤り検出方
法を提供することにある。
Therefore, an object of the present invention is to provide an error detection method for a multi-block transmission frame which can simplify the error detection mechanism of the device without deteriorating the performance of the conventional error detection.

【0008】[0008]

【課題を解決するための手段】前記の課題を解決するた
めに、本発明の誤り検出方法は、複数のデータブロック
(2など)で構成された伝送フレーム(1など)の各ブ
ロックデータ(3など)毎に巡回符号(CRC)を付加
してこのデータブロック毎に誤り検出を行う方法であっ
て、伝送フレームの先頭から各該当するデータブロック
までのフレームの内容を有効範囲とする巡回符号を各々
のブロックデータに付加するようにする。
In order to solve the above-mentioned problems, the error detection method of the present invention uses a block data (3) of a transmission frame (1 etc.) composed of a plurality of data blocks (2 etc.). A cyclic code (CRC) is added to each data block and error detection is performed for each data block, and a cyclic code whose effective range is the contents of the frame from the beginning of the transmission frame to each corresponding data block is added. It should be added to each block data.

【0009】[0009]

【作用】各データブロックに設けるCRCの演算開始位
置(初期化位置)を共通化し伝送フレームの先頭に置
く。CRCの有効範囲は、初期化した位置からCRCを
セットした位置までである。初期化するのは伝送フレー
ムの先頭位置のみなので、伝送元で各ブロック毎にセッ
トしたCRCは、伝送先で伝送フレームの先頭から各ブ
ロックまでが有効範囲となり、ブロック単位の誤り検出
を行うことになる。
The operation start position (initialization position) of the CRC provided in each data block is made common and placed at the beginning of the transmission frame. The effective range of the CRC is from the initialized position to the position where the CRC is set. Since only the beginning position of the transmission frame is initialized, the CRC set for each block at the transmission source becomes the effective range from the beginning of the transmission frame to each block at the transmission destination, and error detection is performed in block units. Become.

【0010】[0010]

【実施例】以下図1におよび図2に基づいて本発明の実
施例を説明する。図1は本発明の実施例としての誤りチ
ェック方法の説明図で図3に対応し、図2(A),
(B)は同じく夫々符号器,複号器の動作手順を示すフ
ローチャートで図4(A),(B)に対応する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment of the present invention will be described below with reference to FIGS. FIG. 1 is an explanatory diagram of an error checking method as an embodiment of the present invention and corresponds to FIG.
4B is a flow chart showing the operating procedure of the encoder and the decoder, respectively, and corresponds to FIGS. 4A and 4B.

【0011】図1,図2は図3,図4に対し共に符号
器,複号器の初期設定が伝送フレーム1の先頭のみで行
われる点が異なる。次に図1を参照しつつ図2を説明す
る。図2(A)において、伝送元では、予め初期値を符
号器に設定しておき(S11)、はじめのブロック2−
1のデータ3−1からCRC(CRC1)を生成し(S
12,S13)、第1ブロックデータ3−1に付加する
(S14)(図1)。次の第2ブロック2−2では符
号器の初期化を行わずに第1ブロックの状態を継続して
(つまり符号器にはCRC1のデータを残したままで)
符号化する。従って外部からは第1ブロック2−1のデ
ータ3−1及び第2ブロック2−2のデータ3−2を入
力してCRC(CRC2)を生成することになる(S1
2〜S14)(図1)。
1 and 2 are different from FIGS. 3 and 4 in that the initial setting of the encoder and the decoder is performed only at the beginning of the transmission frame 1. Next, FIG. 2 will be described with reference to FIG. In FIG. 2A, the transmission source sets an initial value in the encoder in advance (S11), and the first block 2-
CRC (CRC1) is generated from the data 3-1 of 1 (S
12, S13), and the first block data 3-1 is added (S14) (FIG. 1). In the next second block 2-2, the state of the first block is continued without initializing the encoder (that is, with the data of CRC1 left in the encoder).
Encode. Therefore, the data 3-1 of the first block 2-1 and the data 3-2 of the second block 2-2 are input from the outside to generate a CRC (CRC2) (S1).
2 to S14) (FIG. 1).

【0012】残る第3ブロック2−3についても同様に
ステップS12〜S14の手順を繰返すことにより、各
ブロック毎に、先頭ブロックから有効なCRC(CRC
1〜CRC3)を付加した伝送フレーム1をつくる。ま
た図2(B)において、伝送先では、初期値を複号器に
設定しておき(S21)、はじめのブロック2−1の検
査をする(S22〜S24)(図1)、第2ブロック
2−2は複号器の初期化を行わずに第1ブロックの状態
を継続して検査する(S25→S22〜S24)(図1
)。このように順次継続することにより、各ブロック
毎の誤り検出を行う。
Similarly, for the remaining third block 2-3, by repeating the procedure of steps S12 to S14, a valid CRC (CRC
1 to CRC3) are added to form a transmission frame 1. 2B, at the transmission destination, the initial value is set to the decoder (S21), and the first block 2-1 is inspected (S22 to S24) (FIG. 1), the second block. 2-2 continuously inspects the state of the first block without initializing the decoder (S25 → S22 to S24) (FIG. 1).
). By successively continuing in this manner, error detection is performed for each block.

【0013】[0013]

【発明の効果】本発明によれば、伝送フレームの誤り検
出開始位置をブロック単位で区切らず、各ブロック共通
に伝送フレームの先頭に置き、各該当ブロックまでを有
効範囲とする方法を採用するようにしたので、第2ブロ
ック以降での初期化に関する機構が不要になり装置を簡
素化でき、データ伝送を高速化することができる。
According to the present invention, a method is adopted in which the error detection start position of a transmission frame is not divided into blocks, but is placed at the beginning of the transmission frame in common for each block, and each applicable block is set as an effective range. Therefore, the mechanism related to the initialization in the second block and thereafter can be omitted, the device can be simplified, and the data transmission can be speeded up.

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

【図1】本発明の実施例としての誤り検出方法の説明図FIG. 1 is an explanatory diagram of an error detection method as an embodiment of the present invention.

【図2】同じく符号器及び複号器の動作手順を示すフロ
ーチャート
FIG. 2 is a flowchart showing the operating procedure of the encoder and the decoder.

【図3】図1に対応する従来の説明図FIG. 3 is a conventional explanatory diagram corresponding to FIG.

【図4】図2に対応する従来のフローチャートFIG. 4 is a conventional flowchart corresponding to FIG.

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

1 伝送フレーム 2(2−1〜2−3) データブロック 3(3−1〜3−3) データ CRC(CRC1〜CRC3) 巡回符号 1 Transmission Frame 2 (2-1 to 2-3) Data Block 3 (3-1 to 3-3) Data CRC (CRC1 to CRC3) Cyclic Code

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のデータブロックで構成された伝送フ
レームの各ブロックデータ毎に巡回符号を付加してこの
データブロック毎に誤り検出を行う方法であって、 伝送フレームの先頭から各該当するデータブロックまで
のフレームの内容を有効範囲とする巡回符号を各々のブ
ロックデータに付加するようにしたことを特徴とする複
数ブロック化伝送フレームの誤り検出方法。
1. A method of adding a cyclic code to each block data of a transmission frame composed of a plurality of data blocks to detect an error in each of the data blocks, wherein each corresponding data from the beginning of the transmission frame An error detection method for a multi-block transmission frame, characterized in that a cyclic code whose effective range is the contents of a frame up to a block is added to each block data.
JP4171370A 1992-06-30 1992-06-30 Error detection method for multiple block transmission frames Expired - Fee Related JP3029738B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4171370A JP3029738B2 (en) 1992-06-30 1992-06-30 Error detection method for multiple block transmission frames

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4171370A JP3029738B2 (en) 1992-06-30 1992-06-30 Error detection method for multiple block transmission frames

Publications (2)

Publication Number Publication Date
JPH0621920A true JPH0621920A (en) 1994-01-28
JP3029738B2 JP3029738B2 (en) 2000-04-04

Family

ID=15921926

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4171370A Expired - Fee Related JP3029738B2 (en) 1992-06-30 1992-06-30 Error detection method for multiple block transmission frames

Country Status (1)

Country Link
JP (1) JP3029738B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013510514A (en) * 2009-11-04 2013-03-21 アルカテル−ルーセント Method and apparatus for error detection in a communication system
JP2013526225A (en) * 2010-05-03 2013-06-20 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method and apparatus for protecting data packets transmitted over an interface
US8875004B2 (en) 2007-07-10 2014-10-28 Mitsubishi Electric Corporation Transmitting apparatus and communication system
US11362679B2 (en) 2017-08-09 2022-06-14 Nec Corporation Method and apparatus for generating redundant bits for error detection

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8875004B2 (en) 2007-07-10 2014-10-28 Mitsubishi Electric Corporation Transmitting apparatus and communication system
US8892983B2 (en) 2008-11-04 2014-11-18 Alcatel Lucent Method and apparatus for error detection in a communication system
JP2013510514A (en) * 2009-11-04 2013-03-21 アルカテル−ルーセント Method and apparatus for error detection in a communication system
JP2013526225A (en) * 2010-05-03 2013-06-20 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング Method and apparatus for protecting data packets transmitted over an interface
US9491110B2 (en) 2010-05-03 2016-11-08 Robert Bosch Gmbh Method and device for securing data packets to be transmitted via an interface
US11362679B2 (en) 2017-08-09 2022-06-14 Nec Corporation Method and apparatus for generating redundant bits for error detection

Also Published As

Publication number Publication date
JP3029738B2 (en) 2000-04-04

Similar Documents

Publication Publication Date Title
US5367544A (en) Data stream frame synchronisation
US20140304574A1 (en) Signal segmentation method and crc attachment method for reducing undetected error
US5430739A (en) Real-time Reed-Solomon decoder
KR0147150B1 (en) Cyclic redundancy check error detection and correction device using decoder
JPH10107650A (en) Error detection circuit and error correction circuit
JP4071879B2 (en) Error detector, communication system including the error detector, and error detection method
KR850003648A (en) DECODING METHOD AND. APPARATUS FOR CYCLIC CODES
JPH0621920A (en) Error detection method for multi-block transmission frame
EP0658982A2 (en) System for bi-level symbol coding-decoding with saved storage and method for the same
US20050066258A1 (en) Error decoding circuit, data bus control method and data bus system
JP3237700B2 (en) Error detection method and error detection system
JPH05227041A (en) 1-bit error correction circuit based on CRC operation
US20030061559A1 (en) Apparatus and method for accelerating cyclic redundancy check calculations
JP3248098B2 (en) Syndrome calculation device
CN115866076B (en) Asynchronous BiSS-C protocol decoding method based on FPGA
JPH08149017A (en) CRC code generation method
JPS61252719A (en) Burst error correction method and encoding/decoding device
JPH06252874A (en) Word synchronization detection circuit
JP3231713B2 (en) Cyclic redundancy check calculation method and apparatus
JPH0254639A (en) Data modulator/demodulator with error correction function
JPH0481896B2 (en)
JPH06311051A (en) Code error detection circuit
US20100192046A1 (en) Channel encoding
CN116266761A (en) Polar code decoding method and device, and polar code encoding and decoding system
JPH02272929A (en) Majority decision coding/decoding system and encoder and decoder in the same system

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080204

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090204

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees