JP2652398B2 - Data transmission method - Google Patents

Data transmission method

Info

Publication number
JP2652398B2
JP2652398B2 JP63048654A JP4865488A JP2652398B2 JP 2652398 B2 JP2652398 B2 JP 2652398B2 JP 63048654 A JP63048654 A JP 63048654A JP 4865488 A JP4865488 A JP 4865488A JP 2652398 B2 JP2652398 B2 JP 2652398B2
Authority
JP
Japan
Prior art keywords
data
bit
transmission
error correction
correction code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63048654A
Other languages
Japanese (ja)
Other versions
JPH01223844A (en
Inventor
義博 荒井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP63048654A priority Critical patent/JP2652398B2/en
Publication of JPH01223844A publication Critical patent/JPH01223844A/en
Application granted granted Critical
Publication of JP2652398B2 publication Critical patent/JP2652398B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [技術分野] 本発明は、データ伝送方法に関する。Description: TECHNICAL FIELD The present invention relates to a data transmission method.

[従来技術] データをビット透過に伝送することができ、伝送デー
タの内容を制限しないデータ伝送方式の1つにHDLC(ハ
イレベル・データ・リンク制御)手順のフレーム形式を
用いたデータ伝送方式があり、例えば、グループ3ファ
クシミリ装置の伝送制御手順信号のやりとり等に利用さ
れている。
[Prior Art] A data transmission method using a frame format of an HDLC (High Level Data Link Control) procedure is one of the data transmission methods that can transmit data bit-transparently and does not limit the content of transmission data. Yes, for example, it is used for exchanging transmission control procedure signals of a group 3 facsimile machine.

一方、無線装置では、伝搬路の状態が大きく変化する
と伝送誤りが多発する可能性が大きく、一般に、有線の
データ伝送装置よりも伝送誤りに対する保護が必要であ
る。
On the other hand, in wireless devices, transmission errors are more likely to occur if the state of the propagation path changes significantly. In general, protection against transmission errors is required more than in wired data transmission devices.

さて、近年、伝送手段として無線装置を使用する無線
ファクシミリ装置が実用されており、この無線ファクシ
ミリ装置は、グループ3ファクシミリ装置と同等の機能
を実現できるように、グループ3ファクシミリ装置の伝
送制御手順信号をそのまま流用している。
Recently, a wireless facsimile apparatus using a wireless apparatus as a transmission means has been put into practical use. This wireless facsimile apparatus has a transmission control procedure signal of the group 3 facsimile apparatus so as to realize a function equivalent to that of the group 3 facsimile apparatus. Is diverted as it is.

グループ3ファクシミリ装置の伝送制御手順において
は、一定期間内に期待する伝送制御手順信号を受信でき
なければ、それに対する伝送制御手順信号を応答せず、
それを規定回数(例えば、3回)繰り返したときには、
その時点で、伝送制御手順を中断する。また、伝送制御
手順信号を送信する側では、伝送制御手順信号を送信し
てから一定期間内にその伝送制御手順信号に対応する伝
送制御手順信号が応答されなかったときには、再度同一
の伝送制御手順信号を送信する。
In the transmission control procedure of the group 3 facsimile apparatus, if the expected transmission control procedure signal cannot be received within a certain period, the transmission control procedure signal corresponding thereto is not responded.
When it is repeated a specified number of times (for example, three times),
At that point, the transmission control procedure is interrupted. On the side that transmits the transmission control procedure signal, if the transmission control procedure signal corresponding to the transmission control procedure signal is not responded within a certain period of time after transmitting the transmission control procedure signal, the same transmission control procedure signal is retransmitted. Send a signal.

上述したように、無線装置を伝送手段として用いたと
きには、伝送誤りが頻発する可能性があり、したがっ
て、無線ファクシミリ装置が伝送制御手順信号をやりと
りするときに伝送誤りが頻発したとき、伝送制御手順信
号の再送が繰返し行なわれてファクシミリ伝送に要する
時間が長くなったり、伝送制御手順が中断されて画情報
伝送ができなくなる可能性がある。
As described above, when the wireless device is used as the transmission means, transmission errors may frequently occur. Therefore, when the wireless facsimile device exchanges transmission control procedure signals, the transmission errors may occur frequently. The time required for facsimile transmission may be prolonged due to repeated signal retransmission, or the transmission control procedure may be interrupted and image information transmission may not be possible.

そのために、無線ファクシミリ装置では、伝送データ
の誤りを検出して訂正する誤り訂正符号を付加した形式
にグループ3ファクシミリ装置の伝送制御手順信号の形
式を拡張して使用しており、その形式の一例を第6図
(a)に示す。
For this reason, the radio facsimile apparatus uses the transmission control procedure signal format of the group 3 facsimile apparatus by extending the transmission control procedure signal format to an error correction code for detecting and correcting an error in transmission data. Is shown in FIG. 6 (a).

このフレーム形式は、所定の8ビットパターンからな
る2つのフラグシーケンスF1,F2、所定の8ビットパタ
ーン(グローバルアドレス)からなるアドレスフィール
ドA、ファクシミリ装置に固有な8ビットパターンから
なる制御フィールドC、ファクシミリ伝送手順信号の8
ビットパターンが配置されるファクシミリ制御フィール
ドFCF、そのファクシミリ伝送手順信号に付加される各
種の情報が配置されるファクシミリ情報フィールドFI
F、アドレスフィールドAからファクシミリ情報フィー
ルドFIFまでの誤り検出のための16ビットのCRC(巡回冗
長検査)符号が配置されるフレームチェックシーケンス
FCS、アドレスフィールドAからフレームチェックシー
ケンスFCSまでのデータの誤り訂正を行なうための誤り
訂正符号が配置される誤り訂正フィールドECF、およ
び、フラグシーケンスF3を順次並べて形成され、誤り訂
正フィールドECFを追加した部分が、標準のグループ3
ファクシミリ装置の伝送制御手順信号のフレーム形式か
ら拡張された部分である。
This frame format includes two flag sequences F1 and F2 each having a predetermined 8-bit pattern, an address field A having a predetermined 8-bit pattern (global address), a control field C having an 8-bit pattern unique to a facsimile apparatus, and a facsimile. 8 of transmission procedure signal
Facsimile control field FCF in which a bit pattern is arranged, facsimile information field FI in which various information added to the facsimile transmission procedure signal are arranged
F, frame check sequence in which a 16-bit CRC (Cyclic Redundancy Check) code for error detection from address field A to facsimile information field FIF is arranged
FCS, an error correction field ECF in which an error correction code for performing error correction of data from the address field A to the frame check sequence FCS is arranged, and a flag sequence F3 are sequentially arranged and formed, and an error correction field ECF is added. Part is standard group 3
This is a portion extended from the frame format of the transmission control procedure signal of the facsimile apparatus.

さて、このフレーム形式で、フレームを区切るために
用いられているフラグFは、第6図(b)に示すよう
に、「01111110」のビットパターンをもつ。
Now, in this frame format, the flag F used to separate frames has a bit pattern of "01111110" as shown in FIG. 6 (b).

HDLC手順では、受信側でこのフラグFのビットパター
ンを確実に識別できるように、フラグシーケンスF1,F2,
F3以外の伝送データの中にデータ「1」が5つ連続して
いるとき、送信側では、次のビットデータとの間にデー
タ「0」を挿入するいわゆる「0」インサーション処理
を行なって、6つ以上データ「1」が連続することのな
いように伝送データを調整している。
In the HDLC procedure, the flag sequence F1, F2,
When five data "1" s are consecutive in the transmission data other than F3, the transmitting side performs a so-called "0" insertion process of inserting data "0" between the next bit data and the next bit data. , Transmission data is adjusted so that six or more data “1” do not continue.

例えば、第6図(c)に示すように、データ「1」が
7個連続する「011111110」なる9ビットデータがあっ
た場合、同図(d)のように、その6ビット目と7ビッ
ト目の間にデータ「0」(*を付加して示す)を挿入し
て「0111110110」なる10ビットデータに変更する。
For example, as shown in FIG. 6C, when there is 9-bit data of “011111110” in which seven data “1” s are continuous, as shown in FIG. Data “0” (indicated by adding “*”) is inserted between the eyes to change to 10-bit data “0111110110”.

一方、受信側では、受信データに5つ連続してデータ
「1」があらわれている場合、その次のビットのデータ
「0」を除去するいわゆる「0」デリーション処理を行
なって、「0」インサーション処理によって増えたビッ
トを除去している。したがって、同図(d)のデータ
は、同図(e)に示すように、受信側で元の9ビットデ
ータに戻される。
On the other hand, on the receiving side, when five consecutive data “1” appear in the received data, a so-called “0” deletion process for removing data “0” of the next bit is performed, and “0” is performed. The bits increased by the insertion process are removed. Therefore, the data in FIG. 9D is restored to the original 9-bit data on the receiving side as shown in FIG.

以上のことから、従来の無線ファクシミリ装置では、
伝送制御手順信号を送信するとき、第7図に示する処理
を行なう。
From the above, in the conventional wireless facsimile machine,
When transmitting the transmission control procedure signal, the processing shown in FIG. 7 is performed.

まず、送信する伝送制御手順信号を形成し(処理10
1)、それに誤り訂正符号を付加し(処理102)、上述し
たフレーム形式にデータを形成する(処理103)。そし
て、そのフレームデータに対して「0」インサーション
処理を行ない(処理104)、相手装置に送信する(処理1
05)。
First, a transmission control procedure signal to be transmitted is formed (Step 10
1), an error correction code is added thereto (process 102), and data is formed in the above-described frame format (process 103). Then, the frame data is subjected to “0” insertion processing (processing 104) and transmitted to the partner apparatus (processing 1).
05).

また、伝送制御手順信号を受信するとき、第8図に示
す処理を行なう。
When the transmission control procedure signal is received, the processing shown in FIG. 8 is performed.

まず、信号を受信し(処理201)、その受信信号から
フラグパターンを判定しながら「0」デリーション処理
を行ない(処理202)、フレームを識別し、誤り訂正フ
ィールドECFの内容を参照して誤り訂正処理を行ない
(処理203)、その結果に基づいて伝送制御手順信号の
内容を判定し(処理204)、その判定内容に対応した処
理を行なう(処理205)。
First, a signal is received (processing 201), a “0” deletion process is performed while determining a flag pattern from the received signal (processing 202), a frame is identified, and an error is detected by referring to the contents of the error correction field ECF. A correction process is performed (process 203), and the content of the transmission control procedure signal is determined based on the result (process 204), and a process corresponding to the determined content is performed (process 205).

このようにして、伝送制御手順信号に誤り訂正符号を
付加して伝送しているので、伝送誤りをある程度回復で
き、効率のよい画情報伝送を行なうことができる。
As described above, since the transmission control procedure signal is transmitted with the error correction code added thereto, transmission errors can be recovered to some extent, and efficient image information transmission can be performed.

しかしながら、このような従来方式では、次のような
不都合を生じていた。
However, such a conventional method has the following disadvantages.

