JPH01106366A - System and device for recording and reproducing digital information by enciphering and decoding - Google Patents

System and device for recording and reproducing digital information by enciphering and decoding

Info

Publication number
JPH01106366A
JPH01106366A JP26407487A JP26407487A JPH01106366A JP H01106366 A JPH01106366 A JP H01106366A JP 26407487 A JP26407487 A JP 26407487A JP 26407487 A JP26407487 A JP 26407487A JP H01106366 A JPH01106366 A JP H01106366A
Authority
JP
Japan
Prior art keywords
data
area
output
error
digital
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
JP26407487A
Other languages
Japanese (ja)
Inventor
Hikari Yokoekawa
横江川 光
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to JP26407487A priority Critical patent/JPH01106366A/en
Publication of JPH01106366A publication Critical patent/JPH01106366A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To ensure liquidation of charge in the reproduction of a writing source and to preclude the illegal use of the writing source by applying a countermeasure for an error to audio, video, or software information, and recording the information after enciphering the information. CONSTITUTION:Digital raw data are made into input data 1, an enciphering processing 2 and an error countermeasure 3, such as an interleaving, are applied to the input data 1, and the input data 1 are inputted to a recording circuit system 4. Or, the digital input data 1 is inputted to the recording circuit system 4 after the procedure itself of the error countermeasure such as the interleaving is made into the procedure of the enciphering processing, and a combined-use processing 5 is applied to the input data 1. Further, in order to reproduced the data, for example, an error processing 7 and a cipher decoding processing 8 are applied to digital input data 6, which are enciphered and worked by the error countermeasure, and the input data 6 are inputted to a reproducing downstream circuit system 9. Moreover, for the digital input data 6, to which an error countermeasure '1' is executed first then a processing is executed in which the procedure of an error countermeasure '2' such as the interleaving is combined with the procedure of the enciphering processing, a processing 10 is executed, in which the error processing '2' is combined with the cipher decoding, and further, an error processing '1' 11 is applied, and the input data 6 is inputted to the reproducing downstream circuit system 9.

Description

【発明の詳細な説明】 〔発明の目的〕 本発明は、情報たとえばオーディオ、ビデオあるいはソ
フトウエア情報はじめ、これらの組合せ情報を暗号化し
て記録し、復号化して再生する方法および装置やシステ
ムに関するものである。とりわけ、デジタルオーディオ
やデジタルビデオの暗号化復号化をはじめ、著作物ソー
スの再生での料金精算、著作物ソースの不正使用の排除
、あるいは使用者独自の暗号系の任意の導入を特徴とす
る記録再生方法および装置やシステムに関するものであ
る。
[Detailed Description of the Invention] [Object of the Invention] The present invention relates to a method, apparatus, and system for encrypting and recording information such as audio, video, or software information, as well as combination information thereof, and decrypting and reproducing information. It is. In particular, recordings that are characterized by the encryption and decoding of digital audio and digital video, the payment of fees for the reproduction of copyrighted material sources, the elimination of unauthorized use of copyrighted material sources, or the optional introduction of user-specific encryption systems. The present invention relates to a reproduction method, device, and system.

本発明の第一の目的は、デジタルオーディオやデジタル
ビデオはじめデジタル情報の暗号化による記録および復
号化による再生にかかる方法および装置の構成の実現に
ある。
A first object of the present invention is to realize a method and apparatus configuration for recording digital information such as digital audio and video by encrypting and reproducing by decoding.

本発明の第二の目的は、記録再生すべき全データを対象
とした暗号化復号化のみならず、その一部のデータのみ
を対象とした暗号化復号化の方法およびその記録再生方
法の実現にある。
The second object of the present invention is to realize not only a method for encrypting and decoding all data to be recorded and reproduced, but also a method for encrypting and decoding only a part of the data, and a method for recording and reproducing the same. It is in.

別の本発明の目的は、上記各目的の方法を実施するため
の、デュアルポートRAM、PCMLSI、PU等を用
いた再生装置の構成の実現にある。
Another object of the present invention is to realize the configuration of a playback device using dual port RAM, PCMLSI, PU, etc. in order to implement the methods for each of the above objects.

さらなる本発明の目的は、上記装置に必要なアドレス指
示回路、アドレスバス出力生成回路、PUの実現にある
A further object of the present invention is to realize an address instruction circuit, an address bus output generation circuit, and a PU necessary for the above device.

〔発明の説明〕[Description of the invention]

1.暗号化による記録方法 従来のデジタルオーディオやデジタルビデオでは入力の
生データに暗号化を施していなかった。
1. Recording method using encryption In conventional digital audio and digital video, the input raw data was not encrypted.

本発明による記録方法では、第1図〔a〕に示すように
、デジタル信号の生データをデジタル入力データ(1)
とし、これに暗号化加工(2)を施したのち、たとえば
インタリービング等のエラー対策(3)を施し、その出
力を記録回路系(4)に入力する。又は第1図〔b〕の
ように、デジタル入力データ(1)に、インタリービン
グなどエラー対策の手順、そのものを暗号化加工の手順
として兼用処理(5)を施したのち記録回路系(4)に
入力する。このとき(1)は、前段でのエラー対策加工
や前段での安号化加工が、すでになされていてもよい。
In the recording method according to the present invention, as shown in FIG. 1 [a], raw data of a digital signal is converted into digital input data (1).
After encrypting the data (2), it is subjected to error countermeasures (3) such as interleaving, and its output is input to the recording circuit system (4). Or, as shown in Figure 1 [b], the digital input data (1) is subjected to error countermeasure procedures such as interleaving, which are also used as encryption processing procedures (5), and then the recording circuit system (4) Enter. At this time, in (1), the error countermeasure processing and the security processing in the previous stage may have already been performed.

2.暗号の復号化による再生方法 たとえば従来のCDオーディオ再生システムではソース
からよみ出した生データにジャツタ除去、デインタリー
ブやエラー訂正を施し、補間による補正、デジタルフィ
ルタを経由してDAコンバータに投入し、アナログ信号
を得ている。本発明ではこの補間補正にはじまる以下の
回路を、再生の下流回路系として定義する。
2. For example, in a conventional CD audio playback system, the raw data read from the source is subjected to jitter removal, deinterleaving, and error correction, and is then corrected by interpolation, passed through a digital filter, and then input to the DA converter. I am getting an analog signal. In the present invention, the following circuit starting from this interpolation correction is defined as a downstream circuit system for reproduction.

本発明の再生方法では、たとえば第1図〔c〕に示すよ
うに、暗号化されさらにエラー対策加工のなされたデジ
タル入力データ(6)をエラー処理(7)し、それに暗
号の復号化処理(8)を施したのち、再生の下流回路系
(9)に入力する例や、第1図〔d〕のように、エラー
対策1がなされたのちにインタリービングなどエラー対
策2の手順を暗号化加工の手順と兼用して加工したデジ
タル入力データ(6)に、エラー処理2と暗号の復号化
とを兼ねた処理(10)を施し、さらにエラー処理1(
11)を施したのち再生の下流回路系(9)に入力する
等の例にて再生する。
In the reproduction method of the present invention, for example, as shown in FIG. 1 [c], the digital input data (6) that has been encrypted and subjected to error countermeasure processing is subjected to error processing (7), and then the encrypted data is decrypted (7). 8) and then input to the downstream circuit system for reproduction (9), or as shown in Figure 1 [d], after error countermeasure 1 has been implemented, the procedure for error countermeasure 2 such as interleaving is encrypted. The digital input data (6) that has been processed in conjunction with the processing procedure is subjected to a process (10) that combines error processing 2 and decryption, and then error processing 1 (
11) and then input to the downstream circuit system (9) for reproduction.

尚、(6)の加工順序にしたがい、(7)と(8)の順
序変更もできる。また、図中の各要素たとえば再生の下
流回路系(9)の技術等は既知であり、第1図〔e〕は
その構成例にて、補間回路(13)、デジタルフィルタ
(14)、DAコンバータ(15)の組合せより成る。
Note that the order of (7) and (8) can also be changed according to the processing order of (6). In addition, the technology of each element in the figure, such as the downstream circuit system for reproduction (9), is known, and FIG. It consists of a combination of converters (15).

尚、以後、暗号化手順をW、復号化手順をW−1にて示
すことにする。
Hereinafter, the encryption procedure will be indicated by W, and the decryption procedure will be indicated by W-1.

3、暗号化複号化の対象データ 従来のDATでは、左右チャネルのひとつのデータが、
8−10変換により1シンボル10チャネルビットとし
て、2シンボル単位で扱われるが、このシンボルの倍数
単位で暗号化するのが望ましい。
3. Data to be encrypted and decrypted In conventional DAT, one data for the left and right channels is
By 8-10 conversion, one symbol is treated as 10 channel bits and is treated in units of two symbols, but it is desirable to encrypt in units of multiples of this symbol.

