JP3487513B2 - Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system - Google Patents

Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system

Info

Publication number
JP3487513B2
JP3487513B2 JP05438693A JP5438693A JP3487513B2 JP 3487513 B2 JP3487513 B2 JP 3487513B2 JP 05438693 A JP05438693 A JP 05438693A JP 5438693 A JP5438693 A JP 5438693A JP 3487513 B2 JP3487513 B2 JP 3487513B2
Authority
JP
Japan
Prior art keywords
time information
audio
video
unit
value
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 - Fee Related
Application number
JP05438693A
Other languages
Japanese (ja)
Other versions
JPH06268984A (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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP05438693A priority Critical patent/JP3487513B2/en
Publication of JPH06268984A publication Critical patent/JPH06268984A/en
Application granted granted Critical
Publication of JP3487513B2 publication Critical patent/JP3487513B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、画像や音声を符号化、
復号化する画像音声符号復号化システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention encodes images and sounds,
The present invention relates to a video / audio code decoding system for decoding.

【0002】[0002]

【従来の技術】画像、音声等のデータを多重して同期再
生を行うための方法に、符号化装置及び復号化装置にロ
ーカル時計を備え、符号化する際に画像、音声データに
符号化装置のローカル時計の値を付加し、復号化装置で
は復号化装置ローカル時計とデータに付加された時計の
値を用いてデータの同期をとる方法がある。
2. Description of the Related Art In a method for multiplexing and reproducing data such as image and sound, a coding device and a decoding device are equipped with local clocks, and when coding, a coding device for image and sound data. There is a method of synchronizing the data by adding the value of the local clock of (1) and using the value of the clock added to the decoding device local clock and the data in the decoding device.

【0003】この方法で同期をとるためには、復号化装
置の時計の値を符号化装置の時計の値を合わせる必要が
ある。そのため、符号化装置はデータの初めで時計の初
期値を復号装置に教える必要がある。従来のこれらの装
置間では、この符号化装置内の時計の初期値は、単に復
号化装置の内部時計に初期値を与えるためにだけの目的
で使われていた。
In order to synchronize with this method, it is necessary to match the value of the clock of the decoding device with the value of the clock of the encoding device. Therefore, the encoding device needs to teach the decoding device the initial value of the clock at the beginning of the data. Among these conventional devices, the initial value of the clock in this encoding device has been used only for the purpose of providing the internal clock of the decoding device with the initial value.

【0004】[0004]

【発明が解決しようとする課題】以上述べてきた通り、
従来では画像音声符号化装置から符号化した画像や音声
の信号を画像音声復号化装置に伝送しはじめようとした
時、両者で同期をとるために両者に備えられた内部時計
を合わせる必要が生じる。この場合、画像音声符号化装
置から任意に内部時計の現在時刻の情報を画像音声復号
化装置に伝送して同期をとっていた。つまり、現在時刻
の情報は、両者の同期をとるという情報にしか利用でき
なかった。
[Problems to be Solved by the Invention] As described above,
Conventionally, when it is about to start transmitting an encoded image or audio signal from the video / audio encoding device to the video / audio decoding device, it is necessary to match the internal clocks provided for both to synchronize them. . In this case, information of the current time of the internal clock is arbitrarily transmitted from the video / audio encoding device to the video / audio decoding device for synchronization. In other words, the information on the current time can be used only for the information that the two are synchronized.

【0005】本発明は、上記問題点に鑑みなされたもの
で、符号化処理と復号化処理との同期を取るための時刻
情報に付加的な情報を持たせ、そして、この時刻情報か
ら同期を取るだけでなく付加的な情報に基づく処理をも
行える画像音声符号復号化システム、及びこのシステム
で用いる画像音声復号化装置及び画像音声符号化装置
提供することを目的とするものである。
The present invention has been made in view of the above-mentioned problems, in which time information for synchronizing the encoding process and the decoding process is provided with additional information, and the synchronization is performed from this time information. Video / audio coding / decoding system capable of not only taking but also processing based on additional information , and this system
It is an object of the present invention to provide a video / audio decoding device and a video / audio encoding device used in 1 .

【0006】[0006]

【課題を解決するための手段】上記課題を解決するた
め、本発明の画像音声符号化装置は、時刻情報を発生さ
せる時刻情報発生部と、入力された画像信号や音声信号
を前記時刻情報発生部からの時刻情報を参照しながら符
号化して符号化信号を生成する符号化部と、前記符号化
部で得られた符号化信号及び前記時刻情報発生部からの
時刻情報を多重化して符号化ビットストリームを生成し
て出力する多重化部とを備え、前記時刻情報発生部は、
時刻情報の初期値として、付加的な情報を含んだ値を発
生させることを特徴とする。また、前述の画像音声符号
化装置において、さらに、前記時刻情報の初期値とその
値の意味とを記憶する記憶部を有し、前記時刻情報発生
部は、前記記憶部を参照して前記意味に対応する値を時
刻情報の初期値としてセットすることを特徴としても良
い。また、前記記憶部は、前記時刻情報の初期値とその
値が示す前記符号化ビットストリームの受信側で実行さ
せたい処理の種類とを記憶する記憶部を有することを特
徴としても良い。また、前記多重化部は、前記ビットス
トリームに、前記符号化信号及び前記時刻情報に加え
て、前記時刻情報の初期値に対応する処理において用い
る付加情報も多重化することを特徴としても良い。本発
明の画像音声復号化装置は、画像音声符号化装置から送
信されてきた符号化ビットストリームから時刻情報と符
号化信号とを抽出する分離化部と、前記時刻情報に基づ
いて時刻をセットする時刻情報発生部と、前記時刻情報
の初期値が含んでいる付加的な情報を抽出する情報抽出
部と、前記時刻情報発生部の時刻情報を参照して前記符
号化信号を復号化して画像信号及び音声信号を得る復号
化部とを有する。本発明の画像音声復号化装置は、画像
音声符号化装置から送信されてきた符号化ビットストリ
ームから時刻情報と符号化信号とを抽出する分離化部
と、前記時刻情報の値に時刻をセットして時刻をカウン
トする時刻情報発生部と、前記時刻情報の初期値に応じ
た処理を行う処理部と、前記時刻情報発生部の時刻情報
を参照 して前記符号化信号を復号化して画像信号及び音
声信号を得る復号化部とを有する。また、前記分離化部
は、画像音声符号化装置から送信されてきた符号化ビッ
トストリームから時刻情報と符号化信号と付加情報とを
抽出し、前記処理部は、前記付加情報を用いて前記時刻
情報の初期値の値に対応する処理を行うことを特徴とし
ても良い。本発明の画像音声符号復号化システムは、画
像や音声を符号化し、第1の時刻情報発生部で発生させ
た時刻情報と共に送信する符号化装置と、前記符号化装
置から送信された前記時刻情報に基づいて第2の時刻情
報発生部を調整して、前記符号化した画像や音声を復号
化する復号化装置とを含む画像音声符号復号化システム
において、前記第1の時刻情報発生部は、前記復号化装
置で実行させたい処理の種類とこれに対応する値とを記
憶しておき、時刻情報の初期値として前記復号化装置で
実行させたい処理の種類に対応する値を発生させ、前記
復号化装置は、前記時刻情報の初期値に対応した処理を
実行する処理部とを備える。
[Means for Solving the Problems ]
Therefore, the video / audio encoding device of the present invention generates time information.
Time information generator and input image and audio signals
While referring to the time information from the time information generator,
A coding unit for coding and generating a coded signal;
From the encoded signal and the time information generating unit
Generates an encoded bitstream by multiplexing time information
And a multiplexing unit for outputting the time information.
A value containing additional information is issued as the initial value of the time information.
It is characterized by making it live. In addition, the above-mentioned video and audio code
In the digitizing device, the initial value of the time information and its
It has a storage unit that stores the meaning of the value and generates the time information.
The section refers to the storage section and stores the value corresponding to the meaning.
It is good to set it as the initial value of the time information.
Yes. Further, the storage unit stores the initial value of the time information and its value.
Performed on the receiving side of the encoded bitstream indicated by the value
It has a storage unit that stores the type of processing you want to perform.
It may be a sign. Also, the multiplexing unit may
In addition to the coded signal and the time information,
Used in the processing corresponding to the initial value of the time information
The additional information may also be multiplexed. Starting
The Ming video and audio decoding device is transmitted from the video and audio encoding device.
Time information and code from the received encoded bitstream
A separation unit for extracting the encoded signal and the time information based on the time information.
And a time information generator that sets the time
Information extraction to extract additional information included in the initial value of
Section and the time information of the time information generation section,
Decoding of encoded signal to obtain image signal and audio signal
And a chemical conversion unit. The image / audio decoding device of the present invention
Encoded bit stream transmitted from speech encoder
Separation unit for extracting time information and encoded signal from the frame
And set the time to the value of the time information and count the time.
Depending on the time information generation unit to be set and the initial value of the time information
And a time information of the time information generating unit
Image signal and sound by decoding the coded signal with reference to
And a decoding unit for obtaining a voice signal. Also, the separation unit
Is the coding bit transmitted from the video / audio coding device.
Time information, encoded signal, and additional information from the stream
The processing unit extracts the time using the additional information.
Characterized by performing processing corresponding to the initial value of information
May be. The video / audio decoding system of the present invention
Image and sound are encoded and generated by the first time information generator.
And a coding device for transmitting the time information together with the coding device.
Second time information based on the time information transmitted from the device.
Decode the coded image and sound by adjusting the information generator
And audio / video decoding system including decoding device
In the above, the first time information generating unit is
The type of processing you want the
Remember, the decoding device uses the initial value of the time information.
Generate a value corresponding to the type of processing you want to execute,
The decryption device performs processing corresponding to the initial value of the time information.
And a processing unit that executes the processing.

【0007】[0007]

【作用】画像音声符号化装置は、時刻情報の初期値に含
ませたい付加的な情報を記憶部から選んで、この付加的
な情報に対応する時刻情報の初期値を第1の時刻情報発
生部において発生させ、ビットストリームに乗せて画像
音声復号化装置へ送信する。これを受けた画像音声復号
化装置は、時刻情報に基づいて第2の時刻情報発生部を
調整すると共に、この時刻情報に対応する付加的な情報
に基づいた処理を行う。従って、同期を取るための時刻
情報を、単に同期情報としてだけでなく、画像音声復号
化装置に処理を行わせるための付加的な情報としても同
時に用いることができる。
The video / audio encoding device includes the initial value of the time information in the initial value.
This additional information can be selected by selecting the desired additional information from the memory.
The initial value of the time information corresponding to
Generated in raw part, put on bitstream and image
Send to the voice decoding device. Image and audio decoding apparatus that received this, as well as to adjust the second time information generating unit based on time information processing on the basis of the additional information <br/> corresponding to the time information. Therefore, the time information for synchronizing is not only used as the synchronization information,
It can also be used at the same time as additional information for causing the processing device to perform processing .

【0008】[0008]

【実施例】以下に、本発明を用いた画像音声符号復号化
システムの一実施例を図面を参照して説明する。図1は
本発明を用いた画像音声符号化装置、図2は画像音声復
号化装置の一構成を表すブロック図である。簡単に言う
と、画像音声符号化装置で符号化された動画像や音声デ
ータは伝送路を通って、または例えばハードディスク、
CD−ROMといった蓄積メディアに蓄積された後、画
像音声復号化装置に入り、動画像や音声に復号化されて
ビットストリームとして出力される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a video / audio encoding / decoding system using the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a video / audio encoding device using the present invention, and FIG. 2 is a block diagram showing a configuration of a video / audio decoding device. Briefly, moving images and audio data encoded by the image and audio encoding device are transmitted through a transmission path or, for example, a hard disk,
After being stored in a storage medium such as a CD-ROM, it enters the image / sound decoding device, is decoded into a moving image or sound, and is output as a bit stream.

【0009】本実施例では入力画像や音声と出力動画像
や音声の時間同期をとるために、動画像や音声が画像音
声符号化装置に入る時刻、符号化された画像や音声のデ
ータが画像音声符号化装置を出る時刻を内部時計の値と
して記録し符号化された画像や音声のデータに付加す
る。ここで内部時計は例えば90−kHz、2進数で3
3桁のカウンターになっているものとする。
In this embodiment, in order to time-synchronize the input image or voice with the output moving image or voice, the time when the moving image or voice enters the image / audio encoding device, the encoded image or voice data is the image. The time of leaving the audio encoding device is recorded as the value of the internal clock and added to the encoded image and audio data. Here, the internal clock is, for example, 90-kHz, binary 3
It is supposed to be a 3-digit counter.

【0010】画像音声復号化装置は内部時計の情報とし
て送られてきた時刻情報の値を参照しながら復号化、表
示を行う。このときは、画像や音声のデータを送る前
に、最初に画像音声符号化装置の内部時計コントローラ
6の値を時刻情報の初期値t0として画像音声復号化装
置に送り、画像音声符号化装置と画像音声復号化装置の
内部時計の値を合わせる。ここで時刻情報の初期値t0
は、画像音声符号化装置における符号化開始時の内部時
計の値と画像音声復号化装置の復号化開始時の内部時計
の値が同じであればどのような値でもよい。本発明で
は、この様な時刻合わせができるばかりでなくこの時刻
情報の初期値t0に付加的な情報を含ませることを特徴
としている。
The video / audio decoding device performs decoding and display while referring to the value of the time information sent as the information of the internal clock. In this case, first send the internal clock controller of the video / audio encoder before sending the video / audio data.
The value of 6 is sent to the video / audio decoding device as the initial value t0 of the time information, and the values of the internal clocks of the video / audio encoding device and the video / audio decoding device are matched. Here, the initial value t0 of the time information
Is the internal time at the start of encoding in the video and audio encoding device.
Value and internal clock at the start of decoding by the video / audio decoding device
Any value may be used as long as the values of are the same. In the present invention
Not only can you set the time like this, but this time
The initial value t0 of the information is characterized by including additional information .

【0011】上述した内容について図1、図2を用いて
以下に説明する。まず、図1に示されている通り、外部
から画像信号がディジタル信号変換部1に入力され、外
部から音声信号がディジタル信号変換部3に入力され
る。ディジタル信号変換部1,3には、内部時計コント
ローラ6から現在の時刻情報が入力されて、画像信号や
音声信号が時刻情報と共にディジタル信号に変換され
る。変換されたディジタル信号は、それぞれ符号化部
2,4に入力され、内部時計コントローラ6の時刻情報
と共に符号化され、多重化部5に入力される。
The above contents will be described below with reference to FIGS. 1 and 2. First, as shown in FIG. 1, an image signal is externally input to the digital signal converter 1, and an audio signal is externally input to the digital signal converter 3. The current time information is input to the digital signal converting units 1 and 3 from the internal clock controller 6, and the image signal and the audio signal are converted into digital signals together with the time information. The converted digital signals are input to the encoding units 2 and 4, respectively, encoded together with the time information of the internal clock controller 6, and input to the multiplexing unit 5.

【0012】多重化部5に入力された符号化された画像
信号や音声信号は、内部時計コントローラ6の現在の時
刻情報と共に多重化されて出力される。この出力された
多重化された信号は、例えば伝送路を介して図2に示さ
れている画像音声復号化装置に入力される。この入力さ
れた信号は、システム復号部11で復号処理され、多重
化された信号中にある時刻情報がとり出され、内部時計
コントローラ14に入力される。入力された時刻情報に
基づいて内部時計コントローラ14では、時計を調整し
て画像音声符号化装置との同期をとる。一方、システム
復号部11では、多重化された信号の中から抽出した
像信号の符号化データを復号化部12に出力し、音声信
の符号化データを復号化部13に出力する復号化部
12、13に入力された画像信号や音声信号は、復号化
部12、13でそれぞれ復号化処理されて外部に出力さ
れる。この時、調整された内部時計コントローラ14か
らの時刻情報に基づいて同期をとり、出力されることに
なっている。以上説明してきたように図1、2に示され
た画像音声符号復号化装置は、両者にそれぞれ備えられ
ている内部時計コントローラ6、14を内部時計コント
ローラ6から発生された時刻情報に従って合せるように
している。本発明は更に、符号化した画像信号や音声信
号を画像音声符号化装置から伝送する前に、最初に基準
となる時刻情報を画像音声復号化装置に伝送する。この
時に、この時刻情報は画像音声符号化及び復号化装置間
での同期をとるための情報であるから現在の時刻でなく
とも、任意の時刻を設定して伝送することができる。こ
の点を応用して、内部時計コントローラ6、14の内部
共通に、メモリ等の記憶部を設けておき、この時刻情報
に応じて、つまり例えば「10:00」や「11:0
0」等の時刻に対応させて、このシステム内の種々の処
理内容を場合分けして付加的な情報として記憶させてお
く。そして、符号化した画像や音声を伝送し始める前
に、画像音声符号化装置は、画像音声復号化装置に伝え
たい種々の処理内容選択してそれに対応する時刻情報
を内部時計コントローラ6内の記憶部から読み出すと共
に、内部時計コントローラ6をこの時刻情報に合せる。
読み出された時刻情報は、画像音声復号化装置に伝送さ
れ、内部時計コントローラ14に入力される。内部時計
コントローラ14では内部の時計をこの時刻情報に従っ
て合せて、これに対応するシステム内の種々の処理内容
を内部時計コントローラ14内の記憶部から読み出す。
この様に、時刻情報を用いることによって読み出した処
理内容に従って、データ等の処理が行える。
The coded image signal and audio signal input to the multiplexing unit 5 are multiplexed with the current time information of the internal clock controller 6 and output. The output multiplexed signal is input to the video / audio decoding apparatus shown in FIG. 2 via, for example, a transmission path. The input signal is decoded by the system decoding unit 11, the time information in the multiplexed signal is taken out, and is input to the internal clock controller 14. Based on the input time information, the internal clock controller 14 adjusts the clock and synchronizes with the video / audio encoding device. On the other hand, the system decoder 11, outputs encoded data of the image <br/> image signal extracted from the multiplexed signal to the decoder 12, the decoding section 13 the encoded data of audio signals Output . Decryption unit
The image signals and audio signals input to 12 and 13 are decoded by the decoding units 12 and 13 and output to the outside. At this time, it is supposed to be synchronized and output based on the adjusted time information from the internal clock controller 14. As described above, the video / audio encoding / decoding devices shown in FIGS. 1 and 2 are configured so that the internal clock controllers 6 and 14 respectively provided in them are adjusted according to the time information generated from the internal clock controller 6. ing. Further, according to the present invention, the reference time information is first transmitted to the video / audio decoding device before the encoded video signal or audio signal is transmitted from the video / audio encoding device. At this time, since this time information is information for synchronizing the video and audio encoding and decoding devices, it is possible to set and transmit an arbitrary time even if it is not the current time. By applying this point, a storage unit such as a memory is provided in common inside the internal clock controllers 6 and 14, and according to this time information, that is, “10:00” or “11:00”, for example.
Corresponding to the time such as "0", various processing contents in this system are divided into cases and stored as additional information . Then, before starting to transmit the encoded image or audio, the image-audio encoding device selects various processing contents to be transmitted to the image-audio decoding device and outputs time information corresponding to the selected processing contents in the internal clock controller 6. The time is read from the storage unit and the internal clock controller 6 is adjusted to this time information.
The read time information is transmitted to the video / audio decoding device and input to the internal clock controller 14. The internal clock controller 14 adjusts the internal clock according to this time information, and reads out various processing contents in the system corresponding to the internal clock from the storage unit in the internal clock controller 14.
In this way, the processing of data and the like can be performed according to the processing content read by using the time information.

【0013】従来の例では画像音声復号化装置は図3の
従来例のように時刻情報の初期値t0を読み込む21の
処理を行った後、時刻情報の初期値t0を内部時計にセ
ットする22の処理を行ってから画像音声の復号を行
う。本実施例では図3の本発明のように初期時刻の初期
値t0を読み込む23の処理を行った後、時刻情報の初
期値t0を内部時計にセットする24の処理を行い、時
刻情報の初期値t0に含まれる付加的な情報Iを読み出
す25の処理を行ってから画像音声の復号を行う。
In the conventional example, the video / audio decoding apparatus performs the process 21 of reading the initial value t0 of the time information as in the conventional example of FIG. 3, and then sets the initial value t0 of the time information in the internal clock 22. row decoding of image voice processing from I line
U In the present embodiment, as in the present invention of FIG.
After performing the process 23 of reading the value t0, the first time information
Performs 24 processes to set the period value t0 to the internal clock,
Read additional information I included in the initial value t0 of the time information
After the processing of step 25 is performed, the video / audio is decoded.

【0014】本実施例では、データのビットストリーム
は例えば図4のフォーマットとし、32ビットのスター
トコード31に続き時刻情報の初期値32を表すために
33ビット使うものとする。また、通常の復号では付加
情報34は無視されるものとする。
[0014] In this embodiment, the bit data stream is the format of FIG. 4, for example, of 32-bit star
33 bits are used to represent the initial value 32 of the time information following the code 31 . Further, the additional information 34 is ignored in normal decoding.

【0015】従来は例えば時刻情報の初期値t0をビッ
ト表示で t0=000000000000000000001001110010111 (1) のように単に内部時計の値として送るだけである。
Conventionally, for example, the initial value t0 of the time information is simply sent as the value of the internal clock as in the case of t0 = 000000000000000000001001110010111 (1).

【0016】ここで一例としてこのデータに他の情報I
として認識番号をつける場合に、符号化装置がt0をこ
の認識番号にする。例えば 認識番号=3629 (2) とするなら、t0の値を数(2)にする。ビット表示す
れば t0=000000000000000000000111000101101 (3) となる。画像音声復号化装置では図3の22の処理に続
いて23の処理を行いt0から他の情報Iとして数
(2)を得る。
Here, as an example, other information I is added to this data.
When assigning the identification number as, the encoding device uses t0 as the identification number. For example, if the identification number is 3629 (2), the value of t0 is set to the number (2). If expressed in bits, t0 = 000000000000000000000111000101101 (3). The video / audio decoding apparatus performs the processing of 23 following the processing of 22 of FIG. 3 to obtain the number (2) as other information I from t0.

【0017】また、別の例としてこのデータに文字列の
記号を付ける場合には、符号化装置が文字列を数値化し
その値を時刻情報の初期値t0にする。例えば 記号=“AZ19” (4) とするなら時刻情報の初期値t0に文字列(4)をアス
キーコードにした 415a3139(16進数表示) (5) をt0に用いる。t0をビット表示すれば t0=001000001010110100011000100111001 (6) となる。画像音声復号化装置では図3の23、24、2
5の処理を行い内部時計に時刻情報の初期値t0をセッ
トし文字列(4)を得る。上記2列のような処理が加え
られていることを知らない画像音声復号化装置は時刻情
報の初期値t0を単なる時刻情報の初期値としてのみ扱
うので数(2)や文字列(4)は得られない。しかし以
降の復号を行うことはできる。
As another example, when a symbol of a character string is attached to this data, the encoding device digitizes the character string and sets the value as the initial value t0 of the time information . For example, if the symbol = “AZ19” (4), the initial value t0 of the time information uses 415a3139 (hexadecimal notation) (5) in which the character string (4) is an ASCII code (t). If t0 is displayed in bits, t0 = 001000001010110100011000100111001 (6). In the video / audio decoding device, 23, 24 and 2 in FIG.
The processing of step 5 is performed, and the initial value t0 of the time information is set in the internal clock to obtain the character string (4). A video / audio decoding device that does not know that the processing in the above two columns has been added has a time information
Since the initial value t0 of the information is treated only as the initial value of the time information , the number (2) and the character string (4) cannot be obtained. However, subsequent decryption can be performed.

【0018】また別の例として、図4の付加情報34
(例えば字幕など)が例えばRSA暗号によって暗号化
されている場合を挙げる。RSA暗号は、以下の手順に
より暗号化、解読を行う。RSA暗号は、鍵として正の
整数nと正の整数rを用いる。nは2つの素子p、qに
よって式(7)によって作られる。
As another example, the additional information shown in FIG.34
(Eg subtitles etc.) encrypted by eg RSA encryption
Has beenGive a case. For RSA encryption, follow the procedure below.
Better encryption and decryption. RSA encryption is a positive key
An integer n and a positive integer r are used. n is the two elements p and q
Therefore, it is made by the equation (7).

【0019】n=pq (7) 次にrを式(8)の値と互いに素に選ぶ。 (p−1)(q−1) (8) 平文aは式(9)で暗号化する。N = pq (7) Next, r is chosen to be relatively prime with the value of equation (8). (P-1) (q-1) (8) The plaintext a is encrypted by the equation (9).

【0020】 b ar (mod n) (9) これが、暗号化の手順である。ここで式(9)のmod
nとは、nで割った余りという意味である(以下同
様)。
B a r (mod n) (9) This is the encryption procedure. Here, the mod of equation (9)
n means the remainder divided by n (the same applies hereinafter).

【0021】解読の手順は以下の通りである。解読のた
めにはまずnが式(7)のようにpとqの積であること
を知っている必要がある。このpとq、それにrを用い
て復号のためのsを以下の手順で求める。初めに式(1
0)、(11)を満たす整数u、v、x、yを求める。
The decryption procedure is as follows. For decoding, it is first necessary to know that n is the product of p and q as in equation (7). Using p, q, and r, s for decoding is obtained by the following procedure. First, the formula (1
0), integers u, v, x, y satisfying (11) are obtained.

【0022】 ur+v(p−1)=1 (10) xr+y(q−1)=1 (11) ここで式(10)、式(11)の差をとると式(12)
となる。
Ur + v (p-1) = 1 (10) xr + y (q-1) = 1 (11) Here, when the difference between the equations (10) and (11) is taken, the equation (12) is obtained.
Becomes

【0023】 (u−x)r=−v(p−1)+y(q−1) (12) 式(12)の左辺は(p−1)と(q−1)の最大公約
数dで割り切れる。rは(p−1)、(q−1)と素に
選んだので、(u−x)がdの倍数になる。従って整数
w、tをとって式(13)となる。
(U−x) r = −v (p−1) + y (q−1) (12) The left side of the equation (12) is the greatest common divisor d of (p−1) and (q−1). Divisible. Since r is selected as a prime number from (p-1) and (q-1), (u-x) is a multiple of d. Therefore, the integers w and t are taken to obtain the equation (13).

【0024】 u−x=w(p−1)+t(q−1) (13) 式(13)を変形して式(14)とする。 u−w(p−1)=x+t(q−1) (14) そして式(14)の値をsとする。sは必要ならば(p
−1)と(q−1)の最小公倍数で還元する。
U−x = w (p−1) + t (q−1) (13) The formula (13) is transformed into the formula (14). u−w (p−1) = x + t (q−1) (14) Then, the value of Expression (14) is s. s is needed (p
Reduce by the least common multiple of -1) and (q-1).

【0025】式(14)の左辺にrをかけて式(10)
を代入すると rs=ru+rw(p−1)=1−(rw+v)(p−1) 1 (mod p−1) (15) 同様に式(14)の右辺にrをかけて式(11)を代入
すると rs=rx+rt(q−1)=1+(rt−y)(q−1) 1 (mod q−1) (16) となる。暗号文は式(9)だから、
Equation (10) is obtained by multiplying the left side of Equation (14) by r.
Is substituted, rs = ru + rw (p−1) = 1− (rw + v) (p−1) 1 (mod p−1) (15) Similarly, the right side of equation (14) is multiplied by r to obtain equation (11). Substituting results in rs = rx + rt (q−1) = 1 + (rt−y) (q−1) 1 (mod q−1) (16). Since the ciphertext is formula (9),

【0026】[0026]

【数1】 [Equation 1]

【0027】[0027]

【数2】 となる。すなわちnとrからsを求めれば、暗号文bを
解読して平文aが得られる。また、暗号文作成者が
(9)式の代わりに
[Equation 2] Becomes That is, if s is obtained from n and r, the plaintext a is obtained by decrypting the ciphertext b. Also, instead of the formula (9), the ciphertext creator

【0028】[0028]

【数3】 として暗号を作成すれば、復号者は式(17)、式(1
8)からnとrだけを用いて(pとqを知らなくても)
[Equation 3] If the cipher is created as, the decryption person can obtain the equation (17), the equation (1
From 8) using only n and r (without knowing p and q)

【0029】[0029]

【数4】 を得ることができる。式(21)の操作は、sが作れる
符号化装置、すなわちpとqを知っている画像音声符号
化装置にしかできないので、デジタル署名と言われてい
る。
[Equation 4] Can be obtained. Since the operation of the equation (21) can be performed only by an encoding device capable of producing s, that is, an audiovisual encoding device that knows p and q, it is called a digital signature.

【0030】本実施例ではこの鍵nと鍵rのうちnは
nがどのpとqからなるかを含めてあらかじめ画像音声
復号化装置に知らされており、鍵rは画像音声符号化装
置側で時刻情報の初期値t0として画像音声符号化装置
から画像音声復号化装置に送られる。画像音声復号化装
置の内部時計コントローラ14は図3の23、24、2
の処理から鍵rを取得し、あらかじめ知らされている
pとqから式(10)〜(14)を用いて内部コントロ
ーラ14がsを作成する。そのsを用いて式(19)を
用いて暗号を解読して付加情報34を得る。
In the present embodiment, of the keys n and r, the key n is known in advance to the image / audio decoding device including the p and q of n, and the key r is the image / audio encoding device. On the side, the initial value t0 of the time information is sent from the video / audio encoding device to the video / audio decoding device. The internal clock controller 14 of the video / audio decoding device is designated as 23 , 24, 2 in FIG.
The key r is obtained from the process of 5 , and the internal controller 14 creates s from the previously known p and q using the equations (10) to (14). The additional information 34 is obtained by decrypting the encryption using the equation (19) using the s.

【0031】例えば、付加情報34が文字列で “hello world!” (22) とする。これをアスキーコードに直すと16進数表示で 68656c6c6f2077666f726c6421 (23) となる。これを例えば3桁ごとのブロックに区切りブロ
ックごとに暗号化する。この例では n=4891(24) p=67 (25) q=73 (26) r=13 (27) とする。数(23)を3桁ごとに区切り式(9)の演算
を行うと、暗号として16進数表示で 07f312410fb10cd809d801930fb1030c (28) を得る。ここで数(24)は16進数で131bなので
暗号化されたものの中には16進数で4桁になるものも
ある。そこで数(28)は1ブロック16進数で4桁と
している。そして、符号化装置は付加的な情報Iである
時刻情報の初期値t0に数(27)の値を用いる。ビッ
ト表示すれば t0=000000000000000000000000000001011 (29) となる。
For example, it is assumed that the additional information 34 is a character string "hello world!" (22). If this is converted into ASCII code, it will be 68656c6c6f2077666f726c6421 (23) in hexadecimal notation. This is divided into blocks of, for example, three digits, and each block is encrypted. In this example, n = 4891 (24) p = 67 (25) q = 73 (26) r = 13 (27). When the number (23) is calculated by dividing the number (23) by 3 digits, 07f312410fb10cd809d801930fb1030c (28) is obtained in hexadecimal notation as a cipher. Here, the number (24) is 131b in hexadecimal, so some of the encrypted ones have four digits in hexadecimal. Therefore, the number (28) has four digits in hexadecimal number per block. And the encoding device is the additional information I
The value of the number (27) is used as the initial value t0 of the time information . If expressed in bits, t0 = 000000000000000000000000000001011 (29).

【0032】付加情報34が暗号化されていること、
rの値が時刻情報の初期値t0として書かれているこ
と、nの値が4891で67と73の積であること、
を知っている画像音声復号化装置は式(10)〜(1
4)を用いてsを求め、式(19)より解読すれば、再
び数(23)を得、付加情報34として(28)を読み
込んで文字列(22)を得ることができる。鍵nの値を
知らない画像音声復号化装置が、鍵nの値を知っていて
もpとqの値を知らない画像音声復号化装置は、付加情
34が暗号化されていることを知っていても付加情報
34を得ることができない。通常の再生時には付加情報
34は無視され、時刻情報の初期値t0は図3の21、
22の処理がされ、通常再生のみが行われる。
The additional information 34 is encrypted, the key
The value of r is written as the initial value t0 of the time information, the value of the key n is 4891, which is the product of 67 and 73,
A video / audio decoding device that knows the equations (10) to (1
If s is obtained by using 4) and is decoded from the equation (19), the number (23) can be obtained again, and (28) can be read as the additional information 34 to obtain the character string (22). The video / audio decoding device that does not know the value of the key n knows that the additional information 34 is encrypted if the video / audio decoding device that knows the value of the key n and does not know the values of p and q. Additional information
I can't get 34 . Additional information during normal playback
34 is ignored, and the initial value t0 of the time information is 21 in FIG.
22 is performed and only normal reproduction is performed.

【0033】また数(24)〜(27)を用いてデジタ
ル署名をする例を考える。いま時刻情報の初期値t0の
うち上位16ビットでr、下位17ビットで式(20)
のbを扱うものとする。bは数(23)を3桁ごとに区
切った数を2進数表示したときの下2桁の数の最初の2
56ブロック(256ブロックない場合は全ブロック)
の和をaとして式(20)の処理を行ったものとする。
本実施例で数(23)に上記の処理を行うと a=11 (30) となるのでこれに式(14)を行えば b=421 (31) が得られる。これを用いて時刻情報の初期値t0はビッ
ト表示で t0=00000000000010110000110100101 (32) とする。
Also, consider an example in which a digital signature is made using equations (24) to (27). Of the initial value t0 of the time information, the upper 16 bits are r and the lower 17 bits are equation (20).
Of b. b is the first two digits of the last two digits when the number (23) is divided into three digits and displayed in binary.
56 blocks (all blocks if there are no 256 blocks)
It is assumed that the processing of Expression (20) is performed with the sum of a as a.
In the present embodiment, when the above processing is applied to the number (23), a = 11 (30) is obtained. Therefore, if equation (14) is applied to this, b = 421 (31) is obtained. Using this, the initial value t0 of the time information is expressed in bits as t0 = 00000000000010110000110100101 (32).

【0034】画像音声復号化装置は図3の23,24、
25の処理を行い数(27)、(31)を得る。これを
用いて式(21)から数(30)を得る。上記付加情報
34を得る実施例の処理を行い数(29)得た後に、
数(23)を3桁ごとに区切った数を2進数表示したと
きの下2桁の数の最初の256ブロック(256ブロッ
クない場合は全ブロック)の和を計算し、これが数(3
0)と一致すればこのデータがpとqを知っている人か
らのデータであることが分かる。もちろん、時刻情報の
初期値t0を数(29)のようにrだけとし、付加情報
34の中にディジタル署名をすることも可能である。
The image / sound decoding apparatus is composed of 23 , 24, and
By performing the processing of 25, the numbers (27) and (31) are obtained. Using this, the number (30) is obtained from the equation (21). Additional information above
After obtaining several (29) performs the processing in Embodiment obtaining 34,
When the number obtained by dividing the number (23) into three digits is displayed in binary, the sum of the first 256 blocks (all blocks if there are no 256 blocks) of the lower two digits is calculated, and this is the number (3
If it agrees with 0), it turns out that this data is from a person who knows p and q. Of course, the time information
The initial value t0 is only r as in the equation (29), and the additional information
It is also possible to put a digital signature in 34 .

【0035】[0035]

【発明の効果】以上詳述してきたように本発明によれ
ば、画像や音声の符号化データに含まれる時刻情報のう
ち、時刻情報の初期値に時刻情報以外の付加的な情報を
含ませて、復号化装置側で付加的な情報を用いた処理を
実行させることが可能である。また、この付加的な情報
を理解できない復号化装置であっても、時刻情報を受け
取って画像や音声を復号化することは可能であるので
々の機器に柔軟に対応させることができる。
As described above in detail, according to the present invention, the time information included in the coded data of the image or the sound is recorded.
Then, add additional information other than the time information to the initial value of the time information.
By including it, processing using additional information on the decoding device side
It can be executed. Also, this additional information
Even if the decoding device does not understand
Since it is possible to decode the image and sound by taking them, it is possible to flexibly correspond to various kinds of equipment.

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

【図1】 本発明の一実施例を示した図。FIG. 1 is a diagram showing an embodiment of the present invention.

【図2】 本発明と従来例の画像音声復号化装置側の内
部時計コントローラの動作の対比を示した図。
[Fig. 2] Fig. 2 is a block diagram of a video / audio decoding device of the present invention and a conventional example.
The figure which showed the operation | movement contrast of the timepiece clock controller.

【図3】 本発明と従来例の動作の対比を示した図。FIG. 3 is a diagram showing a comparison between operations of the present invention and a conventional example.

【図4】 本発明のビットストリームの一フォーマット
を示した図。
FIG. 4 is a diagram showing one format of a bitstream of the present invention.

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

1、3…ディジタル信号変換部 2、4…符号化部 5
…多重化部 6,14…内部時計コントローラ 11…システム復号
部 12、13…復号化部
1, 3 ... Digital signal converter 2, 4 ... Encoder 5
... Multiplexing unit 6, 14 ... Internal clock controller 11 ... System decoding unit 12, 13 ... Decoding unit

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】付加的な情報を生成する生成部と、 時刻情報の初期値として、前記付加的な情報に対応する
値を発生させる 時刻情報発生部と、 入力された画像信号や音声信号を前記時刻情報発生部か
らの時刻情報を参照しながら符号化して符号化信号を生
成する符号化部と、 前記符号化部で得られた符号化信号及び前記時刻情報発
生部からの時刻情報を多重化して符号化ビットストリー
ムを生成して出力する多重化部と、 を備える画像音声符号化装置。
1. A generation unit for generating additional information, and an initial value of time information corresponding to the additional information.
A time information generating section for generating a value, an encoding section for encoding an input image signal or audio signal with reference to the time information from the time information generating section to generate an encoded signal, the encoding section And a multiplexing unit that multiplexes the coded signal obtained in step 1 and the time information from the time information generating unit to generate and output a coded bit stream.
【請求項2】時刻情報の初期値とその値が持つ付加的な
情報とを記憶する記憶部と、 付加的な情報を選択する選択部と、 前記記憶部を参照して、前記選択部で選択された付加的
な情報に対応する値を、時刻情報の初期値として発生さ
せる 時刻情報発生部と、 入力された画像信号や音声信号を前記時刻情報発生部か
らの時刻情報を参照しながら符号化して符号化信号を生
成する符号化部と、 前記符号化部で得られた符号化信号及び前記時刻情報発
生部からの時刻情報を多重化して符号化ビットストリー
ムを生成して出力する多重化部と、 を備える画像音声符号化装置。
2. An initial value of time information and an additional value of the value
A storage unit for storing information, a selection unit for selecting additional information, and an additional unit selected by the selection unit with reference to the storage unit.
The value corresponding to various information is generated as the initial value of the time information.
A time information generating section for causing the input image signal and audio signal to be coded by referring to the time information from the time information generating section to generate a coded signal; And a multiplexing unit that multiplexes the coded signal and the time information from the time information generating unit to generate and output a coded bit stream.
【請求項3】前記記憶部は、 前記時刻情報の初期値とその値が示す前記符号化ビット
ストリームの受信側で実行させたい処理の種類とを記憶
する記憶部を有することを特徴とする請求項記載の画
像音声符号化装置。
3. The storage unit includes a storage unit that stores an initial value of the time information and a type of processing desired to be executed on the receiving side of the encoded bitstream indicated by the value. Item 2. The video / audio encoding device according to Item 2 .
【請求項4】前記多重化部は、 前記ビットストリームに、前記符号化信号及び前記時刻
情報に加えて、前記時刻情報の初期値に対応する処理に
おいて用いる付加情報も多重化することを特徴とする請
求項3記載の画像音声符号化装置。
4. The multiplexing unit multiplexes, into the bitstream, in addition to the coded signal and the time information, additional information used in a process corresponding to an initial value of the time information. The image / audio encoding device according to claim 3.
【請求項5】画像音声符号化装置から送信されてきた符
号化ビットストリームから時刻情報と符号化信号とを抽
出する分離化部と、 前記時刻情報に基づいて時刻をセットする時刻情報発生
部と、 前記時刻情報の初期値が含んでいる付加的な情報を抽出
する情報抽出部と、 前記時刻情報発生部の時刻情報を参照して前記符号化信
号を復号化して画像信号及び音声信号を得る復号化部と
を有する画像音声復号化装置。
5. A demultiplexing unit that extracts time information and a coded signal from a coded bit stream transmitted from a video / audio coding apparatus, and a time information generation unit that sets the time based on the time information. An information extraction unit that extracts additional information included in the initial value of the time information, and obtains an image signal and an audio signal by decoding the coded signal with reference to the time information of the time information generation unit. A video / audio decoding device having a decoding unit.
【請求項6】画像音声符号化装置から送信されてきた符
号化ビットストリームから時刻情報と符号化信号とを抽
出する分離化部と、 前記時刻情報の値に時刻をセットして時刻をカウントす
る時刻情報発生部と、前記時刻情報の初期値と実行すべき処理内容とを対応付
けて記憶する記憶部と、 前記時刻情報の初期値に対応付けられた処理を行う処理
部と、 前記時刻情報発生部の時刻情報を参照して前記符号化信
号を復号化して画像信号及び音声信号を得る復号化部
と、 を有する画像音声復号化装置。
6. A demultiplexing unit for extracting time information and a coded signal from a coded bit stream transmitted from a video / audio coding apparatus, and setting a time as a value of the time information to count the time. Corresponds the time information generator with the initial value of the time information and the processing content to be executed.
A storage unit that stores the first time information, a processing unit that performs processing associated with the initial value of the time information, and decodes the coded signal by referring to the time information of the time information generation unit to generate an image signal and an audio signal. A video / audio decoding device comprising: a decoding unit for obtaining a signal.
【請求項7】前記分離化部は、 画像音声符号化装置から送信されてきた符号化ビットス
トリームから時刻情報と符号化信号と付加情報とを抽出
し、前記記憶部は、 前記時刻情報の初期値と前記付加情報を用いて実行する
処理内容とを対応付けて記憶し、 前記処理部は、 前記付加情報を用いて前記時刻情報の初期値の値に
応付けられた処理を行うことを特徴とする請求項6記載
の画像音声復号化装置。
7. The demultiplexing unit extracts time information, a coded signal, and additional information from a coded bit stream transmitted from a video / audio coding device, and the storage unit initializes the time information. Execute using the value and the additional information
In association with a processing content, the processing unit uses the additional information, versus the value of the initial value of the time information
7. The video / audio decoding device according to claim 6, wherein the video / audio decoding device performs a corresponding process.
【請求項8】画像や音声を符号化し、第1の時刻情報発
生部で発生させた時刻情報と共に送信する符号化装置
と、 前記符号化装置から送信された前記時刻情報に基づいて
第2の時刻情報発生部を調整して、前記符号化した画像
や音声を復号化する復号化装置とを含む画像音声符号復
号化システムにおいて、 前記第1の時刻情報発生部は、 前記復号化装置で実行させたい処理の種類とこれに対応
する値とを記憶しておき、時刻情報の初期値として前記
復号化装置で実行させたい処理の種類に対応する値を発
生させ、 前記復号化装置は、 前記時刻情報の初期値に対応した処理を実行する処理部
とを備えることを特徴とする画像音声符号復号化システ
ム。
8. An encoding device which encodes an image or audio and transmits the encoded image and audio together with the time information generated by a first time information generating unit, and a second encoding device based on the time information transmitted from the encoding device. In a video / audio coding / decoding system including a decoding device that adjusts a time information generation unit to decode the coded image or audio, the first time information generation unit is executed by the decoding device. The type of processing desired to be performed and a value corresponding thereto are stored, a value corresponding to the type of processing desired to be executed by the decoding device is generated as an initial value of time information, and the decoding device is A video / audio encoding / decoding system comprising: a processing unit that executes a process corresponding to an initial value of time information.
JP05438693A 1993-03-15 1993-03-15 Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system Expired - Fee Related JP3487513B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05438693A JP3487513B2 (en) 1993-03-15 1993-03-15 Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05438693A JP3487513B2 (en) 1993-03-15 1993-03-15 Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system

Publications (2)

Publication Number Publication Date
JPH06268984A JPH06268984A (en) 1994-09-22
JP3487513B2 true JP3487513B2 (en) 2004-01-19

Family

ID=12969252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05438693A Expired - Fee Related JP3487513B2 (en) 1993-03-15 1993-03-15 Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system

Country Status (1)

Country Link
JP (1) JP3487513B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007110749A (en) * 2006-12-18 2007-04-26 Hitachi Ltd Time series signal input method

Also Published As

Publication number Publication date
JPH06268984A (en) 1994-09-22

Similar Documents

Publication Publication Date Title
TW311320B (en)
US6804453B1 (en) Digital signal recording/reproducing apparatus
JPH07115638A (en) Video transmitter
WO2005086496A1 (en) Stereoscoping parameter burying device and stereoscopic image reproducing device
JP4581685B2 (en) Encryption device and decryption device
US7287160B2 (en) Recording medium, reproducing device, and recording/reproducing device
JP3487513B2 (en) Video / audio coding apparatus, video / audio decoding apparatus, video / audio coding / decoding system
JPH0715715A (en) Image ciphering transmission system
JP2814819B2 (en) Multimedia multiplex system
JPH08289253A (en) Signal recorder
KR100240331B1 (en) Apparatus for synchronizing a video and an audio signals for a decoder system
JP2001358708A (en) Device and method for converting contents information and program storage medium
JP4714124B2 (en) Transmitting apparatus, receiving apparatus, information communication system
JP3856358B2 (en) Image transmission system
JP4349764B2 (en) Reproducing apparatus and recording / reproducing apparatus
JP2002247542A (en) Video secrecy device
JP2558730B2 (en) Video transmission system
JPH0984008A (en) Coder and decoder for image and sound signal
JP3753262B2 (en) Transmission device, reception device, transmission method, and reception method
JPH07303103A (en) Information communication system
JP3807053B2 (en) Video / audio synchronization method and video / audio signal recording / reproducing apparatus
JPH048029A (en) Ciphering and coding device
KR0157666B1 (en) Audio scramble system, audio scramble apparatus and audio descramble apparatus
JPH07107441A (en) Video signal transmission/reception equipment
JP3027815B2 (en) Multimedia multiplex system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees