US RE41074 E1 Abstract A copy prevention method and apparatus for a digital video system is disclosed including the steps of: (a) adding a header area of a header start code and key field to a reproduced bit stream: (b) decrypting and transmitting the bit stream to which the header area is added: (c) detecting a key field of the decrypted and transmitted bit stream and detecting copy prevention information; and (d) encrypting the bit stream according to information detected from stop (c) and recording it an tape.A copy protection method including receiving encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; and recording the encrypted digital data, the key information, and second copy control information on a digital recording medium, based on at least a status of the first copy control information. Claims 1. A copy prevention method for a digital video system comprising the steps of: (a) receiving a digital data stream reproduced from a digital medium; (b) detecting an encryption key, which is a portion of said received digital data stream; (c) decrypting said encryption key using key information; (d) decrypting said received digital data stream based on said decrypted encryption key; and (e) transmitting said decrypted digital data stream to at least one of a monitor and a digital recorder. 2. A copy prevention method for a digital video system as claimed in 3. A copy prevention method for a digital video system as claimed in 4. A copy prevention apparatus for a digital video system comprising: receiving means for receiving a digital data stream reproduced from a digital medium; a key detector to detect an encryption key, which is a portion of said received digital data stream; a decryption unit to decrypt said encryption key using key information and to decrypt said received digital data stream based on said decrypted encryption key; and a controller to control transmission of said decrypted digital data stream to at least one of a monitor and a digital recorder. 5. A copy prevention apparatus for a digital video system as claimed in 6. A copy prevention apparatus for a digital video system as claimed in 7. A copy prevention method for a digital video system comprising the steps of: (a) receiving a digital data stream reproduced from a digital medium; (b) detecting an encryption key, which is a portion of said received digital data stream; (c) decrypting said encryption key using key information; (d) decrypting said received digital data stream based on said decrypted encryption key. 8. A copy prevention method for a digital video system as claimed in 9. A copy prevention method for a digital video system as claimed in 10. A copy prevention apparatus for a digital video system comprising: receiving means for receiving a digital data stream reproduced from a digital medium; a key detector to detect an encryption key, which is a portion of said received digital data stream; a decryption unit to decrypt said encryption key using key information and to decrypt said received digital data stream based on said decrypted encryption key. 11. A copy prevention apparatus for a digital video system as claimed in 12. A copy prevention apparatus for a digital video system as claimed in 13. A copy prevention method for a digital video system comprising the steps of: (a) receiving a digital data stream reproduced from a digital medium; (b) detecting an encryption key, which is a portion of said received digital data stream; (c) decrypting said encryption key using predetermined key information; (d) decrypting said received digital data stream based on said decrypted encryption key. 14. A copy prevention method for a digital video system as claimed in 15. A copy prevention apparatus for a digital video system comprising: receiving means for receiving a digital data stream reproduced from a digital medium; a key detector to detect an encryption key, which is a portion of said received digital data stream; a decryption unit to decrypt said encryption key using predetermined key information and to decrypt said received digital data stream based on said decrypted encryption key. 16. A copy prevention apparatus for a digital video system as claimed in 17. A copy prevention method for a digital data system, comprising the steps of: (a) receiving first key information; (b) encrypting second key information using said first key information; (c) encrypting digital data streams using said second key information; and (d) recording at least said encrypted second key information and said encrypted digital data streams on a digital medium. 18. The method of 19. The method of 20. A copy prevention apparatus for a digital data system, comprising the steps of: an encryption unit receiving first key information, encrypting second key information using said first key information, and encrypting digital data streams using said second key information; and a controller controlling recording of at least said encrypted second key information and said encrypted digital data streams on a digital medium. 21. The apparatus of 22. The apparatus of 23. A recording medium having a data structure for controlling operation of copy prevention function in a digital data processing device, comprising: a digital data area storing digital data encrypted using first key information; and a key information area storing said first key information encrypted using second key information, said first key information operatively controlling the decryption of said encrypted digital data in a digital data process device. 24. A copy prevention method for a digital data system, comprising: receiving first key information, said first key information for encrypting digital data; encrypting said first key information using second information; and transferring said encrypted first key information. 25. The method of 26. The method of 27. The method of 28. A copy prevention apparatus for a digital data system, comprising: an encryption unit receiving first key information, said first key information for encrypting digital data, and encrypting said first key information using second key information; and a controller controlling a transfer of said encrypted first key information. 29. The apparatus of 30. The apparatus of 31. The apparatus of 32. A copy protection method, comprising: receiving encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; and recording the encrypted digital data, the key information, and second copy control information on a digital recording medium, based on at least a status of the first copy control information, wherein the encrypted digital data is partitioned into a GOP (Group Of Picture) unit, and wherein the recording step includes recording the encrypted digital data partitioned into the GOP unit and recording the second copy control information followed by the GOP unit. 33. The method of 34. The method of 35. The method of 36. The method of recording an identifier to identify that the second copy control information is included. 37. The method of recording classification information to classify the encrypted digital data. 38. The method of 39. The method of 40. A copy protection method, comprising: receiving encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; and recording the encrypted digital data, the key information, and second copy control information on a digital recording medium, based on at least a status of the first copy control information, wherein the received encrypted digital data is recorded as a GOP (Group Of Picture) unit, which is partitioned into a plurality of packets, each packet comprising a header portion and a data portion, and wherein the second copy information is included in the header portion of at least one packet. 41. The method of 42. The method of 43. The method of 44. A copy protection method, comprising: receiving encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; recording the encrypted digital data, the key information, and second copy control information on a digital recording medium, based on at least a status of the first copy control information, the encrypted digital content being partitioned into one or more first data units, the first data unit including a header portion and a data portion, and wherein said step of recording the encrypted digital data includes recording the one or more first data units; and recording the second copy control information in the header portion followed by the data portion. 45. A copy protection method, comprising: providing digital content, key information for controlling at least a decryption of the digital content, and copy control information for controlling copying of the digital content, the digital content being partitioned into a GOP (Group Of Picture) unit; and recording the key information, the copy control information and the digital content partitioned into the GOP unit on a digital recording medium, wherein the copy control information is followed by the GOP unit. 46. The method of 47. The method of 48. The method of 49. The method of 50. The method of 51. The method of 52. The method of 53. A copy protection method, comprising: providing digital content, key information for controlling at least decryption of the digital content, and copy control information for controlling copying of the digital content; and recording the key information, the copy control information and the digital content on a digital recording medium, the digital content being partitioned into one or more first data units, the first data unit being partitioned into one or more second data units, the second data unit including a header portion and a data portion, and the copy control information being included in the header portion followed by the data portion of at least one second data unit. 54. The method of 55. The method of 56. A recording medium, comprising: a plurality of first data units, which are partitioned into a plurality of second data units, which include a header portion and a data portion respectively, an encrypted digital content being included in the data portions of the second data units; copy control information indicating whether or not a copy of the encrypted digital content is permitted; an identifier which identifies whether or not the copy control information exists; and encrypted key information, which is required to decrypt the encrypted digital content, wherein the copy control information and the identifier are included in the header portion of the second data unit. 57. The recording medium of 58. The recording medium of 59. The recording medium of 60. The recording medium of 61. The recording medium of 62. The recording medium of 63. A copy protection method, comprising: retrieving encrypted digital content, first key information for decrypting the encrypted digital content, and copy control information which indicates whether or not a copy of the encrypted digital content is permitted; and controlling a reproducing of the encrypted digital content from a recording medium based on the first key information and/or the copy control information, the digital content being partitioned into one or more first data units, the first data unit including a header portion and a data portion, the encrypted digital content being included in the data portion and the copy control information being included in the header portion followed by the data portion. 64. The method of 65. The method of decrypting the first key information based on second key information, and then decrypting the encrypted digital content based on the decrypted first key information. 66. A copy protection apparatus, comprising: a receiving unit configured to receive encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; a recording unit configured to record the encrypted digital data, the key information, and second copy control information on a digital recording medium; and a controller operably coupled to the recording unit, to determine at least a status of the first copy control information, and to allow the recording unit to record the encrypted digital data based on the determined result, wherein the encrypted digital data is partitioned into a GOP (Group Of Picture) unit, and wherein the controller is further configured to control the recording unit to record the encrypted digital data in the GOP unit, and record the second copy control information in an area followed by the GOP unit. 67. The apparatus of 68. The apparatus of an encrypting unit configured to encrypt the key information, wherein the recording unit is further configured to record the encrypted key information in a control portion followed by the encrypted digital data, according to a control of the controller. 69. The apparatus of 70. The apparatus of 71. The apparatus of 72. The apparatus of 73. The apparatus of 74. A copy protection apparatus, comprising: a receiving unit configured to receive encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; a recording unit configured to record the encrypted digital data, the key information, and second copy control information on a digital recording medium; and a controller operably coupled to the recording unit, to determine at least a status of the first copy control information, and to allow the recording unit to record the encrypted digital data based on the determined result, the received encrypted digital data being partitioned into a GOP (Group Of Picture) unit, which is partitioned into a plurality of packets, each packet comprising a header portion and a data portion, wherein the recording unit is further configured to record the GOP unit, and record the second copy control information in the header portion of at least one packet under control of the controller. 75. The apparatus of 76. The apparatus of 77. The apparatus of 78. A copy protection apparatus, comprising: a receiving unit configured to receive encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; a recording unit configured to record the encrypted digital data, the key information, and second copy control information on a digital recording medium; and a controller operably coupled to the recording unit, to determine at least a status of the first copy control information, and to allow the recording unit to record the encrypted digital data based on the determined result, the received encrypted digital data being partitioned into a plurality of first data units, each of which includes a header portion and a data portion respectively, wherein the recording unit is further configured to record the plurality of units, and to record the second copy control information in the header portion followed by the data portion in at least one first data unit, under control of the controller. 79. A copy protection apparatus, comprising: a providing unit configured to provide digital content, key information for controlling at least decryption of the digital content, and copy control information for controlling copying of the digital content; a partitioning unit configured to partition the provided digital content into a plurality of first data units; a recording unit configured to record the key information, the copy control information and the partitioned digital content on a digital recording medium; and a controller, operably coupled to the recording unit, to control the recording operation, wherein the digital content is partitioned into a GOP (Group Of Picture) unit, and wherein the recording unit is further configured to record the digital content in the GOP unit, and record the copy control information in an area followed by the GOP unit, under control of the controller. 80. The apparatus of 81. The apparatus of 82. The apparatus of 83. The apparatus of an encryption circuit configured to encrypt the digital content in a predetermined encryption algorithm, the digital content being encrypted by the key information, wherein the recording unit is further configured to record the digital content as encrypted by the encryption circuit, under control of the controller. 84. The apparatus of 85. The apparatus of 86. The apparatus of 87. A copy protection apparatus, comprising: a providing unit configured to provide digital content, key information for controlling at least decryption of the digital content, and copy control information for controlling copying of the digital content; a partitioning unit configured to partition the provided digital content into a plurality of first data units; a recording unit configured to record the key information, the copy control information and the partitioned digital content on a digital recording medium; and a controller operably coupled to the recording unit, to control the recording operation, the digital content being partitioned into one or more first data units, the first data unit being partitioned into one or more second data units, the second data unit including a header portion and a data portion, wherein the recording unit is further configured to record the copy control information in the header portion followed by the data portion in at least one second data unit, under control of the controller. 88. The apparatus of 89. The apparatus of 90. A copy protection apparatus, comprising: a retrieving circuit configured to retrieve a digital data, the digital data including encrypted digital content, first key information for decrypting the encrypted digital content, and copy control information which indicates whether or not a copy of the encrypted digital content is permitted; and a control circuit configured to control a reproducing of the encrypted digital content from a recording medium based on the first key information and/or the copy control information, the digital data being partitioned into one or more first data units, the first data unit including a header portion and a data portion, the encrypted digital content being included in the data portion and the copy control information being included in the header portion followed by the data portion. 91. The apparatus of a decrypting circuit configured to decrypt the data portion including the encrypted digital content based on the first key information. 92. The apparatus of 93. The method of 94. The method of 95. The method of 96. The method of recording an identifier to identify that the second copy control information is included. 97. The method of recording classification information to classify the encrypted digital data. 98. The method of 99. The apparatus of 100. The apparatus of 101. The apparatus of wherein the recording unit is further configured to record an identifier to identify that the second copy control information is included, under control of the controller. 102. The apparatus of Description This is a continuation of application Ser. No. 09/053,288, filed Apr. 1, 1998, now U.S. Pat. No. 6,028,932, which is a continuation of Ser. No. 08/562,042, filed Nov. 22, 1995, now U.S. Pat. No. 5,761,302, issued Jun. 2, 1998.This is a reissue application of U.S. Pat. No. 6,347,144, which is a continuation of application Ser. No. 09/053,288, filed Apr. 1, 1998, now U.S. Pat. No. 6,028,932, which is a continuation of Ser. No. 08/562,042, filed Nov. 22, 1995, now U.S. Pat. No. 5,761,302. The contents of all these applications are incorporated by reference. The above-identified applications also claim priority to Korean Application No. 94-31373 filed on Nov. 26, 1994. The present invention relates to a copy prevention technology for a digital video system, and more particularly, to a copy prevention method and apparatus for a digital VCR to which encryption is introduced to display a picture only in a VCR internally containing a corresponding encryption code, thereby preventing tape from being copied. General copy prevention methods for analog VCR are presented in U.S. Pat. Nos. 4,819,098, 4,571,642 and 4,577,216. First, U.S. Pat. NO. 4,819,098 discloses a method in which an interference signal is inserted into a video waveform in an automatic gain control circuit (AGC) of a VCR. Here, the inserted signal does not affect the AGC of its monitor but has the AGC of the VCR record an accurate level of signal on a video tape. In U.S. Pat. No. 4,571,642 4,577,216, there is presented a method in which a phase noise or other corrected signal is inserted into the chromechroma burst of a video waveform. However, all the conventional technologies insert a distributing signal to an analog signal using the difference between a circuit of a monitor and a corresponding circuit of a VCR. Some VCRs may perform copy normally despite of copy prevention. Some monitors cannot display images of the original video tape. A conventional copy prevention introduced to an analog VCR system is hard to be applied to digital storage media (DSM). Specifically, in a satellite or high-definition TV decoder, as shown in The PES header contains a PES header flag area of 14 bits which is a field for DSM such as digital VCR, and a PES header field having a variable length. The PES header flag area includes 1-bit copyright (CR) flag, 1-bit original-or-copy (OC) flag, 2-bit PD flag, 1-bit TM flag, and 1-bit AC flag. The PES header field varies in length, and part thereof is set by the PCPD, TM and AC flags. A PTS/DTS area is not present if the value of the PD flag is “00”. It is 40 bits if the value “10”. If the value is “11”, the area is 80 bits. A DSM trick mode field is not present if the TM flag is “0”. If the flag is “1”, the field is 8 bits. An additional copy information field is 8 bits if the AC flag is “1”. When recording is carried out by the satellite receiver or high-definition TV decoder and compressed video data is encoded in encoder 101, it is converted into a packet form in packet processing portion 122 102 as shown in FIG. 1. If the compressed audio data is encoded in audio encoder 103, it is converted into a packet form in packet processing portion 104. When the outputs of packet processing portions 102 and 104 are multiplexed in transmission multiplexer 105, a fixed transmission stream shown in This public-key encryption system has all users U hold unique encryption algorithm EPK U and description algorithm DPK U. Here, encryption algorithm EPK U for the public-key is opened as a public-key to key supply portion 107. Decryption algorithm DPK U for secret key is kept in secret. The characteristics of EPK U and DPK U are as follows. First, with respect to all users U and message m transmitted, DPK U(EPK U(m))=m. Second, encryption algorithm EPK U and decryption algorithm DPK U do not require complicated calculation. Third, it is impossible to find DPK″ U satisfying DPK″ U (EPK U(m))=m from encryption algorithm EPK U. In the encryption system having the above characteristics, as shown in Key decrypter 108 receiving the key information from key supply portion 107 outputs an algorithm DPK B, corresponding to encryption algorithm EPK B, decryptor 109 decrypts (DPK B(c))=m) the output of encrypter 106 with decryption algorithm DPK B, and then transmits to user B. In other words, only user B can decrypt decryption algorithm DPK B corresponding to encryption algorithm EPK B. A concept developed from the public-key encryption is presented in U.S. Pat. No. 4,405,829. This public-key encryption system is called RSA system. A method in which the RSA public-key encryption is efficiently calculated via batch processing is presented in U.S. Pat. No. 4,964,164. However, this public-key encryption is inappropriate for high-velocity encryption. A CA system is intended to presentprevent illegal viewviewing. However, there is no method of protecting a program distributed through a digital storage medium such as a digital VCR. Therefore, it is an object of the present invention to an illegal copy prevention method and apparatus for a digital video system in which, in copy tape, encrypted key information is transmitted and recorded so that a copied tape is reproducible only in a VCR having a corresponding encrypted key information, thereby prevented copy. To accomplish the object of the present invention, there is provided a copy prevention method for a digital video system comprising the steps of: (a) adding a header area of a header start code and key field to a reproduced bit stream; (b) decrypting and transmitting the bit stream to which the header area is added; (c) detecting a key field of the decrypted and transmitted bit stream and detecting copy prevention information; and (d) encrypting the bit stream according to information detected from step (c) and recording it on tape. For the object of the present invention, there is provided a copy prevention apparatus for a digital video system comprising: a reproduction block for adding key information to a reproduced bit stream, and decrypting and transmitting it; and a recording block for searching key information of the bit stream transmitted from the reproduction block is extract copy prevention information, and encrypting and recording the bit stream according to the extracted copy prevention information. The reproduction block comprises: reproduction means for reproducing data recorded on tape; key insertion means for adding key information to the bit stream of the reproduction means; and decryption means for decrypting the output of the key insertion means and transmitting it to a recording-side VCR. The recording block comprises: key detecting/correcting means for detecting key information from the transmitted bit stream of a reproducing-side VCR: copy prevention information detecting means for searching the key information detected from the key detecting/correcting means to detect copy prevention information; encrypting means for encrypting the bit stream according the copy prevention information of the copy prevention information detecting means; and recording means for recording the bit stream encrypted in the encrypting means. The copy prevention information detecting means comprises: a PES header detecting portion for detecting a PES header from parallel data output from the key detecting/correcting means; and a copy prevention information extractor enabled by a PES header detection signal of the PES header detecting portion to detect an additional copy information field. To accomplish the objects of the present invention, there is provided a copy protection method comprising receiving encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; and recording the encrypted digital data, the key information, and second copy control information on a digital recording medium, based on at least a status of the first copy control information. According to another object there is provided a copy protection method comprising (a) providing digital content, key information for controlling at least decryption of the digital content, and copy control information for controlling copying of the digital content; and (b) recording the key information, the copy control information and the digital content on a digital recording medium. According to another object there is provided a copy protection method comprising receiving encrypted digital content, first key information for decrypting the encrypted digital content, and copy control information which indicates whether or not a copy of the encrypted digital content is permitted; and controlling a recording or a reproducing of the encrypted digital content on or from a recording medium based on the first key information and/or the copy control information. According to another object there is provided a copy protection apparatus comprising a receiving unit configured to receive encrypted digital data to be recorded, key information which is required to decrypt the encrypted digital data, and first copy control information which indicates a copy permission status of the encrypted digital data; and a recording unit configured to record the encrypted digital data, the key information, and second copy control information on a digital recording medium, based on at least a status of the first copy control information. According to another object there is provided a copy protection apparatus comprising a providing unit configured to provide digital content, key information for controlling at least decryption of the digital content, and copy control information for controlling copying of the digital content; and a recording unit configured to record the key information, the copy control information and the digital content on a digital recording medium. According to another object there is provided a copy protection apparatus comprising a receiving unit configured to receive encrypted digital content, first key information for decrypting the encrypted digital content, and copy control information which indicates whether or not a copy of the encrypted digital content is permitted; and a controlling unit configured to control a recording or a reproducing of the encrypted digital content on or from a recording medium based on the first key information and/or the copy control information. Hereinafter, a preferred embodiment of the present invention will be described below with reference to the attached drawings. Referring to As shown in Referring to As shown in The operation and effect of the present invention will be explained below. Generally, in case of reproducing or copy recording data on tapatape, connections between systems are made as shown in FIG. 4. With those connections, an MPEG bit stream reproduced from VCR A is input to a satellite receiver or high-definition TV so that it cannot be recognized whether the stream is displayed on a screen or input to VCR B and recorded on another video tape. For this reason, according to the present invention, in case that the bit stream reproduced from VCR A is copied from VCR B, information on copy prevention is transmitted to VCR B from VCR A. VCR B analyzes this information which is recorded with the bit stream. Here, the insertion position of the copy prevention information contained in a GA bit stream is very limited because it must not affect decoding of the decoder of the satellite receiver or high-definition TV so that an image is displayed normally on a monitor. The copy prevention information may be inserted into the front end of the MPEG bit stream or inside the PES header. When the MPEG bit stream is decoded in units orof group of picture (GOP), the respective GOPs are classified by their copGOP start codes. This is useful in transmitting initialization data to a recording-side VCR because decoding is never affected even when a slight amount of data is added to the front end of the MPEG bit stream. The case of inserting the copy prevention information into the PES header is useful in repeated transmission of information because copy prevention of a recording medium such as DSM is decided using CR and OC flaps of the PES header and additional copy information field. In this case, there are a variety of copy preventing methods. First, when a mode of “No Copy” is detected from the additional copy information field of the PES header, VCR B is not able to enter its recording mode. Second, when a mode of “Copy Permitted” is detected in order to implement a copy prevention such as DAT mode, VCR B records but “No Copy” mode is recorded in the additional copy information field to interrupt recopying from a copying tape. This means that a secondary source tape can be made, but a third source tape cannot. Third, for “Back-up Copy”, tape B copied from VCR B is reproducible normally only in VCR A. According to this method, reproducing-side VCR A encrypts the bit stream with its own inherent key and records it on tape so that only reproducing-side VCR A decrypts the MPEG bit stream recording on the tape. For every VCR set, a unique key is provided, encrypted by VCR's key and recorded on tape B. However, the VCR set for recording tape B is VCR B and tape B is encrypted by VCR A's key so that VCR A's key needs to be transmitted to VCR B with GA bit stream. Accordingly, when the key information of VCR A is transmitted as a header in advance prior to the bit stream in the “Back-up Copy”, it is recorded at the front end of tape B, which satisfies the insertion position of the copy prevention information mentioned before. Here, as shown in In case of recording the bit stream shown in Here, a header area added to the front of the MPEG bit stream is formed with a tape header start code, that is, the header identifier code, and a key field for storing key information. In case of encrypting the MPEG bit stream in units of GOP, encryption blocks are classified by the packet start code prefix and stream ID of the PES header. The encryption block is a basic unit of encryption and can change whether encryption is performed in units of the encryption block, and encryption algorithm and key selection. Here, the encryption blocks must not be encrypted until the additional copy information field of the PES header. Encryption is performed until the end of the encryption block after the additional copy information field. The first ‘transmission header’ is not encrypted. The operation of performing the “back-up Copy” mode by adding the header will be described below. First, in copying, when recording data of tape A is encrypted, reproducing-side VCR A decrypts it using the key information of the key field so as to make message m. Its key information is added to the header and transmitted in the format of FIG. 11C. Recording-side VCR B records the key information transmitted from reproducing-side VCR A on the header of copying tape B and then records the encrypted bit stream. Here, when the key information is transmitted from reproducing side to recording side, for security, a public-key encryption may be employed to the system because the information may be exposed to a pirate. Such public-key encryption system ensures the secret of data even though the public-key is exposed but cannot be processed in real-time due to a great amount of calculation. Therefore, this system is not improper when the MPEG bit stream is encrypted directly. The “Back-up Copy” can be implemented when the MPEG bit stream is encrypted using a block-cipher algorithm or stream-cipher algorithm such as DES and a key used is encrypted in the public-key encryption. In this case, every VCR u incorporates encryption algorithm EPK U corresponding to the public-key and decryption algorithm DPK U corresponding to the secret key. Encryption algorithm EPK U takes a power key of VCR u, and decryption algorithm DPK U an internal key of VCR u. Here, the internal key may be opened to the public. Reproducing-side VCR A transmits the internal key on the key field of the header because another VCR encrypts using the internal key. Recording-side VCR B randomly selects a key Y used in the block-cipher algorithm such as DES and encrypts it with the public-key encryption system using an external key EPK A. The result is recorded on the key field of copying tape B. Sequentially, the data is divided into encryption blocks and encrypted and recorded in the block-cipher algorithm using key Y. In this method, the bit stream of When copying tape B is reproduced in reproducing-side VCR A, key Y can be restored by decryption DPK A[EPK A (Y)] in which data is decrypted properly. In other VCRs, key Y cannot be found, which disables the decryption of the bit stream. AsAn embodiment of the present invention, shown in When playback starts for tape copying, reproducing portion 1 detects data recorded on tape as shown in When the bit stream of Copying prevention information detecting portion 5 searches the PES header area to detect the additional copy information field. Here, though a slight amount of information is recorded in the additional copy information field, redundancy is provided in several areas of the bit stream to increase reliability of information transmitted. Copy prevention information detecting portion 5 extracts the value of AC flag from the PES header flag in order to calculate the position of the additional copy information field because it varies within the PES header. Here, when copy prevention information correcting portion 6 corrects the output of copy prevention information detecting portion 5, encrypting portion 7 performs encryption using the block-cipher algorithm such as DES. Here, copy prevention information correcting portion 6 performs correction while the input data is stored in a RAM. Accordingly, encrypting portion 7 records the encrypted bit stream on tape in recording portion 8. Because the key information of the reproducing-side VCR is added on the copying tape, only a VCR having this key information can reproduce tape normally. As shown in PES header detector 10 for detecting the PES header is formed as shown in FIG. 7. When bit stream data_in is input as shown in Here, packet start code detecting portion 13 searches the bit stream shown in FIG. 8A and the output of first and second flipflops 11 and 12 shown in Meanwhile, stream ID code detector 14 searches the output of second flipflop 12 and detects the stream ID area of the PES header. Then, detection signal is-sid shown in Here, copy prevention information extractor 20 for detecting the copy prevention information is formed as shown in FIG. 9. When the parallel data output from PES header detector 10 and shown in D-flipflop 23 is synchronized to the CR flag or the output of D-flipflop 21 shown in Copy prevention position detector 25 searches the PD, TM and AC flags of the parallel data of PES header detector 10 shown in D-flipflop 27 synchronized to HIGH output rco of counter 26 holds the additional copy information field from the parallel data of D-flipflop 21 shown in FIG. 10B. The field is output as shown in FIG. 10C. As described above, in the copy prevention method and apparatus for a digital video system of the present invention, a key information is recorded with a bit stream so that a VCR having the key information reproduces tape normally, thereby preventing illegal copy of tape. In addition, for key information transmission, the public-key encryption is introduced to disable a pirate to release the copy prevention, increasing reliability of copy prevention. Patent Citations
Non-Patent Citations
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||