CN102685326A - Message encryption method and device and mobile terminal - Google Patents

Message encryption method and device and mobile terminal Download PDF

Info

Publication number
CN102685326A
CN102685326A CN2012101284603A CN201210128460A CN102685326A CN 102685326 A CN102685326 A CN 102685326A CN 2012101284603 A CN2012101284603 A CN 2012101284603A CN 201210128460 A CN201210128460 A CN 201210128460A CN 102685326 A CN102685326 A CN 102685326A
Authority
CN
China
Prior art keywords
password
note
type
input
interface
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.)
Pending
Application number
CN2012101284603A
Other languages
Chinese (zh)
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.)
KAIHONG MOBILE COM CO Ltd SHENZHEN
Original Assignee
KAIHONG MOBILE COM CO Ltd SHENZHEN
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 KAIHONG MOBILE COM CO Ltd SHENZHEN filed Critical KAIHONG MOBILE COM CO Ltd SHENZHEN
Priority to CN2012101284603A priority Critical patent/CN102685326A/en
Publication of CN102685326A publication Critical patent/CN102685326A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

The invention is suitable for the technical field of message encryption, and provides a message encryption method and device and a mobile terminal. The method comprises the following steps of: when a specified message needs to be subjected to password setting, receiving a password type selected by a user through a password type selecting interface, and receiving a checking password and a checking confirm password which are input through a password setting interface and are corresponding to the type; and when the checking password is the same with the checking confirm password, saving the type and the checking password. As the password type and the checking password of the specified message in the mobile terminal are set, the message is not easy to be checked or leaked, and the safety of the message is also ensured.

Description

A kind of SMS encryption method, device and portable terminal
Technical field
The invention belongs to the information encryption field, relate in particular to a kind of SMS encryption method, device and portable terminal.
Background technology
At present, short message is as a Core Feature of terminal equipment, frequent use in user's daily life.General user's portable terminal for example all can be stored a certain amount of short message in the mobile phone, these information comprise that the user receives with note of sending or the like.Information as communication between the user and exchange of information effect; It might relate to user's some privacies or secret; And the user does not hope that this category information seen by others, but can not delete, thereby existing note storage mode can exist easily by the danger of arbitrarily checking or leaking.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of SMS encryption method, device and portable terminal; Be intended to solve because the existing note that is stored on the portable terminal is arbitrarily checked easily or revealed, cause user's short message to have the not high problem of potential safety hazard, coefficient of safety.
The embodiment of the invention is achieved in that a kind of SMS encryption method, and said method comprises the steps:
When needs carry out password setting to specifying note, receive the password type that the user selects the interface to select through password type;
Reception is through check password and check affirmation password corresponding with said type of password setting interface input;
When the said password of checking is preserved said type and the said password of checking with said checking when confirming that password is identical.
Another purpose of the embodiment of the invention is to provide a kind of SMS encryption device, and said device comprises:
The type selecting unit is used for when needs carry out password setting to specifying note, receiving the password type that the user selects the interface to select through password type;
The password input unit is used to receive check password and check affirmation password corresponding with said type through the input of password setting interface; And
Memory cell is used for preserving said type and said check password with said checking when confirming that password is identical when the said password of checking.
Another purpose of the embodiment of the invention is to provide a kind of portable terminal that comprises the said short message encryption device.
The embodiment of the invention is through carrying out password setting to the appointment note; Be provided with the password type of this note particularly and check password; Realized that the correct password of checking of necessary input can obtain the purpose of the relevant information of this appointment note, solved user's short message and had the not high problem of potential safety hazard, coefficient of safety, protected user's information security; Satisfy user's hommization requirement, further improved user's experience.
Description of drawings
Fig. 1 is the realization flow figure of the SMS encryption method that provides of first embodiment of the invention;
Fig. 2 is the structure chart of the SMS encryption device that provides of second embodiment of the invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
Below in conjunction with specific embodiment concrete realization of the present invention is described in detail:
Embodiment one:
Fig. 1 shows the realization flow of the SMS encryption method that first embodiment of the invention provides, and details are as follows:
In embodiments of the present invention, when the user wants a certain or many notes are carried out password setting, arbitrarily checked or when revealing security information etc., can increase the function of encipherment protection by other people avoiding this note.The embodiment of the invention is in based on the portable terminal of android system, on the note application foundation, to specify the encryption of note, such as being elaborated so that short messages stored in the smart mobile phone of android system is encrypted as example.
In step S101, when needs carry out password setting to specifying note, receive the password type that the user selects the interface to select through password type.
Wherein, this password type comprises by one or more password types formed in numeral, letter, the figure etc., for example type such as numerical ciphers, graphical passwords.
And before the step of the reception user in execution in step S101 through the password type of password type selection interface selection, this SMS encryption method also comprises:
Judge whether this appointment note has opened encryption function;
When judged result when being, receive the note password of user through the interface for password input input, and when this note password with preset when checking that password is identical, carry out this step S101;
When judged result for not the time, carry out this step S101.
Further, check password not simultaneously when this note password with preset, this SMS encryption method can also comprise:
Judges is imported the number of times of note password mistake less than preset times, is, then continues to receive the note password of user through the interface for password input input, otherwise, withdraw from.
Further, check password not simultaneously when this note password with preset, this SMS encryption method can also comprise:
Whether the time interval that judges is inputed after the note password mistake for the last time surpasses Preset Time, is, then continues to receive the note password of user through the interface for password input input, otherwise, this interface for password input is set is in down state.
In the practical implementation process, when needs carry out password setting to specifying note, judge at first whether this appointments note has opened encryption function, when judged result when denying, the not encrypted mistake of this note is described, then can directly go to this step of execution S101; When judged result when being, the encrypted mistake of this note is described, if the user need reset the password of checking of this note; This moment system output password inputting interface, user's this moment deciphering earlier just can have the authority that this password is reset, and before preset of the note password of in this interface for password input, inputing as the user and this note is when checking that password is identical; Then execution in step S101 can be continued,, then the user cipher input error can be pointed out if inequality; Need judge whether to continue to attempt the input password this moment, such as the number of times of judges input note password mistake less than preset times, such as 5 times; If errors number surpasses 5 times, then start cipher protection function, user's lack of competence continues the input password; Also just can't make amendment, can withdraw from this password encryption process, for another example the password of checking of this note; The user can be set input for the last time and can't carry out the operation that password input and short message application program start in 30 seconds after the note password mistake, this interface for password input is in down state, and perhaps the user withdraws from this SMS encryption process voluntarily; And when having only preset before note password that the user inputs in this interface for password input and this note to check that password is identical; Just understand display password type selecting interface, and go to execution in step S101, in addition in order to promote user's experience; Can increase clocking capability; Whether reach preset time interval of 30 seconds etc. with the prompting user, perhaps increase the number of times tally function, the number of times of explicit user input password mistake etc.
In step S102, receive check password and check affirmation password corresponding with the type through the input of password setting interface.
In step S103, when this checked that password and this check that the affirmation password is identical, preservation the type and this were checked password.
In the practical implementation process, selected certain password type the user, such as the numerical ciphers type; The password of checking that then user inputs on this password setting interface must be made up of numeral, otherwise invalid etc., and the input frame of checking the affirmation password can also be set on this password setting interface; To carry out the input password confirming 2 times,, then point out the user to re-enter if the password of 2 inputs of user is inconsistent; If consistent, then store this password type and corresponding with the type password of checking.And then, when the user launches short message application program next time, in the time of need checking later short message of this encryption; Must use this to check that password can check; Can certainly be according to this password type, the prompting user inputs the correct password of checking, strengthens the user experience effect.
Need to prove that the password type that provides in the embodiment of the invention selects interface, interface for password input, password setting interface etc. to be managed concentratedly by same interface management functional module, interface layout and exploitation can be developed by the developer voluntarily.And the user is provided with specify corresponding the checking password, comprise that the password type, Preset Time, preset times etc. of graphical passwords also can be stored in the same data storage function module of note; And the mode of preserving graphical passwords can be carried out according to the file I/O mode, and other storage can adopt the lightweight storage control in the android coefficient to store.
In embodiments of the present invention, this SMS encryption method is at first selected the interface through password type, and selection need be carried out the encryption type or the title password type of the appointment note of password setting; Correspondingly check password, check the affirmation password being provided with this password type; Check password and this when this and check when confirming that password is identical, preserve password type and this of this selection and check password, when checking the information of this appointment note in next time; Mate; Making has the user of authority just can obtain this information, thereby reached some privacies or the secret note that relate to the user is encrypted, and avoids the purpose of this information leakage; Make the coefficient of safety of user's short message be improved, eliminated potential safety hazard etc.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk, CD etc.
Embodiment two:
Fig. 2 shows the structure of the SMS encryption device that second embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
This SMS encryption device can be used for portable terminal; Other communication terminals that perhaps have the short message privacy requirements; In the mobile phone etc., can be the software unit that runs in these communication terminals for example, also can be used as independently, suspension member be integrated in these communication terminals or runs in the application system of these portable terminals; This SMS encryption device comprises type selecting unit 21, password input unit 22 and memory cell 23, wherein:
Type selecting unit 21 is used for when needs carry out password setting to specifying note, receiving the password type that the user selects the interface to select through password type.
Wherein, this password type comprises by one or more password types formed in numeral, letter, the figure etc., for example type such as numerical ciphers, graphical passwords.
In embodiments of the present invention, when needs carried out password setting to specifying note, before triggering the type selected cell 21, this SMS encryption device also comprised:
Open judging unit 211, be used for judging whether this appointment note has opened encryption function;
Password confirming unit 212, be used for when this unlatching judging unit 211 output results when being, receive the note password of user through the interface for password input input, and when said note password with preset when checking that password is identical triggering the type selected cell 21; And
Select trigger element 213, be used for when this unlatchings judging unit 211 output results when denying, triggering the type selected cell 21.
Wherein, this password confirming unit 212 also comprises:
Whether the first password fault processing unit, the number of times that is used for judges input note password mistake less than preset times are, then continue to receive the note password of user through the interface for password input input, otherwise, withdraw from.
Wherein, this password confirming unit 212 can also comprise:
The second password fault processing unit; Being used for judges and whether inputing the note password mistake time interval afterwards for the last time above Preset Time, is then to continue to receive the note password that the user imports through interface for password input; Otherwise, this interface for password input is set is in down state.
In embodiments of the present invention; In the terminal of android system; After unlatching judging unit 211 judged that these appointment notes have been opened encryption function, at first display password inputting interface input received the note password that users import through this interface through password confirming unit 212; And judge whether the password input is correct; Be then not trigger the type selected cell 21, perhaps after unlatching judging unit 211 judges that these appointment notes are not opened encryption function, can utilize and select trigger element 213 directly to trigger the type selected cells 21.And if judge the password input error; After then the first password fault processing unit judges input error number of times surpasses the maximum times that is provided with in advance; Then withdraw from this crypto process; Perhaps the second password fault processing unit judges user inputs the note password mistake time interval afterwards for the last time in Preset Time, and number of times is provided with this interface for password input and is in down state, perhaps withdraws from this crypto process; Otherwise continue to receive the note password of user through the interface for password input input, correct until the password input.
Password input unit 22 is used to receive check password and check affirmation password corresponding with the type through the input of password setting interface.
Memory cell 23 is used for when this checks that password and this check that the affirmation password is identical, and preservation the type and this are checked password.
In embodiments of the present invention, after the user has selected password type, then can utilize password input unit 22 inputs check password and check affirmation password corresponding with the type; This is checked and confirms that password is used to reaffirm the password of checking to this appointment note setting; Only when the password of twice input was consistent, this password setting function just can come into force, and also need preserve this password type and check password this moment; The mode of preserving is mainly system's lightweight storage and file I/O is handled mode of operation, also makes when the user need check this appointments note next time, inputs password and the coupling of the password that pre-sets.
In the embodiment of the invention a kind of SMS encryption device that comprises type selecting unit, password input unit and memory cell is provided; Realized the note with private information is encrypted through this SMS encryption device; Have only the correct password of checking just can check corresponding note; Avoid the leakage of user's private information perhaps arbitrarily to be checked, guaranteed the safety of user's short message.
The embodiment of the invention is through when needs carry out password setting to specifying note; Receive the password type that the user selects the interface to select through password type; Reception is through check password and check affirmation password corresponding with the type of password setting interface input; When this checked that password and this check that the affirmation password is identical, preservation the type and this were checked password, had solved because the existing note that is stored on the portable terminal is arbitrarily checked easily or revealed; Cause user's short message to have the not high problem of potential safety hazard, coefficient of safety; Greatly reduce user's short message and had potential safety hazard, improved the coefficient of safety of short message, also promoted user's experience.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a SMS encryption method is characterized in that, said method comprises the steps:
When needs carry out password setting to specifying note, receive the password type that the user selects the interface to select through password type;
Reception is through check password and check affirmation password corresponding with said type of password setting interface input;
When the said password of checking is preserved said type and the said password of checking with said checking when confirming that password is identical.
2. the method for claim 1 is characterized in that, before carrying out said reception and preserving the step of user through the password type of password type selection interface selection, said method also comprises:
Judge whether said appointment note has opened encryption function;
When judged result when being; Receive the note password of user through the interface for password input input; And when said note password with preset when checking that password is identical; Carry out saidly when needs carry out password setting to specifying note, receive the user selects the password type that the interface selects through password type step;
When judged result for not the time, carries out saidly when needs carry out password setting to specifying note, receive the step of user through the password type of password type selection interface selection.
3. method as claimed in claim 2 is characterized in that, checks password not simultaneously when said note password with preset, and said method also comprises:
Whether judges imports the number of times of note password mistake less than preset times, is, then continues to receive the note password of user through the interface for password input input, otherwise, withdraw from.
4. method as claimed in claim 2 is characterized in that, checks password not simultaneously when said note password with preset, and said method also comprises:
Whether the time interval that judges is inputed after the note password mistake for the last time surpasses Preset Time, is, then continues to receive the note password of user through the interface for password input input, otherwise, said interface for password input is set is in down state.
5. the method for claim 1 is characterized in that, said password type comprises by one or more password types formed in numeral, letter, the figure.
6. a SMS encryption device is characterized in that, said device comprises:
The type selecting unit is used for when needs carry out password setting to specifying note, receiving the password type that the user selects the interface to select through password type;
The password input unit is used to receive check password and check affirmation password corresponding with said type through the input of password setting interface; And
Memory cell is used for preserving said type and said check password with said checking when confirming that password is identical when the said password of checking.
7. device as claimed in claim 6 is characterized in that, said device also comprises:
Open judging unit, be used to judge whether said appointment note has opened encryption function;
The password confirming unit, be used for when judged result when being, receive the note password of user through the interface for password input input, and when said note password with preset when checking that password is identical, trigger said type selecting unit; And
Select trigger element, be used for when judged result when denying, trigger said type selecting unit.
8. device as claimed in claim 7 is characterized in that, said password confirming unit also comprises:
Whether the first password fault processing unit, the number of times that is used for judges input note password mistake less than preset times are, then continue to receive the note password of user through the interface for password input input, otherwise, withdraw from.
9. device as claimed in claim 7 is characterized in that, said password confirming unit also comprises:
The second password fault processing unit; Being used for judges and whether inputing the note password mistake time interval afterwards for the last time above Preset Time, is then to continue to receive the note password that the user imports through interface for password input; Otherwise, said interface for password input is set is in down state.
10. a portable terminal is characterized in that, said system comprises each described SMS encryption device of claim 6 to 9.
CN2012101284603A 2012-04-27 2012-04-27 Message encryption method and device and mobile terminal Pending CN102685326A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101284603A CN102685326A (en) 2012-04-27 2012-04-27 Message encryption method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101284603A CN102685326A (en) 2012-04-27 2012-04-27 Message encryption method and device and mobile terminal

Publications (1)

Publication Number Publication Date
CN102685326A true CN102685326A (en) 2012-09-19

Family

ID=46816665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101284603A Pending CN102685326A (en) 2012-04-27 2012-04-27 Message encryption method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN102685326A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488935A (en) * 2013-09-27 2014-01-01 太仓苏易信息科技有限公司 Screen drawing login system
CN103902920A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN105320864A (en) * 2015-10-28 2016-02-10 广东欧珀移动通信有限公司 Method and apparatus for processing event operation
CN105657678A (en) * 2015-07-22 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Short message reading method, short message reading device, short message storage method and short message storage device
CN109298910A (en) * 2018-09-14 2019-02-01 Oppo广东移动通信有限公司 A kind of method, mobile terminal and the computer readable storage medium of window exhalation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543247A (en) * 2003-11-06 2004-11-03 惠州Tcl移动通信有限公司 A method for improving handset short message security and handset implementing the same method
CN1968539A (en) * 2006-10-20 2007-05-23 华为技术有限公司 Encrypted information processing method and terminal
CN101616495A (en) * 2008-06-23 2009-12-30 网秦无限(北京)科技有限公司 The method and system of individual privacy in the protection mobile phone
CN101951570A (en) * 2010-08-25 2011-01-19 惠州Tcl移动通信有限公司 Short message box encrypting method for mobile phone and mobile phone

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543247A (en) * 2003-11-06 2004-11-03 惠州Tcl移动通信有限公司 A method for improving handset short message security and handset implementing the same method
CN1968539A (en) * 2006-10-20 2007-05-23 华为技术有限公司 Encrypted information processing method and terminal
CN101616495A (en) * 2008-06-23 2009-12-30 网秦无限(北京)科技有限公司 The method and system of individual privacy in the protection mobile phone
CN101951570A (en) * 2010-08-25 2011-01-19 惠州Tcl移动通信有限公司 Short message box encrypting method for mobile phone and mobile phone

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902920A (en) * 2012-12-27 2014-07-02 联想(北京)有限公司 Information processing method and electronic device
CN103488935A (en) * 2013-09-27 2014-01-01 太仓苏易信息科技有限公司 Screen drawing login system
CN105657678A (en) * 2015-07-22 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Short message reading method, short message reading device, short message storage method and short message storage device
CN105320864A (en) * 2015-10-28 2016-02-10 广东欧珀移动通信有限公司 Method and apparatus for processing event operation
CN109298910A (en) * 2018-09-14 2019-02-01 Oppo广东移动通信有限公司 A kind of method, mobile terminal and the computer readable storage medium of window exhalation