さらに本発明では、記録再生するデータ全部を從来復号
化の対象として処理する他にも、一部のデータのみを暗
復号化する方式をも可能とする。
Furthermore, in the present invention, in addition to processing all of the data to be recorded and reproduced as a subject of incoming decoding, it is also possible to encrypt and decrypt only a part of the data.

一部のみの暗号化の際は、どのデータを対象にしたか、
つまり暗号化を施したデータがどれかを、復号化の装置
に知悉せしめねばならない。その方法のひとつとして、
第2図〔a〕では当該デジタルデータの特定部位たとえ
ばデータの頭やMSBに複数のビットより成る印を添加
する。再生装置は第2図〔b〕に示すように、この印を
検出したデータのみを復号化する。さらに別の方法とし
て、例えばDATではひとつのブロック、CDではひと
つのフレームにて何個かのデータを組にして載せるが、
この中で第2図〔C〕に示すように、あらかじめ定めた
位置にあるデータのみを暗号化する。
If only a portion of the data is encrypted, what data was targeted?
In other words, it is necessary to let the decryption device know which data has been encrypted. One of the methods is
In FIG. 2 (a), a mark consisting of a plurality of bits is added to a specific portion of the digital data, such as the beginning or MSB of the data. The reproducing device decodes only the data for which this mark is detected, as shown in FIG. 2 (b). Another method is to load several pieces of data in one block for DAT or one frame for CD, for example.
Among these, as shown in FIG. 2 [C], only data located at a predetermined position is encrypted.

あらかじめ定めた位置の情報それ自体を、媒体の前以て
定めた部分に記録することもできる。
The predetermined location information itself can also be recorded on a predetermined portion of the medium.

再生装置は第2図〔d〕のように、ブロックやフレーム
内の、あらかじめ定めた位置のデータのみを復号化する
。〔e〕に示すようにあらかじめ定めた位置の情報K(
29)は、メモリ(31)やレジスタからよみ出すが、
又は記録媒体(30)からよみ出したり、キー入力など
(32)外から入力してもよい。このとき、媒体からよ
み出した位置の情報(33)自体を暗号化しておき、復
号化のパスワードをキー入力するか、あらかじめメモリ
に収納しておいたパラメータR(34)と対に組合せる
ことで復号手順(35)を得るという構成にすることも
できる。
As shown in FIG. 2 (d), the playback device decodes only data at a predetermined position within a block or frame. As shown in [e], information K(
29) is read from memory (31) and registers, but
Alternatively, the information may be read from the recording medium (30) or input from outside (32), such as by key input. At this time, the position information (33) read out from the medium itself must be encrypted, and the decryption password must be entered using a key, or it must be paired with the parameter R (34) stored in memory in advance. It is also possible to obtain the decoding procedure (35) using the following steps.

これらの構成により、再生時に復号化すべきデータを装
置が入手できる。
These configurations allow the device to obtain data to be decoded during playback.

4.装置の構成 つぎに、前述した本発明の方法を実施するため、本発明
では第7図、第8図に例として示した構成の装置を使用
する。いま、第7図のデジタルオーディオ再生装置にて
、DATテープやCDからよみ出したデジタル生データ
(106)を、PCMLSI(100)がデュアルポー
トRAM(以下、DPRAMという)(40)の甲領域
(41)に格納し、これをエラー検出訂正器(134)
がよみ出してエラー訂正を施したのち、再びDPRAM
の乙領域(41b)に格納する。一方、プロセシングユ
ニット(以下、PUという)(101)が、このデータ
を乙領域(41b)からとり出し、W−1を用いて暗号
の復号化処理を施して再びDPRAMの丙領域(41c
)に格納し、このデータをPCMLSI(100)が再
びDPRAMの丙領域(41c)からとり出して、イン
ターポレータやデジタルヒルタやDAコンバータなどよ
り成る、再生の下流回路系(9)に入力する。
4. Configuration of Apparatus Next, in order to carry out the method of the present invention described above, the present invention uses an apparatus having the configuration shown as an example in FIGS. 7 and 8. Now, in the digital audio playback device shown in Fig. 7, the PCMLSI (100) stores the digital raw data (106) read from the DAT tape or CD into the instep area (40) of the dual port RAM (hereinafter referred to as DPRAM) (40). 41), and this is stored in the error detection and correction unit (134).
After the data is read and error correction is performed, the DPRAM is loaded again.
The data is stored in the B area (41b). On the other hand, the processing unit (hereinafter referred to as PU) (101) takes out this data from the B area (41b), performs the decryption process using W-1, and then rewrites the data to the C area (41c) of the DPRAM.
), the PCMLSI (100) again takes out this data from the C area (41c) of the DPRAM, and inputs it to the downstream circuit system (9) for regeneration, which consists of an interpolator, digital Hilter, DA converter, etc. .

かくしてPCMLSI(100)は再生を実行中に、以
下の3種の仕事を行う。
Thus, PCMLSI (100) performs the following three types of work while performing regeneration.

第1は、ソースからよみ出したデジタルの生データをD
PRAMの甲領域に格納すること。
First, the digital raw data read from the source is
Store in the upper area of PRAM.

第2は甲領域よりよみ出した生データにエラー訂正を施
して乙領域に格納すること。
The second is to perform error correction on the raw data read from Area A and store it in Area B.

第3は、復号化処理済のデータを丙領域からとり出して
、再生の下流回路系に送り出すこと、である。
The third step is to take out the decoded data from the C area and send it to the downstream circuit system for reproduction.

一方、PU(101)は再生を実行中に、PCMLSI
(100)が格納したエラー訂正済データを乙領域(4
1b)からとり出して復号化処理を施し、結果を丙領域
(41c)に格納するという作業を行う。したがって再
生を実行する単位期間として、たとえばDATのブロッ
ク1組分と定めた場合には、PCMLSI(100)と
PU(101)に、同一ブロック期間内に上記をそれぞ
れ実行させるため、乙領域(41b)へのかきこみとよ
み出し、及び丙領域(41c)へのかきこみとよみ出し
が、重復する。これをさけるべく、本発明では第3図(
a)の如く、乙領域を乙1エリア(42)と乙2エリア
(43)に分割し、また丙領域も同様に丙1エリア(4
4)と丙2エリア(45)に分割し、ある同一ブロック
期間内にて、第3図〔a〕のαに示すようにPCMLS
Iがエラー訂正処理(46)を行い、乙領域のひとつの
エリアたとえば乙1エリア(42)にエラー訂正したデ
ータをかきこむ一方、PUは乙領域の方のエリア、この
図では乙2エリア(43)から、ひとつ前のブロック期
間内にPCMLSIがかきこんでおいたデータをよみ出
すものとし、また同じそのブロック期間内にて、PUが これをW−1(47)にて復号化したのち、丙領域のひ
とつのエリア、ここでは丙2エリア(45)に復号化処
理済のデータをかきこむ。この一方で、PCMLSIは
丙領域の他のエリア、ここでは丙1エリア(44)から
、ひとつ前のブロック期間にてPUがかきこんでおいた
データ(48)をよみ出して、再生の下流回路系に送る
ように構成する。そして続く次のブロック期間にては、
第3図〔a〕のβに示すように、前述のエリアを逆転し
てそれぞれ実行させ、さらに次のブロックにて再びαに
戻るよう、αとβを交互に実行すれば、再生は円滑に継
続され、とぎれや滞留を生じない。
On the other hand, while the PU (101) is performing playback, the PCMLSI
(100) stores the error corrected data stored in the B area (4).
1b), performs decoding processing, and stores the result in area C (41c). Therefore, if the unit period during which playback is executed is, for example, one set of DAT blocks, in order to have PCMLSI (100) and PU (101) execute the above operations within the same block period, ), and the writing and reading to area C (41c) are repeated. In order to avoid this, the present invention is shown in Figure 3 (
As shown in a), the Otsu area is divided into the Otsu 1 area (42) and the Otsu 2 area (43), and the C area is also divided into the C area 1 (43).
4) and C2 area (45), and within the same block period, as shown in α in Figure 3 [a], PCMLS
I performs error correction processing (46) and writes the error-corrected data into one area of the Otsu area, for example, the Otsu 1 area (42), while the PU writes the error-corrected data into an area of the Otsu area, in this figure, the Otsu 2 area (43). ), PCMLSI reads the data written in it within the previous block period, and within the same block period, after the PU decodes it at W-1 (47), The decoded data is written into one area of the area, here the C2 area (45). On the other hand, the PCMLSI reads the data (48) written by the PU in the previous block period from another area of the C region, here the C1 area (44), and the downstream circuit for playback Configure it to send to. Then, in the next block period,
As shown in β in Figure 3 [a], if the aforementioned areas are reversed and executed, and then α and β are executed alternately so as to return to α again in the next block, the playback will be smooth. Continuous, with no interruptions or stagnation.

このエリア切りかえと、それに伴うアドレス変更を、P
CMLSI及びPUがソフトにて行うこともできるが、
ソフト処理に時間を費すため、本発明ではこの目的にか
なうアドレスデスティネータ及びアドレスサーバーを開
発し、ハード的に実行して時間短縮をはかった。
This area change and associated address change will be performed on P
CMLSI and PU can also do it with software,
Since software processing requires time, the present invention has developed an address destination and an address server that meet this purpose, and implemented them in hardware to save time.

