The present invention relates to a storage apparatus, a method for validating encrypted content and a terminal apparatus, and more particularly, to a method for validating encrypted content to make watching-restricted content watchable, a storage apparatus for storing encrypted content, and a terminal apparatus for watching encrypted content in a storage apparatus.
Recently, a digital information processing technology or a telecommunication technology rapidly develops, and a storage apparatuses such as a hard disc drive (HDD) and a digital video disc (DVD) are developing with a trend of a large capacity and high performance. As transmission means becomes diverse and advanced, a large quantity of digital contents are distributed to users through a network or a storage medium, and users can more easily enjoy digital contents. To the contrary, due to unauthorized uses of digital content such as an illegal copy or unauthorized modification, a copyright of a copyright holder is increasingly infringed.
In order to address the above problem, various technologies for protecting a copyright of a copyright holder while securing convenience of a user and a service or a system based on them have been introduced. For example, as a related art related to an on-line rental service of digital content, a technology disclosed in Patent Document 1 (Japanese Patent Laid-Open Publication No. 2002-42234) is known.
In Patent Document 1, a user registers information such as a user name or a credit card to a rental server, and when a rental request of content is received from a user terminal, a rental server performs user authentication and issues encrypted content and a decryption key (electronic ticket) for decrypting encrypted content, and a user watches encrypted content by using them. Also, in Patent Document 1, a user does not upload downloaded data in order to return content and instead returns the electronic ticket to the rental server.
In Patent Document 1, if the electronic ticket is returned, encrypted content stored in a user terminal can not be watched, and so it is possible to efficiently prevent unauthorized watching of content and an illegal copy of content.
As another related art, for example, a technology disclosed in Patent Document 2 (Japanese Patent Laid-Open Publication No. H11-283327) is known. In Patent Document 2, a service provider first distributes a DVD storing encrypted content to a user, and a user then purchases a license containing a content key for decrypting encrypted content from a license server to which a user has previously registered as a membership and decrypts encrypted content by using the key to watch it.
Also, Patent Document 2 suggests a service that a user first purchases points used to watch content, and points are then used to use and exchange content.
However, most of digital home appliances except a personal computer (PC) cannot access a network. For this reason, the above-mentioned related arts have a problem in that it is difficult to download content from the rental server via the network as described above in Patent Document 1 or to download a license a license server via the network as described above in Patent Document 2.
Patent Document 2 also suggests a technique that a reproducing terminal, a card adapter which can access a reproducing terminal and a pre-paid card in which content watching points previously purchased in a shop are recorded are prepared, and when a pre-paid card is inserted into a card adapter in order to watch encrypted content, points are deducted as much to thereby decrypt encrypted content.
However, in order to realize such a technique, a user has to purchase or rent a card adapter and a pre-paid card, and thus it hardly says that convenience of a user is improved compared to a current rental service.
It is an object of the present invention to provide, in consideration of the above-mentioned problems of the related arts, a method for validating content data, a storage apparatus and a terminal apparatus that a user can watch desired content among a plurality of encrypted copyright contents recorded in a storage apparatus having a large capacity storing medium at any time without accessing a network or needing a pre-paid card, and a use fee of watched content is billed to a user, thereby protecting a copyright of a copyright holder while improving convenience of a user.
In order to achieve the above object, the present invention provides a storage apparatus which is able to communicate with an external apparatus, including: a storing area for storing encrypted content that content is encrypted; a storing area for storing a key for decrypting the encrypted content; a storing area for storing state information of a key for decrypting the encrypted content; means for receiving authentication information from a first external apparatus which reproduces content; means for executing authentication processing based on the authentication information received from the first external apparatus; means for receiving location information of a key for decrypting the encrypted content from the first external apparatus; means for receiving a command for changing state information of a key for decrypting the encrypted content from the first external apparatus; means for executing a command for changing state information of the received key under a certain condition; means for recording a history that the command is executed in a storing area installed therein; means for receiving a command for outputting the history to a corresponding external apparatus from the first external apparatus or a second external apparatus; and means for executing a command for outputting the history when the command for outputting the history is received from the first or second external apparatus.
According to the present invention, a trouble that a user has to rent or purchase digital content is reduced, thereby improving user convenience.
These and other features, objects and advantages of the present invention will become more apparent from the following description when taken in conjunction with the accompanying drawings wherein:
Hereinafter, a method for validating content data, a storage apparatus and a terminal apparatus according to an exemplary embodiment of the present invention will be described in detail with reference to attached drawings.
The storage apparatus 101 in which content is recorded includes a user area 102 that there is no access restriction and a secure area 104 that there is an access restriction. Content is encrypted by using a content key in a common key encryption manner to be converted into an encrypted content 103 and is recorded in the user area 102. Usage pass (hereinafter, UP) 105 containing a content key for decrypting the encrypted content 103 or a content usage condition is recorded in the secure area 104. UP is dealt as secure to protect content.
As information for making the encrypted content 103 and the UP 105 correspond to each other, playback info 109 and UC info 110 are created in the user area 102 of the storage apparatus 101, and as information for managing a state of the UP, validity flag table 106 is created in the secure area 104 of the storage apparatus 101.
The playback info 109 is a table which manages a correspondence relationship between content identifier (hereinafter, content ID) 200 attached to encrypted content and UP identifier (hereinafter, UPID) 201 attached to the UP corresponding to encrypted content as shown in
The UC info 110 is a table which manages a correspondence relationship between the UPID 201 and recording address information (hereinafter, LBAQ) 202 in the secure area of the UP corresponding to the UPID 201 as shown in
The validity flag table 106 is a table including bit (hereinafter, validity flag) 203 which 1:1 corresponds to the recording address LBAQ 202 of the UP as shown in
The host apparatus 100 includes a decryption unit 107 and a decoder 108 as shown in
After authentication success, the host apparatus 100 acquires the encrypted content 103, the playback info 109, and the UC info 110 from the user area 102 of the storage apparatus 101 having access thereto in order to reproduce content. The host apparatus 100 acquires the LBAQ of the secure area 104 within the storage apparatus 101 in which the UP 105 corresponding to the acquired encrypted content 103 is recorded based on the acquired playback info 109 and the acquired UC info 110, and instructs the storage apparatus 101 to output the UP recorded at the acquired LBAQ.
The storage apparatus 101 receives a command described above and checks whether the UP recorded at the LBAQ is valid or not with reference to a validity flag value corresponding to the LBAQ in the validity flag table 106 within the secure area 104 of the storage apparatus. If the UP is valid, the storage apparatus 101 outputs the UP to the host apparatus 100. A UP transmission from the storage apparatus 101 to the host apparatus 100 is performed in a special secure protocol to prevent modification or tapping. A detailed UP transmission procedure will be described later with reference to
Even when the content is moved to a storage apparatus such as HDD installed inside or connected to the host apparatus 100, in the same procedure as the content reproducing procedure described above, the encrypted content 103, the playback info 109, the UC info 110, and the UP 105 are transmitted to the storage apparatus installed inside or connected to the host apparatus 100 through the host apparatus 100 from the storage apparatus 101. The storage apparatus 101 as a UP output resource outputs the UP and, at the same time, changes a validity flag value corresponding to the corresponding UP in the validity flag table 106 to “1” to invalidate the corresponding UP. If the storage apparatus 101 changes a validity flag value in the validity flag table 106 to “1” so that the UP becomes an invalid state, the host apparatus 100 cannot read the corresponding UP.
The content rental system of
For example, a television (TV), a set top box (STB), a personal computer (PC), a mobile player, or an automatic content rental machine may be used as the host apparatus 100. The host apparatus 100 includes, as its components, an interface 305, a control unit 304 for controlling various functions, a key generating unit 301 for generating a provisional key necessary for a communication, an encryption/decryption unit 302 for executing encryption/decryption of data, a certificate verifying unit 300 for performing certificate verification, and a non-volatile memory 303 in which a certificate of the host apparatus 100, a device class public key, a device class secret key, a device public key, a device secret key, a program, and the like are recorded. Such functions are mounted in a tamper resistant manner. A tamper resistant mounting can be realized such that a top side of a circuit is covered with plastic resin to prevent a signal from being read out externally through an internal-external interface.
The rental storage apparatus 313 is a portable HDD in which a content protection function is mounted like an information versatile disk for removable (iVDR) drive. The rental storage apparatus 313 includes, as its components, an interface 306, a control unit 307 including a central processing unit (CPU) for controlling various functions, a key generating unit 309 for generating a provisional key necessary for a communication, an encryption/decryption unit 310 for executing encryption/decryption of data, a certificate verifying unit 308 for performing certificate verification, and a non-volatile memory 311 in which a certificate of an reproducing apparatus, a device class public key, a device class secret key, a device public key, a device secret key, a program, and the like are recorded. Such functions are mounted in a tamper resistant manner. A tamper resistant mounting may be performed in the above-described manner.
The rental storage apparatus 313 further includes a storage area 312 in which various data are recorded. The memory area 312 of the rental storage apparatus 313 is logically divided into at least two areas. As the two areas, one is the user area 102 that there is no access restriction, and the other is the secure area 104 that access is allowed under a certain condition as shown in
In
A user ID, a user password (PW) 314, and a management number 315 are recorded in the secure area 104 of the rental storage apparatus 313 by using a dedicated terminal installed in a rental shop when the rental storage apparatus 313 is rent to a user. Here, the user ID and the user PW 314 are information provided from a service provider when the user applies for a rental service. A management number 315 is a number which is printed on a membership card as shown in
(1) If a user makes the rental storage apparatus 313 access the host apparatus 100 such as, for example, a television, the host apparatus 100 and the rental storage apparatus 313 perform a mutual authentication according to a procedure which will be described later with reference to
(2) If it is determined in step 501 that a mutual authentication is successful, the user is queried whether to perform validation of the UP to make watching-restricted content watchable or not. If validation of the UP is performed to make watching-restricted content watchable, the host apparatus 100 checks whether a certificate acquired from the rental storage apparatus is a rental certificate or not and checks whether it is possible to perform validation of the UP to make watching-restricted content watchable or not (steps 502 and 506).
(3) If it is determined in step 506 that a certificate acquired from the rental storage apparatus is a rental certificate and it is possible to perform validation of the UP to make watching-restricted content watchable, validation processing of the UP is executed (step 503).
(4) If it is determined in step 506 that a certificate acquired from the rental storage apparatus is not a rental certificate and it is impossible to perform validation of the UP to make watching-restricted content watchable, since validation processing of the UP cannot be executed, error processing is performed, and then processing is finished (step 505).
(5) If it is determined in step 502 that validation of the UP will not be performed, since it is assumed that already the validated UP exists, the host apparatus acquires already the validated UP from the rental storage apparatus 313 according to a UP transmission procedure which will be described later with reference to
If a mutual authentication is determined as successful in step 501 and a certificate received from the storage apparatus is determined as a rental certificate in step 502, the host apparatus 100 displays screen 600 for selecting content on its display as shown in
The host apparatus 100 displays user authentication screen 700 for a user authentication as shown in
(1) After mutual authentication processing which will be described later is performed between the host apparatus 100 and the rental storage apparatus 313, the content ID, the user ID, the PW, and the management number are inputted by the user, and so the host apparatus 100 specifies the LBAQ at which the UP corresponding to the content ID inputted by the user is recorded and the sector number continued thereto based on the playback info 109 and the UC info 110 acquired from the rental storage apparatus 313 (step 800).
(2) Then, the host apparatus 100 encrypts the user ID 701, the user PW 702, the management number 703, the ID 602 of content desired to watch, the LBAQ, and a sector number continued thereto in a common key encryption manner by using a provisional key 1118, which will be described later, shared with the rental storage apparatus 313 during the mutual authentication, and transmits the data:
E(Ks, ID¦PW¦management number¦first LBA¦sector number)
to the rental storage apparatus 313. In the exemplary embodiment of the present invention, it is premised that one UP is recorded with respect to one sector, and if one encrypted content corresponds to a plurality of UPs, the recording address LBAQ of a plurality of UPs are continued (steps 801 and 802).
(3) The rental storage apparatus 313 decrypts encrypted data received in processing of step 802 using the provisional key 1118 shared with the host apparatus 100 during the mutual authentication, and the compares user ID 701, the user PW 702 and the management number information 703 which are acquired to the user ID, the user PW 314 and the management number 315 which are recorded therein using a dedicated terminal of the rental shape when rented to thereby determine whether they are identical or not (steps 803 and 804).
(4) If it is confirmed in the rental storage apparatus 313 that decryption processing of step 803 and a comparison of the user IDs, the user PWs and the management numbers in step 804 are successful, the host apparatus 100 issues a command Validate UP for validating the UP to the rental storage apparatus 313 (step 805).
(5) If the command Validate UP is received, the rental storage apparatus 313 first changes a validity flag of a validity flag table corresponding to the LBAQ received from the host apparatus 100 to a valid value. As a history that validation processing of the validity flag is executed, a UPID of the validated UP is recorded in a history storing area (not shown in the drawing), for example, which is only accessible from the storage apparatus system in the storage apparatus. In this history storing area, a read operation by a special external command is allowed, but a writing operation is not allowed (steps 806 and 807).
The host apparatus 100 reads out the UP validated by above-described processing from the rental storage apparatus 313 according a UP transmission protocol which will be described later with reference to
(1) If the user returns the rental storage apparatus 313 to the rental shop, a clerk makes the rental storage apparatus 313 access a host apparatus 900 in the rental shop. The host apparatus 900 in the rental shop and the rental storage apparatus 313 perform a mutual authentication, and then the host apparatus issues command Get Log 901 for acquiring a recording history to the rental storage apparatus 313 (step 901)
(2) If the command is received, the rental storage apparatus 313 extracts a history from a history storing area and outputs it to the host apparatus 900, and the host apparatus 900 computes a name of content watched by the user and a use fee based on received history information (step 902).
In above-described processing, the host apparatus 900 in the rental shop acquires the history stored in the rental storage apparatus 313, but the user who rented the storage apparatus 313 occasionally wants to know a watching history. In this instance, same processing as described above can be performed between the host apparatus 100 through which the user watches content and the rental storage apparatus 313 so that the user can be informed of the watching history.
As a premise for executing a flow described with reference to
(1) If the storage apparatus which is storing the UP accesses the host apparatus, the storage apparatus transmits a device class public key certificate C(Kr, KPdc [I]) 1100 stored therein to the host apparatus. The host apparatus verifies the certificate by using a root public key KPr 1101 stored therein (step 1126).
(2) The host apparatus can acquire a device class public key KPdc [I] 1127 stored in the storage apparatus if a verification is successful and generates a challenge key Kch [P] 1130 by using a random number generator after a verification is finished. The challenge key Kch [P] 1130 is encrypted by an elliptic cryptography by using the device class public key 1127 acquired by verification processing of a certificate, and then a device class public key certificate C(Kr, KPdc [P]) 1128 stored therein is combined with encrypted data (steps 1129 and 1131).
(3) Then, the host apparatus transmits combined data E (KPdc [I], Kch [P])¦C(Kr, KPdc [P]) 1120 to the storage apparatus.
(4) The storage apparatus divides received data 1120 into the device class public key certificate 1128 of the host apparatus and encrypted data, and verifies the device class public key certificate 1128 by using the root public key KPr 1101 stored therein. If verification is successful, the storage apparatus can acquires a device class public key KPdc [P] 1105 stored in the host apparatus (step 1102).
(5) The storage apparatus decrypts divided encrypted data by using a device class secrete key Kdc [I] 1104 stored therein. As a result of decryption, the storage apparatus can acquire the challenge key Kch [P] 1130 generated in the above procedure by the host apparatus (step 1107).
(6) Next, the storage apparatus generates a challenge key Kch [I] 1112 by using a random number generator and transmits data that combined data is dual-encrypted by using the device class public key KPdc [P] 1105 and the challenge key Kch [P] 1130 which are acquired in above processing E(Kch [P], E(KPdc [P], Kch [I]¦KPd [I])) 1123 to the host apparatus (steps 1106, 1109, and 1111).
(7) The host apparatus decrypts received data 1123 by using the challenge key Kch [P] 1130 generated a moment ago. The host apparatus also performs decryption by using a device class secrete key Kdc [P] 1133 previously stored therein. As a result, the host apparatus can acquire the device public key KPd [I] 1103 of the storage apparatus and the challenge key Kch [I] 1112 generated by the storage apparatus (steps 1134 and 1132).
(8) Then, the host apparatus generates a session key Ks [P] 01117 by using a random number generator 1144, combines the session key 1117 with a device public key KPd [P] 1139 previously stored therein, encrypts combined data by using the device public key KPd [P] 1103 of the storage apparatus acquired in above processing, and a creates shared key KPd [I] 1141 by using an Elliptic Curve Diffie-Hellman (ECDH) key exchange algorithm (steps 1142 and 1140).
(9) The host apparatus also encrypts data encrypted in processing of step 1140 by using the challenge key Kch [I] 1112 acquired in above processing, and transmits encrypted data E(Kch [I], E(KPd [I], Ks [P] 0¦KPd [P])) 1124 to the storage apparatus (step 1136).
(10) The storage apparatus receives encrypted data 1124 and decrypts received encrypted data 1124 by using the previously generated challenge key Kch [I] 1112 and a device secrete key Kd [I] 1114 previously stored therein. As a result, the storage apparatus can acquire the session key Ks [P] 01117 and the device public key KPd [P] 1139 stored in the host apparatus. Also, a shared key *KPd [I] 1116 is created by using an ECDH key exchange algorithm during execution of elliptic decryption processing (step S1113 and 1115).
(11) After completing above-described processing, the storage apparatus creates a session key Ks [1] 01118 by using the random number generator, encrypts the created session key 1118 by using the session key Ks [P] 01117 which is created by the host apparatus and acquired in above processing, and also encrypts it by using the device public key KPd [P] 1139 of the host apparatus. Also, a shared key *KPd [P] 1121 is created by using an ECDH key exchange algorithm. Encrypted data E(KPd [P], E(Ks [P] 0, Ks [I] 0)) 1125 is transmitted to the host apparatus (steps 1119 and 1122).
(12) The host apparatus receives encrypted data 1125 and decrypts encrypted data 1125 by using the device secrete key KPd [P] 1143 stored therein and the session key Ks [P] 01117 previously generated. As a result, a session key Ks [I] 01118 created in the storage apparatus can be acquired. At this time, the shared key *KPd [P] 1121 can be also acquired by using an ECDH key exchange algorithm (steps 1146 and 1148).
Accordingly, the host apparatus and the storage apparatus can share the session key 1117, the session key 1118, the ECDH shared key 1121, and the ECDH shared key 1116 by the above-described procedures.
(1) The host apparatus creates a second session key Ks [P] 11205 using the random number generator. The second session key 1205 is encrypted using the session key Ks [P] 01117 and the session key Ks [I] 01118 which are shared in the mutual authentication and key sharing procedure. Encrypted data E(Ks [I] 0, E(Ks [P] 0, Ks [P] 1)) 1202 is transmitted to the storage apparatus (step 1200 and 1201).
(2) The storage apparatus receives encrypted data 1202 described above and decrypts received encrypted data 1202 using the session key Ks [P] 01117 and the session key Ks [I] 01118 which are shared in above processing to acquire the second session key 1205 created in the host apparatus (steps 1203 and 1204).
(3) Next, the storage apparatus transmits data that the UP is encrypted using the second session key Ks [P] 11205 and the ECDH shared key *KPd [P] 1121 shared in above processing E(*KPd [P], E(Ks [P] 1, UP)) 1209 to the host apparatus (steps 1207 and 1208).
(4) The host apparatus decrypts received encrypted data 1209 using the ECDH shared key 1121 and the second session key Ks [P] 11205 created in above processing to acquire the UP (step 1210 and 1211).
In the exemplary embodiment of the present invention described above, the user ID 701, the user PW 702, the management number 703, the ID 602 of content desired to watch, the LBAQ, and the sector number continued thereto may be encrypted by a common key encryption method using a provision key shared with the rental storage apparatus 313 during a mutual authentication, and a command for outputting to the rental storage apparatus 313 may be combined with a command Validate UP for validating the UP as a single command.
Respective processing of the exemplary embodiment of the present invention described above may be implemented by a program and be executed by the CPU of the controller according to the exemplary embodiment. Such a program may be provided in a form that is stored in a recording medium such as a FD, a CD-ROM, and a DVD or may be provided in a digital information form via a network.
Also, in the exemplary embodiment of the present invention described above, the management number inputted by the user when validation of the UP is executed may be acquired through an internet or by querying to a shop via a telephone. Also, in the exemplary embodiment of the present invention described above, the management number is set for each storage apparatus, but the management number may be set for each content.
Also, in the exemplary embodiment of the present invention described above, the UPID is used as a history when the UP is validated, but the content ID may be used as a history. Also, in the exemplary embodiment of the present invention described above, the history is recorded in an area which only the storage apparatus system of the storage apparatus can access, but the history may be recorded in the user area of the storage apparatus after encrypting it using the key previously shared with the terminal of the shop.
Also, in the exemplary embodiment of the present invention described above, all UPs are invalidated when the storage apparatus is rented, but the following method can be applied.
A series of encrypted contents and the UP accompanied thereto are recorded in one storage apparatus. In the validity flag table, the UP is in an invalid state.
For example, if the user rents episodes 1 to 3 of contents from the shop, the shop validates the UPs of episodes 1 to 3 before renting them to the user. Since this processing can be performed by reversing the validity flag of the corresponding UP, a time can be saved compared to a method for recording the UP in the storage apparatus when the storage apparatus is rented. Then, the user pays for episodes 1 to 3 there.
If the user desires to watch contents of an episode 4 or later episodes after watching rented contents at a home, processing for validating the UP described above in the exemplary embodiment of the present invention can be performed, so that the user can watch contents of an episode 4 or later episodes without visiting the shop again to rent. The clerk acquires the history within the storage apparatus and bills an additional fee to the user when the storage apparatus is returned.
Also, the content rental service using an automatic rental machine can be provided by applying the exemplary embodiment of the present invention, which will be described below.
The content rental service using the automatic rental machine may be provided such that the automatic rental machine which stores a storage apparatus in which ten latest movie contents encrypted and the invalidated UP corresponding to the corresponding content are recorded is installed in, for example, a station or a convenience store.
Before renting content from the automatic rental machine, the user inserts a membership card, a credit card or a pre-paid card having a membership function into the automatic rental machine, and so a user authentication is performed. If the user authentication is successful, a content selecting screen shown in
The storage apparatus that the UP corresponding to selected content is validated is outputted from the automatic rental machine. The automatic rental machine bills a fee corresponding to the validated UP to a user information holder acquired during the user authentication when UP renewal processing is performed. A billing method or a billing timing is not described above, but, for example, an automatic payment of a credit card, or a payment of a pre-paid card or a cash payment is possible.
While we have shown and described several embodiments in accordance with our invention, it should be understood that disclosed embodiments are susceptible of changes and modifications without departing from the scope of the invention. Therefore, we do not intend to be bound by the details shown and described herein but intend to cover all such changes and modifications within the ambit of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2007-321046 | Dec 2007 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
6289455 | Kocher et al. | Sep 2001 | B1 |
6957350 | Demos | Oct 2005 | B1 |
7020636 | Ohmori et al. | Mar 2006 | B2 |
7298845 | Tatebayashi et al. | Nov 2007 | B2 |
7444306 | Varble | Oct 2008 | B2 |
20020013940 | Tsukamoto et al. | Jan 2002 | A1 |
20040243488 | Yamamoto et al. | Dec 2004 | A1 |
20050091681 | Borden et al. | Apr 2005 | A1 |
20070248231 | Kasahara et al. | Oct 2007 | A1 |
Number | Date | Country |
---|---|---|
1 770 577 | Apr 2007 | EP |
11-283327 | Oct 1999 | JP |
2002-042234 | Feb 2002 | JP |
WO 02065750 | Aug 2002 | WO |
WO 2005020540 | Mar 2005 | WO |
Number | Date | Country | |
---|---|---|---|
20090177886 A1 | Jul 2009 | US |