CN104486508B - A kind of cell phone password input mode switching methods, device and mobile phone - Google Patents
A kind of cell phone password input mode switching methods, device and mobile phone Download PDFInfo
- Publication number
- CN104486508B CN104486508B CN201410834539.7A CN201410834539A CN104486508B CN 104486508 B CN104486508 B CN 104486508B CN 201410834539 A CN201410834539 A CN 201410834539A CN 104486508 B CN104486508 B CN 104486508B
- Authority
- CN
- China
- Prior art keywords
- input
- password input
- keyboard
- pattern
- character
- 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.)
- Active
Links
Landscapes
- Telephone Function (AREA)
Abstract
The invention provides a kind of cell phone password input mode switching methods, device and mobile phone, this method includes:Whether monitoring Password Input inframe has character input, if so, then starting timer;In default timing, judge whether the Password Input inframe has character to input again, if it is, restart timer, otherwise, carry out the switching of input through keyboard pattern.The present invention is in Password Input, make to be automatically switched between numerical chracter keyboard and alphabetic keypad according to the behavior of user operation, reduce manual operation, reduce the fussy degree of Password Input operation, the automatic switchover of keyboard, bogusware or people can also be effectively reduced the possibility of code breaking password is guessed according to user's finger touch location, while meeting the need for young man follows the fashion.
Description
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of cell phone password input mode switching methods, device
And mobile phone.
Background technology
Many softwares in mobile phone A PP shops are required for inputting password, and when carrying out Password Input using mobile phone, mobile phone is commonly used
Default have 2 kinds of keyboards, numerical chracter keyboard, alphabetic keypad, and for cipher safety the need for, it is defeated that cellphone subscriber is set
The combination of letter, numeral, symbol etc. must typically be included simultaneously by entering password.
, it is necessary to frequently at this in 2 when cellphone subscriber carries out Password Input using mobile phone based on above-mentioned two conditional decision
Switched between keyboard.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:
Operation is very cumbersome, it is necessary to frequently be switched between numerical chracter keyboard and alphabetic keypad;And due to people
For the participation of factor, considerably increase because maloperation makes bogusware invasion or lawless people touch position according to user's finger
Put the possibility that conjecture password causes password to be decrypted.
The content of the invention
In order to solve the above technical problems, the present invention proposes a kind of cell phone password input mode switching methods, device and hand
Machine, the automatic switchover of input through keyboard pattern when realizing Password Input reduces manual operation, the cumbersome journey of reduction Password Input operation
Degree.
A kind of cell phone password input mode switching methods proposed by the present invention, specifically include following steps:
Whether monitoring Password Input inframe has character input, if so, then starting timer;
In default timing, judge whether the Password Input inframe has character to input again, if it is, again
Start timer, otherwise, carry out the switching of input through keyboard pattern.
Preferably, methods described also includes:
Receive user and send setting command for current operation, the input mould of current keyboard is set according to the setting command
Whether formula opens automatic switching function.
Preferably, methods described also includes:
Password Input velocity test is carried out in advance, and acquisition carries out character input in the state of input through keyboard pattern does not switch
Maximum delay, the default timing is set according to the maximum delay.
Preferably, the default timing is more than the maximum delay.
Preferably, by monitoring the value changed events of Password Input frame, judge whether Password Input inframe has word
Symbol input.
Preferably, the input pattern of the keyboard includes numerical chracter keyboard input pattern and alphabetic keypad input pattern.
Preferably, after input through keyboard mode continuous switches preset times, character is inputted again in the Password Input frame
Before, forbid performing switching.
Accordingly, the invention also provides a kind of cell phone password input pattern switching device, described device includes:
Monitoring modular, for monitoring whether Password Input inframe has character input;
Time block, for when monitoring Password Input inframe has character input, starting timer;
Judge module, in default timing, judging whether the Password Input inframe has character to input again,
If it is, returning to the time block, timer is restarted, otherwise, into handover module;
Handover module, for the judged result according to the judge module, carries out the switching of input through keyboard pattern.
Preferably, described device also includes:
Setup module, setting command is sent for receiving user for current operation, is set and worked as according to the setting command
Whether the input pattern of preceding keyboard opens automatic switching function.
Preferably, described device also includes:
Test module, for carrying out Password Input velocity test in advance, obtains the state not switched in input through keyboard pattern
The lower maximum delay for carrying out character input, the default timing of the timer is set according to the maximum delay.
Accordingly, the invention also provides a kind of mobile phone, including any of the above-described cell phone password input pattern switching device.
A kind of cell phone password input mode switching methods, device and mobile phone that the present invention is provided, in Password Input, according to
The behavior operation of user makes to be automatically switched between numerical chracter keyboard and alphabetic keypad, reduces manual operation, reduces password
The fussy degree of input operation, the automatic switchover of keyboard can also be effectively reduced bogusware or people according to user's finger
Touch location guesses the possibility of code breaking password, while meeting the need for young man follows the fashion.
Brief description of the drawings
The features and advantages of the present invention can be more clearly understood from by reference to accompanying drawing, accompanying drawing is schematical without that should manage
Solve to carry out any limitation 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 is proposed;
Fig. 2 is a kind of cell phone password input mode switching methods flow chart that another embodiment of the present invention is proposed;
Fig. 3 is a kind of cell phone password input pattern switching device module figure that the embodiment of the present invention is proposed;
Fig. 4 is a kind of cell phone password input pattern switching device module figure that another embodiment of the present invention is proposed.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
A kind of cell phone password input pattern that the present invention is provided is discussed in detail below by several specific embodiments are enumerated
Switching method, device and mobile phone.
Embodiment one
Reference picture 1, shows a kind of cell phone password input mode switching methods flow chart that the embodiment of the present invention one is proposed.
Cell phone password input mode switching methods in the present embodiment, specifically include following steps:
Whether S101, monitoring Password Input inframe have defeated especially by monitoring password in character input, the embodiment of the present invention
Enter the value changed events of frame, judge whether Password Input inframe has character input, if Password Input frame occurs
Value changed events, then have character input in current password input frame.
If S102, Password Input inframe have character input, start timer;
S103, in default timing, judge whether the Password Input inframe has character to input again, if
Then, return to step 102, restart timer, otherwise, perform step 104;
S104, the switching for carrying out input through keyboard pattern, wherein, the input pattern of the keyboard is defeated including numerical chracter keyboard
Enter pattern and alphabetic keypad input pattern, in default timing, if not inputting also next, identification needs switching
Input through keyboard pattern, so as to carry out the switching of input through keyboard pattern automatically.
Further, after input through keyboard mode continuous switches preset times, word is inputted again in the Password Input frame
Fu Qian, forbids continuing executing with for switch step.
In real life scenarios, the password that user sets for oneself is familiar, during Password Input, is continuous defeated
Enter, i.e., in input process, it is not necessary to be interrupted.But in the case of having one kind, the continuity quilt in user's input cryptographic processes
Interrupt, here it is, it is necessary to when switching keyboard, when user find to can not find in current keyboard the letter for needing to input, numeral or
Symbol, now, user need to think deeply, it is necessary to carry out keyboard shift, thus can occur delay slightly, the continuity of input is beaten
It is disconnected.
The cell phone password input mode switching methods that the present invention is provided, preset a timing, if user's progress is defeated
Enter in cryptographic processes, after some alphabetical, numeral of last time input or symbol, after the default timing, do not have also
There is input character late, then assert that user needs to switch keyboard input pattern, so as to switch over automatically.
Specific handoff procedure is as follows:
After user inputs character in password box, i.e. detect after text box value changed events, one is played at once
In individual timer, the embodiment of the present invention, the default timing is preferably 1 second.Default timing can be according to actual conditions
Value is carried out, the present invention is not limited this.
In 1 second, if user does not input, the triggering of timer callback function, automatic switchover keyboard, according to current key
Disc-type, if current keyboard is numerical chracter keyboard, switches to alphabetic keypad, if current keyboard is alphabetic keypad,
Switch to numerical chracter keyboard.
In 1 second, if user have input (i.e. text frame there occurs value Changed events), the thing again
In the readjustment of part, cancel the timing of the timer, and it is 1 second timer to restart timing.
So, if cellphone subscriber carries out Password Input, when needing switching keyboard, it is only necessary to wait slightly, just
Automatically switch.If need not switch, continuous input is only needed to.The fussy degree of Password Input operation is effectively reduced,
And bogusware or people guess the possibility of code breaking password according to user's finger touch location.
Embodiment two
Reference picture 2, shows a kind of cell phone password input mode switching methods flow chart that the embodiment of the present invention two is proposed.
Cell phone password input mode switching methods in the present embodiment, specifically include following steps:
S201, in advance progress Password Input velocity test, acquisition carry out word in the state of input through keyboard pattern does not switch
The maximum delay of input is accorded with, the default timing is set according to the maximum delay, wherein, the default timing is big
In the maximum delay.
S202, reception user send setting command for current operation, and current keyboard is set according to the setting command
Whether input pattern opens automatic switching function.
Whether S203, monitoring Password Input inframe have defeated especially by monitoring password in character input, the embodiment of the present invention
Enter the value changed events of frame, judge whether Password Input inframe has character input, if Password Input frame occurs
Value changed events, then have character input in current password input frame.
If S204, Password Input inframe have character input, start timer;
S205, in default timing, judge whether the Password Input inframe has character to input again, if
Then, return to step 204, restart timer, otherwise, perform step 206;
S206, the switching for carrying out input through keyboard pattern, wherein, the input pattern of the keyboard is defeated including numerical chracter keyboard
Enter pattern and alphabetic keypad input pattern, in default timing, if not inputting also next, identification needs switching
Input through keyboard pattern, so as to carry out the switching of input through keyboard pattern automatically.
Further, after input through keyboard mode continuous switches preset times, word is inputted again in the Password Input frame
Fu Qian, forbids continuing executing with for switch step.
In the embodiment of the present invention, whether input through keyboard pattern automatically switches, and can be configured according to the need for user.Happiness
Joyous fashion, trend young man, may like using automatically switching, and the elderly for reacting slow, which may like, oneself goes switching,
Each takes what he needs.
Timing can also be configured.
In the embodiment of the present invention, the Password Input speed to user tests the speed, and does after test several times more, calculates in key
The maximum delay (interval time between double input character, numeral or letter) that disk is inputted in the case of not switching, root
According to the default timing of this setting user, it is preferable that timing is slightly larger than maximum delay.
Embodiment three
Reference picture 3, shows a kind of cell phone password input pattern switching device module figure that the embodiment of the present invention three is proposed.
Cell phone password input pattern switching device in the present embodiment, is specifically included with lower module:
Monitoring modular 301, for monitoring whether Password Input inframe has character input;In the embodiment of the present invention especially by
The value changed events of Password Input frame are monitored, judge whether Password Input inframe has character input, if Password Input
Value changed events occur for frame, then have character input in current password input frame.
Time block 302, for when monitoring Password Input inframe has character input, starting timer;
Judge module 303, in default timing, judging whether the Password Input inframe has character defeated again
Enter, if it is, returning to the time block 302, timer is restarted, otherwise, into handover module 304;
Handover module 304, for the judged result according to the judge module, carries out the switching of input through keyboard pattern, its
In, the input pattern of the keyboard includes numerical chracter keyboard input pattern and alphabetic keypad input pattern, it is presetting constantly
In, if do not input also it is next, identification need switch keyboard input pattern so that automatically carry out input through keyboard pattern
Switching.
In the embodiment of the present invention, after input through keyboard mode continuous switches preset times, in the Password Input frame again
Input before character, forbid the handover module 304 to perform switching.
Example IV
Reference picture 4, shows a kind of cell phone password input pattern switching device module figure that the embodiment of the present invention four is proposed.
Cell phone password input pattern switching device in the present embodiment, as shown in figure 4, close in the mobile phone that embodiment three is proposed
Also include on the basis of code input pattern switching device:Test module 305 and setup module 306;
Test module 305, for carrying out Password Input velocity test in advance, obtains the shape not switched in input through keyboard pattern
The maximum delay of character input is carried out under state, the default timing of the timer is set according to the maximum delay, wherein,
The default timing is more than the maximum delay.
Setup module 306, setting command is sent for receiving user for current operation, is set according to the setting command
Whether the input pattern of current keyboard opens automatic switching function.
Embodiment five
The embodiment of the present invention five proposes a kind of mobile phone, including any one cell phone password input as shown in Figure 3 or Figure 4
Mode-changeover device.Wherein, cell phone password input pattern switching device introduces technical scheme by taking the structure shown in Fig. 3 as an example.
Cell phone password input pattern switching device includes:Monitoring modular 301, for monitoring whether Password Input inframe has character input;
Time block 302, for when monitoring Password Input inframe has character input, starting timer;Judge module 303, for
In default timing, judge whether the Password Input inframe has character to input again, if it is, returning to the timing mould
Block 302, restarts timer, otherwise, into handover module 304;Handover module 304, for according to the judge module
Judged result, carries out the switching of input through keyboard pattern.
Using cell phone password input mode switching methods proposed by the present invention, in Password Input, according to the behavior of user
Operation makes to be automatically switched between numerical chracter keyboard and alphabetic keypad, reduces manual operation, reduction Password Input operation
Fussy degree, the automatic switchover of keyboard can also be effectively reduced bogusware or people and be guessed according to user's finger touch location
The possibility of code breaking password is surveyed, while meeting the need for young man follows the fashion.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can lead to
Hardware realization is crossed, the mode of necessary general hardware platform can also be added to realize by software.Understood based on such, this hair
Bright technical scheme can be embodied in the form of software product, and the software product can be stored in a non-volatile memories
Medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in, including some instructions are to cause a computer equipment (can be
Personal computer, server, or network equipment etc.) perform method described in each of the invention embodiment.
It will be appreciated by those skilled in the art that accompanying drawing is the schematic diagram of a preferred embodiment, module or stream in accompanying drawing
Journey is not necessarily implemented necessary to the present invention.
It will be appreciated by those skilled in the art that the module in device in embodiment can be divided according to embodiment description
It is distributed in the device of embodiment, respective change can also be carried out and be disposed other than in one or more devices of the present embodiment.On
The module for stating embodiment can be merged into a module, can also be further split into multiple submodule.
Disclosed above is only several specific embodiments of the present invention, and still, the present invention is not limited to this, any ability
What the technical staff in domain can think change should all fall into protection scope of the present invention.
Claims (9)
1. a kind of cell phone password input mode switching methods, it is characterised in that methods described includes:
Whether monitoring Password Input inframe has character input, if so, then starting timer;
In default timing, judge whether the Password Input inframe has character to input again, if it is, restarting
Timer, otherwise, carries out the switching of input through keyboard pattern;
Methods described also includes:
Password Input velocity test is carried out in advance, is obtained and is carried out character input most in the state of input through keyboard pattern does not switch
Long time delay, the default timing is set according to the maximum delay.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
Receive user and send setting command for current operation, the input pattern for setting current keyboard according to the setting command is
No unlatching automatic switching function.
3. according to the method described in claim 1, it is characterised in that the default timing is more than the maximum delay.
4. the method according to claim 1-2 any claims, it is characterised in that by monitoring Password Input frame
Value changed events, judge whether Password Input inframe has character input.
5. the method according to claim 1-2 any claims, it is characterised in that the input pattern of the keyboard includes
Numerical chracter keyboard input pattern and alphabetic keypad input pattern.
6. the method according to claim 1-2 any claims, it is characterised in that when the switching of input through keyboard mode continuous
After preset times, before the Password Input frame inputs character again, forbid performing switching.
7. a kind of cell phone password input pattern switching device, it is characterised in that described device includes:
Monitoring modular, for monitoring whether Password Input inframe has character input;
Time block, for when monitoring Password Input inframe has character input, starting timer;
Judge module, in default timing, judging whether the Password Input inframe has character to input again, if
It is then to return to the time block, timer is restarted, otherwise, into handover module;
Handover module, for the judged result according to the judge module, carries out the switching of input through keyboard pattern;
Described device also includes:
Test module, for carrying out Password Input velocity test in advance, acquisition is entered in the state of input through keyboard pattern does not switch
The maximum delay of line character input, the default timing of the timer is set according to the maximum delay.
8. device according to claim 7, it is characterised in that described device also includes:
Setup module, setting command is sent for receiving user for current operation, and current key is set according to the setting command
Whether the input pattern of disk opens automatic switching function.
9. a kind of mobile phone, it is characterised in that including the cell phone password input pattern as described in claim 7-8 any claims
Switching device.
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 CN104486508A (en) | 2015-04-01 |
CN104486508B true 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) |
Families Citing this family (1)
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 (2)
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 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102486678B (en) * | 2010-12-01 | 2015-01-28 | 福建星网视易信息系统有限公司 | 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 |
CN102968602B (en) * | 2012-10-31 | 2016-04-20 | 北京奇虎科技有限公司 | A kind of method to set up of keyboard and device |
-
2014
- 2014-12-23 CN CN201410834539.7A patent/CN104486508B/en active Active
Patent Citations (2)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN104486508A (en) | 2015-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103037064B (en) | Individual screen unlocking method and system thereof | |
CN104765557B (en) | A kind of method and device for reducing misoperation of touch screen | |
CN103970443B (en) | A kind of terminal and terminal display control method | |
CN102033682B (en) | Input method and input equipment | |
WO2016078276A1 (en) | Application control method and device, and terminal | |
US9319503B2 (en) | Phoneword dialing in a mobile communication device having a full keyboard | |
CN104486508B (en) | A kind of cell phone password input mode switching methods, device and mobile phone | |
JP2015518298A (en) | Information input method, apparatus, terminal, and storage medium | |
CN105809019A (en) | Method and device for Android terminal to start input method keyboard | |
CN106156555B (en) | Method and device for intersystem switching under multi-system terminal and multi-system terminal | |
CN113993092A (en) | Emergency call method, device, mobile terminal and network side equipment | |
CN104951683A (en) | Information processing method and electronic equipment | |
CN106686434A (en) | Method and system for controlling soft keyboard through remote controller | |
CN103019607A (en) | Gesture screen locking method of touch mobile terminal, and mobile terminal | |
CN104348940A (en) | Method and equipment for searching contacts on dial plate | |
CN103257886B (en) | A kind of recalls information inputs method and a kind of electronic equipment of program | |
JP2011100261A (en) | Portable device, information display method, and program | |
CN105868616A (en) | Terminal control method and apparatus | |
CN106126086B (en) | The method of adjustment of terminal device and virtual key layout | |
CN106156646A (en) | A kind of information call method and electronic equipment | |
CN105376384B (en) | A kind of method and terminal made a phone call | |
CN103019605A (en) | Gesture shutdown method of touch intelligent terminal, and intelligent terminal | |
CN108733436A (en) | system setting method and terminal | |
CN103945053B (en) | A kind of information processing method and electronic equipment | |
JP4947346B2 (en) | Mobile terminal 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 |