JPH04213221A - Information source symbol appearance probability estimating device - Google Patents

Information source symbol appearance probability estimating device

Info

Publication number
JPH04213221A
JPH04213221A JP40091690A JP40091690A JPH04213221A JP H04213221 A JPH04213221 A JP H04213221A JP 40091690 A JP40091690 A JP 40091690A JP 40091690 A JP40091690 A JP 40091690A JP H04213221 A JPH04213221 A JP H04213221A
Authority
JP
Japan
Prior art keywords
information source
symbol
state
source symbol
storage means
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
JP40091690A
Other languages
Japanese (ja)
Inventor
Katsumi Wakano
若野 勝己
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.)
NTT Inc
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP40091690A priority Critical patent/JPH04213221A/en
Publication of JPH04213221A publication Critical patent/JPH04213221A/en
Pending legal-status Critical Current

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To attain effective utilization of the device by providing a storage area storing 2-dimension symbols and a storage area storing an information symbol. CONSTITUTION:A past information source symbol is stored in an information source symbol storage means 13, and a part of two-dimension series representing a current information symbol from which an estimated appearance probability is calculated is stored in a two-dimension series storage means 12, and the state depending on the means 12, 13 is calculated by a state calculation means 14. Each estimated appearance probability of 2-dimension elements corresponding to the calculated state from a count storage means 15 is calculated by an estimated appearance probability calculation means 16 by using an arithmetic ratio at an estimated appearance probability calculation means 16. Thus, it is not required to clarify the relation between an information source symbol of 3-dimension or over and a code word, and the appearance probability of elements representing the information source symbol of the information source is sequentially estimated based on the arrangement of real past information source symbols. Thus, the storage device is effectively utilized by implementing the efficient coding in this way.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は情報源記号生起確率推定
装置に係り、特にディジタルデ−タ処理の分野において
デ−タの性質を利用することにより、情報源記号の生起
確率を随時推定することが可能な情報源記号生起確率推
定装置に関する。
[Industrial Application Field] The present invention relates to an information source symbol occurrence probability estimating device, particularly in the field of digital data processing, which estimates the occurrence probability of an information source symbol at any time by utilizing data properties. The present invention relates to an information source symbol occurrence probability estimation device capable of estimating occurrence probability of an information source symbol.

【0002】0002

【従来の技術】一般に、符号化した後の系列ができるだ
け短くなるように情報源の符号化を行う場合には、符号
効率を考えて符号長が全体の符号長に占める割合である
冗長度を低減するために情報源記号の生起確率を推定す
る。符号化には、推定した生起確率に基づいた符号語長
で情報源から生成されるデ−タ列を表現する方法がある
。符号化を行う側は情報源記号の出現回数の計数を行う
ことにより、生起確率を算出する。このとき、三元以上
の情報源記号を符号化するときには、符号化後の表現で
ある符号語と情報源を一意に関係付けることが必要であ
る。
[Prior Art] Generally, when encoding an information source so that the encoded sequence is as short as possible, redundancy, which is the ratio of the code length to the overall code length, is set in consideration of coding efficiency. Estimate the probability of occurrence of the source symbol to reduce it. In encoding, there is a method of expressing a data string generated from an information source using a code word length based on an estimated probability of occurrence. The encoding side calculates the probability of occurrence by counting the number of times the information source symbol appears. At this time, when encoding a ternary or more information source symbol, it is necessary to uniquely associate the code word that is the encoded expression with the information source.

【0003】図4は従来の情報源記号生起確率推定装置
の一例の構成図を示す。同図中、二元系列保持部41は
情報源からの情報源記号を表す二元記号の部分系列を保
持する。状態算出部42は二元系列保持部41の記号系
列の状態から一意の状態を算出する。計数保持部43は
各状態毎に用意されており(この例では2状態の計数保
持部)、情報源記号の出現回数を状態算出部42で状態
の算出結果より算出する。この計数保持部43には第1
の計数保持部44と第2の計数保持部45の2つの保持
部がある。第1の計数保持部44は状態算出部42で算
出された状態において、二元記号の生起回数が保持され
る。第2の計数保持部45は状態算出部42で算出され
た状態において二元記号の他の一つが生起した回数を保
持する。推定生起確率算出部46は第1の計数保持部4
4と第2の計数保持部45の内容から推定生起確率を算
出する。
FIG. 4 shows a configuration diagram of an example of a conventional information source symbol occurrence probability estimation device. In the figure, a binary sequence holding unit 41 holds a partial sequence of binary symbols representing information source symbols from an information source. The state calculation unit 42 calculates a unique state from the state of the symbol sequence in the binary sequence holding unit 41. A count holding section 43 is prepared for each state (in this example, a count holding section for two states), and the state calculation section 42 calculates the number of appearances of the information source symbol from the state calculation result. This count holding section 43 has a first
There are two holding sections, a count holding section 44 and a second count holding section 45. The first count holding unit 44 holds the number of occurrences of the binary symbol in the state calculated by the state calculation unit 42. The second count holding unit 45 holds the number of times the other binary symbol occurs in the state calculated by the state calculation unit 42. The estimated occurrence probability calculation unit 46 is the first count holding unit 4
4 and the contents of the second count holding unit 45, the estimated probability of occurrence is calculated.

【0004】従来の情報源記号生起確率推定装置には2
つのタイプがある。先ず、三元以上の情報源記号を符号
化する場合における第1の情報源記号生起確率推定装置
は、予め、情報源から出力される情報源記号と符号の記
号の系列である符号語の関係を示し、情報源記号の出現
回数を過去の情報源記号の並びである系列を一つの状態
とし、この状態毎に用意した計数保持部43により計数
し、推定生起確率算出部46で生起確率を推定する。
[0004] The conventional information source symbol occurrence probability estimating device has two methods.
There are two types. First, in the case of encoding a ternary or more information source symbol, the first information source symbol occurrence probability estimating device calculates in advance the relationship between the information source symbol output from the information source and a code word that is a sequence of code symbols. , the number of occurrences of the information source symbol is counted by the count holding unit 43 prepared for each state, and the occurrence probability is calculated by the estimated occurrence probability calculation unit 46. presume.

【0005】一方、三元以上の情報源記号を符号化する
場合における第2の情報源記号生起確率推定装置は、情
報源からの情報源記号を二元の記号(0及び1)で置き
換えて二元系列保持部41に保持し、本来の情報源を二
元の情報源記号からなる情報源とみなし、過去の二元の
情報源の記号の並びである系列を一つの状態とし、この
状態毎に用意した計数保持部43により計数し、推定生
起確率算出部46で生起確率を推定する。
On the other hand, when encoding a ternary or more information source symbol, a second information source symbol occurrence probability estimation device replaces the information source symbol from the information source with a binary symbol (0 and 1). It is stored in the binary sequence holding unit 41, and the original information source is regarded as an information source consisting of binary information source symbols, and the sequence that is the sequence of past binary information source symbols is regarded as one state. The count is counted by a count holding unit 43 prepared for each time, and the estimated probability of occurrence calculation unit 46 estimates the probability of occurrence.

【0006】[0006]

【発明が解決しようとする課題】しかるに三元以上の情
報源記号を符号化する場合における第1の情報源記号生
起確率推定装置は情報源記号と情報源記号の系列に対し
て別の記号の系列を割り当てる符号の系列である符号語
の関係を明示する必要があり、相応の表現量が必要であ
る。一方、三元以上の情報源記号を符号化する場合にお
ける第2の情報源記号生起確率推定装置は、情報源記号
を二元と見なすため、実際の情報源記号の過去の並びに
よる状態を持つことが出来ない。また、情報源記号の生
起確率を推定することができないという問題があった。
However, when encoding ternary or more information source symbols, the first information source symbol occurrence probability estimating device is designed to estimating the occurrence probability of another symbol for a sequence of information source symbols and information source symbols. It is necessary to clearly indicate the relationship between code words, which are sequences of codes to which sequences are assigned, and a corresponding amount of expression is required. On the other hand, when encoding information source symbols with three or more elements, the second information source symbol occurrence probability estimating device considers the information source symbols to be binary, so it has a state based on the past arrangement of the actual information source symbols. I can't do that. Furthermore, there is a problem in that the probability of occurrence of an information source symbol cannot be estimated.

