JPH08195736A - Communication system - Google Patents

Communication system

Info

Publication number
JPH08195736A
JPH08195736A JP7003976A JP397695A JPH08195736A JP H08195736 A JPH08195736 A JP H08195736A JP 7003976 A JP7003976 A JP 7003976A JP 397695 A JP397695 A JP 397695A JP H08195736 A JPH08195736 A JP H08195736A
Authority
JP
Japan
Prior art keywords
transmission
packet
data
station
error correction
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
JP7003976A
Other languages
Japanese (ja)
Inventor
Yasushi Kachi
靖司 可知
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7003976A priority Critical patent/JPH08195736A/en
Publication of JPH08195736A publication Critical patent/JPH08195736A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE: To improve line efficiency without provision of a special field to select data into an information bit. CONSTITUTION: A transmission station sends data as they are to invert data inputted to a transmission CRC arithmetic means 15 at an optional bit location and to differentiate the CRC value obtained by the transmission data thereby sending CRC information. A reception station receives reception data as they are, a reception packet invert means 24 inverts only the information used for CRC at an optional bit location and a reception CRC arithmetic means 25 executes the CRC arithmetic operation. The transmission station and the reception station set the bit location of the data so as to be the same or different from each other to use an error correction capability of the CRC code thereby selecting abort of data.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は通信システムに係り、特
にプログラム受信機能用データと通常データ、同報デー
タとポイント・ツウ・ポイントデータ等、性質の異なる
データを送信局より同報回線を介して送信したデータ
を、複数の受信局のそれぞれが所望のデータを選択受信
する通信システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a communication system, and more particularly to data of different characteristics such as program reception function data and normal data, broadcast data and point-to-point data from a transmitting station via a broadcast line. The present invention relates to a communication system in which each of a plurality of receiving stations selectively receives desired data from the transmitted data.

【0002】[0002]

【従来の技術】図13は通信システムの一例の概略構成
図を示す。同図に示すように、通信システムは、一つの
1次局(親局)401に複数の2次局(子局)402〜
404が接続された構成であり、1次局401から2次
局402〜404方向へは同報回線で、1次局401か
らの送信データがすべての2次局402〜404で受信
される。従って、各2次局402〜404では、自局宛
のデータのみ取り込み、他のデータは破棄するという選
択処理を行う。
2. Description of the Related Art FIG. 13 is a schematic block diagram of an example of a communication system. As shown in the figure, the communication system includes a plurality of secondary stations (slave stations) 402 to one primary station (master station) 401.
404 is connected, and transmission data from the primary station 401 is received by all the secondary stations 402 to 404 through a broadcast line from the primary station 401 to the secondary stations 402 to 404. Therefore, each of the secondary stations 402 to 404 performs a selection process of fetching only the data addressed to itself and discarding the other data.

【0003】ここで、1次局401が同報回線を介して
送信したデータの中で2次局402〜404が特定のデ
ータのみ受信する方法として、日本工業規格X5104
などで規定されているハイレベルデータリンク制御(H
DLC:High Level Data Link
Control)手順の正規応答モード(NRM)が従
来より知られている。このHDLC手順では、データを
パケットと呼ばれる塊に分割して送信し、これを受信す
る。
Here, as a method for the secondary stations 402 to 404 to receive only specific data among the data transmitted by the primary station 401 via the broadcast line, Japanese Industrial Standard X5104.
High-level data link control (H
DLC: High Level Data Link
The normal response mode (NRM) of the Control procedure is conventionally known. In this HDLC procedure, data is divided into chunks called packets to be transmitted and received.

【0004】このパケット(フレーム)は、図14に示
すようなフレームフォーマットに定められており、最初
と最後をそれぞれ8ビット固定パターンのフラグシーケ
ンス(F)501、506で囲む。これらのフラグシー
ケンス501、506の間には、8ビットのアドレス部
(A)502、8ビットの制御部(C)503、任意の
ビット数Nの情報部504、16ビット又は32ビット
のフレームチェックシーケンス(FCS)505がそれ
ぞれ順次に合成された構成である。
This packet (frame) is defined in a frame format as shown in FIG. 14, and the beginning and the end are surrounded by 8-bit fixed pattern flag sequences (F) 501 and 506, respectively. Between these flag sequences 501 and 506, an 8-bit address section (A) 502, an 8-bit control section (C) 503, an information section 504 with an arbitrary number of bits N, a 16-bit or 32-bit frame check. The sequence (FCS) 505 has a configuration in which they are sequentially combined.

【0005】図13に示した通信システムでは、同報回
線で送信されたパケットデータを受信して、各2次局4
02〜404は受信したパケットデータのアドレス部5
02がそれぞれ自局に固有のアドレスかどうかを識別判
断し、自局のアドレスと一致したときにはそのデータを
FCS505を用いて誤り訂正し、自局のアドレスと一
致しないときにはそのデータを廃棄する。
In the communication system shown in FIG. 13, each secondary station 4 receives packet data transmitted on the broadcast line.
02 to 404 are the address part 5 of the received packet data
Whether or not 02 is an address unique to the own station is discriminated and judged, and when it matches the address of the own station, the data is error-corrected by using the FCS 505, and when it does not match the address of the own station, the data is discarded.

【0006】[0006]

【発明が解決しようとする課題】しかるに、上記の従来
の通信システムでは、同報回線で送信されるパケットデ
ータの中に自局に必要なデータのみを選択するための特
別フィールドとしてアドレス部502を有しているた
め、回線効率が落ちるという欠点がある。
However, in the above conventional communication system, the address section 502 is used as a special field for selecting only the data necessary for the own station among the packet data transmitted by the broadcast line. Since it has it, there is a drawback that the line efficiency drops.

【0007】本発明は上記の点に鑑みなされたもので、
情報ビット中にデータを選択するための特別なフィール
ドを設けないことにより、回線効率を向上し得る通信シ
ステムを提供することを目的とする。
[0007] The present invention has been made in view of the above points,
An object of the present invention is to provide a communication system capable of improving line efficiency by not providing a special field for selecting data in information bits.

【0008】また、本発明の他の目的は、同報回線によ
り所望の受信局宛に分割送信データを送信して受信させ
ることができる通信システムを提供することにある。
Another object of the present invention is to provide a communication system capable of transmitting and receiving divided transmission data to a desired receiving station via a broadcast line.

【0009】また、本発明の更に他の目的は、送信パケ
ットにデータの種類を示す特別なフィールドを設けなく
ても、受信局が所望の種類のデータの送信パケットのみ
を選択受信することができる通信システムを提供するこ
とにある。
Still another object of the present invention is that the receiving station can selectively receive only a transmission packet of a desired type of data without providing a special field indicating the type of data in the transmission packet. To provide a communication system.

【0010】[0010]

【課題を解決するための手段】上記の目的を達成するた
め、請求項1記載の発明では、一つの送信局と複数の受
信局とからなり、送信局は分割送信データに誤り訂正符
号を付加した送信パケットを生成して同報回線で複数の
受信局へ同時に送信し、複数の受信局のそれぞれは受信
パケットの誤り訂正演算を行い、誤り無しのときには受
信パケットを取り込み、誤り有りのときには受信パケッ
トを破棄する通信システムにおいて、送信局は、分割送
信データの予め指定したビット位置の値を反転する送信
データ反転手段と、送信データ反転手段の出力データに
基づいて誤り訂正符号を作成する送信誤り訂正符号演算
手段と、入力分割送信データと送信誤り訂正符号演算手
段の出力誤り訂正符号とをそれぞれ合成して送信パケッ
トとして出力する合成手段とを有し、受信局は、送信パ
ケットを受信し、その受信パケットを自局で指定された
ビット位置で反転する受信パケット反転手段と、受信パ
ケット反転手段の出力パケットに基づいて誤り訂正演算
を行う受信誤り訂正符号演算手段とを有する構成とした
ものである。
In order to achieve the above-mentioned object, in the invention described in claim 1, it comprises one transmitting station and a plurality of receiving stations, and the transmitting station adds an error correction code to divided transmission data. Generated transmission packet and transmit it simultaneously to multiple receiving stations on the broadcast line.Each of the multiple receiving stations performs error correction calculation on the received packet. When there is no error, the received packet is fetched and when there is an error, the received packet is received. In a communication system that discards packets, a transmission station includes a transmission data reversing unit that inverts a value of a prespecified bit position of divided transmission data, and a transmission error that creates an error correction code based on output data of the transmission data reversing unit. The correction code calculation means, the input divided transmission data and the output error correction code of the transmission error correction code calculation means are respectively combined and output as a transmission packet. The receiving station receives the transmission packet and reverses the received packet at the bit position designated by the receiving station, and the error correction is performed based on the output packet of the reception packet inverting means. It is configured to have a reception error correction code calculation means for performing a calculation.

【0011】また、請求項2記載の発明では、送信局に
おいて請求項1記載の発明の送信誤り訂正符号演算手段
の出力誤り訂正符号の定められたビット位置を更に反転
する第2の反転手段を有し、入力分割送信データとこの
第2の反転手段の出力誤り訂正符号とをそれぞれ合成手
段により合成して送信パケットとして出力する構成とし
たものである。
According to the second aspect of the invention, the transmitting station further comprises second inverting means for inverting the bit position defined by the output error correction code of the transmission error correction code calculating means of the first aspect of the invention. The input division transmission data and the output error correction code of the second inverting means are combined by the combining means and output as a transmission packet.

【0012】更に、請求項3記載の発明では、入力分割
送信データと送信誤り訂正符号演算手段の出力誤り訂正
符号とをそれぞれ合成して得られたパケットの予め定め
たビット位置を、送信パケット反転手段により反転して
送信パケットとして出力する構成としたものである。
Further, in the third aspect of the present invention, the predetermined bit position of the packet obtained by synthesizing the input divided transmission data and the output error correction code of the transmission error correction code calculating means is transmitted packet inversion. It is configured to be inverted by the means and output as a transmission packet.

【0013】[0013]

【作用】請求項1記載の発明では、送信データ反転手段
によりあるビット位置が反転された分割送信データに基
づいて、送信誤り訂正符号演算手段により演算された誤
り訂正符号を分割送信データに付加して送信する。ま
た、請求項2記載の発明では、第1の反転手段によりあ
るビット位置が反転された分割送信データに基づいて、
送信誤り訂正符号演算手段により演算された誤り訂正符
号のあるビット位置を更に第2の反転手段で反転してか
ら分割送信データに付加して送信する。更に、請求項3
記載の発明では、送信パケットのあるビット位置を送信
パケット反転手段により反転してから送信する。
According to the first aspect of the invention, the error correction code calculated by the transmission error correction code calculation means is added to the divided transmission data based on the divided transmission data in which a bit position is inverted by the transmission data inverting means. To send. Further, in the invention according to claim 2, based on the divided transmission data in which a certain bit position is inverted by the first inversion means,
The bit position having the error correction code calculated by the transmission error correction code calculating means is further inverted by the second inverting means and then added to the divided transmission data and transmitted. Further, claim 3
In the invention described above, the bit position of the transmission packet is inverted by the transmission packet inverting means and then transmitted.

【0014】従って、上記の請求項1乃至3記載の発明
のいずれも、受信局では受信したパケットに対して送信
局と同じビット反転位置でビットを反転処理した時に、
誤り訂正符号に基づく演算結果により誤り無しと判定さ
れ、異なるビット反転位置でビットを反転処理したと
き、あるいはビット反転を行わないときには、通常は誤
り訂正符号に基づく演算結果により誤り有りと判定され
る。
Therefore, in any of the above-mentioned inventions of claims 1 to 3, when the receiving station performs the bit inversion processing on the received packet at the same bit inversion position as the transmitting station,
It is determined that there is no error based on the operation result based on the error correction code, and when the bits are inverted at different bit inversion positions or when bit inversion is not performed, it is normally determined that there is an error based on the operation result based on the error correction code. .

【0015】ここで、上記の送信局より送信される送信
パケットにおけるビット反転位置は、複数の受信局のそ
れぞれに固有に割り当てられたビット位置か、あるいは
送信しようとする分割送信データの種類に応じて定めら
れたビット位置である。
Here, the bit inversion position in the transmission packet transmitted from the above-mentioned transmitting station is a bit position uniquely assigned to each of the plurality of receiving stations, or according to the kind of divided transmission data to be transmitted. It is a bit position defined by.

【0016】[0016]

【実施例】次に、本発明の実施例について説明する。図
1は本発明の第1実施例のブロック図を示す。本実施例
の通信システムは同図(A)のブロック図に示す一つの
送信局(親局)と、それぞれ同図(B)のブロック図に
示す構成の複数の受信局(子局)とからなる。
Next, an embodiment of the present invention will be described. FIG. 1 shows a block diagram of a first embodiment of the present invention. The communication system of this embodiment includes one transmitting station (master station) shown in the block diagram of FIG. 9A and a plurality of receiving stations (slave stations) having the configurations shown in the block diagram of FIG. Become.

【0017】同図(A)に示すように、送信局は、送信
データ反転手段14、送信CRC演算手段15、パラレ
ル/シリアル変換手段16、送信タイミング生成手段1
7及びセレクタ18より構成されている。送信データ反
転手段14は、入力端子11よりの分割送信データを反
転する。また、送信データ反転手段14、送信CRC演
算手段15及びパラレル/シリアル変換手段16は、そ
れぞれ入力端子12よりの送信クロックが共通に供給さ
れて同期して動作する。
As shown in FIG. 1A, the transmitting station includes a transmitting data inverting means 14, a transmitting CRC calculating means 15, a parallel / serial converting means 16 and a transmitting timing generating means 1.
7 and selector 18. The transmission data inverting means 14 inverts the divided transmission data from the input terminal 11. Further, the transmission data inversion means 14, the transmission CRC calculation means 15, and the parallel / serial conversion means 16 are supplied with the transmission clock from the input terminal 12 in common and operate in synchronization.

【0018】送信タイミング生成手段17は、入力端子
13よりの分割データ開始/終了信号と入力端子12よ
りの送信クロックとに基づいて生成した送信タイミング
信号を、送信データ反転手段14、送信CRC演算手段
15、パラレル/シリアル変換手段16及びセレクタ1
8に供給する。セレクタ18は、入力端子11よりの分
割送信データとパラレル/シリアル変換手段16の出力
シリアルデータの一方を送信タイミング信号に基づいて
選択して出力端子19へ出力する。
The transmission timing generation means 17 generates a transmission timing signal generated based on the divided data start / end signal from the input terminal 13 and the transmission clock from the input terminal 12, the transmission data inverting means 14 and the transmission CRC calculation means. 15, parallel / serial conversion means 16 and selector 1
Supply to 8. The selector 18 selects one of the divided transmission data from the input terminal 11 and the output serial data of the parallel / serial conversion means 16 based on the transmission timing signal and outputs it to the output terminal 19.

【0019】また、送信CRC演算手段15は、従来よ
り公知の巡回冗長検査(CRC:Cyclic Red
undancy Check)符号を演算生成する回路
で、例えば図2に示す如く、6ビットシフトレジスタ3
2、33、4ビットシフトレジスタ34、排他的論理和
回路による加算器35、36及び37より構成されてい
る。加算器37は入力端子31よりの入力データ(図1
(A)の送信データ反転手段14の出力データ)と、シ
フトレジスタ34の出力シリアルデータとを加算して、
その加算結果を加算器35及び36とシフトレジスタ3
2にそれぞれ入力する。
Further, the transmission CRC calculating means 15 has a conventionally known cyclic redundancy check (CRC: Cyclic Red).
An unchecked check code is a circuit that calculates and generates, for example, a 6-bit shift register 3 as shown in FIG.
2, 33, 4-bit shift register 34, and adders 35, 36 and 37 by exclusive OR circuits. The adder 37 receives the input data from the input terminal 31 (see FIG.
(The output data of the transmission data inverting means 14 of (A)) and the output serial data of the shift register 34 are added,
The addition result is added to the adders 35 and 36 and the shift register 3.
Enter in 2 respectively.

【0020】加算器35はこの加算器37の出力加算結
果とシフトレジスタ32の出力シリアルデータとを加算
してシフトレジスタ33へ供給する。加算器36は加算
器37の出力加算結果とシフトレジスタ33の出力シリ
アルデータとを加算してシフトレジスタ34へ出力す
る。シフトレジスタ32、33及び34はそれぞれ図1
(A)に示した送信クロックに基づいてシフト動作を行
う。
The adder 35 adds the output addition result of the adder 37 and the output serial data of the shift register 32 and supplies the result to the shift register 33. The adder 36 adds the output addition result of the adder 37 and the output serial data of the shift register 33 and outputs the result to the shift register 34. The shift registers 32, 33 and 34 are respectively shown in FIG.
The shift operation is performed based on the transmission clock shown in (A).

【0021】一方、受信局は図1(B)に示すように、
受信パケット反転手段24、受信CRC演算手段25及
び受信タイミング生成手段26より構成されている。受
信パケット反転手段24は入力端子21よりの受信パケ
ットを反転する。受信CRC演算手段25は送信CRC
演算手段15と同様の例えば図2に示した回路構成であ
る。
On the other hand, the receiving station, as shown in FIG.
The reception packet inverting means 24, the reception CRC calculation means 25, and the reception timing generation means 26 are included. The received packet inverting means 24 inverts the received packet from the input terminal 21. The reception CRC calculation means 25 is a transmission CRC
For example, it has the same circuit configuration as that of the calculation means 15 shown in FIG.

【0022】受信タイミング生成手段26は、受信パケ
ット反転手段24及び受信CRC演算手段25と共通に
供給される入力端子22よりの受信クロックと、入力端
子23よりの受信パケット開始/終了信号とに基づいて
受信タイミング信号を生成して、その受信タイミング信
号を受信パケット反転手段24及び受信CRC演算手段
25へ供給する。入力端子21よりの受信パケットは出
力端子27へ出力する。受信CRC演算手段25の出力
CRC演算結果は出力端子28へ出力される。
The reception timing generation means 26 is based on the reception clock from the input terminal 22 and the reception packet start / end signal from the input terminal 23, which are commonly supplied to the reception packet inverting means 24 and the reception CRC calculation means 25. To generate a reception timing signal and supply the reception timing signal to the reception packet inverting means 24 and the reception CRC calculation means 25. The received packet from the input terminal 21 is output to the output terminal 27. The output CRC calculation result of the reception CRC calculation means 25 is output to the output terminal 28.

【0023】本実施例では、送信局は入力された分割送
信データはそのまま送信し、一方、その分割送信データ
を任意のビット位置で反転させてから送信CRC演算手
段15に入力することにより、送信される分割送信デー
タによって得られる本来のCRC値と異なる値にしたC
RC情報を送信する。受信局では、受信データはそのま
ま取り込み、CRC演算に用いる情報のみ任意のビット
位置で反転させる。
In this embodiment, the transmitting station transmits the inputted divided transmission data as it is, while inverting the divided transmission data at an arbitrary bit position and then inputting it to the transmission CRC calculating means 15 to transmit the divided transmission data. C that is different from the original CRC value obtained by the divided transmission data
Send RC information. The receiving station takes in the received data as it is and inverts only the information used for the CRC calculation at an arbitrary bit position.

【0024】従って、送信局と受信局とで上記の分割送
信データのビット反転位置を同じか異なるように設定す
ることにより、CRC符号のエラー訂正能力を利用して
データの取捨選択を行うことができる。このことを式を
使って説明すると次のようになる。
Therefore, by setting the bit inversion positions of the above divided transmission data to be the same or different at the transmitting station and the receiving station, it is possible to select data by utilizing the error correction capability of the CRC code. it can. This can be explained using formulas as follows.

【0025】入力データをDATA、送信側反転変換を
RT()、受信側反転変換をRR()、CRC演算をC
RC()と表記するものとする。ただし、RT(R
T())=1、RR(RR())=1である。本実施例
では、送信局から送信される送信パケットは次式で表せ
る。
The input data is DATA, the transmission side inversion conversion is RT (), the reception side inversion conversion is RR (), and the CRC operation is C.
It shall be expressed as RC (). However, RT (R
T ()) = 1 and RR (RR ()) = 1. In this embodiment, the transmission packet transmitted from the transmission station can be expressed by the following equation.

【0026】 DATA + CRC(RT(DATA)) 一方、受信CRC演算手段25は受信パケットのデータ
部分に対してCRC演算を行うので、受信CRC演算値
は以下の式で表せる。
DATA + CRC (RT (DATA)) On the other hand, since the reception CRC calculation means 25 performs the CRC calculation on the data portion of the reception packet, the reception CRC calculation value can be expressed by the following equation.

【0027】CRC(RR(DATA)) よって、一般にRT()とRR()が同じとき、すなわ
ち、反転ビット位置が送信局と受信局とで同一のときに
は、CRC結果が一致し、異なるときはCRC結果も不
一致となる。
CRC (RR (DATA)) Therefore, in general, when RT () and RR () are the same, that is, when the inverted bit positions are the same in the transmitting station and the receiving station, the CRC results match and when they are different. The CRC results also do not match.

【0028】次に、本実施例の動作について、図1乃至
図4と共に説明する。まず、送信局の動作について説明
するに、図1(A)に示した送信タイミング生成手段1
7は入力端子12よりの送信クロックと入力端子13よ
りの分割データ開始/終了信号とに基づいて、CRC演
算及びCRCビット付きパケットを生成するために必要
なタイミング信号を生成し、このタイミング信号を送信
データ反転手段14、送信CRC演算手段15、パラレ
ル/シリアル変換手段16及びセレクタ18にそれぞれ
供給する。
Next, the operation of this embodiment will be described with reference to FIGS. First, to explain the operation of the transmitting station, the transmission timing generating means 1 shown in FIG.
Reference numeral 7 generates a timing signal necessary for CRC calculation and a packet with a CRC bit based on the transmission clock from the input terminal 12 and the divided data start / end signal from the input terminal 13, and outputs this timing signal. The data is supplied to the transmission data inverting means 14, the transmission CRC calculation means 15, the parallel / serial conversion means 16 and the selector 18, respectively.

【0029】一方、入力端子11を介して入力された、
CRCを付加する単位に区切られた分割送信データは、
本実施例の要部を構成する送信データ反転手段14に供
給され、ここでユーザが指定した位置のビットが反転さ
れた後、送信CRC演算手段15に供給される。
On the other hand, input through the input terminal 11,
The divided transmission data divided into units to add CRC,
The data is supplied to the transmission data inverting means 14 which constitutes the main part of the present embodiment, and the bit at the position designated by the user is inverted here and then supplied to the transmission CRC calculating means 15.

【0030】送信CRC演算手段15は、入力された所
定ビットが反転された分割データRT(DATA)に対
して、図3のフローチャートに示すような国際電気通信
連合(ITU−T:旧国際電信電話諮問委員会(CCI
TT))勧告に示されるような一般的な方法でCRC演
算を行い、1単位の分割データが入力され終った時点
で、16ビットのCRC演算結果をパラレル/シリアル
変換手段16へ渡す。
The transmission CRC calculation means 15 applies to the divided data RT (DATA) in which the input predetermined bits are inverted, to the International Telecommunication Union (ITU-T: Old International Telegraph and Telephone) as shown in the flowchart of FIG. Advisory Committee (CCI
TT)) The CRC calculation is performed by the general method as shown in the recommendation, and the 16-bit CRC calculation result is passed to the parallel / serial conversion means 16 when one unit of divided data is input.

【0031】すなわち、図2の構成の送信CRC演算手
段15は、すべてのシフトレジスタ(CRCレジスタ)
32、33及び34の全ビットを”1”に初期化し(図
3のステップ41)、続いて入力端子31よりのシリア
ルデータを入力して加算器37の加算出力を加算器3
5、36及びシフトレジスタ32へそれぞれ供給し、更
にシフトレジスタ32〜34のシフト動作を行うことを
入力データ16ビットに対して行う(図3のステップ4
2)。
That is, the transmission CRC calculation means 15 of the configuration shown in FIG. 2 includes all shift registers (CRC registers).
All bits of 32, 33, and 34 are initialized to "1" (step 41 in FIG. 3), serial data is input from the input terminal 31, and the addition output of the adder 37 is added.
5, 36 and the shift register 32, respectively, and the shift operation of the shift registers 32 to 34 is performed on 16 bits of the input data (step 4 in FIG. 3).
2).

【0032】続いて、上記のすべてのシフトレジスタ
(CRCレジスタ)32、33及び34の全ビットを反
転し(図3のステップ43)、これら各シフトレジスタ
32〜34の全16ビット出力を並列に図示しないパラ
レル/シリアル変換手段(図1(A)の16に相当)を
介して、シフトレジスタ34の最も加算器37よりのビ
ット(これがCRC符号の最下位ビット(LSB)とな
る)から各シフトレジスタ32〜34の出力値を順番に
取り出す(図3のステップ44)。
Subsequently, all the bits of all the shift registers (CRC registers) 32, 33 and 34 described above are inverted (step 43 in FIG. 3), and all 16-bit outputs of these shift registers 32 to 34 are parallelized. Each bit is shifted from the bit from the most adder 37 of the shift register 34 (this becomes the least significant bit (LSB) of the CRC code) via a parallel / serial conversion means (not shown) (corresponding to 16 in FIG. 1A). The output values of the registers 32-34 are sequentially taken out (step 44 in FIG. 3).

【0033】これが16ビットのCRC演算結果(CR
C符号)として図1(A)のセレクタ18に供給され
る。セレクタ18は送信タイミング信号に基づいて通
常、入力端子11よりの分割送信データを選択して出力
しており、1単位の分割送信データの出力が終了してか
らCRC符号長の時間だけパラレル/シリアル変換手段
16よりのシリアル出力CRC符号を選択して出力端子
19へ出力する。これにより、出力端子19には DATA + CRC(RT(DATA)) で表される送信データ及びCRC演算結果がシリアルに
出力される。
This is the result of 16-bit CRC calculation (CR
The C code is supplied to the selector 18 of FIG. The selector 18 normally selects and outputs the divided transmission data from the input terminal 11 based on the transmission timing signal, and the parallel / serial operation is performed for the time corresponding to the CRC code length after the output of one unit of the divided transmission data is completed. The serial output CRC code from the conversion means 16 is selected and output to the output terminal 19. As a result, the transmission data represented by DATA + CRC (RT (DATA)) and the CRC calculation result are serially output to the output terminal 19.

【0034】次に、受信局の動作について説明するに、
受信局は上記の送信データ及びCRC演算結果を受信
し、公知の受信部(図示せず)を介して図1(B)に示
す入力端子21より受信パケット反転手段24に供給す
る一方、出力端子27へそのまま出力する。また、入力
端子22よりの受信クロック及び入力端子23よりの受
信パケット開始/終了信号とが受信タイミング生成手段
26に供給されてCRC演算に必要なタイミング信号と
される。
Next, to explain the operation of the receiving station,
The receiving station receives the transmission data and the CRC calculation result and supplies them to the reception packet inverting means 24 from the input terminal 21 shown in FIG. 1 (B) through a known receiving section (not shown), while outputting the output terminal. Output to 27 as it is. Further, the reception clock from the input terminal 22 and the reception packet start / end signal from the input terminal 23 are supplied to the reception timing generation means 26 and used as timing signals necessary for CRC calculation.

【0035】受信パケット反転手段24は、受信タイミ
ング生成手段26よりのタイミング信号を基準としてユ
ーザが指定した位置で入力受信パケットを反転して受信
CRC演算手段25に受信パケットを供給する。受信C
RC演算手段25は入力された受信パケットのCRC演
算を行い、そのCRC演算結果に基づいて一致/不一致
のどちらかを示すCRC演算結果を出力端子28へ出力
する。
The reception packet inverting means 24 inverts the input reception packet at the position designated by the user with reference to the timing signal from the reception timing generating means 26 and supplies the reception packet to the reception CRC calculating means 25. Receive C
The RC calculation means 25 performs a CRC calculation on the input received packet, and outputs a CRC calculation result indicating either match / mismatch to the output terminal 28 based on the CRC calculation result.

【0036】受信CRC演算手段25は、入力された所
定ビットが反転された分割データRR(DATA)に対
して、図4のフローチャートに示すようなITU−T
(旧CCITT)勧告に示されるような一般的な方法で
CRC演算を行い、1単位の分割データが入力され終っ
た時点で、CRC演算結果を出力する。
The reception CRC calculation means 25 performs the ITU-T as shown in the flowchart of FIG. 4 on the input divided data RR (DATA) in which the predetermined bits are inverted.
The CRC calculation is performed by the general method as shown in the (old CCITT) recommendation, and the CRC calculation result is output at the time when one unit of divided data is input.

【0037】すなわち、図2の構成の受信CRC演算手
段25は、すべてのシフトレジスタ(CRCレジスタ)
32、33及び34の全ビットを”1”に初期化し(図
4のステップ51)、続いて入力端子31よりのデータ
及びCRC演算結果を入力して加算器37の加算出力を
加算器35、36及びシフトレジスタ32へそれぞれ供
給し、更にシフトレジスタ32〜34のシフト動作を行
う(図4のステップ52)。
That is, the reception CRC calculation means 25 of the configuration shown in FIG. 2 includes all shift registers (CRC registers).
All bits of 32, 33, and 34 are initialized to "1" (step 51 in FIG. 4), and then the data and the CRC operation result from the input terminal 31 are input and the addition output of the adder 37 is added to the adder 35, 36 and the shift register 32, respectively, and shift operations of the shift registers 32 to 34 are performed (step 52 in FIG. 4).

【0038】続いて、上記のすべてのシフトレジスタ
(CRCレジスタ)32、33及び34の全ビットの値
が所定値「11110000 10111000」(シ
フトレジスタ34の最も加算器37よりのビットがCR
C符号のLSBである)であるか否か判定し、上記の所
定値のときにCRC一致と判定した判定結果(CRC演
算結果)を出力する(図4のステップ53)。
Next, the values of all the bits of all the shift registers (CRC registers) 32, 33 and 34 described above are the predetermined value "11110000 10111000" (the bit from the adder 37 most of the shift register 34 is CR.
It is determined whether or not it is the LSB of the C code), and the determination result (CRC calculation result) determined to be the CRC match when the above predetermined value is output (step 53 in FIG. 4).

【0039】ここで、送信局と受信局でビット反転位置
が異なるにもかかわらずCRC値が上記所定値に一致す
る確率は小さく、異なるデータが同じCRC値を示す確
率と等しい。受信局データ受信処理として、CRC値が
一致する場合のみデータを取り込み、一致しない場合は
受信データを破棄するようにしておくことにより、送信
局と異なる反転ビット位置を指定したときに誤ってデー
タを受信する確率を異なるデータが同じCRC値を示す
確率まで下げられるので、反転位置の異なるデータを効
率的に破棄することができる。
Here, the probability that the CRC value matches the above predetermined value is small even though the bit inversion positions are different between the transmitting station and the receiving station, and it is equal to the probability that different data show the same CRC value. In the receiving station data receiving process, the data is fetched only when the CRC values match, and the receiving data is discarded when the CRC values do not match. Therefore, when the inverted bit position different from that of the transmitting station is specified, the data is erroneously fetched. Since the reception probabilities can be lowered to the probabilities that different data show the same CRC value, data at different inversion positions can be efficiently discarded.

【0040】従って、本実施例では、送信局が送信デー
タ反転手段14による送信データビット反転位置とし
て、複数の受信局のそれぞれに固有のビット反転位置を
割り当てておき、アドレス部を設けることなく、送信し
ようとする受信局に対応したビット位置の値を反転して
送信する。複数の受信局は、自局に固有のビット位置で
反転して一致を示すCRC演算結果の受信データが自局
宛のデータとして取り込み、不一致を示すCRC演算結
果の受信データは他局宛のデータとして破棄する。
Therefore, in the present embodiment, the transmitting station allocates a unique bit inverting position to each of the plurality of receiving stations as the transmission data bit inverting position by the transmission data inverting means 14, without providing an address part. The value of the bit position corresponding to the receiving station to be transmitted is inverted and transmitted. A plurality of receiving stations inverts at the bit position unique to the own station and receives the reception data of the CRC calculation result indicating the coincidence as the data addressed to the own station, and the reception data of the CRC calculation result indicating the disagreement is the data addressed to the other station. Discard as.

【0041】次に、本発明の第2実施例について説明す
る。図5は本発明の第2実施例のブロック図を示す。本
実施例の通信システムは同図(A)のブロック図に示す
一つの送信局(親局)と、それぞれ同図(B)のブロッ
ク図に示す構成の複数の受信局(子局)とからなり、図
1と同一構成部分には同一符号を付し、その説明を省略
する。
Next, a second embodiment of the present invention will be described. FIG. 5 shows a block diagram of a second embodiment of the present invention. The communication system of this embodiment includes one transmitting station (master station) shown in the block diagram of FIG. 9A and a plurality of receiving stations (slave stations) having the configurations shown in the block diagram of FIG. Therefore, the same components as those in FIG.

【0042】図5(A)に示すように、送信局は、送信
データ反転手段14、送信CRC演算手段15、パラレ
ル/シリアル変換手段16、送信タイミング生成手段6
1、送信CRC反転手段62及びセレクタ18より構成
されている。すなわち、本実施例の送信局は、パラレル
/シリアル変換手段16とセレクタ18の間に送信CR
C反転手段62を設けた点に特徴がある。一方、受信局
は図5(B)に示すように、受信パケット反転手段6
6、受信CRC演算手段25及び受信タイミング生成手
段65より構成されている。
As shown in FIG. 5 (A), the transmitting station has a transmitting data inverting means 14, a transmitting CRC calculating means 15, a parallel / serial converting means 16, and a transmitting timing generating means 6.
1, a transmission CRC inverting means 62 and a selector 18. That is, the transmitting station of the present embodiment has a transmission CR between the parallel / serial conversion means 16 and the selector 18.
The feature is that the C inverting means 62 is provided. On the other hand, the receiving station, as shown in FIG.
6, reception CRC calculation means 25 and reception timing generation means 65.

【0043】本実施例は、送信局においては送信データ
反転手段14により分割送信データの任意のビット位置
で反転させて送信CRC演算手段15に入力する点は第
1実施例と同様であるが、本実施例は更に送信CRC反
転手段62によりCRC符号も任意の位置で反転させて
送信する。一方、受信局においては受信パケット中の分
割送信データはそのまま取り込み、CRC演算に用いる
情報のみ任意のビット位置で反転させる。送信局と受信
局とで同じ反転位置か異なる反転位置かを設定すること
により、CRC符号のエラー訂正能力を利用してデータ
の取捨選択を行う。このことを式を使って説明すると次
のようになる。
This embodiment is similar to the first embodiment in that the transmission data reversing means 14 in the transmitting station inverts the divided transmission data at an arbitrary bit position and inputs it to the transmission CRC calculating means 15. In the present embodiment, the transmission CRC inverting means 62 also inverts the CRC code at an arbitrary position for transmission. On the other hand, in the receiving station, the divided transmission data in the received packet is taken in as it is, and only the information used for the CRC calculation is inverted at an arbitrary bit position. By setting the same inversion position or different inversion positions in the transmitting station and the receiving station, data can be selected using the error correction capability of the CRC code. This can be explained using formulas as follows.

【0044】入力データをDATA、送信側データ部反
転変換をRT1()、送信側CRC部反転変換をRT2
()、受信側データ部反転変換をRR1()、受信側C
RC部反転変換をRR2()、CRC演算をCRC()
と表記するものとする。ただし、RT1(RT1())
=1、RT2(RT2())=1、RR1(RR
1())=1、RR2(RR2())=1である。本実
施例では、送信局から送信される送信パケットは次式で
表せる。
Input data is DATA, transmission side data section inversion conversion is RT1 (), and transmission side CRC section inversion conversion is RT2.
(), The receiving side data part inversion conversion is RR1 (), the receiving side C
RC part inversion conversion is RR2 (), CRC operation is CRC ()
Shall be written. However, RT1 (RT1 ())
= 1, RT2 (RT2 ()) = 1, RR1 (RR
1 ()) = 1 and RR2 (RR2 ()) = 1. In this embodiment, the transmission packet transmitted from the transmission station can be expressed by the following equation.

【0045】DATA + RT2(CRC(RT1
(DATA))) 一方、受信局でのCRC演算はパケットのデータ部分に
対して行われるので、受信局でのCRC演算値は以下の
ように表せる。
DATA + RT2 (CRC (RT1
(DATA)) On the other hand, since the CRC calculation in the receiving station is performed on the data portion of the packet, the CRC calculation value in the receiving station can be expressed as follows.

【0046】CRC(RR1(DATA)) また、受信局では、CRC部分に対して反転変換を行う
ので、受信したCRC部分は以下のように表せる。
CRC (RR1 (DATA)) Further, since the receiving station carries out the inversion conversion on the CRC part, the received CRC part can be expressed as follows.

【0047】 RR2(RT2(CRC(RT1(DATA)))) よって、一般にRT1()とRR1()、及びRT
2()とRR2()とが同じときにはCRC演算結果が
一致し、異なるときにはCRC演算結果も不一致とな
る。
RR2 (RT2 (CRC (RT1 (DATA)))) Therefore, in general, RT1 () and RR1 (), and RT
When 2 () and RR2 () are the same, the CRC calculation results match, and when they are different, the CRC calculation results also do not match.

【0048】次に、本実施例の動作について説明する。
まず、送信局の動作について説明するに、図5(A)に
示した送信タイミング生成手段61は入力端子12より
の送信クロックと入力端子13よりの分割データ開始/
終了信号とに基づいて、CRC演算及びCRCビット付
きパケットを生成するために必要なタイミング信号を生
成し、このタイミング信号を送信データ反転手段14、
送信CRC演算手段15、パラレル/シリアル変換手段
16、送信CRC反転手段62及びセレクタ18にそれ
ぞれ供給する。
Next, the operation of this embodiment will be described.
First, the operation of the transmitting station will be described. In the transmitting timing generating means 61 shown in FIG. 5A, the transmission clock from the input terminal 12 and the divided data start / input from the input terminal 13 are started.
Based on the end signal, a timing signal necessary for CRC calculation and generation of a packet with a CRC bit is generated, and this timing signal is transmitted data inverting means 14,
The transmission CRC calculation means 15, the parallel / serial conversion means 16, the transmission CRC inverting means 62, and the selector 18 are supplied.

【0049】一方、パラレル/シリアル変換手段16よ
りシリアルに取り出された、CRC(RT1(DAT
A))で表されるCRC符号は、送信CRC反転手段6
2に供給され、ここで送信タイミング信号を基準にして
ユーザが指定したビット位置で反転されて、前記RT2
(CRC(RT1(DATA)))で表されるCRC符
号とされた後セレクタ18に供給される。
On the other hand, CRC (RT1 (DAT
The CRC code represented by A)) is the transmission CRC inverting means 6
2 and is inverted at the bit position specified by the user based on the transmission timing signal,
The CRC code represented by (CRC (RT1 (DATA))) is supplied to the selector 18.

【0050】セレクタ18は送信タイミング信号に基づ
いて通常、入力端子11よりの分割送信データを選択し
て出力しており、1単位の分割送信データの出力が終了
してからCRC符号長の時間だけ送信CRC反転手段6
2よりのシリアル出力CRC符号を選択して出力端子6
3へ出力する。これにより、出力端子63には DATA + RT2(CRC(RT1(DAT
A))) で表される送信データ及びCRC符号がシリアルに出力
される。
The selector 18 normally selects and outputs the divided transmission data from the input terminal 11 based on the transmission timing signal, and only after the completion of the output of the divided transmission data of one unit, the time of the CRC code length. Transmission CRC reversing means 6
Select the serial output CRC code from 2 and output terminal 6
Output to 3. As a result, DATA + RT2 (CRC (RT1 (DAT
The transmission data and CRC code represented by A))) are output serially.

【0051】次に、受信局の動作について説明するに、
受信局は上記の送信データ及びCRC演算結果を受信
し、公知の受信部(図示せず)を介して図5(B)の入
力端子21より受信パケット反転手段66に供給される
一方、出力端子27へ出力される。受信タイミング生成
手段65の出力タイミング信号に基づいて、受信パケッ
ト反転手段66は入力受信パケット中の分割送信データ
部分とCRC符号部分の、ユーザに指定されたビット位
置をそれぞれ反転した後受信CRC演算手段25に供給
する。
Next, to explain the operation of the receiving station,
The receiving station receives the transmission data and the CRC calculation result, and supplies them to the received packet inverting means 66 from the input terminal 21 of FIG. 5 (B) through a known receiving unit (not shown), while outputting them to the output terminal. It is output to 27. Based on the output timing signal of the reception timing generation means 65, the reception packet inversion means 66 inverts the bit positions designated by the user in the divided transmission data portion and the CRC code portion in the input reception packet, respectively, and then the reception CRC calculation means. Supply to 25.

【0052】従って、受信パケット反転手段66により
反転されたビット位置が、送信データ反転手段14及び
送信CRC反転手段62のそれぞれで反転されたビット
位置と同一の場合は、伝送誤りがない限り受信CRC演
算手段25によるCRC演算結果は、所定値に一致す
る。このようにして、本実施例も第1実施例と同様に、
送信局と受信局とでビット反転位置の異なるデータを効
率的に破棄できると共に、特別なフィールドを設けなく
とも所望の受信局宛のデータをその受信局で選択受信さ
せることができる。
Therefore, when the bit position inverted by the reception packet inverting means 66 is the same as the bit position inverted by the transmission data inverting means 14 and the transmission CRC inverting means 62, respectively, the reception CRC is used unless there is a transmission error. The CRC calculation result by the calculation means 25 matches the predetermined value. In this way, this embodiment, like the first embodiment,
Data having different bit inversion positions can be efficiently discarded by the transmitting station and the receiving station, and the data for the desired receiving station can be selectively received by the receiving station without providing a special field.

【0053】ところで、通常は受信パケットの終了は受
信パケットのCRC符号を受信した後に分かるので、例
えば各8ビット毎に1ビット反転させるサイクリックな
反転方法をとった場合、受信局ではCRC符号も含めて
反転してしまう。図5に示した構成によれば、送信局で
データ領域とCRC領域の両方を含めてサイクリックに
なるような反転を行えば、受信局でデータ領域とCRC
領域を区別せずにサイクリックに反転できるようになる
ので、受信局の回路構成を簡略化することができる。
By the way, since the end of the received packet is usually known after receiving the CRC code of the received packet, for example, when a cyclic inversion method of inverting one bit for every eight bits is adopted, the CRC code is also received at the receiving station. Including it will be reversed. According to the configuration shown in FIG. 5, if the transmitting station performs cyclic inversion including both the data area and the CRC area, the receiving station receives the data area and the CRC.
Since the regions can be cyclically inverted without distinction, the circuit configuration of the receiving station can be simplified.

【0054】次に、本発明の第3実施例について説明す
る。図6は本発明の第3実施例のブロック図を示す。本
実施例の通信システムは同図(A)のブロック図に示す
一つの送信局(親局)と、それぞれ同図(B)のブロッ
ク図に示す構成の複数の受信局(子局)とからなり、図
1と同一構成部分には同一符号を付し、その説明を省略
する。
Next, a third embodiment of the present invention will be described. FIG. 6 shows a block diagram of a third embodiment of the present invention. The communication system of this embodiment includes one transmitting station (master station) shown in the block diagram of FIG. 9A and a plurality of receiving stations (slave stations) having the configurations shown in the block diagram of FIG. Therefore, the same components as those in FIG. 1 are designated by the same reference numerals and the description thereof will be omitted.

【0055】図6(A)に示すように、送信局は、送信
CRC演算手段71、パラレル/シリアル変換手段1
6、セレクタ18、送信タイミング生成手段72、送信
パケット反転手段73より構成されている。すなわち、
本実施例の送信局は、セレクタ18の出力側に送信パケ
ット反転手段73を設けた点に特徴がある。一方、受信
局は図6(B)に示すように、受信パケット反転手段7
6、受信CRC演算手段25及び受信タイミング生成手
段26より構成されている。
As shown in FIG. 6 (A), the transmitting station includes a transmitting CRC calculating means 71 and a parallel / serial converting means 1.
6, a selector 18, a transmission timing generating means 72, and a transmission packet inverting means 73. That is,
The transmitting station of the present embodiment is characterized in that a transmitting packet inverting means 73 is provided on the output side of the selector 18. On the other hand, the receiving station, as shown in FIG.
6, reception CRC calculation means 25 and reception timing generation means 26.

【0056】本実施例は、送信局においては分割送信デ
ータに通常の手順で演算したCRC符号を付加したパケ
ットを送信パケット反転手段73により指定したビット
位置で反転させて送信する。一方、受信局においては受
信パケット反転手段76により受信パケットを指定した
ビット位置で反転し、受信データ及び受信CRC演算手
段25の入力とする。送信局と受信局とで同じ反転位置
か異なる反転位置かを設定することにより、CRC符号
のエラー訂正能力を利用してデータの取捨選択を行う。
このことを式を使って説明すると次のようになる。
In the present embodiment, the transmitting station inverts the packet in which the CRC code calculated by the normal procedure is added to the divided transmission data at the bit position designated by the transmission packet reversing means 73 and transmits it. On the other hand, in the receiving station, the received packet inverting means 76 inverts the received packet at the designated bit position, and inputs the received data and the received CRC calculating means 25. By setting the same inversion position or different inversion positions in the transmitting station and the receiving station, data can be selected using the error correction capability of the CRC code.
This can be explained using formulas as follows.

【0057】入力データをDATA、送信側データ部反
転変換をRT1()、送信側CRC部反転変換をRT2
()、受信側データ部反転変換をRR1()、受信側C
RC部反転変換をRR2()、CRC演算をCRC()
と表記するものとする。ただし、RT1(RT1())
=1、RT2(RT2())=1、RR1(RR
1())=1、RR2(RR2())=1である。本実
施例では、送信局から送信される送信パケットは次式で
表せる。
Input data is DATA, transmission side data section inversion conversion is RT1 (), and transmission side CRC section inversion conversion is RT2.
(), The receiving side data part inversion conversion is RR1 (), the receiving side C
RC part inversion conversion is RR2 (), CRC operation is CRC ()
Shall be written. However, RT1 (RT1 ())
= 1, RT2 (RT2 ()) = 1, RR1 (RR
1 ()) = 1 and RR2 (RR2 ()) = 1. In this embodiment, the transmission packet transmitted from the transmission station can be expressed by the following equation.

【0058】RT1(DATA) + RT2(CRC
(DATA)) 一方、受信局では受信データに対してまず反転変換が行
われるので、受信局での反転変換後のパケットは以下の
ように表せる。
RT1 (DATA) + RT2 (CRC
(DATA) On the other hand, since the receiving station first performs the inversion conversion on the received data, the packet after the inversion conversion at the receiving station can be expressed as follows.

【0059】RR1(RT1(DATA))+RR2
(RT2(CRC(DATA))) また、受信局では、CRC部分に対して反転変換を行う
ので、受信したCRC部分は以下のように表せる。
RR1 (RT1 (DATA)) + RR2
(RT2 (CRC (DATA))) In addition, since the receiving station performs the inversion conversion on the CRC part, the received CRC part can be expressed as follows.

【0060】CRC(RR1(RT1(DATA))) よって、一般にRT1()とRR1()、及びRT
2()とRR2()とが同じときにはCRC演算結果が
一致し、異なるときにはCRC演算結果も不一致とな
る。
CRC (RR1 (RT1 (DATA))) Therefore, in general, RT1 () and RR1 (), and RT
When 2 () and RR2 () are the same, the CRC calculation results match, and when they are different, the CRC calculation results also do not match.

【0061】次に、本実施例の動作について説明する。
まず、送信局の動作について説明するに、図6(A)に
示した送信タイミング生成手段72は入力端子12より
の送信クロックと入力端子13よりの分割データ開始/
終了信号とに基づいて、CRC演算及びCRCビット付
きパケットを生成するために必要なタイミング信号を生
成し、このタイミング信号を送信CRC演算手段71、
パラレル/シリアル変換手段16、送信パケット反転手
段73及びセレクタ18にそれぞれ供給する。
Next, the operation of this embodiment will be described.
First, the operation of the transmitting station will be described. In the transmitting timing generating means 72 shown in FIG. 6A, the transmitting clock from the input terminal 12 and the division data start / input from the input terminal 13 are started.
A timing signal required to generate a CRC operation and a packet with a CRC bit is generated based on the end signal, and the timing signal is transmitted to the CRC calculation means 71.
The parallel / serial conversion means 16, the transmission packet inverting means 73 and the selector 18 are supplied respectively.

【0062】一方、入力端子11よりの分割送信データ
が直接セレクタ18に供給される一方、送信CRC演算
手段71に供給されてここで従来と同様に図2に示した
構成により図3のフローチャートに従ってCRC符号に
変換された後、パラレル/シリアル変換手段16を介し
てセレクタ18にシリアルに入力される。
On the other hand, while the divided transmission data from the input terminal 11 is directly supplied to the selector 18, it is also supplied to the transmission CRC calculating means 71 and here the structure shown in FIG. After being converted into a CRC code, it is serially input to the selector 18 via the parallel / serial conversion means 16.

【0063】セレクタ18は、送信タイミング信号に基
づいて通常、入力端子11よりの分割送信データを選択
して送信パケット反転手段73へ出力しており、1単位
の分割送信データの出力が終了してからCRC符号長の
時間だけパラレル/シリアル変換手段16よりのシリア
ル出力CRC符号を選択して送信パケット反転手段73
へ出力する。これにより、送信パケット反転手段73に
は DATA + (CRC(DATA)) で表される送信データ及びCRC符号がシリアルに出力
される。
The selector 18 normally selects the divided transmission data from the input terminal 11 on the basis of the transmission timing signal and outputs it to the transmission packet inverting means 73, and the output of the divided transmission data of one unit is completed. To the transmission packet inversion means 73 by selecting the serial output CRC code from the parallel / serial conversion means 16 for the time corresponding to the CRC code length.
Output to. As a result, the transmission data represented by DATA + (CRC (DATA)) and the CRC code are serially output to the transmission packet inverting means 73.

【0064】送信パケット反転手段73は、この入力送
信データ部及びCRC符号部のそれぞれの指定したビッ
ト位置の値を反転して、次式で表されるパケットを出力
端子74へ出力する。
The transmission packet inverting means 73 inverts the values at the designated bit positions of the input transmission data portion and the CRC encoding portion, and outputs the packet represented by the following equation to the output terminal 74.

【0065】 RT1(DATA)+RT2(CRC(DATA)) 次に、受信局の動作について説明するに、上式のパケッ
トは図6(B)の入力端子21より受信パケット反転手
段76に供給され、ここでこの受信局で指定されたビッ
ト位置で反転された後、受信CRC演算手段76に供給
される一方、データ部分が出力端子27へ出力される。
受信CRC演算手段25は、入力信号に対して前記した
CRC演算を行い、所定値に一致するか否かを示すCR
C演算結果を出力端子28へ出力する。
RT1 (DATA) + RT2 (CRC (DATA)) Next, to explain the operation of the receiving station, the packet of the above equation is supplied from the input terminal 21 of FIG. 6 (B) to the received packet inverting means 76, Here, after being inverted at the bit position designated by this receiving station, it is supplied to the reception CRC calculation means 76, while the data portion is output to the output terminal 27.
The reception CRC calculation means 25 performs the above-described CRC calculation on the input signal, and indicates a CR indicating whether or not it matches a predetermined value.
The C calculation result is output to the output terminal 28.

【0066】本実施例では、送信パケット反転手段73
でそれぞれ反転されたデータ部とCRC符号部の各ビッ
ト位置と同一のビット位置で受信パケット反転手段76
が受信パケットに対してそれぞれ反転を行ったときに
は、CRC一致の演算結果が得られ、出力端子27より
の受信データを取り込むことができ、また、異なる位置
でビット反転を行ったときには、CRC不一致の演算結
果が得られるので、上記の各実施例と同様に、受信デー
タを効率的に破棄できる。
In this embodiment, the transmission packet inverting means 73
The received packet inverting means 76 at the same bit positions as the respective bit positions of the data part and the CRC code part which are respectively inverted by
When each of the received packets is inverted, a CRC matching calculation result is obtained, and the received data from the output terminal 27 can be fetched. When bit inversion is performed at a different position, the CRC mismatch is detected. Since the calculation result is obtained, the received data can be efficiently discarded as in each of the above embodiments.

【0067】また、本実施例では、送信CRC演算手段
71、パラレル/シリアル変換手段16、セレクタ1
8、送信タイミング生成手段72は従来の送信局と同様
の構成であり、これに送信パケット反転手段73を追加
することで送信局を構成でき、また、受信CRC演算手
段76及び受信タイミング生成手段26は従来の受信局
と同様の構成であり、これに受信パケット反転手段24
を追加することで受信局を構成できるため、既存の送信
局及び受信局の構成を変更することなく、外付けの形で
必要な回路部を追加でき、よって、既存回路や装置の変
更を最小限に止めることができる。
Further, in this embodiment, the transmission CRC calculation means 71, the parallel / serial conversion means 16, the selector 1
8. The transmission timing generation means 72 has the same configuration as the conventional transmission station, and the transmission station can be configured by adding the transmission packet inverting means 73 to this, and the reception CRC calculation means 76 and the reception timing generation means 26. Has the same configuration as that of the conventional receiving station.
Since the receiving station can be configured by adding, the necessary circuit parts can be added externally without changing the configurations of the existing transmitting station and receiving station. You can stop to the limit.

【0068】なお、送信パケット反転手段73及び受信
パケット反転手段76は上記の実施例ではデータ部分と
CRC符号部分の両方についてビット反転を行っている
が、どちらか一方でもよい。
The transmission packet inverting means 73 and the reception packet inverting means 76 perform bit inversion for both the data portion and the CRC code portion in the above embodiment, but either one may be used.

【0069】次に、送信CRC演算手段15、71で生
成するCRC符号、及び受信CRC演算手段25、6
6、76で演算するCRC符号の具体例について説明す
る。CRC符号の生成多項式を、ITU−T(旧CCI
TT)で勧告している16ビットCRC符号の生成多項
式であるx16+x12+x+1とし、また、入力デ
ータが入力先頭より「1111 0000 1111
0000 1111 1111」の値をとる24ビット
であるものとする。
Next, the CRC code generated by the transmission CRC calculation means 15, 71 and the reception CRC calculation means 25, 6
A specific example of the CRC code calculated in 6 and 76 will be described. The generator polynomial of the CRC code is ITU-T (old CCI
And x 16 + x 12 + x 5 +1 is a generator polynomial of 16-bit CRC code are recommended by TT), also "1111 input data from the input start 0000 1111
It is assumed to be 24 bits having a value of "0000 1111 1111".

【0070】上記の値の入力データを反転なしで送信C
RC演算すると、図2に示した構成のCRC演算手段の
シフトレジスタ32〜34の最終レジスタ状態は、「1
111 1111 0100 0100」である(な
お、先頭の値がMSB、最後の値がLSB:以下、同
じ)。この16ビットの値が図3のフローチャートのス
テップ43、44に示したように、全ビット反転されて
からLSBから順に16ビットCRC符号として入力デ
ータの後に付加されて送信パケットを構成して送信され
る。従って、送信パケットは「1111 0000 1
111 00001111 1111 1101 11
01 0000 0000」となる。
The input data having the above value is transmitted without inversion C
When the RC operation is performed, the final register states of the shift registers 32 to 34 of the CRC operation means having the configuration shown in FIG.
111 1111 0100 0100 ”(note that the first value is MSB and the last value is LSB: the same applies hereinafter). As shown in steps 43 and 44 of the flowchart of FIG. 3, the 16-bit value is inverted after all bits are added in order from the LSB as the 16-bit CRC code after the input data to form a transmission packet and transmitted. It Therefore, the transmission packet is "1111 0000 1
111 000011111 1111 1101 11
01 0000 0000 ".

【0071】この送信パケットを反転なしの状態で受信
CRC演算手段に入力すると、図2に示した構成のCR
C演算手段のシフトレジスタ32〜34の最終レジスタ
状態は、「1111 0000 1011 1000」
となり、前記した特定の値に一致する。従って、このと
きはCRC一致(OK)という判定結果(CRC演算結
果)が得られる。
When this transmission packet is input to the reception CRC calculating means without being inverted, the CR having the configuration shown in FIG.
The final register states of the shift registers 32 to 34 of the C arithmetic means are “1111 0000 1011 1000”.
And matches the specific value described above. Therefore, at this time, a determination result (CRC calculation result) that CRC match (OK) is obtained.

【0072】一方、同じ値の24ビット入力データに対
してその3ビット目を反転させた場合の送信パケットは
「1101 0000 1111 0000 1111
1111 1101 1101 0000 000
0」となる。この送信パケット中のCRC符号は入力デ
ータが反転なしのときに生成されたCRC符号であるか
ら、この送信パケットを受信局で図2に示した構成のC
RC演算手段に入力すると、そのシフトレジスタ32〜
34の最終レジスタ状態は、「1101 1101 1
010 1000」となる。この値は前記の特定の値と
異なる値であり、このときはCRC不一致(NG)とい
う判定結果(CRC演算結果)が得られ、この受信パケ
ットは破棄される。
On the other hand, when the third bit of the 24-bit input data having the same value is inverted, the transmission packet is "1101 0000 1111 0000 1111".
1111 1101 1101 0000 000
0 ". Since the CRC code in this transmission packet is the CRC code generated when the input data is not inverted, this transmission packet is transmitted to the receiving station by the C code of the configuration shown in FIG.
When input to the RC calculation means, the shift register 32 ...
The final register state of 34 is "1101 1101 1
010 1000 ". This value is different from the above-mentioned specific value, and at this time, a judgment result (CRC calculation result) that CRC mismatch (NG) is obtained, and this received packet is discarded.

【0073】上記の各実施例では、送信データの指定ビ
ットの値を反転してCRC符号を生成しているため、受
信局でそのままで受信した場合にはCRC不一致とな
る。しかし、受信局で送信側と同じ位置でビット反転を
行い、送信CRC演算手段の入力と実質的に同一のデー
タを受信CRC演算手段25に入力することにより、C
RC一致の判定結果が得られるのである。
In each of the above-described embodiments, the value of the designated bit of the transmission data is inverted to generate the CRC code. Therefore, when the receiving station receives the CRC code as it is, the CRC mismatch occurs. However, when the receiving station performs bit inversion at the same position as the transmitting side and inputs substantially the same data as the input of the transmitting CRC calculating means to the receiving CRC calculating means 25, C
The result of the RC match determination is obtained.

【0074】次に、本発明を超小型衛星通信地球局(V
SAT:very small aperture t
erminal)システムに適用した場合について説明
する。VSATシステムは、図7に示すように、1つの
親局(HUB局)81と複数の子局(VSAT)83〜
85が衛星82を中継局とする回線を介して接続された
構成である。このVSATシステムでは、HUB局81
からVSAT局83〜85へ向けて送信されたデータ
は、同報回線であるのですべてのVSAT局83〜85
で受信される。よって、各VSAT局83〜85のそれ
ぞれは、自局が必要なデータのみ取り込み、必要のない
データを破棄するという選択処理を行わなければならな
い。
Next, the present invention is applied to a microsatellite communication earth station (V
SAT: Very Small Aperture t
A description will be given of a case where the present invention is applied to an electronic system. As shown in FIG. 7, the VSAT system includes one master station (HUB station) 81 and a plurality of slave stations (VSAT) 83 to.
85 is connected via a line with the satellite 82 as a relay station. In this VSAT system, the HUB station 81
Since the data transmitted from the VSAT stations 83 to 85 to the VSAT stations are broadcast lines, all the VSAT stations 83 to 85 are transmitted.
Will be received at. Therefore, each of the VSAT stations 83 to 85 must perform a selection process of taking in only the data that the local station needs and discarding the unnecessary data.

【0075】また、VSATシステムのVSAT局83
〜85は、広範な地域に設置されるので、プログラムの
バージョンアップなどを簡単に行えるように、HUB局
81ーVSAT局83〜85の通信回線を利用して装置
が動作するために必要なプログラム等を受信できるダウ
ン・ライン・ローディング(DLL:Down Lin
e Loading)機能を持たせ、プログラム・リー
ド・オンリ・メモリ(ROM)にはDLLを行うための
最低限の機能しか入れておかないのが普通である。
In addition, the VSAT station 83 of the VSAT system
Since ~ 85 is installed in a wide area, a program necessary for the device to operate by using the communication line of the HUB station 81-VSAT station 83-85 so that the program version can be easily upgraded. Down line loading (DLL: Down Lin)
It is usual that the e-loading function is provided and the program read only memory (ROM) has only the minimum function for performing DLL.

【0076】DLL機能を取り入れることにより、RO
Mのプログラム規模を小さくできるので、ROMの信頼
性を上げるのに有効な手段ではあるが、通常の通信デー
タ以外にDLLデータが混在するので、各VSAT局8
3〜85では受信データを選別する必要がある。
By incorporating the DLL function, RO
Since the program size of M can be reduced, this is an effective means for improving the reliability of the ROM. However, since DLL data are mixed in addition to normal communication data, each VSAT station 8
In 3-85, it is necessary to sort the received data.

【0077】かかるVSATシステムにおいて、本発明
を適用することにより、通常運用データとDLLデータ
でビット反転位置を変えることにより、CRCチェック
レベルでの選別が可能になり、これにより図8に示すシ
ーケンス図に示すように、HUB局81からVSAT局
83〜85に対して通常の通信データとDLLデータと
を混在して送信することができる。
In such a VSAT system, by applying the present invention, it is possible to select at the CRC check level by changing the bit inversion position between the normal operation data and the DLL data, which makes it possible to select the sequence shown in FIG. As shown in, normal communication data and DLL data can be mixedly transmitted from the HUB station 81 to the VSAT stations 83 to 85.

【0078】図8では、HUB局81からVSAT局8
3〜85向けのデータのみ示してあり、また、VSAT
局83は既にDLLデータの取り込みが終了して通常運
用中の局、VSAT局84及び85はそれぞれDLLデ
ータ取り込み中の局であるものとする。図8では、HU
B局81からVSAT局83〜85へ向けて通常データ
送信(ステップ91)、通常データ送信(ステップ9
2)、DLLデータ送信(ステップ93)、通常データ
送信(ステップ94)、DLLデータ送信(ステップ9
5)の順で送信したものとする。このとき、黒丸で示し
たデータが取り込まれる。
In FIG. 8, from the HUB station 81 to the VSAT station 8
Only data for 3 to 85 are shown, and VSAT
It is assumed that the station 83 is a station that is in normal operation after the DLL data has already been captured, and the VSAT stations 84 and 85 are stations that are capturing DLL data. In FIG. 8, HU
Normal data transmission from the B station 81 to the VSAT stations 83 to 85 (step 91), normal data transmission (step 9)
2), DLL data transmission (step 93), normal data transmission (step 94), DLL data transmission (step 9)
It is assumed that the information is transmitted in the order of 5). At this time, the data indicated by black circles are captured.

【0079】上記のシーケンスを実現するためには、親
局であるHUB局81は、図9に示すフローチャートに
従う動作を行い、子局であるVSAT局83〜85はそ
れぞれ図10に示すフローチャートに従う動作を行う。
まず、図9に示すように、HUB局81は、送信するデ
ータがDLLデータか通常データかを判定し(ステップ
101)、通常データであるときには通常データのとき
に予め定めた所定のビット位置の値を反転させる通常運
用情報を設定し(ステップ102)、また、DLLであ
るときにはDLLデータのときに予め定めた通常データ
のときとは異なるビット位置の値を反転させるDLL用
反転情報を設定する(ステップ103)。そして、その
ビット位置の反転されたデータ及びそれに基づくCRC
符号を付加したパケットを送信する送信処理を行う(ス
テップ104)。
In order to realize the above sequence, the HUB station 81 as the master station performs the operation according to the flowchart shown in FIG. 9, and the VSAT stations 83 to 85 as the slave stations respectively operate according to the flowchart shown in FIG. I do.
First, as shown in FIG. 9, the HUB station 81 determines whether the data to be transmitted is DLL data or normal data (step 101). The normal operation information for inverting the value is set (step 102), and the DLL inversion information for inverting the value of the bit position different from the predetermined normal data for the DLL data is set for the DLL. (Step 103). Then, the inverted data of the bit position and the CRC based on the inverted data
A transmission process is performed to transmit the packet to which the code is added (step 104).

【0080】一方、VSAT局83〜85では、電源オ
ン後のDLLシーケンスにおいて、HUB局81と同じ
DLLデータ受信用反転情報を設定する(ステップ11
1)。この状態でDLLデータを受信した場合にはCR
C演算結果は一致を示すからその時の受信データ、すな
わち、DLLデータを取り込み、一方、通常データを受
信した場合には、ビット反転位置がDLLデータと異な
るからCRC演算結果は不一致を示すからその受信通常
データは破棄される(図8のVSAT局84、85の白
丸に相当する)。
On the other hand, in the VSAT stations 83 to 85, the same DLL data reception inversion information as in the HUB station 81 is set in the DLL sequence after the power is turned on (step 11).
1). When DLL data is received in this state, CR
Since the C operation result indicates a match, the received data at that time, that is, the DLL data is taken in, while when the normal data is received, the bit inversion position is different from the DLL data, and the CRC operation result indicates a mismatch, so that reception Normal data is discarded (corresponding to the white circles of the VSAT stations 84 and 85 in FIG. 8).

【0081】このようにして、VSAT局83〜85は
DLLデータのみを選択受信してDLLプログラムを受
信し(ステップ112)、すべてのDLLデータ受信後
(ステップ113)、通常運用反転情報に切り換える
(ステップ114)。通常運用に移った後は、DLLデ
ータを受信した時にはビット反転位置が通常データと異
なるからCRC演算結果は不一致を示すからその受信D
LLデータは破棄される(図8のVSAT局83の白丸
に相当する)。
In this way, the VSAT stations 83 to 85 selectively receive only the DLL data and receive the DLL program (step 112), and after receiving all the DLL data (step 113), switch to the normal operation inversion information (step 113). Step 114). After the normal operation, when the DLL data is received, the bit inversion position is different from the normal data, and the CRC calculation result shows a mismatch, so that the reception D
The LL data is discarded (corresponding to the white circle of the VSAT station 83 in FIG. 8).

【0082】本発明を適用した場合、異なる反転情報を
設定したにも拘らず同じCRC演算結果になってしまう
確率は小さいが0ではないので、DLLデータ中に通常
データを、また、通常運用中にDLLデータをCRC演
算結果一致として受信してしまう可能性がある。
When the present invention is applied, the probability that the same CRC calculation result will be obtained despite the setting of different inversion information is small, but not 0. Therefore, normal data is also included in DLL data, and normal operation is in progress. There is a possibility that the DLL data may be received as a CRC calculation result match.

【0083】しかし、元々伝送路エラーによってビット
化けを起こした場合でもCRCエラーチェックをすり抜
けることはあるので、伝送路CRCエラーチェックの
後、更に何らかのチェックをしているのが普通である。
従って、本発明を適用して誤ってデータを受信しても運
用上は問題ない。
However, even if a bit error occurs originally due to a transmission line error, the CRC error check may be bypassed. Therefore, after the transmission line CRC error check, some kind of check is usually performed.
Therefore, even if the present invention is applied and data is erroneously received, there is no problem in operation.

【0084】次に、本発明の第2実施例を基本に最も簡
単な回路構成について説明する。図11は送信局の回路
系統図で、入力分割送信データは排他的論理和回路12
1に入力され、ここで反転制御ビット122よりの反転
制御ビットと排他的論理和演算される。従って、反転制
御ビット122が「0」の時には入力分割送信データは
非反転、「1」の時反転となり、2種類の反転状態を作
れる。従って、反転制御ビット122を通常は「0」と
して、ユーザが指定したビット位置でのみ「1」とする
ことにより、送信データ反転手段14を構成できる。
Next, the simplest circuit configuration will be described based on the second embodiment of the present invention. FIG. 11 is a circuit system diagram of the transmitting station. The input division transmission data is the exclusive OR circuit 12
1 and is subjected to exclusive OR operation with the inversion control bit from the inversion control bit 122. Therefore, when the inversion control bit 122 is "0", the input divided transmission data is non-inverted, and when it is "1", it is inverted and two types of inversion states can be created. Therefore, the transmission data inverting means 14 can be configured by setting the inversion control bit 122 to normally "0" and setting it to "1" only at the bit position designated by the user.