すなわち、伝送データの全ての部分にわたって伝送誤
りが発生する可能性があり、したがって、フラグシーケ
ンスF1,F2,F3にデータエラーを生じることがある。
That is, a transmission error may occur in all parts of the transmission data, and thus a data error may occur in the flag sequences F1, F2, and F3.

その場合、例えば、第6図(f)に示すように、フラ
グシーケンスF2の5ビット目(矢印で示す)にデータエ
ラーが生じて、ビット反転した場合、フラグパターンが
構成されなくなるので、フラグシーケンスF2が検出され
ず、これによって、フレームの区切りが適切に判定され
なくなり、伝送制御手順信号が受信できなくなる。
In this case, for example, as shown in FIG. 6 (f), when a data error occurs in the fifth bit (indicated by an arrow) of the flag sequence F2 and the bit is inverted, the flag pattern is not formed. F2 is not detected, so that the frame delimiter is not properly determined and the transmission control procedure signal cannot be received.

また、同図(d)に示したように、「0」インサーシ
ョン処理が行なわれて1ビット増えている部分で、連続
している5つのデータ「1」の1つにデータエラーを生
じ、例えば、同図(g)に示すように、その5ビット目
がビット反転した場合、「0」インサーション処理で増
えたビットが元の伝送データのものであると誤判定され
る。
Also, as shown in FIG. 3D, a data error occurs in one of the five consecutive data "1" in a portion where the "0" insertion process is performed and the bit is increased by 1 bit. For example, if the fifth bit is bit-inverted as shown in FIG. 9G, it is erroneously determined that the bit increased by the “0” insertion processing is the original transmission data.

また、同図(h)に示すように、「0110110011」なる
10ビットデータの4ビット目にデータエラーを生じてビ
ット反転し、同図(i)に示すように受信側で「011111
0011」なるデータを受信した場合、受信側では、そのビ
ットパターンに5ビット連続するデータ「1」があらわ
れているため、次のデータ「0」を「0」インサーショ
ン処理によって増えたビットであると誤判定し、同図
(j)に示すように、除去してしまう。
Also, as shown in FIG.
A data error occurs in the fourth bit of the 10-bit data, the bit is inverted, and “011111” is set on the receiving side as shown in FIG.
When the data “0011” is received, on the receiving side, since the data “1” that is continuous for 5 bits appears in the bit pattern, the next data “0” is a bit increased by the “0” insertion processing. And it is removed as shown in FIG.

このようにして、元の伝送データとビット数があわな
くなると、伝送データの区切りが適切に行なわれないの
で、誤り訂正が適切に行なわれず、伝送制御手順信号が
誤判定/誤認識される。
In this way, if the original transmission data and the number of bits do not match, the transmission data is not properly separated, so that the error correction is not properly performed and the transmission control procedure signal is erroneously determined / recognized.

さらに、伝送誤りによってフラグシーケンスF1,F2,F3
の部分以外にフラグパターンが形成されると、それがい
ずれかのフラグシーケンスF1,F2,F3であると判定され、
フレームの区切りが適切に行なわれない。
Furthermore, flag sequences F1, F2, F3
When a flag pattern is formed other than the part of, it is determined that it is any of the flag sequences F1, F2, F3,
Frame division is not performed properly.

このようにして、従来、フラグシーケンスF1,F2,F3に
データエラーを生じた場合、および、特定のビットパタ
ーンのデータエラーに対しては、誤り訂正することがで
きないという不都合を生じていた。
As described above, in the related art, when a data error occurs in the flag sequences F1, F2, and F3, and a data error of a specific bit pattern cannot be corrected.

[目的] 本発明は、かかる従来技術の課題を解消するためにな
されたものであり、常に適切なデータ伝送を行なえるデ
ータ伝送方法を提供することを目的とする。
[Purpose] The present invention has been made to solve the problems of the related art, and has as its object to provide a data transmission method capable of always performing appropriate data transmission.