【0007】次に具体的な例を用いて説明する。例えば
、256元の情報源記号からなる情報源記号は二元記号
を8個等長とした記号列で一意に表現することができる
。例として情報源の出力“AABBAC”を二元の記号
0、1で表現すると、 となる。この時、“A”を“01000001”、“B
”を“01000010”、“C”を“0100001
1”と表現している。また、“X”を“1000001
0、“Y”を“10000100”と表現するとすれば
、従来の技術の二元記号からなる記憶領域に記憶された
過去の系列に基づいて、次の記号の生起確率を推定する
とき過去の系列として“AB”の部分が記憶されている
時、即ち“0100000101000010”が二元
記号からなる記憶領域の二元系列保持部41にある時、
次の記号0の生起確率は計数保持部43の“01000
00101000010”の状態において二元記号“0
”が次の要素となった要素と二元記号“1”が次の要素
となった回数から算出される。
Next, explanation will be given using a specific example. For example, an information source symbol consisting of 256-element information source symbols can be uniquely expressed by a symbol string of eight binary symbols of equal length. As an example, if the output "AABBAC" of the information source is expressed using binary symbols 0 and 1, it becomes as follows. At this time, “A” is “01000001”, “B”
” to “01000010”, “C” to “0100001”
1”. Also, “X” is expressed as “1000001”.
0, "Y" is expressed as "10000100", when estimating the probability of occurrence of the next symbol based on the past series stored in the storage area consisting of binary symbols in the conventional technology, the past series When the part “AB” is stored as
The probability of occurrence of the next symbol 0 is “01000” in the count holding unit 43.
In the state of “00101000010”, the binary symbol “0”
” is the next element and the number of times the binary symbol “1” is the next element.

【0008】二元記号からなる記憶領域の二元系列保持
部41には“1000001010000100”が記
憶されており、最終の二元記号が“0”であるので、次
の記号“1”の生起確率を推定することになる。この時
、過去の系列として記憶されているものは系列“AB”
とは関連のない“XY”という形になり、情報源記号“
XY”に引き続き生起する要素の生起確率推定のための
計数保持部43に影響すると共に、“AB”の次にBが
生起する確率も求められなくなる。
"1000001010000100" is stored in the binary sequence holding unit 41 of the storage area consisting of binary symbols, and since the final binary symbol is "0", the probability of occurrence of the next symbol "1" is will be estimated. At this time, the past series stored is series “AB”.
The information source symbol “
This affects the count holding unit 43 for estimating the probability of occurrence of an element occurring subsequent to "XY", and the probability that B occurs next to "AB" can no longer be determined.

【0009】本発明は上記の点に鑑みなされたもので、
有限要素の情報源記号によって構成されるデ−タ列を過
去の経歴に基づいて、各情報源記号の生起確率を推定し
、現在の情報源記号を符号化する圧縮符号化における情
報源の記号の推定において、三元以上の情報源記号と符
号語の関係を明示する必要を無くし、情報源記号の並ぶ
系列による状態毎に用意した計数保持部により推定を可
能にする情報源記号生起確率推定装置を提供することを
目的とする。
[0009] The present invention has been made in view of the above points.
Information source symbol in compression encoding that estimates the probability of occurrence of each information source symbol based on the past history of a data string composed of finite element information source symbols, and encodes the current information source symbol. Information source symbol occurrence probability estimation that eliminates the need to specify the relationship between ternary or higher information source symbols and code words, and enables estimation using a count holding unit prepared for each state based on a sequence of information source symbols. The purpose is to provide equipment.

【0010】0010

【課題を解決するための手段】図1は本発明の原理構成
図を示す。有限要素の情報元記号によって構成されるデ
−タ列を過去の経歴に基づいて各情報源記号の生起確率
を推定する情報源記号生起確率推定装置11において、
情報源10からの情報源記号を表す二元記号の部分系列
を保持する二元系列記憶手段12と、情報源記号を保持
する情報源記号記憶手段13と、二元系列記憶手段12
と情報源記号記憶手段13の状態から一意の状態を算出
する状態算出手段14と、状態毎に情報源記号の生起回
数を保持する2個で一組の計数記憶手段15と、計数記
憶手段15からの計算より推定生起確率を算出する推定
生起確率算出手段16からなり、過去の情報源記号を情
報源記号記憶手段13に記憶し、現在の情報源記号を表
す二元系列のうち、推定生起確率を算出した部分を二元
系列記憶手段12に記憶し、二元系列記憶手段12と情
報源記号記憶手段13によって定まる状態を状態算出手
段により算出し、算出された状態に対応する計数記憶手
段15から二元要素の各々の推定生起確率を算術比によ
って算出する。
[Means for Solving the Problems] FIG. 1 shows a diagram of the basic configuration of the present invention. In the information source symbol occurrence probability estimating device 11 that estimates the occurrence probability of each information source symbol in a data string composed of finite element information source symbols based on past history,
A binary sequence storage means 12 that holds a partial sequence of binary symbols representing the information source symbol from the information source 10, an information source symbol storage means 13 that holds the information source symbol, and a binary sequence storage means 12.
and a state calculation means 14 that calculates a unique state from the state of the information source symbol storage means 13, a set of two count storage means 15 that holds the number of occurrences of the information source symbol for each state, and a count storage means 15. The estimated occurrence probability calculation means 16 calculates the estimated probability of occurrence from the calculations, and stores past information source symbols in the information source symbol storage means 13, The part for which the probability has been calculated is stored in the binary sequence storage means 12, the state determined by the binary sequence storage means 12 and the information source symbol storage means 13 is calculated by the state calculation means, and the count storage means corresponds to the calculated state. 15, the estimated probability of occurrence of each of the two-dimensional elements is calculated by an arithmetic ratio.

【0011】[0011]

【作用】本発明は一つの二元の記号(0と1)からなる
記憶領域と、一つの情報源記号の集合からなる記憶領域
から示される状態毎に、計数記憶手段を持っており、情
報源記号の並びによる状態毎に二元記号の一つが生起し
た回数を記憶する計数記憶手段と状態算出手段により算
出された状態で二元記号の他の一つの生起した回数を記
憶する計数記憶手段の2つの計数記憶手段を有している
。これにより、三元以上の情報元記号と符号語の関係を
明示する必要を無くし、情報源の情報源記号を表す要素
の生起確率を実際の過去の情報源記号の並びかたに基づ
いて逐次推定する。
[Operation] The present invention has counting storage means for each state indicated by a storage area consisting of one binary symbol (0 and 1) and a storage area consisting of one set of information source symbols, A counting storage means for storing the number of times one of the binary symbols has occurred for each state based on the arrangement of source symbols; and a counting storage means for storing the number of times the other binary symbol has occurred in the state calculated by the state calculation means. It has two counting storage means. This eliminates the need to clearly state the relationship between ternary or more information source symbols and code words, and calculates the probability of occurrence of elements representing the source symbols of an information source based on the actual arrangement of past information source symbols. presume.

【0012】0012

【実施例】図2は本発明の実施例のシステム構成を示し
、情報源記号生起確率推定装置を算術符号化装置の生起
確率の推定装置として用いた例を示す。同図中、図1と
同様の構成部分には同一符号を付す。本実施例のシステ
ムは記憶媒体また、伝送媒体等の情報源10、算術符号
化装置21、情報源記号生起確率推定装置11、記憶媒
体又は伝送媒体16により構成される。
Embodiment FIG. 2 shows a system configuration of an embodiment of the present invention, and shows an example in which an information source symbol occurrence probability estimating device is used as an occurrence probability estimating device of an arithmetic coding device. In the figure, the same components as in FIG. 1 are given the same reference numerals. The system of this embodiment includes an information source 10 such as a storage medium or a transmission medium, an arithmetic coding device 21, an information source symbol occurrence probability estimation device 11, and a storage medium or transmission medium 16.

【0013】記憶媒体又は、伝送媒体等の情報源10は
情報源記号のデ−タ列を発生させる。この情報源10か
ら出力される情報源記号は二元記号の列として算術符号
化装置21に入力される。これにより、情報源記号は一
つの二元記号について情報源記号生起確率推定装置11
から得られる二元記号の推定生起確率に従って符号化さ
れる。情報源記号生起確率推定装置11は算術符号化装
置21よりも1クロック遅らせた二元記号が入力され、
情報源記号生起確率推定装置11の状態を交信する。
An information source 10, such as a storage medium or a transmission medium, generates a data string of source symbols. The information source symbols output from the information source 10 are input to the arithmetic encoding device 21 as a string of binary symbols. As a result, the information source symbol is determined by the information source symbol occurrence probability estimation device 11 for one binary symbol.
is encoded according to the estimated probability of occurrence of the binary symbol obtained from The information source symbol occurrence probability estimating device 11 receives a binary symbol delayed by one clock from the arithmetic coding device 21, and
The status of the source symbol occurrence probability estimation device 11 is communicated.

【0014】図3は本発明の一実施例の構成を示す。同
図中、図1、図4と同一構成部分には同一符号を付す。 本実施例の情報源記号生起確率推定装置11は二元系列
保持部41、情報源記号保持部30、状態算出部42、
計数保持部31、第1の計数保持部32、第2の計数保
持部33、推定生起確率算出部46で構成される。二元
系列保持部41は記憶媒体等の情報源10より情報源記
号を二元の記号の部分系列を記憶している。状態算出部
42は二元系列保持部41の記号系列の状態から一意の
状態を算出する。情報源記号保持部30は1記号8ビッ
トとし、全部で48ビット(6バイト)分の二元系列保
持部41からの過去の情報源記号を記憶する。計数保持
部31は情報源記号の生起回数が記憶され、そのうち、
計数保持部32は二元記号の一つが生起した回数を記憶
し、計数保持部33は状態算出部42より算出された状
態により、二元記号の他の一つの生起した回数を記憶す
る。推定生起確率算出部46はゼロデバイスにならない
方法で計数保持部32,33の計数の比と求める。
FIG. 3 shows the configuration of an embodiment of the present invention. In the figure, the same components as in FIGS. 1 and 4 are given the same reference numerals. The information source symbol occurrence probability estimation device 11 of this embodiment includes a binary sequence holding section 41, an information source symbol holding section 30, a state calculation section 42,
It is composed of a count holding section 31, a first count holding section 32, a second count holding section 33, and an estimated occurrence probability calculation section 46. The binary series holding unit 41 stores information source symbols and partial series of binary symbols from the information source 10 such as a storage medium. The state calculation unit 42 calculates a unique state from the state of the symbol sequence in the binary sequence holding unit 41. The information source symbol holding unit 30 stores a total of 48 bits (6 bytes) of past information source symbols from the binary sequence holding unit 41, with each symbol being 8 bits. The count holding unit 31 stores the number of occurrences of the information source symbol, and among them,
The count holding unit 32 stores the number of times one of the binary symbols has occurred, and the count holding unit 33 stores the number of times the other binary symbol has occurred based on the state calculated by the state calculation unit 42. The estimated occurrence probability calculation section 46 calculates the ratio of the counts of the count holding sections 32 and 33 using a method that does not result in a zero device.

【0015】次に推定生起確率の算出までの動作を説明
する。先ず、情報源10より現在の情報源記号が二元系
列保持部41に供給され、さらに、二元系列保持部41
から情報源記号保持部30と状態算出部41に供給され
る。次に二元系列保持部41が表す二元記号の系列が現
在の情報源記号となる時、情報源記号保持部30は保持
されている情報源記号を1バイト分シフトし、情報源記
号保持部30に二元系列保持部41の情報源記号を記憶
し、二元系列保持部41を空とする。さらに空になった
二元系列保持部41には情報源11からの現在の情報源
記号が保持される。
Next, the operation up to the calculation of the estimated probability of occurrence will be explained. First, the current information source symbol is supplied from the information source 10 to the binary sequence holding unit 41, and further, the current information source symbol is supplied to the binary sequence holding unit 41.
The information is supplied to the information source symbol holding unit 30 and the state calculation unit 41 from the source symbol storage unit 30 and the state calculation unit 41. Next, when the binary symbol series represented by the binary sequence holding unit 41 becomes the current information source symbol, the information source symbol holding unit 30 shifts the held information source symbol by one byte and holds the information source symbol. The information source symbol of the binary sequence holding section 41 is stored in the section 30, and the binary sequence holding section 41 is left empty. Further, the empty binary sequence holding unit 41 holds the current information source symbol from the information source 11.