【0085】この排他的論理和回路121の出力データ
は、図5(A)の送信CRC演算手段15及びパラレル
/シリアル変換手段16を構成するCRC計算ブロック
123に供給されてCRC符号に変換された後、シリア
ル信号に変換されて排他的論理和回路124に入力さ
れ、ここで反転制御ビット122よりの反転制御ビット
と排他的論理和演算される。これにより、反転制御ビッ
ト122を通常は「0」として、ユーザが指定したビッ
ト位置でのみ「1」とすることにより、排他的論理和回
路124により送信CRC反転手段62を構成できる。
The output data of the exclusive OR circuit 121 is supplied to the CRC calculation block 123 constituting the transmission CRC calculation means 15 and the parallel / serial conversion means 16 of FIG. 5A and converted into a CRC code. After that, it is converted into a serial signal and input to the exclusive OR circuit 124, where it is subjected to exclusive OR operation with the inversion control bit from the inversion control bit 122. As a result, the inversion control bit 122 is normally set to "0" and set to "1" only at the bit position designated by the user, whereby the exclusive-OR circuit 124 can configure the transmission CRC inverting means 62.

【0086】図12は受信局の回路系統図で、入力受信
パケットは排他的論理和回路131に入力され、ここで
反転制御ビット132よりの反転制御ビット(1ビッ
ト)と排他的論理和演算される。従って、反転制御ビッ
ト132が「0」の時には入力分割送信データは非反
転、「1」の時反転となり、送信局と同様に2種類の反
転状態を作れる。従って、反転制御ビット122を通常
は「0」として、ユーザが指定したビット位置でのみ
「1」とすることにより、受信パケット反転手段24を
構成できる。
FIG. 12 is a circuit diagram of the receiving station. The input reception packet is input to the exclusive OR circuit 131, where it is exclusive ORed with the inversion control bit (1 bit) from the inversion control bit 132. It Therefore, when the inversion control bit 132 is "0", the input division transmission data is non-inversion, and when it is "1", it is inversion, and two kinds of inversion states can be created like the transmitting station. Therefore, the inversion control bit 122 is normally set to "0" and is set to "1" only at the bit position designated by the user, whereby the reception packet inversion means 24 can be configured.

【0087】この排他的論理和回路131の出力データ
は図5(B)の受信CRC演算手段25を構成する図2
に示したようなCRC計算ブロック133に供給されて
CRC演算されて所定の値と一致するかどうか判定さ
れ、CRC演算結果として出力される。
The output data of the exclusive OR circuit 131 is shown in FIG. 2 which constitutes the reception CRC calculation means 25 of FIG. 5B.
It is supplied to the CRC calculation block 133 as shown in FIG. 2 and subjected to CRC calculation to determine whether or not it matches a predetermined value, and is output as the CRC calculation result.

【0088】なお、本発明は上記の実施例に限定される
ものではなく、例えば誤り訂正符号はCRC符号以外の
他の公知の誤り訂正符号(例えばハミング符号、BCH
符号、Fire符号、リードソロモン符号など)にも適
用できるものである。
The present invention is not limited to the above-described embodiment. For example, the error correction code may be a known error correction code other than the CRC code (eg Hamming code, BCH).
Code, Fire code, Reed-Solomon code, etc.).

【0089】[0089]

【発明の効果】以上説明したように、本発明によれば、
送信局よりあるビット位置で値が反転された分割送信デ
ータに基づいて生成された誤り訂正符号を付加した送信
パケット、あるいは誤り訂正符号や分割送信データのあ
るビット位置で値が反転された送信パケットを送信し、
受信局では受信したパケットに対して送信局と同じビッ
ト反転位置でビットを反転処理した時に、誤り訂正符号
に基づく演算結果により誤り無しと判定し、異なるビッ
ト反転位置でビットを反転処理したとき、あるいはビッ
ト反転を行わないときには、通常は誤り訂正符号に基づ
く演算結果により誤り有りと判定するようにしたため、
受信を希望しないときには送信局と受信局のビット反転
位置を同じにし、受信を希望しないときには送信局と受
信局のビット反転位置を異ならせるかビット反転を行わ
ないことにより、送信パケット中にデータを選択させる
ための特別なフィールドを設けることなく、誤り訂正符
号の誤り検出機能を利用して選択的にデータを受信する
ことができ、よって回線効率を向上できる。
As described above, according to the present invention,
A transmission packet added with an error correction code generated based on divided transmission data whose value was inverted at a certain bit position from the transmitting station, or a transmission packet whose value was inverted at a certain bit position of the error correction code or divided transmission data Send
When the receiving station performs bit inversion processing on the received packet at the same bit inversion position as the transmitting station, it determines that there is no error based on the operation result based on the error correction code, and performs bit inversion processing at a different bit inversion position, Alternatively, when bit inversion is not performed, it is normally determined that there is an error based on the operation result based on the error correction code.
When you do not want to receive, make the bit inversion positions of the transmitting station and the receiving station the same, and when you do not want to receive, make the bit inversion positions of the transmitting station and the receiving station different or do not perform bit inversion, and Data can be selectively received by using the error detection function of the error correction code without providing a special field for selection, and thus the line efficiency can be improved.

