Summary of the invention
A kind of method that main purpose of the present invention is transmitted for providing communicating terminal message encryption, improves the encryption performance of communicating terminal, offers convenience to user.
The present invention proposes the method for a kind of communicating terminal message encryption transmission, comprises step:
Communicating terminal receives user and inputs message, and selects to carry out static encryption or dynamic encryption according to user; Described message comprises system message and/or traffic messages;
When selecting to carry out dynamic encryption, send dynamic encryption request to server;
Server after receiving dynamic encryption request monthly dynamics password to communicating terminal and communication opposite end;
Communicating terminal judges whether communication opposite end installs corresponding software, and when there is installation communication opposite end, communicating terminal uses described dynamic password to be encrypted rear interpolation encryption identification to message, and is sent to communication opposite end.
Preferably, described communicating terminal also comprises after judging whether communication opposite end installs the step of corresponding software:
When communication opposite end is not installed, communicating terminal uses described dynamic password to be encrypted rear interpolation encryption identification to message, and uploads onto the server;
Transmit the address of the described encrypting messages of storage to communication opposite end.
Preferably, described transmission also comprises after storing the step of address to the communication opposite end of described encrypting messages:
Communication opposite end conducts interviews according to described address, and uses described dynamic password to decipher described message.
Preferably, after the step after described communicating terminal uses described dynamic password to be encrypted message, also comprise:
Select to compress message according to user, add compressing mark.
The present invention also proposes a kind of communicating terminal, comprising:
Message reception units, inputs message for receiving user, and selects to carry out static encryption or dynamic encryption according to user; Described message comprises system message and/or traffic messages;
Dynamic encryption request unit, for when dynamic encryption is carried out in selection, sends dynamic encryption request to server;
Message encryption unit, when installing corresponding software for having when communication opposite end, using described dynamic password to be encrypted rear interpolation encryption identification to message, and being sent to communication opposite end.
Preferably, described message encryption unit also for:
When communication opposite end is not installed, use described dynamic password to be encrypted rear interpolation encryption identification to message, and upload onto the server; And, transmit the address of the described encrypting messages of storage to communication opposite end.
Preferably, described communicating terminal also comprises:
Compression unit, for selecting to compress message according to user, adds compressing mark.
The present invention also proposes a kind of server, comprising:
Key Assignment Unit, for monthly dynamics password after receiving dynamic encryption request to communicating terminal and communication opposite end;
Message storage unit, for when corresponding software is not installed in communication opposite end, receives the message that communicating terminal uses described dynamic password to encrypt and the encryption identification added after encrypting, and the address of storage encryption message is back to communicating terminal.
Preferably, described server also comprises:
Access arbitration unit, for receiving the access that communication opposite end is carried out according to described address, and checks the dynamic password of communication opposite end.
The present invention also proposes the system of a kind of communicating terminal message encryption transmission, comprising: communicating terminal, server and communication opposite end;
Described communicating terminal receives user and inputs message, and selects to carry out static encryption or dynamic encryption according to user; Described message comprises system message and/or traffic messages; When selecting to carry out dynamic encryption, send dynamic encryption request to server;
Described server after receiving dynamic encryption request monthly dynamics password to communicating terminal and communication opposite end;
Described communicating terminal judges whether communication opposite end installs corresponding software, and when there is installation communication opposite end, described communicating terminal uses described dynamic password to be encrypted rear interpolation encryption identification to message, and is sent to communication opposite end.
The present invention can be applicable to merge in the system having system message and traffic messages, can carry out encryption and decryption respectively, make message communication safer, also offer convenience to user system message and traffic messages; When corresponding software is not installed in communication opposite end, the address that can send storage encryption message, to communication opposite end, is accessed according to dynamic password for communication opposite end, very convenient.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
With reference to Fig. 1, method one embodiment of a kind of communicating terminal message encryption transmission of the present invention is proposed.The method can comprise:
Step S10, communicating terminal receive user and input message, and select to carry out static encryption or dynamic encryption according to user; This message comprises system message and/or traffic messages;
Step S11, when selecting to carry out dynamic encryption, send dynamic encryption request to server;
Step S12, server after receiving dynamic encryption request monthly dynamics password to communicating terminal and communication opposite end;
Step S13, communicating terminal judge whether communication opposite end installs corresponding software, and when there is installation communication opposite end, communicating terminal uses described dynamic password to be encrypted rear interpolation encryption identification to message, and is sent to communication opposite end.
The method of the communicating terminal message encryption transmission in the present embodiment, can be applicable to merge in the system having system message and traffic messages, can carry out encryption and decryption respectively, make message communication safer, also offer convenience to user system message and traffic messages.This system message is a kind of basic service of communication system, is mainly used in transmitting the content such as text or image between communicating terminal.This traffic messages carrys out transferring content based on data cube computation (as GPRS, HSPA, CDMA or WiFi etc.), uses TCP/IP or UDP/IP host-host protocol, can between the terminals or intercommunication between terminal and PC; Transferring content comprises character and file (voice document, picture file or video file etc.) etc.This corresponding software can be the software of the method for the above-mentioned communicating terminal message encryption transmission of application.(with reference to Fig. 2)
With reference to Fig. 3, in another embodiment of the invention, after above-mentioned steps S12, also comprise:
Step S14, when communication opposite end is not installed, communicating terminal uses described dynamic password to be encrypted rear interpolation encryption identification to message, and uploads onto the server;
Step S15, transmission store the address of described encrypting messages to communication opposite end;
Step S16, communication opposite end conduct interviews according to described address, and use described dynamic password to decipher described message.
Communicating terminal receives user's input or edits content to be sent, encrypts message to be sent, and automatically determines send mode according to communication to client information (such as whether opposite end installs corresponding software); If corresponding software is equipped with in communication opposite end, directly transmission encrypting messages and encryption identification are to reception communication opposite end; If corresponding software is not installed in communication opposite end, communicating terminal is first uploaded onto the server encrypting messages and is obtained encrypting messages URL (UniformResourceLocator, URL(uniform resource locator)) address, then encrypting messages URL address is sent to communication opposite end.
The communication opposite end that corresponding software is housed receives the encrypting messages with encryption identification, is decrypted and shows bright information.
The communication opposite end of being unkitted corresponding software receives the message with URL address, communication opposite end is by general browser access encrypting messages, browser display encrypting messages and deciphering button or link, user presses deciphering button or link and inputs proper password and can see bright information.
After step after communicating terminal uses described dynamic password to be encrypted message in above-mentioned steps S13 and/or step S14, also comprise: select to compress message according to user, add compressing mark.
Usually message-length can be made to become large to the encryption of message, the compression transmission of message, contributes to the bandwidth pressure alleviating communicating terminal.
Communicating terminal receives user and inputs message, and receives the editor of user to message.If the communication of user's Choice encryption, is namely encrypted by static password or dynamic password.This static password, namely inputs Crypted password by user, then informs the other side.This dynamic password, namely by the automatic generating cipher of server, is then pushed to communicating terminal and communication opposite end.Message content is encrypted, various cryptographic algorithm can be used, such as aes algorithm etc.This static password generation method: communication terminal user input code characters (1 to some positions), the password of input converts encryption key to.This dynamic cipher generating method: communicating terminal is to server request password, and server is pushed to communicating terminal and communication opposite end password simultaneously, and communicating terminal converts encryption key to the password received.
When communicating terminal receives user's choice for use dynamic password to message encryption, dynamic encryption request can be sent to server; Communication is at least comprised to client information in this dynamic encryption request.This server can monthly dynamics password to communicating terminal and communication opposite end.Whether communicating terminal automatic decision communication opposite end installs corresponding software, in this way, communicating terminal can direct transmission system message or traffic messages and additional encryption identification to communication opposite end; As no, communicating terminal uploads to specific server (can be above-mentioned server, also can be other server) encrypting messages, and server returns to URL address to communicating terminal, and communicating terminal then can be sent to communication opposite end URL address.Communicating terminal all can compress message before the message is transmitted, before being such as directly sent to communication opposite end or upload server.
Above-mentioned communicating terminal also can use spcial character or character group as encryption and compressing mark, any position (beginning, centre or ending etc.) of message content can be there is, or use the Message Header Extensions in 3GPP (The3rdGenerationPartnershipProject) short message service.This encryption and compressing mark can merge use, also can be used alone.
The content of this encryption identification can comprise mark and the cryptographic algorithm of encryption; Also alternative with encryption and decryption password (key of encryption and decryption can be obtained by this password and certain transfer algorithm).The content of this compressing mark comprises: compression mark and algorithm etc.
Be provided with the communicating terminal of corresponding software all to specific server registration, the Subscriber Number in the record of automatic upload communication is to server, and the unregistered or registered message of server push user is to communicating terminal.Whether this communicating terminal can be registered according to communication opposite end judges whether communication opposite end is provided with corresponding software, and result is saved in the opposite end information table of communicating terminal, whether installs corresponding software provide foundation for automatic decision communication opposite end.
Opposite end information table
The communication opposite end of corresponding software is installed, after receiving system message or traffic messages, by whether comprising encryption identification in corresponding software detect-message and/or compressing mark judges whether message encrypts and/or compress.If any, then decipher accordingly and/or decompress(ion), then show bright information.
The communication opposite end of corresponding software is not installed, the enciphered message of server is stored in by browser access, browser display encrypting messages and deciphering button or link, user can press deciphering button or link input password, bright information can be seen, if code error can return miscue information after being verified by server.
With reference to Fig. 4, a kind of communicating terminal one embodiment of the present invention is proposed.This communicating terminal 20 can comprise: message reception units 21, dynamic encryption request unit 22 and message encryption unit 23; This message reception units 21, inputs message for receiving user, and selects to carry out static encryption or dynamic encryption according to user; This message comprises system message and/or traffic messages; This dynamic encryption request unit 22, for when dynamic encryption is carried out in selection, sends dynamic encryption request to server; This message encryption unit 23, when installing corresponding software for having when communication opposite end, using dynamic password to be encrypted rear interpolation encryption identification to message, and being sent to communication opposite end.
Above-mentioned message encryption unit 23 also for: when communication opposite end is not installed, use above-mentioned dynamic password to be encrypted rear interpolation encryption identification to message, and upload onto the server; And, transmit the address of storage encryption message to communication opposite end.
Communicating terminal 20 receives user's input or edits content to be sent, encrypts message to be sent, and automatically determines send mode according to communication to client information (such as whether opposite end installs corresponding software); If corresponding software is equipped with in communication opposite end, directly transmission encrypting messages and encryption identification are to reception communication opposite end; If corresponding software is not installed in communication opposite end, communicating terminal 20 is first uploaded onto the server encrypting messages and is obtained encrypting messages URL address, then encrypting messages URL address is sent to communication opposite end.
The communication opposite end that corresponding software is housed receives the encrypting messages with encryption identification, is decrypted and shows bright information.
The communication opposite end of being unkitted corresponding software receives the message with URL address, communication opposite end is by general browser access encrypting messages, browser display encrypting messages and deciphering button or link, user presses deciphering button or link and inputs proper password and can see bright information.
With reference to Fig. 5, in an alternative embodiment of the invention, above-mentioned communicating terminal 20 also comprises: compression unit 24, for selecting to compress message according to user, adds compressing mark.Usually message-length can be made to become large to the encryption of message, the compression transmission of message, contributes to the bandwidth pressure alleviating communicating terminal 20.
With reference to Fig. 6, a kind of server one embodiment of the present invention is proposed.This server 30 can comprise: Key Assignment Unit 31 and message storage unit 32; This Key Assignment Unit 31, for monthly dynamics password after receiving dynamic encryption request to communicating terminal 20 and communication opposite end; This message storage unit 32, for when there is installation communication opposite end, receives the message that communicating terminal 20 uses dynamic password to encrypt and the encryption identification added after encrypting, and the address of storage encryption message is back to communicating terminal 20.
With reference to Fig. 7, in an alternative embodiment of the invention, above-mentioned server 30 also comprises: access arbitration unit 33, for receiving the access that communication opposite end is carried out according to described address, and checks the dynamic password of communication opposite end.The communication opposite end of corresponding software is not installed, the enciphered message of server 30 is stored in by browser access, browser display encrypting messages and deciphering button or link, user can press deciphering button or link input password, bright information can be seen, if code error can return miscue information after being verified by server 30.
With reference to Fig. 8, system one embodiment of a kind of communicating terminal 20 of the present invention message encryption transmission is proposed.This system can comprise: communicating terminal 20, server 30 and communication opposite end 40; This communicating terminal 20 receives user and inputs message, and selects to carry out static encryption or dynamic encryption according to user; This message comprises system message and/or traffic messages; When selecting to carry out dynamic encryption, send dynamic encryption request to server 30; This server 30 after receiving dynamic encryption request monthly dynamics password to communicating terminal 20 and communication opposite end 40; This communicating terminal 20 judges whether communication opposite end 40 installs corresponding software, and when there is installation communication opposite end 40, this communicating terminal 20 uses described dynamic password to be encrypted rear interpolation encryption identification to message, and is sent to communication opposite end 40.
Above-mentioned communicating terminal 20 can communicating terminal 20 as described in above-described embodiment; The server of above-mentioned server 30 as described in above-described embodiment; Above-mentioned communication opposite end 40 can communication opposite end 40 as described in above-described embodiment.
Communicating terminal 20 receives user and inputs message, and receives the editor of user to message.If the communication of user's Choice encryption, is namely encrypted by static password or dynamic password.This static password, namely inputs Crypted password by user, then informs the other side.This dynamic password, namely by server 30 generating cipher automatically, is then pushed to communicating terminal 20 and communication opposite end 40.Message content is encrypted, various cryptographic algorithm can be used, such as aes algorithm etc.This static password generation method: communicating terminal 20 user inputs code characters (1 to some positions), and the password of input converts encryption key to.This dynamic cipher generating method: communicating terminal 20 asks password to server 30, server 30 is pushed to communicating terminal 20 and communication opposite end 40 password simultaneously, and communicating terminal 20 converts encryption key to the password received.
When communicating terminal 20 receives user's choice for use dynamic password to message encryption, dynamic encryption request can be sent to server 30; Communication opposite end 40 information is at least comprised in this dynamic encryption request.This server 30 can monthly dynamics password to communicating terminal 20 and communication opposite end 40.Whether communicating terminal automatic decision communication opposite end installs corresponding software, in this way, notification communication terminal 20, make communicating terminal 20 can direct transmission system message or traffic messages and additional encryption identification to communication opposite end 40; As no, it (can be above-mentioned server 30 that notification communication terminal 20 uploads to specific server encrypting messages, also can be other server), server 30 returns to URL address to communicating terminal 20, and communicating terminal 20 can be sent to communication opposite end 40 URL address.Communicating terminal 20 all can compress message before the message is transmitted, before being such as directly sent to communication opposite end 40 or upload server 30.
Above-mentioned communicating terminal 20 also can use spcial character or character group as encryption and compressing mark, can there is any position (beginning, centre or ending etc.) of message content, or use the Message Header Extensions in 3GPP short message service.This encryption and compressing mark can merge use, also can be used alone.
The content of this encryption identification can comprise mark and the cryptographic algorithm of encryption; Also alternative with encryption and decryption password (key of encryption and decryption can be obtained by this password and certain transfer algorithm).The content of this compressing mark comprises: compression mark and algorithm etc.
The communicating terminal 20 being provided with corresponding software is all registered to specific server 30, and automatic upload communication opposite end 40 Subscriber Number is to server 30, and server 30 pushes the unregistered or registered message of user to communicating terminal 20.Whether this communicating terminal 20 can be registered according to communication opposite end 40 judges whether communication opposite end 40 is provided with corresponding software, and result is saved in opposite end information table, whether installs corresponding software provide foundation for automatic decision communication opposite end.
The communication opposite end 40 of corresponding software is installed, after receiving system message or traffic messages, by whether comprising encryption identification in corresponding software detect-message and/or compressing mark judges whether message encrypts and/or compress.If any, then decipher accordingly and/or decompress(ion), then show bright information.
The communication opposite end 40 of corresponding software is not installed, the enciphered message of server 30 is stored in by browser access, browser display encrypting messages and deciphering button or link, user can press deciphering button or link input password, bright information can be seen, if code error can return miscue information after being verified by server 30.
The foregoing is only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every utilize specification of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.