これにより、PCMLSIとPUともに、乙領域内の各
エリアの指定区別や丙領域内の各エリアの指定にかかわ
る必要がなくなり、時間短縮となるのみならず、制御が
容易となった。
This eliminates the need for both the PCMLSI and the PU to be concerned with the designation of each area within the B area and the designation of each area within the C area, which not only saves time but also facilitates control.

さらに、RAMに既存技術のデュアルポートRAMを用
い、PCMLSIとPUが同一の、又は重復したマシン
サイクルであっても、RAM上の異ったメモリセルをそ
れぞれ単独に、同時にアクセスできるようにし、かくて
ブロック中の限られたステップをみかけ上2倍の数に増
大させることで、より複雑な復号化処理をも適用可能た
らしめた。尚、上記でのべたPCMLSIとPUが再生
中に実時間で処理する、時間的制約のきびしい作業の他
に、W&W−1登録や更新といった、比較的に時間上制
約のゆるやかな作業も存在する。これらをそれぞれ順に
Aクラスのジョブ、Bクラスのジョブとよぶことにする
Furthermore, by using a dual-port RAM of existing technology as the RAM, the PCMLSI and PU can access different memory cells on the RAM independently and simultaneously even in the same or repeated machine cycles. By apparently doubling the number of limited steps in a block, more complex decoding processing can be applied. In addition to the above-mentioned tasks that have strict time constraints, which are processed in real time by PCMLSI and PU during playback, there are also tasks that have relatively loose time constraints, such as W&W-1 registration and updates. . These will be referred to as A-class jobs and B-class jobs, respectively.

デュアルポートRAMのエリア分割と、アドレシングの
例を、第3図〔6〕に示す。
An example of area division and addressing of the dual port RAM is shown in FIG. 3 [6].

DPRAMの、L個のビットにてアドレス表示できるメ
モリ領域を甲と非甲に折半分割すれば、第Lビット目の
1と0に、甲と非甲とを対応づけうる。例えば、256
バイトのメモリ領域をそれぞれ128バイトの甲(41
)と非甲(41a)に分割すれば、アドレスデータ(4
9)の第8ビット目(以下、bgにて示す。他のビット
についても同様)の1に甲領域(41)を、0に非甲領
域41aをそれぞれ対応させうる。
If the memory area of the DPRAM, whose address can be expressed by L bits, is divided in half into the A and non-A, the 1 and 0 of the Lth bit can be associated with the A and the non-A. For example, 256
Byte memory area is 128 bytes each (41
) and non-A (41a), the address data (4
9) of the eighth bit (hereinafter referred to as bg; the same applies to other bits), 1 can be made to correspond to the instep area (41), and 0 can be made to correspond to the non-instep area 41a, respectively.

さらに、非甲領域(41a)を乙(41b)と丙(41
c)の両領域に折半分割すれば、それぞれ64バイトず
つのエリアができ、アドレスデータ(49)の第7ビッ
ト目、7の1に丙(41c)、0に乙(41b)を、そ
れぞれ対応させうる。
Furthermore, the non-A area (41a) is
By dividing the area in half into both areas of c), an area of 64 bytes each will be created, and the 7th bit of address data (49) corresponds to C (41c) to 1 of 7 and Otsu (41b) to 0, respectively. I can do it.

さらに乙や丙につき、これらを折半してそれぞれ32バ
イトの乙1(42)と乙2(43)および丙1(44)
と丙2(45)エリアに分割すれば、b691エリア1
に、0をエリア2に、それぞれ対応させうる。1と2を
逆に対応づけてもよい。
Furthermore, for Otsu and Hei, these are divided in half and Otsu 1 (42), Otsu 2 (43) and Hei 1 (44) each have 32 bytes.
If divided into 2 (45) areas, b691 area 1
and 0 can be made to correspond to area 2, respectively. 1 and 2 may be reversely associated.

DATレコーダにつき、本発明による装置のタイミング
設計例を第4図に示す。いま仮りに着目するDATシス
テムのシステロクロックを2.8224Mc/sとし、
32クロックに相当する時間帯に右又は左チャネルの音
信号データを1個、PCMLSIが再生の下流回路系に
出力するものとし、この左右対の音信号データ5組にて
1ブロックを構成させれば、1ブロック内のクロック数
は320、1ブロックの時間は約113マイクロ秒とな
る。本発明のシステムでは、320のクロックを、PC
MLSIでは前述の3種類の仕事を配分して使い、一方
PUでは同じ320クロックを、暗号化されているデー
タに復号化処理に使う。
FIG. 4 shows an example of timing design for a DAT recorder according to the present invention. Let's assume that the system clock of the DAT system we are currently focusing on is 2.8224 Mc/s,
The PCMLSI outputs one piece of sound signal data of the right or left channel to the downstream circuit system for reproduction during a time period corresponding to 32 clocks, and one block is made up of five pairs of left and right sound signal data. For example, the number of clocks in one block is 320, and the time of one block is about 113 microseconds. In the system of the present invention, the clock of 320
In MLSI, the three types of work mentioned above are distributed and used, while in PU, the same 320 clocks are used for decryption processing of encrypted data.

本発明では、DPRAMを甲、乙、丙領域に分け、さら
にて、丙をそれぞれ2つのエリアに分割の上、あるブロ
ック時間帯内にてPCMLSIとPUが同一のメモリセ
ルを決して重復アクセスせめよう構成したから、PCM
LSIもPUも共に、相手の作業との調整をとったり、
待ち時間を設けたりする必要は全くない。即ち、例えば
PUは、このブロックが終了するまでの間に320クロ
ックを使って、丙1が丙2のエリアに復号済データを収
納するところまでを完了させれ ばよい。収納された、これら5組10個の音信号データ
は、次のブロックにてPCMLSIにより、再生の下流
回路系に送り出される。上記のブロック構成は一例にす
ぎず、様々のブロック構成たとえば4組8個、8組16
個などをとることができる。
In the present invention, the DPRAM is divided into areas A, B, and C, and each C is divided into two areas, and the PCMLSI and PU never access the same memory cell repeatedly within a certain block time period. Since it is configured, PCM
Both LSI and PU coordinate with the work of the other party,
There is no need to set up a waiting time. That is, for example, the PU only needs to use 320 clocks until the end of this block to complete storing the decoded data from C1 to C2 area. These 5 sets of 10 sound signal data stored are sent to the downstream circuit system for reproduction by the PCMLSI in the next block. The above block configuration is only an example, and various block configurations may be used, such as 4 sets of 8 blocks, 8 sets of 16 blocks, etc.
You can take pieces etc.

つぎに、アドレスデスティネータにつき、説明する。Next, the address destination will be explained.

アドレスデスティネータは、前記のブロック毎のエリア
交換を自動的に行うための回路であり、第5図〔a〕の
例に示す構成をもつ。この図の例では、アドレスデータ
を8ビット構成としている。
The address destination is a circuit for automatically performing the above-mentioned area exchange for each block, and has the configuration shown in the example of FIG. 5(a). In the example shown in this figure, the address data has an 8-bit configuration.

アドレスデスティネータ(50)は、フリップクロップ
(以下、FFと示す)(51)及びPCMLSI側のア
ドレスサーバー(52)と、PU側のアドレスサーバー
(53)、さらにDPRAM(40)より構成し、クロ
ック中をもとにしてブロックの開始に相当する時刻は発
生させた信号(55)をFF(51)に入力、これによ
り信号(55)が衣り度にFFの出力Q(56)とQ(
57)の極性(“H”と“L”、または1と0)が反転
する。即ち、ブロックが変る毎にQは1から0、0から
1へと変り、一方、Qは0から1、1から0へと変る。
The address destination (50) is composed of a flip-flop (hereinafter referred to as FF) (51), an address server (52) on the PCMLSI side, an address server (53) on the PU side, and a DPRAM (40). At the time corresponding to the start of the block, the generated signal (55) is input to the FF (51), so that the signal (55) is automatically output to the FF outputs Q (56) and Q (
57) polarity (“H” and “L” or 1 and 0) is reversed. That is, each time the block changes, Q changes from 1 to 0 and from 0 to 1, while Q changes from 0 to 1 and from 1 to 0.

Q(56)、Q(57)ともに、値が1のときDPRA
M(40)の例えば乙1か丙1、値が0のとき乙2か丙
2のエリアを、それぞれ対応させる。いま、Q(56)
と、PCMLSIを出すアドレスデータ(58)(これ
にはDPRAM(40)の甲領域へのアクセスも含まれ
る)をPCMLSI側のアドレスサーバー(52)に入
力し、その出力をDPRAM(40)のPCMLSI側
アドレスバス(59)に出す。一方、Q(57)と、P
Uの出すアドレスデータ(60)(これには、甲領域へ
のアクセスは含まれない)をPU側のアドレスサーバー (53)に入力し、その出力をDPRAM(40)のP
U側アドレスバス(61)に出す。尚、信号(55)は
第7図に示す分周器にて作成し、そのクロック0はXT
AL系が望ましい。
When both Q(56) and Q(57) have a value of 1, DPRA
For example, if the value is 0, areas Otsu 1 or C 1 of M(40) are made to correspond to areas Otsu 2 or C 2. Now Q (56)
Then, the address data (58) that outputs PCMLSI (this includes access to the A area of DPRAM (40)) is input to the address server (52) on the PCMLSI side, and the output is input to the PCMLSI of DPRAM (40). output to the side address bus (59). On the other hand, Q(57) and P
The address data (60) issued by U (this does not include access to area A) is input to the address server (53) on the PU side, and the output is sent to P of DPRAM (40).
Output to the U side address bus (61). The signal (55) is created by the frequency divider shown in Fig. 7, and its clock 0 is XT
AL type is preferable.

例として第3図〔b〕に示した、256バイトのDPR
AMを8ビットにてアドレシングする場合、甲領域12
8B、乙1、乙にて、丙1、丙2がそれぞれ32Bより
構成し、アドレスデータのb8が1にて甲を、0にて非
甲領域をそれぞれ対応させる。またb7が0にて乙領域
、1にて丙領域を、さらにb6が0にて乙1か丙1、b
6が1にて乙2か丙2を、それぞれ対応させる。かくし
て乙1、乙にて、丙1、丙2内のメモリセルは、b5内
至b1にて固定できる。したがってPCMLSIは甲領
域つまり生データのかきこみとり出しのときはb8を1
とし、乙へのかきこみでb8=0、b7=0、丙からの
よみ出しでb8=0、b7=1とし、アクセスすべきメ
モリセルをb5内至b1にて同定し、かくてこの信号を
(58)としてPCMLSI側のアドレスサーバーに送
り出す。
As an example, the 256-byte DPR shown in Figure 3 [b]
When addressing AM with 8 bits, A area 12
8B, Otsu 1, Otsu, Hei 1 and Hei 2 each consist of 32B, and b8 of the address data corresponds to A with 1 and non-A area with 0, respectively. Also, b7 is 0 for Otsu area, 1 for C area, and b6 is 0 for Otsu1 or C1, b
6 and 1 correspond to Otsu 2 and Chou 2, respectively. In this way, the memory cells in Otsu 1 and Otsu, Hei 1 and Hei 2 can be fixed between b5 and b1. Therefore, PCMLSI sets b8 to 1 when extracting the instep area, that is, raw data.
Then, by writing to B, b8 = 0, b7 = 0, reading from C, b8 = 0, b7 = 1, the memory cell to be accessed is identified from b5 to b1, and this signal is (58) and sends it to the address server on the PCMLSI side.

ここでb8=0のときは、b6は任意でよい。一方、P
Uは乙からのよみ出しのときb7を0、丙へのかきこみ
のときb7を1とし、アクセスすべきメモリセルのアド
レスをb5内虫b1にて同定し、信号(60)としてP
Uβのアドレスサーバーに送り出す。このときb6の値
は任意でよい。
Here, when b8=0, b6 may be arbitrary. On the other hand, P
U sets b7 to 0 when reading from B, sets b7 to 1 when writing to C, identifies the address of the memory cell to be accessed with b1 in b5, and sends P as a signal (60).
Send to Uβ address server. At this time, the value of b6 may be arbitrary.

PCMLSI側のアドレスサーバー(52)は、PCM
LSIの発したアドレスデータ(58)を一担受け、そ
のi5b8が1つまり甲振域を示すものなら全ビットを
そのままPCMLSI側のDPRAMアドレスバス(5
9)にのせ、もしb8が0、つまり非甲領域を示すもの
ならb8、b7及びb5内至b1の各ビットをそのまま
採用し、一方、第6ビットb6には、FF(51)から
のQ出力(56)に対応した値を採用して、これらをP
CMLSI側のDPRAMアドレスバス(59)にのせ
る。第5図〔b〕はビット構成を示し、(イ)は甲領域
のアクセス、(2)は乙1にかきこみ、(3)は乙2に
かきこみ、(4)は丙1からよみ出し、(5)は丙2か
らよみ出しを、それぞれ示す。
The address server (52) on the PCMLSI side is the PCM
If the address data (58) issued by the LSI is received and i5b8 is 1, that is, it indicates the oscillation region, all bits are sent as they are to the DPRAM address bus (58) on the PCMLSI side.
9), if b8 is 0, that is, indicates a non-instep region, then each bit of b8, b7, and b5 to b1 is adopted as is, while the 6th bit b6 is set to Q from FF (51). Adopt the values corresponding to the output (56) and convert these to P
It is placed on the DPRAM address bus (59) on the CMLSI side. Figure 5 [b] shows the bit configuration, where (a) is access to area A, (2) is written into Otsu 1, (3) is written into Otsu 2, (4) is read from C 1, ( 5) shows reading from C2.

PU側のアドレスサーバー(53)はPUの発したb7
からb1のアドレスデータ(60)を一担受け、そのう
ちでb6以外はこれらをそのまま採用し、一方b6には
FF(51)からのQ出力(57)に対応した値を採用
して、これらをPU側のDPRAMアドレスバス(61
)にのせる。このとき、PUは甲領域をアクセスするこ
とがないゆえ、DPRAMのPU側アドレスの第8端子
を0に固定する。第5図〔b〕の(6)は乙2からよみ
出し、(7)は乙1からよみ出し、(8)は丙2にかき
こみ、(9)は丙1にかきこみを、それぞれ示す。
The address server (53) on the PU side is the b7 issued by the PU.
Receive one address data (60) of b1 from , use them as they are except for b6, and use the value corresponding to Q output (57) from FF (51) for b6. DPRAM address bus (61
). At this time, since the PU does not access the A region, the eighth terminal of the PU side address of the DPRAM is fixed to 0. In Figure 5 [b], (6) is read out from Otsu 2, (7) is read out from Otsu 1, (8) is written into C2, and (9) is written into C1.

つぎにアドレスサーバーにつき説明する。Next, address servers will be explained.

アドレスサーバーとは、入力データのブロック毎に出力
値を反転させ、次のブロックまでその値を保持する性質
のQ又はQを入力値に用い、PCMLSIやPUから入
力されたアドレスデータに加工を施して、DPRAMへ
のアドレスバス出力を生成する、アドレスバス出力生成
回路である。
An address server is a system that processes address data input from PCMLSI or PU by using Q or Q as an input value, which has the property of inverting the output value for each block of input data and retaining that value until the next block. This is an address bus output generation circuit that generates an address bus output to the DPRAM.

加工の内容は、そのブロックに対応する期間内に入力さ
れたアドレスデータにつき、ブロックによらず変更の必
要のないビットはそのまま出力し、ブロック毎に値を変
更する必要のあるビットについては、QやQの値より自
動生成させ、これと置きかえてアドレスバスに出力する
The content of the processing is to output the bits that do not need to be changed as is, regardless of the block, for the address data that was input within the period corresponding to that block, and to output the bits that do not need to be changed as is, for the bits whose value needs to be changed for each block. It is automatically generated from the values of and Q, and output to the address bus in place of this.

アドレスサーバーの例を、第6図に示す。An example of an address server is shown in FIG.

第6図〔a〕は、第5図〔a〕の構成および第3図〔b
〕のDRAMメモ6領域に対応した、PCMLSI側の
アドレスサーバー(52)の構成例にて、ゲート2(6
5)の第1系統から第5系統まで(66)にはPCML
SIから入ったアドレスデータA(58)の下位5ビッ
ト分(67)を接続、第6系統には(68)第5図のF
F(51)から信号Q(56)を入力、第7系統(69
)と第8系統(70)にはA(58)のb7(71)と
b8(72)を、それぞれ接続し、これら8つの系統の
ゲート2出力(73)はPCMLSI側のDPRAMア
ドレスバス(59)に接続する。ゲート2(65)は論
理回路2(74)の出力(75)をゲート2のセレクト
端子G(76)と結ぶことにより、(75)の値に応じ
て開閉制御される。
Figure 6 [a] shows the configuration of Figure 5 [a] and Figure 3 [b].
] In the configuration example of the address server (52) on the PCMLSI side, which corresponds to the DRAM memory 6 area, gate 2 (6
5) from the first system to the fifth system (66) is PCML.
Connect the lower 5 bits (67) of address data A (58) input from SI, and connect (68) F in Figure 5 to the 6th system.
Input signal Q (56) from F (51), input signal Q (56) from 7th system (69
) and the eighth system (70) are connected to b7 (71) and b8 (72) of A (58), respectively, and the gate 2 outputs (73) of these eight systems are connected to the DPRAM address bus (59) on the PCMLSI side. ). Gate 2 (65) is controlled to open or close according to the value of (75) by connecting the output (75) of logic circuit 2 (74) to select terminal G (76) of gate 2.