【0090】従って、本発明によれば、上記の送信局よ
り送信される送信パケットにおけるビット反転位置を、
複数の受信局のそれぞれに固有に割り当てられたビット
位置としたときには、送信パケットに複数の受信局に対
するアドレス部を設けなくても、同報回線により所望の
受信局宛に分割送信データを送信して受信させることが
できる。また、送信パケットにおけるビット反転位置
を、送信しようとする分割送信データの種類に応じて定
められたビット位置としたときには、送信パケットにデ
ータの種類を示す特別なフィールドを設けなくても、受
信局は送信されてきた送信パケットのうち、所望の種類
のデータの送信パケットのみを選択受信することができ
る。
Therefore, according to the present invention, the bit inversion position in the transmission packet transmitted from the transmission station is
When the bit position is uniquely assigned to each of the plurality of receiving stations, the divided transmission data is transmitted to the desired receiving station through the broadcast line without providing the address part for the plurality of receiving stations in the transmission packet. Can be received. Further, when the bit inversion position in the transmission packet is set to the bit position determined according to the type of the divided transmission data to be transmitted, the receiving station does not need to provide a special field indicating the type of data in the transmission packet. Among the transmitted transmission packets, can selectively receive only the transmission packet of the desired type of data.

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

【図1】本発明の第1実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】CRC回路の一例の回路図である。FIG. 2 is a circuit diagram of an example of a CRC circuit.

【図3】CRC送信時の処理説明用フローチャートであ
る。
FIG. 3 is a flowchart for explaining a process when transmitting a CRC.

【図4】CRC受信時の処理説明用フローチャートであ
る。
FIG. 4 is a flowchart for explaining processing when a CRC is received.

【図5】本発明の第2実施例のブロック図である。FIG. 5 is a block diagram of a second embodiment of the present invention.

【図6】本発明の第3実施例のブロック図である。FIG. 6 is a block diagram of a third embodiment of the present invention.

【図7】VSATシステムの一例のシステム構成図であ
る。
FIG. 7 is a system configuration diagram of an example of a VSAT system.

【図8】図7のシステムの一例のシーケンス図である。8 is a sequence diagram of an example of the system of FIG.

【図9】親局のデータ送信のフローチャートである。FIG. 9 is a flowchart of data transmission of the master station.

【図10】子局のデータ受信のフローチャートである。FIG. 10 is a flowchart of data reception of a slave station.

【図11】本発明の送信側の一実施例の回路系統図であ
る。
FIG. 11 is a circuit system diagram of an example of a transmitting side of the present invention.

【図12】本発明の受信側の一実施例の回路系統図であ
る。
FIG. 12 is a circuit system diagram of an example of a receiving side of the present invention.

【図13】通信システムの一例の概略構成図である。FIG. 13 is a schematic configuration diagram of an example of a communication system.

【図14】フレーム構成の一例を示す図である。FIG. 14 is a diagram showing an example of a frame structure.

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

11 分割送信データ入力端子 12 送信クロック入力端子 13 分割データ開始/終了信号入力端子 14 送信データ反転手段 15、71 送信CRC演算手段 16 パラレル/シリアル変換手段 17、61、72 送信タイミング生成手段 18 セレクタ 19、63、74 送信パケット出力端子 21 受信パケット入力端子 22 受信クロック入力端子 23 受信パケット開始/終了信号入力端子 24、66、76 受信パケット反転手段 25 受信CRC演算手段 26、65 受信タイミング生成手段 27 受信データ出力端子 28 CRC演算結果出力端子 32〜34 シフトレジスタ(CRCレジスタ) 62 送信CRC反転手段 73 送信パケット反転手段 81 親局(HUB局) 82 衛星 83〜85 子局(VSAT局) 11 division transmission data input terminal 12 transmission clock input terminal 13 division data start / end signal input terminal 14 transmission data inverting means 15, 71 transmission CRC calculation means 16 parallel / serial conversion means 17, 61, 72 transmission timing generation means 18 selector 19 , 63, 74 transmission packet output terminal 21 reception packet input terminal 22 reception clock input terminal 23 reception packet start / end signal input terminal 24, 66, 76 reception packet inverting means 25 reception CRC calculation means 26, 65 reception timing generation means 27 reception Data output terminal 28 CRC calculation result output terminal 32-34 Shift register (CRC register) 62 Transmission CRC inverting means 73 Transmission packet inverting means 81 Master station (HUB station) 82 Satellite 83-85 Slave station (VSAT station)

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 一つの送信局と複数の受信局とからな
り、該送信局は分割送信データに誤り訂正符号を付加し
た送信パケットを生成して同報回線で前記複数の受信局
へ同時に送信し、該複数の受信局のそれぞれは受信パケ
ットの誤り訂正演算を行い、誤り無しのときには該受信
パケットを取り込み、誤り有りのときには該受信パケッ
トを破棄する通信システムにおいて、 前記送信局は、前記分割送信データの予め指定したビッ
ト位置の値を反転する送信データ反転手段と、該送信デ
ータ反転手段の出力データに基づいて前記誤り訂正符号
を作成する送信誤り訂正符号演算手段と、前記入力分割
送信データと前記送信誤り訂正符号演算手段の出力誤り
訂正符号とをそれぞれ合成して前記送信パケットとして
出力する合成手段とを有し、 前記受信局は、前記送信パケットを受信し、その受信パ
ケットを自局で指定されたビット位置で反転する受信パ
ケット反転手段と、該受信パケット反転手段の出力パケ
ットに基づいて前記誤り訂正演算を行う受信誤り訂正符
号演算手段とを有することを特徴とする通信システム。
1. A transmission station comprising one transmission station and a plurality of reception stations, the transmission station generating a transmission packet in which error correction code is added to divided transmission data, and transmitting the transmission packet to the plurality of reception stations simultaneously through a broadcasting line. In the communication system, each of the plurality of receiving stations performs an error correction calculation on the received packet, takes in the received packet when there is no error, and discards the received packet when there is an error. Transmission data inverting means for inverting the value of a predetermined bit position of transmission data, transmission error correction code arithmetic means for creating the error correction code based on the output data of the transmission data inverting means, and the input divided transmission data And the output error correction code of the transmission error correction code calculation means are combined and output as the transmission packet. Is a received packet inverting means for receiving the transmitted packet and inverting the received packet at a bit position designated by its own station, and a received error correction for performing the error correction operation based on the output packet of the received packet inverting means. A communication system comprising a code calculation means.
【請求項2】 一つの送信局と複数の受信局とからな
り、該送信局は分割送信データに誤り訂正符号を付加し
た送信パケットを生成して同報回線で前記複数の受信局
へ同時に送信し、該複数の受信局のそれぞれは受信パケ
ットの誤り訂正演算を行い、誤り無しのときには該受信
パケットを取り込み、誤り有りのときには該受信パケッ
トを破棄する通信システムにおいて、 前記送信局は、前記分割送信データの予め指定したビッ
ト位置の値を反転する第1の反転手段と、該第1の反転
手段の出力データに基づいて前記誤り訂正符号を作成す
る送信誤り訂正符号演算手段と、該送信誤り訂正符号演
算手段の出力誤り訂正符号の予め指定したビット位置の
値を反転する第2の反転手段と、前記入力分割送信デー
タと前記第2の反転手段の出力誤り訂正符号とをそれぞ
れ合成して前記送信パケットとして出力する合成手段と
を有し、 前記受信局は、前記送信パケットを受信し、その受信パ
ケットを自局で指定されたビット位置で反転する受信パ
ケット反転手段と、該受信パケット反転手段の出力パケ
ットに基づいて前記誤り訂正演算を行う受信誤り訂正符
号演算手段とを有することを特徴とする通信システム。
2. A transmission station comprising a single transmission station and a plurality of reception stations, the transmission station generating a transmission packet in which error correction code is added to divided transmission data, and transmitting the packets simultaneously to the plurality of reception stations via a broadcasting line. In the communication system, each of the plurality of receiving stations performs an error correction calculation on the received packet, takes in the received packet when there is no error, and discards the received packet when there is an error. First inversion means for inverting the value of the transmission data at a predetermined bit position, transmission error correction code calculation means for creating the error correction code based on the output data of the first inversion means, and the transmission error Second inverting means for inverting the value of the bit position designated in advance of the output error correction code of the correction code calculating means, the input divided transmission data and the output error correction of the second inverting means And a synthesizing unit for synthesizing a code and outputting the packet as the transmission packet, wherein the receiving station receives the transmission packet and inverts the received packet at a bit position designated by the own station. A communication system comprising: means and a reception error correction code operation means for performing the error correction operation based on the output packet of the reception packet inverting means.
【請求項3】 一つの送信局と複数の受信局とからな
り、該送信局は分割送信データに誤り訂正符号を付加し
た送信パケットを生成して同報回線で前記複数の受信局
へ同時に送信し、該複数の受信局のそれぞれは受信パケ
ットの誤り訂正演算を行い、誤り無しのときには該受信
パケットを取り込み、誤り有りのときには該受信パケッ
トを破棄する通信システムにおいて、 前記送信局は、前記分割送信データに基づいて前記誤り
訂正符号を作成する送信誤り訂正符号演算手段と、前記
入力分割送信データと前記送信誤り訂正符号演算手段の
出力誤り訂正符号とをそれぞれ合成する合成手段と、該
合成手段の出力パケットの予め定めたビット位置の値を
反転して前記送信パケットとして出力する送信パケット
反転手段とを有し、 前記受信局は、前記送信パケットを受信し、その受信パ
ケットを自局で指定されたビット位置で反転する受信パ
ケット反転手段と、該受信パケット反転手段の出力パケ
ットに基づいて前記誤り訂正演算を行う受信誤り訂正符
号演算手段とを有することを特徴とする通信システム。
3. A transmission station comprising one transmission station and a plurality of reception stations, the transmission station generating a transmission packet in which an error correction code is added to divided transmission data and transmitting the transmission packet to the plurality of reception stations simultaneously through a broadcasting line. In the communication system, each of the plurality of receiving stations performs an error correction calculation on the received packet, takes in the received packet when there is no error, and discards the received packet when there is an error. A transmission error correction code calculation means for generating the error correction code based on transmission data, a combination means for combining the input divided transmission data and an output error correction code of the transmission error correction code calculation means, and the combination means. And a transmission packet reversing unit that inverts a value of a predetermined bit position of the output packet and outputs the packet as the transmission packet. Received packet inverting means for receiving a transmitted packet and inverting the received packet at a bit position designated by the local station, and received error correction code arithmetic means for performing the error correction operation based on the output packet of the received packet inverting means. And a communication system.
【請求項4】 前記送信局より送信される送信パケット
における前記ビット反転位置は、前記複数の受信局のそ
れぞれに固有に割り当てられたビット位置であり、前記
複数の受信局のそれぞれは、前記受信パケット反転手段
により自局に固有のビット位置の値を反転することを特
徴とする請求項1乃至3のうちいずれか一項記載の通信
システム。
4. The bit inversion position in a transmission packet transmitted from the transmitting station is a bit position uniquely assigned to each of the plurality of receiving stations, and each of the plurality of receiving stations receives the reception signal. 4. The communication system according to claim 1, wherein the packet inverting means inverts the value of the bit position unique to the own station.
【請求項5】 前記送信局より送信される送信パケット
における前記ビット反転位置は、送信しようとする前記
分割送信データの種類に応じて定められたビット位置で
あり、前記複数の受信局のそれぞれは、前記受信パケッ
ト反転手段により受信しようとするデータの種類に応じ
て定められたビット位置の値を反転することを特徴とす
る請求項1乃至3のうちいずれか一項記載の通信システ
ム。
5. The bit inversion position in a transmission packet transmitted from the transmitting station is a bit position determined according to the type of the divided transmission data to be transmitted, and each of the plurality of receiving stations is 4. The communication system according to claim 1, wherein the value of the bit position determined according to the type of data to be received by the reception packet inverting means is inverted.
JP7003976A 1995-01-13 1995-01-13 Communication system Pending JPH08195736A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7003976A JPH08195736A (en) 1995-01-13 1995-01-13 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7003976A JPH08195736A (en) 1995-01-13 1995-01-13 Communication system

Publications (1)

Publication Number Publication Date
JPH08195736A true JPH08195736A (en) 1996-07-30

Family

ID=11572094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7003976A Pending JPH08195736A (en) 1995-01-13 1995-01-13 Communication system

Country Status (1)

Country Link
JP (1) JPH08195736A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6282691B1 (en) 1997-10-03 2001-08-28 Nec Corporation CRC coding system and CRC coding method
JP2009528728A (en) * 2006-08-14 2009-08-06 モトローラ・インコーポレイテッド Error detection method and error detection apparatus in data block
JP4894854B2 (en) * 2006-02-27 2012-03-14 富士通株式会社 Data transmission apparatus, data transmission / reception system, and data transmission / reception system control method
KR20120049436A (en) * 2010-11-08 2012-05-17 삼성전자주식회사 Data processing device and method using error detection code, method for compensating data skew and semiconductor device having data processing device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0298245A (en) * 1988-10-04 1990-04-10 Nec Corp Route identification system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0298245A (en) * 1988-10-04 1990-04-10 Nec Corp Route identification system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6282691B1 (en) 1997-10-03 2001-08-28 Nec Corporation CRC coding system and CRC coding method
JP4894854B2 (en) * 2006-02-27 2012-03-14 富士通株式会社 Data transmission apparatus, data transmission / reception system, and data transmission / reception system control method
US8301969B2 (en) 2006-02-27 2012-10-30 Fujitsu Limited Control method of information processing device and information processing device
JP2009528728A (en) * 2006-08-14 2009-08-06 モトローラ・インコーポレイテッド Error detection method and error detection apparatus in data block
KR20120049436A (en) * 2010-11-08 2012-05-17 삼성전자주식회사 Data processing device and method using error detection code, method for compensating data skew and semiconductor device having data processing device

Similar Documents

Publication Publication Date Title
US20060150067A1 (en) Error detector, semiconductor device, and error detection method
US5748652A (en) Apparatus for detecting and correcting cyclic redundancy check errors
US4890286A (en) Method and apparatus for decoding error correcting code
JPS6348460B2 (en)
JPH08195736A (en) Communication system
EP1152540A1 (en) Error control device and method using cyclic code
JPH06224783A (en) Cyclic coded crc device
JP3361654B2 (en) Data transmission equipment
JPH0528078A (en) Method and device for generating 48 bit frame check sequence
US5832002A (en) Method for coding and decoding a digital message
WO2000007378A2 (en) Apparatus for transmitting and receiving numeric and character information using radio paging network
JPH1093447A (en) Decoder and decoding method
JP2685180B2 (en) Error correction device
EP0851591B1 (en) Data processor and data processing method
JP2739321B2 (en) Transmission control method for data communication device
JPH0613915A (en) Error check method
US5212696A (en) Method and apparatus for producing order independent signatures for error detection
JP2815008B2 (en) Message transmission system
JP3476767B2 (en) Error detection device and error detection method
JPS60199239A (en) Signal transmission system
KR20020035717A (en) Atm cell error generation device
JPH10261970A (en) Error detection code generator, error detection circuit and error correction circuit
JPH0263324A (en) Bit arrangement converting circuit
JPH08316921A (en) Code transmission method
JPS6189740A (en) Serial data transmission and reception device