Summary of the invention
The embodiment of the invention provides a kind of sending method and device, method of reseptance and device thereof of digital content, with when guaranteeing the digital content transmissions fail safe, reduced the flow process complexity of obtaining the decrypted digital content key, improve convenience and the reliability of the decruption key that obtains digital content, thereby improved reliability and the success rate that digital content is decrypted.
A kind of sending method of digital content comprises:
Adopt encryption key that digital content is encrypted;
Generate corresponding with described encryption key and be used for decruption key that described digital content is decrypted;
Described decruption key is carried out two-dimension code handle, obtain 2 D code information;
Send described digital content and described 2 D code information after encrypting.
Preferably, described 2 D code information records the content information of described decruption key, and 2 D code information is corresponding one by one with decruption key.
Preferably, the chequered with black and white figure of described 2 D code information for adopting the particular geometric figure to distribute according to certain rules.
A kind of method of reseptance of digital content comprises:
Obtain encrypted digital content and corresponding 2 D code information thereof, described 2 D code information is for handling resulting information by the decruption key that is used for the described digital content of deciphering is carried out two-dimension code;
Described 2 D code information is scanned, obtain corresponding decruption key;
Adopt described decruption key that described digital content is decrypted, the digital content after obtaining deciphering.
Preferably, described 2 D code information records the content information of described decruption key, and 2 D code information is corresponding one by one with decruption key.
Preferably, the chequered with black and white figure of described 2 D code information for adopting the particular geometric figure to distribute according to certain rules.
A kind of digital content dispensing device comprises:
Ciphering unit is used for adopting encryption key that digital content is encrypted;
The decruption key generation unit be used for to generate corresponding with described encryption key and for the decruption key that described digital content is decrypted;
Processing unit is used for that the decruption key that described decruption key generation unit generates is carried out two-dimension code and handles, and obtains 2 D code information;
Transmitting element is used for sending digital content and described 2 D code information after encrypting.
Preferably, the described 2 D code information that described decruption key generation unit generates records the content information of described decruption key, and 2 D code information is corresponding one by one with decruption key.
A kind of digital content receiving system comprises:
Acquiring unit is used for obtaining encrypted digital content and 2 D code information thereof, and described 2 D code information is for handling resulting information by the decruption key that is used for the described digital content of deciphering is carried out two-dimension code;
Scanning element is used for the 2 D code information that described acquiring unit obtains is handled, and obtains decruption key;
Decrypting device is used for adopting described decruption key described digital content to be decrypted the digital content after obtaining deciphering.
Preferably, described digital content fetch equipment is video player, music player, E-book reader or the portable terminal that is connected with camera or photoelectric scanning device;
Described scanning element specifically is used for: control described camera or photoelectric scanning device described 2 D code information is scanned, to obtain described decruption key.
A kind of encrypt digital content mode that is different from prior art is provided in the embodiment of the invention, at the digital content transmitting terminal decruption key that is used for decrypts digital content has been carried out the two-dimension code processing and obtain 2 D code information; At the digital content receiving terminal, 2 D code information scanned obtain decruption key, adopt decruption key that digital content is decrypted again.Adopt technical solution of the present invention, on the one hand, at the digital content transmitting terminal, in 2 D code information, record key certificate, come the transmission security key certificate by the transmission 2 D code information again; The digital content receiving terminal directly scans to obtain key certificate for digital content is decrypted to 2 D code information; Therefore, adopt technical solution of the present invention only need scan the 2 D code information that obtains to get final product the band key certificate, do not obtain decruption key after not needing to login corresponding website and registration, thereby on the basis of guaranteeing the digital content security transmission, also reduced the flow process complexity of obtaining the decrypted digital content key to a certain extent, improve convenience and the reliability of the decruption key that obtains digital content, thereby improved reliability and the success rate that digital content is decrypted; On the other hand, since two-dimension code can be on horizontal and vertical both direction can both recorded information, therefore adopt a two-dimension code can record lot of data information, even and the damage rate of two-dimension code reaches 50% information that yet can accurately recover its record, therefore, adopt two-dimension code that digital content is encrypted with respect to existing encrypt digital content mode, more reliable and more stable, and only need scan the decruption key that can obtain for digital content is decrypted to two-dimension code at receiving terminal, thereby simplified the process that digital content is decrypted, more simple.
Embodiment
The embodiment of the invention provides a kind of digital content send mode that is different from prior art, when guaranteeing the digital content transmissions fail safe, improves reliability, simplification and cost that digital content is encrypted.Send the method for digital content, comprising: adopt encryption key that digital content is encrypted; Generate corresponding with described encryption key and be used for decruption key that described digital content is decrypted; Described decruption key is carried out two-dimension code handle, obtain 2 D code information; Send described digital content and described 2 D code information after encrypting.The method of receiving digital contents comprises: receive encrypted digital content and corresponding 2 D code information thereof; Described 2 D code information is scanned, obtain corresponding decruption key; Adopt described decruption key that described digital content is decrypted, the digital content after obtaining deciphering.Adopt technical solution of the present invention, on the one hand, at the digital content transmitting terminal, in 2 D code information, record key certificate, come the transmission security key certificate by the transmission 2 D code information again; The digital content receiving terminal directly scans to obtain key certificate for digital content is decrypted to 2 D code information; Therefore, adopt technical solution of the present invention only need scan the 2 D code information that obtains to get final product the band key certificate, do not obtain decruption key after not needing to login corresponding website and registration, thereby on the basis of guaranteeing the digital content security transmission, also reduced the flow process complexity of obtaining the decrypted digital content key to a certain extent, improve convenience and the reliability of the decruption key that obtains digital content, thereby improved reliability and the success rate that digital content is decrypted; On the other hand, since two-dimension code can be on horizontal and vertical both direction can both recorded information, therefore adopt a two-dimension code can record lot of data information, even and the damage rate of two-dimension code reaches 50% information that yet can accurately recover its record, therefore, adopt two-dimension code that digital content is encrypted with respect to existing encrypt digital content mode, more reliable and more stable, and only need scan the decruption key that can obtain for digital content is decrypted to two-dimension code at receiving terminal, thereby simplified the process that digital content is decrypted, more simple.
Two-dimension code (Dimensional Bar Code) also claim two-dimensional bar code, refers to specific geometric figure (on the two-dimensional directional) chequered with black and white figure of distributing according to certain rules in the plane, in order to the record data symbolic information; On coding, utilize " 0 ", the concept of " 1 " bit stream that constitutes the computer-internal logical foundations dexterously, use several geometrical bodies corresponding with binary system to represent the literal numerical information, can carry out automatically identifying and reading to this two-dimensional bar code by image input device or photoelectric scanning device, to obtain the corresponding literal numerical information of this two-dimensional bar code.Two-dimensional bar code has following characteristic: every kind of code system has specific character set, and each character occupies certain width, and has certain verifying function etc.Two-dimensional bar code also has function and processing graphics that different rows information is identified automatically and rotates characteristics such as variation except having above-mentioned characteristic.Two-dimensional bar code can be in horizontal and vertical two orientation expressing information simultaneously, therefore can in very little area, express a large amount of information, possess cost low, reliable and stable, be simple and easy to, data capacity greatly and have powerful advantages such as error correction information function; A common two-dimensional bar code can be stored nearly 1850 capitalizations or 2710 numerals or 1108 bytes or more than 500 Chinese character, and the fault-tolerant ability of two-dimension code is stronger, still can recover information comparatively accurately even damaged area reaches 50%.
Below in conjunction with Figure of description technical solution of the present invention is described in detail.
Referring to Fig. 1, for sending the method flow diagram of digital content in the embodiment of the invention, comprising:
Step 101, server end adopt encryption key that digital content is encrypted.
In the embodiment of the invention, digital content can be digital content works such as video display, music, electronic document.The encryption key that server end adopts in the embodiment of the invention refers to be used among the DRM (Digital Rights Management, copyrighted digital content encipherment protection technology) key of enciphered data content.
Step 102, server end generate corresponding with described encryption key and for the decruption key that described digital content is decrypted.
Decruption key in the embodiment of the invention refers in the DRM technology for the key that the digital content after encrypting is decrypted.
Step 103, server end carry out two-dimension code to described decruption key to be handled, and obtains 2 D code information.
In the embodiment of the invention, can handle decruption key by the two-dimension code algorithm (as: PDF417) of standard, obtain corresponding 2 D code information.
Described digital content and described 2 D code information after step 104, transmission are encrypted.
In the embodiment of the invention, can be that a plurality of digital contents adopt same decruption key, also can be that a digital content adopts a corresponding decruption key.The unique corresponding decruption key of 2 D code information, and record the content information of this decruption key.
In the embodiment of the invention, the chequered with black and white figure of described 2 D code information for adopting the particular geometric figure to distribute according to certain rules.
The embodiment of the invention also provides a kind of digital content method of reseptance, and the digital content method of reseptance comprises as shown in Figure 2:
Step 201, user terminal obtain encrypted digital content and corresponding 2 D code information thereof, and described 2 D code information is for handling resulting information by the decruption key that is used for the described digital content of deciphering is carried out two-dimension code.
Step 202, user terminal scan described 2 D code information by other scanning devices, obtain corresponding decruption key.
Step 203, user terminal adopt described decruption key that described digital content is decrypted, the digital content after obtaining deciphering.
With a concrete example technical solution of the present invention is described below, in this example, downloading e-book with mobile phone from network side is that example describes, and described mobile phone is connected with camera.
As shown in Figure 3, mobile phone is downloaded e-book and the corresponding 2 D code information of encrypting thereof from network side, and described e-book and the 2 D code information thereof that obtains downloaded in storage; The camera that connects by mobile phone scans the 2 D code information that receives, and obtains decruption key; The decruption key that employing obtains is decrypted e-book, the e-book after obtaining deciphering, and show at the display screen of this mobile phone.
2 D code information in the embodiment of the invention can be arranged on (on paper) on the printed medium, also can be stored in other electronic equipments and shows at the screen of this electronic equipment.Concrete application scenarios is that the user buys back paper spare books from bookstore, is printed with chained address and the corresponding 2 D code information of other digital contents in these paper spare books; The user can be connected to above-mentioned chained address and downloads after the corresponding digital content by user terminal, the 2 D code information that prints in the described paper spare books scanned obtain the key certificate that is decrypted for to the digital content of downloading, and by this key certificate the digital content of downloading is decrypted the digital content after obtaining deciphering.
Based on the method for aforementioned transmission digital content, the embodiment of the invention provides a kind of digital content dispensing device, and this dispensing device can be arranged on server end, and the structure of this dispensing device can comprise as shown in Figure 4:
Ciphering unit 41 is used for adopting encryption key that digital content is encrypted;
Decruption key generation unit 42 be used for to generate corresponding with described encryption key and for the decruption key that described digital content is decrypted;
Processing unit 43 is used for that the decruption key that decruption key generation unit 42 generates is carried out two-dimension code and handles, and obtains 2 D code information;
Transmitting element 44 is used for sending digital content and described 2 D code information after encrypting.
In the embodiment of the invention, the 2 D code information that above-mentioned decruption key generation unit 42 generates records the content information of described decruption key, and 2 D code information is corresponding one by one with decruption key.
Based on the method for aforementioned receiving digital contents, the embodiment of the invention provides a kind of digital content receiving system, and this device can be arranged in the terminal equipment (as mobile phone etc.), and the structure of this fetch equipment can comprise as shown in Figure 5:
Acquiring unit 51 is used for obtaining encrypted digital content and 2 D code information thereof, and described 2 D code information is for handling resulting information by the decruption key that is used for the described digital content of deciphering is carried out two-dimension code;
Scanning element 52, the 2 D code information that is used for acquiring unit 51 is obtained scans, and obtains decruption key;
Decrypting device 53 is used for adopting described decruption key described digital content to be decrypted the digital content after obtaining deciphering.
In the embodiment of the invention, the digital content fetch equipment can be video player, music player, E-book reader or the portable terminal (as mobile phone) that is connected with camera or photoelectric scanning device; At this moment, scanning element 52 can control described camera or photoelectric scanning device scans described 2 D code information, to obtain corresponding decruption key.
In the embodiment of the invention, provide a kind of encrypt digital content mode that is different from prior art in the embodiment of the invention, at the digital content transmitting terminal decruption key that is used for decrypts digital content has been carried out the two-dimension code processing and obtain 2 D code information; At the digital content receiving terminal, 2 D code information scanned obtain decruption key, adopt decruption key that digital content is decrypted again.Adopt technical solution of the present invention, on the one hand, at the digital content transmitting terminal, in 2 D code information, record key certificate, come the transmission security key certificate by the transmission 2 D code information again; The digital content receiving terminal directly scans to obtain key certificate for digital content is decrypted to 2 D code information; Therefore, adopt technical solution of the present invention only need scan the 2 D code information that obtains to get final product the band key certificate, do not obtain decruption key after not needing to login corresponding website and registration, thereby on the basis of guaranteeing the digital content security transmission, also reduced the flow process complexity of obtaining the decrypted digital content key to a certain extent, improve convenience and the reliability of the decruption key that obtains digital content, thereby improved reliability and the success rate that digital content is decrypted; On the other hand, since two-dimension code can be on horizontal and vertical both direction can both recorded information, therefore adopt a two-dimension code can record lot of data information, even and the damage rate of two-dimension code reaches 50% information that yet can accurately recover its record, therefore, adopt two-dimension code that digital content is encrypted with respect to existing encrypt digital content mode, more reliable and more stable, and only need scan the decruption key that can obtain for digital content is decrypted to two-dimension code at receiving terminal, thereby simplified the process that digital content is decrypted, more simple.
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.