論理回路1(77)は、A(58)のb8(72)が1
のとき出力(78)を1とし、論理回路2(74)はb
8(72)が0のとき出力(75)を1とする。いま、
A(58)入力のb8(72)が0すなわち非甲領域(
41a)を選択、b7(71)が0すなわち乙領域(4
1b)を選択のとき第6系統(68)に入力するQ(5
6)の値により、乙領域のうちの21(42)か乙2(
43)が決定できる。このとき、A(58)のb6(7
9)は、よみすてうる。いま例えばQ(56)の値とし
て0を入力すれば、乙2(43)内のひとつのメモリセ
ルがA(58)の下位5ビット(67)にてきまる。こ
こで、Q(56)の値が1に変れば、乙2(43)と入
れかわって乙1(42)内のひとつのメモリセルがきま
る。かくて、Q(56)の値の反転により乙1(42)
と乙2(43)を容易に選択しうるし、よってA(58
)を出力する前段の回路つまりPCMLSIは、乙1か
乙2かを意識する必要はなくなる。
In logic circuit 1 (77), b8 (72) of A (58) is 1
When , the output (78) is 1, and the logic circuit 2 (74) is b
When 8 (72) is 0, the output (75) is set to 1. now,
b8 (72) of A (58) input is 0, that is, non-instep area (
41a) is selected, b7 (71) is 0, that is, area B (4
1b) is selected, the Q(5) input to the 6th system (68)
Depending on the value of 6), 21 (42) or Otsu 2 (of Otsu area)
43) can be determined. At this time, b6(7) of A(58)
9) can be read. For example, if 0 is input as the value of Q (56), one memory cell in Otsu 2 (43) will be determined by the lower 5 bits (67) of A (58). Here, if the value of Q (56) changes to 1, one memory cell in Otsu 1 (42) is determined, replacing Otsu 2 (43). Thus, due to the reversal of the value of Q (56), Otsu 1 (42)
and Otsu 2 (43) can be easily selected, so A (58)
), that is, the PCMLSI, does not need to be aware of whether it is Otsu 1 or Otsu 2.

b7(71)を1とすれば、丙領域(41c)となり、
上記乙領域でのべたと同様な、エリア1とエリア2即ち
丙1(44)と丙(45)の選択と切りかえが、Q(5
6)の値により自動的になしうる。以上にて、ゲート1
(80)は非導通のままとなる。さて、もしA(58)
のb8(72)が1、すなわち甲領域(41)を選択し
ていれば、出力(78)が1となり、ゲート1(80)
のセレクト端子G(81)に入力される結果、ゲート1
(80)が導通となる一方、ゲート2(65)は閉じら
れる。かくてA(58)の8個のビットはそのままゲー
ト1(80)を経てDPRAMアドレスバス(59)に
現れ、かくて甲領域内のメモリセルが、b7内径至b1
のビットによって選択される。したがってPCMLSI
はエリア交換を一切考慮することなく、プログラム作成
と実行が可能となる。
If b7 (71) is set to 1, it becomes area C (41c),
The selection and switching of area 1 and area 2, that is, area 1 (44) and area 2 (45), is the same as described in area B above.
This can be done automatically depending on the value of 6). With the above, gate 1
(80) remains non-conducting. Now, if A (58)
b8 (72) is 1, that is, if the instep region (41) is selected, the output (78) is 1, and gate 1 (80)
As a result of being input to the select terminal G (81) of the gate 1
(80) becomes conductive, while gate 2 (65) is closed. In this way, the 8 bits of A (58) directly pass through gate 1 (80) and appear on the DPRAM address bus (59), and thus the memory cells in the instep area are connected from b7 inner diameter to b1.
selected by the bit of Therefore, PCMLSI
It becomes possible to create and execute programs without considering area exchange at all.

以上のように動作するから、いま甲領域(41)にエラ
ー訂正前のDAT再生データを格納し、乙領域(41b
)にはこの甲領域のデータにエラー訂正を施したデータ
を、さらに丙領域(41c)にはこの乙領域データにW
−1処理を施したデータを、それぞれ格納するよう構成
すれば、ブロック毎のエリア交換が自動的に行われ、デ
ータの再生を円滑に続行できる。
Since the operation is as described above, the DAT playback data before error correction is now stored in the A area (41), and the DAT playback data before error correction is stored in the A area (41b).
) contains the error-corrected data in area A, and area C (41c) contains the data in area B with W.
If the configuration is such that data subjected to -1 processing is stored, area exchange for each block is automatically performed, and data reproduction can be continued smoothly.

尚、甲領域に大サイズが必要なときはメモリを大とする
鯨にも、甲と非甲を等分割によらず、甲を大とするよう
分割することもできる。本発明による方法は、乙と丙の
分割が等分割でなくとも実施できる。例として、第6図
〔b〕と〔c〕に示すような、乙対丙のサイズが3対1
の場合を説明する。
In addition, when a large size is required for the instep region, the instep can be divided so that the instep is large instead of dividing the instep and non-instep equally to increase the memory. The method according to the present invention can be carried out even if the division into B and C is not equal. For example, as shown in Figure 6 [b] and [c], the size of B to C is 3 to 1.
Let's explain the case.

全体で256バイトのDPRAM(82)を16バイト
より成る16組に分け、乙1(83)と乙2(84)が
それぞれ3組48バイト、丙1(85)と丙2(86)
が各々1組16バイトより構成すると、アドレス表示は
8ビットにて、そのb7b6b5を〔b〕に示すように
対応させる。甲はb8が1、非甲は0である。b6とb
7に着目すると、両方が1のとき丙エリア(89)、両
方とも1でないとき乙エリア(88)であり、さらに丙
2(86)のアドレス表示は丙1(85)のそれのb5
を1としたもの、さらに乙2(84)のアドレス表示は
、乙1(83)のそれらのb5とb6に1を加えたもの
(桁あがりはb7に入れるものとする)であるから、以
上に着目してアドレスサーバーをPU側にて作成した例
を第6図〔c〕に示す。PUは乙に関する命令はすべて
乙1のアドレスにて、また丙に関する命令はすべて丙1
のアドレスにて表示するよう決めておけば、PUから入
力してくるアドレスデータ(60)のうち、b1b2b
3b4とb8は、そのままDPRAMに出力できる。b
5b6b7につき、もしFFからのQ出力が(57)が
1なら乙1(83)が丙1(85)ゆえ、この3ビット はこのままゲート(90)を開けてDPRAMに出力す
る。Q=0のときは論理ゲート3(93)にて丙2か乙
2かを決定し、丙2なら加算器(94)、乙2ならゲー
ト(95)を経由してDPRAMに出力する。
The DPRAM (82), which has a total of 256 bytes, is divided into 16 groups of 16 bytes, and Otsu 1 (83) and Otsu 2 (84) each have 3 groups of 48 bytes, Hei 1 (85) and Hei 2 (86).
When each set is composed of 16 bytes, the address is represented by 8 bits, and the b7b6b5 correspond to each other as shown in [b]. B8 is 1 for the instep and 0 for the non-instep. b6 and b
Focusing on 7, when both are 1, it is the C area (89), and when both are not 1, it is the B area (88), and furthermore, the address display of C2 (86) is b5 of that of C1 (85).
Furthermore, the address display of Otsu No. 2 (84) is the addition of 1 to b5 and b6 of Otsu No. 1 (83) (the rising digit shall be placed in b7), so the above is as follows. An example in which an address server is created on the PU side with a focus on this is shown in FIG. 6 [c]. PU will send all instructions regarding Party B to Party B 1's address, and all orders regarding Party C to Party 1's address.
If you decide to display the address of b1b2b among the address data (60) input from PU,
3b4 and b8 can be output to DPRAM as is. b
For 5b6b7, if the Q output from the FF (57) is 1, Otsu1 (83) is C1 (85), so these 3 bits are outputted to the DPRAM by opening the gate (90). When Q=0, the logic gate 3 (93) determines whether it is C2 or Otsu2, and if C2, it is output to the DPRAM via the adder (94), and if Otsu2, it is output to the DPRAM via the gate (95).

