CN104486508A - Method and device for switching password input modes of mobile phone and mobile phone - Google Patents

Method and device for switching password input modes of mobile phone and mobile phone Download PDF

Info

Publication number
CN104486508A
CN104486508A CN201410834539.7A CN201410834539A CN104486508A CN 104486508 A CN104486508 A CN 104486508A CN 201410834539 A CN201410834539 A CN 201410834539A CN 104486508 A CN104486508 A CN 104486508A
Authority
CN
China
Prior art keywords
input
password input
keyboard
character
pattern
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
CN201410834539.7A
Other languages
Chinese (zh)
Other versions
CN104486508B (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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201410834539.7A priority Critical patent/CN104486508B/en
Publication of CN104486508A publication Critical patent/CN104486508A/en
Application granted granted Critical
Publication of CN104486508B publication Critical patent/CN104486508B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The invention provides a method and device for switching password input modes of a mobile phone and the mobile phone. The method comprises the following steps: monitoring whether characters are input in a password input box or not, and if yes, starting a timer; within preset time, judging whether characters are input in the password input box again or not, if yes, starting the timer again, otherwise, switching the password input modes. When the passwords are input, automatic switching is carried out between a numerical character keyboard and an alphabetical keyboard according to the behavior operation of a user, manual operation is reduced, the complexity of password input operation is reduced, the possibility that the passwords are speculated and deciphered by virus software or people according to the finger touch positions of the user can also be effectively reduced through automatic keyboard switching, and the fashion pursuit requirements of young people are met.

Description

A kind of cell phone password input mode switching methods, device and mobile phone
Technical field
The present invention relates to technical field of data processing, particularly relate to a kind of cell phone password input mode switching methods, device and mobile phone.
Background technology
A lot of softwares in mobile phone A PP shop all need to input password, when using mobile phone to carry out Password Input, mobile phone is commonly used defaultly has 2 kinds of keyboards, numerical chracter keyboard, alphabetic keypad, and in order to the needs of cipher safety, the input password that cellphone subscriber is arranged generally must comprise the combination of letter, numeral, symbol etc. simultaneously.
When cellphone subscriber uses mobile phone to carry out Password Input based on above-mentioned two conditional decisions, need frequently to switch between keyboard in 2 at this.
Realizing in process of the present invention, inventor finds that in prior art, at least there are the following problems:
Operate very loaded down with trivial details, need frequently to switch between numerical chracter keyboard and alphabetic keypad; And due to the participation of human factor, considerably increase due to the possibility that misoperation makes bogusware invade or lawless people causes password to be decrypted according to user's finger touch position conjecture password.
Summary of the invention
For solving the problems of the technologies described above, the present invention proposes a kind of cell phone password input mode switching methods, device and mobile phone, the automatic switchover of input through keyboard pattern when realizing Password Input, reduces manual operation, reduces the fussy degree of Password Input operation.
A kind of cell phone password input mode switching methods that the present invention proposes, specifically comprises the following steps:
Whether there is character to input in monitoring Password Input frame, if had, then start timer;
In default timing, judge whether have character again to input in described Password Input frame, if it is, to restart timer, otherwise, carry out the switching of input through keyboard pattern.
Preferably, described method also comprises:
Receive user and send setting command for current operation, whether the input pattern arranging current keyboard according to described setting command opens automatic switching function.
Preferably, described method also comprises:
Carry out Password Input velocity test in advance, under obtaining the state do not switched in input through keyboard pattern, carry out the maximum delay of character input, described default timing is set according to described maximum delay.
Preferably, described default timing is greater than described maximum delay.
Preferably, by the value changed event of monitoring Password Input frame, judge in Password Input frame, whether have character to input.
Preferably, the input pattern of described keyboard comprises numerical chracter keyboard input pattern and alphabetic keypad input pattern.
Preferably, after input through keyboard mode continuous switches preset times, before described Password Input frame again input character, forbid performing switching.
Accordingly, the invention allows for a kind of cell phone password input pattern switching device shifter, described device comprises:
Whether monitoring modular, have character to input for monitoring in Password Input frame;
Time block, for when having character to input in monitoring Password Input frame, starts timer;
Judge module, in default timing, judges whether have character again to input in described Password Input frame, if so, then to return described time block, restart timer, otherwise, enter handover module;
Handover module, for the judged result according to described judge module, carries out the switching of input through keyboard pattern.
Preferably, described device also comprises:
Arranging module, sending setting command for receiving user for current operation, whether the input pattern arranging current keyboard according to described setting command opens automatic switching function.
Preferably, described device also comprises:
Test module, for carrying out Password Input velocity test in advance, carrying out the maximum delay of character input, setting the default timing of described timer according to described maximum delay under obtaining the state do not switched in input through keyboard pattern.
Accordingly, the invention allows for a kind of mobile phone, comprise above-mentioned arbitrary cell phone password input pattern switching device shifter.
A kind of cell phone password input mode switching methods provided by the invention, device and mobile phone, when Password Input, behavior operation according to user makes to automatically switch between numerical chracter keyboard and alphabetic keypad, reduce manual operation, reduce the fussy degree of Password Input operation, the automatic switchover of keyboard, can also reduce bogusware effectively or people guesses the possibility of code breaking password according to user's finger touch position, meets the needs that young man follows the fashion simultaneously.
Accompanying drawing explanation
Can understanding the features and advantages of the present invention clearly by reference to accompanying drawing, accompanying drawing is schematic and should not be construed as and carry out any restriction to the present invention, in the accompanying drawings:
Fig. 1 is a kind of cell phone password input mode switching methods flow chart that the embodiment of the present invention proposes;
Fig. 2 is a kind of cell phone password input mode switching methods flow chart that another embodiment of the present invention proposes;
Fig. 3 is a kind of cell phone password input pattern switching device module figure that the embodiment of the present invention proposes;
Fig. 4 is a kind of cell phone password input pattern switching device module figure that another embodiment of the present invention proposes.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
A kind of cell phone password input mode switching methods provided by the invention, device and mobile phone is introduced in detail below by enumerating several specific embodiment.
Embodiment one
With reference to Fig. 1, show a kind of cell phone password input mode switching methods flow chart that the embodiment of the present invention one proposes.
Cell phone password input mode switching methods in the present embodiment, specifically comprises the following steps:
Character whether is had to input in S101, monitoring Password Input frame, especially by the value changed event of monitoring Password Input frame in the embodiment of the present invention, judge in Password Input frame, whether have character to input, if value changed event occurs Password Input frame, then character is had to input in current password input frame.
If have character to input in S102 Password Input frame, then start timer;
S103, in default timing, judge whether have character again to input in described Password Input frame, if it is, to return step 102, restart timer, otherwise, perform step 104;
S104, carry out the switching of input through keyboard pattern, wherein, the input pattern of described keyboard comprises numerical chracter keyboard input pattern and alphabetic keypad input pattern, in default timing, if also do not input the next one, then assert and need to switch keyboard input pattern, thus automatically carry out the switching of input through keyboard pattern.
Further, after input through keyboard mode continuous switches preset times, before described Password Input frame again input character, forbid that the continuation of switch step performs.
In real life scenarios, the password that user sets for oneself is familiar, in Password Input process, is input continuously, namely in input process, does not need to be interrupted.But under having a kind of situation, the continuity that user inputs in cryptographic processes is interrupted, Here it is, when needing to switch keyboard, when user finds to can not find the letter, numeral or the symbol that need input in current keyboard, now, user needs thinking, need to carry out keyboard shift, thus delay slightly can occur, the continuity of input is interrupted.
Cell phone password input mode switching methods provided by the invention, preset a timing, if user carries out in input cryptographic processes, after last input some letters, numeral or symbol, after this default timing, also do not input character late, then assert that user needs to switch keyboard input pattern, thus automatically switch.
Concrete handoff procedure is as follows:
When user is after password box input character, that is, after detecting text box value changed event, play a timer, in the embodiment of the present invention, described default timing is preferably 1 second at once.Default timing can carry out value according to actual conditions, and the present invention does not limit this.
In 1 second, if user does not input, then timer call back function triggers, automatic switchover keyboard, according to current keyboard type, if current keyboard is numerical chracter keyboard, then switch to alphabetic keypad, if current keyboard is alphabetic keypad, then switch to numerical chracter keyboard.
In 1 second, if user have input (namely text frame there occurs valueChanged event) again, then, in the readjustment of this event, cancel the timing of this timer, and to restart timing be 1 second timer.
Like this, if when cellphone subscriber carries out Password Input, when needs switch keyboard, only need wait slightly, just automatically switched.If do not need to switch, then only need input continuously.The fussy degree of reduction Password Input operation, and bogusware effectively or people are according to the possibility of user's finger touch position conjecture code breaking password.
Embodiment two
With reference to Fig. 2, show a kind of cell phone password input mode switching methods flow chart that the embodiment of the present invention two proposes.
Cell phone password input mode switching methods in the present embodiment, specifically comprises the following steps:
S201, carry out Password Input velocity test in advance, the maximum delay of character input is carried out under obtaining the state do not switched in input through keyboard pattern, arrange described default timing according to described maximum delay, wherein, described default timing is greater than described maximum delay.
S202, reception user send setting command for current operation, and whether the input pattern arranging current keyboard according to described setting command opens automatic switching function.
Character whether is had to input in S203, monitoring Password Input frame, especially by the value changed event of monitoring Password Input frame in the embodiment of the present invention, judge in Password Input frame, whether have character to input, if value changed event occurs Password Input frame, then character is had to input in current password input frame.
If have character to input in S204 Password Input frame, then start timer;
S205, in default timing, judge whether have character again to input in described Password Input frame, if it is, to return step 204, restart timer, otherwise, perform step 206;
S206, carry out the switching of input through keyboard pattern, wherein, the input pattern of described keyboard comprises numerical chracter keyboard input pattern and alphabetic keypad input pattern, in default timing, if also do not input the next one, then assert and need to switch keyboard input pattern, thus automatically carry out the switching of input through keyboard pattern.
Further, after input through keyboard mode continuous switches preset times, before described Password Input frame again input character, forbid that the continuation of switch step performs.
In the embodiment of the present invention, whether input through keyboard pattern automatically switches, and can arrange according to the needs of user.Like fashion, the young man of trend, may like using and automatically switch, the elderly reacting slow may like oneself going to switch, and each takes what he needs.
Timing also can be arranged.
In the embodiment of the present invention, the Password Input speed of user is tested the speed, after doing test several times more, calculate the maximum delay (interval time between double input character, numeral or letter) inputted when keyboard does not switch, the default timing of user is set according to this, preferably, timing is greater than maximum delay slightly.
Embodiment three
With reference to Fig. 3, show a kind of cell phone password input pattern switching device module figure that the embodiment of the present invention three proposes.
Cell phone password input pattern switching device shifter in the present embodiment, specifically comprises with lower module:
Whether monitoring modular 301, have character to input for monitoring in Password Input frame; Especially by the value changed event of monitoring Password Input frame in the embodiment of the present invention, judge in Password Input frame, whether have character to input, if value changed event occurs Password Input frame, then have character to input in current password input frame.
Time block 302, for when having character to input in monitoring Password Input frame, starts timer;
Judge module 303, in default timing, judges whether have character again to input in described Password Input frame, if so, then returns described time block 302, restart timer, otherwise, enter handover module 304;
Handover module 304, for the judged result according to described judge module, carry out the switching of input through keyboard pattern, wherein, the input pattern of described keyboard comprises numerical chracter keyboard input pattern and alphabetic keypad input pattern, in default timing, if also do not input the next one, then assert and need to switch keyboard input pattern, thus automatically carry out the switching of input through keyboard pattern.
In the embodiment of the present invention, after input through keyboard mode continuous switches preset times, before described Password Input frame again input character, forbid that described handover module 304 performs switching.
Embodiment four
With reference to Fig. 4, show a kind of cell phone password input pattern switching device module figure that the embodiment of the present invention four proposes.
Cell phone password input pattern switching device shifter in the present embodiment, as shown in Figure 4, the basis of the cell phone password input pattern switching device shifter proposed in embodiment three also comprises: test module 305 and arrange module 306;
Test module 305, for carrying out Password Input velocity test in advance, the maximum delay of character input is carried out under obtaining the state do not switched in input through keyboard pattern, the default timing of described timer is set according to described maximum delay, wherein, described default timing is greater than described maximum delay.
Arranging module 306, sending setting command for receiving user for current operation, whether the input pattern arranging current keyboard according to described setting command opens automatic switching function.
Embodiment five
The embodiment of the present invention five proposes a kind of mobile phone, comprises any one cell phone password input pattern switching device shifter as shown in Figure 3 or Figure 4.Wherein, cell phone password input pattern switching device shifter introduces technical scheme for the structure shown in Fig. 3.Whether cell phone password input pattern switching device shifter comprises: monitoring modular 301, have character to input for monitoring in Password Input frame; Time block 302, for when having character to input in monitoring Password Input frame, starts timer; Judge module 303, in default timing, judges whether have character again to input in described Password Input frame, if so, then returns described time block 302, restart timer, otherwise, enter handover module 304; Handover module 304, for the judged result according to described judge module, carries out the switching of input through keyboard pattern.
Adopt the cell phone password input mode switching methods that the present invention proposes, when Password Input, behavior operation according to user makes to automatically switch between numerical chracter keyboard and alphabetic keypad, reduce manual operation, reduce the fussy degree of Password Input operation, the automatic switchover of keyboard, can also reduce bogusware effectively or people guesses the possibility of code breaking password according to user's finger touch position, meets the needs that young man follows the fashion simultaneously.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention can by hardware implementing, and the mode that also can add necessary general hardware platform by software realizes.Based on such understanding, technical scheme of the present invention can embody with the form of software product, it (can be CD-ROM that this software product can be stored in a non-volatile memory medium, USB flash disk, portable hard drive etc.) in, comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, the module in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
It will be appreciated by those skilled in the art that the module in the device in embodiment can carry out being distributed in the device of embodiment according to embodiment description, also can carry out respective change and be arranged in the one or more devices being different from the present embodiment.The module of above-described embodiment can merge into a module, also can split into multiple submodule further.
Be only several specific embodiment of the present invention above, but the present invention is not limited thereto, the changes that any person skilled in the art can think of all should fall into protection scope of the present invention.

Claims (11)

1. a cell phone password input mode switching methods, is characterized in that, described method comprises:
Whether there is character to input in monitoring Password Input frame, if had, then start timer;
In default timing, judge whether have character again to input in described Password Input frame, if it is, to restart timer, otherwise, carry out the switching of input through keyboard pattern.
2. method according to claim 1, is characterized in that, described method also comprises:
Receive user and send setting command for current operation, whether the input pattern arranging current keyboard according to described setting command opens automatic switching function.
3. method according to claim 1, is characterized in that, described method also comprises:
Carry out Password Input velocity test in advance, under obtaining the state do not switched in input through keyboard pattern, carry out the maximum delay of character input, described default timing is set according to described maximum delay.
4. method according to claim 3, is characterized in that, described default timing is greater than described maximum delay.
5. the method according to the arbitrary claim of claim 1-3, is characterized in that, by the value changed event of monitoring Password Input frame, judges whether have character to input in Password Input frame.
6. the method according to the arbitrary claim of claim 1-3, is characterized in that, the input pattern of described keyboard comprises numerical chracter keyboard input pattern and alphabetic keypad input pattern.
7. the method according to the arbitrary claim of claim 1-3, is characterized in that, after input through keyboard mode continuous switches preset times, before described Password Input frame again input character, forbids performing switching.
8. a cell phone password input pattern switching device shifter, is characterized in that, described device comprises:
Whether monitoring modular, have character to input for monitoring in Password Input frame;
Time block, for when having character to input in monitoring Password Input frame, starts timer;
Judge module, in default timing, judges whether have character again to input in described Password Input frame, if so, then to return described time block, restart timer, otherwise, enter handover module;
Handover module, for the judged result according to described judge module, carries out the switching of input through keyboard pattern.
9. device according to claim 8, is characterized in that, described device also comprises:
Arranging module, sending setting command for receiving user for current operation, whether the input pattern arranging current keyboard according to described setting command opens automatic switching function.
10. device according to claim 8, is characterized in that, described device also comprises:
Test module, for carrying out Password Input velocity test in advance, carrying out the maximum delay of character input, setting the default timing of described timer according to described maximum delay under obtaining the state do not switched in input through keyboard pattern.
11. 1 kinds of mobile phones, is characterized in that, comprise the cell phone password input pattern switching device shifter as described in claim as arbitrary in claim 8-10.
CN201410834539.7A 2014-12-23 2014-12-23 A kind of cell phone password input mode switching methods, device and mobile phone Active CN104486508B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410834539.7A CN104486508B (en) 2014-12-23 2014-12-23 A kind of cell phone password input mode switching methods, device and mobile phone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410834539.7A CN104486508B (en) 2014-12-23 2014-12-23 A kind of cell phone password input mode switching methods, device and mobile phone

Publications (2)

Publication Number Publication Date
CN104486508A true CN104486508A (en) 2015-04-01
CN104486508B CN104486508B (en) 2017-09-19

Family

ID=52761010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410834539.7A Active CN104486508B (en) 2014-12-23 2014-12-23 A kind of cell phone password input mode switching methods, device and mobile phone

Country Status (1)

Country Link
CN (1) CN104486508B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475095A (en) * 2020-03-27 2020-07-31 联想(北京)有限公司 Virtual keyboard display method and device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848272A (en) * 2009-03-25 2010-09-29 鸿富锦精密工业(深圳)有限公司 Input method switching method of mobile phones
CN102339199A (en) * 2010-07-23 2012-02-01 腾讯科技(深圳)有限公司 Method and device for switching input methods
CN102486678A (en) * 2010-12-01 2012-06-06 福建星网锐捷通讯股份有限公司 Electronic device and keyboard device thereof and keyboard input method
CN102968602A (en) * 2012-10-31 2013-03-13 北京奇虎科技有限公司 Setting method and device for keyboard
CN103365553A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal and input-method switching method used for same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848272A (en) * 2009-03-25 2010-09-29 鸿富锦精密工业(深圳)有限公司 Input method switching method of mobile phones
CN102339199A (en) * 2010-07-23 2012-02-01 腾讯科技(深圳)有限公司 Method and device for switching input methods
CN102486678A (en) * 2010-12-01 2012-06-06 福建星网锐捷通讯股份有限公司 Electronic device and keyboard device thereof and keyboard input method
CN103365553A (en) * 2012-03-28 2013-10-23 百度在线网络技术(北京)有限公司 Mobile terminal and input-method switching method used for same
CN102968602A (en) * 2012-10-31 2013-03-13 北京奇虎科技有限公司 Setting method and device for keyboard

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475095A (en) * 2020-03-27 2020-07-31 联想(北京)有限公司 Virtual keyboard display method and device and computer readable storage medium

Also Published As

Publication number Publication date
CN104486508B (en) 2017-09-19

Similar Documents

Publication Publication Date Title
AU2009326933B2 (en) Improved access to contacts
US20090309768A1 (en) Module, user interface, device and method for handling accidental key presses
CN103037064B (en) Individual screen unlocking method and system thereof
US20140123073A1 (en) Method, Apparatus, and Mobile Terminal for Operation Interface Management
JP2004532486A (en) Portable electronic device with keyboard
US20090319710A1 (en) Device and method for locking touch screen
EP1980953A1 (en) Character input device
US20170286061A1 (en) Information processing terminal and information processing method
CN103049232B (en) Display packing and terminal device
WO2010066315A1 (en) Improved task switching
CN104486508A (en) Method and device for switching password input modes of mobile phone and mobile phone
US10205821B2 (en) Mobile phone, display control method, and non-transitory computer-readable recording medium
CN104346515A (en) Information processing method and electronic equipment
KR20080075599A (en) Method for executing communication in mobile terminal having touch screen
CN103945053B (en) A kind of information processing method and electronic equipment
KR101083786B1 (en) Apparatus and method for entering characters
CN106997273B (en) Information input method and device
CN103945058A (en) Method and equipment for preventing misoperation on incoming call
CN103488302A (en) Function invoking method and electronic equipment
WO2010125419A1 (en) Notification handling
JP5451001B2 (en) Portable electronic devices
US20070229317A1 (en) Sequencing of character assignment for keypads
US20100201627A1 (en) Communication Device Having Recombination Of Keys And Real-Time Input Method For The Same
KR100846243B1 (en) Mobile terminal and method of processing key input of mobile terminal
US20110163961A1 (en) Apparatus for entering user inputs into an electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant