Summary of the invention
In view of this, the embodiment of the invention provides a kind of portable terminal, server, system and method that is used for short message withdraw, by cancelling the encryption key message of the encryption short message correspondence of storing on the server, make the recipient can't check this encryption short message, reach the purpose of short message withdraw with this.
For achieving the above object, the embodiment of the invention provides a kind of portable terminal, comprising:
Processing module is used for the short message that needs send is carried out encryption, generates and encrypts short message, and create the encryption key message of described encryption short message correspondence;
First sending module is used for described encryption short message and described encryption key message are sent to server;
Memory module, the relevant information that is used to store the described encryption short message that has sent;
Recall module, be used for generating the information of recalling described encryption short message according to the relevant information of the described described encryption short message that has sent;
Second sending module is used for the described information of encrypting short message of recalling is sent to described server, so that described server is cancelled the described encryption key message of described encryption short message correspondence.
The embodiment of the invention also provides a kind of server, comprising:
Forwarding module is used for receiving and sends and encrypts short message;
Preserve module, be used to preserve the encryption key message of the described encryption short message correspondence that receives;
First notification module is used for when receiving the information of recalling the encryption short message generated query request;
Enquiry module is used for according to described query requests, the described encryption key message that inquiry is preserved;
The cancellation module is used to cancel the described encryption key message that inquires.
The embodiment of the invention also provides a kind of system that is used for short message withdraw, comprising:
Portable terminal is used for the short message that needs send is carried out encryption, generates and encrypts short message, and create the encryption key message of described encryption short message correspondence, and described encryption short message and described encryption key message are sent to server; And, described information of recalling described encryption short message is sent to described server according to the information that described encryption short message is recalled in the relevant information generation of the described encryption short message that has sent;
Server is used to preserve the encryption key message of the described encryption short message correspondence that receives, and when receiving described information of recalling described encryption short message, cancels described encryption key message.
The embodiment of the invention also provides a kind of method of short message withdraw, may further comprise the steps:
The short message that needs are sent carries out encryption, generates to encrypt short message, and creates the encryption key message of described encryption short message correspondence;
Described encryption short message and described encryption key message are sent to server;
The relevant information of the described encryption short message that storage has sent;
Relevant information according to the described described encryption short message that has sent generates the information of recalling described encryption short message;
Described information of recalling described encryption short message is sent to described server, so that described server is cancelled the described encryption key message of described encryption short message correspondence.
Compared with prior art, embodiments of the invention have the following advantages:
The short message that transmit leg will need to send carries out encryption, and create corresponding encryption key message, server is preserved this encryption key message, when transmit leg needs short message withdraw, information to server transmission short message withdraw to cancel this encryption key message, makes the recipient can't download this encryption key message, thereby can't check this encryption short message, reach the purpose of short message withdraw.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.
Be illustrated in figure 1 as the structural representation of the portable terminal of the embodiment of the invention, described portable terminal 10 comprises:
Processing module 11 is used for the short message that needs send is carried out encryption, generates and encrypts short message, and create the encryption key message of described encryption short message correspondence.
First sending module 12 is used for described encryption short message and described encryption key message are sent to server.
Memory module 13, the relevant information that is used to store the encryption short message that has sent.
The relevant information of the described encryption short message that has sent comprises: encrypt the ID (Identifier, identifier) of short message, the content of encrypting short message, recipient's telephone number or the transmitting time of encrypting short message.
Recall module 14, be used for generating the information of encrypting short message of recalling according to the relevant information of the described encryption short message that has sent.
Second sending module 15 is used for the described information of encrypting short message of recalling is sent to described server.
When sending SMS message, at first the short message that will need to send by processing module 11 carries out encryption, and the corresponding encryption key message of establishment, and will encrypt short message and encryption key message sends to server end simultaneously, in the short message mistake of finding to send, in the time of need recalling this short message, then can generate the information of encrypting short message of recalling by the above-mentioned module 14 of recalling, with the encryption key message of preserving on the cancellation server, make the recipient can't download this encryption key message, thereby can't check this encryption short message, certainly, the prerequisite of above-mentioned short message withdraw is: the recipient does not also download this encryption key message this moment.
Whether in addition, successfully recall in order to understand the short message that need recall, to take other remedial measures when recalling failing, above-mentioned portable terminal 10 can also comprise:
Receiver module is used to receive the notice whether short message that described server sends is successfully recalled.
The portable terminal 10 of foregoing description all is the transmit legs as short message, certainly, is understandable that it can be used as the recipient of short message equally, and as the recipient of short message the time, described portable terminal 10 also comprises:
Request module 16 is used for when checking the encryption short message that receives, and sends the download request of the encryption key message of downloading described encryption short message correspondence to described server.
Download module 17 is used for downloading described encryption key message when receiving the corresponding information of described download request.
Deciphering module 18 is used for according to the described encryption key message that downloads to described encryption short message being decrypted processing.
Display module 19 is used to show the short message after the deciphering, or shows the information of failed download.
Above-mentioned processing module 11 can adopt multiple encryption technology that the described short message that needs to send is carried out encryption.Preferably, adopt DRM (DigitalRights Management, the digital copyright management) technology of present extensive use that the short message that needs send is carried out encryption in the embodiment of the invention.
The basic principle of DRM technology is: digital contents is encrypted, and provide copyright information to the content mandate, described copyright information comprises encryption key and corresponding added limitations information, only obtains this copyright information and could check digital contents.
In the embodiment of the invention, processing module 11 can utilize the DRM technology that the short message that needs send is carried out encryption, generate and encrypt short message, and create the copyright information comprise encryption key, and send to server by the copyright information that first sending module 12 will be encrypted short message and described encryption short message correspondence; The recipient need check when encrypting short message, just must arrive and download this copyright information on the server, to be decrypted processing to encrypting short message; When needs are recalled described encryption short message, recall module 14 and generate the information of recalling the encryption short message, to cancel described copyright information according to the relevant information of this encryptions short message of memory module 13 storages; Therefore, if the recipient is before downloading described copyright information, described copyright information is cancelled, then can't watch this enciphered message, thereby reaches the purpose of recalling short message.
In addition; the method that the short message that above-mentioned employing DRM technology sends needs carries out encryption; except the purpose of the short message withdraw that can realize the embodiment of the invention; also have the following advantages: transmit leg can be by definition in the added limitations information of copyright information to the protection intensity of the short message of transmission; for example; can be provided with and only allow the recipient to browse this short message; can not transmit or operation such as editor; the valid expiration date of copyright information perhaps is set; after surpassing this valid expiration date, the recipient then can't check.
Described copyright information can be the file of XML (Extensible Markup Language, XML (extensible Markup Language)) or WBXML (Wap Binary XML, WAP (wireless application protocol) binary system XML (extensible Markup Language)) form.
The portable terminal that provides by the foregoing description, can be when needs be recalled the encryption short message, the encryption key message cancellation of this encryption short message correspondence on the server will be kept at, make the recipient can't download this encryption key message, thereby can't check this encryption short message, reach the purpose of short message withdraw.
Be illustrated in figure 2 as the structural representation of the server of the embodiment of the invention, described server 20 comprises:
Forwarding module 21 is used for receiving and sends and encrypts short message.
Preserve module 22, be used to preserve the encryption key message of the described encryption short message correspondence that receives.
First notification module 23 is used for when receiving the information of recalling the encryption short message generated query request.
Enquiry module 24 is used for according to described query requests, the encryption key message that inquiry is preserved.
Cancellation module 25 is used to cancel the described encryption key message that inquires.
Described cancellation module 25 can be by the described encryption key message of deletion, or is multiple mode such as invalid by the state that identifies described encryption key message, to cancel described encryption key message, makes the recipient to download.
Above-mentioned server 20 also comprises:
Second notification module 26 is used for when receiving the download request of downloading encryption key message the generated query request.
Sending module 27 is used for sending described encryption key message or not inquiring the information of described encryption key message to described recipient.
In the encryption key message side of being sent out cancellation or during the side of being received download, 20 of servers are with this encryption key message cancellation, in addition, because the finite capacity of server, therefore, if when not being required cancellation through this encryption key message after the scheduled time yet or being downloaded, server 20 equally also needs this encryption key message cancellation.
In addition, for whether the short message that can allow transmit leg understand need to recall is successfully recalled, to take other remedial measures when recalling failing, above-mentioned server 20 also comprises:
Whether notification module is used to notify described transmit leg short message successfully to recall.
The server that provides by the foregoing description, can when needs be recalled the encryption short message, this that preserve be encrypted encryption key message of short message correspondence and cancel, make the recipient can't download this encryption key message, thereby can't check this short message, reach the purpose of short message withdraw.
Be illustrated in figure 3 as a kind of system configuration schematic diagram that is used for short message withdraw of the embodiment of the invention, described system comprises: at least one portable terminal 10 and server 20, and portable terminal 10 is the registration terminal of server 20.
Portable terminal 10 is used for the short message that needs send is carried out encryption, generates and encrypts short message, and create the encryption key message of described encryption short message correspondence, and described encryption short message and described encryption key message are sent to server 20; And, the described information of encrypting short message of recalling is sent to described server 20 according to the information that the encryption short message is recalled in the relevant information generation of the encryption short message that has sent.
Server 20 is used to preserve the encryption key message of the described encryption short message correspondence that receives, and is receiving describedly when recalling the information of encrypting short message, cancels described encryption key message.
Described portable terminal 10 further comprises:
Processing module 11 is used for the short message that needs send is carried out encryption, generates and encrypts short message, and create the encryption key message of described encryption short message correspondence.
First sending module 12 is used for described encryption short message and described encryption key message are sent to server.
Memory module 13, the relevant information that is used to store the encryption short message that has sent.
The relevant information of the described encryption short message that has sent comprises: encrypt the ID of short message, the content of encrypting short message, recipient's telephone number or the transmitting time of encrypting short message.
Recall module 14, be used for generating the information of encrypting short message of recalling according to the relevant information of the described encryption short message that has sent.
Second sending module 15 is used for the described information of encrypting short message of recalling is sent to described server.
Described portable terminal 10 also comprises:
Request module 16 is used for when checking the encryption short message that receives, and sends the download request of the encryption key message of downloading described encryption short message correspondence to described server.
Download module 17 is used for downloading described encryption key message when receiving the corresponding information of described download request.
Deciphering module 18 is used for according to the described encryption key message that downloads to described encryption short message being decrypted processing.
Display module 19 is used to show the short message after the described deciphering, or shows the information of failed download.
Described server 20 further comprises:
Forwarding module 21 is used for receiving and sends and encrypts short message.
Preserve module 22, be used to preserve the encryption key message of the described encryption short message correspondence that receives.
First notification module 23 is used for when receiving the information of recalling the encryption short message generated query request.
Enquiry module 24 is used for according to described query requests, the encryption key message that inquiry is preserved.
Cancellation module 25 is used to cancel the described encryption key message that inquires.
Described cancellation module 25 can be by the described encryption key message of deletion, or is multiple mode such as invalid by the state that identifies described encryption key message, to cancel described encryption key message, makes the recipient to download.
Above-mentioned server 20 also comprises:
Second notification module 26 is used for when receiving the download request of downloading encryption key message the generated query request.
Sending module 27 is used for sending described encryption key message or not inquiring the information of described encryption key message to described recipient.
The system that provides by the foregoing description, can be when needs be recalled the encryption short message, the encryption key message cancellation of this encryption short message correspondence on the server will be kept at, make the recipient can't download this encryption key message, thereby can't check this short message, reach the purpose of short message withdraw.
Be illustrated in figure 4 as the method flow schematic diagram of a kind of short message withdraw of the embodiment of the invention, said method comprising the steps of:
Step 41, the short message that needs are sent carries out encryption, generates to encrypt short message, and creates the encryption key message of described encryption short message correspondence.
Step 42 sends to server with described encryption short message and described encryption key message.
Step 43, the relevant information of the encryption short message that storage has sent.
The relevant information of the described encryption short message that has sent comprises: encrypt the ID of short message, the content of encrypting short message, recipient's telephone number or the transmitting time of encrypting short message.
Step 44 is recalled the information of encrypting short message according to the relevant information generation of the described encryption short message that has sent.
Step 45 sends to described server with the described information of encrypting short message of recalling.
As mentioned above, can adopt the DRM technology that the described short message that needs to send is carried out encryption in the step 41, at this moment, the described encryption key message of establishment is the copyright information that comprises encryption key.
All be to realize that at an end of transmit leg in addition, as recipient's a end, said method is further comprising the steps of in the said method:
Step 51 when checking the encryption short message, sends the download request of the encryption key message of downloading described short message correspondence to described server.
Step 52 when receiving the response message of described download request, is downloaded described encryption key message described.
Step 53 is decrypted processing according to the encryption key message of described download to described encryption short message.
Step 54 shows the short message after the described deciphering, or shows the information of failed download.
The method that provides by the foregoing description, can be when needs be recalled the encryption short message, the encryption key message cancellation of this encryption short message correspondence on the server will be kept at, make the recipient can't download this encryption key message, thereby can't check this short message, reach the purpose of short message withdraw.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.