第7図と第8図は本発明による装置の構成例で、DAT
の再生装置に適用した例を示す。第7図はアドレスデス
ティネータつまりFF(51)と2基のアドレスサーバ
ー(52)と(53)及びDPRAM(40)をPCM
LSI(100)やPU(101)の外部に設けた例を
、第8図には(51)と(52)を(100)の中に、
(53)を(101)の中部に組込んだ例を示す。第8
図では、PCMLSI内のQ出力(57)をとり出し、
PU内のアドレスサーバー(53)に入力する。ブロッ
クの開始に相当するタイミングは、クロックφ(102
)を分周してつくり、PUに割込み(104)にて通知
するが、第7図のようにNMI入力(103)によるも
のと、第8図の如きINT3入力(105)によるもの
との2通りが可能である。NMIはレスポンスが速く、
ステップ数も節約できるゆえ、本発明の構成のような高
速処理にてかつ、割込み前に復帰の必要のないケースに
は適切だが、マスクができぬため、WやW−1の更新作
業の際には、NMIによる作業中継をさけるべく、PU
(101)へのNMI入力(103)を断たねばならな
い。
FIGS. 7 and 8 show configuration examples of the device according to the present invention.
An example of application to a playback device is shown below. Figure 7 shows an address destination, or FF (51), two address servers (52) and (53), and a DPRAM (40) in PCM.
An example in which (51) and (52) are provided outside of LSI (100) and PU (101) is shown in Figure 8 in (100).
An example in which (53) is incorporated into the middle part of (101) is shown. 8th
In the figure, the Q output (57) in PCMLSI is taken out,
Input to address server (53) in PU. The timing corresponding to the start of the block is clock φ(102
) and notify the PU by interrupt (104), but there are two types: one by NMI input (103) as shown in Fig. 7, and the other by INT3 input (105) as shown in Fig. 8. street is possible. NMI has a fast response,
Since the number of steps can be saved, it is suitable for high-speed processing such as the configuration of the present invention and when there is no need to return before an interrupt. However, since masking cannot be performed, when updating W or W-1, In order to avoid work relay by NMI, PU
The NMI input (103) to (101) must be cut off.

そこで第7図に示す如く、FF(111)をPUにI/
Oポート出力(113)により制御し、そのFF出力に
よりTG(114)を必要期間だけ非導通としてブロッ
ク割込み(104)をしゃ断し、よってNMI入力を断
つ。
Therefore, as shown in Figure 7, the FF (111) is connected to the PU.
It is controlled by the O port output (113), and its FF output makes the TG (114) non-conductive for a necessary period to cut off the block interrupt (104), thereby cutting off the NMI input.

これにより、WやW−1の更新作業を中断なく進めうる
と同時に、FF(111)のQ出力(115)をDPR
AMのリセット端子R(116)にも投入することによ
り、丙1(44)と丙2(45)に残った古いデータが
、再生の下流回路系(9)に流れ続けて雑音発生するの
を防止できる。
As a result, the update work of W and W-1 can proceed without interruption, and at the same time, the Q output (115) of FF (111) can be changed to DPR.
By also inputting the signal to the AM reset terminal R (116), you can prevent the old data remaining in C1 (44) and C2 (45) from continuing to flow to the downstream circuit system (9) for reproduction and generating noise. It can be prevented.

第8図に示すINT割込みの場合は、INT1(17)
にてW8W−1の登録更新モードに入った際、先ずIN
T3(105)をマスクすることで、ブロック割込み(
104)を殺しうる。また、INT1割込み(117)
があったとき、I/Oポート出力(118)を出し、D
PRAMのリセット端子R(116)に投入すれば第7
図の場合と同様、雑音発生が防止できる他、デジタル出
力βD(119)の途中に設けたアナログスイッチ(1
20)にてβDをしゃ断するか、又はPCMLSIに設
けたホールト端子(121)経由にて、内部の各素子つ
まりFF(51)、アドレスサーバー(52)、インタ
ーポレータ(122)、デジタルフィルタ(123)、
セレクタ(124)を一時停止させることにても、雑音
発生を防止できる。INT1割込みにてW8W−1の登
録更新モードに入ったら、キーボード( 125)からパラメータPj(126)をキー入力し、
Pjを生成ルチン2(127)に入力してWとW−1を
生成させ、RAM(128)に格納する。このとき、外
部の電子チケットなどと端子H(129)を経て交信す
ることで、料金精算を行わせることもできる。
In the case of the INT interrupt shown in Figure 8, INT1 (17)
When entering the W8W-1 registration update mode, first enter the IN
By masking T3 (105), block interrupt (
104) can be killed. Also, INT1 interrupt (117)
When there is, the I/O port output (118) is output and D
If you input it to the PRAM reset terminal R (116), the seventh
As in the case shown in the figure, in addition to preventing noise generation, the analog switch (1
20), or via the halt terminal (121) provided on the PCMLSI, each internal element, ie, FF (51), address server (52), interpolator (122), digital filter ( 123),
Noise generation can also be prevented by temporarily stopping the selector (124). After entering the registration update mode of W8W-1 using the INT1 interrupt, enter the parameter Pj (126) from the keyboard (125),
Pj is input to generation routine 2 (127) to generate W and W-1 and stored in RAM (128). At this time, the fee can be settled by communicating with an external electronic ticket or the like via the terminal H (129).

尚、W&W−1の登録更新モードに入るには、W&W−
1の登録更新スイッチ(130)にてINT1(117
)を入力する他、PCMLSIからの入力データに応じ
て自動的に入るよう構成しうる。
In addition, to enter W&W-1 registration update mode, W&W-1
INT1 (117) with the registration update switch (130) of 1
) can be configured to be entered automatically in response to input data from PCMLSI.

本発明による装置の骨子は、限られたステート数にて多
くの仕事をこなすべく、前に定義したAクラスのジョブ
をPCMLSIとPUにて分担処理し、みかけのステー
ト数を増加させるためにDPRAMを用い、かつ連続処
理するためエリア分割して交互にアクセスする際、ハー
ドによるアドレスデスパッチングをして、切換えロスタ
イムを節約することである。よって、Bクラスのジョブ
つまりW&W−1登録更新は、第7図又は第8図に示し
たようにPUにて実行する他にもPCMLSI側にて実
行したり、さらに別組の処理機構を組入れることも可能
である。但し、登録更新にて生成させたWやW−1は、
結局PUが使用するゆえ、PU内部に置くか実行時に容
易にアクセスできるようにせねばならず、秘密保持上の
問題も生じる。よって本発明の効果は、W&W−1の生
成、登録、アクセスと実行がPU内にて一貫実行する構
成のとき、最大限発揮される。
The gist of the device according to the present invention is that in order to accomplish many jobs with a limited number of states, the previously defined A class job is shared between PCMLSI and PU, and DPRAM is used to increase the apparent number of states. , and when dividing the area and accessing it alternately for continuous processing, address dispatching is performed by hardware to save switching loss time. Therefore, the B class job, that is, the W&W-1 registration update, can be executed on the PCMLSI side in addition to being executed on the PU as shown in Fig. 7 or 8, or by incorporating another set of processing mechanisms. It is also possible. However, W and W-1 generated by registration update,
After all, since it is used by the PU, it must be placed inside the PU or easily accessible during execution, which also poses a security problem. Therefore, the effects of the present invention are maximized when the configuration is such that generation, registration, access, and execution of W&W-1 are executed consistently within the PU.

尚、さらに複雑でステップ数の多い例えば復号化処理を
要するデータについては、マイクロプロセサ(μPにて
示す)とアドレスデスティネータを複数個、シリアルに
つなぎ、分担理にて定めたブロック期間内に復号化を完
了させうる。この場合例えば最初のアドレスデスティネ
ータのFFからの出力Q、Qを後続のそれらに入れると
よい。
In addition, for more complex data that requires decoding processing with a large number of steps, for example, multiple microprocessors (indicated by μP) and address destinations are serially connected to decode data within a block period determined by division. The process can be completed. In this case, for example, it is preferable to input the outputs Q and Q from the FF of the first address destination to the subsequent ones.

かくして、例えばあるブロックのデータをM個のμPと
M−1個のアドレスデスティネータにてシリアル処理さ
せると、最終のμPから連続して処理済データが流れ出
る。デジタルオーディオの復号化など、処理手順が一方
向でループや分岐、フィードバックのない構造に最適で
ある。また、W−1は複数個のデータ間でのビット交換
やビット反転など既知技術の組合せで構成する。例えば
80桁のビット交換とビット反転による総場合の数は (■80Cn)×80! となる。
Thus, for example, when data of a certain block is serially processed by M μPs and M-1 address destinations, the processed data flows out continuously from the last μP. It is ideal for structures where the processing procedure is unidirectional and has no loops, branches, or feedback, such as digital audio decoding. Further, W-1 is configured by a combination of known techniques such as bit exchange and bit inversion between a plurality of pieces of data. For example, the total number of cases due to 80-digit bit exchange and bit reversal is (■80Cn) x 80! becomes.

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

