Summary of the invention
To the defective of above-mentioned prior art, the purpose of this invention is to provide the method and system that passes through SMS encryption transmission information that a kind of convenience is sent, cost is low, be easy to popularize.
For achieving the above object, the present invention adopts following technical scheme:
A kind of method of mobile phone sending information may further comprise the steps:
Send mobile phone and send enciphered message;
Receive the mobile phone receiving encryption key, access server;
Server is deciphered enciphered message, draws information expressly, through receiving handset displays.
The method of mobile phone sending information of the present invention, the enciphered message that wherein said transmission mobile phone sends is a note.
The method of mobile phone sending information of the present invention, the step that wherein said transmission mobile phone sends enciphered message comprises:
Carry out short message editing, protected raw information is wanted in input, sets a protection password string, the key character string of promptly encrypting;
Use the character string of the key of encrypting that original information content is encrypted; The ciphertext character string that formation upsets; The key character string of encrypting is handled; Form the password authentification character string, the ciphertext character string that will upset and password authentification character string merge the new short message content of formation, send to the reception mobile phone.
The method of mobile phone sending information of the present invention, wherein said server is deciphered enciphered message, draws original information expressly, comprises through the step that receives handset displays:
The recipient is through receiving mobile phone browser input password string, the key character string of promptly encrypting;
Server comparison checking character string; Mistake is then through receiving handset displays password mistake, and the correct then password string that uses input carries out decrypt operation as the key of deciphering to the ciphertext character string; Draw raw information expressly, through receiving the browser display of mobile phone.
SMS of the present invention is encrypted the method for transmission information; The character string of the key that wherein said use is encrypted is encrypted original information content and the step that the ciphertext character string is carried out decrypt operation is adopted the RC4 AES, and the said step that the key character string of encrypting is handled with said server comparison checking character string adopts the MD5 algorithm.
The method of mobile phone sending information of the present invention, wherein said ciphertext character string of upsetting and password authentification character string are merged into the URL address with fixing HTTP web path prefix.
A kind of transmission mobile phone that adopts the method for above-mentioned mobile phone sending information; Said transmission mobile phone comprises the encryption device that connects note input unit and cipher setting device respectively; The processing unit that connects said cipher setting device; The merging device that connects said encryption device and said processing unit connects the dispensing device of said merging device.
A kind of reception mobile phone that adopts the method for above-mentioned mobile phone sending information; Said reception mobile phone comprises receiving system, letter box arrangement, opening device and the cipher input that connects successively, and wherein said opening device is connected browser device respectively with said cipher input.
A kind of system of mobile phone sending information of the method that adopts above-mentioned mobile phone sending information comprises and sends mobile phone, server and reception mobile phone;
Said transmission mobile phone is used to send enciphered message, and said reception mobile phone is used for receiving encryption key, visits said server, and display message expressly;
Said server is used for enciphered message is deciphered, and draws information expressly.
The system of mobile phone sending information of the present invention; Wherein said transmission mobile phone comprises the encryption device that connects note input unit and cipher setting device respectively; The processing unit that connects said cipher setting device; The merging device that connects said encryption device and said processing unit connects the dispensing device of said merging device;
Said server comprises URL parametric solution analysis apparatus, judgment means and the decryption device that connects successively;
Said reception mobile phone comprises receiving system, letter box arrangement, opening device and the cipher input that connects successively; Wherein said opening device is connected browser device respectively with said cipher input; Said browser device connects said URL parametric solution analysis apparatus, said judgment means and said decryption device, and said dispensing device connects said receiving system.
Encrypt the method and system of transmission information through of the present invention through SMS, make recipient's mobile phone no longer restriction operation system, model also no longer to require mobile phone that any software must be installed, as long as the recipient has the mobile phone that can normally surf the Net; As long as the other side knows correct password, can solve raw information.Like this, use the important confidential information of transmission of mobile phone safety, really can popularize and come, and cost is lower.
Embodiment
Below in conjunction with accompanying drawing the execution mode that the present invention encrypts transmission information through SMS is elaborated.
Referring to Fig. 1, a kind of method through SMS encryption transmission information may further comprise the steps:
Step S1 carries out short message editing in the note input unit that sends mobile phone, protected raw information is wanted in input;
Step S2, cipher setting device prompting user set a protection password, and this password can be used as the key to information encryption, can be a character string or numeral etc., and for example 667788;
Step S3, encryption device use the character string of the key of encrypting that original information content is encrypted, and form the ciphertext character string of upsetting, and this encryption method adopts RC4 or other AESs;
Step S4, processing unit is handled the key character string of encrypting, and forms the password authentification character string, and processing method adopts MD5 or other individual event hashing algorithms;
Step S5 merges ciphertext character string and password authentification character string that device will be upset, merges with fixing HTTP web path prefix, forms a URL address: http://s.trustmobi.com/s/Efa0Fv62bs3+fjSLfs3WqvLvV-K==;
Step S6; Dispensing device is after user's input or selecting receiver's address; To merge device and form the URL address as short message content; For example short message content is: http://s.trustmobi.com/s/Efa0Fv62bs3+fjSLfs3WqvLvV-K==is sent in the receiving system that receives mobile phone;
Step S7; After receiving system receives the encryption note that short message content is the URL address; Should encrypt note and be sent in the letter box arrangement and store, the short messages stored content is in the letter box arrangement: http://s.trustmobi.com/s/Efa0Fv62bs3+fjSLfs3WqvLvV-K==;
Step S8, opening device open the HTTP chained address that comprises in the letter box arrangement, and get into and should link through browser device, are delivered to the content of encrypting note in the URL parametric solution analysis apparatus of server through URL;
Step S9, URL parametric solution analysis apparatus obtain ciphertext character string and the password authentification character string that comprises among this URL and resolve;
Step S10, browser device prompting user inputs password, and the user carries out the password input in cipher input, and for example password is 667788;
Step S11, judgment means is handled the password of user's input, and comparison password authentification character string, adopts MD5 or other corresponding individual event hashing algorithms to carry out the authentication password character string, and mistake is execution in step S12 then, otherwise execution in step S13;
Step S12, through browser device display password mistake, and execution in step S10;
Step S13 is correct through the browser device display password;
Step S14, decryption device use the key of the password of input as deciphering, and the ciphertext character string is carried out decrypt operation, and this manner of decryption adopts the corresponding algorithm of RC4 or other and AES to accomplish, and draws original information expressly;
Step S15, browser device show the information plaintext after the deciphering.
Referring to Fig. 2 and Fig. 3; A kind of system of encrypting transmission information through SMS; Comprise and sendmobile phone 1,server 2 and receive mobile phone 3 that transmissionmobile phone 1 is given through GSM or GPRS network transmission short message and received mobile phone 3, reception mobile phone 3 is through GSM or GPRSnetwork access server 2; Sendmobile phone 1 and comprise the encryption device 103 that connects note input unit 101 and cipher setting device 102 respectively; The processing unit 104 that connects cipher setting device 102; Connect the merging device 105 of encryption device 103 and processing unit 104, connect the dispensing device 106 that merges device 105;Server 2 comprises URL parametric solution analysis apparatus 201, judgment means 202 and decryption device 203; Receive mobile phone 3 and comprise receiving system 301, letter box arrangement 302, opening device 303 and the cipher input 305 that connects successively; Wherein opening device 303 is connected browser device 304 respectively with cipher input 305; Browser device 304 linking URL parametric solution analysis apparatus 201, judgment means 202 and decryption device 203, dispensing device 106 connects receiving systems 301.
In the note input unit 101 that sendsmobile phone 1, carry out short message editing, protected raw information is wanted in input, and editor's raw information is sent in the encryption device 103;
Cipher setting device 102 prompting users set a protection password, and this password can be used as the key to information encryption, can be a character string or numeral etc., and for example 667788, and password sent in encryption device 103 and the processing unit 104;
After encryption device 103 receives the raw information and password of note input unit 101 and cipher setting device 102 transmissions; Use the character string of the key of encrypting that original information content is encrypted; AES is RC4 algorithm or other AESs; The ciphertext character string that formation upsets, and the ciphertext character string that will upset is sent to merging device 105;
After processing unit 104 receives the password of cipher setting device 102; The key character string of encrypting is handled; Processing method adopts MD5 algorithm or other individual event hashing algorithms, forms the password authentification character string, and the password authentification character string is sent in the merging device 105;
Merge ciphertext character string of upsetting and password authentification character string that device 105 sends encryption device 103 and processing unit 104; Merge with fixing HTTP web path prefix; Form a URL address; And this URL sent in the dispensing device 106, this URL address can be http://s.trustmobi.com/s/Efa0Fv62bs3+fjSLfs3WqvLvV-K==;
Dispensing device 106 is after user's input or selecting receiver's address; With merging URL address that device 105 merges as short message content; Be sent in the receiving system 301 that receives mobile phone 3, for example short message content is: http://s.trustmobi.com/s/Efa0Fv62bs3+fjSLfs3WqvLvV-K==;
After receiving system 301 receives the encryption note that short message content is the URL address, should encrypt note and be sent to storage in the letter box arrangement 302;
Opening device 303 is opened the HTTP chained address that comprises in the letter box arrangement 302, and gets into and should link through browser device 304, is delivered to the content of encrypting note in the URL parametric solution analysis apparatus 201 of server through URL;
URL parametric solution analysis apparatus 201 obtains ciphertext character string and the password authentification character string that comprises among this URL and resolves;
Browser device 304 prompting users input password, and the user carries out the password input in cipher input 305, and for example password is 667788;
The password of 202 pairs of user's inputs of judgment means is handled; And comparison password authentification character string, adopt MD5 algorithm or other corresponding individual event hashing algorithms to carry out the authentication password character string, if the password mistake; Then make browser device 304 display password mistakes; If password is correct, then makes browser device 304 display passwords correct, and inform that decryption device 203 uses the key of the password of input as deciphering; The ciphertext character string is carried out decrypt operation, draw original information and expressly send to browser device 304;
Decryption device 202 uses the key of the password of input as deciphering, and the ciphertext character string is carried out decrypt operation, and this manner of decryption adopts the completion of RC4 algorithm or other and AES corresponding algorithm to accomplish, and draws original information expressly;
Browser device 304 shows the cleartext information after the deciphering.
Referring to Fig. 4 and Fig. 5, in use, the sender uses and sends the mobile phone editing short message, and protected raw information is wanted in input; And set a protection password, and this password can be used as the key to information encryption, can be a character string or numeral etc., and for example 667788; Send mobile phone and use the character string of the key of encrypting that original information content is encrypted, form the ciphertext character string of upsetting, the key character string of encrypting is handled; Form the password authentification character string, and the ciphertext character string that will upset and password authentification character string, merge with fixing HTTP web path prefix; Form a URL address, for example: http://s.trustmobi.com/s/Efa0Fv62bs3+fjSLfs3WqvLvV-K==, after sender's input is perhaps selected receiver's address; URL as short message content, is sent in the reception mobile phone, receives the user and from the mailbox that receives mobile phone, can read short message content; Open the HTTP link that comprises in the note, receive this link of browser entering that mobile phone carries, can be delivered to server through URL encrypting short message content; Ciphertext character string that server can obtain comprising and password authentification character string receive the user and input password, and for example password is 667788; The reception mobile phone is sent to server with password and handles, and if server comparison password authentification character string is the password mistake; Then receive handset displays password mistake, if password is correct, server is with the key of this password as deciphering; The ciphertext character string is carried out decrypt operation, draw original information expressly, thereby receive the cleartext information after the user can see deciphering.
Ciphertext character string and password authentification character string except upsetting among the present invention outside merging with fixing HTTP web path prefix, can also merge with agreement such as HTTPS and form new short message content and send to the reception mobile phone.
Encrypt the method and system of transmission information through of the present invention through SMS, make recipient's mobile phone no longer restriction operation system, model also no longer to require mobile phone that any software must be installed, as long as the recipient has the mobile phone that can normally surf the Net; As long as the other side knows correct password, can solve raw information.Like this, use the important confidential information of transmission of mobile phone safety, really can popularize and come, and cost is lower.
Above embodiment describes preferred implementation of the present invention; Be not that scope of the present invention is limited; Design under the prerequisite of spirit not breaking away from the present invention; Various distortion and improvement that the common engineers and technicians in this area make technical scheme of the present invention all should fall in the definite protection range of claims of the present invention.