CN104023332A - Electronic terminal and short message encrypting and decrypting method thereof - Google Patents

Electronic terminal and short message encrypting and decrypting method thereof Download PDF

Info

Publication number
CN104023332A
CN104023332A CN201410290219.XA CN201410290219A CN104023332A CN 104023332 A CN104023332 A CN 104023332A CN 201410290219 A CN201410290219 A CN 201410290219A CN 104023332 A CN104023332 A CN 104023332A
Authority
CN
China
Prior art keywords
information
algorithm
picture
bit pattern
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410290219.XA
Other languages
Chinese (zh)
Other versions
CN104023332B (en
Inventor
刘安琪
刘雄伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shaanxi Qinyuan Chunyonghe Information Technology Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410290219.XA priority Critical patent/CN104023332B/en
Publication of CN104023332A publication Critical patent/CN104023332A/en
Application granted granted Critical
Publication of CN104023332B publication Critical patent/CN104023332B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to an electronic terminal and a short message encrypting and decrypting method thereof, and is applied to a network system comprising a transmitting terminal and a receiving terminal. The short message encrypting method comprises the following steps: converting inputted text information to bitmap information, generating an embedded secrete key by utilizing equipment information or preset protocol information of the receiving terminal, embedding the bitmap information into a preset or randomly-selected picture according to a watermark embedding algorithm, and receiving the picture with the bitmap information through the receiving terminal. The short message decrypting method comprises the following steps: generating an extracting secrete key according to the equipment information or preset protocol information of the receiving terminal, extracting the bitmap information from the picture by utilizing a watermark extracting algorithm, and converting the bitmap information into corresponding text information to be displayed. The electronic terminal and the short message encrypting and decrypting method are high in security, when the information is intercepted by a third party or the electronic terminal is lost, the security of the information can be guaranteed.

Description

A kind of electric terminal and SMS encryption thereof, decryption method
Technical field
The present invention relates to safe information transmission field, particularly relate to a kind of method of electric terminal and SMS encryption deciphering thereof.
Background technology
Note is as the basic function of mobile phone, and the short message that the whole world is sent to mobile phone every day has reached 1,000,000,000 left and right, and the stage in sustainable growth.Along with extensive use and the user of note in business procedure more and more pays close attention to privacy, the safety problem of note will be taken seriously day by day.Many cell phone manufacturers are at head it off, and as note password read or hiding SMS are set for mobile phone, but these methods are cured the symptoms, not the disease.Because the note on mobile phone all sends by text plain mode at present, this divulges a secret very risky concerning having the note of security information, because the signal of mobile phone is all aerial transmission, by technological means, can intercept and capture, as collected any note of this number by copying the mode of SIM card in the situation that copy card is online.This is to having produced great threat by mobile phone transmitter confidential information.
Preferably method is the content-encrypt that mobile phone is sent, though like this note in communication process by illicit interception, be not yet afraid of and divulge a secret.The method of the Chinese patent application < < short message encryption that for example application number is 201210336289.5 and device > > are by Encrypted short message and encryption key are together sent to target electronic terminal, by adopting the mode of double-encryption, guarantee the safety of short message in transmitting procedure, shortcoming is, Encrypted short message and encryption key may be intercepted and captured simultaneously, and when the situations such as electric terminal loss occur, third party still can obtain the information being stored in electric terminal.
Therefore, how to provide a kind of note transmission technology with fail safe and simple operation, be always practitioner in the art and particularly pay close attention to also problem demanding prompt solution.
Summary of the invention
The shortcoming of prior art, the object of the present invention is to provide a kind of electric terminal and SMS encryption thereof, decryption method in view of the above, for the safety of guarantee information.
For achieving the above object and other relevant objects, the invention provides a kind of electric terminal, comprising: information editing's module, generates text message according to the edit instruction of input; Texts and pictures conversion module, is converted into the text message of extraction message bit pattern or described message bit pattern is converted into described text message; Key algorithm module, according to the targeted customer's that detects facility information or extract default protocol information and generate embedded key or extract key; Embedding/extraction module, embeds algorithm according to described embedded key generating watermark, and described message bit pattern is embedded in a picture according to described watermarking algorithm; Or according to described extraction key generating watermark extraction algorithm, according to described watermark extracting algorithm, extract the message bit pattern embedding in described picture; Sending/receiving module, states the picture of message bit pattern to some extent for sending or receive embedding; Information display module, shows the text message that generates text message and the conversion of described texts and pictures conversion module according to the edit instruction of input.
Preferably, the described targeted customer's that described key algorithm module detects facility information is SIM card information; The finger print information that described default protocol information is targeted customer, voice messaging or default character string, described SIM card information can automatic acquisition, described finger print information, described voice messaging or default character string need the user of receiving encryption key manually to input, in the time of can guaranteeing that the situation of losing at mobile terminal occurs, third party can not obtain the information being stored in mobile terminal.
Preferably, the capacity of described picture is greater than the capacity of described message bit pattern; Described picture is what preset or choose at random.
Preferably, described watermarking algorithm and/or described watermark extracting algorithm that described embedding/extraction module generates are least significant bit algorithm.
The present invention also provides a kind of SMS encryption method, is applied to include in the network system of transmitting terminal and receiving terminal, and described SMS encryption method comprises: the edit instruction according to input generates text message and shown; Extract described text message and described text message is converted into message bit pattern; According to the facility information of described receiving terminal or default protocol information, generate embedded key; According to described embedded key generating watermark, embed algorithm, described message bit pattern is embedded in a picture according to described watermarking algorithm; Transmission embedding is stated the picture of message bit pattern to some extent to described receiving terminal.
Preferably, described watermarking algorithm is least significant bit algorithm.
Preferably, the information of described receiving terminal is SIM card information, finger print information or voice messaging that described default protocol information is targeted customer.
Preferably, the capacity of described picture is greater than the capacity of described message bit pattern; Described picture is what preset or choose at random.
The present invention provides a kind of note decryption method again, is applied to include in the network system of transmitting terminal and receiving terminal, and described note decryption method comprises: receive and embed the picture that has message bit pattern; Facility information or default protocol information according to described receiving terminal generate extraction key; According to described extraction key generating watermark extraction algorithm, according to described watermark extracting algorithm, extract the message bit pattern embedding in described picture; Described message bit pattern is converted into described text message and is shown.
Preferably, described watermark extracting algorithm is least significant bit algorithm.
Preferably, the information of described receiving terminal is SIM card information, finger print information or voice messaging that described default protocol information is targeted customer.
Preferably, the capacity of described picture is greater than the capacity of described message bit pattern; Described picture is what preset or choose at random.
As mentioned above, the method for a kind of electric terminal that the present invention proposes and SMS encryption thereof, deciphering, has following beneficial effect:
Utilize the watermarking inset and distill algorithm of least significant bit, the text message of transmission is converted in message bit pattern embedding picture and is sent, the fail safe of guarantee information;
Utilize targeted customer's facility information that note is encrypted and is deciphered, in the time of can guaranteeing to be kidnapped by third party in note transmitting procedure, safety that still can guarantee information;
Utilize default protocol information that note is encrypted and is deciphered, not only can guarantee the fail safe in note transmitting procedure, can also prevent that the information that mobile phone is stored in while losing in equipment from exposing.
Accompanying drawing explanation
Fig. 1 is shown as electric terminal of the present invention module diagram in a preferred embodiment.
The SMS encryption method that Fig. 2 is shown as electric terminal of the present invention schematic flow sheet in a preferred embodiment.
The note decryption method that Fig. 3 is shown as electric terminal of the present invention schematic flow sheet in a preferred embodiment.
Fig. 4 is shown as the system configuration schematic diagram of application a kind of electric terminal of the present invention and SMS encryption decryption method thereof.
Element numbers explanation
1 electric terminal
11 information editing's modules
12 texts and pictures conversion modules
13 key algorithm modules
14 embeddings/extraction module
15 sending/receiving modules
16 information display module
S11~S15 step
S21~S24 step
A sends smart mobile phone
B receives smart mobile phone
Embodiment
Below, by specific instantiation explanation embodiments of the present invention, those skilled in the art can understand other advantages of the present invention and effect easily by the disclosed content of this specification.The present invention can also be implemented or be applied by other different embodiment, and the every details in this specification also can be based on different viewpoints and application, carries out various modifications or change not deviating under spirit of the present invention.It should be noted that, in the situation that not conflicting, the feature in following examples and embodiment can combine mutually.
It should be noted that, the diagram providing in following examples only illustrates basic conception of the present invention in a schematic way, satisfy and only show with assembly relevant in the present invention in graphic but not component count, shape and size drafting while implementing according to reality, during its actual enforcement, kenel, quantity and the ratio of each assembly can be a kind of random change, and its assembly layout kenel also may be more complicated.
The present invention proposes a kind of electric terminal, in actual embodiment, described electric terminal 1 is the electronic installation that smart mobile phone, panel computer, notebook computer and MP3 etc. have information storage, transmission, function of exchange, the hardware that described electronic installation comprises comprises CPU (central processing unit), memory (being for example FLASH memory), microphone, loud speaker, display screen (being for example touch-sensitive display screen), player, voicefrequency circuit, communication module, system bus and input/output port etc.
In the present embodiment, the described electric terminal 1 of take describes as smart mobile phone as example, refer to Fig. 1, be shown as a kind of electric terminal of the present invention module diagram in a preferred embodiment, as shown in Figure 1, describedly comprise information editing's module 11, texts and pictures conversion module 12, key algorithm module 13, embedding/extraction module 14, sending/receiving module 15 and information display module 16 for the electric terminal 1 of smart mobile phone.
Described information editing's module 11 generates text message according to the edit instruction of input; In the present embodiment, described information editing's module 11 is such as for comprising mechanical keyboard or dummy keyboard, for the display screen, sensing circuit at user's input/output interface interface etc. are provided, information editing's module 11 of the described electric terminal 1 for smart mobile phone detects user while transferring short message editing program, for user provides inputting interface, and when the editor who user detected inputs, on the window interface according to the information of exporting on display screen, show the text message of input.
Described texts and pictures conversion module 12 is converted into the text message of extraction message bit pattern or described message bit pattern is converted into described text message; In the present embodiment, described texts and pictures conversion module 12 detects after text message input, according to user's operation, extract described text message, such as when the actual implementation process, user inputs after a complete text message, whether the described electric terminal 1 for smart mobile phone can prompting user be encrypted transmission by text information, when the encryption transmission instruction of user's input being detected, this paper information of 12 pairs of liquid crystal display screen displays of described texts and pictures conversion module is carried out sectional drawing, and described text message is converted into message bit pattern.
Or, in the present embodiment, described texts and pictures conversion module 12 detects described while receiving for the electric terminal 1 of smart mobile phone the picture that includes message bit pattern, according to user's operation, extract the message bit pattern in described picture, such as in actual implementation process, after user receives that note receives prompting, whether the described electric terminal 1 for smart mobile phone can prompting user read this note, when the instruction of user's reading being detected, described texts and pictures conversion module 12 extracts this message bit pattern, and described message bit pattern is converted into text message.
Described key algorithm module 13 is according to the targeted customer's who detects facility information or extract default protocol information and generate embedded key or extract key; In the present embodiment, described key algorithm module 13 detects after user's encrypted instruction, extract targeted customer's facility information or extract default protocol information, described targeted customer's facility information is for example SIM card information, described default protocol information is finger print information or voice messaging for example, and described voice messaging is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese; And according to the Information generation embedded key extracting;
Or, in the present embodiment, when described key algorithm module 13 detects user's decryption instructions, extraction equipment information or input default protocol information, described targeted customer's facility information is for example SIM card information, described default protocol information is finger print information or voice messaging for example, and described voice example information is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese; And extract key according to the Information generation extracting;
Described embedding/extraction module 14 embeds algorithm according to described embedded key generating watermark, and described message bit pattern is embedded in a picture according to described watermarking algorithm; In the present embodiment, when the encrypted instruction of described embedding/extraction module 14 according to user's input, receive the described described message bit pattern coming from 12 transmission of texts and pictures conversion module, and according to the described embedded key detecting, generating watermark embeds algorithm, according to the prompting of the described electric terminal 1 for smart mobile phone, from mobile phone, choose at random a pictures or choose a default picture, for example from " the self-defined photograph album " of the electric terminal 1 for smart mobile phone, choose, described message bit pattern is embedded in picture according to the watermarking algorithm of least significant bit; The capacity of preferred described picture, much larger than the capacity of described message bit pattern, while making described message bit pattern embed in picture, can not be differentiated by naked eyes;
Or described embedding/extraction module 14, according to described extraction key generating watermark extraction algorithm, puts forward described message bit pattern from described picture; In the present embodiment, described embedding/extraction module 14 is according to the decryption instructions of user's input, the picture that reception transmits from sending/receiving module 15, and according to the described extraction key generating watermark extraction algorithm detecting, described message bit pattern is extracted from a picture according to described watermark extracting algorithm;
Described least significant bit algorithm is LSB (Least Significant Bits) algorithm: secret information is embedded into the least significant bit of carrier image pixel value, also claims least significantly position, change this position minimum on the quality impact of carrier image.
The basic principle of LSB algorithm: the LSB to spatial domain replaces, the sequence that is used for replacing LSB is exactly the watermark information that need to add, the digital digest of watermark or the pseudo random sequence being generated by watermark.The position embedding due to watermark information is LSB, and in order to meet the invisibility of watermark, the watermark strength that permission embeds can not be too high.Yet for the various processing in spatial domain, as the preliminary treatment before Run-Length Coding, can carry out certain compression to not remarkable component, so LSB algorithm is very sensitive to these operations.Therefore LSB algorithm is at first for fragile watermarking.
LSB algorithm basic step comprises:
1, the decimal system pixel value that is concealed with secret information obtaining is converted to binary data;
2, with each bit information in binary system secret information, replace the least significant bit of the carrier data of answering in contrast;
3, the binary data containing secret information obtaining is converted to decimal system pixel value, thereby obtains the image containing secret information.
Described sending/receiving module 15 is stated the picture of message bit pattern to some extent for sending or receive embedding; In the present embodiment, described sending/receiving module 15 is when the embedding transmitting from described embedding/extraction module 14 being detected and state to some extent the picture of message bit pattern, whether prompting user sends picture, and according to the transmission instruction of user's operation, the picture that carries message bit pattern is sent to targeted customer.
Or in the present embodiment, when electric terminal 1 prompting for smart mobile phone has the pictorial information of encryption to send, whether prompting user receives this information, when the pictorial information of this encryption of selective reception, described sending/receiving module 15 receives these enciphered messages.
Described information display module 16 shows according to the text message of the edit instruction generation of input and the text message that described texts and pictures conversion module transforms, in the present embodiment, described information display module 16 for example only has the LCDs of Presentation Function or the liquid crystal display touch screen that existing demonstration also has touch controllable function.
Refer to Fig. 4, be shown as the system configuration schematic diagram of application a kind of electric terminal of the present invention and SMS encryption decryption method thereof, comprise transmitting terminal and receiving terminal, in this specific embodiment, the short message of take between smart mobile phone is temporarily example alternately, described transmitting terminal and described receiving terminal are respectively and send smart mobile phone A and receive smart mobile phone B, described smart mobile phone is for example for installing Android operating system or iOS operating system, or Palm OS, Symbian (Saipan), or Black Berry (blackberry, blueberry) OS6.0, the smart mobile phone of the operating systems such as Windows Phone8.
Described transmission smart mobile phone A and described reception smart mobile phone B include information editing's module 11, texts and pictures conversion module 12, key algorithm module 13, embedding/extraction module 14, sending/receiving module 15 and information display module 16 as shown in Figure 1.In concrete enforcement, the information display module 16 of described transmission smart mobile phone A and reception smart mobile phone B, for example for to only have the LCDs of Presentation Function or the liquid crystal display touch screen that existing demonstration also has touch controllable function, be take liquid crystal display touch screen temporarily as example in the present embodiment.Described information editing's module 11 is such as for comprising mechanical keyboard or dummy keyboard, for the display screen, sensing circuit at user's input/output interface interface etc. are provided, information editing's module 11 of described transmission smart mobile phone A detects user while transferring short message editing program, for user provides inputting interface, and when the editor who user detected inputs, according to the information of output, on liquid crystal display touch screen, show the text message of input.
When user inputs a complete text message, for example described text message is " how do you do? " described transmission smart mobile phone A can point out user by text information " how do you do? " encrypted transmission, when the encryption transmission instruction of user's input being detected, 12 pairs of liquid crystal display screen displays of described texts and pictures conversion module this paper information " how do you do? " carry out sectional drawing, described text message is converted into message bit pattern.Described key algorithm module 13 detects after user's encrypted instruction, extract and receive the facility information of smart mobile phone B or extract default protocol information, the facility information of described smart mobile phone B is for example SIM card information, described default protocol information is finger print information or voice messaging for example, and described voice example information is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese; In the present embodiment, extract the SIM card information of described smart mobile phone B, and according to the Information generation embedded key extracting; Described embedding/extraction module 14 is according to the encrypted instruction of user's input, and according to the embedded key detecting, generating watermark embeds algorithm, according to the prompting of the electric terminal 1 of described smart mobile phone, from mobile phone, choose at random a pictures or choose a default picture, described message bit pattern is embedded in picture according to the watermarking algorithm of least significant bit; The capacity of described picture, much larger than the capacity of described message bit pattern, while making described message bit pattern embed in picture, can not be differentiated by naked eyes; The described sending/receiving module 15 of described transmission smart mobile phone A sends instruction according to user's encryption, the picture of message bit pattern is stated in the embedding that reception sends over from described embedding/extraction module 14 to some extent, now on touching display screen, point out user whether to send this message, when the instruction that user confirms to send being detected, will embed the picture of stating to some extent message bit pattern and send to the described sending/receiving module 15 of described reception smart mobile phone B;
Described reception smart mobile phone B prompting user receives an enciphered message, and point out user whether to receive this enciphered message, user being detected inputs after reception instruction, the sending/receiving module 15 of described reception smart mobile phone B receives and embeds the picture of stating to some extent message bit pattern, when user wants to check the content of text of described encrypted information, according to the prompting on liquid crystal display touch screen, the picture that selection is stated message bit pattern to some extent to described embedding is decrypted, the described key algorithm module 13 of described reception smart mobile phone B is according to decryption instructions, the SIM card Information generation that detects described reception smart mobile phone B extracts key, described embedding/extraction module 14 of described reception smart mobile phone B detects after decryption instructions, according to described extraction key, generate the watermark extracting algorithm of least significant bit, according to described watermark extracting algorithm, extract the message bit pattern embedding in described picture, the described texts and pictures conversion module 12 of described reception smart mobile phone B is according to decryption instructions, by the described message bit pattern transmitting from described embedding/extraction module 14 be converted into described text message " how do you do? ", and show on the liquid crystal display touch screen of described reception smart mobile phone B.
The invention allows for a kind of SMS encryption method, be applied to include in the network system of transmitting terminal and receiving terminal, in the present embodiment, described transmitting terminal and described receiving terminal are for example smart mobile phone, panel computer, notebook computer and MP3 etc. have information storage, transmission, the electronic installation of function of exchange, the hardware that described electronic installation comprises comprises CPU (central processing unit), memory (being for example FLASH memory), microphone, loud speaker, display screen (being for example touch-sensitive display screen), player, voicefrequency circuit, communication module, system bus and input/output port etc.Refer to Fig. 2, the SMS encryption method that is shown as a kind of electric terminal of the present invention schematic flow sheet in a preferred embodiment, described SMS encryption method S1 comprises:
S11: described transmitting terminal generates text message and shown according to the edit instruction of input, and in the present embodiment, described text message is for example txt form;
S12: described transmitting terminal is extracted described text message and described text message is converted into message bit pattern;
S13: described transmitting terminal generates embedded key according to the facility information of described receiving terminal or default protocol information; In the present embodiment, the facility information of preferred described receiving terminal is the SIM card information of automatic acquisition, described default protocol information is finger print information or the voice messaging that needs receiving terminal user input, and described voice example information is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese.
S14: described transmitting terminal embeds algorithm according to described embedded key generating watermark, is embedded into described message bit pattern in one picture according to described watermarking algorithm; Preferably, described watermarking algorithm adopts least significant bit algorithm; Preferably, described picture is to choose immediately or preset; Described picture capacity is much larger than described message bit pattern, and while making described message bit pattern embed in picture, naked eyes can not be told the described message bit pattern embedding in described picture.
S15: the picture that message bit pattern is stated in described transmitting terminal transmission embedding is to some extent to described receiving terminal.
Referring again to Fig. 4, be shown as the system configuration schematic diagram of application a kind of electric terminal of the present invention and SMS encryption decryption method thereof, comprise transmitting terminal and receiving terminal, in this specific embodiment, the short message of take between smart mobile phone is temporarily example alternately, described transmitting terminal and described receiving terminal are respectively and send smart mobile phone A and receive smart mobile phone B, described smart mobile phone is for example for installing Android operating system or iOS operating system, or Palm OS, Symbian (Saipan), or Black Berry (blackberry, blueberry) OS6.0, the smart mobile phone of the operating systems such as Windows Phone8.The hardware that described transmission smart mobile phone A and reception smart mobile phone B comprise comprises CPU (central processing unit), memory (being for example FLASH memory), microphone, loud speaker, display screen (being for example touch-sensitive display screen), player, voicefrequency circuit, communication module, system bus and input/output port etc.
When described transmission smart mobile phone A detects user and transfers short message editing program, for user provides inputting interface, and when the editor who user detected inputs, according to the information of output, on display screen, shows the text message of inputting.When user inputs a complete text message, for example described text message is " how do you do? " described transmission smart mobile phone A can point out user by text information " how do you do? " encrypted transmission, when the encryption transmission instruction of user's input being detected, described transmission smart mobile phone A to show screen display this paper information " how do you do? " carry out sectional drawing, described text message is converted into message bit pattern.Described transmission smart mobile phone A detects after user's encrypted instruction, extract and receive the facility information of smart mobile phone B or extract default protocol information, the facility information of described smart mobile phone B is for example SIM card information, described default protocol information is finger print information or voice messaging for example, and described voice example information is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese; In the present embodiment, extract the SIM card information of described smart mobile phone B, and according to the Information generation embedded key extracting; Described transmission smart mobile phone A is according to the encrypted instruction of user's input, and according to the embedded key detecting, generating watermark embeds algorithm, according to prompting, from mobile phone, choose at random a pictures or choose a default picture, described message bit pattern is embedded in picture according to the watermarking algorithm of least significant bit; The capacity of described picture, much larger than the capacity of described message bit pattern, while making described message bit pattern embed in picture, can not be differentiated by naked eyes; User, according to the prompting of described transmission smart mobile phone A, is confirmed whether to send the image information of this encryption, when the instruction that user confirms to send being detected, by embedding the picture of stating to some extent message bit pattern, sends to described reception smart mobile phone B.
Described reception smart mobile phone B prompting receives the enciphered message sending over from described transmission smart mobile phone A, on display screen, point out user whether to receive this enciphered message, user being detected inputs after reception instruction, described reception smart mobile phone B receives and embeds the picture that has message bit pattern, when user wants to check the content of text of described encrypted information, according to the prompting of display screen, selection has the picture of message bit pattern to be decrypted to described embedding, described reception smart mobile phone B is according to decryption instructions, the SIM card Information generation that detects described reception smart mobile phone B extracts key, described reception smart mobile phone B is according to decryption instructions, utilize and extract the watermark extracting algorithm that key generates least significant bit, the message bit pattern embedding in described picture is extracted, and be translated into text message " how do you do? ", and it is shown.
The invention allows for a kind of note decryption method, be applied to include in the network system of transmitting terminal and receiving terminal, in the present embodiment, described transmitting terminal and described receiving terminal are for example smart mobile phone, panel computer, notebook computer and MP3 etc. have information storage, transmission, the electronic installation of function of exchange, the hardware that described electronic installation comprises comprises CPU (central processing unit), memory (being for example FLASH memory), microphone, loud speaker, display screen (being for example touch-sensitive display screen), player, voicefrequency circuit, communication module, system bus and input/output port etc.Refer to Fig. 3, the note decryption method that is shown as a kind of electric terminal of the present invention schematic flow sheet in a preferred embodiment, described note decryption method S2 comprises:
S21: described receiving terminal receives the picture that embedding that described transmitting terminal sends over has message bit pattern;
S22: facility information or default protocol information according to described receiving terminal generate extraction key; In the present embodiment, the facility information of preferred described receiving terminal is the SIM card information of automatic acquisition, described default protocol information is finger print information or the voice messaging that needs receiving terminal user input, and described voice example information is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese.
S23: described receiving terminal generates least significant bit watermark extracting algorithm according to described extraction key, extracts according to described watermark extracting algorithm the message bit pattern embedding in described picture; Preferably, described watermarking algorithm adopts least significant bit algorithm; Preferably, described picture is to choose immediately or preset; Described picture capacity is much larger than described message bit pattern, and while making described message bit pattern embed in picture, naked eyes can not be told the described message bit pattern embedding in described picture.
S24: described receiving terminal is converted into described message bit pattern described text message and is shown.
Referring again to Fig. 4, be shown as the system configuration schematic diagram of application a kind of electric terminal of the present invention and SMS encryption decryption method thereof, comprise transmitting terminal and receiving terminal, in this specific embodiment, the short message of take between smart mobile phone is temporarily example alternately, described transmitting terminal and described receiving terminal are respectively and send smart mobile phone A and receive smart mobile phone B, described smart mobile phone is for example for installing Android operating system or iOS operating system, or Palm OS, Symbian (Saipan), or Black Berry (blackberry, blueberry) OS6.0, the smart mobile phone of the operating systems such as Windows Phone8.The hardware that described transmission smart mobile phone A and reception smart mobile phone B comprise comprises CPU (central processing unit), memory (being for example FLASH memory), microphone, loud speaker, display screen (being for example touch-sensitive display screen), player, voicefrequency circuit, communication module, system bus and input/output port etc.
When described transmission smart mobile phone A detects user and transfers short message editing program, for user provides inputting interface, and when the editor who user detected inputs, according to the information of output, on display screen, shows the text message of inputting.When user inputs a complete text message, for example described text message is " how do you do? " described transmission smart mobile phone A can point out user by text information " how do you do? " encrypted transmission, when the encryption transmission instruction of user's input being detected, described transmission smart mobile phone A by show screen display this paper information " how do you do? " carry out sectional drawing, described text message is converted into message bit pattern.Described transmission smart mobile phone A detects after user's encrypted instruction, extract and receive the facility information of smart mobile phone B or extract default protocol information, the facility information of described smart mobile phone B is for example SIM card information, described default protocol information is finger print information or voice messaging for example, and described voice example information is as being the Chinese speeches such as Chinese mandarin, country dialect or comprising the foreign language voice such as English, French, Japanese; In the present embodiment, extract the SIM card information of described smart mobile phone B, and according to the Information generation embedded key extracting; Described transmission smart mobile phone A is according to the encrypted instruction of user's input, and according to the embedded key detecting, generating watermark embeds algorithm, according to prompting, from mobile phone, choose at random a pictures or choose a default picture, described message bit pattern is embedded in picture according to the watermarking algorithm of least significant bit; The capacity of described picture, much larger than the capacity of described message bit pattern, while making described message bit pattern embed in picture, can not be differentiated by naked eyes; User, according to the prompting of described transmission smart mobile phone A, is confirmed whether to send the image information of this encryption, when the instruction that user confirms to send being detected, by embedding the picture of stating to some extent message bit pattern, sends to described reception smart mobile phone B.
Described reception smart mobile phone B prompting receives the enciphered message sending over from described transmission smart mobile phone A, on display screen, point out user whether to receive this enciphered message, user being detected inputs after reception instruction, described reception smart mobile phone B receives and embeds the picture that has message bit pattern, when user wants to check the content of text of described encrypted information, according to the prompting of display screen, selection has the picture of message bit pattern to be decrypted to described embedding, described reception smart mobile phone B is according to decryption instructions, the SIM card Information generation that detects described reception smart mobile phone B extracts key, described reception smart mobile phone B is according to decryption instructions, utilize and extract the watermark extracting algorithm that key generates least significant bit, the message bit pattern embedding in described picture is extracted, and be translated into text message " how do you do? ", and it is shown.
In sum, the beneficial effect that a kind of electric terminal that the present invention proposes and SMS encryption decryption method thereof have is:
Utilize the watermarking inset and distill algorithm of least significant bit, the text message of transmission is converted in message bit pattern embedding picture and is sent, the fail safe of guarantee information;
Utilize targeted customer's facility information or default protocol information that note is encrypted and is deciphered, in the time of can guaranteeing to be kidnapped by third party in note transmitting procedure, safety that still can guarantee information;
Utilize default protocol information that note is encrypted and is deciphered, not only can guarantee the fail safe in note transmitting procedure, can also prevent that the information that mobile phone is stored in while losing in equipment from exposing.
So the present invention has effectively overcome various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all can, under spirit of the present invention and category, modify or change above-described embodiment.Therefore, such as in affiliated technical field, have and conventionally know that the knowledgeable, not departing from all equivalence modifications that complete under disclosed spirit and technological thought or changing, must be contained by claim of the present invention.

Claims (12)

1. an electric terminal, is characterized in that, comprising:
Information editing's module, according to the edit instruction generation text message of input;
Texts and pictures conversion module, is converted into the text message of extraction message bit pattern or described message bit pattern is converted into described text message;
Key algorithm module, according to the targeted customer's that detects facility information or extract default protocol information and generate embedded key or extract key;
Embedding/extraction module, embeds algorithm according to described embedded key generating watermark, and described message bit pattern is embedded in a picture according to described watermarking algorithm; Or according to described extraction key generating watermark extraction algorithm, according to described watermark extracting algorithm, extract the message bit pattern embedding in described picture;
Sending/receiving module, states the picture of message bit pattern to some extent for sending or receive embedding;
Information display module, shows the text message that generates text message and the conversion of described texts and pictures conversion module according to the edit instruction of input.
2. electric terminal as claimed in claim 1, is characterized in that, the described targeted customer's that described key algorithm module detects facility information is SIM card information; Finger print information or voice messaging that described default protocol information is targeted customer.
3. electric terminal as claimed in claim 1, is characterized in that, the capacity of described picture is greater than the capacity of described message bit pattern; Described picture is what preset or choose at random.
4. electric terminal as claimed in claim 1, is characterized in that, described watermarking algorithm and/or described watermark extracting algorithm that embedding/extraction module generates are least significant bit algorithm.
5. a SMS encryption method, is applied to include in the network system of transmitting terminal and receiving terminal, it is characterized in that, described SMS encryption method comprises:
Edit instruction according to input generates text message and is shown;
Extract described text message and described text message is converted into message bit pattern;
According to the facility information of described receiving terminal or default protocol information, generate embedded key;
According to described embedded key generating watermark, embed algorithm, described message bit pattern is embedded in a picture according to described watermarking algorithm;
Transmission embedding is stated the picture of message bit pattern to some extent to described receiving terminal.
6. SMS encryption method as claimed in claim 5, is characterized in that, described watermarking algorithm is least significant bit algorithm.
7. SMS encryption method as claimed in claim 5, is characterized in that, the capacity of described picture is greater than the capacity of described message bit pattern; Described picture is what preset or choose at random.
8. SMS encryption method as claimed in claim 5, is characterized in that, the facility information of described receiving terminal is SIM card information, finger print information or voice messaging that described default protocol information is targeted customer.
9. a note decryption method, is applied to include in the network system of transmitting terminal and receiving terminal, it is characterized in that, described note decryption method comprises:
Receive and embed the picture that has message bit pattern;
Facility information or default protocol information according to described receiving terminal generate extraction key;
According to described extraction key generating watermark extraction algorithm, according to described watermark extracting algorithm, extract the message bit pattern embedding in described picture;
Described message bit pattern is converted into described text message and is shown.
10. note decryption method as claimed in claim 9, is characterized in that, described watermark extracting algorithm is least significant bit algorithm.
11. note decryption methods as claimed in claim 9, is characterized in that, the facility information of described receiving terminal is SIM card information, finger print information or voice messaging that described default protocol information is targeted customer.
12. note decryption methods as claimed in claim 9, is characterized in that, the capacity of described picture is greater than the capacity of described message bit pattern; Described picture is what preset or choose at random.
CN201410290219.XA 2014-06-25 2014-06-25 A kind of electric terminal and its SMS encryption, decryption method Active CN104023332B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410290219.XA CN104023332B (en) 2014-06-25 2014-06-25 A kind of electric terminal and its SMS encryption, decryption method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410290219.XA CN104023332B (en) 2014-06-25 2014-06-25 A kind of electric terminal and its SMS encryption, decryption method

Publications (2)

Publication Number Publication Date
CN104023332A true CN104023332A (en) 2014-09-03
CN104023332B CN104023332B (en) 2018-01-16

Family

ID=51439858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410290219.XA Active CN104023332B (en) 2014-06-25 2014-06-25 A kind of electric terminal and its SMS encryption, decryption method

Country Status (1)

Country Link
CN (1) CN104023332B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105427234A (en) * 2016-01-25 2016-03-23 上海斐讯数据通信技术有限公司 Sharing method and sharing system for WIFI password
CN105554741A (en) * 2015-06-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Communication information transmission method and system, and apparatus
CN105553655A (en) * 2016-01-02 2016-05-04 熊桂荣 Security control method for smart home
CN105577382A (en) * 2015-03-27 2016-05-11 酷派软件技术(深圳)有限公司 Communication information transmission method, device and system
CN105635100A (en) * 2015-07-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Information encryption method, information decryption method and terminal
CN106487514A (en) * 2015-09-01 2017-03-08 北京三星通信技术研究有限公司 Voice communication encryption method, decryption method and its device
CN111639313A (en) * 2020-05-13 2020-09-08 广州国音智能科技有限公司 File transmission method, device, terminal and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101567894A (en) * 2009-05-31 2009-10-28 方亚南 Hand-written message transmitting/receiving method and transmitting/receiving device
US20100054463A1 (en) * 2008-08-29 2010-03-04 Chi Mei Communication Systems, Inc. Communication system and method for protecting messages between two mobile phones
CN102638776A (en) * 2011-02-14 2012-08-15 苏州巴米特信息科技有限公司 Method for enhancing SMS (Short Message Service) function
CN102970659A (en) * 2012-11-12 2013-03-13 广东欧珀移动通信有限公司 Method for encryption transmission of short message
CN103458382A (en) * 2013-05-22 2013-12-18 深圳市中易通网络技术有限公司 Hardware encryption transmission and storage method and system of mobile phone private short messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100054463A1 (en) * 2008-08-29 2010-03-04 Chi Mei Communication Systems, Inc. Communication system and method for protecting messages between two mobile phones
CN101567894A (en) * 2009-05-31 2009-10-28 方亚南 Hand-written message transmitting/receiving method and transmitting/receiving device
CN102638776A (en) * 2011-02-14 2012-08-15 苏州巴米特信息科技有限公司 Method for enhancing SMS (Short Message Service) function
CN102970659A (en) * 2012-11-12 2013-03-13 广东欧珀移动通信有限公司 Method for encryption transmission of short message
CN103458382A (en) * 2013-05-22 2013-12-18 深圳市中易通网络技术有限公司 Hardware encryption transmission and storage method and system of mobile phone private short messages

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577382A (en) * 2015-03-27 2016-05-11 酷派软件技术(深圳)有限公司 Communication information transmission method, device and system
CN105554741A (en) * 2015-06-30 2016-05-04 宇龙计算机通信科技(深圳)有限公司 Communication information transmission method and system, and apparatus
CN105635100A (en) * 2015-07-30 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Information encryption method, information decryption method and terminal
CN106487514A (en) * 2015-09-01 2017-03-08 北京三星通信技术研究有限公司 Voice communication encryption method, decryption method and its device
US10650827B2 (en) 2015-09-01 2020-05-12 Samsung Electronics Co., Ltd. Communication method, and electronic device therefor
CN113206737A (en) * 2015-09-01 2021-08-03 北京三星通信技术研究有限公司 Voice communication encryption method, decryption method and device
CN105553655A (en) * 2016-01-02 2016-05-04 熊桂荣 Security control method for smart home
CN105553655B (en) * 2016-01-02 2019-05-03 南京云设智能科技有限公司 Intelligent house security control method
CN105427234A (en) * 2016-01-25 2016-03-23 上海斐讯数据通信技术有限公司 Sharing method and sharing system for WIFI password
CN111639313A (en) * 2020-05-13 2020-09-08 广州国音智能科技有限公司 File transmission method, device, terminal and computer readable storage medium
CN111639313B (en) * 2020-05-13 2023-08-11 广州国音智能科技有限公司 File transmission method, device, terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN104023332B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN104023332A (en) Electronic terminal and short message encrypting and decrypting method thereof
US9160719B2 (en) Hiding ciphertext using a linguistics algorithm with dictionaries
US8578473B2 (en) Systems and methods for information security using one-time pad
Bucerzan et al. SmartSteg: A new android based steganography application.
CN105809042A (en) Information protection method and device, information display method and device, and terminal
WO2020233047A1 (en) Page test method and apparatus
CN101795450A (en) Method and device for carrying out security protection on mobile phone data
US20140143554A1 (en) Methods, Systems and Apparatus for Managing Data Entries on a Database
CN102761563A (en) Data transmission method, device and system
KR102108192B1 (en) Method, Apparatus and System for Inserting Watermark
CN105577361A (en) Information processing method and device thereof
CN110545542A (en) Main control key downloading method and device based on asymmetric encryption algorithm and computer equipment
CN105279447A (en) Method and device for data encryption, and method and device for data decryption
CN103559251A (en) Data security protection method based on data hiding
US8473516B2 (en) Computer storage apparatus for multi-tiered data security
CN106156571B (en) Encrypting fingerprint tool, encrypting fingerprint tool encrypting and deciphering system and encipher-decipher method
US10594486B1 (en) Password identification system and method
CN108491723A (en) A kind of encryption and decryption method and device of computer
CN114692100A (en) Digital watermark adding and extracting method and device, electronic equipment and readable medium
CN103220551A (en) Digital resource encryption and decryption system and method based on image processing
CN113434827A (en) Information tracing method, device and system, electronic equipment and storage medium
CN113177214A (en) Image publishing and auditing method, related device and computer program product
CN113347003A (en) Input type dynamic cipher device and method
CN104182698B (en) A kind of data clearing method and electronic equipment
KR101746577B1 (en) System and Method for Authenticating a user using Visualize Password and Authentication Sever

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201208

Address after: 313028 Industrial Park, balidian Town, Huzhou City, Zhejiang Province

Patentee after: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Guangfulin road 4855 Lane 20, No. 90

Patentee before: Phicomm (Shanghai) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240704

Address after: G1-635, 7th Floor, Xixian Talent Building, Century Avenue, Fengdong New City, Xi'an City, Shaanxi Province 710000

Patentee after: Shaanxi Qinyuan Chunyonghe Information Technology Co.,Ltd.

Country or region after: China

Address before: 313028 Industrial Park, balidian Town, Huzhou City, Zhejiang Province

Patentee before: HUZHOU FENGYUAN AGRICULTURAL EQUIPMENT MANUFACTURE Co.,Ltd.

Country or region before: China