Similar Documents

Publication Publication Date Title
EP2905715B1 (en) Method, system and terminal for encrypting/decrypting application program on communication terminal
US20090298468A1 (en) System and method for deleting data in a communication device
CN105812332A (en) Data protection method
CN103095457A (en) Login and verification method for application program
CN105975867B (en) A kind of data processing method
CN104123506B (en) Data access method, device, data encryption, storage and access method, device
CN103413102A (en) Secret data management device and secret data management method as well as mobile terminal
CN103023925A (en) NFC (near field communication) personal account information management system and method for implementing same
CN103390026A (en) Mobile intelligent terminal security browser and working method thereof
EP2881863A1 (en) Method for implementing encryption in storage card, and decryption method and device
EP2835997B1 (en) Cell phone data encryption method and decryption method
CN104011730A (en) Security mechanism for external code
CN102685326A (en) Message encryption method and device and mobile terminal
EP2840818B1 (en) Method and device for information security management of mobile terminal, and mobile terminal
CN102521169B (en) Confidential USB (universal serial bus) memory disk with display screen and security control method of confidential USB memory disk
CN102202297A (en) Method and device for encrypting mobile terminals
CN103929312A (en) Mobile terminal and method and system for protecting individual information of mobile terminal
CN102368798A (en) Mobile phone setting control system, control method thereof, mobile phone setting method, apparatus thereof and mobile phone
Meletiou et al. Design and Implementation of an E-exam System Based on the Android Platform
CN105095784A (en) Terminal data writing and reading methods and devices
KR101067146B1 (en) Method for processing encrypted message in portable terminal and portable terminal
WO2012151975A1 (en) Method and device for concealing terminal information
CN107181873A (en) Method, device and terminal that short message session is shown
Prabhavathy et al. Smart phone user assistance application for android
CN102118745B (en) Method and device for secure encryption for mobile payment data, and mobile phone

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120919