【0016】このとき、計数保持部31には、実際の情
報源記号の生起回数が保持される。第1の計数保持部3
2は状態算出部42から算出された状態において、二元
記号の一つが生起した回数を保持する計数保持部である
。第2の計数保持部33は状態算出部42から算出され
た状態において、二元記号の他の一つが生起した回数を
保持する計数保持部である。これにより、推定生起確率
算出部46は第1の計数保持部32と第2の計数保持部
33から算術比を計算することにより推定生起確率を算
出し、記憶媒体16に供給する。
At this time, the count holding unit 31 holds the actual number of occurrences of the information source symbol. First count holding unit 3
2 is a count holding unit that holds the number of times one of the binary symbols occurs in the state calculated by the state calculation unit 42. The second count holding unit 33 is a count holding unit that holds the number of times the other one of the binary symbols occurs in the state calculated by the state calculation unit 42. As a result, the estimated occurrence probability calculation unit 46 calculates the estimated probability of occurrence by calculating the arithmetic ratio from the first count holding unit 32 and the second count holding unit 33, and supplies the calculated probability to the storage medium 16.

【0017】次に具体的な例を用いて説明する。例えば
、256元の情報源記号からなる情報源記号は二元記号
を8個等長とした記号列で一意に表現することができる
。例として情報源の出力“AABBAC”を二元の記号
0、1で表現すると、 となる。この時、“A”を“01000001”、“B
”を“01000010”、“C”を“0100001
1”と表現している。
Next, explanation will be given using a specific example. For example, an information source symbol consisting of 256-element information source symbols can be uniquely expressed by a symbol string of eight binary symbols of equal length. As an example, if the output "AABBAC" of the information source is expressed using binary symbols 0 and 1, it becomes as follows. At this time, “A” is “01000001”, “B”
” to “01000010”, “C” to “0100001”
It is expressed as 1”.

【0018】本発明においては、二元系列保持部41と
情報源記号保持部30を持つことにより、情報源記号保
持部30には“A”の“01000001”が、また、
二元系列保持部41には“B”の“01000010”
が記憶され、次の記号“0”の生起確率を推定すること
になる。この時、次の記号“0”の生起確率の推定は過
去の情報源記号と二元記号“1”によって状態算出部4
2で算出された状態において、計数保持部32,33が
それぞれの生起回数を保持し、推定生起確率算出部46
により計数保持部32,33の算術比を計算することに
より推定生起確率が求められる。
In the present invention, by having the binary sequence holding unit 41 and the information source symbol holding unit 30, the information source symbol holding unit 30 stores “01000001” of “A” and
“01000010” of “B” is stored in the binary series holding unit 41.
is stored, and the probability of occurrence of the next symbol "0" is estimated. At this time, the probability of occurrence of the next symbol "0" is estimated by the state calculation unit 4 based on the past information source symbol and the binary symbol "1".
In the state calculated in step 2, the count holding units 32 and 33 hold the respective number of occurrences, and the estimated occurrence probability calculation unit 46
By calculating the arithmetic ratio of the count holding units 32 and 33, the estimated probability of occurrence is obtained.