第1図は本発明の記録および再生方法の順序例を示すブ
ロック図で、〔a〕と〔b〕は暗号化による記録方法、
〔c〕と〔d〕は復号化による再生方法、〔a〕は従来
の再生の下流回路系の構成例第2図は本発明の方法によ
る暗号化復号化の対象データの種類ごとのフロー図で、
〔a〕は特定部位対象の暗号化、〔b〕は特定部位対象
の復号化、〔c〕は定めた位置のデータ対象の暗号化、
〔d〕は定めた位置のデータ対象の復号化、〔e〕は定
めた位置の入手方法 第3図はデュアルポートRAMのエリア分割例を示すも
ので、〔a〕はエリア分割と処理のながれ、〔b〕はエ
リア分割とアドレシングの例第4図はDATレコーダの
再生タイミング図第5図〔a〕は本発明によるアドレス
デスティネータの構成図例、〔b〕はデュアルポートR
AMアドレスバスに出る信号のビット構成例第6図〔a
〕は本発明によるPCMLSI側アドレスサーバの構成
図例、〔b〕はデュアルポートRAMのエリア分割例、
〔c〕はPU側アドレスサーバーの構成図例 第7図と第8図は、本発明の再生装置の構成例、を示す
。 1…デジタリ入力データ、2…暗号化加工、3…エラー
対策、4…記録回路系、5…暗号化とエラー対策の兼用
処理、6…デジタル入力データ、7…エラー処理、8…
復号化処理、9…再生の下流回路系、10…エラー処理
2と復号化の兼用処理、11…エラー処理1、13…補
間回路、14…デジタルフィルタ、15…DAコンバー
タ、20…ランダムに対象データD決定、21…Dの暗
号化、22…Dの頭にnビットの印を付加、ニ3…イン
タリーピングを施して記録、24…入力データにデイッ
タリービングを施す、25…エラー処理、26…nビッ
ト印の有無、27…復号化、28…あらかじめ定めた位
置のデータか?、29…あらかじめ定めた位置の情報K
、30…記録媒体、31…メモ、32…キー入力、33
…記録媒体上の暗号化した位置情報、34…メモリ上の
パラメータR又はキー入力のパスワード 35…位置情報の復号手順、40…デュアルポートRA
M、41…甲領域、41a…非甲領域、41b…乙領域
、41c…丙領域、42…乙1エリア、43…乙2エリ
ア、マ4…丙1エリア、45…丙2エリア、46…PC
MLSIによるエラー訂正処理、47…W−1、48…
再生の下流回芙系に送出されるデータ、49…アドレス
データのビット構成、50…アドレスデスティネータ、
51…フリップフロップFF、52…PCMLSI側の
アドレスサーバー、53…PU側のアドレスサーバー、
55…信号、56…出力Q、57…出力Q、58…PC
MLSIの出すアドレスデータ、59…PCMLSI側
アドレスバス、60…PU側の出すアドレスデータ、6
1、PU側のアドレスバス、65…ゲートにて、66…
第1内至第5系統、67…58の下位5ビット分、68
…第6系統、69…第7系統、70…第8系統、71…
58の第7ビット、72…58の第8ビット、73…ゲ
ート2出力、74…論理回路にて、75…74の出力、
76…65のセレクト端子、77…論理回路1、78…
77の出力、79…58の第6ビット、80…ゲート1
、81…80のセレクト端子 82…256BのDPRAM、83…乙1、84…乙に
て、85…丙1、86…丙にて、87…甲、88…乙、
89…丙、90…ゲート、91…論理ゲート1、92…
論理ゲートにて、93…論理ゲート3、94…加算回路
、95…ゲート、100…PCMLSI、101…PU
、10にて、クロックφ、103…NMI入力、104
…ブロック割込み、105…INT3入力、106…生
データ、107…PCMLSI側のデータバス、108
…PU側のデータバス、109…分周器、110…分周
器、111…FF、112…I/Oポート、113…I
/Oポート出力、114…トリガーゲートTG、115
…111のQ出力、116…40のリセット端子R、1
17…INT1、118…2/3ポート出力、119…
デジタル出力βD、120…アナログスイッチ、121
…ホールト端子、122…インターポレータ、123…
デジタルフィルタ、124…セレクタ、125…キーボ
ード、126…パラメータPγ、127…生成ルチンΤ
、128…RAM、129…電子チケットとの交信端子
H、130…W&W−1登録更新スイッチ、131…録
音モードスイッチ、132…INT2入力、133…P
UのCP U、134…エラー検出訂正器
FIG. 1 is a block diagram showing an example of the order of the recording and reproducing method of the present invention, [a] and [b] are a recording method using encryption,
[c] and [d] are playback methods by decryption, [a] is a configuration example of a downstream circuit system for conventional playback. Figure 2 is a flow diagram for each type of data to be encrypted and decrypted using the method of the present invention. in,
[a] is encryption of a specific part target, [b] is decryption of a specific part target, [c] is encryption of a data target at a predetermined position,
[d] is the decoding of the data object at the specified position, [e] is the method for obtaining the specified position. Figure 3 shows an example of area division of dual port RAM, and [a] is the flow of area division and processing. , [b] is an example of area division and addressing. FIG. 4 is a playback timing diagram of a DAT recorder.
Example of the bit configuration of the signal output to the AM address bus Figure 6 [a]
] is an example of a configuration diagram of a PCMLSI side address server according to the present invention, [b] is an example of area division of dual port RAM,
[c] shows an example of the configuration of the PU side address server. FIGS. 7 and 8 show examples of the configuration of the reproducing apparatus of the present invention. 1... Digital input data, 2... Encryption processing, 3... Error countermeasures, 4... Recording circuit system, 5... Combined processing of encryption and error countermeasures, 6... Digital input data, 7... Error processing, 8...
Decoding processing, 9...Downstream circuit system for reproduction, 10...Combined processing for error processing 2 and decoding, 11...Error processing 1, 13...Interpolation circuit, 14...Digital filter, 15...DA converter, 20...Random target Determine data D, 21...encrypt D, 22...add n-bit mark to the beginning of D, 23...perform interleaving and record, 24...apply dittering leaving to input data, 25...error processing, 26...Presence or absence of n-bit mark, 27...Decoding, 28...Is the data at a predetermined position? , 29...Predetermined position information K
, 30... Recording medium, 31... Memo, 32... Key input, 33
...Encrypted location information on the recording medium, 34...Parameter R on the memory or key input password 35...Decryption procedure for the location information, 40...Dual port RA
M, 41...A area, 41a...Non-A area, 41b...Otsu area, 41c...Hei area, 42...Otsu 1 area, 43...Otsu 2 area, M4...Hei 1 area, 45...Hei 2 area, 46... PC
Error correction processing by MLSI, 47...W-1, 48...
Data sent to downstream playback system, 49...Bit configuration of address data, 50...Address destination;
51...Flip-flop FF, 52...PCMLSI side address server, 53...PU side address server,
55...Signal, 56...Output Q, 57...Output Q, 58...PC
Address data issued by MLSI, 59...PCMLSI side address bus, 60...Address data issued by PU side, 6
1. Address bus on PU side, 65...at gate, 66...
1st to 5th system, 67...lower 5 bits of 58, 68
...6th system, 69...7th system, 70...8th system, 71...
7th bit of 58, 72...8th bit of 58, 73...gate 2 output, 74...output of 75...74 in logic circuit,
76...Select terminal of 65, 77...Logic circuit 1, 78...
77 output, 79...6th bit of 58, 80...gate 1
, 81...80 select terminals 82...256B DPRAM, 83...Otsu 1, 84...Otsu, 85...Hei 1, 86...Hei, 87...A, 88...Otsu,
89...C, 90...Gate, 91...Logic gate 1, 92...
In the logic gate, 93...logic gate 3, 94...addition circuit, 95...gate, 100...PCMLSI, 101...PU
, 10, clock φ, 103...NMI input, 104
...Block interrupt, 105...INT3 input, 106...Raw data, 107...PCMLSI side data bus, 108
...Data bus on the PU side, 109...Frequency divider, 110...Frequency divider, 111...FF, 112...I/O port, 113...I
/O port output, 114...Trigger gate TG, 115
...Q output of 111, reset terminal R of 116...40, 1
17...INT1, 118...2/3 port output, 119...
Digital output βD, 120...Analog switch, 121
...Halt terminal, 122...Interpolator, 123...
Digital filter, 124...Selector, 125...Keyboard, 126...Parameter Pγ, 127...Generation routine T
, 128...RAM, 129...Communication terminal H with electronic ticket, 130...W&W-1 registration update switch, 131...recording mode switch, 132...INT2 input, 133...P
U's CPU U, 134...Error detection and correction device

Claims (1)

