Summary of the invention
The embodiment of the invention provides a kind of authorization method, system and device, in order to realize client about obtaining the dynamic authorization of key, and make more client obtain to be used for the key of access relevant content, satisfy the user can obtain same key in a plurality of clients demand.
A kind of authorization method that the embodiment of the invention provides comprises:
Server receives the key request that client sends, and therefrom obtains the client features information type;
Described server is encrypted the key of described client-requested;
Key after described client features information type of described server by utilizing and the described encryption generates the certificate of authority, and this certificate of authority is sent to described client.
A kind of key acquisition method that the embodiment of the invention provides comprises:
Client is obtained client features information type and process encrypted secret key from the certificate of authority that server issues;
Described client is extracted client features information according to described client features information type, and utilizes this client features information, perhaps utilizes this client features information and client features information type to described secret key decryption, the key after obtaining deciphering.
A kind of server that the embodiment of the invention provides comprises:
Receive request unit, be used to receive the key request that client sends, and therefrom obtain the client features information type;
Ciphering unit is used for the key of described client-requested is encrypted;
Send certificate of authority unit, be used to utilize the key after described client features information type and the described encryption to generate the certificate of authority, and this certificate of authority is sent to described client.
A kind of client that the embodiment of the invention provides comprises:
Certificate of authority unit is used for obtaining client features information type and process encrypted secret key from the certificate of authority that server issues;
Key acquiring unit, be used for extracting client features information according to described client features information type, and utilize this client features information, perhaps utilize this client features information and client features information type to described secret key decryption, the key after obtaining deciphering.
A kind of authoring system that the embodiment of the invention provides comprises:
Server is used to receive the key request that client sends, and therefrom obtains the client features information type; Key to described client-requested is encrypted; Utilize the key after described client features information type and the described encryption to generate the certificate of authority, and this certificate of authority is sent to described client;
Client is used for obtaining client features information type and process encrypted secret key from the certificate of authority that described server issues; The key that generates by client features information, perhaps the key that generates by this client features information and described client features information type is to the secret key decryption in the described certificate of authority, the key after obtaining deciphering.
The embodiment of the invention receives the key request that client sends by server, and therefrom obtains the client features information type; Described server is encrypted the key of described client-requested; Key after described client features information type of described server by utilizing and the described encryption generates the certificate of authority, and this certificate of authority sent to described client, thereby realized server to client about obtaining the dynamic authorization of key, make more client can obtain to be used for the key of access relevant content, and can satisfy the user obtains to be used to visit the same key of identical content in a plurality of clients demand.
Embodiment
The embodiment of the invention provides a kind of authorization method, system and device, in order to realize client about obtaining the dynamic authorization of key, and make more client obtain to be used for the key of access relevant content, satisfy the user can obtain same key in a plurality of clients demand.
The key that is used for access relevant content of the described client-requested of the embodiment of the invention can be various keys, for example the protection key of domain key, digital content (as e-book etc.).
The embodiment of the invention is provided with the corresponding relation of client features information type and client features information in advance in client, for example, the client features information type is a hard disk, and then the clients corresponding characteristic information is the sequence number of hard disk.The corresponding relation of client device type and client features information type further can also be set, after making that client is learnt the device type of self by detection, can find corresponding client features information type, thereby extract corresponding client features information according to this client features information type.If the corresponding a plurality of client features information types of the device type of a certain client are then according to the selected a kind of client features information type of the priority of predefined client features information type.Described client features information is exactly the characteristic information that is used to identify this client.Certainly, further can also in server, set in advance above-mentioned corresponding relation.
Below in conjunction with accompanying drawing the embodiment of the invention is elaborated.
Referring to Fig. 1, a kind of authoring system that the embodiment of the invention provides comprises: server 11 and at least one client 12.
Server 11 is used to receive the key request that client 12 sends, and therefrom obtains the client features information type; Key to described client 12 requests is encrypted; Utilize this client features information type and encrypt after key generate the certificate of authority, and this certificate of authority is sent to described client 12.
Client 12 is used for obtaining client features information type and process encrypted secret key according to the certificate of authority that user's request issues from described server 11; The key that generates by client features information, perhaps the key that generates by this client features information and described client features information type is to the secret key decryption in the described certificate of authority, the key after obtaining deciphering.
Preferably, described server 11 further obtains client features information from the key request that described client 12 sends, utilize this client features information and/or described client features information type that the key of described client 12 requests is encrypted.When described server 11 receives the key of a plurality of clients 12 requests when identical, described server 11 utilizes the client features information of these a plurality of clients 12 and/or described client features information type that the same key of these a plurality of clients 12 requests is encrypted; Client features information and the client features information type of utilizing described a plurality of client 12 to submit to generate the certificate of authority.
Preferably, described server 11 adopts certain algorithm (as Message Digest 5 etc.) to generating encryption key after the client features information processing; Perhaps, adopt certain algorithm that client features information and client features information type are handled back generation encryption key;
Described server 11 adopts encryption key that the key of described client 12 requests is encrypted.
Preferably, described server 11 further obtains encryption key from the key request that described client 12 sends, utilize this encryption key that the key of described client 12 requests is encrypted.That is to say, generate encryption key after described client 12 adopts certain algorithm to the client features information processing; Perhaps, adopt certain algorithm that client features information and client features information type are handled back generation encryption key, the encryption key that generates is sent to server 11.
Preferably, client 12 is selected the client features information type according to user's request according to the priority of predefined client features information type, and is extracted and the corresponding client features information of this client features information type; This client features information and selected client features information type are sent to server 11.
Preferably, the client features information of a plurality of clients 12 of utilizing server 11 adopts complete public key broadcasts to encrypt scheduling algorithm the protection key of same digital content is encrypted, and makes wherein arbitrary client 12 can utilize the client features information of self that the key that obtains from the certificate of authority is decrypted; The key that server 11 utilizes after encrypting, and the client features information type that a plurality of clients 12 are submitted to generates the certificate of authority, that is to say the client features information type that has comprised the key after encrypting in the certificate of authority and asked all clients submissions of same key.
Preferably, before the client 12 selected client features information types, extract the device type of self earlier, obtain the pairing client features information type of self device type, under the situation of the corresponding a plurality of client features information types of equipment of itself type, according to the selected a kind of client features information type of the priority of predefined client features information type, and according to this client features information type extraction client features information, if extract failure, then select the client features information type of suboptimum according to the priority of client features information type, and extract and the corresponding client features information of this client features information type, know the operation success of extracting client features information.
Preferably, the client features information type obtained from the certificate of authority of client 12 comprises multiple client features information type; From this multiple client features information type, select a kind of client features information type, and from self extraction and the corresponding client features information of this client features information type, if extract failure, then from multiple client features information type, select another kind of client features information type, up to extracting the success of client features information.Wherein, when in the multiple client features information type from the certificate of authority, selecting a kind of client features information type, can select according to the priority of the client features information type that sets in advance.
Provide the concrete structure explanation of above-mentioned server 11 and client 12 below.
Referring to Fig. 2, preferably, described server 11 comprises:
Receive request unit 21, be used to receive the key request that client 12 sends, and therefrom obtain client features information and client features information type.
Ciphering unit 22 is used to utilize client features information that the key of client 12 requests is encrypted.
Send certificate of authority unit 23, be used to utilize the client features information type and encrypt after key generate the certificate of authority, and this certificate of authority is sent to client 12.
Referring to Fig. 3, preferably, described client 12 comprises:
Information extraction unit 31 is used for selecting the client features information type according to user's request according to the priority of predefined client features information type, and extracts and the corresponding client features information of this client features information type.
Encryption key unit 32 is used to utilize described client features information, perhaps utilizes described client features information and described selected client features information type to generate encryption key.
Transmitting element 33 is used for described selected client features information type, and described encryption key or described client features information send to described server 11.
Certificate of authority unit 34 is used for obtaining client features information type and process encrypted secret key according to the certificate of authority that user's request issues from server 11.
Key acquiring unit 35 is used for extracting client features information according to the client features information type, and utilizes this client features information to described secret key decryption, the key after obtaining deciphering.
Provide several specific embodiments below.
Embodiment 1:
The digital content that is subjected to the DRM protection need preset in certain electronic reader manufacturer in a collection of reader that does not have an extension storage card.At first in general reader client and authorization server, preset multinomial mandated program.The higher mandated program of priority is: but the device number of electronic reader and the card number of extension storage card are bound with digital content simultaneously, and the mandated program that priority is lower is: digital content is only bound with device number.Authorization server is encrypted the protection key of digital content according to the characteristic information of this batch client; The type and the encrypted content key of the characteristic information of this batch client are described in the certificate of authority subsequently.This certificate of authority can use for this batch electronic reader.
Embodiment 2:
On the authorization server and on a plurality of PC equipment apparatus characteristic information type and the corresponding equipment characteristic information thereof with different priorities being set, make certain e-book DRM protection system can support these special P C equipment in advance.Because on PC, usually for the hardware of binding, all might not exist as equipment such as video card, network interface cards, the hard disk sequence number may detect to come out yet, and therefore need preset the characteristic information extraction scheme that many covers possess priority on client software at these characteristics.As preferential extraction hard disk, network interface card, video card, next extracts mainboard, CPU, internal memory, and more secondly, above-mentioned 6 kinds of device numbers that utilization can be extracted are used and bound such as " hardware adaptive mechanism method ".For example, when certain user PC did not contain network interface card, the user bought e-book by this PC.After obtaining the RO voucher, client learns that by the checkout equipment type equipment is PC, learn PC equipment clients corresponding characteristic information type according to preset scheme, and choose the higher client features information type of priority (as being hard disk, network interface card, video card), and corresponding client features information is obtained in detection, this obtains failure, then choose the client features information type (as being mainboard, CPU, internal memory) of PC equipment corresponding priorities suboptimum, and detect and obtain corresponding client features information, this obtains success.Digest value, the client features information type of this client features information and characteristic information type (as are designated: PC hardware binding type 2), send to the RO authorization server together with the RO voucher.The RO server is after judging that the RO voucher effectively; use client features information and characteristic information type as parameter; calculate encryption key K1 by the algorithm (as Message Digest 5) that generates key, and the protection key K c of digital content is encrypted, generate K2 with this encryption key K1.Protection key K 2 after in the certificate of authority, describing the client features information type again and utilizing the K1 encryption, as follows:
<bindtype〉PC hardware binding type 2</bindtype 〉
<ECK>K2</ECK>
The RO server returns to client with this certificate of authority.After client obtains this certificate of authority, with its preservation.When the user prepared to use e-book, client detected this certificate of authority, and the protection key after getting access to corresponding client features information type and utilizing the client features information encryption; Client is obtained corresponding client features information according to the client features information type, uses client features information generating solution decryption key, and obtains Kc to protecting key K 2 to be decrypted.Utilize Kc deciphering e-book again, thereby make that the user can reading electronic book.
Embodiment 3:
When certain e-book DRM protection system is also supported mobile phone except supporting PC equipment; client is after having obtained the RO voucher that server issues; learn that by the checkout equipment type equipment of itself is a mobile phone; and learn mobile phone clients corresponding characteristic information type according to predetermined scheme; and detect and to obtain corresponding client features information (as being SIM card number, cell phone apparatus number etc.), it is sent to the RO authorization server together with the RO voucher.The RO authorization server is after the validity of judging the RO voucher; after will carrying out encryption to the protection key of digital content according to client features information; together with the client features information type, add in the certificate of authority of generation, and this certificate of authority is returned to this mobile phone.After this mobile phone has obtained the certificate of authority, with its preservation.When the user prepared to use e-book, this mobile phone detected this certificate of authority, and got access to client features information type and the protection key after the client features information encryption; Mobile phone obtains corresponding client features information according to the client features information type, uses client features information that the protection key is decrypted; Utilize the protection secret key decryption e-book after deciphering again, thereby obtain the e-book content that the user needs.
Embodiment 4:
When the user wishes can both read same e-book on 2 PC and mobile phone.On first PC, client learns that by the checkout equipment type equipment is PC, learn the client features information type (as being hard disk, network interface card) that preecedence requirement is obtained according to preset scheme, and corresponding client features information is obtained in detection, obtain success, client features information, client features information type are sent to authorization server; On second PC, client learns that by the checkout equipment type equipment is PC, learn the client features information type (as being hard disk, network interface card) that preecedence requirement is obtained according to preset scheme, and corresponding client features information is obtained in detection, obtain failure, so in the preset scheme of PC correspondence, search the client features information type (as being mainboard, CPU, internal memory) of suboptimum again, and detect and obtain corresponding client features information, obtain success.This client features information, client features information type are sent to authorization server.On mobile phone, client learns that by the checkout equipment type equipment is mobile phone, learn the client features information (as being cell phone apparatus ID) that preecedence requirement is obtained according to preset scheme, and corresponding client features information is obtained in detection, obtain success, client features information, client features information type are sent to authorization server.Authorization server is after client features information that gets access to these 3 equipment and client features information type; protection key with three's client features information encryption e-book; the client features information type that these three clients are submitted to, the protection key after the encryption are described in the certificate of authority respectively then; as shown in Figure 4; authorization server sends this certificate of authority these three client devices of user to, thereby makes the user to read same e-book by this certificate of authority on these three equipment.
On first PC, client learns that by detecting client features information type on the certificate of authority successively the most preferred client features information type of PC correspondence is hard disk, network interface card, obtains corresponding client features information immediately, obtains success; Use this client features decrypts information to obtain the protection key of e-book.
On second PC, client learns that by detecting client features information type on the certificate of authority successively the most preferred client features information type of PC correspondence is hard disk, network interface card, obtains corresponding client features information immediately, obtains failure; The next preferred client features information type that detects the PC correspondence is mainboard, CPU, internal memory, obtains corresponding client features information immediately, obtains success; Use this client features decrypts information to obtain the protection key of e-book.
On mobile phone, client learns that by detecting client features information type on the certificate of authority successively the most preferred client features information type of mobile phone correspondence is a device id, obtains corresponding client features information immediately, obtains success; Use this client features decrypts information to obtain the protection key of e-book.
Obviously, the technical scheme that provides of the embodiment of the invention can also be applied in other field.For example, in the management process of territory, usually need be with the same apparatus bound of territory certificate.When territory certificate need be with special P C apparatus bound, client learns that by the checkout equipment type equipment is PC, learn the most preferred client features information type (as being hard disk, network interface card) of PC correspondence according to preset scheme, and corresponding client features information is obtained in detection, obtain failure, so choose the less preferred client features information type (as being mainboard, CPU, internal memory) of PC correspondence, and obtain corresponding client features information, obtain success.This client features information, client features information type are sent to field managing server.The client features information that field managing server uses client to send is encrypted domain key; Domain key after in the certificate of territory, describing the client features information type and utilizing the client features information encryption, as follows:
<bindtype〉binding of PC hardware adaptive mechanism</bindtype 〉
<EDK>XXX</EDK>
Field managing server returns to client with this territory certificate.After client obtains the territory certificate, with its preservation.When the user need use this territory certificate, the domain key after client is obtained the client features information type in this territory certificate and utilized the client features information encryption; Client is obtained corresponding client features information according to the client features information type, uses this client features information that domain key is decrypted.
Introduce the method that the embodiment of the invention provides below.
Referring to Fig. 5, a kind of authorization method that the embodiment of the invention provides comprises step:
S501, server receive the key request that client sends, and therefrom obtain the client features information type.
S502, server are encrypted the key of client-requested.
Key after S503, server by utilizing client features information type and the encryption generates the certificate of authority, and this certificate of authority is sent to client.
Referring to Fig. 6, a kind of key acquisition method that the embodiment of the invention provides comprises step:
S601, client are obtained client features information type and process encrypted secret key according to user's request from the certificate of authority that server issues.
S602, client are extracted client features information according to the client features information type, and utilize this client features information to secret key decryption, the key that is used for access relevant content after obtaining deciphering.
In sum, the embodiment of the invention receives the key request that client sends by server, and therefrom obtains the client features information type; Server is encrypted the key of client-requested; Key after server by utilizing client features information type and the encryption generates the certificate of authority, and this certificate of authority sent to client, thereby realized server to client about obtaining the dynamic authorization of key, make more client can obtain to be used for the key of access relevant content, and can satisfy the user obtains to be used to visit the same key of identical content in a plurality of clients demand.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.