JP2001111645A - Method for processing variable length data frame and method for recovering variable length data frame - Google Patents

Method for processing variable length data frame and method for recovering variable length data frame

Info

Publication number
JP2001111645A
JP2001111645A JP28496699A JP28496699A JP2001111645A JP 2001111645 A JP2001111645 A JP 2001111645A JP 28496699 A JP28496699 A JP 28496699A JP 28496699 A JP28496699 A JP 28496699A JP 2001111645 A JP2001111645 A JP 2001111645A
Authority
JP
Japan
Prior art keywords
data
bits
bit
variable
length data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP28496699A
Other languages
Japanese (ja)
Inventor
Yoshiichi Nishimura
芳一 西村
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.)
TASUKO DENKI KK
Original Assignee
TASUKO DENKI KK
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 TASUKO DENKI KK filed Critical TASUKO DENKI KK
Priority to JP28496699A priority Critical patent/JP2001111645A/en
Publication of JP2001111645A publication Critical patent/JP2001111645A/en
Pending legal-status Critical Current

Links

Landscapes

  • Detection And Prevention Of Errors In Transmission (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Communication Control (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a method that can surely detect frame even when missing of data takes place. SOLUTION: A data stream is divided into data in seven bits, a parity bit in one bit is added to each data divisions, data in eight bits are used for one word, a set of a plurality of words is used for one frame, the respective parity bits are PN coded and the PN-coded parity bits are transmitted. Even when missing data take place on the way of transmission, a demodulator side can surely detect the frame through PN decoding.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、ディジタ
ルデータの伝送において用いられる可変長データの処理
方法に係り、特に、伝送途中におけるデータの欠落等に
対するデータの再現性等の向上を図ったものに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to, for example, a method of processing variable-length data used in digital data transmission, and more particularly to a method of improving data reproducibility against data loss during transmission. About.

【0002】[0002]

【従来の技術】例えば、カラー静止画像をディジタル圧
縮する技術の一つとして公知・周知となっているJPE
G(Joint Photograhic Coding Experts Group)方式等に
おいては、処理対象となるデータの大きさによって、長
さが変化する可変長データフレームが用いられている。
このような可変長データフレームを含むディジタル画像
データ等を、例えば、無線回線を介して伝送するような
場合においては、電波伝搬の状況の変化等により一時的
に無線回線が途絶えることがあり、そのような場合、受
信側で受信できなかったデータの区切りを検出すること
は困難である。
2. Description of the Related Art For example, JPE is known and well-known as one of techniques for digitally compressing a color still image.
In the G (Joint Photograhic Coding Experts Group) method or the like, a variable-length data frame whose length changes depending on the size of data to be processed is used.
In the case of transmitting digital image data or the like including such a variable-length data frame, for example, via a wireless line, the wireless line may be temporarily interrupted due to a change in radio wave propagation conditions and the like. In such a case, it is difficult to detect a segment of data that could not be received on the receiving side.

【0003】[0003]

【発明が解決しようとする課題】従来、上述のような可
変長データフレームにおけるデータの欠落が生じた場合
の対処方法としては、必ずしも満足できるものがなかっ
た。本発明は、上記実情に鑑みてなされたもので、デー
タの欠落が生じても確実にフレーム検出ができる可変長
データフレームの処理方法及び可変長データフレームの
データ再現方法を提供するものである。本発明の他の目
的は、データの再現が確実に行え、信頼性の高い可変長
データフレームの処理方法及び可変長データフレームの
データ再現方法を提供することにある。
Heretofore, there has been no satisfactory method for coping with a data loss in a variable-length data frame as described above. The present invention has been made in view of the above circumstances, and provides a variable length data frame processing method and a variable length data frame data reproduction method capable of reliably detecting a frame even when data is lost. It is another object of the present invention to provide a method for processing variable-length data frames and a method for reproducing data of variable-length data frames, which can reliably reproduce data and have high reliability.

【0004】[0004]

【課題を解決するための手段】本発明の目的を達成する
ため、本発明に係る可変長データフレームの処理方法
は、可変長データフレームを構成するデータ列を第1の
所定のビット数を単位として区切り、当該各々の単位を
構成するデータに対して1ビットのパリティビットをそ
れぞれ付加し、前記所定のビット数と当該所定のビット
数に対する1ビットのパリティビットとを1ワードとし
て、前記データ列が所定ワード数からなるようにし、さ
らに、前記各々のパリティビットをPN符号化した後、
全体を1フレームとするよう構成されてなるものであ
る。
In order to achieve the object of the present invention, a method for processing a variable-length data frame according to the present invention comprises the steps of dividing a data sequence constituting a variable-length data frame into a first predetermined number of bits; The data string is defined by adding a 1-bit parity bit to the data constituting each unit, and setting the predetermined number of bits and the 1-bit parity bit for the predetermined number of bits as one word. Is a predetermined number of words, and further, after each of the parity bits is PN-encoded,
The whole is configured to be one frame.

【0005】かかる処理方法は、可変長データを適宜な
ビット単位で構成するようにし、しかも、個々のビット
毎にPN符号化したパリティビットを付加することで、
伝送途中でデータの欠落等が生じても、PN符号の性質
から復調側では、データを容易に再現することができ、
より信頼性の高い可変長データフレームを提供すること
となるものである。
In this processing method, variable-length data is configured in an appropriate bit unit, and a parity bit PN-encoded for each bit is added.
Even if data is lost during transmission, the data can be easily reproduced on the demodulation side due to the nature of the PN code.
It is intended to provide a more reliable variable length data frame.

【0006】[0006]

【発明の実施の形態】以下、本発明の実施の形態におけ
る可変長データフレームの処理方法及び可変長データフ
レームのデータ再現方法について、図1乃び図2を参照
しつつ説明する。なお、以下に説明する部材、配置等は
本発明を限定するものではなく、本発明の趣旨の範囲内
で種々改変することができるものである。まず、この発
明に係る可変長データフレームの処理方法の実行対象と
なる可変長データフレームとしてXビットのデータ列を
想定する(図1(A)参照)。次に、このデータ列を、
その長さ等を考慮して所定のビット数nを単位として区
切る。ここで、理解を容易にするため、例えば、7ビッ
トを単位としてデータ列を区切る場合を例に採り以下説
明することとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A method of processing a variable-length data frame and a method of reproducing data of a variable-length data frame according to an embodiment of the present invention will be described below with reference to FIGS. The members, arrangements, and the like described below do not limit the present invention, and can be variously modified within the scope of the present invention. First, an X-bit data sequence is assumed as a variable-length data frame to be subjected to the variable-length data frame processing method according to the present invention (see FIG. 1A). Next, this data string is
In consideration of the length and the like, the data is divided into units of a predetermined number of bits n. Here, in order to facilitate understanding, a description will be given below of an example in which a data string is divided in units of 7 bits.

【0007】データ列を、その先頭から7ビット単位で
区切った後、各々の7ビットの単位に対して1ビットの
パリティビットを付加する(図1(B)参照)。なお、
パリティビットは、奇数パリティであっても、偶数パリ
ティであっても、いずれでもよく、ここでは限定しない
ものとする。このようにして、データ列は、7ビット+
1ビットパリティ、すなわち8ビットを単位として、こ
れらが複数集合したものに置換されることとなる。次
に、この7ビット+1ビットパリティからなる8ビット
を1ワードとして、これを所定の個数、例えば31個
(ワード)の集合を便宜的に1フレームとする(図2参
照)。
After the data string is divided in 7-bit units from the head, a 1-bit parity bit is added to each of the 7-bit units (see FIG. 1B). In addition,
The parity bit may be either odd parity or even parity, and is not limited here. In this way, the data string is 7 bits +
One bit parity, that is, 8 bits, is replaced by a set of a plurality of these. Next, 8 bits composed of the 7 bits + 1 bit parity are defined as one word, and a predetermined number, for example, a set of 31 (words) is defined as one frame for convenience (see FIG. 2).

【0008】そして、この1フーレムを構成する31ワ
ードのそれぞれのパリティビットを、PN(Pseudorando
m Noise)符号化した後のものを、伝送対象とする。ここ
で、パリティビットをPN符号化することは、いわゆる
情報の拡散を行うことに等しく、そのため、伝送途中
で、若干のデータの欠落が生じても、受信側での復調が
可能となるものである。ここで、PN符号化は、例え
ば、31ビット長のM系列符号を発生させ、この31ビ
ットのM系列符号と、パリティビットとの乗算を行うこ
とで、そのパリティビットをPN符号化することができ
るものである。
Then, each parity bit of 31 words constituting one fullem is converted into a PN (Pseudorando).
m Noise) after encoding. Here, PN encoding of parity bits is equivalent to performing so-called information spreading, so that even if some data is lost during transmission, demodulation on the receiving side is possible. is there. Here, in the PN encoding, for example, an M-sequence code having a 31-bit length is generated, and the parity bit is PN-encoded by multiplying the 31-bit M-sequence code by a parity bit. You can do it.

【0009】一方、上述のように処理されたデータ列の
復調は、受信された信号に上述した操作とは逆の操作を
施すことで元のデータ列の再生が可能となる。すなわ
ち、受信されたデータ列の配列は、上述したように送信
側での処理の結果、その先頭から元のデータ列の一部で
ある7ビットと、この7ビットに対するパリティビット
をPN符号化したものである31ビットのPN符号とが
31組順に並ぶものとなっている。したがって、受信さ
れたデータ列の先頭からまず、7ビットの信号を抽出
し、その後に続く31ビットに対してPN復号化を施し
て元の1ビットのパリティを再生する。そして、このパ
リティビットにより先に抽出された7ビットの誤りの有
無を判定することができることとなる。このような処理
を、上述した31組について順次繰り返し、その得られ
たデータについて、各々の1ビットのパリティビットを
除去することによって、(7ビット×31個)ビットの
元のデータ列を得ることができることとなる。
On the other hand, in the demodulation of the data string processed as described above, the original data string can be reproduced by performing an operation opposite to the above operation on the received signal. That is, as a result of the processing on the transmission side, as described above, the arrangement of the received data sequence is obtained by PN-encoding the 7 bits that are a part of the original data sequence from the beginning and the parity bits for the 7 bits. 31 PN codes are arranged in the order of 31 sets. Therefore, first, a 7-bit signal is extracted from the head of the received data sequence, and the subsequent 31 bits are subjected to PN decoding to reproduce the original 1-bit parity. Then, the presence or absence of the previously extracted 7-bit error can be determined from the parity bit. Such processing is sequentially repeated for the above-mentioned 31 sets, and from the obtained data, an original data string of (7 bits × 31) bits is obtained by removing each 1-bit parity bit. Can be done.

【0010】なお、ここで、PN復号化は、先にPN符
号化で述べたと同様に、31ビット長のM系列符号を発
生させ、この31ビット長のM系列符号と、受信された
31ビットのデータとの乗算を行うことによりなされる
ものである。また、PN符号化された31ビットのデー
タに、例えば、伝送途中において生じた何らかの障害等
によりデータの抜けが生じたような場合、該当するパリ
ティビットは正しく再生することはできないが、このP
N符号化された部分に続く次のワードの先頭の検出は、
PN符号の特色により容易に行える。したがって、正し
くないパリティビットに対応する7ビットのデータにつ
いては、信頼性は保証されないまでも、従来と異なり、
可変長データフレームの区切りが見失われ、以後のデー
タの再生が困難となるようなことがなくなる。
Here, in the PN decoding, a 31-bit length M-sequence code is generated in the same manner as described above for the PN encoding, and the 31-bit length M-sequence code and the received 31-bit code are used. This is done by multiplying the data with Also, if data is lost in the PN-encoded 31-bit data due to, for example, some failure during transmission, the corresponding parity bit cannot be correctly reproduced.
The detection of the beginning of the next word following the N-encoded part is
It can be easily performed by the special feature of the PN code. Therefore, for 7-bit data corresponding to an incorrect parity bit, unlike the related art, even if the reliability is not guaranteed,
This eliminates the case where the delimiter of the variable-length data frame is lost and the subsequent data reproduction becomes difficult.

【0011】[0011]

【発明の効果】以上、述べたように、本発明によれば、
可変長のデータフレームを、所定のビット数とパリティ
ビットとを単位として構成することで、固定フレームに
等価な構成とし、さらに、それぞれのパリティビットを
PN符号化するようにしたので、伝送途中のデータの欠
落等があっても確実にフレームの検出ができ、復調が容
易となる。特に、無線回線を介した伝送のように伝搬状
態に起因してデータの抜けが生ずるような場合にあって
も信頼性の高いデータの再現を実現することができると
いう効果を奏するものである。
As described above, according to the present invention,
A variable-length data frame is configured with a predetermined number of bits and parity bits as a unit, thereby making the configuration equivalent to a fixed frame.Furthermore, since each parity bit is PN-encoded, the Even if there is a loss of data, etc., the frame can be reliably detected, and demodulation becomes easy. In particular, the present invention has an effect that highly reliable data reproduction can be realized even in a case where data is lost due to a propagation state such as transmission via a wireless line.

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

【図1】本発明の実施の形態における可変長データフレ
ームの処理方法を説明する説明図であって、図1(A)
は、処理されるデータ列を概念的に示す説明図、図1
(B)は、図1(A)に示されたデータ列を7ビットと
これに対する1ビットパリティを単位として構成する場
合を例にした説明図である。
FIG. 1 is an explanatory diagram for explaining a method of processing a variable-length data frame according to an embodiment of the present invention, wherein FIG.
Is an explanatory view conceptually showing a data string to be processed, FIG.
FIG. 1B is an explanatory diagram exemplifying a case in which the data string shown in FIG. 1A is configured with 7 bits and a 1-bit parity for the data string as a unit.

【図2】本発明の実施の形態における可変長データフレ
ームの処理方法が施されたデータ列の最終的な構成を概
念的に示す説明図である。
FIG. 2 is an explanatory diagram conceptually showing a final configuration of a data string to which a method of processing a variable-length data frame according to an embodiment of the present invention has been applied.

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

P…パリティビット P: parity bit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/24 H04L 13/00 307Z H04N 7/13 A Fターム(参考) 5C059 ME01 RC24 RF02 RF04 5K014 AA01 BA02 5K028 AA04 AA14 BB04 EE03 KK01 MM10 NN01 SS07 SS17 5K034 AA05 EE03 HH09 HH12 HH16 MM01 MM25 5K047 AA13 BB01 CC01 DD02 GG33 GG34 HH01 HH57 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification code FI theme coat ゛ (reference) H04N 7/24 H04L 13/00 307Z H04N 7/13 A F term (reference) 5C059 ME01 RC24 RF02 RF04 5K014 AA01 BA02 5K028 AA04 AA14 BB04 EE03 KK01 MM10 NN01 SS07 SS17 5K034 AA05 EE03 HH09 HH12 HH16 MM01 MM25 5K047 AA13 BB01 CC01 DD02 GG33 GG34 HH01 HH57

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 可変長データフレームを構成するデータ
列を第1の所定のビット数を単位として区切り、当該各
々の単位を構成するデータに対して1ビットのパリティ
ビットをそれぞれ付加し、前記所定のビット数と当該所
定のビット数に対する1ビットのパリティビットとを1
ワードとして、前記データ列が所定ワード数からなるよ
うにし、 さらに、前記各々のパリティビットをPN符号化した
後、全体を1フレームとすることを特徴とする可変長デ
ータフレームの処理方法。
1. A data sequence forming a variable-length data frame is divided by using a first predetermined number of bits as a unit, and one bit of parity bit is added to the data forming each unit. And the parity bit of 1 bit for the predetermined number of bits are 1
A method for processing a variable-length data frame, wherein the data string is made up of a predetermined number of words as words, and the whole parity bit is PN-encoded to form one frame as a whole.
【請求項2】 パリティビットのPN符号化は、第2の
所定ビット数のM系列符号を発生させ、この第2の所定
ビット数のM系列符号と、パリティビットとの乗算を行
うことによりなされるものであることを特徴とする請求
項1記載の可変長データフレームの処理方法。
2. The PN encoding of parity bits is performed by generating an M-sequence code having a second predetermined number of bits and multiplying the M-sequence code having the second predetermined number of bits by a parity bit. 2. The method according to claim 1, wherein the variable-length data frame is processed.
【請求項3】 請求項2記載の可変長データフレームの
処理方法によって処理された可変長データフレームのデ
ータを再現する可変長データフレームのデータ再現方法
であって、 可変長データフレームの先頭から第1の所定のビット数
を抽出し、その後に続く、第2の所定のビット数を抽出
することを、前記所定ワード数に対応する回数繰り返
し、 前記第2の所定のビット数のデータに対しては、それぞ
れPN復号化を施して元の1ビットのパリティビットを
それぞれ再生し、 前記再生された各々の1ビットのパリティビットを除去
した残余のデータを元のデータ列とすることを特徴とす
る可変長データフレームのデータ再現方法。
3. A variable-length data frame data reproducing method for reproducing data of a variable-length data frame processed by the variable-length data frame processing method according to claim 2, wherein: Extracting a predetermined number of bits of 1 and then extracting a second predetermined number of bits, the number of times corresponding to the predetermined number of words, is repeated for the data of the second predetermined number of bits. Are respectively subjected to PN decoding to reproduce the original 1-bit parity bit, and the remaining data obtained by removing the reproduced 1-bit parity bit is used as an original data sequence. Data reproduction method for variable length data frames.
【請求項4】PN復号化は、第2の所定ビット数のM系
列符号を発生させ、この第2の所定ビット数のM系列符
号と、可変長データフレームから抽出された第2の所定
ビット数のデータとの乗算を行うことによってなされる
ものであることを特徴とする請求項3記載の可変長デー
タフレームのデータ再現方法。
4. The PN decoding generates an M-sequence code having a second predetermined number of bits, and the M-sequence code having the second predetermined number of bits and a second predetermined bit extracted from the variable length data frame. 4. The data reproducing method for a variable-length data frame according to claim 3, wherein the method is performed by multiplying a number of data.
JP28496699A 1999-10-06 1999-10-06 Method for processing variable length data frame and method for recovering variable length data frame Pending JP2001111645A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28496699A JP2001111645A (en) 1999-10-06 1999-10-06 Method for processing variable length data frame and method for recovering variable length data frame

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28496699A JP2001111645A (en) 1999-10-06 1999-10-06 Method for processing variable length data frame and method for recovering variable length data frame

Publications (1)

Publication Number Publication Date
JP2001111645A true JP2001111645A (en) 2001-04-20

Family

ID=17685397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28496699A Pending JP2001111645A (en) 1999-10-06 1999-10-06 Method for processing variable length data frame and method for recovering variable length data frame

Country Status (1)

Country Link
JP (1) JP2001111645A (en)

Similar Documents

Publication Publication Date Title
US4245257A (en) Transmission method and system for facsimile signal
JPH0443721A (en) Digital signal decoder
US7533326B2 (en) Adaptive decoder for decoding an asynchronous data stream
KR20040046649A (en) Encoding apparatus and method for error-correction, and decoding apparatus and method therefor
US5381422A (en) Device for correcting code error
JP2591242B2 (en) Error detection method
US4680791A (en) Digital video signal process apparatus for use in a video tape recorder
JP3269035B2 (en) Decryption device
JP2001111645A (en) Method for processing variable length data frame and method for recovering variable length data frame
JPH03270526A (en) Error inflection suppressing system in differential encoding
JP3316730B2 (en) Data communication device
JP3003460B2 (en) Encoding and decoding device
US5963152A (en) Resolving block method for synchronization correction in run-length limited codes
JPH09121347A (en) Method and device for encoding/decoding moving image signal
JP3061975B2 (en) Serial transmission method
WO1984004218A1 (en) Improved error protection of linearly coded digital signals
JP4195759B2 (en) Intercom transmission system
EP0265488A1 (en) Digital data transmission with detection of errors, including word framing errors
JP3756029B2 (en) Video signal encoding / decoding method and encoding / decoding device
JP3475931B2 (en) Receiver
JPH03198432A (en) Encoding/decoding device
JPH05114864A (en) Information transmission and recording device
KR20040014723A (en) Encoding apparatus and method, and decoding apparatus and method for correcting error
JP2762528B2 (en) Transmission line encoding / decoding method
JPH1041921A (en) Decoder and coder