[構成] 本発明は、特定のビットパターンからなるフラグで仕
切られたフレームデータの先頭に、フラグを一定数繰り
返してなるプリアンブルを付加して形成した伝送データ
を伝送するデータ伝送方法において、送信装置は、上記
伝送データを、フラグを構成するビットパターンのビッ
ト数の整数倍からなるブロックデータに区切るととも
に、所定の0インサーション処理を適用した後に、おの
おののブロックデータに誤り訂正符号を付加し、その
後、0インサーション処理を行うことなく伝送する一
方、受信装置は、受信信号の先頭から1ビットシフトし
ながらブロックデータ長さと誤り訂正符号長さをあわせ
たビットデータを切り出してそのビットデータがフラグ
および誤り訂正符号のビットパターンに一致するかどう
か判定し、この判定が成立すると、それ以降の受信信号
をブロックデータ長さと誤り訂正符号長さをあわせたビ
ットデータ毎に切り出してそれぞれの切り出したビット
データ単位に誤り訂正符号を参照してブロックデータを
誤り訂正した後に、所定の0デリーション処理行って、
受信データを形成するようにしたものである。
[Configuration] The present invention relates to a data transmission method for transmitting transmission data formed by adding a preamble formed by repeating a predetermined number of flags to the head of frame data partitioned by a flag composed of a specific bit pattern. Is to divide the transmission data into block data consisting of an integer multiple of the number of bits of the bit pattern constituting the flag, and after applying a predetermined 0 insertion process, add an error correction code to each block data; Thereafter, while transmitting without performing the 0 insertion processing, the receiving apparatus cuts out bit data in which the block data length and the error correction code length are combined while shifting one bit from the head of the received signal, and the bit data is flagged. And whether they match the bit pattern of the error correction code. When the setting is established, the subsequent received signal is cut out for each bit data including the block data length and the error correction code length, and the block data is error-corrected by referring to the error correction code for each cut-out bit data unit. Later, a predetermined 0 deletion process is performed,
This is to form received data.

以下、添付図面を参照しながら、本発明の実施例を詳
細に説明する。
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明の一実施例にかかる無線ファクシミ
リ装置を示している。
FIG. 1 shows a wireless facsimile apparatus according to one embodiment of the present invention.

同図に示すように、この無線ファクシミリ装置は、画
情報の発生/記録機能を備えたファクシミリ装置1と、
伝送機能を備えた無線装置2と、ファクシミリ装置1と
無線装置2の間でデータをやりとりするための無線イン
タフェース回路3からなり、この無線インタフェース回
路3には、通話のためのマイク4が付設されている。
As shown in FIG. 1, the wireless facsimile apparatus includes a facsimile apparatus 1 having a function of generating / recording image information,
It comprises a wireless device 2 having a transmission function, and a wireless interface circuit 3 for exchanging data between the facsimile device 1 and the wireless device 2, and the wireless interface circuit 3 is provided with a microphone 4 for talking. ing.

ファクシミリ装置1において、システム制御部11は、
ファクシミリ装置1の全体の制御処理を行なうためのも
のであり、スキャナ12は、送信原稿を所定の解像度で読
み取るためのものであり、プロッタ13は、画像を所定の
解像度で記録出力するためのものである。
In the facsimile machine 1, the system control unit 11
The scanner 12 is for performing the overall control processing of the facsimile apparatus 1, the scanner 12 is for reading a transmission original at a predetermined resolution, and the plotter 13 is for recording and outputting an image at a predetermined resolution. It is.

操作表示部14は、このファクシミリ装置を操作するた
めのものであり、符号化復号化部15は、送信画信号を符
号化圧縮するとともに、受信画情報を元の画信号に復号
化するものであり、通信制御部16は、ファクシミリ伝送
制御手順処理を行なうためのものであり、モデム17は、
デジタルデータを変復調するものである。また、モデム
17の入出力信号は、無線インタフェース回路3を介して
無線装置2とやりとりされる。
The operation display unit 14 is for operating the facsimile apparatus, and the encoding / decoding unit 15 encodes and compresses the transmission image signal and decodes the reception image information to the original image signal. Yes, the communication control unit 16 is for performing facsimile transmission control procedure processing, and the modem 17 is
It modulates and demodulates digital data. Also modem
The 17 input / output signals are exchanged with the wireless device 2 via the wireless interface circuit 3.

これらのシステム制御部11、スキャナ12、プロッタ1
3、操作表示部14、符号化復号化部15、および、通信制
御部16は、システムバス18を介して、相互に必要なデー
タをやりとりしている。
These system control unit 11, scanner 12, plotter 1
3. The operation display unit 14, the encoding / decoding unit 15, and the communication control unit 16 exchange necessary data via the system bus 18.

以上の構成で、この無線ファクシミリ装置の相互間で
画情報伝送を行なうときの伝送制御手順信号の送信処理
の一例を第2図に示す。
FIG. 2 shows an example of transmission processing of a transmission control procedure signal when image data is transmitted between the wireless facsimile apparatuses having the above configuration.

まず、送信側は、伝送制御手順信号を形成し(処理30
1)、グループ3ファクシミリ装置に規定されている伝
送制御手順信号と同一のフレーム形式のフレームデータ
を形成する(処理302)。
First, the transmitting side forms a transmission control procedure signal (Step 30).
1) Form frame data in the same frame format as the transmission control procedure signal specified for the group 3 facsimile apparatus (process 302).

ここで、このときに形成されるフレームデータは、第
3図(a)に示すように、ファクシミリ装置1の非標準
的な機能を設定するための伝送制御手順信号を伝送する
ための非標準機能フレームFNS、被呼局(着呼局)の識
別情報を伝送するための被呼端末識別フレームFCD、お
よび、標準的な伝送制御手順信号を伝送するためのデジ
タル識別フレームFDIからなり、バイナリ情報フレームB
Fと呼ばれる。
Here, the frame data formed at this time is, as shown in FIG. 3 (a), a non-standard function for transmitting a transmission control procedure signal for setting a non-standard function of the facsimile machine 1. A binary information frame comprising a frame FNS, a called terminal identification frame FCD for transmitting identification information of a called station (called station), and a digital identification frame FDI for transmitting a standard transmission control procedure signal B
Called F.

これらの非標準機能フレームFNS、被呼端末識別フレ
ームFCD、および、デジタル識別フレームFDIは、それぞ
れ、第4図に示したように構成されている。なお、同図
において、第6図(a)と同一部分には同一名称を用い
る。
The non-standard function frame FNS, the called terminal identification frame FCD, and the digital identification frame FDI are each configured as shown in FIG. In this figure, the same parts as those in FIG. 6 (a) have the same names.

このフレーム形式は、2つのフラグシーケンスF1,F
2、アドレスフィールドA、制御フィールドC、ファク
シミリ制御フィールドFCF、ファクシミリ情報フィール
ドFIF、フレームチェックシーケンスFCS、および、フラ
グシーケンスF3を順次並べて形成されている。
This frame format consists of two flag sequences F1, F
2. An address field A, a control field C, a facsimile control field FCF, a facsimile information field FIF, a frame check sequence FCS, and a flag sequence F3 are sequentially arranged.

また、このバイナリ情報フレームBFの先頭には、受信
側の同期を取るために、フラグシーケンスFを一定数繰
り返してなるプリアンブルPAが付加される。
At the beginning of the binary information frame BF, a preamble PA formed by repeating the flag sequence F by a certain number is added in order to synchronize the receiving side.

なお、バイナリ情報フレームBFを構成する非標準機能
フレームFNSと被呼端末識別フレームFCDは、全ての伝送
制御手順信号のデータフレームを必ずしも構成するもの
ではなく、デジタル識別フレームFDIのみからなる場合
もある。
Note that the non-standard function frame FNS and the called terminal identification frame FCD that constitute the binary information frame BF do not necessarily constitute data frames of all transmission control procedure signals, and may include only the digital identification frame FDI. .

このようにして、フレームデータを構成すると、バイ
ナリ情報フレームBFを構成する各フレームの、フラグシ
ーケンスF1,F2,F3を除いた部分のデータについて、前述
した「0」インサーション処理を行なう(処理303)。
When the frame data is configured in this manner, the above-described “0” insertion processing is performed on the data of each frame constituting the binary information frame BF excluding the flag sequences F1, F2, and F3 (processing 303). ).

これにより、非標準機能フレームFNS、被呼端末識別
フレームFCD、および、デジタル識別フレームFDIは、第
3図(b)に示したように、元のデータ量よりもデータ
量が増える。
As a result, the non-standard function frame FNS, the called terminal identification frame FCD, and the digital identification frame FDI have a larger data amount than the original data amount as shown in FIG. 3B.

次に、この「0」インサーション処理を終えた伝送デ
ータを、プリアンブルPAを含めた先頭から、フラグパタ
ーンのビット長に相当する8ビットずつ区切り、それぞ
れの8ビットデータに対して誤り訂正符号ECC(ブロッ
ク符号)を付加する(処理301)。なお、この誤り訂正
符号ECCは、対象とする8ビットデータに生じている2
ビット誤りまでを訂正できる能力を備えている8ビット
の長さのものであるとする。
Next, the transmission data after the “0” insertion processing is separated from the head including the preamble PA by 8 bits corresponding to the bit length of the flag pattern, and the error correction code ECC is applied to each 8-bit data. (Block code) is added (process 301). The error correction code ECC is generated in the target 8-bit data.
It is assumed that it is 8 bits long and has the ability to correct up to bit errors.

この処理304により、第3図(c)に示すように、プ
リアンブルPA部分は、フラグFと誤り訂正符号ECCが交
互に繰り返された態様になり、また、バイナリ情報フレ
ームBFは、先頭から8ビットデータ毎に誤り訂正符号EC
Cが付加された態様になる。
As a result of this processing 304, as shown in FIG. 3 (c), the preamble PA portion has a form in which the flag F and the error correction code ECC are alternately repeated, and the binary information frame BF has 8 bits from the beginning. Error correction code EC for each data
This is a mode in which C is added.

また、バイナリ情報フレームBFの各フレームは、もと
もとは8ビットの倍数の長さをもつが、「0」インサー
ション処理によってビット数が増え、長さが8ビットの
倍数にならない場合がある。
Each frame of the binary information frame BF originally has a length of a multiple of 8 bits, but the number of bits may increase due to the “0” insertion processing, and the length may not be a multiple of 8 bits.

そのため、最後の8ビットデータは、「0」インサー
ション処理後のデータ数を8で割ったときの剰余を、8
から引いた結果の数だけ、データ「0」を付加して構成
される。
Therefore, the last 8-bit data is a remainder obtained by dividing the number of data after the “0” insertion processing by 8 by 8
The data "0" is added by the number of the results obtained by subtracting from the data.