【0019】次に情報源記号保持部30には二元系列保
持部41が表している情報源記号の“B”の“0100
0010”が記憶され、二元系列保持部41には“0”
が記憶され、次の記号“1”の生起確率の推定は、過去
の情報源記号と二元記号“0”によって状態算出部42
で算出される状態において、計数保持部32,33がそ
れぞれの生起回数を保持し、推定生起確率算出部46に
より計数保持部32,33の算術比を計算することによ
り推定生起確率が求められる。
Next, the information source symbol holding unit 30 stores the “0100” of the information source symbol “B” represented by the binary sequence holding unit 41.
0010” is stored, and “0” is stored in the binary sequence holding unit 41.
is stored, and the probability of occurrence of the next symbol "1" is estimated by the state calculation unit 42 using the past information source symbol and the binary symbol "0".
In the state calculated by , the count holding units 32 and 33 hold the number of occurrences, and the estimated occurrence probability calculating unit 46 calculates the arithmetic ratio of the count holding units 32 and 33 to obtain the estimated probability of occurrence.

【0020】これにより二元の記号を保持する記憶領域
と一つの情報源記号の集合からなる記憶領域から示され
る状態毎に計数保持部31を用意して、異なる単位で2
つに分けられた記憶領域による状態に基づく計数保持部
31により、三元以上の情報元記号と符号語の関係を明
示する必要をなくし、情報源記号を表す要素の生起確率
を実際の過去の情報源記号の並びに基づいて推定できる
As a result, a count holding section 31 is prepared for each state indicated by a storage area that holds binary symbols and a storage area that consists of a set of one information source symbol, and two
The count holding unit 31 based on the state using storage areas divided into three parts eliminates the need to clearly state the relationship between three or more information source symbols and code words, and calculates the probability of occurrence of the element representing the information source symbol based on the actual past value. It can be estimated based on the arrangement of information source symbols.

【0021】[0021]

【発明の効果】上記のように本発明によれば、二元の記
号を保持する記憶領域と、情報源記号を保持する記憶領
域を具備することにより状態を算出し、各々の状態にお
いて計数保持部を具備する情報源記号生起確率推定装置
であるから、符号化する情報源記号を表す要素の生起確
率を実際の過去の情報源記号の並びに基づいて、随時推
定できる。このような方法で、効率のよい符号化を行う
ことにより、記憶装置の有効利用が実現し、実用上極め
て有用である。
Effects of the Invention As described above, according to the present invention, states are calculated by providing a storage area that holds binary symbols and a storage area that holds information source symbols, and counts are maintained in each state. Since the information source symbol occurrence probability estimating device is equipped with an information source symbol occurrence probability estimation device, the occurrence probability of an element representing an information source symbol to be encoded can be estimated at any time based on the actual past arrangement of information source symbols. By performing efficient encoding using such a method, effective use of the storage device can be realized, which is extremely useful in practice.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の原理構成図である。FIG. 1 is a diagram showing the principle configuration of the present invention.

【図2】本発明の一実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment of the present invention.

【図3】本発明の一実施例の構成図である。FIG. 3 is a configuration diagram of an embodiment of the present invention.

【図4】従来の情報源記号生起確率推定装置の一例の構
成図である。
FIG. 4 is a configuration diagram of an example of a conventional information source symbol occurrence probability estimation device.

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

10  情報源 11  情報源記号生起確率推定装置 12  二元系列記憶手段 13  情報源記号記憶手段 14  状態算出手段 15  計数記憶手段 16  推定生起確率算出手段 30  情報源記号保持部 41  二元系列保持部 42  状態算出部 31  計数保持部 46  推定生起確率算出部 10 Information source 11 Information source symbol occurrence probability estimation device 12 Binary series storage means 13 Information source symbol storage means 14 Status calculation means 15 Count storage means 16 Estimated occurrence probability calculation means 30 Information source symbol holding section 41 Binary series holding unit 42 Status calculation unit 31 Count holding part 46 Estimated occurrence probability calculation unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  有限要素の情報元記号によって構成さ
れるデ−タ列を過去の経歴に基づいて情報源からの各情
報源記号の生起確率を推定する情報源記号生起確率推定
装置において、情報源からの情報源記号を表す二元記号
の部分系列を保持する二元系列記憶手段と、該二元系列
記憶手段からの情報源記号を保持する情報源記号記憶手
段と、該二元系列記憶手段と該情報源記号記憶手段の状
態から一意の状態を算出する状態算出手段と、状態毎に
情報源記号の生起回数を保持する2個で一組の計数記憶
手段と、該計数記憶手段からの計数より推定生起確率を
算出する推定生起確率算出手段からなり、過去の情報源
記号を前記情報源記号記憶手段に記憶し、現在の情報源
記号を表す二元系列のうち、推定生起確率を算出した部
分を前記二元系列記憶手段に記憶し、前記情報源記憶手
段と前記二元系列記憶手段によって定まる状態を前記状
態算出手段により算出し、算出された状態に対応する前
記計数記憶手段から二元要素の各々の推定生起確率を算
術比によって算出することを特徴とする情報源記号生起
確率推定装置。
Claim 1. An information source symbol occurrence probability estimating device for estimating the occurrence probability of each information source symbol from an information source based on past history of a data string composed of finite element information source symbols. binary sequence storage means for holding a subsequence of binary symbols representing information source symbols from a source; information source symbol storage means for holding information source symbols from said binary sequence storage means; and said binary sequence storage. a state calculation means for calculating a unique state from the state of the information source symbol storage means; a set of two count storage means for retaining the number of occurrences of the information source symbol for each state; the estimated occurrence probability calculating means calculates the estimated probability of occurrence from the count of The calculated portion is stored in the binary series storage means, the state determined by the information source storage means and the binary series storage means is calculated by the state calculation means, and the state corresponding to the calculated state is stored in the count storage means. An information source symbol occurrence probability estimating device characterized in that the estimated probability of occurrence of each of two-dimensional elements is calculated by an arithmetic ratio.
JP40091690A 1990-12-07 1990-12-07 Information source symbol appearance probability estimating device Pending JPH04213221A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40091690A JPH04213221A (en) 1990-12-07 1990-12-07 Information source symbol appearance probability estimating device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40091690A JPH04213221A (en) 1990-12-07 1990-12-07 Information source symbol appearance probability estimating device

Publications (1)

Publication Number Publication Date
JPH04213221A true JPH04213221A (en) 1992-08-04

Family

ID=18510780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40091690A Pending JPH04213221A (en) 1990-12-07 1990-12-07 Information source symbol appearance probability estimating device

Country Status (1)

Country Link
JP (1) JPH04213221A (en)

Similar Documents

Publication Publication Date Title
Jones An efficient coding system for long source sequences
JP3017379B2 (en) Encoding method, encoding device, decoding method, decoder, data compression device, and transition machine generation method
US5471500A (en) Soft symbol decoding
JP2549254B2 (en) Method and apparatus for predicting occurrence probability of arbitrary symbol in finite alphabet
JPS6217418B2 (en)
US6275538B1 (en) Technique for finding a starting state for a convolutional feedback encoder
US5594742A (en) Bidirectional trellis coding
EP0438907A2 (en) Improved error trapping decoding method and apparatus
JPH09505952A (en) Programmable redundancy / syndrome generator
KR20040044589A (en) A Soft-Input Decoding Method of Reed-Muller Codes Using Majority Logic and Apparatus thereof
Ryabko Fast and efficient coding of information sources
Mascella et al. Efficient m-ary balanced codes which are invariant under symbol permutation
JPS6374324A (en) Method for probability fitting in arithmetic encoding system
US20030113030A1 (en) Encoding apparatus, decoding apparatus, encoding/decoding apparatus, encoding method, decoding method, encoding/decoding method, and programs
US6910177B2 (en) Viterbi decoder using restructured trellis
JPS6352812B2 (en)
Herro et al. Bit error probability calculations for convolutional codes with short constraint lengths on very noisy channels
JPS5919453A (en) Metric arithmetic circuit
JP3235333B2 (en) Viterbi decoding method and Viterbi decoding device
CN1374759A (en) High-efficiency convolution coding method
KR100531840B1 (en) Method for computing branch metric in viterbi decoder and circuit thereof
Ling et al. Hardware module for an adaptive modeling unit of multi-symbol multiplication-free arithmetic encoder
JP3093451B2 (en) Redundancy reduction coding device
JP3269845B2 (en) Viterbi decoder
JPH11163737A (en) High speed device for coding and decoding information source