【特許請求の範囲】 1、デジタル入力データに、暗号化処理を施したのちエ
ラー対策を施した出力より、記録データを作成する暗号
化つきデジタルオーディオ、デジタルビデオ及びデジタ
ル情報の記録方法および装置の構成 2、デジタル入力データに、インタリービングなどエラ
ー対策の手順そのものを暗号化手段として処理を施した
出力より、記録データを作成する暗号化つきデジタルオ
ーディオ、デジタルビデオ及びデジタル情報の記録方法
および装置の構成 3、暗号化されたデジタル入力データをエラー訂正し、
ついで暗号の復号化処理を施したのち、あるいは入力デ
ータを復号化処理し、ついでエラー訂正を施したのち、
本文に示す再生の下流回路系に入力する、復号化つきデ
ジタルオーディオ、デジタルビデオ及びデジタル情報の
再生方法および装置の構成 4、エラー対策1に加えてエラー対策2を暗号化加工の
手順と兼ねて加工したデジタル入力データに、エラー処
理2と復号化を兼ねた処理を施し、ついでエラー処理1
を施したのち、本文に示す再生の下流回路系に入力する
、復号化つきデジタルオーディオ、デジタルビデオ及び
デジタル情報の再生方法および装置の構成 5、データの暗号化に際し、記録すべきデータ群のうち
一部のみを暗号化し、当該データに印を添加する、特許
請求の範囲1又は2項記載の暗号化つきデジタルオーデ
ィオ、デジタルビデオ及びデジタル情報の記録方法 6、データの復号化に際し、印の添加されたデータのみ
を検出してこれを復号化する、特許請求の範囲3又は4
項記載の復号化つきデジタルオーディオ、デジタルビデ
オ及びデジタル情報の再生方法 7、データの暗号化に際し、ブロックやフレームなどの
あらかじめ定めた位置にあるデータのみを暗号化する、
特許請求の範囲1又は2項記載の暗号化つきデジタルオ
ーディオ、デジタルビデオおよびデジタル情報の記録方
法。 8、データの復号化に際し、ブロックやフレームなどの
あらかじめ定めた位置にあるデータのみを復号化する、
特許請求の範囲3又は4項記載の復号化つきデジタルオ
ーディオ、デジタルビデオおよびデジタル情報の再生方
法 9、メモリの乙領域をエリア乙1とエリア乙2に、丙領
域をエリア丙1とエリア丙2などにそれぞれ分割し、あ
る同一ブロックやフレーム期間内にて、PCMLSIが
乙領域のひとつのエリア例えば乙1にエラー訂正済のデ
ータをかきこみ一方、PUは乙領域の別のエリア、この
ばあい乙2から、ひとつ前のブロック又はフレーム期間
内にPCMLSIがかきこんでおいたデータをよみ出し
、また、その同じ期間内にて、PUがメモリの丙領域の
ひとつのエリア、たとえば丙2に復号化処理済のデータ
をかきこむ一方、PCMLSIは丙領域の他のエリア、
このばあい丙1から、ひとつ前のブロック又はフレーム
期間にてPUがかきこんでおいた復号化処理済データを
よみ出すものとし、続く次の期間にては、前述のエリア
を逆転してそれぞれ実行し、これを繰り返す構成の、デ
ジタルオーディオ、デジタルビデオ及びデジタル情報の
再生方法及び装置の構成 10、入力データのブロックやフレーム等の開始時又は
定めたタイミングに、フリップフロップに信号入力し、
その出力Qと、PCMLSIの出すアドレスデータをP
CMLSI側のアドレスバス出力生成回路に入力し、そ
の出力をデュアルポートRAMのPCMLSI側アドレ
スバスに送り出し、一方、出力@Q@と、PUの出すア
ドレスデータをPU側のアドレスバス出力生成回路に入
力し、その出力をデュアルポートRAMのPU側アドレ
スバスに送り出す、アドレス指示回路の構成 11、入力データのブロックやフレーム等ごとに出力値
を保持するQ又は@Q@を入力値に用い、そのブロック
やフレーム等に対応する期間内に入力されたアドレスデ
ータにつき、ブロックやフレーム等によらず変更のない
ビットはそのまま出力し、ブロックやフレーム等ごとに
値を変更すべきビットについては、当該Q又は@Q@よ
り自動生成させた値と置きかえてアドレスバスに出力す
る、アドレスバス出力生成回路の構成
[Scope of Claims] 1. Encrypted digital audio, digital video, and digital information recording method and apparatus for creating recorded data from the output after encrypting digital input data and taking error countermeasures. Configuration 2: Encrypted digital audio, digital video, and digital information recording method and apparatus for creating recorded data from the output of digital input data processed using error countermeasure procedures such as interleaving as an encryption means. Configuration 3: error correcting encrypted digital input data;
Then, after decrypting the code, or decrypting the input data, and then performing error correction,
In addition to error countermeasure 1 and error countermeasure 2, error countermeasure 2 is also used as the encryption processing procedure. Processed digital input data is subjected to processing that combines error processing 2 and decoding, and then error processing 1
5. Method and apparatus configuration for reproducing digital audio, digital video, and digital information with decoding, which are input to the downstream circuit system for reproduction as shown in the main text. Method 6 for recording encrypted digital audio, digital video, and digital information according to claim 1 or 2, in which only part of the data is encrypted and a mark is added to the data, and the mark is added when decoding the data. Claim 3 or 4, which detects and decodes only the data that is
Method 7 for reproducing digital audio, digital video, and digital information with decryption described in Section 7, when encrypting data, only encrypting data in predetermined positions such as blocks and frames;
A method for recording encrypted digital audio, digital video, and digital information according to claim 1 or 2. 8. When decoding data, only the data at predetermined positions such as blocks and frames are decoded.
A method 9 for reproducing digital audio, digital video, and digital information with decoding according to claim 3 or 4, in which the B area of the memory is set to Area O 1 and Area O 2, and the C area is set to Area C 1 and Area C 2. Within the same block or frame period, the PCMLSI writes error-corrected data into one area of the Otsu region, for example Otsu 1, while the PU writes error-corrected data into another area of the Otsu region, in this case Otsu. From 2, the PCMLSI reads the data written in the previous block or frame period, and within the same period, the PU decodes it to one area of the C area of the memory, for example, C2. While the PCMLSI is writing in the data of the
In this case, from C1, the decoded data written by the PU in the previous block or frame period is read out, and in the next period, the above areas are reversed and executed respectively. 10. Configuration 10 of a method and apparatus for reproducing digital audio, digital video, and digital information having a configuration of repeating this, inputting a signal to a flip-flop at the start of a block or frame of input data or at a predetermined timing,
The output Q and the address data output by PCMLSI are
It is input to the address bus output generation circuit on the CMLSI side, and its output is sent to the address bus on the PCMLSI side of the dual port RAM.On the other hand, the output @Q@ and the address data output by the PU are input to the address bus output generation circuit on the PU side. and sends the output to the PU side address bus of the dual-port RAM. Configuration 11 of the address instruction circuit holds an output value for each block or frame of input data. Q or @Q@ is used as an input value, and the block For address data input within a period corresponding to a block or frame, etc., bits that do not change depending on the block or frame, etc. are output as is, and bits whose value should be changed for each block, frame, etc. are output as is. Configuration of an address bus output generation circuit that replaces the value automatically generated from @Q@ and outputs it to the address bus.
JP26407487A 1987-10-20 1987-10-20 System and device for recording and reproducing digital information by enciphering and decoding Pending JPH01106366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26407487A JPH01106366A (en) 1987-10-20 1987-10-20 System and device for recording and reproducing digital information by enciphering and decoding

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26407487A JPH01106366A (en) 1987-10-20 1987-10-20 System and device for recording and reproducing digital information by enciphering and decoding

Publications (1)

Publication Number Publication Date
JPH01106366A true JPH01106366A (en) 1989-04-24

Family

ID=17398157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26407487A Pending JPH01106366A (en) 1987-10-20 1987-10-20 System and device for recording and reproducing digital information by enciphering and decoding

Country Status (1)

Country Link
JP (1) JPH01106366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7380132B2 (en) 1995-06-30 2008-05-27 Sony Corporation Data recording method and apparatus, data record medium and data reproducing method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7380132B2 (en) 1995-06-30 2008-05-27 Sony Corporation Data recording method and apparatus, data record medium and data reproducing method and apparatus

Similar Documents

Publication Publication Date Title
US5513262A (en) Device for enciphering and deciphering, by means of the DES algorithm, data to be written to be read from a hard disk
US5231662A (en) Method and device for enciphering data to be transferred and for deciphering the enciphered data, and a computer system comprising such a device
CA2449665C (en) Block encryption device using auxiliary conversion
US20040177257A1 (en) Data processing device and data processing method
US20080056492A1 (en) Copyright protective device and method
EP0725511A2 (en) Method for data encryption/decryption using cipher block chaining (CBC) and message authetication codes (MAC)
KR20050069924A (en) Block encoding/decoding method, circuit, and device
JP2008524969A (en) Memory system having in-stream data encryption / decryption function
KR100458339B1 (en) Decryption method and electronic device
JP2003152703A (en) Encryption device, encryption method, decryption device, decryption method, encryption decryption device and encryption decryption method
JP2576385B2 (en) Data protection device
JP4303408B2 (en) Method for recording information with block encryption and recording medium supporting the same
US7386124B2 (en) Block encoding method and block encoding/decoding circuit
JPH01106366A (en) System and device for recording and reproducing digital information by enciphering and decoding
JP4612501B2 (en) Block encryption device, block decryption device, method and program thereof
US20040196976A1 (en) Arithmetic device and encryption/decryption device
EP0411712B1 (en) Method and device for enciphering data to be transferred and for deciphering the enciphered data, and a computer system comprising such a device
JP3400303B2 (en) Encrypted data decryption device
JP4708914B2 (en) Decryption method
JP3043347B2 (en) Automatic data output encryption processing circuit
JPH027080A (en) Variable enciphering device
JP2004029347A (en) Data enciphering/deciphering circuit
JP2000295211A (en) Data storage device and data processing system
JPH0310131B2 (en)
CN112242970A (en) Data segmentation encryption security reinforcing method and device