例えば「0」インサーション処理後のデータ数が8の
倍数よりも2だけ大きくなっているとき、第3図(b)
に示すように、デジタル識別フレームFDIのフラグシー
ケンスF3の最後の2ビットが余る(すなわち、剰余が
2)。そこで、その2ビットに6個のデータ「0」を付
加して最後の8ビットデータを形成し、この8ビットデ
ータに対して誤り訂正符号ECCを付加する。
For example, when the number of data after the “0” insertion processing is larger than a multiple of 8 by 2, FIG. 3 (b)
As shown in (1), the last two bits of the flag sequence F3 of the digital identification frame FDI are left (that is, the remainder is 2). Therefore, six data "0" are added to the two bits to form the last 8-bit data, and an error correction code ECC is added to the 8-bit data.

このようにして、8ビットごとに誤り訂正符号ECCを
付加して形成した伝送データを、相手装置に送信する
(処理305)。
In this way, the transmission data formed by adding the error correction code ECC every 8 bits is transmitted to the partner device (process 305).

このようにして送信された伝送制御手順信号を受信す
るときの処理例を第5図に示す。
FIG. 5 shows a processing example when the transmission control procedure signal transmitted in this manner is received.

まず、受信側では、信号を受信し(処理401)、その
信号の先頭から16ビットのデータを切り出し、その16ビ
ットデータが、フラグFと、フラグFに対応する誤り訂
正符号ECCであるかどうかパターン認識する(処理40
2)。なお、誤り訂正符号ECCがブロック符号であり、ま
た、対象とするフラグFが一定のビットパターンなの
で、フラグFに対応する誤り訂正符号ECCは一定のビッ
トパターンとなる。これにより、フラグFと、フラグF
に対応する誤り訂正符号ECCをあわせた16ビットデータ
が一定のビットパターンとなるために、上述した処理40
2にのパターン認識処理によって、フラグFを見つける
ことができる。
First, the receiving side receives a signal (process 401), cuts out 16-bit data from the beginning of the signal, and determines whether the 16-bit data is a flag F and an error correction code ECC corresponding to the flag F. Pattern recognition (processing 40
2). Since the error correction code ECC is a block code and the target flag F is a fixed bit pattern, the error correction code ECC corresponding to the flag F has a fixed bit pattern. Thereby, the flag F and the flag F
Since the 16-bit data combined with the error correction code ECC corresponding to
The flag F can be found by the pattern recognition process of FIG.

切り出した16ビットデータがフラグFと、フラグFに
対応する誤り訂正符号ECCをあわせた16ビットデータの
ビットパターンに一致しない場合(判断403の結果がN
O)、受信信号を1ビットシフトし(処理404)、処理40
2に戻って次のビットからの16ビットデータを切り出
し、同様のパターン認識処理を行なう。
When the extracted 16-bit data does not match the bit pattern of the 16-bit data including the flag F and the error correction code ECC corresponding to the flag F (the result of determination 403 is N
O), the received signal is shifted by one bit (process 404), and the process 40
Returning to 2, the 16-bit data from the next bit is cut out and the same pattern recognition processing is performed.

この処理ループによって、フラグFと、フラグFに対
応する誤り訂正符号ECCをあわせた16ビットデータを発
見し、判断404の結果がYESになると、その次のビットか
ら、16ビットずつ受信信号のデータを切り出し、おのお
のの16ビットデータについて、前半の8ビットデータに
対する誤り訂正処理を、後半の8ビットの誤り訂正符号
ECCを参照して行なう(処理405)。
By this processing loop, 16-bit data combining the flag F and the error correction code ECC corresponding to the flag F is found, and if the result of the determination 404 is YES, the data of the received signal is read 16 bits at a time starting from the next bit. , And for each 16-bit data, the first half of the 8-bit data is subjected to error correction processing, and the second half of the 8-bit error correction code
This is performed with reference to the ECC (process 405).

このようにして、誤り訂正を終了した8ビットデータ
を受信順序に並べ、それによって形成されたビット列に
ついて、フラグパターンを判定しながら前述した「0」
デリーション処理を行ない(処理406)、元の伝送デー
タを得る。
In this way, the 8-bit data for which the error correction has been completed is arranged in the receiving order, and the bit sequence formed by the above-mentioned “0” is determined while judging the flag pattern.
A deletion process is performed (process 406) to obtain the original transmission data.

そして、その伝送データからプリアンブルPAを分離す
るとともに、デジタル情報フレームBFを構成するおのお
ののフレームデータを識別し、それぞれのフレームデー
タに配置された伝送制御手順信号の内容を識別し(処理
407)、その識別して得た伝送制御手順信号に対応した
処理を行なう(処理408)。
Then, the preamble PA is separated from the transmission data, each frame data constituting the digital information frame BF is identified, and the content of the transmission control procedure signal arranged in each frame data is identified (processing
407), and performs processing corresponding to the transmission control procedure signal obtained by the identification (processing 408).

このようにして、1ビットずつシフトしながら、受信
信号の先頭からフラグFとそれに対応する誤り訂正符号
ECCを見つけ、それ以降は、16ビットずつデータを取り
出して、それぞれについて誤り訂正し、プリアンブルPA
を分離してデジタル情報フレームBFを取り出し、受信し
た伝送制御手順信号を判定している。
In this way, while shifting one bit at a time, the flag F and the corresponding error correction code
After finding ECC, after that, extract 16 bits of data, correct errors for each, and preamble PA
And a digital information frame BF is taken out to determine the received transmission control procedure signal.

したがって、本実施例によれば、まず、プリアンブル
PAについても誤り訂正符号ECCを付加しており、プリア
ンブルPAを構成するフラグFと誤り訂正符号ECCをあわ
せたビットパターンをパターン認識処理により見つけだ
しているので、プリアンブルPAのフラグFの誤検出を抑
制でき、確実に検出できる。
Therefore, according to the present embodiment, first, the preamble
Error correction code ECC is also added to PA, and a bit pattern that combines the error correction code ECC and the flag F that composes the preamble PA is found by pattern recognition processing, so erroneous detection of preamble PA flag F is suppressed. Yes, it can be detected reliably.

それにより、それ以降のデータの区切りを確実に行な
うことができるために、確実にデジタル情報フレームBF
を取り出すことができ、これによって、伝送制御手順信
号を確実に認識することができる。
As a result, since the subsequent data can be reliably separated, the digital information frame BF
Can be taken out, whereby the transmission control procedure signal can be reliably recognized.

ところで、上述した実施例では、フラグFのビット数
と同一の8ビットデータごとに誤り訂正符号を付加して
いるが、このデータの区切りを8ビットの整数倍に設定
してもよい。また、その場合には、そのデータワードに
対して、少なくとも1ビットの誤り訂正できる能力を備
えた誤り訂正符号を選択する必要がある。
By the way, in the above-described embodiment, the error correction code is added for each 8-bit data having the same number of bits of the flag F. However, the delimiter of this data may be set to an integral multiple of 8 bits. In such a case, it is necessary to select an error correction code having a capability of correcting at least one bit error for the data word.

また、上述した実施例では、無線ファクシミリ装置に
ついて本発明を適用しているが、それ以外のデータ伝送
装置についても、同様に本発明を適用できる。
In the above-described embodiment, the present invention is applied to a wireless facsimile apparatus. However, the present invention can be similarly applied to other data transmission apparatuses.

また、上述した実施例では、誤り訂正符号の長さを8
ビットに設定しているが、対象とするデータワードにつ
いて1ビット以上の誤り訂正能力を備えた符号であれば
よく、符号の長さはこれに限ることはない。
In the above embodiment, the length of the error correction code is set to 8
Although the number of bits is set, a code having at least one bit error correction capability for a target data word may be used, and the length of the code is not limited to this.

[効果] 以上説明したように、本発明によれば、特定のビット
パターンからなるフラグで仕切られたフレームデータの
先頭に、フラグを一定数繰り返してなるプリアンブルを
付加して形成した伝送データを伝送するデータ伝送方法
において、送信装置は、上記伝送データを、フラグを構
成するビットパターンのビット数の整数倍からなるブロ
ックデータに区切るとともに、所定の0インサーション
処理を適用した後に、おのおののブロックデータに誤り
訂正符号を付加し、その後、0インサーション処理を行
うことなく伝送する一方、受信装置は、受信信号の先頭
から1ビットシフトしながらブロックデータ長さと誤り
訂正符号長さをあわせたビットデータを切り出してその
ビットデータがフラグおよび誤り訂正符号のビットパタ
ーンに一致するかどうか判定し、この判定が成立する
と、それ以降の受信信号をブロックデータ長さと誤り訂
正符号長さをあわせたビットデータ毎に切り出してそれ
ぞれの切り出したビットデータ単位に誤り訂正符号を参
照してブロックデータを誤り訂正した後に、所定の0デ
リーション処理行って、受信データを形成するようにし
たので、フレームデータの区切りを適切に判定すること
ができ、その結果、常に適切なデータ伝送を行えるとい
う結果を得る。
[Effects] As described above, according to the present invention, transmission data formed by adding a preamble formed by repeating a predetermined number of flags to the beginning of frame data partitioned by a flag composed of a specific bit pattern is transmitted. In the data transmission method, the transmission device divides the transmission data into block data consisting of an integral multiple of the number of bits of a bit pattern constituting a flag, and applies a predetermined 0 insertion process to each block data. The error correction code is added to the received signal, and then the data is transmitted without performing the 0 insertion process. And the bit data matches the bit pattern of the flag and error correction code If this determination is satisfied, the received signal thereafter is cut out for each bit data that is the sum of the block data length and the error correction code length, and the error correction code is referred to for each cut out bit data unit. After the block data is error-corrected, a predetermined 0-deletion process is performed to form the received data, so that the delimiter of the frame data can be appropriately determined. As a result, appropriate data transmission is always performed. The result is that you can do it.

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

第1図は本発明の一実施例にかかる無線ファクシミリ装
置を示すブロック図、第2図は送信処理の一例を示すフ
ローチャート、第3図は伝送データの一例を示す概略
図、第4図はフレーム形式の一例を示す概略図、第5図
は受信処理の一例を示すフローチャート、第6図(a)
は従来のフレーム形式を示す概略図、同図(b)はフラ
グシーケンスのビットパターンを示す概略図、同図
(c)〜(j)は従来の問題を説明するための概略図、
第7図は送信処理の従来例を示すフローチャート、第8
図は受信処理の従来例を示すフローチャートである。 1……ファクシミリ装置、2……無線装置、3……無線
インタフェース回路、11……システム制御部、16……通
信制御部。
FIG. 1 is a block diagram showing a wireless facsimile apparatus according to one embodiment of the present invention, FIG. 2 is a flowchart showing an example of transmission processing, FIG. 3 is a schematic diagram showing an example of transmission data, and FIG. FIG. 5 is a schematic diagram showing an example of a format, FIG. 5 is a flowchart showing an example of a reception process, and FIG.
Is a schematic diagram showing a conventional frame format, FIG. 2B is a schematic diagram showing a bit pattern of a flag sequence, and FIGS. 2C to 2J are schematic diagrams for explaining a conventional problem.
FIG. 7 is a flowchart showing a conventional example of transmission processing, and FIG.
FIG. 2 is a flowchart showing a conventional example of the receiving process. 1 facsimile device, 2 radio device, 3 radio interface circuit, 11 system control unit, 16 communication control unit.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】特定のビットパターンからなるフラグで仕
切られたフレームデータの先頭に、フラグを一定数繰り
返してなるプリアンブルを付加して形成した伝送データ
を伝送するデータ伝送方法において、 送信装置は、上記伝送データを、フラグを構成するビッ
トパターンのビット数の整数倍からなるブロックデータ
に区切るとともに、所定の0インサーション処理を適用
した後に、おのおののブロックデータに誤り訂正符号を
付加し、その後、0インサーション処理を行うことなく
伝送する一方、 受信装置は、受信信号の先頭から1ビットシフトしなが
らブロックデータ長さと誤り訂正符号長さをあわせたビ
ットデータを切り出してそのビットデータがフラグおよ
び誤り訂正符号のビットパターンに一致するかどうか判
定し、この判定が成立すると、それ以降の受信信号をブ
ロックデータ長さと誤り訂正符号長さをあわせたビット
データ毎に切り出してそれぞれの切り出したビットデー
タ単位に誤り訂正符号を参照してブロックデータを誤り
訂正した後に、所定の0デリーション処理行って、受信
データを形成することを特徴とするデータ伝送方法。
1. A data transmission method for transmitting transmission data formed by adding a preamble formed by repeating a predetermined number of flags to the head of frame data partitioned by a flag composed of a specific bit pattern, wherein the transmitting device comprises: The transmission data is divided into block data consisting of an integral multiple of the bit number of the bit pattern constituting the flag, and after applying a predetermined 0 insertion process, an error correction code is added to each block data, and then On the other hand, while transmitting without performing the insertion process, the receiving apparatus cuts out bit data in which the block data length and the error correction code length are combined while shifting one bit from the head of the received signal, and the bit data is flag and error. It is determined whether or not it matches the bit pattern of the correction code. Then, after the received signal is cut out for each bit data in which the block data length and the error correction code length are combined and each block data unit cut out is referred to the error correction code to correct the block data, A data transmission method, wherein a predetermined zero deletion process is performed to form received data.
JP63048654A 1988-03-03 1988-03-03 Data transmission method Expired - Lifetime JP2652398B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63048654A JP2652398B2 (en) 1988-03-03 1988-03-03 Data transmission method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63048654A JP2652398B2 (en) 1988-03-03 1988-03-03 Data transmission method

Publications (2)

Publication Number Publication Date
JPH01223844A JPH01223844A (en) 1989-09-06
JP2652398B2 true JP2652398B2 (en) 1997-09-10

Family

ID=12809343

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63048654A Expired - Lifetime JP2652398B2 (en) 1988-03-03 1988-03-03 Data transmission method

Country Status (1)

Country Link
JP (1) JP2652398B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2796190B2 (en) * 1990-11-06 1998-09-10 松下電器産業株式会社 VOX control method
CN104184543B (en) * 2013-05-24 2018-10-30 华为技术有限公司 A kind of methods, devices and systems of data transmission

Also Published As

Publication number Publication date
JPH01223844A (en) 1989-09-06

Similar Documents

Publication Publication Date Title
KR100297594B1 (en) Data sequence generator, transmitter, information data decoder, receiver, transceiver, data sequence generating method, information data decoding method, and recording medium
RU2195072C2 (en) Mobile station and method for extending information capacity of data frame
US6744784B1 (en) Method of transmitting variable-length frame, transmitter, and receiver
US4471485A (en) Method of protection against errors in transmission of radiotelegraph messages and a device for the application of said method
JP2591242B2 (en) Error detection method
JP2003188854A (en) Method of blind transport format detection
JP2652398B2 (en) Data transmission method
JPS62101173A (en) Data retransmission system
JPH10178419A (en) Error correcting method and its device
JP2739321B2 (en) Transmission control method for data communication device
JP3316730B2 (en) Data communication device
JP2622697B2 (en) Data transmission method
JPS59111468A (en) Facsimile device having correcting function of communication error
JPH10290216A (en) Method for error-correction decoding and device therefor
JPH088844A (en) Digital decoder
JPS58164376A (en) Picture data resending system
JP3536799B2 (en) Frame synchronization circuit and synchronization method, and recording medium recording the program
JP2649683B2 (en) Transmission control method for wireless telephone facsimile machine
JP2656345B2 (en) Digital signal transmission equipment
JPS589449A (en) Data message decoding system
JP2985173B2 (en) Digital information receiver
JPH0761059B2 (en) Route identification method
JPS59131237A (en) Decoding circuit
JPS589452A (en) Synchronizing system for transmission of data
JPH08293801A (en) Method and device for controlling error of digital information